1 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4 Explicitly try to localise build menu item labels with
5 gettext to enforce getting default labels translated.
6 * tagmanager/tm_workspace.c:
7 Fix not closed FILE pointer on early exit
8 (patch by Daniel Marjamaki, thanks).
11 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
14 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
16 Fix parsing of C++ classes contain attributes with bitfields
17 (patch by Lex Trotman, thanks).
18 * src/plugindata.h, src/plugins.c:
19 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
20 plugins' meta information can be translated already in the
21 plugin manager dialog (patch by Colomban Wendling, thanks).
24 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
27 Print locale information in debug output.
29 Fix some labels which were marked as translatable but were not
30 handled properly by gettext().
33 Try to convert text into UTF-8 before adding it to the Compiler and
34 Messages Window (closes #3007919).
37 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
39 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
41 Pass G_LOG_DOMAIN to source files for better logging.
44 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
46 * THANKS, src/about.c:
47 Update of translation credits to reflect a change on Spanish
48 translation team better.
51 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
54 Fix infinite loop reading build command output
57 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
60 Fix duplicate accelerators for Clear and Copy in the
61 Messages Window popup menu.
63 Expand child widgets in the Plugin Preferences dialog
64 (patch by Colomban Wendling, thanks).
67 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
70 Fix Undo/Redo button state after the last document has been closed.
71 Add Print and Replace toolbar items to the list of document
74 Fix crash when the toolbar is reloaded without any open documents.
76 Fix Run toolbar item sensitivity after the last document has been
78 * plugins/classbuilder.c:
79 Remove two unnecessary g_strdups().
80 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
81 src/plugindata.h, src/ui_utils.h:
82 Add hidden preference to disable automatic scrolling in the
83 Compiler tab (closes #3004714).
86 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
88 * plugins/classbuilder.c:
89 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
92 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
94 * src/prefs.c, src/project.c:
95 win32.h can be included unconditionally.
97 Fix project base_path detection if the path has a trailing slash.
98 * src/document.c, src/editor.c, src/project.c:
99 Small improvements to speed up quit process with many open documents.
100 Avoid calling gtk_notebook_remove_page() on exit as it takes
102 * src/geanymenubuttonaction.c:
103 Explicitly check for the type when iterating the action's proxies.
104 For some reason on Windows, a GtkImageMenuItem proxy is created.
105 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
106 src/plugindata.h, scintilla/*, scintilla/include/*:
107 Update Scintilla to version 2.11.
108 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
110 Add new GTK define also for Mingw cross compilation and
111 makefile.win32 based Windows builds.
112 * plugins/filebrowser.c:
113 Implement reading and evaluating hidden file attribute on Windows.
114 Fix broken "Go Up" if the current path ends with a slash.
115 * THANKS, src/about.c, src/prefix.c:
116 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
117 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
118 src/main.c, src/notebook.c, src/prefs.c:
119 Add preference to add new document tabs beside the current one
120 (patch by Colomban Wendling, thanks).
121 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
122 src/keyfile.c, src/prefs.c, src/ui_utils.h:
123 Add a preference for choosing between GTK and native
124 File Open/Save dialogs (only available on Windows).
125 * doc/geany.html, doc/geany.txt:
126 Update documentation.
129 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
132 Sort file filters for the native Windows file open dialog by name.
133 Don't use file filters for the native Windows Save As dialog.
134 * src/dialogs.c, src/win32.c, src/win32.h:
136 Pass and use also parent and title arguments to
137 win32_show_document_open_dialog().
139 Call handle_save_as() only when the Save As dialog was not cancelled.
141 Improve adding/removing of the special separator between menubar and
142 toolbar when the toolbar is appended to the menubar.
143 * src/toolbar.c, src/templates.c:
144 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
145 not trigger updating the menus on each item removal.
148 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
151 Replace one non breaking space by normal space. Patch by
155 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
157 * plugins/classbuilder.c:
158 Don't make the 'Create Class' menu item document-sensitive
159 (patch by Colomban Wendling, thanks).
160 Add namespace support for GTK+ classes.
161 Add GET_CLASS() macro for GTK+ classes.
162 Add typedef of the private structure in the header file instead
164 (all the above from a patch by Colomban Wendling, thanks).
165 * src/highlighting.c:
166 Set common default "fold.comment" to 0 to disable it. This can
167 be overridden if desired.
169 Improve sorting of document list items
170 (patch by Colomban Wendling, thanks).
172 Remove unnecessary textdomain() call.
175 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
178 Fix search_find_text not returning -1 when match is out of range.
179 This fixes invalid memory reads and wrong template filename
180 wildcard replacement.
181 * src/search.c, src/document.c:
182 Only replace template filename matching start of word on saving.
183 * plugins/filebrowser.c:
184 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
185 * src/build.c, src/build.h, src/project.c:
186 Make some ugly build.h global variables static.
187 * src/build.c, src/build.h, src/project.c:
188 Add Build prefix for TableFields, TableData.
191 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
194 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
195 * src/dialogs.c, src/win32.c, src/win32.h:
196 (Re-)Implement a (still basic) native Windows Save As dialog when
197 compiled with GEANY_USE_WIN32_DIALOG.
200 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
202 * THANKS, src/about.c, plugins/classbuilder.c:
203 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
204 * src/ui_utils.h, src/ui_utils.c:
205 Add public, generic callback ui_editable_insert_text_callback()
206 to restrict GtkEntry text inputs to +/- and numeric values only.
207 * src/dialogs.h, src/dialogs.c:
208 Add special variant dialogs_show_input_goto_line() to use a normal
209 GtkEntry together with dialogs_show_input_goto_line() for text input.
210 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
211 Allow '+<number' and '-<number>' as values for Goto Line inputs
212 to jump relative to the current line (closes #2997238).
215 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
217 * src/highlighting.c:
218 Apply foreground and background colours of the folding margin
219 style properly (closes #2998347).
221 Don't auto-close short XML tags (closes #2994852).
222 * THANKS, src/about.c, src/keybindings.c:
223 Improve jumping to matching braces by consistently position the
224 cursor before or after the matching brace dependent where it
225 was before (patch by Dimitar Zhekov, thanks).
227 Fix crash when generating global tags files (patch by Colomban
231 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
234 Avoid connecting signals more than once.
237 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
240 Don't ignore the 'intltool' check on non-Windows system, instead
241 raise a configure error.
244 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
247 Fix marking some strings as translatable (cannot be done in the
249 * src/templates.c, doc/geany.txt, doc/geany.html:
250 Reload templates if saving a document in the templates config dir.
253 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
255 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
257 Fix replacing {filename} template wildcard for custom file
258 templates with non-default file extension.
259 Add search_find_text() for POSIX regex searches.
260 * src/templates.c, doc/geany.txt, doc/geany.html:
261 Add {project}, {description} template wildcards (#2954737).
262 * doc/geany.txt, doc/geany.html:
263 Divide template wildcards into groups.
264 * src/plugindata.h, src/plugins.c, src/symbols.c,
265 plugins/geanyfunctions.h:
266 Add symbols_get_context_separator() to plugin API (patch by Colomban
270 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
273 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
274 Anonymous, thanks; #2995593).
275 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
276 plugins/geanyfunctions.h:
277 Add sci_set_line_indentation(), sci_get_line_indentation() to API
278 (patch by Colomban Wendling, thanks).
281 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
284 Warn user if hidden hard tab width setting is not 8.
287 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
289 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
290 doc/geany.txt, doc/geany.html:
291 Hide 'Tabs and Spaces: Hard tab width' preference - it should
292 always be 8. (Hidden setting kept in case users have modified it).
295 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
297 * doc/geany.txt, doc/geany.html:
298 Add Folding section link to filetypes.common custom settings.
301 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
304 When switching documents, don't call document_set_text_changed()
305 as this does much more than necessary. Instead call the necessary
306 UI update functions explicitly.
309 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
311 * tagmanager/vstring.c:
312 Fix invalid memory read (patch by Colomban Wendling, thanks).
315 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
317 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
318 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
319 strings in case of reaching the buffer size limit (part of #2979697).
321 Change the limit for the command line length when executing commands
322 to a maximum of 32768 characters (closes #2979697).
323 Fix broken opening URLs e.g. when using the 'builtin' Run command.
324 * tagmanager/ctags.c:
325 Change eFree() to simply ignore NULL pointers instead of asserting.
327 Remove malloc() fallback since we completely rely on g_malloc()
329 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
330 plugins/saveactions.c:
331 Make string arguments const where appropriate (patch by
332 Colomban Wendling, thanks).
333 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
334 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
335 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
336 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
337 src/symbols.c, src/templates.c, src/ui_utils.c:
338 Make string arguments const where appropriate (patch by
339 Colomban Wendling, thanks).
342 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
344 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
345 Make plugin_signal_connect() string argument const (patch by
346 Colomban Wendling, thanks).
347 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
348 Constify some more string pointers in the API (patch by
349 Colomban Wendling, thanks).
350 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
352 Support {pc} wildcard in snippets to escape percent char.
354 Recalculate line margin width when zooming (fixes #2990553).
355 * src/highlighting.c, doc/geany.txt, doc/geany.html,
356 data/filetypes.common:
357 Support more folding icon styles: arrows, +/- and no lines
361 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
364 Fix Windows build by properly guarding Unix-only code.
367 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
369 * src/templates.c, doc/geany.txt, doc/geany.html:
370 Support {ob} and {cb} in fileheader and file templates; they are
371 replaced last with { and }. This allows 'escaping' of wildcard
373 * src/editor.c, plugins/classbuilder.c:
374 Fix Class Builder plugin to use correct indentation instead of
376 Make editor_insert_text_block() only replace leading tabs for the
377 'Tabs' indent type; also group edits for undo.
378 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
380 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
383 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
385 * tagmanager/pascal.c:
386 More fixes to prevent possible crashes by trying to free NULL
389 Automatically show and hide the sidebar notebook tabs according
390 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
392 Add a static global variable to monitor autocompletion mode in order
393 to prevent cancellation of the struct/class (C/C++) auto completion
394 list (patch by Thomas Martitz, thanks).
396 When starting and trying to access the Unix Domain socket of a
397 potentially running instance, first compare file ownership with the
398 user id of the running process to prevent accessing a wrong socket
399 file (part of #2985463, this might not yet be the final solution).
402 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
404 * plugins/filebrowser.c:
405 Synchronize popup menu and plugin preferences dialog 'Show Hidden
406 Files' option (fixes #2989288).
409 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
411 * tagmanager/entry.c, tagmanager/entry.h,
412 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
413 tagmanager/parse.h, tagmanager/tm_source_file.c:
414 Add tm_source_file_set_tag_arglist() to manually set the argument
416 * tagmanager/python.c:
417 Use tm_source_file_set_tag_arglist() to set the argument list
418 field of Python class tags to the argument list of their
420 Backport a fix from CTags SVN to prevent possible crashes by trying
421 to free NULL pointers.
424 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
426 * tagmanager/txt2tags.c:
427 Remove duplicate code from Txt2Tags parser.
428 Remove the title control characters ('=') when parsing titles.
429 Also parse numbered titles (closes #2984703).
430 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
432 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
433 Add missing documentation for 'Reset Zoom' keybinding.
435 Another attempt to fix the PHP parser regexp for parsing functions.
436 Fix wrong parsing of function arguments when those contain nested
437 brackets (as reported by Harold Aling).
439 Fix Ctrl-Click on notebook tab if Numpad is active.
442 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
444 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
445 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
446 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
447 src/ui_utils.c, src/ui_utils.h:
448 Add option 'System Default' for toolbar icon style and size to
449 use the GTK default value.
450 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
451 src/toolbar.c, src/toolbar.h:
452 Shorten the toolbar popup menu, only provide items for Toolbar
453 Preferences and to Hide the toolbar.
455 Instantly update the toolbar icon size and style when the
456 corresponding global GTK settings are changed.
457 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
458 src/plugindata.h, src/socket.c:
459 Add new command line option --list-documents to return a list
460 of currently opened documents (closes #2979933).
463 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
465 * plugins/htmlchars.c:
466 Make plugin remember whether replacement of special characters was
467 activated even after restart of Geany or reloading of plugin.
470 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
473 Fix inserting snippets with an indent when using Mac CR line
476 Update status bar after using Document->Set Line Endings.
478 Improve API docs for editor_insert_text_block().
481 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
484 Refactor snippets_complete_constructs().
485 Remove an unnecessary TODO.
487 Fix indenting a snippet when there is whitespace after the
491 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
493 * doc/geany.txt, doc/geany.html:
495 * src/build.c, src/msgwindow.c:
496 Fix disabled compiler message tracking if using indicators to
497 show build errors is disabled (closes #2982834).
500 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
502 * scintilla/Editor.cxx:
503 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
504 and SCI_GETSELECTIONEND with rectangular selections. This fixes
505 replacing in a rectangular selection.
508 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
511 Re-detect any document filetypes set to None after reloading
512 filetype extensions (closes #2979661).
514 Fix showing '...' item last instead of first for document word
518 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
520 * data/filetypes.perl:
521 Adjust Perl Compile command to use the -c command
522 line option to perform a syntax check instead of using the
523 deprecated ByteCompile module.
524 Add error_regex to parse error messages and warnings when performing
525 syntax checks on Perl files.
528 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
530 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
531 Add API docs for keybinding enums.
532 * src/notebook.c, doc/geany.txt, doc/geany.html:
533 Make Ctrl-click on any notebook tab switch to the last used
537 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
539 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
540 src/geanyentryaction.c, src/geanyentryaction.h,
541 src/geanywraplabel.c:
542 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
543 object for efficiency.
546 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
548 * plugins/classbuilder.c:
549 Beep if the user hasn't entered a class name on pressing OK.
551 Fix replacing '^' regex.
552 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
553 plugins/geanyfunctions.h:
554 Add Stash widget functions to API.
556 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
560 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
563 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
565 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
566 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
567 plugins/geanyfunctions.h, plugins/geanyplugin.h:
568 Add Stash setting functions to API.
569 Remove unnecessary argument to stash_group_load_from_file().
570 * src/geanyobject.c, plugins/classbuilder.c:
571 Don't generate FOO_GET_PRIVATE() macro because caching the result
572 in Foo::priv can be much more efficient.
575 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
578 Fix cursor positioning when toggling comments
579 (patch by Thomas Martitz, thanks).
582 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
584 * src/keybindings.[hc]:
585 Added Control+0 for zoom reset, see suggestion from #2969886.
588 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
590 * src/search.c, src/document.c:
591 Fix wrong selection range after Replace in Selection.
594 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
597 Make CreateChildProcess() working with Unicode strings, e.g.
598 directory names (closes #2972606).
600 Remove reference to already removed latex.tags file.
601 Future releases probably still depend on GTK 2.16.
602 * scintilla/ScintillaGTK.cxx:
603 Backport fix from Scintilla CVS to not paste text beyond the end
604 of lines (closes #2969096).
605 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
607 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
608 to not set Geany's minimum window size anymore (closes #2972992).
609 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
612 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
615 Make adding string and string vector settings initialise the setting
617 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
618 Add stash_group_load_from_file() and stash_group_save_to_file().
621 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
623 * data/filetypes.common:
624 Set default for wrapped lines to show marker at end of line only
625 (more expected and doesn't change line alignment - closes #2972386).
626 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
627 src/pluginutils.c, doc/plugins.dox:
628 Improve API docs contents page by listing all commonly-used files.
629 Fix 'Date' appearing twice on the date line.
630 Don't generate API docs for prefs.h, toolbar.h (unused).
631 Move some '@file' doc-comments to the .c file.
632 * src/interface.c, geany.glade:
633 Add frame for 'Printing' prefs dialog page.
634 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
635 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
637 Rename Stash data types to be independently named from Geany (so
638 Stash can be reused for other projects).
639 Rename GeanyPrefGroup to StashGroup.
642 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
644 * tagmanager/python.c:
645 Apply patch from Colomban Wendling to parse Python lambda functions
646 (thanks) - modified to only parse toplevel or class member lambdas.
647 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
649 Add doc-comments for Stash setting functions.
650 Add an example file showing usage of Stash.
651 (Not enabled yet until added to the plugin API).
654 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
657 Fix using return value without checking return status, caused
658 incorrect sensitivity settings on build dialog.
661 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
664 Add tip about gcc optimization & warnings/debugging.
666 Update Libraries section about synchronizing with other projects.
669 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
672 For now revert the recent patch which set real_path of newly
673 open non-existent configuration files as this seems hackish and
674 causes 'file not found' warnings.
676 Fix/Improve GIT repository detection
677 (patch by Thomas Martitz, thanks).
678 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
680 Add utils_copy_environment() to the plugin API.
683 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
685 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
686 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
688 Use 3rd person for more API dox.
689 Change 'This is a wrapper function for...' to 'Wraps...' in brief
691 Change 'After all...' to 'Afterwards...'.
692 * src/interface.c, geany.glade:
693 Apply patch from Eugene Arshinov to make frame packing/alignment
694 more consistent (thanks).
697 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
700 Fix ui_button_new_with_image() to call gtk_button_set_image() so
701 that gtk_button_[sg]et_label() work as expected.
702 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
703 Make Build Commands dialog show menu item labels as a button (to
704 help show that menu labels don't normally need to be edited &
705 display the mnemonic correctly). Clicking shows an input dialog to
706 set a new menu item label.
707 Split dialogs_show_input() into 2 functions: one simple, one for
709 Fix possible double-destroy of input dialog when closed by user.
711 Fix not destroying 'Make Custom Target' input dialog after first
714 Make Long Line Marker settings for existing projects default to
715 general settings instead of 0 (thanks to Eugene Arshinov).
716 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
717 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
718 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
719 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
720 Use 3rd person (gets not get) for API function brief descriptions.
721 Avoid using 'convenience function' in API brief descriptions.
724 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
726 * doc/geany.txt, doc/geany.html:
727 Warn about some GNU extensions for regular expressions & clarify
729 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
730 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
731 src/editor.h, geany.glade:
732 Apply patch from Eugene Arshinov to add project long line marker
733 customisation (thanks).
734 * src/interface.c, geany.glade:
735 Edit/tidy 'Long line marker' labels.
738 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
740 * src/build.c, src/project.c:
741 Fix crash due to NULL in project build preferences (thanks to
745 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
747 * src/utils.c, src/utils.h, src/search.c, src/search.h,
748 src/document.c, doc/geany.txt, doc/geany.html:
749 Merge gnu-regex branch:
750 Use POSIX system/GNU regex engine for find & replace 'Use regular
751 expressions' option. This alters regex syntax a bit - see the docs
752 for details; we now support '?' operator and replacement backslash
753 escaping is more standard.
754 Make regex search imply replacing escaped chars.
755 Allow \0 backreference replacement for the whole match.
756 Note: Replace All may be slower; if this is a problem please let me
759 Add argument to utils_str_replace_escape() for keeping
760 uninterpreted backslash escapes e.g. '\\', '\e'.
761 * scintilla/LexMarkdown.cxx:
762 Backport minor formatting/style changes from Scintilla project.
763 * doc/geany.txt, doc/geany.html:
764 Remove warning about no visual indication for zero-column-mode
768 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
771 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
774 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
776 * wscript, scintilla/*, scintilla/include/*:
777 Update Scintilla to version 2.03.
778 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
779 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
780 Add preference for virtual spaces.
782 Fix wrong default response for the Debug Messages dialog.
784 Fix crashes when using Save As with no open files (closes #2964406).
786 Fix duplicate mnemonics on 'Resave missing file' dialog, also
787 move the question from the secondary to the main text to be
788 more compatible with the Gnome HIG.
789 Fix broken 'Save' action in 'Resave missing file' dialog.
791 Improve PHP parser to parse also the argument lists of PHP functions.
793 Correctly set the parent widget for the keybinding overwrite
796 Fix setting the icon for some dialogs if the parent itself is also
799 When editing non-existent config files using the Tools->Configuration
800 Files menu, explicitly set the real_path to avoid presenting the Save
801 As dialog when saving the file (patch by Tony Rick, thanks).
803 Focus the editor widget after hiding the sidebar when it had the
804 input focus (patch by Can Koy, thanks).
805 Properly show/hide the mesages window when using the View menu item
807 * plugins/filebrowser.c:
808 After opening files, focus the editor widget
809 (based on a patch by Can Koy, thanks).
810 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
811 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
812 src/ui_utils.h, src/vte.c:
813 Add and use convenience function ui_is_keyval_enter_or_return() and
814 add it to the plugin API.
817 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
819 * src/about.c, THANKS, po/ast.po:
820 Added Asturian translation. Thanks to Marcos Costales for providing.
823 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
826 Fix keyboard accelerators in debug messages window
830 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
832 * scintilla/LexR.cxx:
833 Backport R lexer from Scintilla CVS to fix case sensitive keywords
834 (Scintilla bug #2956543).
835 * src/sidebar.c, src/about.c, THANKS:
836 Make Space on the symbol and document list not focus the editor
837 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
838 * src/document.c, src/document.h:
839 Fix document_try_focus() to make it work with the sidebar document
841 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
842 Make Space on the compiler and messages widgets not focus the editor
843 widget while Enter does (patch by Can Koy, thanks).
845 Fix wrongly auto-detected multiline comments
846 (patch by Eugene Arshinov, thanks).
849 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
852 Show number of lines of current document inside statusbar. Thanks to
853 Can Koy for providing the patch.
856 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
858 * src/keybindings.c, doc/geany.txt, doc/geany.html:
859 Make Switch to Editor keybinding reshow the document statistics
860 line, so user doesn't have to move the cursor.
863 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
866 Update keywords for the R language (patch by Jon Senior, thanks).
869 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
872 Fix the instruction how to insert unicode characters
876 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
878 * scripts/create_py_tags.py:
880 Replace tabs by spaces.
883 Replace tabs by spaces.
884 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
885 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
886 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
887 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
888 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
889 src/plugindata.h, src/sidebar.c, src/sidebar.h:
890 Add keybindings to switch to the sidebar's Document and Symbol list
891 as well as to the Message Window's current tab
892 (patch by Eugene Arshinov, thanks).
894 Update primary keywords for the R language
895 (patch by Jon Senior, thanks).
898 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
901 Add more detailed hints about reloading configuration
902 (thanks to Tony Rick).
903 * data/filetypes.javascript:
904 Correct the keyword list for JavaScript (thanks to Jonas).
907 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
909 * New release: Geany 0.18.1 "Balfour".
912 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
915 Add special cases for handling the Select All keybinding (Ctrl-A) in
916 the toolbar search and goto line text entries (closes #2948040).
917 Strip trailing spaces after reflowing a paragraph, patch by
918 Dominik Wagenfuehr, thanks (closes #2945497).
921 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
923 * src/geanymenubuttonaction.c, src/templates.c:
924 Partly revert last commit:
925 Unref the new files toolbar menu when freeing templates as it
926 was done before but unref it *after* the menu has been removed
927 from the GeanyMenuButtonAction.
929 Fix possible endless loop when trying to detect the encoding of
930 non-text files (patch by Alexey Antipov, thanks).
933 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
936 Allow saving remote files using g_file_set_contents() as well
937 (patch by Алексей Антипов, thanks).
938 * data/filetypes.python:
939 Adjust style for secondary keywords to be less aggressive.
940 Add Python 2.5 builtins keywords.
941 * src/geanymenubuttonaction.c, src/templates.c:
942 Unref the new files toolbar menu when setting a new menu to fix
943 possible crashes when reloading configuration.
945 When reloading configuration, process the current document at last
946 so the symbol list will be updated correctly.
949 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
952 Explicitly read filetype configuration files before generating
953 global tags to get settings for custom filetypes.
956 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
959 Fix GLib warning when toggling 'no plugins available' item.
962 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
965 Include geany.ico in the distribution tarball.
967 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
968 * scripts/create_py_tags.py:
969 Make the script a bit more robust with newer Python versions.
971 Use utils_spawn_sync() instead of g_spawn_sync().
974 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
977 Close meta tag for export date properly.
980 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
983 Update RPM Spec file (patch by Dominic Hopf, thanks).
986 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
989 Fix renaming sci_send_message(), sci_send_command() function pointers.
992 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
994 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
995 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
996 plugins/geanyfunctions.h, plugins/Makefile.am,
997 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
998 Use full function name for GeanyFunctions function pointers. This
999 avoids naming conflicts e.g. with C++'s 'new' keyword.
1000 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
1003 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1005 * src/utils.c, src/utils.h, src/vte.c:
1006 Add utils_copy_environment() and make use of it.
1007 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
1008 src/editor.c, src/templates.c, src/templates.h:
1009 Add new special template wildcard "{command:...}" to use the
1010 output of a command in templates.
1011 Adjust template functions to mostly work with GeanyDocuments.
1012 Minor cleanups in the template code.
1014 Replace the old icons with smiley icons from the Rodent icon theme.
1015 Fix showing the same icon for two or more slots.
1017 * src/editor.c, src/editor.h, src/keybindings.c:
1018 Rename fold_symbol_click() to editor_toggle_fold().
1019 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
1020 was used to respect the 'Fold/unfold all children' preference
1024 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1027 Prevent possible segfault in get_build_group().
1029 Fix GLib warning & beep if trying to insert multiline comment for a
1030 filetype that doesn't support it.
1033 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1036 Add gcc commands to build a plugin to the HowTo.
1037 * src/search.c, src/document.c, src/document.h:
1038 Show 'Replaced X matches in Y documents' message when using Replace in
1042 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1044 * scripts/plugin_test.c:
1045 Add a little test program which can load and test Geany plugins to
1046 verify it is loadable at runtime and all necessary symbols are
1048 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
1050 Add new signal: "geany-startup-complete" which is sent once all
1051 initialization and startup tasks has been done.
1052 * README.I18N, configure.ac, wscript, po/LINGUAS:
1053 Remove po/LINGUAS from the repository.
1054 Generate it automatically if needed by reading available
1055 message catalogs from the po directory.
1056 Also respect the LINGUAS environment variable properly.
1059 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1062 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
1066 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1068 * src/editor.c, src/templates.c, src/templates.h:
1069 Refactor templates_replace_all() into templates_replace_valist()
1070 to save some code duplication.
1073 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1075 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
1076 src/plugindata.h, src/plugins.c:
1077 Add editor_insert_text_block() to plugin API.
1080 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1083 Update copyright information.
1084 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1085 doc/geany.txt, doc/geany.html:
1086 Add keybinding to open the last closed tab (closes #2912692).
1089 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1091 * autogen.sh, configure.in, configure.ac:
1092 Rename configure.in to configure.ac.
1093 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
1095 Add sci_find_text() to the plugin API.
1096 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1097 src/interface.c, src/prefs.c:
1098 Add a checkbox in the preferences dialog to explicitly toggle
1099 the visibility of the sidebar (closes #2923340).
1102 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1104 * src/editor.c, src/plugins.c, src/plugindata.h,
1105 plugins/geanyfunctions.h:
1106 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
1107 editor_get_eol_char() to the plugin API.
1108 * src/callbacks.c, src/plugins.c, src/plugins.h:
1109 Fix sensitivity of the Edit->Plugin Preferences menu item
1110 if plugins are loaded which do not provide a configuration dialog.
1111 * scripts/create_py_tags.py:
1112 Rewrite and extend the Python tags parsing script to use
1113 Python's inspect module to read symbols from Python modules
1114 including scope information.
1115 * data/filetypes.restructuredtext:
1116 Add the default comment character sequence for reStructuredText.
1118 Show the Find/Goto dialogs if the corresponding toolbar buttons are
1119 clicked but their text fields are not part of the toolbar (#2920807).
1120 * data/filetypes.common, doc/geany.html, doc/geany.txt,
1122 Add new style to change foreground and background colours for
1123 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
1125 Remember the window position of the Find, Replace and Find in Files
1126 dialogs (closes #2877988).
1129 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
1132 Fix a minor typo inside plugin API reference.
1135 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1137 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
1138 Make dialogs_show_prompt() more flexible to take up to three
1139 button/response code pairs to be shown.
1140 Add a close button to the dialog when asking to Re-Save a
1142 (closes #2916954, based on a patch by Dominik Stadler, thanks).
1144 Fix LaTeX environment auto completion with CR/LF line endings.
1145 Add some sanity checks.
1147 When closing a document after it was deleted from the filesystem,
1148 don't ask whether it should be saved first.
1149 Mark the document only as changed if it is not closed afterwards.
1150 Prevent possible segfaults if the document was closed when it is
1151 missing from the filesystem.
1152 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
1153 src/msgwindow.h, src/prefs.c:
1154 Add MessageWindow::scribble and use it instead of searching the
1155 widget pointer everytime.
1156 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
1157 Add preferences for hiding single tabs from the messages window
1158 (no GUI preferences yet, still to be implemented).
1159 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1160 Set the correct parent window for the toolbar editor
1161 dialog (closes #2913334).
1162 * src/win32.c, src/win32.h, src/ui_utils.c:
1163 Rename win32_show_project_folder_dialog() to
1164 win32_show_folder_dialog() as it is not related and not used by any
1165 project management related code.
1166 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
1167 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
1168 as it is specialised for opening documents.
1169 Implement win32_show_file_dialog() as a generic file open dialog and
1170 use it with ui_path_box_new().
1173 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1176 Extend auto_latex() function to check whether an environment has been
1177 closed within the next lines to avoid auto adding double \end{}.
1179 Remove LaTeX tags from SVN. Can be found at
1180 http://download.geany.org/contrib/tags/ if needed.
1183 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1185 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
1186 Add document_need_save_as().
1187 Show the Save As also for documents created from filetype templates
1188 instead of saving them directly with the untitled filename.
1191 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1193 * geany.glade, src/interface.c:
1194 Move 'Send Selection to Terminal' menu item from Format to Commands
1197 When going to a build error, try the current document's path if
1198 the parsed filename doesn't exist. (This can happen when we receive
1199 build messages in the wrong order - after the 'Leaving directory'
1202 Refactor msgwin_goto_compiler_file_line().
1203 * src/interface.c, src/keybindings.c, geany.glade:
1204 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
1207 Refactor/reformat on_replace_dialog_response().
1210 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1213 Improve geany.spec (split the package into a binary and devel
1214 package, update BuildRequires and other minor improvements).
1215 Patch by Dominic Hopf, thanks.
1218 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1220 * src/filetypes.c, src/filetypes.h:
1221 Make group for custom filetypes.
1222 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
1223 Add custom filetype Genie.
1226 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1228 * src/highlighting.c:
1229 Highlight D & Java types from a global tags file.
1230 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1231 Add debug message warning if recursive lexer_filetype is set.
1232 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
1233 Remove duplicate sci_set_keywords(), make argument const.
1234 * src/highlighting.c:
1235 Only show debug message once if recursive lexer_filetype is set.
1236 Tidy highlighting_init_styles code for filetype None handling.
1237 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
1238 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
1239 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
1240 tagmanager/parsers.h, tagmanager/makefile.win32,
1241 tagmanager/verilog.c, tagmanager/Makefile.am,
1242 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
1243 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
1244 * src/highlighting.c:
1245 Fix segfault on startup (oops).
1246 * data/filetypes.verilog:
1247 Fix using common style colours for Verilog.
1250 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1252 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1253 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1254 Move C-like filetype properties into configuration files.
1255 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1257 Remove now unnecessary "styling_within_preprocessor" C style key.
1258 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1259 data/filetypes.glsl, data/filetypes.cs:
1260 Use lexer_filetype=C configuration file key instead of duplicate
1261 styleset functions for C++, C#, GLSL, Vala.
1264 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1266 * doc/geany.txt, doc/geany.html:
1267 Warn about not using BOM for configuration files (confuses GKeyFile
1268 parser, at least on my system).
1270 Add/improve debug messages for custom filetypes.
1273 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1276 Add a couple of further latex-beamer commands to list of LaTeX tags.
1279 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1281 * plugins/filebrowser.c:
1282 Add an in-entry clear icon to the filebrowser plugin's filter
1283 entry (patch by Dominic Hopf, thanks).
1284 * src/prefs.c, src/ui_utils.c:
1285 Fix two compiler warnings about possibly uninitialised variables.
1288 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1290 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
1291 plugins/geanyfunctions.h:
1292 Add main_is_realized() to the plugin API.
1293 * tagmanager/include/tm_tagmanager.h:
1294 Update partly outdated and wrong doc comment.
1295 * src/main.c, src/main.h, src/socket.c:
1296 Allow opening Geany projects remotely.
1297 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
1298 Add a hidden pref to allow executing text which was sent to the
1299 terminal directly, i.e. do not strip trailing newline characters.
1300 Also fix the stripping of trailing newline characters if there was
1304 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1306 * src/about.c, THANKS:
1307 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
1308 Kurt de Bree into section of previous translators.
1311 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1313 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
1314 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
1318 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1320 * src/highlighting.c:
1321 Make stylesets take a ft_id argument so they can be reused fully with
1322 custom filetypes, so custom styles and keywords can be set.
1323 * src/highlighting.c:
1324 Fix setting filetype properties when both the system and the user file
1325 have properties set.
1326 * src/symbols.c, tagmanager/vhdl.c:
1328 * src/highlighting.c:
1329 Fix lexer settings for custom filetypes.
1332 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1335 Remove duplicate regular expression for parsing classes.
1336 Fix and improve parsing of constants (patch by Harold Aling, thanks).
1337 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
1338 src/main.h, THANKS, src/about.c:
1339 Add new command line option "--socket-file" to be able to specify
1340 separate socket filenames for instances
1341 (closes #2896027, patch by Jörn Reder, thanks).
1342 * src/keybindings.c, src/keybindings.h:
1343 Add keybindings_check_event() to manually check GdkKeyEvents against
1344 Geany's keybindings.
1345 * src/callbacks.c, src/utils.c, src/utils.h:
1346 Add and use utils_get_help_url().
1347 * geany.glade, src/interface.c, src/prefs.c:
1348 Add a Help button to the preferences dialog.
1349 Handle Help keybinding events for the preferences dialog especially
1350 and open the manual with the corresponding anchor link to the current
1351 preferences page (same goes for the new Help button).
1354 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1356 * src/toolbar.c, src/geanymenubuttonaction.c,
1357 src/geanymenubuttonaction.h:
1358 Use separate tooltips for toolbar menu buttons and their attached
1360 * tagmanager/latex.c:
1361 Improve parsing of sections and chapters by ignoring shortnames
1362 like \section[shortname]{label} (closes #2890477).
1365 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1367 * src/geanymenubuttonaction.c:
1368 Try to fix Gtk warning when using Tools->Reload Configuration.
1371 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1373 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1374 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
1375 data/filetypes.pascal, data/filetypes.docbook,
1376 data/filetypes.python, data/filetypes.conf:
1377 Use filetypes.foo [lexer_properties] group instead of hardcoding
1378 lexer properties (more flexible e.g. for custom filetypes).
1379 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
1380 Replace filetypes.xml html_asp_default_language key with
1381 filetypes.html asp.default.language property in [lexer_properties]
1385 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1387 * doc/geany.txt, doc/geany.html:
1388 Fix slightly wrong description of how to insert Unicode characters.
1390 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
1391 ui_setup_open_button_callback().
1392 * src/prefs.c, src/prefs.c, src/vte.c:
1393 Refactor color and font button callback functions in the
1394 preferences dialog. Move the VTE related callback functions
1396 Make use of ui_setup_open_button_callback().
1398 Improve printing status texts (patch by Dominic Hopf, thanks).
1399 * src/prefs.c, src/vte.c:
1400 Use the default dialog title set by ui_setup_open_button_callback()
1401 to be more consistent and to save one string.
1404 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1407 Separate DKinds from CKinds.
1408 Don't generate macro tags for D, Java.
1411 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1413 * tagmanager/ctags.c, tagmanager/general.h:
1414 Make TagManager Assert statements cause g_warning on failure.
1415 * src/keybindings.c:
1416 Fix reflow paragraph command when cursor < anchor using
1417 sci_fix_selection().
1420 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1422 * tagmanager/perl.c:
1423 Fix Geany segfault with constant tags (#2895168).
1425 Fix invalid tree iter access when using tv_iters.tag_other but not
1426 using tv_iters.tag_variable.
1427 * HACKING, tagmanager/perl.c:
1428 Fix parsing Perl format statements ("other" type doesn't seem to work).
1429 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
1430 Fix using "other" tag type.
1433 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1436 Remove useless comment about applying settings only when libvte.so
1437 could be loaded which is only displayed *if* libvte.so is loaded.
1439 Allow autocompletion for HTML entities even within a word.
1440 * src/geanymenubuttonaction.c:
1441 Only set the menu of the button if a non-empty GtkMenu is passed to
1442 geany_menu_button_action_set_menu() so the menu arrow keeps
1446 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1449 Fix parsing some Java code (e.g. filetypes.java) after r4407.
1452 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1455 Parse D functions with contracts (fixes #1885480).
1456 Parse D alias statement like typedef.
1457 (Ignore some more D keywords).
1459 Fix creating D interface tags properly.
1461 Parse contents of D extern{} and version{} blocks.
1464 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1470 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1472 * src/plugindata.h, HACKING:
1473 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
1476 Show number of files saved on status bar when using Save All.
1477 * src/highlighting.c:
1478 Use default color scheme if pref color scheme file doesn't exist.
1479 * src/keybindings.c:
1480 Fix moving correct lines after selecting whole line(s).
1483 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1485 * tagmanager/makefile.win32:
1486 Fix broken build on Windows because of a typo
1487 (patch by Timothy Boronczyk, thanks).
1490 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1492 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1494 Add 'View->Editor->Color Schemes' menu, for now only shown if color
1495 scheme files exist in a colorschemes config directory. Color scheme
1496 files must end in ".conf" and currently only the [named_styles]
1498 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1499 Add utils_get_config_files().
1500 * src/highlighting.c:
1501 Fix issue with default color not being reset if overridden with a
1502 system default color.
1503 * src/highlighting.c:
1504 Only reload filetype files when changing color scheme, not all
1505 configuration files.
1506 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1507 Deprecate documents_foreach() as it looks more like a function; use
1508 foreach_document() instead.
1509 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1512 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1514 * src/stash.c, src/stash.h:
1515 Use typedef instead of pointer for widget_id function arguments.
1518 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1520 * src/pluginutils.c:
1521 Don't expand Plugin Preferences page spacing vertically to fill the
1522 height of the dialog.
1523 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1524 geany.glade, plugins/splitwindow.c:
1525 Allow GeanyKeyBinding label field to contain underscores, which won't
1526 be displayed by Geany. This saves adding near-duplicate translation
1528 Add mnemonics for 3 Edit->Format menu items.
1529 Add keybindings_get_label().
1530 * src/interface.c, geany.glade:
1531 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1535 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1538 Desensitize Edit->Commands menu item when no docs are open.
1539 * src/interface.c, src/keybindings.c, src/callbacks.c,
1540 src/callbacks.h, geany.glade:
1541 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1542 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1543 Add general function sci_get_string() that works with any string
1544 buffer messages that follow the Windows message convention.
1545 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1546 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1547 src/pluginutils.c, src/pluginutils.h, geany.glade:
1548 Add 'Edit->Plugin Preferences' menu item and keybinding.
1549 Don't include plugindata.h in pluginutils.h because it redefines the
1550 GEANY() macro for plugin use.
1551 * doc/geany.txt, doc/geany.html:
1552 Update for Plugin Preferences keybinding.
1555 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1558 Sort document word completion list.
1559 * src/interface.c, src/keybindings.c, src/callbacks.c,
1560 src/callbacks.h, geany.glade:
1561 Add some useful commands to editor popup menu under "Commands"
1562 submenu (thanks to Lex).
1563 Move 'Duplicate line or selection' from Format -> Commands submenu.
1564 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1565 Enable switching the sidebar to the right on Windows again, as it
1566 apparently works after all.
1568 Fix using tab to autocomplete in some other situations that word part
1569 completion doesn't apply in.
1570 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1571 Add Edit->Commands submenu which is shared with the editor popup menu.
1572 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1573 Change editor popup Commands submenu to start as child of menubar Edit
1574 menu, as this is more usual e.g. for keybindings initialization.
1575 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1577 Share a single Format submenu for menubar Edit and popup menu.
1580 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1583 Fix a compiler warning about an uninitialised variable.
1585 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1586 sciwrappers.h, build.h (for the Waf build system,
1587 accordingly to r4366).
1590 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1592 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1593 src/toolbar.c, src/toolbar.h:
1594 Add missing dox for types/files in the API.
1595 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1596 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1597 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1598 of functions not in the API).
1599 Warning: any plugins that include these headers should remove them.
1600 * src/build.c, src/build.h:
1601 Move function doc-comments to build.c so they stay in sync. Note:
1602 these functions are still not in the API.
1604 Add 'Doc-comments' plugin API subsection.
1605 * plugins/filebrowser.c:
1606 Fix packing configure widgets equally.
1607 Use spacing multiples of 6 as recommended by Gnome HIG.
1608 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1609 Disable switching the sidebar to the right on Windows as it will
1610 probably fail like the Split Window plugin.
1612 Improve 'Detect from file' indentation pref by ignoring lines with
1613 indentation wider than 24 characters as this is more likely to be
1614 alignment than indentation.
1617 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1619 * plugins/saveactions.c:
1620 Fix adding the filetype's default extension when using the
1621 Instant Save plugin (closes #2885142).
1623 Before looking for line and column numbers specified as part
1624 of a filename, ensure the file doesn't exist on disk. This allows
1625 opening of files like "test:0".
1627 Rename "select" variables into "selection" to avoid shadowed names.
1628 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1629 Add ui_widget_modify_font_from_string() and sci_goto_line()
1631 * plugins/filebrowser.c:
1632 Rename "select" variables into "selection" to avoid shadowed names.
1633 Make use of ui_widget_modify_font_from_string().
1636 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1638 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1639 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1641 Add sidebar position interface pref.
1644 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1646 * doc/geany.txt, doc/geany.html:
1647 Add missing underscores to links.
1650 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1652 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1653 Add 'Move line(s) up/down' keybindings.
1656 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1658 * src/build.c, src/build.h, src/filetypes.h:
1659 Include code for project filetype execute commands and fix bug in
1660 saving project filetypes list.
1661 * src/project.c, src/build.c, doc/geany.txt:
1662 Make non-project execute configuration save to filetypes not geany.conf.
1663 Fix closing of project failing to remove build commands dialog entry.
1666 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1668 * src/project.c, src/ui_utils.c:
1669 Set border width for project properties build table.
1670 * geany.glade, src/interface.c:
1671 Don't expand hard tab width alignment.
1674 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1676 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1677 doc/geany.txt, doc/geany.html:
1678 Support loading global tags files for custom filetypes.
1679 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1680 doc/geany.txt, doc/geany.html:
1681 Add 'Word part completion' keybinding so keys other than Tab can be
1682 used, or to clear/change the combination so Tab does full completion
1684 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1685 Add 'Select to previous/next word part' keybindings.
1686 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1687 Add 'Switch to Messages' focus keybinding.
1690 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1692 * doc/geany.txt, doc/geany.html:
1693 Add 'Custom filetypes' section.
1694 * src/filetypes.c, src/filetypes.h, src/document.c,
1695 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1696 tagmanager/include/tm_source_file.h:
1697 Add filetype "tag_parser" key so custom filetypes can use an existing
1699 Add tm_source_file_get_named_lang().
1700 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1702 Add filetype "lexer_filetype" key so custom filetypes can use an
1706 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1708 * THANKS, src/about.c:
1709 Add Xhacker Liu for his work at zh_CN translation to long list of
1713 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1715 * src/sciwrappers.c:
1716 Remove unnecessary line number margin padding.
1717 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1718 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1720 Improve word part autocompletion so AC list is not cancelled and
1721 reshown (this also stops the selection changing).
1722 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1724 Improve CamelCase word part autocompletion for runs of capital letters.
1726 Don't complete snippets if there's a selection.
1729 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1732 Fix crash opening project when Geany started with no geany.conf.
1735 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1737 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1738 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1740 Add word part autocompletion for the current selected item when
1741 pressing Tab - Enter still completes normally.
1742 Add foreach_str() API macro.
1743 Temporarily modify scintilla to say if tab was used for
1745 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1746 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1747 plugins/classbuilder.c:
1748 Revert r4301 - utils_free_pointers() taking 4 arguments.
1749 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1750 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1751 plugins/splitwindow.c:
1752 Add highlighting_set_styles() to API, use for Split Window plugin so
1753 filetypes.common settings get set too.
1754 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1756 * src/document.c, src/editor.c, plugins/splitwindow.c:
1757 Call editor_apply_update_prefs() from editor_create_widget() so
1758 correct tab width and other settings are applied for Split Window
1762 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1764 * src/keybindings.c:
1765 Don't include trailing newlines when using reflow command.
1767 Add stock close buttons to notebook tab popup menu.
1768 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1769 plugins/geanyfunctions.h:
1770 Add document_get_notebook_page() to API.
1772 * data/templates/files/file.html, data/templates/files/file.php:
1773 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1774 * src/interface.c, src/ui_utils.c, geany.glade:
1775 Move Tools configuration items to top of menu.
1776 * src/keybindings.c, src/search.c:
1777 Fix warning when using Find in Files with no documents open; make
1778 keybinding work in this case.
1781 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1783 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1784 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1785 Make Split Window 'Show current document' button have a drop-down menu
1786 to select the other documents.
1787 Add new API function ui_menu_add_document_items().
1790 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1793 Fix sensitivity settings for compile and build toolbar items.
1796 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1799 Don't use filetype submenus for templates (slower to navigate, often
1800 only 1 per-filetype anyway).
1802 Put old filetype template menu items in 'Old' submenu as they should
1803 be removed after the 0.19 release.
1804 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1805 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1806 to be ignored if inappropriate so a later keybinding with the same
1807 key combination can intercept it. (Also group callbacks are usually
1808 tidier than separate callbacks).
1809 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1810 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1811 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1812 plugins/classbuilder.c:
1813 Make utils_free_pointers() take 4 arguments, add to API.
1814 * src/templates.c, src/tools.c, src/ui_utils.c:
1815 Fix memory leaks with gtk_container_get_children().
1818 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1821 Ensure that old style build config is not loaded if it does not exist.
1824 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1826 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1827 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1830 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1832 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1834 Apply set default encoding for existing files only if the files are
1835 non-Unicode (patch by Alexey Antipov, thanks).
1838 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1840 * src/highlighting.c:
1841 Move new_styleset() and preprocessor setup code into styleset_c_like().
1842 * src/highlighting.c:
1843 Call apply_filetype_properties() from styleset_c_like().
1846 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1848 * doc/geany.txt, doc/geany.html:
1849 Improve information about predefined keybindings which are
1850 commonly used across applications (patch by Lex Trotman, thanks).
1852 Enable embedded page setup properties in the (Unix) Print dialog
1853 on newer GTK versions (closes #2870596).
1854 * src/highlighting.c:
1855 Map global types (read from tags files) to keyword style for
1859 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1862 Fix wrong creation of filetype template menu items for custom
1864 * src/highlighting.c:
1865 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1867 Group 'New with template' items by filetype submenu (currently only for
1869 Show custom file template items before filetype template items.
1870 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1872 Only use one 'New with template' submenu - reparent as needed.
1874 Don't create templates/filetype.none either.
1876 Warn if custom template file no longer exists.
1879 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1882 Add missing icon for Java packages in the Symbol List.
1885 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1887 * src/highlighting.c, data/filetypes.vala:
1888 Add Vala keywords to conf file.
1889 * src/templates.c, doc/geany.txt, doc/geany.html:
1890 Read custom file templates from $prefix/share/geany/templates/files as
1892 * src/templates.c, data/templates, data/templates/files,
1893 data/templates/files/file.rb, data/templates/files/file.html,
1894 data/templates/files/main.java, data/templates/files/main.c,
1895 data/templates/files/main.cxx, data/templates/files/file.php,
1896 data/templates/files/main.d, data/templates/files/program.pas,
1897 data/templates/files/main.py, data/templates/files/file.tex,
1898 wscript, Makefile.am:
1899 Move filetype template defaults into custom file template files.
1902 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1904 * src/symbols.c, tagmanager/perl.c:
1905 Change Perl tag parser to ctags SVN r601. This removes support for
1906 buggy local/my/our but it parses constant/format/labels and should
1907 be less buggy overall (closes #2861232).
1908 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1909 Add utils_get_file_list_full() which can optionally sort or include
1910 a full path for each list item.
1911 * src/utils.c, src/plugindata.h, src/plugins.c:
1912 Add utils_get_file_list_full() to API.
1915 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1917 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1918 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1919 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1920 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1921 po/POTFILES.in, wscript:
1922 Rename treeviews.[hc] -> sidebar.[hc].
1923 * data/filetypes.common:
1924 Remove unused [styling] arguments.
1925 * src/highlighting.c, data/filetypes.markdown,
1926 data/filetypes.restructuredtext:
1927 Remove style defaults from the code - just read them from
1928 configuration files.
1929 * src/highlighting.c, HACKING:
1930 Add apply_style_entries() to simplify implementing styleset_foo().
1931 * src/highlighting.c:
1932 Remove filetype keyword defaults from the code - just read them from
1933 configuration files.
1934 * src/highlighting.c:
1935 Add sci_set_keywords() wrapper.
1938 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1940 * scripts/create_py_tags.py:
1941 Make the code a bit more pythonic.
1942 * doc/images/build_menu_commands_dialog.png,
1943 doc/images/main_window.png:
1944 Add new images referenced in the documentation.
1945 * doc/geany.html, doc/geany.txt:
1946 Several documentation improvements (patch by Lex Trotman, thanks).
1947 * src/pluginutils.c:
1948 Fix setting the appropriate page of the combined plugins
1952 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1954 * src/keybindings.c:
1955 Only focus toolbar goto line entry when pressing keybinding if it's
1956 visible (patch by Eugene Arshinov, thanks).
1958 Focus editor after entering a number in the goto line toolbar entry.
1960 Use AC_PATH_PROG instead of which for portability (patch by Erik
1961 Southworth, thanks).
1963 Show plugins that only implement plugin_configure_single() in the
1964 multiple-configure dialog as a page with a configure button on it.
1965 Add padding for multiple-configure dialog.
1966 Make the multiple-configure dialog notebook tabs scrollable.
1967 * src/pluginutils.c, src/pluginutils.h:
1968 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1969 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1970 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1971 plugins/geanyfunctions.h, plugins/filebrowser.c:
1972 Add plugin_show_configure() API utility function.
1973 Add File Browser popup menu 'Preferences' item.
1974 * src/highlighting.c:
1975 Add get_keyfile_ints() instead of using tmp_style hack.
1976 * src/highlighting.c, data/filetypes.xml:
1977 Change new html_asp_default_language markup pref to use integer,
1978 not hex in config file.
1979 Fix minor issue with changing pref back to 0.
1980 * src/highlighting.c:
1981 Fix possible segfault in get_keyfile_int() if key value is malformed.
1984 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1986 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1987 Add "html_asp_default_language" pseudo style to filetypes.xml
1988 to allow setting the used language in embedded ASP code
1989 (patch by Ross McKay, thanks).
1990 * src/filetypes.xml:
1991 Update VBScript keywords (patch by Ross McKay, thanks).
1994 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1996 * src/keybindings.c, THANKS:
1997 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1998 keybinding use line breaking column when enabled.
2000 Fix showing the document before reload dialog when opening an
2002 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
2003 Add plugin_configure_single() plugin symbol which is easier to
2004 implement than plugin_configure() but won't support a
2005 multiple-plugin configure dialog.
2007 Show multiple plugins in the 'Configure Plugins' dialog.
2010 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2012 * doc/geany.txt, doc/geany.html:
2013 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
2015 * doc/geany.txt, doc/geany.html:
2016 Add 'Toolbar entries' section.
2017 * doc/geany.txt, doc/geany.html:
2018 Update 'Go to line' keybinding description.
2019 * doc/geany.txt, doc/geany.html:
2020 Split keybinding table into group tables; update KB links.
2023 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2026 Fix compiler warnings about uninitialised variables.
2027 * src/callbacks.c, src/document.c:
2028 When reloading files, use the previously set encoding instead of
2029 detecting it again (closes #2862041).
2031 Turn on automake silent rules if supported.
2034 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2037 Speed up sorting in utils_get_file_list(). This reduces the file
2038 browser delay on displaying a big directory, e.g. /usr/bin.
2040 Expand command entry width when expanding Build Commands dialog.
2042 Split Build Commands dialog notes label and edit text.
2044 Add padding for Build Commands dialog separators.
2045 Add colons for regex field labels; fix 1 capitalisation.
2047 Fix none filetype Build Commands dialog label.
2048 Make group labels bold.
2049 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
2051 Add & use ui_label_set_markup(), ui_label_new_bold().
2052 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
2053 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
2054 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
2055 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
2056 * src/keybindings.c:
2057 Make 'Go to Line' keybinding focus the toolbar entry if visible.
2060 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2062 * src/filetypes.c, src/filetypes.h, src/symbols.c,
2063 tagmanager/parsers.h, tagmanager/makefile.win32,
2064 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
2065 data/filetype_extensions.conf, wscript:
2066 Add new filetype: Abc (patch by Eric Forgeot, thanks).
2068 Merge recent changes from the CTags project to further improve
2072 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2075 Fix wrong alignment of printed pages when page headers are
2076 disabled (closes #2856822).
2077 Plug a small memory leak and improve function signature of
2080 Save an if expression.
2082 After clearing a text field using the embedded clear icon, put the
2083 input focus into this text field.
2086 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2088 * plugins/filebrowser.c:
2089 Free file list memory whilst iterating the list.
2090 Minor formatting fixes.
2091 * src/utils.c, src/utils.h:
2092 Add foreach_dir() API macro.
2093 Update API docs for utils_get_file_list().
2094 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
2096 Remove queue.[hc] - use GQueue instead of GeanyQueue.
2097 Beep if there are no more snippet positions.
2098 Limit length of snippet positions queue to 20.
2101 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2103 * src/keybindings.c, src/callbacks.c, src/search.c:
2104 Make Goto Tag commands use the current selection if present (useful
2105 for selecting part of a tag or for ReST section names with spaces
2108 Don't move the cursor when reloading.
2109 * src/plugindata.h, src/editor.c, src/editor.h:
2110 Make editor_prefs.snippets hash table private (not a pref).
2113 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2116 Remove deprecated --debug flag. Please use --verbose/-v instead.
2119 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2122 Show Find in Files stderr output in messages window instead of
2123 debug window so that invalid regex messages can be seen easily.
2124 Combine FIF stdout and stderr callback code.
2127 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2130 Fix opening filenames beginning with two dots (closes #2858487).
2131 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
2132 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
2133 data/filetypes.common, geany.glade:
2134 Update syntax highlighting after changing the 'Invert syntax
2135 highlighting colors' pref, instead of requiring a restart.
2136 Remove filetypes.common invert_all option - use 'Invert syntax
2137 highlighting colors' pref instead (closes #2854525).
2138 * src/prefs.c, src/dialogs.c, src/dialogs.h:
2139 Add 'Allow' button when showing the conflicting keybinding dialog.
2140 Make dialogs_show_question_full() use GTK dialog on Windows if
2141 button text is not the stock yes/no items.
2142 Add dialogs_show_prompt() which also has an 'Apply' button.
2143 * src/queue.c, src/queue.h:
2144 Add warning that GeanyQueue may be removed.
2145 * src/keybindings.c, src/editor.c, src/editor.h:
2146 Change snippet_goto_next_cursor() to
2147 editor_goto_next_snippet_cursor() as it's in editor.h.
2148 Avoid using GPOINTER_TO_INT macro.
2151 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2153 * src/keybindings.c:
2154 Fix 'Reflow block' command when at the last paragraph and there's
2155 no last newline (patch by Eugene Arshinov, thanks).
2157 Add 'Compiler options & warnings' section.
2158 Update Style section to be clearer about code alignment and show
2163 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2165 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2166 src/plugindata.h, src/plugins.c, src/editor.c,
2167 plugins/geanyfunctions.h:
2168 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
2169 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
2171 Add sci_toggle_marker_at_line().
2172 Fix SciFuncs alignment.
2175 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
2178 Fix erroneous free of returned string in prepare_run_script.
2181 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2183 * data/filetypes.latex:
2184 Changing default value for showing pdf and dvi to ensure to take
2185 *.pdf and *.dvi file.
2188 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2190 * src/about.c, THANKS:
2191 Change language string for Slovenian translation.
2194 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2196 * tagmanager/txt2tags.c:
2197 Fix multi-byte character constant comparison.
2199 Fix Gtk warning when trying to update documents popup menu item
2200 sensitivity before they exist.
2203 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2206 Improve the opening string in the plugin manager dialog.
2208 Use "max-width" to set the document width of the generated
2209 HTML documentation to let the text be auto-wrapped.
2210 * src/prefs.c, src/tagmanager/include/guregex.h,
2211 src/tagmanager/include/tm_tagmanager.h:
2212 Remove trailing spaces (patch by André Hentschel, thanks).
2214 Fix a compiler warning.
2216 Fix crash when opening documents.
2217 * src/build.c, src/build.h, src/project.c:
2218 Adjust coding style (no code changes).
2219 * src/build.c, src/project.c:
2220 Use NZV() macro instead of strlen() to check for empty strings.
2221 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
2222 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
2223 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
2224 src/plugins.c, THANKS:
2225 Add new plugin signal: "document-before-save".
2226 Add get_line_end_position(), set_target_start(), set_target_end(),
2227 replace_target() to the plugin API
2228 (patch by Eugene Arshinov, thanks).
2229 Add new plugin signal: "document-filetype-set" (closes #2852286).
2230 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
2231 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
2232 tagmanager/Makefile.am, tagmanager/makefile.win32,
2233 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
2235 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2238 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2240 * src/treeviews.c, src/document.c:
2241 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
2242 Use gtk_notebook_set_current_page() instead of
2243 document_open_file_full() when choosing an item from the documents
2245 Avoid using goto in document_open_file_full().
2248 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2250 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2251 Enable type-ahead find for sidebar symbols and documents tabs
2252 (patch by Thomas Martitz, thanks).
2254 Fix 2 free's of possibly uninitialized pointers.
2257 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
2259 * src/build.c, src/filetypes.h, src/filetypes.c
2260 Only write filetype config files when build command or regex is
2261 actually changed. Removed commented code in src/filetypes.c.
2263 Ensure uses of filename are protected against nulls when running
2264 a build command and give status message if not.
2267 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2270 Remove plugin from plugin manager dialog on unloading if it no
2271 longer exists or is incompatible.
2274 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2277 Add warning if only one of the plugin_key_group[_info] symbols is
2278 defined for a plugin.
2279 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
2280 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
2282 Merge custom-filetypes branch:
2283 Support adding custom filetype files e.g. filetypes.Foo.conf.
2285 Allow GeanyFiletype::extension to be NULL.
2286 Add note about using GeanyFiletype pointer instead of filetype_id
2287 for filetypes.c function arguments.
2288 Replace styleset_none() with styleset_default().
2291 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2294 Show the sidebar if either the documents or the symbols list are
2295 enabled (related to #1876107).
2298 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2300 * src/build.c, src/filetypes.c:
2301 Fix compiler warnings.
2303 Fix removing leading double slashes in filenames which are used for
2304 network resources on Windows (closes #2844085).
2307 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2309 * src/keybindings.c:
2310 Fix Make keybindings (patch by Lex Trotman, thanks).
2312 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
2314 Mention Files link at top for header files; demoplugin.c.
2315 Minor edits; remove 'far from being complete'.
2316 * src/keyfile.c, src/keyfile.h, src/main.c,
2317 data/filetype_extensions.conf, HACKING:
2318 Remove --generate-data-files argument & code - just edit
2319 filetype_extensions.conf by hand (filetype order was broken
2321 Add *.H extension for C++ (useful for non-Windows systems).
2324 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
2327 Fix implementation of loading old project files with base
2328 directories. Use project_make_base_path instead of re-
2329 implementing. Now depends on project.c reading base dir
2330 prior to calling load_build_menu.
2332 Change usage of project base directory to conform with
2333 previous documented behavior when loading old project files.
2335 Change make custom and make object to ignore make in base path
2336 when reading old project file settings. Changed some indent
2337 spaces to tabs. Fix missing compile menu accelerator.
2340 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2343 Add warning about not using undocumented features.
2344 Add reference to HACKING for plugin API development.
2346 Add section 'Plugin API/ABI design'.
2347 * src/keybindings.h, src/makefile.win32, src/project.h,
2348 src/filetypes.h, src/Makefile.am, wscript:
2349 Use GEANY_PRIVATE to hide some fields from plugins.
2351 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
2352 * src/build.c, src/build.h, src/project.c:
2353 Use build_ prefix for 3 functions in build.h; add a static modifier.
2356 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2359 Improve parsing of PHP functions by requiring a valid modifier or
2360 whitespace before the 'function' keyword to ignore some false
2361 positives like function tags inside comments
2362 (patch by Harold Aling, thanks).
2363 * tagmanager/python.c:
2364 Don't parse comments after import statements and other tags
2365 (closes #2838938, patch by Huandari Lopez, thanks).
2368 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2370 * data/filetypes.markdown:
2371 Add filetypes.markdown for configuration (thanks to Jon Strait).
2372 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
2373 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2374 plugins/geanyfunctions.h:
2375 Remove GeanyKeyGroup struct from the API - plugins should not set
2377 Make keybindings_set_item() duplicate the name and label fields
2378 (needed by GeanyLua) and return a keybinding pointer.
2379 Add keybindings_get_item() to the API (in case it's useful).
2380 Move some keybinding code out of plugin source files.
2383 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2385 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
2386 Don't generate build.h API docs until everything is approved and
2387 functions are actually in geany_functions.
2388 Move new GeanyFiletype and GeanyProject field(s) to end of struct
2389 as they may be changed or made private later.
2390 Break ABI for fields removed.
2393 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
2395 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
2396 src/keyfile.c, src/project.c
2397 Changed names of symbols visible in build API to GEANY_xxx.
2400 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
2402 * src/project.h, src/project.c, src/build.c
2403 Remove make_in_base_dir and run_cmd fields from project structure.
2404 Replaced by build functionality. Remove incorrect use in src/build.c
2405 build_run_cmd function.
2408 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2410 * src/project.h, src/project.c
2411 Removed unused project_get_make_dir function, this is now per
2415 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2417 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
2418 Fix some more warnings.
2419 Fix commented out execute/stop toolbar code in build.c.
2420 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
2421 Changed build.h api so all functions prefixed with build_.
2424 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2426 * src/build.c, src/build.h, src/project.c:
2427 Fix some gcc warnings with '-Wall -W -ansi' enabled.
2430 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
2433 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
2434 when reading old format configuration & project files.
2435 * src/build.c, src/project.c
2436 Fixed GLib array assertion warnings when no project filetypes are
2437 available to be saved.
2439 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
2445 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
2447 * src/build.h, src/build.c, src/project.c
2448 Created and documented plugins interface to build menu.
2449 Factored out new get_cmd_group function.
2450 Changed name of remove_command function to be consistent with the rest
2451 of the interface & changed calls in project.c.
2452 * src/Makefile.am, wscript
2453 Added build.h to installed files lists.
2455 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
2458 Updated manual to match build-menu capability.
2461 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
2463 * src/build.c, src/build.h
2464 Added set_build_non_ft_wd_to_proj() for use by project dialog.
2465 Improved interpretation of run_in_base_dir from old [build-settings]
2466 Added spacing to build commands dialog
2468 Removed run in base path option from project dialog and added button to
2469 set working directories to d the same.
2472 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
2475 Re-incorporated toolbar changes in trunk accidently excluded in merge
2477 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2480 Fixed substitute %f etc in commands
2481 Fixed potential leak in build_replace_placeholder
2482 Fixed leak in prepare_run_script (Thanks for patch Thomas)
2483 Fixed build_replace_placeholder to not require document.
2485 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2487 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
2488 Fixed crash and lots of warnings, deleted some commented out code.
2489 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
2490 Removed make command from preferences and associated code
2492 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
2494 * src/build.c, src/build.h
2495 Incorporated patch for working directory field (thanks Thomas)
2496 Removed run_in_base_dir option and associated code that it replaces
2497 Improved handling of old config files and mapping to new ones.
2499 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
2501 * src/build.h, src/build.c
2502 Changed to itterate over entries in build commands dialog to allow
2503 additional fields to be added
2504 Implement support for multiple run commands
2505 * data/filetypes.latex
2506 Implement configured commands and labels for latex.
2509 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2511 * src/build.h, src/build.c
2512 added dialog support for error regular expressions from multiple sources
2513 and storing and loading them
2514 fixed some typos and memory leaks
2515 * src/filetypes.c, src/filetypes.h, project.c
2516 added support for using error regexes from multiple sources
2519 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2521 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2523 Removal of build menu item source made redundant by the following fix
2525 Corrected priority oreder and loading of filetype dependent build
2526 menu items saved in the project file. Added print routine for
2527 debugging command sources and priorities set compile symbol
2528 PRINTBUILDCMDS true to enable
2530 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2533 fixed problem loading old format filetype files, some formatting fixes
2534 fixed saving new format files
2535 added operation for clear button on build commands dialog
2537 fixed loading and saving filetype files
2540 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2542 Configurable Build Menu Changes
2544 * doc/geany.html, doc/geany.txt:
2545 Updated build menu section to new functionality
2546 * src/build.h, src/build.c:
2547 Largly re-written, configurability added, Latex code removed
2548 * src/filetypes.h, src/filetypes.c:
2549 Filetype structure updated to add new command pointers, configuration
2550 load and store changed
2551 * src/keybindings.h, src/keybindings.c:
2552 Changed to address new command storage structure.
2554 Changed to load/store new configuration.
2556 Minor change to initialisation order.
2558 Changed to address new menu item storage structure.
2559 * src/project.h, src/project.c:
2560 Changed to load/store the new configuration info.
2562 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2564 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2565 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2566 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2567 plugins/splitwindow.c:
2568 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2569 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2570 the ABI when adding fields to them.
2571 Add plugin_set_key_group() for plugins to dynamically set a
2572 keybinding group (e.g. for the Lua script plugin). Used in Split
2573 Window plugin as an example.
2574 Improve keybinding docs a little.
2577 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2579 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2580 Add geanyfunctions.h to API docs.
2581 * plugins/splitwindow.c:
2582 Set the cursor color for the split window.
2585 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2588 Fix 'Open Selected File' for unsaved new documents.
2589 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2590 Fix updating main menu accelerators after changing keybindings
2591 (thanks to Lex Trotman).
2593 Fix using 'Insert date' keybinding when a custom date string has
2595 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2596 Merge Plugin and GeanyPluginPrivate structs.
2599 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2601 * src/keybindings.c:
2602 Fix non-working Home and End keys on numpads.
2605 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2607 * doc/geany.txt, doc/geany.html, NEWS:
2608 Add 'Scope autocompletion' section.
2609 Add 'Tools menu items' section to explain configuration files
2610 submenu, reload configuration item.
2611 Minor updates/fixes.
2614 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2617 Add a translation hint to an ambiguous format string.
2619 Add missing include path to fix 'make distcheck'.
2621 Fix opening of local files in the browser on Windows.
2622 * New release: Geany 0.18 "Kaine".
2623 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2624 src/geany.h, doc/geany.html, doc/geany.txt:
2625 Post-release version bump.
2628 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2631 Temporarily disable reshowing calltips when the autocompletion
2632 list was closed implicitly by not choosing an item to fix
2633 problems with wrongly displayed calltips.
2635 Add missing 'coding' cookie to the Python filetype template.
2636 * doc/images/pref_dialog_edit_completions.png,
2637 doc/images/pref_dialog_toolbar.png:
2638 Update images for Geany 0.18.
2641 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2644 Add command '--hackingdoc' to create the HTML form of the
2648 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2650 * po/pt_PT.po, po/LINGUAS:
2651 Added a first Portugese (Portugal) translation based on work done at
2652 launchpad by e.g. André Glória and Alexandre Jesus.
2653 * src/main.c: Fix a minor typo on --help call.
2656 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2658 * src/highlighting.c:
2659 Call get_keyfile_wordchars() in highlighting_init_styles().
2662 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2664 * data/filetypes.ada:
2666 * src/keybindings.c:
2667 Switching notebook tabs now works for the currently used notebook
2668 widget instead of always using the documents notebook.
2669 * src/document.c, src/document.h, src/documentprivate.h,
2671 Small corrections to some API docs.
2674 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2676 * src/build.c, src/win32.h, src/win32.c:
2677 Expand system environment variables (%variableName%) on Windows when
2678 running Build commands.
2681 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2683 * src/keybindings.c:
2684 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2685 future using an indent block is more useful e.g. for ChangeLog
2687 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2688 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2689 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2690 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2691 tagmanager/parsers.h, tagmanager/makefile.win32,
2692 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2693 Add Markdown filetype (patch by Jon Strait, thanks).
2694 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2695 Fix disconnecting plugin signal id when not using geany_object.
2697 Add filetype_make_title() instead of using:
2698 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2699 It also supports "%s file" strings.
2702 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2704 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2705 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2706 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2707 plugins/filebrowser.c:
2708 Add plugin_signal_connect() for connecting plugin signals at
2709 runtime and also for connecting to any GObject signal.
2710 Add 'Plugin Utility Functions' on main page.
2711 Add foreach_array() macro.
2712 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2713 src/document.c, src/editor.c:
2714 Rename 3 sci functions to sci_set_target_start(),
2715 sci_set_target_end(), sci_replace_target() to match the SCI_
2719 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2721 * wscript: Fix compiling error with waf.
2724 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2726 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2727 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2728 src/Makefile.am, wscript:
2729 Move plugin_* utility functions to pluginutils.c.
2730 Add pluginprivate.h.
2732 Fix reshowing calltip in the wrong document.
2735 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2737 * doc/geany.txt, doc/geany.html:
2738 Add some general information about auto-completion capabilities
2739 (patch by Lex Trotman, thanks).
2742 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2744 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2745 Added a first Slovenian translation. Thanks to Joze Klepec.
2748 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2750 * src/highlighting.c:
2751 Use full styleset_foo[_init] function name as argument to
2752 init_styleset_case() and styleset_case() macros so it's easier to
2753 understand the code.
2754 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2755 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2756 doc/geany.txt, doc/geany.html:
2757 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2758 Heavily based on a patch by Eugene Arshinov (thanks).
2759 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2760 editor_strip_line_trailing_spaces().
2763 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2766 Attempt to fix reshowing calltips after the autocompletion list
2768 Reshow calltips also when the autocompletion list was closed
2769 implicitly by not choosing an item.
2771 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2773 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2774 plugins/splitwindow.c:
2775 Change utils_str_remove_chars() to work in place; fix allocating on
2776 the stack (the string length could exhaust the stack size).
2777 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2778 src/printing.c, src/callbacks.c:
2779 Rename utils_str_replace() utils_str_replace_all(), setting a
2780 'gchar **haystack' argument instead of returning a new string.
2782 For the Tabs indent type, remove spaces when unindenting (only) if
2783 there are no tabs on the line.
2784 Group undo actions for (un)indenting of multiple lines.
2785 * src/document.c, src/editor.c:
2786 Fix scrolling horizontally after finding a search match with the
2787 search bar or Find Next/Previous which is off-screen.
2788 * src/keybindings.c:
2789 Fix GLib warning when pressing a key with no documents open.
2792 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2795 Start unifying usage of @a and @c markup elements in API docs,
2797 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2798 Show/hide the toolbar without a restart when the setting in the
2799 preferences dialog is changed (closes #2824785).
2800 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2801 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2802 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2804 Continue unifying usage of @a and @c markup elements in API docs.
2807 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2810 Remove relative/untidy path elements when creating new documents
2811 with a filename (e.g. from the command-line) (#2823998).
2814 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2817 Disable 'Recent Projects' menu item if the list of recent projects
2820 Fix some harmless compiler warnings.
2821 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2822 src/plugins.c, src/utils.c, src/utils.h:
2823 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2824 src/utils.c and add it to the plugin API.
2825 Make utils_str_remove_chars() work on a new copy of the input string
2826 instead of modifying it in place.
2828 Remove underscores from the toolbar items labels.
2831 * plugins/splitwindow.c:
2832 Fix broken 'Show the current document' tool button icon.
2835 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2837 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2839 Add stash_group_add_widget_property() so we can save any widget's
2840 read/write properties.
2841 Use Stash for ui_prefs.sidebar_page setting.
2842 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2843 Make foreach_ptr_array() use an integer argument for its
2844 implementation, as this is more useful potentially than a gpointer*
2845 argument, and more straightforward.
2846 Add foreach_c_array(), foreach_ptr_array() to API.
2847 * src/utils.c, src/utils.h, src/document.c:
2848 Remove relative/untidy path elements when opening documents (closes
2851 Fix showing project name for documents list files with no
2852 subdirectory (oops).
2854 Fix checking whether to overwrite when using the Rename button in
2855 the 'Save As' dialog.
2858 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2861 Don't use the main window as parent for dialog boxes if it is not
2863 Set titles for message dialogs.
2866 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2869 Display item labels instead of raw names in the toolbar editor.
2870 Apply changes in the toolbar editor instantly.
2871 Show icons in the toolbar editor.
2872 Speed up toolbar editor dialog creation.
2874 Improve inserting of comment templates like File header or licence
2875 notices. The comment information are now read from the filetype
2876 configuration files.
2878 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2881 Enable file monitoring for files which are written to disk by Geany
2884 Fix broken special case handling when detecting filetypes from a
2885 shebang or other special file headers.
2888 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2891 Make Mark All keybinding clear search highlighting when there's no
2894 Fix wrong match length when using Mark with regex.
2895 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2896 src/keyfile.c, src/main.c:
2897 Add 'Show Paths' documents list popup item.
2898 Add "load_settings" core-only signal emitted just after loading
2899 main keyfile settings; useful to delay building UI elements until
2900 settings have been read.
2902 Fix GTK warning when right-clicking on default tag tree.
2903 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2904 Add treeviews_finalize().
2905 Remove tv.popup_openfiles field.
2908 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2910 * src/highlighting.c:
2911 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2914 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2917 Quote the uri before passing it to the browser when opening a
2918 website (closes #2818635).
2920 Fix broken 'builtin' Run command for HTML files on Windows.
2923 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2926 Properly fix wrong brace highlighting of non-brace character.
2928 Allow autocompletion in Perl double-quoted strings.
2929 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2930 Don't autocomplete in Perl q() strings.
2931 * data/filetypes.common:
2932 Make Mark highlighting brighter.
2933 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2934 Use hyphen for auto-feature terms.
2935 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2936 src/document.h, src/main.c:
2937 Add documents_foreach() API macro that skips invalid docs.
2938 Make filetypes[], documents[] part of the API again.
2939 Add GEANY() macro for sharing geany symbols between API and core.
2940 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2941 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2942 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2943 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2944 plugins/classbuilder.c, wscript:
2945 Add geanyplugin.h single include for plugin API; update all core
2947 Add sci_set_font() to API.
2948 Update plugin howto.
2949 * src/filetypes.c, src/filetypes.h:
2950 Remove filetypes_foreach_named().
2953 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2955 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2956 src/document.h, src/main.c, THANKS:
2957 Apply patch from Eugene Arshinov to reload color schemes via menu
2960 Reload filetypes.common after saving it.
2962 Improve wrong brace highlighting of non-brace character.
2965 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2968 Delay highlighting matching braces by 100ms, which speeds up
2969 scrolling with the arrow keys.
2970 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2971 Add 'Mark All' keybinding.
2972 * tagmanager/diff.c:
2973 Show relative paths in diff filename tags.
2976 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2978 * src/highlighting.c:
2979 Fix setting keyword list 'classes' for Haxe
2980 (pointed out by Andreas Mokros, thanks).
2983 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2985 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2986 doc/geany.txt, doc/geany.html, geany.glade:
2987 Add 'Drop rest of word on completion' pref.
2988 * src/editor.c, doc/geany.txt, doc/geany.html:
2989 If autocompletion is already visible when forcing completion, show
2990 document word completion instead of tag completion.
2991 Docs: Minor edits of related prefs items.
2992 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2993 Add warning when printing and editor font is not monospaced.
2994 Fix using GtkMessageType instead of gint param for
2995 dialogs_show_msgbox*().
2996 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2998 Support 'tab indents, space aligns' style for auto-indentation
3002 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3004 * src/document.c, src/documentprivate.h:
3005 Rework the GIO based file monitoring code. Now it is used only
3006 to indicate a possible change of the file, the real check if the
3007 file has been changed is performed by stat().
3008 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
3009 Add style 'line_height' to increase the line height.
3010 Add style 'marker_mark' and change style 'marker_search' to
3011 define the style used for marked search results.
3012 * doc/geany.txt, doc/geany.html:
3013 Add the new 'Autocomplete all words in document' pref to the docs.
3016 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3018 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3019 doc/geany.txt, doc/geany.html, geany.glade, TODO:
3020 Add 'Autocomplete all words in document' pref.
3021 Use 'autocompletion' in dialog and docs, not 'auto completion'.
3023 Fix limiting number of word completion entries too much.
3024 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
3025 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
3026 Show autocompletion icons for tag symbols - for now only tags with
3027 an arglist have the 'function/method' icon, all others have the
3029 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
3031 * src/highlighting.c:
3032 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
3036 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3038 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
3039 Fix removing underscores in translated string using no_underscore()
3041 Set a tooltip for the Split Window plugin's Show Current tool button.
3042 Add utils_strdupa() macro.
3043 * src/interface.c, geany.glade:
3044 Use stock Select All icon now we have >= GTK 2.8.
3046 Fix using project name for document items that start with the
3047 project base path but don't match it e.g. ".../geany-plugins"
3048 instead of ".../geany" when project name is 'geany'.
3051 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3054 Fix warnings when the toolbar does not contain the Run button.
3056 Fix wrong parsing of complex expressions in the Lua parser.
3057 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
3059 Remove unnecessary enums.
3060 * scintilla/*, scintilla/include/*, src/plugindata.h:
3061 Update Scintilla to version 1.79.
3062 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
3064 Use the new Scintilla struct names prefixed with 'Sci_'.
3065 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
3067 Add second argument to the 'line_wrap_indent' styling setting to
3068 control the new Scintilla indentation mode for wrapped lines.
3070 Properly close the toolbar editor on delete-events.
3071 Fix warnings and possible crashes in the toolbar editor when the list
3072 of displayed toolbar items is empty.
3073 * data/filetypes.tcl:
3074 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
3076 Make the plugin manager dialog a bit bigger.
3079 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3081 * doc/geany.html, doc/geany.txt:
3082 Fix wrong default values for the 'Show Calltip' keybinding.
3085 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3087 * data/filetypes.tcl, src/symbols.c:
3088 Fix duplicate "context_action_cmd" key.
3089 Use different icons for "Methods" and "Procedures" in the symbol
3092 Fix a small memory leak.
3093 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
3094 src/keybindings.h, src/plugindata.h:
3095 Make the Scintilla keybindings 'Delete to end of line' and
3096 'Go to end of display line' configurable.
3098 Fix a typo (closes #2813624).
3101 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3103 * tagmanager/tcl.c, src/symbol.c:
3104 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
3105 methods and namespaces).
3106 Patch by Witek Mozga, thanks.
3109 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3111 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
3112 src/toolbar.c, src/toolbar.h:
3113 Remove ui_toolbar.xml Configuration Files menu item.
3114 Add a real toolbar editor dialog.
3115 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3117 Add a button in the preferences dialog and an item for the toolbar
3118 popup menu to run the toolbar editor dialog.
3121 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3124 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
3125 Fix using locale encoding for default Save As dialog path.
3127 Beep when trying to activate the '...' autocompletion item.
3128 Limit (forced) document word completion to
3129 autocompletion_max_entries.
3130 Beep if no completions are shown when forcing autocompletion.
3133 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3135 * data/ui_toolbar.xml, src/toolbar.c:
3136 Add 'Build' toolbar button to the default layout.
3139 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3142 If forcing autocompletion and there's nothing else to show, complete
3143 from words in the current document (using code from Enrico's
3144 'AutoComplete Test' plugin).
3147 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3150 Add debug message if plugin has not set a name for its keybinding
3152 * data/filetype_extensions.conf:
3153 Add *.m4 for shell scripts.
3156 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3158 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3159 data/filetypes.common, TODO:
3160 Make filetypes.common named styles use the "default" named style for
3161 all missing style fields.
3162 Set named styles to usually leave the background style empty. This
3163 currently allows C-like filetypes to have a common default
3165 Allow hard-coded colors to use -1 for the default color.
3166 Add some highlighting style examples to the manual.
3169 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3172 Create initial template files with proper platform-specific line
3176 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3178 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
3179 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
3180 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
3181 src/ui_utils.c, src/ui_utils.h:
3182 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
3184 Refactor some related code.
3185 * tagmanager/conf.c:
3186 Strip trailing spaces from "Key" tags.
3188 Quote the full filename to the Geany executable when creating the
3189 "Open with Geany" context menu item.
3190 * plugins/splitwindow.c:
3191 Avoid using deprecated GTK API.
3192 * src/log.c, src/main.c:
3193 Properly clean up the logging mechanism.
3195 Fix LaTeX view commands on Windows (part of #2807688).
3197 Add a popup menu for the keybinding list in the preferences dialog
3198 to easily expand and collapse all groups.
3199 Refactor the keybindings code for the preferences dialog, prefix all
3201 * src/main.c, src/ui_utils.c, src/ui_utils.h:
3202 Init stock items before creating the toolbar (closes #2809324).
3204 Generate the geany.pc file also on Windows.
3206 Invert the logic to determine which Save All we want to use:
3207 Use the Tango like icon only for the Tango theme and the Gnome / GTK
3208 like icon for any other themes.
3211 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3213 * src/highlighting.c, README.Packagers, HACKING:
3214 Remove gsd_* default styles, use named styles instead.
3215 Note: this relies on filetypes.common being installed.
3216 Add load_style_entries(), which makes style initialization
3217 simpler, used in styleset_c_like_init().
3220 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3223 Prevent possible crash on Windows when not setting an initial
3224 directory for native File Open/Save dialogs.
3225 * data/filetypes.xml, src/highlighting.c:
3226 Add style 'jscript_regex' for filetype HTML
3227 (patch by Chris Macksey, thanks).
3230 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3232 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
3233 Make GeanyDocument::file_type always be non-NULL, even for a new
3234 document with no filetype set.
3236 Only autocomplete scope for scopes matching the current filetype's
3238 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
3239 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
3240 data/filetypes.actionscript, data/filetypes.cs,
3241 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
3242 data/filetypes.javascript, HACKING:
3243 Make C++, D lexer filetypes use named styles (apart from uuid,
3244 verbatim, regex styles).
3247 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3250 Don't explicitly change the current directory of the Save As dialog
3251 so that it uses the last used directory.
3254 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3256 * src/encodings.c, src/encodings.h, src/plugindata.h:
3257 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
3260 When completing from the macro list, put the cursor after
3264 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3266 * tagmanager/pascal.c:
3267 Fix type definitions being parsed as functions.
3269 Don't autocomplete in unterminated strings as well.
3270 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
3271 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
3272 Remove data_ptr argument to foreach_[s]list() macros, as using
3273 node->data is enough sometimes; this makes the macro a bit more
3275 Add foreach_[s]list() macros to the plugin API docs.
3278 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3280 * scintilla/LexPascal.cxx:
3281 Backport fix from Scintilla CVS:
3282 Pascal lexer hanging on file that starts with 'interface' after
3286 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3289 Update Waf to 1.5.7.
3291 Overwrite installation prefix on Windows only if it wasn't
3292 specified explicitly.
3295 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3298 Display calltips for Pascal symbols in the Pascal way (#2803945).
3299 * tagmanager/pascal.c:
3300 Fix wrongly set return values for procedures (closes #2803945).
3301 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
3302 tagmanager/include/tm_source_file.h,
3303 tagmanager/include/tm_workspace.h:
3304 Fix doxygen warnings.
3307 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3309 * src/editor.c, tagmanager/include/tm_workspace.h,
3310 tagmanager/tm_workspace.c, TODO:
3311 Autocomplete scoped fields like struct members when typing '.' (and
3312 also '->' or '::' in C/C++).
3313 Save all tag types for C/C++ when generating a global tags file, so
3314 we can use autocompletion for structs also.
3315 Merge tm_workspace_find_scope_members(),
3316 tm_workspace_find_namespace_members() (currently not built) from
3317 Anjuta 2.24.1 tagmanager.
3320 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3322 * tagmanager/pascal.c:
3323 Parse Pascal calltips (closes #2802640).
3326 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3328 * src/filetypes.c, src/ui_utils.c:
3329 Add filetypes.common Configuration Files menu item.
3332 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3335 Add backslash to the wordchars on Windows when using
3336 'Open Selected File'.
3338 Add support (configure, build and install) for building on Windows
3339 and cross-compiling for Windows using the Waf build system.
3342 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3345 Set status bar text instead of showing a dialog when saving
3346 ui_toolbar.xml because the user might save several times.
3348 Fix redrawing due to colourising just after the document is first
3349 drawn. Now colourising should happen before the first draw.
3350 * src/utils.c, src/highlighting.c, data/filetypes.common:
3351 Fix segfault on parsing a filetypes.* style definition that has < 4
3353 Allow style definitions to have missing fields to use the default
3357 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3359 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
3360 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
3361 * plugins/classbuilder.c:
3362 Fix wrongly created header guards when the class filenames contains
3363 dashes (patch by PCMan, thanks).
3364 * data/filetypes.matlab:
3365 Add build_settings section to allow executing Matlab scripts.
3367 When closing a document, mark it as invalid before removing it from
3368 the documents notebook (this fixes wrong Save All button state when
3369 closing an unsaved document because the "switch-page" signal handler
3370 was using old data).
3373 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3375 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3376 Support toggling bold/italic when using a named style, e.g.:
3377 commentdockeyword=commentdoc,bold,italic
3378 Improve named style docs.
3381 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3383 * src/build.c, src/editor.c:
3384 Fix crashes when parsing the output of a compiler which reports
3388 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3390 * src/highlighting.c:
3391 Support named styles also for filetypes.common [styling] entries.
3392 * doc/geany.txt, doc/geany.html, HACKING:
3393 Update docs for named styles in filetypes.* files.
3395 Fix grouping symbol list children when parent name has "." character
3396 in for reStructuredText and Conf filetypes.
3397 * tagmanager/python.c:
3398 Fix grouping functions/classes under a nested function.
3401 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3404 Adjust icon paths (patch by Dominic Hopf, thanks).
3405 * doc/geany.txt, doc/geany.html, src/toolbar.c:
3406 Add 'Replace' toolbar button (closes #2798225).
3409 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3411 * src/utils.c, src/highlighting.c, TODO:
3412 Implement named styles support for filetypes.* using a
3413 filetypes.common [named_styles] section e.g.:
3414 foo=0xc00000;0xffffff;false;true
3416 These can be used in e.g. filetypes.c as:
3420 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3423 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
3426 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3428 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
3429 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
3432 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3435 Remove quote_executable() as it is not used anymore.
3436 When creating the geany_run_script.bat use the "%0" variable
3437 expansion and quote it for the "del" command (closes #2797172).
3439 On Windows, fallback to the literal build command line if searching
3440 for the command in the system path failed (related to #2795923).
3441 Properly terminate the resulting strings when reading the stdout
3442 and stderr of any spawned commands on Windows.
3445 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3448 Use the wide character versions of native Windows File dialogs.
3450 Fix wrong initialisation of the default project path button callback
3451 in the preferences dialog.
3452 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
3453 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
3454 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
3455 icons/Makefile.am, icons/geany.ico, icons/scalable,
3456 icons/scalable/Makefile.am, icons/scalable/geany.svg,
3458 Move the icons geany.png and geany.ico into the icons directory.
3459 Add a 16x16 pixel Geany icon and the scalable SVG icon.
3460 Drop the pixmaps directory.
3463 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3465 * src/keybindings.c:
3466 Improve MRU document switching so there are no duplicates in the
3467 list and documents switched to whilst the dialog is open are
3468 ignored. Also beep when cycling through to the first document in the
3472 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3475 Fix broken 'Cancel' button in the Save As dialog.
3478 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3481 Fix multiline indent when selection covers text on the last line.
3483 Show current document in bold in tab popup menu.
3484 * src/editor.c, tagmanager/python.c, TODO:
3485 Parse Python calltips.
3488 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3490 * src/symbols.c, tagmanager/python.c:
3491 Parse Python import statements to get symbol completion for the
3492 imported module names.
3493 * src/editor.c, src/editor.h:
3494 Make some only locally used functions static.
3495 Fix wrong sanity check.
3497 Fix quoting the build command string on Windows (closes #2791769).
3498 This broke when we made build commands run synchronously on Windows,
3499 now we don't need to special quote the commands anymore.
3502 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3505 Drop rest of word to the right of cursor when autocompleting (do we
3506 need a pref for this?).
3509 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3511 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3512 Add sci_set_selection().
3513 * doc/geany.txt, doc/geany.html:
3514 Update manual for MRU switching.
3515 * src/callbacks.c, src/editor.c, src/editor.h:
3516 Make indenting with the Tabs indent type preserve spaces on the line,
3517 so it works for the 'tab indents, space aligns' formatting style.
3520 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3522 * tagmanager/python.c:
3523 Fix missing symbols for variables when an equal sign is used
3524 in a comment on the same line as the variable declaration.
3525 Backport change from CTags SVN to keep the parser more in sync:
3526 Add support for Cython constructs to the Python parser.
3528 Remember the additional Find in Files search flags at startup.
3530 Don't close the Save As dialog when saving the file didn't succeed.
3533 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3536 Remember scribble cursor position.
3537 * src/keybindings.c, TODO:
3538 Implement Most-Recently-Used document switching when pressing
3539 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3542 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3544 * data/latex.tags: Added some more commands from unit.sty and
3548 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3550 * src/symbols.c, doc/geany.txt, doc/geany.html,
3551 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3552 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3553 tagmanager/Makefile.am, wscript:
3554 Merge unstable branch:
3555 Add reStructuredText scope information for tags (for symbol list
3557 Read custom system global tags files from $prefix/share/geany/tags;
3559 Show the number of tags in a user global tags file (instead of the
3560 running total) in the debug message.
3561 Also print debug messages when loading a tag file manually or for
3562 default global tags files e.g. python.tags.
3564 Move NestingLevel tags code into a separate file, add functions.
3566 Add 'Installation prefix' section instead of quoting '/usr/local'
3568 Update for custom system global tags files.
3571 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3573 * src/highlighting.c:
3574 Unset maybe previously keywords when setting up Scintilla for
3575 XML files. This fixed wrong highlighting after switching back to
3576 filetype XML from another one.
3578 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3579 is only used when explicitly requested.
3581 Remove unnecessary call to g_intern_string() to fix build with
3582 GLib 2.8 (closes #2790051).
3585 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3588 Make the clear icon of entry fields act on the release event, not
3589 on the press event like for other buttons.
3591 Refactor some multiple used code into get_multiline_comment_style().
3593 Create parent directories if necessary when checking for the
3594 configuration directory on startup (closes #2784577).
3597 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3599 * plugins/filebrowser.c:
3600 When a filter is set, apply it only to files, not directories and
3601 apply the filter to the UTF-8 name of the file as the filter string
3602 itself is also UTF-8.
3603 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3604 Add utils_color_invert() and use it in highlighting.c and printing.c.
3605 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3606 Backport change from Scintilla CVS:
3607 Change capitalisation of header file to suit cross-compilation on
3611 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3613 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3614 Update Scintilla to version 1.78.
3615 * src/editor.c, src/highlighting.c:
3616 Update Pascal styles as they changed in Scintilla.
3619 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3622 Ignore the invert syntax highlighting colours setting when printing
3623 to not print characters on a dark background (closes #2785244).
3624 * New release: Geany 0.17 "Wessex".
3625 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3626 src/geany.h, doc/geany.html, doc/geany.txt:
3627 Post-release version bump.
3630 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3632 * src/callbacks.c, src/callbacks.h, src/main.c:
3633 Update the View->Fullscreen menu item when fullscreen state is
3634 changed externally (e.g. by the window manager).
3636 Fix passing wrong pointer to the File Open dialog for the Run
3637 command in the Project Properties dialog.
3640 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3642 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3644 Remember the active sidebar page between sessions.
3646 Add a recent project item after creating a new project.
3647 * tagmanager/ruby.c:
3648 Fix wrong parsing of string literals (closes #2781264).
3650 Fix setting focus to the editor widget after changing the selection
3654 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3657 Prevent crashes when two or more top level items in the symbol
3658 list have the same name (closes #2778246).
3661 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3663 * src/keybindings.c:
3664 Manually show the main notebook tab bar menu when Shift-F10 is
3665 pressed. This broke when we disabled the default GTK tab bar menu.
3667 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3668 which was reloaded shortly before.
3670 When the editor menu is opened by the Menu key, use the text cursor
3671 position for retrieving the current word. This fixes disabled
3672 Go to Tag items in the menu (#2780044).
3674 Set the "ellipsize" property of GtkCellRendererText to automatically
3675 shorten the path and file names in the Documents list.
3676 * doc/geany.html, doc/geany.txt, src/build.h:
3677 Increase the amount of highlighted build error messages to 100.
3678 At least for LaTeX we need higher values as there is a lot of
3679 informative output before any errors are reported.
3680 * src/filebrowser.c:
3681 Use the startup path as the initial directory for the filebrowser
3682 plugin when no project and no files are opened
3683 (patch by Matias Gea, thanks; closes #2780521).
3686 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3688 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3689 src/utils.c, src/utils.h:
3690 Ellipsize tab labels and some status messages for very long
3691 filenames (closes #2777348).
3692 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3693 Add utils_str_middle_truncate() and
3694 document_get_basename_for_display() to the plugin API.
3695 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3696 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3697 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3699 Add a hidden preference 'use_safe_file_saving' to save files to disk
3700 by creating a temporary file first. This has serious side effects,
3701 please read the documentation before enabling this.
3703 Make build commands on Windows run synchronously to avoid problems
3704 with reading build commands' output.
3705 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3706 Limit the amount of highlighted build error messages in the
3707 Compiler window to 50 for performance reasons.
3710 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3712 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3714 Replace our own GEANY_KEYS_MODIFIER_MASK by
3715 gtk_accelerator_get_default_mod_mask() which gives the same result.
3716 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3717 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3718 Add a trivial symbol parser for NSIS files.
3721 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3724 Hide the extra file open dialog options in an expander to make the
3725 dialog more compact by default and to provide more space for the
3727 Remove the filename field as it is also provided by GTK itself with
3728 more features like auto-completion.
3729 Watch the 'show-hidden' property of the file chooser widget using
3730 GObject's "notify" signal which gives accurate results and remove
3731 the hack using the "selection-changed" signal.
3734 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3736 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3737 Prevent double execution of radio menu item "activate" or "toggled"
3739 Move 'Set Encoding' callback function into encodings.c.
3742 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3745 Add some missing 'void's in function definitions.
3746 If the project base path is './', just use the path of the project
3747 config file instead of appending './'.
3748 * src/treeviews.c, src/project.c:
3749 When a project is loaded, replace the project base path with the
3750 project name in the Documents sidebar for parent items
3754 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3756 * src/keyfile.c, src/keyfile.h, src/project.c:
3757 Fix duplicating the recent files and projects lists when closing
3759 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3760 src/editor.c, src/encodings.c, src/filetypes.c,
3761 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3762 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3763 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3764 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3765 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3766 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3767 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3769 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3770 sense to keep the code more readable.
3773 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3776 When updating global type definitions for opened documents, take
3777 also C++ namespace symbols into account and don't ignore symbols
3778 which are defined inside a scope.
3781 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3784 Don't show 'plugin is not binary compatible' messages on the status
3785 bar, only the status window.
3788 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3791 When opening files from a remote instance on X11, set the window
3792 server time to encourage window managers to pop up the main window
3793 (related to #2735467 and #2276179).
3795 When finished sending filenames to a remote instance, notify the
3796 environment that we finished starting up.
3799 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3801 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3802 Sort Configuration Files menu.
3803 Add ui_menu_sort_by_label().
3804 Add foreach_list() macro.
3809 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3812 Fix setting a wrong default window size when starting without an
3813 existing configuration.
3814 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3815 Make editor_highlight_braces() static.
3816 Remove unused wrapper functions.
3817 * src/editor.c, src/symbols.c, src/symbols.h:
3818 Prevent showing an empty macro list.
3819 Show only macros of the same filetype instead of all macros of all
3822 Don't add opened project files to the GtkRecentManager.
3825 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3828 Add Configuration Files item for snippets.conf.
3829 * src/highlighting.c, src/symbols.c:
3830 Fix 2 old uses of filetype IDs.
3833 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3835 * src/interface.c, src/printing.c, geany.glade:
3836 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3839 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3842 Add sanity checks in ui_lookup_widget() just to be safe.
3843 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3844 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3845 src/project.h, src/ui_utils.c, src/ui_utils.h:
3846 Add "Recent Projects" menu to the Project menu
3847 (#2728630, patch by Elias Pschernig, thanks).
3848 * doc/geany.txt, doc/geany.html:
3849 Describe how to build Geany using the Waf build system.
3850 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3851 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3852 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3853 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3854 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3855 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3856 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3857 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3858 src/utils.c, src/utils.h, src/vte.c:
3859 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3860 performance when building the code with gcc.
3861 * src/highlighting.c:
3862 Fix typo in the G_LIKELY checks, introduced in last commit.
3863 Fix the size of the styles array.
3865 Show a message dialog when renaming a file fails.
3868 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3871 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3872 (as we did for all other files in SVN r3382).
3875 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3877 * src/filetypes.c, doc/geany.txt:
3878 Move ActionScript to the Script group.
3880 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3881 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3882 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3883 plugins/htmlchars.c:
3884 Merge reorder-filetypes branch:
3885 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3886 append randomly without breaking the ABI).
3887 Make None filetype name = title = _("None").
3888 Add foreach_slist() macro.
3889 Add filetypes_by_title list to GeanyData for plugin API access
3890 - a list of filetype pointers, which includes the None filetype
3891 first. This list stays constant by the time plugins are initialized,
3892 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3893 index the sorted list.
3896 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3898 * doc/geany.txt, doc/geany.html, src/main.c:
3899 Add widget names for the menubar and toolbar.
3901 When hiding the messages window, set the input focus back to the
3902 editor widget (part of #1910393).
3905 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3907 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3908 Backport recent changes from Scintilla CVS to add partial support
3909 for RFC2822 styled text using the Properties lexer.
3910 Ignore leading whitespace for config files and RFC2822 text.
3911 * data/filetypes.actionscript:
3912 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3913 * THANKS, src/treeviews.c:
3914 Display file/directory icons in the Documents sidebar
3915 (patch by Simon Treny, thanks).
3918 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3920 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3921 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3922 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3923 Add an option to allow appending the toolbar to the main menu bar
3924 to save some vertical space.
3925 Allow setting toolbar icon size to very small (menu icon size).
3928 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3930 * src/keyfile.c, src/utils.c, src/utils.h:
3931 Add utils_path_skip_root(), a relative path safe variant of
3932 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3933 * src/keyfile.c, src/main.c:
3934 Allow negative window coordinates when saving and restoring the
3935 position of the main window.
3936 Restore the main window position and size *after* the window has
3937 been realised to get it positioned accordingly
3938 (this affects at least Windows).
3941 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3943 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3944 Use g_win32_get_package_installation_directory_of_module() on Windows
3945 with newer GLib versions instead of deprecated API.
3946 * src/keybindings.c:
3947 Don't manage the last used documents list when quitting to prevent
3948 errors by accessing invalid memory (may close #2533990).
3951 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3954 Delete the geany_run_script.sh immediately after execution
3955 to prevent leaking old copies when the script was quit unexpectedly
3956 (closes #2710482, patch by Martin Olsson, thanks).
3958 Check whether skipping the root element of a document's filename
3959 succeeded and use the filename itself if not (e.g. on relative
3960 filenames, #2702844).
3961 Use the locale encoded filename when saving session files.
3963 Re-set the quitting status after all documents have been closed on
3967 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3969 * plugins/htmlchars.c:
3970 Remove usage of deprecated sci_get_selected_text() from plugin.
3973 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3976 Delay disk file checks when switching between documents a little
3977 bit to avoid fast, unintentional page switching in some cases.
3978 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3979 src/sciwrappers.c, src/sciwrappers.h:
3980 Deprecate sci_get_text(), sci_get_selected_text() and
3981 sci_get_text_range().
3982 Add sci_get_contents(), sci_get_contents_range() and
3983 sci_get_selection_contents() as replacement functions to provide
3984 an easier and cleaner API (initial patch by Frank).
3987 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3990 Fix wrong parsing of CSS tags when the definition block starts on
3991 a new line (reported by Dominic Hopf, thanks).
3994 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3996 * plugins/htmlchars.c:
3997 Extend plugin by feature to bulk replace and replace on input for
3998 special characters to their HTML entities.
4001 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4004 Update build menu items after changing anything in the
4005 'Set Includes and Arguments' dialog.
4006 Disable Compile/Run buttons/menu items when Compile/Run commands are
4008 Reset current build directory to the base directory after reading a
4009 "Leaving directory" message when parsing Make output
4010 (closes #2694479, patch by Andrea Mazzoleni, thanks).
4012 Fix wrong display of the filename in the tab bar menu for new files.
4014 Set the initial directory for the Save As dialog only once on
4016 Add a shortcut of the project's base directory to the
4017 File Open/Save As dialogs when a project is open for faster access.
4018 * src/splitwindow.c:
4019 Add keybindings for the split actions.
4022 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4025 When using Find All in the Find dialog (in Session and Document),
4026 display the right amount of matches.
4027 Fix the display of the matches once per line (I broke the original
4030 Fix wrong directory selection behaviour in all Open Folder dialogs
4031 (closes #2688020, patch by Marcel Stimberg, thanks).
4033 Don't present the main window of a running instance when starting
4034 a second instance separately.
4037 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4040 Reduce default file permissions on the Unix Domain socket file
4041 (reported by Jörg Sommer, thanks).
4044 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4046 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
4047 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
4049 Add an option to set an additional plugin lookup path.
4051 When using Find All in the Find dialog, display matches only once
4052 per line in the messages window (patch by Bert Vermeulen, thanks).
4055 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4057 * data/filetype_extensions.conf, data/filetypes.actionscript,
4058 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
4059 src/highlighting.c, src/plugindata.h, src/symbols.c,
4060 tagmanager/Makefile.am, tagmanager/actionscript.c,
4061 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
4062 Add filetype ActionScript (patch by Chris Macksey, thanks).
4063 Update type keywords only for real C-like languages.
4064 Fix wrong sorting of Assembler and Ada filetypes.
4065 * plugins/classbuilder.c:
4066 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
4067 Other minor cleanups.
4070 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4073 Don't use menu item images for the tab bar menu to save some
4075 * data/filetypes.fortran, tagmanager/fortran.c:
4076 Add keyword 'extends' and fix Fortran parser to support the
4077 'extends' keyword (closes #2654492).
4078 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
4079 src/search.c, src/toolbar.c:
4083 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4085 * src/about.c, THANKS:
4086 Added Jari Rahkonen to list of Finnish translators.
4089 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4092 Adjust minimum required GTK version.
4093 * src/Makefile.am, wscript:
4094 Add main.h to the list of installed header files.
4095 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
4096 src/notebook.c, src/ui_utils.c:
4097 Remove GeanyDocumentPrivate::tabmenu_label.
4098 Disable the default tab bar menu for the main notebook widget and
4099 use a custom menu instead which lists all open files as usual plus
4100 'Close Other Documents' and 'Close All' menu items.
4103 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4105 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
4106 Move ui_set_search_entry_background() into ui_utils.c.
4107 Change the background colour of the search entries in the Find
4108 and Replace dialogs according to the search results like in the
4109 toolbar search field.
4110 Add images to the 'Replace' and 'Replace and Find' buttons in the
4112 Minor cleanups in search.c.
4113 * tagmanager/tm_source_file.c:
4114 Update source files upon creation.
4116 Update C tags for glibc 2.9.
4117 * src/callbacks.c, src/toolbar.c:
4118 Fix broken non-incremental search with the toolbar search entry when
4119 pressing Enter (closes #2638180).
4120 * plugins/splitwindow.c:
4121 Fix possible crash on non-32-bit systems (patch by
4122 Wolfgang Ocker, thanks).
4124 Update the Packager tag due to Dominic's various contributions.
4125 Update description and feature list.
4126 Change Source tag to the gzip'ed tarball to be in sync with the
4127 Makefile target (thanks to Wolfgang Ocker for reporting).
4130 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4132 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
4133 Removed deprecated plugin VC Diff
4136 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4139 Fix wrong Fortran 90 comment characters when inserting templates.
4140 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4141 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
4142 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
4144 Add 'Send Selection to Terminal' command to the Edit->Format menu
4145 (initial patch by David Gleich, thanks).
4146 * geany.glade, src/interface.c:
4147 Fix mnemonic for the Edit->Preferences menu item.
4150 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4152 * configure.in, plugins/Makefile.am:
4153 Enable socket support when cross-compiling.
4154 Enable plugin compilation when cross-compiling.
4156 Fix missing NULL checks when reading the colour value of compiler
4158 * src/main.c, src/win32.c, src/win32.h:
4159 On Windows, change the working directory to the Geany installation
4160 path at startup to avoid unwanted directory locking(closes #2626124).
4162 Fix broken selection of "Document->Set Encoding" menu items.
4163 * src/document.c, tagmanager/include/tm_source_file.h,
4164 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
4165 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
4166 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
4167 Don't let the tagmanager automatically reparse files if they
4168 seem to be changed on disk (affects all files in the current session,
4169 not the current one). This should speed up file saving a little bit,
4170 especially with remote files.
4171 Remove now unnecessary calls to tm_workspace_update().
4173 Allow an empty value for the date format in the print settings to
4174 omit the date/time string in the print header.
4177 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4179 * src/editor.c: Set cursor for LaTeX at auto closing of environment
4183 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4186 Add missing header include (closes #2615808).
4189 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4192 Fix a possible crash when comparing symbol names
4193 (could be related to Ubuntu bug #147151).
4194 Fix broken symbol list tooltips when tag names contain ampersands.
4197 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4199 * plugins/makefile.win32:
4200 Don't build Split Window plugin on Windows (doesn't work).
4203 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4205 * ChangeLog, Makefile.am: Rotate ChangeLog.
4206 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
4207 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
4208 Post-release version bump.
4211 *** See ChangeLog.pre-0-17 for earlier changes ***