1 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4 Add Xhacker Liu for his work at zh_CN translation to long list of
8 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
11 Remove unnecessary line number margin padding.
12 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
13 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
15 Improve word part autocompletion so AC list is not cancelled and
16 reshown (this also stops the selection changing).
17 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
19 Improve CamelCase word part autocompletion for runs of capital letters.
21 Don't complete snippets if there's a selection.
24 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
27 Fix crash opening project when Geany started with no geany.conf.
30 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
32 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
33 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
35 Add word part autocompletion for the current selected item when
36 pressing Tab - Enter still completes normally.
37 Add foreach_str() API macro.
38 Temporarily modify scintilla to say if tab was used for
40 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
41 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
42 plugins/classbuilder.c:
43 Revert r4301 - utils_free_pointers() taking 4 arguments.
44 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
45 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
46 plugins/splitwindow.c:
47 Add highlighting_set_styles() to API, use for Split Window plugin so
48 filetypes.common settings get set too.
49 Make highlighting_set_styles() take GeanyFiletype pointer instead of
51 * src/document.c, src/editor.c, plugins/splitwindow.c:
52 Call editor_apply_update_prefs() from editor_create_widget() so
53 correct tab width and other settings are applied for Split Window
57 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
60 Don't include trailing newlines when using reflow command.
62 Add stock close buttons to notebook tab popup menu.
63 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
64 plugins/geanyfunctions.h:
65 Add document_get_notebook_page() to API.
67 * data/templates/files/file.html, data/templates/files/file.php:
68 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
69 * src/interface.c, src/ui_utils.c, geany.glade:
70 Move Tools configuration items to top of menu.
71 * src/keybindings.c, src/search.c:
72 Fix warning when using Find in Files with no documents open; make
73 keybinding work in this case.
76 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
78 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
79 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
80 Make Split Window 'Show current document' button have a drop-down menu
81 to select the other documents.
82 Add new API function ui_menu_add_document_items().
85 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
88 Fix sensitivity settings for compile and build toolbar items.
91 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
94 Don't use filetype submenus for templates (slower to navigate, often
95 only 1 per-filetype anyway).
97 Put old filetype template menu items in 'Old' submenu as they should
98 be removed after the 0.19 release.
99 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
100 Add GeanyKeyGroup callback support, which allow keybinding callbacks
101 to be ignored if inappropriate so a later keybinding with the same
102 key combination can intercept it. (Also group callbacks are usually
103 tidier than separate callbacks).
104 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
105 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
106 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
107 plugins/classbuilder.c:
108 Make utils_free_pointers() take 4 arguments, add to API.
109 * src/templates.c, src/tools.c, src/ui_utils.c:
110 Fix memory leaks with gtk_container_get_children().
113 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
116 Ensure that old style build config is not loaded if it does not exist.
119 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
121 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
122 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
125 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
127 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
129 Apply set default encoding for existing files only if the files are
130 non-Unicode (patch by Alexey Antipov, thanks).
133 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
135 * src/highlighting.c:
136 Move new_styleset() and preprocessor setup code into styleset_c_like().
137 * src/highlighting.c:
138 Call apply_filetype_properties() from styleset_c_like().
141 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
143 * doc/geany.txt, doc/geany.html:
144 Improve information about predefined keybindings which are
145 commonly used across applications (patch by Lex Trotman, thanks).
147 Enable embedded page setup properties in the (Unix) Print dialog
148 on newer GTK versions (closes #2870596).
149 * src/highlighting.c:
150 Map global types (read from tags files) to keyword style for
154 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
157 Fix wrong creation of filetype template menu items for custom
159 * src/highlighting.c:
160 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
162 Group 'New with template' items by filetype submenu (currently only for
164 Show custom file template items before filetype template items.
165 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
167 Only use one 'New with template' submenu - reparent as needed.
169 Don't create templates/filetype.none either.
171 Warn if custom template file no longer exists.
174 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
177 Add missing icon for Java packages in the Symbol List.
180 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
182 * src/highlighting.c, data/filetypes.vala:
183 Add Vala keywords to conf file.
184 * src/templates.c, doc/geany.txt, doc/geany.html:
185 Read custom file templates from $prefix/share/geany/templates/files as
187 * src/templates.c, data/templates, data/templates/files,
188 data/templates/files/file.rb, data/templates/files/file.html,
189 data/templates/files/main.java, data/templates/files/main.c,
190 data/templates/files/main.cxx, data/templates/files/file.php,
191 data/templates/files/main.d, data/templates/files/program.pas,
192 data/templates/files/main.py, data/templates/files/file.tex,
193 wscript, Makefile.am:
194 Move filetype template defaults into custom file template files.
197 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
199 * src/symbols.c, tagmanager/perl.c:
200 Change Perl tag parser to ctags SVN r601. This removes support for
201 buggy local/my/our but it parses constant/format/labels and should
202 be less buggy overall (closes #2861232).
203 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
204 Add utils_get_file_list_full() which can optionally sort or include
205 a full path for each list item.
206 * src/utils.c, src/plugindata.h, src/plugins.c:
207 Add utils_get_file_list_full() to API.
210 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
212 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
213 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
214 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
215 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
216 po/POTFILES.in, wscript:
217 Rename treeviews.[hc] -> sidebar.[hc].
218 * data/filetypes.common:
219 Remove unused [styling] arguments.
220 * src/highlighting.c, data/filetypes.markdown,
221 data/filetypes.restructuredtext:
222 Remove style defaults from the code - just read them from
224 * src/highlighting.c, HACKING:
225 Add apply_style_entries() to simplify implementing styleset_foo().
226 * src/highlighting.c:
227 Remove filetype keyword defaults from the code - just read them from
229 * src/highlighting.c:
230 Add sci_set_keywords() wrapper.
233 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
235 * scripts/create_py_tags.py:
236 Make the code a bit more pythonic.
237 * doc/images/build_menu_commands_dialog.png,
238 doc/images/main_window.png:
239 Add new images referenced in the documentation.
240 * doc/geany.html, doc/geany.txt:
241 Several documentation improvements (patch by Lex Trotman, thanks).
243 Fix setting the appropriate page of the combined plugins
247 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
250 Only focus toolbar goto line entry when pressing keybinding if it's
251 visible (patch by Eugene Arshinov, thanks).
253 Focus editor after entering a number in the goto line toolbar entry.
255 Use AC_PATH_PROG instead of which for portability (patch by Erik
258 Show plugins that only implement plugin_configure_single() in the
259 multiple-configure dialog as a page with a configure button on it.
260 Add padding for multiple-configure dialog.
261 Make the multiple-configure dialog notebook tabs scrollable.
262 * src/pluginutils.c, src/pluginutils.h:
263 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
264 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
265 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
266 plugins/geanyfunctions.h, plugins/filebrowser.c:
267 Add plugin_show_configure() API utility function.
268 Add File Browser popup menu 'Preferences' item.
269 * src/highlighting.c:
270 Add get_keyfile_ints() instead of using tmp_style hack.
271 * src/highlighting.c, data/filetypes.xml:
272 Change new html_asp_default_language markup pref to use integer,
273 not hex in config file.
274 Fix minor issue with changing pref back to 0.
275 * src/highlighting.c:
276 Fix possible segfault in get_keyfile_int() if key value is malformed.
279 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
281 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
282 Add "html_asp_default_language" pseudo style to filetypes.xml
283 to allow setting the used language in embedded ASP code
284 (patch by Ross McKay, thanks).
286 Update VBScript keywords (patch by Ross McKay, thanks).
289 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
291 * src/keybindings.c, THANKS:
292 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
293 keybinding use line breaking column when enabled.
295 Fix showing the document before reload dialog when opening an
297 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
298 Add plugin_configure_single() plugin symbol which is easier to
299 implement than plugin_configure() but won't support a
300 multiple-plugin configure dialog.
302 Show multiple plugins in the 'Configure Plugins' dialog.
305 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
307 * doc/geany.txt, doc/geany.html:
308 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
310 * doc/geany.txt, doc/geany.html:
311 Add 'Toolbar entries' section.
312 * doc/geany.txt, doc/geany.html:
313 Update 'Go to line' keybinding description.
314 * doc/geany.txt, doc/geany.html:
315 Split keybinding table into group tables; update KB links.
318 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
321 Fix compiler warnings about uninitialised variables.
322 * src/callbacks.c, src/document.c:
323 When reloading files, use the previously set encoding instead of
324 detecting it again (closes #2862041).
326 Turn on automake silent rules if supported.
329 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
332 Speed up sorting in utils_get_file_list(). This reduces the file
333 browser delay on displaying a big directory, e.g. /usr/bin.
335 Expand command entry width when expanding Build Commands dialog.
337 Split Build Commands dialog notes label and edit text.
339 Add padding for Build Commands dialog separators.
340 Add colons for regex field labels; fix 1 capitalisation.
342 Fix none filetype Build Commands dialog label.
343 Make group labels bold.
344 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
346 Add & use ui_label_set_markup(), ui_label_new_bold().
347 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
348 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
349 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
350 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
352 Make 'Go to Line' keybinding focus the toolbar entry if visible.
355 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
357 * src/filetypes.c, src/filetypes.h, src/symbols.c,
358 tagmanager/parsers.h, tagmanager/makefile.win32,
359 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
360 data/filetype_extensions.conf, wscript:
361 Add new filetype: Abc (patch by Eric Forgeot, thanks).
363 Merge recent changes from the CTags project to further improve
367 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
370 Fix wrong alignment of printed pages when page headers are
371 disabled (closes #2856822).
372 Plug a small memory leak and improve function signature of
375 Save an if expression.
377 After clearing a text field using the embedded clear icon, put the
378 input focus into this text field.
381 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
383 * plugins/filebrowser.c:
384 Free file list memory whilst iterating the list.
385 Minor formatting fixes.
386 * src/utils.c, src/utils.h:
387 Add foreach_dir() API macro.
388 Update API docs for utils_get_file_list().
389 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
391 Remove queue.[hc] - use GQueue instead of GeanyQueue.
392 Beep if there are no more snippet positions.
393 Limit length of snippet positions queue to 20.
396 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
398 * src/keybindings.c, src/callbacks.c, src/search.c:
399 Make Goto Tag commands use the current selection if present (useful
400 for selecting part of a tag or for ReST section names with spaces
403 Don't move the cursor when reloading.
404 * src/plugindata.h, src/editor.c, src/editor.h:
405 Make editor_prefs.snippets hash table private (not a pref).
408 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
411 Remove deprecated --debug flag. Please use --verbose/-v instead.
414 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
417 Show Find in Files stderr output in messages window instead of
418 debug window so that invalid regex messages can be seen easily.
419 Combine FIF stdout and stderr callback code.
422 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
425 Fix opening filenames beginning with two dots (closes #2858487).
426 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
427 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
428 data/filetypes.common, geany.glade:
429 Update syntax highlighting after changing the 'Invert syntax
430 highlighting colors' pref, instead of requiring a restart.
431 Remove filetypes.common invert_all option - use 'Invert syntax
432 highlighting colors' pref instead (closes #2854525).
433 * src/prefs.c, src/dialogs.c, src/dialogs.h:
434 Add 'Allow' button when showing the conflicting keybinding dialog.
435 Make dialogs_show_question_full() use GTK dialog on Windows if
436 button text is not the stock yes/no items.
437 Add dialogs_show_prompt() which also has an 'Apply' button.
438 * src/queue.c, src/queue.h:
439 Add warning that GeanyQueue may be removed.
440 * src/keybindings.c, src/editor.c, src/editor.h:
441 Change snippet_goto_next_cursor() to
442 editor_goto_next_snippet_cursor() as it's in editor.h.
443 Avoid using GPOINTER_TO_INT macro.
446 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
449 Fix 'Reflow block' command when at the last paragraph and there's
450 no last newline (patch by Eugene Arshinov, thanks).
452 Add 'Compiler options & warnings' section.
453 Update Style section to be clearer about code alignment and show
458 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
460 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
461 src/plugindata.h, src/plugins.c, src/editor.c,
462 plugins/geanyfunctions.h:
463 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
464 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
466 Add sci_toggle_marker_at_line().
467 Fix SciFuncs alignment.
470 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
473 Fix erroneous free of returned string in prepare_run_script.
476 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
478 * data/filetypes.latex:
479 Changing default value for showing pdf and dvi to ensure to take
480 *.pdf and *.dvi file.
483 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
485 * src/about.c, THANKS:
486 Change language string for Slovenian translation.
489 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
491 * tagmanager/txt2tags.c:
492 Fix multi-byte character constant comparison.
494 Fix Gtk warning when trying to update documents popup menu item
495 sensitivity before they exist.
498 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
501 Improve the opening string in the plugin manager dialog.
503 Use "max-width" to set the document width of the generated
504 HTML documentation to let the text be auto-wrapped.
505 * src/prefs.c, src/tagmanager/include/guregex.h,
506 src/tagmanager/include/tm_tagmanager.h:
507 Remove trailing spaces (patch by André Hentschel, thanks).
509 Fix a compiler warning.
511 Fix crash when opening documents.
512 * src/build.c, src/build.h, src/project.c:
513 Adjust coding style (no code changes).
514 * src/build.c, src/project.c:
515 Use NZV() macro instead of strlen() to check for empty strings.
516 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
517 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
518 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
519 src/plugins.c, THANKS:
520 Add new plugin signal: "document-before-save".
521 Add get_line_end_position(), set_target_start(), set_target_end(),
522 replace_target() to the plugin API
523 (patch by Eugene Arshinov, thanks).
524 Add new plugin signal: "document-filetype-set" (closes #2852286).
525 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
526 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
527 tagmanager/Makefile.am, tagmanager/makefile.win32,
528 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
530 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
533 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
535 * src/treeviews.c, src/document.c:
536 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
537 Use gtk_notebook_set_current_page() instead of
538 document_open_file_full() when choosing an item from the documents
540 Avoid using goto in document_open_file_full().
543 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
545 * src/treeviews.c, src/document.c, src/document.h, THANKS:
546 Enable type-ahead find for sidebar symbols and documents tabs
547 (patch by Thomas Martitz, thanks).
549 Fix 2 free's of possibly uninitialized pointers.
552 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
554 * src/build.c, src/filetypes.h, src/filetypes.c
555 Only write filetype config files when build command or regex is
556 actually changed. Removed commented code in src/filetypes.c.
558 Ensure uses of filename are protected against nulls when running
559 a build command and give status message if not.
562 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
565 Remove plugin from plugin manager dialog on unloading if it no
566 longer exists or is incompatible.
569 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
572 Add warning if only one of the plugin_key_group[_info] symbols is
573 defined for a plugin.
574 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
575 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
577 Merge custom-filetypes branch:
578 Support adding custom filetype files e.g. filetypes.Foo.conf.
580 Allow GeanyFiletype::extension to be NULL.
581 Add note about using GeanyFiletype pointer instead of filetype_id
582 for filetypes.c function arguments.
583 Replace styleset_none() with styleset_default().
586 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
589 Show the sidebar if either the documents or the symbols list are
590 enabled (related to #1876107).
593 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
595 * src/build.c, src/filetypes.c:
596 Fix compiler warnings.
598 Fix removing leading double slashes in filenames which are used for
599 network resources on Windows (closes #2844085).
602 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
605 Fix Make keybindings (patch by Lex Trotman, thanks).
607 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
609 Mention Files link at top for header files; demoplugin.c.
610 Minor edits; remove 'far from being complete'.
611 * src/keyfile.c, src/keyfile.h, src/main.c,
612 data/filetype_extensions.conf, HACKING:
613 Remove --generate-data-files argument & code - just edit
614 filetype_extensions.conf by hand (filetype order was broken
616 Add *.H extension for C++ (useful for non-Windows systems).
619 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
622 Fix implementation of loading old project files with base
623 directories. Use project_make_base_path instead of re-
624 implementing. Now depends on project.c reading base dir
625 prior to calling load_build_menu.
627 Change usage of project base directory to conform with
628 previous documented behavior when loading old project files.
630 Change make custom and make object to ignore make in base path
631 when reading old project file settings. Changed some indent
632 spaces to tabs. Fix missing compile menu accelerator.
635 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
638 Add warning about not using undocumented features.
639 Add reference to HACKING for plugin API development.
641 Add section 'Plugin API/ABI design'.
642 * src/keybindings.h, src/makefile.win32, src/project.h,
643 src/filetypes.h, src/Makefile.am, wscript:
644 Use GEANY_PRIVATE to hide some fields from plugins.
646 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
647 * src/build.c, src/build.h, src/project.c:
648 Use build_ prefix for 3 functions in build.h; add a static modifier.
651 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
654 Improve parsing of PHP functions by requiring a valid modifier or
655 whitespace before the 'function' keyword to ignore some false
656 positives like function tags inside comments
657 (patch by Harold Aling, thanks).
658 * tagmanager/python.c:
659 Don't parse comments after import statements and other tags
660 (closes #2838938, patch by Huandari Lopez, thanks).
663 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
665 * data/filetypes.markdown:
666 Add filetypes.markdown for configuration (thanks to Jon Strait).
667 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
668 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
669 plugins/geanyfunctions.h:
670 Remove GeanyKeyGroup struct from the API - plugins should not set
672 Make keybindings_set_item() duplicate the name and label fields
673 (needed by GeanyLua) and return a keybinding pointer.
674 Add keybindings_get_item() to the API (in case it's useful).
675 Move some keybinding code out of plugin source files.
678 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
680 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
681 Don't generate build.h API docs until everything is approved and
682 functions are actually in geany_functions.
683 Move new GeanyFiletype and GeanyProject field(s) to end of struct
684 as they may be changed or made private later.
685 Break ABI for fields removed.
688 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
690 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
691 src/keyfile.c, src/project.c
692 Changed names of symbols visible in build API to GEANY_xxx.
695 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
697 * src/project.h, src/project.c, src/build.c
698 Remove make_in_base_dir and run_cmd fields from project structure.
699 Replaced by build functionality. Remove incorrect use in src/build.c
700 build_run_cmd function.
703 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
705 * src/project.h, src/project.c
706 Removed unused project_get_make_dir function, this is now per
710 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
712 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
713 Fix some more warnings.
714 Fix commented out execute/stop toolbar code in build.c.
715 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
716 Changed build.h api so all functions prefixed with build_.
719 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
721 * src/build.c, src/build.h, src/project.c:
722 Fix some gcc warnings with '-Wall -W -ansi' enabled.
725 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
728 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
729 when reading old format configuration & project files.
730 * src/build.c, src/project.c
731 Fixed GLib array assertion warnings when no project filetypes are
732 available to be saved.
734 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
740 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
742 * src/build.h, src/build.c, src/project.c
743 Created and documented plugins interface to build menu.
744 Factored out new get_cmd_group function.
745 Changed name of remove_command function to be consistent with the rest
746 of the interface & changed calls in project.c.
747 * src/Makefile.am, wscript
748 Added build.h to installed files lists.
750 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
753 Updated manual to match build-menu capability.
756 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
758 * src/build.c, src/build.h
759 Added set_build_non_ft_wd_to_proj() for use by project dialog.
760 Improved interpretation of run_in_base_dir from old [build-settings]
761 Added spacing to build commands dialog
763 Removed run in base path option from project dialog and added button to
764 set working directories to d the same.
767 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
770 Re-incorporated toolbar changes in trunk accidently excluded in merge
772 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
775 Fixed substitute %f etc in commands
776 Fixed potential leak in build_replace_placeholder
777 Fixed leak in prepare_run_script (Thanks for patch Thomas)
778 Fixed build_replace_placeholder to not require document.
780 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
782 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
783 Fixed crash and lots of warnings, deleted some commented out code.
784 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
785 Removed make command from preferences and associated code
787 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
789 * src/build.c, src/build.h
790 Incorporated patch for working directory field (thanks Thomas)
791 Removed run_in_base_dir option and associated code that it replaces
792 Improved handling of old config files and mapping to new ones.
794 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
796 * src/build.h, src/build.c
797 Changed to itterate over entries in build commands dialog to allow
798 additional fields to be added
799 Implement support for multiple run commands
800 * data/filetypes.latex
801 Implement configured commands and labels for latex.
804 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
806 * src/build.h, src/build.c
807 added dialog support for error regular expressions from multiple sources
808 and storing and loading them
809 fixed some typos and memory leaks
810 * src/filetypes.c, src/filetypes.h, project.c
811 added support for using error regexes from multiple sources
814 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
816 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
818 Removal of build menu item source made redundant by the following fix
820 Corrected priority oreder and loading of filetype dependent build
821 menu items saved in the project file. Added print routine for
822 debugging command sources and priorities set compile symbol
823 PRINTBUILDCMDS true to enable
825 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
828 fixed problem loading old format filetype files, some formatting fixes
829 fixed saving new format files
830 added operation for clear button on build commands dialog
832 fixed loading and saving filetype files
835 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
837 Configurable Build Menu Changes
839 * doc/geany.html, doc/geany.txt:
840 Updated build menu section to new functionality
841 * src/build.h, src/build.c:
842 Largly re-written, configurability added, Latex code removed
843 * src/filetypes.h, src/filetypes.c:
844 Filetype structure updated to add new command pointers, configuration
845 load and store changed
846 * src/keybindings.h, src/keybindings.c:
847 Changed to address new command storage structure.
849 Changed to load/store new configuration.
851 Minor change to initialisation order.
853 Changed to address new menu item storage structure.
854 * src/project.h, src/project.c:
855 Changed to load/store the new configuration info.
857 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
859 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
860 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
861 doc/pluginsymbols.c, plugins/geanyfunctions.h,
862 plugins/splitwindow.c:
863 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
864 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
865 the ABI when adding fields to them.
866 Add plugin_set_key_group() for plugins to dynamically set a
867 keybinding group (e.g. for the Lua script plugin). Used in Split
868 Window plugin as an example.
869 Improve keybinding docs a little.
872 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
874 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
875 Add geanyfunctions.h to API docs.
876 * plugins/splitwindow.c:
877 Set the cursor color for the split window.
880 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
883 Fix 'Open Selected File' for unsaved new documents.
884 * src/keybindings.c, src/keybindings.h, src/prefs.c:
885 Fix updating main menu accelerators after changing keybindings
886 (thanks to Lex Trotman).
888 Fix using 'Insert date' keybinding when a custom date string has
890 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
891 Merge Plugin and GeanyPluginPrivate structs.
894 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
897 Fix non-working Home and End keys on numpads.
900 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
902 * doc/geany.txt, doc/geany.html, NEWS:
903 Add 'Scope autocompletion' section.
904 Add 'Tools menu items' section to explain configuration files
905 submenu, reload configuration item.
909 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
912 Add a translation hint to an ambiguous format string.
914 Add missing include path to fix 'make distcheck'.
916 Fix opening of local files in the browser on Windows.
917 * New release: Geany 0.18 "Kaine".
918 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
919 src/geany.h, doc/geany.html, doc/geany.txt:
920 Post-release version bump.
923 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
926 Temporarily disable reshowing calltips when the autocompletion
927 list was closed implicitly by not choosing an item to fix
928 problems with wrongly displayed calltips.
930 Add missing 'coding' cookie to the Python filetype template.
931 * doc/images/pref_dialog_edit_completions.png,
932 doc/images/pref_dialog_toolbar.png:
933 Update images for Geany 0.18.
936 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
939 Add command '--hackingdoc' to create the HTML form of the
943 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
945 * po/pt_PT.po, po/LINGUAS:
946 Added a first Portugese (Portugal) translation based on work done at
947 launchpad by e.g. André Glória and Alexandre Jesus.
948 * src/main.c: Fix a minor typo on --help call.
951 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
953 * src/highlighting.c:
954 Call get_keyfile_wordchars() in highlighting_init_styles().
957 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
959 * data/filetypes.ada:
962 Switching notebook tabs now works for the currently used notebook
963 widget instead of always using the documents notebook.
964 * src/document.c, src/document.h, src/documentprivate.h,
966 Small corrections to some API docs.
969 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
971 * src/build.c, src/win32.h, src/win32.c:
972 Expand system environment variables (%variableName%) on Windows when
973 running Build commands.
976 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
979 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
980 future using an indent block is more useful e.g. for ChangeLog
982 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
983 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
984 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
985 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
986 tagmanager/parsers.h, tagmanager/makefile.win32,
987 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
988 Add Markdown filetype (patch by Jon Strait, thanks).
989 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
990 Fix disconnecting plugin signal id when not using geany_object.
992 Add filetype_make_title() instead of using:
993 ft->title = g_strdup_printf(_("%s source file"), ft->name);
994 It also supports "%s file" strings.
997 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
999 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
1000 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1001 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
1002 plugins/filebrowser.c:
1003 Add plugin_signal_connect() for connecting plugin signals at
1004 runtime and also for connecting to any GObject signal.
1005 Add 'Plugin Utility Functions' on main page.
1006 Add foreach_array() macro.
1007 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1008 src/document.c, src/editor.c:
1009 Rename 3 sci functions to sci_set_target_start(),
1010 sci_set_target_end(), sci_replace_target() to match the SCI_
1014 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1016 * wscript: Fix compiling error with waf.
1019 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1021 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
1022 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1023 src/Makefile.am, wscript:
1024 Move plugin_* utility functions to pluginutils.c.
1025 Add pluginprivate.h.
1027 Fix reshowing calltip in the wrong document.
1030 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1032 * doc/geany.txt, doc/geany.html:
1033 Add some general information about auto-completion capabilities
1034 (patch by Lex Trotman, thanks).
1037 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1039 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
1040 Added a first Slovenian translation. Thanks to Joze Klepec.
1043 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1045 * src/highlighting.c:
1046 Use full styleset_foo[_init] function name as argument to
1047 init_styleset_case() and styleset_case() macros so it's easier to
1048 understand the code.
1049 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
1050 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
1051 doc/geany.txt, doc/geany.html:
1052 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
1053 Heavily based on a patch by Eugene Arshinov (thanks).
1054 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
1055 editor_strip_line_trailing_spaces().
1058 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1061 Attempt to fix reshowing calltips after the autocompletion list
1063 Reshow calltips also when the autocompletion list was closed
1064 implicitly by not choosing an item.
1066 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1068 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
1069 plugins/splitwindow.c:
1070 Change utils_str_remove_chars() to work in place; fix allocating on
1071 the stack (the string length could exhaust the stack size).
1072 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1073 src/printing.c, src/callbacks.c:
1074 Rename utils_str_replace() utils_str_replace_all(), setting a
1075 'gchar **haystack' argument instead of returning a new string.
1077 For the Tabs indent type, remove spaces when unindenting (only) if
1078 there are no tabs on the line.
1079 Group undo actions for (un)indenting of multiple lines.
1080 * src/document.c, src/editor.c:
1081 Fix scrolling horizontally after finding a search match with the
1082 search bar or Find Next/Previous which is off-screen.
1083 * src/keybindings.c:
1084 Fix GLib warning when pressing a key with no documents open.
1087 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1090 Start unifying usage of @a and @c markup elements in API docs,
1092 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1093 Show/hide the toolbar without a restart when the setting in the
1094 preferences dialog is changed (closes #2824785).
1095 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
1096 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
1097 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
1099 Continue unifying usage of @a and @c markup elements in API docs.
1102 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1105 Remove relative/untidy path elements when creating new documents
1106 with a filename (e.g. from the command-line) (#2823998).
1109 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1112 Disable 'Recent Projects' menu item if the list of recent projects
1115 Fix some harmless compiler warnings.
1116 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
1117 src/plugins.c, src/utils.c, src/utils.h:
1118 Move utils_str_remove_chars() from the plugins/splitwindow.c to
1119 src/utils.c and add it to the plugin API.
1120 Make utils_str_remove_chars() work on a new copy of the input string
1121 instead of modifying it in place.
1123 Remove underscores from the toolbar items labels.
1126 * plugins/splitwindow.c:
1127 Fix broken 'Show the current document' tool button icon.
1130 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1132 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
1134 Add stash_group_add_widget_property() so we can save any widget's
1135 read/write properties.
1136 Use Stash for ui_prefs.sidebar_page setting.
1137 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
1138 Make foreach_ptr_array() use an integer argument for its
1139 implementation, as this is more useful potentially than a gpointer*
1140 argument, and more straightforward.
1141 Add foreach_c_array(), foreach_ptr_array() to API.
1142 * src/utils.c, src/utils.h, src/document.c:
1143 Remove relative/untidy path elements when opening documents (closes
1146 Fix showing project name for documents list files with no
1147 subdirectory (oops).
1149 Fix checking whether to overwrite when using the Rename button in
1150 the 'Save As' dialog.
1153 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1156 Don't use the main window as parent for dialog boxes if it is not
1158 Set titles for message dialogs.
1161 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1164 Display item labels instead of raw names in the toolbar editor.
1165 Apply changes in the toolbar editor instantly.
1166 Show icons in the toolbar editor.
1167 Speed up toolbar editor dialog creation.
1169 Improve inserting of comment templates like File header or licence
1170 notices. The comment information are now read from the filetype
1171 configuration files.
1173 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1176 Enable file monitoring for files which are written to disk by Geany
1179 Fix broken special case handling when detecting filetypes from a
1180 shebang or other special file headers.
1183 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1186 Make Mark All keybinding clear search highlighting when there's no
1189 Fix wrong match length when using Mark with regex.
1190 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
1191 src/keyfile.c, src/main.c:
1192 Add 'Show Paths' documents list popup item.
1193 Add "load_settings" core-only signal emitted just after loading
1194 main keyfile settings; useful to delay building UI elements until
1195 settings have been read.
1197 Fix GTK warning when right-clicking on default tag tree.
1198 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
1199 Add treeviews_finalize().
1200 Remove tv.popup_openfiles field.
1203 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1205 * src/highlighting.c:
1206 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
1209 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1212 Quote the uri before passing it to the browser when opening a
1213 website (closes #2818635).
1215 Fix broken 'builtin' Run command for HTML files on Windows.
1218 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1221 Properly fix wrong brace highlighting of non-brace character.
1223 Allow autocompletion in Perl double-quoted strings.
1224 Don't autocomplete in Perl single-quoted strings (closes #2821061).
1225 Don't autocomplete in Perl q() strings.
1226 * data/filetypes.common:
1227 Make Mark highlighting brighter.
1228 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1229 Use hyphen for auto-feature terms.
1230 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
1231 src/document.h, src/main.c:
1232 Add documents_foreach() API macro that skips invalid docs.
1233 Make filetypes[], documents[] part of the API again.
1234 Add GEANY() macro for sharing geany symbols between API and core.
1235 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
1236 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
1237 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
1238 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
1239 plugins/classbuilder.c, wscript:
1240 Add geanyplugin.h single include for plugin API; update all core
1242 Add sci_set_font() to API.
1243 Update plugin howto.
1244 * src/filetypes.c, src/filetypes.h:
1245 Remove filetypes_foreach_named().
1248 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1250 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
1251 src/document.h, src/main.c, THANKS:
1252 Apply patch from Eugene Arshinov to reload color schemes via menu
1255 Reload filetypes.common after saving it.
1257 Improve wrong brace highlighting of non-brace character.
1260 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1263 Delay highlighting matching braces by 100ms, which speeds up
1264 scrolling with the arrow keys.
1265 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
1266 Add 'Mark All' keybinding.
1267 * tagmanager/diff.c:
1268 Show relative paths in diff filename tags.
1271 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1273 * src/highlighting.c:
1274 Fix setting keyword list 'classes' for Haxe
1275 (pointed out by Andreas Mokros, thanks).
1278 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1280 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
1281 doc/geany.txt, doc/geany.html, geany.glade:
1282 Add 'Drop rest of word on completion' pref.
1283 * src/editor.c, doc/geany.txt, doc/geany.html:
1284 If autocompletion is already visible when forcing completion, show
1285 document word completion instead of tag completion.
1286 Docs: Minor edits of related prefs items.
1287 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
1288 Add warning when printing and editor font is not monospaced.
1289 Fix using GtkMessageType instead of gint param for
1290 dialogs_show_msgbox*().
1291 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
1293 Support 'tab indents, space aligns' style for auto-indentation
1297 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1299 * src/document.c, src/documentprivate.h:
1300 Rework the GIO based file monitoring code. Now it is used only
1301 to indicate a possible change of the file, the real check if the
1302 file has been changed is performed by stat().
1303 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
1304 Add style 'line_height' to increase the line height.
1305 Add style 'marker_mark' and change style 'marker_search' to
1306 define the style used for marked search results.
1307 * doc/geany.txt, doc/geany.html:
1308 Add the new 'Autocomplete all words in document' pref to the docs.
1311 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1313 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
1314 doc/geany.txt, doc/geany.html, geany.glade, TODO:
1315 Add 'Autocomplete all words in document' pref.
1316 Use 'autocompletion' in dialog and docs, not 'auto completion'.
1318 Fix limiting number of word completion entries too much.
1319 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
1320 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
1321 Show autocompletion icons for tag symbols - for now only tags with
1322 an arglist have the 'function/method' icon, all others have the
1324 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
1326 * src/highlighting.c:
1327 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
1331 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1333 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
1334 Fix removing underscores in translated string using no_underscore()
1336 Set a tooltip for the Split Window plugin's Show Current tool button.
1337 Add utils_strdupa() macro.
1338 * src/interface.c, geany.glade:
1339 Use stock Select All icon now we have >= GTK 2.8.
1341 Fix using project name for document items that start with the
1342 project base path but don't match it e.g. ".../geany-plugins"
1343 instead of ".../geany" when project name is 'geany'.
1346 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1349 Fix warnings when the toolbar does not contain the Run button.
1351 Fix wrong parsing of complex expressions in the Lua parser.
1352 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
1354 Remove unnecessary enums.
1355 * scintilla/*, scintilla/include/*, src/plugindata.h:
1356 Update Scintilla to version 1.79.
1357 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
1359 Use the new Scintilla struct names prefixed with 'Sci_'.
1360 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
1362 Add second argument to the 'line_wrap_indent' styling setting to
1363 control the new Scintilla indentation mode for wrapped lines.
1365 Properly close the toolbar editor on delete-events.
1366 Fix warnings and possible crashes in the toolbar editor when the list
1367 of displayed toolbar items is empty.
1368 * data/filetypes.tcl:
1369 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
1371 Make the plugin manager dialog a bit bigger.
1374 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1376 * doc/geany.html, doc/geany.txt:
1377 Fix wrong default values for the 'Show Calltip' keybinding.
1380 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1382 * data/filetypes.tcl, src/symbols.c:
1383 Fix duplicate "context_action_cmd" key.
1384 Use different icons for "Methods" and "Procedures" in the symbol
1387 Fix a small memory leak.
1388 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
1389 src/keybindings.h, src/plugindata.h:
1390 Make the Scintilla keybindings 'Delete to end of line' and
1391 'Go to end of display line' configurable.
1393 Fix a typo (closes #2813624).
1396 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1398 * tagmanager/tcl.c, src/symbol.c:
1399 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
1400 methods and namespaces).
1401 Patch by Witek Mozga, thanks.
1404 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1406 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
1407 src/toolbar.c, src/toolbar.h:
1408 Remove ui_toolbar.xml Configuration Files menu item.
1409 Add a real toolbar editor dialog.
1410 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1412 Add a button in the preferences dialog and an item for the toolbar
1413 popup menu to run the toolbar editor dialog.
1416 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1419 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
1420 Fix using locale encoding for default Save As dialog path.
1422 Beep when trying to activate the '...' autocompletion item.
1423 Limit (forced) document word completion to
1424 autocompletion_max_entries.
1425 Beep if no completions are shown when forcing autocompletion.
1428 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1430 * data/ui_toolbar.xml, src/toolbar.c:
1431 Add 'Build' toolbar button to the default layout.
1434 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1437 If forcing autocompletion and there's nothing else to show, complete
1438 from words in the current document (using code from Enrico's
1439 'AutoComplete Test' plugin).
1442 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1445 Add debug message if plugin has not set a name for its keybinding
1447 * data/filetype_extensions.conf:
1448 Add *.m4 for shell scripts.
1451 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1453 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1454 data/filetypes.common, TODO:
1455 Make filetypes.common named styles use the "default" named style for
1456 all missing style fields.
1457 Set named styles to usually leave the background style empty. This
1458 currently allows C-like filetypes to have a common default
1460 Allow hard-coded colors to use -1 for the default color.
1461 Add some highlighting style examples to the manual.
1464 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1467 Create initial template files with proper platform-specific line
1471 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1473 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
1474 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
1475 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
1476 src/ui_utils.c, src/ui_utils.h:
1477 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
1479 Refactor some related code.
1480 * tagmanager/conf.c:
1481 Strip trailing spaces from "Key" tags.
1483 Quote the full filename to the Geany executable when creating the
1484 "Open with Geany" context menu item.
1485 * plugins/splitwindow.c:
1486 Avoid using deprecated GTK API.
1487 * src/log.c, src/main.c:
1488 Properly clean up the logging mechanism.
1490 Fix LaTeX view commands on Windows (part of #2807688).
1492 Add a popup menu for the keybinding list in the preferences dialog
1493 to easily expand and collapse all groups.
1494 Refactor the keybindings code for the preferences dialog, prefix all
1496 * src/main.c, src/ui_utils.c, src/ui_utils.h:
1497 Init stock items before creating the toolbar (closes #2809324).
1499 Generate the geany.pc file also on Windows.
1501 Invert the logic to determine which Save All we want to use:
1502 Use the Tango like icon only for the Tango theme and the Gnome / GTK
1503 like icon for any other themes.
1506 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1508 * src/highlighting.c, README.Packagers, HACKING:
1509 Remove gsd_* default styles, use named styles instead.
1510 Note: this relies on filetypes.common being installed.
1511 Add load_style_entries(), which makes style initialization
1512 simpler, used in styleset_c_like_init().
1515 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1518 Prevent possible crash on Windows when not setting an initial
1519 directory for native File Open/Save dialogs.
1520 * data/filetypes.xml, src/highlighting.c:
1521 Add style 'jscript_regex' for filetype HTML
1522 (patch by Chris Macksey, thanks).
1525 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1527 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
1528 Make GeanyDocument::file_type always be non-NULL, even for a new
1529 document with no filetype set.
1531 Only autocomplete scope for scopes matching the current filetype's
1533 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
1534 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
1535 data/filetypes.actionscript, data/filetypes.cs,
1536 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
1537 data/filetypes.javascript, HACKING:
1538 Make C++, D lexer filetypes use named styles (apart from uuid,
1539 verbatim, regex styles).
1542 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1545 Don't explicitly change the current directory of the Save As dialog
1546 so that it uses the last used directory.
1549 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1551 * src/encodings.c, src/encodings.h, src/plugindata.h:
1552 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
1555 When completing from the macro list, put the cursor after
1559 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1561 * tagmanager/pascal.c:
1562 Fix type definitions being parsed as functions.
1564 Don't autocomplete in unterminated strings as well.
1565 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
1566 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
1567 Remove data_ptr argument to foreach_[s]list() macros, as using
1568 node->data is enough sometimes; this makes the macro a bit more
1570 Add foreach_[s]list() macros to the plugin API docs.
1573 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1575 * scintilla/LexPascal.cxx:
1576 Backport fix from Scintilla CVS:
1577 Pascal lexer hanging on file that starts with 'interface' after
1581 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1584 Update Waf to 1.5.7.
1586 Overwrite installation prefix on Windows only if it wasn't
1587 specified explicitly.
1590 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1593 Display calltips for Pascal symbols in the Pascal way (#2803945).
1594 * tagmanager/pascal.c:
1595 Fix wrongly set return values for procedures (closes #2803945).
1596 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
1597 tagmanager/include/tm_source_file.h,
1598 tagmanager/include/tm_workspace.h:
1599 Fix doxygen warnings.
1602 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1604 * src/editor.c, tagmanager/include/tm_workspace.h,
1605 tagmanager/tm_workspace.c, TODO:
1606 Autocomplete scoped fields like struct members when typing '.' (and
1607 also '->' or '::' in C/C++).
1608 Save all tag types for C/C++ when generating a global tags file, so
1609 we can use autocompletion for structs also.
1610 Merge tm_workspace_find_scope_members(),
1611 tm_workspace_find_namespace_members() (currently not built) from
1612 Anjuta 2.24.1 tagmanager.
1615 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1617 * tagmanager/pascal.c:
1618 Parse Pascal calltips (closes #2802640).
1621 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1623 * src/filetypes.c, src/ui_utils.c:
1624 Add filetypes.common Configuration Files menu item.
1627 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1630 Add backslash to the wordchars on Windows when using
1631 'Open Selected File'.
1633 Add support (configure, build and install) for building on Windows
1634 and cross-compiling for Windows using the Waf build system.
1637 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1640 Set status bar text instead of showing a dialog when saving
1641 ui_toolbar.xml because the user might save several times.
1643 Fix redrawing due to colourising just after the document is first
1644 drawn. Now colourising should happen before the first draw.
1645 * src/utils.c, src/highlighting.c, data/filetypes.common:
1646 Fix segfault on parsing a filetypes.* style definition that has < 4
1648 Allow style definitions to have missing fields to use the default
1652 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1654 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
1655 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
1656 * plugins/classbuilder.c:
1657 Fix wrongly created header guards when the class filenames contains
1658 dashes (patch by PCMan, thanks).
1659 * data/filetypes.matlab:
1660 Add build_settings section to allow executing Matlab scripts.
1662 When closing a document, mark it as invalid before removing it from
1663 the documents notebook (this fixes wrong Save All button state when
1664 closing an unsaved document because the "switch-page" signal handler
1665 was using old data).
1668 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1670 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1671 Support toggling bold/italic when using a named style, e.g.:
1672 commentdockeyword=commentdoc,bold,italic
1673 Improve named style docs.
1676 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1678 * src/build.c, src/editor.c:
1679 Fix crashes when parsing the output of a compiler which reports
1683 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1685 * src/highlighting.c:
1686 Support named styles also for filetypes.common [styling] entries.
1687 * doc/geany.txt, doc/geany.html, HACKING:
1688 Update docs for named styles in filetypes.* files.
1690 Fix grouping symbol list children when parent name has "." character
1691 in for reStructuredText and Conf filetypes.
1692 * tagmanager/python.c:
1693 Fix grouping functions/classes under a nested function.
1696 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1699 Adjust icon paths (patch by Dominic Hopf, thanks).
1700 * doc/geany.txt, doc/geany.html, src/toolbar.c:
1701 Add 'Replace' toolbar button (closes #2798225).
1704 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1706 * src/utils.c, src/highlighting.c, TODO:
1707 Implement named styles support for filetypes.* using a
1708 filetypes.common [named_styles] section e.g.:
1709 foo=0xc00000;0xffffff;false;true
1711 These can be used in e.g. filetypes.c as:
1715 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1718 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
1721 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1723 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
1724 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
1727 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1730 Remove quote_executable() as it is not used anymore.
1731 When creating the geany_run_script.bat use the "%0" variable
1732 expansion and quote it for the "del" command (closes #2797172).
1734 On Windows, fallback to the literal build command line if searching
1735 for the command in the system path failed (related to #2795923).
1736 Properly terminate the resulting strings when reading the stdout
1737 and stderr of any spawned commands on Windows.
1740 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1743 Use the wide character versions of native Windows File dialogs.
1745 Fix wrong initialisation of the default project path button callback
1746 in the preferences dialog.
1747 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
1748 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
1749 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
1750 icons/Makefile.am, icons/geany.ico, icons/scalable,
1751 icons/scalable/Makefile.am, icons/scalable/geany.svg,
1753 Move the icons geany.png and geany.ico into the icons directory.
1754 Add a 16x16 pixel Geany icon and the scalable SVG icon.
1755 Drop the pixmaps directory.
1758 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1760 * src/keybindings.c:
1761 Improve MRU document switching so there are no duplicates in the
1762 list and documents switched to whilst the dialog is open are
1763 ignored. Also beep when cycling through to the first document in the
1767 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1770 Fix broken 'Cancel' button in the Save As dialog.
1773 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1776 Fix multiline indent when selection covers text on the last line.
1778 Show current document in bold in tab popup menu.
1779 * src/editor.c, tagmanager/python.c, TODO:
1780 Parse Python calltips.
1783 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1785 * src/symbols.c, tagmanager/python.c:
1786 Parse Python import statements to get symbol completion for the
1787 imported module names.
1788 * src/editor.c, src/editor.h:
1789 Make some only locally used functions static.
1790 Fix wrong sanity check.
1792 Fix quoting the build command string on Windows (closes #2791769).
1793 This broke when we made build commands run synchronously on Windows,
1794 now we don't need to special quote the commands anymore.
1797 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1800 Drop rest of word to the right of cursor when autocompleting (do we
1801 need a pref for this?).
1804 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1806 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1807 Add sci_set_selection().
1808 * doc/geany.txt, doc/geany.html:
1809 Update manual for MRU switching.
1810 * src/callbacks.c, src/editor.c, src/editor.h:
1811 Make indenting with the Tabs indent type preserve spaces on the line,
1812 so it works for the 'tab indents, space aligns' formatting style.
1815 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1817 * tagmanager/python.c:
1818 Fix missing symbols for variables when an equal sign is used
1819 in a comment on the same line as the variable declaration.
1820 Backport change from CTags SVN to keep the parser more in sync:
1821 Add support for Cython constructs to the Python parser.
1823 Remember the additional Find in Files search flags at startup.
1825 Don't close the Save As dialog when saving the file didn't succeed.
1828 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1831 Remember scribble cursor position.
1832 * src/keybindings.c, TODO:
1833 Implement Most-Recently-Used document switching when pressing
1834 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
1837 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1839 * data/latex.tags: Added some more commands from unit.sty and
1843 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1845 * src/symbols.c, doc/geany.txt, doc/geany.html,
1846 tagmanager/makefile.win32, tagmanager/nestlevel.c,
1847 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
1848 tagmanager/Makefile.am, wscript:
1849 Merge unstable branch:
1850 Add reStructuredText scope information for tags (for symbol list
1852 Read custom system global tags files from $prefix/share/geany/tags;
1854 Show the number of tags in a user global tags file (instead of the
1855 running total) in the debug message.
1856 Also print debug messages when loading a tag file manually or for
1857 default global tags files e.g. python.tags.
1859 Move NestingLevel tags code into a separate file, add functions.
1861 Add 'Installation prefix' section instead of quoting '/usr/local'
1863 Update for custom system global tags files.
1866 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1868 * src/highlighting.c:
1869 Unset maybe previously keywords when setting up Scintilla for
1870 XML files. This fixed wrong highlighting after switching back to
1871 filetype XML from another one.
1873 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
1874 is only used when explicitly requested.
1876 Remove unnecessary call to g_intern_string() to fix build with
1877 GLib 2.8 (closes #2790051).
1880 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1883 Make the clear icon of entry fields act on the release event, not
1884 on the press event like for other buttons.
1886 Refactor some multiple used code into get_multiline_comment_style().
1888 Create parent directories if necessary when checking for the
1889 configuration directory on startup (closes #2784577).
1892 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1894 * plugins/filebrowser.c:
1895 When a filter is set, apply it only to files, not directories and
1896 apply the filter to the UTF-8 name of the file as the filter string
1897 itself is also UTF-8.
1898 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
1899 Add utils_color_invert() and use it in highlighting.c and printing.c.
1900 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
1901 Backport change from Scintilla CVS:
1902 Change capitalisation of header file to suit cross-compilation on
1906 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1908 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
1909 Update Scintilla to version 1.78.
1910 * src/editor.c, src/highlighting.c:
1911 Update Pascal styles as they changed in Scintilla.
1914 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1917 Ignore the invert syntax highlighting colours setting when printing
1918 to not print characters on a dark background (closes #2785244).
1919 * New release: Geany 0.17 "Wessex".
1920 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
1921 src/geany.h, doc/geany.html, doc/geany.txt:
1922 Post-release version bump.
1925 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1927 * src/callbacks.c, src/callbacks.h, src/main.c:
1928 Update the View->Fullscreen menu item when fullscreen state is
1929 changed externally (e.g. by the window manager).
1931 Fix passing wrong pointer to the File Open dialog for the Run
1932 command in the Project Properties dialog.
1935 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1937 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
1939 Remember the active sidebar page between sessions.
1941 Add a recent project item after creating a new project.
1942 * tagmanager/ruby.c:
1943 Fix wrong parsing of string literals (closes #2781264).
1945 Fix setting focus to the editor widget after changing the selection
1949 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1952 Prevent crashes when two or more top level items in the symbol
1953 list have the same name (closes #2778246).
1956 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1958 * src/keybindings.c:
1959 Manually show the main notebook tab bar menu when Shift-F10 is
1960 pressed. This broke when we disabled the default GTK tab bar menu.
1962 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
1963 which was reloaded shortly before.
1965 When the editor menu is opened by the Menu key, use the text cursor
1966 position for retrieving the current word. This fixes disabled
1967 Go to Tag items in the menu (#2780044).
1969 Set the "ellipsize" property of GtkCellRendererText to automatically
1970 shorten the path and file names in the Documents list.
1971 * doc/geany.html, doc/geany.txt, src/build.h:
1972 Increase the amount of highlighted build error messages to 100.
1973 At least for LaTeX we need higher values as there is a lot of
1974 informative output before any errors are reported.
1975 * src/filebrowser.c:
1976 Use the startup path as the initial directory for the filebrowser
1977 plugin when no project and no files are opened
1978 (patch by Matias Gea, thanks; closes #2780521).
1981 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1983 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
1984 src/utils.c, src/utils.h:
1985 Ellipsize tab labels and some status messages for very long
1986 filenames (closes #2777348).
1987 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
1988 Add utils_str_middle_truncate() and
1989 document_get_basename_for_display() to the plugin API.
1990 * doc/geany.html, doc/geany.txt, src/toolbar.c:
1991 Add new toolbar element: Print (patch by Roland Baudin, thanks).
1992 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
1994 Add a hidden preference 'use_safe_file_saving' to save files to disk
1995 by creating a temporary file first. This has serious side effects,
1996 please read the documentation before enabling this.
1998 Make build commands on Windows run synchronously to avoid problems
1999 with reading build commands' output.
2000 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
2001 Limit the amount of highlighted build error messages in the
2002 Compiler window to 50 for performance reasons.
2005 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2007 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
2009 Replace our own GEANY_KEYS_MODIFIER_MASK by
2010 gtk_accelerator_get_default_mod_mask() which gives the same result.
2011 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
2012 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
2013 Add a trivial symbol parser for NSIS files.
2016 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2019 Hide the extra file open dialog options in an expander to make the
2020 dialog more compact by default and to provide more space for the
2022 Remove the filename field as it is also provided by GTK itself with
2023 more features like auto-completion.
2024 Watch the 'show-hidden' property of the file chooser widget using
2025 GObject's "notify" signal which gives accurate results and remove
2026 the hack using the "selection-changed" signal.
2029 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2031 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
2032 Prevent double execution of radio menu item "activate" or "toggled"
2034 Move 'Set Encoding' callback function into encodings.c.
2037 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2040 Add some missing 'void's in function definitions.
2041 If the project base path is './', just use the path of the project
2042 config file instead of appending './'.
2043 * src/treeviews.c, src/project.c:
2044 When a project is loaded, replace the project base path with the
2045 project name in the Documents sidebar for parent items
2049 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2051 * src/keyfile.c, src/keyfile.h, src/project.c:
2052 Fix duplicating the recent files and projects lists when closing
2054 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
2055 src/editor.c, src/encodings.c, src/filetypes.c,
2056 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2057 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
2058 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
2059 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
2060 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
2061 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
2062 Remove all G_LIKELY macros inside g_return_if_fail() statements as
2064 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
2065 sense to keep the code more readable.
2068 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2071 When updating global type definitions for opened documents, take
2072 also C++ namespace symbols into account and don't ignore symbols
2073 which are defined inside a scope.
2076 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2079 Don't show 'plugin is not binary compatible' messages on the status
2080 bar, only the status window.
2083 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2086 When opening files from a remote instance on X11, set the window
2087 server time to encourage window managers to pop up the main window
2088 (related to #2735467 and #2276179).
2090 When finished sending filenames to a remote instance, notify the
2091 environment that we finished starting up.
2094 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2096 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
2097 Sort Configuration Files menu.
2098 Add ui_menu_sort_by_label().
2099 Add foreach_list() macro.
2104 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2107 Fix setting a wrong default window size when starting without an
2108 existing configuration.
2109 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
2110 Make editor_highlight_braces() static.
2111 Remove unused wrapper functions.
2112 * src/editor.c, src/symbols.c, src/symbols.h:
2113 Prevent showing an empty macro list.
2114 Show only macros of the same filetype instead of all macros of all
2117 Don't add opened project files to the GtkRecentManager.
2120 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2123 Add Configuration Files item for snippets.conf.
2124 * src/highlighting.c, src/symbols.c:
2125 Fix 2 old uses of filetype IDs.
2128 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2130 * src/interface.c, src/printing.c, geany.glade:
2131 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
2134 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2137 Add sanity checks in ui_lookup_widget() just to be safe.
2138 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
2139 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
2140 src/project.h, src/ui_utils.c, src/ui_utils.h:
2141 Add "Recent Projects" menu to the Project menu
2142 (#2728630, patch by Elias Pschernig, thanks).
2143 * doc/geany.txt, doc/geany.html:
2144 Describe how to build Geany using the Waf build system.
2145 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
2146 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
2147 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2148 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
2149 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
2150 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
2151 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
2152 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
2153 src/utils.c, src/utils.h, src/vte.c:
2154 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
2155 performance when building the code with gcc.
2156 * src/highlighting.c:
2157 Fix typo in the G_LIKELY checks, introduced in last commit.
2158 Fix the size of the styles array.
2160 Show a message dialog when renaming a file fails.
2163 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2166 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
2167 (as we did for all other files in SVN r3382).
2170 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2172 * src/filetypes.c, doc/geany.txt:
2173 Move ActionScript to the Script group.
2175 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
2176 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
2177 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
2178 plugins/htmlchars.c:
2179 Merge reorder-filetypes branch:
2180 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
2181 append randomly without breaking the ABI).
2182 Make None filetype name = title = _("None").
2183 Add foreach_slist() macro.
2184 Add filetypes_by_title list to GeanyData for plugin API access
2185 - a list of filetype pointers, which includes the None filetype
2186 first. This list stays constant by the time plugins are initialized,
2187 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
2188 index the sorted list.
2191 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2193 * doc/geany.txt, doc/geany.html, src/main.c:
2194 Add widget names for the menubar and toolbar.
2196 When hiding the messages window, set the input focus back to the
2197 editor widget (part of #1910393).
2200 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2202 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
2203 Backport recent changes from Scintilla CVS to add partial support
2204 for RFC2822 styled text using the Properties lexer.
2205 Ignore leading whitespace for config files and RFC2822 text.
2206 * data/filetypes.actionscript:
2207 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
2208 * THANKS, src/treeviews.c:
2209 Display file/directory icons in the Documents sidebar
2210 (patch by Simon Treny, thanks).
2213 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2215 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2216 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
2217 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
2218 Add an option to allow appending the toolbar to the main menu bar
2219 to save some vertical space.
2220 Allow setting toolbar icon size to very small (menu icon size).
2223 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2225 * src/keyfile.c, src/utils.c, src/utils.h:
2226 Add utils_path_skip_root(), a relative path safe variant of
2227 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
2228 * src/keyfile.c, src/main.c:
2229 Allow negative window coordinates when saving and restoring the
2230 position of the main window.
2231 Restore the main window position and size *after* the window has
2232 been realised to get it positioned accordingly
2233 (this affects at least Windows).
2236 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2238 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
2239 Use g_win32_get_package_installation_directory_of_module() on Windows
2240 with newer GLib versions instead of deprecated API.
2241 * src/keybindings.c:
2242 Don't manage the last used documents list when quitting to prevent
2243 errors by accessing invalid memory (may close #2533990).
2246 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2249 Delete the geany_run_script.sh immediately after execution
2250 to prevent leaking old copies when the script was quit unexpectedly
2251 (closes #2710482, patch by Martin Olsson, thanks).
2253 Check whether skipping the root element of a document's filename
2254 succeeded and use the filename itself if not (e.g. on relative
2255 filenames, #2702844).
2256 Use the locale encoded filename when saving session files.
2258 Re-set the quitting status after all documents have been closed on
2262 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2264 * plugins/htmlchars.c:
2265 Remove usage of deprecated sci_get_selected_text() from plugin.
2268 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2271 Delay disk file checks when switching between documents a little
2272 bit to avoid fast, unintentional page switching in some cases.
2273 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
2274 src/sciwrappers.c, src/sciwrappers.h:
2275 Deprecate sci_get_text(), sci_get_selected_text() and
2276 sci_get_text_range().
2277 Add sci_get_contents(), sci_get_contents_range() and
2278 sci_get_selection_contents() as replacement functions to provide
2279 an easier and cleaner API (initial patch by Frank).
2282 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2285 Fix wrong parsing of CSS tags when the definition block starts on
2286 a new line (reported by Dominic Hopf, thanks).
2289 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2291 * plugins/htmlchars.c:
2292 Extend plugin by feature to bulk replace and replace on input for
2293 special characters to their HTML entities.
2296 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2299 Update build menu items after changing anything in the
2300 'Set Includes and Arguments' dialog.
2301 Disable Compile/Run buttons/menu items when Compile/Run commands are
2303 Reset current build directory to the base directory after reading a
2304 "Leaving directory" message when parsing Make output
2305 (closes #2694479, patch by Andrea Mazzoleni, thanks).
2307 Fix wrong display of the filename in the tab bar menu for new files.
2309 Set the initial directory for the Save As dialog only once on
2311 Add a shortcut of the project's base directory to the
2312 File Open/Save As dialogs when a project is open for faster access.
2313 * src/splitwindow.c:
2314 Add keybindings for the split actions.
2317 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2320 When using Find All in the Find dialog (in Session and Document),
2321 display the right amount of matches.
2322 Fix the display of the matches once per line (I broke the original
2325 Fix wrong directory selection behaviour in all Open Folder dialogs
2326 (closes #2688020, patch by Marcel Stimberg, thanks).
2328 Don't present the main window of a running instance when starting
2329 a second instance separately.
2332 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2335 Reduce default file permissions on the Unix Domain socket file
2336 (reported by Jörg Sommer, thanks).
2339 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2341 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
2342 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
2344 Add an option to set an additional plugin lookup path.
2346 When using Find All in the Find dialog, display matches only once
2347 per line in the messages window (patch by Bert Vermeulen, thanks).
2350 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2352 * data/filetype_extensions.conf, data/filetypes.actionscript,
2353 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
2354 src/highlighting.c, src/plugindata.h, src/symbols.c,
2355 tagmanager/Makefile.am, tagmanager/actionscript.c,
2356 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
2357 Add filetype ActionScript (patch by Chris Macksey, thanks).
2358 Update type keywords only for real C-like languages.
2359 Fix wrong sorting of Assembler and Ada filetypes.
2360 * plugins/classbuilder.c:
2361 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
2362 Other minor cleanups.
2365 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2368 Don't use menu item images for the tab bar menu to save some
2370 * data/filetypes.fortran, tagmanager/fortran.c:
2371 Add keyword 'extends' and fix Fortran parser to support the
2372 'extends' keyword (closes #2654492).
2373 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
2374 src/search.c, src/toolbar.c:
2378 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2380 * src/about.c, THANKS:
2381 Added Jari Rahkonen to list of Finnish translators.
2384 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2387 Adjust minimum required GTK version.
2388 * src/Makefile.am, wscript:
2389 Add main.h to the list of installed header files.
2390 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
2391 src/notebook.c, src/ui_utils.c:
2392 Remove GeanyDocumentPrivate::tabmenu_label.
2393 Disable the default tab bar menu for the main notebook widget and
2394 use a custom menu instead which lists all open files as usual plus
2395 'Close Other Documents' and 'Close All' menu items.
2398 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2400 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
2401 Move ui_set_search_entry_background() into ui_utils.c.
2402 Change the background colour of the search entries in the Find
2403 and Replace dialogs according to the search results like in the
2404 toolbar search field.
2405 Add images to the 'Replace' and 'Replace and Find' buttons in the
2407 Minor cleanups in search.c.
2408 * tagmanager/tm_source_file.c:
2409 Update source files upon creation.
2411 Update C tags for glibc 2.9.
2412 * src/callbacks.c, src/toolbar.c:
2413 Fix broken non-incremental search with the toolbar search entry when
2414 pressing Enter (closes #2638180).
2415 * plugins/splitwindow.c:
2416 Fix possible crash on non-32-bit systems (patch by
2417 Wolfgang Ocker, thanks).
2419 Update the Packager tag due to Dominic's various contributions.
2420 Update description and feature list.
2421 Change Source tag to the gzip'ed tarball to be in sync with the
2422 Makefile target (thanks to Wolfgang Ocker for reporting).
2425 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2427 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
2428 Removed deprecated plugin VC Diff
2431 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2434 Fix wrong Fortran 90 comment characters when inserting templates.
2435 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2436 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
2437 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
2439 Add 'Send Selection to Terminal' command to the Edit->Format menu
2440 (initial patch by David Gleich, thanks).
2441 * geany.glade, src/interface.c:
2442 Fix mnemonic for the Edit->Preferences menu item.
2445 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2447 * configure.in, plugins/Makefile.am:
2448 Enable socket support when cross-compiling.
2449 Enable plugin compilation when cross-compiling.
2451 Fix missing NULL checks when reading the colour value of compiler
2453 * src/main.c, src/win32.c, src/win32.h:
2454 On Windows, change the working directory to the Geany installation
2455 path at startup to avoid unwanted directory locking(closes #2626124).
2457 Fix broken selection of "Document->Set Encoding" menu items.
2458 * src/document.c, tagmanager/include/tm_source_file.h,
2459 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
2460 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
2461 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
2462 Don't let the tagmanager automatically reparse files if they
2463 seem to be changed on disk (affects all files in the current session,
2464 not the current one). This should speed up file saving a little bit,
2465 especially with remote files.
2466 Remove now unnecessary calls to tm_workspace_update().
2468 Allow an empty value for the date format in the print settings to
2469 omit the date/time string in the print header.
2472 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2474 * src/editor.c: Set cursor for LaTeX at auto closing of environment
2478 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2481 Add missing header include (closes #2615808).
2484 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2487 Fix a possible crash when comparing symbol names
2488 (could be related to Ubuntu bug #147151).
2489 Fix broken symbol list tooltips when tag names contain ampersands.
2492 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2494 * plugins/makefile.win32:
2495 Don't build Split Window plugin on Windows (doesn't work).
2498 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2500 * ChangeLog, Makefile.am: Rotate ChangeLog.
2501 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
2502 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
2503 Post-release version bump.
2506 *** See ChangeLog.pre-0-17 for earlier changes ***