3957 Commits

Author SHA1 Message Date
Enrico Tröger
1451d8f72d Change the path in the VTE widget when switching between files according to the path of the current file.
Process the switch_page callback only once.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 23:51:32 +00:00
Enrico Tröger
3366665030 Create a new tm_source_file object if a file is renamed, otherwise tagmanager won't work correctly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 19:08:21 +00:00
Enrico Tröger
805bdf9675 Added function is_opening_brace().
Use is_opening_brace() for better handling of calltips.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@506 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 18:22:11 +00:00
Enrico Tröger
b3dd894a5e Implemented simple printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:14:52 +00:00
Enrico Tröger
cc511a78d8 Ignore SIGPIPE to prevent crashes when running external programs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:10:17 +00:00
Nick Treleaven
42a206085e Apply fonts in Preferences when they are set and only if they have changed. Rename utils_set_font to utils_set_editor_font. Remove an old comment in document_open_file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 16:55:29 +00:00
Enrico Tröger
852624b60e Renamed tools settings from build_* in tools_*.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 14:00:09 +00:00
Enrico Tröger
5ffa222e4f Fixed a small typo.
Skip converting from UTF-8 in UTF-8 when saving.
Show an error messages dialog if the conversion into an encoding failed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@501 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-28 19:27:19 +00:00
Enrico Tröger
3e54b8798e Fixed weird behaviour of the recent files list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@500 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-28 15:18:23 +00:00
Enrico Tröger
3284ca94e3 Fixed a crash when auto completion or call tips are used if no filetype was set. Added some sanity checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 20:43:04 +00:00
Nick Treleaven
756c47bc97 Make Status messages override the document statistics using utils_set_statusbar; don't use a fixed buffer for statistics
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@496 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 17:07:22 +00:00
Enrico Tröger
f6752778f4 Add support for parsing compiler output for LaTeX with latex's --file-line-error-style command line argument.
Removed unneeded function utils_free_ptr_array().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:31:32 +00:00
Enrico Tröger
99bb4a9977 Parse stdout of compiler output too.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:29:33 +00:00
Nick Treleaven
38f92379da Add recent files items in the same order as they were saved. Remove app->recent_files and use g_strfreev in keyfile.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@493 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:24:39 +00:00
Enrico Tröger
8823f2dbe5 Some small tagmanager fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@492 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 17:48:27 +00:00
Enrico Tröger
f741c89b4f Fixed bug which prevented tag creation for the first opened file.
Removed unused code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@491 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 17:44:18 +00:00
Enrico Tröger
590974e3ba Add mk pattern for Makefile.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@490 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:22:37 +00:00
Enrico Tröger
2269d3d47e Reload also the symbol list when reloading a file.
Changed some titles to plural. Added own definitions for filetype Python.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@489 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:19:28 +00:00
Enrico Tröger
3188cf2d56 Fixed broken auto completion for switch().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@488 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:17:57 +00:00
Nick Treleaven
add773c88c Fix a possible segfault on quitting caused by processing GTK messages before status messages
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@487 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 15:49:07 +00:00
Nick Treleaven
8e5e2ec065 Add clipboard functionality for Scribble widget
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@485 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 20:18:24 +00:00
Nick Treleaven
d4405d5856 Add clipboard functionality for find and go to line widgets
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@484 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 19:57:07 +00:00
Enrico Tröger
3606119da8 Fixed wrong line numbers for found tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@483 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 17:50:34 +00:00
Enrico Tröger
4a8efb4d80 Remember the active page when toggling the sidebar. Simplified code for toggling messages window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@482 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 17:02:27 +00:00
Enrico Tröger
3659643917 Added license notice Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@481 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 14:43:09 +00:00
Nick Treleaven
93a9a2bd8a Fix close tab button bug introduced in last commit
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 12:48:38 +00:00
Nick Treleaven
efe658834e Enable drag reordering of tabs for GTK+2.8, and a temporary workaround for GTK+2.6. Add notebook_new_tab and update document_create_new_sci to use it; also remove on_tab_close_clicked
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 12:13:35 +00:00
Enrico Tröger
96329e53a5 Added Scintilla license file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 19:37:43 +00:00
Enrico Tröger
01ace30125 Removed URL highlighting code(useless feature, never was enabled).
Set policy settings for the scolledwindow.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@476 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:43:56 +00:00
Enrico Tröger
3a435bf29e Replaced 'blank' by 'include "..."'. Fixed a bug in utils_brace_match() which prevents correctly matching.
Made auto completion work only for the current filetype (i.e. it hides symbols from other filetypes).
Removed unneeded code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:36:35 +00:00
Nick Treleaven
a16fabec77 Add a timestamp to messages in the Status window (closes request #1509908)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@473 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-23 14:00:22 +00:00
Enrico Tröger
b66243f1e1 Reorganised C include file items, added C++ headers.
Insert include statements and comment templates at mouse pointer position instead of cursor position.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-22 14:29:55 +00:00
Enrico Tröger
1ae59a6f9a Updated Scintilla to version 1.70.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 23:15:54 +00:00
Enrico Tröger
f375a6be68 Added missing shortcut for "Close".
Added option in the preferences dialog to replace tabs by spaces when saving a file.
Added option for default encoding for new files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 18:54:07 +00:00
Nick Treleaven
e6caa033eb Also show status messages on the status bar
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@469 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-20 14:54:09 +00:00
Nick Treleaven
13b673d8ed Go back to the same line when reloading. Fix start selection bug when clicking in the current file if it has changed
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-20 11:55:34 +00:00
Enrico Tröger
2b362ef8a7 Implemented encoding support to switch between different encodings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@467 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 18:31:17 +00:00
Enrico Tröger
56ac0dfa87 Added translator credits.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@464 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 14:50:10 +00:00
Frank Lanitz
d1f31d3abb Added Spanish translation; Minor updates
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 13:41:05 +00:00
Nick Treleaven
a59a4ae006 Don't open files or go to errors automatically whilst compiling. Rename utils_goto_workspace_tag to utils_goto_file_line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 13:27:09 +00:00
Nick Treleaven
f8c92268f7 Use correct current_word buffer for popup menu item keybindings; also use GEANY_MAX_WORD_LENGTH
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 20:21:19 +00:00
Enrico Tröger
67ac0f1888 Fixed a segfault when pressing shortcut for "Find Usage" and there is no open file. Removed unneeded label padding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 17:14:32 +00:00
Nick Treleaven
e77a953d95 Show shortcut keys for Undo/Redo and popup items
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@459 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 17:05:09 +00:00
Nick Treleaven
c73f07a713 Set toolbar Compile text, Execute icon, insert 2 separators; Rearrange 2 menu items; some minor text changes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@458 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 16:18:05 +00:00
Nick Treleaven
34434851ee Make Keyboard shortcuts dialog scrollable
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@457 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 12:19:30 +00:00
Nick Treleaven
e07a1a8387 Add keybindings for Find Usage, Go to definition/declaration, based on the current cursor position. Also ensure null termination in utils_find_current_word
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@456 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 21:08:47 +00:00
Nick Treleaven
7b0f931a2f Set default keybindings for switch page left/right; also group toggle sidebar keybinding with toggle messages
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 17:05:41 +00:00
Nick Treleaven
6aad889e3c Fixed styling for unmatched braces
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 16:08:20 +00:00
Nick Treleaven
0c9a5af71e Made Duplicate Line command duplicate selection if present
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 15:39:47 +00:00
Nick Treleaven
e885f520ed Don't include keybindings.h in geany.h
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@452 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 19:58:26 +00:00