1 2011-10-02 Colomban Wendling <colomban(at)geany(dot)org>
3 * doc/geany.txt, doc/geany.html:
4 Add myself as an author.
5 * New release: Geany 0.21 "Gromia".
8 2011-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
11 Update documentation images.
12 * doc/geany.txt, doc/geany.html:
13 Update documentation for new images.
16 2011-09-28 Colomban Wendling <colomban(at)geany(dot)org>
19 Fix utils_string_replace_all() to accept a NULL replacement again.
22 2011-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
25 Fix not converting \n to document line endings in snippets.
27 Fix not indenting snippet contents for documents with non-\n line
31 2011-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
33 * src/stash.c, src/keyfile.c, src/keyfile.h, src/ui_utils.c:
34 Add configuration_add_various_pref_group().
36 Fix \0 char in format string - save as dialog filter bug.
39 2011-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
42 Rename use_safe_file_saving various pref to use_atomic_file_saving
43 as it's not 'safe'. Use old pref if new one is missing for
44 compatibility with Geany <= 0.20.
45 * src/prefs.c, src/stash.h, src/stash.c:
46 Fix making various prefs tree sync with data values when showing
47 the prefs dialog (patch by Dimitar Zhekov, thanks).
50 2011-09-17 Frank Lanitz <frlan@frank.uvena.de>
52 * po/fa.po, THANKS, src/about.c:
53 Adding Persian translation. Thanks to Moein Owhadi Kareshk
54 * THANKS: Adding Giuliano Manzitti to THANKS-file.
57 2011-09-16 Colomban Wendling <colomban(at)geany(dot)org>
60 Fix document sensitivity of a few menu items.
63 2011-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
65 * src/interface.c, geany.glade:
66 Change various prefs label to /warn/ the user to read the manual.
69 2011-09-15 Colomban Wendling <colomban(at)geany(dot)org>
72 Ask the user to configure a valid browser command if spawning it
73 fails rather than falling back to some arbitrary hardcoded defaults.
76 2011-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
79 Fix uninitialized font size & other fields.
80 Remove unhooked font dialog apply button.
83 2011-09-13 Colomban Wendling <colomban(at)geany(dot)org>
85 * data/filetype_extensions.conf:
86 Add Markdown extensions from Shared MIME-Info database (closes
89 Add missing MIME type to a few filetypes.
90 * doc/geany.txt, doc/geany.html:
94 2011-09-12 Colomban Wendling <colomban(at)geany(dot)org>
97 Fix updating symbol list for overloaded C++ symbols (closes
101 2011-09-02 Colomban Wendling <colomban(at)geany(dot)org>
104 Fix check for enabling MIME type based icons.
105 * src/encodings.c, src/filetypes.c:
106 Plug a few memory leaks.
109 2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
112 Fix foreach_ptr_array() not to crash on arrays with 0 elements.
115 2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
117 * src/document.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
118 doc/geany.html, data/filetypes.*:
119 Add support for filetype-specific indentation settings (closes
120 #3339420 and #3390435).
121 * src/callbacks.c, src/editor.c, src/editor.h:
122 Add editor_set_indent_width() to only set indentation width.
123 * src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
124 src/interface.c, geany.glade:
125 Add menu items to detect indentation settings from document's
129 2011-08-24 Colomban Wendling <colomban(at)geany(dot)org>
132 Make completion and word completion support non-ASCII characters
136 2011-08-21 Colomban Wendling <colomban(at)geany(dot)org>
138 * src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
139 Fix search for the current word if it isn't composed of only
140 GEANY_WORDCHARS (closes #3386129).
143 2011-08-20 Colomban Wendling <colomban(at)geany(dot)org>
145 * tagmanager/haskell.c:
146 Fix tags for one-letter Haskell symbols (closes #3289160).
149 2011-08-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
152 Update of wording to fix some grammatical issues etc. on plugin howto.
153 Patch provided by Matthew Brush. Thanks.
154 * data/filetypes.Cython.conf:
155 Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks.
158 2011-08-19 Colomban Wendling <colomban(at)geany(dot)org>
160 * data/filetype_extensions.conf, data/filetypes.Cython.conf,
161 data/filetypes.python:
162 Add Cython filetype (patch by Matthew Brush, thanks).
163 * src/symbols.c, tagmanager/include/tm_workspace.h,
164 tagmanager/tm_workspace.c:
165 Create temporary files used for generating global tags files in the
166 system directory for temp files.
168 Don't make tags for /dev/null in diff files but for the new file
169 instead (Based on a patch by Yang Hong, thanks).
172 2011-08-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
175 Update API version used inside plugin howto to a more recent version
179 2011-08-13 Colomban Wendling <colomban(at)geany(dot)org>
181 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
182 Focus the editor upon double click on the message and compiler
183 windows (patch by Dimitar Zhekov, thanks).
186 2011-08-03 Colomban Wendling <colomban(at)geany(dot)org>
188 * src/geany.h, plugins/classbuilder.c, plugins/export.c,
189 plugins/filebrowser.c, plugins/htmlchars.c, plugins/saveactions.c,
190 plugins/splitwindow.c:
191 Only include config.h when building Geany (closes #3384026).
194 2011-07-31 Frank Lanitz <frlan@frank.uvena.de>
197 Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin
198 HowTo as well as a hint to make usage of main_locale_init().
201 2011-07-28 Colomban Wendling <colomban(at)geany(dot)org>
203 * src/build.c, src/build.h, src/editor.c, src/interface.c,
204 src/keyfile.c, src/prefs.c, src/stash.c, src/stash.h,
205 src/ui_utils.c, geany.glade, doc/geany.txt, doc/geany.html:
206 Allow to edit formerly hidden preferences in the prefs dialog
207 (closes #3313315, patch by Dimitar Zhekov and myself, thanks!).
209 Improve indentation width detection to better deal with Java
213 2011-06-26 Colomban Wendling <colomban(at)geany(dot)org>
215 * src/highlighting.c:
216 Recognize C# and Vala raw and verbatim strings as string styles.
218 Fix indentation brace matching (closes #3309606).
221 2011-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
223 * src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
225 More GTK 2.8 => GTK 2.12 transition.
228 2011-06-20 Colomban Wendling <colomban(at)geany(dot)org>
230 * src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
232 Add an hidden pref to choose between GIO and plain C unsafe
234 * configure.ac, src/document.c, win32-config.h:
235 Completely drop HAVE_GIO checks.
238 2011-06-18 Colomban Wendling <colomban(at)geany(dot)org>
240 * src/document.c, src/document.h, src/editor.c:
241 Remove support of size being -1 in document_open_file_list().
242 * src/utils.c src/utils.h:
243 Remove support of size being -1 in utils_get_line_endings().
244 * src/stash.c, src/stash.h:
245 Make StashWidgetID map to gconstpointer, allowing use of const
246 strings as the widget key.
249 2011-06-16 Colomban Wendling <colomban(at)geany(dot)org>
251 * src/document.c, src/main.c, src/ui_utils.c, src/utils.c:
252 Remove most of the checks for GIO.
254 Remove last GLib >= 2.16 check.
257 2011-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
259 * tagmanager/python.c:
260 Fix two bugs with triple quoted strings within comments
261 and missing indentation within triple quoted strings
262 (#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
265 2011-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
267 * data/filetypes.python:
271 2011-06-13 Colomban Wendling <colomban(at)geany(dot)org>
273 * configure.ac, src/Makefile.am, src/makefile.win32, wscript:
274 Bump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO.
275 * plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
276 src/build.c, src/dialogs.c, src/document.c, src/highlighting.c,
277 src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
279 Deprecate ui_widget_set_tooltip_text() in favor of
280 gtk_widget_set_tooltip_text().
281 * configure.ac, doc/geany.html, doc/geany.txt, src/callbacks.c,
282 src/keyfile.c, src/main.c, src/prefs.c, src/printing.c,
284 Enable GTK printing support unconditionally.
285 * doc/geany.html, doc/geany.txt:
286 Stop talking about pre-GTK 2.12 tricks.
287 * geany.glade, src/interface.c:
288 Fix Printing preferences page alignment.
290 Remove pre-GTK 2.10 tab DnD support.
291 * src/pluginutils.c, tagmanager/tm_file_entry.c,
292 tagmanager/tm_symbol.c, tagmanager/tm_tag.c:
293 Unconditionally use GSlice allocator.
296 2011-06-11 Colomban Wendling <colomban(at)geany(dot)org>
298 * src/dialogs.c, src/main.c, src/ui_utils.h:
299 Always destroy open and save dialog after use. This also helps
300 working around a long-living GTK+ bug, hopefully closing #3311258,
301 #3304273, #3201050, #3163742, #3153120 and #2985896.
304 2011-06-03 Colomban Wendling <colomban(at)geany(dot)org>
306 * src/callbacks.c, src/document.c, src/document.h, src/editor.c,
307 src/search.c, src/search.h:
308 Show the actual text the user searched for in messages rather than
309 the internal one (patch by Eugene Arshinov, thanks).
311 Also use the actual user search in the combo box history.
314 2011-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
316 * src/document.c, src/document.h, src/ui_utils.c, src/ui_utils.h:
317 Add ui_focus_current_document() and document_grab_focus().
319 Focus the editor widget after loading project session files.
320 * scripts/create_py_tags.py:
321 Ignore tags ending with an underscore.
322 Dynamically determine the path of Python's standard library instead
324 Parse all modules of the Python standard library instead of a
325 hardcoded list of filenames.
328 2011-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
330 * data/filetypes.java:
331 Move keyword 'enum' to primary keywords (closes #3305737).
334 2011-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
336 * tagmanager/python.c:
337 When checking for literal strings to ignore, consider also
338 unicode, binary and raw strings.
340 Define and use get_plugin_path() always and move platform dependent
341 code into the function definition.
342 Do not add active plugins to the list of plugins when they are
343 already in the list (closes #3308191).
344 Check whether the custom plugin path is one of the user or system
345 plugin paths and if so, ignore it.
348 2011-05-27 Colomban Wendling <colomban(at)geany(dot)org>
351 Fix preferences help button when activated with the keyboard.
354 2011-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
356 * src/about.c, src/build.c, tagmanager/tm_workspace.c:
357 Remove unused variables (patch by Eugene Arshinov, thanks).
359 Remove unused variables (suggested by Eugene Arshinov).
360 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
361 Do not allow 'Save All' even if 'allow_always_save' is set
362 (patch by Dimitar Zhekov, thanks).
363 * data/filetypes.java:
364 Add 'enum' to secondary keywords
365 (closes #3305737, patch by Matthew Brush, thanks).
368 2011-05-12 Colomban Wendling <colomban(at)geany(dot)org>
371 Update the HTML content-type encoding detection regexp to accept some
372 more valid inputs (closes #3300703).
375 2011-05-11 Colomban Wendling <colomban(at)geany(dot)org>
378 Improve the plugin manager dialog a little.
379 * src/geanywraplabel.c, src/geanywraplabel.h, src/keybindings.c,
381 Cleanup GeanyWrapLabel a bit.
384 2011-05-09 Colomban Wendling <colomban(at)geany(dot)org>
386 * plugins/splitwindow.c:
387 Remove widget reparenting in Split Window plugin. This fixes plugin
388 issues on Windows (patch by Matthew Brush, thanks - closes #2725342).
389 * plugins/Makefile.am, plugins/makefile.win32, wscript:
390 Enable SplitWindow build on Windows again (re-apply Enrico's patch).
393 2011-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
396 Add note about patching Glade 2.12 to compile it with
400 2011-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
403 Fix 'Toolbar Preferences' popup menu item (oops).
406 2011-05-03 Colomban Wendling <colomban(at)geany(dot)org>
408 * doc/geany.txt, doc/geany.html:
409 Update the documentation for project patterns and recent FIF dialog
413 2011-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
415 * src/highlighting.c, doc/geany.txt, doc/geany.html:
416 Allow translations for color scheme [theme_info] keys.
417 * src/build.c, src/filetypes.c, src/filetypes.h, src/main.c:
418 Save filetype build commands straight after editing them instead of
419 at shutdown (patch by Dimitar Zhekov, thanks).
422 2011-05-02 Colomban Wendling <colomban(at)geany(dot)org>
425 Bump plugin API version so a plugin can know the project file
426 patterns are visible by the user.
429 2011-05-01 Colomban Wendling <colomban(at)geany(dot)org>
432 Fix pattern filtering when not searching in subdirectories.
435 2011-04-30 Colomban Wendling <colomban(at)geany(dot)org>
438 Fix project patterns and make them visible (based on a patch
439 by Jiří Techet, thanks).
441 Use project patterns in the FIF dialog (based on a patch
442 by Jiří Techet, thanks).
444 Open the file in the msgwindow even if no line number is specified.
447 2011-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
449 * src/filetypes.c, data/filetype_extensions.conf:
450 Revert 'Compiled' filetype group back to 'Programming' (couldn't
451 agree on whether e.g. Java is a compiled language).
452 * doc/geany.txt, doc/geany.html:
453 Add section 'Filetype group membership'.
454 * src/highlighting.c, doc/geany.txt, doc/geany.html,
455 data/colorschemes/alt.conf:
456 Read color scheme name and description for menu item label and
457 tooltip (based on patch by Matthew Brush, thanks).
460 2011-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
462 * src/filetypes.c, src/filetypes.h:
463 Remove now unnecessary Custom filetype group.
465 Move text markup languages into Markup filetype group.
466 Move some programming language filetypes out of the Miscellaneous
468 Fix filetype title for some languages.
469 Don't use 'Languages' for Miscellaneous group label.
470 These changes mostly proposed by Matthew Brush (thanks).
472 Make custom filetype titles use 'source file' only if their group
473 is Compiled or Script.
474 Use 'source file' for reStructuredText title.
477 2011-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
479 * src/filetypes.c, src/filetypes.h, src/main.c,
480 data/filetype_extensions.conf:
481 Make filetype group membership configurable using [Groups] in
482 filetype_extensions.conf.
483 Read filetype_extensions.conf when calling filetypes_init_types(),
484 don't require doclist initialization.
486 Change Programming Languages filetype group label -> Compiled
488 Use 'source file' title for custom filetypes.
489 * src/prefs.c, doc/geany.txt, doc/geany.html:
490 Remove Preferences label warning about restarting after editing
491 template data - this is no longer necessary.
494 2011-04-26 Colomban Wendling <colomban(at)geany(dot)org>
496 * src/callbacks.c, src/document.c, src/document.h,
497 src/documentprivate.h, src/editor.c, src/sidebar.c:
498 Make sure to update the tag list only for the current document,
499 avoiding idle updates to show the tag list for the wrong document.
500 * src/callbacks.c, src/document.c, src/documentprivate.h,
502 Avoid changing the tag tree if it's not the one of the current
503 document, fixing showing the wrong tag list when reloading
507 2011-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
510 Fix warning in utils_find_open_xml_tag() with malformed tags like
514 2011-04-24 Colomban Wendling <colomban(at)geany(dot)org>
517 Don't update the tag list when the user is typing (patch by Yura
520 When copying filetype groups, add keys from both system and user
521 ones, making sure user's ones have precedence over system ones.
524 2011-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
526 * src/utils.c, src/utils.h, src/plugindata.h, src/plugins.c,
527 plugins/geanyfunctions.h:
528 Add utils_find_open_xml_tag_pos() API function (patch by Eugene
531 Replace dates on template insertion, not when loading templates.
534 2011-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
537 Fix multiple snippet cursor positions for Tabs + Spaces mode.
538 Simplify editor_insert_snippet() code now we use cursor marker
540 * src/utils.c, src/utils.h, src/editor.c:
541 Add utils_string_find() to search in a fixed range.
542 Change utils_string_replace() to just replace a fixed number of
546 2011-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
548 * src/plugindata.h, src/document.c, src/plugins.c, src/document.h,
549 plugins/geanyfunctions.h:
550 Add document_compare_by_tab_order() and
551 document_compare_by_tab_order_reverse() to the plugin API.
553 Use document_compare_by_tab_order() as default compare function
554 to sort the document list in the document notebook tab menu, this
555 fixes the currently broken default ordering.
558 2011-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
560 * src/utils.c, src/utils.h, src/editor.c:
561 Add function utils_string_replace() to replace in a fixed range.
562 Remove utils_string_replace_helper() and update cursor marker code.
565 2011-04-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
568 Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
569 Refactor snippets_make_replacements() using geany_cursor_marker.
572 2011-04-13 Colomban Wendling <colomban(at)geany(dot)org>
575 Avoid triggering autocompletion on PHP open tags (closes #3199442).
578 2011-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
581 Update dox for document_compare_by_display_name() with warning
582 about parameter addresses.
584 Use brackets for DOC_FILENAME() macro 'doc' argument.
585 * src/templates.c, src/utils.c, src/toolbar.c, src/utils.h,
586 src/keyfile.c, src/filetypes.c, src/editor.c, src/symbols.c:
587 Make utils_build_path() return a copy for safety.
589 Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
592 2011-04-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
595 Fix wrong casting of array pointers, thanks Nick.
596 * src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c,
598 Rename document_sort_by_display_name() into
599 document_compare_by_display_name(), thanks again Nick.
602 2011-04-11 Colomban Wendling <colomban(at)geany(dot)org>
604 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
605 Revert r5642 "Don't update parent WorkObjects when updating one in
606 real-time" because it broke calltips.
609 2011-04-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
611 * plugins/filebrowser.c:
612 Update path when saving a new document for the first time if the
613 follow path option is enabled.
614 * src/about.c, src/keyfile.c, THANKS:
615 Store VTE path with the session (based on patch by Nicolas
617 There's still a bug with loading a project at startup; closing the
618 project doesn't restore old VTE path.
619 * src/filetypes.c, src/filetypes.h:
620 Refactor with filetypes_get_filename().
621 Make filetypes_get_conf_extension() static.
622 * src/utils.c, src/utils.h, src/filetypes.c:
623 Make utils_make_filename() return a copy for safety.
626 2011-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
629 Ignore scrolling events in on_update_ui().
630 * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
631 src/document.c, doc/pluginsignals.c:
632 Add and use signal "document-reload" to the plugin API.
633 * src/symbols.c, tagmanager/sql.c:
634 Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
635 * src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
636 src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
637 Add ui_menu_add_document_items_sorted() and
638 document_sort_by_display_name() to the plugin API.
641 2011-04-08 Colomban Wendling <colomban(at)geany(dot)org>
643 * scintilla/lexers/LexCPP.cxx:
644 Make highlighting of triple-quoted verbatim an option (Backport
645 from Scintilla HG 3602:5536ed81a85b).
646 * src/highlighting.c:
647 Add highlight for triple-quoted verbatims.
648 * data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
649 data/filetypes.Scala.conf:
650 Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
651 * data/filetypes.Genie.conf:
652 Copy C styling rather than redefining the styles.
654 Don't set font twice for line numbers and braces.
657 2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
660 Remove TEMPLATES_GET_FILENAME() macro.
662 Don't auto-enable case-sensitive option when enabling regex in
663 Find/Replace dialogs.
666 2011-04-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
668 * scintilla/gtk/ScintillaGTK.cxx:
669 Fix X PRIMARY selection issue when Scintilla widget is
670 unrealized/re-realized (Backport from Scintilla HG,
671 original patch by Matthew Brush).
672 Reset cursors when Scintilla widget is realized (Backport from
673 Scintilla HG, original patch by Matthew Brush).
676 2011-04-04 Colomban Wendling <colomban(at)geany(dot)org>
678 * scintilla/gtk/PlatGTK.cxx:
679 Fix font rendering in Scintilla when using Cairo.
682 2011-04-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
684 * src/interface.c, geany.glade:
685 Make Project->Properties the last menu item so it's faster to use.
688 2011-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
691 Update Scintilla to version 2.25.
692 * version.txt, Makefile.am:
693 Add Scintilla's version.txt file.
694 * scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
695 Replace escape character '\' by slash '/' in paths in the
696 Windows Makefiles (patch by Matthew Brush, thanks).
698 Reflect the existence of the entered command in `Set Custom Commands`
699 dialog as well using the yes/no icon.
702 2011-04-03 Colomban Wendling <colomban(at)geany(dot)org>
704 * src/main.c, src/prefs.c, src/tools.c:
705 Fix loading and updating menu accelerators for custom commands.
707 Don't allow editing keybinding column of group rows.
709 Fix ID of newly added commands in the `Set Custom Commands` dialog.
712 2011-04-02 Colomban Wendling <colomban(at)geany(dot)org>
714 * src/tools.c, doc/geany.txt, doc/geany.html:
715 Improve the `Set Custom Commands` dialog.
718 2011-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
720 * src/interface.c, src/interface.h, geany.glade:
721 Rename Preferences dialog Interface subtab More -> Notebook tabs.
722 * src/toolbar.c, src/dialogs.c:
723 Use mimetype icon in File Properties dialog.
724 * doc/geany.txt, doc/geany.html:
725 Fix title capitalization.
726 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
727 Move Preferences dialog Toolbar tab under Interface tab.
729 Tweak some build dialog labels:
732 Use filetype name instead of title.
733 * src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
734 Remove old filetype templates support - users can use custom file
738 2011-04-01 Colomban Wendling <colomban(at)geany(dot)org>
741 Update regex used to find encodings for it to allow the encoding to
742 be quoted, adding support for XML (closes #3183506).
744 Implement charset name normalization in order to better deal with
745 badly-written encoding names (i.e. names found by regex search).
746 This also makes encodings_get_idx_from_charset() and
747 encodings_get_from_charset() more permissive regarding the passed-in
750 Always try to honor the charset found in the document, even if the
751 document can be loaded as UTF-8.
752 This make files encoded with e.g. ISO-8859-1 that have the proper
753 information in them but only use the UTF-8 compatible part of
754 ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
755 Also fix check for locale encoding.
756 * src/tools.c, doc/geany.txt, doc/geany.html:
757 Make `Send selection to` send the current line if there is no
761 2011-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
763 * plugins/filebrowser.c:
764 Make 'Hide object files' preference configurable with file
766 * plugins/filebrowser.c:
767 Fix applying default setting for hide_object_files (oops).
768 Fix warning when enabling plugin from the Plugin Manager.
769 * plugins/filebrowser.c:
770 Fix optimization for filter check when pattern is '*'.
771 Use foreach_strv() instead of foreach_c_array().
772 * plugins/filebrowser.c:
773 Don't hide directories matching hidden file extensions e.g. foo.o.
774 Refactor with check_object().
777 2011-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
780 Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
781 crash in the Split Window plugin when changing filetype (patch by
782 Matthew Brush, thanks; fixes #3255968).
783 * plugins/splitwindow.c:
784 Update styles when the filetype changes (based on patch by
785 Matthew Brush, thanks).
786 * plugins/saveactions.c:
787 Fix Instant Save preferences combo box filetype order.
788 * plugins/filebrowser.c:
789 Remove macro CHECK_READ_SETTING().
792 2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
794 * src/plugindata.h, src/pluginprivate.h, src/plugins.c,
795 src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
796 Add plugin_idle_add(), plugin_timeout_add() and
797 plugin_timeout_add_seconds() to the plugin API. These are
798 convenience wrappers to ensure the added timeouts are properly
799 removed when unloading the plugin, preventing possible crashes.
800 * plugins/splitwindow.c:
801 Use new plugin_idle_add(), preventing an unlikely crash.
802 * doc/pluginsymbols.c, src/sciwrappers.c:
803 Fix a few Doxygen warnings.
804 * plugins/saveactions.c:
805 Properly use 0 as the invalid timeout source ID.
808 2011-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
810 * doc/geany.txt, doc/geany.html:
811 Add #reading-styles-from-another-filetype subsection, based on
812 patch by Matthew Brush (thanks).
813 * doc/geany.txt, doc/geany.html:
814 Add #filenames subsection for filetype definition files explaining
815 the filename extensions and special cases.
816 * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
817 src/main.c, plugins/geanyfunctions.h:
818 Add filetypes_get_sorted_by_name() to API.
819 Fix --ft-names sorting to print in name order, not title order.
822 2011-03-28 Colomban Wendling <colomban(at)geany(dot)org>
824 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
825 Don't update parent WorkObjects when updating one in real-time. This
826 should fix some performance issues if a WorkObject has many parents.
829 2011-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
831 * src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
833 Initialize GLib's Gthread system early at startup in case any
835 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
836 doc/geany.txt, doc/geany.html:
837 Add new keybinding 'Remove Markers and Error Indicators'.
840 2011-03-26 Colomban Wendling <colomban(at)geany(dot)org>
843 Fix the sidebar popup menu to properly use the currently selected
844 item rather than the previous one.
845 Also change the hack used for the selection to be updated in the
846 input handlers to call the GtkTreeView's handler manually rather than
847 doing the actual job in IDLE callbacks for the TreeView's handler to
849 * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
850 src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
852 Add possibility to detect the indentation width from the file content
853 (not supported if indentation type is tabs only).
854 * plugins/splitwindow.c:
855 Enable code folding in splitview window (based on a patch by Matthew
856 Brush, thanks! - closes #3097780).
857 Fix confusing terminology in Split Window plugin menu labels (patch
858 by Matthew Brush - closes #2796316).
859 Don't unsplit when closing the displayed document but rather pick the
860 new current one if any.
863 2011-03-25 Colomban Wendling <colomban(at)geany(dot)org>
865 * data/filetypes.vala:
866 Update Vala keywords (based on a patch from Matthew Brush, thanks).
871 2011-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
873 * plugins/filebrowser.c:
874 Add history to filter entry.
875 * src/keybindings.c, src/vte.c:
876 Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
879 Make VTE copy/paste shortcuts work if 'Override Geany
880 keybindings' is not set.
883 2011-03-24 Colomban Wendling <colomban(at)geany(dot)org>
885 * doc/geany.txt, doc/geany.html:
886 Update the documentation to talk about real-time tag parsing.
887 * doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
888 src/document.c, src/document.h, src/geanyentryaction.c,
889 src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
890 Make Shift-Enter in search dialog and toolbar search entries search
892 * plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
893 src/dialogs.c, src/document.c, src/document.h, src/editor.c,
894 src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
895 src/main.c, src/plugins.c, src/printing.c, src/project.c,
896 src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
897 Improve usage of G_LIKELY() and G_UNLIKELY() macros.
900 2011-03-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
903 Make --ft-names list filetypes alphabetically.
904 * plugins/filebrowser.c:
905 Allow multiple file filters to be separated by a space for
906 consistency with Find in Files file patterns. ';' is still
910 2011-03-20 Colomban Wendling <colomban(at)geany(dot)org>
912 * data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
913 src/filetypes.c, src/filetypes.h, src/templates.c:
914 Add new filetype setting "comment_single" to provide separated
915 single-line and multiline comment support. Single-line are used in
916 priority to comment code, and multiline to make template comments.
917 * src/editor.c, src/search.c, tagmanager/diff.c:
918 Don't use strlen(..) > 0 or == 0, simply check the first character
921 Update forced indent settings when setting the filetype. This makes
922 documents created or set to a filetype with forced indent setting
923 (Makefile, F77) to have the correct setting right away.
926 2011-03-19 Colomban Wendling <colomban(at)geany(dot)org>
929 Create a new undo action when inserting templates, making sure the
930 user can undo the template insertion without also undoing a previous
934 2011-03-18 Colomban Wendling <colomban(at)geany(dot)org>
936 * src/document.c, src/encodings.c, src/encodings.h:
937 Move document encoding conversion with BOM support to encodings.[ch]
938 as encodings_convert_to_utf8_auto().
940 Properly convert template files to UTF-8 on loading, fixing encoding
941 issues if templates files are not encoded in UTF-8.
944 2011-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
946 * data/templates/files/main.vala:
947 Add file template for Vala (patch by Mark Trompell, thanks).
950 2011-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
952 * src/utils.c, src/utils.h, src/filetypes.c:
953 Support copying filetype definition file group keys from a system
954 keyfile with e.g. [styling=C].
955 Add function utils_make_filename() for building filenames easily.
956 * THANKS, plugins/classbuilder.c:
957 Improve Class Builder plugin dialog UI using a table (patch by
958 Matthew Brush, thanks).
959 * plugins/classbuilder.c:
960 Fix GLib warning when creating classes and no documents are open
961 (patch by Matthew Brush, thanks).
962 * plugins/classbuilder.c:
963 Undo patch change to cc_option_label_new() to append a ':' colon to
964 label text because this unnecessarily causes string translations to
966 * src/interface.c, geany.glade:
967 Fix wrong label capitalization for Toolbar Preferences dialog tab
969 * data/filetypes.Scala.conf, data/filetype_extensions.conf:
970 Add Scala custom filetype, based on file by werg (thanks).
971 (This uses the newly added [styling=C] syntax).
973 Make special case for filetypes.matlab instead of truncating all
974 filetype config filenames at slash.
976 Fix generating tag files and --ft-names option by ensuring GTK is
977 initialized before calling ui_get_mime_icon().
980 2011-03-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
982 * THANKS, src/about.c:
983 Adding Wei-Lun Chao as current maintainer for traditional Chinese
987 2011-03-15 Colomban Wendling <colomban(at)geany(dot)org>
989 * src/templates.c, src/templates.h:
990 Use the same indentation for all templates (part of FR#3193527; from
991 a patch by Matthew Brush, thanks).
993 Always keep the list of loaded plugin sorted by name.
996 2011-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
998 * data/filetype_extensions.conf:
999 Add Markdown extension.
1002 2011-03-10 Colomban Wendling <colomban(at)geany(dot)org>
1005 Correctly expand the menubar if the toolbar is appended to it but
1006 not visible (closes #3204955).
1007 * plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
1008 src/tools.c, src/utils.c:
1009 Prefer prepend elements to lists rather than append them, for better
1013 2011-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1016 Fix wrong code example in the API docs
1017 (spotted by Matthew Brush, thanks).
1020 2011-03-07 Colomban Wendling <colomban(at)geany(dot)org>
1022 * tagmanager/mio/mio-memory.c:
1023 Import upstream MIO changes not to require a C99 compiler.
1026 2011-03-06 Colomban Wendling <colomban(at)geany(dot)org>
1029 When sorting tags by line, also sort by scope if line is the same,
1030 avoiding wrong sorting if a parent tag is on the same line than its
1031 children, and one of it's children would be sorted before
1032 alphabetically (closes #3193982).
1035 2011-03-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1037 * src/interface.c, geany.glade:
1040 Remember Find and Replace options across restarts
1041 (patch by Dimitar Zhekov, thanks).
1043 Respect saved state of 'Case sensitive' option when using
1044 the 'Regular expressions' option as well.
1046 Add option to insert line numbers (closes #3197150).
1048 Use the full filename and add the extension of the export format.
1049 Fix off-by-one bug which hidden the last empty line of a document.
1052 2011-03-05 Colomban Wendling <colomban(at)geany(dot)org>
1054 * configure.ac, wscript, makefile.win32, src/Makefile.am,
1055 src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
1056 tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
1057 tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
1058 tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
1059 tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
1060 tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
1061 Move most of TagManager's I/O to MIO.
1063 Enable in-memory tag parsing.
1064 * geany.glade, src/editor.c, src/editor.h, src/interface.c,
1066 Add possibility to update symbol list in IDLE time, enabled by
1067 default using a minimal delay of 250ms.
1069 Improve implementation of hide_empty_rows() to do all in one shot.
1070 * tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
1071 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
1072 tagmanager/tm_workspace.c:
1073 Make TMTag reference-counted.
1074 * src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
1075 tagmanager/tm_tag.c:
1076 Provide a GType for TMTag and use it in the tag store to make sure
1077 the tags it holds are always valid.
1079 Don't remove and add the symbols tree view if we re-add the same one.
1080 * src/sidebar.c, src/sidebar.h, src/symbols.c:
1081 Update the symbol list rather than clearing and re-building it.
1082 There is room for improvement in the implementation side, but it
1083 is harder to do, probably a future improvement.
1085 Fix suffix of anonymous symbols (structs, enums, ...).
1090 2011-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1092 * plugins/saveactions.c:
1093 Fix wrong warning on empty backup directory setting if
1094 'Backup Copy' is not enabled at all.
1095 * AUTHORS, src/about.c, README.Packagers, README:
1096 Welcome Colomban Wendling, a new Geany developer.
1099 2011-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1102 Fix segfault when inserting e.g. fileheader template when the
1103 template file is empty (#3070913, thanks to lphilpot).
1106 2011-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1108 * plugins/filebrowser.c:
1109 Add support for multiple file filters, separated by semicolon
1110 (based on a patch by Grigory Javadyan, thanks).
1113 2011-02-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1115 * data/filetype_extensions.conf:
1116 Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
1120 2011-02-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1122 * tagmanager/latex.c:
1123 Add a workaround for #3066566 to prevent Geany from crashing during
1124 loading of a LaTeX-file containing linebreaks inside headings.
1127 2011-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1130 Fix memory leaks (reported by an anonymous IRC user).
1131 * doc/geany.txt, doc/geany.html:
1132 Replace '+' by '-' in the Scintilla Keybindings section
1133 to be consistent with the other mentioned keybindings.
1135 Improve error checking when trying to write project files
1136 (patch by Colomban Wendling, thanks).
1137 Add a warning if writing the project file fails on close.
1138 * src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
1139 Rename utils_is_file_writeable() into utils_is_file_writable().
1142 2011-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1145 Ensure the editor widget has the focus when the editor menu is
1147 * scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
1148 scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
1149 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
1150 src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
1151 tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
1152 data/filetype_extensions.conf, wscript:
1153 Add filetype Cobol (based on a patch by Seth Keiper).
1156 2011-01-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1158 * plugins/filebrowser.c:
1159 Add '.pyc' to the list of hidden object files
1160 (patch by Filip Gruszczyński, thanks).
1163 2011-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1166 Update copyright information.
1167 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1168 geany_private.rc, win32-config.h, wscript, src/geany.h:
1169 Post-release version bump.
1172 2011-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1174 * src/highlighting.c, data/filetypes.javascript:
1175 Add and use secondary keywords for filetype JavaScript,
1176 update and sanitize JavaScript keyword lists
1177 (patch by Jason Oster, thank you).
1180 2011-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1182 * THANKS, src/about.c:
1183 Added Rafael Peregrino da Silva to list of contributors for Brazilian
1184 Portuguese (pt_BR) translation.
1187 2011-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1189 * src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
1190 Add Save As toolbar button option (patch by Matthew Brush, thanks;
1192 * scintilla/*, src/utils.c, src/notebook.c,
1193 data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1194 data/filetypes.cs, data/filetypes.c, wscript:
1195 Merge unstable branch:
1197 Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
1199 Add 'Open in New Window' command in the notebook tab menu (based on
1200 patch by Matthew Brush, thanks - #3118059).
1201 - data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1202 data/filetypes.cs, data/filetypes.c:
1203 Disable preprocessor #define tracking for the CPP lexer
1204 (enabled by default in Scintilla).
1205 - scintilla/*, wscript:
1206 Update Scintilla to version 2.22.
1207 Use Scintilla's directory structure mostly and only remove
1211 2011-01-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1213 * New release: Geany 0.20 "Disra".
1216 2011-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1219 Add debug message with the number of compatible plugins in each
1220 plugin search path when showing the Plugin Manager dialog.
1223 2010-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1225 * doc/geany.txt, doc/geany.html:
1226 Move and update 'Custom filetypes' section.
1227 Add 'Creating a custom filetype from an existing filetype' section.
1230 2010-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1232 * src/interface.c, src/keybindings.c, geany.glade:
1233 Add Edit->Insert Alternative White Space menu item (was previously
1234 removed from Edit->Commands submenu).
1237 2010-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1239 * src/interface.c, geany.glade:
1240 Split Preferences dialog Interface tab into subnotebook to reduce
1241 height of dialog (fixes #3141277). Reuses existing strings.
1243 Scroll to the current line when moving the cursor to the next
1244 cursor position in a snippet (#3139490).
1245 * doc/geany.txt, doc/geany.html:
1246 Add short 'View menu' section and 'Color schemes menu' section.
1247 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1248 Add filetypes_get_display_name() to API.
1251 2010-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1254 Reduce Set Build Commands dialog column 1 width by using '#' label.
1257 Use italic for note labels in the Build Commands dialog.
1260 2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1262 * src/build.c, src/build.h:
1263 Replace doc-comments with '/* *' comments to show there's no build
1267 2010-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1269 * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
1270 Fix segfaults when using 'Send Selection to Terminal' and the VTE
1271 is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
1272 pref (patch by Dimitar Zhekov, thanks).
1273 * src/build.c, src/keyfile.c:
1274 Fix some more wrong uses of vte_info.load_vte instead of
1277 Disable 'Send Selection to Terminal' item when not available
1278 instead of removing it to avoid trailing separator.
1279 * doc/geany.txt, doc/geany.html:
1280 Add 'Configuration file paths' section and link to it instead of
1281 repeating typical system data and user config directory paths.
1282 List 2 Tools->Configuration Files menu items.
1283 Add 'Plugin Manager' section break.
1284 Edit some related sections.
1285 * doc/geany.txt, doc/geany.html:
1286 Update Ignore Tags section with example and menu item.
1287 * doc/geany.txt, doc/geany.html:
1288 List 'Tools->Configuration Files->filetypes.common' menu item.
1291 2010-12-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1294 Improve error message for document_save_file() if doc->file_name is
1295 NULL (reusing existing strings).
1296 Add warning about this in the API docs.
1299 2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1301 * scintilla/ScintillaGTK.cxx:
1302 Backport Scintilla HG fix: Remove styling idle in destructor to
1303 avoid crashing when idle called after ScintillaGTK instance
1304 destroyed (fixes #3111058).
1305 This prevents a crash when closing a modified document (usually
1306 without a trailing newline) and choosing Save.
1309 2010-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1312 Warn about file truncation if unsafe file saving fails.
1315 2010-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1318 Check result of fclose() for utils_write_file().
1321 2010-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1324 Enable GIO and built-in regex support on Windows
1325 when compiling without Waf.
1328 2010-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1331 Reformat and improve the Windows resource file.
1334 2010-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1336 * data/filetype_extensions.conf:
1337 Add *.latex pattern.
1338 * src/interface.c, geany.glade:
1339 Add note to indentation prefs page about using Project->Apply
1340 Default Indentation for currently open documents.
1343 2010-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1345 * src/interface.c, src/keybindings.c, src/callbacks.c,
1346 src/callbacks.h, geany.glade:
1347 Add 'Mark All' Search menu command.
1348 * src/symbols.c, doc/geany.txt, doc/geany.html:
1349 If the current word's tag is on the current line, make Go to Tag
1350 Definition look for a tag declaration instead, as this is more
1351 useful. Likewise make Go to Tag Declaration search for a tag
1352 definition in this case also.
1353 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1354 Don't use 'Enable' in pref labels when unnecessary.
1355 Rename XML/HTML tag autocompletion -> auto-closing.
1356 * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
1358 Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
1360 * src/keybindings.c, src/editor.c, src/editor.h:
1361 Add editor_get_prefs() instead of editor_get_long_line_*()
1362 functions. This general function can be extended to support
1363 various project and document overrides.
1364 * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
1365 src/editor.c, src/editor.h:
1366 Remove unnecessary 'global' from long line editor pref field names.
1369 2010-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1371 * doc/geany.txt, doc/geany.html:
1372 Explain how to grep the source for Scintilla lexer properties.
1373 * src/sidebar.c, src/callbacks.c, src/main.c:
1374 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
1375 Only auto-display symbols and documents tabs when showing the
1376 sidebar if there are no plugin tabs.
1377 Don't hide the sidebar on startup if only plugin tabs are visible
1380 Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
1381 so you can protect code with '#if GEANY_API_VERSION >= 200'.
1383 Warn about preprocessor testing GEANY_API_VERSION below 200 because
1384 those tests will always fail.
1387 2010-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1389 * data/filetypes.xml:
1390 Add 'instanceof' keyword for PHP (closes #3109330).
1393 2010-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1395 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1396 Re-focus Set Build Commands/Project dialogs after editing a build
1398 Add 'parent' argument to some dialogs_show_input*() functions because
1399 the dialog parent may not always be the main window.
1400 * src/build.c, src/dialogs.c, src/callbacks.c:
1401 Don't change default build command entry color when cancelling
1403 Make dialogs_show_input() return NULL when cancelled.
1405 Parse PHP final functions (fixes #3111171).
1406 * src/dialogs.c, src/plugindata.h, src/plugins.c,
1407 plugins/geanyfunctions.h:
1408 Add dialogs_show_input() to API.
1411 2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1413 * src/build.c, doc/geany.txt, doc/geany.html:
1414 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
1415 Build Commands dialog.
1416 * doc/geany.txt, doc/geany.html:
1417 Use 'Filetype build commands' and 'Independent build commands'.
1418 Fix saying project *independent* execute can only be set by hand.
1421 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1423 * src/keybindings.c, src/editor.c, src/editor.h:
1424 Make Reflow Lines/Block command use the current indented block, not
1425 the whole paragraph, which could have mixed indentation.
1426 Fix memory leak and off-by-one bug on first line when using Select
1428 * src/utils.c, src/highlighting.c, src/highlighting.h,
1429 src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
1430 plugins/geanyfunctions.h:
1431 Add API functions (patch by Eugene Arshinov, thanks):
1432 Move editor.c: is_{string,comment,code}_style() functions to
1433 highlighting.c, add to API.
1434 Add editor_find_snippet(), editor_insert_snippet(),
1435 utils_find_open_xml_tag() to API.
1438 2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1440 * src/editor.c, doc/geany.txt, doc/geany.html:
1441 Don't use XML tag auto-indentation when '</' is to the right of the
1442 cursor; allow auto-indentation when XML tag auto-closing is also
1444 * doc/geany.txt, doc/geany.html:
1445 Rename 'Format' section 'Filetype configuration'.
1448 2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1451 Update Waf to current SVN version.
1454 2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1457 Update Waf to version 1.6.1.
1458 Update wscript for new Waf version, make it Python 3 compatible.
1461 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1464 Display better error messages when saving a document fails (patch by
1465 Dimitar Zhekov, thanks).
1467 Fix wrong snippet indentation when original cursor line has
1468 non-indentation whitespace (patch by david, thanks).
1469 * doc/geany.txt, doc/geany.html, data/filetypes.php,
1470 data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
1471 Enable XML tag autoindentation for PHP, Docbook and add docs for
1472 this setting (patch by Eugene Arshinov, thanks).
1475 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1477 * src/templates.c, src/document.c:
1478 Use LF line endings for templates internally instead of default
1479 pref because the default can change. This fixes missing line
1480 endings sometimes when changing default setting.
1482 Fix not reporting an error message when saving a document fails.
1483 Check result of fclose().
1484 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
1485 data/filetypes.xml, data/filetypes.html:
1486 Add xml_indent_tags filetype setting for documents using the
1487 HTML/XML lexers (patch by Eugene Arshinov, thanks).
1489 Set errno to 0 before doing disk I/O to prevent confusing error
1490 messages on save failure.
1493 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1495 * src/templates.c, src/filetypes.c:
1496 Save build commands for filetype None (patch by Lex, thanks).
1497 Make filetypes_get_conf_extension() return "common" for filetype
1500 Convert line endings for file templates.
1501 Fix line endings when using file header template in a file template
1503 * src/utils.c, src/utils.h:
1504 Make utils_ensure_same_eol_characters() convert all wrong line
1505 endings to the desired one, not just the most common one.
1508 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1511 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
1513 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1514 Restore top-level editor popup item 'Find Document Usage'.
1515 * src/interface.c, src/ui_utils.c, geany.glade:
1516 Remove duplicates in 'Insert Comments' editor popup menu; rename
1518 Separate main menu insertion comments depending on number of times
1520 * data/filetypes.*, data/colorschemes/alt.conf:
1521 Rename word/word2 named styles to keyword/keyword2.
1522 * doc/geany.txt, doc/geany.html:
1523 Mention that indentation settings can be overridden per-project.
1524 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
1525 doc/geany.txt, doc/geany.html, geany.glade:
1526 Add 'Project->Apply Default Indentation' menu command to override
1527 every document's indentation settings.
1528 Improve 'Indentation' section docs.
1531 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1534 Fix build with GTK 2.12: explicitly include gio.h if GIO
1535 is available and to be used regardless of the USE_GIO_FILEMON flag.
1537 Fix installation of template files.
1538 Show which regex implementation is used.
1540 Use non-GIO mime-type icon lookup if GIO lookup fails.
1542 Allow skipping configure during autogen by setting NOCONFIGURE=1
1543 (thanks to Chow Loong Jin).
1546 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1549 Make use_safe_file_saving hidden pref apply even when GIO is
1550 available, because g_file_replace_contents() doesn't handle disk
1553 Show GIO/built-in regex support in startup debug message as well as
1555 * doc/geany.txt, doc/geany.html:
1556 Add docs for the HTMLChars plugin (patch by Frank).
1559 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1562 Do not translate 'name' field for filetype None because it is used
1563 for hash table lookup. This fixes missing files in the Open dialog
1564 for the 'All files' filter with non-English locales (thanks to Sardem
1565 FF7, fixes #3094771).
1566 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
1568 Add filetypes_get_display_name() to get translations for filetype
1571 Fix resource leak when saving files with GIO (patch by Colomban
1575 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1577 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1578 Add sci_get_lexer() to plugin API.
1579 * plugins/htmlchars.c:
1580 Only automatically replace characters when the current document is
1582 * plugins/htmlchars.c:
1583 Rename submenu item labels to be more descriptive.
1584 * src/keybindings.c:
1585 Fix Alt+[0-9] switching tabs when other modifiers are also held.
1587 Don't allow pasting of numbers followed by other characters in the
1588 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
1590 Print "GIO" and "built-in regex" if enabled with --version.
1592 Use g_file_replace_contents() if available to save documents - this
1593 should help workaround bugs in GVFS (based on patch by Alexey
1597 Fix wrongly adding newlines for templates on disk that don't have
1598 LF line endings when default line endings are not LF, e.g. Windows.
1601 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1603 * src/utils.c, src/main.c:
1604 Remove trailing directory separator for app->datadir and
1605 app->docdir for consistency with the other directory fields.
1607 Detect user and system filetype configuration files as Conf
1610 Respect 'Smart' home key for Shift+Home (fixes #3100290).
1613 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1615 * data/filetypes.ada:
1616 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
1619 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1622 Add install-data-only target to only install data/* to speed up
1625 Fix not autocompleting when breaking lines.
1626 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
1627 data/colorschemes/alt.conf, data/filetypes.haxe,
1628 data/filetypes.common, data/filetypes.glsl,
1629 data/filetypes.actionscript, data/filetypes.cs,
1630 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
1631 data/filetypes.Genie.conf:
1632 Add named style 'extra', use for C-like filetypes.
1635 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1637 * data/filetypes.xml:
1638 Match data-* and aria-* as HTML attributes.
1639 * data/colorschemes/alt.conf, data/filetypes.common,
1640 data/filetypes.python:
1641 Make Python use named styles for color scheme support - use
1642 alt.conf color scheme if you want the old colors.
1643 Add named style 'function'.
1645 Move plugin_set_info prototype and parenthesize arguments for
1646 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
1648 Fix putting pointer symbol before name, not after type.
1651 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1653 * src/filetypes.c, src/ui_utils.c:
1654 Fix notebook tab menu icons using theme for "text/plain" filetypes.
1655 Make filetype mime_type "text/plain" instead of NULL.
1658 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1660 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1661 Edit XML tag autocompletion pref and tooltip to include HTML.
1662 * doc/geany.txt, doc/geany.html:
1663 Add docs for 'Ensure consistent line endings' pref.
1665 Change default for 'Override Geany keybindings' to on.
1667 Sort filetypes_by_title last instead of on insertion to prevent
1669 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
1670 Add filetype mimetype field (patch by Colomban Wendling, thanks).
1671 * src/sidebar.c, src/document.c:
1672 Show mimetype icon in sidebar Documents list (patch by Colomban
1675 Add notebook tab document icons (based on patch by Colomban
1678 Leave text/plain mime_type fields as NULL (like custom filetypes).
1681 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1683 * src/editor.c, data/snippets.conf:
1684 Move HTML automatic <table> tag completion into a 'table' snippet
1685 so the user can decide when to use it (patch by Eugene Arshinov,
1687 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
1688 src/document.c, src/document.h, THANKS, geany.glade:
1689 Add 'Ensure consistent line endings' file saving pref (patch by
1690 Manuel Bua, thanks).
1691 * src/utils.c, src/utils.h, src/editor.c:
1692 Auto-indent after an HTML/XML line with a missing closing tag (patch
1693 by Eugene Arshinov, thanks).
1694 Behaviour only applies if XML tag autoclosing is off.
1695 * src/templates.c, src/build.c, src/document.c, src/editor.c,
1696 src/symbols.c, plugins/saveactions.c:
1697 Remove unnecessary uses of FILETYPE_ID() macro with
1698 GeanyDocument::file_type.
1699 * data/filetypes.xml:
1700 Add HTML5 attributes (thanks to Ross McKay).
1703 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1706 Fix not changing edited keybindings when cancelling the Preferences
1708 * data/filetypes.xml:
1709 Add HTML5 element names (thanks to Ross McKay).
1712 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1714 * src/utils.c, src/filetypes.c:
1715 Remove filetype default extensions from code.
1717 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
1719 Refactor shared code with kb_cell_edited_cb().
1722 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1724 * src/highlighting.c:
1725 Use radio buttons for View->Editor->Color Schemes menu.
1726 Don't hide the menu when only the default item is available.
1727 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
1728 Add alternative color scheme based on Python colors.
1729 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
1730 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1731 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1732 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
1733 Add Erlang filetype (patch by Taylor Venable, thanks).
1734 * src/filetypes.c, data/filetypes.*:
1735 Move filetype 'extension' default into data files.
1736 * src/filetypes.c, data/filetypes.vala:
1737 Move filetype comment_{open,close} defaults into data files.
1740 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1742 * data/filetypes.c, data/filetypes.d:
1743 Add missing C99 keyword 'restrict' (#3046716).
1744 Add missing D1 keywords 'ref' and 'macro'.
1747 Parse Vala functions with contracts (#3080232).
1749 Fix saving project indent prefs straight after using project
1751 * src/highlighting.c, src/filetypes.c:
1752 Prevent debug message about a missing 'default' named style when
1753 using just a user color scheme file.
1756 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1759 Fix off-by-one bug in 'search_mark_all'.
1762 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1765 Ignore D /+ +/ comments.
1767 Ignore D unittest blocks.
1768 Parse D template functions with constraints.
1769 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1770 Add 'Insert New Line Before/After Current' keybindings (based on
1771 patch by Eugene Arshinov, thanks).
1773 Use secondary text for 'file not found on disk' dialog.
1776 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1779 Fix build with GLib 2.8.
1782 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1784 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
1785 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
1786 Revert X11 workspace socket support as it needs more work; moved
1787 to workspace-sockets branch.
1790 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1792 * src/geanywraplabel.c:
1793 Fix build with GLib 2.8.
1794 * src/dialogs.c, src/about.c, THANKS:
1795 Group Open dialog encoding options by submenus (patch by Adam Ples,
1797 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
1798 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1799 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1800 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
1801 Add Lisp filetype (patch by Mário Silva, thanks).
1802 Note: Lisp lexer was taken from Scintilla instead.
1805 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1807 * po/kk.po, THANKS, src/about.c:
1808 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
1812 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1814 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
1815 Don't cache overridden lexer properties.
1816 Add foreach_strv() to plugin API.
1817 Add utils_strv_join().
1818 * tagmanager/basic.c:
1819 Parse property, constructor, destructor as functions (patch by
1820 pottersson, thanks; #2992167).
1823 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1825 * src/tools.c, doc/geany.txt, doc/geany.html:
1826 Fix passing quoted arguments when using 'Send Selection to'. This
1827 means sed 's/\./(dot)/g' now works.
1829 Add snippet keybinding support for keys in user snippets.conf (based
1830 on patch by Eugene Arshinov, thanks). No docs yet.
1831 * doc/geany.txt, doc/geany.html:
1832 Add some subheadings for Snippets section.
1833 * doc/geany.txt, doc/geany.html:
1834 Add snippet keybindings docs.
1835 * src/highlighting.c, src/utils.h:
1836 Move foreach_strv to utils.h.
1837 * src/editor.c, data/snippets.conf:
1838 Read snippet keybindings from system keyfile also.
1839 Add keybinding example to default snippet.conf.
1842 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1844 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
1845 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
1846 data/filetypes.txt2tags, data/filetypes.markdown,
1847 data/filetypes.restructuredtext:
1848 Add symbol_list_sort_mode per-filetype setting, set to sort by line
1849 number by default for Markdown, reStructuredText and Txt2Tags.
1850 Add utils_get_setting() macro for reading a key from a home or
1852 Move GeanyFiletypePrivate to filetypesprivate.h.
1853 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
1854 Link with X11 if found to fix linking with a recent GNU ld.
1856 Avoid delay and redrawing when automatically opening a new document
1858 * scintilla/LexForth.cxx, scintilla/makefile.win32,
1859 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1860 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1861 data/filetypes.forth, data/filetype_extensions.conf, wscript:
1862 Add Forth filetype (patch by Thomas Huth, thanks).
1864 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
1865 commands for 'Send Selection to' (oops).
1868 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1871 When commenting/uncommenting with single-line comment characters,
1872 ignore any end of line characters before evaluating the current line.
1873 * data/filetypes.python:
1874 Simplify Python Compile/Syntax Check command.
1877 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1879 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
1881 Add hidden pref 'find_selection_type' with option to repeat last
1882 search when there's no selection.
1883 Change default Find Selection behaviour to not let the X selection
1884 override the current word (can be confusing).
1885 Add docs for Find Selection commands.
1887 Fix segfault on idle callback when quitting.
1888 * src/interface.c, src/keybindings.c, geany.glade:
1889 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
1891 * src/interface.c, geany.glade:
1892 Move editor popup menu Insert Comments submenu to top of Insert menu.
1893 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
1895 Add hidden pref new_document_after_close for whether to open a new
1896 document automatically, off by default.
1898 Add 'Bugs to watch out for' section.
1901 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1903 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
1904 doc/stash-gui-example.c:
1905 Improve Stash GUI example.
1908 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1910 * src/interface.c, geany.glade:
1911 Move Go to Marker menu items to Search menu.
1912 Rename popup editor menu item Commands -> Edit.
1913 * src/callbacks.c, src/search.c, src/search.h:
1914 Move find_again() to search.c.
1916 Make Find Selected commands repeat the last search if the selection
1918 * doc/geany.txt, doc/geany.html:
1919 Add docs for Find Selection keybindings.
1920 * src/interface.c, src/keybindings.c, geany.glade:
1921 Unify Find Selection strings.
1922 * src/interface.c, src/ui_utils.c, geany.glade:
1923 Group editor popup Insert commands in a submenu, with extra items
1924 for the most commonly used Insert Comments commands.
1925 Show Edit->Commands before Format in menubar Edit menu (to match
1927 Show Open Selected F_ile popup item below submenus.
1930 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1933 Refactor shared submenu code with GeanySharedMenu array.
1934 * src/interface.c, src/ui_utils.c, geany.glade:
1935 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
1936 shared with the editor popup menu.
1938 Open a new document automatically after closing all documents.
1941 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1944 Prompt for reloading if the document has an undo stack to avoid
1945 losing undo ability on accidental reloading (patch by Colomban
1947 * src/project.c, src/geanyobject.c, src/geanyobject.h,
1948 doc/pluginsignals.c:
1949 Add plugin signals project-dialog-create and
1950 project-dialog-confirmed so plugins can append a Project Properties
1951 notebook tab (patch by Jiří Techet, thanks).
1952 * src/ui_utils.h, src/plugindata.h, src/main.c:
1953 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
1954 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
1955 src/plugins.c, plugins/geanyfunctions.h:
1956 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
1959 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1962 Save document indent width with the session.
1963 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
1964 doc/geany.html, TODO:
1965 Use a separate socket per workspace on X (patch by Erik de Castro
1969 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1972 Ignore directories passed on the command-line (based on patch by
1973 Erik de Castro Lopo, thanks).
1975 Parse D function template names.
1976 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
1977 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
1979 Allow per-document indent width setting (patch by Jiří Techet,
1980 updated by Erik de Castro Lopo - thanks).
1981 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
1982 Combine indent width menu item callbacks.
1983 * src/interface.c, geany.glade:
1984 Don't translate indent width menu items as they are now used for
1988 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1990 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1991 Remove 3 popup menu items to save space:
1992 Find Document Usage because Find Usage can be used instead.
1993 Go to Tag Declaration because Go to Tag Definition is more common.
1994 Go to Line because the toolbar item can be used instead.
1995 * src/tools.c, src/search.c, tagmanager/python.c:
1996 Fix some 'possible' NULL pointer dereferences (based on patch by
1997 Erik de Castro Lopo).
1998 * src/keybindings.c, src/keybindings.h, src/prefs.c:
1999 Simplify keybindings_check_event().
2002 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2005 Use up/down icons for Previous/Next Error.
2006 * src/interface.c, src/keybindings.c, src/callbacks.c,
2007 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2009 Add Find Usage and Go to Tag items to Search menu for easier
2011 * tagmanager/tm_symbol.c:
2012 Fix possible NULL dereference.
2014 Add link to glade-2.12.2.tar.gz on geany.org.
2015 * doc/geany.txt, doc/geany.html:
2016 Mention the filetype wordchars setting can be overridden by the
2017 whitespace_chars filetypes.common setting.
2018 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
2019 Remove NULL checks when calling g_free() (patch by Erik de Castro
2022 Show Save As when saving if the document filename doesn't have an
2023 absolute path, so command-line new files can be saved without a
2024 prompt, but file templates still prompt the user.
2027 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2030 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
2034 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2036 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
2037 Add GeanyMainWidgets::message_window_notebook for plugins to append
2038 a new notebook page (#3061342).
2040 Add Close button to the detected file changed dialog.
2041 * src/interface.c, geany.glade:
2042 Add separator between Find Previous and Find in Files.
2043 Add up/down icons for Previous/Next Message.
2046 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2048 * data/snippets.conf:
2049 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
2053 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2056 Fix broken editing of build menu labels.
2057 * src/encodings.c, src/filetypes.c, configure.ac:
2058 Auto-enable building with included regex if no regcomp function is
2060 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
2061 regex support is required.
2062 * tagmanager/make.c:
2063 Backport fix for possible infinite loop from CTags.
2064 * scintilla/PlatGTK.cxx:
2065 Backport list box memory leak fixes from Scintilla 2.20.
2068 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2071 Make the Properties dialog filename a label and put it first (patch
2072 by Jiří Techet, thanks).
2073 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
2075 Remove the "Set build working directories" button from the project
2076 properties dialog (patch by Jiří Techet, thanks).
2078 Include all files if the Find in Files pattern field is enabled and
2081 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
2084 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2086 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
2087 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2088 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2089 data/filetypes.txt2tags, wscript:
2090 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
2091 * m4, configure.ac, Makefile.am:
2092 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
2094 Only prompt for reloading if the document has unsaved changes
2095 (patch by Jiří Techet, thanks).
2098 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
2101 Apply a patch by Jiří Techet which is preventing warnings when using
2102 -Wmissing-prototypes on compiling. Thanks.
2105 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2107 * scintilla/KeyWords.cxx:
2108 Link Octave instead of Matlab.
2109 Add comment about not being autogenerated.
2110 Minor changes to fit Scintilla order.
2111 * src/build.c, src/build.h:
2112 Replace GeanyBuildCommand::entries array with separate fields.
2113 Similar to r5077 in the bs2 branch, but with less loop unrolling.
2115 Remove buildcmd_* accessor functions.
2118 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2120 * src/highlighting.c, src/editor.c:
2121 Use Octave lexer instead of Matlab to support Octave # comment char.
2124 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2127 Fix segfault on Tools->Reload Configuration when no documents are
2129 * scintilla/LexMarkdown.cxx:
2130 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
2133 Fix saving non-project filetype error regex.
2135 Fix memory leak in read_regex().
2138 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2141 Check for libsocket on OpenSolaris to fix build.
2143 Rewrite the logic to auto detect encodings a bit to make it more
2144 readable and fix a slightly wrong detection on Windows
2146 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
2148 Add editor_goto_pos() to the plugin API.
2151 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2154 Check for git-svn repo, not just git because find-rev doesn't
2155 always fail with a git-only repo.
2158 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2161 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
2164 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2166 * doc/geany.txt, doc/geany.html:
2167 Reorder Focus keybindings.
2170 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2173 Applying a patch by Erik de Castro Lopo for checking against
2174 pkg-config when running autogen.sh. Thanks for the patch.
2176 Applying a patch by Colomban Wendling to print out log domains.
2180 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2182 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
2183 Use single binding_ids keybinding array instead of individual
2184 arrays for core keybindings. This allows the keybinding IDs to be
2185 merged into one enum; the order of keybindings is now just the
2186 order they are added to each group. Keybindings can be reordered
2187 without breaking the plugin ABI but groups must stay the same.
2189 Fix writing the default value when a key is missing for hidden
2190 prefs, even if it was overridden when it was originally read.
2191 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2192 Move some interface hidden prefs to ui_utils.c.
2194 Revert r4840 scope completion mode as it sometimes breaks
2196 * src/keybindings.h, src/plugindata.h:
2197 Randomly sort keybinding IDs to show there should be no order.
2198 * src/keybindings.c:
2199 Reorder Focus keybindings.
2202 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2204 * src/ui_utils.c, src/ui_utils.h:
2205 Make ui_label_new_bold() a function.
2206 Escape the name of the current document for markup when using
2207 document name for menu items (closes #3038844).
2209 Inherit 'beep on errors' preference for the audible bell preference
2210 for the VTE (closes #3038215).
2213 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2215 * src/utils.c, src/utils.h:
2216 Add utils_get_eol_char().
2217 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
2218 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
2220 Ensure inserted templates always have proper line ending characters
2221 according to the current document's preference.
2222 This is also fixes problems with templates on Windows which had
2223 always Unix line ending characters but now since they are read
2224 from files, these have Windows line ending characters and had been
2228 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2231 Fix build with GTK 2.8, use the stock icon name directly instead
2232 of the macro. Though, the icon is still missing for GTK 2.8.
2234 Make make_comment_block() work with a GString. This is not yet
2235 perfect but a bit better than before.
2238 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2240 * src/keybindings.c, src/vte.c, src/vte.h:
2241 Implement 'Select All' for the VTE widget.
2244 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2247 Fix missing template files in the Windows installer.
2250 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2252 * data/filetypes.python:
2253 Update list of Python builtins, based on Python 2.6.
2256 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2259 On Windows, convert filetype extensions read from config files
2260 to lower case (closes #3028856).
2263 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2265 * src/keybindings.c:
2266 Focus toolbar item when pressing Go to Line keybinding only when
2267 it's not in the toolbar's drop down overflow menu (fixes #3027454).
2270 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2273 Fix build menu translation problems.
2276 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2279 Fix './waf install'.
2282 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2285 Fix scrolling the editor line in view after loading a session and
2286 switching document tabs. Note this causes repainting so needs
2288 * doc/geany.txt, doc/geany.html:
2289 Add note to restart Geany after installing/updating before editing
2291 * src/ui_utils.h, src/main.c, src/ui_utils.c:
2292 Use Stash to save statusbar_template setting, instead of the
2293 load/save-settings signal.
2294 Add ui_init_prefs().
2297 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2299 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2300 Fix writing empty hidden pref "statusbar_template" key so users can
2301 find it (patch by Dimitar Zhekov, thanks).
2302 * src/ui_utils.c, src/ui_utils.h, src/main.c:
2303 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
2306 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2308 * src/build.c, src/project.c, src/project.h:
2309 Show the Project Properties build tab when choosing 'Set Build
2310 Commands' for now to prevent confusion with non-project commands.
2313 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2315 * src/search.c, doc/geany.txt, doc/geany.html:
2316 Fix Grep --exclude-dir example.
2319 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2322 Add sidebar Documents popup menu item 'Find in Files'.
2323 * src/keyfile.c, src/main.c, src/editor.c:
2324 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
2325 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
2328 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2330 * doc/geany.txt, doc/geany.html:
2331 Fix wording - restarting is required for hidden prefs.
2332 File templates don't need manual reloading anymore.
2334 Fix only adding project base path to Find in Files history if it
2335 isn't already there (oops).
2337 Parse lines in the Messages window even if Find in Files hasn't
2338 been used yet (patch by Jiří Techet, thanks).
2341 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2343 * scintilla/LexCPP.cxx, src/highlighting.c:
2344 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
2346 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
2347 data/filetypes.common:
2348 Add filetypes.common fold_symbol_highlight color setting.
2349 Add API macro foreach_range().
2350 * src/printing.c, doc/geany.txt, doc/geany.html:
2351 Always use white background color when printing (except for text
2352 with a white foreground) to save ink (should fix #2968998).
2353 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
2354 Limit build error editor indicators to 50, but parse all errors in
2355 the Compiler tab (fixes #3019823).
2358 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2360 * src/highlighting.c:
2361 Re-enable fold.comment for lexers - it was disabled to prevent C
2362 //{ explicit folding, but that also disables stream comment folding
2364 * tagmanager/tm_workspace.c, tagmanager/get.c:
2365 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
2367 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
2368 doesn't affect the bug with document switching not scrolling cursor
2369 in view after loading a session.
2372 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2374 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
2375 Add statusbar_template hidden pref (based on patch by Dimitar
2377 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2378 Add spaces after RO when using %r in statusbar_template setting.
2379 Add space between encoding and BOM.
2380 Note \t means tab for default text.
2383 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2386 Restore tabbing past Find in Files combo box drop down menus.
2389 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2391 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
2392 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
2394 Move plugin signals docs to pluginsignals.c, using function
2395 pointer syntax instead of @signaldef as this puts a summary of
2396 the signal names at the top of the page and sorts alphabetically.
2397 (Note: the syntax is similar to Vala signal syntax).
2400 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
2403 Make default dialog entries use GTK_STATE_INSENSITIVE color not
2404 a fixed color (Suggestion by Ditmar Zhekov)
2407 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2409 * src/search.c, doc/geany.txt, doc/geany.html:
2410 Implement Find in Files file pattern search.
2412 Add file pattern to combo box history.
2413 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
2415 Use ui_hookup_widget() instead of g_object_set_data_full() for
2419 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2422 Add Files checkbox and combo to Find in Files dialog, currently
2423 does nothing & is disabled.
2424 Don't try to focus the next entry on pressing tab anymore as this
2425 is more complicated now.
2428 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2431 Put Find in Files Search field above Directory field.
2432 * src/search.c, doc/geany.txt:
2433 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
2434 regular expressions' radio buttons with a 'Use regular expressions'
2435 checkbox. This uses the extended syntax (which is the same as the
2436 Find/Replace regex syntax).
2438 Move 2 Find in Files checkboxes for even spacing.
2441 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2443 * tagmanager/tm_work_object.c:
2444 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
2448 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2450 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
2451 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
2452 Add ui_combo_box_add_to_history() to API.
2453 * plugins/filebrowser.c:
2454 Add history to path entry.
2455 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
2456 Fix not loading plugins built against a newer API when Geany doesn't
2457 provide the required version given in PLUGIN_VERSION_CHECK().
2458 Improve documentation for PLUGIN_VERSION_CHECK().
2459 * plugins/filebrowser.c:
2460 Allow Find in Files when no items are selected.
2461 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
2462 Add API signal "build-start" (patch by Jiří Techet, thanks).
2465 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2468 Replace /home/user with ~ in the documents list (patch by Jon
2471 Make default Build dialog entries grey, not light grey (too hard to
2472 read on a white background).
2474 Display 'new instance' on title bar (patch by Eugene Arshinov,
2477 Remove any duplicate on adding to combo box histories.
2480 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2483 Align notebook tab close buttons centred vertically - thanks to
2485 * Merge unstable branch:
2487 Make build config entries light grey until set.
2488 - src/keybindings.c, src/about.c, THANKS:
2489 Fix the wrong file being put on top of the stack when switching tabs
2490 too quickly (patch from Jiří Techet, thanks).
2491 - src/templates.c, data/templates/gpl, data/templates/function,
2492 data/templates/changelog, data/templates/bsd,
2493 data/templates/fileheader, wscript, Makefile.am:
2494 Move general templates from source code into files.
2495 Load general templates from system path instead of creating them in
2496 the user's config dir.
2499 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2502 Add doc/stash-example.c to fix 'make distcheck'.
2504 Change the RequestExecutionLevel for the Windows installer to
2506 * New release: Geany 0.19 "Vellam".
2507 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
2508 geany_private.rc, win32-config.h, wscript, src/geany.h:
2509 Post-release version bump.
2512 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2515 Group undo action for Insert Multiline Comment.
2518 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2521 Don't individually install data/*.tags as all data/* files will be
2525 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
2527 * tagmanager/tm_project.c:
2528 Fix a double free. (patch by Daniel Marjamaki, thanks).
2531 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2533 * tagmanager/tm_workspace.c:
2534 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
2536 Fix reducing paths to project name in the Documents list
2537 (patch by Eugene Arshinov, thanks).
2539 Fix crash when trying to sort NULL pointers as tags in the Symbols
2540 list (closes #3011986).
2541 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
2542 Update Scintilla to version 2.12.
2543 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
2544 scintilla/LexCrontab.cxx:
2545 Remove unused Crontab lexer.
2546 * data/filetypes.css, src/highlighting.c:
2547 Add new style "media" for filetype CSS.
2550 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2552 * doc/geany.txt, doc/geany.html:
2553 Build section: minor rewording, formatting fixes; move some
2557 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2560 Explicitly try to localise build menu item labels with
2561 gettext to enforce getting default labels translated.
2562 * tagmanager/tm_workspace.c:
2563 Fix not closed FILE pointer on early exit
2564 (patch by Daniel Marjamaki, thanks).
2566 Update images for Geany 0.19.
2568 Destroy the default symbol list treeview only once
2569 (fixes gtk_widget_destroy warning on exit).
2572 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2574 * tagmanager/sort.c:
2575 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2577 Fix parsing of C++ classes contain attributes with bitfields
2578 (patch by Lex Trotman, thanks).
2579 * src/plugindata.h, src/plugins.c:
2580 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
2581 plugins' meta information can be translated already in the
2582 plugin manager dialog (patch by Colomban Wendling, thanks).
2585 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2588 Print locale information in debug output.
2590 Fix some labels which were marked as translatable but were not
2591 handled properly by gettext().
2592 Add a missing const.
2594 Try to convert text into UTF-8 before adding it to the Compiler and
2595 Messages Window (closes #3007919).
2598 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2600 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
2602 Pass G_LOG_DOMAIN to source files for better logging.
2605 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
2607 * THANKS, src/about.c:
2608 Update of translation credits to reflect a change on Spanish
2609 translation team better.
2612 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
2615 Fix infinite loop reading build command output
2618 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2621 Fix duplicate accelerators for Clear and Copy in the
2622 Messages Window popup menu.
2623 * src/pluginutils.c:
2624 Expand child widgets in the Plugin Preferences dialog
2625 (patch by Colomban Wendling, thanks).
2628 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2631 Fix Undo/Redo button state after the last document has been closed.
2632 Add Print and Replace toolbar items to the list of document
2635 Fix crash when the toolbar is reloaded without any open documents.
2637 Fix Run toolbar item sensitivity after the last document has been
2639 * plugins/classbuilder.c:
2640 Remove two unnecessary g_strdups().
2641 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
2642 src/plugindata.h, src/ui_utils.h:
2643 Add hidden preference to disable automatic scrolling in the
2644 Compiler tab (closes #3004714).
2647 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2649 * plugins/classbuilder.c:
2650 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2653 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2655 * src/prefs.c, src/project.c:
2656 win32.h can be included unconditionally.
2658 Fix project base_path detection if the path has a trailing slash.
2659 * src/document.c, src/editor.c, src/project.c:
2660 Small improvements to speed up quit process with many open documents.
2661 Avoid calling gtk_notebook_remove_page() on exit as it takes
2663 * src/geanymenubuttonaction.c:
2664 Explicitly check for the type when iterating the action's proxies.
2665 For some reason on Windows, a GtkImageMenuItem proxy is created.
2666 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
2667 src/plugindata.h, scintilla/*, scintilla/include/*:
2668 Update Scintilla to version 2.11.
2669 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
2671 Add new GTK define also for Mingw cross compilation and
2672 makefile.win32 based Windows builds.
2673 * plugins/filebrowser.c:
2674 Implement reading and evaluating hidden file attribute on Windows.
2675 Fix broken "Go Up" if the current path ends with a slash.
2676 * THANKS, src/about.c, src/prefix.c:
2677 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2678 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
2679 src/main.c, src/notebook.c, src/prefs.c:
2680 Add preference to add new document tabs beside the current one
2681 (patch by Colomban Wendling, thanks).
2682 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
2683 src/keyfile.c, src/prefs.c, src/ui_utils.h:
2684 Add a preference for choosing between GTK and native
2685 File Open/Save dialogs (only available on Windows).
2686 * doc/geany.html, doc/geany.txt:
2687 Update documentation.
2690 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2693 Sort file filters for the native Windows file open dialog by name.
2694 Don't use file filters for the native Windows Save As dialog.
2695 * src/dialogs.c, src/win32.c, src/win32.h:
2697 Pass and use also parent and title arguments to
2698 win32_show_document_open_dialog().
2700 Call handle_save_as() only when the Save As dialog was not cancelled.
2702 Improve adding/removing of the special separator between menubar and
2703 toolbar when the toolbar is appended to the menubar.
2704 * src/toolbar.c, src/templates.c:
2705 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
2706 not trigger updating the menus on each item removal.
2709 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2712 Replace one non breaking space by normal space. Patch by
2716 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2718 * plugins/classbuilder.c:
2719 Don't make the 'Create Class' menu item document-sensitive
2720 (patch by Colomban Wendling, thanks).
2721 Add namespace support for GTK+ classes.
2722 Add GET_CLASS() macro for GTK+ classes.
2723 Add typedef of the private structure in the header file instead
2725 (all the above from a patch by Colomban Wendling, thanks).
2726 * src/highlighting.c:
2727 Set common default "fold.comment" to 0 to disable it. This can
2728 be overridden if desired.
2730 Improve sorting of document list items
2731 (patch by Colomban Wendling, thanks).
2733 Remove unnecessary textdomain() call.
2736 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2739 Fix search_find_text not returning -1 when match is out of range.
2740 This fixes invalid memory reads and wrong template filename
2741 wildcard replacement.
2742 * src/search.c, src/document.c:
2743 Only replace template filename matching start of word on saving.
2744 * plugins/filebrowser.c:
2745 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
2746 * src/build.c, src/build.h, src/project.c:
2747 Make some ugly build.h global variables static.
2748 * src/build.c, src/build.h, src/project.c:
2749 Add Build prefix for TableFields, TableData.
2752 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2755 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
2756 * src/dialogs.c, src/win32.c, src/win32.h:
2757 (Re-)Implement a (still basic) native Windows Save As dialog when
2758 compiled with GEANY_USE_WIN32_DIALOG.
2761 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2763 * THANKS, src/about.c, plugins/classbuilder.c:
2764 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
2765 * src/ui_utils.h, src/ui_utils.c:
2766 Add public, generic callback ui_editable_insert_text_callback()
2767 to restrict GtkEntry text inputs to +/- and numeric values only.
2768 * src/dialogs.h, src/dialogs.c:
2769 Add special variant dialogs_show_input_goto_line() to use a normal
2770 GtkEntry together with dialogs_show_input_goto_line() for text input.
2771 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
2772 Allow '+<number' and '-<number>' as values for Goto Line inputs
2773 to jump relative to the current line (closes #2997238).
2776 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2778 * src/highlighting.c:
2779 Apply foreground and background colours of the folding margin
2780 style properly (closes #2998347).
2782 Don't auto-close short XML tags (closes #2994852).
2783 * THANKS, src/about.c, src/keybindings.c:
2784 Improve jumping to matching braces by consistently position the
2785 cursor before or after the matching brace dependent where it
2786 was before (patch by Dimitar Zhekov, thanks).
2788 Fix crash when generating global tags files (patch by Colomban
2792 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2795 Avoid connecting signals more than once.
2798 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2801 Don't ignore the 'intltool' check on non-Windows systems, instead
2802 raise a configure error.
2805 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2808 Fix marking some strings as translatable (cannot be done in the
2810 * src/templates.c, doc/geany.txt, doc/geany.html:
2811 Reload templates if saving a document in the templates config dir.
2814 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2816 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
2818 Fix replacing {filename} template wildcard for custom file
2819 templates with non-default file extension.
2820 Add search_find_text() for POSIX regex searches.
2821 * src/templates.c, doc/geany.txt, doc/geany.html:
2822 Add {project}, {description} template wildcards (#2954737).
2823 * doc/geany.txt, doc/geany.html:
2824 Divide template wildcards into groups.
2825 * src/plugindata.h, src/plugins.c, src/symbols.c,
2826 plugins/geanyfunctions.h:
2827 Add symbols_get_context_separator() to plugin API (patch by Colomban
2831 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2833 * src/keybindings.c:
2834 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
2835 Anonymous, thanks; #2995593).
2836 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
2837 plugins/geanyfunctions.h:
2838 Add sci_set_line_indentation(), sci_get_line_indentation() to API
2839 (patch by Colomban Wendling, thanks).
2842 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2845 Warn user if hidden hard tab width setting is not 8.
2848 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2850 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
2851 doc/geany.txt, doc/geany.html:
2852 Hide 'Tabs and Spaces: Hard tab width' preference - it should
2853 always be 8. (Hidden setting kept in case users have modified it).
2856 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2858 * doc/geany.txt, doc/geany.html:
2859 Add Folding section link to filetypes.common custom settings.
2862 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2865 When switching documents, don't call document_set_text_changed()
2866 as this does much more than necessary. Instead call the necessary
2867 UI update functions explicitly.
2870 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2872 * tagmanager/vstring.c:
2873 Fix invalid memory read (patch by Colomban Wendling, thanks).
2876 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2878 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
2879 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
2880 strings in case of reaching the buffer size limit (part of #2979697).
2882 Change the limit for the command line length when executing commands
2883 to a maximum of 32768 characters (closes #2979697).
2884 Fix broken opening URLs e.g. when using the 'builtin' Run command.
2885 * tagmanager/ctags.c:
2886 Change eFree() to simply ignore NULL pointers instead of asserting.
2888 Remove malloc() fallback since we completely rely on g_malloc()
2890 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
2891 plugins/saveactions.c:
2892 Make string arguments const where appropriate (patch by
2893 Colomban Wendling, thanks).
2894 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
2895 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
2896 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2897 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
2898 src/symbols.c, src/templates.c, src/ui_utils.c:
2899 Make string arguments const where appropriate (patch by
2900 Colomban Wendling, thanks).
2903 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2905 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
2906 Make plugin_signal_connect() string argument const (patch by
2907 Colomban Wendling, thanks).
2908 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
2909 Constify some more string pointers in the API (patch by
2910 Colomban Wendling, thanks).
2911 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2913 Support {pc} wildcard in snippets to escape percent char.
2915 Recalculate line margin width when zooming (fixes #2990553).
2916 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2917 data/filetypes.common:
2918 Support more folding icon styles: arrows, +/- and no lines
2922 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2925 Fix Windows build by properly guarding Unix-only code.
2928 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2930 * src/templates.c, doc/geany.txt, doc/geany.html:
2931 Support {ob} and {cb} in fileheader and file templates; they are
2932 replaced last with { and }. This allows 'escaping' of wildcard
2934 * src/editor.c, plugins/classbuilder.c:
2935 Fix Class Builder plugin to use correct indentation instead of
2937 Make editor_insert_text_block() only replace leading tabs for the
2938 'Tabs' indent type; also group edits for undo.
2939 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2941 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
2944 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2946 * tagmanager/pascal.c:
2947 More fixes to prevent possible crashes by trying to free NULL
2950 Automatically show and hide the sidebar notebook tabs according
2951 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
2953 Add a static global variable to monitor autocompletion mode in order
2954 to prevent cancellation of the struct/class (C/C++) auto completion
2955 list (patch by Thomas Martitz, thanks).
2957 When starting and trying to access the Unix Domain socket of a
2958 potentially running instance, first compare file ownership with the
2959 user id of the running process to prevent accessing a wrong socket
2960 file (part of #2985463, this might not yet be the final solution).
2963 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2965 * plugins/filebrowser.c:
2966 Synchronize popup menu and plugin preferences dialog 'Show Hidden
2967 Files' option (fixes #2989288).
2970 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2972 * tagmanager/entry.c, tagmanager/entry.h,
2973 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
2974 tagmanager/parse.h, tagmanager/tm_source_file.c:
2975 Add tm_source_file_set_tag_arglist() to manually set the argument
2977 * tagmanager/python.c:
2978 Use tm_source_file_set_tag_arglist() to set the argument list
2979 field of Python class tags to the argument list of their
2981 Backport a fix from CTags SVN to prevent possible crashes by trying
2982 to free NULL pointers.
2985 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2987 * tagmanager/txt2tags.c:
2988 Remove duplicate code from Txt2Tags parser.
2989 Remove the title control characters ('=') when parsing titles.
2990 Also parse numbered titles (closes #2984703).
2991 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2993 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
2994 Add missing documentation for 'Reset Zoom' keybinding.
2996 Another attempt to fix the PHP parser regexp for parsing functions.
2997 Fix wrong parsing of function arguments when those contain nested
2998 brackets (as reported by Harold Aling).
3000 Fix Ctrl-Click on notebook tab if Numpad is active.
3003 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3005 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
3006 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
3007 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
3008 src/ui_utils.c, src/ui_utils.h:
3009 Add option 'System Default' for toolbar icon style and size to
3010 use the GTK default value.
3011 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3012 src/toolbar.c, src/toolbar.h:
3013 Shorten the toolbar popup menu, only provide items for Toolbar
3014 Preferences and to Hide the toolbar.
3016 Instantly update the toolbar icon size and style when the
3017 corresponding global GTK settings are changed.
3018 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
3019 src/plugindata.h, src/socket.c:
3020 Add new command line option --list-documents to return a list
3021 of currently opened documents (closes #2979933).
3024 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3026 * plugins/htmlchars.c:
3027 Make plugin remember whether replacement of special characters was
3028 activated even after restart of Geany or reloading of plugin.
3031 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3034 Fix inserting snippets with an indent when using Mac CR line
3037 Update status bar after using Document->Set Line Endings.
3039 Improve API docs for editor_insert_text_block().
3042 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3045 Refactor snippets_complete_constructs().
3046 Remove an unnecessary TODO.
3048 Fix indenting a snippet when there is whitespace after the
3052 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3054 * doc/geany.txt, doc/geany.html:
3056 * src/build.c, src/msgwindow.c:
3057 Fix disabled compiler message tracking if using indicators to
3058 show build errors is disabled (closes #2982834).
3061 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3063 * scintilla/Editor.cxx:
3064 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
3065 and SCI_GETSELECTIONEND with rectangular selections. This fixes
3066 replacing in a rectangular selection.
3069 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3072 Re-detect any document filetypes set to None after reloading
3073 filetype extensions (closes #2979661).
3075 Fix showing '...' item last instead of first for document word
3079 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3081 * data/filetypes.perl:
3082 Adjust Perl Compile command to use the -c command
3083 line option to perform a syntax check instead of using the
3084 deprecated ByteCompile module.
3085 Add error_regex to parse error messages and warnings when performing
3086 syntax checks on Perl files.
3089 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3091 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
3092 Add API docs for keybinding enums.
3093 * src/notebook.c, doc/geany.txt, doc/geany.html:
3094 Make Ctrl-click on any notebook tab switch to the last used
3098 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3100 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
3101 src/geanyentryaction.c, src/geanyentryaction.h,
3102 src/geanywraplabel.c:
3103 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
3104 object for efficiency.
3107 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3109 * plugins/classbuilder.c:
3110 Beep if the user hasn't entered a class name on pressing OK.
3112 Fix replacing '^' regex.
3113 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3114 plugins/geanyfunctions.h:
3115 Add Stash widget functions to API.
3117 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
3121 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3123 * THANKS, src/vte.c:
3124 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
3126 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3127 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
3128 plugins/geanyfunctions.h, plugins/geanyplugin.h:
3129 Add Stash setting functions to API.
3130 Remove unnecessary argument to stash_group_load_from_file().
3131 * src/geanyobject.c, plugins/classbuilder.c:
3132 Don't generate FOO_GET_PRIVATE() macro because caching the result
3133 in Foo::priv can be much more efficient.
3136 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3139 Fix cursor positioning when toggling comments
3140 (patch by Thomas Martitz, thanks).
3143 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
3145 * src/keybindings.[hc]:
3146 Added Control+0 for zoom reset, see suggestion from #2969886.
3149 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3151 * src/search.c, src/document.c:
3152 Fix wrong selection range after Replace in Selection.
3155 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3158 Make CreateChildProcess() working with Unicode strings, e.g.
3159 directory names (closes #2972606).
3161 Remove reference to already removed latex.tags file.
3162 Future releases probably still depend on GTK 2.16.
3163 * scintilla/ScintillaGTK.cxx:
3164 Backport fix from Scintilla CVS to not paste text beyond the end
3165 of lines (closes #2969096).
3166 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
3168 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
3169 to not set Geany's minimum window size anymore (closes #2972992).
3170 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
3173 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3176 Make adding string and string vector settings initialise the setting
3178 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
3179 Add stash_group_load_from_file() and stash_group_save_to_file().
3182 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3184 * data/filetypes.common:
3185 Set default for wrapped lines to show marker at end of line only
3186 (more expected and doesn't change line alignment - closes #2972386).
3187 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
3188 src/pluginutils.c, doc/plugins.dox:
3189 Improve API docs contents page by listing all commonly-used files.
3190 Fix 'Date' appearing twice on the date line.
3191 Don't generate API docs for prefs.h, toolbar.h (unused).
3192 Move some '@file' doc-comments to the .c file.
3193 * src/interface.c, geany.glade:
3194 Add frame for 'Printing' prefs dialog page.
3195 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
3196 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
3197 doc/stash-example.c:
3198 Rename Stash data types to be independently named from Geany (so
3199 Stash can be reused for other projects).
3200 Rename GeanyPrefGroup to StashGroup.
3203 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3205 * tagmanager/python.c:
3206 Apply patch from Colomban Wendling to parse Python lambda functions
3207 (thanks) - modified to only parse toplevel or class member lambdas.
3208 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
3209 doc/stash-example.c:
3210 Add doc-comments for Stash setting functions.
3211 Add an example file showing usage of Stash.
3212 (Not enabled yet until added to the plugin API).
3215 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
3218 Fix using return value without checking return status, caused
3219 incorrect sensitivity settings on build dialog.
3222 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3225 Add tip about gcc optimization & warnings/debugging.
3226 Add Testing section.
3227 Update Libraries section about synchronizing with other projects.
3230 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3233 For now revert the recent patch which set real_path of newly
3234 open non-existent configuration files as this seems hackish and
3235 causes 'file not found' warnings.
3237 Fix/Improve GIT repository detection
3238 (patch by Thomas Martitz, thanks).
3239 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3241 Add utils_copy_environment() to the plugin API.
3244 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3246 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
3247 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
3249 Use 3rd person for more API dox.
3250 Change 'This is a wrapper function for...' to 'Wraps...' in brief
3252 Change 'After all...' to 'Afterwards...'.
3253 * src/interface.c, geany.glade:
3254 Apply patch from Eugene Arshinov to make frame packing/alignment
3255 more consistent (thanks).
3258 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3261 Fix ui_button_new_with_image() to call gtk_button_set_image() so
3262 that gtk_button_[sg]et_label() work as expected.
3263 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
3264 Make Build Commands dialog show menu item labels as a button (to
3265 help show that menu labels don't normally need to be edited &
3266 display the mnemonic correctly). Clicking shows an input dialog to
3267 set a new menu item label.
3268 Split dialogs_show_input() into 2 functions: one simple, one for
3269 a persistent dialog.
3270 Fix possible double-destroy of input dialog when closed by user.
3272 Fix not destroying 'Make Custom Target' input dialog after first
3275 Make Long Line Marker settings for existing projects default to
3276 general settings instead of 0 (thanks to Eugene Arshinov).
3277 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
3278 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
3279 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
3280 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
3281 Use 3rd person (gets not get) for API function brief descriptions.
3282 Avoid using 'convenience function' in API brief descriptions.
3285 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3287 * doc/geany.txt, doc/geany.html:
3288 Warn about some GNU extensions for regular expressions & clarify
3290 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
3291 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
3292 src/editor.h, geany.glade:
3293 Apply patch from Eugene Arshinov to add project long line marker
3294 customisation (thanks).
3295 * src/interface.c, geany.glade:
3296 Edit/tidy 'Long line marker' labels.
3299 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
3301 * src/build.c, src/project.c:
3302 Fix crash due to NULL in project build preferences (thanks to
3306 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3308 * src/utils.c, src/utils.h, src/search.c, src/search.h,
3309 src/document.c, doc/geany.txt, doc/geany.html:
3310 Merge gnu-regex branch:
3311 Use POSIX system/GNU regex engine for find & replace 'Use regular
3312 expressions' option. This alters regex syntax a bit - see the docs
3313 for details; we now support '?' operator and replacement backslash
3314 escaping is more standard.
3315 Make regex search imply replacing escaped chars.
3316 Allow \0 backreference replacement for the whole match.
3317 Note: Replace All may be slower; if this is a problem please let me
3320 Add argument to utils_str_replace_escape() for keeping
3321 uninterpreted backslash escapes e.g. '\\', '\e'.
3322 * scintilla/LexMarkdown.cxx:
3323 Backport minor formatting/style changes from Scintilla project.
3324 * doc/geany.txt, doc/geany.html:
3325 Remove warning about no visual indication for zero-column-mode
3329 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3332 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
3335 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3337 * wscript, scintilla/*, scintilla/include/*:
3338 Update Scintilla to version 2.03.
3339 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
3340 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
3341 Add preference for virtual spaces.
3343 Fix wrong default response for the Debug Messages dialog.
3345 Fix crashes when using Save As with no open files (closes #2964406).
3347 Fix duplicate mnemonics on 'Resave missing file' dialog, also
3348 move the question from the secondary to the main text to be
3349 more compatible with the Gnome HIG.
3350 Fix broken 'Save' action in 'Resave missing file' dialog.
3352 Improve PHP parser to parse also the argument lists of PHP functions.
3354 Correctly set the parent widget for the keybinding overwrite
3355 confirmation dialog.
3357 Fix setting the icon for some dialogs if the parent itself is also
3360 When editing non-existent config files using the Tools->Configuration
3361 Files menu, explicitly set the real_path to avoid presenting the Save
3362 As dialog when saving the file (patch by Tony Rick, thanks).
3364 Focus the editor widget after hiding the sidebar when it had the
3365 input focus (patch by Can Koy, thanks).
3366 Properly show/hide the mesages window when using the View menu item
3368 * plugins/filebrowser.c:
3369 After opening files, focus the editor widget
3370 (based on a patch by Can Koy, thanks).
3371 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
3372 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
3373 src/ui_utils.h, src/vte.c:
3374 Add and use convenience function ui_is_keyval_enter_or_return() and
3375 add it to the plugin API.
3378 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3380 * src/about.c, THANKS, po/ast.po:
3381 Added Asturian translation. Thanks to Marcos Costales for providing.
3384 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3387 Fix keyboard accelerators in debug messages window
3391 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3393 * scintilla/LexR.cxx:
3394 Backport R lexer from Scintilla CVS to fix case sensitive keywords
3395 (Scintilla bug #2956543).
3396 * src/sidebar.c, src/about.c, THANKS:
3397 Make Space on the symbol and document list not focus the editor
3398 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
3399 * src/document.c, src/document.h:
3400 Fix document_try_focus() to make it work with the sidebar document
3402 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
3403 Make Space on the compiler and messages widgets not focus the editor
3404 widget while Enter does (patch by Can Koy, thanks).
3406 Fix wrongly auto-detected multiline comments
3407 (patch by Eugene Arshinov, thanks).
3410 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3413 Show number of lines of current document inside statusbar. Thanks to
3414 Can Koy for providing the patch.
3417 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3419 * src/keybindings.c, doc/geany.txt, doc/geany.html:
3420 Make Switch to Editor keybinding reshow the document statistics
3421 line, so user doesn't have to move the cursor.
3424 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3427 Update keywords for the R language (patch by Jon Senior, thanks).
3430 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3433 Fix the instruction how to insert unicode characters
3437 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3439 * scripts/create_py_tags.py:
3441 Replace tabs by spaces.
3442 * plugins/genapi.py:
3444 Replace tabs by spaces.
3445 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
3446 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3447 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
3448 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
3449 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
3450 src/plugindata.h, src/sidebar.c, src/sidebar.h:
3451 Add keybindings to switch to the sidebar's Document and Symbol list
3452 as well as to the Message Window's current tab
3453 (patch by Eugene Arshinov, thanks).
3455 Update primary keywords for the R language
3456 (patch by Jon Senior, thanks).
3459 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3462 Add more detailed hints about reloading configuration
3463 (thanks to Tony Rick).
3464 * data/filetypes.javascript:
3465 Correct the keyword list for JavaScript (thanks to Jonas).
3468 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3470 * New release: Geany 0.18.1 "Balfour".
3473 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3475 * src/keybindings.c:
3476 Add special cases for handling the Select All keybinding (Ctrl-A) in
3477 the toolbar search and goto line text entries (closes #2948040).
3478 Strip trailing spaces after reflowing a paragraph, patch by
3479 Dominik Wagenfuehr, thanks (closes #2945497).
3482 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3484 * src/geanymenubuttonaction.c, src/templates.c:
3485 Partly revert last commit:
3486 Unref the new files toolbar menu when freeing templates as it
3487 was done before but unref it *after* the menu has been removed
3488 from the GeanyMenuButtonAction.
3490 Fix possible endless loop when trying to detect the encoding of
3491 non-text files (patch by Alexey Antipov, thanks).
3494 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3497 Allow saving remote files using g_file_set_contents() as well
3498 (patch by Алексей Антипов, thanks).
3499 * data/filetypes.python:
3500 Adjust style for secondary keywords to be less aggressive.
3501 Add Python 2.5 builtins keywords.
3502 * src/geanymenubuttonaction.c, src/templates.c:
3503 Unref the new files toolbar menu when setting a new menu to fix
3504 possible crashes when reloading configuration.
3506 When reloading configuration, process the current document at last
3507 so the symbol list will be updated correctly.
3510 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3513 Explicitly read filetype configuration files before generating
3514 global tags to get settings for custom filetypes.
3517 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3520 Fix GLib warning when toggling 'no plugins available' item.
3523 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3525 * icons/Makefile.am:
3526 Include geany.ico in the distribution tarball.
3528 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
3529 * scripts/create_py_tags.py:
3530 Make the script a bit more robust with newer Python versions.
3532 Use utils_spawn_sync() instead of g_spawn_sync().
3535 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3538 Close meta tag for export date properly.
3541 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3544 Update RPM Spec file (patch by Dominic Hopf, thanks).
3547 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3550 Fix renaming sci_send_message(), sci_send_command() function
3554 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3556 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
3557 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
3558 plugins/geanyfunctions.h, plugins/Makefile.am,
3559 plugins/pluginmacros.h, plugins/genapi.py, wscript:
3560 Use full function name for GeanyFunctions function pointers. This
3561 avoids naming conflicts e.g. with C++'s 'new' keyword.
3562 Remove deprecated header pluginmacros.h - use geanyfunctions.h
3566 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3568 * src/utils.c, src/utils.h, src/vte.c:
3569 Add utils_copy_environment() and make use of it.
3570 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
3571 src/editor.c, src/templates.c, src/templates.h:
3572 Add new special template wildcard "{command:...}" to use the
3573 output of a command in templates.
3574 Adjust template functions to mostly work with GeanyDocuments.
3575 Minor cleanups in the template code.
3577 Replace the old icons with smiley icons from the Rodent icon theme.
3578 Fix showing the same icon for two or more slots.
3580 * src/editor.c, src/editor.h, src/keybindings.c:
3581 Rename fold_symbol_click() to editor_toggle_fold().
3582 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
3583 was used to respect the 'Fold/unfold all children' preference
3587 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3590 Prevent possible segfault in get_build_group().
3592 Fix GLib warning & beep if trying to insert multiline comment for a
3593 filetype that doesn't support it.
3596 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3599 Add gcc commands to build a plugin to the HowTo.
3600 * src/search.c, src/document.c, src/document.h:
3601 Show 'Replaced X matches in Y documents' message when using
3605 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3607 * scripts/plugin_test.c:
3608 Add a little test program which can load and test Geany plugins to
3609 verify it is loadable at runtime and all necessary symbols are
3611 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
3613 Add new signal: "geany-startup-complete" which is sent once all
3614 initialization and startup tasks has been done.
3615 * README.I18N, configure.ac, wscript, po/LINGUAS:
3616 Remove po/LINGUAS from the repository.
3617 Generate it automatically if needed by reading available
3618 message catalogs from the po directory.
3619 Also respect the LINGUAS environment variable properly.
3622 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3625 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
3629 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3631 * src/editor.c, src/templates.c, src/templates.h:
3632 Refactor templates_replace_all() into templates_replace_valist()
3633 to save some code duplication.
3636 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3638 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
3639 src/plugindata.h, src/plugins.c:
3640 Add editor_insert_text_block() to plugin API.
3643 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3646 Update copyright information.
3647 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3648 doc/geany.txt, doc/geany.html:
3649 Add keybinding to open the last closed tab (closes #2912692).
3652 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3654 * autogen.sh, configure.in, configure.ac:
3655 Rename configure.in to configure.ac.
3656 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
3658 Add sci_find_text() to the plugin API.
3659 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3660 src/interface.c, src/prefs.c:
3661 Add a checkbox in the preferences dialog to explicitly toggle
3662 the visibility of the sidebar (closes #2923340).
3665 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3667 * src/editor.c, src/plugins.c, src/plugindata.h,
3668 plugins/geanyfunctions.h:
3669 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
3670 editor_get_eol_char() to the plugin API.
3671 * src/callbacks.c, src/plugins.c, src/plugins.h:
3672 Fix sensitivity of the Edit->Plugin Preferences menu item
3673 if plugins are loaded which do not provide a configuration dialog.
3674 * scripts/create_py_tags.py:
3675 Rewrite and extend the Python tags parsing script to use
3676 Python's inspect module to read symbols from Python modules
3677 including scope information.
3678 * data/filetypes.restructuredtext:
3679 Add the default comment character sequence for reStructuredText.
3681 Show the Find/Goto dialogs if the corresponding toolbar buttons are
3682 clicked but their text fields are not part of the toolbar (#2920807).
3683 * data/filetypes.common, doc/geany.html, doc/geany.txt,
3685 Add new style to change foreground and background colours for
3686 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
3688 Remember the window position of the Find, Replace and Find in Files
3689 dialogs (closes #2877988).
3692 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
3695 Fix a minor typo inside plugin API reference.
3698 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3700 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
3701 Make dialogs_show_prompt() more flexible to take up to three
3702 button/response code pairs to be shown.
3703 Add a close button to the dialog when asking to Re-Save a
3705 (closes #2916954, based on a patch by Dominik Stadler, thanks).
3707 Fix LaTeX environment auto completion with CR/LF line endings.
3708 Add some sanity checks.
3710 When closing a document after it was deleted from the filesystem,
3711 don't ask whether it should be saved first.
3712 Mark the document only as changed if it is not closed afterwards.
3713 Prevent possible segfaults if the document was closed when it is
3714 missing from the filesystem.
3715 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
3716 src/msgwindow.h, src/prefs.c:
3717 Add MessageWindow::scribble and use it instead of searching the
3718 widget pointer everytime.
3719 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
3720 Add preferences for hiding single tabs from the messages window
3721 (no GUI preferences yet, still to be implemented).
3722 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3723 Set the correct parent window for the toolbar editor
3724 dialog (closes #2913334).
3725 * src/win32.c, src/win32.h, src/ui_utils.c:
3726 Rename win32_show_project_folder_dialog() to
3727 win32_show_folder_dialog() as it is not related and not used by any
3728 project management related code.
3729 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
3730 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
3731 as it is specialised for opening documents.
3732 Implement win32_show_file_dialog() as a generic file open dialog and
3733 use it with ui_path_box_new().
3736 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3739 Extend auto_latex() function to check whether an environment has been
3740 closed within the next lines to avoid auto adding double \end{}.
3742 Remove LaTeX tags from SVN. Can be found at
3743 http://download.geany.org/contrib/tags/ if needed.
3746 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3748 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
3749 Add document_need_save_as().
3750 Show the Save As also for documents created from filetype templates
3751 instead of saving them directly with the untitled filename.
3754 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3756 * geany.glade, src/interface.c:
3757 Move 'Send Selection to Terminal' menu item from Format to Commands
3760 When going to a build error, try the current document's path if
3761 the parsed filename doesn't exist. (This can happen when we receive
3762 build messages in the wrong order - after the 'Leaving directory'
3765 Refactor msgwin_goto_compiler_file_line().
3766 * src/interface.c, src/keybindings.c, geany.glade:
3767 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
3770 Refactor/reformat on_replace_dialog_response().
3773 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3776 Improve geany.spec (split the package into a binary and devel
3777 package, update BuildRequires and other minor improvements).
3778 Patch by Dominic Hopf, thanks.
3781 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3783 * src/filetypes.c, src/filetypes.h:
3784 Make group for custom filetypes.
3785 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
3786 Add custom filetype Genie.
3789 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3791 * src/highlighting.c:
3792 Highlight D & Java types from a global tags file.
3793 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3794 Add debug message warning if recursive lexer_filetype is set.
3795 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
3796 Remove duplicate sci_set_keywords(), make argument const.
3797 * src/highlighting.c:
3798 Only show debug message once if recursive lexer_filetype is set.
3799 Tidy highlighting_init_styles code for filetype None handling.
3800 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
3801 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
3802 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
3803 tagmanager/parsers.h, tagmanager/makefile.win32,
3804 tagmanager/verilog.c, tagmanager/Makefile.am,
3805 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
3806 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
3807 * src/highlighting.c:
3808 Fix segfault on startup (oops).
3809 * data/filetypes.verilog:
3810 Fix using common style colours for Verilog.
3813 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3815 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3816 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
3817 Move C-like filetype properties into configuration files.
3818 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
3820 Remove now unnecessary "styling_within_preprocessor" C style key.
3821 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3822 data/filetypes.glsl, data/filetypes.cs:
3823 Use lexer_filetype=C configuration file key instead of duplicate
3824 styleset functions for C++, C#, GLSL, Vala.
3827 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3829 * doc/geany.txt, doc/geany.html:
3830 Warn about not using BOM for configuration files (confuses GKeyFile
3831 parser, at least on my system).
3833 Add/improve debug messages for custom filetypes.
3836 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3839 Add a couple of further latex-beamer commands to list of LaTeX tags.
3842 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3844 * plugins/filebrowser.c:
3845 Add an in-entry clear icon to the filebrowser plugin's filter
3846 entry (patch by Dominic Hopf, thanks).
3847 * src/prefs.c, src/ui_utils.c:
3848 Fix two compiler warnings about possibly uninitialised variables.
3851 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3853 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
3854 plugins/geanyfunctions.h:
3855 Add main_is_realized() to the plugin API.
3856 * tagmanager/include/tm_tagmanager.h:
3857 Update partly outdated and wrong doc comment.
3858 * src/main.c, src/main.h, src/socket.c:
3859 Allow opening Geany projects remotely.
3860 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
3861 Add a hidden pref to allow executing text which was sent to the
3862 terminal directly, i.e. do not strip trailing newline characters.
3863 Also fix the stripping of trailing newline characters if there was
3867 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3869 * src/about.c, THANKS:
3870 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
3871 Kurt de Bree into section of previous translators.
3874 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3876 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
3877 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
3881 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3883 * src/highlighting.c:
3884 Make stylesets take a ft_id argument so they can be reused fully with
3885 custom filetypes, so custom styles and keywords can be set.
3886 * src/highlighting.c:
3887 Fix setting filetype properties when both the system and the user
3888 file have properties set.
3889 * src/symbols.c, tagmanager/vhdl.c:
3891 * src/highlighting.c:
3892 Fix lexer settings for custom filetypes.
3895 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3898 Remove duplicate regular expression for parsing classes.
3899 Fix and improve parsing of constants (patch by Harold Aling, thanks).
3900 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
3901 src/main.h, THANKS, src/about.c:
3902 Add new command line option "--socket-file" to be able to specify
3903 separate socket filenames for instances
3904 (closes #2896027, patch by Jörn Reder, thanks).
3905 * src/keybindings.c, src/keybindings.h:
3906 Add keybindings_check_event() to manually check GdkKeyEvents against
3907 Geany's keybindings.
3908 * src/callbacks.c, src/utils.c, src/utils.h:
3909 Add and use utils_get_help_url().
3910 * geany.glade, src/interface.c, src/prefs.c:
3911 Add a Help button to the preferences dialog.
3912 Handle Help keybinding events for the preferences dialog especially
3913 and open the manual with the corresponding anchor link to the current
3914 preferences page (same goes for the new Help button).
3917 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3919 * src/toolbar.c, src/geanymenubuttonaction.c,
3920 src/geanymenubuttonaction.h:
3921 Use separate tooltips for toolbar menu buttons and their attached
3923 * tagmanager/latex.c:
3924 Improve parsing of sections and chapters by ignoring shortnames
3925 like \section[shortname]{label} (closes #2890477).
3928 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3930 * src/geanymenubuttonaction.c:
3931 Try to fix Gtk warning when using Tools->Reload Configuration.
3934 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3936 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3937 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
3938 data/filetypes.pascal, data/filetypes.docbook,
3939 data/filetypes.python, data/filetypes.conf:
3940 Use filetypes.foo [lexer_properties] group instead of hardcoding
3941 lexer properties (more flexible e.g. for custom filetypes).
3942 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
3943 Replace filetypes.xml html_asp_default_language key with
3944 filetypes.html asp.default.language property in [lexer_properties]
3948 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3950 * doc/geany.txt, doc/geany.html:
3951 Fix slightly wrong description of how to insert Unicode characters.
3953 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
3954 ui_setup_open_button_callback().
3955 * src/prefs.c, src/prefs.c, src/vte.c:
3956 Refactor color and font button callback functions in the
3957 preferences dialog. Move the VTE related callback functions
3959 Make use of ui_setup_open_button_callback().
3961 Improve printing status texts (patch by Dominic Hopf, thanks).
3962 * src/prefs.c, src/vte.c:
3963 Use the default dialog title set by ui_setup_open_button_callback()
3964 to be more consistent and to save one string.
3967 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3970 Separate DKinds from CKinds.
3971 Don't generate macro tags for D, Java.
3974 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3976 * tagmanager/ctags.c, tagmanager/general.h:
3977 Make TagManager Assert statements cause g_warning on failure.
3978 * src/keybindings.c:
3979 Fix reflow paragraph command when cursor < anchor using
3980 sci_fix_selection().
3983 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3985 * tagmanager/perl.c:
3986 Fix Geany segfault with constant tags (#2895168).
3988 Fix invalid tree iter access when using tv_iters.tag_other but not
3989 using tv_iters.tag_variable.
3990 * HACKING, tagmanager/perl.c:
3991 Fix parsing Perl format statements ("other" type doesn't seem
3993 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
3994 Fix using "other" tag type.
3997 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4000 Remove useless comment about applying settings only when libvte.so
4001 could be loaded which is only displayed *if* libvte.so is loaded.
4003 Allow autocompletion for HTML entities even within a word.
4004 * src/geanymenubuttonaction.c:
4005 Only set the menu of the button if a non-empty GtkMenu is passed to
4006 geany_menu_button_action_set_menu() so the menu arrow keeps
4010 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4013 Fix parsing some Java code (e.g. filetypes.java) after r4407.
4016 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4019 Parse D functions with contracts (fixes #1885480).
4020 Parse D alias statement like typedef.
4021 (Ignore some more D keywords).
4023 Fix creating D interface tags properly.
4025 Parse contents of D extern{} and version{} blocks.
4028 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4034 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4036 * src/plugindata.h, HACKING:
4037 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
4040 Show number of files saved on status bar when using Save All.
4041 * src/highlighting.c:
4042 Use default color scheme if pref color scheme file doesn't exist.
4043 * src/keybindings.c:
4044 Fix moving correct lines after selecting whole line(s).
4047 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4049 * tagmanager/makefile.win32:
4050 Fix broken build on Windows because of a typo
4051 (patch by Timothy Boronczyk, thanks).
4054 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4056 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
4058 Add 'View->Editor->Color Schemes' menu, for now only shown if color
4059 scheme files exist in a colorschemes config directory. Color scheme
4060 files must end in ".conf" and currently only the [named_styles]
4062 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
4063 Add utils_get_config_files().
4064 * src/highlighting.c:
4065 Fix issue with default color not being reset if overridden with a
4066 system default color.
4067 * src/highlighting.c:
4068 Only reload filetype files when changing color scheme, not all
4069 configuration files.
4070 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
4071 Deprecate documents_foreach() as it looks more like a function; use
4072 foreach_document() instead.
4073 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
4076 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4078 * src/stash.c, src/stash.h:
4079 Use typedef instead of pointer for widget_id function arguments.
4082 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4084 * src/pluginutils.c:
4085 Don't expand Plugin Preferences page spacing vertically to fill the
4086 height of the dialog.
4087 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
4088 geany.glade, plugins/splitwindow.c:
4089 Allow GeanyKeyBinding label field to contain underscores, which won't
4090 be displayed by Geany. This saves adding near-duplicate translation
4092 Add mnemonics for 3 Edit->Format menu items.
4093 Add keybindings_get_label().
4094 * src/interface.c, geany.glade:
4095 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
4099 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4102 Desensitize Edit->Commands menu item when no docs are open.
4103 * src/interface.c, src/keybindings.c, src/callbacks.c,
4104 src/callbacks.h, geany.glade:
4105 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
4106 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4107 Add general function sci_get_string() that works with any string
4108 buffer messages that follow the Windows message convention.
4109 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
4110 src/keybindings.h, src/callbacks.c, src/callbacks.h,
4111 src/pluginutils.c, src/pluginutils.h, geany.glade:
4112 Add 'Edit->Plugin Preferences' menu item and keybinding.
4113 Don't include plugindata.h in pluginutils.h because it redefines the
4114 GEANY() macro for plugin use.
4115 * doc/geany.txt, doc/geany.html:
4116 Update for Plugin Preferences keybinding.
4119 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4122 Sort document word completion list.
4123 * src/interface.c, src/keybindings.c, src/callbacks.c,
4124 src/callbacks.h, geany.glade:
4125 Add some useful commands to editor popup menu under "Commands"
4126 submenu (thanks to Lex).
4127 Move 'Duplicate line or selection' from Format -> Commands submenu.
4128 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4129 Enable switching the sidebar to the right on Windows again, as it
4130 apparently works after all.
4132 Fix using tab to autocomplete in some other situations that word part
4133 completion doesn't apply in.
4134 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
4135 Add Edit->Commands submenu which is shared with the editor popup
4137 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
4138 Change editor popup Commands submenu to start as child of menubar
4139 Edit menu, as this is more usual e.g. for keybindings initialization.
4140 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
4142 Share a single Format submenu for menubar Edit and popup menu.
4145 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4148 Fix a compiler warning about an uninitialised variable.
4150 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4151 sciwrappers.h, build.h (for the Waf build system,
4152 accordingly to r4366).
4155 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4157 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
4158 src/toolbar.c, src/toolbar.h:
4159 Add missing dox for types/files in the API.
4160 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
4161 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4162 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
4163 of functions not in the API).
4164 Warning: any plugins that include these headers should remove them.
4165 * src/build.c, src/build.h:
4166 Move function doc-comments to build.c so they stay in sync. Note:
4167 these functions are still not in the API.
4169 Add 'Doc-comments' plugin API subsection.
4170 * plugins/filebrowser.c:
4171 Fix packing configure widgets equally.
4172 Use spacing multiples of 6 as recommended by Gnome HIG.
4173 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4174 Disable switching the sidebar to the right on Windows as it will
4175 probably fail like the Split Window plugin.
4177 Improve 'Detect from file' indentation pref by ignoring lines with
4178 indentation wider than 24 characters as this is more likely to be
4179 alignment than indentation.
4182 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4184 * plugins/saveactions.c:
4185 Fix adding the filetype's default extension when using the
4186 Instant Save plugin (closes #2885142).
4188 Before looking for line and column numbers specified as part
4189 of a filename, ensure the file doesn't exist on disk. This allows
4190 opening of files like "test:0".
4192 Rename "select" variables into "selection" to avoid shadowed names.
4193 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
4194 Add ui_widget_modify_font_from_string() and sci_goto_line()
4196 * plugins/filebrowser.c:
4197 Rename "select" variables into "selection" to avoid shadowed names.
4198 Make use of ui_widget_modify_font_from_string().
4201 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4203 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
4204 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
4206 Add sidebar position interface pref.
4209 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
4211 * doc/geany.txt, doc/geany.html:
4212 Add missing underscores to links.
4215 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4217 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4218 Add 'Move line(s) up/down' keybindings.
4221 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
4223 * src/build.c, src/build.h, src/filetypes.h:
4224 Include code for project filetype execute commands and fix bug in
4225 saving project filetypes list.
4226 * src/project.c, src/build.c, doc/geany.txt:
4227 Make non-project execute configuration save to filetypes not
4229 Fix closing of project failing to remove build commands dialog entry.
4232 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4234 * src/project.c, src/ui_utils.c:
4235 Set border width for project properties build table.
4236 * geany.glade, src/interface.c:
4237 Don't expand hard tab width alignment.
4240 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4242 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
4243 doc/geany.txt, doc/geany.html:
4244 Support loading global tags files for custom filetypes.
4245 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
4246 doc/geany.txt, doc/geany.html:
4247 Add 'Word part completion' keybinding so keys other than Tab can be
4248 used, or to clear/change the combination so Tab does full completion
4250 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4251 Add 'Select to previous/next word part' keybindings.
4252 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4253 Add 'Switch to Messages' focus keybinding.
4256 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4258 * doc/geany.txt, doc/geany.html:
4259 Add 'Custom filetypes' section.
4260 * src/filetypes.c, src/filetypes.h, src/document.c,
4261 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
4262 tagmanager/include/tm_source_file.h:
4263 Add filetype "tag_parser" key so custom filetypes can use an existing
4265 Add tm_source_file_get_named_lang().
4266 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
4268 Add filetype "lexer_filetype" key so custom filetypes can use an
4272 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4274 * THANKS, src/about.c:
4275 Add Xhacker Liu for his work at zh_CN translation to long list of
4279 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4281 * src/sciwrappers.c:
4282 Remove unnecessary line number margin padding.
4283 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
4284 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
4286 Improve word part autocompletion so AC list is not cancelled and
4287 reshown (this also stops the selection changing).
4288 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
4290 Improve CamelCase word part autocompletion for runs of capital
4293 Don't complete snippets if there's a selection.
4296 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
4299 Fix crash opening project when Geany started with no geany.conf.
4302 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4304 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
4305 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
4307 Add word part autocompletion for the current selected item when
4308 pressing Tab - Enter still completes normally.
4309 Add foreach_str() API macro.
4310 Temporarily modify scintilla to say if tab was used for
4312 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4313 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4314 plugins/classbuilder.c:
4315 Revert r4301 - utils_free_pointers() taking 4 arguments.
4316 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
4317 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
4318 plugins/splitwindow.c:
4319 Add highlighting_set_styles() to API, use for Split Window plugin so
4320 filetypes.common settings get set too.
4321 Make highlighting_set_styles() take GeanyFiletype pointer instead of
4323 * src/document.c, src/editor.c, plugins/splitwindow.c:
4324 Call editor_apply_update_prefs() from editor_create_widget() so
4325 correct tab width and other settings are applied for Split Window
4329 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4331 * src/keybindings.c:
4332 Don't include trailing newlines when using reflow command.
4334 Add stock close buttons to notebook tab popup menu.
4335 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
4336 plugins/geanyfunctions.h:
4337 Add document_get_notebook_page() to API.
4339 * data/templates/files/file.html, data/templates/files/file.php:
4340 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
4341 * src/interface.c, src/ui_utils.c, geany.glade:
4342 Move Tools configuration items to top of menu.
4343 * src/keybindings.c, src/search.c:
4344 Fix warning when using Find in Files with no documents open; make
4345 keybinding work in this case.
4348 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4350 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
4351 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
4352 Make Split Window 'Show current document' button have a drop-down
4353 menu to select the other documents.
4354 Add new API function ui_menu_add_document_items().
4357 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
4360 Fix sensitivity settings for compile and build toolbar items.
4363 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4366 Don't use filetype submenus for templates (slower to navigate, often
4367 only 1 per-filetype anyway).
4369 Put old filetype template menu items in 'Old' submenu as they should
4370 be removed after the 0.19 release.
4371 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
4372 Add GeanyKeyGroup callback support, which allow keybinding callbacks
4373 to be ignored if inappropriate so a later keybinding with the same
4374 key combination can intercept it. (Also group callbacks are usually
4375 tidier than separate callbacks).
4376 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
4377 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4378 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4379 plugins/classbuilder.c:
4380 Make utils_free_pointers() take 4 arguments, add to API.
4381 * src/templates.c, src/tools.c, src/ui_utils.c:
4382 Fix memory leaks with gtk_container_get_children().
4385 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
4388 Ensure that old style build config is not loaded if it does
4392 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4394 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
4395 Added Galician translation.
4396 Thanks to José Manuel Castroagudín Silva.
4399 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4401 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
4403 Apply set default encoding for existing files only if the files are
4404 non-Unicode (patch by Alexey Antipov, thanks).
4407 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4409 * src/highlighting.c:
4410 Move new_styleset() and preprocessor setup code into
4412 * src/highlighting.c:
4413 Call apply_filetype_properties() from styleset_c_like().
4416 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4418 * doc/geany.txt, doc/geany.html:
4419 Improve information about predefined keybindings which are
4420 commonly used across applications (patch by Lex Trotman, thanks).
4422 Enable embedded page setup properties in the (Unix) Print dialog
4423 on newer GTK versions (closes #2870596).
4424 * src/highlighting.c:
4425 Map global types (read from tags files) to keyword style for
4429 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4432 Fix wrong creation of filetype template menu items for custom
4434 * src/highlighting.c:
4435 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
4437 Group 'New with template' items by filetype submenu (currently only
4439 Show custom file template items before filetype template items.
4440 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
4442 Only use one 'New with template' submenu - reparent as needed.
4444 Don't create templates/filetype.none either.
4446 Warn if custom template file no longer exists.
4449 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4452 Add missing icon for Java packages in the Symbol List.
4455 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4457 * src/highlighting.c, data/filetypes.vala:
4458 Add Vala keywords to conf file.
4459 * src/templates.c, doc/geany.txt, doc/geany.html:
4460 Read custom file templates from $prefix/share/geany/templates/files
4461 as well as user dir.
4462 * src/templates.c, data/templates, data/templates/files,
4463 data/templates/files/file.rb, data/templates/files/file.html,
4464 data/templates/files/main.java, data/templates/files/main.c,
4465 data/templates/files/main.cxx, data/templates/files/file.php,
4466 data/templates/files/main.d, data/templates/files/program.pas,
4467 data/templates/files/main.py, data/templates/files/file.tex,
4468 wscript, Makefile.am:
4469 Move filetype template defaults into custom file template files.
4472 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4474 * src/symbols.c, tagmanager/perl.c:
4475 Change Perl tag parser to ctags SVN r601. This removes support for
4476 buggy local/my/our but it parses constant/format/labels and should
4477 be less buggy overall (closes #2861232).
4478 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
4479 Add utils_get_file_list_full() which can optionally sort or include
4480 a full path for each list item.
4481 * src/utils.c, src/plugindata.h, src/plugins.c:
4482 Add utils_get_file_list_full() to API.
4485 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4487 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
4488 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
4489 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
4490 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
4491 po/POTFILES.in, wscript:
4492 Rename treeviews.[hc] -> sidebar.[hc].
4493 * data/filetypes.common:
4494 Remove unused [styling] arguments.
4495 * src/highlighting.c, data/filetypes.markdown,
4496 data/filetypes.restructuredtext:
4497 Remove style defaults from the code - just read them from
4498 configuration files.
4499 * src/highlighting.c, HACKING:
4500 Add apply_style_entries() to simplify implementing styleset_foo().
4501 * src/highlighting.c:
4502 Remove filetype keyword defaults from the code - just read them from
4503 configuration files.
4504 * src/highlighting.c:
4505 Add sci_set_keywords() wrapper.
4508 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4510 * scripts/create_py_tags.py:
4511 Make the code a bit more pythonic.
4512 * doc/images/build_menu_commands_dialog.png,
4513 doc/images/main_window.png:
4514 Add new images referenced in the documentation.
4515 * doc/geany.html, doc/geany.txt:
4516 Several documentation improvements (patch by Lex Trotman, thanks).
4517 * src/pluginutils.c:
4518 Fix setting the appropriate page of the combined plugins
4522 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4524 * src/keybindings.c:
4525 Only focus toolbar goto line entry when pressing keybinding if it's
4526 visible (patch by Eugene Arshinov, thanks).
4528 Focus editor after entering a number in the goto line toolbar entry.
4530 Use AC_PATH_PROG instead of which for portability (patch by Erik
4531 Southworth, thanks).
4533 Show plugins that only implement plugin_configure_single() in the
4534 multiple-configure dialog as a page with a configure button on it.
4535 Add padding for multiple-configure dialog.
4536 Make the multiple-configure dialog notebook tabs scrollable.
4537 * src/pluginutils.c, src/pluginutils.h:
4538 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
4539 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
4540 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
4541 plugins/geanyfunctions.h, plugins/filebrowser.c:
4542 Add plugin_show_configure() API utility function.
4543 Add File Browser popup menu 'Preferences' item.
4544 * src/highlighting.c:
4545 Add get_keyfile_ints() instead of using tmp_style hack.
4546 * src/highlighting.c, data/filetypes.xml:
4547 Change new html_asp_default_language markup pref to use integer,
4548 not hex in config file.
4549 Fix minor issue with changing pref back to 0.
4550 * src/highlighting.c:
4551 Fix possible segfault in get_keyfile_int() if key value is malformed.
4554 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4556 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
4557 Add "html_asp_default_language" pseudo style to filetypes.xml
4558 to allow setting the used language in embedded ASP code
4559 (patch by Ross McKay, thanks).
4560 * src/filetypes.xml:
4561 Update VBScript keywords (patch by Ross McKay, thanks).
4564 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4566 * src/keybindings.c, THANKS:
4567 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
4568 keybinding use line breaking column when enabled.
4570 Fix showing the document before reload dialog when opening an
4572 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
4573 Add plugin_configure_single() plugin symbol which is easier to
4574 implement than plugin_configure() but won't support a
4575 multiple-plugin configure dialog.
4577 Show multiple plugins in the 'Configure Plugins' dialog.
4580 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4582 * doc/geany.txt, doc/geany.html:
4583 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
4585 * doc/geany.txt, doc/geany.html:
4586 Add 'Toolbar entries' section.
4587 * doc/geany.txt, doc/geany.html:
4588 Update 'Go to line' keybinding description.
4589 * doc/geany.txt, doc/geany.html:
4590 Split keybinding table into group tables; update KB links.
4593 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4596 Fix compiler warnings about uninitialised variables.
4597 * src/callbacks.c, src/document.c:
4598 When reloading files, use the previously set encoding instead of
4599 detecting it again (closes #2862041).
4601 Turn on automake silent rules if supported.
4604 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4607 Speed up sorting in utils_get_file_list(). This reduces the file
4608 browser delay on displaying a big directory, e.g. /usr/bin.
4610 Expand command entry width when expanding Build Commands dialog.
4612 Split Build Commands dialog notes label and edit text.
4614 Add padding for Build Commands dialog separators.
4615 Add colons for regex field labels; fix 1 capitalisation.
4617 Fix none filetype Build Commands dialog label.
4618 Make group labels bold.
4619 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
4621 Add & use ui_label_set_markup(), ui_label_new_bold().
4622 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
4623 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
4624 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
4625 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
4626 * src/keybindings.c:
4627 Make 'Go to Line' keybinding focus the toolbar entry if visible.
4630 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4632 * src/filetypes.c, src/filetypes.h, src/symbols.c,
4633 tagmanager/parsers.h, tagmanager/makefile.win32,
4634 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
4635 data/filetype_extensions.conf, wscript:
4636 Add new filetype: Abc (patch by Eric Forgeot, thanks).
4638 Merge recent changes from the CTags project to further improve
4642 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4645 Fix wrong alignment of printed pages when page headers are
4646 disabled (closes #2856822).
4647 Plug a small memory leak and improve function signature of
4650 Save an if expression.
4652 After clearing a text field using the embedded clear icon, put the
4653 input focus into this text field.
4656 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4658 * plugins/filebrowser.c:
4659 Free file list memory whilst iterating the list.
4660 Minor formatting fixes.
4661 * src/utils.c, src/utils.h:
4662 Add foreach_dir() API macro.
4663 Update API docs for utils_get_file_list().
4664 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
4666 Remove queue.[hc] - use GQueue instead of GeanyQueue.
4667 Beep if there are no more snippet positions.
4668 Limit length of snippet positions queue to 20.
4671 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4673 * src/keybindings.c, src/callbacks.c, src/search.c:
4674 Make Goto Tag commands use the current selection if present (useful
4675 for selecting part of a tag or for ReST section names with spaces
4678 Don't move the cursor when reloading.
4679 * src/plugindata.h, src/editor.c, src/editor.h:
4680 Make editor_prefs.snippets hash table private (not a pref).
4683 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4686 Remove deprecated --debug flag. Please use --verbose/-v instead.
4689 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4692 Show Find in Files stderr output in messages window instead of
4693 debug window so that invalid regex messages can be seen easily.
4694 Combine FIF stdout and stderr callback code.
4697 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4700 Fix opening filenames beginning with two dots (closes #2858487).
4701 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
4702 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
4703 data/filetypes.common, geany.glade:
4704 Update syntax highlighting after changing the 'Invert syntax
4705 highlighting colors' pref, instead of requiring a restart.
4706 Remove filetypes.common invert_all option - use 'Invert syntax
4707 highlighting colors' pref instead (closes #2854525).
4708 * src/prefs.c, src/dialogs.c, src/dialogs.h:
4709 Add 'Allow' button when showing the conflicting keybinding dialog.
4710 Make dialogs_show_question_full() use GTK dialog on Windows if
4711 button text is not the stock yes/no items.
4712 Add dialogs_show_prompt() which also has an 'Apply' button.
4713 * src/queue.c, src/queue.h:
4714 Add warning that GeanyQueue may be removed.
4715 * src/keybindings.c, src/editor.c, src/editor.h:
4716 Change snippet_goto_next_cursor() to
4717 editor_goto_next_snippet_cursor() as it's in editor.h.
4718 Avoid using GPOINTER_TO_INT macro.
4721 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4723 * src/keybindings.c:
4724 Fix 'Reflow block' command when at the last paragraph and there's
4725 no last newline (patch by Eugene Arshinov, thanks).
4727 Add 'Compiler options & warnings' section.
4728 Update Style section to be clearer about code alignment and show
4733 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4735 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4736 src/plugindata.h, src/plugins.c, src/editor.c,
4737 plugins/geanyfunctions.h:
4738 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
4739 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
4741 Add sci_toggle_marker_at_line().
4742 Fix SciFuncs alignment.
4745 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
4748 Fix erroneous free of returned string in prepare_run_script.
4751 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4753 * data/filetypes.latex:
4754 Changing default value for showing pdf and dvi to ensure to take
4755 *.pdf and *.dvi file.
4758 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4760 * src/about.c, THANKS:
4761 Change language string for Slovenian translation.
4764 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4766 * tagmanager/txt2tags.c:
4767 Fix multi-byte character constant comparison.
4769 Fix Gtk warning when trying to update documents popup menu item
4770 sensitivity before they exist.
4773 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4776 Improve the opening string in the plugin manager dialog.
4778 Use "max-width" to set the document width of the generated
4779 HTML documentation to let the text be auto-wrapped.
4780 * src/prefs.c, src/tagmanager/include/guregex.h,
4781 src/tagmanager/include/tm_tagmanager.h:
4782 Remove trailing spaces (patch by André Hentschel, thanks).
4784 Fix a compiler warning.
4786 Fix crash when opening documents.
4787 * src/build.c, src/build.h, src/project.c:
4788 Adjust coding style (no code changes).
4789 * src/build.c, src/project.c:
4790 Use NZV() macro instead of strlen() to check for empty strings.
4791 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
4792 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
4793 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
4794 src/plugins.c, THANKS:
4795 Add new plugin signal: "document-before-save".
4796 Add get_line_end_position(), set_target_start(), set_target_end(),
4797 replace_target() to the plugin API
4798 (patch by Eugene Arshinov, thanks).
4799 Add new plugin signal: "document-filetype-set" (closes #2852286).
4800 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
4801 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
4802 tagmanager/Makefile.am, tagmanager/makefile.win32,
4803 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
4805 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
4808 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4810 * src/treeviews.c, src/document.c:
4811 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
4812 Use gtk_notebook_set_current_page() instead of
4813 document_open_file_full() when choosing an item from the documents
4815 Avoid using goto in document_open_file_full().
4818 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4820 * src/treeviews.c, src/document.c, src/document.h, THANKS:
4821 Enable type-ahead find for sidebar symbols and documents tabs
4822 (patch by Thomas Martitz, thanks).
4824 Fix 2 free's of possibly uninitialized pointers.
4827 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
4829 * src/build.c, src/filetypes.h, src/filetypes.c:
4830 Only write filetype config files when build command or regex is
4831 actually changed. Removed commented code in src/filetypes.c.
4833 Ensure uses of filename are protected against nulls when running
4834 a build command and give status message if not.
4837 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4840 Remove plugin from plugin manager dialog on unloading if it no
4841 longer exists or is incompatible.
4844 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4847 Add warning if only one of the plugin_key_group[_info] symbols is
4848 defined for a plugin.
4849 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
4850 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
4852 Merge custom-filetypes branch:
4853 Support adding custom filetype files e.g. filetypes.Foo.conf.
4855 Allow GeanyFiletype::extension to be NULL.
4856 Add note about using GeanyFiletype pointer instead of filetype_id
4857 for filetypes.c function arguments.
4858 Replace styleset_none() with styleset_default().
4861 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4864 Show the sidebar if either the documents or the symbols list are
4865 enabled (related to #1876107).
4868 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4870 * src/build.c, src/filetypes.c:
4871 Fix compiler warnings.
4873 Fix removing leading double slashes in filenames which are used for
4874 network resources on Windows (closes #2844085).
4877 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4879 * src/keybindings.c:
4880 Fix Make keybindings (patch by Lex Trotman, thanks).
4882 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
4884 Mention Files link at top for header files; demoplugin.c.
4885 Minor edits; remove 'far from being complete'.
4886 * src/keyfile.c, src/keyfile.h, src/main.c,
4887 data/filetype_extensions.conf, HACKING:
4888 Remove --generate-data-files argument & code - just edit
4889 filetype_extensions.conf by hand (filetype order was broken
4891 Add *.H extension for C++ (useful for non-Windows systems).
4894 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
4897 Fix implementation of loading old project files with base
4898 directories. Use project_make_base_path instead of re-
4899 implementing. Now depends on project.c reading base dir
4900 prior to calling load_build_menu.
4902 Change usage of project base directory to conform with
4903 previous documented behavior when loading old project files.
4905 Change make custom and make object to ignore make in base path
4906 when reading old project file settings. Changed some indent
4907 spaces to tabs. Fix missing compile menu accelerator.
4910 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4913 Add warning about not using undocumented features.
4914 Add reference to HACKING for plugin API development.
4916 Add section 'Plugin API/ABI design'.
4917 * src/keybindings.h, src/makefile.win32, src/project.h,
4918 src/filetypes.h, src/Makefile.am, wscript:
4919 Use GEANY_PRIVATE to hide some fields from plugins.
4921 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
4922 * src/build.c, src/build.h, src/project.c:
4923 Use build_ prefix for 3 functions in build.h; add a static modifier.
4926 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4929 Improve parsing of PHP functions by requiring a valid modifier or
4930 whitespace before the 'function' keyword to ignore some false
4931 positives like function tags inside comments
4932 (patch by Harold Aling, thanks).
4933 * tagmanager/python.c:
4934 Don't parse comments after import statements and other tags
4935 (closes #2838938, patch by Huandari Lopez, thanks).
4938 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4940 * data/filetypes.markdown:
4941 Add filetypes.markdown for configuration (thanks to Jon Strait).
4942 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
4943 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4944 plugins/geanyfunctions.h:
4945 Remove GeanyKeyGroup struct from the API - plugins should not set
4947 Make keybindings_set_item() duplicate the name and label fields
4948 (needed by GeanyLua) and return a keybinding pointer.
4949 Add keybindings_get_item() to the API (in case it's useful).
4950 Move some keybinding code out of plugin source files.
4953 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4955 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
4956 Don't generate build.h API docs until everything is approved and
4957 functions are actually in geany_functions.
4958 Move new GeanyFiletype and GeanyProject field(s) to end of struct
4959 as they may be changed or made private later.
4960 Break ABI for fields removed.
4963 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
4965 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
4966 src/keyfile.c, src/project.c:
4967 Changed names of symbols visible in build API to GEANY_xxx.
4970 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
4972 * src/project.h, src/project.c, src/build.c:
4973 Remove make_in_base_dir and run_cmd fields from project structure.
4974 Replaced by build functionality. Remove incorrect use in src/build.c
4975 build_run_cmd function.
4978 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
4980 * src/project.h, src/project.c:
4981 Removed unused project_get_make_dir function, this is now per
4985 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
4987 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
4989 Fix some more warnings.
4990 Fix commented out execute/stop toolbar code in build.c.
4991 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
4992 Changed build.h api so all functions prefixed with build_.
4995 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4997 * src/build.c, src/build.h, src/project.c:
4998 Fix some gcc warnings with '-Wall -W -ansi' enabled.
5001 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
5004 Fixed leaks and crashes due to inconsistent use of static vs dynamic
5005 strings when reading old format configuration & project files.
5006 * src/build.c, src/project.c:
5007 Fixed GLib array assertion warnings when no project filetypes are
5008 available to be saved.
5010 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
5016 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
5018 * src/build.h, src/build.c, src/project.c:
5019 Created and documented plugins interface to build menu.
5020 Factored out new get_cmd_group function.
5021 Changed name of remove_command function to be consistent with the
5022 rest of the interface & changed calls in project.c.
5023 * src/Makefile.am, wscript:
5024 Added build.h to installed files lists.
5026 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
5029 Updated manual to match build-menu capability.
5032 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
5034 * src/build.c, src/build.h:
5035 Added set_build_non_ft_wd_to_proj() for use by project dialog.
5036 Improved interpretation of run_in_base_dir from old [build-settings]
5037 Added spacing to build commands dialog
5039 Removed run in base path option from project dialog and added button
5040 to set working directories to d the same.
5043 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
5046 Re-incorporated toolbar changes in trunk accidently excluded in merge
5048 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
5051 Fixed substitute %f etc in commands
5052 Fixed potential leak in build_replace_placeholder
5053 Fixed leak in prepare_run_script (Thanks for patch Thomas)
5054 Fixed build_replace_placeholder to not require document.
5056 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
5058 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
5059 Fixed crash and lots of warnings, deleted some commented out code.
5060 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
5061 Removed make command from preferences and associated code
5063 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
5065 * src/build.c, src/build.h:
5066 Incorporated patch for working directory field (thanks Thomas)
5067 Removed run_in_base_dir option and associated code that it replaces
5068 Improved handling of old config files and mapping to new ones.
5070 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
5072 * src/build.h, src/build.c:
5073 Changed to itterate over entries in build commands dialog to allow
5074 additional fields to be added
5075 Implement support for multiple run commands
5076 * data/filetypes.latex:
5077 Implement configured commands and labels for latex.
5080 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
5082 * src/build.h, src/build.c:
5083 added dialog support for error regular expressions from multiple
5084 sources and storing and loading them fixed some typos and memory
5086 * src/filetypes.c, src/filetypes.h, project.c:
5087 added support for using error regexes from multiple sources
5090 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
5092 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
5094 Removal of build menu item source made redundant by the following fix
5096 Corrected priority oreder and loading of filetype dependent build
5097 menu items saved in the project file. Added print routine for
5098 debugging command sources and priorities set compile symbol
5099 PRINTBUILDCMDS true to enable
5101 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
5104 fixed problem loading old format filetype files, some formatting
5105 fixes fixed saving new format files
5106 added operation for clear button on build commands dialog
5108 fixed loading and saving filetype files
5111 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
5113 Configurable Build Menu Changes
5115 * doc/geany.html, doc/geany.txt:
5116 Updated build menu section to new functionality
5117 * src/build.h, src/build.c:
5118 Largly re-written, configurability added, Latex code removed
5119 * src/filetypes.h, src/filetypes.c:
5120 Filetype structure updated to add new command pointers, configuration
5121 load and store changed
5122 * src/keybindings.h, src/keybindings.c:
5123 Changed to address new command storage structure.
5125 Changed to load/store new configuration.
5127 Minor change to initialisation order.
5129 Changed to address new menu item storage structure.
5130 * src/project.h, src/project.c:
5131 Changed to load/store the new configuration info.
5133 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5135 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
5136 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5137 doc/pluginsymbols.c, plugins/geanyfunctions.h,
5138 plugins/splitwindow.c:
5139 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
5140 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
5141 the ABI when adding fields to them.
5142 Add plugin_set_key_group() for plugins to dynamically set a
5143 keybinding group (e.g. for the Lua script plugin). Used in Split
5144 Window plugin as an example.
5145 Improve keybinding docs a little.
5148 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5150 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
5151 Add geanyfunctions.h to API docs.
5152 * plugins/splitwindow.c:
5153 Set the cursor color for the split window.
5156 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5159 Fix 'Open Selected File' for unsaved new documents.
5160 * src/keybindings.c, src/keybindings.h, src/prefs.c:
5161 Fix updating main menu accelerators after changing keybindings
5162 (thanks to Lex Trotman).
5164 Fix using 'Insert date' keybinding when a custom date string has
5166 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5167 Merge Plugin and GeanyPluginPrivate structs.
5170 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5172 * src/keybindings.c:
5173 Fix non-working Home and End keys on numpads.
5176 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5178 * doc/geany.txt, doc/geany.html, NEWS:
5179 Add 'Scope autocompletion' section.
5180 Add 'Tools menu items' section to explain configuration files
5181 submenu, reload configuration item.
5182 Minor updates/fixes.
5185 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5188 Add a translation hint to an ambiguous format string.
5190 Add missing include path to fix 'make distcheck'.
5192 Fix opening of local files in the browser on Windows.
5193 * New release: Geany 0.18 "Kaine".
5194 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
5195 src/geany.h, doc/geany.html, doc/geany.txt:
5196 Post-release version bump.
5199 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5202 Temporarily disable reshowing calltips when the autocompletion
5203 list was closed implicitly by not choosing an item to fix
5204 problems with wrongly displayed calltips.
5206 Add missing 'coding' cookie to the Python filetype template.
5207 * doc/images/pref_dialog_edit_completions.png,
5208 doc/images/pref_dialog_toolbar.png:
5209 Update images for Geany 0.18.
5212 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5215 Add command '--hackingdoc' to create the HTML form of the
5219 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5221 * po/pt_PT.po, po/LINGUAS:
5222 Added a first Portugese (Portugal) translation based on work done at
5223 launchpad by e.g. André Glória and Alexandre Jesus.
5224 * src/main.c: Fix a minor typo on --help call.
5227 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5229 * src/highlighting.c:
5230 Call get_keyfile_wordchars() in highlighting_init_styles().
5233 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5235 * data/filetypes.ada:
5237 * src/keybindings.c:
5238 Switching notebook tabs now works for the currently used notebook
5239 widget instead of always using the documents notebook.
5240 * src/document.c, src/document.h, src/documentprivate.h,
5242 Small corrections to some API docs.
5245 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5247 * src/build.c, src/win32.h, src/win32.c:
5248 Expand system environment variables (%variableName%) on Windows when
5249 running Build commands.
5252 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5254 * src/keybindings.c:
5255 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
5256 future using an indent block is more useful e.g. for ChangeLog
5258 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
5259 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
5260 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
5261 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
5262 tagmanager/parsers.h, tagmanager/makefile.win32,
5263 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
5264 Add Markdown filetype (patch by Jon Strait, thanks).
5265 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5266 Fix disconnecting plugin signal id when not using geany_object.
5268 Add filetype_make_title() instead of using:
5269 ft->title = g_strdup_printf(_("%s source file"), ft->name);
5270 It also supports "%s file" strings.
5273 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5275 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
5276 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5277 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
5278 plugins/filebrowser.c:
5279 Add plugin_signal_connect() for connecting plugin signals at
5280 runtime and also for connecting to any GObject signal.
5281 Add 'Plugin Utility Functions' on main page.
5282 Add foreach_array() macro.
5283 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
5284 src/document.c, src/editor.c:
5285 Rename 3 sci functions to sci_set_target_start(),
5286 sci_set_target_end(), sci_replace_target() to match the SCI_
5290 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5292 * wscript: Fix compiling error with waf.
5295 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5297 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
5298 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5299 src/Makefile.am, wscript:
5300 Move plugin_* utility functions to pluginutils.c.
5301 Add pluginprivate.h.
5303 Fix reshowing calltip in the wrong document.
5306 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5308 * doc/geany.txt, doc/geany.html:
5309 Add some general information about auto-completion capabilities
5310 (patch by Lex Trotman, thanks).
5313 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5315 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
5316 Added a first Slovenian translation. Thanks to Joze Klepec.
5319 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5321 * src/highlighting.c:
5322 Use full styleset_foo[_init] function name as argument to
5323 init_styleset_case() and styleset_case() macros so it's easier to
5324 understand the code.
5325 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
5326 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
5327 doc/geany.txt, doc/geany.html:
5328 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
5329 Heavily based on a patch by Eugene Arshinov (thanks).
5330 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
5331 editor_strip_line_trailing_spaces().
5334 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5337 Attempt to fix reshowing calltips after the autocompletion list
5339 Reshow calltips also when the autocompletion list was closed
5340 implicitly by not choosing an item.
5342 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5344 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
5345 plugins/splitwindow.c:
5346 Change utils_str_remove_chars() to work in place; fix allocating on
5347 the stack (the string length could exhaust the stack size).
5348 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
5349 src/printing.c, src/callbacks.c:
5350 Rename utils_str_replace() utils_str_replace_all(), setting a
5351 'gchar **haystack' argument instead of returning a new string.
5353 For the Tabs indent type, remove spaces when unindenting (only) if
5354 there are no tabs on the line.
5355 Group undo actions for (un)indenting of multiple lines.
5356 * src/document.c, src/editor.c:
5357 Fix scrolling horizontally after finding a search match with the
5358 search bar or Find Next/Previous which is off-screen.
5359 * src/keybindings.c:
5360 Fix GLib warning when pressing a key with no documents open.
5363 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5366 Start unifying usage of @a and @c markup elements in API docs,
5368 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
5369 Show/hide the toolbar without a restart when the setting in the
5370 preferences dialog is changed (closes #2824785).
5371 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
5372 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
5373 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
5375 Continue unifying usage of @a and @c markup elements in API docs.
5378 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5381 Remove relative/untidy path elements when creating new documents
5382 with a filename (e.g. from the command-line) (#2823998).
5385 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5388 Disable 'Recent Projects' menu item if the list of recent projects
5391 Fix some harmless compiler warnings.
5392 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
5393 src/plugins.c, src/utils.c, src/utils.h:
5394 Move utils_str_remove_chars() from the plugins/splitwindow.c to
5395 src/utils.c and add it to the plugin API.
5396 Make utils_str_remove_chars() work on a new copy of the input string
5397 instead of modifying it in place.
5399 Remove underscores from the toolbar items labels.
5402 * plugins/splitwindow.c:
5403 Fix broken 'Show the current document' tool button icon.
5406 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5408 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
5410 Add stash_group_add_widget_property() so we can save any widget's
5411 read/write properties.
5412 Use Stash for ui_prefs.sidebar_page setting.
5413 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
5414 Make foreach_ptr_array() use an integer argument for its
5415 implementation, as this is more useful potentially than a gpointer*
5416 argument, and more straightforward.
5417 Add foreach_c_array(), foreach_ptr_array() to API.
5418 * src/utils.c, src/utils.h, src/document.c:
5419 Remove relative/untidy path elements when opening documents (closes
5422 Fix showing project name for documents list files with no
5423 subdirectory (oops).
5425 Fix checking whether to overwrite when using the Rename button in
5426 the 'Save As' dialog.
5429 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5432 Don't use the main window as parent for dialog boxes if it is not
5434 Set titles for message dialogs.
5437 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5440 Display item labels instead of raw names in the toolbar editor.
5441 Apply changes in the toolbar editor instantly.
5442 Show icons in the toolbar editor.
5443 Speed up toolbar editor dialog creation.
5445 Improve inserting of comment templates like File header or licence
5446 notices. The comment information are now read from the filetype
5447 configuration files.
5449 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5452 Enable file monitoring for files which are written to disk by Geany
5455 Fix broken special case handling when detecting filetypes from a
5456 shebang or other special file headers.
5459 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5462 Make Mark All keybinding clear search highlighting when there's no
5465 Fix wrong match length when using Mark with regex.
5466 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
5467 src/keyfile.c, src/main.c:
5468 Add 'Show Paths' documents list popup item.
5469 Add "load_settings" core-only signal emitted just after loading
5470 main keyfile settings; useful to delay building UI elements until
5471 settings have been read.
5473 Fix GTK warning when right-clicking on default tag tree.
5474 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
5475 Add treeviews_finalize().
5476 Remove tv.popup_openfiles field.
5479 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5481 * src/highlighting.c:
5482 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
5485 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5488 Quote the uri before passing it to the browser when opening a
5489 website (closes #2818635).
5491 Fix broken 'builtin' Run command for HTML files on Windows.
5494 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5497 Properly fix wrong brace highlighting of non-brace character.
5499 Allow autocompletion in Perl double-quoted strings.
5500 Don't autocomplete in Perl single-quoted strings (closes #2821061).
5501 Don't autocomplete in Perl q() strings.
5502 * data/filetypes.common:
5503 Make Mark highlighting brighter.
5504 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
5505 Use hyphen for auto-feature terms.
5506 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
5507 src/document.h, src/main.c:
5508 Add documents_foreach() API macro that skips invalid docs.
5509 Make filetypes[], documents[] part of the API again.
5510 Add GEANY() macro for sharing geany symbols between API and core.
5511 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
5512 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
5513 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
5514 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
5515 plugins/classbuilder.c, wscript:
5516 Add geanyplugin.h single include for plugin API; update all core
5518 Add sci_set_font() to API.
5519 Update plugin howto.
5520 * src/filetypes.c, src/filetypes.h:
5521 Remove filetypes_foreach_named().
5524 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5526 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
5527 src/document.h, src/main.c, THANKS:
5528 Apply patch from Eugene Arshinov to reload color schemes via menu
5531 Reload filetypes.common after saving it.
5533 Improve wrong brace highlighting of non-brace character.
5536 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5539 Delay highlighting matching braces by 100ms, which speeds up
5540 scrolling with the arrow keys.
5541 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
5542 Add 'Mark All' keybinding.
5543 * tagmanager/diff.c:
5544 Show relative paths in diff filename tags.
5547 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5549 * src/highlighting.c:
5550 Fix setting keyword list 'classes' for Haxe
5551 (pointed out by Andreas Mokros, thanks).
5554 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5556 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5557 doc/geany.txt, doc/geany.html, geany.glade:
5558 Add 'Drop rest of word on completion' pref.
5559 * src/editor.c, doc/geany.txt, doc/geany.html:
5560 If autocompletion is already visible when forcing completion, show
5561 document word completion instead of tag completion.
5562 Docs: Minor edits of related prefs items.
5563 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
5564 Add warning when printing and editor font is not monospaced.
5565 Fix using GtkMessageType instead of gint param for
5566 dialogs_show_msgbox*().
5567 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
5569 Support 'tab indents, space aligns' style for auto-indentation
5573 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5575 * src/document.c, src/documentprivate.h:
5576 Rework the GIO based file monitoring code. Now it is used only
5577 to indicate a possible change of the file, the real check if the
5578 file has been changed is performed by stat().
5579 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
5580 Add style 'line_height' to increase the line height.
5581 Add style 'marker_mark' and change style 'marker_search' to
5582 define the style used for marked search results.
5583 * doc/geany.txt, doc/geany.html:
5584 Add the new 'Autocomplete all words in document' pref to the docs.
5587 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5589 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5590 doc/geany.txt, doc/geany.html, geany.glade, TODO:
5591 Add 'Autocomplete all words in document' pref.
5592 Use 'autocompletion' in dialog and docs, not 'auto completion'.
5594 Fix limiting number of word completion entries too much.
5595 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
5596 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
5597 Show autocompletion icons for tag symbols - for now only tags with
5598 an arglist have the 'function/method' icon, all others have the
5600 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
5602 * src/highlighting.c:
5603 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
5607 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5609 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
5610 Fix removing underscores in translated string using no_underscore()
5612 Set a tooltip for the Split Window plugin's Show Current tool button.
5613 Add utils_strdupa() macro.
5614 * src/interface.c, geany.glade:
5615 Use stock Select All icon now we have >= GTK 2.8.
5617 Fix using project name for document items that start with the
5618 project base path but don't match it e.g. ".../geany-plugins"
5619 instead of ".../geany" when project name is 'geany'.
5622 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5625 Fix warnings when the toolbar does not contain the Run button.
5627 Fix wrong parsing of complex expressions in the Lua parser.
5628 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
5630 Remove unnecessary enums.
5631 * scintilla/*, scintilla/include/*, src/plugindata.h:
5632 Update Scintilla to version 1.79.
5633 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
5635 Use the new Scintilla struct names prefixed with 'Sci_'.
5636 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
5638 Add second argument to the 'line_wrap_indent' styling setting to
5639 control the new Scintilla indentation mode for wrapped lines.
5641 Properly close the toolbar editor on delete-events.
5642 Fix warnings and possible crashes in the toolbar editor when the list
5643 of displayed toolbar items is empty.
5644 * data/filetypes.tcl:
5645 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
5647 Make the plugin manager dialog a bit bigger.
5650 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5652 * doc/geany.html, doc/geany.txt:
5653 Fix wrong default values for the 'Show Calltip' keybinding.
5656 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5658 * data/filetypes.tcl, src/symbols.c:
5659 Fix duplicate "context_action_cmd" key.
5660 Use different icons for "Methods" and "Procedures" in the symbol
5663 Fix a small memory leak.
5664 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
5665 src/keybindings.h, src/plugindata.h:
5666 Make the Scintilla keybindings 'Delete to end of line' and
5667 'Go to end of display line' configurable.
5669 Fix a typo (closes #2813624).
5672 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5674 * tagmanager/tcl.c, src/symbol.c:
5675 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
5676 methods and namespaces).
5677 Patch by Witek Mozga, thanks.
5680 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5682 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
5683 src/toolbar.c, src/toolbar.h:
5684 Remove ui_toolbar.xml Configuration Files menu item.
5685 Add a real toolbar editor dialog.
5686 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
5688 Add a button in the preferences dialog and an item for the toolbar
5689 popup menu to run the toolbar editor dialog.
5692 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5695 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
5696 Fix using locale encoding for default Save As dialog path.
5698 Beep when trying to activate the '...' autocompletion item.
5699 Limit (forced) document word completion to
5700 autocompletion_max_entries.
5701 Beep if no completions are shown when forcing autocompletion.
5704 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5706 * data/ui_toolbar.xml, src/toolbar.c:
5707 Add 'Build' toolbar button to the default layout.
5710 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5713 If forcing autocompletion and there's nothing else to show, complete
5714 from words in the current document (using code from Enrico's
5715 'AutoComplete Test' plugin).
5718 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5721 Add debug message if plugin has not set a name for its keybinding
5723 * data/filetype_extensions.conf:
5724 Add *.m4 for shell scripts.
5727 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5729 * src/highlighting.c, doc/geany.txt, doc/geany.html,
5730 data/filetypes.common, TODO:
5731 Make filetypes.common named styles use the "default" named style for
5732 all missing style fields.
5733 Set named styles to usually leave the background style empty. This
5734 currently allows C-like filetypes to have a common default
5736 Allow hard-coded colors to use -1 for the default color.
5737 Add some highlighting style examples to the manual.
5740 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5743 Create initial template files with proper platform-specific line
5747 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5749 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
5750 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
5751 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
5752 src/ui_utils.c, src/ui_utils.h:
5753 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
5755 Refactor some related code.
5756 * tagmanager/conf.c:
5757 Strip trailing spaces from "Key" tags.
5759 Quote the full filename to the Geany executable when creating the
5760 "Open with Geany" context menu item.
5761 * plugins/splitwindow.c:
5762 Avoid using deprecated GTK API.
5763 * src/log.c, src/main.c:
5764 Properly clean up the logging mechanism.
5766 Fix LaTeX view commands on Windows (part of #2807688).
5768 Add a popup menu for the keybinding list in the preferences dialog
5769 to easily expand and collapse all groups.
5770 Refactor the keybindings code for the preferences dialog, prefix all
5772 * src/main.c, src/ui_utils.c, src/ui_utils.h:
5773 Init stock items before creating the toolbar (closes #2809324).
5775 Generate the geany.pc file also on Windows.
5777 Invert the logic to determine which Save All we want to use:
5778 Use the Tango like icon only for the Tango theme and the Gnome / GTK
5779 like icon for any other themes.
5782 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5784 * src/highlighting.c, README.Packagers, HACKING:
5785 Remove gsd_* default styles, use named styles instead.
5786 Note: this relies on filetypes.common being installed.
5787 Add load_style_entries(), which makes style initialization
5788 simpler, used in styleset_c_like_init().
5791 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5794 Prevent possible crash on Windows when not setting an initial
5795 directory for native File Open/Save dialogs.
5796 * data/filetypes.xml, src/highlighting.c:
5797 Add style 'jscript_regex' for filetype HTML
5798 (patch by Chris Macksey, thanks).
5801 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5803 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
5804 Make GeanyDocument::file_type always be non-NULL, even for a new
5805 document with no filetype set.
5807 Only autocomplete scope for scopes matching the current filetype's
5809 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
5810 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
5811 data/filetypes.actionscript, data/filetypes.cs,
5812 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
5813 data/filetypes.javascript, HACKING:
5814 Make C++, D lexer filetypes use named styles (apart from uuid,
5815 verbatim, regex styles).
5818 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5821 Don't explicitly change the current directory of the Save As dialog
5822 so that it uses the last used directory.
5825 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5827 * src/encodings.c, src/encodings.h, src/plugindata.h:
5828 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
5831 When completing from the macro list, put the cursor after
5835 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5837 * tagmanager/pascal.c:
5838 Fix type definitions being parsed as functions.
5840 Don't autocomplete in unterminated strings as well.
5841 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
5842 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
5843 Remove data_ptr argument to foreach_[s]list() macros, as using
5844 node->data is enough sometimes; this makes the macro a bit more
5846 Add foreach_[s]list() macros to the plugin API docs.
5849 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5851 * scintilla/LexPascal.cxx:
5852 Backport fix from Scintilla CVS:
5853 Pascal lexer hanging on file that starts with 'interface' after
5857 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5860 Update Waf to 1.5.7.
5862 Overwrite installation prefix on Windows only if it wasn't
5863 specified explicitly.
5866 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5869 Display calltips for Pascal symbols in the Pascal way (#2803945).
5870 * tagmanager/pascal.c:
5871 Fix wrongly set return values for procedures (closes #2803945).
5872 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
5873 tagmanager/include/tm_source_file.h,
5874 tagmanager/include/tm_workspace.h:
5875 Fix doxygen warnings.
5878 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5880 * src/editor.c, tagmanager/include/tm_workspace.h,
5881 tagmanager/tm_workspace.c, TODO:
5882 Autocomplete scoped fields like struct members when typing '.' (and
5883 also '->' or '::' in C/C++).
5884 Save all tag types for C/C++ when generating a global tags file, so
5885 we can use autocompletion for structs also.
5886 Merge tm_workspace_find_scope_members(),
5887 tm_workspace_find_namespace_members() (currently not built) from
5888 Anjuta 2.24.1 tagmanager.
5891 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5893 * tagmanager/pascal.c:
5894 Parse Pascal calltips (closes #2802640).
5897 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5899 * src/filetypes.c, src/ui_utils.c:
5900 Add filetypes.common Configuration Files menu item.
5903 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5906 Add backslash to the wordchars on Windows when using
5907 'Open Selected File'.
5909 Add support (configure, build and install) for building on Windows
5910 and cross-compiling for Windows using the Waf build system.
5913 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5916 Set status bar text instead of showing a dialog when saving
5917 ui_toolbar.xml because the user might save several times.
5919 Fix redrawing due to colourising just after the document is first
5920 drawn. Now colourising should happen before the first draw.
5921 * src/utils.c, src/highlighting.c, data/filetypes.common:
5922 Fix segfault on parsing a filetypes.* style definition that has < 4
5924 Allow style definitions to have missing fields to use the default
5928 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5930 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
5931 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
5932 * plugins/classbuilder.c:
5933 Fix wrongly created header guards when the class filenames contains
5934 dashes (patch by PCMan, thanks).
5935 * data/filetypes.matlab:
5936 Add build_settings section to allow executing Matlab scripts.
5938 When closing a document, mark it as invalid before removing it from
5939 the documents notebook (this fixes wrong Save All button state when
5940 closing an unsaved document because the "switch-page" signal handler
5941 was using old data).
5944 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5946 * src/highlighting.c, doc/geany.txt, doc/geany.html:
5947 Support toggling bold/italic when using a named style, e.g.:
5948 commentdockeyword=commentdoc,bold,italic
5949 Improve named style docs.
5952 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5954 * src/build.c, src/editor.c:
5955 Fix crashes when parsing the output of a compiler which reports
5959 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5961 * src/highlighting.c:
5962 Support named styles also for filetypes.common [styling] entries.
5963 * doc/geany.txt, doc/geany.html, HACKING:
5964 Update docs for named styles in filetypes.* files.
5966 Fix grouping symbol list children when parent name has "." character
5967 in for reStructuredText and Conf filetypes.
5968 * tagmanager/python.c:
5969 Fix grouping functions/classes under a nested function.
5972 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5975 Adjust icon paths (patch by Dominic Hopf, thanks).
5976 * doc/geany.txt, doc/geany.html, src/toolbar.c:
5977 Add 'Replace' toolbar button (closes #2798225).
5980 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5982 * src/utils.c, src/highlighting.c, TODO:
5983 Implement named styles support for filetypes.* using a
5984 filetypes.common [named_styles] section e.g.:
5985 foo=0xc00000;0xffffff;false;true
5987 These can be used in e.g. filetypes.c as:
5991 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5994 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
5997 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5999 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
6000 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
6003 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6006 Remove quote_executable() as it is not used anymore.
6007 When creating the geany_run_script.bat use the "%0" variable
6008 expansion and quote it for the "del" command (closes #2797172).
6010 On Windows, fallback to the literal build command line if searching
6011 for the command in the system path failed (related to #2795923).
6012 Properly terminate the resulting strings when reading the stdout
6013 and stderr of any spawned commands on Windows.
6016 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6019 Use the wide character versions of native Windows File dialogs.
6021 Fix wrong initialisation of the default project path button callback
6022 in the preferences dialog.
6023 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
6024 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
6025 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
6026 icons/Makefile.am, icons/geany.ico, icons/scalable,
6027 icons/scalable/Makefile.am, icons/scalable/geany.svg,
6029 Move the icons geany.png and geany.ico into the icons directory.
6030 Add a 16x16 pixel Geany icon and the scalable SVG icon.
6031 Drop the pixmaps directory.
6034 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6036 * src/keybindings.c:
6037 Improve MRU document switching so there are no duplicates in the
6038 list and documents switched to whilst the dialog is open are
6039 ignored. Also beep when cycling through to the first document in the
6043 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6046 Fix broken 'Cancel' button in the Save As dialog.
6049 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6052 Fix multiline indent when selection covers text on the last line.
6054 Show current document in bold in tab popup menu.
6055 * src/editor.c, tagmanager/python.c, TODO:
6056 Parse Python calltips.
6059 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6061 * src/symbols.c, tagmanager/python.c:
6062 Parse Python import statements to get symbol completion for the
6063 imported module names.
6064 * src/editor.c, src/editor.h:
6065 Make some only locally used functions static.
6066 Fix wrong sanity check.
6068 Fix quoting the build command string on Windows (closes #2791769).
6069 This broke when we made build commands run synchronously on Windows,
6070 now we don't need to special quote the commands anymore.
6073 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6076 Drop rest of word to the right of cursor when autocompleting (do we
6077 need a pref for this?).
6080 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6082 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
6083 Add sci_set_selection().
6084 * doc/geany.txt, doc/geany.html:
6085 Update manual for MRU switching.
6086 * src/callbacks.c, src/editor.c, src/editor.h:
6087 Make indenting with the Tabs indent type preserve spaces on the line,
6088 so it works for the 'tab indents, space aligns' formatting style.
6091 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6093 * tagmanager/python.c:
6094 Fix missing symbols for variables when an equal sign is used
6095 in a comment on the same line as the variable declaration.
6096 Backport change from CTags SVN to keep the parser more in sync:
6097 Add support for Cython constructs to the Python parser.
6099 Remember the additional Find in Files search flags at startup.
6101 Don't close the Save As dialog when saving the file didn't succeed.
6104 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6107 Remember scribble cursor position.
6108 * src/keybindings.c, TODO:
6109 Implement Most-Recently-Used document switching when pressing
6110 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
6113 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6115 * data/latex.tags: Added some more commands from unit.sty and
6119 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6121 * src/symbols.c, doc/geany.txt, doc/geany.html,
6122 tagmanager/makefile.win32, tagmanager/nestlevel.c,
6123 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
6124 tagmanager/Makefile.am, wscript:
6125 Merge unstable branch:
6126 Add reStructuredText scope information for tags (for symbol list
6128 Read custom system global tags files from $prefix/share/geany/tags;
6130 Show the number of tags in a user global tags file (instead of the
6131 running total) in the debug message.
6132 Also print debug messages when loading a tag file manually or for
6133 default global tags files e.g. python.tags.
6135 Move NestingLevel tags code into a separate file, add functions.
6137 Add 'Installation prefix' section instead of quoting '/usr/local'
6139 Update for custom system global tags files.
6142 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6144 * src/highlighting.c:
6145 Unset maybe previously keywords when setting up Scintilla for
6146 XML files. This fixed wrong highlighting after switching back to
6147 filetype XML from another one.
6149 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
6150 is only used when explicitly requested.
6152 Remove unnecessary call to g_intern_string() to fix build with
6153 GLib 2.8 (closes #2790051).
6156 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6159 Make the clear icon of entry fields act on the release event, not
6160 on the press event like for other buttons.
6162 Refactor some multiple used code into get_multiline_comment_style().
6164 Create parent directories if necessary when checking for the
6165 configuration directory on startup (closes #2784577).
6168 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6170 * plugins/filebrowser.c:
6171 When a filter is set, apply it only to files, not directories and
6172 apply the filter to the UTF-8 name of the file as the filter string
6173 itself is also UTF-8.
6174 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
6175 Add utils_color_invert() and use it in highlighting.c and printing.c.
6176 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
6177 Backport change from Scintilla CVS:
6178 Change capitalisation of header file to suit cross-compilation on
6182 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6184 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
6185 Update Scintilla to version 1.78.
6186 * src/editor.c, src/highlighting.c:
6187 Update Pascal styles as they changed in Scintilla.
6190 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6193 Ignore the invert syntax highlighting colours setting when printing
6194 to not print characters on a dark background (closes #2785244).
6195 * New release: Geany 0.17 "Wessex".
6196 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
6197 src/geany.h, doc/geany.html, doc/geany.txt:
6198 Post-release version bump.
6201 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6203 * src/callbacks.c, src/callbacks.h, src/main.c:
6204 Update the View->Fullscreen menu item when fullscreen state is
6205 changed externally (e.g. by the window manager).
6207 Fix passing wrong pointer to the File Open dialog for the Run
6208 command in the Project Properties dialog.
6211 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6213 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
6215 Remember the active sidebar page between sessions.
6217 Add a recent project item after creating a new project.
6218 * tagmanager/ruby.c:
6219 Fix wrong parsing of string literals (closes #2781264).
6221 Fix setting focus to the editor widget after changing the selection
6225 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6228 Prevent crashes when two or more top level items in the symbol
6229 list have the same name (closes #2778246).
6232 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6234 * src/keybindings.c:
6235 Manually show the main notebook tab bar menu when Shift-F10 is
6236 pressed. This broke when we disabled the default GTK tab bar menu.
6238 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
6239 which was reloaded shortly before.
6241 When the editor menu is opened by the Menu key, use the text cursor
6242 position for retrieving the current word. This fixes disabled
6243 Go to Tag items in the menu (#2780044).
6245 Set the "ellipsize" property of GtkCellRendererText to automatically
6246 shorten the path and file names in the Documents list.
6247 * doc/geany.html, doc/geany.txt, src/build.h:
6248 Increase the amount of highlighted build error messages to 100.
6249 At least for LaTeX we need higher values as there is a lot of
6250 informative output before any errors are reported.
6251 * src/filebrowser.c:
6252 Use the startup path as the initial directory for the filebrowser
6253 plugin when no project and no files are opened
6254 (patch by Matias Gea, thanks; closes #2780521).
6257 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6259 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
6260 src/utils.c, src/utils.h:
6261 Ellipsize tab labels and some status messages for very long
6262 filenames (closes #2777348).
6263 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
6264 Add utils_str_middle_truncate() and
6265 document_get_basename_for_display() to the plugin API.
6266 * doc/geany.html, doc/geany.txt, src/toolbar.c:
6267 Add new toolbar element: Print (patch by Roland Baudin, thanks).
6268 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
6270 Add a hidden preference 'use_safe_file_saving' to save files to disk
6271 by creating a temporary file first. This has serious side effects,
6272 please read the documentation before enabling this.
6274 Make build commands on Windows run synchronously to avoid problems
6275 with reading build commands' output.
6276 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
6277 Limit the amount of highlighted build error messages in the
6278 Compiler window to 50 for performance reasons.
6281 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6283 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
6285 Replace our own GEANY_KEYS_MODIFIER_MASK by
6286 gtk_accelerator_get_default_mod_mask() which gives the same result.
6287 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
6288 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
6289 Add a trivial symbol parser for NSIS files.
6292 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6295 Hide the extra file open dialog options in an expander to make the
6296 dialog more compact by default and to provide more space for the
6298 Remove the filename field as it is also provided by GTK itself with
6299 more features like auto-completion.
6300 Watch the 'show-hidden' property of the file chooser widget using
6301 GObject's "notify" signal which gives accurate results and remove
6302 the hack using the "selection-changed" signal.
6305 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6307 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
6308 Prevent double execution of radio menu item "activate" or "toggled"
6310 Move 'Set Encoding' callback function into encodings.c.
6313 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6316 Add some missing 'void's in function definitions.
6317 If the project base path is './', just use the path of the project
6318 config file instead of appending './'.
6319 * src/treeviews.c, src/project.c:
6320 When a project is loaded, replace the project base path with the
6321 project name in the Documents sidebar for parent items
6325 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6327 * src/keyfile.c, src/keyfile.h, src/project.c:
6328 Fix duplicating the recent files and projects lists when closing
6330 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6331 src/editor.c, src/encodings.c, src/filetypes.c,
6332 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6333 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
6334 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
6335 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
6336 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
6337 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
6338 Remove all G_LIKELY macros inside g_return_if_fail() statements as
6340 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
6341 sense to keep the code more readable.
6344 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6347 When updating global type definitions for opened documents, take
6348 also C++ namespace symbols into account and don't ignore symbols
6349 which are defined inside a scope.
6352 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6355 Don't show 'plugin is not binary compatible' messages on the status
6356 bar, only the status window.
6359 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6362 When opening files from a remote instance on X11, set the window
6363 server time to encourage window managers to pop up the main window
6364 (related to #2735467 and #2276179).
6366 When finished sending filenames to a remote instance, notify the
6367 environment that we finished starting up.
6370 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6372 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
6373 Sort Configuration Files menu.
6374 Add ui_menu_sort_by_label().
6375 Add foreach_list() macro.
6380 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6383 Fix setting a wrong default window size when starting without an
6384 existing configuration.
6385 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
6386 Make editor_highlight_braces() static.
6387 Remove unused wrapper functions.
6388 * src/editor.c, src/symbols.c, src/symbols.h:
6389 Prevent showing an empty macro list.
6390 Show only macros of the same filetype instead of all macros of all
6393 Don't add opened project files to the GtkRecentManager.
6396 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6399 Add Configuration Files item for snippets.conf.
6400 * src/highlighting.c, src/symbols.c:
6401 Fix 2 old uses of filetype IDs.
6404 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6406 * src/interface.c, src/printing.c, geany.glade:
6407 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
6410 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6413 Add sanity checks in ui_lookup_widget() just to be safe.
6414 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
6415 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
6416 src/project.h, src/ui_utils.c, src/ui_utils.h:
6417 Add "Recent Projects" menu to the Project menu
6418 (#2728630, patch by Elias Pschernig, thanks).
6419 * doc/geany.txt, doc/geany.html:
6420 Describe how to build Geany using the Waf build system.
6421 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6422 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
6423 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6424 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
6425 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
6426 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
6427 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
6428 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
6429 src/utils.c, src/utils.h, src/vte.c:
6430 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
6431 performance when building the code with gcc.
6432 * src/highlighting.c:
6433 Fix typo in the G_LIKELY checks, introduced in last commit.
6434 Fix the size of the styles array.
6436 Show a message dialog when renaming a file fails.
6439 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6442 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
6443 (as we did for all other files in SVN r3382).
6446 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6448 * src/filetypes.c, doc/geany.txt:
6449 Move ActionScript to the Script group.
6451 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
6452 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
6453 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
6454 plugins/htmlchars.c:
6455 Merge reorder-filetypes branch:
6456 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
6457 append randomly without breaking the ABI).
6458 Make None filetype name = title = _("None").
6459 Add foreach_slist() macro.
6460 Add filetypes_by_title list to GeanyData for plugin API access
6461 - a list of filetype pointers, which includes the None filetype
6462 first. This list stays constant by the time plugins are initialized,
6463 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
6464 index the sorted list.
6467 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6469 * doc/geany.txt, doc/geany.html, src/main.c:
6470 Add widget names for the menubar and toolbar.
6472 When hiding the messages window, set the input focus back to the
6473 editor widget (part of #1910393).
6476 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6478 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
6479 Backport recent changes from Scintilla CVS to add partial support
6480 for RFC2822 styled text using the Properties lexer.
6481 Ignore leading whitespace for config files and RFC2822 text.
6482 * data/filetypes.actionscript:
6483 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
6484 * THANKS, src/treeviews.c:
6485 Display file/directory icons in the Documents sidebar
6486 (patch by Simon Treny, thanks).
6489 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6491 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6492 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
6493 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
6494 Add an option to allow appending the toolbar to the main menu bar
6495 to save some vertical space.
6496 Allow setting toolbar icon size to very small (menu icon size).
6499 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6501 * src/keyfile.c, src/utils.c, src/utils.h:
6502 Add utils_path_skip_root(), a relative path safe variant of
6503 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
6504 * src/keyfile.c, src/main.c:
6505 Allow negative window coordinates when saving and restoring the
6506 position of the main window.
6507 Restore the main window position and size *after* the window has
6508 been realised to get it positioned accordingly
6509 (this affects at least Windows).
6512 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6514 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
6515 Use g_win32_get_package_installation_directory_of_module() on Windows
6516 with newer GLib versions instead of deprecated API.
6517 * src/keybindings.c:
6518 Don't manage the last used documents list when quitting to prevent
6519 errors by accessing invalid memory (may close #2533990).
6522 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6525 Delete the geany_run_script.sh immediately after execution
6526 to prevent leaking old copies when the script was quit unexpectedly
6527 (closes #2710482, patch by Martin Olsson, thanks).
6529 Check whether skipping the root element of a document's filename
6530 succeeded and use the filename itself if not (e.g. on relative
6531 filenames, #2702844).
6532 Use the locale encoded filename when saving session files.
6534 Re-set the quitting status after all documents have been closed on
6538 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6540 * plugins/htmlchars.c:
6541 Remove usage of deprecated sci_get_selected_text() from plugin.
6544 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6547 Delay disk file checks when switching between documents a little
6548 bit to avoid fast, unintentional page switching in some cases.
6549 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
6550 src/sciwrappers.c, src/sciwrappers.h:
6551 Deprecate sci_get_text(), sci_get_selected_text() and
6552 sci_get_text_range().
6553 Add sci_get_contents(), sci_get_contents_range() and
6554 sci_get_selection_contents() as replacement functions to provide
6555 an easier and cleaner API (initial patch by Frank).
6558 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6561 Fix wrong parsing of CSS tags when the definition block starts on
6562 a new line (reported by Dominic Hopf, thanks).
6565 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6567 * plugins/htmlchars.c:
6568 Extend plugin by feature to bulk replace and replace on input for
6569 special characters to their HTML entities.
6572 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6575 Update build menu items after changing anything in the
6576 'Set Includes and Arguments' dialog.
6577 Disable Compile/Run buttons/menu items when Compile/Run commands are
6579 Reset current build directory to the base directory after reading a
6580 "Leaving directory" message when parsing Make output
6581 (closes #2694479, patch by Andrea Mazzoleni, thanks).
6583 Fix wrong display of the filename in the tab bar menu for new files.
6585 Set the initial directory for the Save As dialog only once on
6587 Add a shortcut of the project's base directory to the
6588 File Open/Save As dialogs when a project is open for faster access.
6589 * src/splitwindow.c:
6590 Add keybindings for the split actions.
6593 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6596 When using Find All in the Find dialog (in Session and Document),
6597 display the right amount of matches.
6598 Fix the display of the matches once per line (I broke the original
6601 Fix wrong directory selection behaviour in all Open Folder dialogs
6602 (closes #2688020, patch by Marcel Stimberg, thanks).
6604 Don't present the main window of a running instance when starting
6605 a second instance separately.
6608 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6611 Reduce default file permissions on the Unix Domain socket file
6612 (reported by Jörg Sommer, thanks).
6615 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6617 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
6618 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
6620 Add an option to set an additional plugin lookup path.
6622 When using Find All in the Find dialog, display matches only once
6623 per line in the messages window (patch by Bert Vermeulen, thanks).
6626 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6628 * data/filetype_extensions.conf, data/filetypes.actionscript,
6629 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
6630 src/highlighting.c, src/plugindata.h, src/symbols.c,
6631 tagmanager/Makefile.am, tagmanager/actionscript.c,
6632 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
6633 Add filetype ActionScript (patch by Chris Macksey, thanks).
6634 Update type keywords only for real C-like languages.
6635 Fix wrong sorting of Assembler and Ada filetypes.
6636 * plugins/classbuilder.c:
6637 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
6638 Other minor cleanups.
6641 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6644 Don't use menu item images for the tab bar menu to save some
6646 * data/filetypes.fortran, tagmanager/fortran.c:
6647 Add keyword 'extends' and fix Fortran parser to support the
6648 'extends' keyword (closes #2654492).
6649 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
6650 src/search.c, src/toolbar.c:
6654 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6656 * src/about.c, THANKS:
6657 Added Jari Rahkonen to list of Finnish translators.
6660 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6663 Adjust minimum required GTK version.
6664 * src/Makefile.am, wscript:
6665 Add main.h to the list of installed header files.
6666 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
6667 src/notebook.c, src/ui_utils.c:
6668 Remove GeanyDocumentPrivate::tabmenu_label.
6669 Disable the default tab bar menu for the main notebook widget and
6670 use a custom menu instead which lists all open files as usual plus
6671 'Close Other Documents' and 'Close All' menu items.
6674 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6676 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
6677 Move ui_set_search_entry_background() into ui_utils.c.
6678 Change the background colour of the search entries in the Find
6679 and Replace dialogs according to the search results like in the
6680 toolbar search field.
6681 Add images to the 'Replace' and 'Replace and Find' buttons in the
6683 Minor cleanups in search.c.
6684 * tagmanager/tm_source_file.c:
6685 Update source files upon creation.
6687 Update C tags for glibc 2.9.
6688 * src/callbacks.c, src/toolbar.c:
6689 Fix broken non-incremental search with the toolbar search entry when
6690 pressing Enter (closes #2638180).
6691 * plugins/splitwindow.c:
6692 Fix possible crash on non-32-bit systems (patch by
6693 Wolfgang Ocker, thanks).
6695 Update the Packager tag due to Dominic's various contributions.
6696 Update description and feature list.
6697 Change Source tag to the gzip'ed tarball to be in sync with the
6698 Makefile target (thanks to Wolfgang Ocker for reporting).
6701 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6703 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
6704 Removed deprecated plugin VC Diff
6707 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6710 Fix wrong Fortran 90 comment characters when inserting templates.
6711 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6712 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
6713 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
6715 Add 'Send Selection to Terminal' command to the Edit->Format menu
6716 (initial patch by David Gleich, thanks).
6717 * geany.glade, src/interface.c:
6718 Fix mnemonic for the Edit->Preferences menu item.
6721 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6723 * configure.in, plugins/Makefile.am:
6724 Enable socket support when cross-compiling.
6725 Enable plugin compilation when cross-compiling.
6727 Fix missing NULL checks when reading the colour value of compiler
6729 * src/main.c, src/win32.c, src/win32.h:
6730 On Windows, change the working directory to the Geany installation
6731 path at startup to avoid unwanted directory locking(closes #2626124).
6733 Fix broken selection of "Document->Set Encoding" menu items.
6734 * src/document.c, tagmanager/include/tm_source_file.h,
6735 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
6736 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
6737 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
6738 Don't let the tagmanager automatically reparse files if they
6739 seem to be changed on disk (affects all files in the current session,
6740 not the current one). This should speed up file saving a little bit,
6741 especially with remote files.
6742 Remove now unnecessary calls to tm_workspace_update().
6744 Allow an empty value for the date format in the print settings to
6745 omit the date/time string in the print header.
6748 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6750 * src/editor.c: Set cursor for LaTeX at auto closing of environment
6754 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6757 Add missing header include (closes #2615808).
6760 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6763 Fix a possible crash when comparing symbol names
6764 (could be related to Ubuntu bug #147151).
6765 Fix broken symbol list tooltips when tag names contain ampersands.
6768 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6770 * plugins/makefile.win32:
6771 Don't build Split Window plugin on Windows (doesn't work).
6774 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6776 * ChangeLog, Makefile.am: Rotate ChangeLog.
6777 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
6778 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
6779 Post-release version bump.
6782 *** See ChangeLog.pre-0-17 for earlier changes ***