1 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * doc/geany.txt, doc/geany.html:
4 Fix wording - restarting is required for hidden prefs.
5 File templates don't need manual reloading anymore.
8 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
10 * src/printing.c, doc/geany.txt, doc/geany.html:
11 Always use white background color when printing (except for text
12 with a white foreground) to save ink (should fix #2968998).
13 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
14 Limit build error editor indicators to 50, but parse all errors in
15 the Compiler tab (fixes #3019823).
18 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
21 Re-enable fold.comment for the C lexer - it was disabled to prevent
22 //{ explicit folding, but that also disables stream comments /* */.
23 * tagmanager/tm_workspace.c, tagmanager/get.c:
24 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
27 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
29 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
30 Fix not loading plugins built against a newer API when Geany doesn't
31 provide the required version given in PLUGIN_VERSION_CHECK().
32 Improve documentation for PLUGIN_VERSION_CHECK().
33 * plugins/filebrowser.c:
34 Allow Find in Files when no items are selected.
37 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
40 Align notebook tab close buttons centred vertically - thanks to
44 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
47 Add doc/stash-example.c to fix 'make distcheck'.
49 Change the RequestExecutionLevel for the Windows installer to
51 * New release: Geany 0.19 "Vellam".
54 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
57 Group undo action for Insert Multiline Comment.
60 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
63 Don't individually install data/*.tags as all data/* files will be
67 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
69 * tagmanager/tm_project.c:
70 Fix a double free. (patch by Daniel Marjamaki, thanks).
73 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
75 * tagmanager/tm_workspace.c:
76 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
78 Fix reducing paths to project name in the Documents list
79 (patch by Eugene Arshinov, thanks).
81 Fix crash when trying to sort NULL pointers as tags in the Symbols
82 list (closes #3011986).
83 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
84 Update Scintilla to version 2.12.
85 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
86 scintilla/LexCrontab.cxx:
87 Remove unused Crontab lexer.
88 * data/filetypes.css, src/highlighting.c:
89 Add new style "media" for filetype CSS.
92 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
94 * doc/geany.txt, doc/geany.html:
95 Build section: minor rewording, formatting fixes; move some
99 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
102 Explicitly try to localise build menu item labels with
103 gettext to enforce getting default labels translated.
104 * tagmanager/tm_workspace.c:
105 Fix not closed FILE pointer on early exit
106 (patch by Daniel Marjamaki, thanks).
108 Update images for Geany 0.19.
110 Destroy the default symbol list treeview only once
111 (fixes gtk_widget_destroy warning on exit).
114 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
117 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
119 Fix parsing of C++ classes contain attributes with bitfields
120 (patch by Lex Trotman, thanks).
121 * src/plugindata.h, src/plugins.c:
122 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
123 plugins' meta information can be translated already in the
124 plugin manager dialog (patch by Colomban Wendling, thanks).
127 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
130 Print locale information in debug output.
132 Fix some labels which were marked as translatable but were not
133 handled properly by gettext().
136 Try to convert text into UTF-8 before adding it to the Compiler and
137 Messages Window (closes #3007919).
140 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
142 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
144 Pass G_LOG_DOMAIN to source files for better logging.
147 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
149 * THANKS, src/about.c:
150 Update of translation credits to reflect a change on Spanish
151 translation team better.
154 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
157 Fix infinite loop reading build command output
160 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
163 Fix duplicate accelerators for Clear and Copy in the
164 Messages Window popup menu.
166 Expand child widgets in the Plugin Preferences dialog
167 (patch by Colomban Wendling, thanks).
170 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
173 Fix Undo/Redo button state after the last document has been closed.
174 Add Print and Replace toolbar items to the list of document
177 Fix crash when the toolbar is reloaded without any open documents.
179 Fix Run toolbar item sensitivity after the last document has been
181 * plugins/classbuilder.c:
182 Remove two unnecessary g_strdups().
183 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
184 src/plugindata.h, src/ui_utils.h:
185 Add hidden preference to disable automatic scrolling in the
186 Compiler tab (closes #3004714).
189 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
191 * plugins/classbuilder.c:
192 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
195 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
197 * src/prefs.c, src/project.c:
198 win32.h can be included unconditionally.
200 Fix project base_path detection if the path has a trailing slash.
201 * src/document.c, src/editor.c, src/project.c:
202 Small improvements to speed up quit process with many open documents.
203 Avoid calling gtk_notebook_remove_page() on exit as it takes
205 * src/geanymenubuttonaction.c:
206 Explicitly check for the type when iterating the action's proxies.
207 For some reason on Windows, a GtkImageMenuItem proxy is created.
208 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
209 src/plugindata.h, scintilla/*, scintilla/include/*:
210 Update Scintilla to version 2.11.
211 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
213 Add new GTK define also for Mingw cross compilation and
214 makefile.win32 based Windows builds.
215 * plugins/filebrowser.c:
216 Implement reading and evaluating hidden file attribute on Windows.
217 Fix broken "Go Up" if the current path ends with a slash.
218 * THANKS, src/about.c, src/prefix.c:
219 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
220 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
221 src/main.c, src/notebook.c, src/prefs.c:
222 Add preference to add new document tabs beside the current one
223 (patch by Colomban Wendling, thanks).
224 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
225 src/keyfile.c, src/prefs.c, src/ui_utils.h:
226 Add a preference for choosing between GTK and native
227 File Open/Save dialogs (only available on Windows).
228 * doc/geany.html, doc/geany.txt:
229 Update documentation.
232 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
235 Sort file filters for the native Windows file open dialog by name.
236 Don't use file filters for the native Windows Save As dialog.
237 * src/dialogs.c, src/win32.c, src/win32.h:
239 Pass and use also parent and title arguments to
240 win32_show_document_open_dialog().
242 Call handle_save_as() only when the Save As dialog was not cancelled.
244 Improve adding/removing of the special separator between menubar and
245 toolbar when the toolbar is appended to the menubar.
246 * src/toolbar.c, src/templates.c:
247 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
248 not trigger updating the menus on each item removal.
251 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
254 Replace one non breaking space by normal space. Patch by
258 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
260 * plugins/classbuilder.c:
261 Don't make the 'Create Class' menu item document-sensitive
262 (patch by Colomban Wendling, thanks).
263 Add namespace support for GTK+ classes.
264 Add GET_CLASS() macro for GTK+ classes.
265 Add typedef of the private structure in the header file instead
267 (all the above from a patch by Colomban Wendling, thanks).
268 * src/highlighting.c:
269 Set common default "fold.comment" to 0 to disable it. This can
270 be overridden if desired.
272 Improve sorting of document list items
273 (patch by Colomban Wendling, thanks).
275 Remove unnecessary textdomain() call.
278 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
281 Fix search_find_text not returning -1 when match is out of range.
282 This fixes invalid memory reads and wrong template filename
283 wildcard replacement.
284 * src/search.c, src/document.c:
285 Only replace template filename matching start of word on saving.
286 * plugins/filebrowser.c:
287 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
288 * src/build.c, src/build.h, src/project.c:
289 Make some ugly build.h global variables static.
290 * src/build.c, src/build.h, src/project.c:
291 Add Build prefix for TableFields, TableData.
294 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
297 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
298 * src/dialogs.c, src/win32.c, src/win32.h:
299 (Re-)Implement a (still basic) native Windows Save As dialog when
300 compiled with GEANY_USE_WIN32_DIALOG.
303 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
305 * THANKS, src/about.c, plugins/classbuilder.c:
306 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
307 * src/ui_utils.h, src/ui_utils.c:
308 Add public, generic callback ui_editable_insert_text_callback()
309 to restrict GtkEntry text inputs to +/- and numeric values only.
310 * src/dialogs.h, src/dialogs.c:
311 Add special variant dialogs_show_input_goto_line() to use a normal
312 GtkEntry together with dialogs_show_input_goto_line() for text input.
313 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
314 Allow '+<number' and '-<number>' as values for Goto Line inputs
315 to jump relative to the current line (closes #2997238).
318 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
320 * src/highlighting.c:
321 Apply foreground and background colours of the folding margin
322 style properly (closes #2998347).
324 Don't auto-close short XML tags (closes #2994852).
325 * THANKS, src/about.c, src/keybindings.c:
326 Improve jumping to matching braces by consistently position the
327 cursor before or after the matching brace dependent where it
328 was before (patch by Dimitar Zhekov, thanks).
330 Fix crash when generating global tags files (patch by Colomban
334 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
337 Avoid connecting signals more than once.
340 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
343 Don't ignore the 'intltool' check on non-Windows systems, instead
344 raise a configure error.
347 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
350 Fix marking some strings as translatable (cannot be done in the
352 * src/templates.c, doc/geany.txt, doc/geany.html:
353 Reload templates if saving a document in the templates config dir.
356 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
358 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
360 Fix replacing {filename} template wildcard for custom file
361 templates with non-default file extension.
362 Add search_find_text() for POSIX regex searches.
363 * src/templates.c, doc/geany.txt, doc/geany.html:
364 Add {project}, {description} template wildcards (#2954737).
365 * doc/geany.txt, doc/geany.html:
366 Divide template wildcards into groups.
367 * src/plugindata.h, src/plugins.c, src/symbols.c,
368 plugins/geanyfunctions.h:
369 Add symbols_get_context_separator() to plugin API (patch by Colomban
373 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
376 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
377 Anonymous, thanks; #2995593).
378 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
379 plugins/geanyfunctions.h:
380 Add sci_set_line_indentation(), sci_get_line_indentation() to API
381 (patch by Colomban Wendling, thanks).
384 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
387 Warn user if hidden hard tab width setting is not 8.
390 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
392 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
393 doc/geany.txt, doc/geany.html:
394 Hide 'Tabs and Spaces: Hard tab width' preference - it should
395 always be 8. (Hidden setting kept in case users have modified it).
398 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
400 * doc/geany.txt, doc/geany.html:
401 Add Folding section link to filetypes.common custom settings.
404 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
407 When switching documents, don't call document_set_text_changed()
408 as this does much more than necessary. Instead call the necessary
409 UI update functions explicitly.
412 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
414 * tagmanager/vstring.c:
415 Fix invalid memory read (patch by Colomban Wendling, thanks).
418 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
420 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
421 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
422 strings in case of reaching the buffer size limit (part of #2979697).
424 Change the limit for the command line length when executing commands
425 to a maximum of 32768 characters (closes #2979697).
426 Fix broken opening URLs e.g. when using the 'builtin' Run command.
427 * tagmanager/ctags.c:
428 Change eFree() to simply ignore NULL pointers instead of asserting.
430 Remove malloc() fallback since we completely rely on g_malloc()
432 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
433 plugins/saveactions.c:
434 Make string arguments const where appropriate (patch by
435 Colomban Wendling, thanks).
436 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
437 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
438 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
439 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
440 src/symbols.c, src/templates.c, src/ui_utils.c:
441 Make string arguments const where appropriate (patch by
442 Colomban Wendling, thanks).
445 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
447 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
448 Make plugin_signal_connect() string argument const (patch by
449 Colomban Wendling, thanks).
450 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
451 Constify some more string pointers in the API (patch by
452 Colomban Wendling, thanks).
453 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
455 Support {pc} wildcard in snippets to escape percent char.
457 Recalculate line margin width when zooming (fixes #2990553).
458 * src/highlighting.c, doc/geany.txt, doc/geany.html,
459 data/filetypes.common:
460 Support more folding icon styles: arrows, +/- and no lines
464 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
467 Fix Windows build by properly guarding Unix-only code.
470 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
472 * src/templates.c, doc/geany.txt, doc/geany.html:
473 Support {ob} and {cb} in fileheader and file templates; they are
474 replaced last with { and }. This allows 'escaping' of wildcard
476 * src/editor.c, plugins/classbuilder.c:
477 Fix Class Builder plugin to use correct indentation instead of
479 Make editor_insert_text_block() only replace leading tabs for the
480 'Tabs' indent type; also group edits for undo.
481 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
483 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
486 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
488 * tagmanager/pascal.c:
489 More fixes to prevent possible crashes by trying to free NULL
492 Automatically show and hide the sidebar notebook tabs according
493 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
495 Add a static global variable to monitor autocompletion mode in order
496 to prevent cancellation of the struct/class (C/C++) auto completion
497 list (patch by Thomas Martitz, thanks).
499 When starting and trying to access the Unix Domain socket of a
500 potentially running instance, first compare file ownership with the
501 user id of the running process to prevent accessing a wrong socket
502 file (part of #2985463, this might not yet be the final solution).
505 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
507 * plugins/filebrowser.c:
508 Synchronize popup menu and plugin preferences dialog 'Show Hidden
509 Files' option (fixes #2989288).
512 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
514 * tagmanager/entry.c, tagmanager/entry.h,
515 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
516 tagmanager/parse.h, tagmanager/tm_source_file.c:
517 Add tm_source_file_set_tag_arglist() to manually set the argument
519 * tagmanager/python.c:
520 Use tm_source_file_set_tag_arglist() to set the argument list
521 field of Python class tags to the argument list of their
523 Backport a fix from CTags SVN to prevent possible crashes by trying
524 to free NULL pointers.
527 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
529 * tagmanager/txt2tags.c:
530 Remove duplicate code from Txt2Tags parser.
531 Remove the title control characters ('=') when parsing titles.
532 Also parse numbered titles (closes #2984703).
533 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
535 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
536 Add missing documentation for 'Reset Zoom' keybinding.
538 Another attempt to fix the PHP parser regexp for parsing functions.
539 Fix wrong parsing of function arguments when those contain nested
540 brackets (as reported by Harold Aling).
542 Fix Ctrl-Click on notebook tab if Numpad is active.
545 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
547 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
548 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
549 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
550 src/ui_utils.c, src/ui_utils.h:
551 Add option 'System Default' for toolbar icon style and size to
552 use the GTK default value.
553 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
554 src/toolbar.c, src/toolbar.h:
555 Shorten the toolbar popup menu, only provide items for Toolbar
556 Preferences and to Hide the toolbar.
558 Instantly update the toolbar icon size and style when the
559 corresponding global GTK settings are changed.
560 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
561 src/plugindata.h, src/socket.c:
562 Add new command line option --list-documents to return a list
563 of currently opened documents (closes #2979933).
566 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
568 * plugins/htmlchars.c:
569 Make plugin remember whether replacement of special characters was
570 activated even after restart of Geany or reloading of plugin.
573 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
576 Fix inserting snippets with an indent when using Mac CR line
579 Update status bar after using Document->Set Line Endings.
581 Improve API docs for editor_insert_text_block().
584 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
587 Refactor snippets_complete_constructs().
588 Remove an unnecessary TODO.
590 Fix indenting a snippet when there is whitespace after the
594 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
596 * doc/geany.txt, doc/geany.html:
598 * src/build.c, src/msgwindow.c:
599 Fix disabled compiler message tracking if using indicators to
600 show build errors is disabled (closes #2982834).
603 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
605 * scintilla/Editor.cxx:
606 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
607 and SCI_GETSELECTIONEND with rectangular selections. This fixes
608 replacing in a rectangular selection.
611 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
614 Re-detect any document filetypes set to None after reloading
615 filetype extensions (closes #2979661).
617 Fix showing '...' item last instead of first for document word
621 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
623 * data/filetypes.perl:
624 Adjust Perl Compile command to use the -c command
625 line option to perform a syntax check instead of using the
626 deprecated ByteCompile module.
627 Add error_regex to parse error messages and warnings when performing
628 syntax checks on Perl files.
631 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
633 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
634 Add API docs for keybinding enums.
635 * src/notebook.c, doc/geany.txt, doc/geany.html:
636 Make Ctrl-click on any notebook tab switch to the last used
640 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
642 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
643 src/geanyentryaction.c, src/geanyentryaction.h,
644 src/geanywraplabel.c:
645 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
646 object for efficiency.
649 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
651 * plugins/classbuilder.c:
652 Beep if the user hasn't entered a class name on pressing OK.
654 Fix replacing '^' regex.
655 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
656 plugins/geanyfunctions.h:
657 Add Stash widget functions to API.
659 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
663 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
666 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
668 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
669 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
670 plugins/geanyfunctions.h, plugins/geanyplugin.h:
671 Add Stash setting functions to API.
672 Remove unnecessary argument to stash_group_load_from_file().
673 * src/geanyobject.c, plugins/classbuilder.c:
674 Don't generate FOO_GET_PRIVATE() macro because caching the result
675 in Foo::priv can be much more efficient.
678 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
681 Fix cursor positioning when toggling comments
682 (patch by Thomas Martitz, thanks).
685 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
687 * src/keybindings.[hc]:
688 Added Control+0 for zoom reset, see suggestion from #2969886.
691 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
693 * src/search.c, src/document.c:
694 Fix wrong selection range after Replace in Selection.
697 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
700 Make CreateChildProcess() working with Unicode strings, e.g.
701 directory names (closes #2972606).
703 Remove reference to already removed latex.tags file.
704 Future releases probably still depend on GTK 2.16.
705 * scintilla/ScintillaGTK.cxx:
706 Backport fix from Scintilla CVS to not paste text beyond the end
707 of lines (closes #2969096).
708 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
710 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
711 to not set Geany's minimum window size anymore (closes #2972992).
712 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
715 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
718 Make adding string and string vector settings initialise the setting
720 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
721 Add stash_group_load_from_file() and stash_group_save_to_file().
724 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
726 * data/filetypes.common:
727 Set default for wrapped lines to show marker at end of line only
728 (more expected and doesn't change line alignment - closes #2972386).
729 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
730 src/pluginutils.c, doc/plugins.dox:
731 Improve API docs contents page by listing all commonly-used files.
732 Fix 'Date' appearing twice on the date line.
733 Don't generate API docs for prefs.h, toolbar.h (unused).
734 Move some '@file' doc-comments to the .c file.
735 * src/interface.c, geany.glade:
736 Add frame for 'Printing' prefs dialog page.
737 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
738 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
740 Rename Stash data types to be independently named from Geany (so
741 Stash can be reused for other projects).
742 Rename GeanyPrefGroup to StashGroup.
745 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
747 * tagmanager/python.c:
748 Apply patch from Colomban Wendling to parse Python lambda functions
749 (thanks) - modified to only parse toplevel or class member lambdas.
750 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
752 Add doc-comments for Stash setting functions.
753 Add an example file showing usage of Stash.
754 (Not enabled yet until added to the plugin API).
757 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
760 Fix using return value without checking return status, caused
761 incorrect sensitivity settings on build dialog.
764 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
767 Add tip about gcc optimization & warnings/debugging.
769 Update Libraries section about synchronizing with other projects.
772 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
775 For now revert the recent patch which set real_path of newly
776 open non-existent configuration files as this seems hackish and
777 causes 'file not found' warnings.
779 Fix/Improve GIT repository detection
780 (patch by Thomas Martitz, thanks).
781 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
783 Add utils_copy_environment() to the plugin API.
786 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
788 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
789 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
791 Use 3rd person for more API dox.
792 Change 'This is a wrapper function for...' to 'Wraps...' in brief
794 Change 'After all...' to 'Afterwards...'.
795 * src/interface.c, geany.glade:
796 Apply patch from Eugene Arshinov to make frame packing/alignment
797 more consistent (thanks).
800 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
803 Fix ui_button_new_with_image() to call gtk_button_set_image() so
804 that gtk_button_[sg]et_label() work as expected.
805 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
806 Make Build Commands dialog show menu item labels as a button (to
807 help show that menu labels don't normally need to be edited &
808 display the mnemonic correctly). Clicking shows an input dialog to
809 set a new menu item label.
810 Split dialogs_show_input() into 2 functions: one simple, one for
812 Fix possible double-destroy of input dialog when closed by user.
814 Fix not destroying 'Make Custom Target' input dialog after first
817 Make Long Line Marker settings for existing projects default to
818 general settings instead of 0 (thanks to Eugene Arshinov).
819 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
820 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
821 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
822 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
823 Use 3rd person (gets not get) for API function brief descriptions.
824 Avoid using 'convenience function' in API brief descriptions.
827 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
829 * doc/geany.txt, doc/geany.html:
830 Warn about some GNU extensions for regular expressions & clarify
832 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
833 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
834 src/editor.h, geany.glade:
835 Apply patch from Eugene Arshinov to add project long line marker
836 customisation (thanks).
837 * src/interface.c, geany.glade:
838 Edit/tidy 'Long line marker' labels.
841 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
843 * src/build.c, src/project.c:
844 Fix crash due to NULL in project build preferences (thanks to
848 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
850 * src/utils.c, src/utils.h, src/search.c, src/search.h,
851 src/document.c, doc/geany.txt, doc/geany.html:
852 Merge gnu-regex branch:
853 Use POSIX system/GNU regex engine for find & replace 'Use regular
854 expressions' option. This alters regex syntax a bit - see the docs
855 for details; we now support '?' operator and replacement backslash
856 escaping is more standard.
857 Make regex search imply replacing escaped chars.
858 Allow \0 backreference replacement for the whole match.
859 Note: Replace All may be slower; if this is a problem please let me
862 Add argument to utils_str_replace_escape() for keeping
863 uninterpreted backslash escapes e.g. '\\', '\e'.
864 * scintilla/LexMarkdown.cxx:
865 Backport minor formatting/style changes from Scintilla project.
866 * doc/geany.txt, doc/geany.html:
867 Remove warning about no visual indication for zero-column-mode
871 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
874 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
877 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
879 * wscript, scintilla/*, scintilla/include/*:
880 Update Scintilla to version 2.03.
881 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
882 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
883 Add preference for virtual spaces.
885 Fix wrong default response for the Debug Messages dialog.
887 Fix crashes when using Save As with no open files (closes #2964406).
889 Fix duplicate mnemonics on 'Resave missing file' dialog, also
890 move the question from the secondary to the main text to be
891 more compatible with the Gnome HIG.
892 Fix broken 'Save' action in 'Resave missing file' dialog.
894 Improve PHP parser to parse also the argument lists of PHP functions.
896 Correctly set the parent widget for the keybinding overwrite
899 Fix setting the icon for some dialogs if the parent itself is also
902 When editing non-existent config files using the Tools->Configuration
903 Files menu, explicitly set the real_path to avoid presenting the Save
904 As dialog when saving the file (patch by Tony Rick, thanks).
906 Focus the editor widget after hiding the sidebar when it had the
907 input focus (patch by Can Koy, thanks).
908 Properly show/hide the mesages window when using the View menu item
910 * plugins/filebrowser.c:
911 After opening files, focus the editor widget
912 (based on a patch by Can Koy, thanks).
913 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
914 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
915 src/ui_utils.h, src/vte.c:
916 Add and use convenience function ui_is_keyval_enter_or_return() and
917 add it to the plugin API.
920 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
922 * src/about.c, THANKS, po/ast.po:
923 Added Asturian translation. Thanks to Marcos Costales for providing.
926 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
929 Fix keyboard accelerators in debug messages window
933 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
935 * scintilla/LexR.cxx:
936 Backport R lexer from Scintilla CVS to fix case sensitive keywords
937 (Scintilla bug #2956543).
938 * src/sidebar.c, src/about.c, THANKS:
939 Make Space on the symbol and document list not focus the editor
940 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
941 * src/document.c, src/document.h:
942 Fix document_try_focus() to make it work with the sidebar document
944 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
945 Make Space on the compiler and messages widgets not focus the editor
946 widget while Enter does (patch by Can Koy, thanks).
948 Fix wrongly auto-detected multiline comments
949 (patch by Eugene Arshinov, thanks).
952 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
955 Show number of lines of current document inside statusbar. Thanks to
956 Can Koy for providing the patch.
959 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
961 * src/keybindings.c, doc/geany.txt, doc/geany.html:
962 Make Switch to Editor keybinding reshow the document statistics
963 line, so user doesn't have to move the cursor.
966 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
969 Update keywords for the R language (patch by Jon Senior, thanks).
972 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
975 Fix the instruction how to insert unicode characters
979 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
981 * scripts/create_py_tags.py:
983 Replace tabs by spaces.
986 Replace tabs by spaces.
987 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
988 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
989 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
990 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
991 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
992 src/plugindata.h, src/sidebar.c, src/sidebar.h:
993 Add keybindings to switch to the sidebar's Document and Symbol list
994 as well as to the Message Window's current tab
995 (patch by Eugene Arshinov, thanks).
997 Update primary keywords for the R language
998 (patch by Jon Senior, thanks).
1001 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1004 Add more detailed hints about reloading configuration
1005 (thanks to Tony Rick).
1006 * data/filetypes.javascript:
1007 Correct the keyword list for JavaScript (thanks to Jonas).
1010 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1012 * New release: Geany 0.18.1 "Balfour".
1015 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1017 * src/keybindings.c:
1018 Add special cases for handling the Select All keybinding (Ctrl-A) in
1019 the toolbar search and goto line text entries (closes #2948040).
1020 Strip trailing spaces after reflowing a paragraph, patch by
1021 Dominik Wagenfuehr, thanks (closes #2945497).
1024 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1026 * src/geanymenubuttonaction.c, src/templates.c:
1027 Partly revert last commit:
1028 Unref the new files toolbar menu when freeing templates as it
1029 was done before but unref it *after* the menu has been removed
1030 from the GeanyMenuButtonAction.
1032 Fix possible endless loop when trying to detect the encoding of
1033 non-text files (patch by Alexey Antipov, thanks).
1036 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1039 Allow saving remote files using g_file_set_contents() as well
1040 (patch by Алексей Антипов, thanks).
1041 * data/filetypes.python:
1042 Adjust style for secondary keywords to be less aggressive.
1043 Add Python 2.5 builtins keywords.
1044 * src/geanymenubuttonaction.c, src/templates.c:
1045 Unref the new files toolbar menu when setting a new menu to fix
1046 possible crashes when reloading configuration.
1048 When reloading configuration, process the current document at last
1049 so the symbol list will be updated correctly.
1052 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1055 Explicitly read filetype configuration files before generating
1056 global tags to get settings for custom filetypes.
1059 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1062 Fix GLib warning when toggling 'no plugins available' item.
1065 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1067 * icons/Makefile.am:
1068 Include geany.ico in the distribution tarball.
1070 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
1071 * scripts/create_py_tags.py:
1072 Make the script a bit more robust with newer Python versions.
1074 Use utils_spawn_sync() instead of g_spawn_sync().
1077 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1080 Close meta tag for export date properly.
1083 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1086 Update RPM Spec file (patch by Dominic Hopf, thanks).
1089 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1092 Fix renaming sci_send_message(), sci_send_command() function
1096 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1098 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
1099 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
1100 plugins/geanyfunctions.h, plugins/Makefile.am,
1101 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
1102 Use full function name for GeanyFunctions function pointers. This
1103 avoids naming conflicts e.g. with C++'s 'new' keyword.
1104 Remove deprecated header pluginmacros.h - use geanyfunctions.h
1108 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1110 * src/utils.c, src/utils.h, src/vte.c:
1111 Add utils_copy_environment() and make use of it.
1112 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
1113 src/editor.c, src/templates.c, src/templates.h:
1114 Add new special template wildcard "{command:...}" to use the
1115 output of a command in templates.
1116 Adjust template functions to mostly work with GeanyDocuments.
1117 Minor cleanups in the template code.
1119 Replace the old icons with smiley icons from the Rodent icon theme.
1120 Fix showing the same icon for two or more slots.
1122 * src/editor.c, src/editor.h, src/keybindings.c:
1123 Rename fold_symbol_click() to editor_toggle_fold().
1124 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
1125 was used to respect the 'Fold/unfold all children' preference
1129 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1132 Prevent possible segfault in get_build_group().
1134 Fix GLib warning & beep if trying to insert multiline comment for a
1135 filetype that doesn't support it.
1138 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1141 Add gcc commands to build a plugin to the HowTo.
1142 * src/search.c, src/document.c, src/document.h:
1143 Show 'Replaced X matches in Y documents' message when using
1147 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1149 * scripts/plugin_test.c:
1150 Add a little test program which can load and test Geany plugins to
1151 verify it is loadable at runtime and all necessary symbols are
1153 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
1155 Add new signal: "geany-startup-complete" which is sent once all
1156 initialization and startup tasks has been done.
1157 * README.I18N, configure.ac, wscript, po/LINGUAS:
1158 Remove po/LINGUAS from the repository.
1159 Generate it automatically if needed by reading available
1160 message catalogs from the po directory.
1161 Also respect the LINGUAS environment variable properly.
1164 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1167 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
1171 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1173 * src/editor.c, src/templates.c, src/templates.h:
1174 Refactor templates_replace_all() into templates_replace_valist()
1175 to save some code duplication.
1178 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1180 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
1181 src/plugindata.h, src/plugins.c:
1182 Add editor_insert_text_block() to plugin API.
1185 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1188 Update copyright information.
1189 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1190 doc/geany.txt, doc/geany.html:
1191 Add keybinding to open the last closed tab (closes #2912692).
1194 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1196 * autogen.sh, configure.in, configure.ac:
1197 Rename configure.in to configure.ac.
1198 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
1200 Add sci_find_text() to the plugin API.
1201 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1202 src/interface.c, src/prefs.c:
1203 Add a checkbox in the preferences dialog to explicitly toggle
1204 the visibility of the sidebar (closes #2923340).
1207 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1209 * src/editor.c, src/plugins.c, src/plugindata.h,
1210 plugins/geanyfunctions.h:
1211 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
1212 editor_get_eol_char() to the plugin API.
1213 * src/callbacks.c, src/plugins.c, src/plugins.h:
1214 Fix sensitivity of the Edit->Plugin Preferences menu item
1215 if plugins are loaded which do not provide a configuration dialog.
1216 * scripts/create_py_tags.py:
1217 Rewrite and extend the Python tags parsing script to use
1218 Python's inspect module to read symbols from Python modules
1219 including scope information.
1220 * data/filetypes.restructuredtext:
1221 Add the default comment character sequence for reStructuredText.
1223 Show the Find/Goto dialogs if the corresponding toolbar buttons are
1224 clicked but their text fields are not part of the toolbar (#2920807).
1225 * data/filetypes.common, doc/geany.html, doc/geany.txt,
1227 Add new style to change foreground and background colours for
1228 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
1230 Remember the window position of the Find, Replace and Find in Files
1231 dialogs (closes #2877988).
1234 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
1237 Fix a minor typo inside plugin API reference.
1240 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1242 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
1243 Make dialogs_show_prompt() more flexible to take up to three
1244 button/response code pairs to be shown.
1245 Add a close button to the dialog when asking to Re-Save a
1247 (closes #2916954, based on a patch by Dominik Stadler, thanks).
1249 Fix LaTeX environment auto completion with CR/LF line endings.
1250 Add some sanity checks.
1252 When closing a document after it was deleted from the filesystem,
1253 don't ask whether it should be saved first.
1254 Mark the document only as changed if it is not closed afterwards.
1255 Prevent possible segfaults if the document was closed when it is
1256 missing from the filesystem.
1257 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
1258 src/msgwindow.h, src/prefs.c:
1259 Add MessageWindow::scribble and use it instead of searching the
1260 widget pointer everytime.
1261 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
1262 Add preferences for hiding single tabs from the messages window
1263 (no GUI preferences yet, still to be implemented).
1264 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1265 Set the correct parent window for the toolbar editor
1266 dialog (closes #2913334).
1267 * src/win32.c, src/win32.h, src/ui_utils.c:
1268 Rename win32_show_project_folder_dialog() to
1269 win32_show_folder_dialog() as it is not related and not used by any
1270 project management related code.
1271 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
1272 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
1273 as it is specialised for opening documents.
1274 Implement win32_show_file_dialog() as a generic file open dialog and
1275 use it with ui_path_box_new().
1278 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1281 Extend auto_latex() function to check whether an environment has been
1282 closed within the next lines to avoid auto adding double \end{}.
1284 Remove LaTeX tags from SVN. Can be found at
1285 http://download.geany.org/contrib/tags/ if needed.
1288 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1290 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
1291 Add document_need_save_as().
1292 Show the Save As also for documents created from filetype templates
1293 instead of saving them directly with the untitled filename.
1296 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1298 * geany.glade, src/interface.c:
1299 Move 'Send Selection to Terminal' menu item from Format to Commands
1302 When going to a build error, try the current document's path if
1303 the parsed filename doesn't exist. (This can happen when we receive
1304 build messages in the wrong order - after the 'Leaving directory'
1307 Refactor msgwin_goto_compiler_file_line().
1308 * src/interface.c, src/keybindings.c, geany.glade:
1309 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
1312 Refactor/reformat on_replace_dialog_response().
1315 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1318 Improve geany.spec (split the package into a binary and devel
1319 package, update BuildRequires and other minor improvements).
1320 Patch by Dominic Hopf, thanks.
1323 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1325 * src/filetypes.c, src/filetypes.h:
1326 Make group for custom filetypes.
1327 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
1328 Add custom filetype Genie.
1331 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1333 * src/highlighting.c:
1334 Highlight D & Java types from a global tags file.
1335 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1336 Add debug message warning if recursive lexer_filetype is set.
1337 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
1338 Remove duplicate sci_set_keywords(), make argument const.
1339 * src/highlighting.c:
1340 Only show debug message once if recursive lexer_filetype is set.
1341 Tidy highlighting_init_styles code for filetype None handling.
1342 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
1343 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
1344 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
1345 tagmanager/parsers.h, tagmanager/makefile.win32,
1346 tagmanager/verilog.c, tagmanager/Makefile.am,
1347 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
1348 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
1349 * src/highlighting.c:
1350 Fix segfault on startup (oops).
1351 * data/filetypes.verilog:
1352 Fix using common style colours for Verilog.
1355 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1357 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1358 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1359 Move C-like filetype properties into configuration files.
1360 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1362 Remove now unnecessary "styling_within_preprocessor" C style key.
1363 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1364 data/filetypes.glsl, data/filetypes.cs:
1365 Use lexer_filetype=C configuration file key instead of duplicate
1366 styleset functions for C++, C#, GLSL, Vala.
1369 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1371 * doc/geany.txt, doc/geany.html:
1372 Warn about not using BOM for configuration files (confuses GKeyFile
1373 parser, at least on my system).
1375 Add/improve debug messages for custom filetypes.
1378 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1381 Add a couple of further latex-beamer commands to list of LaTeX tags.
1384 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1386 * plugins/filebrowser.c:
1387 Add an in-entry clear icon to the filebrowser plugin's filter
1388 entry (patch by Dominic Hopf, thanks).
1389 * src/prefs.c, src/ui_utils.c:
1390 Fix two compiler warnings about possibly uninitialised variables.
1393 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1395 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
1396 plugins/geanyfunctions.h:
1397 Add main_is_realized() to the plugin API.
1398 * tagmanager/include/tm_tagmanager.h:
1399 Update partly outdated and wrong doc comment.
1400 * src/main.c, src/main.h, src/socket.c:
1401 Allow opening Geany projects remotely.
1402 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
1403 Add a hidden pref to allow executing text which was sent to the
1404 terminal directly, i.e. do not strip trailing newline characters.
1405 Also fix the stripping of trailing newline characters if there was
1409 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1411 * src/about.c, THANKS:
1412 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
1413 Kurt de Bree into section of previous translators.
1416 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1418 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
1419 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
1423 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1425 * src/highlighting.c:
1426 Make stylesets take a ft_id argument so they can be reused fully with
1427 custom filetypes, so custom styles and keywords can be set.
1428 * src/highlighting.c:
1429 Fix setting filetype properties when both the system and the user
1430 file have properties set.
1431 * src/symbols.c, tagmanager/vhdl.c:
1433 * src/highlighting.c:
1434 Fix lexer settings for custom filetypes.
1437 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1440 Remove duplicate regular expression for parsing classes.
1441 Fix and improve parsing of constants (patch by Harold Aling, thanks).
1442 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
1443 src/main.h, THANKS, src/about.c:
1444 Add new command line option "--socket-file" to be able to specify
1445 separate socket filenames for instances
1446 (closes #2896027, patch by Jörn Reder, thanks).
1447 * src/keybindings.c, src/keybindings.h:
1448 Add keybindings_check_event() to manually check GdkKeyEvents against
1449 Geany's keybindings.
1450 * src/callbacks.c, src/utils.c, src/utils.h:
1451 Add and use utils_get_help_url().
1452 * geany.glade, src/interface.c, src/prefs.c:
1453 Add a Help button to the preferences dialog.
1454 Handle Help keybinding events for the preferences dialog especially
1455 and open the manual with the corresponding anchor link to the current
1456 preferences page (same goes for the new Help button).
1459 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1461 * src/toolbar.c, src/geanymenubuttonaction.c,
1462 src/geanymenubuttonaction.h:
1463 Use separate tooltips for toolbar menu buttons and their attached
1465 * tagmanager/latex.c:
1466 Improve parsing of sections and chapters by ignoring shortnames
1467 like \section[shortname]{label} (closes #2890477).
1470 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1472 * src/geanymenubuttonaction.c:
1473 Try to fix Gtk warning when using Tools->Reload Configuration.
1476 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1478 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1479 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
1480 data/filetypes.pascal, data/filetypes.docbook,
1481 data/filetypes.python, data/filetypes.conf:
1482 Use filetypes.foo [lexer_properties] group instead of hardcoding
1483 lexer properties (more flexible e.g. for custom filetypes).
1484 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
1485 Replace filetypes.xml html_asp_default_language key with
1486 filetypes.html asp.default.language property in [lexer_properties]
1490 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1492 * doc/geany.txt, doc/geany.html:
1493 Fix slightly wrong description of how to insert Unicode characters.
1495 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
1496 ui_setup_open_button_callback().
1497 * src/prefs.c, src/prefs.c, src/vte.c:
1498 Refactor color and font button callback functions in the
1499 preferences dialog. Move the VTE related callback functions
1501 Make use of ui_setup_open_button_callback().
1503 Improve printing status texts (patch by Dominic Hopf, thanks).
1504 * src/prefs.c, src/vte.c:
1505 Use the default dialog title set by ui_setup_open_button_callback()
1506 to be more consistent and to save one string.
1509 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1512 Separate DKinds from CKinds.
1513 Don't generate macro tags for D, Java.
1516 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1518 * tagmanager/ctags.c, tagmanager/general.h:
1519 Make TagManager Assert statements cause g_warning on failure.
1520 * src/keybindings.c:
1521 Fix reflow paragraph command when cursor < anchor using
1522 sci_fix_selection().
1525 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1527 * tagmanager/perl.c:
1528 Fix Geany segfault with constant tags (#2895168).
1530 Fix invalid tree iter access when using tv_iters.tag_other but not
1531 using tv_iters.tag_variable.
1532 * HACKING, tagmanager/perl.c:
1533 Fix parsing Perl format statements ("other" type doesn't seem
1535 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
1536 Fix using "other" tag type.
1539 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1542 Remove useless comment about applying settings only when libvte.so
1543 could be loaded which is only displayed *if* libvte.so is loaded.
1545 Allow autocompletion for HTML entities even within a word.
1546 * src/geanymenubuttonaction.c:
1547 Only set the menu of the button if a non-empty GtkMenu is passed to
1548 geany_menu_button_action_set_menu() so the menu arrow keeps
1552 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1555 Fix parsing some Java code (e.g. filetypes.java) after r4407.
1558 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1561 Parse D functions with contracts (fixes #1885480).
1562 Parse D alias statement like typedef.
1563 (Ignore some more D keywords).
1565 Fix creating D interface tags properly.
1567 Parse contents of D extern{} and version{} blocks.
1570 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1576 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1578 * src/plugindata.h, HACKING:
1579 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
1582 Show number of files saved on status bar when using Save All.
1583 * src/highlighting.c:
1584 Use default color scheme if pref color scheme file doesn't exist.
1585 * src/keybindings.c:
1586 Fix moving correct lines after selecting whole line(s).
1589 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1591 * tagmanager/makefile.win32:
1592 Fix broken build on Windows because of a typo
1593 (patch by Timothy Boronczyk, thanks).
1596 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1598 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1600 Add 'View->Editor->Color Schemes' menu, for now only shown if color
1601 scheme files exist in a colorschemes config directory. Color scheme
1602 files must end in ".conf" and currently only the [named_styles]
1604 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1605 Add utils_get_config_files().
1606 * src/highlighting.c:
1607 Fix issue with default color not being reset if overridden with a
1608 system default color.
1609 * src/highlighting.c:
1610 Only reload filetype files when changing color scheme, not all
1611 configuration files.
1612 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1613 Deprecate documents_foreach() as it looks more like a function; use
1614 foreach_document() instead.
1615 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1618 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1620 * src/stash.c, src/stash.h:
1621 Use typedef instead of pointer for widget_id function arguments.
1624 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1626 * src/pluginutils.c:
1627 Don't expand Plugin Preferences page spacing vertically to fill the
1628 height of the dialog.
1629 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1630 geany.glade, plugins/splitwindow.c:
1631 Allow GeanyKeyBinding label field to contain underscores, which won't
1632 be displayed by Geany. This saves adding near-duplicate translation
1634 Add mnemonics for 3 Edit->Format menu items.
1635 Add keybindings_get_label().
1636 * src/interface.c, geany.glade:
1637 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1641 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1644 Desensitize Edit->Commands menu item when no docs are open.
1645 * src/interface.c, src/keybindings.c, src/callbacks.c,
1646 src/callbacks.h, geany.glade:
1647 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1648 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1649 Add general function sci_get_string() that works with any string
1650 buffer messages that follow the Windows message convention.
1651 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1652 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1653 src/pluginutils.c, src/pluginutils.h, geany.glade:
1654 Add 'Edit->Plugin Preferences' menu item and keybinding.
1655 Don't include plugindata.h in pluginutils.h because it redefines the
1656 GEANY() macro for plugin use.
1657 * doc/geany.txt, doc/geany.html:
1658 Update for Plugin Preferences keybinding.
1661 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1664 Sort document word completion list.
1665 * src/interface.c, src/keybindings.c, src/callbacks.c,
1666 src/callbacks.h, geany.glade:
1667 Add some useful commands to editor popup menu under "Commands"
1668 submenu (thanks to Lex).
1669 Move 'Duplicate line or selection' from Format -> Commands submenu.
1670 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1671 Enable switching the sidebar to the right on Windows again, as it
1672 apparently works after all.
1674 Fix using tab to autocomplete in some other situations that word part
1675 completion doesn't apply in.
1676 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1677 Add Edit->Commands submenu which is shared with the editor popup
1679 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1680 Change editor popup Commands submenu to start as child of menubar
1681 Edit menu, as this is more usual e.g. for keybindings initialization.
1682 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1684 Share a single Format submenu for menubar Edit and popup menu.
1687 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1690 Fix a compiler warning about an uninitialised variable.
1692 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1693 sciwrappers.h, build.h (for the Waf build system,
1694 accordingly to r4366).
1697 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1699 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1700 src/toolbar.c, src/toolbar.h:
1701 Add missing dox for types/files in the API.
1702 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1703 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1704 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1705 of functions not in the API).
1706 Warning: any plugins that include these headers should remove them.
1707 * src/build.c, src/build.h:
1708 Move function doc-comments to build.c so they stay in sync. Note:
1709 these functions are still not in the API.
1711 Add 'Doc-comments' plugin API subsection.
1712 * plugins/filebrowser.c:
1713 Fix packing configure widgets equally.
1714 Use spacing multiples of 6 as recommended by Gnome HIG.
1715 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1716 Disable switching the sidebar to the right on Windows as it will
1717 probably fail like the Split Window plugin.
1719 Improve 'Detect from file' indentation pref by ignoring lines with
1720 indentation wider than 24 characters as this is more likely to be
1721 alignment than indentation.
1724 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1726 * plugins/saveactions.c:
1727 Fix adding the filetype's default extension when using the
1728 Instant Save plugin (closes #2885142).
1730 Before looking for line and column numbers specified as part
1731 of a filename, ensure the file doesn't exist on disk. This allows
1732 opening of files like "test:0".
1734 Rename "select" variables into "selection" to avoid shadowed names.
1735 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1736 Add ui_widget_modify_font_from_string() and sci_goto_line()
1738 * plugins/filebrowser.c:
1739 Rename "select" variables into "selection" to avoid shadowed names.
1740 Make use of ui_widget_modify_font_from_string().
1743 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1745 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1746 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1748 Add sidebar position interface pref.
1751 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1753 * doc/geany.txt, doc/geany.html:
1754 Add missing underscores to links.
1757 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1759 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1760 Add 'Move line(s) up/down' keybindings.
1763 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1765 * src/build.c, src/build.h, src/filetypes.h:
1766 Include code for project filetype execute commands and fix bug in
1767 saving project filetypes list.
1768 * src/project.c, src/build.c, doc/geany.txt:
1769 Make non-project execute configuration save to filetypes not
1771 Fix closing of project failing to remove build commands dialog entry.
1774 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1776 * src/project.c, src/ui_utils.c:
1777 Set border width for project properties build table.
1778 * geany.glade, src/interface.c:
1779 Don't expand hard tab width alignment.
1782 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1784 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1785 doc/geany.txt, doc/geany.html:
1786 Support loading global tags files for custom filetypes.
1787 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1788 doc/geany.txt, doc/geany.html:
1789 Add 'Word part completion' keybinding so keys other than Tab can be
1790 used, or to clear/change the combination so Tab does full completion
1792 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1793 Add 'Select to previous/next word part' keybindings.
1794 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1795 Add 'Switch to Messages' focus keybinding.
1798 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1800 * doc/geany.txt, doc/geany.html:
1801 Add 'Custom filetypes' section.
1802 * src/filetypes.c, src/filetypes.h, src/document.c,
1803 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1804 tagmanager/include/tm_source_file.h:
1805 Add filetype "tag_parser" key so custom filetypes can use an existing
1807 Add tm_source_file_get_named_lang().
1808 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1810 Add filetype "lexer_filetype" key so custom filetypes can use an
1814 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1816 * THANKS, src/about.c:
1817 Add Xhacker Liu for his work at zh_CN translation to long list of
1821 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1823 * src/sciwrappers.c:
1824 Remove unnecessary line number margin padding.
1825 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1826 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1828 Improve word part autocompletion so AC list is not cancelled and
1829 reshown (this also stops the selection changing).
1830 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1832 Improve CamelCase word part autocompletion for runs of capital
1835 Don't complete snippets if there's a selection.
1838 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1841 Fix crash opening project when Geany started with no geany.conf.
1844 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1846 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1847 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1849 Add word part autocompletion for the current selected item when
1850 pressing Tab - Enter still completes normally.
1851 Add foreach_str() API macro.
1852 Temporarily modify scintilla to say if tab was used for
1854 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1855 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1856 plugins/classbuilder.c:
1857 Revert r4301 - utils_free_pointers() taking 4 arguments.
1858 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1859 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1860 plugins/splitwindow.c:
1861 Add highlighting_set_styles() to API, use for Split Window plugin so
1862 filetypes.common settings get set too.
1863 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1865 * src/document.c, src/editor.c, plugins/splitwindow.c:
1866 Call editor_apply_update_prefs() from editor_create_widget() so
1867 correct tab width and other settings are applied for Split Window
1871 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1873 * src/keybindings.c:
1874 Don't include trailing newlines when using reflow command.
1876 Add stock close buttons to notebook tab popup menu.
1877 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1878 plugins/geanyfunctions.h:
1879 Add document_get_notebook_page() to API.
1881 * data/templates/files/file.html, data/templates/files/file.php:
1882 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1883 * src/interface.c, src/ui_utils.c, geany.glade:
1884 Move Tools configuration items to top of menu.
1885 * src/keybindings.c, src/search.c:
1886 Fix warning when using Find in Files with no documents open; make
1887 keybinding work in this case.
1890 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1892 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1893 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1894 Make Split Window 'Show current document' button have a drop-down
1895 menu to select the other documents.
1896 Add new API function ui_menu_add_document_items().
1899 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1902 Fix sensitivity settings for compile and build toolbar items.
1905 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1908 Don't use filetype submenus for templates (slower to navigate, often
1909 only 1 per-filetype anyway).
1911 Put old filetype template menu items in 'Old' submenu as they should
1912 be removed after the 0.19 release.
1913 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1914 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1915 to be ignored if inappropriate so a later keybinding with the same
1916 key combination can intercept it. (Also group callbacks are usually
1917 tidier than separate callbacks).
1918 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1919 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1920 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1921 plugins/classbuilder.c:
1922 Make utils_free_pointers() take 4 arguments, add to API.
1923 * src/templates.c, src/tools.c, src/ui_utils.c:
1924 Fix memory leaks with gtk_container_get_children().
1927 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1930 Ensure that old style build config is not loaded if it does
1934 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1936 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1937 Added Galician translation.
1938 Thanks to José Manuel Castroagudín Silva.
1941 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1943 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1945 Apply set default encoding for existing files only if the files are
1946 non-Unicode (patch by Alexey Antipov, thanks).
1949 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1951 * src/highlighting.c:
1952 Move new_styleset() and preprocessor setup code into
1954 * src/highlighting.c:
1955 Call apply_filetype_properties() from styleset_c_like().
1958 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1960 * doc/geany.txt, doc/geany.html:
1961 Improve information about predefined keybindings which are
1962 commonly used across applications (patch by Lex Trotman, thanks).
1964 Enable embedded page setup properties in the (Unix) Print dialog
1965 on newer GTK versions (closes #2870596).
1966 * src/highlighting.c:
1967 Map global types (read from tags files) to keyword style for
1971 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1974 Fix wrong creation of filetype template menu items for custom
1976 * src/highlighting.c:
1977 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1979 Group 'New with template' items by filetype submenu (currently only
1981 Show custom file template items before filetype template items.
1982 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1984 Only use one 'New with template' submenu - reparent as needed.
1986 Don't create templates/filetype.none either.
1988 Warn if custom template file no longer exists.
1991 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1994 Add missing icon for Java packages in the Symbol List.
1997 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1999 * src/highlighting.c, data/filetypes.vala:
2000 Add Vala keywords to conf file.
2001 * src/templates.c, doc/geany.txt, doc/geany.html:
2002 Read custom file templates from $prefix/share/geany/templates/files
2003 as well as user dir.
2004 * src/templates.c, data/templates, data/templates/files,
2005 data/templates/files/file.rb, data/templates/files/file.html,
2006 data/templates/files/main.java, data/templates/files/main.c,
2007 data/templates/files/main.cxx, data/templates/files/file.php,
2008 data/templates/files/main.d, data/templates/files/program.pas,
2009 data/templates/files/main.py, data/templates/files/file.tex,
2010 wscript, Makefile.am:
2011 Move filetype template defaults into custom file template files.
2014 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2016 * src/symbols.c, tagmanager/perl.c:
2017 Change Perl tag parser to ctags SVN r601. This removes support for
2018 buggy local/my/our but it parses constant/format/labels and should
2019 be less buggy overall (closes #2861232).
2020 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
2021 Add utils_get_file_list_full() which can optionally sort or include
2022 a full path for each list item.
2023 * src/utils.c, src/plugindata.h, src/plugins.c:
2024 Add utils_get_file_list_full() to API.
2027 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2029 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
2030 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
2031 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
2032 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
2033 po/POTFILES.in, wscript:
2034 Rename treeviews.[hc] -> sidebar.[hc].
2035 * data/filetypes.common:
2036 Remove unused [styling] arguments.
2037 * src/highlighting.c, data/filetypes.markdown,
2038 data/filetypes.restructuredtext:
2039 Remove style defaults from the code - just read them from
2040 configuration files.
2041 * src/highlighting.c, HACKING:
2042 Add apply_style_entries() to simplify implementing styleset_foo().
2043 * src/highlighting.c:
2044 Remove filetype keyword defaults from the code - just read them from
2045 configuration files.
2046 * src/highlighting.c:
2047 Add sci_set_keywords() wrapper.
2050 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2052 * scripts/create_py_tags.py:
2053 Make the code a bit more pythonic.
2054 * doc/images/build_menu_commands_dialog.png,
2055 doc/images/main_window.png:
2056 Add new images referenced in the documentation.
2057 * doc/geany.html, doc/geany.txt:
2058 Several documentation improvements (patch by Lex Trotman, thanks).
2059 * src/pluginutils.c:
2060 Fix setting the appropriate page of the combined plugins
2064 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2066 * src/keybindings.c:
2067 Only focus toolbar goto line entry when pressing keybinding if it's
2068 visible (patch by Eugene Arshinov, thanks).
2070 Focus editor after entering a number in the goto line toolbar entry.
2072 Use AC_PATH_PROG instead of which for portability (patch by Erik
2073 Southworth, thanks).
2075 Show plugins that only implement plugin_configure_single() in the
2076 multiple-configure dialog as a page with a configure button on it.
2077 Add padding for multiple-configure dialog.
2078 Make the multiple-configure dialog notebook tabs scrollable.
2079 * src/pluginutils.c, src/pluginutils.h:
2080 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
2081 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
2082 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
2083 plugins/geanyfunctions.h, plugins/filebrowser.c:
2084 Add plugin_show_configure() API utility function.
2085 Add File Browser popup menu 'Preferences' item.
2086 * src/highlighting.c:
2087 Add get_keyfile_ints() instead of using tmp_style hack.
2088 * src/highlighting.c, data/filetypes.xml:
2089 Change new html_asp_default_language markup pref to use integer,
2090 not hex in config file.
2091 Fix minor issue with changing pref back to 0.
2092 * src/highlighting.c:
2093 Fix possible segfault in get_keyfile_int() if key value is malformed.
2096 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2098 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
2099 Add "html_asp_default_language" pseudo style to filetypes.xml
2100 to allow setting the used language in embedded ASP code
2101 (patch by Ross McKay, thanks).
2102 * src/filetypes.xml:
2103 Update VBScript keywords (patch by Ross McKay, thanks).
2106 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2108 * src/keybindings.c, THANKS:
2109 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
2110 keybinding use line breaking column when enabled.
2112 Fix showing the document before reload dialog when opening an
2114 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
2115 Add plugin_configure_single() plugin symbol which is easier to
2116 implement than plugin_configure() but won't support a
2117 multiple-plugin configure dialog.
2119 Show multiple plugins in the 'Configure Plugins' dialog.
2122 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2124 * doc/geany.txt, doc/geany.html:
2125 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
2127 * doc/geany.txt, doc/geany.html:
2128 Add 'Toolbar entries' section.
2129 * doc/geany.txt, doc/geany.html:
2130 Update 'Go to line' keybinding description.
2131 * doc/geany.txt, doc/geany.html:
2132 Split keybinding table into group tables; update KB links.
2135 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2138 Fix compiler warnings about uninitialised variables.
2139 * src/callbacks.c, src/document.c:
2140 When reloading files, use the previously set encoding instead of
2141 detecting it again (closes #2862041).
2143 Turn on automake silent rules if supported.
2146 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2149 Speed up sorting in utils_get_file_list(). This reduces the file
2150 browser delay on displaying a big directory, e.g. /usr/bin.
2152 Expand command entry width when expanding Build Commands dialog.
2154 Split Build Commands dialog notes label and edit text.
2156 Add padding for Build Commands dialog separators.
2157 Add colons for regex field labels; fix 1 capitalisation.
2159 Fix none filetype Build Commands dialog label.
2160 Make group labels bold.
2161 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
2163 Add & use ui_label_set_markup(), ui_label_new_bold().
2164 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
2165 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
2166 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
2167 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
2168 * src/keybindings.c:
2169 Make 'Go to Line' keybinding focus the toolbar entry if visible.
2172 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2174 * src/filetypes.c, src/filetypes.h, src/symbols.c,
2175 tagmanager/parsers.h, tagmanager/makefile.win32,
2176 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
2177 data/filetype_extensions.conf, wscript:
2178 Add new filetype: Abc (patch by Eric Forgeot, thanks).
2180 Merge recent changes from the CTags project to further improve
2184 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2187 Fix wrong alignment of printed pages when page headers are
2188 disabled (closes #2856822).
2189 Plug a small memory leak and improve function signature of
2192 Save an if expression.
2194 After clearing a text field using the embedded clear icon, put the
2195 input focus into this text field.
2198 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2200 * plugins/filebrowser.c:
2201 Free file list memory whilst iterating the list.
2202 Minor formatting fixes.
2203 * src/utils.c, src/utils.h:
2204 Add foreach_dir() API macro.
2205 Update API docs for utils_get_file_list().
2206 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
2208 Remove queue.[hc] - use GQueue instead of GeanyQueue.
2209 Beep if there are no more snippet positions.
2210 Limit length of snippet positions queue to 20.
2213 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2215 * src/keybindings.c, src/callbacks.c, src/search.c:
2216 Make Goto Tag commands use the current selection if present (useful
2217 for selecting part of a tag or for ReST section names with spaces
2220 Don't move the cursor when reloading.
2221 * src/plugindata.h, src/editor.c, src/editor.h:
2222 Make editor_prefs.snippets hash table private (not a pref).
2225 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2228 Remove deprecated --debug flag. Please use --verbose/-v instead.
2231 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2234 Show Find in Files stderr output in messages window instead of
2235 debug window so that invalid regex messages can be seen easily.
2236 Combine FIF stdout and stderr callback code.
2239 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2242 Fix opening filenames beginning with two dots (closes #2858487).
2243 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
2244 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
2245 data/filetypes.common, geany.glade:
2246 Update syntax highlighting after changing the 'Invert syntax
2247 highlighting colors' pref, instead of requiring a restart.
2248 Remove filetypes.common invert_all option - use 'Invert syntax
2249 highlighting colors' pref instead (closes #2854525).
2250 * src/prefs.c, src/dialogs.c, src/dialogs.h:
2251 Add 'Allow' button when showing the conflicting keybinding dialog.
2252 Make dialogs_show_question_full() use GTK dialog on Windows if
2253 button text is not the stock yes/no items.
2254 Add dialogs_show_prompt() which also has an 'Apply' button.
2255 * src/queue.c, src/queue.h:
2256 Add warning that GeanyQueue may be removed.
2257 * src/keybindings.c, src/editor.c, src/editor.h:
2258 Change snippet_goto_next_cursor() to
2259 editor_goto_next_snippet_cursor() as it's in editor.h.
2260 Avoid using GPOINTER_TO_INT macro.
2263 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2265 * src/keybindings.c:
2266 Fix 'Reflow block' command when at the last paragraph and there's
2267 no last newline (patch by Eugene Arshinov, thanks).
2269 Add 'Compiler options & warnings' section.
2270 Update Style section to be clearer about code alignment and show
2275 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2277 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2278 src/plugindata.h, src/plugins.c, src/editor.c,
2279 plugins/geanyfunctions.h:
2280 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
2281 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
2283 Add sci_toggle_marker_at_line().
2284 Fix SciFuncs alignment.
2287 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
2290 Fix erroneous free of returned string in prepare_run_script.
2293 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2295 * data/filetypes.latex:
2296 Changing default value for showing pdf and dvi to ensure to take
2297 *.pdf and *.dvi file.
2300 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2302 * src/about.c, THANKS:
2303 Change language string for Slovenian translation.
2306 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2308 * tagmanager/txt2tags.c:
2309 Fix multi-byte character constant comparison.
2311 Fix Gtk warning when trying to update documents popup menu item
2312 sensitivity before they exist.
2315 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2318 Improve the opening string in the plugin manager dialog.
2320 Use "max-width" to set the document width of the generated
2321 HTML documentation to let the text be auto-wrapped.
2322 * src/prefs.c, src/tagmanager/include/guregex.h,
2323 src/tagmanager/include/tm_tagmanager.h:
2324 Remove trailing spaces (patch by André Hentschel, thanks).
2326 Fix a compiler warning.
2328 Fix crash when opening documents.
2329 * src/build.c, src/build.h, src/project.c:
2330 Adjust coding style (no code changes).
2331 * src/build.c, src/project.c:
2332 Use NZV() macro instead of strlen() to check for empty strings.
2333 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
2334 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
2335 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
2336 src/plugins.c, THANKS:
2337 Add new plugin signal: "document-before-save".
2338 Add get_line_end_position(), set_target_start(), set_target_end(),
2339 replace_target() to the plugin API
2340 (patch by Eugene Arshinov, thanks).
2341 Add new plugin signal: "document-filetype-set" (closes #2852286).
2342 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
2343 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
2344 tagmanager/Makefile.am, tagmanager/makefile.win32,
2345 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
2347 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2350 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2352 * src/treeviews.c, src/document.c:
2353 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
2354 Use gtk_notebook_set_current_page() instead of
2355 document_open_file_full() when choosing an item from the documents
2357 Avoid using goto in document_open_file_full().
2360 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2362 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2363 Enable type-ahead find for sidebar symbols and documents tabs
2364 (patch by Thomas Martitz, thanks).
2366 Fix 2 free's of possibly uninitialized pointers.
2369 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
2371 * src/build.c, src/filetypes.h, src/filetypes.c:
2372 Only write filetype config files when build command or regex is
2373 actually changed. Removed commented code in src/filetypes.c.
2375 Ensure uses of filename are protected against nulls when running
2376 a build command and give status message if not.
2379 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2382 Remove plugin from plugin manager dialog on unloading if it no
2383 longer exists or is incompatible.
2386 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2389 Add warning if only one of the plugin_key_group[_info] symbols is
2390 defined for a plugin.
2391 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
2392 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
2394 Merge custom-filetypes branch:
2395 Support adding custom filetype files e.g. filetypes.Foo.conf.
2397 Allow GeanyFiletype::extension to be NULL.
2398 Add note about using GeanyFiletype pointer instead of filetype_id
2399 for filetypes.c function arguments.
2400 Replace styleset_none() with styleset_default().
2403 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2406 Show the sidebar if either the documents or the symbols list are
2407 enabled (related to #1876107).
2410 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2412 * src/build.c, src/filetypes.c:
2413 Fix compiler warnings.
2415 Fix removing leading double slashes in filenames which are used for
2416 network resources on Windows (closes #2844085).
2419 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2421 * src/keybindings.c:
2422 Fix Make keybindings (patch by Lex Trotman, thanks).
2424 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
2426 Mention Files link at top for header files; demoplugin.c.
2427 Minor edits; remove 'far from being complete'.
2428 * src/keyfile.c, src/keyfile.h, src/main.c,
2429 data/filetype_extensions.conf, HACKING:
2430 Remove --generate-data-files argument & code - just edit
2431 filetype_extensions.conf by hand (filetype order was broken
2433 Add *.H extension for C++ (useful for non-Windows systems).
2436 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
2439 Fix implementation of loading old project files with base
2440 directories. Use project_make_base_path instead of re-
2441 implementing. Now depends on project.c reading base dir
2442 prior to calling load_build_menu.
2444 Change usage of project base directory to conform with
2445 previous documented behavior when loading old project files.
2447 Change make custom and make object to ignore make in base path
2448 when reading old project file settings. Changed some indent
2449 spaces to tabs. Fix missing compile menu accelerator.
2452 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2455 Add warning about not using undocumented features.
2456 Add reference to HACKING for plugin API development.
2458 Add section 'Plugin API/ABI design'.
2459 * src/keybindings.h, src/makefile.win32, src/project.h,
2460 src/filetypes.h, src/Makefile.am, wscript:
2461 Use GEANY_PRIVATE to hide some fields from plugins.
2463 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
2464 * src/build.c, src/build.h, src/project.c:
2465 Use build_ prefix for 3 functions in build.h; add a static modifier.
2468 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2471 Improve parsing of PHP functions by requiring a valid modifier or
2472 whitespace before the 'function' keyword to ignore some false
2473 positives like function tags inside comments
2474 (patch by Harold Aling, thanks).
2475 * tagmanager/python.c:
2476 Don't parse comments after import statements and other tags
2477 (closes #2838938, patch by Huandari Lopez, thanks).
2480 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2482 * data/filetypes.markdown:
2483 Add filetypes.markdown for configuration (thanks to Jon Strait).
2484 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
2485 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2486 plugins/geanyfunctions.h:
2487 Remove GeanyKeyGroup struct from the API - plugins should not set
2489 Make keybindings_set_item() duplicate the name and label fields
2490 (needed by GeanyLua) and return a keybinding pointer.
2491 Add keybindings_get_item() to the API (in case it's useful).
2492 Move some keybinding code out of plugin source files.
2495 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2497 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
2498 Don't generate build.h API docs until everything is approved and
2499 functions are actually in geany_functions.
2500 Move new GeanyFiletype and GeanyProject field(s) to end of struct
2501 as they may be changed or made private later.
2502 Break ABI for fields removed.
2505 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
2507 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
2508 src/keyfile.c, src/project.c:
2509 Changed names of symbols visible in build API to GEANY_xxx.
2512 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
2514 * src/project.h, src/project.c, src/build.c:
2515 Remove make_in_base_dir and run_cmd fields from project structure.
2516 Replaced by build functionality. Remove incorrect use in src/build.c
2517 build_run_cmd function.
2520 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2522 * src/project.h, src/project.c:
2523 Removed unused project_get_make_dir function, this is now per
2527 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2529 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
2531 Fix some more warnings.
2532 Fix commented out execute/stop toolbar code in build.c.
2533 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
2534 Changed build.h api so all functions prefixed with build_.
2537 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2539 * src/build.c, src/build.h, src/project.c:
2540 Fix some gcc warnings with '-Wall -W -ansi' enabled.
2543 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
2546 Fixed leaks and crashes due to inconsistent use of static vs dynamic
2547 strings when reading old format configuration & project files.
2548 * src/build.c, src/project.c:
2549 Fixed GLib array assertion warnings when no project filetypes are
2550 available to be saved.
2552 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
2558 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
2560 * src/build.h, src/build.c, src/project.c:
2561 Created and documented plugins interface to build menu.
2562 Factored out new get_cmd_group function.
2563 Changed name of remove_command function to be consistent with the
2564 rest of the interface & changed calls in project.c.
2565 * src/Makefile.am, wscript:
2566 Added build.h to installed files lists.
2568 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
2571 Updated manual to match build-menu capability.
2574 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
2576 * src/build.c, src/build.h:
2577 Added set_build_non_ft_wd_to_proj() for use by project dialog.
2578 Improved interpretation of run_in_base_dir from old [build-settings]
2579 Added spacing to build commands dialog
2581 Removed run in base path option from project dialog and added button
2582 to set working directories to d the same.
2585 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
2588 Re-incorporated toolbar changes in trunk accidently excluded in merge
2590 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2593 Fixed substitute %f etc in commands
2594 Fixed potential leak in build_replace_placeholder
2595 Fixed leak in prepare_run_script (Thanks for patch Thomas)
2596 Fixed build_replace_placeholder to not require document.
2598 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2600 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
2601 Fixed crash and lots of warnings, deleted some commented out code.
2602 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
2603 Removed make command from preferences and associated code
2605 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
2607 * src/build.c, src/build.h:
2608 Incorporated patch for working directory field (thanks Thomas)
2609 Removed run_in_base_dir option and associated code that it replaces
2610 Improved handling of old config files and mapping to new ones.
2612 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
2614 * src/build.h, src/build.c:
2615 Changed to itterate over entries in build commands dialog to allow
2616 additional fields to be added
2617 Implement support for multiple run commands
2618 * data/filetypes.latex:
2619 Implement configured commands and labels for latex.
2622 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2624 * src/build.h, src/build.c:
2625 added dialog support for error regular expressions from multiple
2626 sources and storing and loading them fixed some typos and memory
2628 * src/filetypes.c, src/filetypes.h, project.c:
2629 added support for using error regexes from multiple sources
2632 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2634 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2636 Removal of build menu item source made redundant by the following fix
2638 Corrected priority oreder and loading of filetype dependent build
2639 menu items saved in the project file. Added print routine for
2640 debugging command sources and priorities set compile symbol
2641 PRINTBUILDCMDS true to enable
2643 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2646 fixed problem loading old format filetype files, some formatting
2647 fixes fixed saving new format files
2648 added operation for clear button on build commands dialog
2650 fixed loading and saving filetype files
2653 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2655 Configurable Build Menu Changes
2657 * doc/geany.html, doc/geany.txt:
2658 Updated build menu section to new functionality
2659 * src/build.h, src/build.c:
2660 Largly re-written, configurability added, Latex code removed
2661 * src/filetypes.h, src/filetypes.c:
2662 Filetype structure updated to add new command pointers, configuration
2663 load and store changed
2664 * src/keybindings.h, src/keybindings.c:
2665 Changed to address new command storage structure.
2667 Changed to load/store new configuration.
2669 Minor change to initialisation order.
2671 Changed to address new menu item storage structure.
2672 * src/project.h, src/project.c:
2673 Changed to load/store the new configuration info.
2675 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2677 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2678 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2679 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2680 plugins/splitwindow.c:
2681 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2682 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2683 the ABI when adding fields to them.
2684 Add plugin_set_key_group() for plugins to dynamically set a
2685 keybinding group (e.g. for the Lua script plugin). Used in Split
2686 Window plugin as an example.
2687 Improve keybinding docs a little.
2690 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2692 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2693 Add geanyfunctions.h to API docs.
2694 * plugins/splitwindow.c:
2695 Set the cursor color for the split window.
2698 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2701 Fix 'Open Selected File' for unsaved new documents.
2702 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2703 Fix updating main menu accelerators after changing keybindings
2704 (thanks to Lex Trotman).
2706 Fix using 'Insert date' keybinding when a custom date string has
2708 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2709 Merge Plugin and GeanyPluginPrivate structs.
2712 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2714 * src/keybindings.c:
2715 Fix non-working Home and End keys on numpads.
2718 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2720 * doc/geany.txt, doc/geany.html, NEWS:
2721 Add 'Scope autocompletion' section.
2722 Add 'Tools menu items' section to explain configuration files
2723 submenu, reload configuration item.
2724 Minor updates/fixes.
2727 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2730 Add a translation hint to an ambiguous format string.
2732 Add missing include path to fix 'make distcheck'.
2734 Fix opening of local files in the browser on Windows.
2735 * New release: Geany 0.18 "Kaine".
2736 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2737 src/geany.h, doc/geany.html, doc/geany.txt:
2738 Post-release version bump.
2741 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2744 Temporarily disable reshowing calltips when the autocompletion
2745 list was closed implicitly by not choosing an item to fix
2746 problems with wrongly displayed calltips.
2748 Add missing 'coding' cookie to the Python filetype template.
2749 * doc/images/pref_dialog_edit_completions.png,
2750 doc/images/pref_dialog_toolbar.png:
2751 Update images for Geany 0.18.
2754 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2757 Add command '--hackingdoc' to create the HTML form of the
2761 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2763 * po/pt_PT.po, po/LINGUAS:
2764 Added a first Portugese (Portugal) translation based on work done at
2765 launchpad by e.g. André Glória and Alexandre Jesus.
2766 * src/main.c: Fix a minor typo on --help call.
2769 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2771 * src/highlighting.c:
2772 Call get_keyfile_wordchars() in highlighting_init_styles().
2775 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2777 * data/filetypes.ada:
2779 * src/keybindings.c:
2780 Switching notebook tabs now works for the currently used notebook
2781 widget instead of always using the documents notebook.
2782 * src/document.c, src/document.h, src/documentprivate.h,
2784 Small corrections to some API docs.
2787 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2789 * src/build.c, src/win32.h, src/win32.c:
2790 Expand system environment variables (%variableName%) on Windows when
2791 running Build commands.
2794 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2796 * src/keybindings.c:
2797 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2798 future using an indent block is more useful e.g. for ChangeLog
2800 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2801 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2802 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2803 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2804 tagmanager/parsers.h, tagmanager/makefile.win32,
2805 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2806 Add Markdown filetype (patch by Jon Strait, thanks).
2807 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2808 Fix disconnecting plugin signal id when not using geany_object.
2810 Add filetype_make_title() instead of using:
2811 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2812 It also supports "%s file" strings.
2815 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2817 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2818 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2819 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2820 plugins/filebrowser.c:
2821 Add plugin_signal_connect() for connecting plugin signals at
2822 runtime and also for connecting to any GObject signal.
2823 Add 'Plugin Utility Functions' on main page.
2824 Add foreach_array() macro.
2825 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2826 src/document.c, src/editor.c:
2827 Rename 3 sci functions to sci_set_target_start(),
2828 sci_set_target_end(), sci_replace_target() to match the SCI_
2832 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2834 * wscript: Fix compiling error with waf.
2837 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2839 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2840 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2841 src/Makefile.am, wscript:
2842 Move plugin_* utility functions to pluginutils.c.
2843 Add pluginprivate.h.
2845 Fix reshowing calltip in the wrong document.
2848 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2850 * doc/geany.txt, doc/geany.html:
2851 Add some general information about auto-completion capabilities
2852 (patch by Lex Trotman, thanks).
2855 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2857 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2858 Added a first Slovenian translation. Thanks to Joze Klepec.
2861 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2863 * src/highlighting.c:
2864 Use full styleset_foo[_init] function name as argument to
2865 init_styleset_case() and styleset_case() macros so it's easier to
2866 understand the code.
2867 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2868 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2869 doc/geany.txt, doc/geany.html:
2870 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2871 Heavily based on a patch by Eugene Arshinov (thanks).
2872 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2873 editor_strip_line_trailing_spaces().
2876 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2879 Attempt to fix reshowing calltips after the autocompletion list
2881 Reshow calltips also when the autocompletion list was closed
2882 implicitly by not choosing an item.
2884 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2886 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2887 plugins/splitwindow.c:
2888 Change utils_str_remove_chars() to work in place; fix allocating on
2889 the stack (the string length could exhaust the stack size).
2890 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2891 src/printing.c, src/callbacks.c:
2892 Rename utils_str_replace() utils_str_replace_all(), setting a
2893 'gchar **haystack' argument instead of returning a new string.
2895 For the Tabs indent type, remove spaces when unindenting (only) if
2896 there are no tabs on the line.
2897 Group undo actions for (un)indenting of multiple lines.
2898 * src/document.c, src/editor.c:
2899 Fix scrolling horizontally after finding a search match with the
2900 search bar or Find Next/Previous which is off-screen.
2901 * src/keybindings.c:
2902 Fix GLib warning when pressing a key with no documents open.
2905 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2908 Start unifying usage of @a and @c markup elements in API docs,
2910 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2911 Show/hide the toolbar without a restart when the setting in the
2912 preferences dialog is changed (closes #2824785).
2913 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2914 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2915 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2917 Continue unifying usage of @a and @c markup elements in API docs.
2920 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2923 Remove relative/untidy path elements when creating new documents
2924 with a filename (e.g. from the command-line) (#2823998).
2927 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2930 Disable 'Recent Projects' menu item if the list of recent projects
2933 Fix some harmless compiler warnings.
2934 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2935 src/plugins.c, src/utils.c, src/utils.h:
2936 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2937 src/utils.c and add it to the plugin API.
2938 Make utils_str_remove_chars() work on a new copy of the input string
2939 instead of modifying it in place.
2941 Remove underscores from the toolbar items labels.
2944 * plugins/splitwindow.c:
2945 Fix broken 'Show the current document' tool button icon.
2948 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2950 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2952 Add stash_group_add_widget_property() so we can save any widget's
2953 read/write properties.
2954 Use Stash for ui_prefs.sidebar_page setting.
2955 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2956 Make foreach_ptr_array() use an integer argument for its
2957 implementation, as this is more useful potentially than a gpointer*
2958 argument, and more straightforward.
2959 Add foreach_c_array(), foreach_ptr_array() to API.
2960 * src/utils.c, src/utils.h, src/document.c:
2961 Remove relative/untidy path elements when opening documents (closes
2964 Fix showing project name for documents list files with no
2965 subdirectory (oops).
2967 Fix checking whether to overwrite when using the Rename button in
2968 the 'Save As' dialog.
2971 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2974 Don't use the main window as parent for dialog boxes if it is not
2976 Set titles for message dialogs.
2979 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2982 Display item labels instead of raw names in the toolbar editor.
2983 Apply changes in the toolbar editor instantly.
2984 Show icons in the toolbar editor.
2985 Speed up toolbar editor dialog creation.
2987 Improve inserting of comment templates like File header or licence
2988 notices. The comment information are now read from the filetype
2989 configuration files.
2991 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2994 Enable file monitoring for files which are written to disk by Geany
2997 Fix broken special case handling when detecting filetypes from a
2998 shebang or other special file headers.
3001 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3004 Make Mark All keybinding clear search highlighting when there's no
3007 Fix wrong match length when using Mark with regex.
3008 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
3009 src/keyfile.c, src/main.c:
3010 Add 'Show Paths' documents list popup item.
3011 Add "load_settings" core-only signal emitted just after loading
3012 main keyfile settings; useful to delay building UI elements until
3013 settings have been read.
3015 Fix GTK warning when right-clicking on default tag tree.
3016 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
3017 Add treeviews_finalize().
3018 Remove tv.popup_openfiles field.
3021 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3023 * src/highlighting.c:
3024 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
3027 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3030 Quote the uri before passing it to the browser when opening a
3031 website (closes #2818635).
3033 Fix broken 'builtin' Run command for HTML files on Windows.
3036 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3039 Properly fix wrong brace highlighting of non-brace character.
3041 Allow autocompletion in Perl double-quoted strings.
3042 Don't autocomplete in Perl single-quoted strings (closes #2821061).
3043 Don't autocomplete in Perl q() strings.
3044 * data/filetypes.common:
3045 Make Mark highlighting brighter.
3046 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
3047 Use hyphen for auto-feature terms.
3048 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
3049 src/document.h, src/main.c:
3050 Add documents_foreach() API macro that skips invalid docs.
3051 Make filetypes[], documents[] part of the API again.
3052 Add GEANY() macro for sharing geany symbols between API and core.
3053 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
3054 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
3055 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
3056 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
3057 plugins/classbuilder.c, wscript:
3058 Add geanyplugin.h single include for plugin API; update all core
3060 Add sci_set_font() to API.
3061 Update plugin howto.
3062 * src/filetypes.c, src/filetypes.h:
3063 Remove filetypes_foreach_named().
3066 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3068 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
3069 src/document.h, src/main.c, THANKS:
3070 Apply patch from Eugene Arshinov to reload color schemes via menu
3073 Reload filetypes.common after saving it.
3075 Improve wrong brace highlighting of non-brace character.
3078 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3081 Delay highlighting matching braces by 100ms, which speeds up
3082 scrolling with the arrow keys.
3083 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
3084 Add 'Mark All' keybinding.
3085 * tagmanager/diff.c:
3086 Show relative paths in diff filename tags.
3089 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3091 * src/highlighting.c:
3092 Fix setting keyword list 'classes' for Haxe
3093 (pointed out by Andreas Mokros, thanks).
3096 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3098 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3099 doc/geany.txt, doc/geany.html, geany.glade:
3100 Add 'Drop rest of word on completion' pref.
3101 * src/editor.c, doc/geany.txt, doc/geany.html:
3102 If autocompletion is already visible when forcing completion, show
3103 document word completion instead of tag completion.
3104 Docs: Minor edits of related prefs items.
3105 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
3106 Add warning when printing and editor font is not monospaced.
3107 Fix using GtkMessageType instead of gint param for
3108 dialogs_show_msgbox*().
3109 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
3111 Support 'tab indents, space aligns' style for auto-indentation
3115 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3117 * src/document.c, src/documentprivate.h:
3118 Rework the GIO based file monitoring code. Now it is used only
3119 to indicate a possible change of the file, the real check if the
3120 file has been changed is performed by stat().
3121 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
3122 Add style 'line_height' to increase the line height.
3123 Add style 'marker_mark' and change style 'marker_search' to
3124 define the style used for marked search results.
3125 * doc/geany.txt, doc/geany.html:
3126 Add the new 'Autocomplete all words in document' pref to the docs.
3129 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3131 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3132 doc/geany.txt, doc/geany.html, geany.glade, TODO:
3133 Add 'Autocomplete all words in document' pref.
3134 Use 'autocompletion' in dialog and docs, not 'auto completion'.
3136 Fix limiting number of word completion entries too much.
3137 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
3138 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
3139 Show autocompletion icons for tag symbols - for now only tags with
3140 an arglist have the 'function/method' icon, all others have the
3142 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
3144 * src/highlighting.c:
3145 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
3149 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3151 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
3152 Fix removing underscores in translated string using no_underscore()
3154 Set a tooltip for the Split Window plugin's Show Current tool button.
3155 Add utils_strdupa() macro.
3156 * src/interface.c, geany.glade:
3157 Use stock Select All icon now we have >= GTK 2.8.
3159 Fix using project name for document items that start with the
3160 project base path but don't match it e.g. ".../geany-plugins"
3161 instead of ".../geany" when project name is 'geany'.
3164 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3167 Fix warnings when the toolbar does not contain the Run button.
3169 Fix wrong parsing of complex expressions in the Lua parser.
3170 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
3172 Remove unnecessary enums.
3173 * scintilla/*, scintilla/include/*, src/plugindata.h:
3174 Update Scintilla to version 1.79.
3175 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
3177 Use the new Scintilla struct names prefixed with 'Sci_'.
3178 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
3180 Add second argument to the 'line_wrap_indent' styling setting to
3181 control the new Scintilla indentation mode for wrapped lines.
3183 Properly close the toolbar editor on delete-events.
3184 Fix warnings and possible crashes in the toolbar editor when the list
3185 of displayed toolbar items is empty.
3186 * data/filetypes.tcl:
3187 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
3189 Make the plugin manager dialog a bit bigger.
3192 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3194 * doc/geany.html, doc/geany.txt:
3195 Fix wrong default values for the 'Show Calltip' keybinding.
3198 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3200 * data/filetypes.tcl, src/symbols.c:
3201 Fix duplicate "context_action_cmd" key.
3202 Use different icons for "Methods" and "Procedures" in the symbol
3205 Fix a small memory leak.
3206 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
3207 src/keybindings.h, src/plugindata.h:
3208 Make the Scintilla keybindings 'Delete to end of line' and
3209 'Go to end of display line' configurable.
3211 Fix a typo (closes #2813624).
3214 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3216 * tagmanager/tcl.c, src/symbol.c:
3217 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
3218 methods and namespaces).
3219 Patch by Witek Mozga, thanks.
3222 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3224 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
3225 src/toolbar.c, src/toolbar.h:
3226 Remove ui_toolbar.xml Configuration Files menu item.
3227 Add a real toolbar editor dialog.
3228 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3230 Add a button in the preferences dialog and an item for the toolbar
3231 popup menu to run the toolbar editor dialog.
3234 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3237 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
3238 Fix using locale encoding for default Save As dialog path.
3240 Beep when trying to activate the '...' autocompletion item.
3241 Limit (forced) document word completion to
3242 autocompletion_max_entries.
3243 Beep if no completions are shown when forcing autocompletion.
3246 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3248 * data/ui_toolbar.xml, src/toolbar.c:
3249 Add 'Build' toolbar button to the default layout.
3252 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3255 If forcing autocompletion and there's nothing else to show, complete
3256 from words in the current document (using code from Enrico's
3257 'AutoComplete Test' plugin).
3260 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3263 Add debug message if plugin has not set a name for its keybinding
3265 * data/filetype_extensions.conf:
3266 Add *.m4 for shell scripts.
3269 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3271 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3272 data/filetypes.common, TODO:
3273 Make filetypes.common named styles use the "default" named style for
3274 all missing style fields.
3275 Set named styles to usually leave the background style empty. This
3276 currently allows C-like filetypes to have a common default
3278 Allow hard-coded colors to use -1 for the default color.
3279 Add some highlighting style examples to the manual.
3282 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3285 Create initial template files with proper platform-specific line
3289 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3291 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
3292 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
3293 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
3294 src/ui_utils.c, src/ui_utils.h:
3295 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
3297 Refactor some related code.
3298 * tagmanager/conf.c:
3299 Strip trailing spaces from "Key" tags.
3301 Quote the full filename to the Geany executable when creating the
3302 "Open with Geany" context menu item.
3303 * plugins/splitwindow.c:
3304 Avoid using deprecated GTK API.
3305 * src/log.c, src/main.c:
3306 Properly clean up the logging mechanism.
3308 Fix LaTeX view commands on Windows (part of #2807688).
3310 Add a popup menu for the keybinding list in the preferences dialog
3311 to easily expand and collapse all groups.
3312 Refactor the keybindings code for the preferences dialog, prefix all
3314 * src/main.c, src/ui_utils.c, src/ui_utils.h:
3315 Init stock items before creating the toolbar (closes #2809324).
3317 Generate the geany.pc file also on Windows.
3319 Invert the logic to determine which Save All we want to use:
3320 Use the Tango like icon only for the Tango theme and the Gnome / GTK
3321 like icon for any other themes.
3324 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3326 * src/highlighting.c, README.Packagers, HACKING:
3327 Remove gsd_* default styles, use named styles instead.
3328 Note: this relies on filetypes.common being installed.
3329 Add load_style_entries(), which makes style initialization
3330 simpler, used in styleset_c_like_init().
3333 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3336 Prevent possible crash on Windows when not setting an initial
3337 directory for native File Open/Save dialogs.
3338 * data/filetypes.xml, src/highlighting.c:
3339 Add style 'jscript_regex' for filetype HTML
3340 (patch by Chris Macksey, thanks).
3343 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3345 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
3346 Make GeanyDocument::file_type always be non-NULL, even for a new
3347 document with no filetype set.
3349 Only autocomplete scope for scopes matching the current filetype's
3351 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
3352 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
3353 data/filetypes.actionscript, data/filetypes.cs,
3354 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
3355 data/filetypes.javascript, HACKING:
3356 Make C++, D lexer filetypes use named styles (apart from uuid,
3357 verbatim, regex styles).
3360 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3363 Don't explicitly change the current directory of the Save As dialog
3364 so that it uses the last used directory.
3367 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3369 * src/encodings.c, src/encodings.h, src/plugindata.h:
3370 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
3373 When completing from the macro list, put the cursor after
3377 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3379 * tagmanager/pascal.c:
3380 Fix type definitions being parsed as functions.
3382 Don't autocomplete in unterminated strings as well.
3383 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
3384 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
3385 Remove data_ptr argument to foreach_[s]list() macros, as using
3386 node->data is enough sometimes; this makes the macro a bit more
3388 Add foreach_[s]list() macros to the plugin API docs.
3391 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3393 * scintilla/LexPascal.cxx:
3394 Backport fix from Scintilla CVS:
3395 Pascal lexer hanging on file that starts with 'interface' after
3399 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3402 Update Waf to 1.5.7.
3404 Overwrite installation prefix on Windows only if it wasn't
3405 specified explicitly.
3408 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3411 Display calltips for Pascal symbols in the Pascal way (#2803945).
3412 * tagmanager/pascal.c:
3413 Fix wrongly set return values for procedures (closes #2803945).
3414 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
3415 tagmanager/include/tm_source_file.h,
3416 tagmanager/include/tm_workspace.h:
3417 Fix doxygen warnings.
3420 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3422 * src/editor.c, tagmanager/include/tm_workspace.h,
3423 tagmanager/tm_workspace.c, TODO:
3424 Autocomplete scoped fields like struct members when typing '.' (and
3425 also '->' or '::' in C/C++).
3426 Save all tag types for C/C++ when generating a global tags file, so
3427 we can use autocompletion for structs also.
3428 Merge tm_workspace_find_scope_members(),
3429 tm_workspace_find_namespace_members() (currently not built) from
3430 Anjuta 2.24.1 tagmanager.
3433 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3435 * tagmanager/pascal.c:
3436 Parse Pascal calltips (closes #2802640).
3439 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3441 * src/filetypes.c, src/ui_utils.c:
3442 Add filetypes.common Configuration Files menu item.
3445 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3448 Add backslash to the wordchars on Windows when using
3449 'Open Selected File'.
3451 Add support (configure, build and install) for building on Windows
3452 and cross-compiling for Windows using the Waf build system.
3455 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3458 Set status bar text instead of showing a dialog when saving
3459 ui_toolbar.xml because the user might save several times.
3461 Fix redrawing due to colourising just after the document is first
3462 drawn. Now colourising should happen before the first draw.
3463 * src/utils.c, src/highlighting.c, data/filetypes.common:
3464 Fix segfault on parsing a filetypes.* style definition that has < 4
3466 Allow style definitions to have missing fields to use the default
3470 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3472 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
3473 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
3474 * plugins/classbuilder.c:
3475 Fix wrongly created header guards when the class filenames contains
3476 dashes (patch by PCMan, thanks).
3477 * data/filetypes.matlab:
3478 Add build_settings section to allow executing Matlab scripts.
3480 When closing a document, mark it as invalid before removing it from
3481 the documents notebook (this fixes wrong Save All button state when
3482 closing an unsaved document because the "switch-page" signal handler
3483 was using old data).
3486 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3488 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3489 Support toggling bold/italic when using a named style, e.g.:
3490 commentdockeyword=commentdoc,bold,italic
3491 Improve named style docs.
3494 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3496 * src/build.c, src/editor.c:
3497 Fix crashes when parsing the output of a compiler which reports
3501 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3503 * src/highlighting.c:
3504 Support named styles also for filetypes.common [styling] entries.
3505 * doc/geany.txt, doc/geany.html, HACKING:
3506 Update docs for named styles in filetypes.* files.
3508 Fix grouping symbol list children when parent name has "." character
3509 in for reStructuredText and Conf filetypes.
3510 * tagmanager/python.c:
3511 Fix grouping functions/classes under a nested function.
3514 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3517 Adjust icon paths (patch by Dominic Hopf, thanks).
3518 * doc/geany.txt, doc/geany.html, src/toolbar.c:
3519 Add 'Replace' toolbar button (closes #2798225).
3522 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3524 * src/utils.c, src/highlighting.c, TODO:
3525 Implement named styles support for filetypes.* using a
3526 filetypes.common [named_styles] section e.g.:
3527 foo=0xc00000;0xffffff;false;true
3529 These can be used in e.g. filetypes.c as:
3533 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3536 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
3539 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3541 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
3542 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
3545 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3548 Remove quote_executable() as it is not used anymore.
3549 When creating the geany_run_script.bat use the "%0" variable
3550 expansion and quote it for the "del" command (closes #2797172).
3552 On Windows, fallback to the literal build command line if searching
3553 for the command in the system path failed (related to #2795923).
3554 Properly terminate the resulting strings when reading the stdout
3555 and stderr of any spawned commands on Windows.
3558 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3561 Use the wide character versions of native Windows File dialogs.
3563 Fix wrong initialisation of the default project path button callback
3564 in the preferences dialog.
3565 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
3566 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
3567 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
3568 icons/Makefile.am, icons/geany.ico, icons/scalable,
3569 icons/scalable/Makefile.am, icons/scalable/geany.svg,
3571 Move the icons geany.png and geany.ico into the icons directory.
3572 Add a 16x16 pixel Geany icon and the scalable SVG icon.
3573 Drop the pixmaps directory.
3576 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3578 * src/keybindings.c:
3579 Improve MRU document switching so there are no duplicates in the
3580 list and documents switched to whilst the dialog is open are
3581 ignored. Also beep when cycling through to the first document in the
3585 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3588 Fix broken 'Cancel' button in the Save As dialog.
3591 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3594 Fix multiline indent when selection covers text on the last line.
3596 Show current document in bold in tab popup menu.
3597 * src/editor.c, tagmanager/python.c, TODO:
3598 Parse Python calltips.
3601 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3603 * src/symbols.c, tagmanager/python.c:
3604 Parse Python import statements to get symbol completion for the
3605 imported module names.
3606 * src/editor.c, src/editor.h:
3607 Make some only locally used functions static.
3608 Fix wrong sanity check.
3610 Fix quoting the build command string on Windows (closes #2791769).
3611 This broke when we made build commands run synchronously on Windows,
3612 now we don't need to special quote the commands anymore.
3615 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3618 Drop rest of word to the right of cursor when autocompleting (do we
3619 need a pref for this?).
3622 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3624 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3625 Add sci_set_selection().
3626 * doc/geany.txt, doc/geany.html:
3627 Update manual for MRU switching.
3628 * src/callbacks.c, src/editor.c, src/editor.h:
3629 Make indenting with the Tabs indent type preserve spaces on the line,
3630 so it works for the 'tab indents, space aligns' formatting style.
3633 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3635 * tagmanager/python.c:
3636 Fix missing symbols for variables when an equal sign is used
3637 in a comment on the same line as the variable declaration.
3638 Backport change from CTags SVN to keep the parser more in sync:
3639 Add support for Cython constructs to the Python parser.
3641 Remember the additional Find in Files search flags at startup.
3643 Don't close the Save As dialog when saving the file didn't succeed.
3646 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3649 Remember scribble cursor position.
3650 * src/keybindings.c, TODO:
3651 Implement Most-Recently-Used document switching when pressing
3652 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3655 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3657 * data/latex.tags: Added some more commands from unit.sty and
3661 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3663 * src/symbols.c, doc/geany.txt, doc/geany.html,
3664 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3665 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3666 tagmanager/Makefile.am, wscript:
3667 Merge unstable branch:
3668 Add reStructuredText scope information for tags (for symbol list
3670 Read custom system global tags files from $prefix/share/geany/tags;
3672 Show the number of tags in a user global tags file (instead of the
3673 running total) in the debug message.
3674 Also print debug messages when loading a tag file manually or for
3675 default global tags files e.g. python.tags.
3677 Move NestingLevel tags code into a separate file, add functions.
3679 Add 'Installation prefix' section instead of quoting '/usr/local'
3681 Update for custom system global tags files.
3684 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3686 * src/highlighting.c:
3687 Unset maybe previously keywords when setting up Scintilla for
3688 XML files. This fixed wrong highlighting after switching back to
3689 filetype XML from another one.
3691 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3692 is only used when explicitly requested.
3694 Remove unnecessary call to g_intern_string() to fix build with
3695 GLib 2.8 (closes #2790051).
3698 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3701 Make the clear icon of entry fields act on the release event, not
3702 on the press event like for other buttons.
3704 Refactor some multiple used code into get_multiline_comment_style().
3706 Create parent directories if necessary when checking for the
3707 configuration directory on startup (closes #2784577).
3710 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3712 * plugins/filebrowser.c:
3713 When a filter is set, apply it only to files, not directories and
3714 apply the filter to the UTF-8 name of the file as the filter string
3715 itself is also UTF-8.
3716 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3717 Add utils_color_invert() and use it in highlighting.c and printing.c.
3718 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3719 Backport change from Scintilla CVS:
3720 Change capitalisation of header file to suit cross-compilation on
3724 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3726 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3727 Update Scintilla to version 1.78.
3728 * src/editor.c, src/highlighting.c:
3729 Update Pascal styles as they changed in Scintilla.
3732 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3735 Ignore the invert syntax highlighting colours setting when printing
3736 to not print characters on a dark background (closes #2785244).
3737 * New release: Geany 0.17 "Wessex".
3738 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3739 src/geany.h, doc/geany.html, doc/geany.txt:
3740 Post-release version bump.
3743 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3745 * src/callbacks.c, src/callbacks.h, src/main.c:
3746 Update the View->Fullscreen menu item when fullscreen state is
3747 changed externally (e.g. by the window manager).
3749 Fix passing wrong pointer to the File Open dialog for the Run
3750 command in the Project Properties dialog.
3753 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3755 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3757 Remember the active sidebar page between sessions.
3759 Add a recent project item after creating a new project.
3760 * tagmanager/ruby.c:
3761 Fix wrong parsing of string literals (closes #2781264).
3763 Fix setting focus to the editor widget after changing the selection
3767 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3770 Prevent crashes when two or more top level items in the symbol
3771 list have the same name (closes #2778246).
3774 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3776 * src/keybindings.c:
3777 Manually show the main notebook tab bar menu when Shift-F10 is
3778 pressed. This broke when we disabled the default GTK tab bar menu.
3780 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3781 which was reloaded shortly before.
3783 When the editor menu is opened by the Menu key, use the text cursor
3784 position for retrieving the current word. This fixes disabled
3785 Go to Tag items in the menu (#2780044).
3787 Set the "ellipsize" property of GtkCellRendererText to automatically
3788 shorten the path and file names in the Documents list.
3789 * doc/geany.html, doc/geany.txt, src/build.h:
3790 Increase the amount of highlighted build error messages to 100.
3791 At least for LaTeX we need higher values as there is a lot of
3792 informative output before any errors are reported.
3793 * src/filebrowser.c:
3794 Use the startup path as the initial directory for the filebrowser
3795 plugin when no project and no files are opened
3796 (patch by Matias Gea, thanks; closes #2780521).
3799 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3801 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3802 src/utils.c, src/utils.h:
3803 Ellipsize tab labels and some status messages for very long
3804 filenames (closes #2777348).
3805 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3806 Add utils_str_middle_truncate() and
3807 document_get_basename_for_display() to the plugin API.
3808 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3809 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3810 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3812 Add a hidden preference 'use_safe_file_saving' to save files to disk
3813 by creating a temporary file first. This has serious side effects,
3814 please read the documentation before enabling this.
3816 Make build commands on Windows run synchronously to avoid problems
3817 with reading build commands' output.
3818 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3819 Limit the amount of highlighted build error messages in the
3820 Compiler window to 50 for performance reasons.
3823 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3825 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3827 Replace our own GEANY_KEYS_MODIFIER_MASK by
3828 gtk_accelerator_get_default_mod_mask() which gives the same result.
3829 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3830 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3831 Add a trivial symbol parser for NSIS files.
3834 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3837 Hide the extra file open dialog options in an expander to make the
3838 dialog more compact by default and to provide more space for the
3840 Remove the filename field as it is also provided by GTK itself with
3841 more features like auto-completion.
3842 Watch the 'show-hidden' property of the file chooser widget using
3843 GObject's "notify" signal which gives accurate results and remove
3844 the hack using the "selection-changed" signal.
3847 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3849 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3850 Prevent double execution of radio menu item "activate" or "toggled"
3852 Move 'Set Encoding' callback function into encodings.c.
3855 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3858 Add some missing 'void's in function definitions.
3859 If the project base path is './', just use the path of the project
3860 config file instead of appending './'.
3861 * src/treeviews.c, src/project.c:
3862 When a project is loaded, replace the project base path with the
3863 project name in the Documents sidebar for parent items
3867 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3869 * src/keyfile.c, src/keyfile.h, src/project.c:
3870 Fix duplicating the recent files and projects lists when closing
3872 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3873 src/editor.c, src/encodings.c, src/filetypes.c,
3874 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3875 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3876 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3877 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3878 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3879 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3880 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3882 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3883 sense to keep the code more readable.
3886 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3889 When updating global type definitions for opened documents, take
3890 also C++ namespace symbols into account and don't ignore symbols
3891 which are defined inside a scope.
3894 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3897 Don't show 'plugin is not binary compatible' messages on the status
3898 bar, only the status window.
3901 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3904 When opening files from a remote instance on X11, set the window
3905 server time to encourage window managers to pop up the main window
3906 (related to #2735467 and #2276179).
3908 When finished sending filenames to a remote instance, notify the
3909 environment that we finished starting up.
3912 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3914 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3915 Sort Configuration Files menu.
3916 Add ui_menu_sort_by_label().
3917 Add foreach_list() macro.
3922 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3925 Fix setting a wrong default window size when starting without an
3926 existing configuration.
3927 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3928 Make editor_highlight_braces() static.
3929 Remove unused wrapper functions.
3930 * src/editor.c, src/symbols.c, src/symbols.h:
3931 Prevent showing an empty macro list.
3932 Show only macros of the same filetype instead of all macros of all
3935 Don't add opened project files to the GtkRecentManager.
3938 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3941 Add Configuration Files item for snippets.conf.
3942 * src/highlighting.c, src/symbols.c:
3943 Fix 2 old uses of filetype IDs.
3946 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3948 * src/interface.c, src/printing.c, geany.glade:
3949 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3952 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3955 Add sanity checks in ui_lookup_widget() just to be safe.
3956 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3957 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3958 src/project.h, src/ui_utils.c, src/ui_utils.h:
3959 Add "Recent Projects" menu to the Project menu
3960 (#2728630, patch by Elias Pschernig, thanks).
3961 * doc/geany.txt, doc/geany.html:
3962 Describe how to build Geany using the Waf build system.
3963 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3964 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3965 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3966 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3967 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3968 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3969 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3970 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3971 src/utils.c, src/utils.h, src/vte.c:
3972 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3973 performance when building the code with gcc.
3974 * src/highlighting.c:
3975 Fix typo in the G_LIKELY checks, introduced in last commit.
3976 Fix the size of the styles array.
3978 Show a message dialog when renaming a file fails.
3981 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3984 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3985 (as we did for all other files in SVN r3382).
3988 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3990 * src/filetypes.c, doc/geany.txt:
3991 Move ActionScript to the Script group.
3993 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3994 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3995 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3996 plugins/htmlchars.c:
3997 Merge reorder-filetypes branch:
3998 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3999 append randomly without breaking the ABI).
4000 Make None filetype name = title = _("None").
4001 Add foreach_slist() macro.
4002 Add filetypes_by_title list to GeanyData for plugin API access
4003 - a list of filetype pointers, which includes the None filetype
4004 first. This list stays constant by the time plugins are initialized,
4005 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
4006 index the sorted list.
4009 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4011 * doc/geany.txt, doc/geany.html, src/main.c:
4012 Add widget names for the menubar and toolbar.
4014 When hiding the messages window, set the input focus back to the
4015 editor widget (part of #1910393).
4018 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4020 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
4021 Backport recent changes from Scintilla CVS to add partial support
4022 for RFC2822 styled text using the Properties lexer.
4023 Ignore leading whitespace for config files and RFC2822 text.
4024 * data/filetypes.actionscript:
4025 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
4026 * THANKS, src/treeviews.c:
4027 Display file/directory icons in the Documents sidebar
4028 (patch by Simon Treny, thanks).
4031 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4033 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4034 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
4035 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
4036 Add an option to allow appending the toolbar to the main menu bar
4037 to save some vertical space.
4038 Allow setting toolbar icon size to very small (menu icon size).
4041 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4043 * src/keyfile.c, src/utils.c, src/utils.h:
4044 Add utils_path_skip_root(), a relative path safe variant of
4045 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
4046 * src/keyfile.c, src/main.c:
4047 Allow negative window coordinates when saving and restoring the
4048 position of the main window.
4049 Restore the main window position and size *after* the window has
4050 been realised to get it positioned accordingly
4051 (this affects at least Windows).
4054 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4056 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
4057 Use g_win32_get_package_installation_directory_of_module() on Windows
4058 with newer GLib versions instead of deprecated API.
4059 * src/keybindings.c:
4060 Don't manage the last used documents list when quitting to prevent
4061 errors by accessing invalid memory (may close #2533990).
4064 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4067 Delete the geany_run_script.sh immediately after execution
4068 to prevent leaking old copies when the script was quit unexpectedly
4069 (closes #2710482, patch by Martin Olsson, thanks).
4071 Check whether skipping the root element of a document's filename
4072 succeeded and use the filename itself if not (e.g. on relative
4073 filenames, #2702844).
4074 Use the locale encoded filename when saving session files.
4076 Re-set the quitting status after all documents have been closed on
4080 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4082 * plugins/htmlchars.c:
4083 Remove usage of deprecated sci_get_selected_text() from plugin.
4086 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4089 Delay disk file checks when switching between documents a little
4090 bit to avoid fast, unintentional page switching in some cases.
4091 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
4092 src/sciwrappers.c, src/sciwrappers.h:
4093 Deprecate sci_get_text(), sci_get_selected_text() and
4094 sci_get_text_range().
4095 Add sci_get_contents(), sci_get_contents_range() and
4096 sci_get_selection_contents() as replacement functions to provide
4097 an easier and cleaner API (initial patch by Frank).
4100 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4103 Fix wrong parsing of CSS tags when the definition block starts on
4104 a new line (reported by Dominic Hopf, thanks).
4107 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4109 * plugins/htmlchars.c:
4110 Extend plugin by feature to bulk replace and replace on input for
4111 special characters to their HTML entities.
4114 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4117 Update build menu items after changing anything in the
4118 'Set Includes and Arguments' dialog.
4119 Disable Compile/Run buttons/menu items when Compile/Run commands are
4121 Reset current build directory to the base directory after reading a
4122 "Leaving directory" message when parsing Make output
4123 (closes #2694479, patch by Andrea Mazzoleni, thanks).
4125 Fix wrong display of the filename in the tab bar menu for new files.
4127 Set the initial directory for the Save As dialog only once on
4129 Add a shortcut of the project's base directory to the
4130 File Open/Save As dialogs when a project is open for faster access.
4131 * src/splitwindow.c:
4132 Add keybindings for the split actions.
4135 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4138 When using Find All in the Find dialog (in Session and Document),
4139 display the right amount of matches.
4140 Fix the display of the matches once per line (I broke the original
4143 Fix wrong directory selection behaviour in all Open Folder dialogs
4144 (closes #2688020, patch by Marcel Stimberg, thanks).
4146 Don't present the main window of a running instance when starting
4147 a second instance separately.
4150 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4153 Reduce default file permissions on the Unix Domain socket file
4154 (reported by Jörg Sommer, thanks).
4157 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4159 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
4160 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
4162 Add an option to set an additional plugin lookup path.
4164 When using Find All in the Find dialog, display matches only once
4165 per line in the messages window (patch by Bert Vermeulen, thanks).
4168 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4170 * data/filetype_extensions.conf, data/filetypes.actionscript,
4171 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
4172 src/highlighting.c, src/plugindata.h, src/symbols.c,
4173 tagmanager/Makefile.am, tagmanager/actionscript.c,
4174 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
4175 Add filetype ActionScript (patch by Chris Macksey, thanks).
4176 Update type keywords only for real C-like languages.
4177 Fix wrong sorting of Assembler and Ada filetypes.
4178 * plugins/classbuilder.c:
4179 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
4180 Other minor cleanups.
4183 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4186 Don't use menu item images for the tab bar menu to save some
4188 * data/filetypes.fortran, tagmanager/fortran.c:
4189 Add keyword 'extends' and fix Fortran parser to support the
4190 'extends' keyword (closes #2654492).
4191 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
4192 src/search.c, src/toolbar.c:
4196 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4198 * src/about.c, THANKS:
4199 Added Jari Rahkonen to list of Finnish translators.
4202 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4205 Adjust minimum required GTK version.
4206 * src/Makefile.am, wscript:
4207 Add main.h to the list of installed header files.
4208 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
4209 src/notebook.c, src/ui_utils.c:
4210 Remove GeanyDocumentPrivate::tabmenu_label.
4211 Disable the default tab bar menu for the main notebook widget and
4212 use a custom menu instead which lists all open files as usual plus
4213 'Close Other Documents' and 'Close All' menu items.
4216 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4218 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
4219 Move ui_set_search_entry_background() into ui_utils.c.
4220 Change the background colour of the search entries in the Find
4221 and Replace dialogs according to the search results like in the
4222 toolbar search field.
4223 Add images to the 'Replace' and 'Replace and Find' buttons in the
4225 Minor cleanups in search.c.
4226 * tagmanager/tm_source_file.c:
4227 Update source files upon creation.
4229 Update C tags for glibc 2.9.
4230 * src/callbacks.c, src/toolbar.c:
4231 Fix broken non-incremental search with the toolbar search entry when
4232 pressing Enter (closes #2638180).
4233 * plugins/splitwindow.c:
4234 Fix possible crash on non-32-bit systems (patch by
4235 Wolfgang Ocker, thanks).
4237 Update the Packager tag due to Dominic's various contributions.
4238 Update description and feature list.
4239 Change Source tag to the gzip'ed tarball to be in sync with the
4240 Makefile target (thanks to Wolfgang Ocker for reporting).
4243 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4245 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
4246 Removed deprecated plugin VC Diff
4249 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4252 Fix wrong Fortran 90 comment characters when inserting templates.
4253 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4254 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
4255 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
4257 Add 'Send Selection to Terminal' command to the Edit->Format menu
4258 (initial patch by David Gleich, thanks).
4259 * geany.glade, src/interface.c:
4260 Fix mnemonic for the Edit->Preferences menu item.
4263 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4265 * configure.in, plugins/Makefile.am:
4266 Enable socket support when cross-compiling.
4267 Enable plugin compilation when cross-compiling.
4269 Fix missing NULL checks when reading the colour value of compiler
4271 * src/main.c, src/win32.c, src/win32.h:
4272 On Windows, change the working directory to the Geany installation
4273 path at startup to avoid unwanted directory locking(closes #2626124).
4275 Fix broken selection of "Document->Set Encoding" menu items.
4276 * src/document.c, tagmanager/include/tm_source_file.h,
4277 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
4278 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
4279 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
4280 Don't let the tagmanager automatically reparse files if they
4281 seem to be changed on disk (affects all files in the current session,
4282 not the current one). This should speed up file saving a little bit,
4283 especially with remote files.
4284 Remove now unnecessary calls to tm_workspace_update().
4286 Allow an empty value for the date format in the print settings to
4287 omit the date/time string in the print header.
4290 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4292 * src/editor.c: Set cursor for LaTeX at auto closing of environment
4296 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4299 Add missing header include (closes #2615808).
4302 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4305 Fix a possible crash when comparing symbol names
4306 (could be related to Ubuntu bug #147151).
4307 Fix broken symbol list tooltips when tag names contain ampersands.
4310 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4312 * plugins/makefile.win32:
4313 Don't build Split Window plugin on Windows (doesn't work).
4316 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4318 * ChangeLog, Makefile.am: Rotate ChangeLog.
4319 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
4320 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
4321 Post-release version bump.
4324 *** See ChangeLog.pre-0-17 for earlier changes ***