1 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
4 Fix not loading plugins built against a newer API when Geany doesn't
5 provide the required version given in PLUGIN_VERSION_CHECK().
6 Improve documentation for PLUGIN_VERSION_CHECK().
9 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
12 Align notebook tab close buttons centred vertically - thanks to
16 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
19 Add doc/stash-example.c to fix 'make distcheck'.
21 Change the RequestExecutionLevel for the Windows installer to
23 * New release: Geany 0.19 "Vellam".
26 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
29 Group undo action for Insert Multiline Comment.
32 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
35 Don't individually install data/*.tags as all data/* files will be
39 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
41 * tagmanager/tm_project.c:
42 Fix a double free. (patch by Daniel Marjamaki, thanks).
45 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
47 * tagmanager/tm_workspace.c:
48 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
50 Fix reducing paths to project name in the Documents list
51 (patch by Eugene Arshinov, thanks).
53 Fix crash when trying to sort NULL pointers as tags in the Symbols
54 list (closes #3011986).
55 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
56 Update Scintilla to version 2.12.
57 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
58 scintilla/LexCrontab.cxx:
59 Remove unused Crontab lexer.
60 * data/filetypes.css, src/highlighting.c:
61 Add new style "media" for filetype CSS.
64 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
66 * doc/geany.txt, doc/geany.html:
67 Build section: minor rewording, formatting fixes; move some
71 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
74 Explicitly try to localise build menu item labels with
75 gettext to enforce getting default labels translated.
76 * tagmanager/tm_workspace.c:
77 Fix not closed FILE pointer on early exit
78 (patch by Daniel Marjamaki, thanks).
80 Update images for Geany 0.19.
82 Destroy the default symbol list treeview only once
83 (fixes gtk_widget_destroy warning on exit).
86 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
89 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
91 Fix parsing of C++ classes contain attributes with bitfields
92 (patch by Lex Trotman, thanks).
93 * src/plugindata.h, src/plugins.c:
94 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
95 plugins' meta information can be translated already in the
96 plugin manager dialog (patch by Colomban Wendling, thanks).
99 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
102 Print locale information in debug output.
104 Fix some labels which were marked as translatable but were not
105 handled properly by gettext().
108 Try to convert text into UTF-8 before adding it to the Compiler and
109 Messages Window (closes #3007919).
112 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
114 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
116 Pass G_LOG_DOMAIN to source files for better logging.
119 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
121 * THANKS, src/about.c:
122 Update of translation credits to reflect a change on Spanish
123 translation team better.
126 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
129 Fix infinite loop reading build command output
132 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
135 Fix duplicate accelerators for Clear and Copy in the
136 Messages Window popup menu.
138 Expand child widgets in the Plugin Preferences dialog
139 (patch by Colomban Wendling, thanks).
142 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
145 Fix Undo/Redo button state after the last document has been closed.
146 Add Print and Replace toolbar items to the list of document
149 Fix crash when the toolbar is reloaded without any open documents.
151 Fix Run toolbar item sensitivity after the last document has been
153 * plugins/classbuilder.c:
154 Remove two unnecessary g_strdups().
155 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
156 src/plugindata.h, src/ui_utils.h:
157 Add hidden preference to disable automatic scrolling in the
158 Compiler tab (closes #3004714).
161 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
163 * plugins/classbuilder.c:
164 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
167 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
169 * src/prefs.c, src/project.c:
170 win32.h can be included unconditionally.
172 Fix project base_path detection if the path has a trailing slash.
173 * src/document.c, src/editor.c, src/project.c:
174 Small improvements to speed up quit process with many open documents.
175 Avoid calling gtk_notebook_remove_page() on exit as it takes
177 * src/geanymenubuttonaction.c:
178 Explicitly check for the type when iterating the action's proxies.
179 For some reason on Windows, a GtkImageMenuItem proxy is created.
180 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
181 src/plugindata.h, scintilla/*, scintilla/include/*:
182 Update Scintilla to version 2.11.
183 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
185 Add new GTK define also for Mingw cross compilation and
186 makefile.win32 based Windows builds.
187 * plugins/filebrowser.c:
188 Implement reading and evaluating hidden file attribute on Windows.
189 Fix broken "Go Up" if the current path ends with a slash.
190 * THANKS, src/about.c, src/prefix.c:
191 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
192 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
193 src/main.c, src/notebook.c, src/prefs.c:
194 Add preference to add new document tabs beside the current one
195 (patch by Colomban Wendling, thanks).
196 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
197 src/keyfile.c, src/prefs.c, src/ui_utils.h:
198 Add a preference for choosing between GTK and native
199 File Open/Save dialogs (only available on Windows).
200 * doc/geany.html, doc/geany.txt:
201 Update documentation.
204 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
207 Sort file filters for the native Windows file open dialog by name.
208 Don't use file filters for the native Windows Save As dialog.
209 * src/dialogs.c, src/win32.c, src/win32.h:
211 Pass and use also parent and title arguments to
212 win32_show_document_open_dialog().
214 Call handle_save_as() only when the Save As dialog was not cancelled.
216 Improve adding/removing of the special separator between menubar and
217 toolbar when the toolbar is appended to the menubar.
218 * src/toolbar.c, src/templates.c:
219 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
220 not trigger updating the menus on each item removal.
223 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
226 Replace one non breaking space by normal space. Patch by
230 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
232 * plugins/classbuilder.c:
233 Don't make the 'Create Class' menu item document-sensitive
234 (patch by Colomban Wendling, thanks).
235 Add namespace support for GTK+ classes.
236 Add GET_CLASS() macro for GTK+ classes.
237 Add typedef of the private structure in the header file instead
239 (all the above from a patch by Colomban Wendling, thanks).
240 * src/highlighting.c:
241 Set common default "fold.comment" to 0 to disable it. This can
242 be overridden if desired.
244 Improve sorting of document list items
245 (patch by Colomban Wendling, thanks).
247 Remove unnecessary textdomain() call.
250 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
253 Fix search_find_text not returning -1 when match is out of range.
254 This fixes invalid memory reads and wrong template filename
255 wildcard replacement.
256 * src/search.c, src/document.c:
257 Only replace template filename matching start of word on saving.
258 * plugins/filebrowser.c:
259 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
260 * src/build.c, src/build.h, src/project.c:
261 Make some ugly build.h global variables static.
262 * src/build.c, src/build.h, src/project.c:
263 Add Build prefix for TableFields, TableData.
266 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
269 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
270 * src/dialogs.c, src/win32.c, src/win32.h:
271 (Re-)Implement a (still basic) native Windows Save As dialog when
272 compiled with GEANY_USE_WIN32_DIALOG.
275 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
277 * THANKS, src/about.c, plugins/classbuilder.c:
278 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
279 * src/ui_utils.h, src/ui_utils.c:
280 Add public, generic callback ui_editable_insert_text_callback()
281 to restrict GtkEntry text inputs to +/- and numeric values only.
282 * src/dialogs.h, src/dialogs.c:
283 Add special variant dialogs_show_input_goto_line() to use a normal
284 GtkEntry together with dialogs_show_input_goto_line() for text input.
285 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
286 Allow '+<number' and '-<number>' as values for Goto Line inputs
287 to jump relative to the current line (closes #2997238).
290 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
292 * src/highlighting.c:
293 Apply foreground and background colours of the folding margin
294 style properly (closes #2998347).
296 Don't auto-close short XML tags (closes #2994852).
297 * THANKS, src/about.c, src/keybindings.c:
298 Improve jumping to matching braces by consistently position the
299 cursor before or after the matching brace dependent where it
300 was before (patch by Dimitar Zhekov, thanks).
302 Fix crash when generating global tags files (patch by Colomban
306 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
309 Avoid connecting signals more than once.
312 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
315 Don't ignore the 'intltool' check on non-Windows systems, instead
316 raise a configure error.
319 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
322 Fix marking some strings as translatable (cannot be done in the
324 * src/templates.c, doc/geany.txt, doc/geany.html:
325 Reload templates if saving a document in the templates config dir.
328 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
330 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
332 Fix replacing {filename} template wildcard for custom file
333 templates with non-default file extension.
334 Add search_find_text() for POSIX regex searches.
335 * src/templates.c, doc/geany.txt, doc/geany.html:
336 Add {project}, {description} template wildcards (#2954737).
337 * doc/geany.txt, doc/geany.html:
338 Divide template wildcards into groups.
339 * src/plugindata.h, src/plugins.c, src/symbols.c,
340 plugins/geanyfunctions.h:
341 Add symbols_get_context_separator() to plugin API (patch by Colomban
345 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
348 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
349 Anonymous, thanks; #2995593).
350 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
351 plugins/geanyfunctions.h:
352 Add sci_set_line_indentation(), sci_get_line_indentation() to API
353 (patch by Colomban Wendling, thanks).
356 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
359 Warn user if hidden hard tab width setting is not 8.
362 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
364 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
365 doc/geany.txt, doc/geany.html:
366 Hide 'Tabs and Spaces: Hard tab width' preference - it should
367 always be 8. (Hidden setting kept in case users have modified it).
370 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
372 * doc/geany.txt, doc/geany.html:
373 Add Folding section link to filetypes.common custom settings.
376 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
379 When switching documents, don't call document_set_text_changed()
380 as this does much more than necessary. Instead call the necessary
381 UI update functions explicitly.
384 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
386 * tagmanager/vstring.c:
387 Fix invalid memory read (patch by Colomban Wendling, thanks).
390 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
392 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
393 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
394 strings in case of reaching the buffer size limit (part of #2979697).
396 Change the limit for the command line length when executing commands
397 to a maximum of 32768 characters (closes #2979697).
398 Fix broken opening URLs e.g. when using the 'builtin' Run command.
399 * tagmanager/ctags.c:
400 Change eFree() to simply ignore NULL pointers instead of asserting.
402 Remove malloc() fallback since we completely rely on g_malloc()
404 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
405 plugins/saveactions.c:
406 Make string arguments const where appropriate (patch by
407 Colomban Wendling, thanks).
408 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
409 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
410 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
411 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
412 src/symbols.c, src/templates.c, src/ui_utils.c:
413 Make string arguments const where appropriate (patch by
414 Colomban Wendling, thanks).
417 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
419 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
420 Make plugin_signal_connect() string argument const (patch by
421 Colomban Wendling, thanks).
422 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
423 Constify some more string pointers in the API (patch by
424 Colomban Wendling, thanks).
425 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
427 Support {pc} wildcard in snippets to escape percent char.
429 Recalculate line margin width when zooming (fixes #2990553).
430 * src/highlighting.c, doc/geany.txt, doc/geany.html,
431 data/filetypes.common:
432 Support more folding icon styles: arrows, +/- and no lines
436 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
439 Fix Windows build by properly guarding Unix-only code.
442 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
444 * src/templates.c, doc/geany.txt, doc/geany.html:
445 Support {ob} and {cb} in fileheader and file templates; they are
446 replaced last with { and }. This allows 'escaping' of wildcard
448 * src/editor.c, plugins/classbuilder.c:
449 Fix Class Builder plugin to use correct indentation instead of
451 Make editor_insert_text_block() only replace leading tabs for the
452 'Tabs' indent type; also group edits for undo.
453 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
455 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
458 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
460 * tagmanager/pascal.c:
461 More fixes to prevent possible crashes by trying to free NULL
464 Automatically show and hide the sidebar notebook tabs according
465 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
467 Add a static global variable to monitor autocompletion mode in order
468 to prevent cancellation of the struct/class (C/C++) auto completion
469 list (patch by Thomas Martitz, thanks).
471 When starting and trying to access the Unix Domain socket of a
472 potentially running instance, first compare file ownership with the
473 user id of the running process to prevent accessing a wrong socket
474 file (part of #2985463, this might not yet be the final solution).
477 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
479 * plugins/filebrowser.c:
480 Synchronize popup menu and plugin preferences dialog 'Show Hidden
481 Files' option (fixes #2989288).
484 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
486 * tagmanager/entry.c, tagmanager/entry.h,
487 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
488 tagmanager/parse.h, tagmanager/tm_source_file.c:
489 Add tm_source_file_set_tag_arglist() to manually set the argument
491 * tagmanager/python.c:
492 Use tm_source_file_set_tag_arglist() to set the argument list
493 field of Python class tags to the argument list of their
495 Backport a fix from CTags SVN to prevent possible crashes by trying
496 to free NULL pointers.
499 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
501 * tagmanager/txt2tags.c:
502 Remove duplicate code from Txt2Tags parser.
503 Remove the title control characters ('=') when parsing titles.
504 Also parse numbered titles (closes #2984703).
505 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
507 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
508 Add missing documentation for 'Reset Zoom' keybinding.
510 Another attempt to fix the PHP parser regexp for parsing functions.
511 Fix wrong parsing of function arguments when those contain nested
512 brackets (as reported by Harold Aling).
514 Fix Ctrl-Click on notebook tab if Numpad is active.
517 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
519 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
520 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
521 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
522 src/ui_utils.c, src/ui_utils.h:
523 Add option 'System Default' for toolbar icon style and size to
524 use the GTK default value.
525 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
526 src/toolbar.c, src/toolbar.h:
527 Shorten the toolbar popup menu, only provide items for Toolbar
528 Preferences and to Hide the toolbar.
530 Instantly update the toolbar icon size and style when the
531 corresponding global GTK settings are changed.
532 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
533 src/plugindata.h, src/socket.c:
534 Add new command line option --list-documents to return a list
535 of currently opened documents (closes #2979933).
538 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
540 * plugins/htmlchars.c:
541 Make plugin remember whether replacement of special characters was
542 activated even after restart of Geany or reloading of plugin.
545 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
548 Fix inserting snippets with an indent when using Mac CR line
551 Update status bar after using Document->Set Line Endings.
553 Improve API docs for editor_insert_text_block().
556 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
559 Refactor snippets_complete_constructs().
560 Remove an unnecessary TODO.
562 Fix indenting a snippet when there is whitespace after the
566 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
568 * doc/geany.txt, doc/geany.html:
570 * src/build.c, src/msgwindow.c:
571 Fix disabled compiler message tracking if using indicators to
572 show build errors is disabled (closes #2982834).
575 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
577 * scintilla/Editor.cxx:
578 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
579 and SCI_GETSELECTIONEND with rectangular selections. This fixes
580 replacing in a rectangular selection.
583 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
586 Re-detect any document filetypes set to None after reloading
587 filetype extensions (closes #2979661).
589 Fix showing '...' item last instead of first for document word
593 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
595 * data/filetypes.perl:
596 Adjust Perl Compile command to use the -c command
597 line option to perform a syntax check instead of using the
598 deprecated ByteCompile module.
599 Add error_regex to parse error messages and warnings when performing
600 syntax checks on Perl files.
603 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
605 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
606 Add API docs for keybinding enums.
607 * src/notebook.c, doc/geany.txt, doc/geany.html:
608 Make Ctrl-click on any notebook tab switch to the last used
612 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
614 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
615 src/geanyentryaction.c, src/geanyentryaction.h,
616 src/geanywraplabel.c:
617 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
618 object for efficiency.
621 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
623 * plugins/classbuilder.c:
624 Beep if the user hasn't entered a class name on pressing OK.
626 Fix replacing '^' regex.
627 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
628 plugins/geanyfunctions.h:
629 Add Stash widget functions to API.
631 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
635 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
638 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
640 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
641 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
642 plugins/geanyfunctions.h, plugins/geanyplugin.h:
643 Add Stash setting functions to API.
644 Remove unnecessary argument to stash_group_load_from_file().
645 * src/geanyobject.c, plugins/classbuilder.c:
646 Don't generate FOO_GET_PRIVATE() macro because caching the result
647 in Foo::priv can be much more efficient.
650 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
653 Fix cursor positioning when toggling comments
654 (patch by Thomas Martitz, thanks).
657 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
659 * src/keybindings.[hc]:
660 Added Control+0 for zoom reset, see suggestion from #2969886.
663 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
665 * src/search.c, src/document.c:
666 Fix wrong selection range after Replace in Selection.
669 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
672 Make CreateChildProcess() working with Unicode strings, e.g.
673 directory names (closes #2972606).
675 Remove reference to already removed latex.tags file.
676 Future releases probably still depend on GTK 2.16.
677 * scintilla/ScintillaGTK.cxx:
678 Backport fix from Scintilla CVS to not paste text beyond the end
679 of lines (closes #2969096).
680 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
682 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
683 to not set Geany's minimum window size anymore (closes #2972992).
684 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
687 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
690 Make adding string and string vector settings initialise the setting
692 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
693 Add stash_group_load_from_file() and stash_group_save_to_file().
696 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
698 * data/filetypes.common:
699 Set default for wrapped lines to show marker at end of line only
700 (more expected and doesn't change line alignment - closes #2972386).
701 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
702 src/pluginutils.c, doc/plugins.dox:
703 Improve API docs contents page by listing all commonly-used files.
704 Fix 'Date' appearing twice on the date line.
705 Don't generate API docs for prefs.h, toolbar.h (unused).
706 Move some '@file' doc-comments to the .c file.
707 * src/interface.c, geany.glade:
708 Add frame for 'Printing' prefs dialog page.
709 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
710 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
712 Rename Stash data types to be independently named from Geany (so
713 Stash can be reused for other projects).
714 Rename GeanyPrefGroup to StashGroup.
717 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
719 * tagmanager/python.c:
720 Apply patch from Colomban Wendling to parse Python lambda functions
721 (thanks) - modified to only parse toplevel or class member lambdas.
722 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
724 Add doc-comments for Stash setting functions.
725 Add an example file showing usage of Stash.
726 (Not enabled yet until added to the plugin API).
729 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
732 Fix using return value without checking return status, caused
733 incorrect sensitivity settings on build dialog.
736 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
739 Add tip about gcc optimization & warnings/debugging.
741 Update Libraries section about synchronizing with other projects.
744 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
747 For now revert the recent patch which set real_path of newly
748 open non-existent configuration files as this seems hackish and
749 causes 'file not found' warnings.
751 Fix/Improve GIT repository detection
752 (patch by Thomas Martitz, thanks).
753 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
755 Add utils_copy_environment() to the plugin API.
758 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
760 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
761 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
763 Use 3rd person for more API dox.
764 Change 'This is a wrapper function for...' to 'Wraps...' in brief
766 Change 'After all...' to 'Afterwards...'.
767 * src/interface.c, geany.glade:
768 Apply patch from Eugene Arshinov to make frame packing/alignment
769 more consistent (thanks).
772 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
775 Fix ui_button_new_with_image() to call gtk_button_set_image() so
776 that gtk_button_[sg]et_label() work as expected.
777 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
778 Make Build Commands dialog show menu item labels as a button (to
779 help show that menu labels don't normally need to be edited &
780 display the mnemonic correctly). Clicking shows an input dialog to
781 set a new menu item label.
782 Split dialogs_show_input() into 2 functions: one simple, one for
784 Fix possible double-destroy of input dialog when closed by user.
786 Fix not destroying 'Make Custom Target' input dialog after first
789 Make Long Line Marker settings for existing projects default to
790 general settings instead of 0 (thanks to Eugene Arshinov).
791 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
792 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
793 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
794 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
795 Use 3rd person (gets not get) for API function brief descriptions.
796 Avoid using 'convenience function' in API brief descriptions.
799 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
801 * doc/geany.txt, doc/geany.html:
802 Warn about some GNU extensions for regular expressions & clarify
804 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
805 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
806 src/editor.h, geany.glade:
807 Apply patch from Eugene Arshinov to add project long line marker
808 customisation (thanks).
809 * src/interface.c, geany.glade:
810 Edit/tidy 'Long line marker' labels.
813 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
815 * src/build.c, src/project.c:
816 Fix crash due to NULL in project build preferences (thanks to
820 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
822 * src/utils.c, src/utils.h, src/search.c, src/search.h,
823 src/document.c, doc/geany.txt, doc/geany.html:
824 Merge gnu-regex branch:
825 Use POSIX system/GNU regex engine for find & replace 'Use regular
826 expressions' option. This alters regex syntax a bit - see the docs
827 for details; we now support '?' operator and replacement backslash
828 escaping is more standard.
829 Make regex search imply replacing escaped chars.
830 Allow \0 backreference replacement for the whole match.
831 Note: Replace All may be slower; if this is a problem please let me
834 Add argument to utils_str_replace_escape() for keeping
835 uninterpreted backslash escapes e.g. '\\', '\e'.
836 * scintilla/LexMarkdown.cxx:
837 Backport minor formatting/style changes from Scintilla project.
838 * doc/geany.txt, doc/geany.html:
839 Remove warning about no visual indication for zero-column-mode
843 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
846 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
849 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
851 * wscript, scintilla/*, scintilla/include/*:
852 Update Scintilla to version 2.03.
853 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
854 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
855 Add preference for virtual spaces.
857 Fix wrong default response for the Debug Messages dialog.
859 Fix crashes when using Save As with no open files (closes #2964406).
861 Fix duplicate mnemonics on 'Resave missing file' dialog, also
862 move the question from the secondary to the main text to be
863 more compatible with the Gnome HIG.
864 Fix broken 'Save' action in 'Resave missing file' dialog.
866 Improve PHP parser to parse also the argument lists of PHP functions.
868 Correctly set the parent widget for the keybinding overwrite
871 Fix setting the icon for some dialogs if the parent itself is also
874 When editing non-existent config files using the Tools->Configuration
875 Files menu, explicitly set the real_path to avoid presenting the Save
876 As dialog when saving the file (patch by Tony Rick, thanks).
878 Focus the editor widget after hiding the sidebar when it had the
879 input focus (patch by Can Koy, thanks).
880 Properly show/hide the mesages window when using the View menu item
882 * plugins/filebrowser.c:
883 After opening files, focus the editor widget
884 (based on a patch by Can Koy, thanks).
885 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
886 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
887 src/ui_utils.h, src/vte.c:
888 Add and use convenience function ui_is_keyval_enter_or_return() and
889 add it to the plugin API.
892 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
894 * src/about.c, THANKS, po/ast.po:
895 Added Asturian translation. Thanks to Marcos Costales for providing.
898 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
901 Fix keyboard accelerators in debug messages window
905 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
907 * scintilla/LexR.cxx:
908 Backport R lexer from Scintilla CVS to fix case sensitive keywords
909 (Scintilla bug #2956543).
910 * src/sidebar.c, src/about.c, THANKS:
911 Make Space on the symbol and document list not focus the editor
912 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
913 * src/document.c, src/document.h:
914 Fix document_try_focus() to make it work with the sidebar document
916 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
917 Make Space on the compiler and messages widgets not focus the editor
918 widget while Enter does (patch by Can Koy, thanks).
920 Fix wrongly auto-detected multiline comments
921 (patch by Eugene Arshinov, thanks).
924 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
927 Show number of lines of current document inside statusbar. Thanks to
928 Can Koy for providing the patch.
931 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
933 * src/keybindings.c, doc/geany.txt, doc/geany.html:
934 Make Switch to Editor keybinding reshow the document statistics
935 line, so user doesn't have to move the cursor.
938 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
941 Update keywords for the R language (patch by Jon Senior, thanks).
944 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
947 Fix the instruction how to insert unicode characters
951 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
953 * scripts/create_py_tags.py:
955 Replace tabs by spaces.
958 Replace tabs by spaces.
959 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
960 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
961 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
962 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
963 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
964 src/plugindata.h, src/sidebar.c, src/sidebar.h:
965 Add keybindings to switch to the sidebar's Document and Symbol list
966 as well as to the Message Window's current tab
967 (patch by Eugene Arshinov, thanks).
969 Update primary keywords for the R language
970 (patch by Jon Senior, thanks).
973 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
976 Add more detailed hints about reloading configuration
977 (thanks to Tony Rick).
978 * data/filetypes.javascript:
979 Correct the keyword list for JavaScript (thanks to Jonas).
982 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
984 * New release: Geany 0.18.1 "Balfour".
987 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
990 Add special cases for handling the Select All keybinding (Ctrl-A) in
991 the toolbar search and goto line text entries (closes #2948040).
992 Strip trailing spaces after reflowing a paragraph, patch by
993 Dominik Wagenfuehr, thanks (closes #2945497).
996 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
998 * src/geanymenubuttonaction.c, src/templates.c:
999 Partly revert last commit:
1000 Unref the new files toolbar menu when freeing templates as it
1001 was done before but unref it *after* the menu has been removed
1002 from the GeanyMenuButtonAction.
1004 Fix possible endless loop when trying to detect the encoding of
1005 non-text files (patch by Alexey Antipov, thanks).
1008 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1011 Allow saving remote files using g_file_set_contents() as well
1012 (patch by Алексей Антипов, thanks).
1013 * data/filetypes.python:
1014 Adjust style for secondary keywords to be less aggressive.
1015 Add Python 2.5 builtins keywords.
1016 * src/geanymenubuttonaction.c, src/templates.c:
1017 Unref the new files toolbar menu when setting a new menu to fix
1018 possible crashes when reloading configuration.
1020 When reloading configuration, process the current document at last
1021 so the symbol list will be updated correctly.
1024 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1027 Explicitly read filetype configuration files before generating
1028 global tags to get settings for custom filetypes.
1031 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1034 Fix GLib warning when toggling 'no plugins available' item.
1037 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1039 * icons/Makefile.am:
1040 Include geany.ico in the distribution tarball.
1042 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
1043 * scripts/create_py_tags.py:
1044 Make the script a bit more robust with newer Python versions.
1046 Use utils_spawn_sync() instead of g_spawn_sync().
1049 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1052 Close meta tag for export date properly.
1055 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1058 Update RPM Spec file (patch by Dominic Hopf, thanks).
1061 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1064 Fix renaming sci_send_message(), sci_send_command() function
1068 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1070 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
1071 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
1072 plugins/geanyfunctions.h, plugins/Makefile.am,
1073 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
1074 Use full function name for GeanyFunctions function pointers. This
1075 avoids naming conflicts e.g. with C++'s 'new' keyword.
1076 Remove deprecated header pluginmacros.h - use geanyfunctions.h
1080 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1082 * src/utils.c, src/utils.h, src/vte.c:
1083 Add utils_copy_environment() and make use of it.
1084 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
1085 src/editor.c, src/templates.c, src/templates.h:
1086 Add new special template wildcard "{command:...}" to use the
1087 output of a command in templates.
1088 Adjust template functions to mostly work with GeanyDocuments.
1089 Minor cleanups in the template code.
1091 Replace the old icons with smiley icons from the Rodent icon theme.
1092 Fix showing the same icon for two or more slots.
1094 * src/editor.c, src/editor.h, src/keybindings.c:
1095 Rename fold_symbol_click() to editor_toggle_fold().
1096 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
1097 was used to respect the 'Fold/unfold all children' preference
1101 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1104 Prevent possible segfault in get_build_group().
1106 Fix GLib warning & beep if trying to insert multiline comment for a
1107 filetype that doesn't support it.
1110 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1113 Add gcc commands to build a plugin to the HowTo.
1114 * src/search.c, src/document.c, src/document.h:
1115 Show 'Replaced X matches in Y documents' message when using
1119 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1121 * scripts/plugin_test.c:
1122 Add a little test program which can load and test Geany plugins to
1123 verify it is loadable at runtime and all necessary symbols are
1125 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
1127 Add new signal: "geany-startup-complete" which is sent once all
1128 initialization and startup tasks has been done.
1129 * README.I18N, configure.ac, wscript, po/LINGUAS:
1130 Remove po/LINGUAS from the repository.
1131 Generate it automatically if needed by reading available
1132 message catalogs from the po directory.
1133 Also respect the LINGUAS environment variable properly.
1136 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1139 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
1143 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1145 * src/editor.c, src/templates.c, src/templates.h:
1146 Refactor templates_replace_all() into templates_replace_valist()
1147 to save some code duplication.
1150 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1152 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
1153 src/plugindata.h, src/plugins.c:
1154 Add editor_insert_text_block() to plugin API.
1157 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1160 Update copyright information.
1161 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1162 doc/geany.txt, doc/geany.html:
1163 Add keybinding to open the last closed tab (closes #2912692).
1166 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1168 * autogen.sh, configure.in, configure.ac:
1169 Rename configure.in to configure.ac.
1170 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
1172 Add sci_find_text() to the plugin API.
1173 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1174 src/interface.c, src/prefs.c:
1175 Add a checkbox in the preferences dialog to explicitly toggle
1176 the visibility of the sidebar (closes #2923340).
1179 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1181 * src/editor.c, src/plugins.c, src/plugindata.h,
1182 plugins/geanyfunctions.h:
1183 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
1184 editor_get_eol_char() to the plugin API.
1185 * src/callbacks.c, src/plugins.c, src/plugins.h:
1186 Fix sensitivity of the Edit->Plugin Preferences menu item
1187 if plugins are loaded which do not provide a configuration dialog.
1188 * scripts/create_py_tags.py:
1189 Rewrite and extend the Python tags parsing script to use
1190 Python's inspect module to read symbols from Python modules
1191 including scope information.
1192 * data/filetypes.restructuredtext:
1193 Add the default comment character sequence for reStructuredText.
1195 Show the Find/Goto dialogs if the corresponding toolbar buttons are
1196 clicked but their text fields are not part of the toolbar (#2920807).
1197 * data/filetypes.common, doc/geany.html, doc/geany.txt,
1199 Add new style to change foreground and background colours for
1200 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
1202 Remember the window position of the Find, Replace and Find in Files
1203 dialogs (closes #2877988).
1206 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
1209 Fix a minor typo inside plugin API reference.
1212 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1214 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
1215 Make dialogs_show_prompt() more flexible to take up to three
1216 button/response code pairs to be shown.
1217 Add a close button to the dialog when asking to Re-Save a
1219 (closes #2916954, based on a patch by Dominik Stadler, thanks).
1221 Fix LaTeX environment auto completion with CR/LF line endings.
1222 Add some sanity checks.
1224 When closing a document after it was deleted from the filesystem,
1225 don't ask whether it should be saved first.
1226 Mark the document only as changed if it is not closed afterwards.
1227 Prevent possible segfaults if the document was closed when it is
1228 missing from the filesystem.
1229 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
1230 src/msgwindow.h, src/prefs.c:
1231 Add MessageWindow::scribble and use it instead of searching the
1232 widget pointer everytime.
1233 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
1234 Add preferences for hiding single tabs from the messages window
1235 (no GUI preferences yet, still to be implemented).
1236 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1237 Set the correct parent window for the toolbar editor
1238 dialog (closes #2913334).
1239 * src/win32.c, src/win32.h, src/ui_utils.c:
1240 Rename win32_show_project_folder_dialog() to
1241 win32_show_folder_dialog() as it is not related and not used by any
1242 project management related code.
1243 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
1244 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
1245 as it is specialised for opening documents.
1246 Implement win32_show_file_dialog() as a generic file open dialog and
1247 use it with ui_path_box_new().
1250 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1253 Extend auto_latex() function to check whether an environment has been
1254 closed within the next lines to avoid auto adding double \end{}.
1256 Remove LaTeX tags from SVN. Can be found at
1257 http://download.geany.org/contrib/tags/ if needed.
1260 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1262 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
1263 Add document_need_save_as().
1264 Show the Save As also for documents created from filetype templates
1265 instead of saving them directly with the untitled filename.
1268 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1270 * geany.glade, src/interface.c:
1271 Move 'Send Selection to Terminal' menu item from Format to Commands
1274 When going to a build error, try the current document's path if
1275 the parsed filename doesn't exist. (This can happen when we receive
1276 build messages in the wrong order - after the 'Leaving directory'
1279 Refactor msgwin_goto_compiler_file_line().
1280 * src/interface.c, src/keybindings.c, geany.glade:
1281 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
1284 Refactor/reformat on_replace_dialog_response().
1287 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1290 Improve geany.spec (split the package into a binary and devel
1291 package, update BuildRequires and other minor improvements).
1292 Patch by Dominic Hopf, thanks.
1295 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1297 * src/filetypes.c, src/filetypes.h:
1298 Make group for custom filetypes.
1299 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
1300 Add custom filetype Genie.
1303 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1305 * src/highlighting.c:
1306 Highlight D & Java types from a global tags file.
1307 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1308 Add debug message warning if recursive lexer_filetype is set.
1309 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
1310 Remove duplicate sci_set_keywords(), make argument const.
1311 * src/highlighting.c:
1312 Only show debug message once if recursive lexer_filetype is set.
1313 Tidy highlighting_init_styles code for filetype None handling.
1314 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
1315 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
1316 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
1317 tagmanager/parsers.h, tagmanager/makefile.win32,
1318 tagmanager/verilog.c, tagmanager/Makefile.am,
1319 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
1320 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
1321 * src/highlighting.c:
1322 Fix segfault on startup (oops).
1323 * data/filetypes.verilog:
1324 Fix using common style colours for Verilog.
1327 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1329 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1330 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1331 Move C-like filetype properties into configuration files.
1332 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1334 Remove now unnecessary "styling_within_preprocessor" C style key.
1335 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1336 data/filetypes.glsl, data/filetypes.cs:
1337 Use lexer_filetype=C configuration file key instead of duplicate
1338 styleset functions for C++, C#, GLSL, Vala.
1341 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1343 * doc/geany.txt, doc/geany.html:
1344 Warn about not using BOM for configuration files (confuses GKeyFile
1345 parser, at least on my system).
1347 Add/improve debug messages for custom filetypes.
1350 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1353 Add a couple of further latex-beamer commands to list of LaTeX tags.
1356 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1358 * plugins/filebrowser.c:
1359 Add an in-entry clear icon to the filebrowser plugin's filter
1360 entry (patch by Dominic Hopf, thanks).
1361 * src/prefs.c, src/ui_utils.c:
1362 Fix two compiler warnings about possibly uninitialised variables.
1365 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1367 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
1368 plugins/geanyfunctions.h:
1369 Add main_is_realized() to the plugin API.
1370 * tagmanager/include/tm_tagmanager.h:
1371 Update partly outdated and wrong doc comment.
1372 * src/main.c, src/main.h, src/socket.c:
1373 Allow opening Geany projects remotely.
1374 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
1375 Add a hidden pref to allow executing text which was sent to the
1376 terminal directly, i.e. do not strip trailing newline characters.
1377 Also fix the stripping of trailing newline characters if there was
1381 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1383 * src/about.c, THANKS:
1384 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
1385 Kurt de Bree into section of previous translators.
1388 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1390 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
1391 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
1395 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1397 * src/highlighting.c:
1398 Make stylesets take a ft_id argument so they can be reused fully with
1399 custom filetypes, so custom styles and keywords can be set.
1400 * src/highlighting.c:
1401 Fix setting filetype properties when both the system and the user
1402 file have properties set.
1403 * src/symbols.c, tagmanager/vhdl.c:
1405 * src/highlighting.c:
1406 Fix lexer settings for custom filetypes.
1409 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1412 Remove duplicate regular expression for parsing classes.
1413 Fix and improve parsing of constants (patch by Harold Aling, thanks).
1414 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
1415 src/main.h, THANKS, src/about.c:
1416 Add new command line option "--socket-file" to be able to specify
1417 separate socket filenames for instances
1418 (closes #2896027, patch by Jörn Reder, thanks).
1419 * src/keybindings.c, src/keybindings.h:
1420 Add keybindings_check_event() to manually check GdkKeyEvents against
1421 Geany's keybindings.
1422 * src/callbacks.c, src/utils.c, src/utils.h:
1423 Add and use utils_get_help_url().
1424 * geany.glade, src/interface.c, src/prefs.c:
1425 Add a Help button to the preferences dialog.
1426 Handle Help keybinding events for the preferences dialog especially
1427 and open the manual with the corresponding anchor link to the current
1428 preferences page (same goes for the new Help button).
1431 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1433 * src/toolbar.c, src/geanymenubuttonaction.c,
1434 src/geanymenubuttonaction.h:
1435 Use separate tooltips for toolbar menu buttons and their attached
1437 * tagmanager/latex.c:
1438 Improve parsing of sections and chapters by ignoring shortnames
1439 like \section[shortname]{label} (closes #2890477).
1442 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1444 * src/geanymenubuttonaction.c:
1445 Try to fix Gtk warning when using Tools->Reload Configuration.
1448 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1450 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1451 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
1452 data/filetypes.pascal, data/filetypes.docbook,
1453 data/filetypes.python, data/filetypes.conf:
1454 Use filetypes.foo [lexer_properties] group instead of hardcoding
1455 lexer properties (more flexible e.g. for custom filetypes).
1456 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
1457 Replace filetypes.xml html_asp_default_language key with
1458 filetypes.html asp.default.language property in [lexer_properties]
1462 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1464 * doc/geany.txt, doc/geany.html:
1465 Fix slightly wrong description of how to insert Unicode characters.
1467 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
1468 ui_setup_open_button_callback().
1469 * src/prefs.c, src/prefs.c, src/vte.c:
1470 Refactor color and font button callback functions in the
1471 preferences dialog. Move the VTE related callback functions
1473 Make use of ui_setup_open_button_callback().
1475 Improve printing status texts (patch by Dominic Hopf, thanks).
1476 * src/prefs.c, src/vte.c:
1477 Use the default dialog title set by ui_setup_open_button_callback()
1478 to be more consistent and to save one string.
1481 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1484 Separate DKinds from CKinds.
1485 Don't generate macro tags for D, Java.
1488 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1490 * tagmanager/ctags.c, tagmanager/general.h:
1491 Make TagManager Assert statements cause g_warning on failure.
1492 * src/keybindings.c:
1493 Fix reflow paragraph command when cursor < anchor using
1494 sci_fix_selection().
1497 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1499 * tagmanager/perl.c:
1500 Fix Geany segfault with constant tags (#2895168).
1502 Fix invalid tree iter access when using tv_iters.tag_other but not
1503 using tv_iters.tag_variable.
1504 * HACKING, tagmanager/perl.c:
1505 Fix parsing Perl format statements ("other" type doesn't seem
1507 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
1508 Fix using "other" tag type.
1511 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1514 Remove useless comment about applying settings only when libvte.so
1515 could be loaded which is only displayed *if* libvte.so is loaded.
1517 Allow autocompletion for HTML entities even within a word.
1518 * src/geanymenubuttonaction.c:
1519 Only set the menu of the button if a non-empty GtkMenu is passed to
1520 geany_menu_button_action_set_menu() so the menu arrow keeps
1524 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1527 Fix parsing some Java code (e.g. filetypes.java) after r4407.
1530 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1533 Parse D functions with contracts (fixes #1885480).
1534 Parse D alias statement like typedef.
1535 (Ignore some more D keywords).
1537 Fix creating D interface tags properly.
1539 Parse contents of D extern{} and version{} blocks.
1542 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1548 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1550 * src/plugindata.h, HACKING:
1551 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
1554 Show number of files saved on status bar when using Save All.
1555 * src/highlighting.c:
1556 Use default color scheme if pref color scheme file doesn't exist.
1557 * src/keybindings.c:
1558 Fix moving correct lines after selecting whole line(s).
1561 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1563 * tagmanager/makefile.win32:
1564 Fix broken build on Windows because of a typo
1565 (patch by Timothy Boronczyk, thanks).
1568 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1570 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1572 Add 'View->Editor->Color Schemes' menu, for now only shown if color
1573 scheme files exist in a colorschemes config directory. Color scheme
1574 files must end in ".conf" and currently only the [named_styles]
1576 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1577 Add utils_get_config_files().
1578 * src/highlighting.c:
1579 Fix issue with default color not being reset if overridden with a
1580 system default color.
1581 * src/highlighting.c:
1582 Only reload filetype files when changing color scheme, not all
1583 configuration files.
1584 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1585 Deprecate documents_foreach() as it looks more like a function; use
1586 foreach_document() instead.
1587 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1590 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1592 * src/stash.c, src/stash.h:
1593 Use typedef instead of pointer for widget_id function arguments.
1596 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1598 * src/pluginutils.c:
1599 Don't expand Plugin Preferences page spacing vertically to fill the
1600 height of the dialog.
1601 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1602 geany.glade, plugins/splitwindow.c:
1603 Allow GeanyKeyBinding label field to contain underscores, which won't
1604 be displayed by Geany. This saves adding near-duplicate translation
1606 Add mnemonics for 3 Edit->Format menu items.
1607 Add keybindings_get_label().
1608 * src/interface.c, geany.glade:
1609 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1613 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1616 Desensitize Edit->Commands menu item when no docs are open.
1617 * src/interface.c, src/keybindings.c, src/callbacks.c,
1618 src/callbacks.h, geany.glade:
1619 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1620 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1621 Add general function sci_get_string() that works with any string
1622 buffer messages that follow the Windows message convention.
1623 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1624 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1625 src/pluginutils.c, src/pluginutils.h, geany.glade:
1626 Add 'Edit->Plugin Preferences' menu item and keybinding.
1627 Don't include plugindata.h in pluginutils.h because it redefines the
1628 GEANY() macro for plugin use.
1629 * doc/geany.txt, doc/geany.html:
1630 Update for Plugin Preferences keybinding.
1633 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1636 Sort document word completion list.
1637 * src/interface.c, src/keybindings.c, src/callbacks.c,
1638 src/callbacks.h, geany.glade:
1639 Add some useful commands to editor popup menu under "Commands"
1640 submenu (thanks to Lex).
1641 Move 'Duplicate line or selection' from Format -> Commands submenu.
1642 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1643 Enable switching the sidebar to the right on Windows again, as it
1644 apparently works after all.
1646 Fix using tab to autocomplete in some other situations that word part
1647 completion doesn't apply in.
1648 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1649 Add Edit->Commands submenu which is shared with the editor popup
1651 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1652 Change editor popup Commands submenu to start as child of menubar
1653 Edit menu, as this is more usual e.g. for keybindings initialization.
1654 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1656 Share a single Format submenu for menubar Edit and popup menu.
1659 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1662 Fix a compiler warning about an uninitialised variable.
1664 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1665 sciwrappers.h, build.h (for the Waf build system,
1666 accordingly to r4366).
1669 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1671 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1672 src/toolbar.c, src/toolbar.h:
1673 Add missing dox for types/files in the API.
1674 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1675 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1676 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1677 of functions not in the API).
1678 Warning: any plugins that include these headers should remove them.
1679 * src/build.c, src/build.h:
1680 Move function doc-comments to build.c so they stay in sync. Note:
1681 these functions are still not in the API.
1683 Add 'Doc-comments' plugin API subsection.
1684 * plugins/filebrowser.c:
1685 Fix packing configure widgets equally.
1686 Use spacing multiples of 6 as recommended by Gnome HIG.
1687 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1688 Disable switching the sidebar to the right on Windows as it will
1689 probably fail like the Split Window plugin.
1691 Improve 'Detect from file' indentation pref by ignoring lines with
1692 indentation wider than 24 characters as this is more likely to be
1693 alignment than indentation.
1696 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1698 * plugins/saveactions.c:
1699 Fix adding the filetype's default extension when using the
1700 Instant Save plugin (closes #2885142).
1702 Before looking for line and column numbers specified as part
1703 of a filename, ensure the file doesn't exist on disk. This allows
1704 opening of files like "test:0".
1706 Rename "select" variables into "selection" to avoid shadowed names.
1707 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1708 Add ui_widget_modify_font_from_string() and sci_goto_line()
1710 * plugins/filebrowser.c:
1711 Rename "select" variables into "selection" to avoid shadowed names.
1712 Make use of ui_widget_modify_font_from_string().
1715 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1717 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1718 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1720 Add sidebar position interface pref.
1723 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1725 * doc/geany.txt, doc/geany.html:
1726 Add missing underscores to links.
1729 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1731 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1732 Add 'Move line(s) up/down' keybindings.
1735 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1737 * src/build.c, src/build.h, src/filetypes.h:
1738 Include code for project filetype execute commands and fix bug in
1739 saving project filetypes list.
1740 * src/project.c, src/build.c, doc/geany.txt:
1741 Make non-project execute configuration save to filetypes not
1743 Fix closing of project failing to remove build commands dialog entry.
1746 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1748 * src/project.c, src/ui_utils.c:
1749 Set border width for project properties build table.
1750 * geany.glade, src/interface.c:
1751 Don't expand hard tab width alignment.
1754 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1756 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1757 doc/geany.txt, doc/geany.html:
1758 Support loading global tags files for custom filetypes.
1759 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1760 doc/geany.txt, doc/geany.html:
1761 Add 'Word part completion' keybinding so keys other than Tab can be
1762 used, or to clear/change the combination so Tab does full completion
1764 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1765 Add 'Select to previous/next word part' keybindings.
1766 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1767 Add 'Switch to Messages' focus keybinding.
1770 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1772 * doc/geany.txt, doc/geany.html:
1773 Add 'Custom filetypes' section.
1774 * src/filetypes.c, src/filetypes.h, src/document.c,
1775 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1776 tagmanager/include/tm_source_file.h:
1777 Add filetype "tag_parser" key so custom filetypes can use an existing
1779 Add tm_source_file_get_named_lang().
1780 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1782 Add filetype "lexer_filetype" key so custom filetypes can use an
1786 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1788 * THANKS, src/about.c:
1789 Add Xhacker Liu for his work at zh_CN translation to long list of
1793 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1795 * src/sciwrappers.c:
1796 Remove unnecessary line number margin padding.
1797 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1798 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1800 Improve word part autocompletion so AC list is not cancelled and
1801 reshown (this also stops the selection changing).
1802 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1804 Improve CamelCase word part autocompletion for runs of capital
1807 Don't complete snippets if there's a selection.
1810 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1813 Fix crash opening project when Geany started with no geany.conf.
1816 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1818 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1819 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1821 Add word part autocompletion for the current selected item when
1822 pressing Tab - Enter still completes normally.
1823 Add foreach_str() API macro.
1824 Temporarily modify scintilla to say if tab was used for
1826 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1827 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1828 plugins/classbuilder.c:
1829 Revert r4301 - utils_free_pointers() taking 4 arguments.
1830 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1831 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1832 plugins/splitwindow.c:
1833 Add highlighting_set_styles() to API, use for Split Window plugin so
1834 filetypes.common settings get set too.
1835 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1837 * src/document.c, src/editor.c, plugins/splitwindow.c:
1838 Call editor_apply_update_prefs() from editor_create_widget() so
1839 correct tab width and other settings are applied for Split Window
1843 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1845 * src/keybindings.c:
1846 Don't include trailing newlines when using reflow command.
1848 Add stock close buttons to notebook tab popup menu.
1849 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1850 plugins/geanyfunctions.h:
1851 Add document_get_notebook_page() to API.
1853 * data/templates/files/file.html, data/templates/files/file.php:
1854 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1855 * src/interface.c, src/ui_utils.c, geany.glade:
1856 Move Tools configuration items to top of menu.
1857 * src/keybindings.c, src/search.c:
1858 Fix warning when using Find in Files with no documents open; make
1859 keybinding work in this case.
1862 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1864 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1865 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1866 Make Split Window 'Show current document' button have a drop-down
1867 menu to select the other documents.
1868 Add new API function ui_menu_add_document_items().
1871 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1874 Fix sensitivity settings for compile and build toolbar items.
1877 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1880 Don't use filetype submenus for templates (slower to navigate, often
1881 only 1 per-filetype anyway).
1883 Put old filetype template menu items in 'Old' submenu as they should
1884 be removed after the 0.19 release.
1885 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1886 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1887 to be ignored if inappropriate so a later keybinding with the same
1888 key combination can intercept it. (Also group callbacks are usually
1889 tidier than separate callbacks).
1890 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1891 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1892 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1893 plugins/classbuilder.c:
1894 Make utils_free_pointers() take 4 arguments, add to API.
1895 * src/templates.c, src/tools.c, src/ui_utils.c:
1896 Fix memory leaks with gtk_container_get_children().
1899 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1902 Ensure that old style build config is not loaded if it does
1906 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1908 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1909 Added Galician translation.
1910 Thanks to José Manuel Castroagudín Silva.
1913 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1915 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1917 Apply set default encoding for existing files only if the files are
1918 non-Unicode (patch by Alexey Antipov, thanks).
1921 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1923 * src/highlighting.c:
1924 Move new_styleset() and preprocessor setup code into
1926 * src/highlighting.c:
1927 Call apply_filetype_properties() from styleset_c_like().
1930 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1932 * doc/geany.txt, doc/geany.html:
1933 Improve information about predefined keybindings which are
1934 commonly used across applications (patch by Lex Trotman, thanks).
1936 Enable embedded page setup properties in the (Unix) Print dialog
1937 on newer GTK versions (closes #2870596).
1938 * src/highlighting.c:
1939 Map global types (read from tags files) to keyword style for
1943 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1946 Fix wrong creation of filetype template menu items for custom
1948 * src/highlighting.c:
1949 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1951 Group 'New with template' items by filetype submenu (currently only
1953 Show custom file template items before filetype template items.
1954 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1956 Only use one 'New with template' submenu - reparent as needed.
1958 Don't create templates/filetype.none either.
1960 Warn if custom template file no longer exists.
1963 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1966 Add missing icon for Java packages in the Symbol List.
1969 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1971 * src/highlighting.c, data/filetypes.vala:
1972 Add Vala keywords to conf file.
1973 * src/templates.c, doc/geany.txt, doc/geany.html:
1974 Read custom file templates from $prefix/share/geany/templates/files
1975 as well as user dir.
1976 * src/templates.c, data/templates, data/templates/files,
1977 data/templates/files/file.rb, data/templates/files/file.html,
1978 data/templates/files/main.java, data/templates/files/main.c,
1979 data/templates/files/main.cxx, data/templates/files/file.php,
1980 data/templates/files/main.d, data/templates/files/program.pas,
1981 data/templates/files/main.py, data/templates/files/file.tex,
1982 wscript, Makefile.am:
1983 Move filetype template defaults into custom file template files.
1986 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1988 * src/symbols.c, tagmanager/perl.c:
1989 Change Perl tag parser to ctags SVN r601. This removes support for
1990 buggy local/my/our but it parses constant/format/labels and should
1991 be less buggy overall (closes #2861232).
1992 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1993 Add utils_get_file_list_full() which can optionally sort or include
1994 a full path for each list item.
1995 * src/utils.c, src/plugindata.h, src/plugins.c:
1996 Add utils_get_file_list_full() to API.
1999 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2001 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
2002 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
2003 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
2004 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
2005 po/POTFILES.in, wscript:
2006 Rename treeviews.[hc] -> sidebar.[hc].
2007 * data/filetypes.common:
2008 Remove unused [styling] arguments.
2009 * src/highlighting.c, data/filetypes.markdown,
2010 data/filetypes.restructuredtext:
2011 Remove style defaults from the code - just read them from
2012 configuration files.
2013 * src/highlighting.c, HACKING:
2014 Add apply_style_entries() to simplify implementing styleset_foo().
2015 * src/highlighting.c:
2016 Remove filetype keyword defaults from the code - just read them from
2017 configuration files.
2018 * src/highlighting.c:
2019 Add sci_set_keywords() wrapper.
2022 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2024 * scripts/create_py_tags.py:
2025 Make the code a bit more pythonic.
2026 * doc/images/build_menu_commands_dialog.png,
2027 doc/images/main_window.png:
2028 Add new images referenced in the documentation.
2029 * doc/geany.html, doc/geany.txt:
2030 Several documentation improvements (patch by Lex Trotman, thanks).
2031 * src/pluginutils.c:
2032 Fix setting the appropriate page of the combined plugins
2036 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2038 * src/keybindings.c:
2039 Only focus toolbar goto line entry when pressing keybinding if it's
2040 visible (patch by Eugene Arshinov, thanks).
2042 Focus editor after entering a number in the goto line toolbar entry.
2044 Use AC_PATH_PROG instead of which for portability (patch by Erik
2045 Southworth, thanks).
2047 Show plugins that only implement plugin_configure_single() in the
2048 multiple-configure dialog as a page with a configure button on it.
2049 Add padding for multiple-configure dialog.
2050 Make the multiple-configure dialog notebook tabs scrollable.
2051 * src/pluginutils.c, src/pluginutils.h:
2052 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
2053 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
2054 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
2055 plugins/geanyfunctions.h, plugins/filebrowser.c:
2056 Add plugin_show_configure() API utility function.
2057 Add File Browser popup menu 'Preferences' item.
2058 * src/highlighting.c:
2059 Add get_keyfile_ints() instead of using tmp_style hack.
2060 * src/highlighting.c, data/filetypes.xml:
2061 Change new html_asp_default_language markup pref to use integer,
2062 not hex in config file.
2063 Fix minor issue with changing pref back to 0.
2064 * src/highlighting.c:
2065 Fix possible segfault in get_keyfile_int() if key value is malformed.
2068 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2070 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
2071 Add "html_asp_default_language" pseudo style to filetypes.xml
2072 to allow setting the used language in embedded ASP code
2073 (patch by Ross McKay, thanks).
2074 * src/filetypes.xml:
2075 Update VBScript keywords (patch by Ross McKay, thanks).
2078 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2080 * src/keybindings.c, THANKS:
2081 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
2082 keybinding use line breaking column when enabled.
2084 Fix showing the document before reload dialog when opening an
2086 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
2087 Add plugin_configure_single() plugin symbol which is easier to
2088 implement than plugin_configure() but won't support a
2089 multiple-plugin configure dialog.
2091 Show multiple plugins in the 'Configure Plugins' dialog.
2094 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2096 * doc/geany.txt, doc/geany.html:
2097 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
2099 * doc/geany.txt, doc/geany.html:
2100 Add 'Toolbar entries' section.
2101 * doc/geany.txt, doc/geany.html:
2102 Update 'Go to line' keybinding description.
2103 * doc/geany.txt, doc/geany.html:
2104 Split keybinding table into group tables; update KB links.
2107 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2110 Fix compiler warnings about uninitialised variables.
2111 * src/callbacks.c, src/document.c:
2112 When reloading files, use the previously set encoding instead of
2113 detecting it again (closes #2862041).
2115 Turn on automake silent rules if supported.
2118 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2121 Speed up sorting in utils_get_file_list(). This reduces the file
2122 browser delay on displaying a big directory, e.g. /usr/bin.
2124 Expand command entry width when expanding Build Commands dialog.
2126 Split Build Commands dialog notes label and edit text.
2128 Add padding for Build Commands dialog separators.
2129 Add colons for regex field labels; fix 1 capitalisation.
2131 Fix none filetype Build Commands dialog label.
2132 Make group labels bold.
2133 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
2135 Add & use ui_label_set_markup(), ui_label_new_bold().
2136 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
2137 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
2138 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
2139 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
2140 * src/keybindings.c:
2141 Make 'Go to Line' keybinding focus the toolbar entry if visible.
2144 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2146 * src/filetypes.c, src/filetypes.h, src/symbols.c,
2147 tagmanager/parsers.h, tagmanager/makefile.win32,
2148 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
2149 data/filetype_extensions.conf, wscript:
2150 Add new filetype: Abc (patch by Eric Forgeot, thanks).
2152 Merge recent changes from the CTags project to further improve
2156 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2159 Fix wrong alignment of printed pages when page headers are
2160 disabled (closes #2856822).
2161 Plug a small memory leak and improve function signature of
2164 Save an if expression.
2166 After clearing a text field using the embedded clear icon, put the
2167 input focus into this text field.
2170 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2172 * plugins/filebrowser.c:
2173 Free file list memory whilst iterating the list.
2174 Minor formatting fixes.
2175 * src/utils.c, src/utils.h:
2176 Add foreach_dir() API macro.
2177 Update API docs for utils_get_file_list().
2178 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
2180 Remove queue.[hc] - use GQueue instead of GeanyQueue.
2181 Beep if there are no more snippet positions.
2182 Limit length of snippet positions queue to 20.
2185 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2187 * src/keybindings.c, src/callbacks.c, src/search.c:
2188 Make Goto Tag commands use the current selection if present (useful
2189 for selecting part of a tag or for ReST section names with spaces
2192 Don't move the cursor when reloading.
2193 * src/plugindata.h, src/editor.c, src/editor.h:
2194 Make editor_prefs.snippets hash table private (not a pref).
2197 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2200 Remove deprecated --debug flag. Please use --verbose/-v instead.
2203 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2206 Show Find in Files stderr output in messages window instead of
2207 debug window so that invalid regex messages can be seen easily.
2208 Combine FIF stdout and stderr callback code.
2211 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2214 Fix opening filenames beginning with two dots (closes #2858487).
2215 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
2216 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
2217 data/filetypes.common, geany.glade:
2218 Update syntax highlighting after changing the 'Invert syntax
2219 highlighting colors' pref, instead of requiring a restart.
2220 Remove filetypes.common invert_all option - use 'Invert syntax
2221 highlighting colors' pref instead (closes #2854525).
2222 * src/prefs.c, src/dialogs.c, src/dialogs.h:
2223 Add 'Allow' button when showing the conflicting keybinding dialog.
2224 Make dialogs_show_question_full() use GTK dialog on Windows if
2225 button text is not the stock yes/no items.
2226 Add dialogs_show_prompt() which also has an 'Apply' button.
2227 * src/queue.c, src/queue.h:
2228 Add warning that GeanyQueue may be removed.
2229 * src/keybindings.c, src/editor.c, src/editor.h:
2230 Change snippet_goto_next_cursor() to
2231 editor_goto_next_snippet_cursor() as it's in editor.h.
2232 Avoid using GPOINTER_TO_INT macro.
2235 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2237 * src/keybindings.c:
2238 Fix 'Reflow block' command when at the last paragraph and there's
2239 no last newline (patch by Eugene Arshinov, thanks).
2241 Add 'Compiler options & warnings' section.
2242 Update Style section to be clearer about code alignment and show
2247 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2249 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2250 src/plugindata.h, src/plugins.c, src/editor.c,
2251 plugins/geanyfunctions.h:
2252 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
2253 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
2255 Add sci_toggle_marker_at_line().
2256 Fix SciFuncs alignment.
2259 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
2262 Fix erroneous free of returned string in prepare_run_script.
2265 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2267 * data/filetypes.latex:
2268 Changing default value for showing pdf and dvi to ensure to take
2269 *.pdf and *.dvi file.
2272 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2274 * src/about.c, THANKS:
2275 Change language string for Slovenian translation.
2278 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2280 * tagmanager/txt2tags.c:
2281 Fix multi-byte character constant comparison.
2283 Fix Gtk warning when trying to update documents popup menu item
2284 sensitivity before they exist.
2287 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2290 Improve the opening string in the plugin manager dialog.
2292 Use "max-width" to set the document width of the generated
2293 HTML documentation to let the text be auto-wrapped.
2294 * src/prefs.c, src/tagmanager/include/guregex.h,
2295 src/tagmanager/include/tm_tagmanager.h:
2296 Remove trailing spaces (patch by André Hentschel, thanks).
2298 Fix a compiler warning.
2300 Fix crash when opening documents.
2301 * src/build.c, src/build.h, src/project.c:
2302 Adjust coding style (no code changes).
2303 * src/build.c, src/project.c:
2304 Use NZV() macro instead of strlen() to check for empty strings.
2305 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
2306 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
2307 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
2308 src/plugins.c, THANKS:
2309 Add new plugin signal: "document-before-save".
2310 Add get_line_end_position(), set_target_start(), set_target_end(),
2311 replace_target() to the plugin API
2312 (patch by Eugene Arshinov, thanks).
2313 Add new plugin signal: "document-filetype-set" (closes #2852286).
2314 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
2315 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
2316 tagmanager/Makefile.am, tagmanager/makefile.win32,
2317 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
2319 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2322 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2324 * src/treeviews.c, src/document.c:
2325 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
2326 Use gtk_notebook_set_current_page() instead of
2327 document_open_file_full() when choosing an item from the documents
2329 Avoid using goto in document_open_file_full().
2332 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2334 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2335 Enable type-ahead find for sidebar symbols and documents tabs
2336 (patch by Thomas Martitz, thanks).
2338 Fix 2 free's of possibly uninitialized pointers.
2341 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
2343 * src/build.c, src/filetypes.h, src/filetypes.c:
2344 Only write filetype config files when build command or regex is
2345 actually changed. Removed commented code in src/filetypes.c.
2347 Ensure uses of filename are protected against nulls when running
2348 a build command and give status message if not.
2351 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2354 Remove plugin from plugin manager dialog on unloading if it no
2355 longer exists or is incompatible.
2358 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2361 Add warning if only one of the plugin_key_group[_info] symbols is
2362 defined for a plugin.
2363 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
2364 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
2366 Merge custom-filetypes branch:
2367 Support adding custom filetype files e.g. filetypes.Foo.conf.
2369 Allow GeanyFiletype::extension to be NULL.
2370 Add note about using GeanyFiletype pointer instead of filetype_id
2371 for filetypes.c function arguments.
2372 Replace styleset_none() with styleset_default().
2375 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2378 Show the sidebar if either the documents or the symbols list are
2379 enabled (related to #1876107).
2382 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2384 * src/build.c, src/filetypes.c:
2385 Fix compiler warnings.
2387 Fix removing leading double slashes in filenames which are used for
2388 network resources on Windows (closes #2844085).
2391 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2393 * src/keybindings.c:
2394 Fix Make keybindings (patch by Lex Trotman, thanks).
2396 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
2398 Mention Files link at top for header files; demoplugin.c.
2399 Minor edits; remove 'far from being complete'.
2400 * src/keyfile.c, src/keyfile.h, src/main.c,
2401 data/filetype_extensions.conf, HACKING:
2402 Remove --generate-data-files argument & code - just edit
2403 filetype_extensions.conf by hand (filetype order was broken
2405 Add *.H extension for C++ (useful for non-Windows systems).
2408 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
2411 Fix implementation of loading old project files with base
2412 directories. Use project_make_base_path instead of re-
2413 implementing. Now depends on project.c reading base dir
2414 prior to calling load_build_menu.
2416 Change usage of project base directory to conform with
2417 previous documented behavior when loading old project files.
2419 Change make custom and make object to ignore make in base path
2420 when reading old project file settings. Changed some indent
2421 spaces to tabs. Fix missing compile menu accelerator.
2424 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2427 Add warning about not using undocumented features.
2428 Add reference to HACKING for plugin API development.
2430 Add section 'Plugin API/ABI design'.
2431 * src/keybindings.h, src/makefile.win32, src/project.h,
2432 src/filetypes.h, src/Makefile.am, wscript:
2433 Use GEANY_PRIVATE to hide some fields from plugins.
2435 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
2436 * src/build.c, src/build.h, src/project.c:
2437 Use build_ prefix for 3 functions in build.h; add a static modifier.
2440 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2443 Improve parsing of PHP functions by requiring a valid modifier or
2444 whitespace before the 'function' keyword to ignore some false
2445 positives like function tags inside comments
2446 (patch by Harold Aling, thanks).
2447 * tagmanager/python.c:
2448 Don't parse comments after import statements and other tags
2449 (closes #2838938, patch by Huandari Lopez, thanks).
2452 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2454 * data/filetypes.markdown:
2455 Add filetypes.markdown for configuration (thanks to Jon Strait).
2456 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
2457 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2458 plugins/geanyfunctions.h:
2459 Remove GeanyKeyGroup struct from the API - plugins should not set
2461 Make keybindings_set_item() duplicate the name and label fields
2462 (needed by GeanyLua) and return a keybinding pointer.
2463 Add keybindings_get_item() to the API (in case it's useful).
2464 Move some keybinding code out of plugin source files.
2467 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2469 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
2470 Don't generate build.h API docs until everything is approved and
2471 functions are actually in geany_functions.
2472 Move new GeanyFiletype and GeanyProject field(s) to end of struct
2473 as they may be changed or made private later.
2474 Break ABI for fields removed.
2477 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
2479 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
2480 src/keyfile.c, src/project.c:
2481 Changed names of symbols visible in build API to GEANY_xxx.
2484 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
2486 * src/project.h, src/project.c, src/build.c:
2487 Remove make_in_base_dir and run_cmd fields from project structure.
2488 Replaced by build functionality. Remove incorrect use in src/build.c
2489 build_run_cmd function.
2492 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2494 * src/project.h, src/project.c:
2495 Removed unused project_get_make_dir function, this is now per
2499 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2501 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
2503 Fix some more warnings.
2504 Fix commented out execute/stop toolbar code in build.c.
2505 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
2506 Changed build.h api so all functions prefixed with build_.
2509 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2511 * src/build.c, src/build.h, src/project.c:
2512 Fix some gcc warnings with '-Wall -W -ansi' enabled.
2515 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
2518 Fixed leaks and crashes due to inconsistent use of static vs dynamic
2519 strings when reading old format configuration & project files.
2520 * src/build.c, src/project.c:
2521 Fixed GLib array assertion warnings when no project filetypes are
2522 available to be saved.
2524 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
2530 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
2532 * src/build.h, src/build.c, src/project.c:
2533 Created and documented plugins interface to build menu.
2534 Factored out new get_cmd_group function.
2535 Changed name of remove_command function to be consistent with the
2536 rest of the interface & changed calls in project.c.
2537 * src/Makefile.am, wscript:
2538 Added build.h to installed files lists.
2540 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
2543 Updated manual to match build-menu capability.
2546 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
2548 * src/build.c, src/build.h:
2549 Added set_build_non_ft_wd_to_proj() for use by project dialog.
2550 Improved interpretation of run_in_base_dir from old [build-settings]
2551 Added spacing to build commands dialog
2553 Removed run in base path option from project dialog and added button
2554 to set working directories to d the same.
2557 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
2560 Re-incorporated toolbar changes in trunk accidently excluded in merge
2562 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2565 Fixed substitute %f etc in commands
2566 Fixed potential leak in build_replace_placeholder
2567 Fixed leak in prepare_run_script (Thanks for patch Thomas)
2568 Fixed build_replace_placeholder to not require document.
2570 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2572 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
2573 Fixed crash and lots of warnings, deleted some commented out code.
2574 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
2575 Removed make command from preferences and associated code
2577 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
2579 * src/build.c, src/build.h:
2580 Incorporated patch for working directory field (thanks Thomas)
2581 Removed run_in_base_dir option and associated code that it replaces
2582 Improved handling of old config files and mapping to new ones.
2584 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
2586 * src/build.h, src/build.c:
2587 Changed to itterate over entries in build commands dialog to allow
2588 additional fields to be added
2589 Implement support for multiple run commands
2590 * data/filetypes.latex:
2591 Implement configured commands and labels for latex.
2594 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2596 * src/build.h, src/build.c:
2597 added dialog support for error regular expressions from multiple
2598 sources and storing and loading them fixed some typos and memory
2600 * src/filetypes.c, src/filetypes.h, project.c:
2601 added support for using error regexes from multiple sources
2604 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2606 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2608 Removal of build menu item source made redundant by the following fix
2610 Corrected priority oreder and loading of filetype dependent build
2611 menu items saved in the project file. Added print routine for
2612 debugging command sources and priorities set compile symbol
2613 PRINTBUILDCMDS true to enable
2615 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2618 fixed problem loading old format filetype files, some formatting
2619 fixes fixed saving new format files
2620 added operation for clear button on build commands dialog
2622 fixed loading and saving filetype files
2625 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2627 Configurable Build Menu Changes
2629 * doc/geany.html, doc/geany.txt:
2630 Updated build menu section to new functionality
2631 * src/build.h, src/build.c:
2632 Largly re-written, configurability added, Latex code removed
2633 * src/filetypes.h, src/filetypes.c:
2634 Filetype structure updated to add new command pointers, configuration
2635 load and store changed
2636 * src/keybindings.h, src/keybindings.c:
2637 Changed to address new command storage structure.
2639 Changed to load/store new configuration.
2641 Minor change to initialisation order.
2643 Changed to address new menu item storage structure.
2644 * src/project.h, src/project.c:
2645 Changed to load/store the new configuration info.
2647 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2649 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2650 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2651 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2652 plugins/splitwindow.c:
2653 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2654 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2655 the ABI when adding fields to them.
2656 Add plugin_set_key_group() for plugins to dynamically set a
2657 keybinding group (e.g. for the Lua script plugin). Used in Split
2658 Window plugin as an example.
2659 Improve keybinding docs a little.
2662 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2664 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2665 Add geanyfunctions.h to API docs.
2666 * plugins/splitwindow.c:
2667 Set the cursor color for the split window.
2670 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2673 Fix 'Open Selected File' for unsaved new documents.
2674 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2675 Fix updating main menu accelerators after changing keybindings
2676 (thanks to Lex Trotman).
2678 Fix using 'Insert date' keybinding when a custom date string has
2680 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2681 Merge Plugin and GeanyPluginPrivate structs.
2684 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2686 * src/keybindings.c:
2687 Fix non-working Home and End keys on numpads.
2690 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2692 * doc/geany.txt, doc/geany.html, NEWS:
2693 Add 'Scope autocompletion' section.
2694 Add 'Tools menu items' section to explain configuration files
2695 submenu, reload configuration item.
2696 Minor updates/fixes.
2699 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2702 Add a translation hint to an ambiguous format string.
2704 Add missing include path to fix 'make distcheck'.
2706 Fix opening of local files in the browser on Windows.
2707 * New release: Geany 0.18 "Kaine".
2708 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2709 src/geany.h, doc/geany.html, doc/geany.txt:
2710 Post-release version bump.
2713 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2716 Temporarily disable reshowing calltips when the autocompletion
2717 list was closed implicitly by not choosing an item to fix
2718 problems with wrongly displayed calltips.
2720 Add missing 'coding' cookie to the Python filetype template.
2721 * doc/images/pref_dialog_edit_completions.png,
2722 doc/images/pref_dialog_toolbar.png:
2723 Update images for Geany 0.18.
2726 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2729 Add command '--hackingdoc' to create the HTML form of the
2733 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2735 * po/pt_PT.po, po/LINGUAS:
2736 Added a first Portugese (Portugal) translation based on work done at
2737 launchpad by e.g. André Glória and Alexandre Jesus.
2738 * src/main.c: Fix a minor typo on --help call.
2741 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2743 * src/highlighting.c:
2744 Call get_keyfile_wordchars() in highlighting_init_styles().
2747 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2749 * data/filetypes.ada:
2751 * src/keybindings.c:
2752 Switching notebook tabs now works for the currently used notebook
2753 widget instead of always using the documents notebook.
2754 * src/document.c, src/document.h, src/documentprivate.h,
2756 Small corrections to some API docs.
2759 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2761 * src/build.c, src/win32.h, src/win32.c:
2762 Expand system environment variables (%variableName%) on Windows when
2763 running Build commands.
2766 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2768 * src/keybindings.c:
2769 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2770 future using an indent block is more useful e.g. for ChangeLog
2772 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2773 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2774 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2775 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2776 tagmanager/parsers.h, tagmanager/makefile.win32,
2777 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2778 Add Markdown filetype (patch by Jon Strait, thanks).
2779 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2780 Fix disconnecting plugin signal id when not using geany_object.
2782 Add filetype_make_title() instead of using:
2783 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2784 It also supports "%s file" strings.
2787 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2789 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2790 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2791 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2792 plugins/filebrowser.c:
2793 Add plugin_signal_connect() for connecting plugin signals at
2794 runtime and also for connecting to any GObject signal.
2795 Add 'Plugin Utility Functions' on main page.
2796 Add foreach_array() macro.
2797 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2798 src/document.c, src/editor.c:
2799 Rename 3 sci functions to sci_set_target_start(),
2800 sci_set_target_end(), sci_replace_target() to match the SCI_
2804 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2806 * wscript: Fix compiling error with waf.
2809 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2811 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2812 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2813 src/Makefile.am, wscript:
2814 Move plugin_* utility functions to pluginutils.c.
2815 Add pluginprivate.h.
2817 Fix reshowing calltip in the wrong document.
2820 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2822 * doc/geany.txt, doc/geany.html:
2823 Add some general information about auto-completion capabilities
2824 (patch by Lex Trotman, thanks).
2827 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2829 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2830 Added a first Slovenian translation. Thanks to Joze Klepec.
2833 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2835 * src/highlighting.c:
2836 Use full styleset_foo[_init] function name as argument to
2837 init_styleset_case() and styleset_case() macros so it's easier to
2838 understand the code.
2839 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2840 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2841 doc/geany.txt, doc/geany.html:
2842 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2843 Heavily based on a patch by Eugene Arshinov (thanks).
2844 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2845 editor_strip_line_trailing_spaces().
2848 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2851 Attempt to fix reshowing calltips after the autocompletion list
2853 Reshow calltips also when the autocompletion list was closed
2854 implicitly by not choosing an item.
2856 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2858 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2859 plugins/splitwindow.c:
2860 Change utils_str_remove_chars() to work in place; fix allocating on
2861 the stack (the string length could exhaust the stack size).
2862 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2863 src/printing.c, src/callbacks.c:
2864 Rename utils_str_replace() utils_str_replace_all(), setting a
2865 'gchar **haystack' argument instead of returning a new string.
2867 For the Tabs indent type, remove spaces when unindenting (only) if
2868 there are no tabs on the line.
2869 Group undo actions for (un)indenting of multiple lines.
2870 * src/document.c, src/editor.c:
2871 Fix scrolling horizontally after finding a search match with the
2872 search bar or Find Next/Previous which is off-screen.
2873 * src/keybindings.c:
2874 Fix GLib warning when pressing a key with no documents open.
2877 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2880 Start unifying usage of @a and @c markup elements in API docs,
2882 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2883 Show/hide the toolbar without a restart when the setting in the
2884 preferences dialog is changed (closes #2824785).
2885 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2886 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2887 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2889 Continue unifying usage of @a and @c markup elements in API docs.
2892 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2895 Remove relative/untidy path elements when creating new documents
2896 with a filename (e.g. from the command-line) (#2823998).
2899 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2902 Disable 'Recent Projects' menu item if the list of recent projects
2905 Fix some harmless compiler warnings.
2906 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2907 src/plugins.c, src/utils.c, src/utils.h:
2908 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2909 src/utils.c and add it to the plugin API.
2910 Make utils_str_remove_chars() work on a new copy of the input string
2911 instead of modifying it in place.
2913 Remove underscores from the toolbar items labels.
2916 * plugins/splitwindow.c:
2917 Fix broken 'Show the current document' tool button icon.
2920 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2922 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2924 Add stash_group_add_widget_property() so we can save any widget's
2925 read/write properties.
2926 Use Stash for ui_prefs.sidebar_page setting.
2927 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2928 Make foreach_ptr_array() use an integer argument for its
2929 implementation, as this is more useful potentially than a gpointer*
2930 argument, and more straightforward.
2931 Add foreach_c_array(), foreach_ptr_array() to API.
2932 * src/utils.c, src/utils.h, src/document.c:
2933 Remove relative/untidy path elements when opening documents (closes
2936 Fix showing project name for documents list files with no
2937 subdirectory (oops).
2939 Fix checking whether to overwrite when using the Rename button in
2940 the 'Save As' dialog.
2943 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2946 Don't use the main window as parent for dialog boxes if it is not
2948 Set titles for message dialogs.
2951 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2954 Display item labels instead of raw names in the toolbar editor.
2955 Apply changes in the toolbar editor instantly.
2956 Show icons in the toolbar editor.
2957 Speed up toolbar editor dialog creation.
2959 Improve inserting of comment templates like File header or licence
2960 notices. The comment information are now read from the filetype
2961 configuration files.
2963 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2966 Enable file monitoring for files which are written to disk by Geany
2969 Fix broken special case handling when detecting filetypes from a
2970 shebang or other special file headers.
2973 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2976 Make Mark All keybinding clear search highlighting when there's no
2979 Fix wrong match length when using Mark with regex.
2980 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2981 src/keyfile.c, src/main.c:
2982 Add 'Show Paths' documents list popup item.
2983 Add "load_settings" core-only signal emitted just after loading
2984 main keyfile settings; useful to delay building UI elements until
2985 settings have been read.
2987 Fix GTK warning when right-clicking on default tag tree.
2988 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2989 Add treeviews_finalize().
2990 Remove tv.popup_openfiles field.
2993 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2995 * src/highlighting.c:
2996 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2999 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3002 Quote the uri before passing it to the browser when opening a
3003 website (closes #2818635).
3005 Fix broken 'builtin' Run command for HTML files on Windows.
3008 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3011 Properly fix wrong brace highlighting of non-brace character.
3013 Allow autocompletion in Perl double-quoted strings.
3014 Don't autocomplete in Perl single-quoted strings (closes #2821061).
3015 Don't autocomplete in Perl q() strings.
3016 * data/filetypes.common:
3017 Make Mark highlighting brighter.
3018 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
3019 Use hyphen for auto-feature terms.
3020 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
3021 src/document.h, src/main.c:
3022 Add documents_foreach() API macro that skips invalid docs.
3023 Make filetypes[], documents[] part of the API again.
3024 Add GEANY() macro for sharing geany symbols between API and core.
3025 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
3026 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
3027 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
3028 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
3029 plugins/classbuilder.c, wscript:
3030 Add geanyplugin.h single include for plugin API; update all core
3032 Add sci_set_font() to API.
3033 Update plugin howto.
3034 * src/filetypes.c, src/filetypes.h:
3035 Remove filetypes_foreach_named().
3038 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3040 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
3041 src/document.h, src/main.c, THANKS:
3042 Apply patch from Eugene Arshinov to reload color schemes via menu
3045 Reload filetypes.common after saving it.
3047 Improve wrong brace highlighting of non-brace character.
3050 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3053 Delay highlighting matching braces by 100ms, which speeds up
3054 scrolling with the arrow keys.
3055 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
3056 Add 'Mark All' keybinding.
3057 * tagmanager/diff.c:
3058 Show relative paths in diff filename tags.
3061 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3063 * src/highlighting.c:
3064 Fix setting keyword list 'classes' for Haxe
3065 (pointed out by Andreas Mokros, thanks).
3068 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3070 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3071 doc/geany.txt, doc/geany.html, geany.glade:
3072 Add 'Drop rest of word on completion' pref.
3073 * src/editor.c, doc/geany.txt, doc/geany.html:
3074 If autocompletion is already visible when forcing completion, show
3075 document word completion instead of tag completion.
3076 Docs: Minor edits of related prefs items.
3077 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
3078 Add warning when printing and editor font is not monospaced.
3079 Fix using GtkMessageType instead of gint param for
3080 dialogs_show_msgbox*().
3081 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
3083 Support 'tab indents, space aligns' style for auto-indentation
3087 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3089 * src/document.c, src/documentprivate.h:
3090 Rework the GIO based file monitoring code. Now it is used only
3091 to indicate a possible change of the file, the real check if the
3092 file has been changed is performed by stat().
3093 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
3094 Add style 'line_height' to increase the line height.
3095 Add style 'marker_mark' and change style 'marker_search' to
3096 define the style used for marked search results.
3097 * doc/geany.txt, doc/geany.html:
3098 Add the new 'Autocomplete all words in document' pref to the docs.
3101 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3103 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3104 doc/geany.txt, doc/geany.html, geany.glade, TODO:
3105 Add 'Autocomplete all words in document' pref.
3106 Use 'autocompletion' in dialog and docs, not 'auto completion'.
3108 Fix limiting number of word completion entries too much.
3109 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
3110 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
3111 Show autocompletion icons for tag symbols - for now only tags with
3112 an arglist have the 'function/method' icon, all others have the
3114 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
3116 * src/highlighting.c:
3117 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
3121 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3123 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
3124 Fix removing underscores in translated string using no_underscore()
3126 Set a tooltip for the Split Window plugin's Show Current tool button.
3127 Add utils_strdupa() macro.
3128 * src/interface.c, geany.glade:
3129 Use stock Select All icon now we have >= GTK 2.8.
3131 Fix using project name for document items that start with the
3132 project base path but don't match it e.g. ".../geany-plugins"
3133 instead of ".../geany" when project name is 'geany'.
3136 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3139 Fix warnings when the toolbar does not contain the Run button.
3141 Fix wrong parsing of complex expressions in the Lua parser.
3142 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
3144 Remove unnecessary enums.
3145 * scintilla/*, scintilla/include/*, src/plugindata.h:
3146 Update Scintilla to version 1.79.
3147 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
3149 Use the new Scintilla struct names prefixed with 'Sci_'.
3150 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
3152 Add second argument to the 'line_wrap_indent' styling setting to
3153 control the new Scintilla indentation mode for wrapped lines.
3155 Properly close the toolbar editor on delete-events.
3156 Fix warnings and possible crashes in the toolbar editor when the list
3157 of displayed toolbar items is empty.
3158 * data/filetypes.tcl:
3159 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
3161 Make the plugin manager dialog a bit bigger.
3164 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3166 * doc/geany.html, doc/geany.txt:
3167 Fix wrong default values for the 'Show Calltip' keybinding.
3170 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3172 * data/filetypes.tcl, src/symbols.c:
3173 Fix duplicate "context_action_cmd" key.
3174 Use different icons for "Methods" and "Procedures" in the symbol
3177 Fix a small memory leak.
3178 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
3179 src/keybindings.h, src/plugindata.h:
3180 Make the Scintilla keybindings 'Delete to end of line' and
3181 'Go to end of display line' configurable.
3183 Fix a typo (closes #2813624).
3186 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3188 * tagmanager/tcl.c, src/symbol.c:
3189 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
3190 methods and namespaces).
3191 Patch by Witek Mozga, thanks.
3194 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3196 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
3197 src/toolbar.c, src/toolbar.h:
3198 Remove ui_toolbar.xml Configuration Files menu item.
3199 Add a real toolbar editor dialog.
3200 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3202 Add a button in the preferences dialog and an item for the toolbar
3203 popup menu to run the toolbar editor dialog.
3206 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3209 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
3210 Fix using locale encoding for default Save As dialog path.
3212 Beep when trying to activate the '...' autocompletion item.
3213 Limit (forced) document word completion to
3214 autocompletion_max_entries.
3215 Beep if no completions are shown when forcing autocompletion.
3218 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3220 * data/ui_toolbar.xml, src/toolbar.c:
3221 Add 'Build' toolbar button to the default layout.
3224 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3227 If forcing autocompletion and there's nothing else to show, complete
3228 from words in the current document (using code from Enrico's
3229 'AutoComplete Test' plugin).
3232 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3235 Add debug message if plugin has not set a name for its keybinding
3237 * data/filetype_extensions.conf:
3238 Add *.m4 for shell scripts.
3241 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3243 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3244 data/filetypes.common, TODO:
3245 Make filetypes.common named styles use the "default" named style for
3246 all missing style fields.
3247 Set named styles to usually leave the background style empty. This
3248 currently allows C-like filetypes to have a common default
3250 Allow hard-coded colors to use -1 for the default color.
3251 Add some highlighting style examples to the manual.
3254 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3257 Create initial template files with proper platform-specific line
3261 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3263 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
3264 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
3265 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
3266 src/ui_utils.c, src/ui_utils.h:
3267 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
3269 Refactor some related code.
3270 * tagmanager/conf.c:
3271 Strip trailing spaces from "Key" tags.
3273 Quote the full filename to the Geany executable when creating the
3274 "Open with Geany" context menu item.
3275 * plugins/splitwindow.c:
3276 Avoid using deprecated GTK API.
3277 * src/log.c, src/main.c:
3278 Properly clean up the logging mechanism.
3280 Fix LaTeX view commands on Windows (part of #2807688).
3282 Add a popup menu for the keybinding list in the preferences dialog
3283 to easily expand and collapse all groups.
3284 Refactor the keybindings code for the preferences dialog, prefix all
3286 * src/main.c, src/ui_utils.c, src/ui_utils.h:
3287 Init stock items before creating the toolbar (closes #2809324).
3289 Generate the geany.pc file also on Windows.
3291 Invert the logic to determine which Save All we want to use:
3292 Use the Tango like icon only for the Tango theme and the Gnome / GTK
3293 like icon for any other themes.
3296 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3298 * src/highlighting.c, README.Packagers, HACKING:
3299 Remove gsd_* default styles, use named styles instead.
3300 Note: this relies on filetypes.common being installed.
3301 Add load_style_entries(), which makes style initialization
3302 simpler, used in styleset_c_like_init().
3305 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3308 Prevent possible crash on Windows when not setting an initial
3309 directory for native File Open/Save dialogs.
3310 * data/filetypes.xml, src/highlighting.c:
3311 Add style 'jscript_regex' for filetype HTML
3312 (patch by Chris Macksey, thanks).
3315 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3317 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
3318 Make GeanyDocument::file_type always be non-NULL, even for a new
3319 document with no filetype set.
3321 Only autocomplete scope for scopes matching the current filetype's
3323 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
3324 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
3325 data/filetypes.actionscript, data/filetypes.cs,
3326 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
3327 data/filetypes.javascript, HACKING:
3328 Make C++, D lexer filetypes use named styles (apart from uuid,
3329 verbatim, regex styles).
3332 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3335 Don't explicitly change the current directory of the Save As dialog
3336 so that it uses the last used directory.
3339 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3341 * src/encodings.c, src/encodings.h, src/plugindata.h:
3342 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
3345 When completing from the macro list, put the cursor after
3349 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3351 * tagmanager/pascal.c:
3352 Fix type definitions being parsed as functions.
3354 Don't autocomplete in unterminated strings as well.
3355 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
3356 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
3357 Remove data_ptr argument to foreach_[s]list() macros, as using
3358 node->data is enough sometimes; this makes the macro a bit more
3360 Add foreach_[s]list() macros to the plugin API docs.
3363 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3365 * scintilla/LexPascal.cxx:
3366 Backport fix from Scintilla CVS:
3367 Pascal lexer hanging on file that starts with 'interface' after
3371 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3374 Update Waf to 1.5.7.
3376 Overwrite installation prefix on Windows only if it wasn't
3377 specified explicitly.
3380 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3383 Display calltips for Pascal symbols in the Pascal way (#2803945).
3384 * tagmanager/pascal.c:
3385 Fix wrongly set return values for procedures (closes #2803945).
3386 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
3387 tagmanager/include/tm_source_file.h,
3388 tagmanager/include/tm_workspace.h:
3389 Fix doxygen warnings.
3392 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3394 * src/editor.c, tagmanager/include/tm_workspace.h,
3395 tagmanager/tm_workspace.c, TODO:
3396 Autocomplete scoped fields like struct members when typing '.' (and
3397 also '->' or '::' in C/C++).
3398 Save all tag types for C/C++ when generating a global tags file, so
3399 we can use autocompletion for structs also.
3400 Merge tm_workspace_find_scope_members(),
3401 tm_workspace_find_namespace_members() (currently not built) from
3402 Anjuta 2.24.1 tagmanager.
3405 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3407 * tagmanager/pascal.c:
3408 Parse Pascal calltips (closes #2802640).
3411 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3413 * src/filetypes.c, src/ui_utils.c:
3414 Add filetypes.common Configuration Files menu item.
3417 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3420 Add backslash to the wordchars on Windows when using
3421 'Open Selected File'.
3423 Add support (configure, build and install) for building on Windows
3424 and cross-compiling for Windows using the Waf build system.
3427 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3430 Set status bar text instead of showing a dialog when saving
3431 ui_toolbar.xml because the user might save several times.
3433 Fix redrawing due to colourising just after the document is first
3434 drawn. Now colourising should happen before the first draw.
3435 * src/utils.c, src/highlighting.c, data/filetypes.common:
3436 Fix segfault on parsing a filetypes.* style definition that has < 4
3438 Allow style definitions to have missing fields to use the default
3442 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3444 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
3445 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
3446 * plugins/classbuilder.c:
3447 Fix wrongly created header guards when the class filenames contains
3448 dashes (patch by PCMan, thanks).
3449 * data/filetypes.matlab:
3450 Add build_settings section to allow executing Matlab scripts.
3452 When closing a document, mark it as invalid before removing it from
3453 the documents notebook (this fixes wrong Save All button state when
3454 closing an unsaved document because the "switch-page" signal handler
3455 was using old data).
3458 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3460 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3461 Support toggling bold/italic when using a named style, e.g.:
3462 commentdockeyword=commentdoc,bold,italic
3463 Improve named style docs.
3466 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3468 * src/build.c, src/editor.c:
3469 Fix crashes when parsing the output of a compiler which reports
3473 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3475 * src/highlighting.c:
3476 Support named styles also for filetypes.common [styling] entries.
3477 * doc/geany.txt, doc/geany.html, HACKING:
3478 Update docs for named styles in filetypes.* files.
3480 Fix grouping symbol list children when parent name has "." character
3481 in for reStructuredText and Conf filetypes.
3482 * tagmanager/python.c:
3483 Fix grouping functions/classes under a nested function.
3486 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3489 Adjust icon paths (patch by Dominic Hopf, thanks).
3490 * doc/geany.txt, doc/geany.html, src/toolbar.c:
3491 Add 'Replace' toolbar button (closes #2798225).
3494 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3496 * src/utils.c, src/highlighting.c, TODO:
3497 Implement named styles support for filetypes.* using a
3498 filetypes.common [named_styles] section e.g.:
3499 foo=0xc00000;0xffffff;false;true
3501 These can be used in e.g. filetypes.c as:
3505 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3508 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
3511 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3513 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
3514 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
3517 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3520 Remove quote_executable() as it is not used anymore.
3521 When creating the geany_run_script.bat use the "%0" variable
3522 expansion and quote it for the "del" command (closes #2797172).
3524 On Windows, fallback to the literal build command line if searching
3525 for the command in the system path failed (related to #2795923).
3526 Properly terminate the resulting strings when reading the stdout
3527 and stderr of any spawned commands on Windows.
3530 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3533 Use the wide character versions of native Windows File dialogs.
3535 Fix wrong initialisation of the default project path button callback
3536 in the preferences dialog.
3537 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
3538 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
3539 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
3540 icons/Makefile.am, icons/geany.ico, icons/scalable,
3541 icons/scalable/Makefile.am, icons/scalable/geany.svg,
3543 Move the icons geany.png and geany.ico into the icons directory.
3544 Add a 16x16 pixel Geany icon and the scalable SVG icon.
3545 Drop the pixmaps directory.
3548 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3550 * src/keybindings.c:
3551 Improve MRU document switching so there are no duplicates in the
3552 list and documents switched to whilst the dialog is open are
3553 ignored. Also beep when cycling through to the first document in the
3557 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3560 Fix broken 'Cancel' button in the Save As dialog.
3563 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3566 Fix multiline indent when selection covers text on the last line.
3568 Show current document in bold in tab popup menu.
3569 * src/editor.c, tagmanager/python.c, TODO:
3570 Parse Python calltips.
3573 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3575 * src/symbols.c, tagmanager/python.c:
3576 Parse Python import statements to get symbol completion for the
3577 imported module names.
3578 * src/editor.c, src/editor.h:
3579 Make some only locally used functions static.
3580 Fix wrong sanity check.
3582 Fix quoting the build command string on Windows (closes #2791769).
3583 This broke when we made build commands run synchronously on Windows,
3584 now we don't need to special quote the commands anymore.
3587 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3590 Drop rest of word to the right of cursor when autocompleting (do we
3591 need a pref for this?).
3594 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3596 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3597 Add sci_set_selection().
3598 * doc/geany.txt, doc/geany.html:
3599 Update manual for MRU switching.
3600 * src/callbacks.c, src/editor.c, src/editor.h:
3601 Make indenting with the Tabs indent type preserve spaces on the line,
3602 so it works for the 'tab indents, space aligns' formatting style.
3605 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3607 * tagmanager/python.c:
3608 Fix missing symbols for variables when an equal sign is used
3609 in a comment on the same line as the variable declaration.
3610 Backport change from CTags SVN to keep the parser more in sync:
3611 Add support for Cython constructs to the Python parser.
3613 Remember the additional Find in Files search flags at startup.
3615 Don't close the Save As dialog when saving the file didn't succeed.
3618 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3621 Remember scribble cursor position.
3622 * src/keybindings.c, TODO:
3623 Implement Most-Recently-Used document switching when pressing
3624 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3627 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3629 * data/latex.tags: Added some more commands from unit.sty and
3633 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3635 * src/symbols.c, doc/geany.txt, doc/geany.html,
3636 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3637 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3638 tagmanager/Makefile.am, wscript:
3639 Merge unstable branch:
3640 Add reStructuredText scope information for tags (for symbol list
3642 Read custom system global tags files from $prefix/share/geany/tags;
3644 Show the number of tags in a user global tags file (instead of the
3645 running total) in the debug message.
3646 Also print debug messages when loading a tag file manually or for
3647 default global tags files e.g. python.tags.
3649 Move NestingLevel tags code into a separate file, add functions.
3651 Add 'Installation prefix' section instead of quoting '/usr/local'
3653 Update for custom system global tags files.
3656 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3658 * src/highlighting.c:
3659 Unset maybe previously keywords when setting up Scintilla for
3660 XML files. This fixed wrong highlighting after switching back to
3661 filetype XML from another one.
3663 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3664 is only used when explicitly requested.
3666 Remove unnecessary call to g_intern_string() to fix build with
3667 GLib 2.8 (closes #2790051).
3670 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3673 Make the clear icon of entry fields act on the release event, not
3674 on the press event like for other buttons.
3676 Refactor some multiple used code into get_multiline_comment_style().
3678 Create parent directories if necessary when checking for the
3679 configuration directory on startup (closes #2784577).
3682 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3684 * plugins/filebrowser.c:
3685 When a filter is set, apply it only to files, not directories and
3686 apply the filter to the UTF-8 name of the file as the filter string
3687 itself is also UTF-8.
3688 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3689 Add utils_color_invert() and use it in highlighting.c and printing.c.
3690 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3691 Backport change from Scintilla CVS:
3692 Change capitalisation of header file to suit cross-compilation on
3696 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3698 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3699 Update Scintilla to version 1.78.
3700 * src/editor.c, src/highlighting.c:
3701 Update Pascal styles as they changed in Scintilla.
3704 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3707 Ignore the invert syntax highlighting colours setting when printing
3708 to not print characters on a dark background (closes #2785244).
3709 * New release: Geany 0.17 "Wessex".
3710 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3711 src/geany.h, doc/geany.html, doc/geany.txt:
3712 Post-release version bump.
3715 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3717 * src/callbacks.c, src/callbacks.h, src/main.c:
3718 Update the View->Fullscreen menu item when fullscreen state is
3719 changed externally (e.g. by the window manager).
3721 Fix passing wrong pointer to the File Open dialog for the Run
3722 command in the Project Properties dialog.
3725 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3727 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3729 Remember the active sidebar page between sessions.
3731 Add a recent project item after creating a new project.
3732 * tagmanager/ruby.c:
3733 Fix wrong parsing of string literals (closes #2781264).
3735 Fix setting focus to the editor widget after changing the selection
3739 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3742 Prevent crashes when two or more top level items in the symbol
3743 list have the same name (closes #2778246).
3746 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3748 * src/keybindings.c:
3749 Manually show the main notebook tab bar menu when Shift-F10 is
3750 pressed. This broke when we disabled the default GTK tab bar menu.
3752 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3753 which was reloaded shortly before.
3755 When the editor menu is opened by the Menu key, use the text cursor
3756 position for retrieving the current word. This fixes disabled
3757 Go to Tag items in the menu (#2780044).
3759 Set the "ellipsize" property of GtkCellRendererText to automatically
3760 shorten the path and file names in the Documents list.
3761 * doc/geany.html, doc/geany.txt, src/build.h:
3762 Increase the amount of highlighted build error messages to 100.
3763 At least for LaTeX we need higher values as there is a lot of
3764 informative output before any errors are reported.
3765 * src/filebrowser.c:
3766 Use the startup path as the initial directory for the filebrowser
3767 plugin when no project and no files are opened
3768 (patch by Matias Gea, thanks; closes #2780521).
3771 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3773 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3774 src/utils.c, src/utils.h:
3775 Ellipsize tab labels and some status messages for very long
3776 filenames (closes #2777348).
3777 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3778 Add utils_str_middle_truncate() and
3779 document_get_basename_for_display() to the plugin API.
3780 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3781 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3782 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3784 Add a hidden preference 'use_safe_file_saving' to save files to disk
3785 by creating a temporary file first. This has serious side effects,
3786 please read the documentation before enabling this.
3788 Make build commands on Windows run synchronously to avoid problems
3789 with reading build commands' output.
3790 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3791 Limit the amount of highlighted build error messages in the
3792 Compiler window to 50 for performance reasons.
3795 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3797 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3799 Replace our own GEANY_KEYS_MODIFIER_MASK by
3800 gtk_accelerator_get_default_mod_mask() which gives the same result.
3801 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3802 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3803 Add a trivial symbol parser for NSIS files.
3806 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3809 Hide the extra file open dialog options in an expander to make the
3810 dialog more compact by default and to provide more space for the
3812 Remove the filename field as it is also provided by GTK itself with
3813 more features like auto-completion.
3814 Watch the 'show-hidden' property of the file chooser widget using
3815 GObject's "notify" signal which gives accurate results and remove
3816 the hack using the "selection-changed" signal.
3819 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3821 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3822 Prevent double execution of radio menu item "activate" or "toggled"
3824 Move 'Set Encoding' callback function into encodings.c.
3827 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3830 Add some missing 'void's in function definitions.
3831 If the project base path is './', just use the path of the project
3832 config file instead of appending './'.
3833 * src/treeviews.c, src/project.c:
3834 When a project is loaded, replace the project base path with the
3835 project name in the Documents sidebar for parent items
3839 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3841 * src/keyfile.c, src/keyfile.h, src/project.c:
3842 Fix duplicating the recent files and projects lists when closing
3844 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3845 src/editor.c, src/encodings.c, src/filetypes.c,
3846 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3847 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3848 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3849 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3850 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3851 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3852 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3854 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3855 sense to keep the code more readable.
3858 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3861 When updating global type definitions for opened documents, take
3862 also C++ namespace symbols into account and don't ignore symbols
3863 which are defined inside a scope.
3866 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3869 Don't show 'plugin is not binary compatible' messages on the status
3870 bar, only the status window.
3873 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3876 When opening files from a remote instance on X11, set the window
3877 server time to encourage window managers to pop up the main window
3878 (related to #2735467 and #2276179).
3880 When finished sending filenames to a remote instance, notify the
3881 environment that we finished starting up.
3884 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3886 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3887 Sort Configuration Files menu.
3888 Add ui_menu_sort_by_label().
3889 Add foreach_list() macro.
3894 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3897 Fix setting a wrong default window size when starting without an
3898 existing configuration.
3899 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3900 Make editor_highlight_braces() static.
3901 Remove unused wrapper functions.
3902 * src/editor.c, src/symbols.c, src/symbols.h:
3903 Prevent showing an empty macro list.
3904 Show only macros of the same filetype instead of all macros of all
3907 Don't add opened project files to the GtkRecentManager.
3910 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3913 Add Configuration Files item for snippets.conf.
3914 * src/highlighting.c, src/symbols.c:
3915 Fix 2 old uses of filetype IDs.
3918 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3920 * src/interface.c, src/printing.c, geany.glade:
3921 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3924 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3927 Add sanity checks in ui_lookup_widget() just to be safe.
3928 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3929 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3930 src/project.h, src/ui_utils.c, src/ui_utils.h:
3931 Add "Recent Projects" menu to the Project menu
3932 (#2728630, patch by Elias Pschernig, thanks).
3933 * doc/geany.txt, doc/geany.html:
3934 Describe how to build Geany using the Waf build system.
3935 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3936 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3937 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3938 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3939 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3940 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3941 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3942 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3943 src/utils.c, src/utils.h, src/vte.c:
3944 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3945 performance when building the code with gcc.
3946 * src/highlighting.c:
3947 Fix typo in the G_LIKELY checks, introduced in last commit.
3948 Fix the size of the styles array.
3950 Show a message dialog when renaming a file fails.
3953 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3956 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3957 (as we did for all other files in SVN r3382).
3960 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3962 * src/filetypes.c, doc/geany.txt:
3963 Move ActionScript to the Script group.
3965 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3966 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3967 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3968 plugins/htmlchars.c:
3969 Merge reorder-filetypes branch:
3970 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3971 append randomly without breaking the ABI).
3972 Make None filetype name = title = _("None").
3973 Add foreach_slist() macro.
3974 Add filetypes_by_title list to GeanyData for plugin API access
3975 - a list of filetype pointers, which includes the None filetype
3976 first. This list stays constant by the time plugins are initialized,
3977 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3978 index the sorted list.
3981 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3983 * doc/geany.txt, doc/geany.html, src/main.c:
3984 Add widget names for the menubar and toolbar.
3986 When hiding the messages window, set the input focus back to the
3987 editor widget (part of #1910393).
3990 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3992 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3993 Backport recent changes from Scintilla CVS to add partial support
3994 for RFC2822 styled text using the Properties lexer.
3995 Ignore leading whitespace for config files and RFC2822 text.
3996 * data/filetypes.actionscript:
3997 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3998 * THANKS, src/treeviews.c:
3999 Display file/directory icons in the Documents sidebar
4000 (patch by Simon Treny, thanks).
4003 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4005 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4006 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
4007 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
4008 Add an option to allow appending the toolbar to the main menu bar
4009 to save some vertical space.
4010 Allow setting toolbar icon size to very small (menu icon size).
4013 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4015 * src/keyfile.c, src/utils.c, src/utils.h:
4016 Add utils_path_skip_root(), a relative path safe variant of
4017 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
4018 * src/keyfile.c, src/main.c:
4019 Allow negative window coordinates when saving and restoring the
4020 position of the main window.
4021 Restore the main window position and size *after* the window has
4022 been realised to get it positioned accordingly
4023 (this affects at least Windows).
4026 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4028 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
4029 Use g_win32_get_package_installation_directory_of_module() on Windows
4030 with newer GLib versions instead of deprecated API.
4031 * src/keybindings.c:
4032 Don't manage the last used documents list when quitting to prevent
4033 errors by accessing invalid memory (may close #2533990).
4036 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4039 Delete the geany_run_script.sh immediately after execution
4040 to prevent leaking old copies when the script was quit unexpectedly
4041 (closes #2710482, patch by Martin Olsson, thanks).
4043 Check whether skipping the root element of a document's filename
4044 succeeded and use the filename itself if not (e.g. on relative
4045 filenames, #2702844).
4046 Use the locale encoded filename when saving session files.
4048 Re-set the quitting status after all documents have been closed on
4052 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4054 * plugins/htmlchars.c:
4055 Remove usage of deprecated sci_get_selected_text() from plugin.
4058 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4061 Delay disk file checks when switching between documents a little
4062 bit to avoid fast, unintentional page switching in some cases.
4063 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
4064 src/sciwrappers.c, src/sciwrappers.h:
4065 Deprecate sci_get_text(), sci_get_selected_text() and
4066 sci_get_text_range().
4067 Add sci_get_contents(), sci_get_contents_range() and
4068 sci_get_selection_contents() as replacement functions to provide
4069 an easier and cleaner API (initial patch by Frank).
4072 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4075 Fix wrong parsing of CSS tags when the definition block starts on
4076 a new line (reported by Dominic Hopf, thanks).
4079 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4081 * plugins/htmlchars.c:
4082 Extend plugin by feature to bulk replace and replace on input for
4083 special characters to their HTML entities.
4086 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4089 Update build menu items after changing anything in the
4090 'Set Includes and Arguments' dialog.
4091 Disable Compile/Run buttons/menu items when Compile/Run commands are
4093 Reset current build directory to the base directory after reading a
4094 "Leaving directory" message when parsing Make output
4095 (closes #2694479, patch by Andrea Mazzoleni, thanks).
4097 Fix wrong display of the filename in the tab bar menu for new files.
4099 Set the initial directory for the Save As dialog only once on
4101 Add a shortcut of the project's base directory to the
4102 File Open/Save As dialogs when a project is open for faster access.
4103 * src/splitwindow.c:
4104 Add keybindings for the split actions.
4107 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4110 When using Find All in the Find dialog (in Session and Document),
4111 display the right amount of matches.
4112 Fix the display of the matches once per line (I broke the original
4115 Fix wrong directory selection behaviour in all Open Folder dialogs
4116 (closes #2688020, patch by Marcel Stimberg, thanks).
4118 Don't present the main window of a running instance when starting
4119 a second instance separately.
4122 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4125 Reduce default file permissions on the Unix Domain socket file
4126 (reported by Jörg Sommer, thanks).
4129 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4131 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
4132 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
4134 Add an option to set an additional plugin lookup path.
4136 When using Find All in the Find dialog, display matches only once
4137 per line in the messages window (patch by Bert Vermeulen, thanks).
4140 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4142 * data/filetype_extensions.conf, data/filetypes.actionscript,
4143 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
4144 src/highlighting.c, src/plugindata.h, src/symbols.c,
4145 tagmanager/Makefile.am, tagmanager/actionscript.c,
4146 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
4147 Add filetype ActionScript (patch by Chris Macksey, thanks).
4148 Update type keywords only for real C-like languages.
4149 Fix wrong sorting of Assembler and Ada filetypes.
4150 * plugins/classbuilder.c:
4151 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
4152 Other minor cleanups.
4155 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4158 Don't use menu item images for the tab bar menu to save some
4160 * data/filetypes.fortran, tagmanager/fortran.c:
4161 Add keyword 'extends' and fix Fortran parser to support the
4162 'extends' keyword (closes #2654492).
4163 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
4164 src/search.c, src/toolbar.c:
4168 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4170 * src/about.c, THANKS:
4171 Added Jari Rahkonen to list of Finnish translators.
4174 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4177 Adjust minimum required GTK version.
4178 * src/Makefile.am, wscript:
4179 Add main.h to the list of installed header files.
4180 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
4181 src/notebook.c, src/ui_utils.c:
4182 Remove GeanyDocumentPrivate::tabmenu_label.
4183 Disable the default tab bar menu for the main notebook widget and
4184 use a custom menu instead which lists all open files as usual plus
4185 'Close Other Documents' and 'Close All' menu items.
4188 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4190 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
4191 Move ui_set_search_entry_background() into ui_utils.c.
4192 Change the background colour of the search entries in the Find
4193 and Replace dialogs according to the search results like in the
4194 toolbar search field.
4195 Add images to the 'Replace' and 'Replace and Find' buttons in the
4197 Minor cleanups in search.c.
4198 * tagmanager/tm_source_file.c:
4199 Update source files upon creation.
4201 Update C tags for glibc 2.9.
4202 * src/callbacks.c, src/toolbar.c:
4203 Fix broken non-incremental search with the toolbar search entry when
4204 pressing Enter (closes #2638180).
4205 * plugins/splitwindow.c:
4206 Fix possible crash on non-32-bit systems (patch by
4207 Wolfgang Ocker, thanks).
4209 Update the Packager tag due to Dominic's various contributions.
4210 Update description and feature list.
4211 Change Source tag to the gzip'ed tarball to be in sync with the
4212 Makefile target (thanks to Wolfgang Ocker for reporting).
4215 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4217 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
4218 Removed deprecated plugin VC Diff
4221 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4224 Fix wrong Fortran 90 comment characters when inserting templates.
4225 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4226 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
4227 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
4229 Add 'Send Selection to Terminal' command to the Edit->Format menu
4230 (initial patch by David Gleich, thanks).
4231 * geany.glade, src/interface.c:
4232 Fix mnemonic for the Edit->Preferences menu item.
4235 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4237 * configure.in, plugins/Makefile.am:
4238 Enable socket support when cross-compiling.
4239 Enable plugin compilation when cross-compiling.
4241 Fix missing NULL checks when reading the colour value of compiler
4243 * src/main.c, src/win32.c, src/win32.h:
4244 On Windows, change the working directory to the Geany installation
4245 path at startup to avoid unwanted directory locking(closes #2626124).
4247 Fix broken selection of "Document->Set Encoding" menu items.
4248 * src/document.c, tagmanager/include/tm_source_file.h,
4249 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
4250 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
4251 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
4252 Don't let the tagmanager automatically reparse files if they
4253 seem to be changed on disk (affects all files in the current session,
4254 not the current one). This should speed up file saving a little bit,
4255 especially with remote files.
4256 Remove now unnecessary calls to tm_workspace_update().
4258 Allow an empty value for the date format in the print settings to
4259 omit the date/time string in the print header.
4262 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4264 * src/editor.c: Set cursor for LaTeX at auto closing of environment
4268 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4271 Add missing header include (closes #2615808).
4274 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4277 Fix a possible crash when comparing symbol names
4278 (could be related to Ubuntu bug #147151).
4279 Fix broken symbol list tooltips when tag names contain ampersands.
4282 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4284 * plugins/makefile.win32:
4285 Don't build Split Window plugin on Windows (doesn't work).
4288 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4290 * ChangeLog, Makefile.am: Rotate ChangeLog.
4291 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
4292 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
4293 Post-release version bump.
4296 *** See ChangeLog.pre-0-17 for earlier changes ***