1 2011-09-13 Colomban Wendling <colomban(at)geany(dot)org>
3 * data/filetype_extensions.conf:
4 Add Markdown extensions from Shared MIME-Info database (closes
7 Add missing MIME type to a few filetypes.
8 * doc/geany.txt, doc/geany.html:
12 2011-09-12 Colomban Wendling <colomban(at)geany(dot)org>
15 Fix updating symbol list for overloaded C++ symbols (closes
19 2011-09-02 Colomban Wendling <colomban(at)geany(dot)org>
22 Fix check for enabling MIME type based icons.
23 * src/encodings.c, src/filetypes.c:
24 Plug a few memory leaks.
27 2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
30 Fix foreach_ptr_array() not to crash on arrays with 0 elements.
33 2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
35 * src/document.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
36 doc/geany.html, data/filetypes.*:
37 Add support for filetype-specific indentation settings (closes
38 #3339420 and #3390435).
39 * src/callbacks.c, src/editor.c, src/editor.h:
40 Add editor_set_indent_width() to only set indentation width.
41 * src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
42 src/interface.c, geany.glade:
43 Add menu items to detect indentation settings from document's
47 2011-08-24 Colomban Wendling <colomban(at)geany(dot)org>
50 Make completion and word completion support non-ASCII characters
54 2011-08-21 Colomban Wendling <colomban(at)geany(dot)org>
56 * src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
57 Fix search for the current word if it isn't composed of only
58 GEANY_WORDCHARS (closes #3386129).
61 2011-08-20 Colomban Wendling <colomban(at)geany(dot)org>
63 * tagmanager/haskell.c:
64 Fix tags for one-letter Haskell symbols (closes #3289160).
67 2011-08-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
70 Update of wording to fix some grammatical issues etc. on plugin howto.
71 Patch provided by Matthew Brush. Thanks.
72 * data/filetype_extensions.conf:
73 Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks.
76 2011-08-19 Colomban Wendling <colomban(at)geany(dot)org>
78 * data/filetype_extensions.conf, data/filetypes.Cython.conf,
79 data/filetypes.python:
80 Add Cython filetype (patch by Matthew Brush, thanks).
81 * src/symbols.c, tagmanager/include/tm_workspace.h,
82 tagmanager/tm_workspace.c:
83 Create temporary files used for generating global tags files in the
84 system directory for temp files.
86 Don't make tags for /dev/null in diff files but for the new file
87 instead (Based on a patch by Yang Hong, thanks).
90 2011-08-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
93 Update API version used inside plugin howto to a more recent version
97 2011-08-13 Colomban Wendling <colomban(at)geany(dot)org>
99 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
100 Focus the editor upon double click on the message and compiler
101 windows (patch by Dimitar Zhekov, thanks).
104 2011-08-03 Colomban Wendling <colomban(at)geany(dot)org>
106 * src/geany.h, plugins/classbuilder.c, plugins/export.c,
107 plugins/filebrowser.c, plugins/htmlchars.c, plugins/saveactions.c,
108 plugins/splitwindow.c:
109 Only include config.h when building Geany (closes #3384026).
112 2011-07-31 Frank Lanitz <frlan@frank.uvena.de>
115 Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin
116 HowTo as well as a hint to make usage of main_locale_init().
119 2011-07-28 Colomban Wendling <colomban(at)geany(dot)org>
121 * src/build.c, src/build.h, src/editor.c, src/interface.c,
122 src/keyfile.c, src/prefs.c, src/stash.c, src/stash.h,
123 src/ui_utils.c, geany.glade, doc/geany.txt, doc/geany.html:
124 Allow to edit formerly hidden preferences in the prefs dialog
125 (closes #3313315, patch by Dimitar Zhekov and myself, thanks!).
127 Improve indentation width detection to better deal with Java
131 2011-06-26 Colomban Wendling <colomban(at)geany(dot)org>
133 * src/highlighting.c:
134 Recognize C# and Vala raw and verbatim strings as string styles.
136 Fix indentation brace matching (closes #3309606).
139 2011-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
141 * src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
143 More GTK 2.8 => GTK 2.12 transition.
146 2011-06-20 Colomban Wendling <colomban(at)geany(dot)org>
148 * src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
150 Add an hidden pref to choose between GIO and plain C unsafe
152 * configure.ac, src/document.c, win32-config.h:
153 Completely drop HAVE_GIO checks.
156 2011-06-18 Colomban Wendling <colomban(at)geany(dot)org>
158 * src/document.c, src/document.h, src/editor.c:
159 Remove support of size being -1 in document_open_file_list().
160 * src/utils.c src/utils.h:
161 Remove support of size being -1 in utils_get_line_endings().
162 * src/stash.c, src/stash.h:
163 Make StashWidgetID map to gconstpointer, allowing use of const
164 strings as the widget key.
167 2011-06-16 Colomban Wendling <colomban(at)geany(dot)org>
169 * src/document.c, src/main.c, src/ui_utils.c, src/utils.c:
170 Remove most of the checks for GIO.
172 Remove last GLib >= 2.16 check.
175 2011-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
177 * tagmanager/python.c:
178 Fix two bugs with triple quoted strings within comments
179 and missing indentation within triple quoted strings
180 (#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
183 2011-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
185 * data/filetypes.python:
189 2011-06-13 Colomban Wendling <colomban(at)geany(dot)org>
191 * configure.ac, src/Makefile.am, src/makefile.win32, wscript:
192 Bump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO.
193 * plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
194 src/build.c, src/dialogs.c, src/document.c, src/highlighting.c,
195 src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
197 Deprecate ui_widget_set_tooltip_text() in favor of
198 gtk_widget_set_tooltip_text().
199 * configure.ac, doc/geany.html, doc/geany.txt, src/callbacks.c,
200 src/keyfile.c, src/main.c, src/prefs.c, src/printing.c,
202 Enable GTK printing support unconditionally.
203 * doc/geany.html, doc/geany.txt:
204 Stop talking about pre-GTK 2.12 tricks.
205 * geany.glade, src/interface.c:
206 Fix Printing preferences page alignment.
208 Remove pre-GTK 2.10 tab DnD support.
209 * src/pluginutils.c, tagmanager/tm_file_entry.c,
210 tagmanager/tm_symbol.c, tagmanager/tm_tag.c:
211 Unconditionally use GSlice allocator.
214 2011-06-11 Colomban Wendling <colomban(at)geany(dot)org>
216 * src/dialogs.c, src/main.c, src/ui_utils.h:
217 Always destroy open and save dialog after use. This also helps
218 working around a long-living GTK+ bug, hopefully closing #3311258,
219 #3304273, #3201050, #3163742, #3153120 and #2985896.
222 2011-06-03 Colomban Wendling <colomban(at)geany(dot)org>
224 * src/callbacks.c, src/document.c, src/document.h, src/editor.c,
225 src/search.c, src/search.h:
226 Show the actual text the user searched for in messages rather than
227 the internal one (patch by Eugene Arshinov, thanks).
229 Also use the actual user search in the combo box history.
232 2011-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
234 * src/document.c, src/document.h, src/ui_utils.c, src/ui_utils.h:
235 Add ui_focus_current_document() and document_grab_focus().
237 Focus the editor widget after loading project session files.
238 * scripts/create_py_tags.py:
239 Ignore tags ending with an underscore.
240 Dynamically determine the path of Python's standard library instead
242 Parse all modules of the Python standard library instead of a
243 hardcoded list of filenames.
246 2011-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
248 * data/filetypes.java:
249 Move keyword 'enum' to primary keywords (closes #3305737).
252 2011-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
254 * tagmanager/python.c:
255 When checking for literal strings to ignore, consider also
256 unicode, binary and raw strings.
258 Define and use get_plugin_path() always and move platform dependent
259 code into the function definition.
260 Do not add active plugins to the list of plugins when they are
261 already in the list (closes #3308191).
262 Check whether the custom plugin path is one of the user or system
263 plugin paths and if so, ignore it.
266 2011-05-27 Colomban Wendling <colomban(at)geany(dot)org>
269 Fix preferences help button when activated with the keyboard.
272 2011-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
274 * src/about.c, src/build.c, tagmanager/tm_workspace.c:
275 Remove unused variables (patch by Eugene Arshinov, thanks).
277 Remove unused variables (suggested by Eugene Arshinov).
278 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
279 Do not allow 'Save All' even if 'allow_always_save' is set
280 (patch by Dimitar Zhekov, thanks).
281 * data/filetypes.java:
282 Add 'enum' to secondary keywords
283 (closes #3305737, patch by Matthew Brush, thanks).
286 2011-05-12 Colomban Wendling <colomban(at)geany(dot)org>
289 Update the HTML content-type encoding detection regexp to accept some
290 more valid inputs (closes #3300703).
293 2011-05-11 Colomban Wendling <colomban(at)geany(dot)org>
296 Improve the plugin manager dialog a little.
297 * src/geanywraplabel.c, src/geanywraplabel.h, src/keybindings.c,
299 Cleanup GeanyWrapLabel a bit.
302 2011-05-09 Colomban Wendling <colomban(at)geany(dot)org>
304 * plugins/splitwindow.c:
305 Remove widget reparenting in Split Window plugin. This fixes plugin
306 issues on Windows (patch by Matthew Brush, thanks - closes #2725342).
307 * plugins/Makefile.am, plugins/makefile.win32, wscript:
308 Enable SplitWindow build on Windows again (re-apply Enrico's patch).
311 2011-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
314 Add note about patching Glade 2.12 to compile it with
318 2011-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
321 Fix 'Toolbar Preferences' popup menu item (oops).
324 2011-05-03 Colomban Wendling <colomban(at)geany(dot)org>
326 * doc/geany.txt, doc/geany.html:
327 Update the documentation for project patterns and recent FIF dialog
331 2011-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
333 * src/highlighting.c, doc/geany.txt, doc/geany.html:
334 Allow translations for color scheme [theme_info] keys.
335 * src/build.c, src/filetypes.c, src/filetypes.h, src/main.c:
336 Save filetype build commands straight after editing them instead of
337 at shutdown (patch by Dimitar Zhekov, thanks).
340 2011-05-02 Colomban Wendling <colomban(at)geany(dot)org>
343 Bump plugin API version so a plugin can know the project file
344 patterns are visible by the user.
347 2011-05-01 Colomban Wendling <colomban(at)geany(dot)org>
350 Fix pattern filtering when not searching in subdirectories.
353 2011-04-30 Colomban Wendling <colomban(at)geany(dot)org>
356 Fix project patterns and make them visible (based on a patch
357 by Jiří Techet, thanks).
359 Use project patterns in the FIF dialog (based on a patch
360 by Jiří Techet, thanks).
362 Open the file in the msgwindow even if no line number is specified.
365 2011-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
367 * src/filetypes.c, data/filetype_extensions.conf:
368 Revert 'Compiled' filetype group back to 'Programming' (couldn't
369 agree on whether e.g. Java is a compiled language).
370 * doc/geany.txt, doc/geany.html:
371 Add section 'Filetype group membership'.
372 * src/highlighting.c, doc/geany.txt, doc/geany.html,
373 data/colorschemes/alt.conf:
374 Read color scheme name and description for menu item label and
375 tooltip (based on patch by Matthew Brush, thanks).
378 2011-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
380 * src/filetypes.c, src/filetypes.h:
381 Remove now unnecessary Custom filetype group.
383 Move text markup languages into Markup filetype group.
384 Move some programming language filetypes out of the Miscellaneous
386 Fix filetype title for some languages.
387 Don't use 'Languages' for Miscellaneous group label.
388 These changes mostly proposed by Matthew Brush (thanks).
390 Make custom filetype titles use 'source file' only if their group
391 is Compiled or Script.
392 Use 'source file' for reStructuredText title.
395 2011-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
397 * src/filetypes.c, src/filetypes.h, src/main.c,
398 data/filetype_extensions.conf:
399 Make filetype group membership configurable using [Groups] in
400 filetype_extensions.conf.
401 Read filetype_extensions.conf when calling filetypes_init_types(),
402 don't require doclist initialization.
404 Change Programming Languages filetype group label -> Compiled
406 Use 'source file' title for custom filetypes.
407 * src/prefs.c, doc/geany.txt, doc/geany.html:
408 Remove Preferences label warning about restarting after editing
409 template data - this is no longer necessary.
412 2011-04-26 Colomban Wendling <colomban(at)geany(dot)org>
414 * src/callbacks.c, src/document.c, src/document.h,
415 src/documentprivate.h, src/editor.c, src/sidebar.c:
416 Make sure to update the tag list only for the current document,
417 avoiding idle updates to show the tag list for the wrong document.
418 * src/callbacks.c, src/document.c, src/documentprivate.h,
420 Avoid changing the tag tree if it's not the one of the current
421 document, fixing showing the wrong tag list when reloading
425 2011-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
428 Fix warning in utils_find_open_xml_tag() with malformed tags like
432 2011-04-24 Colomban Wendling <colomban(at)geany(dot)org>
435 Don't update the tag list when the user is typing (patch by Yura
438 When copying filetype groups, add keys from both system and user
439 ones, making sure user's ones have precedence over system ones.
442 2011-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
444 * src/utils.c, src/utils.h, src/plugindata.h, src/plugins.c,
445 plugins/geanyfunctions.h:
446 Add utils_find_open_xml_tag_pos() API function (patch by Eugene
449 Replace dates on template insertion, not when loading templates.
452 2011-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
455 Fix multiple snippet cursor positions for Tabs + Spaces mode.
456 Simplify editor_insert_snippet() code now we use cursor marker
458 * src/utils.c, src/utils.h, src/editor.c:
459 Add utils_string_find() to search in a fixed range.
460 Change utils_string_replace() to just replace a fixed number of
464 2011-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
466 * src/plugindata.h, src/document.c, src/plugins.c, src/document.h,
467 plugins/geanyfunctions.h:
468 Add document_compare_by_tab_order() and
469 document_compare_by_tab_order_reverse() to the plugin API.
471 Use document_compare_by_tab_order() as default compare function
472 to sort the document list in the document notebook tab menu, this
473 fixes the currently broken default ordering.
476 2011-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
478 * src/utils.c, src/utils.h, src/editor.c:
479 Add function utils_string_replace() to replace in a fixed range.
480 Remove utils_string_replace_helper() and update cursor marker code.
483 2011-04-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
486 Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
487 Refactor snippets_make_replacements() using geany_cursor_marker.
490 2011-04-13 Colomban Wendling <colomban(at)geany(dot)org>
493 Avoid triggering autocompletion on PHP open tags (closes #3199442).
496 2011-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
499 Update dox for document_compare_by_display_name() with warning
500 about parameter addresses.
502 Use brackets for DOC_FILENAME() macro 'doc' argument.
503 * src/templates.c, src/utils.c, src/toolbar.c, src/utils.h,
504 src/keyfile.c, src/filetypes.c, src/editor.c, src/symbols.c:
505 Make utils_build_path() return a copy for safety.
507 Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
510 2011-04-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
513 Fix wrong casting of array pointers, thanks Nick.
514 * src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c,
516 Rename document_sort_by_display_name() into
517 document_compare_by_display_name(), thanks again Nick.
520 2011-04-11 Colomban Wendling <colomban(at)geany(dot)org>
522 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
523 Revert r5642 "Don't update parent WorkObjects when updating one in
524 real-time" because it broke calltips.
527 2011-04-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
529 * plugins/filebrowser.c:
530 Update path when saving a new document for the first time if the
531 follow path option is enabled.
532 * src/about.c, src/keyfile.c, THANKS:
533 Store VTE path with the session (based on patch by Nicolas
535 There's still a bug with loading a project at startup; closing the
536 project doesn't restore old VTE path.
537 * src/filetypes.c, src/filetypes.h:
538 Refactor with filetypes_get_filename().
539 Make filetypes_get_conf_extension() static.
540 * src/utils.c, src/utils.h, src/filetypes.c:
541 Make utils_make_filename() return a copy for safety.
544 2011-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
547 Ignore scrolling events in on_update_ui().
548 * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
549 src/document.c, doc/pluginsignals.c:
550 Add and use signal "document-reload" to the plugin API.
551 * src/symbols.c, tagmanager/sql.c:
552 Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
553 * src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
554 src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
555 Add ui_menu_add_document_items_sorted() and
556 document_sort_by_display_name() to the plugin API.
559 2011-04-08 Colomban Wendling <colomban(at)geany(dot)org>
561 * scintilla/lexers/LexCPP.cxx:
562 Make highlighting of triple-quoted verbatim an option (Backport
563 from Scintilla HG 3602:5536ed81a85b).
564 * src/highlighting.c:
565 Add highlight for triple-quoted verbatims.
566 * data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
567 data/filetypes.Scala.conf:
568 Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
569 * data/filetypes.Genie.conf:
570 Copy C styling rather than redefining the styles.
572 Don't set font twice for line numbers and braces.
575 2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
578 Remove TEMPLATES_GET_FILENAME() macro.
580 Don't auto-enable case-sensitive option when enabling regex in
581 Find/Replace dialogs.
584 2011-04-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
586 * scintilla/gtk/ScintillaGTK.cxx:
587 Fix X PRIMARY selection issue when Scintilla widget is
588 unrealized/re-realized (Backport from Scintilla HG,
589 original patch by Matthew Brush).
590 Reset cursors when Scintilla widget is realized (Backport from
591 Scintilla HG, original patch by Matthew Brush).
594 2011-04-04 Colomban Wendling <colomban(at)geany(dot)org>
596 * scintilla/gtk/PlatGTK.cxx:
597 Fix font rendering in Scintilla when using Cairo.
600 2011-04-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
602 * src/interface.c, geany.glade:
603 Make Project->Properties the last menu item so it's faster to use.
606 2011-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
609 Update Scintilla to version 2.25.
610 * version.txt, Makefile.am:
611 Add Scintilla's version.txt file.
612 * scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
613 Replace escape character '\' by slash '/' in paths in the
614 Windows Makefiles (patch by Matthew Brush, thanks).
616 Reflect the existence of the entered command in `Set Custom Commands`
617 dialog as well using the yes/no icon.
620 2011-04-03 Colomban Wendling <colomban(at)geany(dot)org>
622 * src/main.c, src/prefs.c, src/tools.c:
623 Fix loading and updating menu accelerators for custom commands.
625 Don't allow editing keybinding column of group rows.
627 Fix ID of newly added commands in the `Set Custom Commands` dialog.
630 2011-04-02 Colomban Wendling <colomban(at)geany(dot)org>
632 * src/tools.c, doc/geany.txt, doc/geany.html:
633 Improve the `Set Custom Commands` dialog.
636 2011-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
638 * src/interface.c, src/interface.h, geany.glade:
639 Rename Preferences dialog Interface subtab More -> Notebook tabs.
640 * src/toolbar.c, src/dialogs.c:
641 Use mimetype icon in File Properties dialog.
642 * doc/geany.txt, doc/geany.html:
643 Fix title capitalization.
644 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
645 Move Preferences dialog Toolbar tab under Interface tab.
647 Tweak some build dialog labels:
650 Use filetype name instead of title.
651 * src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
652 Remove old filetype templates support - users can use custom file
656 2011-04-01 Colomban Wendling <colomban(at)geany(dot)org>
659 Update regex used to find encodings for it to allow the encoding to
660 be quoted, adding support for XML (closes #3183506).
662 Implement charset name normalization in order to better deal with
663 badly-written encoding names (i.e. names found by regex search).
664 This also makes encodings_get_idx_from_charset() and
665 encodings_get_from_charset() more permissive regarding the passed-in
668 Always try to honor the charset found in the document, even if the
669 document can be loaded as UTF-8.
670 This make files encoded with e.g. ISO-8859-1 that have the proper
671 information in them but only use the UTF-8 compatible part of
672 ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
673 Also fix check for locale encoding.
674 * src/tools.c, doc/geany.txt, doc/geany.html:
675 Make `Send selection to` send the current line if there is no
679 2011-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
681 * plugins/filebrowser.c:
682 Make 'Hide object files' preference configurable with file
684 * plugins/filebrowser.c:
685 Fix applying default setting for hide_object_files (oops).
686 Fix warning when enabling plugin from the Plugin Manager.
687 * plugins/filebrowser.c:
688 Fix optimization for filter check when pattern is '*'.
689 Use foreach_strv() instead of foreach_c_array().
690 * plugins/filebrowser.c:
691 Don't hide directories matching hidden file extensions e.g. foo.o.
692 Refactor with check_object().
695 2011-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
698 Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
699 crash in the Split Window plugin when changing filetype (patch by
700 Matthew Brush, thanks; fixes #3255968).
701 * plugins/splitwindow.c:
702 Update styles when the filetype changes (based on patch by
703 Matthew Brush, thanks).
704 * plugins/saveactions.c:
705 Fix Instant Save preferences combo box filetype order.
706 * plugins/filebrowser.c:
707 Remove macro CHECK_READ_SETTING().
710 2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
712 * src/plugindata.h, src/pluginprivate.h, src/plugins.c,
713 src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
714 Add plugin_idle_add(), plugin_timeout_add() and
715 plugin_timeout_add_seconds() to the plugin API. These are
716 convenience wrappers to ensure the added timeouts are properly
717 removed when unloading the plugin, preventing possible crashes.
718 * plugins/splitwindow.c:
719 Use new plugin_idle_add(), preventing an unlikely crash.
720 * doc/pluginsymbols.c, src/sciwrappers.c:
721 Fix a few Doxygen warnings.
722 * plugins/saveactions.c:
723 Properly use 0 as the invalid timeout source ID.
726 2011-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
728 * doc/geany.txt, doc/geany.html:
729 Add #reading-styles-from-another-filetype subsection, based on
730 patch by Matthew Brush (thanks).
731 * doc/geany.txt, doc/geany.html:
732 Add #filenames subsection for filetype definition files explaining
733 the filename extensions and special cases.
734 * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
735 src/main.c, plugins/geanyfunctions.h:
736 Add filetypes_get_sorted_by_name() to API.
737 Fix --ft-names sorting to print in name order, not title order.
740 2011-03-28 Colomban Wendling <colomban(at)geany(dot)org>
742 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
743 Don't update parent WorkObjects when updating one in real-time. This
744 should fix some performance issues if a WorkObject has many parents.
747 2011-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
749 * src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
751 Initialize GLib's Gthread system early at startup in case any
753 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
754 doc/geany.txt, doc/geany.html:
755 Add new keybinding 'Remove Markers and Error Indicators'.
758 2011-03-26 Colomban Wendling <colomban(at)geany(dot)org>
761 Fix the sidebar popup menu to properly use the currently selected
762 item rather than the previous one.
763 Also change the hack used for the selection to be updated in the
764 input handlers to call the GtkTreeView's handler manually rather than
765 doing the actual job in IDLE callbacks for the TreeView's handler to
767 * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
768 src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
770 Add possibility to detect the indentation width from the file content
771 (not supported if indentation type is tabs only).
772 * plugins/splitwindow.c:
773 Enable code folding in splitview window (based on a patch by Matthew
774 Brush, thanks! - closes #3097780).
775 Fix confusing terminology in Split Window plugin menu labels (patch
776 by Matthew Brush - closes #2796316).
777 Don't unsplit when closing the displayed document but rather pick the
778 new current one if any.
781 2011-03-25 Colomban Wendling <colomban(at)geany(dot)org>
783 * data/filetypes.vala:
784 Update Vala keywords (based on a patch from Matthew Brush, thanks).
789 2011-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
791 * plugins/filebrowser.c:
792 Add history to filter entry.
793 * src/keybindings.c, src/vte.c:
794 Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
797 Make VTE copy/paste shortcuts work if 'Override Geany
798 keybindings' is not set.
801 2011-03-24 Colomban Wendling <colomban(at)geany(dot)org>
803 * doc/geany.txt, doc/geany.html:
804 Update the documentation to talk about real-time tag parsing.
805 * doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
806 src/document.c, src/document.h, src/geanyentryaction.c,
807 src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
808 Make Shift-Enter in search dialog and toolbar search entries search
810 * plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
811 src/dialogs.c, src/document.c, src/document.h, src/editor.c,
812 src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
813 src/main.c, src/plugins.c, src/printing.c, src/project.c,
814 src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
815 Improve usage of G_LIKELY() and G_UNLIKELY() macros.
818 2011-03-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
821 Make --ft-names list filetypes alphabetically.
822 * plugins/filebrowser.c:
823 Allow multiple file filters to be separated by a space for
824 consistency with Find in Files file patterns. ';' is still
828 2011-03-20 Colomban Wendling <colomban(at)geany(dot)org>
830 * data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
831 src/filetypes.c, src/filetypes.h, src/templates.c:
832 Add new filetype setting "comment_single" to provide separated
833 single-line and multiline comment support. Single-line are used in
834 priority to comment code, and multiline to make template comments.
835 * src/editor.c, src/search.c, tagmanager/diff.c:
836 Don't use strlen(..) > 0 or == 0, simply check the first character
839 Update forced indent settings when setting the filetype. This makes
840 documents created or set to a filetype with forced indent setting
841 (Makefile, F77) to have the correct setting right away.
844 2011-03-19 Colomban Wendling <colomban(at)geany(dot)org>
847 Create a new undo action when inserting templates, making sure the
848 user can undo the template insertion without also undoing a previous
852 2011-03-18 Colomban Wendling <colomban(at)geany(dot)org>
854 * src/document.c, src/encodings.c, src/encodings.h:
855 Move document encoding conversion with BOM support to encodings.[ch]
856 as encodings_convert_to_utf8_auto().
858 Properly convert template files to UTF-8 on loading, fixing encoding
859 issues if templates files are not encoded in UTF-8.
862 2011-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
864 * data/templates/files/main.vala:
865 Add file template for Vala (patch by Mark Trompell, thanks).
868 2011-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
870 * src/utils.c, src/utils.h, src/filetypes.c:
871 Support copying filetype definition file group keys from a system
872 keyfile with e.g. [styling=C].
873 Add function utils_make_filename() for building filenames easily.
874 * THANKS, plugins/classbuilder.c:
875 Improve Class Builder plugin dialog UI using a table (patch by
876 Matthew Brush, thanks).
877 * plugins/classbuilder.c:
878 Fix GLib warning when creating classes and no documents are open
879 (patch by Matthew Brush, thanks).
880 * plugins/classbuilder.c:
881 Undo patch change to cc_option_label_new() to append a ':' colon to
882 label text because this unnecessarily causes string translations to
884 * src/interface.c, geany.glade:
885 Fix wrong label capitalization for Toolbar Preferences dialog tab
887 * data/filetypes.Scala.conf, data/filetype_extensions.conf:
888 Add Scala custom filetype, based on file by werg (thanks).
889 (This uses the newly added [styling=C] syntax).
891 Make special case for filetypes.matlab instead of truncating all
892 filetype config filenames at slash.
894 Fix generating tag files and --ft-names option by ensuring GTK is
895 initialized before calling ui_get_mime_icon().
898 2011-03-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
900 * THANKS, src/about.c:
901 Adding Wei-Lun Chao as current maintainer for traditional Chinese
905 2011-03-15 Colomban Wendling <colomban(at)geany(dot)org>
907 * src/templates.c, src/templates.h:
908 Use the same indentation for all templates (part of FR#3193527; from
909 a patch by Matthew Brush, thanks).
911 Always keep the list of loaded plugin sorted by name.
914 2011-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
916 * data/filetype_extensions.conf:
917 Add Markdown extension.
920 2011-03-10 Colomban Wendling <colomban(at)geany(dot)org>
923 Correctly expand the menubar if the toolbar is appended to it but
924 not visible (closes #3204955).
925 * plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
926 src/tools.c, src/utils.c:
927 Prefer prepend elements to lists rather than append them, for better
931 2011-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
934 Fix wrong code example in the API docs
935 (spotted by Matthew Brush, thanks).
938 2011-03-07 Colomban Wendling <colomban(at)geany(dot)org>
940 * tagmanager/mio/mio-memory.c:
941 Import upstream MIO changes not to require a C99 compiler.
944 2011-03-06 Colomban Wendling <colomban(at)geany(dot)org>
947 When sorting tags by line, also sort by scope if line is the same,
948 avoiding wrong sorting if a parent tag is on the same line than its
949 children, and one of it's children would be sorted before
950 alphabetically (closes #3193982).
953 2011-03-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
955 * src/interface.c, geany.glade:
958 Remember Find and Replace options across restarts
959 (patch by Dimitar Zhekov, thanks).
961 Respect saved state of 'Case sensitive' option when using
962 the 'Regular expressions' option as well.
964 Add option to insert line numbers (closes #3197150).
966 Use the full filename and add the extension of the export format.
967 Fix off-by-one bug which hidden the last empty line of a document.
970 2011-03-05 Colomban Wendling <colomban(at)geany(dot)org>
972 * configure.ac, wscript, makefile.win32, src/Makefile.am,
973 src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
974 tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
975 tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
976 tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
977 tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
978 tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
979 Move most of TagManager's I/O to MIO.
981 Enable in-memory tag parsing.
982 * geany.glade, src/editor.c, src/editor.h, src/interface.c,
984 Add possibility to update symbol list in IDLE time, enabled by
985 default using a minimal delay of 250ms.
987 Improve implementation of hide_empty_rows() to do all in one shot.
988 * tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
989 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
990 tagmanager/tm_workspace.c:
991 Make TMTag reference-counted.
992 * src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
994 Provide a GType for TMTag and use it in the tag store to make sure
995 the tags it holds are always valid.
997 Don't remove and add the symbols tree view if we re-add the same one.
998 * src/sidebar.c, src/sidebar.h, src/symbols.c:
999 Update the symbol list rather than clearing and re-building it.
1000 There is room for improvement in the implementation side, but it
1001 is harder to do, probably a future improvement.
1003 Fix suffix of anonymous symbols (structs, enums, ...).
1008 2011-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1010 * plugins/saveactions.c:
1011 Fix wrong warning on empty backup directory setting if
1012 'Backup Copy' is not enabled at all.
1013 * AUTHORS, src/about.c, README.Packagers, README:
1014 Welcome Colomban Wendling, a new Geany developer.
1017 2011-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1020 Fix segfault when inserting e.g. fileheader template when the
1021 template file is empty (#3070913, thanks to lphilpot).
1024 2011-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1026 * plugins/filebrowser.c:
1027 Add support for multiple file filters, separated by semicolon
1028 (based on a patch by Grigory Javadyan, thanks).
1031 2011-02-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1033 * data/filetype_extensions.conf:
1034 Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
1038 2011-02-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1040 * tagmanager/latex.c:
1041 Add a workaround for #3066566 to prevent Geany from crashing during
1042 loading of a LaTeX-file containing linebreaks inside headings.
1045 2011-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1048 Fix memory leaks (reported by an anonymous IRC user).
1049 * doc/geany.txt, doc/geany.html:
1050 Replace '+' by '-' in the Scintilla Keybindings section
1051 to be consistent with the other mentioned keybindings.
1053 Improve error checking when trying to write project files
1054 (patch by Colomban Wendling, thanks).
1055 Add a warning if writing the project file fails on close.
1056 * src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
1057 Rename utils_is_file_writeable() into utils_is_file_writable().
1060 2011-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1063 Ensure the editor widget has the focus when the editor menu is
1065 * scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
1066 scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
1067 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
1068 src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
1069 tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
1070 data/filetype_extensions.conf, wscript:
1071 Add filetype Cobol (based on a patch by Seth Keiper).
1074 2011-01-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1076 * plugins/filebrowser.c:
1077 Add '.pyc' to the list of hidden object files
1078 (patch by Filip Gruszczyński, thanks).
1081 2011-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1084 Update copyright information.
1085 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1086 geany_private.rc, win32-config.h, wscript, src/geany.h:
1087 Post-release version bump.
1090 2011-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1092 * src/highlighting.c, data/filetypes.javascript:
1093 Add and use secondary keywords for filetype JavaScript,
1094 update and sanitize JavaScript keyword lists
1095 (patch by Jason Oster, thank you).
1098 2011-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1100 * THANKS, src/about.c:
1101 Added Rafael Peregrino da Silva to list of contributors for Brazilian
1102 Portuguese (pt_BR) translation.
1105 2011-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1107 * src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
1108 Add Save As toolbar button option (patch by Matthew Brush, thanks;
1110 * scintilla/*, src/utils.c, src/notebook.c,
1111 data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1112 data/filetypes.cs, data/filetypes.c, wscript:
1113 Merge unstable branch:
1115 Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
1117 Add 'Open in New Window' command in the notebook tab menu (based on
1118 patch by Matthew Brush, thanks - #3118059).
1119 - data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1120 data/filetypes.cs, data/filetypes.c:
1121 Disable preprocessor #define tracking for the CPP lexer
1122 (enabled by default in Scintilla).
1123 - scintilla/*, wscript:
1124 Update Scintilla to version 2.22.
1125 Use Scintilla's directory structure mostly and only remove
1129 2011-01-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1131 * New release: Geany 0.20 "Disra".
1134 2011-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1137 Add debug message with the number of compatible plugins in each
1138 plugin search path when showing the Plugin Manager dialog.
1141 2010-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1143 * doc/geany.txt, doc/geany.html:
1144 Move and update 'Custom filetypes' section.
1145 Add 'Creating a custom filetype from an existing filetype' section.
1148 2010-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1150 * src/interface.c, src/keybindings.c, geany.glade:
1151 Add Edit->Insert Alternative White Space menu item (was previously
1152 removed from Edit->Commands submenu).
1155 2010-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1157 * src/interface.c, geany.glade:
1158 Split Preferences dialog Interface tab into subnotebook to reduce
1159 height of dialog (fixes #3141277). Reuses existing strings.
1161 Scroll to the current line when moving the cursor to the next
1162 cursor position in a snippet (#3139490).
1163 * doc/geany.txt, doc/geany.html:
1164 Add short 'View menu' section and 'Color schemes menu' section.
1165 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1166 Add filetypes_get_display_name() to API.
1169 2010-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1172 Reduce Set Build Commands dialog column 1 width by using '#' label.
1175 Use italic for note labels in the Build Commands dialog.
1178 2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1180 * src/build.c, src/build.h:
1181 Replace doc-comments with '/* *' comments to show there's no build
1185 2010-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1187 * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
1188 Fix segfaults when using 'Send Selection to Terminal' and the VTE
1189 is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
1190 pref (patch by Dimitar Zhekov, thanks).
1191 * src/build.c, src/keyfile.c:
1192 Fix some more wrong uses of vte_info.load_vte instead of
1195 Disable 'Send Selection to Terminal' item when not available
1196 instead of removing it to avoid trailing separator.
1197 * doc/geany.txt, doc/geany.html:
1198 Add 'Configuration file paths' section and link to it instead of
1199 repeating typical system data and user config directory paths.
1200 List 2 Tools->Configuration Files menu items.
1201 Add 'Plugin Manager' section break.
1202 Edit some related sections.
1203 * doc/geany.txt, doc/geany.html:
1204 Update Ignore Tags section with example and menu item.
1205 * doc/geany.txt, doc/geany.html:
1206 List 'Tools->Configuration Files->filetypes.common' menu item.
1209 2010-12-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1212 Improve error message for document_save_file() if doc->file_name is
1213 NULL (reusing existing strings).
1214 Add warning about this in the API docs.
1217 2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1219 * scintilla/ScintillaGTK.cxx:
1220 Backport Scintilla HG fix: Remove styling idle in destructor to
1221 avoid crashing when idle called after ScintillaGTK instance
1222 destroyed (fixes #3111058).
1223 This prevents a crash when closing a modified document (usually
1224 without a trailing newline) and choosing Save.
1227 2010-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1230 Warn about file truncation if unsafe file saving fails.
1233 2010-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1236 Check result of fclose() for utils_write_file().
1239 2010-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1242 Enable GIO and built-in regex support on Windows
1243 when compiling without Waf.
1246 2010-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1249 Reformat and improve the Windows resource file.
1252 2010-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1254 * data/filetype_extensions.conf:
1255 Add *.latex pattern.
1256 * src/interface.c, geany.glade:
1257 Add note to indentation prefs page about using Project->Apply
1258 Default Indentation for currently open documents.
1261 2010-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1263 * src/interface.c, src/keybindings.c, src/callbacks.c,
1264 src/callbacks.h, geany.glade:
1265 Add 'Mark All' Search menu command.
1266 * src/symbols.c, doc/geany.txt, doc/geany.html:
1267 If the current word's tag is on the current line, make Go to Tag
1268 Definition look for a tag declaration instead, as this is more
1269 useful. Likewise make Go to Tag Declaration search for a tag
1270 definition in this case also.
1271 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1272 Don't use 'Enable' in pref labels when unnecessary.
1273 Rename XML/HTML tag autocompletion -> auto-closing.
1274 * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
1276 Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
1278 * src/keybindings.c, src/editor.c, src/editor.h:
1279 Add editor_get_prefs() instead of editor_get_long_line_*()
1280 functions. This general function can be extended to support
1281 various project and document overrides.
1282 * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
1283 src/editor.c, src/editor.h:
1284 Remove unnecessary 'global' from long line editor pref field names.
1287 2010-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1289 * doc/geany.txt, doc/geany.html:
1290 Explain how to grep the source for Scintilla lexer properties.
1291 * src/sidebar.c, src/callbacks.c, src/main.c:
1292 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
1293 Only auto-display symbols and documents tabs when showing the
1294 sidebar if there are no plugin tabs.
1295 Don't hide the sidebar on startup if only plugin tabs are visible
1298 Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
1299 so you can protect code with '#if GEANY_API_VERSION >= 200'.
1301 Warn about preprocessor testing GEANY_API_VERSION below 200 because
1302 those tests will always fail.
1305 2010-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1307 * data/filetypes.xml:
1308 Add 'instanceof' keyword for PHP (closes #3109330).
1311 2010-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1313 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1314 Re-focus Set Build Commands/Project dialogs after editing a build
1316 Add 'parent' argument to some dialogs_show_input*() functions because
1317 the dialog parent may not always be the main window.
1318 * src/build.c, src/dialogs.c, src/callbacks.c:
1319 Don't change default build command entry color when cancelling
1321 Make dialogs_show_input() return NULL when cancelled.
1323 Parse PHP final functions (fixes #3111171).
1324 * src/dialogs.c, src/plugindata.h, src/plugins.c,
1325 plugins/geanyfunctions.h:
1326 Add dialogs_show_input() to API.
1329 2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1331 * src/build.c, doc/geany.txt, doc/geany.html:
1332 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
1333 Build Commands dialog.
1334 * doc/geany.txt, doc/geany.html:
1335 Use 'Filetype build commands' and 'Independent build commands'.
1336 Fix saying project *independent* execute can only be set by hand.
1339 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1341 * src/keybindings.c, src/editor.c, src/editor.h:
1342 Make Reflow Lines/Block command use the current indented block, not
1343 the whole paragraph, which could have mixed indentation.
1344 Fix memory leak and off-by-one bug on first line when using Select
1346 * src/utils.c, src/highlighting.c, src/highlighting.h,
1347 src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
1348 plugins/geanyfunctions.h:
1349 Add API functions (patch by Eugene Arshinov, thanks):
1350 Move editor.c: is_{string,comment,code}_style() functions to
1351 highlighting.c, add to API.
1352 Add editor_find_snippet(), editor_insert_snippet(),
1353 utils_find_open_xml_tag() to API.
1356 2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1358 * src/editor.c, doc/geany.txt, doc/geany.html:
1359 Don't use XML tag auto-indentation when '</' is to the right of the
1360 cursor; allow auto-indentation when XML tag auto-closing is also
1362 * doc/geany.txt, doc/geany.html:
1363 Rename 'Format' section 'Filetype configuration'.
1366 2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1369 Update Waf to current SVN version.
1372 2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1375 Update Waf to version 1.6.1.
1376 Update wscript for new Waf version, make it Python 3 compatible.
1379 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1382 Display better error messages when saving a document fails (patch by
1383 Dimitar Zhekov, thanks).
1385 Fix wrong snippet indentation when original cursor line has
1386 non-indentation whitespace (patch by david, thanks).
1387 * doc/geany.txt, doc/geany.html, data/filetypes.php,
1388 data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
1389 Enable XML tag autoindentation for PHP, Docbook and add docs for
1390 this setting (patch by Eugene Arshinov, thanks).
1393 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1395 * src/templates.c, src/document.c:
1396 Use LF line endings for templates internally instead of default
1397 pref because the default can change. This fixes missing line
1398 endings sometimes when changing default setting.
1400 Fix not reporting an error message when saving a document fails.
1401 Check result of fclose().
1402 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
1403 data/filetypes.xml, data/filetypes.html:
1404 Add xml_indent_tags filetype setting for documents using the
1405 HTML/XML lexers (patch by Eugene Arshinov, thanks).
1407 Set errno to 0 before doing disk I/O to prevent confusing error
1408 messages on save failure.
1411 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1413 * src/templates.c, src/filetypes.c:
1414 Save build commands for filetype None (patch by Lex, thanks).
1415 Make filetypes_get_conf_extension() return "common" for filetype
1418 Convert line endings for file templates.
1419 Fix line endings when using file header template in a file template
1421 * src/utils.c, src/utils.h:
1422 Make utils_ensure_same_eol_characters() convert all wrong line
1423 endings to the desired one, not just the most common one.
1426 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1429 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
1431 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1432 Restore top-level editor popup item 'Find Document Usage'.
1433 * src/interface.c, src/ui_utils.c, geany.glade:
1434 Remove duplicates in 'Insert Comments' editor popup menu; rename
1436 Separate main menu insertion comments depending on number of times
1438 * data/filetypes.*, data/colorschemes/alt.conf:
1439 Rename word/word2 named styles to keyword/keyword2.
1440 * doc/geany.txt, doc/geany.html:
1441 Mention that indentation settings can be overridden per-project.
1442 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
1443 doc/geany.txt, doc/geany.html, geany.glade:
1444 Add 'Project->Apply Default Indentation' menu command to override
1445 every document's indentation settings.
1446 Improve 'Indentation' section docs.
1449 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1452 Fix build with GTK 2.12: explicitly include gio.h if GIO
1453 is available and to be used regardless of the USE_GIO_FILEMON flag.
1455 Fix installation of template files.
1456 Show which regex implementation is used.
1458 Use non-GIO mime-type icon lookup if GIO lookup fails.
1460 Allow skipping configure during autogen by setting NOCONFIGURE=1
1461 (thanks to Chow Loong Jin).
1464 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1467 Make use_safe_file_saving hidden pref apply even when GIO is
1468 available, because g_file_replace_contents() doesn't handle disk
1471 Show GIO/built-in regex support in startup debug message as well as
1473 * doc/geany.txt, doc/geany.html:
1474 Add docs for the HTMLChars plugin (patch by Frank).
1477 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1480 Do not translate 'name' field for filetype None because it is used
1481 for hash table lookup. This fixes missing files in the Open dialog
1482 for the 'All files' filter with non-English locales (thanks to Sardem
1483 FF7, fixes #3094771).
1484 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
1486 Add filetypes_get_display_name() to get translations for filetype
1489 Fix resource leak when saving files with GIO (patch by Colomban
1493 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1495 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1496 Add sci_get_lexer() to plugin API.
1497 * plugins/htmlchars.c:
1498 Only automatically replace characters when the current document is
1500 * plugins/htmlchars.c:
1501 Rename submenu item labels to be more descriptive.
1502 * src/keybindings.c:
1503 Fix Alt+[0-9] switching tabs when other modifiers are also held.
1505 Don't allow pasting of numbers followed by other characters in the
1506 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
1508 Print "GIO" and "built-in regex" if enabled with --version.
1510 Use g_file_replace_contents() if available to save documents - this
1511 should help workaround bugs in GVFS (based on patch by Alexey
1515 Fix wrongly adding newlines for templates on disk that don't have
1516 LF line endings when default line endings are not LF, e.g. Windows.
1519 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1521 * src/utils.c, src/main.c:
1522 Remove trailing directory separator for app->datadir and
1523 app->docdir for consistency with the other directory fields.
1525 Detect user and system filetype configuration files as Conf
1528 Respect 'Smart' home key for Shift+Home (fixes #3100290).
1531 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1533 * data/filetypes.ada:
1534 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
1537 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1540 Add install-data-only target to only install data/* to speed up
1543 Fix not autocompleting when breaking lines.
1544 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
1545 data/colorschemes/alt.conf, data/filetypes.haxe,
1546 data/filetypes.common, data/filetypes.glsl,
1547 data/filetypes.actionscript, data/filetypes.cs,
1548 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
1549 data/filetypes.Genie.conf:
1550 Add named style 'extra', use for C-like filetypes.
1553 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1555 * data/filetypes.xml:
1556 Match data-* and aria-* as HTML attributes.
1557 * data/colorschemes/alt.conf, data/filetypes.common,
1558 data/filetypes.python:
1559 Make Python use named styles for color scheme support - use
1560 alt.conf color scheme if you want the old colors.
1561 Add named style 'function'.
1563 Move plugin_set_info prototype and parenthesize arguments for
1564 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
1566 Fix putting pointer symbol before name, not after type.
1569 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1571 * src/filetypes.c, src/ui_utils.c:
1572 Fix notebook tab menu icons using theme for "text/plain" filetypes.
1573 Make filetype mime_type "text/plain" instead of NULL.
1576 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1578 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1579 Edit XML tag autocompletion pref and tooltip to include HTML.
1580 * doc/geany.txt, doc/geany.html:
1581 Add docs for 'Ensure consistent line endings' pref.
1583 Change default for 'Override Geany keybindings' to on.
1585 Sort filetypes_by_title last instead of on insertion to prevent
1587 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
1588 Add filetype mimetype field (patch by Colomban Wendling, thanks).
1589 * src/sidebar.c, src/document.c:
1590 Show mimetype icon in sidebar Documents list (patch by Colomban
1593 Add notebook tab document icons (based on patch by Colomban
1596 Leave text/plain mime_type fields as NULL (like custom filetypes).
1599 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1601 * src/editor.c, data/snippets.conf:
1602 Move HTML automatic <table> tag completion into a 'table' snippet
1603 so the user can decide when to use it (patch by Eugene Arshinov,
1605 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
1606 src/document.c, src/document.h, THANKS, geany.glade:
1607 Add 'Ensure consistent line endings' file saving pref (patch by
1608 Manuel Bua, thanks).
1609 * src/utils.c, src/utils.h, src/editor.c:
1610 Auto-indent after an HTML/XML line with a missing closing tag (patch
1611 by Eugene Arshinov, thanks).
1612 Behaviour only applies if XML tag autoclosing is off.
1613 * src/templates.c, src/build.c, src/document.c, src/editor.c,
1614 src/symbols.c, plugins/saveactions.c:
1615 Remove unnecessary uses of FILETYPE_ID() macro with
1616 GeanyDocument::file_type.
1617 * data/filetypes.xml:
1618 Add HTML5 attributes (thanks to Ross McKay).
1621 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1624 Fix not changing edited keybindings when cancelling the Preferences
1626 * data/filetypes.xml:
1627 Add HTML5 element names (thanks to Ross McKay).
1630 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1632 * src/utils.c, src/filetypes.c:
1633 Remove filetype default extensions from code.
1635 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
1637 Refactor shared code with kb_cell_edited_cb().
1640 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1642 * src/highlighting.c:
1643 Use radio buttons for View->Editor->Color Schemes menu.
1644 Don't hide the menu when only the default item is available.
1645 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
1646 Add alternative color scheme based on Python colors.
1647 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
1648 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1649 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1650 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
1651 Add Erlang filetype (patch by Taylor Venable, thanks).
1652 * src/filetypes.c, data/filetypes.*:
1653 Move filetype 'extension' default into data files.
1654 * src/filetypes.c, data/filetypes.vala:
1655 Move filetype comment_{open,close} defaults into data files.
1658 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1660 * data/filetypes.c, data/filetypes.d:
1661 Add missing C99 keyword 'restrict' (#3046716).
1662 Add missing D1 keywords 'ref' and 'macro'.
1665 Parse Vala functions with contracts (#3080232).
1667 Fix saving project indent prefs straight after using project
1669 * src/highlighting.c, src/filetypes.c:
1670 Prevent debug message about a missing 'default' named style when
1671 using just a user color scheme file.
1674 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1677 Fix off-by-one bug in 'search_mark_all'.
1680 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1683 Ignore D /+ +/ comments.
1685 Ignore D unittest blocks.
1686 Parse D template functions with constraints.
1687 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1688 Add 'Insert New Line Before/After Current' keybindings (based on
1689 patch by Eugene Arshinov, thanks).
1691 Use secondary text for 'file not found on disk' dialog.
1694 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1697 Fix build with GLib 2.8.
1700 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1702 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
1703 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
1704 Revert X11 workspace socket support as it needs more work; moved
1705 to workspace-sockets branch.
1708 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1710 * src/geanywraplabel.c:
1711 Fix build with GLib 2.8.
1712 * src/dialogs.c, src/about.c, THANKS:
1713 Group Open dialog encoding options by submenus (patch by Adam Ples,
1715 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
1716 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1717 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1718 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
1719 Add Lisp filetype (patch by Mário Silva, thanks).
1720 Note: Lisp lexer was taken from Scintilla instead.
1723 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1725 * po/kk.po, THANKS, src/about.c:
1726 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
1730 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1732 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
1733 Don't cache overridden lexer properties.
1734 Add foreach_strv() to plugin API.
1735 Add utils_strv_join().
1736 * tagmanager/basic.c:
1737 Parse property, constructor, destructor as functions (patch by
1738 pottersson, thanks; #2992167).
1741 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1743 * src/tools.c, doc/geany.txt, doc/geany.html:
1744 Fix passing quoted arguments when using 'Send Selection to'. This
1745 means sed 's/\./(dot)/g' now works.
1747 Add snippet keybinding support for keys in user snippets.conf (based
1748 on patch by Eugene Arshinov, thanks). No docs yet.
1749 * doc/geany.txt, doc/geany.html:
1750 Add some subheadings for Snippets section.
1751 * doc/geany.txt, doc/geany.html:
1752 Add snippet keybindings docs.
1753 * src/highlighting.c, src/utils.h:
1754 Move foreach_strv to utils.h.
1755 * src/editor.c, data/snippets.conf:
1756 Read snippet keybindings from system keyfile also.
1757 Add keybinding example to default snippet.conf.
1760 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1762 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
1763 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
1764 data/filetypes.txt2tags, data/filetypes.markdown,
1765 data/filetypes.restructuredtext:
1766 Add symbol_list_sort_mode per-filetype setting, set to sort by line
1767 number by default for Markdown, reStructuredText and Txt2Tags.
1768 Add utils_get_setting() macro for reading a key from a home or
1770 Move GeanyFiletypePrivate to filetypesprivate.h.
1771 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
1772 Link with X11 if found to fix linking with a recent GNU ld.
1774 Avoid delay and redrawing when automatically opening a new document
1776 * scintilla/LexForth.cxx, scintilla/makefile.win32,
1777 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1778 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1779 data/filetypes.forth, data/filetype_extensions.conf, wscript:
1780 Add Forth filetype (patch by Thomas Huth, thanks).
1782 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
1783 commands for 'Send Selection to' (oops).
1786 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1789 When commenting/uncommenting with single-line comment characters,
1790 ignore any end of line characters before evaluating the current line.
1791 * data/filetypes.python:
1792 Simplify Python Compile/Syntax Check command.
1795 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1797 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
1799 Add hidden pref 'find_selection_type' with option to repeat last
1800 search when there's no selection.
1801 Change default Find Selection behaviour to not let the X selection
1802 override the current word (can be confusing).
1803 Add docs for Find Selection commands.
1805 Fix segfault on idle callback when quitting.
1806 * src/interface.c, src/keybindings.c, geany.glade:
1807 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
1809 * src/interface.c, geany.glade:
1810 Move editor popup menu Insert Comments submenu to top of Insert menu.
1811 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
1813 Add hidden pref new_document_after_close for whether to open a new
1814 document automatically, off by default.
1816 Add 'Bugs to watch out for' section.
1819 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1821 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
1822 doc/stash-gui-example.c:
1823 Improve Stash GUI example.
1826 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1828 * src/interface.c, geany.glade:
1829 Move Go to Marker menu items to Search menu.
1830 Rename popup editor menu item Commands -> Edit.
1831 * src/callbacks.c, src/search.c, src/search.h:
1832 Move find_again() to search.c.
1834 Make Find Selected commands repeat the last search if the selection
1836 * doc/geany.txt, doc/geany.html:
1837 Add docs for Find Selection keybindings.
1838 * src/interface.c, src/keybindings.c, geany.glade:
1839 Unify Find Selection strings.
1840 * src/interface.c, src/ui_utils.c, geany.glade:
1841 Group editor popup Insert commands in a submenu, with extra items
1842 for the most commonly used Insert Comments commands.
1843 Show Edit->Commands before Format in menubar Edit menu (to match
1845 Show Open Selected F_ile popup item below submenus.
1848 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1851 Refactor shared submenu code with GeanySharedMenu array.
1852 * src/interface.c, src/ui_utils.c, geany.glade:
1853 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
1854 shared with the editor popup menu.
1856 Open a new document automatically after closing all documents.
1859 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1862 Prompt for reloading if the document has an undo stack to avoid
1863 losing undo ability on accidental reloading (patch by Colomban
1865 * src/project.c, src/geanyobject.c, src/geanyobject.h,
1866 doc/pluginsignals.c:
1867 Add plugin signals project-dialog-create and
1868 project-dialog-confirmed so plugins can append a Project Properties
1869 notebook tab (patch by Jiří Techet, thanks).
1870 * src/ui_utils.h, src/plugindata.h, src/main.c:
1871 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
1872 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
1873 src/plugins.c, plugins/geanyfunctions.h:
1874 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
1877 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1880 Save document indent width with the session.
1881 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
1882 doc/geany.html, TODO:
1883 Use a separate socket per workspace on X (patch by Erik de Castro
1887 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1890 Ignore directories passed on the command-line (based on patch by
1891 Erik de Castro Lopo, thanks).
1893 Parse D function template names.
1894 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
1895 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
1897 Allow per-document indent width setting (patch by Jiří Techet,
1898 updated by Erik de Castro Lopo - thanks).
1899 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
1900 Combine indent width menu item callbacks.
1901 * src/interface.c, geany.glade:
1902 Don't translate indent width menu items as they are now used for
1906 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1908 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1909 Remove 3 popup menu items to save space:
1910 Find Document Usage because Find Usage can be used instead.
1911 Go to Tag Declaration because Go to Tag Definition is more common.
1912 Go to Line because the toolbar item can be used instead.
1913 * src/tools.c, src/search.c, tagmanager/python.c:
1914 Fix some 'possible' NULL pointer dereferences (based on patch by
1915 Erik de Castro Lopo).
1916 * src/keybindings.c, src/keybindings.h, src/prefs.c:
1917 Simplify keybindings_check_event().
1920 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1923 Use up/down icons for Previous/Next Error.
1924 * src/interface.c, src/keybindings.c, src/callbacks.c,
1925 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1927 Add Find Usage and Go to Tag items to Search menu for easier
1929 * tagmanager/tm_symbol.c:
1930 Fix possible NULL dereference.
1932 Add link to glade-2.12.2.tar.gz on geany.org.
1933 * doc/geany.txt, doc/geany.html:
1934 Mention the filetype wordchars setting can be overridden by the
1935 whitespace_chars filetypes.common setting.
1936 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
1937 Remove NULL checks when calling g_free() (patch by Erik de Castro
1940 Show Save As when saving if the document filename doesn't have an
1941 absolute path, so command-line new files can be saved without a
1942 prompt, but file templates still prompt the user.
1945 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1948 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
1952 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1954 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
1955 Add GeanyMainWidgets::message_window_notebook for plugins to append
1956 a new notebook page (#3061342).
1958 Add Close button to the detected file changed dialog.
1959 * src/interface.c, geany.glade:
1960 Add separator between Find Previous and Find in Files.
1961 Add up/down icons for Previous/Next Message.
1964 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1966 * data/snippets.conf:
1967 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
1971 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1974 Fix broken editing of build menu labels.
1975 * src/encodings.c, src/filetypes.c, configure.ac:
1976 Auto-enable building with included regex if no regcomp function is
1978 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
1979 regex support is required.
1980 * tagmanager/make.c:
1981 Backport fix for possible infinite loop from CTags.
1982 * scintilla/PlatGTK.cxx:
1983 Backport list box memory leak fixes from Scintilla 2.20.
1986 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1989 Make the Properties dialog filename a label and put it first (patch
1990 by Jiří Techet, thanks).
1991 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
1993 Remove the "Set build working directories" button from the project
1994 properties dialog (patch by Jiří Techet, thanks).
1996 Include all files if the Find in Files pattern field is enabled and
1999 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
2002 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2004 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
2005 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2006 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2007 data/filetypes.txt2tags, wscript:
2008 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
2009 * m4, configure.ac, Makefile.am:
2010 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
2012 Only prompt for reloading if the document has unsaved changes
2013 (patch by Jiří Techet, thanks).
2016 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
2019 Apply a patch by Jiří Techet which is preventing warnings when using
2020 -Wmissing-prototypes on compiling. Thanks.
2023 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2025 * scintilla/KeyWords.cxx:
2026 Link Octave instead of Matlab.
2027 Add comment about not being autogenerated.
2028 Minor changes to fit Scintilla order.
2029 * src/build.c, src/build.h:
2030 Replace GeanyBuildCommand::entries array with separate fields.
2031 Similar to r5077 in the bs2 branch, but with less loop unrolling.
2033 Remove buildcmd_* accessor functions.
2036 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2038 * src/highlighting.c, src/editor.c:
2039 Use Octave lexer instead of Matlab to support Octave # comment char.
2042 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2045 Fix segfault on Tools->Reload Configuration when no documents are
2047 * scintilla/LexMarkdown.cxx:
2048 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
2051 Fix saving non-project filetype error regex.
2053 Fix memory leak in read_regex().
2056 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2059 Check for libsocket on OpenSolaris to fix build.
2061 Rewrite the logic to auto detect encodings a bit to make it more
2062 readable and fix a slightly wrong detection on Windows
2064 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
2066 Add editor_goto_pos() to the plugin API.
2069 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2072 Check for git-svn repo, not just git because find-rev doesn't
2073 always fail with a git-only repo.
2076 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2079 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
2082 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2084 * doc/geany.txt, doc/geany.html:
2085 Reorder Focus keybindings.
2088 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2091 Applying a patch by Erik de Castro Lopo for checking against
2092 pkg-config when running autogen.sh. Thanks for the patch.
2094 Applying a patch by Colomban Wendling to print out log domains.
2098 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2100 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
2101 Use single binding_ids keybinding array instead of individual
2102 arrays for core keybindings. This allows the keybinding IDs to be
2103 merged into one enum; the order of keybindings is now just the
2104 order they are added to each group. Keybindings can be reordered
2105 without breaking the plugin ABI but groups must stay the same.
2107 Fix writing the default value when a key is missing for hidden
2108 prefs, even if it was overridden when it was originally read.
2109 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2110 Move some interface hidden prefs to ui_utils.c.
2112 Revert r4840 scope completion mode as it sometimes breaks
2114 * src/keybindings.h, src/plugindata.h:
2115 Randomly sort keybinding IDs to show there should be no order.
2116 * src/keybindings.c:
2117 Reorder Focus keybindings.
2120 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2122 * src/ui_utils.c, src/ui_utils.h:
2123 Make ui_label_new_bold() a function.
2124 Escape the name of the current document for markup when using
2125 document name for menu items (closes #3038844).
2127 Inherit 'beep on errors' preference for the audible bell preference
2128 for the VTE (closes #3038215).
2131 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2133 * src/utils.c, src/utils.h:
2134 Add utils_get_eol_char().
2135 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
2136 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
2138 Ensure inserted templates always have proper line ending characters
2139 according to the current document's preference.
2140 This is also fixes problems with templates on Windows which had
2141 always Unix line ending characters but now since they are read
2142 from files, these have Windows line ending characters and had been
2146 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2149 Fix build with GTK 2.8, use the stock icon name directly instead
2150 of the macro. Though, the icon is still missing for GTK 2.8.
2152 Make make_comment_block() work with a GString. This is not yet
2153 perfect but a bit better than before.
2156 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2158 * src/keybindings.c, src/vte.c, src/vte.h:
2159 Implement 'Select All' for the VTE widget.
2162 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2165 Fix missing template files in the Windows installer.
2168 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2170 * data/filetypes.python:
2171 Update list of Python builtins, based on Python 2.6.
2174 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2177 On Windows, convert filetype extensions read from config files
2178 to lower case (closes #3028856).
2181 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2183 * src/keybindings.c:
2184 Focus toolbar item when pressing Go to Line keybinding only when
2185 it's not in the toolbar's drop down overflow menu (fixes #3027454).
2188 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2191 Fix build menu translation problems.
2194 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2197 Fix './waf install'.
2200 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2203 Fix scrolling the editor line in view after loading a session and
2204 switching document tabs. Note this causes repainting so needs
2206 * doc/geany.txt, doc/geany.html:
2207 Add note to restart Geany after installing/updating before editing
2209 * src/ui_utils.h, src/main.c, src/ui_utils.c:
2210 Use Stash to save statusbar_template setting, instead of the
2211 load/save-settings signal.
2212 Add ui_init_prefs().
2215 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2217 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2218 Fix writing empty hidden pref "statusbar_template" key so users can
2219 find it (patch by Dimitar Zhekov, thanks).
2220 * src/ui_utils.c, src/ui_utils.h, src/main.c:
2221 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
2224 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2226 * src/build.c, src/project.c, src/project.h:
2227 Show the Project Properties build tab when choosing 'Set Build
2228 Commands' for now to prevent confusion with non-project commands.
2231 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2233 * src/search.c, doc/geany.txt, doc/geany.html:
2234 Fix Grep --exclude-dir example.
2237 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2240 Add sidebar Documents popup menu item 'Find in Files'.
2241 * src/keyfile.c, src/main.c, src/editor.c:
2242 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
2243 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
2246 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2248 * doc/geany.txt, doc/geany.html:
2249 Fix wording - restarting is required for hidden prefs.
2250 File templates don't need manual reloading anymore.
2252 Fix only adding project base path to Find in Files history if it
2253 isn't already there (oops).
2255 Parse lines in the Messages window even if Find in Files hasn't
2256 been used yet (patch by Jiří Techet, thanks).
2259 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2261 * scintilla/LexCPP.cxx, src/highlighting.c:
2262 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
2264 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
2265 data/filetypes.common:
2266 Add filetypes.common fold_symbol_highlight color setting.
2267 Add API macro foreach_range().
2268 * src/printing.c, doc/geany.txt, doc/geany.html:
2269 Always use white background color when printing (except for text
2270 with a white foreground) to save ink (should fix #2968998).
2271 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
2272 Limit build error editor indicators to 50, but parse all errors in
2273 the Compiler tab (fixes #3019823).
2276 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2278 * src/highlighting.c:
2279 Re-enable fold.comment for lexers - it was disabled to prevent C
2280 //{ explicit folding, but that also disables stream comment folding
2282 * tagmanager/tm_workspace.c, tagmanager/get.c:
2283 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
2285 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
2286 doesn't affect the bug with document switching not scrolling cursor
2287 in view after loading a session.
2290 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2292 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
2293 Add statusbar_template hidden pref (based on patch by Dimitar
2295 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2296 Add spaces after RO when using %r in statusbar_template setting.
2297 Add space between encoding and BOM.
2298 Note \t means tab for default text.
2301 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2304 Restore tabbing past Find in Files combo box drop down menus.
2307 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2309 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
2310 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
2312 Move plugin signals docs to pluginsignals.c, using function
2313 pointer syntax instead of @signaldef as this puts a summary of
2314 the signal names at the top of the page and sorts alphabetically.
2315 (Note: the syntax is similar to Vala signal syntax).
2318 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
2321 Make default dialog entries use GTK_STATE_INSENSITIVE color not
2322 a fixed color (Suggestion by Ditmar Zhekov)
2325 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2327 * src/search.c, doc/geany.txt, doc/geany.html:
2328 Implement Find in Files file pattern search.
2330 Add file pattern to combo box history.
2331 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
2333 Use ui_hookup_widget() instead of g_object_set_data_full() for
2337 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2340 Add Files checkbox and combo to Find in Files dialog, currently
2341 does nothing & is disabled.
2342 Don't try to focus the next entry on pressing tab anymore as this
2343 is more complicated now.
2346 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2349 Put Find in Files Search field above Directory field.
2350 * src/search.c, doc/geany.txt:
2351 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
2352 regular expressions' radio buttons with a 'Use regular expressions'
2353 checkbox. This uses the extended syntax (which is the same as the
2354 Find/Replace regex syntax).
2356 Move 2 Find in Files checkboxes for even spacing.
2359 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2361 * tagmanager/tm_work_object.c:
2362 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
2366 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2368 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
2369 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
2370 Add ui_combo_box_add_to_history() to API.
2371 * plugins/filebrowser.c:
2372 Add history to path entry.
2373 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
2374 Fix not loading plugins built against a newer API when Geany doesn't
2375 provide the required version given in PLUGIN_VERSION_CHECK().
2376 Improve documentation for PLUGIN_VERSION_CHECK().
2377 * plugins/filebrowser.c:
2378 Allow Find in Files when no items are selected.
2379 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
2380 Add API signal "build-start" (patch by Jiří Techet, thanks).
2383 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2386 Replace /home/user with ~ in the documents list (patch by Jon
2389 Make default Build dialog entries grey, not light grey (too hard to
2390 read on a white background).
2392 Display 'new instance' on title bar (patch by Eugene Arshinov,
2395 Remove any duplicate on adding to combo box histories.
2398 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2401 Align notebook tab close buttons centred vertically - thanks to
2403 * Merge unstable branch:
2405 Make build config entries light grey until set.
2406 - src/keybindings.c, src/about.c, THANKS:
2407 Fix the wrong file being put on top of the stack when switching tabs
2408 too quickly (patch from Jiří Techet, thanks).
2409 - src/templates.c, data/templates/gpl, data/templates/function,
2410 data/templates/changelog, data/templates/bsd,
2411 data/templates/fileheader, wscript, Makefile.am:
2412 Move general templates from source code into files.
2413 Load general templates from system path instead of creating them in
2414 the user's config dir.
2417 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2420 Add doc/stash-example.c to fix 'make distcheck'.
2422 Change the RequestExecutionLevel for the Windows installer to
2424 * New release: Geany 0.19 "Vellam".
2425 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
2426 geany_private.rc, win32-config.h, wscript, src/geany.h:
2427 Post-release version bump.
2430 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2433 Group undo action for Insert Multiline Comment.
2436 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2439 Don't individually install data/*.tags as all data/* files will be
2443 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
2445 * tagmanager/tm_project.c:
2446 Fix a double free. (patch by Daniel Marjamaki, thanks).
2449 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2451 * tagmanager/tm_workspace.c:
2452 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
2454 Fix reducing paths to project name in the Documents list
2455 (patch by Eugene Arshinov, thanks).
2457 Fix crash when trying to sort NULL pointers as tags in the Symbols
2458 list (closes #3011986).
2459 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
2460 Update Scintilla to version 2.12.
2461 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
2462 scintilla/LexCrontab.cxx:
2463 Remove unused Crontab lexer.
2464 * data/filetypes.css, src/highlighting.c:
2465 Add new style "media" for filetype CSS.
2468 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2470 * doc/geany.txt, doc/geany.html:
2471 Build section: minor rewording, formatting fixes; move some
2475 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2478 Explicitly try to localise build menu item labels with
2479 gettext to enforce getting default labels translated.
2480 * tagmanager/tm_workspace.c:
2481 Fix not closed FILE pointer on early exit
2482 (patch by Daniel Marjamaki, thanks).
2484 Update images for Geany 0.19.
2486 Destroy the default symbol list treeview only once
2487 (fixes gtk_widget_destroy warning on exit).
2490 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2492 * tagmanager/sort.c:
2493 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2495 Fix parsing of C++ classes contain attributes with bitfields
2496 (patch by Lex Trotman, thanks).
2497 * src/plugindata.h, src/plugins.c:
2498 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
2499 plugins' meta information can be translated already in the
2500 plugin manager dialog (patch by Colomban Wendling, thanks).
2503 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2506 Print locale information in debug output.
2508 Fix some labels which were marked as translatable but were not
2509 handled properly by gettext().
2510 Add a missing const.
2512 Try to convert text into UTF-8 before adding it to the Compiler and
2513 Messages Window (closes #3007919).
2516 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2518 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
2520 Pass G_LOG_DOMAIN to source files for better logging.
2523 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
2525 * THANKS, src/about.c:
2526 Update of translation credits to reflect a change on Spanish
2527 translation team better.
2530 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
2533 Fix infinite loop reading build command output
2536 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2539 Fix duplicate accelerators for Clear and Copy in the
2540 Messages Window popup menu.
2541 * src/pluginutils.c:
2542 Expand child widgets in the Plugin Preferences dialog
2543 (patch by Colomban Wendling, thanks).
2546 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2549 Fix Undo/Redo button state after the last document has been closed.
2550 Add Print and Replace toolbar items to the list of document
2553 Fix crash when the toolbar is reloaded without any open documents.
2555 Fix Run toolbar item sensitivity after the last document has been
2557 * plugins/classbuilder.c:
2558 Remove two unnecessary g_strdups().
2559 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
2560 src/plugindata.h, src/ui_utils.h:
2561 Add hidden preference to disable automatic scrolling in the
2562 Compiler tab (closes #3004714).
2565 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2567 * plugins/classbuilder.c:
2568 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2571 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2573 * src/prefs.c, src/project.c:
2574 win32.h can be included unconditionally.
2576 Fix project base_path detection if the path has a trailing slash.
2577 * src/document.c, src/editor.c, src/project.c:
2578 Small improvements to speed up quit process with many open documents.
2579 Avoid calling gtk_notebook_remove_page() on exit as it takes
2581 * src/geanymenubuttonaction.c:
2582 Explicitly check for the type when iterating the action's proxies.
2583 For some reason on Windows, a GtkImageMenuItem proxy is created.
2584 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
2585 src/plugindata.h, scintilla/*, scintilla/include/*:
2586 Update Scintilla to version 2.11.
2587 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
2589 Add new GTK define also for Mingw cross compilation and
2590 makefile.win32 based Windows builds.
2591 * plugins/filebrowser.c:
2592 Implement reading and evaluating hidden file attribute on Windows.
2593 Fix broken "Go Up" if the current path ends with a slash.
2594 * THANKS, src/about.c, src/prefix.c:
2595 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2596 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
2597 src/main.c, src/notebook.c, src/prefs.c:
2598 Add preference to add new document tabs beside the current one
2599 (patch by Colomban Wendling, thanks).
2600 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
2601 src/keyfile.c, src/prefs.c, src/ui_utils.h:
2602 Add a preference for choosing between GTK and native
2603 File Open/Save dialogs (only available on Windows).
2604 * doc/geany.html, doc/geany.txt:
2605 Update documentation.
2608 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2611 Sort file filters for the native Windows file open dialog by name.
2612 Don't use file filters for the native Windows Save As dialog.
2613 * src/dialogs.c, src/win32.c, src/win32.h:
2615 Pass and use also parent and title arguments to
2616 win32_show_document_open_dialog().
2618 Call handle_save_as() only when the Save As dialog was not cancelled.
2620 Improve adding/removing of the special separator between menubar and
2621 toolbar when the toolbar is appended to the menubar.
2622 * src/toolbar.c, src/templates.c:
2623 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
2624 not trigger updating the menus on each item removal.
2627 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2630 Replace one non breaking space by normal space. Patch by
2634 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2636 * plugins/classbuilder.c:
2637 Don't make the 'Create Class' menu item document-sensitive
2638 (patch by Colomban Wendling, thanks).
2639 Add namespace support for GTK+ classes.
2640 Add GET_CLASS() macro for GTK+ classes.
2641 Add typedef of the private structure in the header file instead
2643 (all the above from a patch by Colomban Wendling, thanks).
2644 * src/highlighting.c:
2645 Set common default "fold.comment" to 0 to disable it. This can
2646 be overridden if desired.
2648 Improve sorting of document list items
2649 (patch by Colomban Wendling, thanks).
2651 Remove unnecessary textdomain() call.
2654 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2657 Fix search_find_text not returning -1 when match is out of range.
2658 This fixes invalid memory reads and wrong template filename
2659 wildcard replacement.
2660 * src/search.c, src/document.c:
2661 Only replace template filename matching start of word on saving.
2662 * plugins/filebrowser.c:
2663 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
2664 * src/build.c, src/build.h, src/project.c:
2665 Make some ugly build.h global variables static.
2666 * src/build.c, src/build.h, src/project.c:
2667 Add Build prefix for TableFields, TableData.
2670 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2673 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
2674 * src/dialogs.c, src/win32.c, src/win32.h:
2675 (Re-)Implement a (still basic) native Windows Save As dialog when
2676 compiled with GEANY_USE_WIN32_DIALOG.
2679 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2681 * THANKS, src/about.c, plugins/classbuilder.c:
2682 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
2683 * src/ui_utils.h, src/ui_utils.c:
2684 Add public, generic callback ui_editable_insert_text_callback()
2685 to restrict GtkEntry text inputs to +/- and numeric values only.
2686 * src/dialogs.h, src/dialogs.c:
2687 Add special variant dialogs_show_input_goto_line() to use a normal
2688 GtkEntry together with dialogs_show_input_goto_line() for text input.
2689 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
2690 Allow '+<number' and '-<number>' as values for Goto Line inputs
2691 to jump relative to the current line (closes #2997238).
2694 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2696 * src/highlighting.c:
2697 Apply foreground and background colours of the folding margin
2698 style properly (closes #2998347).
2700 Don't auto-close short XML tags (closes #2994852).
2701 * THANKS, src/about.c, src/keybindings.c:
2702 Improve jumping to matching braces by consistently position the
2703 cursor before or after the matching brace dependent where it
2704 was before (patch by Dimitar Zhekov, thanks).
2706 Fix crash when generating global tags files (patch by Colomban
2710 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2713 Avoid connecting signals more than once.
2716 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2719 Don't ignore the 'intltool' check on non-Windows systems, instead
2720 raise a configure error.
2723 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2726 Fix marking some strings as translatable (cannot be done in the
2728 * src/templates.c, doc/geany.txt, doc/geany.html:
2729 Reload templates if saving a document in the templates config dir.
2732 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2734 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
2736 Fix replacing {filename} template wildcard for custom file
2737 templates with non-default file extension.
2738 Add search_find_text() for POSIX regex searches.
2739 * src/templates.c, doc/geany.txt, doc/geany.html:
2740 Add {project}, {description} template wildcards (#2954737).
2741 * doc/geany.txt, doc/geany.html:
2742 Divide template wildcards into groups.
2743 * src/plugindata.h, src/plugins.c, src/symbols.c,
2744 plugins/geanyfunctions.h:
2745 Add symbols_get_context_separator() to plugin API (patch by Colomban
2749 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2751 * src/keybindings.c:
2752 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
2753 Anonymous, thanks; #2995593).
2754 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
2755 plugins/geanyfunctions.h:
2756 Add sci_set_line_indentation(), sci_get_line_indentation() to API
2757 (patch by Colomban Wendling, thanks).
2760 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2763 Warn user if hidden hard tab width setting is not 8.
2766 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2768 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
2769 doc/geany.txt, doc/geany.html:
2770 Hide 'Tabs and Spaces: Hard tab width' preference - it should
2771 always be 8. (Hidden setting kept in case users have modified it).
2774 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2776 * doc/geany.txt, doc/geany.html:
2777 Add Folding section link to filetypes.common custom settings.
2780 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2783 When switching documents, don't call document_set_text_changed()
2784 as this does much more than necessary. Instead call the necessary
2785 UI update functions explicitly.
2788 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2790 * tagmanager/vstring.c:
2791 Fix invalid memory read (patch by Colomban Wendling, thanks).
2794 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2796 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
2797 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
2798 strings in case of reaching the buffer size limit (part of #2979697).
2800 Change the limit for the command line length when executing commands
2801 to a maximum of 32768 characters (closes #2979697).
2802 Fix broken opening URLs e.g. when using the 'builtin' Run command.
2803 * tagmanager/ctags.c:
2804 Change eFree() to simply ignore NULL pointers instead of asserting.
2806 Remove malloc() fallback since we completely rely on g_malloc()
2808 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
2809 plugins/saveactions.c:
2810 Make string arguments const where appropriate (patch by
2811 Colomban Wendling, thanks).
2812 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
2813 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
2814 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2815 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
2816 src/symbols.c, src/templates.c, src/ui_utils.c:
2817 Make string arguments const where appropriate (patch by
2818 Colomban Wendling, thanks).
2821 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2823 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
2824 Make plugin_signal_connect() string argument const (patch by
2825 Colomban Wendling, thanks).
2826 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
2827 Constify some more string pointers in the API (patch by
2828 Colomban Wendling, thanks).
2829 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2831 Support {pc} wildcard in snippets to escape percent char.
2833 Recalculate line margin width when zooming (fixes #2990553).
2834 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2835 data/filetypes.common:
2836 Support more folding icon styles: arrows, +/- and no lines
2840 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2843 Fix Windows build by properly guarding Unix-only code.
2846 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2848 * src/templates.c, doc/geany.txt, doc/geany.html:
2849 Support {ob} and {cb} in fileheader and file templates; they are
2850 replaced last with { and }. This allows 'escaping' of wildcard
2852 * src/editor.c, plugins/classbuilder.c:
2853 Fix Class Builder plugin to use correct indentation instead of
2855 Make editor_insert_text_block() only replace leading tabs for the
2856 'Tabs' indent type; also group edits for undo.
2857 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2859 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
2862 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2864 * tagmanager/pascal.c:
2865 More fixes to prevent possible crashes by trying to free NULL
2868 Automatically show and hide the sidebar notebook tabs according
2869 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
2871 Add a static global variable to monitor autocompletion mode in order
2872 to prevent cancellation of the struct/class (C/C++) auto completion
2873 list (patch by Thomas Martitz, thanks).
2875 When starting and trying to access the Unix Domain socket of a
2876 potentially running instance, first compare file ownership with the
2877 user id of the running process to prevent accessing a wrong socket
2878 file (part of #2985463, this might not yet be the final solution).
2881 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2883 * plugins/filebrowser.c:
2884 Synchronize popup menu and plugin preferences dialog 'Show Hidden
2885 Files' option (fixes #2989288).
2888 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2890 * tagmanager/entry.c, tagmanager/entry.h,
2891 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
2892 tagmanager/parse.h, tagmanager/tm_source_file.c:
2893 Add tm_source_file_set_tag_arglist() to manually set the argument
2895 * tagmanager/python.c:
2896 Use tm_source_file_set_tag_arglist() to set the argument list
2897 field of Python class tags to the argument list of their
2899 Backport a fix from CTags SVN to prevent possible crashes by trying
2900 to free NULL pointers.
2903 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2905 * tagmanager/txt2tags.c:
2906 Remove duplicate code from Txt2Tags parser.
2907 Remove the title control characters ('=') when parsing titles.
2908 Also parse numbered titles (closes #2984703).
2909 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2911 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
2912 Add missing documentation for 'Reset Zoom' keybinding.
2914 Another attempt to fix the PHP parser regexp for parsing functions.
2915 Fix wrong parsing of function arguments when those contain nested
2916 brackets (as reported by Harold Aling).
2918 Fix Ctrl-Click on notebook tab if Numpad is active.
2921 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2923 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
2924 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
2925 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
2926 src/ui_utils.c, src/ui_utils.h:
2927 Add option 'System Default' for toolbar icon style and size to
2928 use the GTK default value.
2929 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2930 src/toolbar.c, src/toolbar.h:
2931 Shorten the toolbar popup menu, only provide items for Toolbar
2932 Preferences and to Hide the toolbar.
2934 Instantly update the toolbar icon size and style when the
2935 corresponding global GTK settings are changed.
2936 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
2937 src/plugindata.h, src/socket.c:
2938 Add new command line option --list-documents to return a list
2939 of currently opened documents (closes #2979933).
2942 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2944 * plugins/htmlchars.c:
2945 Make plugin remember whether replacement of special characters was
2946 activated even after restart of Geany or reloading of plugin.
2949 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2952 Fix inserting snippets with an indent when using Mac CR line
2955 Update status bar after using Document->Set Line Endings.
2957 Improve API docs for editor_insert_text_block().
2960 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2963 Refactor snippets_complete_constructs().
2964 Remove an unnecessary TODO.
2966 Fix indenting a snippet when there is whitespace after the
2970 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2972 * doc/geany.txt, doc/geany.html:
2974 * src/build.c, src/msgwindow.c:
2975 Fix disabled compiler message tracking if using indicators to
2976 show build errors is disabled (closes #2982834).
2979 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2981 * scintilla/Editor.cxx:
2982 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
2983 and SCI_GETSELECTIONEND with rectangular selections. This fixes
2984 replacing in a rectangular selection.
2987 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2990 Re-detect any document filetypes set to None after reloading
2991 filetype extensions (closes #2979661).
2993 Fix showing '...' item last instead of first for document word
2997 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2999 * data/filetypes.perl:
3000 Adjust Perl Compile command to use the -c command
3001 line option to perform a syntax check instead of using the
3002 deprecated ByteCompile module.
3003 Add error_regex to parse error messages and warnings when performing
3004 syntax checks on Perl files.
3007 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3009 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
3010 Add API docs for keybinding enums.
3011 * src/notebook.c, doc/geany.txt, doc/geany.html:
3012 Make Ctrl-click on any notebook tab switch to the last used
3016 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3018 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
3019 src/geanyentryaction.c, src/geanyentryaction.h,
3020 src/geanywraplabel.c:
3021 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
3022 object for efficiency.
3025 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3027 * plugins/classbuilder.c:
3028 Beep if the user hasn't entered a class name on pressing OK.
3030 Fix replacing '^' regex.
3031 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3032 plugins/geanyfunctions.h:
3033 Add Stash widget functions to API.
3035 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
3039 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3041 * THANKS, src/vte.c:
3042 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
3044 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3045 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
3046 plugins/geanyfunctions.h, plugins/geanyplugin.h:
3047 Add Stash setting functions to API.
3048 Remove unnecessary argument to stash_group_load_from_file().
3049 * src/geanyobject.c, plugins/classbuilder.c:
3050 Don't generate FOO_GET_PRIVATE() macro because caching the result
3051 in Foo::priv can be much more efficient.
3054 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3057 Fix cursor positioning when toggling comments
3058 (patch by Thomas Martitz, thanks).
3061 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
3063 * src/keybindings.[hc]:
3064 Added Control+0 for zoom reset, see suggestion from #2969886.
3067 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3069 * src/search.c, src/document.c:
3070 Fix wrong selection range after Replace in Selection.
3073 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3076 Make CreateChildProcess() working with Unicode strings, e.g.
3077 directory names (closes #2972606).
3079 Remove reference to already removed latex.tags file.
3080 Future releases probably still depend on GTK 2.16.
3081 * scintilla/ScintillaGTK.cxx:
3082 Backport fix from Scintilla CVS to not paste text beyond the end
3083 of lines (closes #2969096).
3084 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
3086 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
3087 to not set Geany's minimum window size anymore (closes #2972992).
3088 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
3091 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3094 Make adding string and string vector settings initialise the setting
3096 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
3097 Add stash_group_load_from_file() and stash_group_save_to_file().
3100 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3102 * data/filetypes.common:
3103 Set default for wrapped lines to show marker at end of line only
3104 (more expected and doesn't change line alignment - closes #2972386).
3105 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
3106 src/pluginutils.c, doc/plugins.dox:
3107 Improve API docs contents page by listing all commonly-used files.
3108 Fix 'Date' appearing twice on the date line.
3109 Don't generate API docs for prefs.h, toolbar.h (unused).
3110 Move some '@file' doc-comments to the .c file.
3111 * src/interface.c, geany.glade:
3112 Add frame for 'Printing' prefs dialog page.
3113 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
3114 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
3115 doc/stash-example.c:
3116 Rename Stash data types to be independently named from Geany (so
3117 Stash can be reused for other projects).
3118 Rename GeanyPrefGroup to StashGroup.
3121 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3123 * tagmanager/python.c:
3124 Apply patch from Colomban Wendling to parse Python lambda functions
3125 (thanks) - modified to only parse toplevel or class member lambdas.
3126 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
3127 doc/stash-example.c:
3128 Add doc-comments for Stash setting functions.
3129 Add an example file showing usage of Stash.
3130 (Not enabled yet until added to the plugin API).
3133 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
3136 Fix using return value without checking return status, caused
3137 incorrect sensitivity settings on build dialog.
3140 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3143 Add tip about gcc optimization & warnings/debugging.
3144 Add Testing section.
3145 Update Libraries section about synchronizing with other projects.
3148 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3151 For now revert the recent patch which set real_path of newly
3152 open non-existent configuration files as this seems hackish and
3153 causes 'file not found' warnings.
3155 Fix/Improve GIT repository detection
3156 (patch by Thomas Martitz, thanks).
3157 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3159 Add utils_copy_environment() to the plugin API.
3162 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3164 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
3165 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
3167 Use 3rd person for more API dox.
3168 Change 'This is a wrapper function for...' to 'Wraps...' in brief
3170 Change 'After all...' to 'Afterwards...'.
3171 * src/interface.c, geany.glade:
3172 Apply patch from Eugene Arshinov to make frame packing/alignment
3173 more consistent (thanks).
3176 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3179 Fix ui_button_new_with_image() to call gtk_button_set_image() so
3180 that gtk_button_[sg]et_label() work as expected.
3181 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
3182 Make Build Commands dialog show menu item labels as a button (to
3183 help show that menu labels don't normally need to be edited &
3184 display the mnemonic correctly). Clicking shows an input dialog to
3185 set a new menu item label.
3186 Split dialogs_show_input() into 2 functions: one simple, one for
3187 a persistent dialog.
3188 Fix possible double-destroy of input dialog when closed by user.
3190 Fix not destroying 'Make Custom Target' input dialog after first
3193 Make Long Line Marker settings for existing projects default to
3194 general settings instead of 0 (thanks to Eugene Arshinov).
3195 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
3196 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
3197 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
3198 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
3199 Use 3rd person (gets not get) for API function brief descriptions.
3200 Avoid using 'convenience function' in API brief descriptions.
3203 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3205 * doc/geany.txt, doc/geany.html:
3206 Warn about some GNU extensions for regular expressions & clarify
3208 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
3209 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
3210 src/editor.h, geany.glade:
3211 Apply patch from Eugene Arshinov to add project long line marker
3212 customisation (thanks).
3213 * src/interface.c, geany.glade:
3214 Edit/tidy 'Long line marker' labels.
3217 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
3219 * src/build.c, src/project.c:
3220 Fix crash due to NULL in project build preferences (thanks to
3224 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3226 * src/utils.c, src/utils.h, src/search.c, src/search.h,
3227 src/document.c, doc/geany.txt, doc/geany.html:
3228 Merge gnu-regex branch:
3229 Use POSIX system/GNU regex engine for find & replace 'Use regular
3230 expressions' option. This alters regex syntax a bit - see the docs
3231 for details; we now support '?' operator and replacement backslash
3232 escaping is more standard.
3233 Make regex search imply replacing escaped chars.
3234 Allow \0 backreference replacement for the whole match.
3235 Note: Replace All may be slower; if this is a problem please let me
3238 Add argument to utils_str_replace_escape() for keeping
3239 uninterpreted backslash escapes e.g. '\\', '\e'.
3240 * scintilla/LexMarkdown.cxx:
3241 Backport minor formatting/style changes from Scintilla project.
3242 * doc/geany.txt, doc/geany.html:
3243 Remove warning about no visual indication for zero-column-mode
3247 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3250 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
3253 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3255 * wscript, scintilla/*, scintilla/include/*:
3256 Update Scintilla to version 2.03.
3257 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
3258 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
3259 Add preference for virtual spaces.
3261 Fix wrong default response for the Debug Messages dialog.
3263 Fix crashes when using Save As with no open files (closes #2964406).
3265 Fix duplicate mnemonics on 'Resave missing file' dialog, also
3266 move the question from the secondary to the main text to be
3267 more compatible with the Gnome HIG.
3268 Fix broken 'Save' action in 'Resave missing file' dialog.
3270 Improve PHP parser to parse also the argument lists of PHP functions.
3272 Correctly set the parent widget for the keybinding overwrite
3273 confirmation dialog.
3275 Fix setting the icon for some dialogs if the parent itself is also
3278 When editing non-existent config files using the Tools->Configuration
3279 Files menu, explicitly set the real_path to avoid presenting the Save
3280 As dialog when saving the file (patch by Tony Rick, thanks).
3282 Focus the editor widget after hiding the sidebar when it had the
3283 input focus (patch by Can Koy, thanks).
3284 Properly show/hide the mesages window when using the View menu item
3286 * plugins/filebrowser.c:
3287 After opening files, focus the editor widget
3288 (based on a patch by Can Koy, thanks).
3289 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
3290 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
3291 src/ui_utils.h, src/vte.c:
3292 Add and use convenience function ui_is_keyval_enter_or_return() and
3293 add it to the plugin API.
3296 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3298 * src/about.c, THANKS, po/ast.po:
3299 Added Asturian translation. Thanks to Marcos Costales for providing.
3302 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3305 Fix keyboard accelerators in debug messages window
3309 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3311 * scintilla/LexR.cxx:
3312 Backport R lexer from Scintilla CVS to fix case sensitive keywords
3313 (Scintilla bug #2956543).
3314 * src/sidebar.c, src/about.c, THANKS:
3315 Make Space on the symbol and document list not focus the editor
3316 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
3317 * src/document.c, src/document.h:
3318 Fix document_try_focus() to make it work with the sidebar document
3320 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
3321 Make Space on the compiler and messages widgets not focus the editor
3322 widget while Enter does (patch by Can Koy, thanks).
3324 Fix wrongly auto-detected multiline comments
3325 (patch by Eugene Arshinov, thanks).
3328 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3331 Show number of lines of current document inside statusbar. Thanks to
3332 Can Koy for providing the patch.
3335 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3337 * src/keybindings.c, doc/geany.txt, doc/geany.html:
3338 Make Switch to Editor keybinding reshow the document statistics
3339 line, so user doesn't have to move the cursor.
3342 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3345 Update keywords for the R language (patch by Jon Senior, thanks).
3348 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3351 Fix the instruction how to insert unicode characters
3355 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3357 * scripts/create_py_tags.py:
3359 Replace tabs by spaces.
3360 * plugins/genapi.py:
3362 Replace tabs by spaces.
3363 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
3364 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3365 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
3366 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
3367 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
3368 src/plugindata.h, src/sidebar.c, src/sidebar.h:
3369 Add keybindings to switch to the sidebar's Document and Symbol list
3370 as well as to the Message Window's current tab
3371 (patch by Eugene Arshinov, thanks).
3373 Update primary keywords for the R language
3374 (patch by Jon Senior, thanks).
3377 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3380 Add more detailed hints about reloading configuration
3381 (thanks to Tony Rick).
3382 * data/filetypes.javascript:
3383 Correct the keyword list for JavaScript (thanks to Jonas).
3386 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3388 * New release: Geany 0.18.1 "Balfour".
3391 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3393 * src/keybindings.c:
3394 Add special cases for handling the Select All keybinding (Ctrl-A) in
3395 the toolbar search and goto line text entries (closes #2948040).
3396 Strip trailing spaces after reflowing a paragraph, patch by
3397 Dominik Wagenfuehr, thanks (closes #2945497).
3400 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3402 * src/geanymenubuttonaction.c, src/templates.c:
3403 Partly revert last commit:
3404 Unref the new files toolbar menu when freeing templates as it
3405 was done before but unref it *after* the menu has been removed
3406 from the GeanyMenuButtonAction.
3408 Fix possible endless loop when trying to detect the encoding of
3409 non-text files (patch by Alexey Antipov, thanks).
3412 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3415 Allow saving remote files using g_file_set_contents() as well
3416 (patch by Алексей Антипов, thanks).
3417 * data/filetypes.python:
3418 Adjust style for secondary keywords to be less aggressive.
3419 Add Python 2.5 builtins keywords.
3420 * src/geanymenubuttonaction.c, src/templates.c:
3421 Unref the new files toolbar menu when setting a new menu to fix
3422 possible crashes when reloading configuration.
3424 When reloading configuration, process the current document at last
3425 so the symbol list will be updated correctly.
3428 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3431 Explicitly read filetype configuration files before generating
3432 global tags to get settings for custom filetypes.
3435 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3438 Fix GLib warning when toggling 'no plugins available' item.
3441 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3443 * icons/Makefile.am:
3444 Include geany.ico in the distribution tarball.
3446 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
3447 * scripts/create_py_tags.py:
3448 Make the script a bit more robust with newer Python versions.
3450 Use utils_spawn_sync() instead of g_spawn_sync().
3453 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3456 Close meta tag for export date properly.
3459 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3462 Update RPM Spec file (patch by Dominic Hopf, thanks).
3465 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3468 Fix renaming sci_send_message(), sci_send_command() function
3472 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3474 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
3475 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
3476 plugins/geanyfunctions.h, plugins/Makefile.am,
3477 plugins/pluginmacros.h, plugins/genapi.py, wscript:
3478 Use full function name for GeanyFunctions function pointers. This
3479 avoids naming conflicts e.g. with C++'s 'new' keyword.
3480 Remove deprecated header pluginmacros.h - use geanyfunctions.h
3484 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3486 * src/utils.c, src/utils.h, src/vte.c:
3487 Add utils_copy_environment() and make use of it.
3488 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
3489 src/editor.c, src/templates.c, src/templates.h:
3490 Add new special template wildcard "{command:...}" to use the
3491 output of a command in templates.
3492 Adjust template functions to mostly work with GeanyDocuments.
3493 Minor cleanups in the template code.
3495 Replace the old icons with smiley icons from the Rodent icon theme.
3496 Fix showing the same icon for two or more slots.
3498 * src/editor.c, src/editor.h, src/keybindings.c:
3499 Rename fold_symbol_click() to editor_toggle_fold().
3500 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
3501 was used to respect the 'Fold/unfold all children' preference
3505 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3508 Prevent possible segfault in get_build_group().
3510 Fix GLib warning & beep if trying to insert multiline comment for a
3511 filetype that doesn't support it.
3514 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3517 Add gcc commands to build a plugin to the HowTo.
3518 * src/search.c, src/document.c, src/document.h:
3519 Show 'Replaced X matches in Y documents' message when using
3523 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3525 * scripts/plugin_test.c:
3526 Add a little test program which can load and test Geany plugins to
3527 verify it is loadable at runtime and all necessary symbols are
3529 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
3531 Add new signal: "geany-startup-complete" which is sent once all
3532 initialization and startup tasks has been done.
3533 * README.I18N, configure.ac, wscript, po/LINGUAS:
3534 Remove po/LINGUAS from the repository.
3535 Generate it automatically if needed by reading available
3536 message catalogs from the po directory.
3537 Also respect the LINGUAS environment variable properly.
3540 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3543 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
3547 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3549 * src/editor.c, src/templates.c, src/templates.h:
3550 Refactor templates_replace_all() into templates_replace_valist()
3551 to save some code duplication.
3554 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3556 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
3557 src/plugindata.h, src/plugins.c:
3558 Add editor_insert_text_block() to plugin API.
3561 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3564 Update copyright information.
3565 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3566 doc/geany.txt, doc/geany.html:
3567 Add keybinding to open the last closed tab (closes #2912692).
3570 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3572 * autogen.sh, configure.in, configure.ac:
3573 Rename configure.in to configure.ac.
3574 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
3576 Add sci_find_text() to the plugin API.
3577 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3578 src/interface.c, src/prefs.c:
3579 Add a checkbox in the preferences dialog to explicitly toggle
3580 the visibility of the sidebar (closes #2923340).
3583 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3585 * src/editor.c, src/plugins.c, src/plugindata.h,
3586 plugins/geanyfunctions.h:
3587 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
3588 editor_get_eol_char() to the plugin API.
3589 * src/callbacks.c, src/plugins.c, src/plugins.h:
3590 Fix sensitivity of the Edit->Plugin Preferences menu item
3591 if plugins are loaded which do not provide a configuration dialog.
3592 * scripts/create_py_tags.py:
3593 Rewrite and extend the Python tags parsing script to use
3594 Python's inspect module to read symbols from Python modules
3595 including scope information.
3596 * data/filetypes.restructuredtext:
3597 Add the default comment character sequence for reStructuredText.
3599 Show the Find/Goto dialogs if the corresponding toolbar buttons are
3600 clicked but their text fields are not part of the toolbar (#2920807).
3601 * data/filetypes.common, doc/geany.html, doc/geany.txt,
3603 Add new style to change foreground and background colours for
3604 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
3606 Remember the window position of the Find, Replace and Find in Files
3607 dialogs (closes #2877988).
3610 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
3613 Fix a minor typo inside plugin API reference.
3616 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3618 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
3619 Make dialogs_show_prompt() more flexible to take up to three
3620 button/response code pairs to be shown.
3621 Add a close button to the dialog when asking to Re-Save a
3623 (closes #2916954, based on a patch by Dominik Stadler, thanks).
3625 Fix LaTeX environment auto completion with CR/LF line endings.
3626 Add some sanity checks.
3628 When closing a document after it was deleted from the filesystem,
3629 don't ask whether it should be saved first.
3630 Mark the document only as changed if it is not closed afterwards.
3631 Prevent possible segfaults if the document was closed when it is
3632 missing from the filesystem.
3633 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
3634 src/msgwindow.h, src/prefs.c:
3635 Add MessageWindow::scribble and use it instead of searching the
3636 widget pointer everytime.
3637 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
3638 Add preferences for hiding single tabs from the messages window
3639 (no GUI preferences yet, still to be implemented).
3640 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3641 Set the correct parent window for the toolbar editor
3642 dialog (closes #2913334).
3643 * src/win32.c, src/win32.h, src/ui_utils.c:
3644 Rename win32_show_project_folder_dialog() to
3645 win32_show_folder_dialog() as it is not related and not used by any
3646 project management related code.
3647 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
3648 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
3649 as it is specialised for opening documents.
3650 Implement win32_show_file_dialog() as a generic file open dialog and
3651 use it with ui_path_box_new().
3654 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3657 Extend auto_latex() function to check whether an environment has been
3658 closed within the next lines to avoid auto adding double \end{}.
3660 Remove LaTeX tags from SVN. Can be found at
3661 http://download.geany.org/contrib/tags/ if needed.
3664 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3666 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
3667 Add document_need_save_as().
3668 Show the Save As also for documents created from filetype templates
3669 instead of saving them directly with the untitled filename.
3672 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3674 * geany.glade, src/interface.c:
3675 Move 'Send Selection to Terminal' menu item from Format to Commands
3678 When going to a build error, try the current document's path if
3679 the parsed filename doesn't exist. (This can happen when we receive
3680 build messages in the wrong order - after the 'Leaving directory'
3683 Refactor msgwin_goto_compiler_file_line().
3684 * src/interface.c, src/keybindings.c, geany.glade:
3685 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
3688 Refactor/reformat on_replace_dialog_response().
3691 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3694 Improve geany.spec (split the package into a binary and devel
3695 package, update BuildRequires and other minor improvements).
3696 Patch by Dominic Hopf, thanks.
3699 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3701 * src/filetypes.c, src/filetypes.h:
3702 Make group for custom filetypes.
3703 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
3704 Add custom filetype Genie.
3707 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3709 * src/highlighting.c:
3710 Highlight D & Java types from a global tags file.
3711 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3712 Add debug message warning if recursive lexer_filetype is set.
3713 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
3714 Remove duplicate sci_set_keywords(), make argument const.
3715 * src/highlighting.c:
3716 Only show debug message once if recursive lexer_filetype is set.
3717 Tidy highlighting_init_styles code for filetype None handling.
3718 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
3719 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
3720 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
3721 tagmanager/parsers.h, tagmanager/makefile.win32,
3722 tagmanager/verilog.c, tagmanager/Makefile.am,
3723 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
3724 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
3725 * src/highlighting.c:
3726 Fix segfault on startup (oops).
3727 * data/filetypes.verilog:
3728 Fix using common style colours for Verilog.
3731 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3733 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3734 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
3735 Move C-like filetype properties into configuration files.
3736 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
3738 Remove now unnecessary "styling_within_preprocessor" C style key.
3739 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3740 data/filetypes.glsl, data/filetypes.cs:
3741 Use lexer_filetype=C configuration file key instead of duplicate
3742 styleset functions for C++, C#, GLSL, Vala.
3745 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3747 * doc/geany.txt, doc/geany.html:
3748 Warn about not using BOM for configuration files (confuses GKeyFile
3749 parser, at least on my system).
3751 Add/improve debug messages for custom filetypes.
3754 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3757 Add a couple of further latex-beamer commands to list of LaTeX tags.
3760 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3762 * plugins/filebrowser.c:
3763 Add an in-entry clear icon to the filebrowser plugin's filter
3764 entry (patch by Dominic Hopf, thanks).
3765 * src/prefs.c, src/ui_utils.c:
3766 Fix two compiler warnings about possibly uninitialised variables.
3769 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3771 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
3772 plugins/geanyfunctions.h:
3773 Add main_is_realized() to the plugin API.
3774 * tagmanager/include/tm_tagmanager.h:
3775 Update partly outdated and wrong doc comment.
3776 * src/main.c, src/main.h, src/socket.c:
3777 Allow opening Geany projects remotely.
3778 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
3779 Add a hidden pref to allow executing text which was sent to the
3780 terminal directly, i.e. do not strip trailing newline characters.
3781 Also fix the stripping of trailing newline characters if there was
3785 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3787 * src/about.c, THANKS:
3788 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
3789 Kurt de Bree into section of previous translators.
3792 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3794 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
3795 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
3799 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3801 * src/highlighting.c:
3802 Make stylesets take a ft_id argument so they can be reused fully with
3803 custom filetypes, so custom styles and keywords can be set.
3804 * src/highlighting.c:
3805 Fix setting filetype properties when both the system and the user
3806 file have properties set.
3807 * src/symbols.c, tagmanager/vhdl.c:
3809 * src/highlighting.c:
3810 Fix lexer settings for custom filetypes.
3813 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3816 Remove duplicate regular expression for parsing classes.
3817 Fix and improve parsing of constants (patch by Harold Aling, thanks).
3818 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
3819 src/main.h, THANKS, src/about.c:
3820 Add new command line option "--socket-file" to be able to specify
3821 separate socket filenames for instances
3822 (closes #2896027, patch by Jörn Reder, thanks).
3823 * src/keybindings.c, src/keybindings.h:
3824 Add keybindings_check_event() to manually check GdkKeyEvents against
3825 Geany's keybindings.
3826 * src/callbacks.c, src/utils.c, src/utils.h:
3827 Add and use utils_get_help_url().
3828 * geany.glade, src/interface.c, src/prefs.c:
3829 Add a Help button to the preferences dialog.
3830 Handle Help keybinding events for the preferences dialog especially
3831 and open the manual with the corresponding anchor link to the current
3832 preferences page (same goes for the new Help button).
3835 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3837 * src/toolbar.c, src/geanymenubuttonaction.c,
3838 src/geanymenubuttonaction.h:
3839 Use separate tooltips for toolbar menu buttons and their attached
3841 * tagmanager/latex.c:
3842 Improve parsing of sections and chapters by ignoring shortnames
3843 like \section[shortname]{label} (closes #2890477).
3846 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3848 * src/geanymenubuttonaction.c:
3849 Try to fix Gtk warning when using Tools->Reload Configuration.
3852 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3854 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3855 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
3856 data/filetypes.pascal, data/filetypes.docbook,
3857 data/filetypes.python, data/filetypes.conf:
3858 Use filetypes.foo [lexer_properties] group instead of hardcoding
3859 lexer properties (more flexible e.g. for custom filetypes).
3860 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
3861 Replace filetypes.xml html_asp_default_language key with
3862 filetypes.html asp.default.language property in [lexer_properties]
3866 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3868 * doc/geany.txt, doc/geany.html:
3869 Fix slightly wrong description of how to insert Unicode characters.
3871 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
3872 ui_setup_open_button_callback().
3873 * src/prefs.c, src/prefs.c, src/vte.c:
3874 Refactor color and font button callback functions in the
3875 preferences dialog. Move the VTE related callback functions
3877 Make use of ui_setup_open_button_callback().
3879 Improve printing status texts (patch by Dominic Hopf, thanks).
3880 * src/prefs.c, src/vte.c:
3881 Use the default dialog title set by ui_setup_open_button_callback()
3882 to be more consistent and to save one string.
3885 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3888 Separate DKinds from CKinds.
3889 Don't generate macro tags for D, Java.
3892 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3894 * tagmanager/ctags.c, tagmanager/general.h:
3895 Make TagManager Assert statements cause g_warning on failure.
3896 * src/keybindings.c:
3897 Fix reflow paragraph command when cursor < anchor using
3898 sci_fix_selection().
3901 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3903 * tagmanager/perl.c:
3904 Fix Geany segfault with constant tags (#2895168).
3906 Fix invalid tree iter access when using tv_iters.tag_other but not
3907 using tv_iters.tag_variable.
3908 * HACKING, tagmanager/perl.c:
3909 Fix parsing Perl format statements ("other" type doesn't seem
3911 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
3912 Fix using "other" tag type.
3915 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3918 Remove useless comment about applying settings only when libvte.so
3919 could be loaded which is only displayed *if* libvte.so is loaded.
3921 Allow autocompletion for HTML entities even within a word.
3922 * src/geanymenubuttonaction.c:
3923 Only set the menu of the button if a non-empty GtkMenu is passed to
3924 geany_menu_button_action_set_menu() so the menu arrow keeps
3928 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3931 Fix parsing some Java code (e.g. filetypes.java) after r4407.
3934 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3937 Parse D functions with contracts (fixes #1885480).
3938 Parse D alias statement like typedef.
3939 (Ignore some more D keywords).
3941 Fix creating D interface tags properly.
3943 Parse contents of D extern{} and version{} blocks.
3946 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3952 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3954 * src/plugindata.h, HACKING:
3955 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
3958 Show number of files saved on status bar when using Save All.
3959 * src/highlighting.c:
3960 Use default color scheme if pref color scheme file doesn't exist.
3961 * src/keybindings.c:
3962 Fix moving correct lines after selecting whole line(s).
3965 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3967 * tagmanager/makefile.win32:
3968 Fix broken build on Windows because of a typo
3969 (patch by Timothy Boronczyk, thanks).
3972 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3974 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
3976 Add 'View->Editor->Color Schemes' menu, for now only shown if color
3977 scheme files exist in a colorschemes config directory. Color scheme
3978 files must end in ".conf" and currently only the [named_styles]
3980 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
3981 Add utils_get_config_files().
3982 * src/highlighting.c:
3983 Fix issue with default color not being reset if overridden with a
3984 system default color.
3985 * src/highlighting.c:
3986 Only reload filetype files when changing color scheme, not all
3987 configuration files.
3988 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
3989 Deprecate documents_foreach() as it looks more like a function; use
3990 foreach_document() instead.
3991 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
3994 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3996 * src/stash.c, src/stash.h:
3997 Use typedef instead of pointer for widget_id function arguments.
4000 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4002 * src/pluginutils.c:
4003 Don't expand Plugin Preferences page spacing vertically to fill the
4004 height of the dialog.
4005 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
4006 geany.glade, plugins/splitwindow.c:
4007 Allow GeanyKeyBinding label field to contain underscores, which won't
4008 be displayed by Geany. This saves adding near-duplicate translation
4010 Add mnemonics for 3 Edit->Format menu items.
4011 Add keybindings_get_label().
4012 * src/interface.c, geany.glade:
4013 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
4017 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4020 Desensitize Edit->Commands menu item when no docs are open.
4021 * src/interface.c, src/keybindings.c, src/callbacks.c,
4022 src/callbacks.h, geany.glade:
4023 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
4024 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4025 Add general function sci_get_string() that works with any string
4026 buffer messages that follow the Windows message convention.
4027 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
4028 src/keybindings.h, src/callbacks.c, src/callbacks.h,
4029 src/pluginutils.c, src/pluginutils.h, geany.glade:
4030 Add 'Edit->Plugin Preferences' menu item and keybinding.
4031 Don't include plugindata.h in pluginutils.h because it redefines the
4032 GEANY() macro for plugin use.
4033 * doc/geany.txt, doc/geany.html:
4034 Update for Plugin Preferences keybinding.
4037 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4040 Sort document word completion list.
4041 * src/interface.c, src/keybindings.c, src/callbacks.c,
4042 src/callbacks.h, geany.glade:
4043 Add some useful commands to editor popup menu under "Commands"
4044 submenu (thanks to Lex).
4045 Move 'Duplicate line or selection' from Format -> Commands submenu.
4046 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4047 Enable switching the sidebar to the right on Windows again, as it
4048 apparently works after all.
4050 Fix using tab to autocomplete in some other situations that word part
4051 completion doesn't apply in.
4052 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
4053 Add Edit->Commands submenu which is shared with the editor popup
4055 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
4056 Change editor popup Commands submenu to start as child of menubar
4057 Edit menu, as this is more usual e.g. for keybindings initialization.
4058 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
4060 Share a single Format submenu for menubar Edit and popup menu.
4063 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4066 Fix a compiler warning about an uninitialised variable.
4068 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4069 sciwrappers.h, build.h (for the Waf build system,
4070 accordingly to r4366).
4073 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4075 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
4076 src/toolbar.c, src/toolbar.h:
4077 Add missing dox for types/files in the API.
4078 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
4079 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4080 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
4081 of functions not in the API).
4082 Warning: any plugins that include these headers should remove them.
4083 * src/build.c, src/build.h:
4084 Move function doc-comments to build.c so they stay in sync. Note:
4085 these functions are still not in the API.
4087 Add 'Doc-comments' plugin API subsection.
4088 * plugins/filebrowser.c:
4089 Fix packing configure widgets equally.
4090 Use spacing multiples of 6 as recommended by Gnome HIG.
4091 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4092 Disable switching the sidebar to the right on Windows as it will
4093 probably fail like the Split Window plugin.
4095 Improve 'Detect from file' indentation pref by ignoring lines with
4096 indentation wider than 24 characters as this is more likely to be
4097 alignment than indentation.
4100 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4102 * plugins/saveactions.c:
4103 Fix adding the filetype's default extension when using the
4104 Instant Save plugin (closes #2885142).
4106 Before looking for line and column numbers specified as part
4107 of a filename, ensure the file doesn't exist on disk. This allows
4108 opening of files like "test:0".
4110 Rename "select" variables into "selection" to avoid shadowed names.
4111 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
4112 Add ui_widget_modify_font_from_string() and sci_goto_line()
4114 * plugins/filebrowser.c:
4115 Rename "select" variables into "selection" to avoid shadowed names.
4116 Make use of ui_widget_modify_font_from_string().
4119 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4121 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
4122 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
4124 Add sidebar position interface pref.
4127 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
4129 * doc/geany.txt, doc/geany.html:
4130 Add missing underscores to links.
4133 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4135 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4136 Add 'Move line(s) up/down' keybindings.
4139 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
4141 * src/build.c, src/build.h, src/filetypes.h:
4142 Include code for project filetype execute commands and fix bug in
4143 saving project filetypes list.
4144 * src/project.c, src/build.c, doc/geany.txt:
4145 Make non-project execute configuration save to filetypes not
4147 Fix closing of project failing to remove build commands dialog entry.
4150 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4152 * src/project.c, src/ui_utils.c:
4153 Set border width for project properties build table.
4154 * geany.glade, src/interface.c:
4155 Don't expand hard tab width alignment.
4158 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4160 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
4161 doc/geany.txt, doc/geany.html:
4162 Support loading global tags files for custom filetypes.
4163 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
4164 doc/geany.txt, doc/geany.html:
4165 Add 'Word part completion' keybinding so keys other than Tab can be
4166 used, or to clear/change the combination so Tab does full completion
4168 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4169 Add 'Select to previous/next word part' keybindings.
4170 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4171 Add 'Switch to Messages' focus keybinding.
4174 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4176 * doc/geany.txt, doc/geany.html:
4177 Add 'Custom filetypes' section.
4178 * src/filetypes.c, src/filetypes.h, src/document.c,
4179 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
4180 tagmanager/include/tm_source_file.h:
4181 Add filetype "tag_parser" key so custom filetypes can use an existing
4183 Add tm_source_file_get_named_lang().
4184 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
4186 Add filetype "lexer_filetype" key so custom filetypes can use an
4190 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4192 * THANKS, src/about.c:
4193 Add Xhacker Liu for his work at zh_CN translation to long list of
4197 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4199 * src/sciwrappers.c:
4200 Remove unnecessary line number margin padding.
4201 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
4202 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
4204 Improve word part autocompletion so AC list is not cancelled and
4205 reshown (this also stops the selection changing).
4206 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
4208 Improve CamelCase word part autocompletion for runs of capital
4211 Don't complete snippets if there's a selection.
4214 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
4217 Fix crash opening project when Geany started with no geany.conf.
4220 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4222 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
4223 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
4225 Add word part autocompletion for the current selected item when
4226 pressing Tab - Enter still completes normally.
4227 Add foreach_str() API macro.
4228 Temporarily modify scintilla to say if tab was used for
4230 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4231 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4232 plugins/classbuilder.c:
4233 Revert r4301 - utils_free_pointers() taking 4 arguments.
4234 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
4235 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
4236 plugins/splitwindow.c:
4237 Add highlighting_set_styles() to API, use for Split Window plugin so
4238 filetypes.common settings get set too.
4239 Make highlighting_set_styles() take GeanyFiletype pointer instead of
4241 * src/document.c, src/editor.c, plugins/splitwindow.c:
4242 Call editor_apply_update_prefs() from editor_create_widget() so
4243 correct tab width and other settings are applied for Split Window
4247 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4249 * src/keybindings.c:
4250 Don't include trailing newlines when using reflow command.
4252 Add stock close buttons to notebook tab popup menu.
4253 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
4254 plugins/geanyfunctions.h:
4255 Add document_get_notebook_page() to API.
4257 * data/templates/files/file.html, data/templates/files/file.php:
4258 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
4259 * src/interface.c, src/ui_utils.c, geany.glade:
4260 Move Tools configuration items to top of menu.
4261 * src/keybindings.c, src/search.c:
4262 Fix warning when using Find in Files with no documents open; make
4263 keybinding work in this case.
4266 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4268 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
4269 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
4270 Make Split Window 'Show current document' button have a drop-down
4271 menu to select the other documents.
4272 Add new API function ui_menu_add_document_items().
4275 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
4278 Fix sensitivity settings for compile and build toolbar items.
4281 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4284 Don't use filetype submenus for templates (slower to navigate, often
4285 only 1 per-filetype anyway).
4287 Put old filetype template menu items in 'Old' submenu as they should
4288 be removed after the 0.19 release.
4289 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
4290 Add GeanyKeyGroup callback support, which allow keybinding callbacks
4291 to be ignored if inappropriate so a later keybinding with the same
4292 key combination can intercept it. (Also group callbacks are usually
4293 tidier than separate callbacks).
4294 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
4295 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4296 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4297 plugins/classbuilder.c:
4298 Make utils_free_pointers() take 4 arguments, add to API.
4299 * src/templates.c, src/tools.c, src/ui_utils.c:
4300 Fix memory leaks with gtk_container_get_children().
4303 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
4306 Ensure that old style build config is not loaded if it does
4310 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4312 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
4313 Added Galician translation.
4314 Thanks to José Manuel Castroagudín Silva.
4317 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4319 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
4321 Apply set default encoding for existing files only if the files are
4322 non-Unicode (patch by Alexey Antipov, thanks).
4325 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4327 * src/highlighting.c:
4328 Move new_styleset() and preprocessor setup code into
4330 * src/highlighting.c:
4331 Call apply_filetype_properties() from styleset_c_like().
4334 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4336 * doc/geany.txt, doc/geany.html:
4337 Improve information about predefined keybindings which are
4338 commonly used across applications (patch by Lex Trotman, thanks).
4340 Enable embedded page setup properties in the (Unix) Print dialog
4341 on newer GTK versions (closes #2870596).
4342 * src/highlighting.c:
4343 Map global types (read from tags files) to keyword style for
4347 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4350 Fix wrong creation of filetype template menu items for custom
4352 * src/highlighting.c:
4353 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
4355 Group 'New with template' items by filetype submenu (currently only
4357 Show custom file template items before filetype template items.
4358 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
4360 Only use one 'New with template' submenu - reparent as needed.
4362 Don't create templates/filetype.none either.
4364 Warn if custom template file no longer exists.
4367 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4370 Add missing icon for Java packages in the Symbol List.
4373 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4375 * src/highlighting.c, data/filetypes.vala:
4376 Add Vala keywords to conf file.
4377 * src/templates.c, doc/geany.txt, doc/geany.html:
4378 Read custom file templates from $prefix/share/geany/templates/files
4379 as well as user dir.
4380 * src/templates.c, data/templates, data/templates/files,
4381 data/templates/files/file.rb, data/templates/files/file.html,
4382 data/templates/files/main.java, data/templates/files/main.c,
4383 data/templates/files/main.cxx, data/templates/files/file.php,
4384 data/templates/files/main.d, data/templates/files/program.pas,
4385 data/templates/files/main.py, data/templates/files/file.tex,
4386 wscript, Makefile.am:
4387 Move filetype template defaults into custom file template files.
4390 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4392 * src/symbols.c, tagmanager/perl.c:
4393 Change Perl tag parser to ctags SVN r601. This removes support for
4394 buggy local/my/our but it parses constant/format/labels and should
4395 be less buggy overall (closes #2861232).
4396 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
4397 Add utils_get_file_list_full() which can optionally sort or include
4398 a full path for each list item.
4399 * src/utils.c, src/plugindata.h, src/plugins.c:
4400 Add utils_get_file_list_full() to API.
4403 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4405 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
4406 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
4407 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
4408 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
4409 po/POTFILES.in, wscript:
4410 Rename treeviews.[hc] -> sidebar.[hc].
4411 * data/filetypes.common:
4412 Remove unused [styling] arguments.
4413 * src/highlighting.c, data/filetypes.markdown,
4414 data/filetypes.restructuredtext:
4415 Remove style defaults from the code - just read them from
4416 configuration files.
4417 * src/highlighting.c, HACKING:
4418 Add apply_style_entries() to simplify implementing styleset_foo().
4419 * src/highlighting.c:
4420 Remove filetype keyword defaults from the code - just read them from
4421 configuration files.
4422 * src/highlighting.c:
4423 Add sci_set_keywords() wrapper.
4426 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4428 * scripts/create_py_tags.py:
4429 Make the code a bit more pythonic.
4430 * doc/images/build_menu_commands_dialog.png,
4431 doc/images/main_window.png:
4432 Add new images referenced in the documentation.
4433 * doc/geany.html, doc/geany.txt:
4434 Several documentation improvements (patch by Lex Trotman, thanks).
4435 * src/pluginutils.c:
4436 Fix setting the appropriate page of the combined plugins
4440 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4442 * src/keybindings.c:
4443 Only focus toolbar goto line entry when pressing keybinding if it's
4444 visible (patch by Eugene Arshinov, thanks).
4446 Focus editor after entering a number in the goto line toolbar entry.
4448 Use AC_PATH_PROG instead of which for portability (patch by Erik
4449 Southworth, thanks).
4451 Show plugins that only implement plugin_configure_single() in the
4452 multiple-configure dialog as a page with a configure button on it.
4453 Add padding for multiple-configure dialog.
4454 Make the multiple-configure dialog notebook tabs scrollable.
4455 * src/pluginutils.c, src/pluginutils.h:
4456 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
4457 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
4458 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
4459 plugins/geanyfunctions.h, plugins/filebrowser.c:
4460 Add plugin_show_configure() API utility function.
4461 Add File Browser popup menu 'Preferences' item.
4462 * src/highlighting.c:
4463 Add get_keyfile_ints() instead of using tmp_style hack.
4464 * src/highlighting.c, data/filetypes.xml:
4465 Change new html_asp_default_language markup pref to use integer,
4466 not hex in config file.
4467 Fix minor issue with changing pref back to 0.
4468 * src/highlighting.c:
4469 Fix possible segfault in get_keyfile_int() if key value is malformed.
4472 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4474 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
4475 Add "html_asp_default_language" pseudo style to filetypes.xml
4476 to allow setting the used language in embedded ASP code
4477 (patch by Ross McKay, thanks).
4478 * src/filetypes.xml:
4479 Update VBScript keywords (patch by Ross McKay, thanks).
4482 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4484 * src/keybindings.c, THANKS:
4485 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
4486 keybinding use line breaking column when enabled.
4488 Fix showing the document before reload dialog when opening an
4490 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
4491 Add plugin_configure_single() plugin symbol which is easier to
4492 implement than plugin_configure() but won't support a
4493 multiple-plugin configure dialog.
4495 Show multiple plugins in the 'Configure Plugins' dialog.
4498 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4500 * doc/geany.txt, doc/geany.html:
4501 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
4503 * doc/geany.txt, doc/geany.html:
4504 Add 'Toolbar entries' section.
4505 * doc/geany.txt, doc/geany.html:
4506 Update 'Go to line' keybinding description.
4507 * doc/geany.txt, doc/geany.html:
4508 Split keybinding table into group tables; update KB links.
4511 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4514 Fix compiler warnings about uninitialised variables.
4515 * src/callbacks.c, src/document.c:
4516 When reloading files, use the previously set encoding instead of
4517 detecting it again (closes #2862041).
4519 Turn on automake silent rules if supported.
4522 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4525 Speed up sorting in utils_get_file_list(). This reduces the file
4526 browser delay on displaying a big directory, e.g. /usr/bin.
4528 Expand command entry width when expanding Build Commands dialog.
4530 Split Build Commands dialog notes label and edit text.
4532 Add padding for Build Commands dialog separators.
4533 Add colons for regex field labels; fix 1 capitalisation.
4535 Fix none filetype Build Commands dialog label.
4536 Make group labels bold.
4537 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
4539 Add & use ui_label_set_markup(), ui_label_new_bold().
4540 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
4541 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
4542 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
4543 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
4544 * src/keybindings.c:
4545 Make 'Go to Line' keybinding focus the toolbar entry if visible.
4548 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4550 * src/filetypes.c, src/filetypes.h, src/symbols.c,
4551 tagmanager/parsers.h, tagmanager/makefile.win32,
4552 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
4553 data/filetype_extensions.conf, wscript:
4554 Add new filetype: Abc (patch by Eric Forgeot, thanks).
4556 Merge recent changes from the CTags project to further improve
4560 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4563 Fix wrong alignment of printed pages when page headers are
4564 disabled (closes #2856822).
4565 Plug a small memory leak and improve function signature of
4568 Save an if expression.
4570 After clearing a text field using the embedded clear icon, put the
4571 input focus into this text field.
4574 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4576 * plugins/filebrowser.c:
4577 Free file list memory whilst iterating the list.
4578 Minor formatting fixes.
4579 * src/utils.c, src/utils.h:
4580 Add foreach_dir() API macro.
4581 Update API docs for utils_get_file_list().
4582 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
4584 Remove queue.[hc] - use GQueue instead of GeanyQueue.
4585 Beep if there are no more snippet positions.
4586 Limit length of snippet positions queue to 20.
4589 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4591 * src/keybindings.c, src/callbacks.c, src/search.c:
4592 Make Goto Tag commands use the current selection if present (useful
4593 for selecting part of a tag or for ReST section names with spaces
4596 Don't move the cursor when reloading.
4597 * src/plugindata.h, src/editor.c, src/editor.h:
4598 Make editor_prefs.snippets hash table private (not a pref).
4601 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4604 Remove deprecated --debug flag. Please use --verbose/-v instead.
4607 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4610 Show Find in Files stderr output in messages window instead of
4611 debug window so that invalid regex messages can be seen easily.
4612 Combine FIF stdout and stderr callback code.
4615 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4618 Fix opening filenames beginning with two dots (closes #2858487).
4619 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
4620 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
4621 data/filetypes.common, geany.glade:
4622 Update syntax highlighting after changing the 'Invert syntax
4623 highlighting colors' pref, instead of requiring a restart.
4624 Remove filetypes.common invert_all option - use 'Invert syntax
4625 highlighting colors' pref instead (closes #2854525).
4626 * src/prefs.c, src/dialogs.c, src/dialogs.h:
4627 Add 'Allow' button when showing the conflicting keybinding dialog.
4628 Make dialogs_show_question_full() use GTK dialog on Windows if
4629 button text is not the stock yes/no items.
4630 Add dialogs_show_prompt() which also has an 'Apply' button.
4631 * src/queue.c, src/queue.h:
4632 Add warning that GeanyQueue may be removed.
4633 * src/keybindings.c, src/editor.c, src/editor.h:
4634 Change snippet_goto_next_cursor() to
4635 editor_goto_next_snippet_cursor() as it's in editor.h.
4636 Avoid using GPOINTER_TO_INT macro.
4639 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4641 * src/keybindings.c:
4642 Fix 'Reflow block' command when at the last paragraph and there's
4643 no last newline (patch by Eugene Arshinov, thanks).
4645 Add 'Compiler options & warnings' section.
4646 Update Style section to be clearer about code alignment and show
4651 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4653 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4654 src/plugindata.h, src/plugins.c, src/editor.c,
4655 plugins/geanyfunctions.h:
4656 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
4657 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
4659 Add sci_toggle_marker_at_line().
4660 Fix SciFuncs alignment.
4663 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
4666 Fix erroneous free of returned string in prepare_run_script.
4669 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4671 * data/filetypes.latex:
4672 Changing default value for showing pdf and dvi to ensure to take
4673 *.pdf and *.dvi file.
4676 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4678 * src/about.c, THANKS:
4679 Change language string for Slovenian translation.
4682 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4684 * tagmanager/txt2tags.c:
4685 Fix multi-byte character constant comparison.
4687 Fix Gtk warning when trying to update documents popup menu item
4688 sensitivity before they exist.
4691 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4694 Improve the opening string in the plugin manager dialog.
4696 Use "max-width" to set the document width of the generated
4697 HTML documentation to let the text be auto-wrapped.
4698 * src/prefs.c, src/tagmanager/include/guregex.h,
4699 src/tagmanager/include/tm_tagmanager.h:
4700 Remove trailing spaces (patch by André Hentschel, thanks).
4702 Fix a compiler warning.
4704 Fix crash when opening documents.
4705 * src/build.c, src/build.h, src/project.c:
4706 Adjust coding style (no code changes).
4707 * src/build.c, src/project.c:
4708 Use NZV() macro instead of strlen() to check for empty strings.
4709 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
4710 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
4711 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
4712 src/plugins.c, THANKS:
4713 Add new plugin signal: "document-before-save".
4714 Add get_line_end_position(), set_target_start(), set_target_end(),
4715 replace_target() to the plugin API
4716 (patch by Eugene Arshinov, thanks).
4717 Add new plugin signal: "document-filetype-set" (closes #2852286).
4718 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
4719 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
4720 tagmanager/Makefile.am, tagmanager/makefile.win32,
4721 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
4723 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
4726 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4728 * src/treeviews.c, src/document.c:
4729 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
4730 Use gtk_notebook_set_current_page() instead of
4731 document_open_file_full() when choosing an item from the documents
4733 Avoid using goto in document_open_file_full().
4736 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4738 * src/treeviews.c, src/document.c, src/document.h, THANKS:
4739 Enable type-ahead find for sidebar symbols and documents tabs
4740 (patch by Thomas Martitz, thanks).
4742 Fix 2 free's of possibly uninitialized pointers.
4745 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
4747 * src/build.c, src/filetypes.h, src/filetypes.c:
4748 Only write filetype config files when build command or regex is
4749 actually changed. Removed commented code in src/filetypes.c.
4751 Ensure uses of filename are protected against nulls when running
4752 a build command and give status message if not.
4755 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4758 Remove plugin from plugin manager dialog on unloading if it no
4759 longer exists or is incompatible.
4762 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4765 Add warning if only one of the plugin_key_group[_info] symbols is
4766 defined for a plugin.
4767 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
4768 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
4770 Merge custom-filetypes branch:
4771 Support adding custom filetype files e.g. filetypes.Foo.conf.
4773 Allow GeanyFiletype::extension to be NULL.
4774 Add note about using GeanyFiletype pointer instead of filetype_id
4775 for filetypes.c function arguments.
4776 Replace styleset_none() with styleset_default().
4779 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4782 Show the sidebar if either the documents or the symbols list are
4783 enabled (related to #1876107).
4786 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4788 * src/build.c, src/filetypes.c:
4789 Fix compiler warnings.
4791 Fix removing leading double slashes in filenames which are used for
4792 network resources on Windows (closes #2844085).
4795 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4797 * src/keybindings.c:
4798 Fix Make keybindings (patch by Lex Trotman, thanks).
4800 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
4802 Mention Files link at top for header files; demoplugin.c.
4803 Minor edits; remove 'far from being complete'.
4804 * src/keyfile.c, src/keyfile.h, src/main.c,
4805 data/filetype_extensions.conf, HACKING:
4806 Remove --generate-data-files argument & code - just edit
4807 filetype_extensions.conf by hand (filetype order was broken
4809 Add *.H extension for C++ (useful for non-Windows systems).
4812 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
4815 Fix implementation of loading old project files with base
4816 directories. Use project_make_base_path instead of re-
4817 implementing. Now depends on project.c reading base dir
4818 prior to calling load_build_menu.
4820 Change usage of project base directory to conform with
4821 previous documented behavior when loading old project files.
4823 Change make custom and make object to ignore make in base path
4824 when reading old project file settings. Changed some indent
4825 spaces to tabs. Fix missing compile menu accelerator.
4828 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4831 Add warning about not using undocumented features.
4832 Add reference to HACKING for plugin API development.
4834 Add section 'Plugin API/ABI design'.
4835 * src/keybindings.h, src/makefile.win32, src/project.h,
4836 src/filetypes.h, src/Makefile.am, wscript:
4837 Use GEANY_PRIVATE to hide some fields from plugins.
4839 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
4840 * src/build.c, src/build.h, src/project.c:
4841 Use build_ prefix for 3 functions in build.h; add a static modifier.
4844 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4847 Improve parsing of PHP functions by requiring a valid modifier or
4848 whitespace before the 'function' keyword to ignore some false
4849 positives like function tags inside comments
4850 (patch by Harold Aling, thanks).
4851 * tagmanager/python.c:
4852 Don't parse comments after import statements and other tags
4853 (closes #2838938, patch by Huandari Lopez, thanks).
4856 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4858 * data/filetypes.markdown:
4859 Add filetypes.markdown for configuration (thanks to Jon Strait).
4860 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
4861 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4862 plugins/geanyfunctions.h:
4863 Remove GeanyKeyGroup struct from the API - plugins should not set
4865 Make keybindings_set_item() duplicate the name and label fields
4866 (needed by GeanyLua) and return a keybinding pointer.
4867 Add keybindings_get_item() to the API (in case it's useful).
4868 Move some keybinding code out of plugin source files.
4871 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4873 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
4874 Don't generate build.h API docs until everything is approved and
4875 functions are actually in geany_functions.
4876 Move new GeanyFiletype and GeanyProject field(s) to end of struct
4877 as they may be changed or made private later.
4878 Break ABI for fields removed.
4881 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
4883 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
4884 src/keyfile.c, src/project.c:
4885 Changed names of symbols visible in build API to GEANY_xxx.
4888 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
4890 * src/project.h, src/project.c, src/build.c:
4891 Remove make_in_base_dir and run_cmd fields from project structure.
4892 Replaced by build functionality. Remove incorrect use in src/build.c
4893 build_run_cmd function.
4896 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
4898 * src/project.h, src/project.c:
4899 Removed unused project_get_make_dir function, this is now per
4903 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
4905 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
4907 Fix some more warnings.
4908 Fix commented out execute/stop toolbar code in build.c.
4909 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
4910 Changed build.h api so all functions prefixed with build_.
4913 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4915 * src/build.c, src/build.h, src/project.c:
4916 Fix some gcc warnings with '-Wall -W -ansi' enabled.
4919 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
4922 Fixed leaks and crashes due to inconsistent use of static vs dynamic
4923 strings when reading old format configuration & project files.
4924 * src/build.c, src/project.c:
4925 Fixed GLib array assertion warnings when no project filetypes are
4926 available to be saved.
4928 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
4934 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
4936 * src/build.h, src/build.c, src/project.c:
4937 Created and documented plugins interface to build menu.
4938 Factored out new get_cmd_group function.
4939 Changed name of remove_command function to be consistent with the
4940 rest of the interface & changed calls in project.c.
4941 * src/Makefile.am, wscript:
4942 Added build.h to installed files lists.
4944 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
4947 Updated manual to match build-menu capability.
4950 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
4952 * src/build.c, src/build.h:
4953 Added set_build_non_ft_wd_to_proj() for use by project dialog.
4954 Improved interpretation of run_in_base_dir from old [build-settings]
4955 Added spacing to build commands dialog
4957 Removed run in base path option from project dialog and added button
4958 to set working directories to d the same.
4961 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
4964 Re-incorporated toolbar changes in trunk accidently excluded in merge
4966 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
4969 Fixed substitute %f etc in commands
4970 Fixed potential leak in build_replace_placeholder
4971 Fixed leak in prepare_run_script (Thanks for patch Thomas)
4972 Fixed build_replace_placeholder to not require document.
4974 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
4976 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
4977 Fixed crash and lots of warnings, deleted some commented out code.
4978 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
4979 Removed make command from preferences and associated code
4981 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
4983 * src/build.c, src/build.h:
4984 Incorporated patch for working directory field (thanks Thomas)
4985 Removed run_in_base_dir option and associated code that it replaces
4986 Improved handling of old config files and mapping to new ones.
4988 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
4990 * src/build.h, src/build.c:
4991 Changed to itterate over entries in build commands dialog to allow
4992 additional fields to be added
4993 Implement support for multiple run commands
4994 * data/filetypes.latex:
4995 Implement configured commands and labels for latex.
4998 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
5000 * src/build.h, src/build.c:
5001 added dialog support for error regular expressions from multiple
5002 sources and storing and loading them fixed some typos and memory
5004 * src/filetypes.c, src/filetypes.h, project.c:
5005 added support for using error regexes from multiple sources
5008 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
5010 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
5012 Removal of build menu item source made redundant by the following fix
5014 Corrected priority oreder and loading of filetype dependent build
5015 menu items saved in the project file. Added print routine for
5016 debugging command sources and priorities set compile symbol
5017 PRINTBUILDCMDS true to enable
5019 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
5022 fixed problem loading old format filetype files, some formatting
5023 fixes fixed saving new format files
5024 added operation for clear button on build commands dialog
5026 fixed loading and saving filetype files
5029 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
5031 Configurable Build Menu Changes
5033 * doc/geany.html, doc/geany.txt:
5034 Updated build menu section to new functionality
5035 * src/build.h, src/build.c:
5036 Largly re-written, configurability added, Latex code removed
5037 * src/filetypes.h, src/filetypes.c:
5038 Filetype structure updated to add new command pointers, configuration
5039 load and store changed
5040 * src/keybindings.h, src/keybindings.c:
5041 Changed to address new command storage structure.
5043 Changed to load/store new configuration.
5045 Minor change to initialisation order.
5047 Changed to address new menu item storage structure.
5048 * src/project.h, src/project.c:
5049 Changed to load/store the new configuration info.
5051 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5053 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
5054 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5055 doc/pluginsymbols.c, plugins/geanyfunctions.h,
5056 plugins/splitwindow.c:
5057 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
5058 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
5059 the ABI when adding fields to them.
5060 Add plugin_set_key_group() for plugins to dynamically set a
5061 keybinding group (e.g. for the Lua script plugin). Used in Split
5062 Window plugin as an example.
5063 Improve keybinding docs a little.
5066 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5068 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
5069 Add geanyfunctions.h to API docs.
5070 * plugins/splitwindow.c:
5071 Set the cursor color for the split window.
5074 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5077 Fix 'Open Selected File' for unsaved new documents.
5078 * src/keybindings.c, src/keybindings.h, src/prefs.c:
5079 Fix updating main menu accelerators after changing keybindings
5080 (thanks to Lex Trotman).
5082 Fix using 'Insert date' keybinding when a custom date string has
5084 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5085 Merge Plugin and GeanyPluginPrivate structs.
5088 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5090 * src/keybindings.c:
5091 Fix non-working Home and End keys on numpads.
5094 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5096 * doc/geany.txt, doc/geany.html, NEWS:
5097 Add 'Scope autocompletion' section.
5098 Add 'Tools menu items' section to explain configuration files
5099 submenu, reload configuration item.
5100 Minor updates/fixes.
5103 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5106 Add a translation hint to an ambiguous format string.
5108 Add missing include path to fix 'make distcheck'.
5110 Fix opening of local files in the browser on Windows.
5111 * New release: Geany 0.18 "Kaine".
5112 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
5113 src/geany.h, doc/geany.html, doc/geany.txt:
5114 Post-release version bump.
5117 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5120 Temporarily disable reshowing calltips when the autocompletion
5121 list was closed implicitly by not choosing an item to fix
5122 problems with wrongly displayed calltips.
5124 Add missing 'coding' cookie to the Python filetype template.
5125 * doc/images/pref_dialog_edit_completions.png,
5126 doc/images/pref_dialog_toolbar.png:
5127 Update images for Geany 0.18.
5130 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5133 Add command '--hackingdoc' to create the HTML form of the
5137 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5139 * po/pt_PT.po, po/LINGUAS:
5140 Added a first Portugese (Portugal) translation based on work done at
5141 launchpad by e.g. André Glória and Alexandre Jesus.
5142 * src/main.c: Fix a minor typo on --help call.
5145 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5147 * src/highlighting.c:
5148 Call get_keyfile_wordchars() in highlighting_init_styles().
5151 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5153 * data/filetypes.ada:
5155 * src/keybindings.c:
5156 Switching notebook tabs now works for the currently used notebook
5157 widget instead of always using the documents notebook.
5158 * src/document.c, src/document.h, src/documentprivate.h,
5160 Small corrections to some API docs.
5163 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5165 * src/build.c, src/win32.h, src/win32.c:
5166 Expand system environment variables (%variableName%) on Windows when
5167 running Build commands.
5170 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5172 * src/keybindings.c:
5173 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
5174 future using an indent block is more useful e.g. for ChangeLog
5176 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
5177 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
5178 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
5179 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
5180 tagmanager/parsers.h, tagmanager/makefile.win32,
5181 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
5182 Add Markdown filetype (patch by Jon Strait, thanks).
5183 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5184 Fix disconnecting plugin signal id when not using geany_object.
5186 Add filetype_make_title() instead of using:
5187 ft->title = g_strdup_printf(_("%s source file"), ft->name);
5188 It also supports "%s file" strings.
5191 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5193 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
5194 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5195 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
5196 plugins/filebrowser.c:
5197 Add plugin_signal_connect() for connecting plugin signals at
5198 runtime and also for connecting to any GObject signal.
5199 Add 'Plugin Utility Functions' on main page.
5200 Add foreach_array() macro.
5201 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
5202 src/document.c, src/editor.c:
5203 Rename 3 sci functions to sci_set_target_start(),
5204 sci_set_target_end(), sci_replace_target() to match the SCI_
5208 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5210 * wscript: Fix compiling error with waf.
5213 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5215 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
5216 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5217 src/Makefile.am, wscript:
5218 Move plugin_* utility functions to pluginutils.c.
5219 Add pluginprivate.h.
5221 Fix reshowing calltip in the wrong document.
5224 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5226 * doc/geany.txt, doc/geany.html:
5227 Add some general information about auto-completion capabilities
5228 (patch by Lex Trotman, thanks).
5231 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5233 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
5234 Added a first Slovenian translation. Thanks to Joze Klepec.
5237 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5239 * src/highlighting.c:
5240 Use full styleset_foo[_init] function name as argument to
5241 init_styleset_case() and styleset_case() macros so it's easier to
5242 understand the code.
5243 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
5244 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
5245 doc/geany.txt, doc/geany.html:
5246 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
5247 Heavily based on a patch by Eugene Arshinov (thanks).
5248 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
5249 editor_strip_line_trailing_spaces().
5252 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5255 Attempt to fix reshowing calltips after the autocompletion list
5257 Reshow calltips also when the autocompletion list was closed
5258 implicitly by not choosing an item.
5260 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5262 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
5263 plugins/splitwindow.c:
5264 Change utils_str_remove_chars() to work in place; fix allocating on
5265 the stack (the string length could exhaust the stack size).
5266 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
5267 src/printing.c, src/callbacks.c:
5268 Rename utils_str_replace() utils_str_replace_all(), setting a
5269 'gchar **haystack' argument instead of returning a new string.
5271 For the Tabs indent type, remove spaces when unindenting (only) if
5272 there are no tabs on the line.
5273 Group undo actions for (un)indenting of multiple lines.
5274 * src/document.c, src/editor.c:
5275 Fix scrolling horizontally after finding a search match with the
5276 search bar or Find Next/Previous which is off-screen.
5277 * src/keybindings.c:
5278 Fix GLib warning when pressing a key with no documents open.
5281 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5284 Start unifying usage of @a and @c markup elements in API docs,
5286 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
5287 Show/hide the toolbar without a restart when the setting in the
5288 preferences dialog is changed (closes #2824785).
5289 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
5290 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
5291 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
5293 Continue unifying usage of @a and @c markup elements in API docs.
5296 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5299 Remove relative/untidy path elements when creating new documents
5300 with a filename (e.g. from the command-line) (#2823998).
5303 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5306 Disable 'Recent Projects' menu item if the list of recent projects
5309 Fix some harmless compiler warnings.
5310 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
5311 src/plugins.c, src/utils.c, src/utils.h:
5312 Move utils_str_remove_chars() from the plugins/splitwindow.c to
5313 src/utils.c and add it to the plugin API.
5314 Make utils_str_remove_chars() work on a new copy of the input string
5315 instead of modifying it in place.
5317 Remove underscores from the toolbar items labels.
5320 * plugins/splitwindow.c:
5321 Fix broken 'Show the current document' tool button icon.
5324 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5326 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
5328 Add stash_group_add_widget_property() so we can save any widget's
5329 read/write properties.
5330 Use Stash for ui_prefs.sidebar_page setting.
5331 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
5332 Make foreach_ptr_array() use an integer argument for its
5333 implementation, as this is more useful potentially than a gpointer*
5334 argument, and more straightforward.
5335 Add foreach_c_array(), foreach_ptr_array() to API.
5336 * src/utils.c, src/utils.h, src/document.c:
5337 Remove relative/untidy path elements when opening documents (closes
5340 Fix showing project name for documents list files with no
5341 subdirectory (oops).
5343 Fix checking whether to overwrite when using the Rename button in
5344 the 'Save As' dialog.
5347 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5350 Don't use the main window as parent for dialog boxes if it is not
5352 Set titles for message dialogs.
5355 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5358 Display item labels instead of raw names in the toolbar editor.
5359 Apply changes in the toolbar editor instantly.
5360 Show icons in the toolbar editor.
5361 Speed up toolbar editor dialog creation.
5363 Improve inserting of comment templates like File header or licence
5364 notices. The comment information are now read from the filetype
5365 configuration files.
5367 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5370 Enable file monitoring for files which are written to disk by Geany
5373 Fix broken special case handling when detecting filetypes from a
5374 shebang or other special file headers.
5377 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5380 Make Mark All keybinding clear search highlighting when there's no
5383 Fix wrong match length when using Mark with regex.
5384 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
5385 src/keyfile.c, src/main.c:
5386 Add 'Show Paths' documents list popup item.
5387 Add "load_settings" core-only signal emitted just after loading
5388 main keyfile settings; useful to delay building UI elements until
5389 settings have been read.
5391 Fix GTK warning when right-clicking on default tag tree.
5392 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
5393 Add treeviews_finalize().
5394 Remove tv.popup_openfiles field.
5397 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5399 * src/highlighting.c:
5400 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
5403 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5406 Quote the uri before passing it to the browser when opening a
5407 website (closes #2818635).
5409 Fix broken 'builtin' Run command for HTML files on Windows.
5412 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5415 Properly fix wrong brace highlighting of non-brace character.
5417 Allow autocompletion in Perl double-quoted strings.
5418 Don't autocomplete in Perl single-quoted strings (closes #2821061).
5419 Don't autocomplete in Perl q() strings.
5420 * data/filetypes.common:
5421 Make Mark highlighting brighter.
5422 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
5423 Use hyphen for auto-feature terms.
5424 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
5425 src/document.h, src/main.c:
5426 Add documents_foreach() API macro that skips invalid docs.
5427 Make filetypes[], documents[] part of the API again.
5428 Add GEANY() macro for sharing geany symbols between API and core.
5429 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
5430 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
5431 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
5432 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
5433 plugins/classbuilder.c, wscript:
5434 Add geanyplugin.h single include for plugin API; update all core
5436 Add sci_set_font() to API.
5437 Update plugin howto.
5438 * src/filetypes.c, src/filetypes.h:
5439 Remove filetypes_foreach_named().
5442 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5444 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
5445 src/document.h, src/main.c, THANKS:
5446 Apply patch from Eugene Arshinov to reload color schemes via menu
5449 Reload filetypes.common after saving it.
5451 Improve wrong brace highlighting of non-brace character.
5454 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5457 Delay highlighting matching braces by 100ms, which speeds up
5458 scrolling with the arrow keys.
5459 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
5460 Add 'Mark All' keybinding.
5461 * tagmanager/diff.c:
5462 Show relative paths in diff filename tags.
5465 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5467 * src/highlighting.c:
5468 Fix setting keyword list 'classes' for Haxe
5469 (pointed out by Andreas Mokros, thanks).
5472 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5474 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5475 doc/geany.txt, doc/geany.html, geany.glade:
5476 Add 'Drop rest of word on completion' pref.
5477 * src/editor.c, doc/geany.txt, doc/geany.html:
5478 If autocompletion is already visible when forcing completion, show
5479 document word completion instead of tag completion.
5480 Docs: Minor edits of related prefs items.
5481 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
5482 Add warning when printing and editor font is not monospaced.
5483 Fix using GtkMessageType instead of gint param for
5484 dialogs_show_msgbox*().
5485 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
5487 Support 'tab indents, space aligns' style for auto-indentation
5491 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5493 * src/document.c, src/documentprivate.h:
5494 Rework the GIO based file monitoring code. Now it is used only
5495 to indicate a possible change of the file, the real check if the
5496 file has been changed is performed by stat().
5497 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
5498 Add style 'line_height' to increase the line height.
5499 Add style 'marker_mark' and change style 'marker_search' to
5500 define the style used for marked search results.
5501 * doc/geany.txt, doc/geany.html:
5502 Add the new 'Autocomplete all words in document' pref to the docs.
5505 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5507 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5508 doc/geany.txt, doc/geany.html, geany.glade, TODO:
5509 Add 'Autocomplete all words in document' pref.
5510 Use 'autocompletion' in dialog and docs, not 'auto completion'.
5512 Fix limiting number of word completion entries too much.
5513 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
5514 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
5515 Show autocompletion icons for tag symbols - for now only tags with
5516 an arglist have the 'function/method' icon, all others have the
5518 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
5520 * src/highlighting.c:
5521 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
5525 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5527 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
5528 Fix removing underscores in translated string using no_underscore()
5530 Set a tooltip for the Split Window plugin's Show Current tool button.
5531 Add utils_strdupa() macro.
5532 * src/interface.c, geany.glade:
5533 Use stock Select All icon now we have >= GTK 2.8.
5535 Fix using project name for document items that start with the
5536 project base path but don't match it e.g. ".../geany-plugins"
5537 instead of ".../geany" when project name is 'geany'.
5540 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5543 Fix warnings when the toolbar does not contain the Run button.
5545 Fix wrong parsing of complex expressions in the Lua parser.
5546 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
5548 Remove unnecessary enums.
5549 * scintilla/*, scintilla/include/*, src/plugindata.h:
5550 Update Scintilla to version 1.79.
5551 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
5553 Use the new Scintilla struct names prefixed with 'Sci_'.
5554 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
5556 Add second argument to the 'line_wrap_indent' styling setting to
5557 control the new Scintilla indentation mode for wrapped lines.
5559 Properly close the toolbar editor on delete-events.
5560 Fix warnings and possible crashes in the toolbar editor when the list
5561 of displayed toolbar items is empty.
5562 * data/filetypes.tcl:
5563 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
5565 Make the plugin manager dialog a bit bigger.
5568 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5570 * doc/geany.html, doc/geany.txt:
5571 Fix wrong default values for the 'Show Calltip' keybinding.
5574 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5576 * data/filetypes.tcl, src/symbols.c:
5577 Fix duplicate "context_action_cmd" key.
5578 Use different icons for "Methods" and "Procedures" in the symbol
5581 Fix a small memory leak.
5582 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
5583 src/keybindings.h, src/plugindata.h:
5584 Make the Scintilla keybindings 'Delete to end of line' and
5585 'Go to end of display line' configurable.
5587 Fix a typo (closes #2813624).
5590 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5592 * tagmanager/tcl.c, src/symbol.c:
5593 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
5594 methods and namespaces).
5595 Patch by Witek Mozga, thanks.
5598 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5600 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
5601 src/toolbar.c, src/toolbar.h:
5602 Remove ui_toolbar.xml Configuration Files menu item.
5603 Add a real toolbar editor dialog.
5604 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
5606 Add a button in the preferences dialog and an item for the toolbar
5607 popup menu to run the toolbar editor dialog.
5610 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5613 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
5614 Fix using locale encoding for default Save As dialog path.
5616 Beep when trying to activate the '...' autocompletion item.
5617 Limit (forced) document word completion to
5618 autocompletion_max_entries.
5619 Beep if no completions are shown when forcing autocompletion.
5622 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5624 * data/ui_toolbar.xml, src/toolbar.c:
5625 Add 'Build' toolbar button to the default layout.
5628 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5631 If forcing autocompletion and there's nothing else to show, complete
5632 from words in the current document (using code from Enrico's
5633 'AutoComplete Test' plugin).
5636 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5639 Add debug message if plugin has not set a name for its keybinding
5641 * data/filetype_extensions.conf:
5642 Add *.m4 for shell scripts.
5645 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5647 * src/highlighting.c, doc/geany.txt, doc/geany.html,
5648 data/filetypes.common, TODO:
5649 Make filetypes.common named styles use the "default" named style for
5650 all missing style fields.
5651 Set named styles to usually leave the background style empty. This
5652 currently allows C-like filetypes to have a common default
5654 Allow hard-coded colors to use -1 for the default color.
5655 Add some highlighting style examples to the manual.
5658 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5661 Create initial template files with proper platform-specific line
5665 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5667 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
5668 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
5669 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
5670 src/ui_utils.c, src/ui_utils.h:
5671 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
5673 Refactor some related code.
5674 * tagmanager/conf.c:
5675 Strip trailing spaces from "Key" tags.
5677 Quote the full filename to the Geany executable when creating the
5678 "Open with Geany" context menu item.
5679 * plugins/splitwindow.c:
5680 Avoid using deprecated GTK API.
5681 * src/log.c, src/main.c:
5682 Properly clean up the logging mechanism.
5684 Fix LaTeX view commands on Windows (part of #2807688).
5686 Add a popup menu for the keybinding list in the preferences dialog
5687 to easily expand and collapse all groups.
5688 Refactor the keybindings code for the preferences dialog, prefix all
5690 * src/main.c, src/ui_utils.c, src/ui_utils.h:
5691 Init stock items before creating the toolbar (closes #2809324).
5693 Generate the geany.pc file also on Windows.
5695 Invert the logic to determine which Save All we want to use:
5696 Use the Tango like icon only for the Tango theme and the Gnome / GTK
5697 like icon for any other themes.
5700 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5702 * src/highlighting.c, README.Packagers, HACKING:
5703 Remove gsd_* default styles, use named styles instead.
5704 Note: this relies on filetypes.common being installed.
5705 Add load_style_entries(), which makes style initialization
5706 simpler, used in styleset_c_like_init().
5709 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5712 Prevent possible crash on Windows when not setting an initial
5713 directory for native File Open/Save dialogs.
5714 * data/filetypes.xml, src/highlighting.c:
5715 Add style 'jscript_regex' for filetype HTML
5716 (patch by Chris Macksey, thanks).
5719 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5721 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
5722 Make GeanyDocument::file_type always be non-NULL, even for a new
5723 document with no filetype set.
5725 Only autocomplete scope for scopes matching the current filetype's
5727 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
5728 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
5729 data/filetypes.actionscript, data/filetypes.cs,
5730 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
5731 data/filetypes.javascript, HACKING:
5732 Make C++, D lexer filetypes use named styles (apart from uuid,
5733 verbatim, regex styles).
5736 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5739 Don't explicitly change the current directory of the Save As dialog
5740 so that it uses the last used directory.
5743 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5745 * src/encodings.c, src/encodings.h, src/plugindata.h:
5746 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
5749 When completing from the macro list, put the cursor after
5753 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5755 * tagmanager/pascal.c:
5756 Fix type definitions being parsed as functions.
5758 Don't autocomplete in unterminated strings as well.
5759 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
5760 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
5761 Remove data_ptr argument to foreach_[s]list() macros, as using
5762 node->data is enough sometimes; this makes the macro a bit more
5764 Add foreach_[s]list() macros to the plugin API docs.
5767 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5769 * scintilla/LexPascal.cxx:
5770 Backport fix from Scintilla CVS:
5771 Pascal lexer hanging on file that starts with 'interface' after
5775 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5778 Update Waf to 1.5.7.
5780 Overwrite installation prefix on Windows only if it wasn't
5781 specified explicitly.
5784 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5787 Display calltips for Pascal symbols in the Pascal way (#2803945).
5788 * tagmanager/pascal.c:
5789 Fix wrongly set return values for procedures (closes #2803945).
5790 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
5791 tagmanager/include/tm_source_file.h,
5792 tagmanager/include/tm_workspace.h:
5793 Fix doxygen warnings.
5796 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5798 * src/editor.c, tagmanager/include/tm_workspace.h,
5799 tagmanager/tm_workspace.c, TODO:
5800 Autocomplete scoped fields like struct members when typing '.' (and
5801 also '->' or '::' in C/C++).
5802 Save all tag types for C/C++ when generating a global tags file, so
5803 we can use autocompletion for structs also.
5804 Merge tm_workspace_find_scope_members(),
5805 tm_workspace_find_namespace_members() (currently not built) from
5806 Anjuta 2.24.1 tagmanager.
5809 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5811 * tagmanager/pascal.c:
5812 Parse Pascal calltips (closes #2802640).
5815 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5817 * src/filetypes.c, src/ui_utils.c:
5818 Add filetypes.common Configuration Files menu item.
5821 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5824 Add backslash to the wordchars on Windows when using
5825 'Open Selected File'.
5827 Add support (configure, build and install) for building on Windows
5828 and cross-compiling for Windows using the Waf build system.
5831 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5834 Set status bar text instead of showing a dialog when saving
5835 ui_toolbar.xml because the user might save several times.
5837 Fix redrawing due to colourising just after the document is first
5838 drawn. Now colourising should happen before the first draw.
5839 * src/utils.c, src/highlighting.c, data/filetypes.common:
5840 Fix segfault on parsing a filetypes.* style definition that has < 4
5842 Allow style definitions to have missing fields to use the default
5846 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5848 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
5849 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
5850 * plugins/classbuilder.c:
5851 Fix wrongly created header guards when the class filenames contains
5852 dashes (patch by PCMan, thanks).
5853 * data/filetypes.matlab:
5854 Add build_settings section to allow executing Matlab scripts.
5856 When closing a document, mark it as invalid before removing it from
5857 the documents notebook (this fixes wrong Save All button state when
5858 closing an unsaved document because the "switch-page" signal handler
5859 was using old data).
5862 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5864 * src/highlighting.c, doc/geany.txt, doc/geany.html:
5865 Support toggling bold/italic when using a named style, e.g.:
5866 commentdockeyword=commentdoc,bold,italic
5867 Improve named style docs.
5870 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5872 * src/build.c, src/editor.c:
5873 Fix crashes when parsing the output of a compiler which reports
5877 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5879 * src/highlighting.c:
5880 Support named styles also for filetypes.common [styling] entries.
5881 * doc/geany.txt, doc/geany.html, HACKING:
5882 Update docs for named styles in filetypes.* files.
5884 Fix grouping symbol list children when parent name has "." character
5885 in for reStructuredText and Conf filetypes.
5886 * tagmanager/python.c:
5887 Fix grouping functions/classes under a nested function.
5890 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5893 Adjust icon paths (patch by Dominic Hopf, thanks).
5894 * doc/geany.txt, doc/geany.html, src/toolbar.c:
5895 Add 'Replace' toolbar button (closes #2798225).
5898 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5900 * src/utils.c, src/highlighting.c, TODO:
5901 Implement named styles support for filetypes.* using a
5902 filetypes.common [named_styles] section e.g.:
5903 foo=0xc00000;0xffffff;false;true
5905 These can be used in e.g. filetypes.c as:
5909 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5912 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
5915 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5917 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
5918 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
5921 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5924 Remove quote_executable() as it is not used anymore.
5925 When creating the geany_run_script.bat use the "%0" variable
5926 expansion and quote it for the "del" command (closes #2797172).
5928 On Windows, fallback to the literal build command line if searching
5929 for the command in the system path failed (related to #2795923).
5930 Properly terminate the resulting strings when reading the stdout
5931 and stderr of any spawned commands on Windows.
5934 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5937 Use the wide character versions of native Windows File dialogs.
5939 Fix wrong initialisation of the default project path button callback
5940 in the preferences dialog.
5941 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
5942 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
5943 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
5944 icons/Makefile.am, icons/geany.ico, icons/scalable,
5945 icons/scalable/Makefile.am, icons/scalable/geany.svg,
5947 Move the icons geany.png and geany.ico into the icons directory.
5948 Add a 16x16 pixel Geany icon and the scalable SVG icon.
5949 Drop the pixmaps directory.
5952 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5954 * src/keybindings.c:
5955 Improve MRU document switching so there are no duplicates in the
5956 list and documents switched to whilst the dialog is open are
5957 ignored. Also beep when cycling through to the first document in the
5961 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5964 Fix broken 'Cancel' button in the Save As dialog.
5967 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5970 Fix multiline indent when selection covers text on the last line.
5972 Show current document in bold in tab popup menu.
5973 * src/editor.c, tagmanager/python.c, TODO:
5974 Parse Python calltips.
5977 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5979 * src/symbols.c, tagmanager/python.c:
5980 Parse Python import statements to get symbol completion for the
5981 imported module names.
5982 * src/editor.c, src/editor.h:
5983 Make some only locally used functions static.
5984 Fix wrong sanity check.
5986 Fix quoting the build command string on Windows (closes #2791769).
5987 This broke when we made build commands run synchronously on Windows,
5988 now we don't need to special quote the commands anymore.
5991 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5994 Drop rest of word to the right of cursor when autocompleting (do we
5995 need a pref for this?).
5998 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6000 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
6001 Add sci_set_selection().
6002 * doc/geany.txt, doc/geany.html:
6003 Update manual for MRU switching.
6004 * src/callbacks.c, src/editor.c, src/editor.h:
6005 Make indenting with the Tabs indent type preserve spaces on the line,
6006 so it works for the 'tab indents, space aligns' formatting style.
6009 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6011 * tagmanager/python.c:
6012 Fix missing symbols for variables when an equal sign is used
6013 in a comment on the same line as the variable declaration.
6014 Backport change from CTags SVN to keep the parser more in sync:
6015 Add support for Cython constructs to the Python parser.
6017 Remember the additional Find in Files search flags at startup.
6019 Don't close the Save As dialog when saving the file didn't succeed.
6022 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6025 Remember scribble cursor position.
6026 * src/keybindings.c, TODO:
6027 Implement Most-Recently-Used document switching when pressing
6028 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
6031 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6033 * data/latex.tags: Added some more commands from unit.sty and
6037 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6039 * src/symbols.c, doc/geany.txt, doc/geany.html,
6040 tagmanager/makefile.win32, tagmanager/nestlevel.c,
6041 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
6042 tagmanager/Makefile.am, wscript:
6043 Merge unstable branch:
6044 Add reStructuredText scope information for tags (for symbol list
6046 Read custom system global tags files from $prefix/share/geany/tags;
6048 Show the number of tags in a user global tags file (instead of the
6049 running total) in the debug message.
6050 Also print debug messages when loading a tag file manually or for
6051 default global tags files e.g. python.tags.
6053 Move NestingLevel tags code into a separate file, add functions.
6055 Add 'Installation prefix' section instead of quoting '/usr/local'
6057 Update for custom system global tags files.
6060 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6062 * src/highlighting.c:
6063 Unset maybe previously keywords when setting up Scintilla for
6064 XML files. This fixed wrong highlighting after switching back to
6065 filetype XML from another one.
6067 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
6068 is only used when explicitly requested.
6070 Remove unnecessary call to g_intern_string() to fix build with
6071 GLib 2.8 (closes #2790051).
6074 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6077 Make the clear icon of entry fields act on the release event, not
6078 on the press event like for other buttons.
6080 Refactor some multiple used code into get_multiline_comment_style().
6082 Create parent directories if necessary when checking for the
6083 configuration directory on startup (closes #2784577).
6086 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6088 * plugins/filebrowser.c:
6089 When a filter is set, apply it only to files, not directories and
6090 apply the filter to the UTF-8 name of the file as the filter string
6091 itself is also UTF-8.
6092 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
6093 Add utils_color_invert() and use it in highlighting.c and printing.c.
6094 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
6095 Backport change from Scintilla CVS:
6096 Change capitalisation of header file to suit cross-compilation on
6100 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6102 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
6103 Update Scintilla to version 1.78.
6104 * src/editor.c, src/highlighting.c:
6105 Update Pascal styles as they changed in Scintilla.
6108 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6111 Ignore the invert syntax highlighting colours setting when printing
6112 to not print characters on a dark background (closes #2785244).
6113 * New release: Geany 0.17 "Wessex".
6114 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
6115 src/geany.h, doc/geany.html, doc/geany.txt:
6116 Post-release version bump.
6119 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6121 * src/callbacks.c, src/callbacks.h, src/main.c:
6122 Update the View->Fullscreen menu item when fullscreen state is
6123 changed externally (e.g. by the window manager).
6125 Fix passing wrong pointer to the File Open dialog for the Run
6126 command in the Project Properties dialog.
6129 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6131 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
6133 Remember the active sidebar page between sessions.
6135 Add a recent project item after creating a new project.
6136 * tagmanager/ruby.c:
6137 Fix wrong parsing of string literals (closes #2781264).
6139 Fix setting focus to the editor widget after changing the selection
6143 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6146 Prevent crashes when two or more top level items in the symbol
6147 list have the same name (closes #2778246).
6150 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6152 * src/keybindings.c:
6153 Manually show the main notebook tab bar menu when Shift-F10 is
6154 pressed. This broke when we disabled the default GTK tab bar menu.
6156 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
6157 which was reloaded shortly before.
6159 When the editor menu is opened by the Menu key, use the text cursor
6160 position for retrieving the current word. This fixes disabled
6161 Go to Tag items in the menu (#2780044).
6163 Set the "ellipsize" property of GtkCellRendererText to automatically
6164 shorten the path and file names in the Documents list.
6165 * doc/geany.html, doc/geany.txt, src/build.h:
6166 Increase the amount of highlighted build error messages to 100.
6167 At least for LaTeX we need higher values as there is a lot of
6168 informative output before any errors are reported.
6169 * src/filebrowser.c:
6170 Use the startup path as the initial directory for the filebrowser
6171 plugin when no project and no files are opened
6172 (patch by Matias Gea, thanks; closes #2780521).
6175 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6177 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
6178 src/utils.c, src/utils.h:
6179 Ellipsize tab labels and some status messages for very long
6180 filenames (closes #2777348).
6181 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
6182 Add utils_str_middle_truncate() and
6183 document_get_basename_for_display() to the plugin API.
6184 * doc/geany.html, doc/geany.txt, src/toolbar.c:
6185 Add new toolbar element: Print (patch by Roland Baudin, thanks).
6186 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
6188 Add a hidden preference 'use_safe_file_saving' to save files to disk
6189 by creating a temporary file first. This has serious side effects,
6190 please read the documentation before enabling this.
6192 Make build commands on Windows run synchronously to avoid problems
6193 with reading build commands' output.
6194 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
6195 Limit the amount of highlighted build error messages in the
6196 Compiler window to 50 for performance reasons.
6199 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6201 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
6203 Replace our own GEANY_KEYS_MODIFIER_MASK by
6204 gtk_accelerator_get_default_mod_mask() which gives the same result.
6205 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
6206 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
6207 Add a trivial symbol parser for NSIS files.
6210 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6213 Hide the extra file open dialog options in an expander to make the
6214 dialog more compact by default and to provide more space for the
6216 Remove the filename field as it is also provided by GTK itself with
6217 more features like auto-completion.
6218 Watch the 'show-hidden' property of the file chooser widget using
6219 GObject's "notify" signal which gives accurate results and remove
6220 the hack using the "selection-changed" signal.
6223 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6225 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
6226 Prevent double execution of radio menu item "activate" or "toggled"
6228 Move 'Set Encoding' callback function into encodings.c.
6231 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6234 Add some missing 'void's in function definitions.
6235 If the project base path is './', just use the path of the project
6236 config file instead of appending './'.
6237 * src/treeviews.c, src/project.c:
6238 When a project is loaded, replace the project base path with the
6239 project name in the Documents sidebar for parent items
6243 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6245 * src/keyfile.c, src/keyfile.h, src/project.c:
6246 Fix duplicating the recent files and projects lists when closing
6248 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6249 src/editor.c, src/encodings.c, src/filetypes.c,
6250 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6251 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
6252 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
6253 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
6254 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
6255 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
6256 Remove all G_LIKELY macros inside g_return_if_fail() statements as
6258 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
6259 sense to keep the code more readable.
6262 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6265 When updating global type definitions for opened documents, take
6266 also C++ namespace symbols into account and don't ignore symbols
6267 which are defined inside a scope.
6270 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6273 Don't show 'plugin is not binary compatible' messages on the status
6274 bar, only the status window.
6277 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6280 When opening files from a remote instance on X11, set the window
6281 server time to encourage window managers to pop up the main window
6282 (related to #2735467 and #2276179).
6284 When finished sending filenames to a remote instance, notify the
6285 environment that we finished starting up.
6288 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6290 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
6291 Sort Configuration Files menu.
6292 Add ui_menu_sort_by_label().
6293 Add foreach_list() macro.
6298 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6301 Fix setting a wrong default window size when starting without an
6302 existing configuration.
6303 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
6304 Make editor_highlight_braces() static.
6305 Remove unused wrapper functions.
6306 * src/editor.c, src/symbols.c, src/symbols.h:
6307 Prevent showing an empty macro list.
6308 Show only macros of the same filetype instead of all macros of all
6311 Don't add opened project files to the GtkRecentManager.
6314 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6317 Add Configuration Files item for snippets.conf.
6318 * src/highlighting.c, src/symbols.c:
6319 Fix 2 old uses of filetype IDs.
6322 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6324 * src/interface.c, src/printing.c, geany.glade:
6325 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
6328 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6331 Add sanity checks in ui_lookup_widget() just to be safe.
6332 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
6333 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
6334 src/project.h, src/ui_utils.c, src/ui_utils.h:
6335 Add "Recent Projects" menu to the Project menu
6336 (#2728630, patch by Elias Pschernig, thanks).
6337 * doc/geany.txt, doc/geany.html:
6338 Describe how to build Geany using the Waf build system.
6339 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6340 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
6341 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6342 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
6343 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
6344 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
6345 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
6346 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
6347 src/utils.c, src/utils.h, src/vte.c:
6348 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
6349 performance when building the code with gcc.
6350 * src/highlighting.c:
6351 Fix typo in the G_LIKELY checks, introduced in last commit.
6352 Fix the size of the styles array.
6354 Show a message dialog when renaming a file fails.
6357 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6360 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
6361 (as we did for all other files in SVN r3382).
6364 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6366 * src/filetypes.c, doc/geany.txt:
6367 Move ActionScript to the Script group.
6369 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
6370 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
6371 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
6372 plugins/htmlchars.c:
6373 Merge reorder-filetypes branch:
6374 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
6375 append randomly without breaking the ABI).
6376 Make None filetype name = title = _("None").
6377 Add foreach_slist() macro.
6378 Add filetypes_by_title list to GeanyData for plugin API access
6379 - a list of filetype pointers, which includes the None filetype
6380 first. This list stays constant by the time plugins are initialized,
6381 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
6382 index the sorted list.
6385 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6387 * doc/geany.txt, doc/geany.html, src/main.c:
6388 Add widget names for the menubar and toolbar.
6390 When hiding the messages window, set the input focus back to the
6391 editor widget (part of #1910393).
6394 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6396 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
6397 Backport recent changes from Scintilla CVS to add partial support
6398 for RFC2822 styled text using the Properties lexer.
6399 Ignore leading whitespace for config files and RFC2822 text.
6400 * data/filetypes.actionscript:
6401 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
6402 * THANKS, src/treeviews.c:
6403 Display file/directory icons in the Documents sidebar
6404 (patch by Simon Treny, thanks).
6407 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6409 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6410 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
6411 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
6412 Add an option to allow appending the toolbar to the main menu bar
6413 to save some vertical space.
6414 Allow setting toolbar icon size to very small (menu icon size).
6417 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6419 * src/keyfile.c, src/utils.c, src/utils.h:
6420 Add utils_path_skip_root(), a relative path safe variant of
6421 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
6422 * src/keyfile.c, src/main.c:
6423 Allow negative window coordinates when saving and restoring the
6424 position of the main window.
6425 Restore the main window position and size *after* the window has
6426 been realised to get it positioned accordingly
6427 (this affects at least Windows).
6430 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6432 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
6433 Use g_win32_get_package_installation_directory_of_module() on Windows
6434 with newer GLib versions instead of deprecated API.
6435 * src/keybindings.c:
6436 Don't manage the last used documents list when quitting to prevent
6437 errors by accessing invalid memory (may close #2533990).
6440 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6443 Delete the geany_run_script.sh immediately after execution
6444 to prevent leaking old copies when the script was quit unexpectedly
6445 (closes #2710482, patch by Martin Olsson, thanks).
6447 Check whether skipping the root element of a document's filename
6448 succeeded and use the filename itself if not (e.g. on relative
6449 filenames, #2702844).
6450 Use the locale encoded filename when saving session files.
6452 Re-set the quitting status after all documents have been closed on
6456 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6458 * plugins/htmlchars.c:
6459 Remove usage of deprecated sci_get_selected_text() from plugin.
6462 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6465 Delay disk file checks when switching between documents a little
6466 bit to avoid fast, unintentional page switching in some cases.
6467 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
6468 src/sciwrappers.c, src/sciwrappers.h:
6469 Deprecate sci_get_text(), sci_get_selected_text() and
6470 sci_get_text_range().
6471 Add sci_get_contents(), sci_get_contents_range() and
6472 sci_get_selection_contents() as replacement functions to provide
6473 an easier and cleaner API (initial patch by Frank).
6476 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6479 Fix wrong parsing of CSS tags when the definition block starts on
6480 a new line (reported by Dominic Hopf, thanks).
6483 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6485 * plugins/htmlchars.c:
6486 Extend plugin by feature to bulk replace and replace on input for
6487 special characters to their HTML entities.
6490 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6493 Update build menu items after changing anything in the
6494 'Set Includes and Arguments' dialog.
6495 Disable Compile/Run buttons/menu items when Compile/Run commands are
6497 Reset current build directory to the base directory after reading a
6498 "Leaving directory" message when parsing Make output
6499 (closes #2694479, patch by Andrea Mazzoleni, thanks).
6501 Fix wrong display of the filename in the tab bar menu for new files.
6503 Set the initial directory for the Save As dialog only once on
6505 Add a shortcut of the project's base directory to the
6506 File Open/Save As dialogs when a project is open for faster access.
6507 * src/splitwindow.c:
6508 Add keybindings for the split actions.
6511 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6514 When using Find All in the Find dialog (in Session and Document),
6515 display the right amount of matches.
6516 Fix the display of the matches once per line (I broke the original
6519 Fix wrong directory selection behaviour in all Open Folder dialogs
6520 (closes #2688020, patch by Marcel Stimberg, thanks).
6522 Don't present the main window of a running instance when starting
6523 a second instance separately.
6526 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6529 Reduce default file permissions on the Unix Domain socket file
6530 (reported by Jörg Sommer, thanks).
6533 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6535 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
6536 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
6538 Add an option to set an additional plugin lookup path.
6540 When using Find All in the Find dialog, display matches only once
6541 per line in the messages window (patch by Bert Vermeulen, thanks).
6544 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6546 * data/filetype_extensions.conf, data/filetypes.actionscript,
6547 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
6548 src/highlighting.c, src/plugindata.h, src/symbols.c,
6549 tagmanager/Makefile.am, tagmanager/actionscript.c,
6550 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
6551 Add filetype ActionScript (patch by Chris Macksey, thanks).
6552 Update type keywords only for real C-like languages.
6553 Fix wrong sorting of Assembler and Ada filetypes.
6554 * plugins/classbuilder.c:
6555 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
6556 Other minor cleanups.
6559 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6562 Don't use menu item images for the tab bar menu to save some
6564 * data/filetypes.fortran, tagmanager/fortran.c:
6565 Add keyword 'extends' and fix Fortran parser to support the
6566 'extends' keyword (closes #2654492).
6567 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
6568 src/search.c, src/toolbar.c:
6572 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6574 * src/about.c, THANKS:
6575 Added Jari Rahkonen to list of Finnish translators.
6578 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6581 Adjust minimum required GTK version.
6582 * src/Makefile.am, wscript:
6583 Add main.h to the list of installed header files.
6584 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
6585 src/notebook.c, src/ui_utils.c:
6586 Remove GeanyDocumentPrivate::tabmenu_label.
6587 Disable the default tab bar menu for the main notebook widget and
6588 use a custom menu instead which lists all open files as usual plus
6589 'Close Other Documents' and 'Close All' menu items.
6592 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6594 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
6595 Move ui_set_search_entry_background() into ui_utils.c.
6596 Change the background colour of the search entries in the Find
6597 and Replace dialogs according to the search results like in the
6598 toolbar search field.
6599 Add images to the 'Replace' and 'Replace and Find' buttons in the
6601 Minor cleanups in search.c.
6602 * tagmanager/tm_source_file.c:
6603 Update source files upon creation.
6605 Update C tags for glibc 2.9.
6606 * src/callbacks.c, src/toolbar.c:
6607 Fix broken non-incremental search with the toolbar search entry when
6608 pressing Enter (closes #2638180).
6609 * plugins/splitwindow.c:
6610 Fix possible crash on non-32-bit systems (patch by
6611 Wolfgang Ocker, thanks).
6613 Update the Packager tag due to Dominic's various contributions.
6614 Update description and feature list.
6615 Change Source tag to the gzip'ed tarball to be in sync with the
6616 Makefile target (thanks to Wolfgang Ocker for reporting).
6619 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6621 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
6622 Removed deprecated plugin VC Diff
6625 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6628 Fix wrong Fortran 90 comment characters when inserting templates.
6629 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6630 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
6631 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
6633 Add 'Send Selection to Terminal' command to the Edit->Format menu
6634 (initial patch by David Gleich, thanks).
6635 * geany.glade, src/interface.c:
6636 Fix mnemonic for the Edit->Preferences menu item.
6639 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6641 * configure.in, plugins/Makefile.am:
6642 Enable socket support when cross-compiling.
6643 Enable plugin compilation when cross-compiling.
6645 Fix missing NULL checks when reading the colour value of compiler
6647 * src/main.c, src/win32.c, src/win32.h:
6648 On Windows, change the working directory to the Geany installation
6649 path at startup to avoid unwanted directory locking(closes #2626124).
6651 Fix broken selection of "Document->Set Encoding" menu items.
6652 * src/document.c, tagmanager/include/tm_source_file.h,
6653 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
6654 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
6655 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
6656 Don't let the tagmanager automatically reparse files if they
6657 seem to be changed on disk (affects all files in the current session,
6658 not the current one). This should speed up file saving a little bit,
6659 especially with remote files.
6660 Remove now unnecessary calls to tm_workspace_update().
6662 Allow an empty value for the date format in the print settings to
6663 omit the date/time string in the print header.
6666 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6668 * src/editor.c: Set cursor for LaTeX at auto closing of environment
6672 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6675 Add missing header include (closes #2615808).
6678 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6681 Fix a possible crash when comparing symbol names
6682 (could be related to Ubuntu bug #147151).
6683 Fix broken symbol list tooltips when tag names contain ampersands.
6686 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6688 * plugins/makefile.win32:
6689 Don't build Split Window plugin on Windows (doesn't work).
6692 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6694 * ChangeLog, Makefile.am: Rotate ChangeLog.
6695 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
6696 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
6697 Post-release version bump.
6700 *** See ChangeLog.pre-0-17 for earlier changes ***