1 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Fix search_find_text not returning -1 when match is out of range.
5 This fixes invalid memory reads and wrong template filename
7 * src/search.c, src/document.c:
8 Only replace template filename matching start of word on saving.
9 * plugins/filebrowser.c:
10 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
11 * src/build.c, src/build.h, src/project.c:
12 Make some ugly build.h global variables static.
13 * src/build.c, src/build.h, src/project.c:
14 Add Build prefix for TableFields, TableData.
17 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
20 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
21 * src/dialogs.c, src/win32.c, src/win32.h:
22 (Re-)Implement a (still basic) native Windows Save As dialog when
23 compiled with GEANY_USE_WIN32_DIALOG.
26 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
28 * THANKS, src/about.c, plugins/classbuilder.c:
29 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
30 * src/ui_utils.h, src/ui_utils.c:
31 Add public, generic callback ui_editable_insert_text_callback()
32 to restrict GtkEntry text inputs to +/- and numeric values only.
33 * src/dialogs.h, src/dialogs.c:
34 Add special variant dialogs_show_input_goto_line() to use a normal
35 GtkEntry together with dialogs_show_input_goto_line() for text input.
36 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
37 Allow '+<number' and '-<number>' as values for Goto Line inputs
38 to jump relative to the current line (closes #2997238).
41 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
44 Apply foreground and background colours of the folding margin
45 style properly (closes #2998347).
47 Don't auto-close short XML tags (closes #2994852).
48 * THANKS, src/about.c, src/keybindings.c:
49 Improve jumping to matching braces by consistently position the
50 cursor before or after the matching brace dependent where it
51 was before (patch by Dimitar Zhekov, thanks).
53 Fix crash when generating global tags files (patch by Colomban
57 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
60 Avoid connecting signals more than once.
63 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
66 Don't ignore the 'intltool' check on non-Windows system, instead
67 raise a configure error.
70 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
73 Fix marking some strings as translatable (cannot be done in the
75 * src/templates.c, doc/geany.txt, doc/geany.html:
76 Reload templates if saving a document in the templates config dir.
79 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
81 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
83 Fix replacing {filename} template wildcard for custom file
84 templates with non-default file extension.
85 Add search_find_text() for POSIX regex searches.
86 * src/templates.c, doc/geany.txt, doc/geany.html:
87 Add {project}, {description} template wildcards (#2954737).
88 * doc/geany.txt, doc/geany.html:
89 Divide template wildcards into groups.
90 * src/plugindata.h, src/plugins.c, src/symbols.c,
91 plugins/geanyfunctions.h:
92 Add symbols_get_context_separator() to plugin API (patch by Colomban
96 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
99 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
100 Anonymous, thanks; #2995593).
101 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
102 plugins/geanyfunctions.h:
103 Add sci_set_line_indentation(), sci_get_line_indentation() to API
104 (patch by Colomban Wendling, thanks).
107 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
110 Warn user if hidden hard tab width setting is not 8.
113 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
115 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
116 doc/geany.txt, doc/geany.html:
117 Hide 'Tabs and Spaces: Hard tab width' preference - it should
118 always be 8. (Hidden setting kept in case users have modified it).
121 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
123 * doc/geany.txt, doc/geany.html:
124 Add Folding section link to filetypes.common custom settings.
127 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
130 When switching documents, don't call document_set_text_changed()
131 as this does much more than necessary. Instead call the necessary
132 UI update functions explicitly.
135 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
137 * tagmanager/vstring.c:
138 Fix invalid memory read (patch by Colomban Wendling, thanks).
141 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
143 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
144 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
145 strings in case of reaching the buffer size limit (part of #2979697).
147 Change the limit for the command line length when executing commands
148 to a maximum of 32768 characters (closes #2979697).
149 Fix broken opening URLs e.g. when using the 'builtin' Run command.
150 * tagmanager/ctags.c:
151 Change eFree() to simply ignore NULL pointers instead of asserting.
153 Remove malloc() fallback since we completely rely on g_malloc()
155 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
156 plugins/saveactions.c:
157 Make string arguments const where appropriate (patch by
158 Colomban Wendling, thanks).
159 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
160 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
161 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
162 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
163 src/symbols.c, src/templates.c, src/ui_utils.c:
164 Make string arguments const where appropriate (patch by
165 Colomban Wendling, thanks).
168 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
170 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
171 Make plugin_signal_connect() string argument const (patch by
172 Colomban Wendling, thanks).
173 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
174 Constify some more string pointers in the API (patch by
175 Colomban Wendling, thanks).
176 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
178 Support {pc} wildcard in snippets to escape percent char.
180 Recalculate line margin width when zooming (fixes #2990553).
181 * src/highlighting.c, doc/geany.txt, doc/geany.html,
182 data/filetypes.common:
183 Support more folding icon styles: arrows, +/- and no lines
187 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
190 Fix Windows build by properly guarding Unix-only code.
193 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
195 * src/templates.c, doc/geany.txt, doc/geany.html:
196 Support {ob} and {cb} in fileheader and file templates; they are
197 replaced last with { and }. This allows 'escaping' of wildcard
199 * src/editor.c, plugins/classbuilder.c:
200 Fix Class Builder plugin to use correct indentation instead of
202 Make editor_insert_text_block() only replace leading tabs for the
203 'Tabs' indent type; also group edits for undo.
204 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
206 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
209 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
211 * tagmanager/pascal.c:
212 More fixes to prevent possible crashes by trying to free NULL
215 Automatically show and hide the sidebar notebook tabs according
216 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
218 Add a static global variable to monitor autocompletion mode in order
219 to prevent cancellation of the struct/class (C/C++) auto completion
220 list (patch by Thomas Martitz, thanks).
222 When starting and trying to access the Unix Domain socket of a
223 potentially running instance, first compare file ownership with the
224 user id of the running process to prevent accessing a wrong socket
225 file (part of #2985463, this might not yet be the final solution).
228 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
230 * plugins/filebrowser.c:
231 Synchronize popup menu and plugin preferences dialog 'Show Hidden
232 Files' option (fixes #2989288).
235 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
237 * tagmanager/entry.c, tagmanager/entry.h,
238 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
239 tagmanager/parse.h, tagmanager/tm_source_file.c:
240 Add tm_source_file_set_tag_arglist() to manually set the argument
242 * tagmanager/python.c:
243 Use tm_source_file_set_tag_arglist() to set the argument list
244 field of Python class tags to the argument list of their
246 Backport a fix from CTags SVN to prevent possible crashes by trying
247 to free NULL pointers.
250 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
252 * tagmanager/txt2tags.c:
253 Remove duplicate code from Txt2Tags parser.
254 Remove the title control characters ('=') when parsing titles.
255 Also parse numbered titles (closes #2984703).
256 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
258 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
259 Add missing documentation for 'Reset Zoom' keybinding.
261 Another attempt to fix the PHP parser regexp for parsing functions.
262 Fix wrong parsing of function arguments when those contain nested
263 brackets (as reported by Harold Aling).
265 Fix Ctrl-Click on notebook tab if Numpad is active.
268 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
270 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
271 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
272 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
273 src/ui_utils.c, src/ui_utils.h:
274 Add option 'System Default' for toolbar icon style and size to
275 use the GTK default value.
276 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
277 src/toolbar.c, src/toolbar.h:
278 Shorten the toolbar popup menu, only provide items for Toolbar
279 Preferences and to Hide the toolbar.
281 Instantly update the toolbar icon size and style when the
282 corresponding global GTK settings are changed.
283 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
284 src/plugindata.h, src/socket.c:
285 Add new command line option --list-documents to return a list
286 of currently opened documents (closes #2979933).
289 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
291 * plugins/htmlchars.c:
292 Make plugin remember whether replacement of special characters was
293 activated even after restart of Geany or reloading of plugin.
296 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
299 Fix inserting snippets with an indent when using Mac CR line
302 Update status bar after using Document->Set Line Endings.
304 Improve API docs for editor_insert_text_block().
307 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
310 Refactor snippets_complete_constructs().
311 Remove an unnecessary TODO.
313 Fix indenting a snippet when there is whitespace after the
317 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
319 * doc/geany.txt, doc/geany.html:
321 * src/build.c, src/msgwindow.c:
322 Fix disabled compiler message tracking if using indicators to
323 show build errors is disabled (closes #2982834).
326 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
328 * scintilla/Editor.cxx:
329 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
330 and SCI_GETSELECTIONEND with rectangular selections. This fixes
331 replacing in a rectangular selection.
334 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
337 Re-detect any document filetypes set to None after reloading
338 filetype extensions (closes #2979661).
340 Fix showing '...' item last instead of first for document word
344 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
346 * data/filetypes.perl:
347 Adjust Perl Compile command to use the -c command
348 line option to perform a syntax check instead of using the
349 deprecated ByteCompile module.
350 Add error_regex to parse error messages and warnings when performing
351 syntax checks on Perl files.
354 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
356 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
357 Add API docs for keybinding enums.
358 * src/notebook.c, doc/geany.txt, doc/geany.html:
359 Make Ctrl-click on any notebook tab switch to the last used
363 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
365 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
366 src/geanyentryaction.c, src/geanyentryaction.h,
367 src/geanywraplabel.c:
368 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
369 object for efficiency.
372 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
374 * plugins/classbuilder.c:
375 Beep if the user hasn't entered a class name on pressing OK.
377 Fix replacing '^' regex.
378 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
379 plugins/geanyfunctions.h:
380 Add Stash widget functions to API.
382 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
386 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
389 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
391 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
392 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
393 plugins/geanyfunctions.h, plugins/geanyplugin.h:
394 Add Stash setting functions to API.
395 Remove unnecessary argument to stash_group_load_from_file().
396 * src/geanyobject.c, plugins/classbuilder.c:
397 Don't generate FOO_GET_PRIVATE() macro because caching the result
398 in Foo::priv can be much more efficient.
401 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
404 Fix cursor positioning when toggling comments
405 (patch by Thomas Martitz, thanks).
408 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
410 * src/keybindings.[hc]:
411 Added Control+0 for zoom reset, see suggestion from #2969886.
414 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
416 * src/search.c, src/document.c:
417 Fix wrong selection range after Replace in Selection.
420 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
423 Make CreateChildProcess() working with Unicode strings, e.g.
424 directory names (closes #2972606).
426 Remove reference to already removed latex.tags file.
427 Future releases probably still depend on GTK 2.16.
428 * scintilla/ScintillaGTK.cxx:
429 Backport fix from Scintilla CVS to not paste text beyond the end
430 of lines (closes #2969096).
431 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
433 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
434 to not set Geany's minimum window size anymore (closes #2972992).
435 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
438 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
441 Make adding string and string vector settings initialise the setting
443 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
444 Add stash_group_load_from_file() and stash_group_save_to_file().
447 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
449 * data/filetypes.common:
450 Set default for wrapped lines to show marker at end of line only
451 (more expected and doesn't change line alignment - closes #2972386).
452 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
453 src/pluginutils.c, doc/plugins.dox:
454 Improve API docs contents page by listing all commonly-used files.
455 Fix 'Date' appearing twice on the date line.
456 Don't generate API docs for prefs.h, toolbar.h (unused).
457 Move some '@file' doc-comments to the .c file.
458 * src/interface.c, geany.glade:
459 Add frame for 'Printing' prefs dialog page.
460 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
461 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
463 Rename Stash data types to be independently named from Geany (so
464 Stash can be reused for other projects).
465 Rename GeanyPrefGroup to StashGroup.
468 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
470 * tagmanager/python.c:
471 Apply patch from Colomban Wendling to parse Python lambda functions
472 (thanks) - modified to only parse toplevel or class member lambdas.
473 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
475 Add doc-comments for Stash setting functions.
476 Add an example file showing usage of Stash.
477 (Not enabled yet until added to the plugin API).
480 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
483 Fix using return value without checking return status, caused
484 incorrect sensitivity settings on build dialog.
487 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
490 Add tip about gcc optimization & warnings/debugging.
492 Update Libraries section about synchronizing with other projects.
495 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
498 For now revert the recent patch which set real_path of newly
499 open non-existent configuration files as this seems hackish and
500 causes 'file not found' warnings.
502 Fix/Improve GIT repository detection
503 (patch by Thomas Martitz, thanks).
504 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
506 Add utils_copy_environment() to the plugin API.
509 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
511 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
512 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
514 Use 3rd person for more API dox.
515 Change 'This is a wrapper function for...' to 'Wraps...' in brief
517 Change 'After all...' to 'Afterwards...'.
518 * src/interface.c, geany.glade:
519 Apply patch from Eugene Arshinov to make frame packing/alignment
520 more consistent (thanks).
523 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
526 Fix ui_button_new_with_image() to call gtk_button_set_image() so
527 that gtk_button_[sg]et_label() work as expected.
528 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
529 Make Build Commands dialog show menu item labels as a button (to
530 help show that menu labels don't normally need to be edited &
531 display the mnemonic correctly). Clicking shows an input dialog to
532 set a new menu item label.
533 Split dialogs_show_input() into 2 functions: one simple, one for
535 Fix possible double-destroy of input dialog when closed by user.
537 Fix not destroying 'Make Custom Target' input dialog after first
540 Make Long Line Marker settings for existing projects default to
541 general settings instead of 0 (thanks to Eugene Arshinov).
542 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
543 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
544 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
545 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
546 Use 3rd person (gets not get) for API function brief descriptions.
547 Avoid using 'convenience function' in API brief descriptions.
550 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
552 * doc/geany.txt, doc/geany.html:
553 Warn about some GNU extensions for regular expressions & clarify
555 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
556 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
557 src/editor.h, geany.glade:
558 Apply patch from Eugene Arshinov to add project long line marker
559 customisation (thanks).
560 * src/interface.c, geany.glade:
561 Edit/tidy 'Long line marker' labels.
564 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
566 * src/build.c, src/project.c:
567 Fix crash due to NULL in project build preferences (thanks to
571 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
573 * src/utils.c, src/utils.h, src/search.c, src/search.h,
574 src/document.c, doc/geany.txt, doc/geany.html:
575 Merge gnu-regex branch:
576 Use POSIX system/GNU regex engine for find & replace 'Use regular
577 expressions' option. This alters regex syntax a bit - see the docs
578 for details; we now support '?' operator and replacement backslash
579 escaping is more standard.
580 Make regex search imply replacing escaped chars.
581 Allow \0 backreference replacement for the whole match.
582 Note: Replace All may be slower; if this is a problem please let me
585 Add argument to utils_str_replace_escape() for keeping
586 uninterpreted backslash escapes e.g. '\\', '\e'.
587 * scintilla/LexMarkdown.cxx:
588 Backport minor formatting/style changes from Scintilla project.
589 * doc/geany.txt, doc/geany.html:
590 Remove warning about no visual indication for zero-column-mode
594 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
597 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
600 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
602 * wscript, scintilla/*, scintilla/include/*:
603 Update Scintilla to version 2.03.
604 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
605 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
606 Add preference for virtual spaces.
608 Fix wrong default response for the Debug Messages dialog.
610 Fix crashes when using Save As with no open files (closes #2964406).
612 Fix duplicate mnemonics on 'Resave missing file' dialog, also
613 move the question from the secondary to the main text to be
614 more compatible with the Gnome HIG.
615 Fix broken 'Save' action in 'Resave missing file' dialog.
617 Improve PHP parser to parse also the argument lists of PHP functions.
619 Correctly set the parent widget for the keybinding overwrite
622 Fix setting the icon for some dialogs if the parent itself is also
625 When editing non-existent config files using the Tools->Configuration
626 Files menu, explicitly set the real_path to avoid presenting the Save
627 As dialog when saving the file (patch by Tony Rick, thanks).
629 Focus the editor widget after hiding the sidebar when it had the
630 input focus (patch by Can Koy, thanks).
631 Properly show/hide the mesages window when using the View menu item
633 * plugins/filebrowser.c:
634 After opening files, focus the editor widget
635 (based on a patch by Can Koy, thanks).
636 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
637 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
638 src/ui_utils.h, src/vte.c:
639 Add and use convenience function ui_is_keyval_enter_or_return() and
640 add it to the plugin API.
643 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
645 * src/about.c, THANKS, po/ast.po:
646 Added Asturian translation. Thanks to Marcos Costales for providing.
649 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
652 Fix keyboard accelerators in debug messages window
656 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
658 * scintilla/LexR.cxx:
659 Backport R lexer from Scintilla CVS to fix case sensitive keywords
660 (Scintilla bug #2956543).
661 * src/sidebar.c, src/about.c, THANKS:
662 Make Space on the symbol and document list not focus the editor
663 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
664 * src/document.c, src/document.h:
665 Fix document_try_focus() to make it work with the sidebar document
667 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
668 Make Space on the compiler and messages widgets not focus the editor
669 widget while Enter does (patch by Can Koy, thanks).
671 Fix wrongly auto-detected multiline comments
672 (patch by Eugene Arshinov, thanks).
675 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
678 Show number of lines of current document inside statusbar. Thanks to
679 Can Koy for providing the patch.
682 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
684 * src/keybindings.c, doc/geany.txt, doc/geany.html:
685 Make Switch to Editor keybinding reshow the document statistics
686 line, so user doesn't have to move the cursor.
689 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
692 Update keywords for the R language (patch by Jon Senior, thanks).
695 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
698 Fix the instruction how to insert unicode characters
702 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
704 * scripts/create_py_tags.py:
706 Replace tabs by spaces.
709 Replace tabs by spaces.
710 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
711 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
712 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
713 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
714 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
715 src/plugindata.h, src/sidebar.c, src/sidebar.h:
716 Add keybindings to switch to the sidebar's Document and Symbol list
717 as well as to the Message Window's current tab
718 (patch by Eugene Arshinov, thanks).
720 Update primary keywords for the R language
721 (patch by Jon Senior, thanks).
724 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
727 Add more detailed hints about reloading configuration
728 (thanks to Tony Rick).
729 * data/filetypes.javascript:
730 Correct the keyword list for JavaScript (thanks to Jonas).
733 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
735 * New release: Geany 0.18.1 "Balfour".
738 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
741 Add special cases for handling the Select All keybinding (Ctrl-A) in
742 the toolbar search and goto line text entries (closes #2948040).
743 Strip trailing spaces after reflowing a paragraph, patch by
744 Dominik Wagenfuehr, thanks (closes #2945497).
747 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
749 * src/geanymenubuttonaction.c, src/templates.c:
750 Partly revert last commit:
751 Unref the new files toolbar menu when freeing templates as it
752 was done before but unref it *after* the menu has been removed
753 from the GeanyMenuButtonAction.
755 Fix possible endless loop when trying to detect the encoding of
756 non-text files (patch by Alexey Antipov, thanks).
759 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
762 Allow saving remote files using g_file_set_contents() as well
763 (patch by Алексей Антипов, thanks).
764 * data/filetypes.python:
765 Adjust style for secondary keywords to be less aggressive.
766 Add Python 2.5 builtins keywords.
767 * src/geanymenubuttonaction.c, src/templates.c:
768 Unref the new files toolbar menu when setting a new menu to fix
769 possible crashes when reloading configuration.
771 When reloading configuration, process the current document at last
772 so the symbol list will be updated correctly.
775 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
778 Explicitly read filetype configuration files before generating
779 global tags to get settings for custom filetypes.
782 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
785 Fix GLib warning when toggling 'no plugins available' item.
788 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
791 Include geany.ico in the distribution tarball.
793 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
794 * scripts/create_py_tags.py:
795 Make the script a bit more robust with newer Python versions.
797 Use utils_spawn_sync() instead of g_spawn_sync().
800 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
803 Close meta tag for export date properly.
806 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
809 Update RPM Spec file (patch by Dominic Hopf, thanks).
812 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
815 Fix renaming sci_send_message(), sci_send_command() function pointers.
818 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
820 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
821 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
822 plugins/geanyfunctions.h, plugins/Makefile.am,
823 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
824 Use full function name for GeanyFunctions function pointers. This
825 avoids naming conflicts e.g. with C++'s 'new' keyword.
826 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
829 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
831 * src/utils.c, src/utils.h, src/vte.c:
832 Add utils_copy_environment() and make use of it.
833 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
834 src/editor.c, src/templates.c, src/templates.h:
835 Add new special template wildcard "{command:...}" to use the
836 output of a command in templates.
837 Adjust template functions to mostly work with GeanyDocuments.
838 Minor cleanups in the template code.
840 Replace the old icons with smiley icons from the Rodent icon theme.
841 Fix showing the same icon for two or more slots.
843 * src/editor.c, src/editor.h, src/keybindings.c:
844 Rename fold_symbol_click() to editor_toggle_fold().
845 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
846 was used to respect the 'Fold/unfold all children' preference
850 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
853 Prevent possible segfault in get_build_group().
855 Fix GLib warning & beep if trying to insert multiline comment for a
856 filetype that doesn't support it.
859 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
862 Add gcc commands to build a plugin to the HowTo.
863 * src/search.c, src/document.c, src/document.h:
864 Show 'Replaced X matches in Y documents' message when using Replace in
868 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
870 * scripts/plugin_test.c:
871 Add a little test program which can load and test Geany plugins to
872 verify it is loadable at runtime and all necessary symbols are
874 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
876 Add new signal: "geany-startup-complete" which is sent once all
877 initialization and startup tasks has been done.
878 * README.I18N, configure.ac, wscript, po/LINGUAS:
879 Remove po/LINGUAS from the repository.
880 Generate it automatically if needed by reading available
881 message catalogs from the po directory.
882 Also respect the LINGUAS environment variable properly.
885 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
888 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
892 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
894 * src/editor.c, src/templates.c, src/templates.h:
895 Refactor templates_replace_all() into templates_replace_valist()
896 to save some code duplication.
899 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
901 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
902 src/plugindata.h, src/plugins.c:
903 Add editor_insert_text_block() to plugin API.
906 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
909 Update copyright information.
910 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
911 doc/geany.txt, doc/geany.html:
912 Add keybinding to open the last closed tab (closes #2912692).
915 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
917 * autogen.sh, configure.in, configure.ac:
918 Rename configure.in to configure.ac.
919 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
921 Add sci_find_text() to the plugin API.
922 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
923 src/interface.c, src/prefs.c:
924 Add a checkbox in the preferences dialog to explicitly toggle
925 the visibility of the sidebar (closes #2923340).
928 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
930 * src/editor.c, src/plugins.c, src/plugindata.h,
931 plugins/geanyfunctions.h:
932 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
933 editor_get_eol_char() to the plugin API.
934 * src/callbacks.c, src/plugins.c, src/plugins.h:
935 Fix sensitivity of the Edit->Plugin Preferences menu item
936 if plugins are loaded which do not provide a configuration dialog.
937 * scripts/create_py_tags.py:
938 Rewrite and extend the Python tags parsing script to use
939 Python's inspect module to read symbols from Python modules
940 including scope information.
941 * data/filetypes.restructuredtext:
942 Add the default comment character sequence for reStructuredText.
944 Show the Find/Goto dialogs if the corresponding toolbar buttons are
945 clicked but their text fields are not part of the toolbar (#2920807).
946 * data/filetypes.common, doc/geany.html, doc/geany.txt,
948 Add new style to change foreground and background colours for
949 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
951 Remember the window position of the Find, Replace and Find in Files
952 dialogs (closes #2877988).
955 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
958 Fix a minor typo inside plugin API reference.
961 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
963 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
964 Make dialogs_show_prompt() more flexible to take up to three
965 button/response code pairs to be shown.
966 Add a close button to the dialog when asking to Re-Save a
968 (closes #2916954, based on a patch by Dominik Stadler, thanks).
970 Fix LaTeX environment auto completion with CR/LF line endings.
971 Add some sanity checks.
973 When closing a document after it was deleted from the filesystem,
974 don't ask whether it should be saved first.
975 Mark the document only as changed if it is not closed afterwards.
976 Prevent possible segfaults if the document was closed when it is
977 missing from the filesystem.
978 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
979 src/msgwindow.h, src/prefs.c:
980 Add MessageWindow::scribble and use it instead of searching the
981 widget pointer everytime.
982 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
983 Add preferences for hiding single tabs from the messages window
984 (no GUI preferences yet, still to be implemented).
985 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
986 Set the correct parent window for the toolbar editor
987 dialog (closes #2913334).
988 * src/win32.c, src/win32.h, src/ui_utils.c:
989 Rename win32_show_project_folder_dialog() to
990 win32_show_folder_dialog() as it is not related and not used by any
991 project management related code.
992 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
993 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
994 as it is specialised for opening documents.
995 Implement win32_show_file_dialog() as a generic file open dialog and
996 use it with ui_path_box_new().
999 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1002 Extend auto_latex() function to check whether an environment has been
1003 closed within the next lines to avoid auto adding double \end{}.
1005 Remove LaTeX tags from SVN. Can be found at
1006 http://download.geany.org/contrib/tags/ if needed.
1009 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1011 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
1012 Add document_need_save_as().
1013 Show the Save As also for documents created from filetype templates
1014 instead of saving them directly with the untitled filename.
1017 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1019 * geany.glade, src/interface.c:
1020 Move 'Send Selection to Terminal' menu item from Format to Commands
1023 When going to a build error, try the current document's path if
1024 the parsed filename doesn't exist. (This can happen when we receive
1025 build messages in the wrong order - after the 'Leaving directory'
1028 Refactor msgwin_goto_compiler_file_line().
1029 * src/interface.c, src/keybindings.c, geany.glade:
1030 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
1033 Refactor/reformat on_replace_dialog_response().
1036 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1039 Improve geany.spec (split the package into a binary and devel
1040 package, update BuildRequires and other minor improvements).
1041 Patch by Dominic Hopf, thanks.
1044 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1046 * src/filetypes.c, src/filetypes.h:
1047 Make group for custom filetypes.
1048 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
1049 Add custom filetype Genie.
1052 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1054 * src/highlighting.c:
1055 Highlight D & Java types from a global tags file.
1056 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1057 Add debug message warning if recursive lexer_filetype is set.
1058 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
1059 Remove duplicate sci_set_keywords(), make argument const.
1060 * src/highlighting.c:
1061 Only show debug message once if recursive lexer_filetype is set.
1062 Tidy highlighting_init_styles code for filetype None handling.
1063 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
1064 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
1065 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
1066 tagmanager/parsers.h, tagmanager/makefile.win32,
1067 tagmanager/verilog.c, tagmanager/Makefile.am,
1068 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
1069 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
1070 * src/highlighting.c:
1071 Fix segfault on startup (oops).
1072 * data/filetypes.verilog:
1073 Fix using common style colours for Verilog.
1076 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1078 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1079 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1080 Move C-like filetype properties into configuration files.
1081 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1083 Remove now unnecessary "styling_within_preprocessor" C style key.
1084 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1085 data/filetypes.glsl, data/filetypes.cs:
1086 Use lexer_filetype=C configuration file key instead of duplicate
1087 styleset functions for C++, C#, GLSL, Vala.
1090 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1092 * doc/geany.txt, doc/geany.html:
1093 Warn about not using BOM for configuration files (confuses GKeyFile
1094 parser, at least on my system).
1096 Add/improve debug messages for custom filetypes.
1099 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1102 Add a couple of further latex-beamer commands to list of LaTeX tags.
1105 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1107 * plugins/filebrowser.c:
1108 Add an in-entry clear icon to the filebrowser plugin's filter
1109 entry (patch by Dominic Hopf, thanks).
1110 * src/prefs.c, src/ui_utils.c:
1111 Fix two compiler warnings about possibly uninitialised variables.
1114 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1116 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
1117 plugins/geanyfunctions.h:
1118 Add main_is_realized() to the plugin API.
1119 * tagmanager/include/tm_tagmanager.h:
1120 Update partly outdated and wrong doc comment.
1121 * src/main.c, src/main.h, src/socket.c:
1122 Allow opening Geany projects remotely.
1123 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
1124 Add a hidden pref to allow executing text which was sent to the
1125 terminal directly, i.e. do not strip trailing newline characters.
1126 Also fix the stripping of trailing newline characters if there was
1130 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1132 * src/about.c, THANKS:
1133 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
1134 Kurt de Bree into section of previous translators.
1137 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1139 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
1140 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
1144 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1146 * src/highlighting.c:
1147 Make stylesets take a ft_id argument so they can be reused fully with
1148 custom filetypes, so custom styles and keywords can be set.
1149 * src/highlighting.c:
1150 Fix setting filetype properties when both the system and the user file
1151 have properties set.
1152 * src/symbols.c, tagmanager/vhdl.c:
1154 * src/highlighting.c:
1155 Fix lexer settings for custom filetypes.
1158 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1161 Remove duplicate regular expression for parsing classes.
1162 Fix and improve parsing of constants (patch by Harold Aling, thanks).
1163 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
1164 src/main.h, THANKS, src/about.c:
1165 Add new command line option "--socket-file" to be able to specify
1166 separate socket filenames for instances
1167 (closes #2896027, patch by Jörn Reder, thanks).
1168 * src/keybindings.c, src/keybindings.h:
1169 Add keybindings_check_event() to manually check GdkKeyEvents against
1170 Geany's keybindings.
1171 * src/callbacks.c, src/utils.c, src/utils.h:
1172 Add and use utils_get_help_url().
1173 * geany.glade, src/interface.c, src/prefs.c:
1174 Add a Help button to the preferences dialog.
1175 Handle Help keybinding events for the preferences dialog especially
1176 and open the manual with the corresponding anchor link to the current
1177 preferences page (same goes for the new Help button).
1180 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1182 * src/toolbar.c, src/geanymenubuttonaction.c,
1183 src/geanymenubuttonaction.h:
1184 Use separate tooltips for toolbar menu buttons and their attached
1186 * tagmanager/latex.c:
1187 Improve parsing of sections and chapters by ignoring shortnames
1188 like \section[shortname]{label} (closes #2890477).
1191 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1193 * src/geanymenubuttonaction.c:
1194 Try to fix Gtk warning when using Tools->Reload Configuration.
1197 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1199 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1200 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
1201 data/filetypes.pascal, data/filetypes.docbook,
1202 data/filetypes.python, data/filetypes.conf:
1203 Use filetypes.foo [lexer_properties] group instead of hardcoding
1204 lexer properties (more flexible e.g. for custom filetypes).
1205 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
1206 Replace filetypes.xml html_asp_default_language key with
1207 filetypes.html asp.default.language property in [lexer_properties]
1211 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1213 * doc/geany.txt, doc/geany.html:
1214 Fix slightly wrong description of how to insert Unicode characters.
1216 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
1217 ui_setup_open_button_callback().
1218 * src/prefs.c, src/prefs.c, src/vte.c:
1219 Refactor color and font button callback functions in the
1220 preferences dialog. Move the VTE related callback functions
1222 Make use of ui_setup_open_button_callback().
1224 Improve printing status texts (patch by Dominic Hopf, thanks).
1225 * src/prefs.c, src/vte.c:
1226 Use the default dialog title set by ui_setup_open_button_callback()
1227 to be more consistent and to save one string.
1230 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1233 Separate DKinds from CKinds.
1234 Don't generate macro tags for D, Java.
1237 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1239 * tagmanager/ctags.c, tagmanager/general.h:
1240 Make TagManager Assert statements cause g_warning on failure.
1241 * src/keybindings.c:
1242 Fix reflow paragraph command when cursor < anchor using
1243 sci_fix_selection().
1246 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1248 * tagmanager/perl.c:
1249 Fix Geany segfault with constant tags (#2895168).
1251 Fix invalid tree iter access when using tv_iters.tag_other but not
1252 using tv_iters.tag_variable.
1253 * HACKING, tagmanager/perl.c:
1254 Fix parsing Perl format statements ("other" type doesn't seem to work).
1255 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
1256 Fix using "other" tag type.
1259 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1262 Remove useless comment about applying settings only when libvte.so
1263 could be loaded which is only displayed *if* libvte.so is loaded.
1265 Allow autocompletion for HTML entities even within a word.
1266 * src/geanymenubuttonaction.c:
1267 Only set the menu of the button if a non-empty GtkMenu is passed to
1268 geany_menu_button_action_set_menu() so the menu arrow keeps
1272 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1275 Fix parsing some Java code (e.g. filetypes.java) after r4407.
1278 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1281 Parse D functions with contracts (fixes #1885480).
1282 Parse D alias statement like typedef.
1283 (Ignore some more D keywords).
1285 Fix creating D interface tags properly.
1287 Parse contents of D extern{} and version{} blocks.
1290 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1296 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1298 * src/plugindata.h, HACKING:
1299 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
1302 Show number of files saved on status bar when using Save All.
1303 * src/highlighting.c:
1304 Use default color scheme if pref color scheme file doesn't exist.
1305 * src/keybindings.c:
1306 Fix moving correct lines after selecting whole line(s).
1309 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1311 * tagmanager/makefile.win32:
1312 Fix broken build on Windows because of a typo
1313 (patch by Timothy Boronczyk, thanks).
1316 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1318 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1320 Add 'View->Editor->Color Schemes' menu, for now only shown if color
1321 scheme files exist in a colorschemes config directory. Color scheme
1322 files must end in ".conf" and currently only the [named_styles]
1324 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1325 Add utils_get_config_files().
1326 * src/highlighting.c:
1327 Fix issue with default color not being reset if overridden with a
1328 system default color.
1329 * src/highlighting.c:
1330 Only reload filetype files when changing color scheme, not all
1331 configuration files.
1332 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1333 Deprecate documents_foreach() as it looks more like a function; use
1334 foreach_document() instead.
1335 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1338 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1340 * src/stash.c, src/stash.h:
1341 Use typedef instead of pointer for widget_id function arguments.
1344 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1346 * src/pluginutils.c:
1347 Don't expand Plugin Preferences page spacing vertically to fill the
1348 height of the dialog.
1349 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1350 geany.glade, plugins/splitwindow.c:
1351 Allow GeanyKeyBinding label field to contain underscores, which won't
1352 be displayed by Geany. This saves adding near-duplicate translation
1354 Add mnemonics for 3 Edit->Format menu items.
1355 Add keybindings_get_label().
1356 * src/interface.c, geany.glade:
1357 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1361 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1364 Desensitize Edit->Commands menu item when no docs are open.
1365 * src/interface.c, src/keybindings.c, src/callbacks.c,
1366 src/callbacks.h, geany.glade:
1367 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1368 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1369 Add general function sci_get_string() that works with any string
1370 buffer messages that follow the Windows message convention.
1371 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1372 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1373 src/pluginutils.c, src/pluginutils.h, geany.glade:
1374 Add 'Edit->Plugin Preferences' menu item and keybinding.
1375 Don't include plugindata.h in pluginutils.h because it redefines the
1376 GEANY() macro for plugin use.
1377 * doc/geany.txt, doc/geany.html:
1378 Update for Plugin Preferences keybinding.
1381 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1384 Sort document word completion list.
1385 * src/interface.c, src/keybindings.c, src/callbacks.c,
1386 src/callbacks.h, geany.glade:
1387 Add some useful commands to editor popup menu under "Commands"
1388 submenu (thanks to Lex).
1389 Move 'Duplicate line or selection' from Format -> Commands submenu.
1390 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1391 Enable switching the sidebar to the right on Windows again, as it
1392 apparently works after all.
1394 Fix using tab to autocomplete in some other situations that word part
1395 completion doesn't apply in.
1396 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1397 Add Edit->Commands submenu which is shared with the editor popup menu.
1398 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1399 Change editor popup Commands submenu to start as child of menubar Edit
1400 menu, as this is more usual e.g. for keybindings initialization.
1401 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1403 Share a single Format submenu for menubar Edit and popup menu.
1406 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1409 Fix a compiler warning about an uninitialised variable.
1411 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1412 sciwrappers.h, build.h (for the Waf build system,
1413 accordingly to r4366).
1416 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1418 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1419 src/toolbar.c, src/toolbar.h:
1420 Add missing dox for types/files in the API.
1421 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1422 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1423 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1424 of functions not in the API).
1425 Warning: any plugins that include these headers should remove them.
1426 * src/build.c, src/build.h:
1427 Move function doc-comments to build.c so they stay in sync. Note:
1428 these functions are still not in the API.
1430 Add 'Doc-comments' plugin API subsection.
1431 * plugins/filebrowser.c:
1432 Fix packing configure widgets equally.
1433 Use spacing multiples of 6 as recommended by Gnome HIG.
1434 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1435 Disable switching the sidebar to the right on Windows as it will
1436 probably fail like the Split Window plugin.
1438 Improve 'Detect from file' indentation pref by ignoring lines with
1439 indentation wider than 24 characters as this is more likely to be
1440 alignment than indentation.
1443 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1445 * plugins/saveactions.c:
1446 Fix adding the filetype's default extension when using the
1447 Instant Save plugin (closes #2885142).
1449 Before looking for line and column numbers specified as part
1450 of a filename, ensure the file doesn't exist on disk. This allows
1451 opening of files like "test:0".
1453 Rename "select" variables into "selection" to avoid shadowed names.
1454 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1455 Add ui_widget_modify_font_from_string() and sci_goto_line()
1457 * plugins/filebrowser.c:
1458 Rename "select" variables into "selection" to avoid shadowed names.
1459 Make use of ui_widget_modify_font_from_string().
1462 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1464 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1465 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1467 Add sidebar position interface pref.
1470 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1472 * doc/geany.txt, doc/geany.html:
1473 Add missing underscores to links.
1476 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1478 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1479 Add 'Move line(s) up/down' keybindings.
1482 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1484 * src/build.c, src/build.h, src/filetypes.h:
1485 Include code for project filetype execute commands and fix bug in
1486 saving project filetypes list.
1487 * src/project.c, src/build.c, doc/geany.txt:
1488 Make non-project execute configuration save to filetypes not geany.conf.
1489 Fix closing of project failing to remove build commands dialog entry.
1492 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1494 * src/project.c, src/ui_utils.c:
1495 Set border width for project properties build table.
1496 * geany.glade, src/interface.c:
1497 Don't expand hard tab width alignment.
1500 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1502 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1503 doc/geany.txt, doc/geany.html:
1504 Support loading global tags files for custom filetypes.
1505 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1506 doc/geany.txt, doc/geany.html:
1507 Add 'Word part completion' keybinding so keys other than Tab can be
1508 used, or to clear/change the combination so Tab does full completion
1510 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1511 Add 'Select to previous/next word part' keybindings.
1512 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1513 Add 'Switch to Messages' focus keybinding.
1516 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1518 * doc/geany.txt, doc/geany.html:
1519 Add 'Custom filetypes' section.
1520 * src/filetypes.c, src/filetypes.h, src/document.c,
1521 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1522 tagmanager/include/tm_source_file.h:
1523 Add filetype "tag_parser" key so custom filetypes can use an existing
1525 Add tm_source_file_get_named_lang().
1526 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1528 Add filetype "lexer_filetype" key so custom filetypes can use an
1532 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1534 * THANKS, src/about.c:
1535 Add Xhacker Liu for his work at zh_CN translation to long list of
1539 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1541 * src/sciwrappers.c:
1542 Remove unnecessary line number margin padding.
1543 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1544 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1546 Improve word part autocompletion so AC list is not cancelled and
1547 reshown (this also stops the selection changing).
1548 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1550 Improve CamelCase word part autocompletion for runs of capital letters.
1552 Don't complete snippets if there's a selection.
1555 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1558 Fix crash opening project when Geany started with no geany.conf.
1561 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1563 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1564 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1566 Add word part autocompletion for the current selected item when
1567 pressing Tab - Enter still completes normally.
1568 Add foreach_str() API macro.
1569 Temporarily modify scintilla to say if tab was used for
1571 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1572 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1573 plugins/classbuilder.c:
1574 Revert r4301 - utils_free_pointers() taking 4 arguments.
1575 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1576 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1577 plugins/splitwindow.c:
1578 Add highlighting_set_styles() to API, use for Split Window plugin so
1579 filetypes.common settings get set too.
1580 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1582 * src/document.c, src/editor.c, plugins/splitwindow.c:
1583 Call editor_apply_update_prefs() from editor_create_widget() so
1584 correct tab width and other settings are applied for Split Window
1588 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1590 * src/keybindings.c:
1591 Don't include trailing newlines when using reflow command.
1593 Add stock close buttons to notebook tab popup menu.
1594 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1595 plugins/geanyfunctions.h:
1596 Add document_get_notebook_page() to API.
1598 * data/templates/files/file.html, data/templates/files/file.php:
1599 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1600 * src/interface.c, src/ui_utils.c, geany.glade:
1601 Move Tools configuration items to top of menu.
1602 * src/keybindings.c, src/search.c:
1603 Fix warning when using Find in Files with no documents open; make
1604 keybinding work in this case.
1607 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1609 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1610 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1611 Make Split Window 'Show current document' button have a drop-down menu
1612 to select the other documents.
1613 Add new API function ui_menu_add_document_items().
1616 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1619 Fix sensitivity settings for compile and build toolbar items.
1622 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1625 Don't use filetype submenus for templates (slower to navigate, often
1626 only 1 per-filetype anyway).
1628 Put old filetype template menu items in 'Old' submenu as they should
1629 be removed after the 0.19 release.
1630 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1631 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1632 to be ignored if inappropriate so a later keybinding with the same
1633 key combination can intercept it. (Also group callbacks are usually
1634 tidier than separate callbacks).
1635 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1636 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1637 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1638 plugins/classbuilder.c:
1639 Make utils_free_pointers() take 4 arguments, add to API.
1640 * src/templates.c, src/tools.c, src/ui_utils.c:
1641 Fix memory leaks with gtk_container_get_children().
1644 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1647 Ensure that old style build config is not loaded if it does not exist.
1650 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1652 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1653 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1656 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1658 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1660 Apply set default encoding for existing files only if the files are
1661 non-Unicode (patch by Alexey Antipov, thanks).
1664 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1666 * src/highlighting.c:
1667 Move new_styleset() and preprocessor setup code into styleset_c_like().
1668 * src/highlighting.c:
1669 Call apply_filetype_properties() from styleset_c_like().
1672 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1674 * doc/geany.txt, doc/geany.html:
1675 Improve information about predefined keybindings which are
1676 commonly used across applications (patch by Lex Trotman, thanks).
1678 Enable embedded page setup properties in the (Unix) Print dialog
1679 on newer GTK versions (closes #2870596).
1680 * src/highlighting.c:
1681 Map global types (read from tags files) to keyword style for
1685 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1688 Fix wrong creation of filetype template menu items for custom
1690 * src/highlighting.c:
1691 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1693 Group 'New with template' items by filetype submenu (currently only for
1695 Show custom file template items before filetype template items.
1696 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1698 Only use one 'New with template' submenu - reparent as needed.
1700 Don't create templates/filetype.none either.
1702 Warn if custom template file no longer exists.
1705 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1708 Add missing icon for Java packages in the Symbol List.
1711 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1713 * src/highlighting.c, data/filetypes.vala:
1714 Add Vala keywords to conf file.
1715 * src/templates.c, doc/geany.txt, doc/geany.html:
1716 Read custom file templates from $prefix/share/geany/templates/files as
1718 * src/templates.c, data/templates, data/templates/files,
1719 data/templates/files/file.rb, data/templates/files/file.html,
1720 data/templates/files/main.java, data/templates/files/main.c,
1721 data/templates/files/main.cxx, data/templates/files/file.php,
1722 data/templates/files/main.d, data/templates/files/program.pas,
1723 data/templates/files/main.py, data/templates/files/file.tex,
1724 wscript, Makefile.am:
1725 Move filetype template defaults into custom file template files.
1728 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1730 * src/symbols.c, tagmanager/perl.c:
1731 Change Perl tag parser to ctags SVN r601. This removes support for
1732 buggy local/my/our but it parses constant/format/labels and should
1733 be less buggy overall (closes #2861232).
1734 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1735 Add utils_get_file_list_full() which can optionally sort or include
1736 a full path for each list item.
1737 * src/utils.c, src/plugindata.h, src/plugins.c:
1738 Add utils_get_file_list_full() to API.
1741 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1743 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1744 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1745 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1746 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1747 po/POTFILES.in, wscript:
1748 Rename treeviews.[hc] -> sidebar.[hc].
1749 * data/filetypes.common:
1750 Remove unused [styling] arguments.
1751 * src/highlighting.c, data/filetypes.markdown,
1752 data/filetypes.restructuredtext:
1753 Remove style defaults from the code - just read them from
1754 configuration files.
1755 * src/highlighting.c, HACKING:
1756 Add apply_style_entries() to simplify implementing styleset_foo().
1757 * src/highlighting.c:
1758 Remove filetype keyword defaults from the code - just read them from
1759 configuration files.
1760 * src/highlighting.c:
1761 Add sci_set_keywords() wrapper.
1764 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1766 * scripts/create_py_tags.py:
1767 Make the code a bit more pythonic.
1768 * doc/images/build_menu_commands_dialog.png,
1769 doc/images/main_window.png:
1770 Add new images referenced in the documentation.
1771 * doc/geany.html, doc/geany.txt:
1772 Several documentation improvements (patch by Lex Trotman, thanks).
1773 * src/pluginutils.c:
1774 Fix setting the appropriate page of the combined plugins
1778 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1780 * src/keybindings.c:
1781 Only focus toolbar goto line entry when pressing keybinding if it's
1782 visible (patch by Eugene Arshinov, thanks).
1784 Focus editor after entering a number in the goto line toolbar entry.
1786 Use AC_PATH_PROG instead of which for portability (patch by Erik
1787 Southworth, thanks).
1789 Show plugins that only implement plugin_configure_single() in the
1790 multiple-configure dialog as a page with a configure button on it.
1791 Add padding for multiple-configure dialog.
1792 Make the multiple-configure dialog notebook tabs scrollable.
1793 * src/pluginutils.c, src/pluginutils.h:
1794 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1795 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1796 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1797 plugins/geanyfunctions.h, plugins/filebrowser.c:
1798 Add plugin_show_configure() API utility function.
1799 Add File Browser popup menu 'Preferences' item.
1800 * src/highlighting.c:
1801 Add get_keyfile_ints() instead of using tmp_style hack.
1802 * src/highlighting.c, data/filetypes.xml:
1803 Change new html_asp_default_language markup pref to use integer,
1804 not hex in config file.
1805 Fix minor issue with changing pref back to 0.
1806 * src/highlighting.c:
1807 Fix possible segfault in get_keyfile_int() if key value is malformed.
1810 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1812 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1813 Add "html_asp_default_language" pseudo style to filetypes.xml
1814 to allow setting the used language in embedded ASP code
1815 (patch by Ross McKay, thanks).
1816 * src/filetypes.xml:
1817 Update VBScript keywords (patch by Ross McKay, thanks).
1820 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1822 * src/keybindings.c, THANKS:
1823 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1824 keybinding use line breaking column when enabled.
1826 Fix showing the document before reload dialog when opening an
1828 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1829 Add plugin_configure_single() plugin symbol which is easier to
1830 implement than plugin_configure() but won't support a
1831 multiple-plugin configure dialog.
1833 Show multiple plugins in the 'Configure Plugins' dialog.
1836 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1838 * doc/geany.txt, doc/geany.html:
1839 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1841 * doc/geany.txt, doc/geany.html:
1842 Add 'Toolbar entries' section.
1843 * doc/geany.txt, doc/geany.html:
1844 Update 'Go to line' keybinding description.
1845 * doc/geany.txt, doc/geany.html:
1846 Split keybinding table into group tables; update KB links.
1849 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1852 Fix compiler warnings about uninitialised variables.
1853 * src/callbacks.c, src/document.c:
1854 When reloading files, use the previously set encoding instead of
1855 detecting it again (closes #2862041).
1857 Turn on automake silent rules if supported.
1860 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1863 Speed up sorting in utils_get_file_list(). This reduces the file
1864 browser delay on displaying a big directory, e.g. /usr/bin.
1866 Expand command entry width when expanding Build Commands dialog.
1868 Split Build Commands dialog notes label and edit text.
1870 Add padding for Build Commands dialog separators.
1871 Add colons for regex field labels; fix 1 capitalisation.
1873 Fix none filetype Build Commands dialog label.
1874 Make group labels bold.
1875 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1877 Add & use ui_label_set_markup(), ui_label_new_bold().
1878 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1879 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1880 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1881 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1882 * src/keybindings.c:
1883 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1886 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1888 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1889 tagmanager/parsers.h, tagmanager/makefile.win32,
1890 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1891 data/filetype_extensions.conf, wscript:
1892 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1894 Merge recent changes from the CTags project to further improve
1898 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1901 Fix wrong alignment of printed pages when page headers are
1902 disabled (closes #2856822).
1903 Plug a small memory leak and improve function signature of
1906 Save an if expression.
1908 After clearing a text field using the embedded clear icon, put the
1909 input focus into this text field.
1912 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1914 * plugins/filebrowser.c:
1915 Free file list memory whilst iterating the list.
1916 Minor formatting fixes.
1917 * src/utils.c, src/utils.h:
1918 Add foreach_dir() API macro.
1919 Update API docs for utils_get_file_list().
1920 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1922 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1923 Beep if there are no more snippet positions.
1924 Limit length of snippet positions queue to 20.
1927 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1929 * src/keybindings.c, src/callbacks.c, src/search.c:
1930 Make Goto Tag commands use the current selection if present (useful
1931 for selecting part of a tag or for ReST section names with spaces
1934 Don't move the cursor when reloading.
1935 * src/plugindata.h, src/editor.c, src/editor.h:
1936 Make editor_prefs.snippets hash table private (not a pref).
1939 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1942 Remove deprecated --debug flag. Please use --verbose/-v instead.
1945 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1948 Show Find in Files stderr output in messages window instead of
1949 debug window so that invalid regex messages can be seen easily.
1950 Combine FIF stdout and stderr callback code.
1953 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1956 Fix opening filenames beginning with two dots (closes #2858487).
1957 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1958 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1959 data/filetypes.common, geany.glade:
1960 Update syntax highlighting after changing the 'Invert syntax
1961 highlighting colors' pref, instead of requiring a restart.
1962 Remove filetypes.common invert_all option - use 'Invert syntax
1963 highlighting colors' pref instead (closes #2854525).
1964 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1965 Add 'Allow' button when showing the conflicting keybinding dialog.
1966 Make dialogs_show_question_full() use GTK dialog on Windows if
1967 button text is not the stock yes/no items.
1968 Add dialogs_show_prompt() which also has an 'Apply' button.
1969 * src/queue.c, src/queue.h:
1970 Add warning that GeanyQueue may be removed.
1971 * src/keybindings.c, src/editor.c, src/editor.h:
1972 Change snippet_goto_next_cursor() to
1973 editor_goto_next_snippet_cursor() as it's in editor.h.
1974 Avoid using GPOINTER_TO_INT macro.
1977 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1979 * src/keybindings.c:
1980 Fix 'Reflow block' command when at the last paragraph and there's
1981 no last newline (patch by Eugene Arshinov, thanks).
1983 Add 'Compiler options & warnings' section.
1984 Update Style section to be clearer about code alignment and show
1989 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1991 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1992 src/plugindata.h, src/plugins.c, src/editor.c,
1993 plugins/geanyfunctions.h:
1994 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1995 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1997 Add sci_toggle_marker_at_line().
1998 Fix SciFuncs alignment.
2001 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
2004 Fix erroneous free of returned string in prepare_run_script.
2007 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2009 * data/filetypes.latex:
2010 Changing default value for showing pdf and dvi to ensure to take
2011 *.pdf and *.dvi file.
2014 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2016 * src/about.c, THANKS:
2017 Change language string for Slovenian translation.
2020 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2022 * tagmanager/txt2tags.c:
2023 Fix multi-byte character constant comparison.
2025 Fix Gtk warning when trying to update documents popup menu item
2026 sensitivity before they exist.
2029 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2032 Improve the opening string in the plugin manager dialog.
2034 Use "max-width" to set the document width of the generated
2035 HTML documentation to let the text be auto-wrapped.
2036 * src/prefs.c, src/tagmanager/include/guregex.h,
2037 src/tagmanager/include/tm_tagmanager.h:
2038 Remove trailing spaces (patch by André Hentschel, thanks).
2040 Fix a compiler warning.
2042 Fix crash when opening documents.
2043 * src/build.c, src/build.h, src/project.c:
2044 Adjust coding style (no code changes).
2045 * src/build.c, src/project.c:
2046 Use NZV() macro instead of strlen() to check for empty strings.
2047 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
2048 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
2049 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
2050 src/plugins.c, THANKS:
2051 Add new plugin signal: "document-before-save".
2052 Add get_line_end_position(), set_target_start(), set_target_end(),
2053 replace_target() to the plugin API
2054 (patch by Eugene Arshinov, thanks).
2055 Add new plugin signal: "document-filetype-set" (closes #2852286).
2056 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
2057 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
2058 tagmanager/Makefile.am, tagmanager/makefile.win32,
2059 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
2061 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2064 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2066 * src/treeviews.c, src/document.c:
2067 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
2068 Use gtk_notebook_set_current_page() instead of
2069 document_open_file_full() when choosing an item from the documents
2071 Avoid using goto in document_open_file_full().
2074 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2076 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2077 Enable type-ahead find for sidebar symbols and documents tabs
2078 (patch by Thomas Martitz, thanks).
2080 Fix 2 free's of possibly uninitialized pointers.
2083 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
2085 * src/build.c, src/filetypes.h, src/filetypes.c
2086 Only write filetype config files when build command or regex is
2087 actually changed. Removed commented code in src/filetypes.c.
2089 Ensure uses of filename are protected against nulls when running
2090 a build command and give status message if not.
2093 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2096 Remove plugin from plugin manager dialog on unloading if it no
2097 longer exists or is incompatible.
2100 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2103 Add warning if only one of the plugin_key_group[_info] symbols is
2104 defined for a plugin.
2105 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
2106 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
2108 Merge custom-filetypes branch:
2109 Support adding custom filetype files e.g. filetypes.Foo.conf.
2111 Allow GeanyFiletype::extension to be NULL.
2112 Add note about using GeanyFiletype pointer instead of filetype_id
2113 for filetypes.c function arguments.
2114 Replace styleset_none() with styleset_default().
2117 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2120 Show the sidebar if either the documents or the symbols list are
2121 enabled (related to #1876107).
2124 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2126 * src/build.c, src/filetypes.c:
2127 Fix compiler warnings.
2129 Fix removing leading double slashes in filenames which are used for
2130 network resources on Windows (closes #2844085).
2133 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2135 * src/keybindings.c:
2136 Fix Make keybindings (patch by Lex Trotman, thanks).
2138 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
2140 Mention Files link at top for header files; demoplugin.c.
2141 Minor edits; remove 'far from being complete'.
2142 * src/keyfile.c, src/keyfile.h, src/main.c,
2143 data/filetype_extensions.conf, HACKING:
2144 Remove --generate-data-files argument & code - just edit
2145 filetype_extensions.conf by hand (filetype order was broken
2147 Add *.H extension for C++ (useful for non-Windows systems).
2150 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
2153 Fix implementation of loading old project files with base
2154 directories. Use project_make_base_path instead of re-
2155 implementing. Now depends on project.c reading base dir
2156 prior to calling load_build_menu.
2158 Change usage of project base directory to conform with
2159 previous documented behavior when loading old project files.
2161 Change make custom and make object to ignore make in base path
2162 when reading old project file settings. Changed some indent
2163 spaces to tabs. Fix missing compile menu accelerator.
2166 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2169 Add warning about not using undocumented features.
2170 Add reference to HACKING for plugin API development.
2172 Add section 'Plugin API/ABI design'.
2173 * src/keybindings.h, src/makefile.win32, src/project.h,
2174 src/filetypes.h, src/Makefile.am, wscript:
2175 Use GEANY_PRIVATE to hide some fields from plugins.
2177 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
2178 * src/build.c, src/build.h, src/project.c:
2179 Use build_ prefix for 3 functions in build.h; add a static modifier.
2182 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2185 Improve parsing of PHP functions by requiring a valid modifier or
2186 whitespace before the 'function' keyword to ignore some false
2187 positives like function tags inside comments
2188 (patch by Harold Aling, thanks).
2189 * tagmanager/python.c:
2190 Don't parse comments after import statements and other tags
2191 (closes #2838938, patch by Huandari Lopez, thanks).
2194 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2196 * data/filetypes.markdown:
2197 Add filetypes.markdown for configuration (thanks to Jon Strait).
2198 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
2199 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2200 plugins/geanyfunctions.h:
2201 Remove GeanyKeyGroup struct from the API - plugins should not set
2203 Make keybindings_set_item() duplicate the name and label fields
2204 (needed by GeanyLua) and return a keybinding pointer.
2205 Add keybindings_get_item() to the API (in case it's useful).
2206 Move some keybinding code out of plugin source files.
2209 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2211 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
2212 Don't generate build.h API docs until everything is approved and
2213 functions are actually in geany_functions.
2214 Move new GeanyFiletype and GeanyProject field(s) to end of struct
2215 as they may be changed or made private later.
2216 Break ABI for fields removed.
2219 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
2221 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
2222 src/keyfile.c, src/project.c
2223 Changed names of symbols visible in build API to GEANY_xxx.
2226 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
2228 * src/project.h, src/project.c, src/build.c
2229 Remove make_in_base_dir and run_cmd fields from project structure.
2230 Replaced by build functionality. Remove incorrect use in src/build.c
2231 build_run_cmd function.
2234 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2236 * src/project.h, src/project.c
2237 Removed unused project_get_make_dir function, this is now per
2241 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2243 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
2244 Fix some more warnings.
2245 Fix commented out execute/stop toolbar code in build.c.
2246 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
2247 Changed build.h api so all functions prefixed with build_.
2250 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2252 * src/build.c, src/build.h, src/project.c:
2253 Fix some gcc warnings with '-Wall -W -ansi' enabled.
2256 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
2259 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
2260 when reading old format configuration & project files.
2261 * src/build.c, src/project.c
2262 Fixed GLib array assertion warnings when no project filetypes are
2263 available to be saved.
2265 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
2271 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
2273 * src/build.h, src/build.c, src/project.c
2274 Created and documented plugins interface to build menu.
2275 Factored out new get_cmd_group function.
2276 Changed name of remove_command function to be consistent with the rest
2277 of the interface & changed calls in project.c.
2278 * src/Makefile.am, wscript
2279 Added build.h to installed files lists.
2281 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
2284 Updated manual to match build-menu capability.
2287 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
2289 * src/build.c, src/build.h
2290 Added set_build_non_ft_wd_to_proj() for use by project dialog.
2291 Improved interpretation of run_in_base_dir from old [build-settings]
2292 Added spacing to build commands dialog
2294 Removed run in base path option from project dialog and added button to
2295 set working directories to d the same.
2298 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
2301 Re-incorporated toolbar changes in trunk accidently excluded in merge
2303 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2306 Fixed substitute %f etc in commands
2307 Fixed potential leak in build_replace_placeholder
2308 Fixed leak in prepare_run_script (Thanks for patch Thomas)
2309 Fixed build_replace_placeholder to not require document.
2311 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2313 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
2314 Fixed crash and lots of warnings, deleted some commented out code.
2315 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
2316 Removed make command from preferences and associated code
2318 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
2320 * src/build.c, src/build.h
2321 Incorporated patch for working directory field (thanks Thomas)
2322 Removed run_in_base_dir option and associated code that it replaces
2323 Improved handling of old config files and mapping to new ones.
2325 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
2327 * src/build.h, src/build.c
2328 Changed to itterate over entries in build commands dialog to allow
2329 additional fields to be added
2330 Implement support for multiple run commands
2331 * data/filetypes.latex
2332 Implement configured commands and labels for latex.
2335 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2337 * src/build.h, src/build.c
2338 added dialog support for error regular expressions from multiple sources
2339 and storing and loading them
2340 fixed some typos and memory leaks
2341 * src/filetypes.c, src/filetypes.h, project.c
2342 added support for using error regexes from multiple sources
2345 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2347 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2349 Removal of build menu item source made redundant by the following fix
2351 Corrected priority oreder and loading of filetype dependent build
2352 menu items saved in the project file. Added print routine for
2353 debugging command sources and priorities set compile symbol
2354 PRINTBUILDCMDS true to enable
2356 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2359 fixed problem loading old format filetype files, some formatting fixes
2360 fixed saving new format files
2361 added operation for clear button on build commands dialog
2363 fixed loading and saving filetype files
2366 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2368 Configurable Build Menu Changes
2370 * doc/geany.html, doc/geany.txt:
2371 Updated build menu section to new functionality
2372 * src/build.h, src/build.c:
2373 Largly re-written, configurability added, Latex code removed
2374 * src/filetypes.h, src/filetypes.c:
2375 Filetype structure updated to add new command pointers, configuration
2376 load and store changed
2377 * src/keybindings.h, src/keybindings.c:
2378 Changed to address new command storage structure.
2380 Changed to load/store new configuration.
2382 Minor change to initialisation order.
2384 Changed to address new menu item storage structure.
2385 * src/project.h, src/project.c:
2386 Changed to load/store the new configuration info.
2388 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2390 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2391 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2392 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2393 plugins/splitwindow.c:
2394 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2395 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2396 the ABI when adding fields to them.
2397 Add plugin_set_key_group() for plugins to dynamically set a
2398 keybinding group (e.g. for the Lua script plugin). Used in Split
2399 Window plugin as an example.
2400 Improve keybinding docs a little.
2403 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2405 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2406 Add geanyfunctions.h to API docs.
2407 * plugins/splitwindow.c:
2408 Set the cursor color for the split window.
2411 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2414 Fix 'Open Selected File' for unsaved new documents.
2415 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2416 Fix updating main menu accelerators after changing keybindings
2417 (thanks to Lex Trotman).
2419 Fix using 'Insert date' keybinding when a custom date string has
2421 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2422 Merge Plugin and GeanyPluginPrivate structs.
2425 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2427 * src/keybindings.c:
2428 Fix non-working Home and End keys on numpads.
2431 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2433 * doc/geany.txt, doc/geany.html, NEWS:
2434 Add 'Scope autocompletion' section.
2435 Add 'Tools menu items' section to explain configuration files
2436 submenu, reload configuration item.
2437 Minor updates/fixes.
2440 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2443 Add a translation hint to an ambiguous format string.
2445 Add missing include path to fix 'make distcheck'.
2447 Fix opening of local files in the browser on Windows.
2448 * New release: Geany 0.18 "Kaine".
2449 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2450 src/geany.h, doc/geany.html, doc/geany.txt:
2451 Post-release version bump.
2454 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2457 Temporarily disable reshowing calltips when the autocompletion
2458 list was closed implicitly by not choosing an item to fix
2459 problems with wrongly displayed calltips.
2461 Add missing 'coding' cookie to the Python filetype template.
2462 * doc/images/pref_dialog_edit_completions.png,
2463 doc/images/pref_dialog_toolbar.png:
2464 Update images for Geany 0.18.
2467 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2470 Add command '--hackingdoc' to create the HTML form of the
2474 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2476 * po/pt_PT.po, po/LINGUAS:
2477 Added a first Portugese (Portugal) translation based on work done at
2478 launchpad by e.g. André Glória and Alexandre Jesus.
2479 * src/main.c: Fix a minor typo on --help call.
2482 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2484 * src/highlighting.c:
2485 Call get_keyfile_wordchars() in highlighting_init_styles().
2488 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2490 * data/filetypes.ada:
2492 * src/keybindings.c:
2493 Switching notebook tabs now works for the currently used notebook
2494 widget instead of always using the documents notebook.
2495 * src/document.c, src/document.h, src/documentprivate.h,
2497 Small corrections to some API docs.
2500 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2502 * src/build.c, src/win32.h, src/win32.c:
2503 Expand system environment variables (%variableName%) on Windows when
2504 running Build commands.
2507 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2509 * src/keybindings.c:
2510 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2511 future using an indent block is more useful e.g. for ChangeLog
2513 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2514 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2515 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2516 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2517 tagmanager/parsers.h, tagmanager/makefile.win32,
2518 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2519 Add Markdown filetype (patch by Jon Strait, thanks).
2520 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2521 Fix disconnecting plugin signal id when not using geany_object.
2523 Add filetype_make_title() instead of using:
2524 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2525 It also supports "%s file" strings.
2528 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2530 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2531 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2532 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2533 plugins/filebrowser.c:
2534 Add plugin_signal_connect() for connecting plugin signals at
2535 runtime and also for connecting to any GObject signal.
2536 Add 'Plugin Utility Functions' on main page.
2537 Add foreach_array() macro.
2538 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2539 src/document.c, src/editor.c:
2540 Rename 3 sci functions to sci_set_target_start(),
2541 sci_set_target_end(), sci_replace_target() to match the SCI_
2545 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2547 * wscript: Fix compiling error with waf.
2550 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2552 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2553 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2554 src/Makefile.am, wscript:
2555 Move plugin_* utility functions to pluginutils.c.
2556 Add pluginprivate.h.
2558 Fix reshowing calltip in the wrong document.
2561 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2563 * doc/geany.txt, doc/geany.html:
2564 Add some general information about auto-completion capabilities
2565 (patch by Lex Trotman, thanks).
2568 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2570 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2571 Added a first Slovenian translation. Thanks to Joze Klepec.
2574 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2576 * src/highlighting.c:
2577 Use full styleset_foo[_init] function name as argument to
2578 init_styleset_case() and styleset_case() macros so it's easier to
2579 understand the code.
2580 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2581 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2582 doc/geany.txt, doc/geany.html:
2583 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2584 Heavily based on a patch by Eugene Arshinov (thanks).
2585 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2586 editor_strip_line_trailing_spaces().
2589 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2592 Attempt to fix reshowing calltips after the autocompletion list
2594 Reshow calltips also when the autocompletion list was closed
2595 implicitly by not choosing an item.
2597 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2599 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2600 plugins/splitwindow.c:
2601 Change utils_str_remove_chars() to work in place; fix allocating on
2602 the stack (the string length could exhaust the stack size).
2603 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2604 src/printing.c, src/callbacks.c:
2605 Rename utils_str_replace() utils_str_replace_all(), setting a
2606 'gchar **haystack' argument instead of returning a new string.
2608 For the Tabs indent type, remove spaces when unindenting (only) if
2609 there are no tabs on the line.
2610 Group undo actions for (un)indenting of multiple lines.
2611 * src/document.c, src/editor.c:
2612 Fix scrolling horizontally after finding a search match with the
2613 search bar or Find Next/Previous which is off-screen.
2614 * src/keybindings.c:
2615 Fix GLib warning when pressing a key with no documents open.
2618 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2621 Start unifying usage of @a and @c markup elements in API docs,
2623 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2624 Show/hide the toolbar without a restart when the setting in the
2625 preferences dialog is changed (closes #2824785).
2626 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2627 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2628 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2630 Continue unifying usage of @a and @c markup elements in API docs.
2633 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2636 Remove relative/untidy path elements when creating new documents
2637 with a filename (e.g. from the command-line) (#2823998).
2640 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2643 Disable 'Recent Projects' menu item if the list of recent projects
2646 Fix some harmless compiler warnings.
2647 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2648 src/plugins.c, src/utils.c, src/utils.h:
2649 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2650 src/utils.c and add it to the plugin API.
2651 Make utils_str_remove_chars() work on a new copy of the input string
2652 instead of modifying it in place.
2654 Remove underscores from the toolbar items labels.
2657 * plugins/splitwindow.c:
2658 Fix broken 'Show the current document' tool button icon.
2661 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2663 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2665 Add stash_group_add_widget_property() so we can save any widget's
2666 read/write properties.
2667 Use Stash for ui_prefs.sidebar_page setting.
2668 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2669 Make foreach_ptr_array() use an integer argument for its
2670 implementation, as this is more useful potentially than a gpointer*
2671 argument, and more straightforward.
2672 Add foreach_c_array(), foreach_ptr_array() to API.
2673 * src/utils.c, src/utils.h, src/document.c:
2674 Remove relative/untidy path elements when opening documents (closes
2677 Fix showing project name for documents list files with no
2678 subdirectory (oops).
2680 Fix checking whether to overwrite when using the Rename button in
2681 the 'Save As' dialog.
2684 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2687 Don't use the main window as parent for dialog boxes if it is not
2689 Set titles for message dialogs.
2692 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2695 Display item labels instead of raw names in the toolbar editor.
2696 Apply changes in the toolbar editor instantly.
2697 Show icons in the toolbar editor.
2698 Speed up toolbar editor dialog creation.
2700 Improve inserting of comment templates like File header or licence
2701 notices. The comment information are now read from the filetype
2702 configuration files.
2704 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2707 Enable file monitoring for files which are written to disk by Geany
2710 Fix broken special case handling when detecting filetypes from a
2711 shebang or other special file headers.
2714 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2717 Make Mark All keybinding clear search highlighting when there's no
2720 Fix wrong match length when using Mark with regex.
2721 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2722 src/keyfile.c, src/main.c:
2723 Add 'Show Paths' documents list popup item.
2724 Add "load_settings" core-only signal emitted just after loading
2725 main keyfile settings; useful to delay building UI elements until
2726 settings have been read.
2728 Fix GTK warning when right-clicking on default tag tree.
2729 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2730 Add treeviews_finalize().
2731 Remove tv.popup_openfiles field.
2734 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2736 * src/highlighting.c:
2737 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2740 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2743 Quote the uri before passing it to the browser when opening a
2744 website (closes #2818635).
2746 Fix broken 'builtin' Run command for HTML files on Windows.
2749 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2752 Properly fix wrong brace highlighting of non-brace character.
2754 Allow autocompletion in Perl double-quoted strings.
2755 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2756 Don't autocomplete in Perl q() strings.
2757 * data/filetypes.common:
2758 Make Mark highlighting brighter.
2759 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2760 Use hyphen for auto-feature terms.
2761 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2762 src/document.h, src/main.c:
2763 Add documents_foreach() API macro that skips invalid docs.
2764 Make filetypes[], documents[] part of the API again.
2765 Add GEANY() macro for sharing geany symbols between API and core.
2766 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2767 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2768 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2769 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2770 plugins/classbuilder.c, wscript:
2771 Add geanyplugin.h single include for plugin API; update all core
2773 Add sci_set_font() to API.
2774 Update plugin howto.
2775 * src/filetypes.c, src/filetypes.h:
2776 Remove filetypes_foreach_named().
2779 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2781 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2782 src/document.h, src/main.c, THANKS:
2783 Apply patch from Eugene Arshinov to reload color schemes via menu
2786 Reload filetypes.common after saving it.
2788 Improve wrong brace highlighting of non-brace character.
2791 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2794 Delay highlighting matching braces by 100ms, which speeds up
2795 scrolling with the arrow keys.
2796 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2797 Add 'Mark All' keybinding.
2798 * tagmanager/diff.c:
2799 Show relative paths in diff filename tags.
2802 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2804 * src/highlighting.c:
2805 Fix setting keyword list 'classes' for Haxe
2806 (pointed out by Andreas Mokros, thanks).
2809 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2811 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2812 doc/geany.txt, doc/geany.html, geany.glade:
2813 Add 'Drop rest of word on completion' pref.
2814 * src/editor.c, doc/geany.txt, doc/geany.html:
2815 If autocompletion is already visible when forcing completion, show
2816 document word completion instead of tag completion.
2817 Docs: Minor edits of related prefs items.
2818 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2819 Add warning when printing and editor font is not monospaced.
2820 Fix using GtkMessageType instead of gint param for
2821 dialogs_show_msgbox*().
2822 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2824 Support 'tab indents, space aligns' style for auto-indentation
2828 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2830 * src/document.c, src/documentprivate.h:
2831 Rework the GIO based file monitoring code. Now it is used only
2832 to indicate a possible change of the file, the real check if the
2833 file has been changed is performed by stat().
2834 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2835 Add style 'line_height' to increase the line height.
2836 Add style 'marker_mark' and change style 'marker_search' to
2837 define the style used for marked search results.
2838 * doc/geany.txt, doc/geany.html:
2839 Add the new 'Autocomplete all words in document' pref to the docs.
2842 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2844 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2845 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2846 Add 'Autocomplete all words in document' pref.
2847 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2849 Fix limiting number of word completion entries too much.
2850 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2851 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2852 Show autocompletion icons for tag symbols - for now only tags with
2853 an arglist have the 'function/method' icon, all others have the
2855 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2857 * src/highlighting.c:
2858 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2862 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2864 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2865 Fix removing underscores in translated string using no_underscore()
2867 Set a tooltip for the Split Window plugin's Show Current tool button.
2868 Add utils_strdupa() macro.
2869 * src/interface.c, geany.glade:
2870 Use stock Select All icon now we have >= GTK 2.8.
2872 Fix using project name for document items that start with the
2873 project base path but don't match it e.g. ".../geany-plugins"
2874 instead of ".../geany" when project name is 'geany'.
2877 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2880 Fix warnings when the toolbar does not contain the Run button.
2882 Fix wrong parsing of complex expressions in the Lua parser.
2883 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2885 Remove unnecessary enums.
2886 * scintilla/*, scintilla/include/*, src/plugindata.h:
2887 Update Scintilla to version 1.79.
2888 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2890 Use the new Scintilla struct names prefixed with 'Sci_'.
2891 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2893 Add second argument to the 'line_wrap_indent' styling setting to
2894 control the new Scintilla indentation mode for wrapped lines.
2896 Properly close the toolbar editor on delete-events.
2897 Fix warnings and possible crashes in the toolbar editor when the list
2898 of displayed toolbar items is empty.
2899 * data/filetypes.tcl:
2900 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2902 Make the plugin manager dialog a bit bigger.
2905 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2907 * doc/geany.html, doc/geany.txt:
2908 Fix wrong default values for the 'Show Calltip' keybinding.
2911 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2913 * data/filetypes.tcl, src/symbols.c:
2914 Fix duplicate "context_action_cmd" key.
2915 Use different icons for "Methods" and "Procedures" in the symbol
2918 Fix a small memory leak.
2919 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2920 src/keybindings.h, src/plugindata.h:
2921 Make the Scintilla keybindings 'Delete to end of line' and
2922 'Go to end of display line' configurable.
2924 Fix a typo (closes #2813624).
2927 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2929 * tagmanager/tcl.c, src/symbol.c:
2930 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2931 methods and namespaces).
2932 Patch by Witek Mozga, thanks.
2935 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2937 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2938 src/toolbar.c, src/toolbar.h:
2939 Remove ui_toolbar.xml Configuration Files menu item.
2940 Add a real toolbar editor dialog.
2941 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2943 Add a button in the preferences dialog and an item for the toolbar
2944 popup menu to run the toolbar editor dialog.
2947 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2950 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2951 Fix using locale encoding for default Save As dialog path.
2953 Beep when trying to activate the '...' autocompletion item.
2954 Limit (forced) document word completion to
2955 autocompletion_max_entries.
2956 Beep if no completions are shown when forcing autocompletion.
2959 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2961 * data/ui_toolbar.xml, src/toolbar.c:
2962 Add 'Build' toolbar button to the default layout.
2965 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2968 If forcing autocompletion and there's nothing else to show, complete
2969 from words in the current document (using code from Enrico's
2970 'AutoComplete Test' plugin).
2973 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2976 Add debug message if plugin has not set a name for its keybinding
2978 * data/filetype_extensions.conf:
2979 Add *.m4 for shell scripts.
2982 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2984 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2985 data/filetypes.common, TODO:
2986 Make filetypes.common named styles use the "default" named style for
2987 all missing style fields.
2988 Set named styles to usually leave the background style empty. This
2989 currently allows C-like filetypes to have a common default
2991 Allow hard-coded colors to use -1 for the default color.
2992 Add some highlighting style examples to the manual.
2995 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2998 Create initial template files with proper platform-specific line
3002 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3004 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
3005 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
3006 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
3007 src/ui_utils.c, src/ui_utils.h:
3008 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
3010 Refactor some related code.
3011 * tagmanager/conf.c:
3012 Strip trailing spaces from "Key" tags.
3014 Quote the full filename to the Geany executable when creating the
3015 "Open with Geany" context menu item.
3016 * plugins/splitwindow.c:
3017 Avoid using deprecated GTK API.
3018 * src/log.c, src/main.c:
3019 Properly clean up the logging mechanism.
3021 Fix LaTeX view commands on Windows (part of #2807688).
3023 Add a popup menu for the keybinding list in the preferences dialog
3024 to easily expand and collapse all groups.
3025 Refactor the keybindings code for the preferences dialog, prefix all
3027 * src/main.c, src/ui_utils.c, src/ui_utils.h:
3028 Init stock items before creating the toolbar (closes #2809324).
3030 Generate the geany.pc file also on Windows.
3032 Invert the logic to determine which Save All we want to use:
3033 Use the Tango like icon only for the Tango theme and the Gnome / GTK
3034 like icon for any other themes.
3037 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3039 * src/highlighting.c, README.Packagers, HACKING:
3040 Remove gsd_* default styles, use named styles instead.
3041 Note: this relies on filetypes.common being installed.
3042 Add load_style_entries(), which makes style initialization
3043 simpler, used in styleset_c_like_init().
3046 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3049 Prevent possible crash on Windows when not setting an initial
3050 directory for native File Open/Save dialogs.
3051 * data/filetypes.xml, src/highlighting.c:
3052 Add style 'jscript_regex' for filetype HTML
3053 (patch by Chris Macksey, thanks).
3056 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3058 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
3059 Make GeanyDocument::file_type always be non-NULL, even for a new
3060 document with no filetype set.
3062 Only autocomplete scope for scopes matching the current filetype's
3064 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
3065 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
3066 data/filetypes.actionscript, data/filetypes.cs,
3067 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
3068 data/filetypes.javascript, HACKING:
3069 Make C++, D lexer filetypes use named styles (apart from uuid,
3070 verbatim, regex styles).
3073 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3076 Don't explicitly change the current directory of the Save As dialog
3077 so that it uses the last used directory.
3080 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3082 * src/encodings.c, src/encodings.h, src/plugindata.h:
3083 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
3086 When completing from the macro list, put the cursor after
3090 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3092 * tagmanager/pascal.c:
3093 Fix type definitions being parsed as functions.
3095 Don't autocomplete in unterminated strings as well.
3096 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
3097 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
3098 Remove data_ptr argument to foreach_[s]list() macros, as using
3099 node->data is enough sometimes; this makes the macro a bit more
3101 Add foreach_[s]list() macros to the plugin API docs.
3104 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3106 * scintilla/LexPascal.cxx:
3107 Backport fix from Scintilla CVS:
3108 Pascal lexer hanging on file that starts with 'interface' after
3112 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3115 Update Waf to 1.5.7.
3117 Overwrite installation prefix on Windows only if it wasn't
3118 specified explicitly.
3121 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3124 Display calltips for Pascal symbols in the Pascal way (#2803945).
3125 * tagmanager/pascal.c:
3126 Fix wrongly set return values for procedures (closes #2803945).
3127 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
3128 tagmanager/include/tm_source_file.h,
3129 tagmanager/include/tm_workspace.h:
3130 Fix doxygen warnings.
3133 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3135 * src/editor.c, tagmanager/include/tm_workspace.h,
3136 tagmanager/tm_workspace.c, TODO:
3137 Autocomplete scoped fields like struct members when typing '.' (and
3138 also '->' or '::' in C/C++).
3139 Save all tag types for C/C++ when generating a global tags file, so
3140 we can use autocompletion for structs also.
3141 Merge tm_workspace_find_scope_members(),
3142 tm_workspace_find_namespace_members() (currently not built) from
3143 Anjuta 2.24.1 tagmanager.
3146 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3148 * tagmanager/pascal.c:
3149 Parse Pascal calltips (closes #2802640).
3152 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3154 * src/filetypes.c, src/ui_utils.c:
3155 Add filetypes.common Configuration Files menu item.
3158 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3161 Add backslash to the wordchars on Windows when using
3162 'Open Selected File'.
3164 Add support (configure, build and install) for building on Windows
3165 and cross-compiling for Windows using the Waf build system.
3168 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3171 Set status bar text instead of showing a dialog when saving
3172 ui_toolbar.xml because the user might save several times.
3174 Fix redrawing due to colourising just after the document is first
3175 drawn. Now colourising should happen before the first draw.
3176 * src/utils.c, src/highlighting.c, data/filetypes.common:
3177 Fix segfault on parsing a filetypes.* style definition that has < 4
3179 Allow style definitions to have missing fields to use the default
3183 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3185 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
3186 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
3187 * plugins/classbuilder.c:
3188 Fix wrongly created header guards when the class filenames contains
3189 dashes (patch by PCMan, thanks).
3190 * data/filetypes.matlab:
3191 Add build_settings section to allow executing Matlab scripts.
3193 When closing a document, mark it as invalid before removing it from
3194 the documents notebook (this fixes wrong Save All button state when
3195 closing an unsaved document because the "switch-page" signal handler
3196 was using old data).
3199 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3201 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3202 Support toggling bold/italic when using a named style, e.g.:
3203 commentdockeyword=commentdoc,bold,italic
3204 Improve named style docs.
3207 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3209 * src/build.c, src/editor.c:
3210 Fix crashes when parsing the output of a compiler which reports
3214 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3216 * src/highlighting.c:
3217 Support named styles also for filetypes.common [styling] entries.
3218 * doc/geany.txt, doc/geany.html, HACKING:
3219 Update docs for named styles in filetypes.* files.
3221 Fix grouping symbol list children when parent name has "." character
3222 in for reStructuredText and Conf filetypes.
3223 * tagmanager/python.c:
3224 Fix grouping functions/classes under a nested function.
3227 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3230 Adjust icon paths (patch by Dominic Hopf, thanks).
3231 * doc/geany.txt, doc/geany.html, src/toolbar.c:
3232 Add 'Replace' toolbar button (closes #2798225).
3235 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3237 * src/utils.c, src/highlighting.c, TODO:
3238 Implement named styles support for filetypes.* using a
3239 filetypes.common [named_styles] section e.g.:
3240 foo=0xc00000;0xffffff;false;true
3242 These can be used in e.g. filetypes.c as:
3246 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3249 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
3252 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3254 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
3255 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
3258 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3261 Remove quote_executable() as it is not used anymore.
3262 When creating the geany_run_script.bat use the "%0" variable
3263 expansion and quote it for the "del" command (closes #2797172).
3265 On Windows, fallback to the literal build command line if searching
3266 for the command in the system path failed (related to #2795923).
3267 Properly terminate the resulting strings when reading the stdout
3268 and stderr of any spawned commands on Windows.
3271 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3274 Use the wide character versions of native Windows File dialogs.
3276 Fix wrong initialisation of the default project path button callback
3277 in the preferences dialog.
3278 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
3279 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
3280 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
3281 icons/Makefile.am, icons/geany.ico, icons/scalable,
3282 icons/scalable/Makefile.am, icons/scalable/geany.svg,
3284 Move the icons geany.png and geany.ico into the icons directory.
3285 Add a 16x16 pixel Geany icon and the scalable SVG icon.
3286 Drop the pixmaps directory.
3289 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3291 * src/keybindings.c:
3292 Improve MRU document switching so there are no duplicates in the
3293 list and documents switched to whilst the dialog is open are
3294 ignored. Also beep when cycling through to the first document in the
3298 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3301 Fix broken 'Cancel' button in the Save As dialog.
3304 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3307 Fix multiline indent when selection covers text on the last line.
3309 Show current document in bold in tab popup menu.
3310 * src/editor.c, tagmanager/python.c, TODO:
3311 Parse Python calltips.
3314 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3316 * src/symbols.c, tagmanager/python.c:
3317 Parse Python import statements to get symbol completion for the
3318 imported module names.
3319 * src/editor.c, src/editor.h:
3320 Make some only locally used functions static.
3321 Fix wrong sanity check.
3323 Fix quoting the build command string on Windows (closes #2791769).
3324 This broke when we made build commands run synchronously on Windows,
3325 now we don't need to special quote the commands anymore.
3328 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3331 Drop rest of word to the right of cursor when autocompleting (do we
3332 need a pref for this?).
3335 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3337 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3338 Add sci_set_selection().
3339 * doc/geany.txt, doc/geany.html:
3340 Update manual for MRU switching.
3341 * src/callbacks.c, src/editor.c, src/editor.h:
3342 Make indenting with the Tabs indent type preserve spaces on the line,
3343 so it works for the 'tab indents, space aligns' formatting style.
3346 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3348 * tagmanager/python.c:
3349 Fix missing symbols for variables when an equal sign is used
3350 in a comment on the same line as the variable declaration.
3351 Backport change from CTags SVN to keep the parser more in sync:
3352 Add support for Cython constructs to the Python parser.
3354 Remember the additional Find in Files search flags at startup.
3356 Don't close the Save As dialog when saving the file didn't succeed.
3359 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3362 Remember scribble cursor position.
3363 * src/keybindings.c, TODO:
3364 Implement Most-Recently-Used document switching when pressing
3365 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3368 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3370 * data/latex.tags: Added some more commands from unit.sty and
3374 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3376 * src/symbols.c, doc/geany.txt, doc/geany.html,
3377 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3378 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3379 tagmanager/Makefile.am, wscript:
3380 Merge unstable branch:
3381 Add reStructuredText scope information for tags (for symbol list
3383 Read custom system global tags files from $prefix/share/geany/tags;
3385 Show the number of tags in a user global tags file (instead of the
3386 running total) in the debug message.
3387 Also print debug messages when loading a tag file manually or for
3388 default global tags files e.g. python.tags.
3390 Move NestingLevel tags code into a separate file, add functions.
3392 Add 'Installation prefix' section instead of quoting '/usr/local'
3394 Update for custom system global tags files.
3397 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3399 * src/highlighting.c:
3400 Unset maybe previously keywords when setting up Scintilla for
3401 XML files. This fixed wrong highlighting after switching back to
3402 filetype XML from another one.
3404 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3405 is only used when explicitly requested.
3407 Remove unnecessary call to g_intern_string() to fix build with
3408 GLib 2.8 (closes #2790051).
3411 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3414 Make the clear icon of entry fields act on the release event, not
3415 on the press event like for other buttons.
3417 Refactor some multiple used code into get_multiline_comment_style().
3419 Create parent directories if necessary when checking for the
3420 configuration directory on startup (closes #2784577).
3423 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3425 * plugins/filebrowser.c:
3426 When a filter is set, apply it only to files, not directories and
3427 apply the filter to the UTF-8 name of the file as the filter string
3428 itself is also UTF-8.
3429 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3430 Add utils_color_invert() and use it in highlighting.c and printing.c.
3431 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3432 Backport change from Scintilla CVS:
3433 Change capitalisation of header file to suit cross-compilation on
3437 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3439 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3440 Update Scintilla to version 1.78.
3441 * src/editor.c, src/highlighting.c:
3442 Update Pascal styles as they changed in Scintilla.
3445 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3448 Ignore the invert syntax highlighting colours setting when printing
3449 to not print characters on a dark background (closes #2785244).
3450 * New release: Geany 0.17 "Wessex".
3451 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3452 src/geany.h, doc/geany.html, doc/geany.txt:
3453 Post-release version bump.
3456 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3458 * src/callbacks.c, src/callbacks.h, src/main.c:
3459 Update the View->Fullscreen menu item when fullscreen state is
3460 changed externally (e.g. by the window manager).
3462 Fix passing wrong pointer to the File Open dialog for the Run
3463 command in the Project Properties dialog.
3466 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3468 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3470 Remember the active sidebar page between sessions.
3472 Add a recent project item after creating a new project.
3473 * tagmanager/ruby.c:
3474 Fix wrong parsing of string literals (closes #2781264).
3476 Fix setting focus to the editor widget after changing the selection
3480 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3483 Prevent crashes when two or more top level items in the symbol
3484 list have the same name (closes #2778246).
3487 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3489 * src/keybindings.c:
3490 Manually show the main notebook tab bar menu when Shift-F10 is
3491 pressed. This broke when we disabled the default GTK tab bar menu.
3493 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3494 which was reloaded shortly before.
3496 When the editor menu is opened by the Menu key, use the text cursor
3497 position for retrieving the current word. This fixes disabled
3498 Go to Tag items in the menu (#2780044).
3500 Set the "ellipsize" property of GtkCellRendererText to automatically
3501 shorten the path and file names in the Documents list.
3502 * doc/geany.html, doc/geany.txt, src/build.h:
3503 Increase the amount of highlighted build error messages to 100.
3504 At least for LaTeX we need higher values as there is a lot of
3505 informative output before any errors are reported.
3506 * src/filebrowser.c:
3507 Use the startup path as the initial directory for the filebrowser
3508 plugin when no project and no files are opened
3509 (patch by Matias Gea, thanks; closes #2780521).
3512 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3514 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3515 src/utils.c, src/utils.h:
3516 Ellipsize tab labels and some status messages for very long
3517 filenames (closes #2777348).
3518 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3519 Add utils_str_middle_truncate() and
3520 document_get_basename_for_display() to the plugin API.
3521 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3522 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3523 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3525 Add a hidden preference 'use_safe_file_saving' to save files to disk
3526 by creating a temporary file first. This has serious side effects,
3527 please read the documentation before enabling this.
3529 Make build commands on Windows run synchronously to avoid problems
3530 with reading build commands' output.
3531 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3532 Limit the amount of highlighted build error messages in the
3533 Compiler window to 50 for performance reasons.
3536 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3538 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3540 Replace our own GEANY_KEYS_MODIFIER_MASK by
3541 gtk_accelerator_get_default_mod_mask() which gives the same result.
3542 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3543 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3544 Add a trivial symbol parser for NSIS files.
3547 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3550 Hide the extra file open dialog options in an expander to make the
3551 dialog more compact by default and to provide more space for the
3553 Remove the filename field as it is also provided by GTK itself with
3554 more features like auto-completion.
3555 Watch the 'show-hidden' property of the file chooser widget using
3556 GObject's "notify" signal which gives accurate results and remove
3557 the hack using the "selection-changed" signal.
3560 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3562 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3563 Prevent double execution of radio menu item "activate" or "toggled"
3565 Move 'Set Encoding' callback function into encodings.c.
3568 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3571 Add some missing 'void's in function definitions.
3572 If the project base path is './', just use the path of the project
3573 config file instead of appending './'.
3574 * src/treeviews.c, src/project.c:
3575 When a project is loaded, replace the project base path with the
3576 project name in the Documents sidebar for parent items
3580 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3582 * src/keyfile.c, src/keyfile.h, src/project.c:
3583 Fix duplicating the recent files and projects lists when closing
3585 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3586 src/editor.c, src/encodings.c, src/filetypes.c,
3587 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3588 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3589 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3590 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3591 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3592 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3593 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3595 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3596 sense to keep the code more readable.
3599 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3602 When updating global type definitions for opened documents, take
3603 also C++ namespace symbols into account and don't ignore symbols
3604 which are defined inside a scope.
3607 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3610 Don't show 'plugin is not binary compatible' messages on the status
3611 bar, only the status window.
3614 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3617 When opening files from a remote instance on X11, set the window
3618 server time to encourage window managers to pop up the main window
3619 (related to #2735467 and #2276179).
3621 When finished sending filenames to a remote instance, notify the
3622 environment that we finished starting up.
3625 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3627 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3628 Sort Configuration Files menu.
3629 Add ui_menu_sort_by_label().
3630 Add foreach_list() macro.
3635 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3638 Fix setting a wrong default window size when starting without an
3639 existing configuration.
3640 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3641 Make editor_highlight_braces() static.
3642 Remove unused wrapper functions.
3643 * src/editor.c, src/symbols.c, src/symbols.h:
3644 Prevent showing an empty macro list.
3645 Show only macros of the same filetype instead of all macros of all
3648 Don't add opened project files to the GtkRecentManager.
3651 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3654 Add Configuration Files item for snippets.conf.
3655 * src/highlighting.c, src/symbols.c:
3656 Fix 2 old uses of filetype IDs.
3659 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3661 * src/interface.c, src/printing.c, geany.glade:
3662 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3665 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3668 Add sanity checks in ui_lookup_widget() just to be safe.
3669 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3670 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3671 src/project.h, src/ui_utils.c, src/ui_utils.h:
3672 Add "Recent Projects" menu to the Project menu
3673 (#2728630, patch by Elias Pschernig, thanks).
3674 * doc/geany.txt, doc/geany.html:
3675 Describe how to build Geany using the Waf build system.
3676 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3677 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3678 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3679 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3680 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3681 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3682 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3683 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3684 src/utils.c, src/utils.h, src/vte.c:
3685 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3686 performance when building the code with gcc.
3687 * src/highlighting.c:
3688 Fix typo in the G_LIKELY checks, introduced in last commit.
3689 Fix the size of the styles array.
3691 Show a message dialog when renaming a file fails.
3694 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3697 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3698 (as we did for all other files in SVN r3382).
3701 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3703 * src/filetypes.c, doc/geany.txt:
3704 Move ActionScript to the Script group.
3706 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3707 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3708 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3709 plugins/htmlchars.c:
3710 Merge reorder-filetypes branch:
3711 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3712 append randomly without breaking the ABI).
3713 Make None filetype name = title = _("None").
3714 Add foreach_slist() macro.
3715 Add filetypes_by_title list to GeanyData for plugin API access
3716 - a list of filetype pointers, which includes the None filetype
3717 first. This list stays constant by the time plugins are initialized,
3718 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3719 index the sorted list.
3722 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3724 * doc/geany.txt, doc/geany.html, src/main.c:
3725 Add widget names for the menubar and toolbar.
3727 When hiding the messages window, set the input focus back to the
3728 editor widget (part of #1910393).
3731 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3733 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3734 Backport recent changes from Scintilla CVS to add partial support
3735 for RFC2822 styled text using the Properties lexer.
3736 Ignore leading whitespace for config files and RFC2822 text.
3737 * data/filetypes.actionscript:
3738 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3739 * THANKS, src/treeviews.c:
3740 Display file/directory icons in the Documents sidebar
3741 (patch by Simon Treny, thanks).
3744 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3746 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3747 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3748 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3749 Add an option to allow appending the toolbar to the main menu bar
3750 to save some vertical space.
3751 Allow setting toolbar icon size to very small (menu icon size).
3754 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3756 * src/keyfile.c, src/utils.c, src/utils.h:
3757 Add utils_path_skip_root(), a relative path safe variant of
3758 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3759 * src/keyfile.c, src/main.c:
3760 Allow negative window coordinates when saving and restoring the
3761 position of the main window.
3762 Restore the main window position and size *after* the window has
3763 been realised to get it positioned accordingly
3764 (this affects at least Windows).
3767 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3769 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3770 Use g_win32_get_package_installation_directory_of_module() on Windows
3771 with newer GLib versions instead of deprecated API.
3772 * src/keybindings.c:
3773 Don't manage the last used documents list when quitting to prevent
3774 errors by accessing invalid memory (may close #2533990).
3777 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3780 Delete the geany_run_script.sh immediately after execution
3781 to prevent leaking old copies when the script was quit unexpectedly
3782 (closes #2710482, patch by Martin Olsson, thanks).
3784 Check whether skipping the root element of a document's filename
3785 succeeded and use the filename itself if not (e.g. on relative
3786 filenames, #2702844).
3787 Use the locale encoded filename when saving session files.
3789 Re-set the quitting status after all documents have been closed on
3793 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3795 * plugins/htmlchars.c:
3796 Remove usage of deprecated sci_get_selected_text() from plugin.
3799 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3802 Delay disk file checks when switching between documents a little
3803 bit to avoid fast, unintentional page switching in some cases.
3804 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3805 src/sciwrappers.c, src/sciwrappers.h:
3806 Deprecate sci_get_text(), sci_get_selected_text() and
3807 sci_get_text_range().
3808 Add sci_get_contents(), sci_get_contents_range() and
3809 sci_get_selection_contents() as replacement functions to provide
3810 an easier and cleaner API (initial patch by Frank).
3813 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3816 Fix wrong parsing of CSS tags when the definition block starts on
3817 a new line (reported by Dominic Hopf, thanks).
3820 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3822 * plugins/htmlchars.c:
3823 Extend plugin by feature to bulk replace and replace on input for
3824 special characters to their HTML entities.
3827 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3830 Update build menu items after changing anything in the
3831 'Set Includes and Arguments' dialog.
3832 Disable Compile/Run buttons/menu items when Compile/Run commands are
3834 Reset current build directory to the base directory after reading a
3835 "Leaving directory" message when parsing Make output
3836 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3838 Fix wrong display of the filename in the tab bar menu for new files.
3840 Set the initial directory for the Save As dialog only once on
3842 Add a shortcut of the project's base directory to the
3843 File Open/Save As dialogs when a project is open for faster access.
3844 * src/splitwindow.c:
3845 Add keybindings for the split actions.
3848 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3851 When using Find All in the Find dialog (in Session and Document),
3852 display the right amount of matches.
3853 Fix the display of the matches once per line (I broke the original
3856 Fix wrong directory selection behaviour in all Open Folder dialogs
3857 (closes #2688020, patch by Marcel Stimberg, thanks).
3859 Don't present the main window of a running instance when starting
3860 a second instance separately.
3863 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3866 Reduce default file permissions on the Unix Domain socket file
3867 (reported by Jörg Sommer, thanks).
3870 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3872 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3873 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3875 Add an option to set an additional plugin lookup path.
3877 When using Find All in the Find dialog, display matches only once
3878 per line in the messages window (patch by Bert Vermeulen, thanks).
3881 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3883 * data/filetype_extensions.conf, data/filetypes.actionscript,
3884 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3885 src/highlighting.c, src/plugindata.h, src/symbols.c,
3886 tagmanager/Makefile.am, tagmanager/actionscript.c,
3887 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3888 Add filetype ActionScript (patch by Chris Macksey, thanks).
3889 Update type keywords only for real C-like languages.
3890 Fix wrong sorting of Assembler and Ada filetypes.
3891 * plugins/classbuilder.c:
3892 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3893 Other minor cleanups.
3896 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3899 Don't use menu item images for the tab bar menu to save some
3901 * data/filetypes.fortran, tagmanager/fortran.c:
3902 Add keyword 'extends' and fix Fortran parser to support the
3903 'extends' keyword (closes #2654492).
3904 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3905 src/search.c, src/toolbar.c:
3909 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3911 * src/about.c, THANKS:
3912 Added Jari Rahkonen to list of Finnish translators.
3915 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3918 Adjust minimum required GTK version.
3919 * src/Makefile.am, wscript:
3920 Add main.h to the list of installed header files.
3921 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3922 src/notebook.c, src/ui_utils.c:
3923 Remove GeanyDocumentPrivate::tabmenu_label.
3924 Disable the default tab bar menu for the main notebook widget and
3925 use a custom menu instead which lists all open files as usual plus
3926 'Close Other Documents' and 'Close All' menu items.
3929 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3931 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3932 Move ui_set_search_entry_background() into ui_utils.c.
3933 Change the background colour of the search entries in the Find
3934 and Replace dialogs according to the search results like in the
3935 toolbar search field.
3936 Add images to the 'Replace' and 'Replace and Find' buttons in the
3938 Minor cleanups in search.c.
3939 * tagmanager/tm_source_file.c:
3940 Update source files upon creation.
3942 Update C tags for glibc 2.9.
3943 * src/callbacks.c, src/toolbar.c:
3944 Fix broken non-incremental search with the toolbar search entry when
3945 pressing Enter (closes #2638180).
3946 * plugins/splitwindow.c:
3947 Fix possible crash on non-32-bit systems (patch by
3948 Wolfgang Ocker, thanks).
3950 Update the Packager tag due to Dominic's various contributions.
3951 Update description and feature list.
3952 Change Source tag to the gzip'ed tarball to be in sync with the
3953 Makefile target (thanks to Wolfgang Ocker for reporting).
3956 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3958 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3959 Removed deprecated plugin VC Diff
3962 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3965 Fix wrong Fortran 90 comment characters when inserting templates.
3966 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3967 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3968 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3970 Add 'Send Selection to Terminal' command to the Edit->Format menu
3971 (initial patch by David Gleich, thanks).
3972 * geany.glade, src/interface.c:
3973 Fix mnemonic for the Edit->Preferences menu item.
3976 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3978 * configure.in, plugins/Makefile.am:
3979 Enable socket support when cross-compiling.
3980 Enable plugin compilation when cross-compiling.
3982 Fix missing NULL checks when reading the colour value of compiler
3984 * src/main.c, src/win32.c, src/win32.h:
3985 On Windows, change the working directory to the Geany installation
3986 path at startup to avoid unwanted directory locking(closes #2626124).
3988 Fix broken selection of "Document->Set Encoding" menu items.
3989 * src/document.c, tagmanager/include/tm_source_file.h,
3990 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3991 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3992 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3993 Don't let the tagmanager automatically reparse files if they
3994 seem to be changed on disk (affects all files in the current session,
3995 not the current one). This should speed up file saving a little bit,
3996 especially with remote files.
3997 Remove now unnecessary calls to tm_workspace_update().
3999 Allow an empty value for the date format in the print settings to
4000 omit the date/time string in the print header.
4003 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4005 * src/editor.c: Set cursor for LaTeX at auto closing of environment
4009 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4012 Add missing header include (closes #2615808).
4015 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4018 Fix a possible crash when comparing symbol names
4019 (could be related to Ubuntu bug #147151).
4020 Fix broken symbol list tooltips when tag names contain ampersands.
4023 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4025 * plugins/makefile.win32:
4026 Don't build Split Window plugin on Windows (doesn't work).
4029 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4031 * ChangeLog, Makefile.am: Rotate ChangeLog.
4032 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
4033 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
4034 Post-release version bump.
4037 *** See ChangeLog.pre-0-17 for earlier changes ***