1 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Fix marking some strings as translatable (cannot be done in the
8 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
10 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
12 Fix replacing {filename} template wildcard for custom file
13 templates with non-default file extension.
14 Add search_find_text() for POSIX regex searches.
15 * src/templates.c, doc/geany.txt, doc/geany.html:
16 Add {project}, {description} template wildcards (#2954737).
17 * doc/geany.txt, doc/geany.html:
18 Divide template wildcards into groups.
19 * src/plugindata.h, src/plugins.c, src/symbols.c,
20 plugins/geanyfunctions.h:
21 Add symbols_get_context_separator() to plugin API (patch by Colomban
25 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
28 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
29 Anonymous, thanks; #2995593).
30 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
31 plugins/geanyfunctions.h:
32 Add sci_set_line_indentation(), sci_get_line_indentation() to API
33 (patch by Colomban Wendling, thanks).
36 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
39 Warn user if hidden hard tab width setting is not 8.
42 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
44 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
45 doc/geany.txt, doc/geany.html:
46 Hide 'Tabs and Spaces: Hard tab width' preference - it should
47 always be 8. (Hidden setting kept in case users have modified it).
50 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
52 * doc/geany.txt, doc/geany.html:
53 Add Folding section link to filetypes.common custom settings.
56 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
59 When switching documents, don't call document_set_text_changed()
60 as this does much more than necessary. Instead call the necessary
61 UI update functions explicitly.
64 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
66 * tagmanager/vstring.c:
67 Fix invalid memory read (patch by Colomban Wendling, thanks).
70 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
72 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
73 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
74 strings in case of reaching the buffer size limit (part of #2979697).
76 Change the limit for the command line length when executing commands
77 to a maximum of 32768 characters (closes #2979697).
78 Fix broken opening URLs e.g. when using the 'builtin' Run command.
80 Change eFree() to simply ignore NULL pointers instead of asserting.
82 Remove malloc() fallback since we completely rely on g_malloc()
84 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
85 plugins/saveactions.c:
86 Make string arguments const where appropriate (patch by
87 Colomban Wendling, thanks).
88 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
89 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
90 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
91 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
92 src/symbols.c, src/templates.c, src/ui_utils.c:
93 Make string arguments const where appropriate (patch by
94 Colomban Wendling, thanks).
97 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
99 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
100 Make plugin_signal_connect() string argument const (patch by
101 Colomban Wendling, thanks).
102 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
103 Constify some more string pointers in the API (patch by
104 Colomban Wendling, thanks).
105 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
107 Support {pc} wildcard in snippets to escape percent char.
109 Recalculate line margin width when zooming (fixes #2990553).
110 * src/highlighting.c, doc/geany.txt, doc/geany.html,
111 data/filetypes.common:
112 Support more folding icon styles: arrows, +/- and no lines
116 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
119 Fix Windows build by properly guarding Unix-only code.
122 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
124 * src/templates.c, doc/geany.txt, doc/geany.html:
125 Support {ob} and {cb} in fileheader and file templates; they are
126 replaced last with { and }. This allows 'escaping' of wildcard
128 * src/editor.c, plugins/classbuilder.c:
129 Fix Class Builder plugin to use correct indentation instead of
131 Make editor_insert_text_block() only replace leading tabs for the
132 'Tabs' indent type; also group edits for undo.
133 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
135 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
138 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
140 * tagmanager/pascal.c:
141 More fixes to prevent possible crashes by trying to free NULL
144 Automatically show and hide the sidebar notebook tabs according
145 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
147 Add a static global variable to monitor autocompletion mode in order
148 to prevent cancellation of the struct/class (C/C++) auto completion
149 list (patch by Thomas Martitz, thanks).
151 When starting and trying to access the Unix Domain socket of a
152 potentially running instance, first compare file ownership with the
153 user id of the running process to prevent accessing a wrong socket
154 file (part of #2985463, this might not yet be the final solution).
157 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
159 * plugins/filebrowser.c:
160 Synchronize popup menu and plugin preferences dialog 'Show Hidden
161 Files' option (fixes #2989288).
164 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
166 * tagmanager/entry.c, tagmanager/entry.h,
167 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
168 tagmanager/parse.h, tagmanager/tm_source_file.c:
169 Add tm_source_file_set_tag_arglist() to manually set the argument
171 * tagmanager/python.c:
172 Use tm_source_file_set_tag_arglist() to set the argument list
173 field of Python class tags to the argument list of their
175 Backport a fix from CTags SVN to prevent possible crashes by trying
176 to free NULL pointers.
179 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
181 * tagmanager/txt2tags.c:
182 Remove duplicate code from Txt2Tags parser.
183 Remove the title control characters ('=') when parsing titles.
184 Also parse numbered titles (closes #2984703).
185 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
187 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
188 Add missing documentation for 'Reset Zoom' keybinding.
190 Another attempt to fix the PHP parser regexp for parsing functions.
191 Fix wrong parsing of function arguments when those contain nested
192 brackets (as reported by Harold Aling).
194 Fix Ctrl-Click on notebook tab if Numpad is active.
197 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
199 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
200 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
201 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
202 src/ui_utils.c, src/ui_utils.h:
203 Add option 'System Default' for toolbar icon style and size to
204 use the GTK default value.
205 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
206 src/toolbar.c, src/toolbar.h:
207 Shorten the toolbar popup menu, only provide items for Toolbar
208 Preferences and to Hide the toolbar.
210 Instantly update the toolbar icon size and style when the
211 corresponding global GTK settings are changed.
212 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
213 src/plugindata.h, src/socket.c:
214 Add new command line option --list-documents to return a list
215 of currently opened documents (closes #2979933).
218 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
220 * plugins/htmlchars.c:
221 Make plugin remember whether replacement of special characters was
222 activated even after restart of Geany or reloading of plugin.
225 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
228 Fix inserting snippets with an indent when using Mac CR line
231 Update status bar after using Document->Set Line Endings.
233 Improve API docs for editor_insert_text_block().
236 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
239 Refactor snippets_complete_constructs().
240 Remove an unnecessary TODO.
242 Fix indenting a snippet when there is whitespace after the
246 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
248 * doc/geany.txt, doc/geany.html:
250 * src/build.c, src/msgwindow.c:
251 Fix disabled compiler message tracking if using indicators to
252 show build errors is disabled (closes #2982834).
255 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
257 * scintilla/Editor.cxx:
258 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
259 and SCI_GETSELECTIONEND with rectangular selections. This fixes
260 replacing in a rectangular selection.
263 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
266 Re-detect any document filetypes set to None after reloading
267 filetype extensions (closes #2979661).
269 Fix showing '...' item last instead of first for document word
273 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
275 * data/filetypes.perl:
276 Adjust Perl Compile command to use the -c command
277 line option to perform a syntax check instead of using the
278 deprecated ByteCompile module.
279 Add error_regex to parse error messages and warnings when performing
280 syntax checks on Perl files.
283 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
285 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
286 Add API docs for keybinding enums.
287 * src/notebook.c, doc/geany.txt, doc/geany.html:
288 Make Ctrl-click on any notebook tab switch to the last used
292 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
294 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
295 src/geanyentryaction.c, src/geanyentryaction.h,
296 src/geanywraplabel.c:
297 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
298 object for efficiency.
301 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
303 * plugins/classbuilder.c:
304 Beep if the user hasn't entered a class name on pressing OK.
306 Fix replacing '^' regex.
307 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
308 plugins/geanyfunctions.h:
309 Add Stash widget functions to API.
311 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
315 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
318 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
320 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
321 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
322 plugins/geanyfunctions.h, plugins/geanyplugin.h:
323 Add Stash setting functions to API.
324 Remove unnecessary argument to stash_group_load_from_file().
325 * src/geanyobject.c, plugins/classbuilder.c:
326 Don't generate FOO_GET_PRIVATE() macro because caching the result
327 in Foo::priv can be much more efficient.
330 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
333 Fix cursor positioning when toggling comments
334 (patch by Thomas Martitz, thanks).
337 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
339 * src/keybindings.[hc]:
340 Added Control+0 for zoom reset, see suggestion from #2969886.
343 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
345 * src/search.c, src/document.c:
346 Fix wrong selection range after Replace in Selection.
349 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
352 Make CreateChildProcess() working with Unicode strings, e.g.
353 directory names (closes #2972606).
355 Remove reference to already removed latex.tags file.
356 Future releases probably still depend on GTK 2.16.
357 * scintilla/ScintillaGTK.cxx:
358 Backport fix from Scintilla CVS to not paste text beyond the end
359 of lines (closes #2969096).
360 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
362 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
363 to not set Geany's minimum window size anymore (closes #2972992).
364 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
367 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
370 Make adding string and string vector settings initialise the setting
372 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
373 Add stash_group_load_from_file() and stash_group_save_to_file().
376 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
378 * data/filetypes.common:
379 Set default for wrapped lines to show marker at end of line only
380 (more expected and doesn't change line alignment - closes #2972386).
381 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
382 src/pluginutils.c, doc/plugins.dox:
383 Improve API docs contents page by listing all commonly-used files.
384 Fix 'Date' appearing twice on the date line.
385 Don't generate API docs for prefs.h, toolbar.h (unused).
386 Move some '@file' doc-comments to the .c file.
387 * src/interface.c, geany.glade:
388 Add frame for 'Printing' prefs dialog page.
389 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
390 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
392 Rename Stash data types to be independently named from Geany (so
393 Stash can be reused for other projects).
394 Rename GeanyPrefGroup to StashGroup.
397 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
399 * tagmanager/python.c:
400 Apply patch from Colomban Wendling to parse Python lambda functions
401 (thanks) - modified to only parse toplevel or class member lambdas.
402 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
404 Add doc-comments for Stash setting functions.
405 Add an example file showing usage of Stash.
406 (Not enabled yet until added to the plugin API).
409 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
412 Fix using return value without checking return status, caused
413 incorrect sensitivity settings on build dialog.
416 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
419 Add tip about gcc optimization & warnings/debugging.
421 Update Libraries section about synchronizing with other projects.
424 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
427 For now revert the recent patch which set real_path of newly
428 open non-existent configuration files as this seems hackish and
429 causes 'file not found' warnings.
431 Fix/Improve GIT repository detection
432 (patch by Thomas Martitz, thanks).
433 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
435 Add utils_copy_environment() to the plugin API.
438 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
440 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
441 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
443 Use 3rd person for more API dox.
444 Change 'This is a wrapper function for...' to 'Wraps...' in brief
446 Change 'After all...' to 'Afterwards...'.
447 * src/interface.c, geany.glade:
448 Apply patch from Eugene Arshinov to make frame packing/alignment
449 more consistent (thanks).
452 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
455 Fix ui_button_new_with_image() to call gtk_button_set_image() so
456 that gtk_button_[sg]et_label() work as expected.
457 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
458 Make Build Commands dialog show menu item labels as a button (to
459 help show that menu labels don't normally need to be edited &
460 display the mnemonic correctly). Clicking shows an input dialog to
461 set a new menu item label.
462 Split dialogs_show_input() into 2 functions: one simple, one for
464 Fix possible double-destroy of input dialog when closed by user.
466 Fix not destroying 'Make Custom Target' input dialog after first
469 Make Long Line Marker settings for existing projects default to
470 general settings instead of 0 (thanks to Eugene Arshinov).
471 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
472 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
473 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
474 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
475 Use 3rd person (gets not get) for API function brief descriptions.
476 Avoid using 'convenience function' in API brief descriptions.
479 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
481 * doc/geany.txt, doc/geany.html:
482 Warn about some GNU extensions for regular expressions & clarify
484 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
485 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
486 src/editor.h, geany.glade:
487 Apply patch from Eugene Arshinov to add project long line marker
488 customisation (thanks).
489 * src/interface.c, geany.glade:
490 Edit/tidy 'Long line marker' labels.
493 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
495 * src/build.c, src/project.c:
496 Fix crash due to NULL in project build preferences (thanks to
500 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
502 * src/utils.c, src/utils.h, src/search.c, src/search.h,
503 src/document.c, doc/geany.txt, doc/geany.html:
504 Merge gnu-regex branch:
505 Use POSIX system/GNU regex engine for find & replace 'Use regular
506 expressions' option. This alters regex syntax a bit - see the docs
507 for details; we now support '?' operator and replacement backslash
508 escaping is more standard.
509 Make regex search imply replacing escaped chars.
510 Allow \0 backreference replacement for the whole match.
511 Note: Replace All may be slower; if this is a problem please let me
514 Add argument to utils_str_replace_escape() for keeping
515 uninterpreted backslash escapes e.g. '\\', '\e'.
516 * scintilla/LexMarkdown.cxx:
517 Backport minor formatting/style changes from Scintilla project.
518 * doc/geany.txt, doc/geany.html:
519 Remove warning about no visual indication for zero-column-mode
523 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
526 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
529 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
531 * wscript, scintilla/*, scintilla/include/*:
532 Update Scintilla to version 2.03.
533 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
534 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
535 Add preference for virtual spaces.
537 Fix wrong default response for the Debug Messages dialog.
539 Fix crashes when using Save As with no open files (closes #2964406).
541 Fix duplicate mnemonics on 'Resave missing file' dialog, also
542 move the question from the secondary to the main text to be
543 more compatible with the Gnome HIG.
544 Fix broken 'Save' action in 'Resave missing file' dialog.
546 Improve PHP parser to parse also the argument lists of PHP functions.
548 Correctly set the parent widget for the keybinding overwrite
551 Fix setting the icon for some dialogs if the parent itself is also
554 When editing non-existent config files using the Tools->Configuration
555 Files menu, explicitly set the real_path to avoid presenting the Save
556 As dialog when saving the file (patch by Tony Rick, thanks).
558 Focus the editor widget after hiding the sidebar when it had the
559 input focus (patch by Can Koy, thanks).
560 Properly show/hide the mesages window when using the View menu item
562 * plugins/filebrowser.c:
563 After opening files, focus the editor widget
564 (based on a patch by Can Koy, thanks).
565 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
566 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
567 src/ui_utils.h, src/vte.c:
568 Add and use convenience function ui_is_keyval_enter_or_return() and
569 add it to the plugin API.
572 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
574 * src/about.c, THANKS, po/ast.po:
575 Added Asturian translation. Thanks to Marcos Costales for providing.
578 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
581 Fix keyboard accelerators in debug messages window
585 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
587 * scintilla/LexR.cxx:
588 Backport R lexer from Scintilla CVS to fix case sensitive keywords
589 (Scintilla bug #2956543).
590 * src/sidebar.c, src/about.c, THANKS:
591 Make Space on the symbol and document list not focus the editor
592 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
593 * src/document.c, src/document.h:
594 Fix document_try_focus() to make it work with the sidebar document
596 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
597 Make Space on the compiler and messages widgets not focus the editor
598 widget while Enter does (patch by Can Koy, thanks).
600 Fix wrongly auto-detected multiline comments
601 (patch by Eugene Arshinov, thanks).
604 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
607 Show number of lines of current document inside statusbar. Thanks to
608 Can Koy for providing the patch.
611 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
613 * src/keybindings.c, doc/geany.txt, doc/geany.html:
614 Make Switch to Editor keybinding reshow the document statistics
615 line, so user doesn't have to move the cursor.
618 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
621 Update keywords for the R language (patch by Jon Senior, thanks).
624 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
627 Fix the instruction how to insert unicode characters
631 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
633 * scripts/create_py_tags.py:
635 Replace tabs by spaces.
638 Replace tabs by spaces.
639 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
640 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
641 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
642 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
643 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
644 src/plugindata.h, src/sidebar.c, src/sidebar.h:
645 Add keybindings to switch to the sidebar's Document and Symbol list
646 as well as to the Message Window's current tab
647 (patch by Eugene Arshinov, thanks).
649 Update primary keywords for the R language
650 (patch by Jon Senior, thanks).
653 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
656 Add more detailed hints about reloading configuration
657 (thanks to Tony Rick).
658 * data/filetypes.javascript:
659 Correct the keyword list for JavaScript (thanks to Jonas).
662 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
664 * New release: Geany 0.18.1 "Balfour".
667 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
670 Add special cases for handling the Select All keybinding (Ctrl-A) in
671 the toolbar search and goto line text entries (closes #2948040).
672 Strip trailing spaces after reflowing a paragraph, patch by
673 Dominik Wagenfuehr, thanks (closes #2945497).
676 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
678 * src/geanymenubuttonaction.c, src/templates.c:
679 Partly revert last commit:
680 Unref the new files toolbar menu when freeing templates as it
681 was done before but unref it *after* the menu has been removed
682 from the GeanyMenuButtonAction.
684 Fix possible endless loop when trying to detect the encoding of
685 non-text files (patch by Alexey Antipov, thanks).
688 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
691 Allow saving remote files using g_file_set_contents() as well
692 (patch by Алексей Антипов, thanks).
693 * data/filetypes.python:
694 Adjust style for secondary keywords to be less aggressive.
695 Add Python 2.5 builtins keywords.
696 * src/geanymenubuttonaction.c, src/templates.c:
697 Unref the new files toolbar menu when setting a new menu to fix
698 possible crashes when reloading configuration.
700 When reloading configuration, process the current document at last
701 so the symbol list will be updated correctly.
704 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
707 Explicitly read filetype configuration files before generating
708 global tags to get settings for custom filetypes.
711 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
714 Fix GLib warning when toggling 'no plugins available' item.
717 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
720 Include geany.ico in the distribution tarball.
722 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
723 * scripts/create_py_tags.py:
724 Make the script a bit more robust with newer Python versions.
726 Use utils_spawn_sync() instead of g_spawn_sync().
729 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
732 Close meta tag for export date properly.
735 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
738 Update RPM Spec file (patch by Dominic Hopf, thanks).
741 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
744 Fix renaming sci_send_message(), sci_send_command() function pointers.
747 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
749 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
750 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
751 plugins/geanyfunctions.h, plugins/Makefile.am,
752 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
753 Use full function name for GeanyFunctions function pointers. This
754 avoids naming conflicts e.g. with C++'s 'new' keyword.
755 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
758 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
760 * src/utils.c, src/utils.h, src/vte.c:
761 Add utils_copy_environment() and make use of it.
762 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
763 src/editor.c, src/templates.c, src/templates.h:
764 Add new special template wildcard "{command:...}" to use the
765 output of a command in templates.
766 Adjust template functions to mostly work with GeanyDocuments.
767 Minor cleanups in the template code.
769 Replace the old icons with smiley icons from the Rodent icon theme.
770 Fix showing the same icon for two or more slots.
772 * src/editor.c, src/editor.h, src/keybindings.c:
773 Rename fold_symbol_click() to editor_toggle_fold().
774 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
775 was used to respect the 'Fold/unfold all children' preference
779 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
782 Prevent possible segfault in get_build_group().
784 Fix GLib warning & beep if trying to insert multiline comment for a
785 filetype that doesn't support it.
788 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
791 Add gcc commands to build a plugin to the HowTo.
792 * src/search.c, src/document.c, src/document.h:
793 Show 'Replaced X matches in Y documents' message when using Replace in
797 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
799 * scripts/plugin_test.c:
800 Add a little test program which can load and test Geany plugins to
801 verify it is loadable at runtime and all necessary symbols are
803 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
805 Add new signal: "geany-startup-complete" which is sent once all
806 initialization and startup tasks has been done.
807 * README.I18N, configure.ac, wscript, po/LINGUAS:
808 Remove po/LINGUAS from the repository.
809 Generate it automatically if needed by reading available
810 message catalogs from the po directory.
811 Also respect the LINGUAS environment variable properly.
814 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
817 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
821 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
823 * src/editor.c, src/templates.c, src/templates.h:
824 Refactor templates_replace_all() into templates_replace_valist()
825 to save some code duplication.
828 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
830 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
831 src/plugindata.h, src/plugins.c:
832 Add editor_insert_text_block() to plugin API.
835 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
838 Update copyright information.
839 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
840 doc/geany.txt, doc/geany.html:
841 Add keybinding to open the last closed tab (closes #2912692).
844 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
846 * autogen.sh, configure.in, configure.ac:
847 Rename configure.in to configure.ac.
848 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
850 Add sci_find_text() to the plugin API.
851 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
852 src/interface.c, src/prefs.c:
853 Add a checkbox in the preferences dialog to explicitly toggle
854 the visibility of the sidebar (closes #2923340).
857 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
859 * src/editor.c, src/plugins.c, src/plugindata.h,
860 plugins/geanyfunctions.h:
861 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
862 editor_get_eol_char() to the plugin API.
863 * src/callbacks.c, src/plugins.c, src/plugins.h:
864 Fix sensitivity of the Edit->Plugin Preferences menu item
865 if plugins are loaded which do not provide a configuration dialog.
866 * scripts/create_py_tags.py:
867 Rewrite and extend the Python tags parsing script to use
868 Python's inspect module to read symbols from Python modules
869 including scope information.
870 * data/filetypes.restructuredtext:
871 Add the default comment character sequence for reStructuredText.
873 Show the Find/Goto dialogs if the corresponding toolbar buttons are
874 clicked but their text fields are not part of the toolbar (#2920807).
875 * data/filetypes.common, doc/geany.html, doc/geany.txt,
877 Add new style to change foreground and background colours for
878 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
880 Remember the window position of the Find, Replace and Find in Files
881 dialogs (closes #2877988).
884 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
887 Fix a minor typo inside plugin API reference.
890 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
892 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
893 Make dialogs_show_prompt() more flexible to take up to three
894 button/response code pairs to be shown.
895 Add a close button to the dialog when asking to Re-Save a
897 (closes #2916954, based on a patch by Dominik Stadler, thanks).
899 Fix LaTeX environment auto completion with CR/LF line endings.
900 Add some sanity checks.
902 When closing a document after it was deleted from the filesystem,
903 don't ask whether it should be saved first.
904 Mark the document only as changed if it is not closed afterwards.
905 Prevent possible segfaults if the document was closed when it is
906 missing from the filesystem.
907 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
908 src/msgwindow.h, src/prefs.c:
909 Add MessageWindow::scribble and use it instead of searching the
910 widget pointer everytime.
911 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
912 Add preferences for hiding single tabs from the messages window
913 (no GUI preferences yet, still to be implemented).
914 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
915 Set the correct parent window for the toolbar editor
916 dialog (closes #2913334).
917 * src/win32.c, src/win32.h, src/ui_utils.c:
918 Rename win32_show_project_folder_dialog() to
919 win32_show_folder_dialog() as it is not related and not used by any
920 project management related code.
921 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
922 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
923 as it is specialised for opening documents.
924 Implement win32_show_file_dialog() as a generic file open dialog and
925 use it with ui_path_box_new().
928 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
931 Extend auto_latex() function to check whether an environment has been
932 closed within the next lines to avoid auto adding double \end{}.
934 Remove LaTeX tags from SVN. Can be found at
935 http://download.geany.org/contrib/tags/ if needed.
938 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
940 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
941 Add document_need_save_as().
942 Show the Save As also for documents created from filetype templates
943 instead of saving them directly with the untitled filename.
946 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
948 * geany.glade, src/interface.c:
949 Move 'Send Selection to Terminal' menu item from Format to Commands
952 When going to a build error, try the current document's path if
953 the parsed filename doesn't exist. (This can happen when we receive
954 build messages in the wrong order - after the 'Leaving directory'
957 Refactor msgwin_goto_compiler_file_line().
958 * src/interface.c, src/keybindings.c, geany.glade:
959 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
962 Refactor/reformat on_replace_dialog_response().
965 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
968 Improve geany.spec (split the package into a binary and devel
969 package, update BuildRequires and other minor improvements).
970 Patch by Dominic Hopf, thanks.
973 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
975 * src/filetypes.c, src/filetypes.h:
976 Make group for custom filetypes.
977 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
978 Add custom filetype Genie.
981 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
983 * src/highlighting.c:
984 Highlight D & Java types from a global tags file.
985 * src/highlighting.c, doc/geany.txt, doc/geany.html:
986 Add debug message warning if recursive lexer_filetype is set.
987 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
988 Remove duplicate sci_set_keywords(), make argument const.
989 * src/highlighting.c:
990 Only show debug message once if recursive lexer_filetype is set.
991 Tidy highlighting_init_styles code for filetype None handling.
992 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
993 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
994 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
995 tagmanager/parsers.h, tagmanager/makefile.win32,
996 tagmanager/verilog.c, tagmanager/Makefile.am,
997 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
998 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
999 * src/highlighting.c:
1000 Fix segfault on startup (oops).
1001 * data/filetypes.verilog:
1002 Fix using common style colours for Verilog.
1005 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1007 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1008 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1009 Move C-like filetype properties into configuration files.
1010 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1012 Remove now unnecessary "styling_within_preprocessor" C style key.
1013 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1014 data/filetypes.glsl, data/filetypes.cs:
1015 Use lexer_filetype=C configuration file key instead of duplicate
1016 styleset functions for C++, C#, GLSL, Vala.
1019 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1021 * doc/geany.txt, doc/geany.html:
1022 Warn about not using BOM for configuration files (confuses GKeyFile
1023 parser, at least on my system).
1025 Add/improve debug messages for custom filetypes.
1028 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1031 Add a couple of further latex-beamer commands to list of LaTeX tags.
1034 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1036 * plugins/filebrowser.c:
1037 Add an in-entry clear icon to the filebrowser plugin's filter
1038 entry (patch by Dominic Hopf, thanks).
1039 * src/prefs.c, src/ui_utils.c:
1040 Fix two compiler warnings about possibly uninitialised variables.
1043 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1045 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
1046 plugins/geanyfunctions.h:
1047 Add main_is_realized() to the plugin API.
1048 * tagmanager/include/tm_tagmanager.h:
1049 Update partly outdated and wrong doc comment.
1050 * src/main.c, src/main.h, src/socket.c:
1051 Allow opening Geany projects remotely.
1052 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
1053 Add a hidden pref to allow executing text which was sent to the
1054 terminal directly, i.e. do not strip trailing newline characters.
1055 Also fix the stripping of trailing newline characters if there was
1059 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1061 * src/about.c, THANKS:
1062 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
1063 Kurt de Bree into section of previous translators.
1066 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1068 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
1069 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
1073 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1075 * src/highlighting.c:
1076 Make stylesets take a ft_id argument so they can be reused fully with
1077 custom filetypes, so custom styles and keywords can be set.
1078 * src/highlighting.c:
1079 Fix setting filetype properties when both the system and the user file
1080 have properties set.
1081 * src/symbols.c, tagmanager/vhdl.c:
1083 * src/highlighting.c:
1084 Fix lexer settings for custom filetypes.
1087 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1090 Remove duplicate regular expression for parsing classes.
1091 Fix and improve parsing of constants (patch by Harold Aling, thanks).
1092 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
1093 src/main.h, THANKS, src/about.c:
1094 Add new command line option "--socket-file" to be able to specify
1095 separate socket filenames for instances
1096 (closes #2896027, patch by Jörn Reder, thanks).
1097 * src/keybindings.c, src/keybindings.h:
1098 Add keybindings_check_event() to manually check GdkKeyEvents against
1099 Geany's keybindings.
1100 * src/callbacks.c, src/utils.c, src/utils.h:
1101 Add and use utils_get_help_url().
1102 * geany.glade, src/interface.c, src/prefs.c:
1103 Add a Help button to the preferences dialog.
1104 Handle Help keybinding events for the preferences dialog especially
1105 and open the manual with the corresponding anchor link to the current
1106 preferences page (same goes for the new Help button).
1109 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1111 * src/toolbar.c, src/geanymenubuttonaction.c,
1112 src/geanymenubuttonaction.h:
1113 Use separate tooltips for toolbar menu buttons and their attached
1115 * tagmanager/latex.c:
1116 Improve parsing of sections and chapters by ignoring shortnames
1117 like \section[shortname]{label} (closes #2890477).
1120 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1122 * src/geanymenubuttonaction.c:
1123 Try to fix Gtk warning when using Tools->Reload Configuration.
1126 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1128 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1129 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
1130 data/filetypes.pascal, data/filetypes.docbook,
1131 data/filetypes.python, data/filetypes.conf:
1132 Use filetypes.foo [lexer_properties] group instead of hardcoding
1133 lexer properties (more flexible e.g. for custom filetypes).
1134 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
1135 Replace filetypes.xml html_asp_default_language key with
1136 filetypes.html asp.default.language property in [lexer_properties]
1140 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1142 * doc/geany.txt, doc/geany.html:
1143 Fix slightly wrong description of how to insert Unicode characters.
1145 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
1146 ui_setup_open_button_callback().
1147 * src/prefs.c, src/prefs.c, src/vte.c:
1148 Refactor color and font button callback functions in the
1149 preferences dialog. Move the VTE related callback functions
1151 Make use of ui_setup_open_button_callback().
1153 Improve printing status texts (patch by Dominic Hopf, thanks).
1154 * src/prefs.c, src/vte.c:
1155 Use the default dialog title set by ui_setup_open_button_callback()
1156 to be more consistent and to save one string.
1159 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1162 Separate DKinds from CKinds.
1163 Don't generate macro tags for D, Java.
1166 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1168 * tagmanager/ctags.c, tagmanager/general.h:
1169 Make TagManager Assert statements cause g_warning on failure.
1170 * src/keybindings.c:
1171 Fix reflow paragraph command when cursor < anchor using
1172 sci_fix_selection().
1175 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1177 * tagmanager/perl.c:
1178 Fix Geany segfault with constant tags (#2895168).
1180 Fix invalid tree iter access when using tv_iters.tag_other but not
1181 using tv_iters.tag_variable.
1182 * HACKING, tagmanager/perl.c:
1183 Fix parsing Perl format statements ("other" type doesn't seem to work).
1184 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
1185 Fix using "other" tag type.
1188 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1191 Remove useless comment about applying settings only when libvte.so
1192 could be loaded which is only displayed *if* libvte.so is loaded.
1194 Allow autocompletion for HTML entities even within a word.
1195 * src/geanymenubuttonaction.c:
1196 Only set the menu of the button if a non-empty GtkMenu is passed to
1197 geany_menu_button_action_set_menu() so the menu arrow keeps
1201 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1204 Fix parsing some Java code (e.g. filetypes.java) after r4407.
1207 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1210 Parse D functions with contracts (fixes #1885480).
1211 Parse D alias statement like typedef.
1212 (Ignore some more D keywords).
1214 Fix creating D interface tags properly.
1216 Parse contents of D extern{} and version{} blocks.
1219 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1225 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1227 * src/plugindata.h, HACKING:
1228 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
1231 Show number of files saved on status bar when using Save All.
1232 * src/highlighting.c:
1233 Use default color scheme if pref color scheme file doesn't exist.
1234 * src/keybindings.c:
1235 Fix moving correct lines after selecting whole line(s).
1238 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1240 * tagmanager/makefile.win32:
1241 Fix broken build on Windows because of a typo
1242 (patch by Timothy Boronczyk, thanks).
1245 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1247 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1249 Add 'View->Editor->Color Schemes' menu, for now only shown if color
1250 scheme files exist in a colorschemes config directory. Color scheme
1251 files must end in ".conf" and currently only the [named_styles]
1253 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1254 Add utils_get_config_files().
1255 * src/highlighting.c:
1256 Fix issue with default color not being reset if overridden with a
1257 system default color.
1258 * src/highlighting.c:
1259 Only reload filetype files when changing color scheme, not all
1260 configuration files.
1261 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1262 Deprecate documents_foreach() as it looks more like a function; use
1263 foreach_document() instead.
1264 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1267 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1269 * src/stash.c, src/stash.h:
1270 Use typedef instead of pointer for widget_id function arguments.
1273 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1275 * src/pluginutils.c:
1276 Don't expand Plugin Preferences page spacing vertically to fill the
1277 height of the dialog.
1278 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1279 geany.glade, plugins/splitwindow.c:
1280 Allow GeanyKeyBinding label field to contain underscores, which won't
1281 be displayed by Geany. This saves adding near-duplicate translation
1283 Add mnemonics for 3 Edit->Format menu items.
1284 Add keybindings_get_label().
1285 * src/interface.c, geany.glade:
1286 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1290 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1293 Desensitize Edit->Commands menu item when no docs are open.
1294 * src/interface.c, src/keybindings.c, src/callbacks.c,
1295 src/callbacks.h, geany.glade:
1296 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1297 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1298 Add general function sci_get_string() that works with any string
1299 buffer messages that follow the Windows message convention.
1300 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1301 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1302 src/pluginutils.c, src/pluginutils.h, geany.glade:
1303 Add 'Edit->Plugin Preferences' menu item and keybinding.
1304 Don't include plugindata.h in pluginutils.h because it redefines the
1305 GEANY() macro for plugin use.
1306 * doc/geany.txt, doc/geany.html:
1307 Update for Plugin Preferences keybinding.
1310 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1313 Sort document word completion list.
1314 * src/interface.c, src/keybindings.c, src/callbacks.c,
1315 src/callbacks.h, geany.glade:
1316 Add some useful commands to editor popup menu under "Commands"
1317 submenu (thanks to Lex).
1318 Move 'Duplicate line or selection' from Format -> Commands submenu.
1319 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1320 Enable switching the sidebar to the right on Windows again, as it
1321 apparently works after all.
1323 Fix using tab to autocomplete in some other situations that word part
1324 completion doesn't apply in.
1325 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1326 Add Edit->Commands submenu which is shared with the editor popup menu.
1327 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1328 Change editor popup Commands submenu to start as child of menubar Edit
1329 menu, as this is more usual e.g. for keybindings initialization.
1330 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1332 Share a single Format submenu for menubar Edit and popup menu.
1335 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1338 Fix a compiler warning about an uninitialised variable.
1340 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1341 sciwrappers.h, build.h (for the Waf build system,
1342 accordingly to r4366).
1345 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1347 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1348 src/toolbar.c, src/toolbar.h:
1349 Add missing dox for types/files in the API.
1350 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1351 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1352 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1353 of functions not in the API).
1354 Warning: any plugins that include these headers should remove them.
1355 * src/build.c, src/build.h:
1356 Move function doc-comments to build.c so they stay in sync. Note:
1357 these functions are still not in the API.
1359 Add 'Doc-comments' plugin API subsection.
1360 * plugins/filebrowser.c:
1361 Fix packing configure widgets equally.
1362 Use spacing multiples of 6 as recommended by Gnome HIG.
1363 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1364 Disable switching the sidebar to the right on Windows as it will
1365 probably fail like the Split Window plugin.
1367 Improve 'Detect from file' indentation pref by ignoring lines with
1368 indentation wider than 24 characters as this is more likely to be
1369 alignment than indentation.
1372 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1374 * plugins/saveactions.c:
1375 Fix adding the filetype's default extension when using the
1376 Instant Save plugin (closes #2885142).
1378 Before looking for line and column numbers specified as part
1379 of a filename, ensure the file doesn't exist on disk. This allows
1380 opening of files like "test:0".
1382 Rename "select" variables into "selection" to avoid shadowed names.
1383 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1384 Add ui_widget_modify_font_from_string() and sci_goto_line()
1386 * plugins/filebrowser.c:
1387 Rename "select" variables into "selection" to avoid shadowed names.
1388 Make use of ui_widget_modify_font_from_string().
1391 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1393 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1394 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1396 Add sidebar position interface pref.
1399 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1401 * doc/geany.txt, doc/geany.html:
1402 Add missing underscores to links.
1405 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1407 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1408 Add 'Move line(s) up/down' keybindings.
1411 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1413 * src/build.c, src/build.h, src/filetypes.h:
1414 Include code for project filetype execute commands and fix bug in
1415 saving project filetypes list.
1416 * src/project.c, src/build.c, doc/geany.txt:
1417 Make non-project execute configuration save to filetypes not geany.conf.
1418 Fix closing of project failing to remove build commands dialog entry.
1421 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1423 * src/project.c, src/ui_utils.c:
1424 Set border width for project properties build table.
1425 * geany.glade, src/interface.c:
1426 Don't expand hard tab width alignment.
1429 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1431 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1432 doc/geany.txt, doc/geany.html:
1433 Support loading global tags files for custom filetypes.
1434 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1435 doc/geany.txt, doc/geany.html:
1436 Add 'Word part completion' keybinding so keys other than Tab can be
1437 used, or to clear/change the combination so Tab does full completion
1439 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1440 Add 'Select to previous/next word part' keybindings.
1441 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1442 Add 'Switch to Messages' focus keybinding.
1445 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1447 * doc/geany.txt, doc/geany.html:
1448 Add 'Custom filetypes' section.
1449 * src/filetypes.c, src/filetypes.h, src/document.c,
1450 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1451 tagmanager/include/tm_source_file.h:
1452 Add filetype "tag_parser" key so custom filetypes can use an existing
1454 Add tm_source_file_get_named_lang().
1455 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1457 Add filetype "lexer_filetype" key so custom filetypes can use an
1461 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1463 * THANKS, src/about.c:
1464 Add Xhacker Liu for his work at zh_CN translation to long list of
1468 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1470 * src/sciwrappers.c:
1471 Remove unnecessary line number margin padding.
1472 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1473 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1475 Improve word part autocompletion so AC list is not cancelled and
1476 reshown (this also stops the selection changing).
1477 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1479 Improve CamelCase word part autocompletion for runs of capital letters.
1481 Don't complete snippets if there's a selection.
1484 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1487 Fix crash opening project when Geany started with no geany.conf.
1490 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1492 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1493 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1495 Add word part autocompletion for the current selected item when
1496 pressing Tab - Enter still completes normally.
1497 Add foreach_str() API macro.
1498 Temporarily modify scintilla to say if tab was used for
1500 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1501 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1502 plugins/classbuilder.c:
1503 Revert r4301 - utils_free_pointers() taking 4 arguments.
1504 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1505 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1506 plugins/splitwindow.c:
1507 Add highlighting_set_styles() to API, use for Split Window plugin so
1508 filetypes.common settings get set too.
1509 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1511 * src/document.c, src/editor.c, plugins/splitwindow.c:
1512 Call editor_apply_update_prefs() from editor_create_widget() so
1513 correct tab width and other settings are applied for Split Window
1517 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1519 * src/keybindings.c:
1520 Don't include trailing newlines when using reflow command.
1522 Add stock close buttons to notebook tab popup menu.
1523 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1524 plugins/geanyfunctions.h:
1525 Add document_get_notebook_page() to API.
1527 * data/templates/files/file.html, data/templates/files/file.php:
1528 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1529 * src/interface.c, src/ui_utils.c, geany.glade:
1530 Move Tools configuration items to top of menu.
1531 * src/keybindings.c, src/search.c:
1532 Fix warning when using Find in Files with no documents open; make
1533 keybinding work in this case.
1536 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1538 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1539 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1540 Make Split Window 'Show current document' button have a drop-down menu
1541 to select the other documents.
1542 Add new API function ui_menu_add_document_items().
1545 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1548 Fix sensitivity settings for compile and build toolbar items.
1551 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1554 Don't use filetype submenus for templates (slower to navigate, often
1555 only 1 per-filetype anyway).
1557 Put old filetype template menu items in 'Old' submenu as they should
1558 be removed after the 0.19 release.
1559 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1560 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1561 to be ignored if inappropriate so a later keybinding with the same
1562 key combination can intercept it. (Also group callbacks are usually
1563 tidier than separate callbacks).
1564 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1565 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1566 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1567 plugins/classbuilder.c:
1568 Make utils_free_pointers() take 4 arguments, add to API.
1569 * src/templates.c, src/tools.c, src/ui_utils.c:
1570 Fix memory leaks with gtk_container_get_children().
1573 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1576 Ensure that old style build config is not loaded if it does not exist.
1579 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1581 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1582 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1585 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1587 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1589 Apply set default encoding for existing files only if the files are
1590 non-Unicode (patch by Alexey Antipov, thanks).
1593 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1595 * src/highlighting.c:
1596 Move new_styleset() and preprocessor setup code into styleset_c_like().
1597 * src/highlighting.c:
1598 Call apply_filetype_properties() from styleset_c_like().
1601 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1603 * doc/geany.txt, doc/geany.html:
1604 Improve information about predefined keybindings which are
1605 commonly used across applications (patch by Lex Trotman, thanks).
1607 Enable embedded page setup properties in the (Unix) Print dialog
1608 on newer GTK versions (closes #2870596).
1609 * src/highlighting.c:
1610 Map global types (read from tags files) to keyword style for
1614 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1617 Fix wrong creation of filetype template menu items for custom
1619 * src/highlighting.c:
1620 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1622 Group 'New with template' items by filetype submenu (currently only for
1624 Show custom file template items before filetype template items.
1625 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1627 Only use one 'New with template' submenu - reparent as needed.
1629 Don't create templates/filetype.none either.
1631 Warn if custom template file no longer exists.
1634 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1637 Add missing icon for Java packages in the Symbol List.
1640 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1642 * src/highlighting.c, data/filetypes.vala:
1643 Add Vala keywords to conf file.
1644 * src/templates.c, doc/geany.txt, doc/geany.html:
1645 Read custom file templates from $prefix/share/geany/templates/files as
1647 * src/templates.c, data/templates, data/templates/files,
1648 data/templates/files/file.rb, data/templates/files/file.html,
1649 data/templates/files/main.java, data/templates/files/main.c,
1650 data/templates/files/main.cxx, data/templates/files/file.php,
1651 data/templates/files/main.d, data/templates/files/program.pas,
1652 data/templates/files/main.py, data/templates/files/file.tex,
1653 wscript, Makefile.am:
1654 Move filetype template defaults into custom file template files.
1657 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1659 * src/symbols.c, tagmanager/perl.c:
1660 Change Perl tag parser to ctags SVN r601. This removes support for
1661 buggy local/my/our but it parses constant/format/labels and should
1662 be less buggy overall (closes #2861232).
1663 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1664 Add utils_get_file_list_full() which can optionally sort or include
1665 a full path for each list item.
1666 * src/utils.c, src/plugindata.h, src/plugins.c:
1667 Add utils_get_file_list_full() to API.
1670 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1672 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1673 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1674 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1675 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1676 po/POTFILES.in, wscript:
1677 Rename treeviews.[hc] -> sidebar.[hc].
1678 * data/filetypes.common:
1679 Remove unused [styling] arguments.
1680 * src/highlighting.c, data/filetypes.markdown,
1681 data/filetypes.restructuredtext:
1682 Remove style defaults from the code - just read them from
1683 configuration files.
1684 * src/highlighting.c, HACKING:
1685 Add apply_style_entries() to simplify implementing styleset_foo().
1686 * src/highlighting.c:
1687 Remove filetype keyword defaults from the code - just read them from
1688 configuration files.
1689 * src/highlighting.c:
1690 Add sci_set_keywords() wrapper.
1693 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1695 * scripts/create_py_tags.py:
1696 Make the code a bit more pythonic.
1697 * doc/images/build_menu_commands_dialog.png,
1698 doc/images/main_window.png:
1699 Add new images referenced in the documentation.
1700 * doc/geany.html, doc/geany.txt:
1701 Several documentation improvements (patch by Lex Trotman, thanks).
1702 * src/pluginutils.c:
1703 Fix setting the appropriate page of the combined plugins
1707 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1709 * src/keybindings.c:
1710 Only focus toolbar goto line entry when pressing keybinding if it's
1711 visible (patch by Eugene Arshinov, thanks).
1713 Focus editor after entering a number in the goto line toolbar entry.
1715 Use AC_PATH_PROG instead of which for portability (patch by Erik
1716 Southworth, thanks).
1718 Show plugins that only implement plugin_configure_single() in the
1719 multiple-configure dialog as a page with a configure button on it.
1720 Add padding for multiple-configure dialog.
1721 Make the multiple-configure dialog notebook tabs scrollable.
1722 * src/pluginutils.c, src/pluginutils.h:
1723 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1724 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1725 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1726 plugins/geanyfunctions.h, plugins/filebrowser.c:
1727 Add plugin_show_configure() API utility function.
1728 Add File Browser popup menu 'Preferences' item.
1729 * src/highlighting.c:
1730 Add get_keyfile_ints() instead of using tmp_style hack.
1731 * src/highlighting.c, data/filetypes.xml:
1732 Change new html_asp_default_language markup pref to use integer,
1733 not hex in config file.
1734 Fix minor issue with changing pref back to 0.
1735 * src/highlighting.c:
1736 Fix possible segfault in get_keyfile_int() if key value is malformed.
1739 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1741 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1742 Add "html_asp_default_language" pseudo style to filetypes.xml
1743 to allow setting the used language in embedded ASP code
1744 (patch by Ross McKay, thanks).
1745 * src/filetypes.xml:
1746 Update VBScript keywords (patch by Ross McKay, thanks).
1749 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1751 * src/keybindings.c, THANKS:
1752 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1753 keybinding use line breaking column when enabled.
1755 Fix showing the document before reload dialog when opening an
1757 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1758 Add plugin_configure_single() plugin symbol which is easier to
1759 implement than plugin_configure() but won't support a
1760 multiple-plugin configure dialog.
1762 Show multiple plugins in the 'Configure Plugins' dialog.
1765 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1767 * doc/geany.txt, doc/geany.html:
1768 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1770 * doc/geany.txt, doc/geany.html:
1771 Add 'Toolbar entries' section.
1772 * doc/geany.txt, doc/geany.html:
1773 Update 'Go to line' keybinding description.
1774 * doc/geany.txt, doc/geany.html:
1775 Split keybinding table into group tables; update KB links.
1778 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1781 Fix compiler warnings about uninitialised variables.
1782 * src/callbacks.c, src/document.c:
1783 When reloading files, use the previously set encoding instead of
1784 detecting it again (closes #2862041).
1786 Turn on automake silent rules if supported.
1789 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1792 Speed up sorting in utils_get_file_list(). This reduces the file
1793 browser delay on displaying a big directory, e.g. /usr/bin.
1795 Expand command entry width when expanding Build Commands dialog.
1797 Split Build Commands dialog notes label and edit text.
1799 Add padding for Build Commands dialog separators.
1800 Add colons for regex field labels; fix 1 capitalisation.
1802 Fix none filetype Build Commands dialog label.
1803 Make group labels bold.
1804 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1806 Add & use ui_label_set_markup(), ui_label_new_bold().
1807 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1808 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1809 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1810 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1811 * src/keybindings.c:
1812 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1815 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1817 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1818 tagmanager/parsers.h, tagmanager/makefile.win32,
1819 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1820 data/filetype_extensions.conf, wscript:
1821 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1823 Merge recent changes from the CTags project to further improve
1827 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1830 Fix wrong alignment of printed pages when page headers are
1831 disabled (closes #2856822).
1832 Plug a small memory leak and improve function signature of
1835 Save an if expression.
1837 After clearing a text field using the embedded clear icon, put the
1838 input focus into this text field.
1841 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1843 * plugins/filebrowser.c:
1844 Free file list memory whilst iterating the list.
1845 Minor formatting fixes.
1846 * src/utils.c, src/utils.h:
1847 Add foreach_dir() API macro.
1848 Update API docs for utils_get_file_list().
1849 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1851 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1852 Beep if there are no more snippet positions.
1853 Limit length of snippet positions queue to 20.
1856 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1858 * src/keybindings.c, src/callbacks.c, src/search.c:
1859 Make Goto Tag commands use the current selection if present (useful
1860 for selecting part of a tag or for ReST section names with spaces
1863 Don't move the cursor when reloading.
1864 * src/plugindata.h, src/editor.c, src/editor.h:
1865 Make editor_prefs.snippets hash table private (not a pref).
1868 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1871 Remove deprecated --debug flag. Please use --verbose/-v instead.
1874 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1877 Show Find in Files stderr output in messages window instead of
1878 debug window so that invalid regex messages can be seen easily.
1879 Combine FIF stdout and stderr callback code.
1882 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1885 Fix opening filenames beginning with two dots (closes #2858487).
1886 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1887 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1888 data/filetypes.common, geany.glade:
1889 Update syntax highlighting after changing the 'Invert syntax
1890 highlighting colors' pref, instead of requiring a restart.
1891 Remove filetypes.common invert_all option - use 'Invert syntax
1892 highlighting colors' pref instead (closes #2854525).
1893 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1894 Add 'Allow' button when showing the conflicting keybinding dialog.
1895 Make dialogs_show_question_full() use GTK dialog on Windows if
1896 button text is not the stock yes/no items.
1897 Add dialogs_show_prompt() which also has an 'Apply' button.
1898 * src/queue.c, src/queue.h:
1899 Add warning that GeanyQueue may be removed.
1900 * src/keybindings.c, src/editor.c, src/editor.h:
1901 Change snippet_goto_next_cursor() to
1902 editor_goto_next_snippet_cursor() as it's in editor.h.
1903 Avoid using GPOINTER_TO_INT macro.
1906 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1908 * src/keybindings.c:
1909 Fix 'Reflow block' command when at the last paragraph and there's
1910 no last newline (patch by Eugene Arshinov, thanks).
1912 Add 'Compiler options & warnings' section.
1913 Update Style section to be clearer about code alignment and show
1918 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1920 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1921 src/plugindata.h, src/plugins.c, src/editor.c,
1922 plugins/geanyfunctions.h:
1923 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1924 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1926 Add sci_toggle_marker_at_line().
1927 Fix SciFuncs alignment.
1930 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1933 Fix erroneous free of returned string in prepare_run_script.
1936 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1938 * data/filetypes.latex:
1939 Changing default value for showing pdf and dvi to ensure to take
1940 *.pdf and *.dvi file.
1943 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1945 * src/about.c, THANKS:
1946 Change language string for Slovenian translation.
1949 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1951 * tagmanager/txt2tags.c:
1952 Fix multi-byte character constant comparison.
1954 Fix Gtk warning when trying to update documents popup menu item
1955 sensitivity before they exist.
1958 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1961 Improve the opening string in the plugin manager dialog.
1963 Use "max-width" to set the document width of the generated
1964 HTML documentation to let the text be auto-wrapped.
1965 * src/prefs.c, src/tagmanager/include/guregex.h,
1966 src/tagmanager/include/tm_tagmanager.h:
1967 Remove trailing spaces (patch by André Hentschel, thanks).
1969 Fix a compiler warning.
1971 Fix crash when opening documents.
1972 * src/build.c, src/build.h, src/project.c:
1973 Adjust coding style (no code changes).
1974 * src/build.c, src/project.c:
1975 Use NZV() macro instead of strlen() to check for empty strings.
1976 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1977 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1978 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1979 src/plugins.c, THANKS:
1980 Add new plugin signal: "document-before-save".
1981 Add get_line_end_position(), set_target_start(), set_target_end(),
1982 replace_target() to the plugin API
1983 (patch by Eugene Arshinov, thanks).
1984 Add new plugin signal: "document-filetype-set" (closes #2852286).
1985 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1986 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1987 tagmanager/Makefile.am, tagmanager/makefile.win32,
1988 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1990 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1993 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1995 * src/treeviews.c, src/document.c:
1996 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1997 Use gtk_notebook_set_current_page() instead of
1998 document_open_file_full() when choosing an item from the documents
2000 Avoid using goto in document_open_file_full().
2003 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2005 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2006 Enable type-ahead find for sidebar symbols and documents tabs
2007 (patch by Thomas Martitz, thanks).
2009 Fix 2 free's of possibly uninitialized pointers.
2012 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
2014 * src/build.c, src/filetypes.h, src/filetypes.c
2015 Only write filetype config files when build command or regex is
2016 actually changed. Removed commented code in src/filetypes.c.
2018 Ensure uses of filename are protected against nulls when running
2019 a build command and give status message if not.
2022 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2025 Remove plugin from plugin manager dialog on unloading if it no
2026 longer exists or is incompatible.
2029 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2032 Add warning if only one of the plugin_key_group[_info] symbols is
2033 defined for a plugin.
2034 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
2035 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
2037 Merge custom-filetypes branch:
2038 Support adding custom filetype files e.g. filetypes.Foo.conf.
2040 Allow GeanyFiletype::extension to be NULL.
2041 Add note about using GeanyFiletype pointer instead of filetype_id
2042 for filetypes.c function arguments.
2043 Replace styleset_none() with styleset_default().
2046 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2049 Show the sidebar if either the documents or the symbols list are
2050 enabled (related to #1876107).
2053 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2055 * src/build.c, src/filetypes.c:
2056 Fix compiler warnings.
2058 Fix removing leading double slashes in filenames which are used for
2059 network resources on Windows (closes #2844085).
2062 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2064 * src/keybindings.c:
2065 Fix Make keybindings (patch by Lex Trotman, thanks).
2067 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
2069 Mention Files link at top for header files; demoplugin.c.
2070 Minor edits; remove 'far from being complete'.
2071 * src/keyfile.c, src/keyfile.h, src/main.c,
2072 data/filetype_extensions.conf, HACKING:
2073 Remove --generate-data-files argument & code - just edit
2074 filetype_extensions.conf by hand (filetype order was broken
2076 Add *.H extension for C++ (useful for non-Windows systems).
2079 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
2082 Fix implementation of loading old project files with base
2083 directories. Use project_make_base_path instead of re-
2084 implementing. Now depends on project.c reading base dir
2085 prior to calling load_build_menu.
2087 Change usage of project base directory to conform with
2088 previous documented behavior when loading old project files.
2090 Change make custom and make object to ignore make in base path
2091 when reading old project file settings. Changed some indent
2092 spaces to tabs. Fix missing compile menu accelerator.
2095 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2098 Add warning about not using undocumented features.
2099 Add reference to HACKING for plugin API development.
2101 Add section 'Plugin API/ABI design'.
2102 * src/keybindings.h, src/makefile.win32, src/project.h,
2103 src/filetypes.h, src/Makefile.am, wscript:
2104 Use GEANY_PRIVATE to hide some fields from plugins.
2106 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
2107 * src/build.c, src/build.h, src/project.c:
2108 Use build_ prefix for 3 functions in build.h; add a static modifier.
2111 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2114 Improve parsing of PHP functions by requiring a valid modifier or
2115 whitespace before the 'function' keyword to ignore some false
2116 positives like function tags inside comments
2117 (patch by Harold Aling, thanks).
2118 * tagmanager/python.c:
2119 Don't parse comments after import statements and other tags
2120 (closes #2838938, patch by Huandari Lopez, thanks).
2123 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2125 * data/filetypes.markdown:
2126 Add filetypes.markdown for configuration (thanks to Jon Strait).
2127 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
2128 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2129 plugins/geanyfunctions.h:
2130 Remove GeanyKeyGroup struct from the API - plugins should not set
2132 Make keybindings_set_item() duplicate the name and label fields
2133 (needed by GeanyLua) and return a keybinding pointer.
2134 Add keybindings_get_item() to the API (in case it's useful).
2135 Move some keybinding code out of plugin source files.
2138 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2140 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
2141 Don't generate build.h API docs until everything is approved and
2142 functions are actually in geany_functions.
2143 Move new GeanyFiletype and GeanyProject field(s) to end of struct
2144 as they may be changed or made private later.
2145 Break ABI for fields removed.
2148 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
2150 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
2151 src/keyfile.c, src/project.c
2152 Changed names of symbols visible in build API to GEANY_xxx.
2155 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
2157 * src/project.h, src/project.c, src/build.c
2158 Remove make_in_base_dir and run_cmd fields from project structure.
2159 Replaced by build functionality. Remove incorrect use in src/build.c
2160 build_run_cmd function.
2163 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2165 * src/project.h, src/project.c
2166 Removed unused project_get_make_dir function, this is now per
2170 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2172 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
2173 Fix some more warnings.
2174 Fix commented out execute/stop toolbar code in build.c.
2175 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
2176 Changed build.h api so all functions prefixed with build_.
2179 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2181 * src/build.c, src/build.h, src/project.c:
2182 Fix some gcc warnings with '-Wall -W -ansi' enabled.
2185 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
2188 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
2189 when reading old format configuration & project files.
2190 * src/build.c, src/project.c
2191 Fixed GLib array assertion warnings when no project filetypes are
2192 available to be saved.
2194 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
2200 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
2202 * src/build.h, src/build.c, src/project.c
2203 Created and documented plugins interface to build menu.
2204 Factored out new get_cmd_group function.
2205 Changed name of remove_command function to be consistent with the rest
2206 of the interface & changed calls in project.c.
2207 * src/Makefile.am, wscript
2208 Added build.h to installed files lists.
2210 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
2213 Updated manual to match build-menu capability.
2216 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
2218 * src/build.c, src/build.h
2219 Added set_build_non_ft_wd_to_proj() for use by project dialog.
2220 Improved interpretation of run_in_base_dir from old [build-settings]
2221 Added spacing to build commands dialog
2223 Removed run in base path option from project dialog and added button to
2224 set working directories to d the same.
2227 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
2230 Re-incorporated toolbar changes in trunk accidently excluded in merge
2232 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2235 Fixed substitute %f etc in commands
2236 Fixed potential leak in build_replace_placeholder
2237 Fixed leak in prepare_run_script (Thanks for patch Thomas)
2238 Fixed build_replace_placeholder to not require document.
2240 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2242 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
2243 Fixed crash and lots of warnings, deleted some commented out code.
2244 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
2245 Removed make command from preferences and associated code
2247 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
2249 * src/build.c, src/build.h
2250 Incorporated patch for working directory field (thanks Thomas)
2251 Removed run_in_base_dir option and associated code that it replaces
2252 Improved handling of old config files and mapping to new ones.
2254 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
2256 * src/build.h, src/build.c
2257 Changed to itterate over entries in build commands dialog to allow
2258 additional fields to be added
2259 Implement support for multiple run commands
2260 * data/filetypes.latex
2261 Implement configured commands and labels for latex.
2264 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2266 * src/build.h, src/build.c
2267 added dialog support for error regular expressions from multiple sources
2268 and storing and loading them
2269 fixed some typos and memory leaks
2270 * src/filetypes.c, src/filetypes.h, project.c
2271 added support for using error regexes from multiple sources
2274 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2276 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2278 Removal of build menu item source made redundant by the following fix
2280 Corrected priority oreder and loading of filetype dependent build
2281 menu items saved in the project file. Added print routine for
2282 debugging command sources and priorities set compile symbol
2283 PRINTBUILDCMDS true to enable
2285 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2288 fixed problem loading old format filetype files, some formatting fixes
2289 fixed saving new format files
2290 added operation for clear button on build commands dialog
2292 fixed loading and saving filetype files
2295 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2297 Configurable Build Menu Changes
2299 * doc/geany.html, doc/geany.txt:
2300 Updated build menu section to new functionality
2301 * src/build.h, src/build.c:
2302 Largly re-written, configurability added, Latex code removed
2303 * src/filetypes.h, src/filetypes.c:
2304 Filetype structure updated to add new command pointers, configuration
2305 load and store changed
2306 * src/keybindings.h, src/keybindings.c:
2307 Changed to address new command storage structure.
2309 Changed to load/store new configuration.
2311 Minor change to initialisation order.
2313 Changed to address new menu item storage structure.
2314 * src/project.h, src/project.c:
2315 Changed to load/store the new configuration info.
2317 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2319 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2320 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2321 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2322 plugins/splitwindow.c:
2323 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2324 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2325 the ABI when adding fields to them.
2326 Add plugin_set_key_group() for plugins to dynamically set a
2327 keybinding group (e.g. for the Lua script plugin). Used in Split
2328 Window plugin as an example.
2329 Improve keybinding docs a little.
2332 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2334 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2335 Add geanyfunctions.h to API docs.
2336 * plugins/splitwindow.c:
2337 Set the cursor color for the split window.
2340 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2343 Fix 'Open Selected File' for unsaved new documents.
2344 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2345 Fix updating main menu accelerators after changing keybindings
2346 (thanks to Lex Trotman).
2348 Fix using 'Insert date' keybinding when a custom date string has
2350 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2351 Merge Plugin and GeanyPluginPrivate structs.
2354 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2356 * src/keybindings.c:
2357 Fix non-working Home and End keys on numpads.
2360 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2362 * doc/geany.txt, doc/geany.html, NEWS:
2363 Add 'Scope autocompletion' section.
2364 Add 'Tools menu items' section to explain configuration files
2365 submenu, reload configuration item.
2366 Minor updates/fixes.
2369 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2372 Add a translation hint to an ambiguous format string.
2374 Add missing include path to fix 'make distcheck'.
2376 Fix opening of local files in the browser on Windows.
2377 * New release: Geany 0.18 "Kaine".
2378 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2379 src/geany.h, doc/geany.html, doc/geany.txt:
2380 Post-release version bump.
2383 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2386 Temporarily disable reshowing calltips when the autocompletion
2387 list was closed implicitly by not choosing an item to fix
2388 problems with wrongly displayed calltips.
2390 Add missing 'coding' cookie to the Python filetype template.
2391 * doc/images/pref_dialog_edit_completions.png,
2392 doc/images/pref_dialog_toolbar.png:
2393 Update images for Geany 0.18.
2396 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2399 Add command '--hackingdoc' to create the HTML form of the
2403 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2405 * po/pt_PT.po, po/LINGUAS:
2406 Added a first Portugese (Portugal) translation based on work done at
2407 launchpad by e.g. André Glória and Alexandre Jesus.
2408 * src/main.c: Fix a minor typo on --help call.
2411 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2413 * src/highlighting.c:
2414 Call get_keyfile_wordchars() in highlighting_init_styles().
2417 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2419 * data/filetypes.ada:
2421 * src/keybindings.c:
2422 Switching notebook tabs now works for the currently used notebook
2423 widget instead of always using the documents notebook.
2424 * src/document.c, src/document.h, src/documentprivate.h,
2426 Small corrections to some API docs.
2429 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2431 * src/build.c, src/win32.h, src/win32.c:
2432 Expand system environment variables (%variableName%) on Windows when
2433 running Build commands.
2436 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2438 * src/keybindings.c:
2439 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2440 future using an indent block is more useful e.g. for ChangeLog
2442 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2443 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2444 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2445 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2446 tagmanager/parsers.h, tagmanager/makefile.win32,
2447 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2448 Add Markdown filetype (patch by Jon Strait, thanks).
2449 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2450 Fix disconnecting plugin signal id when not using geany_object.
2452 Add filetype_make_title() instead of using:
2453 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2454 It also supports "%s file" strings.
2457 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2459 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2460 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2461 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2462 plugins/filebrowser.c:
2463 Add plugin_signal_connect() for connecting plugin signals at
2464 runtime and also for connecting to any GObject signal.
2465 Add 'Plugin Utility Functions' on main page.
2466 Add foreach_array() macro.
2467 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2468 src/document.c, src/editor.c:
2469 Rename 3 sci functions to sci_set_target_start(),
2470 sci_set_target_end(), sci_replace_target() to match the SCI_
2474 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2476 * wscript: Fix compiling error with waf.
2479 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2481 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2482 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2483 src/Makefile.am, wscript:
2484 Move plugin_* utility functions to pluginutils.c.
2485 Add pluginprivate.h.
2487 Fix reshowing calltip in the wrong document.
2490 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2492 * doc/geany.txt, doc/geany.html:
2493 Add some general information about auto-completion capabilities
2494 (patch by Lex Trotman, thanks).
2497 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2499 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2500 Added a first Slovenian translation. Thanks to Joze Klepec.
2503 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2505 * src/highlighting.c:
2506 Use full styleset_foo[_init] function name as argument to
2507 init_styleset_case() and styleset_case() macros so it's easier to
2508 understand the code.
2509 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2510 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2511 doc/geany.txt, doc/geany.html:
2512 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2513 Heavily based on a patch by Eugene Arshinov (thanks).
2514 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2515 editor_strip_line_trailing_spaces().
2518 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2521 Attempt to fix reshowing calltips after the autocompletion list
2523 Reshow calltips also when the autocompletion list was closed
2524 implicitly by not choosing an item.
2526 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2528 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2529 plugins/splitwindow.c:
2530 Change utils_str_remove_chars() to work in place; fix allocating on
2531 the stack (the string length could exhaust the stack size).
2532 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2533 src/printing.c, src/callbacks.c:
2534 Rename utils_str_replace() utils_str_replace_all(), setting a
2535 'gchar **haystack' argument instead of returning a new string.
2537 For the Tabs indent type, remove spaces when unindenting (only) if
2538 there are no tabs on the line.
2539 Group undo actions for (un)indenting of multiple lines.
2540 * src/document.c, src/editor.c:
2541 Fix scrolling horizontally after finding a search match with the
2542 search bar or Find Next/Previous which is off-screen.
2543 * src/keybindings.c:
2544 Fix GLib warning when pressing a key with no documents open.
2547 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2550 Start unifying usage of @a and @c markup elements in API docs,
2552 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2553 Show/hide the toolbar without a restart when the setting in the
2554 preferences dialog is changed (closes #2824785).
2555 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2556 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2557 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2559 Continue unifying usage of @a and @c markup elements in API docs.
2562 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2565 Remove relative/untidy path elements when creating new documents
2566 with a filename (e.g. from the command-line) (#2823998).
2569 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2572 Disable 'Recent Projects' menu item if the list of recent projects
2575 Fix some harmless compiler warnings.
2576 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2577 src/plugins.c, src/utils.c, src/utils.h:
2578 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2579 src/utils.c and add it to the plugin API.
2580 Make utils_str_remove_chars() work on a new copy of the input string
2581 instead of modifying it in place.
2583 Remove underscores from the toolbar items labels.
2586 * plugins/splitwindow.c:
2587 Fix broken 'Show the current document' tool button icon.
2590 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2592 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2594 Add stash_group_add_widget_property() so we can save any widget's
2595 read/write properties.
2596 Use Stash for ui_prefs.sidebar_page setting.
2597 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2598 Make foreach_ptr_array() use an integer argument for its
2599 implementation, as this is more useful potentially than a gpointer*
2600 argument, and more straightforward.
2601 Add foreach_c_array(), foreach_ptr_array() to API.
2602 * src/utils.c, src/utils.h, src/document.c:
2603 Remove relative/untidy path elements when opening documents (closes
2606 Fix showing project name for documents list files with no
2607 subdirectory (oops).
2609 Fix checking whether to overwrite when using the Rename button in
2610 the 'Save As' dialog.
2613 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2616 Don't use the main window as parent for dialog boxes if it is not
2618 Set titles for message dialogs.
2621 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2624 Display item labels instead of raw names in the toolbar editor.
2625 Apply changes in the toolbar editor instantly.
2626 Show icons in the toolbar editor.
2627 Speed up toolbar editor dialog creation.
2629 Improve inserting of comment templates like File header or licence
2630 notices. The comment information are now read from the filetype
2631 configuration files.
2633 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2636 Enable file monitoring for files which are written to disk by Geany
2639 Fix broken special case handling when detecting filetypes from a
2640 shebang or other special file headers.
2643 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2646 Make Mark All keybinding clear search highlighting when there's no
2649 Fix wrong match length when using Mark with regex.
2650 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2651 src/keyfile.c, src/main.c:
2652 Add 'Show Paths' documents list popup item.
2653 Add "load_settings" core-only signal emitted just after loading
2654 main keyfile settings; useful to delay building UI elements until
2655 settings have been read.
2657 Fix GTK warning when right-clicking on default tag tree.
2658 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2659 Add treeviews_finalize().
2660 Remove tv.popup_openfiles field.
2663 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2665 * src/highlighting.c:
2666 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2669 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2672 Quote the uri before passing it to the browser when opening a
2673 website (closes #2818635).
2675 Fix broken 'builtin' Run command for HTML files on Windows.
2678 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2681 Properly fix wrong brace highlighting of non-brace character.
2683 Allow autocompletion in Perl double-quoted strings.
2684 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2685 Don't autocomplete in Perl q() strings.
2686 * data/filetypes.common:
2687 Make Mark highlighting brighter.
2688 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2689 Use hyphen for auto-feature terms.
2690 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2691 src/document.h, src/main.c:
2692 Add documents_foreach() API macro that skips invalid docs.
2693 Make filetypes[], documents[] part of the API again.
2694 Add GEANY() macro for sharing geany symbols between API and core.
2695 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2696 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2697 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2698 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2699 plugins/classbuilder.c, wscript:
2700 Add geanyplugin.h single include for plugin API; update all core
2702 Add sci_set_font() to API.
2703 Update plugin howto.
2704 * src/filetypes.c, src/filetypes.h:
2705 Remove filetypes_foreach_named().
2708 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2710 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2711 src/document.h, src/main.c, THANKS:
2712 Apply patch from Eugene Arshinov to reload color schemes via menu
2715 Reload filetypes.common after saving it.
2717 Improve wrong brace highlighting of non-brace character.
2720 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2723 Delay highlighting matching braces by 100ms, which speeds up
2724 scrolling with the arrow keys.
2725 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2726 Add 'Mark All' keybinding.
2727 * tagmanager/diff.c:
2728 Show relative paths in diff filename tags.
2731 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2733 * src/highlighting.c:
2734 Fix setting keyword list 'classes' for Haxe
2735 (pointed out by Andreas Mokros, thanks).
2738 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2740 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2741 doc/geany.txt, doc/geany.html, geany.glade:
2742 Add 'Drop rest of word on completion' pref.
2743 * src/editor.c, doc/geany.txt, doc/geany.html:
2744 If autocompletion is already visible when forcing completion, show
2745 document word completion instead of tag completion.
2746 Docs: Minor edits of related prefs items.
2747 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2748 Add warning when printing and editor font is not monospaced.
2749 Fix using GtkMessageType instead of gint param for
2750 dialogs_show_msgbox*().
2751 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2753 Support 'tab indents, space aligns' style for auto-indentation
2757 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2759 * src/document.c, src/documentprivate.h:
2760 Rework the GIO based file monitoring code. Now it is used only
2761 to indicate a possible change of the file, the real check if the
2762 file has been changed is performed by stat().
2763 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2764 Add style 'line_height' to increase the line height.
2765 Add style 'marker_mark' and change style 'marker_search' to
2766 define the style used for marked search results.
2767 * doc/geany.txt, doc/geany.html:
2768 Add the new 'Autocomplete all words in document' pref to the docs.
2771 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2773 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2774 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2775 Add 'Autocomplete all words in document' pref.
2776 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2778 Fix limiting number of word completion entries too much.
2779 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2780 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2781 Show autocompletion icons for tag symbols - for now only tags with
2782 an arglist have the 'function/method' icon, all others have the
2784 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2786 * src/highlighting.c:
2787 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2791 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2793 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2794 Fix removing underscores in translated string using no_underscore()
2796 Set a tooltip for the Split Window plugin's Show Current tool button.
2797 Add utils_strdupa() macro.
2798 * src/interface.c, geany.glade:
2799 Use stock Select All icon now we have >= GTK 2.8.
2801 Fix using project name for document items that start with the
2802 project base path but don't match it e.g. ".../geany-plugins"
2803 instead of ".../geany" when project name is 'geany'.
2806 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2809 Fix warnings when the toolbar does not contain the Run button.
2811 Fix wrong parsing of complex expressions in the Lua parser.
2812 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2814 Remove unnecessary enums.
2815 * scintilla/*, scintilla/include/*, src/plugindata.h:
2816 Update Scintilla to version 1.79.
2817 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2819 Use the new Scintilla struct names prefixed with 'Sci_'.
2820 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2822 Add second argument to the 'line_wrap_indent' styling setting to
2823 control the new Scintilla indentation mode for wrapped lines.
2825 Properly close the toolbar editor on delete-events.
2826 Fix warnings and possible crashes in the toolbar editor when the list
2827 of displayed toolbar items is empty.
2828 * data/filetypes.tcl:
2829 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2831 Make the plugin manager dialog a bit bigger.
2834 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2836 * doc/geany.html, doc/geany.txt:
2837 Fix wrong default values for the 'Show Calltip' keybinding.
2840 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2842 * data/filetypes.tcl, src/symbols.c:
2843 Fix duplicate "context_action_cmd" key.
2844 Use different icons for "Methods" and "Procedures" in the symbol
2847 Fix a small memory leak.
2848 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2849 src/keybindings.h, src/plugindata.h:
2850 Make the Scintilla keybindings 'Delete to end of line' and
2851 'Go to end of display line' configurable.
2853 Fix a typo (closes #2813624).
2856 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2858 * tagmanager/tcl.c, src/symbol.c:
2859 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2860 methods and namespaces).
2861 Patch by Witek Mozga, thanks.
2864 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2866 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2867 src/toolbar.c, src/toolbar.h:
2868 Remove ui_toolbar.xml Configuration Files menu item.
2869 Add a real toolbar editor dialog.
2870 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2872 Add a button in the preferences dialog and an item for the toolbar
2873 popup menu to run the toolbar editor dialog.
2876 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2879 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2880 Fix using locale encoding for default Save As dialog path.
2882 Beep when trying to activate the '...' autocompletion item.
2883 Limit (forced) document word completion to
2884 autocompletion_max_entries.
2885 Beep if no completions are shown when forcing autocompletion.
2888 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2890 * data/ui_toolbar.xml, src/toolbar.c:
2891 Add 'Build' toolbar button to the default layout.
2894 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2897 If forcing autocompletion and there's nothing else to show, complete
2898 from words in the current document (using code from Enrico's
2899 'AutoComplete Test' plugin).
2902 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2905 Add debug message if plugin has not set a name for its keybinding
2907 * data/filetype_extensions.conf:
2908 Add *.m4 for shell scripts.
2911 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2913 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2914 data/filetypes.common, TODO:
2915 Make filetypes.common named styles use the "default" named style for
2916 all missing style fields.
2917 Set named styles to usually leave the background style empty. This
2918 currently allows C-like filetypes to have a common default
2920 Allow hard-coded colors to use -1 for the default color.
2921 Add some highlighting style examples to the manual.
2924 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2927 Create initial template files with proper platform-specific line
2931 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2933 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2934 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2935 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2936 src/ui_utils.c, src/ui_utils.h:
2937 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2939 Refactor some related code.
2940 * tagmanager/conf.c:
2941 Strip trailing spaces from "Key" tags.
2943 Quote the full filename to the Geany executable when creating the
2944 "Open with Geany" context menu item.
2945 * plugins/splitwindow.c:
2946 Avoid using deprecated GTK API.
2947 * src/log.c, src/main.c:
2948 Properly clean up the logging mechanism.
2950 Fix LaTeX view commands on Windows (part of #2807688).
2952 Add a popup menu for the keybinding list in the preferences dialog
2953 to easily expand and collapse all groups.
2954 Refactor the keybindings code for the preferences dialog, prefix all
2956 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2957 Init stock items before creating the toolbar (closes #2809324).
2959 Generate the geany.pc file also on Windows.
2961 Invert the logic to determine which Save All we want to use:
2962 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2963 like icon for any other themes.
2966 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2968 * src/highlighting.c, README.Packagers, HACKING:
2969 Remove gsd_* default styles, use named styles instead.
2970 Note: this relies on filetypes.common being installed.
2971 Add load_style_entries(), which makes style initialization
2972 simpler, used in styleset_c_like_init().
2975 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2978 Prevent possible crash on Windows when not setting an initial
2979 directory for native File Open/Save dialogs.
2980 * data/filetypes.xml, src/highlighting.c:
2981 Add style 'jscript_regex' for filetype HTML
2982 (patch by Chris Macksey, thanks).
2985 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2987 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2988 Make GeanyDocument::file_type always be non-NULL, even for a new
2989 document with no filetype set.
2991 Only autocomplete scope for scopes matching the current filetype's
2993 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2994 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2995 data/filetypes.actionscript, data/filetypes.cs,
2996 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2997 data/filetypes.javascript, HACKING:
2998 Make C++, D lexer filetypes use named styles (apart from uuid,
2999 verbatim, regex styles).
3002 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3005 Don't explicitly change the current directory of the Save As dialog
3006 so that it uses the last used directory.
3009 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3011 * src/encodings.c, src/encodings.h, src/plugindata.h:
3012 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
3015 When completing from the macro list, put the cursor after
3019 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3021 * tagmanager/pascal.c:
3022 Fix type definitions being parsed as functions.
3024 Don't autocomplete in unterminated strings as well.
3025 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
3026 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
3027 Remove data_ptr argument to foreach_[s]list() macros, as using
3028 node->data is enough sometimes; this makes the macro a bit more
3030 Add foreach_[s]list() macros to the plugin API docs.
3033 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3035 * scintilla/LexPascal.cxx:
3036 Backport fix from Scintilla CVS:
3037 Pascal lexer hanging on file that starts with 'interface' after
3041 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3044 Update Waf to 1.5.7.
3046 Overwrite installation prefix on Windows only if it wasn't
3047 specified explicitly.
3050 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3053 Display calltips for Pascal symbols in the Pascal way (#2803945).
3054 * tagmanager/pascal.c:
3055 Fix wrongly set return values for procedures (closes #2803945).
3056 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
3057 tagmanager/include/tm_source_file.h,
3058 tagmanager/include/tm_workspace.h:
3059 Fix doxygen warnings.
3062 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3064 * src/editor.c, tagmanager/include/tm_workspace.h,
3065 tagmanager/tm_workspace.c, TODO:
3066 Autocomplete scoped fields like struct members when typing '.' (and
3067 also '->' or '::' in C/C++).
3068 Save all tag types for C/C++ when generating a global tags file, so
3069 we can use autocompletion for structs also.
3070 Merge tm_workspace_find_scope_members(),
3071 tm_workspace_find_namespace_members() (currently not built) from
3072 Anjuta 2.24.1 tagmanager.
3075 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3077 * tagmanager/pascal.c:
3078 Parse Pascal calltips (closes #2802640).
3081 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3083 * src/filetypes.c, src/ui_utils.c:
3084 Add filetypes.common Configuration Files menu item.
3087 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3090 Add backslash to the wordchars on Windows when using
3091 'Open Selected File'.
3093 Add support (configure, build and install) for building on Windows
3094 and cross-compiling for Windows using the Waf build system.
3097 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3100 Set status bar text instead of showing a dialog when saving
3101 ui_toolbar.xml because the user might save several times.
3103 Fix redrawing due to colourising just after the document is first
3104 drawn. Now colourising should happen before the first draw.
3105 * src/utils.c, src/highlighting.c, data/filetypes.common:
3106 Fix segfault on parsing a filetypes.* style definition that has < 4
3108 Allow style definitions to have missing fields to use the default
3112 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3114 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
3115 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
3116 * plugins/classbuilder.c:
3117 Fix wrongly created header guards when the class filenames contains
3118 dashes (patch by PCMan, thanks).
3119 * data/filetypes.matlab:
3120 Add build_settings section to allow executing Matlab scripts.
3122 When closing a document, mark it as invalid before removing it from
3123 the documents notebook (this fixes wrong Save All button state when
3124 closing an unsaved document because the "switch-page" signal handler
3125 was using old data).
3128 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3130 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3131 Support toggling bold/italic when using a named style, e.g.:
3132 commentdockeyword=commentdoc,bold,italic
3133 Improve named style docs.
3136 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3138 * src/build.c, src/editor.c:
3139 Fix crashes when parsing the output of a compiler which reports
3143 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3145 * src/highlighting.c:
3146 Support named styles also for filetypes.common [styling] entries.
3147 * doc/geany.txt, doc/geany.html, HACKING:
3148 Update docs for named styles in filetypes.* files.
3150 Fix grouping symbol list children when parent name has "." character
3151 in for reStructuredText and Conf filetypes.
3152 * tagmanager/python.c:
3153 Fix grouping functions/classes under a nested function.
3156 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3159 Adjust icon paths (patch by Dominic Hopf, thanks).
3160 * doc/geany.txt, doc/geany.html, src/toolbar.c:
3161 Add 'Replace' toolbar button (closes #2798225).
3164 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3166 * src/utils.c, src/highlighting.c, TODO:
3167 Implement named styles support for filetypes.* using a
3168 filetypes.common [named_styles] section e.g.:
3169 foo=0xc00000;0xffffff;false;true
3171 These can be used in e.g. filetypes.c as:
3175 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3178 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
3181 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3183 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
3184 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
3187 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3190 Remove quote_executable() as it is not used anymore.
3191 When creating the geany_run_script.bat use the "%0" variable
3192 expansion and quote it for the "del" command (closes #2797172).
3194 On Windows, fallback to the literal build command line if searching
3195 for the command in the system path failed (related to #2795923).
3196 Properly terminate the resulting strings when reading the stdout
3197 and stderr of any spawned commands on Windows.
3200 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3203 Use the wide character versions of native Windows File dialogs.
3205 Fix wrong initialisation of the default project path button callback
3206 in the preferences dialog.
3207 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
3208 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
3209 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
3210 icons/Makefile.am, icons/geany.ico, icons/scalable,
3211 icons/scalable/Makefile.am, icons/scalable/geany.svg,
3213 Move the icons geany.png and geany.ico into the icons directory.
3214 Add a 16x16 pixel Geany icon and the scalable SVG icon.
3215 Drop the pixmaps directory.
3218 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3220 * src/keybindings.c:
3221 Improve MRU document switching so there are no duplicates in the
3222 list and documents switched to whilst the dialog is open are
3223 ignored. Also beep when cycling through to the first document in the
3227 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3230 Fix broken 'Cancel' button in the Save As dialog.
3233 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3236 Fix multiline indent when selection covers text on the last line.
3238 Show current document in bold in tab popup menu.
3239 * src/editor.c, tagmanager/python.c, TODO:
3240 Parse Python calltips.
3243 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3245 * src/symbols.c, tagmanager/python.c:
3246 Parse Python import statements to get symbol completion for the
3247 imported module names.
3248 * src/editor.c, src/editor.h:
3249 Make some only locally used functions static.
3250 Fix wrong sanity check.
3252 Fix quoting the build command string on Windows (closes #2791769).
3253 This broke when we made build commands run synchronously on Windows,
3254 now we don't need to special quote the commands anymore.
3257 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3260 Drop rest of word to the right of cursor when autocompleting (do we
3261 need a pref for this?).
3264 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3266 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3267 Add sci_set_selection().
3268 * doc/geany.txt, doc/geany.html:
3269 Update manual for MRU switching.
3270 * src/callbacks.c, src/editor.c, src/editor.h:
3271 Make indenting with the Tabs indent type preserve spaces on the line,
3272 so it works for the 'tab indents, space aligns' formatting style.
3275 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3277 * tagmanager/python.c:
3278 Fix missing symbols for variables when an equal sign is used
3279 in a comment on the same line as the variable declaration.
3280 Backport change from CTags SVN to keep the parser more in sync:
3281 Add support for Cython constructs to the Python parser.
3283 Remember the additional Find in Files search flags at startup.
3285 Don't close the Save As dialog when saving the file didn't succeed.
3288 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3291 Remember scribble cursor position.
3292 * src/keybindings.c, TODO:
3293 Implement Most-Recently-Used document switching when pressing
3294 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3297 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3299 * data/latex.tags: Added some more commands from unit.sty and
3303 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3305 * src/symbols.c, doc/geany.txt, doc/geany.html,
3306 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3307 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3308 tagmanager/Makefile.am, wscript:
3309 Merge unstable branch:
3310 Add reStructuredText scope information for tags (for symbol list
3312 Read custom system global tags files from $prefix/share/geany/tags;
3314 Show the number of tags in a user global tags file (instead of the
3315 running total) in the debug message.
3316 Also print debug messages when loading a tag file manually or for
3317 default global tags files e.g. python.tags.
3319 Move NestingLevel tags code into a separate file, add functions.
3321 Add 'Installation prefix' section instead of quoting '/usr/local'
3323 Update for custom system global tags files.
3326 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3328 * src/highlighting.c:
3329 Unset maybe previously keywords when setting up Scintilla for
3330 XML files. This fixed wrong highlighting after switching back to
3331 filetype XML from another one.
3333 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3334 is only used when explicitly requested.
3336 Remove unnecessary call to g_intern_string() to fix build with
3337 GLib 2.8 (closes #2790051).
3340 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3343 Make the clear icon of entry fields act on the release event, not
3344 on the press event like for other buttons.
3346 Refactor some multiple used code into get_multiline_comment_style().
3348 Create parent directories if necessary when checking for the
3349 configuration directory on startup (closes #2784577).
3352 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3354 * plugins/filebrowser.c:
3355 When a filter is set, apply it only to files, not directories and
3356 apply the filter to the UTF-8 name of the file as the filter string
3357 itself is also UTF-8.
3358 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3359 Add utils_color_invert() and use it in highlighting.c and printing.c.
3360 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3361 Backport change from Scintilla CVS:
3362 Change capitalisation of header file to suit cross-compilation on
3366 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3368 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3369 Update Scintilla to version 1.78.
3370 * src/editor.c, src/highlighting.c:
3371 Update Pascal styles as they changed in Scintilla.
3374 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3377 Ignore the invert syntax highlighting colours setting when printing
3378 to not print characters on a dark background (closes #2785244).
3379 * New release: Geany 0.17 "Wessex".
3380 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3381 src/geany.h, doc/geany.html, doc/geany.txt:
3382 Post-release version bump.
3385 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3387 * src/callbacks.c, src/callbacks.h, src/main.c:
3388 Update the View->Fullscreen menu item when fullscreen state is
3389 changed externally (e.g. by the window manager).
3391 Fix passing wrong pointer to the File Open dialog for the Run
3392 command in the Project Properties dialog.
3395 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3397 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3399 Remember the active sidebar page between sessions.
3401 Add a recent project item after creating a new project.
3402 * tagmanager/ruby.c:
3403 Fix wrong parsing of string literals (closes #2781264).
3405 Fix setting focus to the editor widget after changing the selection
3409 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3412 Prevent crashes when two or more top level items in the symbol
3413 list have the same name (closes #2778246).
3416 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3418 * src/keybindings.c:
3419 Manually show the main notebook tab bar menu when Shift-F10 is
3420 pressed. This broke when we disabled the default GTK tab bar menu.
3422 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3423 which was reloaded shortly before.
3425 When the editor menu is opened by the Menu key, use the text cursor
3426 position for retrieving the current word. This fixes disabled
3427 Go to Tag items in the menu (#2780044).
3429 Set the "ellipsize" property of GtkCellRendererText to automatically
3430 shorten the path and file names in the Documents list.
3431 * doc/geany.html, doc/geany.txt, src/build.h:
3432 Increase the amount of highlighted build error messages to 100.
3433 At least for LaTeX we need higher values as there is a lot of
3434 informative output before any errors are reported.
3435 * src/filebrowser.c:
3436 Use the startup path as the initial directory for the filebrowser
3437 plugin when no project and no files are opened
3438 (patch by Matias Gea, thanks; closes #2780521).
3441 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3443 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3444 src/utils.c, src/utils.h:
3445 Ellipsize tab labels and some status messages for very long
3446 filenames (closes #2777348).
3447 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3448 Add utils_str_middle_truncate() and
3449 document_get_basename_for_display() to the plugin API.
3450 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3451 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3452 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3454 Add a hidden preference 'use_safe_file_saving' to save files to disk
3455 by creating a temporary file first. This has serious side effects,
3456 please read the documentation before enabling this.
3458 Make build commands on Windows run synchronously to avoid problems
3459 with reading build commands' output.
3460 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3461 Limit the amount of highlighted build error messages in the
3462 Compiler window to 50 for performance reasons.
3465 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3467 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3469 Replace our own GEANY_KEYS_MODIFIER_MASK by
3470 gtk_accelerator_get_default_mod_mask() which gives the same result.
3471 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3472 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3473 Add a trivial symbol parser for NSIS files.
3476 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3479 Hide the extra file open dialog options in an expander to make the
3480 dialog more compact by default and to provide more space for the
3482 Remove the filename field as it is also provided by GTK itself with
3483 more features like auto-completion.
3484 Watch the 'show-hidden' property of the file chooser widget using
3485 GObject's "notify" signal which gives accurate results and remove
3486 the hack using the "selection-changed" signal.
3489 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3491 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3492 Prevent double execution of radio menu item "activate" or "toggled"
3494 Move 'Set Encoding' callback function into encodings.c.
3497 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3500 Add some missing 'void's in function definitions.
3501 If the project base path is './', just use the path of the project
3502 config file instead of appending './'.
3503 * src/treeviews.c, src/project.c:
3504 When a project is loaded, replace the project base path with the
3505 project name in the Documents sidebar for parent items
3509 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3511 * src/keyfile.c, src/keyfile.h, src/project.c:
3512 Fix duplicating the recent files and projects lists when closing
3514 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3515 src/editor.c, src/encodings.c, src/filetypes.c,
3516 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3517 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3518 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3519 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3520 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3521 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3522 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3524 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3525 sense to keep the code more readable.
3528 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3531 When updating global type definitions for opened documents, take
3532 also C++ namespace symbols into account and don't ignore symbols
3533 which are defined inside a scope.
3536 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3539 Don't show 'plugin is not binary compatible' messages on the status
3540 bar, only the status window.
3543 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3546 When opening files from a remote instance on X11, set the window
3547 server time to encourage window managers to pop up the main window
3548 (related to #2735467 and #2276179).
3550 When finished sending filenames to a remote instance, notify the
3551 environment that we finished starting up.
3554 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3556 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3557 Sort Configuration Files menu.
3558 Add ui_menu_sort_by_label().
3559 Add foreach_list() macro.
3564 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3567 Fix setting a wrong default window size when starting without an
3568 existing configuration.
3569 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3570 Make editor_highlight_braces() static.
3571 Remove unused wrapper functions.
3572 * src/editor.c, src/symbols.c, src/symbols.h:
3573 Prevent showing an empty macro list.
3574 Show only macros of the same filetype instead of all macros of all
3577 Don't add opened project files to the GtkRecentManager.
3580 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3583 Add Configuration Files item for snippets.conf.
3584 * src/highlighting.c, src/symbols.c:
3585 Fix 2 old uses of filetype IDs.
3588 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3590 * src/interface.c, src/printing.c, geany.glade:
3591 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3594 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3597 Add sanity checks in ui_lookup_widget() just to be safe.
3598 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3599 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3600 src/project.h, src/ui_utils.c, src/ui_utils.h:
3601 Add "Recent Projects" menu to the Project menu
3602 (#2728630, patch by Elias Pschernig, thanks).
3603 * doc/geany.txt, doc/geany.html:
3604 Describe how to build Geany using the Waf build system.
3605 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3606 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3607 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3608 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3609 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3610 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3611 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3612 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3613 src/utils.c, src/utils.h, src/vte.c:
3614 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3615 performance when building the code with gcc.
3616 * src/highlighting.c:
3617 Fix typo in the G_LIKELY checks, introduced in last commit.
3618 Fix the size of the styles array.
3620 Show a message dialog when renaming a file fails.
3623 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3626 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3627 (as we did for all other files in SVN r3382).
3630 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3632 * src/filetypes.c, doc/geany.txt:
3633 Move ActionScript to the Script group.
3635 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3636 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3637 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3638 plugins/htmlchars.c:
3639 Merge reorder-filetypes branch:
3640 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3641 append randomly without breaking the ABI).
3642 Make None filetype name = title = _("None").
3643 Add foreach_slist() macro.
3644 Add filetypes_by_title list to GeanyData for plugin API access
3645 - a list of filetype pointers, which includes the None filetype
3646 first. This list stays constant by the time plugins are initialized,
3647 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3648 index the sorted list.
3651 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3653 * doc/geany.txt, doc/geany.html, src/main.c:
3654 Add widget names for the menubar and toolbar.
3656 When hiding the messages window, set the input focus back to the
3657 editor widget (part of #1910393).
3660 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3662 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3663 Backport recent changes from Scintilla CVS to add partial support
3664 for RFC2822 styled text using the Properties lexer.
3665 Ignore leading whitespace for config files and RFC2822 text.
3666 * data/filetypes.actionscript:
3667 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3668 * THANKS, src/treeviews.c:
3669 Display file/directory icons in the Documents sidebar
3670 (patch by Simon Treny, thanks).
3673 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3675 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3676 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3677 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3678 Add an option to allow appending the toolbar to the main menu bar
3679 to save some vertical space.
3680 Allow setting toolbar icon size to very small (menu icon size).
3683 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3685 * src/keyfile.c, src/utils.c, src/utils.h:
3686 Add utils_path_skip_root(), a relative path safe variant of
3687 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3688 * src/keyfile.c, src/main.c:
3689 Allow negative window coordinates when saving and restoring the
3690 position of the main window.
3691 Restore the main window position and size *after* the window has
3692 been realised to get it positioned accordingly
3693 (this affects at least Windows).
3696 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3698 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3699 Use g_win32_get_package_installation_directory_of_module() on Windows
3700 with newer GLib versions instead of deprecated API.
3701 * src/keybindings.c:
3702 Don't manage the last used documents list when quitting to prevent
3703 errors by accessing invalid memory (may close #2533990).
3706 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3709 Delete the geany_run_script.sh immediately after execution
3710 to prevent leaking old copies when the script was quit unexpectedly
3711 (closes #2710482, patch by Martin Olsson, thanks).
3713 Check whether skipping the root element of a document's filename
3714 succeeded and use the filename itself if not (e.g. on relative
3715 filenames, #2702844).
3716 Use the locale encoded filename when saving session files.
3718 Re-set the quitting status after all documents have been closed on
3722 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3724 * plugins/htmlchars.c:
3725 Remove usage of deprecated sci_get_selected_text() from plugin.
3728 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3731 Delay disk file checks when switching between documents a little
3732 bit to avoid fast, unintentional page switching in some cases.
3733 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3734 src/sciwrappers.c, src/sciwrappers.h:
3735 Deprecate sci_get_text(), sci_get_selected_text() and
3736 sci_get_text_range().
3737 Add sci_get_contents(), sci_get_contents_range() and
3738 sci_get_selection_contents() as replacement functions to provide
3739 an easier and cleaner API (initial patch by Frank).
3742 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3745 Fix wrong parsing of CSS tags when the definition block starts on
3746 a new line (reported by Dominic Hopf, thanks).
3749 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3751 * plugins/htmlchars.c:
3752 Extend plugin by feature to bulk replace and replace on input for
3753 special characters to their HTML entities.
3756 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3759 Update build menu items after changing anything in the
3760 'Set Includes and Arguments' dialog.
3761 Disable Compile/Run buttons/menu items when Compile/Run commands are
3763 Reset current build directory to the base directory after reading a
3764 "Leaving directory" message when parsing Make output
3765 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3767 Fix wrong display of the filename in the tab bar menu for new files.
3769 Set the initial directory for the Save As dialog only once on
3771 Add a shortcut of the project's base directory to the
3772 File Open/Save As dialogs when a project is open for faster access.
3773 * src/splitwindow.c:
3774 Add keybindings for the split actions.
3777 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3780 When using Find All in the Find dialog (in Session and Document),
3781 display the right amount of matches.
3782 Fix the display of the matches once per line (I broke the original
3785 Fix wrong directory selection behaviour in all Open Folder dialogs
3786 (closes #2688020, patch by Marcel Stimberg, thanks).
3788 Don't present the main window of a running instance when starting
3789 a second instance separately.
3792 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3795 Reduce default file permissions on the Unix Domain socket file
3796 (reported by Jörg Sommer, thanks).
3799 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3801 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3802 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3804 Add an option to set an additional plugin lookup path.
3806 When using Find All in the Find dialog, display matches only once
3807 per line in the messages window (patch by Bert Vermeulen, thanks).
3810 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3812 * data/filetype_extensions.conf, data/filetypes.actionscript,
3813 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3814 src/highlighting.c, src/plugindata.h, src/symbols.c,
3815 tagmanager/Makefile.am, tagmanager/actionscript.c,
3816 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3817 Add filetype ActionScript (patch by Chris Macksey, thanks).
3818 Update type keywords only for real C-like languages.
3819 Fix wrong sorting of Assembler and Ada filetypes.
3820 * plugins/classbuilder.c:
3821 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3822 Other minor cleanups.
3825 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3828 Don't use menu item images for the tab bar menu to save some
3830 * data/filetypes.fortran, tagmanager/fortran.c:
3831 Add keyword 'extends' and fix Fortran parser to support the
3832 'extends' keyword (closes #2654492).
3833 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3834 src/search.c, src/toolbar.c:
3838 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3840 * src/about.c, THANKS:
3841 Added Jari Rahkonen to list of Finnish translators.
3844 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3847 Adjust minimum required GTK version.
3848 * src/Makefile.am, wscript:
3849 Add main.h to the list of installed header files.
3850 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3851 src/notebook.c, src/ui_utils.c:
3852 Remove GeanyDocumentPrivate::tabmenu_label.
3853 Disable the default tab bar menu for the main notebook widget and
3854 use a custom menu instead which lists all open files as usual plus
3855 'Close Other Documents' and 'Close All' menu items.
3858 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3860 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3861 Move ui_set_search_entry_background() into ui_utils.c.
3862 Change the background colour of the search entries in the Find
3863 and Replace dialogs according to the search results like in the
3864 toolbar search field.
3865 Add images to the 'Replace' and 'Replace and Find' buttons in the
3867 Minor cleanups in search.c.
3868 * tagmanager/tm_source_file.c:
3869 Update source files upon creation.
3871 Update C tags for glibc 2.9.
3872 * src/callbacks.c, src/toolbar.c:
3873 Fix broken non-incremental search with the toolbar search entry when
3874 pressing Enter (closes #2638180).
3875 * plugins/splitwindow.c:
3876 Fix possible crash on non-32-bit systems (patch by
3877 Wolfgang Ocker, thanks).
3879 Update the Packager tag due to Dominic's various contributions.
3880 Update description and feature list.
3881 Change Source tag to the gzip'ed tarball to be in sync with the
3882 Makefile target (thanks to Wolfgang Ocker for reporting).
3885 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3887 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3888 Removed deprecated plugin VC Diff
3891 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3894 Fix wrong Fortran 90 comment characters when inserting templates.
3895 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3896 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3897 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3899 Add 'Send Selection to Terminal' command to the Edit->Format menu
3900 (initial patch by David Gleich, thanks).
3901 * geany.glade, src/interface.c:
3902 Fix mnemonic for the Edit->Preferences menu item.
3905 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3907 * configure.in, plugins/Makefile.am:
3908 Enable socket support when cross-compiling.
3909 Enable plugin compilation when cross-compiling.
3911 Fix missing NULL checks when reading the colour value of compiler
3913 * src/main.c, src/win32.c, src/win32.h:
3914 On Windows, change the working directory to the Geany installation
3915 path at startup to avoid unwanted directory locking(closes #2626124).
3917 Fix broken selection of "Document->Set Encoding" menu items.
3918 * src/document.c, tagmanager/include/tm_source_file.h,
3919 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3920 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3921 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3922 Don't let the tagmanager automatically reparse files if they
3923 seem to be changed on disk (affects all files in the current session,
3924 not the current one). This should speed up file saving a little bit,
3925 especially with remote files.
3926 Remove now unnecessary calls to tm_workspace_update().
3928 Allow an empty value for the date format in the print settings to
3929 omit the date/time string in the print header.
3932 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3934 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3938 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3941 Add missing header include (closes #2615808).
3944 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3947 Fix a possible crash when comparing symbol names
3948 (could be related to Ubuntu bug #147151).
3949 Fix broken symbol list tooltips when tag names contain ampersands.
3952 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3954 * plugins/makefile.win32:
3955 Don't build Split Window plugin on Windows (doesn't work).
3958 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3960 * ChangeLog, Makefile.am: Rotate ChangeLog.
3961 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3962 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3963 Post-release version bump.
3966 *** See ChangeLog.pre-0-17 for earlier changes ***