1 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3 * src/project.h, src/project.c
4 Removed unused project_get_make_dir function, this is now per
8 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
10 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
11 Fix some more warnings.
12 Fix commented out execute/stop toolbar code in build.c.
13 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
14 Changed build.h api so all functions prefixed with build_.
17 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
19 * src/build.c, src/build.h, src/project.c:
20 Fix some gcc warnings with '-Wall -W -ansi' enabled.
23 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
26 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
27 when reading old format configuration & project files.
28 * src/build.c, src/project.c
29 Fixed GLib array assertion warnings when no project filetypes are
30 available to be saved.
32 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
38 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
40 * src/build.h, src/build.c, src/project.c
41 Created and documented plugins interface to build menu.
42 Factored out new get_cmd_group function.
43 Changed name of remove_command function to be consistent with the rest
44 of the interface & changed calls in project.c.
45 * src/Makefile.am, wscript
46 Added build.h to installed files lists.
48 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
51 Updated manual to match build-menu capability.
54 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
56 * src/build.c, src/build.h
57 Added set_build_non_ft_wd_to_proj() for use by project dialog.
58 Improved interpretation of run_in_base_dir from old [build-settings]
59 Added spacing to build commands dialog
61 Removed run in base path option from project dialog and added button to
62 set working directories to d the same.
65 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
68 Re-incorporated toolbar changes in trunk accidently excluded in merge
70 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
73 Fixed substitute %f etc in commands
74 Fixed potential leak in build_replace_placeholder
75 Fixed leak in prepare_run_script (Thanks for patch Thomas)
76 Fixed build_replace_placeholder to not require document.
78 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
80 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
81 Fixed crash and lots of warnings, deleted some commented out code.
82 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
83 Removed make command from preferences and associated code
85 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
87 * src/build.c, src/build.h
88 Incorporated patch for working directory field (thanks Thomas)
89 Removed run_in_base_dir option and associated code that it replaces
90 Improved handling of old config files and mapping to new ones.
92 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
94 * src/build.h, src/build.c
95 Changed to itterate over entries in build commands dialog to allow
96 additional fields to be added
97 Implement support for multiple run commands
98 * data/filetypes.latex
99 Implement configured commands and labels for latex.
102 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
104 * src/build.h, src/build.c
105 added dialog support for error regular expressions from multiple sources
106 and storing and loading them
107 fixed some typos and memory leaks
108 * src/filetypes.c, src/filetypes.h, project.c
109 added support for using error regexes from multiple sources
112 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
114 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
116 Removal of build menu item source made redundant by the following fix
118 Corrected priority oreder and loading of filetype dependent build
119 menu items saved in the project file. Added print routine for
120 debugging command sources and priorities set compile symbol
121 PRINTBUILDCMDS true to enable
123 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
126 fixed problem loading old format filetype files, some formatting fixes
127 fixed saving new format files
128 added operation for clear button on build commands dialog
130 fixed loading and saving filetype files
133 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
135 Configurable Build Menu Changes
137 * doc/geany.html, doc/geany.txt:
138 Updated build menu section to new functionality
139 * src/build.h, src/build.c:
140 Largly re-written, configurability added, Latex code removed
141 * src/filetypes.h, src/filetypes.c:
142 Filetype structure updated to add new command pointers, configuration
143 load and store changed
144 * src/keybindings.h, src/keybindings.c:
145 Changed to address new command storage structure.
147 Changed to load/store new configuration.
149 Minor change to initialisation order.
151 Changed to address new menu item storage structure.
152 * src/project.h, src/project.c:
153 Changed to load/store the new configuration info.
155 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
157 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
158 plugins/splitwindow.c:
159 Change utils_str_remove_chars() to work in place; fix allocating on
160 the stack (the string length could exhaust the stack size).
161 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
162 src/printing.c, src/callbacks.c:
163 Rename utils_str_replace() utils_str_replace_all(), setting a
164 'gchar **haystack' argument instead of returning a new string.
166 For the Tabs indent type, remove spaces when unindenting (only) if
167 there are no tabs on the line.
168 Group undo actions for (un)indenting of multiple lines.
169 * src/document.c, src/editor.c:
170 Fix scrolling horizontally after finding a search match with the
171 search bar or Find Next/Previous which is off-screen.
173 Fix GLib warning when pressing a key with no documents open.
176 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
179 Start unifying usage of @a and @c markup elements in API docs,
181 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
182 Show/hide the toolbar without a restart when the setting in the
183 preferences dialog is changed (closes #2824785).
184 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
185 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
186 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
188 Continue unifying usage of @a and @c markup elements in API docs.
191 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
194 Remove relative/untidy path elements when creating new documents
195 with a filename (e.g. from the command-line) (#2823998).
198 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
201 Disable 'Recent Projects' menu item if the list of recent projects
204 Fix some harmless compiler warnings.
205 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
206 src/plugins.c, src/utils.c, src/utils.h:
207 Move utils_str_remove_chars() from the plugins/splitwindow.c to
208 src/utils.c and add it to the plugin API.
209 Make utils_str_remove_chars() work on a new copy of the input string
210 instead of modifying it in place.
212 Remove underscores from the toolbar items labels.
215 * plugins/splitwindow.c:
216 Fix broken 'Show the current document' tool button icon.
219 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
221 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
223 Add stash_group_add_widget_property() so we can save any widget's
224 read/write properties.
225 Use Stash for ui_prefs.sidebar_page setting.
226 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
227 Make foreach_ptr_array() use an integer argument for its
228 implementation, as this is more useful potentially than a gpointer*
229 argument, and more straightforward.
230 Add foreach_c_array(), foreach_ptr_array() to API.
231 * src/utils.c, src/utils.h, src/document.c:
232 Remove relative/untidy path elements when opening documents (closes
235 Fix showing project name for documents list files with no
238 Fix checking whether to overwrite when using the Rename button in
239 the 'Save As' dialog.
242 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
245 Don't use the main window as parent for dialog boxes if it is not
247 Set titles for message dialogs.
250 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
253 Display item labels instead of raw names in the toolbar editor.
254 Apply changes in the toolbar editor instantly.
255 Show icons in the toolbar editor.
256 Speed up toolbar editor dialog creation.
258 Improve inserting of comment templates like File header or licence
259 notices. The comment information are now read from the filetype
262 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
265 Enable file monitoring for files which are written to disk by Geany
268 Fix broken special case handling when detecting filetypes from a
269 shebang or other special file headers.
272 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
275 Make Mark All keybinding clear search highlighting when there's no
278 Fix wrong match length when using Mark with regex.
279 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
280 src/keyfile.c, src/main.c:
281 Add 'Show Paths' documents list popup item.
282 Add "load_settings" core-only signal emitted just after loading
283 main keyfile settings; useful to delay building UI elements until
284 settings have been read.
286 Fix GTK warning when right-clicking on default tag tree.
287 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
288 Add treeviews_finalize().
289 Remove tv.popup_openfiles field.
292 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
294 * src/highlighting.c:
295 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
298 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
301 Quote the uri before passing it to the browser when opening a
302 website (closes #2818635).
304 Fix broken 'builtin' Run command for HTML files on Windows.
307 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
310 Properly fix wrong brace highlighting of non-brace character.
312 Allow autocompletion in Perl double-quoted strings.
313 Don't autocomplete in Perl single-quoted strings (closes #2821061).
314 Don't autocomplete in Perl q() strings.
315 * data/filetypes.common:
316 Make Mark highlighting brighter.
317 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
318 Use hyphen for auto-feature terms.
319 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
320 src/document.h, src/main.c:
321 Add documents_foreach() API macro that skips invalid docs.
322 Make filetypes[], documents[] part of the API again.
323 Add GEANY() macro for sharing geany symbols between API and core.
324 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
325 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
326 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
327 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
328 plugins/classbuilder.c, wscript:
329 Add geanyplugin.h single include for plugin API; update all core
331 Add sci_set_font() to API.
333 * src/filetypes.c, src/filetypes.h:
334 Remove filetypes_foreach_named().
337 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
339 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
340 src/document.h, src/main.c, THANKS:
341 Apply patch from Eugene Arshinov to reload color schemes via menu
344 Reload filetypes.common after saving it.
346 Improve wrong brace highlighting of non-brace character.
349 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
352 Delay highlighting matching braces by 100ms, which speeds up
353 scrolling with the arrow keys.
354 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
355 Add 'Mark All' keybinding.
357 Show relative paths in diff filename tags.
360 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
362 * src/highlighting.c:
363 Fix setting keyword list 'classes' for Haxe
364 (pointed out by Andreas Mokros, thanks).
367 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
369 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
370 doc/geany.txt, doc/geany.html, geany.glade:
371 Add 'Drop rest of word on completion' pref.
372 * src/editor.c, doc/geany.txt, doc/geany.html:
373 If autocompletion is already visible when forcing completion, show
374 document word completion instead of tag completion.
375 Docs: Minor edits of related prefs items.
376 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
377 Add warning when printing and editor font is not monospaced.
378 Fix using GtkMessageType instead of gint param for
379 dialogs_show_msgbox*().
380 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
382 Support 'tab indents, space aligns' style for auto-indentation
386 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
388 * src/document.c, src/documentprivate.h:
389 Rework the GIO based file monitoring code. Now it is used only
390 to indicate a possible change of the file, the real check if the
391 file has been changed is performed by stat().
392 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
393 Add style 'line_height' to increase the line height.
394 Add style 'marker_mark' and change style 'marker_search' to
395 define the style used for marked search results.
396 * doc/geany.txt, doc/geany.html:
397 Add the new 'Autocomplete all words in document' pref to the docs.
400 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
402 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
403 doc/geany.txt, doc/geany.html, geany.glade, TODO:
404 Add 'Autocomplete all words in document' pref.
405 Use 'autocompletion' in dialog and docs, not 'auto completion'.
407 Fix limiting number of word completion entries too much.
408 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
409 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
410 Show autocompletion icons for tag symbols - for now only tags with
411 an arglist have the 'function/method' icon, all others have the
413 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
415 * src/highlighting.c:
416 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
420 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
422 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
423 Fix removing underscores in translated string using no_underscore()
425 Set a tooltip for the Split Window plugin's Show Current tool button.
426 Add utils_strdupa() macro.
427 * src/interface.c, geany.glade:
428 Use stock Select All icon now we have >= GTK 2.8.
430 Fix using project name for document items that start with the
431 project base path but don't match it e.g. ".../geany-plugins"
432 instead of ".../geany" when project name is 'geany'.
435 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
438 Fix warnings when the toolbar does not contain the Run button.
440 Fix wrong parsing of complex expressions in the Lua parser.
441 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
443 Remove unnecessary enums.
444 * scintilla/*, scintilla/include/*, src/plugindata.h:
445 Update Scintilla to version 1.79.
446 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
448 Use the new Scintilla struct names prefixed with 'Sci_'.
449 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
451 Add second argument to the 'line_wrap_indent' styling setting to
452 control the new Scintilla indentation mode for wrapped lines.
454 Properly close the toolbar editor on delete-events.
455 Fix warnings and possible crashes in the toolbar editor when the list
456 of displayed toolbar items is empty.
457 * data/filetypes.tcl:
458 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
460 Make the plugin manager dialog a bit bigger.
463 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
465 * doc/geany.html, doc/geany.txt:
466 Fix wrong default values for the 'Show Calltip' keybinding.
469 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
471 * data/filetypes.tcl, src/symbols.c:
472 Fix duplicate "context_action_cmd" key.
473 Use different icons for "Methods" and "Procedures" in the symbol
476 Fix a small memory leak.
477 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
478 src/keybindings.h, src/plugindata.h:
479 Make the Scintilla keybindings 'Delete to end of line' and
480 'Go to end of display line' configurable.
482 Fix a typo (closes #2813624).
485 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
487 * tagmanager/tcl.c, src/symbol.c:
488 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
489 methods and namespaces).
490 Patch by Witek Mozga, thanks.
493 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
495 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
496 src/toolbar.c, src/toolbar.h:
497 Remove ui_toolbar.xml Configuration Files menu item.
498 Add a real toolbar editor dialog.
499 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
501 Add a button in the preferences dialog and an item for the toolbar
502 popup menu to run the toolbar editor dialog.
505 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
508 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
509 Fix using locale encoding for default Save As dialog path.
511 Beep when trying to activate the '...' autocompletion item.
512 Limit (forced) document word completion to
513 autocompletion_max_entries.
514 Beep if no completions are shown when forcing autocompletion.
517 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
519 * data/ui_toolbar.xml, src/toolbar.c:
520 Add 'Build' toolbar button to the default layout.
523 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
526 If forcing autocompletion and there's nothing else to show, complete
527 from words in the current document (using code from Enrico's
528 'AutoComplete Test' plugin).
531 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
534 Add debug message if plugin has not set a name for its keybinding
536 * data/filetype_extensions.conf:
537 Add *.m4 for shell scripts.
540 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
542 * src/highlighting.c, doc/geany.txt, doc/geany.html,
543 data/filetypes.common, TODO:
544 Make filetypes.common named styles use the "default" named style for
545 all missing style fields.
546 Set named styles to usually leave the background style empty. This
547 currently allows C-like filetypes to have a common default
549 Allow hard-coded colors to use -1 for the default color.
550 Add some highlighting style examples to the manual.
553 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
556 Create initial template files with proper platform-specific line
560 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
562 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
563 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
564 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
565 src/ui_utils.c, src/ui_utils.h:
566 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
568 Refactor some related code.
570 Strip trailing spaces from "Key" tags.
572 Quote the full filename to the Geany executable when creating the
573 "Open with Geany" context menu item.
574 * plugins/splitwindow.c:
575 Avoid using deprecated GTK API.
576 * src/log.c, src/main.c:
577 Properly clean up the logging mechanism.
579 Fix LaTeX view commands on Windows (part of #2807688).
581 Add a popup menu for the keybinding list in the preferences dialog
582 to easily expand and collapse all groups.
583 Refactor the keybindings code for the preferences dialog, prefix all
585 * src/main.c, src/ui_utils.c, src/ui_utils.h:
586 Init stock items before creating the toolbar (closes #2809324).
588 Generate the geany.pc file also on Windows.
590 Invert the logic to determine which Save All we want to use:
591 Use the Tango like icon only for the Tango theme and the Gnome / GTK
592 like icon for any other themes.
595 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
597 * src/highlighting.c, README.Packagers, HACKING:
598 Remove gsd_* default styles, use named styles instead.
599 Note: this relies on filetypes.common being installed.
600 Add load_style_entries(), which makes style initialization
601 simpler, used in styleset_c_like_init().
604 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
607 Prevent possible crash on Windows when not setting an initial
608 directory for native File Open/Save dialogs.
609 * data/filetypes.xml, src/highlighting.c:
610 Add style 'jscript_regex' for filetype HTML
611 (patch by Chris Macksey, thanks).
614 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
616 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
617 Make GeanyDocument::file_type always be non-NULL, even for a new
618 document with no filetype set.
620 Only autocomplete scope for scopes matching the current filetype's
622 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
623 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
624 data/filetypes.actionscript, data/filetypes.cs,
625 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
626 data/filetypes.javascript, HACKING:
627 Make C++, D lexer filetypes use named styles (apart from uuid,
628 verbatim, regex styles).
631 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
634 Don't explicitly change the current directory of the Save As dialog
635 so that it uses the last used directory.
638 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
640 * src/encodings.c, src/encodings.h, src/plugindata.h:
641 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
644 When completing from the macro list, put the cursor after
648 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
650 * tagmanager/pascal.c:
651 Fix type definitions being parsed as functions.
653 Don't autocomplete in unterminated strings as well.
654 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
655 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
656 Remove data_ptr argument to foreach_[s]list() macros, as using
657 node->data is enough sometimes; this makes the macro a bit more
659 Add foreach_[s]list() macros to the plugin API docs.
662 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
664 * scintilla/LexPascal.cxx:
665 Backport fix from Scintilla CVS:
666 Pascal lexer hanging on file that starts with 'interface' after
670 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
675 Overwrite installation prefix on Windows only if it wasn't
676 specified explicitly.
679 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
682 Display calltips for Pascal symbols in the Pascal way (#2803945).
683 * tagmanager/pascal.c:
684 Fix wrongly set return values for procedures (closes #2803945).
685 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
686 tagmanager/include/tm_source_file.h,
687 tagmanager/include/tm_workspace.h:
688 Fix doxygen warnings.
691 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
693 * src/editor.c, tagmanager/include/tm_workspace.h,
694 tagmanager/tm_workspace.c, TODO:
695 Autocomplete scoped fields like struct members when typing '.' (and
696 also '->' or '::' in C/C++).
697 Save all tag types for C/C++ when generating a global tags file, so
698 we can use autocompletion for structs also.
699 Merge tm_workspace_find_scope_members(),
700 tm_workspace_find_namespace_members() (currently not built) from
701 Anjuta 2.24.1 tagmanager.
704 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
706 * tagmanager/pascal.c:
707 Parse Pascal calltips (closes #2802640).
710 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
712 * src/filetypes.c, src/ui_utils.c:
713 Add filetypes.common Configuration Files menu item.
716 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
719 Add backslash to the wordchars on Windows when using
720 'Open Selected File'.
722 Add support (configure, build and install) for building on Windows
723 and cross-compiling for Windows using the Waf build system.
726 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
729 Set status bar text instead of showing a dialog when saving
730 ui_toolbar.xml because the user might save several times.
732 Fix redrawing due to colourising just after the document is first
733 drawn. Now colourising should happen before the first draw.
734 * src/utils.c, src/highlighting.c, data/filetypes.common:
735 Fix segfault on parsing a filetypes.* style definition that has < 4
737 Allow style definitions to have missing fields to use the default
741 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
743 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
744 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
745 * plugins/classbuilder.c:
746 Fix wrongly created header guards when the class filenames contains
747 dashes (patch by PCMan, thanks).
748 * data/filetypes.matlab:
749 Add build_settings section to allow executing Matlab scripts.
751 When closing a document, mark it as invalid before removing it from
752 the documents notebook (this fixes wrong Save All button state when
753 closing an unsaved document because the "switch-page" signal handler
757 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
759 * src/highlighting.c, doc/geany.txt, doc/geany.html:
760 Support toggling bold/italic when using a named style, e.g.:
761 commentdockeyword=commentdoc,bold,italic
762 Improve named style docs.
765 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
767 * src/build.c, src/editor.c:
768 Fix crashes when parsing the output of a compiler which reports
772 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
774 * src/highlighting.c:
775 Support named styles also for filetypes.common [styling] entries.
776 * doc/geany.txt, doc/geany.html, HACKING:
777 Update docs for named styles in filetypes.* files.
779 Fix grouping symbol list children when parent name has "." character
780 in for reStructuredText and Conf filetypes.
781 * tagmanager/python.c:
782 Fix grouping functions/classes under a nested function.
785 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
788 Adjust icon paths (patch by Dominic Hopf, thanks).
789 * doc/geany.txt, doc/geany.html, src/toolbar.c:
790 Add 'Replace' toolbar button (closes #2798225).
793 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
795 * src/utils.c, src/highlighting.c, TODO:
796 Implement named styles support for filetypes.* using a
797 filetypes.common [named_styles] section e.g.:
798 foo=0xc00000;0xffffff;false;true
800 These can be used in e.g. filetypes.c as:
804 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
807 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
810 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
812 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
813 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
816 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
819 Remove quote_executable() as it is not used anymore.
820 When creating the geany_run_script.bat use the "%0" variable
821 expansion and quote it for the "del" command (closes #2797172).
823 On Windows, fallback to the literal build command line if searching
824 for the command in the system path failed (related to #2795923).
825 Properly terminate the resulting strings when reading the stdout
826 and stderr of any spawned commands on Windows.
829 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
832 Use the wide character versions of native Windows File dialogs.
834 Fix wrong initialisation of the default project path button callback
835 in the preferences dialog.
836 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
837 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
838 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
839 icons/Makefile.am, icons/geany.ico, icons/scalable,
840 icons/scalable/Makefile.am, icons/scalable/geany.svg,
842 Move the icons geany.png and geany.ico into the icons directory.
843 Add a 16x16 pixel Geany icon and the scalable SVG icon.
844 Drop the pixmaps directory.
847 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
850 Improve MRU document switching so there are no duplicates in the
851 list and documents switched to whilst the dialog is open are
852 ignored. Also beep when cycling through to the first document in the
856 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
859 Fix broken 'Cancel' button in the Save As dialog.
862 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
865 Fix multiline indent when selection covers text on the last line.
867 Show current document in bold in tab popup menu.
868 * src/editor.c, tagmanager/python.c, TODO:
869 Parse Python calltips.
872 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
874 * src/symbols.c, tagmanager/python.c:
875 Parse Python import statements to get symbol completion for the
876 imported module names.
877 * src/editor.c, src/editor.h:
878 Make some only locally used functions static.
879 Fix wrong sanity check.
881 Fix quoting the build command string on Windows (closes #2791769).
882 This broke when we made build commands run synchronously on Windows,
883 now we don't need to special quote the commands anymore.
886 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
889 Drop rest of word to the right of cursor when autocompleting (do we
890 need a pref for this?).
893 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
895 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
896 Add sci_set_selection().
897 * doc/geany.txt, doc/geany.html:
898 Update manual for MRU switching.
899 * src/callbacks.c, src/editor.c, src/editor.h:
900 Make indenting with the Tabs indent type preserve spaces on the line,
901 so it works for the 'tab indents, space aligns' formatting style.
904 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
906 * tagmanager/python.c:
907 Fix missing symbols for variables when an equal sign is used
908 in a comment on the same line as the variable declaration.
909 Backport change from CTags SVN to keep the parser more in sync:
910 Add support for Cython constructs to the Python parser.
912 Remember the additional Find in Files search flags at startup.
914 Don't close the Save As dialog when saving the file didn't succeed.
917 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
920 Remember scribble cursor position.
921 * src/keybindings.c, TODO:
922 Implement Most-Recently-Used document switching when pressing
923 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
926 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
928 * data/latex.tags: Added some more commands from unit.sty and
932 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
934 * src/symbols.c, doc/geany.txt, doc/geany.html,
935 tagmanager/makefile.win32, tagmanager/nestlevel.c,
936 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
937 tagmanager/Makefile.am, wscript:
938 Merge unstable branch:
939 Add reStructuredText scope information for tags (for symbol list
941 Read custom system global tags files from $prefix/share/geany/tags;
943 Show the number of tags in a user global tags file (instead of the
944 running total) in the debug message.
945 Also print debug messages when loading a tag file manually or for
946 default global tags files e.g. python.tags.
948 Move NestingLevel tags code into a separate file, add functions.
950 Add 'Installation prefix' section instead of quoting '/usr/local'
952 Update for custom system global tags files.
955 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
957 * src/highlighting.c:
958 Unset maybe previously keywords when setting up Scintilla for
959 XML files. This fixed wrong highlighting after switching back to
960 filetype XML from another one.
962 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
963 is only used when explicitly requested.
965 Remove unnecessary call to g_intern_string() to fix build with
966 GLib 2.8 (closes #2790051).
969 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
972 Make the clear icon of entry fields act on the release event, not
973 on the press event like for other buttons.
975 Refactor some multiple used code into get_multiline_comment_style().
977 Create parent directories if necessary when checking for the
978 configuration directory on startup (closes #2784577).
981 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
983 * plugins/filebrowser.c:
984 When a filter is set, apply it only to files, not directories and
985 apply the filter to the UTF-8 name of the file as the filter string
986 itself is also UTF-8.
987 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
988 Add utils_color_invert() and use it in highlighting.c and printing.c.
989 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
990 Backport change from Scintilla CVS:
991 Change capitalisation of header file to suit cross-compilation on
995 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
997 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
998 Update Scintilla to version 1.78.
999 * src/editor.c, src/highlighting.c:
1000 Update Pascal styles as they changed in Scintilla.
1003 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1006 Ignore the invert syntax highlighting colours setting when printing
1007 to not print characters on a dark background (closes #2785244).
1008 * New release: Geany 0.17 "Wessex".
1009 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
1010 src/geany.h, doc/geany.html, doc/geany.txt:
1011 Post-release version bump.
1014 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1016 * src/callbacks.c, src/callbacks.h, src/main.c:
1017 Update the View->Fullscreen menu item when fullscreen state is
1018 changed externally (e.g. by the window manager).
1020 Fix passing wrong pointer to the File Open dialog for the Run
1021 command in the Project Properties dialog.
1024 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1026 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
1028 Remember the active sidebar page between sessions.
1030 Add a recent project item after creating a new project.
1031 * tagmanager/ruby.c:
1032 Fix wrong parsing of string literals (closes #2781264).
1034 Fix setting focus to the editor widget after changing the selection
1038 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1041 Prevent crashes when two or more top level items in the symbol
1042 list have the same name (closes #2778246).
1045 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1047 * src/keybindings.c:
1048 Manually show the main notebook tab bar menu when Shift-F10 is
1049 pressed. This broke when we disabled the default GTK tab bar menu.
1051 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
1052 which was reloaded shortly before.
1054 When the editor menu is opened by the Menu key, use the text cursor
1055 position for retrieving the current word. This fixes disabled
1056 Go to Tag items in the menu (#2780044).
1058 Set the "ellipsize" property of GtkCellRendererText to automatically
1059 shorten the path and file names in the Documents list.
1060 * doc/geany.html, doc/geany.txt, src/build.h:
1061 Increase the amount of highlighted build error messages to 100.
1062 At least for LaTeX we need higher values as there is a lot of
1063 informative output before any errors are reported.
1064 * src/filebrowser.c:
1065 Use the startup path as the initial directory for the filebrowser
1066 plugin when no project and no files are opened
1067 (patch by Matias Gea, thanks; closes #2780521).
1070 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1072 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
1073 src/utils.c, src/utils.h:
1074 Ellipsize tab labels and some status messages for very long
1075 filenames (closes #2777348).
1076 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
1077 Add utils_str_middle_truncate() and
1078 document_get_basename_for_display() to the plugin API.
1079 * doc/geany.html, doc/geany.txt, src/toolbar.c:
1080 Add new toolbar element: Print (patch by Roland Baudin, thanks).
1081 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
1083 Add a hidden preference 'use_safe_file_saving' to save files to disk
1084 by creating a temporary file first. This has serious side effects,
1085 please read the documentation before enabling this.
1087 Make build commands on Windows run synchronously to avoid problems
1088 with reading build commands' output.
1089 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
1090 Limit the amount of highlighted build error messages in the
1091 Compiler window to 50 for performance reasons.
1094 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1096 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
1098 Replace our own GEANY_KEYS_MODIFIER_MASK by
1099 gtk_accelerator_get_default_mod_mask() which gives the same result.
1100 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
1101 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
1102 Add a trivial symbol parser for NSIS files.
1105 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1108 Hide the extra file open dialog options in an expander to make the
1109 dialog more compact by default and to provide more space for the
1111 Remove the filename field as it is also provided by GTK itself with
1112 more features like auto-completion.
1113 Watch the 'show-hidden' property of the file chooser widget using
1114 GObject's "notify" signal which gives accurate results and remove
1115 the hack using the "selection-changed" signal.
1118 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1120 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
1121 Prevent double execution of radio menu item "activate" or "toggled"
1123 Move 'Set Encoding' callback function into encodings.c.
1126 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1129 Add some missing 'void's in function definitions.
1130 If the project base path is './', just use the path of the project
1131 config file instead of appending './'.
1132 * src/treeviews.c, src/project.c:
1133 When a project is loaded, replace the project base path with the
1134 project name in the Documents sidebar for parent items
1138 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1140 * src/keyfile.c, src/keyfile.h, src/project.c:
1141 Fix duplicating the recent files and projects lists when closing
1143 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
1144 src/editor.c, src/encodings.c, src/filetypes.c,
1145 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1146 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
1147 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
1148 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
1149 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
1150 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
1151 Remove all G_LIKELY macros inside g_return_if_fail() statements as
1153 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
1154 sense to keep the code more readable.
1157 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1160 When updating global type definitions for opened documents, take
1161 also C++ namespace symbols into account and don't ignore symbols
1162 which are defined inside a scope.
1165 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1168 Don't show 'plugin is not binary compatible' messages on the status
1169 bar, only the status window.
1172 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1175 When opening files from a remote instance on X11, set the window
1176 server time to encourage window managers to pop up the main window
1177 (related to #2735467 and #2276179).
1179 When finished sending filenames to a remote instance, notify the
1180 environment that we finished starting up.
1183 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1185 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
1186 Sort Configuration Files menu.
1187 Add ui_menu_sort_by_label().
1188 Add foreach_list() macro.
1193 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1196 Fix setting a wrong default window size when starting without an
1197 existing configuration.
1198 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
1199 Make editor_highlight_braces() static.
1200 Remove unused wrapper functions.
1201 * src/editor.c, src/symbols.c, src/symbols.h:
1202 Prevent showing an empty macro list.
1203 Show only macros of the same filetype instead of all macros of all
1206 Don't add opened project files to the GtkRecentManager.
1209 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1212 Add Configuration Files item for snippets.conf.
1213 * src/highlighting.c, src/symbols.c:
1214 Fix 2 old uses of filetype IDs.
1217 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1219 * src/interface.c, src/printing.c, geany.glade:
1220 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
1223 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1226 Add sanity checks in ui_lookup_widget() just to be safe.
1227 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
1228 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
1229 src/project.h, src/ui_utils.c, src/ui_utils.h:
1230 Add "Recent Projects" menu to the Project menu
1231 (#2728630, patch by Elias Pschernig, thanks).
1232 * doc/geany.txt, doc/geany.html:
1233 Describe how to build Geany using the Waf build system.
1234 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
1235 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
1236 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1237 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
1238 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
1239 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
1240 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
1241 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
1242 src/utils.c, src/utils.h, src/vte.c:
1243 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
1244 performance when building the code with gcc.
1245 * src/highlighting.c:
1246 Fix typo in the G_LIKELY checks, introduced in last commit.
1247 Fix the size of the styles array.
1249 Show a message dialog when renaming a file fails.
1252 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1255 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
1256 (as we did for all other files in SVN r3382).
1259 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1261 * src/filetypes.c, doc/geany.txt:
1262 Move ActionScript to the Script group.
1264 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
1265 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
1266 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
1267 plugins/htmlchars.c:
1268 Merge reorder-filetypes branch:
1269 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
1270 append randomly without breaking the ABI).
1271 Make None filetype name = title = _("None").
1272 Add foreach_slist() macro.
1273 Add filetypes_by_title list to GeanyData for plugin API access
1274 - a list of filetype pointers, which includes the None filetype
1275 first. This list stays constant by the time plugins are initialized,
1276 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
1277 index the sorted list.
1280 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1282 * doc/geany.txt, doc/geany.html, src/main.c:
1283 Add widget names for the menubar and toolbar.
1285 When hiding the messages window, set the input focus back to the
1286 editor widget (part of #1910393).
1289 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1291 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
1292 Backport recent changes from Scintilla CVS to add partial support
1293 for RFC2822 styled text using the Properties lexer.
1294 Ignore leading whitespace for config files and RFC2822 text.
1295 * data/filetypes.actionscript:
1296 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
1297 * THANKS, src/treeviews.c:
1298 Display file/directory icons in the Documents sidebar
1299 (patch by Simon Treny, thanks).
1302 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1304 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1305 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
1306 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
1307 Add an option to allow appending the toolbar to the main menu bar
1308 to save some vertical space.
1309 Allow setting toolbar icon size to very small (menu icon size).
1312 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1314 * src/keyfile.c, src/utils.c, src/utils.h:
1315 Add utils_path_skip_root(), a relative path safe variant of
1316 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
1317 * src/keyfile.c, src/main.c:
1318 Allow negative window coordinates when saving and restoring the
1319 position of the main window.
1320 Restore the main window position and size *after* the window has
1321 been realised to get it positioned accordingly
1322 (this affects at least Windows).
1325 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1327 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
1328 Use g_win32_get_package_installation_directory_of_module() on Windows
1329 with newer GLib versions instead of deprecated API.
1330 * src/keybindings.c:
1331 Don't manage the last used documents list when quitting to prevent
1332 errors by accessing invalid memory (may close #2533990).
1335 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1338 Delete the geany_run_script.sh immediately after execution
1339 to prevent leaking old copies when the script was quit unexpectedly
1340 (closes #2710482, patch by Martin Olsson, thanks).
1342 Check whether skipping the root element of a document's filename
1343 succeeded and use the filename itself if not (e.g. on relative
1344 filenames, #2702844).
1345 Use the locale encoded filename when saving session files.
1347 Re-set the quitting status after all documents have been closed on
1351 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1353 * plugins/htmlchars.c:
1354 Remove usage of deprecated sci_get_selected_text() from plugin.
1357 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1360 Delay disk file checks when switching between documents a little
1361 bit to avoid fast, unintentional page switching in some cases.
1362 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1363 src/sciwrappers.c, src/sciwrappers.h:
1364 Deprecate sci_get_text(), sci_get_selected_text() and
1365 sci_get_text_range().
1366 Add sci_get_contents(), sci_get_contents_range() and
1367 sci_get_selection_contents() as replacement functions to provide
1368 an easier and cleaner API (initial patch by Frank).
1371 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1374 Fix wrong parsing of CSS tags when the definition block starts on
1375 a new line (reported by Dominic Hopf, thanks).
1378 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1380 * plugins/htmlchars.c:
1381 Extend plugin by feature to bulk replace and replace on input for
1382 special characters to their HTML entities.
1385 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1388 Update build menu items after changing anything in the
1389 'Set Includes and Arguments' dialog.
1390 Disable Compile/Run buttons/menu items when Compile/Run commands are
1392 Reset current build directory to the base directory after reading a
1393 "Leaving directory" message when parsing Make output
1394 (closes #2694479, patch by Andrea Mazzoleni, thanks).
1396 Fix wrong display of the filename in the tab bar menu for new files.
1398 Set the initial directory for the Save As dialog only once on
1400 Add a shortcut of the project's base directory to the
1401 File Open/Save As dialogs when a project is open for faster access.
1402 * src/splitwindow.c:
1403 Add keybindings for the split actions.
1406 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1409 When using Find All in the Find dialog (in Session and Document),
1410 display the right amount of matches.
1411 Fix the display of the matches once per line (I broke the original
1414 Fix wrong directory selection behaviour in all Open Folder dialogs
1415 (closes #2688020, patch by Marcel Stimberg, thanks).
1417 Don't present the main window of a running instance when starting
1418 a second instance separately.
1421 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1424 Reduce default file permissions on the Unix Domain socket file
1425 (reported by Jörg Sommer, thanks).
1428 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1430 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
1431 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
1433 Add an option to set an additional plugin lookup path.
1435 When using Find All in the Find dialog, display matches only once
1436 per line in the messages window (patch by Bert Vermeulen, thanks).
1439 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1441 * data/filetype_extensions.conf, data/filetypes.actionscript,
1442 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
1443 src/highlighting.c, src/plugindata.h, src/symbols.c,
1444 tagmanager/Makefile.am, tagmanager/actionscript.c,
1445 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
1446 Add filetype ActionScript (patch by Chris Macksey, thanks).
1447 Update type keywords only for real C-like languages.
1448 Fix wrong sorting of Assembler and Ada filetypes.
1449 * plugins/classbuilder.c:
1450 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
1451 Other minor cleanups.
1454 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1457 Don't use menu item images for the tab bar menu to save some
1459 * data/filetypes.fortran, tagmanager/fortran.c:
1460 Add keyword 'extends' and fix Fortran parser to support the
1461 'extends' keyword (closes #2654492).
1462 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
1463 src/search.c, src/toolbar.c:
1467 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1469 * src/about.c, THANKS:
1470 Added Jari Rahkonen to list of Finnish translators.
1473 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1476 Adjust minimum required GTK version.
1477 * src/Makefile.am, wscript:
1478 Add main.h to the list of installed header files.
1479 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
1480 src/notebook.c, src/ui_utils.c:
1481 Remove GeanyDocumentPrivate::tabmenu_label.
1482 Disable the default tab bar menu for the main notebook widget and
1483 use a custom menu instead which lists all open files as usual plus
1484 'Close Other Documents' and 'Close All' menu items.
1487 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1489 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
1490 Move ui_set_search_entry_background() into ui_utils.c.
1491 Change the background colour of the search entries in the Find
1492 and Replace dialogs according to the search results like in the
1493 toolbar search field.
1494 Add images to the 'Replace' and 'Replace and Find' buttons in the
1496 Minor cleanups in search.c.
1497 * tagmanager/tm_source_file.c:
1498 Update source files upon creation.
1500 Update C tags for glibc 2.9.
1501 * src/callbacks.c, src/toolbar.c:
1502 Fix broken non-incremental search with the toolbar search entry when
1503 pressing Enter (closes #2638180).
1504 * plugins/splitwindow.c:
1505 Fix possible crash on non-32-bit systems (patch by
1506 Wolfgang Ocker, thanks).
1508 Update the Packager tag due to Dominic's various contributions.
1509 Update description and feature list.
1510 Change Source tag to the gzip'ed tarball to be in sync with the
1511 Makefile target (thanks to Wolfgang Ocker for reporting).
1514 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1516 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
1517 Removed deprecated plugin VC Diff
1520 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1523 Fix wrong Fortran 90 comment characters when inserting templates.
1524 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1525 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
1526 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
1528 Add 'Send Selection to Terminal' command to the Edit->Format menu
1529 (initial patch by David Gleich, thanks).
1530 * geany.glade, src/interface.c:
1531 Fix mnemonic for the Edit->Preferences menu item.
1534 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1536 * configure.in, plugins/Makefile.am:
1537 Enable socket support when cross-compiling.
1538 Enable plugin compilation when cross-compiling.
1540 Fix missing NULL checks when reading the colour value of compiler
1542 * src/main.c, src/win32.c, src/win32.h:
1543 On Windows, change the working directory to the Geany installation
1544 path at startup to avoid unwanted directory locking(closes #2626124).
1546 Fix broken selection of "Document->Set Encoding" menu items.
1547 * src/document.c, tagmanager/include/tm_source_file.h,
1548 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
1549 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
1550 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
1551 Don't let the tagmanager automatically reparse files if they
1552 seem to be changed on disk (affects all files in the current session,
1553 not the current one). This should speed up file saving a little bit,
1554 especially with remote files.
1555 Remove now unnecessary calls to tm_workspace_update().
1557 Allow an empty value for the date format in the print settings to
1558 omit the date/time string in the print header.
1561 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1563 * src/editor.c: Set cursor for LaTeX at auto closing of environment
1567 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1570 Add missing header include (closes #2615808).
1573 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1576 Fix a possible crash when comparing symbol names
1577 (could be related to Ubuntu bug #147151).
1578 Fix broken symbol list tooltips when tag names contain ampersands.
1581 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1583 * plugins/makefile.win32:
1584 Don't build Split Window plugin on Windows (doesn't work).
1587 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1589 * ChangeLog, Makefile.am: Rotate ChangeLog.
1590 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
1591 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
1592 Post-release version bump.
1595 *** See ChangeLog.pre-0-17 for earlier changes ***