1 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Highlight D & Java types from a global tags file.
5 * src/highlighting.c, doc/geany.txt, doc/geany.html:
6 Add debug message warning if recursive lexer_filetype is set.
7 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
8 Remove duplicate sci_set_keywords(), make argument const.
10 Only show debug message once if recursive lexer_filetype is set.
11 Tidy highlighting_init_styles code for filetype None handling.
12 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
13 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
14 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
15 tagmanager/parsers.h, tagmanager/makefile.win32,
16 tagmanager/verilog.c, tagmanager/Makefile.am,
17 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
18 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
20 Fix segfault on startup (oops).
23 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
25 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
26 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
27 Move C-like filetype properties into configuration files.
28 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
30 Remove now unnecessary "styling_within_preprocessor" C style key.
31 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
32 data/filetypes.glsl, data/filetypes.cs:
33 Use lexer_filetype=C configuration file key instead of duplicate
34 styleset functions for C++, C#, GLSL, Vala.
37 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
39 * doc/geany.txt, doc/geany.html:
40 Warn about not using BOM for configuration files (confuses GKeyFile
41 parser, at least on my system).
43 Add/improve debug messages for custom filetypes.
46 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
49 Add a couple of further latex-beamer commands to list of LaTeX tags.
52 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
54 * plugins/filebrowser.c:
55 Add an in-entry clear icon to the filebrowser plugin's filter
56 entry (patch by Dominic Hopf, thanks).
57 * src/prefs.c, src/ui_utils.c:
58 Fix two compiler warnings about possibly uninitialised variables.
61 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
63 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
64 plugins/geanyfunctions.h:
65 Add main_is_realized() to the plugin API.
66 * tagmanager/include/tm_tagmanager.h:
67 Update partly outdated and wrong doc comment.
68 * src/main.c, src/main.h, src/socket.c:
69 Allow opening Geany projects remotely.
70 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
71 Add a hidden pref to allow executing text which was sent to the
72 terminal directly, i.e. do not strip trailing newline characters.
73 Also fix the stripping of trailing newline characters if there was
77 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
79 * src/about.c, THANKS:
80 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
81 Kurt de Bree into section of previous translators.
84 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
86 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
87 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
91 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
94 Make stylesets take a ft_id argument so they can be reused fully with
95 custom filetypes, so custom styles and keywords can be set.
97 Fix setting filetype properties when both the system and the user file
99 * src/symbols.c, tagmanager/vhdl.c:
101 * src/highlighting.c:
102 Fix lexer settings for custom filetypes.
105 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
108 Remove duplicate regular expression for parsing classes.
109 Fix and improve parsing of constants (patch by Harold Aling, thanks).
110 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
111 src/main.h, THANKS, src/about.c:
112 Add new command line option "--socket-file" to be able to specify
113 separate socket filenames for instances
114 (closes #2896027, patch by Jörn Reder, thanks).
115 * src/keybindings.c, src/keybindings.h:
116 Add keybindings_check_event() to manually check GdkKeyEvents against
118 * src/callbacks.c, src/utils.c, src/utils.h:
119 Add and use utils_get_help_url().
120 * geany.glade, src/interface.c, src/prefs.c:
121 Add a Help button to the preferences dialog.
122 Handle Help keybinding events for the preferences dialog especially
123 and open the manual with the corresponding anchor link to the current
124 preferences page (same goes for the new Help button).
127 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
129 * src/toolbar.c, src/geanymenubuttonaction.c,
130 src/geanymenubuttonaction.h:
131 Use separate tooltips for toolbar menu buttons and their attached
133 * tagmanager/latex.c:
134 Improve parsing of sections and chapters by ignoring shortnames
135 like \section[shortname]{label} (closes #2890477).
138 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
140 * src/geanymenubuttonaction.c:
141 Try to fix Gtk warning when using Tools->Reload Configuration.
144 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
146 * src/highlighting.c, doc/geany.txt, doc/geany.html,
147 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
148 data/filetypes.pascal, data/filetypes.docbook,
149 data/filetypes.python, data/filetypes.conf:
150 Use filetypes.foo [lexer_properties] group instead of hardcoding
151 lexer properties (more flexible e.g. for custom filetypes).
152 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
153 Replace filetypes.xml html_asp_default_language key with
154 filetypes.html asp.default.language property in [lexer_properties]
158 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
160 * doc/geany.txt, doc/geany.html:
161 Fix slightly wrong description of how to insert Unicode characters.
163 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
164 ui_setup_open_button_callback().
165 * src/prefs.c, src/prefs.c, src/vte.c:
166 Refactor color and font button callback functions in the
167 preferences dialog. Move the VTE related callback functions
169 Make use of ui_setup_open_button_callback().
171 Improve printing status texts (patch by Dominic Hopf, thanks).
172 * src/prefs.c, src/vte.c:
173 Use the default dialog title set by ui_setup_open_button_callback()
174 to be more consistent and to save one string.
177 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
180 Separate DKinds from CKinds.
181 Don't generate macro tags for D, Java.
184 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
186 * tagmanager/ctags.c, tagmanager/general.h:
187 Make TagManager Assert statements cause g_warning on failure.
189 Fix reflow paragraph command when cursor < anchor using
193 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
196 Fix Geany segfault with constant tags (#2895168).
198 Fix invalid tree iter access when using tv_iters.tag_other but not
199 using tv_iters.tag_variable.
200 * HACKING, tagmanager/perl.c:
201 Fix parsing Perl format statements ("other" type doesn't seem to work).
202 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
203 Fix using "other" tag type.
206 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
209 Remove useless comment about applying settings only when libvte.so
210 could be loaded which is only displayed *if* libvte.so is loaded.
212 Allow autocompletion for HTML entities even within a word.
213 * src/geanymenubuttonaction.c:
214 Only set the menu of the button if a non-empty GtkMenu is passed to
215 geany_menu_button_action_set_menu() so the menu arrow keeps
219 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
222 Fix parsing some Java code (e.g. filetypes.java) after r4407.
225 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
228 Parse D functions with contracts (fixes #1885480).
229 Parse D alias statement like typedef.
230 (Ignore some more D keywords).
232 Fix creating D interface tags properly.
234 Parse contents of D extern{} and version{} blocks.
237 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
243 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
245 * src/plugindata.h, HACKING:
246 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
249 Show number of files saved on status bar when using Save All.
250 * src/highlighting.c:
251 Use default color scheme if pref color scheme file doesn't exist.
253 Fix moving correct lines after selecting whole line(s).
256 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
258 * tagmanager/makefile.win32:
259 Fix broken build on Windows because of a typo
260 (patch by Timothy Boronczyk, thanks).
263 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
265 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
267 Add 'View->Editor->Color Schemes' menu, for now only shown if color
268 scheme files exist in a colorschemes config directory. Color scheme
269 files must end in ".conf" and currently only the [named_styles]
271 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
272 Add utils_get_config_files().
273 * src/highlighting.c:
274 Fix issue with default color not being reset if overridden with a
275 system default color.
276 * src/highlighting.c:
277 Only reload filetype files when changing color scheme, not all
279 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
280 Deprecate documents_foreach() as it looks more like a function; use
281 foreach_document() instead.
282 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
285 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
287 * src/stash.c, src/stash.h:
288 Use typedef instead of pointer for widget_id function arguments.
291 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
294 Don't expand Plugin Preferences page spacing vertically to fill the
295 height of the dialog.
296 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
297 geany.glade, plugins/splitwindow.c:
298 Allow GeanyKeyBinding label field to contain underscores, which won't
299 be displayed by Geany. This saves adding near-duplicate translation
301 Add mnemonics for 3 Edit->Format menu items.
302 Add keybindings_get_label().
303 * src/interface.c, geany.glade:
304 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
308 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
311 Desensitize Edit->Commands menu item when no docs are open.
312 * src/interface.c, src/keybindings.c, src/callbacks.c,
313 src/callbacks.h, geany.glade:
314 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
315 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
316 Add general function sci_get_string() that works with any string
317 buffer messages that follow the Windows message convention.
318 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
319 src/keybindings.h, src/callbacks.c, src/callbacks.h,
320 src/pluginutils.c, src/pluginutils.h, geany.glade:
321 Add 'Edit->Plugin Preferences' menu item and keybinding.
322 Don't include plugindata.h in pluginutils.h because it redefines the
323 GEANY() macro for plugin use.
324 * doc/geany.txt, doc/geany.html:
325 Update for Plugin Preferences keybinding.
328 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
331 Sort document word completion list.
332 * src/interface.c, src/keybindings.c, src/callbacks.c,
333 src/callbacks.h, geany.glade:
334 Add some useful commands to editor popup menu under "Commands"
335 submenu (thanks to Lex).
336 Move 'Duplicate line or selection' from Format -> Commands submenu.
337 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
338 Enable switching the sidebar to the right on Windows again, as it
339 apparently works after all.
341 Fix using tab to autocomplete in some other situations that word part
342 completion doesn't apply in.
343 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
344 Add Edit->Commands submenu which is shared with the editor popup menu.
345 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
346 Change editor popup Commands submenu to start as child of menubar Edit
347 menu, as this is more usual e.g. for keybindings initialization.
348 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
350 Share a single Format submenu for menubar Edit and popup menu.
353 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
356 Fix a compiler warning about an uninitialised variable.
358 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
359 sciwrappers.h, build.h (for the Waf build system,
360 accordingly to r4366).
363 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
365 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
366 src/toolbar.c, src/toolbar.h:
367 Add missing dox for types/files in the API.
368 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
369 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
370 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
371 of functions not in the API).
372 Warning: any plugins that include these headers should remove them.
373 * src/build.c, src/build.h:
374 Move function doc-comments to build.c so they stay in sync. Note:
375 these functions are still not in the API.
377 Add 'Doc-comments' plugin API subsection.
378 * plugins/filebrowser.c:
379 Fix packing configure widgets equally.
380 Use spacing multiples of 6 as recommended by Gnome HIG.
381 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
382 Disable switching the sidebar to the right on Windows as it will
383 probably fail like the Split Window plugin.
385 Improve 'Detect from file' indentation pref by ignoring lines with
386 indentation wider than 24 characters as this is more likely to be
387 alignment than indentation.
390 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
392 * plugins/saveactions.c:
393 Fix adding the filetype's default extension when using the
394 Instant Save plugin (closes #2885142).
396 Before looking for line and column numbers specified as part
397 of a filename, ensure the file doesn't exist on disk. This allows
398 opening of files like "test:0".
400 Rename "select" variables into "selection" to avoid shadowed names.
401 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
402 Add ui_widget_modify_font_from_string() and sci_goto_line()
404 * plugins/filebrowser.c:
405 Rename "select" variables into "selection" to avoid shadowed names.
406 Make use of ui_widget_modify_font_from_string().
409 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
411 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
412 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
414 Add sidebar position interface pref.
417 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
419 * doc/geany.txt, doc/geany.html:
420 Add missing underscores to links.
423 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
425 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
426 Add 'Move line(s) up/down' keybindings.
429 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
431 * src/build.c, src/build.h, src/filetypes.h:
432 Include code for project filetype execute commands and fix bug in
433 saving project filetypes list.
434 * src/project.c, src/build.c, doc/geany.txt:
435 Make non-project execute configuration save to filetypes not geany.conf.
436 Fix closing of project failing to remove build commands dialog entry.
439 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
441 * src/project.c, src/ui_utils.c:
442 Set border width for project properties build table.
443 * geany.glade, src/interface.c:
444 Don't expand hard tab width alignment.
447 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
449 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
450 doc/geany.txt, doc/geany.html:
451 Support loading global tags files for custom filetypes.
452 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
453 doc/geany.txt, doc/geany.html:
454 Add 'Word part completion' keybinding so keys other than Tab can be
455 used, or to clear/change the combination so Tab does full completion
457 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
458 Add 'Select to previous/next word part' keybindings.
459 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
460 Add 'Switch to Messages' focus keybinding.
463 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
465 * doc/geany.txt, doc/geany.html:
466 Add 'Custom filetypes' section.
467 * src/filetypes.c, src/filetypes.h, src/document.c,
468 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
469 tagmanager/include/tm_source_file.h:
470 Add filetype "tag_parser" key so custom filetypes can use an existing
472 Add tm_source_file_get_named_lang().
473 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
475 Add filetype "lexer_filetype" key so custom filetypes can use an
479 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
481 * THANKS, src/about.c:
482 Add Xhacker Liu for his work at zh_CN translation to long list of
486 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
489 Remove unnecessary line number margin padding.
490 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
491 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
493 Improve word part autocompletion so AC list is not cancelled and
494 reshown (this also stops the selection changing).
495 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
497 Improve CamelCase word part autocompletion for runs of capital letters.
499 Don't complete snippets if there's a selection.
502 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
505 Fix crash opening project when Geany started with no geany.conf.
508 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
510 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
511 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
513 Add word part autocompletion for the current selected item when
514 pressing Tab - Enter still completes normally.
515 Add foreach_str() API macro.
516 Temporarily modify scintilla to say if tab was used for
518 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
519 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
520 plugins/classbuilder.c:
521 Revert r4301 - utils_free_pointers() taking 4 arguments.
522 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
523 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
524 plugins/splitwindow.c:
525 Add highlighting_set_styles() to API, use for Split Window plugin so
526 filetypes.common settings get set too.
527 Make highlighting_set_styles() take GeanyFiletype pointer instead of
529 * src/document.c, src/editor.c, plugins/splitwindow.c:
530 Call editor_apply_update_prefs() from editor_create_widget() so
531 correct tab width and other settings are applied for Split Window
535 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
538 Don't include trailing newlines when using reflow command.
540 Add stock close buttons to notebook tab popup menu.
541 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
542 plugins/geanyfunctions.h:
543 Add document_get_notebook_page() to API.
545 * data/templates/files/file.html, data/templates/files/file.php:
546 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
547 * src/interface.c, src/ui_utils.c, geany.glade:
548 Move Tools configuration items to top of menu.
549 * src/keybindings.c, src/search.c:
550 Fix warning when using Find in Files with no documents open; make
551 keybinding work in this case.
554 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
556 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
557 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
558 Make Split Window 'Show current document' button have a drop-down menu
559 to select the other documents.
560 Add new API function ui_menu_add_document_items().
563 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
566 Fix sensitivity settings for compile and build toolbar items.
569 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
572 Don't use filetype submenus for templates (slower to navigate, often
573 only 1 per-filetype anyway).
575 Put old filetype template menu items in 'Old' submenu as they should
576 be removed after the 0.19 release.
577 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
578 Add GeanyKeyGroup callback support, which allow keybinding callbacks
579 to be ignored if inappropriate so a later keybinding with the same
580 key combination can intercept it. (Also group callbacks are usually
581 tidier than separate callbacks).
582 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
583 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
584 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
585 plugins/classbuilder.c:
586 Make utils_free_pointers() take 4 arguments, add to API.
587 * src/templates.c, src/tools.c, src/ui_utils.c:
588 Fix memory leaks with gtk_container_get_children().
591 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
594 Ensure that old style build config is not loaded if it does not exist.
597 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
599 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
600 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
603 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
605 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
607 Apply set default encoding for existing files only if the files are
608 non-Unicode (patch by Alexey Antipov, thanks).
611 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
613 * src/highlighting.c:
614 Move new_styleset() and preprocessor setup code into styleset_c_like().
615 * src/highlighting.c:
616 Call apply_filetype_properties() from styleset_c_like().
619 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
621 * doc/geany.txt, doc/geany.html:
622 Improve information about predefined keybindings which are
623 commonly used across applications (patch by Lex Trotman, thanks).
625 Enable embedded page setup properties in the (Unix) Print dialog
626 on newer GTK versions (closes #2870596).
627 * src/highlighting.c:
628 Map global types (read from tags files) to keyword style for
632 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
635 Fix wrong creation of filetype template menu items for custom
637 * src/highlighting.c:
638 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
640 Group 'New with template' items by filetype submenu (currently only for
642 Show custom file template items before filetype template items.
643 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
645 Only use one 'New with template' submenu - reparent as needed.
647 Don't create templates/filetype.none either.
649 Warn if custom template file no longer exists.
652 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
655 Add missing icon for Java packages in the Symbol List.
658 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
660 * src/highlighting.c, data/filetypes.vala:
661 Add Vala keywords to conf file.
662 * src/templates.c, doc/geany.txt, doc/geany.html:
663 Read custom file templates from $prefix/share/geany/templates/files as
665 * src/templates.c, data/templates, data/templates/files,
666 data/templates/files/file.rb, data/templates/files/file.html,
667 data/templates/files/main.java, data/templates/files/main.c,
668 data/templates/files/main.cxx, data/templates/files/file.php,
669 data/templates/files/main.d, data/templates/files/program.pas,
670 data/templates/files/main.py, data/templates/files/file.tex,
671 wscript, Makefile.am:
672 Move filetype template defaults into custom file template files.
675 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
677 * src/symbols.c, tagmanager/perl.c:
678 Change Perl tag parser to ctags SVN r601. This removes support for
679 buggy local/my/our but it parses constant/format/labels and should
680 be less buggy overall (closes #2861232).
681 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
682 Add utils_get_file_list_full() which can optionally sort or include
683 a full path for each list item.
684 * src/utils.c, src/plugindata.h, src/plugins.c:
685 Add utils_get_file_list_full() to API.
688 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
690 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
691 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
692 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
693 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
694 po/POTFILES.in, wscript:
695 Rename treeviews.[hc] -> sidebar.[hc].
696 * data/filetypes.common:
697 Remove unused [styling] arguments.
698 * src/highlighting.c, data/filetypes.markdown,
699 data/filetypes.restructuredtext:
700 Remove style defaults from the code - just read them from
702 * src/highlighting.c, HACKING:
703 Add apply_style_entries() to simplify implementing styleset_foo().
704 * src/highlighting.c:
705 Remove filetype keyword defaults from the code - just read them from
707 * src/highlighting.c:
708 Add sci_set_keywords() wrapper.
711 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
713 * scripts/create_py_tags.py:
714 Make the code a bit more pythonic.
715 * doc/images/build_menu_commands_dialog.png,
716 doc/images/main_window.png:
717 Add new images referenced in the documentation.
718 * doc/geany.html, doc/geany.txt:
719 Several documentation improvements (patch by Lex Trotman, thanks).
721 Fix setting the appropriate page of the combined plugins
725 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
728 Only focus toolbar goto line entry when pressing keybinding if it's
729 visible (patch by Eugene Arshinov, thanks).
731 Focus editor after entering a number in the goto line toolbar entry.
733 Use AC_PATH_PROG instead of which for portability (patch by Erik
736 Show plugins that only implement plugin_configure_single() in the
737 multiple-configure dialog as a page with a configure button on it.
738 Add padding for multiple-configure dialog.
739 Make the multiple-configure dialog notebook tabs scrollable.
740 * src/pluginutils.c, src/pluginutils.h:
741 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
742 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
743 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
744 plugins/geanyfunctions.h, plugins/filebrowser.c:
745 Add plugin_show_configure() API utility function.
746 Add File Browser popup menu 'Preferences' item.
747 * src/highlighting.c:
748 Add get_keyfile_ints() instead of using tmp_style hack.
749 * src/highlighting.c, data/filetypes.xml:
750 Change new html_asp_default_language markup pref to use integer,
751 not hex in config file.
752 Fix minor issue with changing pref back to 0.
753 * src/highlighting.c:
754 Fix possible segfault in get_keyfile_int() if key value is malformed.
757 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
759 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
760 Add "html_asp_default_language" pseudo style to filetypes.xml
761 to allow setting the used language in embedded ASP code
762 (patch by Ross McKay, thanks).
764 Update VBScript keywords (patch by Ross McKay, thanks).
767 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
769 * src/keybindings.c, THANKS:
770 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
771 keybinding use line breaking column when enabled.
773 Fix showing the document before reload dialog when opening an
775 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
776 Add plugin_configure_single() plugin symbol which is easier to
777 implement than plugin_configure() but won't support a
778 multiple-plugin configure dialog.
780 Show multiple plugins in the 'Configure Plugins' dialog.
783 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
785 * doc/geany.txt, doc/geany.html:
786 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
788 * doc/geany.txt, doc/geany.html:
789 Add 'Toolbar entries' section.
790 * doc/geany.txt, doc/geany.html:
791 Update 'Go to line' keybinding description.
792 * doc/geany.txt, doc/geany.html:
793 Split keybinding table into group tables; update KB links.
796 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
799 Fix compiler warnings about uninitialised variables.
800 * src/callbacks.c, src/document.c:
801 When reloading files, use the previously set encoding instead of
802 detecting it again (closes #2862041).
804 Turn on automake silent rules if supported.
807 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
810 Speed up sorting in utils_get_file_list(). This reduces the file
811 browser delay on displaying a big directory, e.g. /usr/bin.
813 Expand command entry width when expanding Build Commands dialog.
815 Split Build Commands dialog notes label and edit text.
817 Add padding for Build Commands dialog separators.
818 Add colons for regex field labels; fix 1 capitalisation.
820 Fix none filetype Build Commands dialog label.
821 Make group labels bold.
822 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
824 Add & use ui_label_set_markup(), ui_label_new_bold().
825 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
826 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
827 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
828 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
830 Make 'Go to Line' keybinding focus the toolbar entry if visible.
833 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
835 * src/filetypes.c, src/filetypes.h, src/symbols.c,
836 tagmanager/parsers.h, tagmanager/makefile.win32,
837 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
838 data/filetype_extensions.conf, wscript:
839 Add new filetype: Abc (patch by Eric Forgeot, thanks).
841 Merge recent changes from the CTags project to further improve
845 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
848 Fix wrong alignment of printed pages when page headers are
849 disabled (closes #2856822).
850 Plug a small memory leak and improve function signature of
853 Save an if expression.
855 After clearing a text field using the embedded clear icon, put the
856 input focus into this text field.
859 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
861 * plugins/filebrowser.c:
862 Free file list memory whilst iterating the list.
863 Minor formatting fixes.
864 * src/utils.c, src/utils.h:
865 Add foreach_dir() API macro.
866 Update API docs for utils_get_file_list().
867 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
869 Remove queue.[hc] - use GQueue instead of GeanyQueue.
870 Beep if there are no more snippet positions.
871 Limit length of snippet positions queue to 20.
874 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
876 * src/keybindings.c, src/callbacks.c, src/search.c:
877 Make Goto Tag commands use the current selection if present (useful
878 for selecting part of a tag or for ReST section names with spaces
881 Don't move the cursor when reloading.
882 * src/plugindata.h, src/editor.c, src/editor.h:
883 Make editor_prefs.snippets hash table private (not a pref).
886 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
889 Remove deprecated --debug flag. Please use --verbose/-v instead.
892 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
895 Show Find in Files stderr output in messages window instead of
896 debug window so that invalid regex messages can be seen easily.
897 Combine FIF stdout and stderr callback code.
900 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
903 Fix opening filenames beginning with two dots (closes #2858487).
904 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
905 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
906 data/filetypes.common, geany.glade:
907 Update syntax highlighting after changing the 'Invert syntax
908 highlighting colors' pref, instead of requiring a restart.
909 Remove filetypes.common invert_all option - use 'Invert syntax
910 highlighting colors' pref instead (closes #2854525).
911 * src/prefs.c, src/dialogs.c, src/dialogs.h:
912 Add 'Allow' button when showing the conflicting keybinding dialog.
913 Make dialogs_show_question_full() use GTK dialog on Windows if
914 button text is not the stock yes/no items.
915 Add dialogs_show_prompt() which also has an 'Apply' button.
916 * src/queue.c, src/queue.h:
917 Add warning that GeanyQueue may be removed.
918 * src/keybindings.c, src/editor.c, src/editor.h:
919 Change snippet_goto_next_cursor() to
920 editor_goto_next_snippet_cursor() as it's in editor.h.
921 Avoid using GPOINTER_TO_INT macro.
924 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
927 Fix 'Reflow block' command when at the last paragraph and there's
928 no last newline (patch by Eugene Arshinov, thanks).
930 Add 'Compiler options & warnings' section.
931 Update Style section to be clearer about code alignment and show
936 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
938 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
939 src/plugindata.h, src/plugins.c, src/editor.c,
940 plugins/geanyfunctions.h:
941 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
942 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
944 Add sci_toggle_marker_at_line().
945 Fix SciFuncs alignment.
948 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
951 Fix erroneous free of returned string in prepare_run_script.
954 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
956 * data/filetypes.latex:
957 Changing default value for showing pdf and dvi to ensure to take
958 *.pdf and *.dvi file.
961 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
963 * src/about.c, THANKS:
964 Change language string for Slovenian translation.
967 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
969 * tagmanager/txt2tags.c:
970 Fix multi-byte character constant comparison.
972 Fix Gtk warning when trying to update documents popup menu item
973 sensitivity before they exist.
976 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
979 Improve the opening string in the plugin manager dialog.
981 Use "max-width" to set the document width of the generated
982 HTML documentation to let the text be auto-wrapped.
983 * src/prefs.c, src/tagmanager/include/guregex.h,
984 src/tagmanager/include/tm_tagmanager.h:
985 Remove trailing spaces (patch by André Hentschel, thanks).
987 Fix a compiler warning.
989 Fix crash when opening documents.
990 * src/build.c, src/build.h, src/project.c:
991 Adjust coding style (no code changes).
992 * src/build.c, src/project.c:
993 Use NZV() macro instead of strlen() to check for empty strings.
994 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
995 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
996 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
997 src/plugins.c, THANKS:
998 Add new plugin signal: "document-before-save".
999 Add get_line_end_position(), set_target_start(), set_target_end(),
1000 replace_target() to the plugin API
1001 (patch by Eugene Arshinov, thanks).
1002 Add new plugin signal: "document-filetype-set" (closes #2852286).
1003 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1004 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1005 tagmanager/Makefile.am, tagmanager/makefile.win32,
1006 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1008 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1011 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1013 * src/treeviews.c, src/document.c:
1014 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1015 Use gtk_notebook_set_current_page() instead of
1016 document_open_file_full() when choosing an item from the documents
1018 Avoid using goto in document_open_file_full().
1021 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1023 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1024 Enable type-ahead find for sidebar symbols and documents tabs
1025 (patch by Thomas Martitz, thanks).
1027 Fix 2 free's of possibly uninitialized pointers.
1030 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1032 * src/build.c, src/filetypes.h, src/filetypes.c
1033 Only write filetype config files when build command or regex is
1034 actually changed. Removed commented code in src/filetypes.c.
1036 Ensure uses of filename are protected against nulls when running
1037 a build command and give status message if not.
1040 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1043 Remove plugin from plugin manager dialog on unloading if it no
1044 longer exists or is incompatible.
1047 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1050 Add warning if only one of the plugin_key_group[_info] symbols is
1051 defined for a plugin.
1052 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1053 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1055 Merge custom-filetypes branch:
1056 Support adding custom filetype files e.g. filetypes.Foo.conf.
1058 Allow GeanyFiletype::extension to be NULL.
1059 Add note about using GeanyFiletype pointer instead of filetype_id
1060 for filetypes.c function arguments.
1061 Replace styleset_none() with styleset_default().
1064 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1067 Show the sidebar if either the documents or the symbols list are
1068 enabled (related to #1876107).
1071 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1073 * src/build.c, src/filetypes.c:
1074 Fix compiler warnings.
1076 Fix removing leading double slashes in filenames which are used for
1077 network resources on Windows (closes #2844085).
1080 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1082 * src/keybindings.c:
1083 Fix Make keybindings (patch by Lex Trotman, thanks).
1085 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1087 Mention Files link at top for header files; demoplugin.c.
1088 Minor edits; remove 'far from being complete'.
1089 * src/keyfile.c, src/keyfile.h, src/main.c,
1090 data/filetype_extensions.conf, HACKING:
1091 Remove --generate-data-files argument & code - just edit
1092 filetype_extensions.conf by hand (filetype order was broken
1094 Add *.H extension for C++ (useful for non-Windows systems).
1097 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1100 Fix implementation of loading old project files with base
1101 directories. Use project_make_base_path instead of re-
1102 implementing. Now depends on project.c reading base dir
1103 prior to calling load_build_menu.
1105 Change usage of project base directory to conform with
1106 previous documented behavior when loading old project files.
1108 Change make custom and make object to ignore make in base path
1109 when reading old project file settings. Changed some indent
1110 spaces to tabs. Fix missing compile menu accelerator.
1113 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1116 Add warning about not using undocumented features.
1117 Add reference to HACKING for plugin API development.
1119 Add section 'Plugin API/ABI design'.
1120 * src/keybindings.h, src/makefile.win32, src/project.h,
1121 src/filetypes.h, src/Makefile.am, wscript:
1122 Use GEANY_PRIVATE to hide some fields from plugins.
1124 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1125 * src/build.c, src/build.h, src/project.c:
1126 Use build_ prefix for 3 functions in build.h; add a static modifier.
1129 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1132 Improve parsing of PHP functions by requiring a valid modifier or
1133 whitespace before the 'function' keyword to ignore some false
1134 positives like function tags inside comments
1135 (patch by Harold Aling, thanks).
1136 * tagmanager/python.c:
1137 Don't parse comments after import statements and other tags
1138 (closes #2838938, patch by Huandari Lopez, thanks).
1141 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1143 * data/filetypes.markdown:
1144 Add filetypes.markdown for configuration (thanks to Jon Strait).
1145 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1146 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1147 plugins/geanyfunctions.h:
1148 Remove GeanyKeyGroup struct from the API - plugins should not set
1150 Make keybindings_set_item() duplicate the name and label fields
1151 (needed by GeanyLua) and return a keybinding pointer.
1152 Add keybindings_get_item() to the API (in case it's useful).
1153 Move some keybinding code out of plugin source files.
1156 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1158 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1159 Don't generate build.h API docs until everything is approved and
1160 functions are actually in geany_functions.
1161 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1162 as they may be changed or made private later.
1163 Break ABI for fields removed.
1166 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1168 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1169 src/keyfile.c, src/project.c
1170 Changed names of symbols visible in build API to GEANY_xxx.
1173 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1175 * src/project.h, src/project.c, src/build.c
1176 Remove make_in_base_dir and run_cmd fields from project structure.
1177 Replaced by build functionality. Remove incorrect use in src/build.c
1178 build_run_cmd function.
1181 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1183 * src/project.h, src/project.c
1184 Removed unused project_get_make_dir function, this is now per
1188 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1190 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1191 Fix some more warnings.
1192 Fix commented out execute/stop toolbar code in build.c.
1193 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1194 Changed build.h api so all functions prefixed with build_.
1197 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1199 * src/build.c, src/build.h, src/project.c:
1200 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1203 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1206 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1207 when reading old format configuration & project files.
1208 * src/build.c, src/project.c
1209 Fixed GLib array assertion warnings when no project filetypes are
1210 available to be saved.
1212 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1218 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1220 * src/build.h, src/build.c, src/project.c
1221 Created and documented plugins interface to build menu.
1222 Factored out new get_cmd_group function.
1223 Changed name of remove_command function to be consistent with the rest
1224 of the interface & changed calls in project.c.
1225 * src/Makefile.am, wscript
1226 Added build.h to installed files lists.
1228 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1231 Updated manual to match build-menu capability.
1234 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1236 * src/build.c, src/build.h
1237 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1238 Improved interpretation of run_in_base_dir from old [build-settings]
1239 Added spacing to build commands dialog
1241 Removed run in base path option from project dialog and added button to
1242 set working directories to d the same.
1245 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1248 Re-incorporated toolbar changes in trunk accidently excluded in merge
1250 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1253 Fixed substitute %f etc in commands
1254 Fixed potential leak in build_replace_placeholder
1255 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1256 Fixed build_replace_placeholder to not require document.
1258 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1260 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1261 Fixed crash and lots of warnings, deleted some commented out code.
1262 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1263 Removed make command from preferences and associated code
1265 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1267 * src/build.c, src/build.h
1268 Incorporated patch for working directory field (thanks Thomas)
1269 Removed run_in_base_dir option and associated code that it replaces
1270 Improved handling of old config files and mapping to new ones.
1272 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1274 * src/build.h, src/build.c
1275 Changed to itterate over entries in build commands dialog to allow
1276 additional fields to be added
1277 Implement support for multiple run commands
1278 * data/filetypes.latex
1279 Implement configured commands and labels for latex.
1282 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
1284 * src/build.h, src/build.c
1285 added dialog support for error regular expressions from multiple sources
1286 and storing and loading them
1287 fixed some typos and memory leaks
1288 * src/filetypes.c, src/filetypes.h, project.c
1289 added support for using error regexes from multiple sources
1292 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1294 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
1296 Removal of build menu item source made redundant by the following fix
1298 Corrected priority oreder and loading of filetype dependent build
1299 menu items saved in the project file. Added print routine for
1300 debugging command sources and priorities set compile symbol
1301 PRINTBUILDCMDS true to enable
1303 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
1306 fixed problem loading old format filetype files, some formatting fixes
1307 fixed saving new format files
1308 added operation for clear button on build commands dialog
1310 fixed loading and saving filetype files
1313 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
1315 Configurable Build Menu Changes
1317 * doc/geany.html, doc/geany.txt:
1318 Updated build menu section to new functionality
1319 * src/build.h, src/build.c:
1320 Largly re-written, configurability added, Latex code removed
1321 * src/filetypes.h, src/filetypes.c:
1322 Filetype structure updated to add new command pointers, configuration
1323 load and store changed
1324 * src/keybindings.h, src/keybindings.c:
1325 Changed to address new command storage structure.
1327 Changed to load/store new configuration.
1329 Minor change to initialisation order.
1331 Changed to address new menu item storage structure.
1332 * src/project.h, src/project.c:
1333 Changed to load/store the new configuration info.
1335 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1337 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1338 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1339 doc/pluginsymbols.c, plugins/geanyfunctions.h,
1340 plugins/splitwindow.c:
1341 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
1342 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
1343 the ABI when adding fields to them.
1344 Add plugin_set_key_group() for plugins to dynamically set a
1345 keybinding group (e.g. for the Lua script plugin). Used in Split
1346 Window plugin as an example.
1347 Improve keybinding docs a little.
1350 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1352 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
1353 Add geanyfunctions.h to API docs.
1354 * plugins/splitwindow.c:
1355 Set the cursor color for the split window.
1358 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1361 Fix 'Open Selected File' for unsaved new documents.
1362 * src/keybindings.c, src/keybindings.h, src/prefs.c:
1363 Fix updating main menu accelerators after changing keybindings
1364 (thanks to Lex Trotman).
1366 Fix using 'Insert date' keybinding when a custom date string has
1368 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
1369 Merge Plugin and GeanyPluginPrivate structs.
1372 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1374 * src/keybindings.c:
1375 Fix non-working Home and End keys on numpads.
1378 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1380 * doc/geany.txt, doc/geany.html, NEWS:
1381 Add 'Scope autocompletion' section.
1382 Add 'Tools menu items' section to explain configuration files
1383 submenu, reload configuration item.
1384 Minor updates/fixes.
1387 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1390 Add a translation hint to an ambiguous format string.
1392 Add missing include path to fix 'make distcheck'.
1394 Fix opening of local files in the browser on Windows.
1395 * New release: Geany 0.18 "Kaine".
1396 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
1397 src/geany.h, doc/geany.html, doc/geany.txt:
1398 Post-release version bump.
1401 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1404 Temporarily disable reshowing calltips when the autocompletion
1405 list was closed implicitly by not choosing an item to fix
1406 problems with wrongly displayed calltips.
1408 Add missing 'coding' cookie to the Python filetype template.
1409 * doc/images/pref_dialog_edit_completions.png,
1410 doc/images/pref_dialog_toolbar.png:
1411 Update images for Geany 0.18.
1414 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1417 Add command '--hackingdoc' to create the HTML form of the
1421 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1423 * po/pt_PT.po, po/LINGUAS:
1424 Added a first Portugese (Portugal) translation based on work done at
1425 launchpad by e.g. André Glória and Alexandre Jesus.
1426 * src/main.c: Fix a minor typo on --help call.
1429 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1431 * src/highlighting.c:
1432 Call get_keyfile_wordchars() in highlighting_init_styles().
1435 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1437 * data/filetypes.ada:
1439 * src/keybindings.c:
1440 Switching notebook tabs now works for the currently used notebook
1441 widget instead of always using the documents notebook.
1442 * src/document.c, src/document.h, src/documentprivate.h,
1444 Small corrections to some API docs.
1447 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1449 * src/build.c, src/win32.h, src/win32.c:
1450 Expand system environment variables (%variableName%) on Windows when
1451 running Build commands.
1454 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1456 * src/keybindings.c:
1457 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
1458 future using an indent block is more useful e.g. for ChangeLog
1460 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
1461 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
1462 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1463 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1464 tagmanager/parsers.h, tagmanager/makefile.win32,
1465 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
1466 Add Markdown filetype (patch by Jon Strait, thanks).
1467 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
1468 Fix disconnecting plugin signal id when not using geany_object.
1470 Add filetype_make_title() instead of using:
1471 ft->title = g_strdup_printf(_("%s source file"), ft->name);
1472 It also supports "%s file" strings.
1475 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1477 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
1478 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1479 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
1480 plugins/filebrowser.c:
1481 Add plugin_signal_connect() for connecting plugin signals at
1482 runtime and also for connecting to any GObject signal.
1483 Add 'Plugin Utility Functions' on main page.
1484 Add foreach_array() macro.
1485 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1486 src/document.c, src/editor.c:
1487 Rename 3 sci functions to sci_set_target_start(),
1488 sci_set_target_end(), sci_replace_target() to match the SCI_
1492 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1494 * wscript: Fix compiling error with waf.
1497 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1499 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
1500 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1501 src/Makefile.am, wscript:
1502 Move plugin_* utility functions to pluginutils.c.
1503 Add pluginprivate.h.
1505 Fix reshowing calltip in the wrong document.
1508 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1510 * doc/geany.txt, doc/geany.html:
1511 Add some general information about auto-completion capabilities
1512 (patch by Lex Trotman, thanks).
1515 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1517 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
1518 Added a first Slovenian translation. Thanks to Joze Klepec.
1521 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1523 * src/highlighting.c:
1524 Use full styleset_foo[_init] function name as argument to
1525 init_styleset_case() and styleset_case() macros so it's easier to
1526 understand the code.
1527 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
1528 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
1529 doc/geany.txt, doc/geany.html:
1530 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
1531 Heavily based on a patch by Eugene Arshinov (thanks).
1532 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
1533 editor_strip_line_trailing_spaces().
1536 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1539 Attempt to fix reshowing calltips after the autocompletion list
1541 Reshow calltips also when the autocompletion list was closed
1542 implicitly by not choosing an item.
1544 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1546 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
1547 plugins/splitwindow.c:
1548 Change utils_str_remove_chars() to work in place; fix allocating on
1549 the stack (the string length could exhaust the stack size).
1550 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1551 src/printing.c, src/callbacks.c:
1552 Rename utils_str_replace() utils_str_replace_all(), setting a
1553 'gchar **haystack' argument instead of returning a new string.
1555 For the Tabs indent type, remove spaces when unindenting (only) if
1556 there are no tabs on the line.
1557 Group undo actions for (un)indenting of multiple lines.
1558 * src/document.c, src/editor.c:
1559 Fix scrolling horizontally after finding a search match with the
1560 search bar or Find Next/Previous which is off-screen.
1561 * src/keybindings.c:
1562 Fix GLib warning when pressing a key with no documents open.
1565 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1568 Start unifying usage of @a and @c markup elements in API docs,
1570 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1571 Show/hide the toolbar without a restart when the setting in the
1572 preferences dialog is changed (closes #2824785).
1573 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
1574 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
1575 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
1577 Continue unifying usage of @a and @c markup elements in API docs.
1580 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1583 Remove relative/untidy path elements when creating new documents
1584 with a filename (e.g. from the command-line) (#2823998).
1587 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1590 Disable 'Recent Projects' menu item if the list of recent projects
1593 Fix some harmless compiler warnings.
1594 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
1595 src/plugins.c, src/utils.c, src/utils.h:
1596 Move utils_str_remove_chars() from the plugins/splitwindow.c to
1597 src/utils.c and add it to the plugin API.
1598 Make utils_str_remove_chars() work on a new copy of the input string
1599 instead of modifying it in place.
1601 Remove underscores from the toolbar items labels.
1604 * plugins/splitwindow.c:
1605 Fix broken 'Show the current document' tool button icon.
1608 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1610 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
1612 Add stash_group_add_widget_property() so we can save any widget's
1613 read/write properties.
1614 Use Stash for ui_prefs.sidebar_page setting.
1615 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
1616 Make foreach_ptr_array() use an integer argument for its
1617 implementation, as this is more useful potentially than a gpointer*
1618 argument, and more straightforward.
1619 Add foreach_c_array(), foreach_ptr_array() to API.
1620 * src/utils.c, src/utils.h, src/document.c:
1621 Remove relative/untidy path elements when opening documents (closes
1624 Fix showing project name for documents list files with no
1625 subdirectory (oops).
1627 Fix checking whether to overwrite when using the Rename button in
1628 the 'Save As' dialog.
1631 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1634 Don't use the main window as parent for dialog boxes if it is not
1636 Set titles for message dialogs.
1639 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1642 Display item labels instead of raw names in the toolbar editor.
1643 Apply changes in the toolbar editor instantly.
1644 Show icons in the toolbar editor.
1645 Speed up toolbar editor dialog creation.
1647 Improve inserting of comment templates like File header or licence
1648 notices. The comment information are now read from the filetype
1649 configuration files.
1651 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1654 Enable file monitoring for files which are written to disk by Geany
1657 Fix broken special case handling when detecting filetypes from a
1658 shebang or other special file headers.
1661 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1664 Make Mark All keybinding clear search highlighting when there's no
1667 Fix wrong match length when using Mark with regex.
1668 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
1669 src/keyfile.c, src/main.c:
1670 Add 'Show Paths' documents list popup item.
1671 Add "load_settings" core-only signal emitted just after loading
1672 main keyfile settings; useful to delay building UI elements until
1673 settings have been read.
1675 Fix GTK warning when right-clicking on default tag tree.
1676 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
1677 Add treeviews_finalize().
1678 Remove tv.popup_openfiles field.
1681 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1683 * src/highlighting.c:
1684 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
1687 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1690 Quote the uri before passing it to the browser when opening a
1691 website (closes #2818635).
1693 Fix broken 'builtin' Run command for HTML files on Windows.
1696 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1699 Properly fix wrong brace highlighting of non-brace character.
1701 Allow autocompletion in Perl double-quoted strings.
1702 Don't autocomplete in Perl single-quoted strings (closes #2821061).
1703 Don't autocomplete in Perl q() strings.
1704 * data/filetypes.common:
1705 Make Mark highlighting brighter.
1706 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1707 Use hyphen for auto-feature terms.
1708 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
1709 src/document.h, src/main.c:
1710 Add documents_foreach() API macro that skips invalid docs.
1711 Make filetypes[], documents[] part of the API again.
1712 Add GEANY() macro for sharing geany symbols between API and core.
1713 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
1714 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
1715 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
1716 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
1717 plugins/classbuilder.c, wscript:
1718 Add geanyplugin.h single include for plugin API; update all core
1720 Add sci_set_font() to API.
1721 Update plugin howto.
1722 * src/filetypes.c, src/filetypes.h:
1723 Remove filetypes_foreach_named().
1726 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1728 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
1729 src/document.h, src/main.c, THANKS:
1730 Apply patch from Eugene Arshinov to reload color schemes via menu
1733 Reload filetypes.common after saving it.
1735 Improve wrong brace highlighting of non-brace character.
1738 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1741 Delay highlighting matching braces by 100ms, which speeds up
1742 scrolling with the arrow keys.
1743 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
1744 Add 'Mark All' keybinding.
1745 * tagmanager/diff.c:
1746 Show relative paths in diff filename tags.
1749 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1751 * src/highlighting.c:
1752 Fix setting keyword list 'classes' for Haxe
1753 (pointed out by Andreas Mokros, thanks).
1756 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1758 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
1759 doc/geany.txt, doc/geany.html, geany.glade:
1760 Add 'Drop rest of word on completion' pref.
1761 * src/editor.c, doc/geany.txt, doc/geany.html:
1762 If autocompletion is already visible when forcing completion, show
1763 document word completion instead of tag completion.
1764 Docs: Minor edits of related prefs items.
1765 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
1766 Add warning when printing and editor font is not monospaced.
1767 Fix using GtkMessageType instead of gint param for
1768 dialogs_show_msgbox*().
1769 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
1771 Support 'tab indents, space aligns' style for auto-indentation
1775 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1777 * src/document.c, src/documentprivate.h:
1778 Rework the GIO based file monitoring code. Now it is used only
1779 to indicate a possible change of the file, the real check if the
1780 file has been changed is performed by stat().
1781 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
1782 Add style 'line_height' to increase the line height.
1783 Add style 'marker_mark' and change style 'marker_search' to
1784 define the style used for marked search results.
1785 * doc/geany.txt, doc/geany.html:
1786 Add the new 'Autocomplete all words in document' pref to the docs.
1789 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1791 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
1792 doc/geany.txt, doc/geany.html, geany.glade, TODO:
1793 Add 'Autocomplete all words in document' pref.
1794 Use 'autocompletion' in dialog and docs, not 'auto completion'.
1796 Fix limiting number of word completion entries too much.
1797 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
1798 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
1799 Show autocompletion icons for tag symbols - for now only tags with
1800 an arglist have the 'function/method' icon, all others have the
1802 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
1804 * src/highlighting.c:
1805 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
1809 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1811 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
1812 Fix removing underscores in translated string using no_underscore()
1814 Set a tooltip for the Split Window plugin's Show Current tool button.
1815 Add utils_strdupa() macro.
1816 * src/interface.c, geany.glade:
1817 Use stock Select All icon now we have >= GTK 2.8.
1819 Fix using project name for document items that start with the
1820 project base path but don't match it e.g. ".../geany-plugins"
1821 instead of ".../geany" when project name is 'geany'.
1824 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1827 Fix warnings when the toolbar does not contain the Run button.
1829 Fix wrong parsing of complex expressions in the Lua parser.
1830 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
1832 Remove unnecessary enums.
1833 * scintilla/*, scintilla/include/*, src/plugindata.h:
1834 Update Scintilla to version 1.79.
1835 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
1837 Use the new Scintilla struct names prefixed with 'Sci_'.
1838 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
1840 Add second argument to the 'line_wrap_indent' styling setting to
1841 control the new Scintilla indentation mode for wrapped lines.
1843 Properly close the toolbar editor on delete-events.
1844 Fix warnings and possible crashes in the toolbar editor when the list
1845 of displayed toolbar items is empty.
1846 * data/filetypes.tcl:
1847 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
1849 Make the plugin manager dialog a bit bigger.
1852 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1854 * doc/geany.html, doc/geany.txt:
1855 Fix wrong default values for the 'Show Calltip' keybinding.
1858 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1860 * data/filetypes.tcl, src/symbols.c:
1861 Fix duplicate "context_action_cmd" key.
1862 Use different icons for "Methods" and "Procedures" in the symbol
1865 Fix a small memory leak.
1866 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
1867 src/keybindings.h, src/plugindata.h:
1868 Make the Scintilla keybindings 'Delete to end of line' and
1869 'Go to end of display line' configurable.
1871 Fix a typo (closes #2813624).
1874 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1876 * tagmanager/tcl.c, src/symbol.c:
1877 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
1878 methods and namespaces).
1879 Patch by Witek Mozga, thanks.
1882 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1884 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
1885 src/toolbar.c, src/toolbar.h:
1886 Remove ui_toolbar.xml Configuration Files menu item.
1887 Add a real toolbar editor dialog.
1888 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1890 Add a button in the preferences dialog and an item for the toolbar
1891 popup menu to run the toolbar editor dialog.
1894 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1897 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
1898 Fix using locale encoding for default Save As dialog path.
1900 Beep when trying to activate the '...' autocompletion item.
1901 Limit (forced) document word completion to
1902 autocompletion_max_entries.
1903 Beep if no completions are shown when forcing autocompletion.
1906 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1908 * data/ui_toolbar.xml, src/toolbar.c:
1909 Add 'Build' toolbar button to the default layout.
1912 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1915 If forcing autocompletion and there's nothing else to show, complete
1916 from words in the current document (using code from Enrico's
1917 'AutoComplete Test' plugin).
1920 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1923 Add debug message if plugin has not set a name for its keybinding
1925 * data/filetype_extensions.conf:
1926 Add *.m4 for shell scripts.
1929 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1931 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1932 data/filetypes.common, TODO:
1933 Make filetypes.common named styles use the "default" named style for
1934 all missing style fields.
1935 Set named styles to usually leave the background style empty. This
1936 currently allows C-like filetypes to have a common default
1938 Allow hard-coded colors to use -1 for the default color.
1939 Add some highlighting style examples to the manual.
1942 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1945 Create initial template files with proper platform-specific line
1949 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1951 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
1952 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
1953 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
1954 src/ui_utils.c, src/ui_utils.h:
1955 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
1957 Refactor some related code.
1958 * tagmanager/conf.c:
1959 Strip trailing spaces from "Key" tags.
1961 Quote the full filename to the Geany executable when creating the
1962 "Open with Geany" context menu item.
1963 * plugins/splitwindow.c:
1964 Avoid using deprecated GTK API.
1965 * src/log.c, src/main.c:
1966 Properly clean up the logging mechanism.
1968 Fix LaTeX view commands on Windows (part of #2807688).
1970 Add a popup menu for the keybinding list in the preferences dialog
1971 to easily expand and collapse all groups.
1972 Refactor the keybindings code for the preferences dialog, prefix all
1974 * src/main.c, src/ui_utils.c, src/ui_utils.h:
1975 Init stock items before creating the toolbar (closes #2809324).
1977 Generate the geany.pc file also on Windows.
1979 Invert the logic to determine which Save All we want to use:
1980 Use the Tango like icon only for the Tango theme and the Gnome / GTK
1981 like icon for any other themes.
1984 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1986 * src/highlighting.c, README.Packagers, HACKING:
1987 Remove gsd_* default styles, use named styles instead.
1988 Note: this relies on filetypes.common being installed.
1989 Add load_style_entries(), which makes style initialization
1990 simpler, used in styleset_c_like_init().
1993 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1996 Prevent possible crash on Windows when not setting an initial
1997 directory for native File Open/Save dialogs.
1998 * data/filetypes.xml, src/highlighting.c:
1999 Add style 'jscript_regex' for filetype HTML
2000 (patch by Chris Macksey, thanks).
2003 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2005 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2006 Make GeanyDocument::file_type always be non-NULL, even for a new
2007 document with no filetype set.
2009 Only autocomplete scope for scopes matching the current filetype's
2011 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2012 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2013 data/filetypes.actionscript, data/filetypes.cs,
2014 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2015 data/filetypes.javascript, HACKING:
2016 Make C++, D lexer filetypes use named styles (apart from uuid,
2017 verbatim, regex styles).
2020 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2023 Don't explicitly change the current directory of the Save As dialog
2024 so that it uses the last used directory.
2027 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2029 * src/encodings.c, src/encodings.h, src/plugindata.h:
2030 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2033 When completing from the macro list, put the cursor after
2037 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2039 * tagmanager/pascal.c:
2040 Fix type definitions being parsed as functions.
2042 Don't autocomplete in unterminated strings as well.
2043 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2044 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2045 Remove data_ptr argument to foreach_[s]list() macros, as using
2046 node->data is enough sometimes; this makes the macro a bit more
2048 Add foreach_[s]list() macros to the plugin API docs.
2051 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2053 * scintilla/LexPascal.cxx:
2054 Backport fix from Scintilla CVS:
2055 Pascal lexer hanging on file that starts with 'interface' after
2059 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2062 Update Waf to 1.5.7.
2064 Overwrite installation prefix on Windows only if it wasn't
2065 specified explicitly.
2068 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2071 Display calltips for Pascal symbols in the Pascal way (#2803945).
2072 * tagmanager/pascal.c:
2073 Fix wrongly set return values for procedures (closes #2803945).
2074 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2075 tagmanager/include/tm_source_file.h,
2076 tagmanager/include/tm_workspace.h:
2077 Fix doxygen warnings.
2080 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2082 * src/editor.c, tagmanager/include/tm_workspace.h,
2083 tagmanager/tm_workspace.c, TODO:
2084 Autocomplete scoped fields like struct members when typing '.' (and
2085 also '->' or '::' in C/C++).
2086 Save all tag types for C/C++ when generating a global tags file, so
2087 we can use autocompletion for structs also.
2088 Merge tm_workspace_find_scope_members(),
2089 tm_workspace_find_namespace_members() (currently not built) from
2090 Anjuta 2.24.1 tagmanager.
2093 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2095 * tagmanager/pascal.c:
2096 Parse Pascal calltips (closes #2802640).
2099 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2101 * src/filetypes.c, src/ui_utils.c:
2102 Add filetypes.common Configuration Files menu item.
2105 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2108 Add backslash to the wordchars on Windows when using
2109 'Open Selected File'.
2111 Add support (configure, build and install) for building on Windows
2112 and cross-compiling for Windows using the Waf build system.
2115 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2118 Set status bar text instead of showing a dialog when saving
2119 ui_toolbar.xml because the user might save several times.
2121 Fix redrawing due to colourising just after the document is first
2122 drawn. Now colourising should happen before the first draw.
2123 * src/utils.c, src/highlighting.c, data/filetypes.common:
2124 Fix segfault on parsing a filetypes.* style definition that has < 4
2126 Allow style definitions to have missing fields to use the default
2130 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2132 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2133 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2134 * plugins/classbuilder.c:
2135 Fix wrongly created header guards when the class filenames contains
2136 dashes (patch by PCMan, thanks).
2137 * data/filetypes.matlab:
2138 Add build_settings section to allow executing Matlab scripts.
2140 When closing a document, mark it as invalid before removing it from
2141 the documents notebook (this fixes wrong Save All button state when
2142 closing an unsaved document because the "switch-page" signal handler
2143 was using old data).
2146 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2148 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2149 Support toggling bold/italic when using a named style, e.g.:
2150 commentdockeyword=commentdoc,bold,italic
2151 Improve named style docs.
2154 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2156 * src/build.c, src/editor.c:
2157 Fix crashes when parsing the output of a compiler which reports
2161 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2163 * src/highlighting.c:
2164 Support named styles also for filetypes.common [styling] entries.
2165 * doc/geany.txt, doc/geany.html, HACKING:
2166 Update docs for named styles in filetypes.* files.
2168 Fix grouping symbol list children when parent name has "." character
2169 in for reStructuredText and Conf filetypes.
2170 * tagmanager/python.c:
2171 Fix grouping functions/classes under a nested function.
2174 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2177 Adjust icon paths (patch by Dominic Hopf, thanks).
2178 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2179 Add 'Replace' toolbar button (closes #2798225).
2182 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2184 * src/utils.c, src/highlighting.c, TODO:
2185 Implement named styles support for filetypes.* using a
2186 filetypes.common [named_styles] section e.g.:
2187 foo=0xc00000;0xffffff;false;true
2189 These can be used in e.g. filetypes.c as:
2193 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2196 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2199 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2201 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2202 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2205 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2208 Remove quote_executable() as it is not used anymore.
2209 When creating the geany_run_script.bat use the "%0" variable
2210 expansion and quote it for the "del" command (closes #2797172).
2212 On Windows, fallback to the literal build command line if searching
2213 for the command in the system path failed (related to #2795923).
2214 Properly terminate the resulting strings when reading the stdout
2215 and stderr of any spawned commands on Windows.
2218 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2221 Use the wide character versions of native Windows File dialogs.
2223 Fix wrong initialisation of the default project path button callback
2224 in the preferences dialog.
2225 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2226 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2227 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2228 icons/Makefile.am, icons/geany.ico, icons/scalable,
2229 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2231 Move the icons geany.png and geany.ico into the icons directory.
2232 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2233 Drop the pixmaps directory.
2236 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2238 * src/keybindings.c:
2239 Improve MRU document switching so there are no duplicates in the
2240 list and documents switched to whilst the dialog is open are
2241 ignored. Also beep when cycling through to the first document in the
2245 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2248 Fix broken 'Cancel' button in the Save As dialog.
2251 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2254 Fix multiline indent when selection covers text on the last line.
2256 Show current document in bold in tab popup menu.
2257 * src/editor.c, tagmanager/python.c, TODO:
2258 Parse Python calltips.
2261 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2263 * src/symbols.c, tagmanager/python.c:
2264 Parse Python import statements to get symbol completion for the
2265 imported module names.
2266 * src/editor.c, src/editor.h:
2267 Make some only locally used functions static.
2268 Fix wrong sanity check.
2270 Fix quoting the build command string on Windows (closes #2791769).
2271 This broke when we made build commands run synchronously on Windows,
2272 now we don't need to special quote the commands anymore.
2275 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2278 Drop rest of word to the right of cursor when autocompleting (do we
2279 need a pref for this?).
2282 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2284 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2285 Add sci_set_selection().
2286 * doc/geany.txt, doc/geany.html:
2287 Update manual for MRU switching.
2288 * src/callbacks.c, src/editor.c, src/editor.h:
2289 Make indenting with the Tabs indent type preserve spaces on the line,
2290 so it works for the 'tab indents, space aligns' formatting style.
2293 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2295 * tagmanager/python.c:
2296 Fix missing symbols for variables when an equal sign is used
2297 in a comment on the same line as the variable declaration.
2298 Backport change from CTags SVN to keep the parser more in sync:
2299 Add support for Cython constructs to the Python parser.
2301 Remember the additional Find in Files search flags at startup.
2303 Don't close the Save As dialog when saving the file didn't succeed.
2306 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2309 Remember scribble cursor position.
2310 * src/keybindings.c, TODO:
2311 Implement Most-Recently-Used document switching when pressing
2312 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
2315 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2317 * data/latex.tags: Added some more commands from unit.sty and
2321 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2323 * src/symbols.c, doc/geany.txt, doc/geany.html,
2324 tagmanager/makefile.win32, tagmanager/nestlevel.c,
2325 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
2326 tagmanager/Makefile.am, wscript:
2327 Merge unstable branch:
2328 Add reStructuredText scope information for tags (for symbol list
2330 Read custom system global tags files from $prefix/share/geany/tags;
2332 Show the number of tags in a user global tags file (instead of the
2333 running total) in the debug message.
2334 Also print debug messages when loading a tag file manually or for
2335 default global tags files e.g. python.tags.
2337 Move NestingLevel tags code into a separate file, add functions.
2339 Add 'Installation prefix' section instead of quoting '/usr/local'
2341 Update for custom system global tags files.
2344 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2346 * src/highlighting.c:
2347 Unset maybe previously keywords when setting up Scintilla for
2348 XML files. This fixed wrong highlighting after switching back to
2349 filetype XML from another one.
2351 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
2352 is only used when explicitly requested.
2354 Remove unnecessary call to g_intern_string() to fix build with
2355 GLib 2.8 (closes #2790051).
2358 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2361 Make the clear icon of entry fields act on the release event, not
2362 on the press event like for other buttons.
2364 Refactor some multiple used code into get_multiline_comment_style().
2366 Create parent directories if necessary when checking for the
2367 configuration directory on startup (closes #2784577).
2370 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2372 * plugins/filebrowser.c:
2373 When a filter is set, apply it only to files, not directories and
2374 apply the filter to the UTF-8 name of the file as the filter string
2375 itself is also UTF-8.
2376 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
2377 Add utils_color_invert() and use it in highlighting.c and printing.c.
2378 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
2379 Backport change from Scintilla CVS:
2380 Change capitalisation of header file to suit cross-compilation on
2384 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2386 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
2387 Update Scintilla to version 1.78.
2388 * src/editor.c, src/highlighting.c:
2389 Update Pascal styles as they changed in Scintilla.
2392 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2395 Ignore the invert syntax highlighting colours setting when printing
2396 to not print characters on a dark background (closes #2785244).
2397 * New release: Geany 0.17 "Wessex".
2398 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2399 src/geany.h, doc/geany.html, doc/geany.txt:
2400 Post-release version bump.
2403 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2405 * src/callbacks.c, src/callbacks.h, src/main.c:
2406 Update the View->Fullscreen menu item when fullscreen state is
2407 changed externally (e.g. by the window manager).
2409 Fix passing wrong pointer to the File Open dialog for the Run
2410 command in the Project Properties dialog.
2413 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2415 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
2417 Remember the active sidebar page between sessions.
2419 Add a recent project item after creating a new project.
2420 * tagmanager/ruby.c:
2421 Fix wrong parsing of string literals (closes #2781264).
2423 Fix setting focus to the editor widget after changing the selection
2427 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2430 Prevent crashes when two or more top level items in the symbol
2431 list have the same name (closes #2778246).
2434 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2436 * src/keybindings.c:
2437 Manually show the main notebook tab bar menu when Shift-F10 is
2438 pressed. This broke when we disabled the default GTK tab bar menu.
2440 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
2441 which was reloaded shortly before.
2443 When the editor menu is opened by the Menu key, use the text cursor
2444 position for retrieving the current word. This fixes disabled
2445 Go to Tag items in the menu (#2780044).
2447 Set the "ellipsize" property of GtkCellRendererText to automatically
2448 shorten the path and file names in the Documents list.
2449 * doc/geany.html, doc/geany.txt, src/build.h:
2450 Increase the amount of highlighted build error messages to 100.
2451 At least for LaTeX we need higher values as there is a lot of
2452 informative output before any errors are reported.
2453 * src/filebrowser.c:
2454 Use the startup path as the initial directory for the filebrowser
2455 plugin when no project and no files are opened
2456 (patch by Matias Gea, thanks; closes #2780521).
2459 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2461 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
2462 src/utils.c, src/utils.h:
2463 Ellipsize tab labels and some status messages for very long
2464 filenames (closes #2777348).
2465 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
2466 Add utils_str_middle_truncate() and
2467 document_get_basename_for_display() to the plugin API.
2468 * doc/geany.html, doc/geany.txt, src/toolbar.c:
2469 Add new toolbar element: Print (patch by Roland Baudin, thanks).
2470 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
2472 Add a hidden preference 'use_safe_file_saving' to save files to disk
2473 by creating a temporary file first. This has serious side effects,
2474 please read the documentation before enabling this.
2476 Make build commands on Windows run synchronously to avoid problems
2477 with reading build commands' output.
2478 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
2479 Limit the amount of highlighted build error messages in the
2480 Compiler window to 50 for performance reasons.
2483 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2485 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
2487 Replace our own GEANY_KEYS_MODIFIER_MASK by
2488 gtk_accelerator_get_default_mod_mask() which gives the same result.
2489 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
2490 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
2491 Add a trivial symbol parser for NSIS files.
2494 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2497 Hide the extra file open dialog options in an expander to make the
2498 dialog more compact by default and to provide more space for the
2500 Remove the filename field as it is also provided by GTK itself with
2501 more features like auto-completion.
2502 Watch the 'show-hidden' property of the file chooser widget using
2503 GObject's "notify" signal which gives accurate results and remove
2504 the hack using the "selection-changed" signal.
2507 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2509 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
2510 Prevent double execution of radio menu item "activate" or "toggled"
2512 Move 'Set Encoding' callback function into encodings.c.
2515 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2518 Add some missing 'void's in function definitions.
2519 If the project base path is './', just use the path of the project
2520 config file instead of appending './'.
2521 * src/treeviews.c, src/project.c:
2522 When a project is loaded, replace the project base path with the
2523 project name in the Documents sidebar for parent items
2527 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2529 * src/keyfile.c, src/keyfile.h, src/project.c:
2530 Fix duplicating the recent files and projects lists when closing
2532 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
2533 src/editor.c, src/encodings.c, src/filetypes.c,
2534 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2535 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
2536 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
2537 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
2538 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
2539 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
2540 Remove all G_LIKELY macros inside g_return_if_fail() statements as
2542 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
2543 sense to keep the code more readable.
2546 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2549 When updating global type definitions for opened documents, take
2550 also C++ namespace symbols into account and don't ignore symbols
2551 which are defined inside a scope.
2554 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2557 Don't show 'plugin is not binary compatible' messages on the status
2558 bar, only the status window.
2561 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2564 When opening files from a remote instance on X11, set the window
2565 server time to encourage window managers to pop up the main window
2566 (related to #2735467 and #2276179).
2568 When finished sending filenames to a remote instance, notify the
2569 environment that we finished starting up.
2572 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2574 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
2575 Sort Configuration Files menu.
2576 Add ui_menu_sort_by_label().
2577 Add foreach_list() macro.
2582 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2585 Fix setting a wrong default window size when starting without an
2586 existing configuration.
2587 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
2588 Make editor_highlight_braces() static.
2589 Remove unused wrapper functions.
2590 * src/editor.c, src/symbols.c, src/symbols.h:
2591 Prevent showing an empty macro list.
2592 Show only macros of the same filetype instead of all macros of all
2595 Don't add opened project files to the GtkRecentManager.
2598 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2601 Add Configuration Files item for snippets.conf.
2602 * src/highlighting.c, src/symbols.c:
2603 Fix 2 old uses of filetype IDs.
2606 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2608 * src/interface.c, src/printing.c, geany.glade:
2609 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
2612 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2615 Add sanity checks in ui_lookup_widget() just to be safe.
2616 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
2617 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
2618 src/project.h, src/ui_utils.c, src/ui_utils.h:
2619 Add "Recent Projects" menu to the Project menu
2620 (#2728630, patch by Elias Pschernig, thanks).
2621 * doc/geany.txt, doc/geany.html:
2622 Describe how to build Geany using the Waf build system.
2623 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
2624 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
2625 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2626 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
2627 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
2628 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
2629 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
2630 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
2631 src/utils.c, src/utils.h, src/vte.c:
2632 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
2633 performance when building the code with gcc.
2634 * src/highlighting.c:
2635 Fix typo in the G_LIKELY checks, introduced in last commit.
2636 Fix the size of the styles array.
2638 Show a message dialog when renaming a file fails.
2641 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2644 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
2645 (as we did for all other files in SVN r3382).
2648 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2650 * src/filetypes.c, doc/geany.txt:
2651 Move ActionScript to the Script group.
2653 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
2654 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
2655 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
2656 plugins/htmlchars.c:
2657 Merge reorder-filetypes branch:
2658 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
2659 append randomly without breaking the ABI).
2660 Make None filetype name = title = _("None").
2661 Add foreach_slist() macro.
2662 Add filetypes_by_title list to GeanyData for plugin API access
2663 - a list of filetype pointers, which includes the None filetype
2664 first. This list stays constant by the time plugins are initialized,
2665 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
2666 index the sorted list.
2669 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2671 * doc/geany.txt, doc/geany.html, src/main.c:
2672 Add widget names for the menubar and toolbar.
2674 When hiding the messages window, set the input focus back to the
2675 editor widget (part of #1910393).
2678 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2680 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
2681 Backport recent changes from Scintilla CVS to add partial support
2682 for RFC2822 styled text using the Properties lexer.
2683 Ignore leading whitespace for config files and RFC2822 text.
2684 * data/filetypes.actionscript:
2685 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
2686 * THANKS, src/treeviews.c:
2687 Display file/directory icons in the Documents sidebar
2688 (patch by Simon Treny, thanks).
2691 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2693 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2694 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
2695 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
2696 Add an option to allow appending the toolbar to the main menu bar
2697 to save some vertical space.
2698 Allow setting toolbar icon size to very small (menu icon size).
2701 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2703 * src/keyfile.c, src/utils.c, src/utils.h:
2704 Add utils_path_skip_root(), a relative path safe variant of
2705 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
2706 * src/keyfile.c, src/main.c:
2707 Allow negative window coordinates when saving and restoring the
2708 position of the main window.
2709 Restore the main window position and size *after* the window has
2710 been realised to get it positioned accordingly
2711 (this affects at least Windows).
2714 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2716 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
2717 Use g_win32_get_package_installation_directory_of_module() on Windows
2718 with newer GLib versions instead of deprecated API.
2719 * src/keybindings.c:
2720 Don't manage the last used documents list when quitting to prevent
2721 errors by accessing invalid memory (may close #2533990).
2724 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2727 Delete the geany_run_script.sh immediately after execution
2728 to prevent leaking old copies when the script was quit unexpectedly
2729 (closes #2710482, patch by Martin Olsson, thanks).
2731 Check whether skipping the root element of a document's filename
2732 succeeded and use the filename itself if not (e.g. on relative
2733 filenames, #2702844).
2734 Use the locale encoded filename when saving session files.
2736 Re-set the quitting status after all documents have been closed on
2740 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2742 * plugins/htmlchars.c:
2743 Remove usage of deprecated sci_get_selected_text() from plugin.
2746 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2749 Delay disk file checks when switching between documents a little
2750 bit to avoid fast, unintentional page switching in some cases.
2751 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
2752 src/sciwrappers.c, src/sciwrappers.h:
2753 Deprecate sci_get_text(), sci_get_selected_text() and
2754 sci_get_text_range().
2755 Add sci_get_contents(), sci_get_contents_range() and
2756 sci_get_selection_contents() as replacement functions to provide
2757 an easier and cleaner API (initial patch by Frank).
2760 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2763 Fix wrong parsing of CSS tags when the definition block starts on
2764 a new line (reported by Dominic Hopf, thanks).
2767 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2769 * plugins/htmlchars.c:
2770 Extend plugin by feature to bulk replace and replace on input for
2771 special characters to their HTML entities.
2774 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2777 Update build menu items after changing anything in the
2778 'Set Includes and Arguments' dialog.
2779 Disable Compile/Run buttons/menu items when Compile/Run commands are
2781 Reset current build directory to the base directory after reading a
2782 "Leaving directory" message when parsing Make output
2783 (closes #2694479, patch by Andrea Mazzoleni, thanks).
2785 Fix wrong display of the filename in the tab bar menu for new files.
2787 Set the initial directory for the Save As dialog only once on
2789 Add a shortcut of the project's base directory to the
2790 File Open/Save As dialogs when a project is open for faster access.
2791 * src/splitwindow.c:
2792 Add keybindings for the split actions.
2795 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2798 When using Find All in the Find dialog (in Session and Document),
2799 display the right amount of matches.
2800 Fix the display of the matches once per line (I broke the original
2803 Fix wrong directory selection behaviour in all Open Folder dialogs
2804 (closes #2688020, patch by Marcel Stimberg, thanks).
2806 Don't present the main window of a running instance when starting
2807 a second instance separately.
2810 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2813 Reduce default file permissions on the Unix Domain socket file
2814 (reported by Jörg Sommer, thanks).
2817 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2819 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
2820 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
2822 Add an option to set an additional plugin lookup path.
2824 When using Find All in the Find dialog, display matches only once
2825 per line in the messages window (patch by Bert Vermeulen, thanks).
2828 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2830 * data/filetype_extensions.conf, data/filetypes.actionscript,
2831 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
2832 src/highlighting.c, src/plugindata.h, src/symbols.c,
2833 tagmanager/Makefile.am, tagmanager/actionscript.c,
2834 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
2835 Add filetype ActionScript (patch by Chris Macksey, thanks).
2836 Update type keywords only for real C-like languages.
2837 Fix wrong sorting of Assembler and Ada filetypes.
2838 * plugins/classbuilder.c:
2839 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
2840 Other minor cleanups.
2843 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2846 Don't use menu item images for the tab bar menu to save some
2848 * data/filetypes.fortran, tagmanager/fortran.c:
2849 Add keyword 'extends' and fix Fortran parser to support the
2850 'extends' keyword (closes #2654492).
2851 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
2852 src/search.c, src/toolbar.c:
2856 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2858 * src/about.c, THANKS:
2859 Added Jari Rahkonen to list of Finnish translators.
2862 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2865 Adjust minimum required GTK version.
2866 * src/Makefile.am, wscript:
2867 Add main.h to the list of installed header files.
2868 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
2869 src/notebook.c, src/ui_utils.c:
2870 Remove GeanyDocumentPrivate::tabmenu_label.
2871 Disable the default tab bar menu for the main notebook widget and
2872 use a custom menu instead which lists all open files as usual plus
2873 'Close Other Documents' and 'Close All' menu items.
2876 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2878 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
2879 Move ui_set_search_entry_background() into ui_utils.c.
2880 Change the background colour of the search entries in the Find
2881 and Replace dialogs according to the search results like in the
2882 toolbar search field.
2883 Add images to the 'Replace' and 'Replace and Find' buttons in the
2885 Minor cleanups in search.c.
2886 * tagmanager/tm_source_file.c:
2887 Update source files upon creation.
2889 Update C tags for glibc 2.9.
2890 * src/callbacks.c, src/toolbar.c:
2891 Fix broken non-incremental search with the toolbar search entry when
2892 pressing Enter (closes #2638180).
2893 * plugins/splitwindow.c:
2894 Fix possible crash on non-32-bit systems (patch by
2895 Wolfgang Ocker, thanks).
2897 Update the Packager tag due to Dominic's various contributions.
2898 Update description and feature list.
2899 Change Source tag to the gzip'ed tarball to be in sync with the
2900 Makefile target (thanks to Wolfgang Ocker for reporting).
2903 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2905 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
2906 Removed deprecated plugin VC Diff
2909 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2912 Fix wrong Fortran 90 comment characters when inserting templates.
2913 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2914 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
2915 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
2917 Add 'Send Selection to Terminal' command to the Edit->Format menu
2918 (initial patch by David Gleich, thanks).
2919 * geany.glade, src/interface.c:
2920 Fix mnemonic for the Edit->Preferences menu item.
2923 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2925 * configure.in, plugins/Makefile.am:
2926 Enable socket support when cross-compiling.
2927 Enable plugin compilation when cross-compiling.
2929 Fix missing NULL checks when reading the colour value of compiler
2931 * src/main.c, src/win32.c, src/win32.h:
2932 On Windows, change the working directory to the Geany installation
2933 path at startup to avoid unwanted directory locking(closes #2626124).
2935 Fix broken selection of "Document->Set Encoding" menu items.
2936 * src/document.c, tagmanager/include/tm_source_file.h,
2937 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
2938 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
2939 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
2940 Don't let the tagmanager automatically reparse files if they
2941 seem to be changed on disk (affects all files in the current session,
2942 not the current one). This should speed up file saving a little bit,
2943 especially with remote files.
2944 Remove now unnecessary calls to tm_workspace_update().
2946 Allow an empty value for the date format in the print settings to
2947 omit the date/time string in the print header.
2950 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2952 * src/editor.c: Set cursor for LaTeX at auto closing of environment
2956 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2959 Add missing header include (closes #2615808).
2962 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2965 Fix a possible crash when comparing symbol names
2966 (could be related to Ubuntu bug #147151).
2967 Fix broken symbol list tooltips when tag names contain ampersands.
2970 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2972 * plugins/makefile.win32:
2973 Don't build Split Window plugin on Windows (doesn't work).
2976 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2978 * ChangeLog, Makefile.am: Rotate ChangeLog.
2979 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
2980 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
2981 Post-release version bump.
2984 *** See ChangeLog.pre-0-17 for earlier changes ***