Enrico Tröger
ab258acf33
Removed invisible place holder menu item in recent files menu.
...
Create separate sub menu for the recent files menu in the toolbar to prevent GTK warnings when using GTK >= 2.10.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-01 18:44:35 +00:00
Nick Treleaven
e4a974349e
Make the switch to vte menu shortcut override work before the VTE
...
has been realized.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1039 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-01 12:19:09 +00:00
Nick Treleaven
e458304ce3
Make all filetypes except LaTeX use the same build menu, disabling
...
any items that don't apply for the current document.
Move BuildMenuItems struct type to build.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 15:42:52 +00:00
Nick Treleaven
df70d928a8
Disable open toolbutton recent files menu for now because on
...
GTK+2.10 packing the recent files menu twice causes warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 14:40:32 +00:00
Nick Treleaven
e39cf19730
Make stop button only apply for killing running programs.
...
Disable build commands when building is in progress.
Make build_menu_update() detect how to call set_stop_button().
Make build_menu_update() also update the LaTeX build menu.
Make build keybindings only active when the equivalent menu item
is also active.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-29 10:29:34 +00:00
Nick Treleaven
6bd89dc3ee
Show build result on status bar if Compiler window is not selected.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-27 11:32:45 +00:00
Nick Treleaven
6039dcab50
Change python default compile command to create a compiled python
...
.pyc file (thanks to Bajusz Tamás).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 17:07:59 +00:00
Nick Treleaven
01988714b3
Make ui_set_statusbar() use printf-style arguments & assume the
...
message should not be overridden.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1032 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 16:33:38 +00:00
Nick Treleaven
3537731023
When replacing in session, use notebook page order and show a count
...
of the files changed.
Show the filename when replacing text over a range.
Add DOC_FILENAME() null-safe macro to get the filename at doc_idx.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 12:32:22 +00:00
Nick Treleaven
31aa37fb65
Remove vte_char_size_changed() workaround, not needed since r988;
...
this also fixes an issue where the VTE is limited to 30x5 chars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 12:23:49 +00:00
Nick Treleaven
d5004f43e4
Add some const char* argument modifiers, remove unneeded static from
...
some local vars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 12:17:50 +00:00
Nick Treleaven
4c9b41dfe4
Move VTE preferences GUI code to vte.c.
...
Move on_pref_tools_button_clicked() to prefs.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-24 11:47:29 +00:00
Nick Treleaven
373ec102e4
Add frame for VTE Preferences tab, update packing.
...
Replace ui_frame_new() with ui_frame_new_with_alignment().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-24 11:11:06 +00:00
Nick Treleaven
fa9decdaf9
Add underscore to default wordchars again (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 15:48:02 +00:00
Enrico Tröger
76931febcf
Fixed segfault when opening the preferences dialog for the first time from the VTE widget.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1022 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 15:04:10 +00:00
Nick Treleaven
a9722ee94a
Add switching to a notebook tab number using Alt-1 to Alt-9; Alt-0
...
switches to the last tab.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 12:23:36 +00:00
Nick Treleaven
4cbe4f4170
Only use [a-zA-Z0-9] chars for default wordchars, to avoid problems
...
with word matching when using Find & Replace functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 11:42:10 +00:00
Frank Lanitz
759402c59e
Update of ChangeLog
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-22 23:10:18 +00:00
Nick Treleaven
9cff8504ea
Ensure tab DnD is enabled when tabs are added; use
...
notebook_remove_page() instead of gtk_notebook_remove_page().
Unified notebook_[en|dis]able_dnd_for_dropping_files() in
tab_count_changed().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-22 16:07:18 +00:00
Enrico Tröger
0a27307c98
Applied patch from Bob Doan to parse PHP compile errors better (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-21 19:20:21 +00:00
Enrico Tröger
4306f9091a
Removed DnD handler for the main window (not very useful).
...
Fixed broken tab reordering by only enabling DnD for dropping files when there are no open file tabs, otherwise disable it and enable DnD for moving file tabs. Dropping files into Geany when file tabs are open still works because then it is handled by the Scintilla widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-21 18:39:23 +00:00
Nick Treleaven
815657bb51
Add Preferences frame alignment for Tools, Templates, Keybindings.
...
Revert tab placement label text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-18 16:52:23 +00:00
Nick Treleaven
bfd785b72a
Applied patch from Bob Doan to prevent scrolling when wrap searching
...
around a document, and to add a preference for suppressing search
dialogs when wrapping or after Find Next.
Rearranged some Preferences dialog options, added Files tab.
Disable tab position when file tabs are hidden (not new file tab
placement option, it still affects order of pages).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-18 15:47:28 +00:00
Enrico Tröger
f0ffdced4f
Fixed compile error under Win32. Ignore pressed Stop button under Win32 (at least for the moment, not yet implemented).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-17 17:49:16 +00:00
Nick Treleaven
b2f191d37a
Fix sign comparison warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-17 12:19:31 +00:00
Enrico Tröger
6077f3c420
Enabled DnD also for the main notebook widget to drop files in the main area of Geany.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-16 16:10:18 +00:00
Enrico Tröger
99806172b2
Enabled drag and drop for the whole main window to be able to drop files even if no tabs are open.
...
Moved code for getting the file list to document_open_file_list().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 23:12:13 +00:00
Enrico Tröger
c99b178e03
Fixed small memory leak.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 18:21:46 +00:00
Enrico Tröger
c8b497d1ca
Don't unload the VTE module on exit to avoid crashes on some systems.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 18:20:13 +00:00
Frank Lanitz
0edae00148
Added traditional Chinese translation (zh_TW)
...
Update of German and simple Chinese (zh_CN) translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1001 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 17:43:21 +00:00
Nick Treleaven
7146b60c31
Remove the stop button in build_exit_cb() when using Make commands.
...
Fix set_stop_button() when using Make when the current file has no
filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 17:07:15 +00:00
Nick Treleaven
49e2d3ed92
Add search history for Find in Files.
...
Add ui_combo_box_add_to_history() and use to prevent blocks of
duplicates (but not all duplicates) from search history combo boxes,
and limit history to 30 entries.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 15:57:23 +00:00
Enrico Tröger
74b5cdbc06
Tried to fix wrong styling at "end.".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 23:42:13 +00:00
Frank Lanitz
c6852ee2ee
Small fixes
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 17:39:40 +00:00
Frank Lanitz
bc4b8fb16d
Added simple Chinese (zh_CN) translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 17:16:11 +00:00
Nick Treleaven
c3300b2da9
Add NULL-safe FILETYPE_ID macro to get filetype::id from pointer.
...
Allow insertion of GPL notice and file header when the filetype is
not set.
Add commenting for PHP & HTML GPL notice and file header templates.
Add make_comment_block() to templates.c.
Move document_prepare_template(), filetypes_get_template() to
templates.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 16:03:25 +00:00
Enrico Tröger
3ae8ce6ebe
Added missing inclusion of signal.h.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 01:27:12 +00:00
Enrico Tröger
fd09ada211
Use plural for line commentation description labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@992 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:26:55 +00:00
Enrico Tröger
9b7569e3ef
Added new filetype VHDL.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:11:19 +00:00
Nick Treleaven
e512e663c5
Fix invalid memory write in on_exit_clicked().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 16:47:26 +00:00
Nick Treleaven
0c233f9b3b
Fix invalid memory read in sci_cb_get_indent().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 16:38:39 +00:00
Nick Treleaven
78d474e3d8
Fix message window horizontal scrollbar being too tall on some systems (thanks to Rob van der Linde).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-12 15:29:40 +00:00
Enrico Tröger
dbd82669c6
Described new folding_horiz_line setting in filetypes.common.
...
Added documentation for stopping of running processes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 18:53:38 +00:00
Enrico Tröger
59470aa381
Extended the build_info struct with useful information of the current running command.
...
Added stop button(using the Run button) to cancel the execution of a command like Run, Compile or Build.
Fixed a typo in an error message.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 18:51:33 +00:00
Enrico Tröger
420011adc6
Fixed a segfault when closing preferences dialog and loading VTE was enabled after it was disabled.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 00:24:04 +00:00
Enrico Tröger
bae191b373
Probe different versions of libvte.so, not only libvte.so and libvte.so.4.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 00:07:49 +00:00
Nick Treleaven
ad74b0bc87
Fix a possible bug with g_file_test when opening files at startup.
...
Show warning message on status bar if some session files couldn't be
loaded, showing debug messages for each session file that fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-09 15:52:31 +00:00
Nick Treleaven
bd1137d9e9
Rename utils_strcmp() utils_str_equal() (to avoid return value
...
confusion with strcmp()).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 16:21:46 +00:00
Nick Treleaven
35d8a54ebd
Never show the sidebar if app->show_sidebar is false (prevents
...
showing Sidebar after setting Preferences, when user has chosen to
hide the Sidebar).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 11:57:20 +00:00
Nick Treleaven
67ce2f51b0
Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
...
static.
Move symbols_get_global_keywords() to get_global_typenames() in
highlighting.c.
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 11:42:05 +00:00