1 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * src/printing.c, doc/geany.txt, doc/geany.html:
4 Always use white background color when printing (except for text
5 with a white foreground) to save ink (should fix #2968998).
8 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
11 Re-enable fold.comment for the C lexer - it was disabled to prevent
12 //{ explicit folding, but that also disables stream comments /* */.
13 * tagmanager/tm_workspace.c, tagmanager/get.c:
14 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
17 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
19 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
20 Fix not loading plugins built against a newer API when Geany doesn't
21 provide the required version given in PLUGIN_VERSION_CHECK().
22 Improve documentation for PLUGIN_VERSION_CHECK().
23 * plugins/filebrowser.c:
24 Allow Find in Files when no items are selected.
27 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
30 Align notebook tab close buttons centred vertically - thanks to
34 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
37 Add doc/stash-example.c to fix 'make distcheck'.
39 Change the RequestExecutionLevel for the Windows installer to
41 * New release: Geany 0.19 "Vellam".
44 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
47 Group undo action for Insert Multiline Comment.
50 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
53 Don't individually install data/*.tags as all data/* files will be
57 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
59 * tagmanager/tm_project.c:
60 Fix a double free. (patch by Daniel Marjamaki, thanks).
63 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
65 * tagmanager/tm_workspace.c:
66 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
68 Fix reducing paths to project name in the Documents list
69 (patch by Eugene Arshinov, thanks).
71 Fix crash when trying to sort NULL pointers as tags in the Symbols
72 list (closes #3011986).
73 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
74 Update Scintilla to version 2.12.
75 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
76 scintilla/LexCrontab.cxx:
77 Remove unused Crontab lexer.
78 * data/filetypes.css, src/highlighting.c:
79 Add new style "media" for filetype CSS.
82 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
84 * doc/geany.txt, doc/geany.html:
85 Build section: minor rewording, formatting fixes; move some
89 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
92 Explicitly try to localise build menu item labels with
93 gettext to enforce getting default labels translated.
94 * tagmanager/tm_workspace.c:
95 Fix not closed FILE pointer on early exit
96 (patch by Daniel Marjamaki, thanks).
98 Update images for Geany 0.19.
100 Destroy the default symbol list treeview only once
101 (fixes gtk_widget_destroy warning on exit).
104 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
107 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
109 Fix parsing of C++ classes contain attributes with bitfields
110 (patch by Lex Trotman, thanks).
111 * src/plugindata.h, src/plugins.c:
112 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
113 plugins' meta information can be translated already in the
114 plugin manager dialog (patch by Colomban Wendling, thanks).
117 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
120 Print locale information in debug output.
122 Fix some labels which were marked as translatable but were not
123 handled properly by gettext().
126 Try to convert text into UTF-8 before adding it to the Compiler and
127 Messages Window (closes #3007919).
130 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
132 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
134 Pass G_LOG_DOMAIN to source files for better logging.
137 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
139 * THANKS, src/about.c:
140 Update of translation credits to reflect a change on Spanish
141 translation team better.
144 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
147 Fix infinite loop reading build command output
150 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
153 Fix duplicate accelerators for Clear and Copy in the
154 Messages Window popup menu.
156 Expand child widgets in the Plugin Preferences dialog
157 (patch by Colomban Wendling, thanks).
160 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
163 Fix Undo/Redo button state after the last document has been closed.
164 Add Print and Replace toolbar items to the list of document
167 Fix crash when the toolbar is reloaded without any open documents.
169 Fix Run toolbar item sensitivity after the last document has been
171 * plugins/classbuilder.c:
172 Remove two unnecessary g_strdups().
173 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
174 src/plugindata.h, src/ui_utils.h:
175 Add hidden preference to disable automatic scrolling in the
176 Compiler tab (closes #3004714).
179 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
181 * plugins/classbuilder.c:
182 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
185 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
187 * src/prefs.c, src/project.c:
188 win32.h can be included unconditionally.
190 Fix project base_path detection if the path has a trailing slash.
191 * src/document.c, src/editor.c, src/project.c:
192 Small improvements to speed up quit process with many open documents.
193 Avoid calling gtk_notebook_remove_page() on exit as it takes
195 * src/geanymenubuttonaction.c:
196 Explicitly check for the type when iterating the action's proxies.
197 For some reason on Windows, a GtkImageMenuItem proxy is created.
198 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
199 src/plugindata.h, scintilla/*, scintilla/include/*:
200 Update Scintilla to version 2.11.
201 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
203 Add new GTK define also for Mingw cross compilation and
204 makefile.win32 based Windows builds.
205 * plugins/filebrowser.c:
206 Implement reading and evaluating hidden file attribute on Windows.
207 Fix broken "Go Up" if the current path ends with a slash.
208 * THANKS, src/about.c, src/prefix.c:
209 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
210 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
211 src/main.c, src/notebook.c, src/prefs.c:
212 Add preference to add new document tabs beside the current one
213 (patch by Colomban Wendling, thanks).
214 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
215 src/keyfile.c, src/prefs.c, src/ui_utils.h:
216 Add a preference for choosing between GTK and native
217 File Open/Save dialogs (only available on Windows).
218 * doc/geany.html, doc/geany.txt:
219 Update documentation.
222 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
225 Sort file filters for the native Windows file open dialog by name.
226 Don't use file filters for the native Windows Save As dialog.
227 * src/dialogs.c, src/win32.c, src/win32.h:
229 Pass and use also parent and title arguments to
230 win32_show_document_open_dialog().
232 Call handle_save_as() only when the Save As dialog was not cancelled.
234 Improve adding/removing of the special separator between menubar and
235 toolbar when the toolbar is appended to the menubar.
236 * src/toolbar.c, src/templates.c:
237 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
238 not trigger updating the menus on each item removal.
241 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
244 Replace one non breaking space by normal space. Patch by
248 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
250 * plugins/classbuilder.c:
251 Don't make the 'Create Class' menu item document-sensitive
252 (patch by Colomban Wendling, thanks).
253 Add namespace support for GTK+ classes.
254 Add GET_CLASS() macro for GTK+ classes.
255 Add typedef of the private structure in the header file instead
257 (all the above from a patch by Colomban Wendling, thanks).
258 * src/highlighting.c:
259 Set common default "fold.comment" to 0 to disable it. This can
260 be overridden if desired.
262 Improve sorting of document list items
263 (patch by Colomban Wendling, thanks).
265 Remove unnecessary textdomain() call.
268 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
271 Fix search_find_text not returning -1 when match is out of range.
272 This fixes invalid memory reads and wrong template filename
273 wildcard replacement.
274 * src/search.c, src/document.c:
275 Only replace template filename matching start of word on saving.
276 * plugins/filebrowser.c:
277 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
278 * src/build.c, src/build.h, src/project.c:
279 Make some ugly build.h global variables static.
280 * src/build.c, src/build.h, src/project.c:
281 Add Build prefix for TableFields, TableData.
284 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
287 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
288 * src/dialogs.c, src/win32.c, src/win32.h:
289 (Re-)Implement a (still basic) native Windows Save As dialog when
290 compiled with GEANY_USE_WIN32_DIALOG.
293 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
295 * THANKS, src/about.c, plugins/classbuilder.c:
296 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
297 * src/ui_utils.h, src/ui_utils.c:
298 Add public, generic callback ui_editable_insert_text_callback()
299 to restrict GtkEntry text inputs to +/- and numeric values only.
300 * src/dialogs.h, src/dialogs.c:
301 Add special variant dialogs_show_input_goto_line() to use a normal
302 GtkEntry together with dialogs_show_input_goto_line() for text input.
303 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
304 Allow '+<number' and '-<number>' as values for Goto Line inputs
305 to jump relative to the current line (closes #2997238).
308 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
310 * src/highlighting.c:
311 Apply foreground and background colours of the folding margin
312 style properly (closes #2998347).
314 Don't auto-close short XML tags (closes #2994852).
315 * THANKS, src/about.c, src/keybindings.c:
316 Improve jumping to matching braces by consistently position the
317 cursor before or after the matching brace dependent where it
318 was before (patch by Dimitar Zhekov, thanks).
320 Fix crash when generating global tags files (patch by Colomban
324 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
327 Avoid connecting signals more than once.
330 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
333 Don't ignore the 'intltool' check on non-Windows systems, instead
334 raise a configure error.
337 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
340 Fix marking some strings as translatable (cannot be done in the
342 * src/templates.c, doc/geany.txt, doc/geany.html:
343 Reload templates if saving a document in the templates config dir.
346 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
348 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
350 Fix replacing {filename} template wildcard for custom file
351 templates with non-default file extension.
352 Add search_find_text() for POSIX regex searches.
353 * src/templates.c, doc/geany.txt, doc/geany.html:
354 Add {project}, {description} template wildcards (#2954737).
355 * doc/geany.txt, doc/geany.html:
356 Divide template wildcards into groups.
357 * src/plugindata.h, src/plugins.c, src/symbols.c,
358 plugins/geanyfunctions.h:
359 Add symbols_get_context_separator() to plugin API (patch by Colomban
363 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
366 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
367 Anonymous, thanks; #2995593).
368 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
369 plugins/geanyfunctions.h:
370 Add sci_set_line_indentation(), sci_get_line_indentation() to API
371 (patch by Colomban Wendling, thanks).
374 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
377 Warn user if hidden hard tab width setting is not 8.
380 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
382 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
383 doc/geany.txt, doc/geany.html:
384 Hide 'Tabs and Spaces: Hard tab width' preference - it should
385 always be 8. (Hidden setting kept in case users have modified it).
388 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
390 * doc/geany.txt, doc/geany.html:
391 Add Folding section link to filetypes.common custom settings.
394 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
397 When switching documents, don't call document_set_text_changed()
398 as this does much more than necessary. Instead call the necessary
399 UI update functions explicitly.
402 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
404 * tagmanager/vstring.c:
405 Fix invalid memory read (patch by Colomban Wendling, thanks).
408 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
410 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
411 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
412 strings in case of reaching the buffer size limit (part of #2979697).
414 Change the limit for the command line length when executing commands
415 to a maximum of 32768 characters (closes #2979697).
416 Fix broken opening URLs e.g. when using the 'builtin' Run command.
417 * tagmanager/ctags.c:
418 Change eFree() to simply ignore NULL pointers instead of asserting.
420 Remove malloc() fallback since we completely rely on g_malloc()
422 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
423 plugins/saveactions.c:
424 Make string arguments const where appropriate (patch by
425 Colomban Wendling, thanks).
426 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
427 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
428 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
429 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
430 src/symbols.c, src/templates.c, src/ui_utils.c:
431 Make string arguments const where appropriate (patch by
432 Colomban Wendling, thanks).
435 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
437 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
438 Make plugin_signal_connect() string argument const (patch by
439 Colomban Wendling, thanks).
440 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
441 Constify some more string pointers in the API (patch by
442 Colomban Wendling, thanks).
443 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
445 Support {pc} wildcard in snippets to escape percent char.
447 Recalculate line margin width when zooming (fixes #2990553).
448 * src/highlighting.c, doc/geany.txt, doc/geany.html,
449 data/filetypes.common:
450 Support more folding icon styles: arrows, +/- and no lines
454 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
457 Fix Windows build by properly guarding Unix-only code.
460 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
462 * src/templates.c, doc/geany.txt, doc/geany.html:
463 Support {ob} and {cb} in fileheader and file templates; they are
464 replaced last with { and }. This allows 'escaping' of wildcard
466 * src/editor.c, plugins/classbuilder.c:
467 Fix Class Builder plugin to use correct indentation instead of
469 Make editor_insert_text_block() only replace leading tabs for the
470 'Tabs' indent type; also group edits for undo.
471 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
473 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
476 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
478 * tagmanager/pascal.c:
479 More fixes to prevent possible crashes by trying to free NULL
482 Automatically show and hide the sidebar notebook tabs according
483 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
485 Add a static global variable to monitor autocompletion mode in order
486 to prevent cancellation of the struct/class (C/C++) auto completion
487 list (patch by Thomas Martitz, thanks).
489 When starting and trying to access the Unix Domain socket of a
490 potentially running instance, first compare file ownership with the
491 user id of the running process to prevent accessing a wrong socket
492 file (part of #2985463, this might not yet be the final solution).
495 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
497 * plugins/filebrowser.c:
498 Synchronize popup menu and plugin preferences dialog 'Show Hidden
499 Files' option (fixes #2989288).
502 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
504 * tagmanager/entry.c, tagmanager/entry.h,
505 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
506 tagmanager/parse.h, tagmanager/tm_source_file.c:
507 Add tm_source_file_set_tag_arglist() to manually set the argument
509 * tagmanager/python.c:
510 Use tm_source_file_set_tag_arglist() to set the argument list
511 field of Python class tags to the argument list of their
513 Backport a fix from CTags SVN to prevent possible crashes by trying
514 to free NULL pointers.
517 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
519 * tagmanager/txt2tags.c:
520 Remove duplicate code from Txt2Tags parser.
521 Remove the title control characters ('=') when parsing titles.
522 Also parse numbered titles (closes #2984703).
523 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
525 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
526 Add missing documentation for 'Reset Zoom' keybinding.
528 Another attempt to fix the PHP parser regexp for parsing functions.
529 Fix wrong parsing of function arguments when those contain nested
530 brackets (as reported by Harold Aling).
532 Fix Ctrl-Click on notebook tab if Numpad is active.
535 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
537 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
538 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
539 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
540 src/ui_utils.c, src/ui_utils.h:
541 Add option 'System Default' for toolbar icon style and size to
542 use the GTK default value.
543 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
544 src/toolbar.c, src/toolbar.h:
545 Shorten the toolbar popup menu, only provide items for Toolbar
546 Preferences and to Hide the toolbar.
548 Instantly update the toolbar icon size and style when the
549 corresponding global GTK settings are changed.
550 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
551 src/plugindata.h, src/socket.c:
552 Add new command line option --list-documents to return a list
553 of currently opened documents (closes #2979933).
556 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
558 * plugins/htmlchars.c:
559 Make plugin remember whether replacement of special characters was
560 activated even after restart of Geany or reloading of plugin.
563 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
566 Fix inserting snippets with an indent when using Mac CR line
569 Update status bar after using Document->Set Line Endings.
571 Improve API docs for editor_insert_text_block().
574 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
577 Refactor snippets_complete_constructs().
578 Remove an unnecessary TODO.
580 Fix indenting a snippet when there is whitespace after the
584 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
586 * doc/geany.txt, doc/geany.html:
588 * src/build.c, src/msgwindow.c:
589 Fix disabled compiler message tracking if using indicators to
590 show build errors is disabled (closes #2982834).
593 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
595 * scintilla/Editor.cxx:
596 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
597 and SCI_GETSELECTIONEND with rectangular selections. This fixes
598 replacing in a rectangular selection.
601 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
604 Re-detect any document filetypes set to None after reloading
605 filetype extensions (closes #2979661).
607 Fix showing '...' item last instead of first for document word
611 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
613 * data/filetypes.perl:
614 Adjust Perl Compile command to use the -c command
615 line option to perform a syntax check instead of using the
616 deprecated ByteCompile module.
617 Add error_regex to parse error messages and warnings when performing
618 syntax checks on Perl files.
621 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
623 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
624 Add API docs for keybinding enums.
625 * src/notebook.c, doc/geany.txt, doc/geany.html:
626 Make Ctrl-click on any notebook tab switch to the last used
630 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
632 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
633 src/geanyentryaction.c, src/geanyentryaction.h,
634 src/geanywraplabel.c:
635 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
636 object for efficiency.
639 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
641 * plugins/classbuilder.c:
642 Beep if the user hasn't entered a class name on pressing OK.
644 Fix replacing '^' regex.
645 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
646 plugins/geanyfunctions.h:
647 Add Stash widget functions to API.
649 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
653 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
656 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
658 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
659 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
660 plugins/geanyfunctions.h, plugins/geanyplugin.h:
661 Add Stash setting functions to API.
662 Remove unnecessary argument to stash_group_load_from_file().
663 * src/geanyobject.c, plugins/classbuilder.c:
664 Don't generate FOO_GET_PRIVATE() macro because caching the result
665 in Foo::priv can be much more efficient.
668 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
671 Fix cursor positioning when toggling comments
672 (patch by Thomas Martitz, thanks).
675 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
677 * src/keybindings.[hc]:
678 Added Control+0 for zoom reset, see suggestion from #2969886.
681 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
683 * src/search.c, src/document.c:
684 Fix wrong selection range after Replace in Selection.
687 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
690 Make CreateChildProcess() working with Unicode strings, e.g.
691 directory names (closes #2972606).
693 Remove reference to already removed latex.tags file.
694 Future releases probably still depend on GTK 2.16.
695 * scintilla/ScintillaGTK.cxx:
696 Backport fix from Scintilla CVS to not paste text beyond the end
697 of lines (closes #2969096).
698 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
700 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
701 to not set Geany's minimum window size anymore (closes #2972992).
702 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
705 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
708 Make adding string and string vector settings initialise the setting
710 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
711 Add stash_group_load_from_file() and stash_group_save_to_file().
714 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
716 * data/filetypes.common:
717 Set default for wrapped lines to show marker at end of line only
718 (more expected and doesn't change line alignment - closes #2972386).
719 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
720 src/pluginutils.c, doc/plugins.dox:
721 Improve API docs contents page by listing all commonly-used files.
722 Fix 'Date' appearing twice on the date line.
723 Don't generate API docs for prefs.h, toolbar.h (unused).
724 Move some '@file' doc-comments to the .c file.
725 * src/interface.c, geany.glade:
726 Add frame for 'Printing' prefs dialog page.
727 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
728 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
730 Rename Stash data types to be independently named from Geany (so
731 Stash can be reused for other projects).
732 Rename GeanyPrefGroup to StashGroup.
735 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
737 * tagmanager/python.c:
738 Apply patch from Colomban Wendling to parse Python lambda functions
739 (thanks) - modified to only parse toplevel or class member lambdas.
740 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
742 Add doc-comments for Stash setting functions.
743 Add an example file showing usage of Stash.
744 (Not enabled yet until added to the plugin API).
747 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
750 Fix using return value without checking return status, caused
751 incorrect sensitivity settings on build dialog.
754 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
757 Add tip about gcc optimization & warnings/debugging.
759 Update Libraries section about synchronizing with other projects.
762 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
765 For now revert the recent patch which set real_path of newly
766 open non-existent configuration files as this seems hackish and
767 causes 'file not found' warnings.
769 Fix/Improve GIT repository detection
770 (patch by Thomas Martitz, thanks).
771 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
773 Add utils_copy_environment() to the plugin API.
776 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
778 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
779 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
781 Use 3rd person for more API dox.
782 Change 'This is a wrapper function for...' to 'Wraps...' in brief
784 Change 'After all...' to 'Afterwards...'.
785 * src/interface.c, geany.glade:
786 Apply patch from Eugene Arshinov to make frame packing/alignment
787 more consistent (thanks).
790 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
793 Fix ui_button_new_with_image() to call gtk_button_set_image() so
794 that gtk_button_[sg]et_label() work as expected.
795 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
796 Make Build Commands dialog show menu item labels as a button (to
797 help show that menu labels don't normally need to be edited &
798 display the mnemonic correctly). Clicking shows an input dialog to
799 set a new menu item label.
800 Split dialogs_show_input() into 2 functions: one simple, one for
802 Fix possible double-destroy of input dialog when closed by user.
804 Fix not destroying 'Make Custom Target' input dialog after first
807 Make Long Line Marker settings for existing projects default to
808 general settings instead of 0 (thanks to Eugene Arshinov).
809 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
810 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
811 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
812 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
813 Use 3rd person (gets not get) for API function brief descriptions.
814 Avoid using 'convenience function' in API brief descriptions.
817 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
819 * doc/geany.txt, doc/geany.html:
820 Warn about some GNU extensions for regular expressions & clarify
822 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
823 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
824 src/editor.h, geany.glade:
825 Apply patch from Eugene Arshinov to add project long line marker
826 customisation (thanks).
827 * src/interface.c, geany.glade:
828 Edit/tidy 'Long line marker' labels.
831 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
833 * src/build.c, src/project.c:
834 Fix crash due to NULL in project build preferences (thanks to
838 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
840 * src/utils.c, src/utils.h, src/search.c, src/search.h,
841 src/document.c, doc/geany.txt, doc/geany.html:
842 Merge gnu-regex branch:
843 Use POSIX system/GNU regex engine for find & replace 'Use regular
844 expressions' option. This alters regex syntax a bit - see the docs
845 for details; we now support '?' operator and replacement backslash
846 escaping is more standard.
847 Make regex search imply replacing escaped chars.
848 Allow \0 backreference replacement for the whole match.
849 Note: Replace All may be slower; if this is a problem please let me
852 Add argument to utils_str_replace_escape() for keeping
853 uninterpreted backslash escapes e.g. '\\', '\e'.
854 * scintilla/LexMarkdown.cxx:
855 Backport minor formatting/style changes from Scintilla project.
856 * doc/geany.txt, doc/geany.html:
857 Remove warning about no visual indication for zero-column-mode
861 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
864 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
867 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
869 * wscript, scintilla/*, scintilla/include/*:
870 Update Scintilla to version 2.03.
871 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
872 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
873 Add preference for virtual spaces.
875 Fix wrong default response for the Debug Messages dialog.
877 Fix crashes when using Save As with no open files (closes #2964406).
879 Fix duplicate mnemonics on 'Resave missing file' dialog, also
880 move the question from the secondary to the main text to be
881 more compatible with the Gnome HIG.
882 Fix broken 'Save' action in 'Resave missing file' dialog.
884 Improve PHP parser to parse also the argument lists of PHP functions.
886 Correctly set the parent widget for the keybinding overwrite
889 Fix setting the icon for some dialogs if the parent itself is also
892 When editing non-existent config files using the Tools->Configuration
893 Files menu, explicitly set the real_path to avoid presenting the Save
894 As dialog when saving the file (patch by Tony Rick, thanks).
896 Focus the editor widget after hiding the sidebar when it had the
897 input focus (patch by Can Koy, thanks).
898 Properly show/hide the mesages window when using the View menu item
900 * plugins/filebrowser.c:
901 After opening files, focus the editor widget
902 (based on a patch by Can Koy, thanks).
903 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
904 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
905 src/ui_utils.h, src/vte.c:
906 Add and use convenience function ui_is_keyval_enter_or_return() and
907 add it to the plugin API.
910 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
912 * src/about.c, THANKS, po/ast.po:
913 Added Asturian translation. Thanks to Marcos Costales for providing.
916 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
919 Fix keyboard accelerators in debug messages window
923 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
925 * scintilla/LexR.cxx:
926 Backport R lexer from Scintilla CVS to fix case sensitive keywords
927 (Scintilla bug #2956543).
928 * src/sidebar.c, src/about.c, THANKS:
929 Make Space on the symbol and document list not focus the editor
930 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
931 * src/document.c, src/document.h:
932 Fix document_try_focus() to make it work with the sidebar document
934 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
935 Make Space on the compiler and messages widgets not focus the editor
936 widget while Enter does (patch by Can Koy, thanks).
938 Fix wrongly auto-detected multiline comments
939 (patch by Eugene Arshinov, thanks).
942 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
945 Show number of lines of current document inside statusbar. Thanks to
946 Can Koy for providing the patch.
949 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
951 * src/keybindings.c, doc/geany.txt, doc/geany.html:
952 Make Switch to Editor keybinding reshow the document statistics
953 line, so user doesn't have to move the cursor.
956 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
959 Update keywords for the R language (patch by Jon Senior, thanks).
962 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
965 Fix the instruction how to insert unicode characters
969 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
971 * scripts/create_py_tags.py:
973 Replace tabs by spaces.
976 Replace tabs by spaces.
977 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
978 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
979 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
980 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
981 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
982 src/plugindata.h, src/sidebar.c, src/sidebar.h:
983 Add keybindings to switch to the sidebar's Document and Symbol list
984 as well as to the Message Window's current tab
985 (patch by Eugene Arshinov, thanks).
987 Update primary keywords for the R language
988 (patch by Jon Senior, thanks).
991 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
994 Add more detailed hints about reloading configuration
995 (thanks to Tony Rick).
996 * data/filetypes.javascript:
997 Correct the keyword list for JavaScript (thanks to Jonas).
1000 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1002 * New release: Geany 0.18.1 "Balfour".
1005 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1007 * src/keybindings.c:
1008 Add special cases for handling the Select All keybinding (Ctrl-A) in
1009 the toolbar search and goto line text entries (closes #2948040).
1010 Strip trailing spaces after reflowing a paragraph, patch by
1011 Dominik Wagenfuehr, thanks (closes #2945497).
1014 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1016 * src/geanymenubuttonaction.c, src/templates.c:
1017 Partly revert last commit:
1018 Unref the new files toolbar menu when freeing templates as it
1019 was done before but unref it *after* the menu has been removed
1020 from the GeanyMenuButtonAction.
1022 Fix possible endless loop when trying to detect the encoding of
1023 non-text files (patch by Alexey Antipov, thanks).
1026 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1029 Allow saving remote files using g_file_set_contents() as well
1030 (patch by Алексей Антипов, thanks).
1031 * data/filetypes.python:
1032 Adjust style for secondary keywords to be less aggressive.
1033 Add Python 2.5 builtins keywords.
1034 * src/geanymenubuttonaction.c, src/templates.c:
1035 Unref the new files toolbar menu when setting a new menu to fix
1036 possible crashes when reloading configuration.
1038 When reloading configuration, process the current document at last
1039 so the symbol list will be updated correctly.
1042 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1045 Explicitly read filetype configuration files before generating
1046 global tags to get settings for custom filetypes.
1049 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1052 Fix GLib warning when toggling 'no plugins available' item.
1055 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1057 * icons/Makefile.am:
1058 Include geany.ico in the distribution tarball.
1060 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
1061 * scripts/create_py_tags.py:
1062 Make the script a bit more robust with newer Python versions.
1064 Use utils_spawn_sync() instead of g_spawn_sync().
1067 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1070 Close meta tag for export date properly.
1073 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1076 Update RPM Spec file (patch by Dominic Hopf, thanks).
1079 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1082 Fix renaming sci_send_message(), sci_send_command() function
1086 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1088 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
1089 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
1090 plugins/geanyfunctions.h, plugins/Makefile.am,
1091 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
1092 Use full function name for GeanyFunctions function pointers. This
1093 avoids naming conflicts e.g. with C++'s 'new' keyword.
1094 Remove deprecated header pluginmacros.h - use geanyfunctions.h
1098 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1100 * src/utils.c, src/utils.h, src/vte.c:
1101 Add utils_copy_environment() and make use of it.
1102 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
1103 src/editor.c, src/templates.c, src/templates.h:
1104 Add new special template wildcard "{command:...}" to use the
1105 output of a command in templates.
1106 Adjust template functions to mostly work with GeanyDocuments.
1107 Minor cleanups in the template code.
1109 Replace the old icons with smiley icons from the Rodent icon theme.
1110 Fix showing the same icon for two or more slots.
1112 * src/editor.c, src/editor.h, src/keybindings.c:
1113 Rename fold_symbol_click() to editor_toggle_fold().
1114 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
1115 was used to respect the 'Fold/unfold all children' preference
1119 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1122 Prevent possible segfault in get_build_group().
1124 Fix GLib warning & beep if trying to insert multiline comment for a
1125 filetype that doesn't support it.
1128 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1131 Add gcc commands to build a plugin to the HowTo.
1132 * src/search.c, src/document.c, src/document.h:
1133 Show 'Replaced X matches in Y documents' message when using
1137 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1139 * scripts/plugin_test.c:
1140 Add a little test program which can load and test Geany plugins to
1141 verify it is loadable at runtime and all necessary symbols are
1143 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
1145 Add new signal: "geany-startup-complete" which is sent once all
1146 initialization and startup tasks has been done.
1147 * README.I18N, configure.ac, wscript, po/LINGUAS:
1148 Remove po/LINGUAS from the repository.
1149 Generate it automatically if needed by reading available
1150 message catalogs from the po directory.
1151 Also respect the LINGUAS environment variable properly.
1154 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1157 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
1161 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1163 * src/editor.c, src/templates.c, src/templates.h:
1164 Refactor templates_replace_all() into templates_replace_valist()
1165 to save some code duplication.
1168 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1170 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
1171 src/plugindata.h, src/plugins.c:
1172 Add editor_insert_text_block() to plugin API.
1175 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1178 Update copyright information.
1179 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1180 doc/geany.txt, doc/geany.html:
1181 Add keybinding to open the last closed tab (closes #2912692).
1184 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1186 * autogen.sh, configure.in, configure.ac:
1187 Rename configure.in to configure.ac.
1188 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
1190 Add sci_find_text() to the plugin API.
1191 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1192 src/interface.c, src/prefs.c:
1193 Add a checkbox in the preferences dialog to explicitly toggle
1194 the visibility of the sidebar (closes #2923340).
1197 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1199 * src/editor.c, src/plugins.c, src/plugindata.h,
1200 plugins/geanyfunctions.h:
1201 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
1202 editor_get_eol_char() to the plugin API.
1203 * src/callbacks.c, src/plugins.c, src/plugins.h:
1204 Fix sensitivity of the Edit->Plugin Preferences menu item
1205 if plugins are loaded which do not provide a configuration dialog.
1206 * scripts/create_py_tags.py:
1207 Rewrite and extend the Python tags parsing script to use
1208 Python's inspect module to read symbols from Python modules
1209 including scope information.
1210 * data/filetypes.restructuredtext:
1211 Add the default comment character sequence for reStructuredText.
1213 Show the Find/Goto dialogs if the corresponding toolbar buttons are
1214 clicked but their text fields are not part of the toolbar (#2920807).
1215 * data/filetypes.common, doc/geany.html, doc/geany.txt,
1217 Add new style to change foreground and background colours for
1218 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
1220 Remember the window position of the Find, Replace and Find in Files
1221 dialogs (closes #2877988).
1224 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
1227 Fix a minor typo inside plugin API reference.
1230 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1232 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
1233 Make dialogs_show_prompt() more flexible to take up to three
1234 button/response code pairs to be shown.
1235 Add a close button to the dialog when asking to Re-Save a
1237 (closes #2916954, based on a patch by Dominik Stadler, thanks).
1239 Fix LaTeX environment auto completion with CR/LF line endings.
1240 Add some sanity checks.
1242 When closing a document after it was deleted from the filesystem,
1243 don't ask whether it should be saved first.
1244 Mark the document only as changed if it is not closed afterwards.
1245 Prevent possible segfaults if the document was closed when it is
1246 missing from the filesystem.
1247 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
1248 src/msgwindow.h, src/prefs.c:
1249 Add MessageWindow::scribble and use it instead of searching the
1250 widget pointer everytime.
1251 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
1252 Add preferences for hiding single tabs from the messages window
1253 (no GUI preferences yet, still to be implemented).
1254 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1255 Set the correct parent window for the toolbar editor
1256 dialog (closes #2913334).
1257 * src/win32.c, src/win32.h, src/ui_utils.c:
1258 Rename win32_show_project_folder_dialog() to
1259 win32_show_folder_dialog() as it is not related and not used by any
1260 project management related code.
1261 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
1262 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
1263 as it is specialised for opening documents.
1264 Implement win32_show_file_dialog() as a generic file open dialog and
1265 use it with ui_path_box_new().
1268 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1271 Extend auto_latex() function to check whether an environment has been
1272 closed within the next lines to avoid auto adding double \end{}.
1274 Remove LaTeX tags from SVN. Can be found at
1275 http://download.geany.org/contrib/tags/ if needed.
1278 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1280 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
1281 Add document_need_save_as().
1282 Show the Save As also for documents created from filetype templates
1283 instead of saving them directly with the untitled filename.
1286 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1288 * geany.glade, src/interface.c:
1289 Move 'Send Selection to Terminal' menu item from Format to Commands
1292 When going to a build error, try the current document's path if
1293 the parsed filename doesn't exist. (This can happen when we receive
1294 build messages in the wrong order - after the 'Leaving directory'
1297 Refactor msgwin_goto_compiler_file_line().
1298 * src/interface.c, src/keybindings.c, geany.glade:
1299 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
1302 Refactor/reformat on_replace_dialog_response().
1305 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1308 Improve geany.spec (split the package into a binary and devel
1309 package, update BuildRequires and other minor improvements).
1310 Patch by Dominic Hopf, thanks.
1313 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1315 * src/filetypes.c, src/filetypes.h:
1316 Make group for custom filetypes.
1317 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
1318 Add custom filetype Genie.
1321 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1323 * src/highlighting.c:
1324 Highlight D & Java types from a global tags file.
1325 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1326 Add debug message warning if recursive lexer_filetype is set.
1327 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
1328 Remove duplicate sci_set_keywords(), make argument const.
1329 * src/highlighting.c:
1330 Only show debug message once if recursive lexer_filetype is set.
1331 Tidy highlighting_init_styles code for filetype None handling.
1332 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
1333 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
1334 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
1335 tagmanager/parsers.h, tagmanager/makefile.win32,
1336 tagmanager/verilog.c, tagmanager/Makefile.am,
1337 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
1338 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
1339 * src/highlighting.c:
1340 Fix segfault on startup (oops).
1341 * data/filetypes.verilog:
1342 Fix using common style colours for Verilog.
1345 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1347 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1348 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1349 Move C-like filetype properties into configuration files.
1350 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1352 Remove now unnecessary "styling_within_preprocessor" C style key.
1353 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1354 data/filetypes.glsl, data/filetypes.cs:
1355 Use lexer_filetype=C configuration file key instead of duplicate
1356 styleset functions for C++, C#, GLSL, Vala.
1359 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1361 * doc/geany.txt, doc/geany.html:
1362 Warn about not using BOM for configuration files (confuses GKeyFile
1363 parser, at least on my system).
1365 Add/improve debug messages for custom filetypes.
1368 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1371 Add a couple of further latex-beamer commands to list of LaTeX tags.
1374 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1376 * plugins/filebrowser.c:
1377 Add an in-entry clear icon to the filebrowser plugin's filter
1378 entry (patch by Dominic Hopf, thanks).
1379 * src/prefs.c, src/ui_utils.c:
1380 Fix two compiler warnings about possibly uninitialised variables.
1383 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1385 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
1386 plugins/geanyfunctions.h:
1387 Add main_is_realized() to the plugin API.
1388 * tagmanager/include/tm_tagmanager.h:
1389 Update partly outdated and wrong doc comment.
1390 * src/main.c, src/main.h, src/socket.c:
1391 Allow opening Geany projects remotely.
1392 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
1393 Add a hidden pref to allow executing text which was sent to the
1394 terminal directly, i.e. do not strip trailing newline characters.
1395 Also fix the stripping of trailing newline characters if there was
1399 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1401 * src/about.c, THANKS:
1402 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
1403 Kurt de Bree into section of previous translators.
1406 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1408 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
1409 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
1413 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1415 * src/highlighting.c:
1416 Make stylesets take a ft_id argument so they can be reused fully with
1417 custom filetypes, so custom styles and keywords can be set.
1418 * src/highlighting.c:
1419 Fix setting filetype properties when both the system and the user
1420 file have properties set.
1421 * src/symbols.c, tagmanager/vhdl.c:
1423 * src/highlighting.c:
1424 Fix lexer settings for custom filetypes.
1427 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1430 Remove duplicate regular expression for parsing classes.
1431 Fix and improve parsing of constants (patch by Harold Aling, thanks).
1432 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
1433 src/main.h, THANKS, src/about.c:
1434 Add new command line option "--socket-file" to be able to specify
1435 separate socket filenames for instances
1436 (closes #2896027, patch by Jörn Reder, thanks).
1437 * src/keybindings.c, src/keybindings.h:
1438 Add keybindings_check_event() to manually check GdkKeyEvents against
1439 Geany's keybindings.
1440 * src/callbacks.c, src/utils.c, src/utils.h:
1441 Add and use utils_get_help_url().
1442 * geany.glade, src/interface.c, src/prefs.c:
1443 Add a Help button to the preferences dialog.
1444 Handle Help keybinding events for the preferences dialog especially
1445 and open the manual with the corresponding anchor link to the current
1446 preferences page (same goes for the new Help button).
1449 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1451 * src/toolbar.c, src/geanymenubuttonaction.c,
1452 src/geanymenubuttonaction.h:
1453 Use separate tooltips for toolbar menu buttons and their attached
1455 * tagmanager/latex.c:
1456 Improve parsing of sections and chapters by ignoring shortnames
1457 like \section[shortname]{label} (closes #2890477).
1460 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1462 * src/geanymenubuttonaction.c:
1463 Try to fix Gtk warning when using Tools->Reload Configuration.
1466 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1468 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1469 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
1470 data/filetypes.pascal, data/filetypes.docbook,
1471 data/filetypes.python, data/filetypes.conf:
1472 Use filetypes.foo [lexer_properties] group instead of hardcoding
1473 lexer properties (more flexible e.g. for custom filetypes).
1474 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
1475 Replace filetypes.xml html_asp_default_language key with
1476 filetypes.html asp.default.language property in [lexer_properties]
1480 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1482 * doc/geany.txt, doc/geany.html:
1483 Fix slightly wrong description of how to insert Unicode characters.
1485 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
1486 ui_setup_open_button_callback().
1487 * src/prefs.c, src/prefs.c, src/vte.c:
1488 Refactor color and font button callback functions in the
1489 preferences dialog. Move the VTE related callback functions
1491 Make use of ui_setup_open_button_callback().
1493 Improve printing status texts (patch by Dominic Hopf, thanks).
1494 * src/prefs.c, src/vte.c:
1495 Use the default dialog title set by ui_setup_open_button_callback()
1496 to be more consistent and to save one string.
1499 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1502 Separate DKinds from CKinds.
1503 Don't generate macro tags for D, Java.
1506 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1508 * tagmanager/ctags.c, tagmanager/general.h:
1509 Make TagManager Assert statements cause g_warning on failure.
1510 * src/keybindings.c:
1511 Fix reflow paragraph command when cursor < anchor using
1512 sci_fix_selection().
1515 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1517 * tagmanager/perl.c:
1518 Fix Geany segfault with constant tags (#2895168).
1520 Fix invalid tree iter access when using tv_iters.tag_other but not
1521 using tv_iters.tag_variable.
1522 * HACKING, tagmanager/perl.c:
1523 Fix parsing Perl format statements ("other" type doesn't seem
1525 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
1526 Fix using "other" tag type.
1529 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1532 Remove useless comment about applying settings only when libvte.so
1533 could be loaded which is only displayed *if* libvte.so is loaded.
1535 Allow autocompletion for HTML entities even within a word.
1536 * src/geanymenubuttonaction.c:
1537 Only set the menu of the button if a non-empty GtkMenu is passed to
1538 geany_menu_button_action_set_menu() so the menu arrow keeps
1542 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1545 Fix parsing some Java code (e.g. filetypes.java) after r4407.
1548 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1551 Parse D functions with contracts (fixes #1885480).
1552 Parse D alias statement like typedef.
1553 (Ignore some more D keywords).
1555 Fix creating D interface tags properly.
1557 Parse contents of D extern{} and version{} blocks.
1560 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1566 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1568 * src/plugindata.h, HACKING:
1569 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
1572 Show number of files saved on status bar when using Save All.
1573 * src/highlighting.c:
1574 Use default color scheme if pref color scheme file doesn't exist.
1575 * src/keybindings.c:
1576 Fix moving correct lines after selecting whole line(s).
1579 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1581 * tagmanager/makefile.win32:
1582 Fix broken build on Windows because of a typo
1583 (patch by Timothy Boronczyk, thanks).
1586 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1588 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1590 Add 'View->Editor->Color Schemes' menu, for now only shown if color
1591 scheme files exist in a colorschemes config directory. Color scheme
1592 files must end in ".conf" and currently only the [named_styles]
1594 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1595 Add utils_get_config_files().
1596 * src/highlighting.c:
1597 Fix issue with default color not being reset if overridden with a
1598 system default color.
1599 * src/highlighting.c:
1600 Only reload filetype files when changing color scheme, not all
1601 configuration files.
1602 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1603 Deprecate documents_foreach() as it looks more like a function; use
1604 foreach_document() instead.
1605 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1608 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1610 * src/stash.c, src/stash.h:
1611 Use typedef instead of pointer for widget_id function arguments.
1614 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1616 * src/pluginutils.c:
1617 Don't expand Plugin Preferences page spacing vertically to fill the
1618 height of the dialog.
1619 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1620 geany.glade, plugins/splitwindow.c:
1621 Allow GeanyKeyBinding label field to contain underscores, which won't
1622 be displayed by Geany. This saves adding near-duplicate translation
1624 Add mnemonics for 3 Edit->Format menu items.
1625 Add keybindings_get_label().
1626 * src/interface.c, geany.glade:
1627 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1631 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1634 Desensitize Edit->Commands menu item when no docs are open.
1635 * src/interface.c, src/keybindings.c, src/callbacks.c,
1636 src/callbacks.h, geany.glade:
1637 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1638 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1639 Add general function sci_get_string() that works with any string
1640 buffer messages that follow the Windows message convention.
1641 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1642 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1643 src/pluginutils.c, src/pluginutils.h, geany.glade:
1644 Add 'Edit->Plugin Preferences' menu item and keybinding.
1645 Don't include plugindata.h in pluginutils.h because it redefines the
1646 GEANY() macro for plugin use.
1647 * doc/geany.txt, doc/geany.html:
1648 Update for Plugin Preferences keybinding.
1651 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1654 Sort document word completion list.
1655 * src/interface.c, src/keybindings.c, src/callbacks.c,
1656 src/callbacks.h, geany.glade:
1657 Add some useful commands to editor popup menu under "Commands"
1658 submenu (thanks to Lex).
1659 Move 'Duplicate line or selection' from Format -> Commands submenu.
1660 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1661 Enable switching the sidebar to the right on Windows again, as it
1662 apparently works after all.
1664 Fix using tab to autocomplete in some other situations that word part
1665 completion doesn't apply in.
1666 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1667 Add Edit->Commands submenu which is shared with the editor popup
1669 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1670 Change editor popup Commands submenu to start as child of menubar
1671 Edit menu, as this is more usual e.g. for keybindings initialization.
1672 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1674 Share a single Format submenu for menubar Edit and popup menu.
1677 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1680 Fix a compiler warning about an uninitialised variable.
1682 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1683 sciwrappers.h, build.h (for the Waf build system,
1684 accordingly to r4366).
1687 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1689 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1690 src/toolbar.c, src/toolbar.h:
1691 Add missing dox for types/files in the API.
1692 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1693 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1694 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1695 of functions not in the API).
1696 Warning: any plugins that include these headers should remove them.
1697 * src/build.c, src/build.h:
1698 Move function doc-comments to build.c so they stay in sync. Note:
1699 these functions are still not in the API.
1701 Add 'Doc-comments' plugin API subsection.
1702 * plugins/filebrowser.c:
1703 Fix packing configure widgets equally.
1704 Use spacing multiples of 6 as recommended by Gnome HIG.
1705 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1706 Disable switching the sidebar to the right on Windows as it will
1707 probably fail like the Split Window plugin.
1709 Improve 'Detect from file' indentation pref by ignoring lines with
1710 indentation wider than 24 characters as this is more likely to be
1711 alignment than indentation.
1714 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1716 * plugins/saveactions.c:
1717 Fix adding the filetype's default extension when using the
1718 Instant Save plugin (closes #2885142).
1720 Before looking for line and column numbers specified as part
1721 of a filename, ensure the file doesn't exist on disk. This allows
1722 opening of files like "test:0".
1724 Rename "select" variables into "selection" to avoid shadowed names.
1725 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1726 Add ui_widget_modify_font_from_string() and sci_goto_line()
1728 * plugins/filebrowser.c:
1729 Rename "select" variables into "selection" to avoid shadowed names.
1730 Make use of ui_widget_modify_font_from_string().
1733 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1735 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1736 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1738 Add sidebar position interface pref.
1741 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1743 * doc/geany.txt, doc/geany.html:
1744 Add missing underscores to links.
1747 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1749 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1750 Add 'Move line(s) up/down' keybindings.
1753 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1755 * src/build.c, src/build.h, src/filetypes.h:
1756 Include code for project filetype execute commands and fix bug in
1757 saving project filetypes list.
1758 * src/project.c, src/build.c, doc/geany.txt:
1759 Make non-project execute configuration save to filetypes not
1761 Fix closing of project failing to remove build commands dialog entry.
1764 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1766 * src/project.c, src/ui_utils.c:
1767 Set border width for project properties build table.
1768 * geany.glade, src/interface.c:
1769 Don't expand hard tab width alignment.
1772 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1774 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1775 doc/geany.txt, doc/geany.html:
1776 Support loading global tags files for custom filetypes.
1777 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1778 doc/geany.txt, doc/geany.html:
1779 Add 'Word part completion' keybinding so keys other than Tab can be
1780 used, or to clear/change the combination so Tab does full completion
1782 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1783 Add 'Select to previous/next word part' keybindings.
1784 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1785 Add 'Switch to Messages' focus keybinding.
1788 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1790 * doc/geany.txt, doc/geany.html:
1791 Add 'Custom filetypes' section.
1792 * src/filetypes.c, src/filetypes.h, src/document.c,
1793 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1794 tagmanager/include/tm_source_file.h:
1795 Add filetype "tag_parser" key so custom filetypes can use an existing
1797 Add tm_source_file_get_named_lang().
1798 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1800 Add filetype "lexer_filetype" key so custom filetypes can use an
1804 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1806 * THANKS, src/about.c:
1807 Add Xhacker Liu for his work at zh_CN translation to long list of
1811 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1813 * src/sciwrappers.c:
1814 Remove unnecessary line number margin padding.
1815 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1816 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1818 Improve word part autocompletion so AC list is not cancelled and
1819 reshown (this also stops the selection changing).
1820 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1822 Improve CamelCase word part autocompletion for runs of capital
1825 Don't complete snippets if there's a selection.
1828 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1831 Fix crash opening project when Geany started with no geany.conf.
1834 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1836 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1837 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1839 Add word part autocompletion for the current selected item when
1840 pressing Tab - Enter still completes normally.
1841 Add foreach_str() API macro.
1842 Temporarily modify scintilla to say if tab was used for
1844 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1845 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1846 plugins/classbuilder.c:
1847 Revert r4301 - utils_free_pointers() taking 4 arguments.
1848 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1849 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1850 plugins/splitwindow.c:
1851 Add highlighting_set_styles() to API, use for Split Window plugin so
1852 filetypes.common settings get set too.
1853 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1855 * src/document.c, src/editor.c, plugins/splitwindow.c:
1856 Call editor_apply_update_prefs() from editor_create_widget() so
1857 correct tab width and other settings are applied for Split Window
1861 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1863 * src/keybindings.c:
1864 Don't include trailing newlines when using reflow command.
1866 Add stock close buttons to notebook tab popup menu.
1867 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1868 plugins/geanyfunctions.h:
1869 Add document_get_notebook_page() to API.
1871 * data/templates/files/file.html, data/templates/files/file.php:
1872 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1873 * src/interface.c, src/ui_utils.c, geany.glade:
1874 Move Tools configuration items to top of menu.
1875 * src/keybindings.c, src/search.c:
1876 Fix warning when using Find in Files with no documents open; make
1877 keybinding work in this case.
1880 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1882 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1883 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1884 Make Split Window 'Show current document' button have a drop-down
1885 menu to select the other documents.
1886 Add new API function ui_menu_add_document_items().
1889 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1892 Fix sensitivity settings for compile and build toolbar items.
1895 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1898 Don't use filetype submenus for templates (slower to navigate, often
1899 only 1 per-filetype anyway).
1901 Put old filetype template menu items in 'Old' submenu as they should
1902 be removed after the 0.19 release.
1903 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1904 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1905 to be ignored if inappropriate so a later keybinding with the same
1906 key combination can intercept it. (Also group callbacks are usually
1907 tidier than separate callbacks).
1908 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1909 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1910 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1911 plugins/classbuilder.c:
1912 Make utils_free_pointers() take 4 arguments, add to API.
1913 * src/templates.c, src/tools.c, src/ui_utils.c:
1914 Fix memory leaks with gtk_container_get_children().
1917 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1920 Ensure that old style build config is not loaded if it does
1924 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1926 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1927 Added Galician translation.
1928 Thanks to José Manuel Castroagudín Silva.
1931 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1933 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1935 Apply set default encoding for existing files only if the files are
1936 non-Unicode (patch by Alexey Antipov, thanks).
1939 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1941 * src/highlighting.c:
1942 Move new_styleset() and preprocessor setup code into
1944 * src/highlighting.c:
1945 Call apply_filetype_properties() from styleset_c_like().
1948 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1950 * doc/geany.txt, doc/geany.html:
1951 Improve information about predefined keybindings which are
1952 commonly used across applications (patch by Lex Trotman, thanks).
1954 Enable embedded page setup properties in the (Unix) Print dialog
1955 on newer GTK versions (closes #2870596).
1956 * src/highlighting.c:
1957 Map global types (read from tags files) to keyword style for
1961 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1964 Fix wrong creation of filetype template menu items for custom
1966 * src/highlighting.c:
1967 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1969 Group 'New with template' items by filetype submenu (currently only
1971 Show custom file template items before filetype template items.
1972 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1974 Only use one 'New with template' submenu - reparent as needed.
1976 Don't create templates/filetype.none either.
1978 Warn if custom template file no longer exists.
1981 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1984 Add missing icon for Java packages in the Symbol List.
1987 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1989 * src/highlighting.c, data/filetypes.vala:
1990 Add Vala keywords to conf file.
1991 * src/templates.c, doc/geany.txt, doc/geany.html:
1992 Read custom file templates from $prefix/share/geany/templates/files
1993 as well as user dir.
1994 * src/templates.c, data/templates, data/templates/files,
1995 data/templates/files/file.rb, data/templates/files/file.html,
1996 data/templates/files/main.java, data/templates/files/main.c,
1997 data/templates/files/main.cxx, data/templates/files/file.php,
1998 data/templates/files/main.d, data/templates/files/program.pas,
1999 data/templates/files/main.py, data/templates/files/file.tex,
2000 wscript, Makefile.am:
2001 Move filetype template defaults into custom file template files.
2004 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2006 * src/symbols.c, tagmanager/perl.c:
2007 Change Perl tag parser to ctags SVN r601. This removes support for
2008 buggy local/my/our but it parses constant/format/labels and should
2009 be less buggy overall (closes #2861232).
2010 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
2011 Add utils_get_file_list_full() which can optionally sort or include
2012 a full path for each list item.
2013 * src/utils.c, src/plugindata.h, src/plugins.c:
2014 Add utils_get_file_list_full() to API.
2017 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2019 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
2020 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
2021 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
2022 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
2023 po/POTFILES.in, wscript:
2024 Rename treeviews.[hc] -> sidebar.[hc].
2025 * data/filetypes.common:
2026 Remove unused [styling] arguments.
2027 * src/highlighting.c, data/filetypes.markdown,
2028 data/filetypes.restructuredtext:
2029 Remove style defaults from the code - just read them from
2030 configuration files.
2031 * src/highlighting.c, HACKING:
2032 Add apply_style_entries() to simplify implementing styleset_foo().
2033 * src/highlighting.c:
2034 Remove filetype keyword defaults from the code - just read them from
2035 configuration files.
2036 * src/highlighting.c:
2037 Add sci_set_keywords() wrapper.
2040 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2042 * scripts/create_py_tags.py:
2043 Make the code a bit more pythonic.
2044 * doc/images/build_menu_commands_dialog.png,
2045 doc/images/main_window.png:
2046 Add new images referenced in the documentation.
2047 * doc/geany.html, doc/geany.txt:
2048 Several documentation improvements (patch by Lex Trotman, thanks).
2049 * src/pluginutils.c:
2050 Fix setting the appropriate page of the combined plugins
2054 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2056 * src/keybindings.c:
2057 Only focus toolbar goto line entry when pressing keybinding if it's
2058 visible (patch by Eugene Arshinov, thanks).
2060 Focus editor after entering a number in the goto line toolbar entry.
2062 Use AC_PATH_PROG instead of which for portability (patch by Erik
2063 Southworth, thanks).
2065 Show plugins that only implement plugin_configure_single() in the
2066 multiple-configure dialog as a page with a configure button on it.
2067 Add padding for multiple-configure dialog.
2068 Make the multiple-configure dialog notebook tabs scrollable.
2069 * src/pluginutils.c, src/pluginutils.h:
2070 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
2071 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
2072 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
2073 plugins/geanyfunctions.h, plugins/filebrowser.c:
2074 Add plugin_show_configure() API utility function.
2075 Add File Browser popup menu 'Preferences' item.
2076 * src/highlighting.c:
2077 Add get_keyfile_ints() instead of using tmp_style hack.
2078 * src/highlighting.c, data/filetypes.xml:
2079 Change new html_asp_default_language markup pref to use integer,
2080 not hex in config file.
2081 Fix minor issue with changing pref back to 0.
2082 * src/highlighting.c:
2083 Fix possible segfault in get_keyfile_int() if key value is malformed.
2086 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2088 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
2089 Add "html_asp_default_language" pseudo style to filetypes.xml
2090 to allow setting the used language in embedded ASP code
2091 (patch by Ross McKay, thanks).
2092 * src/filetypes.xml:
2093 Update VBScript keywords (patch by Ross McKay, thanks).
2096 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2098 * src/keybindings.c, THANKS:
2099 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
2100 keybinding use line breaking column when enabled.
2102 Fix showing the document before reload dialog when opening an
2104 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
2105 Add plugin_configure_single() plugin symbol which is easier to
2106 implement than plugin_configure() but won't support a
2107 multiple-plugin configure dialog.
2109 Show multiple plugins in the 'Configure Plugins' dialog.
2112 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2114 * doc/geany.txt, doc/geany.html:
2115 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
2117 * doc/geany.txt, doc/geany.html:
2118 Add 'Toolbar entries' section.
2119 * doc/geany.txt, doc/geany.html:
2120 Update 'Go to line' keybinding description.
2121 * doc/geany.txt, doc/geany.html:
2122 Split keybinding table into group tables; update KB links.
2125 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2128 Fix compiler warnings about uninitialised variables.
2129 * src/callbacks.c, src/document.c:
2130 When reloading files, use the previously set encoding instead of
2131 detecting it again (closes #2862041).
2133 Turn on automake silent rules if supported.
2136 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2139 Speed up sorting in utils_get_file_list(). This reduces the file
2140 browser delay on displaying a big directory, e.g. /usr/bin.
2142 Expand command entry width when expanding Build Commands dialog.
2144 Split Build Commands dialog notes label and edit text.
2146 Add padding for Build Commands dialog separators.
2147 Add colons for regex field labels; fix 1 capitalisation.
2149 Fix none filetype Build Commands dialog label.
2150 Make group labels bold.
2151 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
2153 Add & use ui_label_set_markup(), ui_label_new_bold().
2154 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
2155 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
2156 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
2157 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
2158 * src/keybindings.c:
2159 Make 'Go to Line' keybinding focus the toolbar entry if visible.
2162 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2164 * src/filetypes.c, src/filetypes.h, src/symbols.c,
2165 tagmanager/parsers.h, tagmanager/makefile.win32,
2166 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
2167 data/filetype_extensions.conf, wscript:
2168 Add new filetype: Abc (patch by Eric Forgeot, thanks).
2170 Merge recent changes from the CTags project to further improve
2174 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2177 Fix wrong alignment of printed pages when page headers are
2178 disabled (closes #2856822).
2179 Plug a small memory leak and improve function signature of
2182 Save an if expression.
2184 After clearing a text field using the embedded clear icon, put the
2185 input focus into this text field.
2188 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2190 * plugins/filebrowser.c:
2191 Free file list memory whilst iterating the list.
2192 Minor formatting fixes.
2193 * src/utils.c, src/utils.h:
2194 Add foreach_dir() API macro.
2195 Update API docs for utils_get_file_list().
2196 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
2198 Remove queue.[hc] - use GQueue instead of GeanyQueue.
2199 Beep if there are no more snippet positions.
2200 Limit length of snippet positions queue to 20.
2203 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2205 * src/keybindings.c, src/callbacks.c, src/search.c:
2206 Make Goto Tag commands use the current selection if present (useful
2207 for selecting part of a tag or for ReST section names with spaces
2210 Don't move the cursor when reloading.
2211 * src/plugindata.h, src/editor.c, src/editor.h:
2212 Make editor_prefs.snippets hash table private (not a pref).
2215 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2218 Remove deprecated --debug flag. Please use --verbose/-v instead.
2221 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2224 Show Find in Files stderr output in messages window instead of
2225 debug window so that invalid regex messages can be seen easily.
2226 Combine FIF stdout and stderr callback code.
2229 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2232 Fix opening filenames beginning with two dots (closes #2858487).
2233 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
2234 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
2235 data/filetypes.common, geany.glade:
2236 Update syntax highlighting after changing the 'Invert syntax
2237 highlighting colors' pref, instead of requiring a restart.
2238 Remove filetypes.common invert_all option - use 'Invert syntax
2239 highlighting colors' pref instead (closes #2854525).
2240 * src/prefs.c, src/dialogs.c, src/dialogs.h:
2241 Add 'Allow' button when showing the conflicting keybinding dialog.
2242 Make dialogs_show_question_full() use GTK dialog on Windows if
2243 button text is not the stock yes/no items.
2244 Add dialogs_show_prompt() which also has an 'Apply' button.
2245 * src/queue.c, src/queue.h:
2246 Add warning that GeanyQueue may be removed.
2247 * src/keybindings.c, src/editor.c, src/editor.h:
2248 Change snippet_goto_next_cursor() to
2249 editor_goto_next_snippet_cursor() as it's in editor.h.
2250 Avoid using GPOINTER_TO_INT macro.
2253 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2255 * src/keybindings.c:
2256 Fix 'Reflow block' command when at the last paragraph and there's
2257 no last newline (patch by Eugene Arshinov, thanks).
2259 Add 'Compiler options & warnings' section.
2260 Update Style section to be clearer about code alignment and show
2265 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2267 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2268 src/plugindata.h, src/plugins.c, src/editor.c,
2269 plugins/geanyfunctions.h:
2270 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
2271 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
2273 Add sci_toggle_marker_at_line().
2274 Fix SciFuncs alignment.
2277 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
2280 Fix erroneous free of returned string in prepare_run_script.
2283 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2285 * data/filetypes.latex:
2286 Changing default value for showing pdf and dvi to ensure to take
2287 *.pdf and *.dvi file.
2290 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2292 * src/about.c, THANKS:
2293 Change language string for Slovenian translation.
2296 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2298 * tagmanager/txt2tags.c:
2299 Fix multi-byte character constant comparison.
2301 Fix Gtk warning when trying to update documents popup menu item
2302 sensitivity before they exist.
2305 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2308 Improve the opening string in the plugin manager dialog.
2310 Use "max-width" to set the document width of the generated
2311 HTML documentation to let the text be auto-wrapped.
2312 * src/prefs.c, src/tagmanager/include/guregex.h,
2313 src/tagmanager/include/tm_tagmanager.h:
2314 Remove trailing spaces (patch by André Hentschel, thanks).
2316 Fix a compiler warning.
2318 Fix crash when opening documents.
2319 * src/build.c, src/build.h, src/project.c:
2320 Adjust coding style (no code changes).
2321 * src/build.c, src/project.c:
2322 Use NZV() macro instead of strlen() to check for empty strings.
2323 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
2324 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
2325 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
2326 src/plugins.c, THANKS:
2327 Add new plugin signal: "document-before-save".
2328 Add get_line_end_position(), set_target_start(), set_target_end(),
2329 replace_target() to the plugin API
2330 (patch by Eugene Arshinov, thanks).
2331 Add new plugin signal: "document-filetype-set" (closes #2852286).
2332 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
2333 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
2334 tagmanager/Makefile.am, tagmanager/makefile.win32,
2335 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
2337 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2340 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2342 * src/treeviews.c, src/document.c:
2343 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
2344 Use gtk_notebook_set_current_page() instead of
2345 document_open_file_full() when choosing an item from the documents
2347 Avoid using goto in document_open_file_full().
2350 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2352 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2353 Enable type-ahead find for sidebar symbols and documents tabs
2354 (patch by Thomas Martitz, thanks).
2356 Fix 2 free's of possibly uninitialized pointers.
2359 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
2361 * src/build.c, src/filetypes.h, src/filetypes.c:
2362 Only write filetype config files when build command or regex is
2363 actually changed. Removed commented code in src/filetypes.c.
2365 Ensure uses of filename are protected against nulls when running
2366 a build command and give status message if not.
2369 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2372 Remove plugin from plugin manager dialog on unloading if it no
2373 longer exists or is incompatible.
2376 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2379 Add warning if only one of the plugin_key_group[_info] symbols is
2380 defined for a plugin.
2381 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
2382 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
2384 Merge custom-filetypes branch:
2385 Support adding custom filetype files e.g. filetypes.Foo.conf.
2387 Allow GeanyFiletype::extension to be NULL.
2388 Add note about using GeanyFiletype pointer instead of filetype_id
2389 for filetypes.c function arguments.
2390 Replace styleset_none() with styleset_default().
2393 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2396 Show the sidebar if either the documents or the symbols list are
2397 enabled (related to #1876107).
2400 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2402 * src/build.c, src/filetypes.c:
2403 Fix compiler warnings.
2405 Fix removing leading double slashes in filenames which are used for
2406 network resources on Windows (closes #2844085).
2409 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2411 * src/keybindings.c:
2412 Fix Make keybindings (patch by Lex Trotman, thanks).
2414 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
2416 Mention Files link at top for header files; demoplugin.c.
2417 Minor edits; remove 'far from being complete'.
2418 * src/keyfile.c, src/keyfile.h, src/main.c,
2419 data/filetype_extensions.conf, HACKING:
2420 Remove --generate-data-files argument & code - just edit
2421 filetype_extensions.conf by hand (filetype order was broken
2423 Add *.H extension for C++ (useful for non-Windows systems).
2426 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
2429 Fix implementation of loading old project files with base
2430 directories. Use project_make_base_path instead of re-
2431 implementing. Now depends on project.c reading base dir
2432 prior to calling load_build_menu.
2434 Change usage of project base directory to conform with
2435 previous documented behavior when loading old project files.
2437 Change make custom and make object to ignore make in base path
2438 when reading old project file settings. Changed some indent
2439 spaces to tabs. Fix missing compile menu accelerator.
2442 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2445 Add warning about not using undocumented features.
2446 Add reference to HACKING for plugin API development.
2448 Add section 'Plugin API/ABI design'.
2449 * src/keybindings.h, src/makefile.win32, src/project.h,
2450 src/filetypes.h, src/Makefile.am, wscript:
2451 Use GEANY_PRIVATE to hide some fields from plugins.
2453 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
2454 * src/build.c, src/build.h, src/project.c:
2455 Use build_ prefix for 3 functions in build.h; add a static modifier.
2458 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2461 Improve parsing of PHP functions by requiring a valid modifier or
2462 whitespace before the 'function' keyword to ignore some false
2463 positives like function tags inside comments
2464 (patch by Harold Aling, thanks).
2465 * tagmanager/python.c:
2466 Don't parse comments after import statements and other tags
2467 (closes #2838938, patch by Huandari Lopez, thanks).
2470 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2472 * data/filetypes.markdown:
2473 Add filetypes.markdown for configuration (thanks to Jon Strait).
2474 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
2475 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2476 plugins/geanyfunctions.h:
2477 Remove GeanyKeyGroup struct from the API - plugins should not set
2479 Make keybindings_set_item() duplicate the name and label fields
2480 (needed by GeanyLua) and return a keybinding pointer.
2481 Add keybindings_get_item() to the API (in case it's useful).
2482 Move some keybinding code out of plugin source files.
2485 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2487 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
2488 Don't generate build.h API docs until everything is approved and
2489 functions are actually in geany_functions.
2490 Move new GeanyFiletype and GeanyProject field(s) to end of struct
2491 as they may be changed or made private later.
2492 Break ABI for fields removed.
2495 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
2497 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
2498 src/keyfile.c, src/project.c:
2499 Changed names of symbols visible in build API to GEANY_xxx.
2502 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
2504 * src/project.h, src/project.c, src/build.c:
2505 Remove make_in_base_dir and run_cmd fields from project structure.
2506 Replaced by build functionality. Remove incorrect use in src/build.c
2507 build_run_cmd function.
2510 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2512 * src/project.h, src/project.c:
2513 Removed unused project_get_make_dir function, this is now per
2517 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2519 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
2521 Fix some more warnings.
2522 Fix commented out execute/stop toolbar code in build.c.
2523 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
2524 Changed build.h api so all functions prefixed with build_.
2527 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2529 * src/build.c, src/build.h, src/project.c:
2530 Fix some gcc warnings with '-Wall -W -ansi' enabled.
2533 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
2536 Fixed leaks and crashes due to inconsistent use of static vs dynamic
2537 strings when reading old format configuration & project files.
2538 * src/build.c, src/project.c:
2539 Fixed GLib array assertion warnings when no project filetypes are
2540 available to be saved.
2542 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
2548 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
2550 * src/build.h, src/build.c, src/project.c:
2551 Created and documented plugins interface to build menu.
2552 Factored out new get_cmd_group function.
2553 Changed name of remove_command function to be consistent with the
2554 rest of the interface & changed calls in project.c.
2555 * src/Makefile.am, wscript:
2556 Added build.h to installed files lists.
2558 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
2561 Updated manual to match build-menu capability.
2564 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
2566 * src/build.c, src/build.h:
2567 Added set_build_non_ft_wd_to_proj() for use by project dialog.
2568 Improved interpretation of run_in_base_dir from old [build-settings]
2569 Added spacing to build commands dialog
2571 Removed run in base path option from project dialog and added button
2572 to set working directories to d the same.
2575 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
2578 Re-incorporated toolbar changes in trunk accidently excluded in merge
2580 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2583 Fixed substitute %f etc in commands
2584 Fixed potential leak in build_replace_placeholder
2585 Fixed leak in prepare_run_script (Thanks for patch Thomas)
2586 Fixed build_replace_placeholder to not require document.
2588 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2590 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
2591 Fixed crash and lots of warnings, deleted some commented out code.
2592 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
2593 Removed make command from preferences and associated code
2595 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
2597 * src/build.c, src/build.h:
2598 Incorporated patch for working directory field (thanks Thomas)
2599 Removed run_in_base_dir option and associated code that it replaces
2600 Improved handling of old config files and mapping to new ones.
2602 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
2604 * src/build.h, src/build.c:
2605 Changed to itterate over entries in build commands dialog to allow
2606 additional fields to be added
2607 Implement support for multiple run commands
2608 * data/filetypes.latex:
2609 Implement configured commands and labels for latex.
2612 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2614 * src/build.h, src/build.c:
2615 added dialog support for error regular expressions from multiple
2616 sources and storing and loading them fixed some typos and memory
2618 * src/filetypes.c, src/filetypes.h, project.c:
2619 added support for using error regexes from multiple sources
2622 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2624 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2626 Removal of build menu item source made redundant by the following fix
2628 Corrected priority oreder and loading of filetype dependent build
2629 menu items saved in the project file. Added print routine for
2630 debugging command sources and priorities set compile symbol
2631 PRINTBUILDCMDS true to enable
2633 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2636 fixed problem loading old format filetype files, some formatting
2637 fixes fixed saving new format files
2638 added operation for clear button on build commands dialog
2640 fixed loading and saving filetype files
2643 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2645 Configurable Build Menu Changes
2647 * doc/geany.html, doc/geany.txt:
2648 Updated build menu section to new functionality
2649 * src/build.h, src/build.c:
2650 Largly re-written, configurability added, Latex code removed
2651 * src/filetypes.h, src/filetypes.c:
2652 Filetype structure updated to add new command pointers, configuration
2653 load and store changed
2654 * src/keybindings.h, src/keybindings.c:
2655 Changed to address new command storage structure.
2657 Changed to load/store new configuration.
2659 Minor change to initialisation order.
2661 Changed to address new menu item storage structure.
2662 * src/project.h, src/project.c:
2663 Changed to load/store the new configuration info.
2665 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2667 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2668 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2669 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2670 plugins/splitwindow.c:
2671 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2672 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2673 the ABI when adding fields to them.
2674 Add plugin_set_key_group() for plugins to dynamically set a
2675 keybinding group (e.g. for the Lua script plugin). Used in Split
2676 Window plugin as an example.
2677 Improve keybinding docs a little.
2680 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2682 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2683 Add geanyfunctions.h to API docs.
2684 * plugins/splitwindow.c:
2685 Set the cursor color for the split window.
2688 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2691 Fix 'Open Selected File' for unsaved new documents.
2692 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2693 Fix updating main menu accelerators after changing keybindings
2694 (thanks to Lex Trotman).
2696 Fix using 'Insert date' keybinding when a custom date string has
2698 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2699 Merge Plugin and GeanyPluginPrivate structs.
2702 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2704 * src/keybindings.c:
2705 Fix non-working Home and End keys on numpads.
2708 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2710 * doc/geany.txt, doc/geany.html, NEWS:
2711 Add 'Scope autocompletion' section.
2712 Add 'Tools menu items' section to explain configuration files
2713 submenu, reload configuration item.
2714 Minor updates/fixes.
2717 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2720 Add a translation hint to an ambiguous format string.
2722 Add missing include path to fix 'make distcheck'.
2724 Fix opening of local files in the browser on Windows.
2725 * New release: Geany 0.18 "Kaine".
2726 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2727 src/geany.h, doc/geany.html, doc/geany.txt:
2728 Post-release version bump.
2731 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2734 Temporarily disable reshowing calltips when the autocompletion
2735 list was closed implicitly by not choosing an item to fix
2736 problems with wrongly displayed calltips.
2738 Add missing 'coding' cookie to the Python filetype template.
2739 * doc/images/pref_dialog_edit_completions.png,
2740 doc/images/pref_dialog_toolbar.png:
2741 Update images for Geany 0.18.
2744 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2747 Add command '--hackingdoc' to create the HTML form of the
2751 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2753 * po/pt_PT.po, po/LINGUAS:
2754 Added a first Portugese (Portugal) translation based on work done at
2755 launchpad by e.g. André Glória and Alexandre Jesus.
2756 * src/main.c: Fix a minor typo on --help call.
2759 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2761 * src/highlighting.c:
2762 Call get_keyfile_wordchars() in highlighting_init_styles().
2765 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2767 * data/filetypes.ada:
2769 * src/keybindings.c:
2770 Switching notebook tabs now works for the currently used notebook
2771 widget instead of always using the documents notebook.
2772 * src/document.c, src/document.h, src/documentprivate.h,
2774 Small corrections to some API docs.
2777 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2779 * src/build.c, src/win32.h, src/win32.c:
2780 Expand system environment variables (%variableName%) on Windows when
2781 running Build commands.
2784 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2786 * src/keybindings.c:
2787 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2788 future using an indent block is more useful e.g. for ChangeLog
2790 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2791 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2792 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2793 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2794 tagmanager/parsers.h, tagmanager/makefile.win32,
2795 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2796 Add Markdown filetype (patch by Jon Strait, thanks).
2797 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2798 Fix disconnecting plugin signal id when not using geany_object.
2800 Add filetype_make_title() instead of using:
2801 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2802 It also supports "%s file" strings.
2805 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2807 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2808 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2809 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2810 plugins/filebrowser.c:
2811 Add plugin_signal_connect() for connecting plugin signals at
2812 runtime and also for connecting to any GObject signal.
2813 Add 'Plugin Utility Functions' on main page.
2814 Add foreach_array() macro.
2815 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2816 src/document.c, src/editor.c:
2817 Rename 3 sci functions to sci_set_target_start(),
2818 sci_set_target_end(), sci_replace_target() to match the SCI_
2822 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2824 * wscript: Fix compiling error with waf.
2827 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2829 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2830 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2831 src/Makefile.am, wscript:
2832 Move plugin_* utility functions to pluginutils.c.
2833 Add pluginprivate.h.
2835 Fix reshowing calltip in the wrong document.
2838 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2840 * doc/geany.txt, doc/geany.html:
2841 Add some general information about auto-completion capabilities
2842 (patch by Lex Trotman, thanks).
2845 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2847 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2848 Added a first Slovenian translation. Thanks to Joze Klepec.
2851 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2853 * src/highlighting.c:
2854 Use full styleset_foo[_init] function name as argument to
2855 init_styleset_case() and styleset_case() macros so it's easier to
2856 understand the code.
2857 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2858 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2859 doc/geany.txt, doc/geany.html:
2860 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2861 Heavily based on a patch by Eugene Arshinov (thanks).
2862 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2863 editor_strip_line_trailing_spaces().
2866 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2869 Attempt to fix reshowing calltips after the autocompletion list
2871 Reshow calltips also when the autocompletion list was closed
2872 implicitly by not choosing an item.
2874 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2876 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2877 plugins/splitwindow.c:
2878 Change utils_str_remove_chars() to work in place; fix allocating on
2879 the stack (the string length could exhaust the stack size).
2880 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2881 src/printing.c, src/callbacks.c:
2882 Rename utils_str_replace() utils_str_replace_all(), setting a
2883 'gchar **haystack' argument instead of returning a new string.
2885 For the Tabs indent type, remove spaces when unindenting (only) if
2886 there are no tabs on the line.
2887 Group undo actions for (un)indenting of multiple lines.
2888 * src/document.c, src/editor.c:
2889 Fix scrolling horizontally after finding a search match with the
2890 search bar or Find Next/Previous which is off-screen.
2891 * src/keybindings.c:
2892 Fix GLib warning when pressing a key with no documents open.
2895 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2898 Start unifying usage of @a and @c markup elements in API docs,
2900 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2901 Show/hide the toolbar without a restart when the setting in the
2902 preferences dialog is changed (closes #2824785).
2903 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2904 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2905 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2907 Continue unifying usage of @a and @c markup elements in API docs.
2910 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2913 Remove relative/untidy path elements when creating new documents
2914 with a filename (e.g. from the command-line) (#2823998).
2917 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2920 Disable 'Recent Projects' menu item if the list of recent projects
2923 Fix some harmless compiler warnings.
2924 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2925 src/plugins.c, src/utils.c, src/utils.h:
2926 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2927 src/utils.c and add it to the plugin API.
2928 Make utils_str_remove_chars() work on a new copy of the input string
2929 instead of modifying it in place.
2931 Remove underscores from the toolbar items labels.
2934 * plugins/splitwindow.c:
2935 Fix broken 'Show the current document' tool button icon.
2938 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2940 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2942 Add stash_group_add_widget_property() so we can save any widget's
2943 read/write properties.
2944 Use Stash for ui_prefs.sidebar_page setting.
2945 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2946 Make foreach_ptr_array() use an integer argument for its
2947 implementation, as this is more useful potentially than a gpointer*
2948 argument, and more straightforward.
2949 Add foreach_c_array(), foreach_ptr_array() to API.
2950 * src/utils.c, src/utils.h, src/document.c:
2951 Remove relative/untidy path elements when opening documents (closes
2954 Fix showing project name for documents list files with no
2955 subdirectory (oops).
2957 Fix checking whether to overwrite when using the Rename button in
2958 the 'Save As' dialog.
2961 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2964 Don't use the main window as parent for dialog boxes if it is not
2966 Set titles for message dialogs.
2969 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2972 Display item labels instead of raw names in the toolbar editor.
2973 Apply changes in the toolbar editor instantly.
2974 Show icons in the toolbar editor.
2975 Speed up toolbar editor dialog creation.
2977 Improve inserting of comment templates like File header or licence
2978 notices. The comment information are now read from the filetype
2979 configuration files.
2981 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2984 Enable file monitoring for files which are written to disk by Geany
2987 Fix broken special case handling when detecting filetypes from a
2988 shebang or other special file headers.
2991 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2994 Make Mark All keybinding clear search highlighting when there's no
2997 Fix wrong match length when using Mark with regex.
2998 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2999 src/keyfile.c, src/main.c:
3000 Add 'Show Paths' documents list popup item.
3001 Add "load_settings" core-only signal emitted just after loading
3002 main keyfile settings; useful to delay building UI elements until
3003 settings have been read.
3005 Fix GTK warning when right-clicking on default tag tree.
3006 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
3007 Add treeviews_finalize().
3008 Remove tv.popup_openfiles field.
3011 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3013 * src/highlighting.c:
3014 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
3017 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3020 Quote the uri before passing it to the browser when opening a
3021 website (closes #2818635).
3023 Fix broken 'builtin' Run command for HTML files on Windows.
3026 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3029 Properly fix wrong brace highlighting of non-brace character.
3031 Allow autocompletion in Perl double-quoted strings.
3032 Don't autocomplete in Perl single-quoted strings (closes #2821061).
3033 Don't autocomplete in Perl q() strings.
3034 * data/filetypes.common:
3035 Make Mark highlighting brighter.
3036 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
3037 Use hyphen for auto-feature terms.
3038 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
3039 src/document.h, src/main.c:
3040 Add documents_foreach() API macro that skips invalid docs.
3041 Make filetypes[], documents[] part of the API again.
3042 Add GEANY() macro for sharing geany symbols between API and core.
3043 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
3044 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
3045 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
3046 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
3047 plugins/classbuilder.c, wscript:
3048 Add geanyplugin.h single include for plugin API; update all core
3050 Add sci_set_font() to API.
3051 Update plugin howto.
3052 * src/filetypes.c, src/filetypes.h:
3053 Remove filetypes_foreach_named().
3056 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3058 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
3059 src/document.h, src/main.c, THANKS:
3060 Apply patch from Eugene Arshinov to reload color schemes via menu
3063 Reload filetypes.common after saving it.
3065 Improve wrong brace highlighting of non-brace character.
3068 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3071 Delay highlighting matching braces by 100ms, which speeds up
3072 scrolling with the arrow keys.
3073 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
3074 Add 'Mark All' keybinding.
3075 * tagmanager/diff.c:
3076 Show relative paths in diff filename tags.
3079 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3081 * src/highlighting.c:
3082 Fix setting keyword list 'classes' for Haxe
3083 (pointed out by Andreas Mokros, thanks).
3086 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3088 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3089 doc/geany.txt, doc/geany.html, geany.glade:
3090 Add 'Drop rest of word on completion' pref.
3091 * src/editor.c, doc/geany.txt, doc/geany.html:
3092 If autocompletion is already visible when forcing completion, show
3093 document word completion instead of tag completion.
3094 Docs: Minor edits of related prefs items.
3095 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
3096 Add warning when printing and editor font is not monospaced.
3097 Fix using GtkMessageType instead of gint param for
3098 dialogs_show_msgbox*().
3099 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
3101 Support 'tab indents, space aligns' style for auto-indentation
3105 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3107 * src/document.c, src/documentprivate.h:
3108 Rework the GIO based file monitoring code. Now it is used only
3109 to indicate a possible change of the file, the real check if the
3110 file has been changed is performed by stat().
3111 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
3112 Add style 'line_height' to increase the line height.
3113 Add style 'marker_mark' and change style 'marker_search' to
3114 define the style used for marked search results.
3115 * doc/geany.txt, doc/geany.html:
3116 Add the new 'Autocomplete all words in document' pref to the docs.
3119 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3121 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3122 doc/geany.txt, doc/geany.html, geany.glade, TODO:
3123 Add 'Autocomplete all words in document' pref.
3124 Use 'autocompletion' in dialog and docs, not 'auto completion'.
3126 Fix limiting number of word completion entries too much.
3127 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
3128 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
3129 Show autocompletion icons for tag symbols - for now only tags with
3130 an arglist have the 'function/method' icon, all others have the
3132 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
3134 * src/highlighting.c:
3135 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
3139 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3141 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
3142 Fix removing underscores in translated string using no_underscore()
3144 Set a tooltip for the Split Window plugin's Show Current tool button.
3145 Add utils_strdupa() macro.
3146 * src/interface.c, geany.glade:
3147 Use stock Select All icon now we have >= GTK 2.8.
3149 Fix using project name for document items that start with the
3150 project base path but don't match it e.g. ".../geany-plugins"
3151 instead of ".../geany" when project name is 'geany'.
3154 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3157 Fix warnings when the toolbar does not contain the Run button.
3159 Fix wrong parsing of complex expressions in the Lua parser.
3160 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
3162 Remove unnecessary enums.
3163 * scintilla/*, scintilla/include/*, src/plugindata.h:
3164 Update Scintilla to version 1.79.
3165 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
3167 Use the new Scintilla struct names prefixed with 'Sci_'.
3168 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
3170 Add second argument to the 'line_wrap_indent' styling setting to
3171 control the new Scintilla indentation mode for wrapped lines.
3173 Properly close the toolbar editor on delete-events.
3174 Fix warnings and possible crashes in the toolbar editor when the list
3175 of displayed toolbar items is empty.
3176 * data/filetypes.tcl:
3177 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
3179 Make the plugin manager dialog a bit bigger.
3182 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3184 * doc/geany.html, doc/geany.txt:
3185 Fix wrong default values for the 'Show Calltip' keybinding.
3188 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3190 * data/filetypes.tcl, src/symbols.c:
3191 Fix duplicate "context_action_cmd" key.
3192 Use different icons for "Methods" and "Procedures" in the symbol
3195 Fix a small memory leak.
3196 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
3197 src/keybindings.h, src/plugindata.h:
3198 Make the Scintilla keybindings 'Delete to end of line' and
3199 'Go to end of display line' configurable.
3201 Fix a typo (closes #2813624).
3204 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3206 * tagmanager/tcl.c, src/symbol.c:
3207 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
3208 methods and namespaces).
3209 Patch by Witek Mozga, thanks.
3212 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3214 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
3215 src/toolbar.c, src/toolbar.h:
3216 Remove ui_toolbar.xml Configuration Files menu item.
3217 Add a real toolbar editor dialog.
3218 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3220 Add a button in the preferences dialog and an item for the toolbar
3221 popup menu to run the toolbar editor dialog.
3224 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3227 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
3228 Fix using locale encoding for default Save As dialog path.
3230 Beep when trying to activate the '...' autocompletion item.
3231 Limit (forced) document word completion to
3232 autocompletion_max_entries.
3233 Beep if no completions are shown when forcing autocompletion.
3236 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3238 * data/ui_toolbar.xml, src/toolbar.c:
3239 Add 'Build' toolbar button to the default layout.
3242 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3245 If forcing autocompletion and there's nothing else to show, complete
3246 from words in the current document (using code from Enrico's
3247 'AutoComplete Test' plugin).
3250 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3253 Add debug message if plugin has not set a name for its keybinding
3255 * data/filetype_extensions.conf:
3256 Add *.m4 for shell scripts.
3259 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3261 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3262 data/filetypes.common, TODO:
3263 Make filetypes.common named styles use the "default" named style for
3264 all missing style fields.
3265 Set named styles to usually leave the background style empty. This
3266 currently allows C-like filetypes to have a common default
3268 Allow hard-coded colors to use -1 for the default color.
3269 Add some highlighting style examples to the manual.
3272 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3275 Create initial template files with proper platform-specific line
3279 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3281 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
3282 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
3283 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
3284 src/ui_utils.c, src/ui_utils.h:
3285 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
3287 Refactor some related code.
3288 * tagmanager/conf.c:
3289 Strip trailing spaces from "Key" tags.
3291 Quote the full filename to the Geany executable when creating the
3292 "Open with Geany" context menu item.
3293 * plugins/splitwindow.c:
3294 Avoid using deprecated GTK API.
3295 * src/log.c, src/main.c:
3296 Properly clean up the logging mechanism.
3298 Fix LaTeX view commands on Windows (part of #2807688).
3300 Add a popup menu for the keybinding list in the preferences dialog
3301 to easily expand and collapse all groups.
3302 Refactor the keybindings code for the preferences dialog, prefix all
3304 * src/main.c, src/ui_utils.c, src/ui_utils.h:
3305 Init stock items before creating the toolbar (closes #2809324).
3307 Generate the geany.pc file also on Windows.
3309 Invert the logic to determine which Save All we want to use:
3310 Use the Tango like icon only for the Tango theme and the Gnome / GTK
3311 like icon for any other themes.
3314 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3316 * src/highlighting.c, README.Packagers, HACKING:
3317 Remove gsd_* default styles, use named styles instead.
3318 Note: this relies on filetypes.common being installed.
3319 Add load_style_entries(), which makes style initialization
3320 simpler, used in styleset_c_like_init().
3323 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3326 Prevent possible crash on Windows when not setting an initial
3327 directory for native File Open/Save dialogs.
3328 * data/filetypes.xml, src/highlighting.c:
3329 Add style 'jscript_regex' for filetype HTML
3330 (patch by Chris Macksey, thanks).
3333 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3335 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
3336 Make GeanyDocument::file_type always be non-NULL, even for a new
3337 document with no filetype set.
3339 Only autocomplete scope for scopes matching the current filetype's
3341 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
3342 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
3343 data/filetypes.actionscript, data/filetypes.cs,
3344 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
3345 data/filetypes.javascript, HACKING:
3346 Make C++, D lexer filetypes use named styles (apart from uuid,
3347 verbatim, regex styles).
3350 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3353 Don't explicitly change the current directory of the Save As dialog
3354 so that it uses the last used directory.
3357 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3359 * src/encodings.c, src/encodings.h, src/plugindata.h:
3360 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
3363 When completing from the macro list, put the cursor after
3367 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3369 * tagmanager/pascal.c:
3370 Fix type definitions being parsed as functions.
3372 Don't autocomplete in unterminated strings as well.
3373 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
3374 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
3375 Remove data_ptr argument to foreach_[s]list() macros, as using
3376 node->data is enough sometimes; this makes the macro a bit more
3378 Add foreach_[s]list() macros to the plugin API docs.
3381 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3383 * scintilla/LexPascal.cxx:
3384 Backport fix from Scintilla CVS:
3385 Pascal lexer hanging on file that starts with 'interface' after
3389 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3392 Update Waf to 1.5.7.
3394 Overwrite installation prefix on Windows only if it wasn't
3395 specified explicitly.
3398 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3401 Display calltips for Pascal symbols in the Pascal way (#2803945).
3402 * tagmanager/pascal.c:
3403 Fix wrongly set return values for procedures (closes #2803945).
3404 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
3405 tagmanager/include/tm_source_file.h,
3406 tagmanager/include/tm_workspace.h:
3407 Fix doxygen warnings.
3410 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3412 * src/editor.c, tagmanager/include/tm_workspace.h,
3413 tagmanager/tm_workspace.c, TODO:
3414 Autocomplete scoped fields like struct members when typing '.' (and
3415 also '->' or '::' in C/C++).
3416 Save all tag types for C/C++ when generating a global tags file, so
3417 we can use autocompletion for structs also.
3418 Merge tm_workspace_find_scope_members(),
3419 tm_workspace_find_namespace_members() (currently not built) from
3420 Anjuta 2.24.1 tagmanager.
3423 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3425 * tagmanager/pascal.c:
3426 Parse Pascal calltips (closes #2802640).
3429 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3431 * src/filetypes.c, src/ui_utils.c:
3432 Add filetypes.common Configuration Files menu item.
3435 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3438 Add backslash to the wordchars on Windows when using
3439 'Open Selected File'.
3441 Add support (configure, build and install) for building on Windows
3442 and cross-compiling for Windows using the Waf build system.
3445 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3448 Set status bar text instead of showing a dialog when saving
3449 ui_toolbar.xml because the user might save several times.
3451 Fix redrawing due to colourising just after the document is first
3452 drawn. Now colourising should happen before the first draw.
3453 * src/utils.c, src/highlighting.c, data/filetypes.common:
3454 Fix segfault on parsing a filetypes.* style definition that has < 4
3456 Allow style definitions to have missing fields to use the default
3460 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3462 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
3463 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
3464 * plugins/classbuilder.c:
3465 Fix wrongly created header guards when the class filenames contains
3466 dashes (patch by PCMan, thanks).
3467 * data/filetypes.matlab:
3468 Add build_settings section to allow executing Matlab scripts.
3470 When closing a document, mark it as invalid before removing it from
3471 the documents notebook (this fixes wrong Save All button state when
3472 closing an unsaved document because the "switch-page" signal handler
3473 was using old data).
3476 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3478 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3479 Support toggling bold/italic when using a named style, e.g.:
3480 commentdockeyword=commentdoc,bold,italic
3481 Improve named style docs.
3484 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3486 * src/build.c, src/editor.c:
3487 Fix crashes when parsing the output of a compiler which reports
3491 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3493 * src/highlighting.c:
3494 Support named styles also for filetypes.common [styling] entries.
3495 * doc/geany.txt, doc/geany.html, HACKING:
3496 Update docs for named styles in filetypes.* files.
3498 Fix grouping symbol list children when parent name has "." character
3499 in for reStructuredText and Conf filetypes.
3500 * tagmanager/python.c:
3501 Fix grouping functions/classes under a nested function.
3504 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3507 Adjust icon paths (patch by Dominic Hopf, thanks).
3508 * doc/geany.txt, doc/geany.html, src/toolbar.c:
3509 Add 'Replace' toolbar button (closes #2798225).
3512 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3514 * src/utils.c, src/highlighting.c, TODO:
3515 Implement named styles support for filetypes.* using a
3516 filetypes.common [named_styles] section e.g.:
3517 foo=0xc00000;0xffffff;false;true
3519 These can be used in e.g. filetypes.c as:
3523 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3526 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
3529 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3531 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
3532 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
3535 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3538 Remove quote_executable() as it is not used anymore.
3539 When creating the geany_run_script.bat use the "%0" variable
3540 expansion and quote it for the "del" command (closes #2797172).
3542 On Windows, fallback to the literal build command line if searching
3543 for the command in the system path failed (related to #2795923).
3544 Properly terminate the resulting strings when reading the stdout
3545 and stderr of any spawned commands on Windows.
3548 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3551 Use the wide character versions of native Windows File dialogs.
3553 Fix wrong initialisation of the default project path button callback
3554 in the preferences dialog.
3555 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
3556 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
3557 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
3558 icons/Makefile.am, icons/geany.ico, icons/scalable,
3559 icons/scalable/Makefile.am, icons/scalable/geany.svg,
3561 Move the icons geany.png and geany.ico into the icons directory.
3562 Add a 16x16 pixel Geany icon and the scalable SVG icon.
3563 Drop the pixmaps directory.
3566 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3568 * src/keybindings.c:
3569 Improve MRU document switching so there are no duplicates in the
3570 list and documents switched to whilst the dialog is open are
3571 ignored. Also beep when cycling through to the first document in the
3575 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3578 Fix broken 'Cancel' button in the Save As dialog.
3581 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3584 Fix multiline indent when selection covers text on the last line.
3586 Show current document in bold in tab popup menu.
3587 * src/editor.c, tagmanager/python.c, TODO:
3588 Parse Python calltips.
3591 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3593 * src/symbols.c, tagmanager/python.c:
3594 Parse Python import statements to get symbol completion for the
3595 imported module names.
3596 * src/editor.c, src/editor.h:
3597 Make some only locally used functions static.
3598 Fix wrong sanity check.
3600 Fix quoting the build command string on Windows (closes #2791769).
3601 This broke when we made build commands run synchronously on Windows,
3602 now we don't need to special quote the commands anymore.
3605 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3608 Drop rest of word to the right of cursor when autocompleting (do we
3609 need a pref for this?).
3612 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3614 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3615 Add sci_set_selection().
3616 * doc/geany.txt, doc/geany.html:
3617 Update manual for MRU switching.
3618 * src/callbacks.c, src/editor.c, src/editor.h:
3619 Make indenting with the Tabs indent type preserve spaces on the line,
3620 so it works for the 'tab indents, space aligns' formatting style.
3623 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3625 * tagmanager/python.c:
3626 Fix missing symbols for variables when an equal sign is used
3627 in a comment on the same line as the variable declaration.
3628 Backport change from CTags SVN to keep the parser more in sync:
3629 Add support for Cython constructs to the Python parser.
3631 Remember the additional Find in Files search flags at startup.
3633 Don't close the Save As dialog when saving the file didn't succeed.
3636 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3639 Remember scribble cursor position.
3640 * src/keybindings.c, TODO:
3641 Implement Most-Recently-Used document switching when pressing
3642 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3645 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3647 * data/latex.tags: Added some more commands from unit.sty and
3651 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3653 * src/symbols.c, doc/geany.txt, doc/geany.html,
3654 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3655 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3656 tagmanager/Makefile.am, wscript:
3657 Merge unstable branch:
3658 Add reStructuredText scope information for tags (for symbol list
3660 Read custom system global tags files from $prefix/share/geany/tags;
3662 Show the number of tags in a user global tags file (instead of the
3663 running total) in the debug message.
3664 Also print debug messages when loading a tag file manually or for
3665 default global tags files e.g. python.tags.
3667 Move NestingLevel tags code into a separate file, add functions.
3669 Add 'Installation prefix' section instead of quoting '/usr/local'
3671 Update for custom system global tags files.
3674 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3676 * src/highlighting.c:
3677 Unset maybe previously keywords when setting up Scintilla for
3678 XML files. This fixed wrong highlighting after switching back to
3679 filetype XML from another one.
3681 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3682 is only used when explicitly requested.
3684 Remove unnecessary call to g_intern_string() to fix build with
3685 GLib 2.8 (closes #2790051).
3688 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3691 Make the clear icon of entry fields act on the release event, not
3692 on the press event like for other buttons.
3694 Refactor some multiple used code into get_multiline_comment_style().
3696 Create parent directories if necessary when checking for the
3697 configuration directory on startup (closes #2784577).
3700 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3702 * plugins/filebrowser.c:
3703 When a filter is set, apply it only to files, not directories and
3704 apply the filter to the UTF-8 name of the file as the filter string
3705 itself is also UTF-8.
3706 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3707 Add utils_color_invert() and use it in highlighting.c and printing.c.
3708 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3709 Backport change from Scintilla CVS:
3710 Change capitalisation of header file to suit cross-compilation on
3714 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3716 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3717 Update Scintilla to version 1.78.
3718 * src/editor.c, src/highlighting.c:
3719 Update Pascal styles as they changed in Scintilla.
3722 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3725 Ignore the invert syntax highlighting colours setting when printing
3726 to not print characters on a dark background (closes #2785244).
3727 * New release: Geany 0.17 "Wessex".
3728 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3729 src/geany.h, doc/geany.html, doc/geany.txt:
3730 Post-release version bump.
3733 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3735 * src/callbacks.c, src/callbacks.h, src/main.c:
3736 Update the View->Fullscreen menu item when fullscreen state is
3737 changed externally (e.g. by the window manager).
3739 Fix passing wrong pointer to the File Open dialog for the Run
3740 command in the Project Properties dialog.
3743 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3745 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3747 Remember the active sidebar page between sessions.
3749 Add a recent project item after creating a new project.
3750 * tagmanager/ruby.c:
3751 Fix wrong parsing of string literals (closes #2781264).
3753 Fix setting focus to the editor widget after changing the selection
3757 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3760 Prevent crashes when two or more top level items in the symbol
3761 list have the same name (closes #2778246).
3764 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3766 * src/keybindings.c:
3767 Manually show the main notebook tab bar menu when Shift-F10 is
3768 pressed. This broke when we disabled the default GTK tab bar menu.
3770 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3771 which was reloaded shortly before.
3773 When the editor menu is opened by the Menu key, use the text cursor
3774 position for retrieving the current word. This fixes disabled
3775 Go to Tag items in the menu (#2780044).
3777 Set the "ellipsize" property of GtkCellRendererText to automatically
3778 shorten the path and file names in the Documents list.
3779 * doc/geany.html, doc/geany.txt, src/build.h:
3780 Increase the amount of highlighted build error messages to 100.
3781 At least for LaTeX we need higher values as there is a lot of
3782 informative output before any errors are reported.
3783 * src/filebrowser.c:
3784 Use the startup path as the initial directory for the filebrowser
3785 plugin when no project and no files are opened
3786 (patch by Matias Gea, thanks; closes #2780521).
3789 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3791 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3792 src/utils.c, src/utils.h:
3793 Ellipsize tab labels and some status messages for very long
3794 filenames (closes #2777348).
3795 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3796 Add utils_str_middle_truncate() and
3797 document_get_basename_for_display() to the plugin API.
3798 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3799 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3800 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3802 Add a hidden preference 'use_safe_file_saving' to save files to disk
3803 by creating a temporary file first. This has serious side effects,
3804 please read the documentation before enabling this.
3806 Make build commands on Windows run synchronously to avoid problems
3807 with reading build commands' output.
3808 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3809 Limit the amount of highlighted build error messages in the
3810 Compiler window to 50 for performance reasons.
3813 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3815 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3817 Replace our own GEANY_KEYS_MODIFIER_MASK by
3818 gtk_accelerator_get_default_mod_mask() which gives the same result.
3819 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3820 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3821 Add a trivial symbol parser for NSIS files.
3824 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3827 Hide the extra file open dialog options in an expander to make the
3828 dialog more compact by default and to provide more space for the
3830 Remove the filename field as it is also provided by GTK itself with
3831 more features like auto-completion.
3832 Watch the 'show-hidden' property of the file chooser widget using
3833 GObject's "notify" signal which gives accurate results and remove
3834 the hack using the "selection-changed" signal.
3837 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3839 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3840 Prevent double execution of radio menu item "activate" or "toggled"
3842 Move 'Set Encoding' callback function into encodings.c.
3845 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3848 Add some missing 'void's in function definitions.
3849 If the project base path is './', just use the path of the project
3850 config file instead of appending './'.
3851 * src/treeviews.c, src/project.c:
3852 When a project is loaded, replace the project base path with the
3853 project name in the Documents sidebar for parent items
3857 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3859 * src/keyfile.c, src/keyfile.h, src/project.c:
3860 Fix duplicating the recent files and projects lists when closing
3862 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3863 src/editor.c, src/encodings.c, src/filetypes.c,
3864 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3865 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3866 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3867 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3868 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3869 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3870 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3872 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3873 sense to keep the code more readable.
3876 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3879 When updating global type definitions for opened documents, take
3880 also C++ namespace symbols into account and don't ignore symbols
3881 which are defined inside a scope.
3884 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3887 Don't show 'plugin is not binary compatible' messages on the status
3888 bar, only the status window.
3891 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3894 When opening files from a remote instance on X11, set the window
3895 server time to encourage window managers to pop up the main window
3896 (related to #2735467 and #2276179).
3898 When finished sending filenames to a remote instance, notify the
3899 environment that we finished starting up.
3902 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3904 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3905 Sort Configuration Files menu.
3906 Add ui_menu_sort_by_label().
3907 Add foreach_list() macro.
3912 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3915 Fix setting a wrong default window size when starting without an
3916 existing configuration.
3917 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3918 Make editor_highlight_braces() static.
3919 Remove unused wrapper functions.
3920 * src/editor.c, src/symbols.c, src/symbols.h:
3921 Prevent showing an empty macro list.
3922 Show only macros of the same filetype instead of all macros of all
3925 Don't add opened project files to the GtkRecentManager.
3928 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3931 Add Configuration Files item for snippets.conf.
3932 * src/highlighting.c, src/symbols.c:
3933 Fix 2 old uses of filetype IDs.
3936 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3938 * src/interface.c, src/printing.c, geany.glade:
3939 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3942 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3945 Add sanity checks in ui_lookup_widget() just to be safe.
3946 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3947 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3948 src/project.h, src/ui_utils.c, src/ui_utils.h:
3949 Add "Recent Projects" menu to the Project menu
3950 (#2728630, patch by Elias Pschernig, thanks).
3951 * doc/geany.txt, doc/geany.html:
3952 Describe how to build Geany using the Waf build system.
3953 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3954 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3955 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3956 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3957 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3958 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3959 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3960 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3961 src/utils.c, src/utils.h, src/vte.c:
3962 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3963 performance when building the code with gcc.
3964 * src/highlighting.c:
3965 Fix typo in the G_LIKELY checks, introduced in last commit.
3966 Fix the size of the styles array.
3968 Show a message dialog when renaming a file fails.
3971 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3974 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3975 (as we did for all other files in SVN r3382).
3978 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3980 * src/filetypes.c, doc/geany.txt:
3981 Move ActionScript to the Script group.
3983 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3984 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3985 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3986 plugins/htmlchars.c:
3987 Merge reorder-filetypes branch:
3988 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3989 append randomly without breaking the ABI).
3990 Make None filetype name = title = _("None").
3991 Add foreach_slist() macro.
3992 Add filetypes_by_title list to GeanyData for plugin API access
3993 - a list of filetype pointers, which includes the None filetype
3994 first. This list stays constant by the time plugins are initialized,
3995 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3996 index the sorted list.
3999 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4001 * doc/geany.txt, doc/geany.html, src/main.c:
4002 Add widget names for the menubar and toolbar.
4004 When hiding the messages window, set the input focus back to the
4005 editor widget (part of #1910393).
4008 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4010 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
4011 Backport recent changes from Scintilla CVS to add partial support
4012 for RFC2822 styled text using the Properties lexer.
4013 Ignore leading whitespace for config files and RFC2822 text.
4014 * data/filetypes.actionscript:
4015 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
4016 * THANKS, src/treeviews.c:
4017 Display file/directory icons in the Documents sidebar
4018 (patch by Simon Treny, thanks).
4021 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4023 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4024 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
4025 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
4026 Add an option to allow appending the toolbar to the main menu bar
4027 to save some vertical space.
4028 Allow setting toolbar icon size to very small (menu icon size).
4031 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4033 * src/keyfile.c, src/utils.c, src/utils.h:
4034 Add utils_path_skip_root(), a relative path safe variant of
4035 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
4036 * src/keyfile.c, src/main.c:
4037 Allow negative window coordinates when saving and restoring the
4038 position of the main window.
4039 Restore the main window position and size *after* the window has
4040 been realised to get it positioned accordingly
4041 (this affects at least Windows).
4044 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4046 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
4047 Use g_win32_get_package_installation_directory_of_module() on Windows
4048 with newer GLib versions instead of deprecated API.
4049 * src/keybindings.c:
4050 Don't manage the last used documents list when quitting to prevent
4051 errors by accessing invalid memory (may close #2533990).
4054 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4057 Delete the geany_run_script.sh immediately after execution
4058 to prevent leaking old copies when the script was quit unexpectedly
4059 (closes #2710482, patch by Martin Olsson, thanks).
4061 Check whether skipping the root element of a document's filename
4062 succeeded and use the filename itself if not (e.g. on relative
4063 filenames, #2702844).
4064 Use the locale encoded filename when saving session files.
4066 Re-set the quitting status after all documents have been closed on
4070 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4072 * plugins/htmlchars.c:
4073 Remove usage of deprecated sci_get_selected_text() from plugin.
4076 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4079 Delay disk file checks when switching between documents a little
4080 bit to avoid fast, unintentional page switching in some cases.
4081 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
4082 src/sciwrappers.c, src/sciwrappers.h:
4083 Deprecate sci_get_text(), sci_get_selected_text() and
4084 sci_get_text_range().
4085 Add sci_get_contents(), sci_get_contents_range() and
4086 sci_get_selection_contents() as replacement functions to provide
4087 an easier and cleaner API (initial patch by Frank).
4090 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4093 Fix wrong parsing of CSS tags when the definition block starts on
4094 a new line (reported by Dominic Hopf, thanks).
4097 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4099 * plugins/htmlchars.c:
4100 Extend plugin by feature to bulk replace and replace on input for
4101 special characters to their HTML entities.
4104 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4107 Update build menu items after changing anything in the
4108 'Set Includes and Arguments' dialog.
4109 Disable Compile/Run buttons/menu items when Compile/Run commands are
4111 Reset current build directory to the base directory after reading a
4112 "Leaving directory" message when parsing Make output
4113 (closes #2694479, patch by Andrea Mazzoleni, thanks).
4115 Fix wrong display of the filename in the tab bar menu for new files.
4117 Set the initial directory for the Save As dialog only once on
4119 Add a shortcut of the project's base directory to the
4120 File Open/Save As dialogs when a project is open for faster access.
4121 * src/splitwindow.c:
4122 Add keybindings for the split actions.
4125 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4128 When using Find All in the Find dialog (in Session and Document),
4129 display the right amount of matches.
4130 Fix the display of the matches once per line (I broke the original
4133 Fix wrong directory selection behaviour in all Open Folder dialogs
4134 (closes #2688020, patch by Marcel Stimberg, thanks).
4136 Don't present the main window of a running instance when starting
4137 a second instance separately.
4140 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4143 Reduce default file permissions on the Unix Domain socket file
4144 (reported by Jörg Sommer, thanks).
4147 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4149 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
4150 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
4152 Add an option to set an additional plugin lookup path.
4154 When using Find All in the Find dialog, display matches only once
4155 per line in the messages window (patch by Bert Vermeulen, thanks).
4158 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4160 * data/filetype_extensions.conf, data/filetypes.actionscript,
4161 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
4162 src/highlighting.c, src/plugindata.h, src/symbols.c,
4163 tagmanager/Makefile.am, tagmanager/actionscript.c,
4164 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
4165 Add filetype ActionScript (patch by Chris Macksey, thanks).
4166 Update type keywords only for real C-like languages.
4167 Fix wrong sorting of Assembler and Ada filetypes.
4168 * plugins/classbuilder.c:
4169 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
4170 Other minor cleanups.
4173 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4176 Don't use menu item images for the tab bar menu to save some
4178 * data/filetypes.fortran, tagmanager/fortran.c:
4179 Add keyword 'extends' and fix Fortran parser to support the
4180 'extends' keyword (closes #2654492).
4181 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
4182 src/search.c, src/toolbar.c:
4186 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4188 * src/about.c, THANKS:
4189 Added Jari Rahkonen to list of Finnish translators.
4192 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4195 Adjust minimum required GTK version.
4196 * src/Makefile.am, wscript:
4197 Add main.h to the list of installed header files.
4198 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
4199 src/notebook.c, src/ui_utils.c:
4200 Remove GeanyDocumentPrivate::tabmenu_label.
4201 Disable the default tab bar menu for the main notebook widget and
4202 use a custom menu instead which lists all open files as usual plus
4203 'Close Other Documents' and 'Close All' menu items.
4206 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4208 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
4209 Move ui_set_search_entry_background() into ui_utils.c.
4210 Change the background colour of the search entries in the Find
4211 and Replace dialogs according to the search results like in the
4212 toolbar search field.
4213 Add images to the 'Replace' and 'Replace and Find' buttons in the
4215 Minor cleanups in search.c.
4216 * tagmanager/tm_source_file.c:
4217 Update source files upon creation.
4219 Update C tags for glibc 2.9.
4220 * src/callbacks.c, src/toolbar.c:
4221 Fix broken non-incremental search with the toolbar search entry when
4222 pressing Enter (closes #2638180).
4223 * plugins/splitwindow.c:
4224 Fix possible crash on non-32-bit systems (patch by
4225 Wolfgang Ocker, thanks).
4227 Update the Packager tag due to Dominic's various contributions.
4228 Update description and feature list.
4229 Change Source tag to the gzip'ed tarball to be in sync with the
4230 Makefile target (thanks to Wolfgang Ocker for reporting).
4233 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4235 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
4236 Removed deprecated plugin VC Diff
4239 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4242 Fix wrong Fortran 90 comment characters when inserting templates.
4243 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4244 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
4245 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
4247 Add 'Send Selection to Terminal' command to the Edit->Format menu
4248 (initial patch by David Gleich, thanks).
4249 * geany.glade, src/interface.c:
4250 Fix mnemonic for the Edit->Preferences menu item.
4253 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4255 * configure.in, plugins/Makefile.am:
4256 Enable socket support when cross-compiling.
4257 Enable plugin compilation when cross-compiling.
4259 Fix missing NULL checks when reading the colour value of compiler
4261 * src/main.c, src/win32.c, src/win32.h:
4262 On Windows, change the working directory to the Geany installation
4263 path at startup to avoid unwanted directory locking(closes #2626124).
4265 Fix broken selection of "Document->Set Encoding" menu items.
4266 * src/document.c, tagmanager/include/tm_source_file.h,
4267 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
4268 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
4269 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
4270 Don't let the tagmanager automatically reparse files if they
4271 seem to be changed on disk (affects all files in the current session,
4272 not the current one). This should speed up file saving a little bit,
4273 especially with remote files.
4274 Remove now unnecessary calls to tm_workspace_update().
4276 Allow an empty value for the date format in the print settings to
4277 omit the date/time string in the print header.
4280 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4282 * src/editor.c: Set cursor for LaTeX at auto closing of environment
4286 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4289 Add missing header include (closes #2615808).
4292 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4295 Fix a possible crash when comparing symbol names
4296 (could be related to Ubuntu bug #147151).
4297 Fix broken symbol list tooltips when tag names contain ampersands.
4300 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4302 * plugins/makefile.win32:
4303 Don't build Split Window plugin on Windows (doesn't work).
4306 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4308 * ChangeLog, Makefile.am: Rotate ChangeLog.
4309 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
4310 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
4311 Post-release version bump.
4314 *** See ChangeLog.pre-0-17 for earlier changes ***