1 2011-09-15 Colomban Wendling <colomban(at)geany(dot)org>
4 Ask the user to configure a valid browser command if spawning it
5 fails rather than falling back to some arbitrary hardcoded defaults.
8 2011-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
11 Fix uninitialized font size & other fields.
12 Remove unhooked font dialog apply button.
15 2011-09-13 Colomban Wendling <colomban(at)geany(dot)org>
17 * data/filetype_extensions.conf:
18 Add Markdown extensions from Shared MIME-Info database (closes
21 Add missing MIME type to a few filetypes.
22 * doc/geany.txt, doc/geany.html:
26 2011-09-12 Colomban Wendling <colomban(at)geany(dot)org>
29 Fix updating symbol list for overloaded C++ symbols (closes
33 2011-09-02 Colomban Wendling <colomban(at)geany(dot)org>
36 Fix check for enabling MIME type based icons.
37 * src/encodings.c, src/filetypes.c:
38 Plug a few memory leaks.
41 2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
44 Fix foreach_ptr_array() not to crash on arrays with 0 elements.
47 2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
49 * src/document.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
50 doc/geany.html, data/filetypes.*:
51 Add support for filetype-specific indentation settings (closes
52 #3339420 and #3390435).
53 * src/callbacks.c, src/editor.c, src/editor.h:
54 Add editor_set_indent_width() to only set indentation width.
55 * src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
56 src/interface.c, geany.glade:
57 Add menu items to detect indentation settings from document's
61 2011-08-24 Colomban Wendling <colomban(at)geany(dot)org>
64 Make completion and word completion support non-ASCII characters
68 2011-08-21 Colomban Wendling <colomban(at)geany(dot)org>
70 * src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
71 Fix search for the current word if it isn't composed of only
72 GEANY_WORDCHARS (closes #3386129).
75 2011-08-20 Colomban Wendling <colomban(at)geany(dot)org>
77 * tagmanager/haskell.c:
78 Fix tags for one-letter Haskell symbols (closes #3289160).
81 2011-08-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
84 Update of wording to fix some grammatical issues etc. on plugin howto.
85 Patch provided by Matthew Brush. Thanks.
86 * data/filetype_extensions.conf:
87 Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks.
90 2011-08-19 Colomban Wendling <colomban(at)geany(dot)org>
92 * data/filetype_extensions.conf, data/filetypes.Cython.conf,
93 data/filetypes.python:
94 Add Cython filetype (patch by Matthew Brush, thanks).
95 * src/symbols.c, tagmanager/include/tm_workspace.h,
96 tagmanager/tm_workspace.c:
97 Create temporary files used for generating global tags files in the
98 system directory for temp files.
100 Don't make tags for /dev/null in diff files but for the new file
101 instead (Based on a patch by Yang Hong, thanks).
104 2011-08-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
107 Update API version used inside plugin howto to a more recent version
111 2011-08-13 Colomban Wendling <colomban(at)geany(dot)org>
113 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
114 Focus the editor upon double click on the message and compiler
115 windows (patch by Dimitar Zhekov, thanks).
118 2011-08-03 Colomban Wendling <colomban(at)geany(dot)org>
120 * src/geany.h, plugins/classbuilder.c, plugins/export.c,
121 plugins/filebrowser.c, plugins/htmlchars.c, plugins/saveactions.c,
122 plugins/splitwindow.c:
123 Only include config.h when building Geany (closes #3384026).
126 2011-07-31 Frank Lanitz <frlan@frank.uvena.de>
129 Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin
130 HowTo as well as a hint to make usage of main_locale_init().
133 2011-07-28 Colomban Wendling <colomban(at)geany(dot)org>
135 * src/build.c, src/build.h, src/editor.c, src/interface.c,
136 src/keyfile.c, src/prefs.c, src/stash.c, src/stash.h,
137 src/ui_utils.c, geany.glade, doc/geany.txt, doc/geany.html:
138 Allow to edit formerly hidden preferences in the prefs dialog
139 (closes #3313315, patch by Dimitar Zhekov and myself, thanks!).
141 Improve indentation width detection to better deal with Java
145 2011-06-26 Colomban Wendling <colomban(at)geany(dot)org>
147 * src/highlighting.c:
148 Recognize C# and Vala raw and verbatim strings as string styles.
150 Fix indentation brace matching (closes #3309606).
153 2011-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
155 * src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
157 More GTK 2.8 => GTK 2.12 transition.
160 2011-06-20 Colomban Wendling <colomban(at)geany(dot)org>
162 * src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
164 Add an hidden pref to choose between GIO and plain C unsafe
166 * configure.ac, src/document.c, win32-config.h:
167 Completely drop HAVE_GIO checks.
170 2011-06-18 Colomban Wendling <colomban(at)geany(dot)org>
172 * src/document.c, src/document.h, src/editor.c:
173 Remove support of size being -1 in document_open_file_list().
174 * src/utils.c src/utils.h:
175 Remove support of size being -1 in utils_get_line_endings().
176 * src/stash.c, src/stash.h:
177 Make StashWidgetID map to gconstpointer, allowing use of const
178 strings as the widget key.
181 2011-06-16 Colomban Wendling <colomban(at)geany(dot)org>
183 * src/document.c, src/main.c, src/ui_utils.c, src/utils.c:
184 Remove most of the checks for GIO.
186 Remove last GLib >= 2.16 check.
189 2011-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
191 * tagmanager/python.c:
192 Fix two bugs with triple quoted strings within comments
193 and missing indentation within triple quoted strings
194 (#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
197 2011-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
199 * data/filetypes.python:
203 2011-06-13 Colomban Wendling <colomban(at)geany(dot)org>
205 * configure.ac, src/Makefile.am, src/makefile.win32, wscript:
206 Bump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO.
207 * plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
208 src/build.c, src/dialogs.c, src/document.c, src/highlighting.c,
209 src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
211 Deprecate ui_widget_set_tooltip_text() in favor of
212 gtk_widget_set_tooltip_text().
213 * configure.ac, doc/geany.html, doc/geany.txt, src/callbacks.c,
214 src/keyfile.c, src/main.c, src/prefs.c, src/printing.c,
216 Enable GTK printing support unconditionally.
217 * doc/geany.html, doc/geany.txt:
218 Stop talking about pre-GTK 2.12 tricks.
219 * geany.glade, src/interface.c:
220 Fix Printing preferences page alignment.
222 Remove pre-GTK 2.10 tab DnD support.
223 * src/pluginutils.c, tagmanager/tm_file_entry.c,
224 tagmanager/tm_symbol.c, tagmanager/tm_tag.c:
225 Unconditionally use GSlice allocator.
228 2011-06-11 Colomban Wendling <colomban(at)geany(dot)org>
230 * src/dialogs.c, src/main.c, src/ui_utils.h:
231 Always destroy open and save dialog after use. This also helps
232 working around a long-living GTK+ bug, hopefully closing #3311258,
233 #3304273, #3201050, #3163742, #3153120 and #2985896.
236 2011-06-03 Colomban Wendling <colomban(at)geany(dot)org>
238 * src/callbacks.c, src/document.c, src/document.h, src/editor.c,
239 src/search.c, src/search.h:
240 Show the actual text the user searched for in messages rather than
241 the internal one (patch by Eugene Arshinov, thanks).
243 Also use the actual user search in the combo box history.
246 2011-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
248 * src/document.c, src/document.h, src/ui_utils.c, src/ui_utils.h:
249 Add ui_focus_current_document() and document_grab_focus().
251 Focus the editor widget after loading project session files.
252 * scripts/create_py_tags.py:
253 Ignore tags ending with an underscore.
254 Dynamically determine the path of Python's standard library instead
256 Parse all modules of the Python standard library instead of a
257 hardcoded list of filenames.
260 2011-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
262 * data/filetypes.java:
263 Move keyword 'enum' to primary keywords (closes #3305737).
266 2011-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
268 * tagmanager/python.c:
269 When checking for literal strings to ignore, consider also
270 unicode, binary and raw strings.
272 Define and use get_plugin_path() always and move platform dependent
273 code into the function definition.
274 Do not add active plugins to the list of plugins when they are
275 already in the list (closes #3308191).
276 Check whether the custom plugin path is one of the user or system
277 plugin paths and if so, ignore it.
280 2011-05-27 Colomban Wendling <colomban(at)geany(dot)org>
283 Fix preferences help button when activated with the keyboard.
286 2011-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
288 * src/about.c, src/build.c, tagmanager/tm_workspace.c:
289 Remove unused variables (patch by Eugene Arshinov, thanks).
291 Remove unused variables (suggested by Eugene Arshinov).
292 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
293 Do not allow 'Save All' even if 'allow_always_save' is set
294 (patch by Dimitar Zhekov, thanks).
295 * data/filetypes.java:
296 Add 'enum' to secondary keywords
297 (closes #3305737, patch by Matthew Brush, thanks).
300 2011-05-12 Colomban Wendling <colomban(at)geany(dot)org>
303 Update the HTML content-type encoding detection regexp to accept some
304 more valid inputs (closes #3300703).
307 2011-05-11 Colomban Wendling <colomban(at)geany(dot)org>
310 Improve the plugin manager dialog a little.
311 * src/geanywraplabel.c, src/geanywraplabel.h, src/keybindings.c,
313 Cleanup GeanyWrapLabel a bit.
316 2011-05-09 Colomban Wendling <colomban(at)geany(dot)org>
318 * plugins/splitwindow.c:
319 Remove widget reparenting in Split Window plugin. This fixes plugin
320 issues on Windows (patch by Matthew Brush, thanks - closes #2725342).
321 * plugins/Makefile.am, plugins/makefile.win32, wscript:
322 Enable SplitWindow build on Windows again (re-apply Enrico's patch).
325 2011-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
328 Add note about patching Glade 2.12 to compile it with
332 2011-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
335 Fix 'Toolbar Preferences' popup menu item (oops).
338 2011-05-03 Colomban Wendling <colomban(at)geany(dot)org>
340 * doc/geany.txt, doc/geany.html:
341 Update the documentation for project patterns and recent FIF dialog
345 2011-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
347 * src/highlighting.c, doc/geany.txt, doc/geany.html:
348 Allow translations for color scheme [theme_info] keys.
349 * src/build.c, src/filetypes.c, src/filetypes.h, src/main.c:
350 Save filetype build commands straight after editing them instead of
351 at shutdown (patch by Dimitar Zhekov, thanks).
354 2011-05-02 Colomban Wendling <colomban(at)geany(dot)org>
357 Bump plugin API version so a plugin can know the project file
358 patterns are visible by the user.
361 2011-05-01 Colomban Wendling <colomban(at)geany(dot)org>
364 Fix pattern filtering when not searching in subdirectories.
367 2011-04-30 Colomban Wendling <colomban(at)geany(dot)org>
370 Fix project patterns and make them visible (based on a patch
371 by Jiří Techet, thanks).
373 Use project patterns in the FIF dialog (based on a patch
374 by Jiří Techet, thanks).
376 Open the file in the msgwindow even if no line number is specified.
379 2011-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
381 * src/filetypes.c, data/filetype_extensions.conf:
382 Revert 'Compiled' filetype group back to 'Programming' (couldn't
383 agree on whether e.g. Java is a compiled language).
384 * doc/geany.txt, doc/geany.html:
385 Add section 'Filetype group membership'.
386 * src/highlighting.c, doc/geany.txt, doc/geany.html,
387 data/colorschemes/alt.conf:
388 Read color scheme name and description for menu item label and
389 tooltip (based on patch by Matthew Brush, thanks).
392 2011-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
394 * src/filetypes.c, src/filetypes.h:
395 Remove now unnecessary Custom filetype group.
397 Move text markup languages into Markup filetype group.
398 Move some programming language filetypes out of the Miscellaneous
400 Fix filetype title for some languages.
401 Don't use 'Languages' for Miscellaneous group label.
402 These changes mostly proposed by Matthew Brush (thanks).
404 Make custom filetype titles use 'source file' only if their group
405 is Compiled or Script.
406 Use 'source file' for reStructuredText title.
409 2011-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
411 * src/filetypes.c, src/filetypes.h, src/main.c,
412 data/filetype_extensions.conf:
413 Make filetype group membership configurable using [Groups] in
414 filetype_extensions.conf.
415 Read filetype_extensions.conf when calling filetypes_init_types(),
416 don't require doclist initialization.
418 Change Programming Languages filetype group label -> Compiled
420 Use 'source file' title for custom filetypes.
421 * src/prefs.c, doc/geany.txt, doc/geany.html:
422 Remove Preferences label warning about restarting after editing
423 template data - this is no longer necessary.
426 2011-04-26 Colomban Wendling <colomban(at)geany(dot)org>
428 * src/callbacks.c, src/document.c, src/document.h,
429 src/documentprivate.h, src/editor.c, src/sidebar.c:
430 Make sure to update the tag list only for the current document,
431 avoiding idle updates to show the tag list for the wrong document.
432 * src/callbacks.c, src/document.c, src/documentprivate.h,
434 Avoid changing the tag tree if it's not the one of the current
435 document, fixing showing the wrong tag list when reloading
439 2011-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
442 Fix warning in utils_find_open_xml_tag() with malformed tags like
446 2011-04-24 Colomban Wendling <colomban(at)geany(dot)org>
449 Don't update the tag list when the user is typing (patch by Yura
452 When copying filetype groups, add keys from both system and user
453 ones, making sure user's ones have precedence over system ones.
456 2011-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
458 * src/utils.c, src/utils.h, src/plugindata.h, src/plugins.c,
459 plugins/geanyfunctions.h:
460 Add utils_find_open_xml_tag_pos() API function (patch by Eugene
463 Replace dates on template insertion, not when loading templates.
466 2011-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
469 Fix multiple snippet cursor positions for Tabs + Spaces mode.
470 Simplify editor_insert_snippet() code now we use cursor marker
472 * src/utils.c, src/utils.h, src/editor.c:
473 Add utils_string_find() to search in a fixed range.
474 Change utils_string_replace() to just replace a fixed number of
478 2011-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
480 * src/plugindata.h, src/document.c, src/plugins.c, src/document.h,
481 plugins/geanyfunctions.h:
482 Add document_compare_by_tab_order() and
483 document_compare_by_tab_order_reverse() to the plugin API.
485 Use document_compare_by_tab_order() as default compare function
486 to sort the document list in the document notebook tab menu, this
487 fixes the currently broken default ordering.
490 2011-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
492 * src/utils.c, src/utils.h, src/editor.c:
493 Add function utils_string_replace() to replace in a fixed range.
494 Remove utils_string_replace_helper() and update cursor marker code.
497 2011-04-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
500 Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
501 Refactor snippets_make_replacements() using geany_cursor_marker.
504 2011-04-13 Colomban Wendling <colomban(at)geany(dot)org>
507 Avoid triggering autocompletion on PHP open tags (closes #3199442).
510 2011-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
513 Update dox for document_compare_by_display_name() with warning
514 about parameter addresses.
516 Use brackets for DOC_FILENAME() macro 'doc' argument.
517 * src/templates.c, src/utils.c, src/toolbar.c, src/utils.h,
518 src/keyfile.c, src/filetypes.c, src/editor.c, src/symbols.c:
519 Make utils_build_path() return a copy for safety.
521 Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
524 2011-04-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
527 Fix wrong casting of array pointers, thanks Nick.
528 * src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c,
530 Rename document_sort_by_display_name() into
531 document_compare_by_display_name(), thanks again Nick.
534 2011-04-11 Colomban Wendling <colomban(at)geany(dot)org>
536 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
537 Revert r5642 "Don't update parent WorkObjects when updating one in
538 real-time" because it broke calltips.
541 2011-04-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
543 * plugins/filebrowser.c:
544 Update path when saving a new document for the first time if the
545 follow path option is enabled.
546 * src/about.c, src/keyfile.c, THANKS:
547 Store VTE path with the session (based on patch by Nicolas
549 There's still a bug with loading a project at startup; closing the
550 project doesn't restore old VTE path.
551 * src/filetypes.c, src/filetypes.h:
552 Refactor with filetypes_get_filename().
553 Make filetypes_get_conf_extension() static.
554 * src/utils.c, src/utils.h, src/filetypes.c:
555 Make utils_make_filename() return a copy for safety.
558 2011-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
561 Ignore scrolling events in on_update_ui().
562 * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
563 src/document.c, doc/pluginsignals.c:
564 Add and use signal "document-reload" to the plugin API.
565 * src/symbols.c, tagmanager/sql.c:
566 Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
567 * src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
568 src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
569 Add ui_menu_add_document_items_sorted() and
570 document_sort_by_display_name() to the plugin API.
573 2011-04-08 Colomban Wendling <colomban(at)geany(dot)org>
575 * scintilla/lexers/LexCPP.cxx:
576 Make highlighting of triple-quoted verbatim an option (Backport
577 from Scintilla HG 3602:5536ed81a85b).
578 * src/highlighting.c:
579 Add highlight for triple-quoted verbatims.
580 * data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
581 data/filetypes.Scala.conf:
582 Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
583 * data/filetypes.Genie.conf:
584 Copy C styling rather than redefining the styles.
586 Don't set font twice for line numbers and braces.
589 2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
592 Remove TEMPLATES_GET_FILENAME() macro.
594 Don't auto-enable case-sensitive option when enabling regex in
595 Find/Replace dialogs.
598 2011-04-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
600 * scintilla/gtk/ScintillaGTK.cxx:
601 Fix X PRIMARY selection issue when Scintilla widget is
602 unrealized/re-realized (Backport from Scintilla HG,
603 original patch by Matthew Brush).
604 Reset cursors when Scintilla widget is realized (Backport from
605 Scintilla HG, original patch by Matthew Brush).
608 2011-04-04 Colomban Wendling <colomban(at)geany(dot)org>
610 * scintilla/gtk/PlatGTK.cxx:
611 Fix font rendering in Scintilla when using Cairo.
614 2011-04-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
616 * src/interface.c, geany.glade:
617 Make Project->Properties the last menu item so it's faster to use.
620 2011-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
623 Update Scintilla to version 2.25.
624 * version.txt, Makefile.am:
625 Add Scintilla's version.txt file.
626 * scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
627 Replace escape character '\' by slash '/' in paths in the
628 Windows Makefiles (patch by Matthew Brush, thanks).
630 Reflect the existence of the entered command in `Set Custom Commands`
631 dialog as well using the yes/no icon.
634 2011-04-03 Colomban Wendling <colomban(at)geany(dot)org>
636 * src/main.c, src/prefs.c, src/tools.c:
637 Fix loading and updating menu accelerators for custom commands.
639 Don't allow editing keybinding column of group rows.
641 Fix ID of newly added commands in the `Set Custom Commands` dialog.
644 2011-04-02 Colomban Wendling <colomban(at)geany(dot)org>
646 * src/tools.c, doc/geany.txt, doc/geany.html:
647 Improve the `Set Custom Commands` dialog.
650 2011-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
652 * src/interface.c, src/interface.h, geany.glade:
653 Rename Preferences dialog Interface subtab More -> Notebook tabs.
654 * src/toolbar.c, src/dialogs.c:
655 Use mimetype icon in File Properties dialog.
656 * doc/geany.txt, doc/geany.html:
657 Fix title capitalization.
658 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
659 Move Preferences dialog Toolbar tab under Interface tab.
661 Tweak some build dialog labels:
664 Use filetype name instead of title.
665 * src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
666 Remove old filetype templates support - users can use custom file
670 2011-04-01 Colomban Wendling <colomban(at)geany(dot)org>
673 Update regex used to find encodings for it to allow the encoding to
674 be quoted, adding support for XML (closes #3183506).
676 Implement charset name normalization in order to better deal with
677 badly-written encoding names (i.e. names found by regex search).
678 This also makes encodings_get_idx_from_charset() and
679 encodings_get_from_charset() more permissive regarding the passed-in
682 Always try to honor the charset found in the document, even if the
683 document can be loaded as UTF-8.
684 This make files encoded with e.g. ISO-8859-1 that have the proper
685 information in them but only use the UTF-8 compatible part of
686 ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
687 Also fix check for locale encoding.
688 * src/tools.c, doc/geany.txt, doc/geany.html:
689 Make `Send selection to` send the current line if there is no
693 2011-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
695 * plugins/filebrowser.c:
696 Make 'Hide object files' preference configurable with file
698 * plugins/filebrowser.c:
699 Fix applying default setting for hide_object_files (oops).
700 Fix warning when enabling plugin from the Plugin Manager.
701 * plugins/filebrowser.c:
702 Fix optimization for filter check when pattern is '*'.
703 Use foreach_strv() instead of foreach_c_array().
704 * plugins/filebrowser.c:
705 Don't hide directories matching hidden file extensions e.g. foo.o.
706 Refactor with check_object().
709 2011-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
712 Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
713 crash in the Split Window plugin when changing filetype (patch by
714 Matthew Brush, thanks; fixes #3255968).
715 * plugins/splitwindow.c:
716 Update styles when the filetype changes (based on patch by
717 Matthew Brush, thanks).
718 * plugins/saveactions.c:
719 Fix Instant Save preferences combo box filetype order.
720 * plugins/filebrowser.c:
721 Remove macro CHECK_READ_SETTING().
724 2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
726 * src/plugindata.h, src/pluginprivate.h, src/plugins.c,
727 src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
728 Add plugin_idle_add(), plugin_timeout_add() and
729 plugin_timeout_add_seconds() to the plugin API. These are
730 convenience wrappers to ensure the added timeouts are properly
731 removed when unloading the plugin, preventing possible crashes.
732 * plugins/splitwindow.c:
733 Use new plugin_idle_add(), preventing an unlikely crash.
734 * doc/pluginsymbols.c, src/sciwrappers.c:
735 Fix a few Doxygen warnings.
736 * plugins/saveactions.c:
737 Properly use 0 as the invalid timeout source ID.
740 2011-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
742 * doc/geany.txt, doc/geany.html:
743 Add #reading-styles-from-another-filetype subsection, based on
744 patch by Matthew Brush (thanks).
745 * doc/geany.txt, doc/geany.html:
746 Add #filenames subsection for filetype definition files explaining
747 the filename extensions and special cases.
748 * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
749 src/main.c, plugins/geanyfunctions.h:
750 Add filetypes_get_sorted_by_name() to API.
751 Fix --ft-names sorting to print in name order, not title order.
754 2011-03-28 Colomban Wendling <colomban(at)geany(dot)org>
756 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
757 Don't update parent WorkObjects when updating one in real-time. This
758 should fix some performance issues if a WorkObject has many parents.
761 2011-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
763 * src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
765 Initialize GLib's Gthread system early at startup in case any
767 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
768 doc/geany.txt, doc/geany.html:
769 Add new keybinding 'Remove Markers and Error Indicators'.
772 2011-03-26 Colomban Wendling <colomban(at)geany(dot)org>
775 Fix the sidebar popup menu to properly use the currently selected
776 item rather than the previous one.
777 Also change the hack used for the selection to be updated in the
778 input handlers to call the GtkTreeView's handler manually rather than
779 doing the actual job in IDLE callbacks for the TreeView's handler to
781 * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
782 src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
784 Add possibility to detect the indentation width from the file content
785 (not supported if indentation type is tabs only).
786 * plugins/splitwindow.c:
787 Enable code folding in splitview window (based on a patch by Matthew
788 Brush, thanks! - closes #3097780).
789 Fix confusing terminology in Split Window plugin menu labels (patch
790 by Matthew Brush - closes #2796316).
791 Don't unsplit when closing the displayed document but rather pick the
792 new current one if any.
795 2011-03-25 Colomban Wendling <colomban(at)geany(dot)org>
797 * data/filetypes.vala:
798 Update Vala keywords (based on a patch from Matthew Brush, thanks).
803 2011-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
805 * plugins/filebrowser.c:
806 Add history to filter entry.
807 * src/keybindings.c, src/vte.c:
808 Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
811 Make VTE copy/paste shortcuts work if 'Override Geany
812 keybindings' is not set.
815 2011-03-24 Colomban Wendling <colomban(at)geany(dot)org>
817 * doc/geany.txt, doc/geany.html:
818 Update the documentation to talk about real-time tag parsing.
819 * doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
820 src/document.c, src/document.h, src/geanyentryaction.c,
821 src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
822 Make Shift-Enter in search dialog and toolbar search entries search
824 * plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
825 src/dialogs.c, src/document.c, src/document.h, src/editor.c,
826 src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
827 src/main.c, src/plugins.c, src/printing.c, src/project.c,
828 src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
829 Improve usage of G_LIKELY() and G_UNLIKELY() macros.
832 2011-03-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
835 Make --ft-names list filetypes alphabetically.
836 * plugins/filebrowser.c:
837 Allow multiple file filters to be separated by a space for
838 consistency with Find in Files file patterns. ';' is still
842 2011-03-20 Colomban Wendling <colomban(at)geany(dot)org>
844 * data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
845 src/filetypes.c, src/filetypes.h, src/templates.c:
846 Add new filetype setting "comment_single" to provide separated
847 single-line and multiline comment support. Single-line are used in
848 priority to comment code, and multiline to make template comments.
849 * src/editor.c, src/search.c, tagmanager/diff.c:
850 Don't use strlen(..) > 0 or == 0, simply check the first character
853 Update forced indent settings when setting the filetype. This makes
854 documents created or set to a filetype with forced indent setting
855 (Makefile, F77) to have the correct setting right away.
858 2011-03-19 Colomban Wendling <colomban(at)geany(dot)org>
861 Create a new undo action when inserting templates, making sure the
862 user can undo the template insertion without also undoing a previous
866 2011-03-18 Colomban Wendling <colomban(at)geany(dot)org>
868 * src/document.c, src/encodings.c, src/encodings.h:
869 Move document encoding conversion with BOM support to encodings.[ch]
870 as encodings_convert_to_utf8_auto().
872 Properly convert template files to UTF-8 on loading, fixing encoding
873 issues if templates files are not encoded in UTF-8.
876 2011-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
878 * data/templates/files/main.vala:
879 Add file template for Vala (patch by Mark Trompell, thanks).
882 2011-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
884 * src/utils.c, src/utils.h, src/filetypes.c:
885 Support copying filetype definition file group keys from a system
886 keyfile with e.g. [styling=C].
887 Add function utils_make_filename() for building filenames easily.
888 * THANKS, plugins/classbuilder.c:
889 Improve Class Builder plugin dialog UI using a table (patch by
890 Matthew Brush, thanks).
891 * plugins/classbuilder.c:
892 Fix GLib warning when creating classes and no documents are open
893 (patch by Matthew Brush, thanks).
894 * plugins/classbuilder.c:
895 Undo patch change to cc_option_label_new() to append a ':' colon to
896 label text because this unnecessarily causes string translations to
898 * src/interface.c, geany.glade:
899 Fix wrong label capitalization for Toolbar Preferences dialog tab
901 * data/filetypes.Scala.conf, data/filetype_extensions.conf:
902 Add Scala custom filetype, based on file by werg (thanks).
903 (This uses the newly added [styling=C] syntax).
905 Make special case for filetypes.matlab instead of truncating all
906 filetype config filenames at slash.
908 Fix generating tag files and --ft-names option by ensuring GTK is
909 initialized before calling ui_get_mime_icon().
912 2011-03-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
914 * THANKS, src/about.c:
915 Adding Wei-Lun Chao as current maintainer for traditional Chinese
919 2011-03-15 Colomban Wendling <colomban(at)geany(dot)org>
921 * src/templates.c, src/templates.h:
922 Use the same indentation for all templates (part of FR#3193527; from
923 a patch by Matthew Brush, thanks).
925 Always keep the list of loaded plugin sorted by name.
928 2011-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
930 * data/filetype_extensions.conf:
931 Add Markdown extension.
934 2011-03-10 Colomban Wendling <colomban(at)geany(dot)org>
937 Correctly expand the menubar if the toolbar is appended to it but
938 not visible (closes #3204955).
939 * plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
940 src/tools.c, src/utils.c:
941 Prefer prepend elements to lists rather than append them, for better
945 2011-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
948 Fix wrong code example in the API docs
949 (spotted by Matthew Brush, thanks).
952 2011-03-07 Colomban Wendling <colomban(at)geany(dot)org>
954 * tagmanager/mio/mio-memory.c:
955 Import upstream MIO changes not to require a C99 compiler.
958 2011-03-06 Colomban Wendling <colomban(at)geany(dot)org>
961 When sorting tags by line, also sort by scope if line is the same,
962 avoiding wrong sorting if a parent tag is on the same line than its
963 children, and one of it's children would be sorted before
964 alphabetically (closes #3193982).
967 2011-03-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
969 * src/interface.c, geany.glade:
972 Remember Find and Replace options across restarts
973 (patch by Dimitar Zhekov, thanks).
975 Respect saved state of 'Case sensitive' option when using
976 the 'Regular expressions' option as well.
978 Add option to insert line numbers (closes #3197150).
980 Use the full filename and add the extension of the export format.
981 Fix off-by-one bug which hidden the last empty line of a document.
984 2011-03-05 Colomban Wendling <colomban(at)geany(dot)org>
986 * configure.ac, wscript, makefile.win32, src/Makefile.am,
987 src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
988 tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
989 tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
990 tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
991 tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
992 tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
993 Move most of TagManager's I/O to MIO.
995 Enable in-memory tag parsing.
996 * geany.glade, src/editor.c, src/editor.h, src/interface.c,
998 Add possibility to update symbol list in IDLE time, enabled by
999 default using a minimal delay of 250ms.
1001 Improve implementation of hide_empty_rows() to do all in one shot.
1002 * tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
1003 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
1004 tagmanager/tm_workspace.c:
1005 Make TMTag reference-counted.
1006 * src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
1007 tagmanager/tm_tag.c:
1008 Provide a GType for TMTag and use it in the tag store to make sure
1009 the tags it holds are always valid.
1011 Don't remove and add the symbols tree view if we re-add the same one.
1012 * src/sidebar.c, src/sidebar.h, src/symbols.c:
1013 Update the symbol list rather than clearing and re-building it.
1014 There is room for improvement in the implementation side, but it
1015 is harder to do, probably a future improvement.
1017 Fix suffix of anonymous symbols (structs, enums, ...).
1022 2011-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1024 * plugins/saveactions.c:
1025 Fix wrong warning on empty backup directory setting if
1026 'Backup Copy' is not enabled at all.
1027 * AUTHORS, src/about.c, README.Packagers, README:
1028 Welcome Colomban Wendling, a new Geany developer.
1031 2011-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1034 Fix segfault when inserting e.g. fileheader template when the
1035 template file is empty (#3070913, thanks to lphilpot).
1038 2011-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1040 * plugins/filebrowser.c:
1041 Add support for multiple file filters, separated by semicolon
1042 (based on a patch by Grigory Javadyan, thanks).
1045 2011-02-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1047 * data/filetype_extensions.conf:
1048 Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
1052 2011-02-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1054 * tagmanager/latex.c:
1055 Add a workaround for #3066566 to prevent Geany from crashing during
1056 loading of a LaTeX-file containing linebreaks inside headings.
1059 2011-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1062 Fix memory leaks (reported by an anonymous IRC user).
1063 * doc/geany.txt, doc/geany.html:
1064 Replace '+' by '-' in the Scintilla Keybindings section
1065 to be consistent with the other mentioned keybindings.
1067 Improve error checking when trying to write project files
1068 (patch by Colomban Wendling, thanks).
1069 Add a warning if writing the project file fails on close.
1070 * src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
1071 Rename utils_is_file_writeable() into utils_is_file_writable().
1074 2011-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1077 Ensure the editor widget has the focus when the editor menu is
1079 * scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
1080 scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
1081 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
1082 src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
1083 tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
1084 data/filetype_extensions.conf, wscript:
1085 Add filetype Cobol (based on a patch by Seth Keiper).
1088 2011-01-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1090 * plugins/filebrowser.c:
1091 Add '.pyc' to the list of hidden object files
1092 (patch by Filip Gruszczyński, thanks).
1095 2011-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1098 Update copyright information.
1099 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1100 geany_private.rc, win32-config.h, wscript, src/geany.h:
1101 Post-release version bump.
1104 2011-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1106 * src/highlighting.c, data/filetypes.javascript:
1107 Add and use secondary keywords for filetype JavaScript,
1108 update and sanitize JavaScript keyword lists
1109 (patch by Jason Oster, thank you).
1112 2011-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1114 * THANKS, src/about.c:
1115 Added Rafael Peregrino da Silva to list of contributors for Brazilian
1116 Portuguese (pt_BR) translation.
1119 2011-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1121 * src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
1122 Add Save As toolbar button option (patch by Matthew Brush, thanks;
1124 * scintilla/*, src/utils.c, src/notebook.c,
1125 data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1126 data/filetypes.cs, data/filetypes.c, wscript:
1127 Merge unstable branch:
1129 Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
1131 Add 'Open in New Window' command in the notebook tab menu (based on
1132 patch by Matthew Brush, thanks - #3118059).
1133 - data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1134 data/filetypes.cs, data/filetypes.c:
1135 Disable preprocessor #define tracking for the CPP lexer
1136 (enabled by default in Scintilla).
1137 - scintilla/*, wscript:
1138 Update Scintilla to version 2.22.
1139 Use Scintilla's directory structure mostly and only remove
1143 2011-01-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1145 * New release: Geany 0.20 "Disra".
1148 2011-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1151 Add debug message with the number of compatible plugins in each
1152 plugin search path when showing the Plugin Manager dialog.
1155 2010-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1157 * doc/geany.txt, doc/geany.html:
1158 Move and update 'Custom filetypes' section.
1159 Add 'Creating a custom filetype from an existing filetype' section.
1162 2010-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1164 * src/interface.c, src/keybindings.c, geany.glade:
1165 Add Edit->Insert Alternative White Space menu item (was previously
1166 removed from Edit->Commands submenu).
1169 2010-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1171 * src/interface.c, geany.glade:
1172 Split Preferences dialog Interface tab into subnotebook to reduce
1173 height of dialog (fixes #3141277). Reuses existing strings.
1175 Scroll to the current line when moving the cursor to the next
1176 cursor position in a snippet (#3139490).
1177 * doc/geany.txt, doc/geany.html:
1178 Add short 'View menu' section and 'Color schemes menu' section.
1179 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1180 Add filetypes_get_display_name() to API.
1183 2010-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1186 Reduce Set Build Commands dialog column 1 width by using '#' label.
1189 Use italic for note labels in the Build Commands dialog.
1192 2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1194 * src/build.c, src/build.h:
1195 Replace doc-comments with '/* *' comments to show there's no build
1199 2010-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1201 * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
1202 Fix segfaults when using 'Send Selection to Terminal' and the VTE
1203 is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
1204 pref (patch by Dimitar Zhekov, thanks).
1205 * src/build.c, src/keyfile.c:
1206 Fix some more wrong uses of vte_info.load_vte instead of
1209 Disable 'Send Selection to Terminal' item when not available
1210 instead of removing it to avoid trailing separator.
1211 * doc/geany.txt, doc/geany.html:
1212 Add 'Configuration file paths' section and link to it instead of
1213 repeating typical system data and user config directory paths.
1214 List 2 Tools->Configuration Files menu items.
1215 Add 'Plugin Manager' section break.
1216 Edit some related sections.
1217 * doc/geany.txt, doc/geany.html:
1218 Update Ignore Tags section with example and menu item.
1219 * doc/geany.txt, doc/geany.html:
1220 List 'Tools->Configuration Files->filetypes.common' menu item.
1223 2010-12-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1226 Improve error message for document_save_file() if doc->file_name is
1227 NULL (reusing existing strings).
1228 Add warning about this in the API docs.
1231 2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1233 * scintilla/ScintillaGTK.cxx:
1234 Backport Scintilla HG fix: Remove styling idle in destructor to
1235 avoid crashing when idle called after ScintillaGTK instance
1236 destroyed (fixes #3111058).
1237 This prevents a crash when closing a modified document (usually
1238 without a trailing newline) and choosing Save.
1241 2010-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1244 Warn about file truncation if unsafe file saving fails.
1247 2010-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1250 Check result of fclose() for utils_write_file().
1253 2010-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1256 Enable GIO and built-in regex support on Windows
1257 when compiling without Waf.
1260 2010-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1263 Reformat and improve the Windows resource file.
1266 2010-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1268 * data/filetype_extensions.conf:
1269 Add *.latex pattern.
1270 * src/interface.c, geany.glade:
1271 Add note to indentation prefs page about using Project->Apply
1272 Default Indentation for currently open documents.
1275 2010-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1277 * src/interface.c, src/keybindings.c, src/callbacks.c,
1278 src/callbacks.h, geany.glade:
1279 Add 'Mark All' Search menu command.
1280 * src/symbols.c, doc/geany.txt, doc/geany.html:
1281 If the current word's tag is on the current line, make Go to Tag
1282 Definition look for a tag declaration instead, as this is more
1283 useful. Likewise make Go to Tag Declaration search for a tag
1284 definition in this case also.
1285 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1286 Don't use 'Enable' in pref labels when unnecessary.
1287 Rename XML/HTML tag autocompletion -> auto-closing.
1288 * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
1290 Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
1292 * src/keybindings.c, src/editor.c, src/editor.h:
1293 Add editor_get_prefs() instead of editor_get_long_line_*()
1294 functions. This general function can be extended to support
1295 various project and document overrides.
1296 * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
1297 src/editor.c, src/editor.h:
1298 Remove unnecessary 'global' from long line editor pref field names.
1301 2010-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1303 * doc/geany.txt, doc/geany.html:
1304 Explain how to grep the source for Scintilla lexer properties.
1305 * src/sidebar.c, src/callbacks.c, src/main.c:
1306 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
1307 Only auto-display symbols and documents tabs when showing the
1308 sidebar if there are no plugin tabs.
1309 Don't hide the sidebar on startup if only plugin tabs are visible
1312 Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
1313 so you can protect code with '#if GEANY_API_VERSION >= 200'.
1315 Warn about preprocessor testing GEANY_API_VERSION below 200 because
1316 those tests will always fail.
1319 2010-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1321 * data/filetypes.xml:
1322 Add 'instanceof' keyword for PHP (closes #3109330).
1325 2010-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1327 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1328 Re-focus Set Build Commands/Project dialogs after editing a build
1330 Add 'parent' argument to some dialogs_show_input*() functions because
1331 the dialog parent may not always be the main window.
1332 * src/build.c, src/dialogs.c, src/callbacks.c:
1333 Don't change default build command entry color when cancelling
1335 Make dialogs_show_input() return NULL when cancelled.
1337 Parse PHP final functions (fixes #3111171).
1338 * src/dialogs.c, src/plugindata.h, src/plugins.c,
1339 plugins/geanyfunctions.h:
1340 Add dialogs_show_input() to API.
1343 2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1345 * src/build.c, doc/geany.txt, doc/geany.html:
1346 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
1347 Build Commands dialog.
1348 * doc/geany.txt, doc/geany.html:
1349 Use 'Filetype build commands' and 'Independent build commands'.
1350 Fix saying project *independent* execute can only be set by hand.
1353 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1355 * src/keybindings.c, src/editor.c, src/editor.h:
1356 Make Reflow Lines/Block command use the current indented block, not
1357 the whole paragraph, which could have mixed indentation.
1358 Fix memory leak and off-by-one bug on first line when using Select
1360 * src/utils.c, src/highlighting.c, src/highlighting.h,
1361 src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
1362 plugins/geanyfunctions.h:
1363 Add API functions (patch by Eugene Arshinov, thanks):
1364 Move editor.c: is_{string,comment,code}_style() functions to
1365 highlighting.c, add to API.
1366 Add editor_find_snippet(), editor_insert_snippet(),
1367 utils_find_open_xml_tag() to API.
1370 2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1372 * src/editor.c, doc/geany.txt, doc/geany.html:
1373 Don't use XML tag auto-indentation when '</' is to the right of the
1374 cursor; allow auto-indentation when XML tag auto-closing is also
1376 * doc/geany.txt, doc/geany.html:
1377 Rename 'Format' section 'Filetype configuration'.
1380 2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1383 Update Waf to current SVN version.
1386 2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1389 Update Waf to version 1.6.1.
1390 Update wscript for new Waf version, make it Python 3 compatible.
1393 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1396 Display better error messages when saving a document fails (patch by
1397 Dimitar Zhekov, thanks).
1399 Fix wrong snippet indentation when original cursor line has
1400 non-indentation whitespace (patch by david, thanks).
1401 * doc/geany.txt, doc/geany.html, data/filetypes.php,
1402 data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
1403 Enable XML tag autoindentation for PHP, Docbook and add docs for
1404 this setting (patch by Eugene Arshinov, thanks).
1407 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1409 * src/templates.c, src/document.c:
1410 Use LF line endings for templates internally instead of default
1411 pref because the default can change. This fixes missing line
1412 endings sometimes when changing default setting.
1414 Fix not reporting an error message when saving a document fails.
1415 Check result of fclose().
1416 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
1417 data/filetypes.xml, data/filetypes.html:
1418 Add xml_indent_tags filetype setting for documents using the
1419 HTML/XML lexers (patch by Eugene Arshinov, thanks).
1421 Set errno to 0 before doing disk I/O to prevent confusing error
1422 messages on save failure.
1425 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1427 * src/templates.c, src/filetypes.c:
1428 Save build commands for filetype None (patch by Lex, thanks).
1429 Make filetypes_get_conf_extension() return "common" for filetype
1432 Convert line endings for file templates.
1433 Fix line endings when using file header template in a file template
1435 * src/utils.c, src/utils.h:
1436 Make utils_ensure_same_eol_characters() convert all wrong line
1437 endings to the desired one, not just the most common one.
1440 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1443 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
1445 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1446 Restore top-level editor popup item 'Find Document Usage'.
1447 * src/interface.c, src/ui_utils.c, geany.glade:
1448 Remove duplicates in 'Insert Comments' editor popup menu; rename
1450 Separate main menu insertion comments depending on number of times
1452 * data/filetypes.*, data/colorschemes/alt.conf:
1453 Rename word/word2 named styles to keyword/keyword2.
1454 * doc/geany.txt, doc/geany.html:
1455 Mention that indentation settings can be overridden per-project.
1456 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
1457 doc/geany.txt, doc/geany.html, geany.glade:
1458 Add 'Project->Apply Default Indentation' menu command to override
1459 every document's indentation settings.
1460 Improve 'Indentation' section docs.
1463 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1466 Fix build with GTK 2.12: explicitly include gio.h if GIO
1467 is available and to be used regardless of the USE_GIO_FILEMON flag.
1469 Fix installation of template files.
1470 Show which regex implementation is used.
1472 Use non-GIO mime-type icon lookup if GIO lookup fails.
1474 Allow skipping configure during autogen by setting NOCONFIGURE=1
1475 (thanks to Chow Loong Jin).
1478 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1481 Make use_safe_file_saving hidden pref apply even when GIO is
1482 available, because g_file_replace_contents() doesn't handle disk
1485 Show GIO/built-in regex support in startup debug message as well as
1487 * doc/geany.txt, doc/geany.html:
1488 Add docs for the HTMLChars plugin (patch by Frank).
1491 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1494 Do not translate 'name' field for filetype None because it is used
1495 for hash table lookup. This fixes missing files in the Open dialog
1496 for the 'All files' filter with non-English locales (thanks to Sardem
1497 FF7, fixes #3094771).
1498 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
1500 Add filetypes_get_display_name() to get translations for filetype
1503 Fix resource leak when saving files with GIO (patch by Colomban
1507 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1509 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1510 Add sci_get_lexer() to plugin API.
1511 * plugins/htmlchars.c:
1512 Only automatically replace characters when the current document is
1514 * plugins/htmlchars.c:
1515 Rename submenu item labels to be more descriptive.
1516 * src/keybindings.c:
1517 Fix Alt+[0-9] switching tabs when other modifiers are also held.
1519 Don't allow pasting of numbers followed by other characters in the
1520 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
1522 Print "GIO" and "built-in regex" if enabled with --version.
1524 Use g_file_replace_contents() if available to save documents - this
1525 should help workaround bugs in GVFS (based on patch by Alexey
1529 Fix wrongly adding newlines for templates on disk that don't have
1530 LF line endings when default line endings are not LF, e.g. Windows.
1533 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1535 * src/utils.c, src/main.c:
1536 Remove trailing directory separator for app->datadir and
1537 app->docdir for consistency with the other directory fields.
1539 Detect user and system filetype configuration files as Conf
1542 Respect 'Smart' home key for Shift+Home (fixes #3100290).
1545 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1547 * data/filetypes.ada:
1548 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
1551 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1554 Add install-data-only target to only install data/* to speed up
1557 Fix not autocompleting when breaking lines.
1558 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
1559 data/colorschemes/alt.conf, data/filetypes.haxe,
1560 data/filetypes.common, data/filetypes.glsl,
1561 data/filetypes.actionscript, data/filetypes.cs,
1562 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
1563 data/filetypes.Genie.conf:
1564 Add named style 'extra', use for C-like filetypes.
1567 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1569 * data/filetypes.xml:
1570 Match data-* and aria-* as HTML attributes.
1571 * data/colorschemes/alt.conf, data/filetypes.common,
1572 data/filetypes.python:
1573 Make Python use named styles for color scheme support - use
1574 alt.conf color scheme if you want the old colors.
1575 Add named style 'function'.
1577 Move plugin_set_info prototype and parenthesize arguments for
1578 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
1580 Fix putting pointer symbol before name, not after type.
1583 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1585 * src/filetypes.c, src/ui_utils.c:
1586 Fix notebook tab menu icons using theme for "text/plain" filetypes.
1587 Make filetype mime_type "text/plain" instead of NULL.
1590 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1592 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1593 Edit XML tag autocompletion pref and tooltip to include HTML.
1594 * doc/geany.txt, doc/geany.html:
1595 Add docs for 'Ensure consistent line endings' pref.
1597 Change default for 'Override Geany keybindings' to on.
1599 Sort filetypes_by_title last instead of on insertion to prevent
1601 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
1602 Add filetype mimetype field (patch by Colomban Wendling, thanks).
1603 * src/sidebar.c, src/document.c:
1604 Show mimetype icon in sidebar Documents list (patch by Colomban
1607 Add notebook tab document icons (based on patch by Colomban
1610 Leave text/plain mime_type fields as NULL (like custom filetypes).
1613 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1615 * src/editor.c, data/snippets.conf:
1616 Move HTML automatic <table> tag completion into a 'table' snippet
1617 so the user can decide when to use it (patch by Eugene Arshinov,
1619 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
1620 src/document.c, src/document.h, THANKS, geany.glade:
1621 Add 'Ensure consistent line endings' file saving pref (patch by
1622 Manuel Bua, thanks).
1623 * src/utils.c, src/utils.h, src/editor.c:
1624 Auto-indent after an HTML/XML line with a missing closing tag (patch
1625 by Eugene Arshinov, thanks).
1626 Behaviour only applies if XML tag autoclosing is off.
1627 * src/templates.c, src/build.c, src/document.c, src/editor.c,
1628 src/symbols.c, plugins/saveactions.c:
1629 Remove unnecessary uses of FILETYPE_ID() macro with
1630 GeanyDocument::file_type.
1631 * data/filetypes.xml:
1632 Add HTML5 attributes (thanks to Ross McKay).
1635 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1638 Fix not changing edited keybindings when cancelling the Preferences
1640 * data/filetypes.xml:
1641 Add HTML5 element names (thanks to Ross McKay).
1644 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1646 * src/utils.c, src/filetypes.c:
1647 Remove filetype default extensions from code.
1649 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
1651 Refactor shared code with kb_cell_edited_cb().
1654 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1656 * src/highlighting.c:
1657 Use radio buttons for View->Editor->Color Schemes menu.
1658 Don't hide the menu when only the default item is available.
1659 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
1660 Add alternative color scheme based on Python colors.
1661 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
1662 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1663 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1664 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
1665 Add Erlang filetype (patch by Taylor Venable, thanks).
1666 * src/filetypes.c, data/filetypes.*:
1667 Move filetype 'extension' default into data files.
1668 * src/filetypes.c, data/filetypes.vala:
1669 Move filetype comment_{open,close} defaults into data files.
1672 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1674 * data/filetypes.c, data/filetypes.d:
1675 Add missing C99 keyword 'restrict' (#3046716).
1676 Add missing D1 keywords 'ref' and 'macro'.
1679 Parse Vala functions with contracts (#3080232).
1681 Fix saving project indent prefs straight after using project
1683 * src/highlighting.c, src/filetypes.c:
1684 Prevent debug message about a missing 'default' named style when
1685 using just a user color scheme file.
1688 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1691 Fix off-by-one bug in 'search_mark_all'.
1694 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1697 Ignore D /+ +/ comments.
1699 Ignore D unittest blocks.
1700 Parse D template functions with constraints.
1701 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1702 Add 'Insert New Line Before/After Current' keybindings (based on
1703 patch by Eugene Arshinov, thanks).
1705 Use secondary text for 'file not found on disk' dialog.
1708 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1711 Fix build with GLib 2.8.
1714 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1716 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
1717 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
1718 Revert X11 workspace socket support as it needs more work; moved
1719 to workspace-sockets branch.
1722 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1724 * src/geanywraplabel.c:
1725 Fix build with GLib 2.8.
1726 * src/dialogs.c, src/about.c, THANKS:
1727 Group Open dialog encoding options by submenus (patch by Adam Ples,
1729 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
1730 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1731 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1732 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
1733 Add Lisp filetype (patch by Mário Silva, thanks).
1734 Note: Lisp lexer was taken from Scintilla instead.
1737 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1739 * po/kk.po, THANKS, src/about.c:
1740 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
1744 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1746 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
1747 Don't cache overridden lexer properties.
1748 Add foreach_strv() to plugin API.
1749 Add utils_strv_join().
1750 * tagmanager/basic.c:
1751 Parse property, constructor, destructor as functions (patch by
1752 pottersson, thanks; #2992167).
1755 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1757 * src/tools.c, doc/geany.txt, doc/geany.html:
1758 Fix passing quoted arguments when using 'Send Selection to'. This
1759 means sed 's/\./(dot)/g' now works.
1761 Add snippet keybinding support for keys in user snippets.conf (based
1762 on patch by Eugene Arshinov, thanks). No docs yet.
1763 * doc/geany.txt, doc/geany.html:
1764 Add some subheadings for Snippets section.
1765 * doc/geany.txt, doc/geany.html:
1766 Add snippet keybindings docs.
1767 * src/highlighting.c, src/utils.h:
1768 Move foreach_strv to utils.h.
1769 * src/editor.c, data/snippets.conf:
1770 Read snippet keybindings from system keyfile also.
1771 Add keybinding example to default snippet.conf.
1774 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1776 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
1777 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
1778 data/filetypes.txt2tags, data/filetypes.markdown,
1779 data/filetypes.restructuredtext:
1780 Add symbol_list_sort_mode per-filetype setting, set to sort by line
1781 number by default for Markdown, reStructuredText and Txt2Tags.
1782 Add utils_get_setting() macro for reading a key from a home or
1784 Move GeanyFiletypePrivate to filetypesprivate.h.
1785 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
1786 Link with X11 if found to fix linking with a recent GNU ld.
1788 Avoid delay and redrawing when automatically opening a new document
1790 * scintilla/LexForth.cxx, scintilla/makefile.win32,
1791 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1792 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1793 data/filetypes.forth, data/filetype_extensions.conf, wscript:
1794 Add Forth filetype (patch by Thomas Huth, thanks).
1796 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
1797 commands for 'Send Selection to' (oops).
1800 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1803 When commenting/uncommenting with single-line comment characters,
1804 ignore any end of line characters before evaluating the current line.
1805 * data/filetypes.python:
1806 Simplify Python Compile/Syntax Check command.
1809 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1811 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
1813 Add hidden pref 'find_selection_type' with option to repeat last
1814 search when there's no selection.
1815 Change default Find Selection behaviour to not let the X selection
1816 override the current word (can be confusing).
1817 Add docs for Find Selection commands.
1819 Fix segfault on idle callback when quitting.
1820 * src/interface.c, src/keybindings.c, geany.glade:
1821 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
1823 * src/interface.c, geany.glade:
1824 Move editor popup menu Insert Comments submenu to top of Insert menu.
1825 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
1827 Add hidden pref new_document_after_close for whether to open a new
1828 document automatically, off by default.
1830 Add 'Bugs to watch out for' section.
1833 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1835 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
1836 doc/stash-gui-example.c:
1837 Improve Stash GUI example.
1840 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1842 * src/interface.c, geany.glade:
1843 Move Go to Marker menu items to Search menu.
1844 Rename popup editor menu item Commands -> Edit.
1845 * src/callbacks.c, src/search.c, src/search.h:
1846 Move find_again() to search.c.
1848 Make Find Selected commands repeat the last search if the selection
1850 * doc/geany.txt, doc/geany.html:
1851 Add docs for Find Selection keybindings.
1852 * src/interface.c, src/keybindings.c, geany.glade:
1853 Unify Find Selection strings.
1854 * src/interface.c, src/ui_utils.c, geany.glade:
1855 Group editor popup Insert commands in a submenu, with extra items
1856 for the most commonly used Insert Comments commands.
1857 Show Edit->Commands before Format in menubar Edit menu (to match
1859 Show Open Selected F_ile popup item below submenus.
1862 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1865 Refactor shared submenu code with GeanySharedMenu array.
1866 * src/interface.c, src/ui_utils.c, geany.glade:
1867 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
1868 shared with the editor popup menu.
1870 Open a new document automatically after closing all documents.
1873 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1876 Prompt for reloading if the document has an undo stack to avoid
1877 losing undo ability on accidental reloading (patch by Colomban
1879 * src/project.c, src/geanyobject.c, src/geanyobject.h,
1880 doc/pluginsignals.c:
1881 Add plugin signals project-dialog-create and
1882 project-dialog-confirmed so plugins can append a Project Properties
1883 notebook tab (patch by Jiří Techet, thanks).
1884 * src/ui_utils.h, src/plugindata.h, src/main.c:
1885 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
1886 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
1887 src/plugins.c, plugins/geanyfunctions.h:
1888 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
1891 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1894 Save document indent width with the session.
1895 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
1896 doc/geany.html, TODO:
1897 Use a separate socket per workspace on X (patch by Erik de Castro
1901 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1904 Ignore directories passed on the command-line (based on patch by
1905 Erik de Castro Lopo, thanks).
1907 Parse D function template names.
1908 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
1909 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
1911 Allow per-document indent width setting (patch by Jiří Techet,
1912 updated by Erik de Castro Lopo - thanks).
1913 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
1914 Combine indent width menu item callbacks.
1915 * src/interface.c, geany.glade:
1916 Don't translate indent width menu items as they are now used for
1920 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1922 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1923 Remove 3 popup menu items to save space:
1924 Find Document Usage because Find Usage can be used instead.
1925 Go to Tag Declaration because Go to Tag Definition is more common.
1926 Go to Line because the toolbar item can be used instead.
1927 * src/tools.c, src/search.c, tagmanager/python.c:
1928 Fix some 'possible' NULL pointer dereferences (based on patch by
1929 Erik de Castro Lopo).
1930 * src/keybindings.c, src/keybindings.h, src/prefs.c:
1931 Simplify keybindings_check_event().
1934 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1937 Use up/down icons for Previous/Next Error.
1938 * src/interface.c, src/keybindings.c, src/callbacks.c,
1939 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1941 Add Find Usage and Go to Tag items to Search menu for easier
1943 * tagmanager/tm_symbol.c:
1944 Fix possible NULL dereference.
1946 Add link to glade-2.12.2.tar.gz on geany.org.
1947 * doc/geany.txt, doc/geany.html:
1948 Mention the filetype wordchars setting can be overridden by the
1949 whitespace_chars filetypes.common setting.
1950 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
1951 Remove NULL checks when calling g_free() (patch by Erik de Castro
1954 Show Save As when saving if the document filename doesn't have an
1955 absolute path, so command-line new files can be saved without a
1956 prompt, but file templates still prompt the user.
1959 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1962 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
1966 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1968 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
1969 Add GeanyMainWidgets::message_window_notebook for plugins to append
1970 a new notebook page (#3061342).
1972 Add Close button to the detected file changed dialog.
1973 * src/interface.c, geany.glade:
1974 Add separator between Find Previous and Find in Files.
1975 Add up/down icons for Previous/Next Message.
1978 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1980 * data/snippets.conf:
1981 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
1985 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1988 Fix broken editing of build menu labels.
1989 * src/encodings.c, src/filetypes.c, configure.ac:
1990 Auto-enable building with included regex if no regcomp function is
1992 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
1993 regex support is required.
1994 * tagmanager/make.c:
1995 Backport fix for possible infinite loop from CTags.
1996 * scintilla/PlatGTK.cxx:
1997 Backport list box memory leak fixes from Scintilla 2.20.
2000 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2003 Make the Properties dialog filename a label and put it first (patch
2004 by Jiří Techet, thanks).
2005 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
2007 Remove the "Set build working directories" button from the project
2008 properties dialog (patch by Jiří Techet, thanks).
2010 Include all files if the Find in Files pattern field is enabled and
2013 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
2016 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2018 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
2019 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2020 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2021 data/filetypes.txt2tags, wscript:
2022 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
2023 * m4, configure.ac, Makefile.am:
2024 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
2026 Only prompt for reloading if the document has unsaved changes
2027 (patch by Jiří Techet, thanks).
2030 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
2033 Apply a patch by Jiří Techet which is preventing warnings when using
2034 -Wmissing-prototypes on compiling. Thanks.
2037 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2039 * scintilla/KeyWords.cxx:
2040 Link Octave instead of Matlab.
2041 Add comment about not being autogenerated.
2042 Minor changes to fit Scintilla order.
2043 * src/build.c, src/build.h:
2044 Replace GeanyBuildCommand::entries array with separate fields.
2045 Similar to r5077 in the bs2 branch, but with less loop unrolling.
2047 Remove buildcmd_* accessor functions.
2050 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2052 * src/highlighting.c, src/editor.c:
2053 Use Octave lexer instead of Matlab to support Octave # comment char.
2056 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2059 Fix segfault on Tools->Reload Configuration when no documents are
2061 * scintilla/LexMarkdown.cxx:
2062 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
2065 Fix saving non-project filetype error regex.
2067 Fix memory leak in read_regex().
2070 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2073 Check for libsocket on OpenSolaris to fix build.
2075 Rewrite the logic to auto detect encodings a bit to make it more
2076 readable and fix a slightly wrong detection on Windows
2078 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
2080 Add editor_goto_pos() to the plugin API.
2083 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2086 Check for git-svn repo, not just git because find-rev doesn't
2087 always fail with a git-only repo.
2090 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2093 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
2096 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2098 * doc/geany.txt, doc/geany.html:
2099 Reorder Focus keybindings.
2102 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2105 Applying a patch by Erik de Castro Lopo for checking against
2106 pkg-config when running autogen.sh. Thanks for the patch.
2108 Applying a patch by Colomban Wendling to print out log domains.
2112 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2114 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
2115 Use single binding_ids keybinding array instead of individual
2116 arrays for core keybindings. This allows the keybinding IDs to be
2117 merged into one enum; the order of keybindings is now just the
2118 order they are added to each group. Keybindings can be reordered
2119 without breaking the plugin ABI but groups must stay the same.
2121 Fix writing the default value when a key is missing for hidden
2122 prefs, even if it was overridden when it was originally read.
2123 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2124 Move some interface hidden prefs to ui_utils.c.
2126 Revert r4840 scope completion mode as it sometimes breaks
2128 * src/keybindings.h, src/plugindata.h:
2129 Randomly sort keybinding IDs to show there should be no order.
2130 * src/keybindings.c:
2131 Reorder Focus keybindings.
2134 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2136 * src/ui_utils.c, src/ui_utils.h:
2137 Make ui_label_new_bold() a function.
2138 Escape the name of the current document for markup when using
2139 document name for menu items (closes #3038844).
2141 Inherit 'beep on errors' preference for the audible bell preference
2142 for the VTE (closes #3038215).
2145 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2147 * src/utils.c, src/utils.h:
2148 Add utils_get_eol_char().
2149 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
2150 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
2152 Ensure inserted templates always have proper line ending characters
2153 according to the current document's preference.
2154 This is also fixes problems with templates on Windows which had
2155 always Unix line ending characters but now since they are read
2156 from files, these have Windows line ending characters and had been
2160 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2163 Fix build with GTK 2.8, use the stock icon name directly instead
2164 of the macro. Though, the icon is still missing for GTK 2.8.
2166 Make make_comment_block() work with a GString. This is not yet
2167 perfect but a bit better than before.
2170 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2172 * src/keybindings.c, src/vte.c, src/vte.h:
2173 Implement 'Select All' for the VTE widget.
2176 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2179 Fix missing template files in the Windows installer.
2182 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2184 * data/filetypes.python:
2185 Update list of Python builtins, based on Python 2.6.
2188 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2191 On Windows, convert filetype extensions read from config files
2192 to lower case (closes #3028856).
2195 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2197 * src/keybindings.c:
2198 Focus toolbar item when pressing Go to Line keybinding only when
2199 it's not in the toolbar's drop down overflow menu (fixes #3027454).
2202 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2205 Fix build menu translation problems.
2208 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2211 Fix './waf install'.
2214 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2217 Fix scrolling the editor line in view after loading a session and
2218 switching document tabs. Note this causes repainting so needs
2220 * doc/geany.txt, doc/geany.html:
2221 Add note to restart Geany after installing/updating before editing
2223 * src/ui_utils.h, src/main.c, src/ui_utils.c:
2224 Use Stash to save statusbar_template setting, instead of the
2225 load/save-settings signal.
2226 Add ui_init_prefs().
2229 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2231 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2232 Fix writing empty hidden pref "statusbar_template" key so users can
2233 find it (patch by Dimitar Zhekov, thanks).
2234 * src/ui_utils.c, src/ui_utils.h, src/main.c:
2235 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
2238 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2240 * src/build.c, src/project.c, src/project.h:
2241 Show the Project Properties build tab when choosing 'Set Build
2242 Commands' for now to prevent confusion with non-project commands.
2245 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2247 * src/search.c, doc/geany.txt, doc/geany.html:
2248 Fix Grep --exclude-dir example.
2251 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2254 Add sidebar Documents popup menu item 'Find in Files'.
2255 * src/keyfile.c, src/main.c, src/editor.c:
2256 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
2257 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
2260 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2262 * doc/geany.txt, doc/geany.html:
2263 Fix wording - restarting is required for hidden prefs.
2264 File templates don't need manual reloading anymore.
2266 Fix only adding project base path to Find in Files history if it
2267 isn't already there (oops).
2269 Parse lines in the Messages window even if Find in Files hasn't
2270 been used yet (patch by Jiří Techet, thanks).
2273 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2275 * scintilla/LexCPP.cxx, src/highlighting.c:
2276 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
2278 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
2279 data/filetypes.common:
2280 Add filetypes.common fold_symbol_highlight color setting.
2281 Add API macro foreach_range().
2282 * src/printing.c, doc/geany.txt, doc/geany.html:
2283 Always use white background color when printing (except for text
2284 with a white foreground) to save ink (should fix #2968998).
2285 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
2286 Limit build error editor indicators to 50, but parse all errors in
2287 the Compiler tab (fixes #3019823).
2290 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2292 * src/highlighting.c:
2293 Re-enable fold.comment for lexers - it was disabled to prevent C
2294 //{ explicit folding, but that also disables stream comment folding
2296 * tagmanager/tm_workspace.c, tagmanager/get.c:
2297 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
2299 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
2300 doesn't affect the bug with document switching not scrolling cursor
2301 in view after loading a session.
2304 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2306 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
2307 Add statusbar_template hidden pref (based on patch by Dimitar
2309 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2310 Add spaces after RO when using %r in statusbar_template setting.
2311 Add space between encoding and BOM.
2312 Note \t means tab for default text.
2315 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2318 Restore tabbing past Find in Files combo box drop down menus.
2321 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2323 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
2324 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
2326 Move plugin signals docs to pluginsignals.c, using function
2327 pointer syntax instead of @signaldef as this puts a summary of
2328 the signal names at the top of the page and sorts alphabetically.
2329 (Note: the syntax is similar to Vala signal syntax).
2332 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
2335 Make default dialog entries use GTK_STATE_INSENSITIVE color not
2336 a fixed color (Suggestion by Ditmar Zhekov)
2339 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2341 * src/search.c, doc/geany.txt, doc/geany.html:
2342 Implement Find in Files file pattern search.
2344 Add file pattern to combo box history.
2345 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
2347 Use ui_hookup_widget() instead of g_object_set_data_full() for
2351 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2354 Add Files checkbox and combo to Find in Files dialog, currently
2355 does nothing & is disabled.
2356 Don't try to focus the next entry on pressing tab anymore as this
2357 is more complicated now.
2360 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2363 Put Find in Files Search field above Directory field.
2364 * src/search.c, doc/geany.txt:
2365 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
2366 regular expressions' radio buttons with a 'Use regular expressions'
2367 checkbox. This uses the extended syntax (which is the same as the
2368 Find/Replace regex syntax).
2370 Move 2 Find in Files checkboxes for even spacing.
2373 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2375 * tagmanager/tm_work_object.c:
2376 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
2380 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2382 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
2383 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
2384 Add ui_combo_box_add_to_history() to API.
2385 * plugins/filebrowser.c:
2386 Add history to path entry.
2387 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
2388 Fix not loading plugins built against a newer API when Geany doesn't
2389 provide the required version given in PLUGIN_VERSION_CHECK().
2390 Improve documentation for PLUGIN_VERSION_CHECK().
2391 * plugins/filebrowser.c:
2392 Allow Find in Files when no items are selected.
2393 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
2394 Add API signal "build-start" (patch by Jiří Techet, thanks).
2397 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2400 Replace /home/user with ~ in the documents list (patch by Jon
2403 Make default Build dialog entries grey, not light grey (too hard to
2404 read on a white background).
2406 Display 'new instance' on title bar (patch by Eugene Arshinov,
2409 Remove any duplicate on adding to combo box histories.
2412 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2415 Align notebook tab close buttons centred vertically - thanks to
2417 * Merge unstable branch:
2419 Make build config entries light grey until set.
2420 - src/keybindings.c, src/about.c, THANKS:
2421 Fix the wrong file being put on top of the stack when switching tabs
2422 too quickly (patch from Jiří Techet, thanks).
2423 - src/templates.c, data/templates/gpl, data/templates/function,
2424 data/templates/changelog, data/templates/bsd,
2425 data/templates/fileheader, wscript, Makefile.am:
2426 Move general templates from source code into files.
2427 Load general templates from system path instead of creating them in
2428 the user's config dir.
2431 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2434 Add doc/stash-example.c to fix 'make distcheck'.
2436 Change the RequestExecutionLevel for the Windows installer to
2438 * New release: Geany 0.19 "Vellam".
2439 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
2440 geany_private.rc, win32-config.h, wscript, src/geany.h:
2441 Post-release version bump.
2444 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2447 Group undo action for Insert Multiline Comment.
2450 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2453 Don't individually install data/*.tags as all data/* files will be
2457 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
2459 * tagmanager/tm_project.c:
2460 Fix a double free. (patch by Daniel Marjamaki, thanks).
2463 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2465 * tagmanager/tm_workspace.c:
2466 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
2468 Fix reducing paths to project name in the Documents list
2469 (patch by Eugene Arshinov, thanks).
2471 Fix crash when trying to sort NULL pointers as tags in the Symbols
2472 list (closes #3011986).
2473 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
2474 Update Scintilla to version 2.12.
2475 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
2476 scintilla/LexCrontab.cxx:
2477 Remove unused Crontab lexer.
2478 * data/filetypes.css, src/highlighting.c:
2479 Add new style "media" for filetype CSS.
2482 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2484 * doc/geany.txt, doc/geany.html:
2485 Build section: minor rewording, formatting fixes; move some
2489 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2492 Explicitly try to localise build menu item labels with
2493 gettext to enforce getting default labels translated.
2494 * tagmanager/tm_workspace.c:
2495 Fix not closed FILE pointer on early exit
2496 (patch by Daniel Marjamaki, thanks).
2498 Update images for Geany 0.19.
2500 Destroy the default symbol list treeview only once
2501 (fixes gtk_widget_destroy warning on exit).
2504 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2506 * tagmanager/sort.c:
2507 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2509 Fix parsing of C++ classes contain attributes with bitfields
2510 (patch by Lex Trotman, thanks).
2511 * src/plugindata.h, src/plugins.c:
2512 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
2513 plugins' meta information can be translated already in the
2514 plugin manager dialog (patch by Colomban Wendling, thanks).
2517 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2520 Print locale information in debug output.
2522 Fix some labels which were marked as translatable but were not
2523 handled properly by gettext().
2524 Add a missing const.
2526 Try to convert text into UTF-8 before adding it to the Compiler and
2527 Messages Window (closes #3007919).
2530 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2532 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
2534 Pass G_LOG_DOMAIN to source files for better logging.
2537 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
2539 * THANKS, src/about.c:
2540 Update of translation credits to reflect a change on Spanish
2541 translation team better.
2544 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
2547 Fix infinite loop reading build command output
2550 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2553 Fix duplicate accelerators for Clear and Copy in the
2554 Messages Window popup menu.
2555 * src/pluginutils.c:
2556 Expand child widgets in the Plugin Preferences dialog
2557 (patch by Colomban Wendling, thanks).
2560 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2563 Fix Undo/Redo button state after the last document has been closed.
2564 Add Print and Replace toolbar items to the list of document
2567 Fix crash when the toolbar is reloaded without any open documents.
2569 Fix Run toolbar item sensitivity after the last document has been
2571 * plugins/classbuilder.c:
2572 Remove two unnecessary g_strdups().
2573 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
2574 src/plugindata.h, src/ui_utils.h:
2575 Add hidden preference to disable automatic scrolling in the
2576 Compiler tab (closes #3004714).
2579 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2581 * plugins/classbuilder.c:
2582 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2585 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2587 * src/prefs.c, src/project.c:
2588 win32.h can be included unconditionally.
2590 Fix project base_path detection if the path has a trailing slash.
2591 * src/document.c, src/editor.c, src/project.c:
2592 Small improvements to speed up quit process with many open documents.
2593 Avoid calling gtk_notebook_remove_page() on exit as it takes
2595 * src/geanymenubuttonaction.c:
2596 Explicitly check for the type when iterating the action's proxies.
2597 For some reason on Windows, a GtkImageMenuItem proxy is created.
2598 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
2599 src/plugindata.h, scintilla/*, scintilla/include/*:
2600 Update Scintilla to version 2.11.
2601 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
2603 Add new GTK define also for Mingw cross compilation and
2604 makefile.win32 based Windows builds.
2605 * plugins/filebrowser.c:
2606 Implement reading and evaluating hidden file attribute on Windows.
2607 Fix broken "Go Up" if the current path ends with a slash.
2608 * THANKS, src/about.c, src/prefix.c:
2609 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2610 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
2611 src/main.c, src/notebook.c, src/prefs.c:
2612 Add preference to add new document tabs beside the current one
2613 (patch by Colomban Wendling, thanks).
2614 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
2615 src/keyfile.c, src/prefs.c, src/ui_utils.h:
2616 Add a preference for choosing between GTK and native
2617 File Open/Save dialogs (only available on Windows).
2618 * doc/geany.html, doc/geany.txt:
2619 Update documentation.
2622 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2625 Sort file filters for the native Windows file open dialog by name.
2626 Don't use file filters for the native Windows Save As dialog.
2627 * src/dialogs.c, src/win32.c, src/win32.h:
2629 Pass and use also parent and title arguments to
2630 win32_show_document_open_dialog().
2632 Call handle_save_as() only when the Save As dialog was not cancelled.
2634 Improve adding/removing of the special separator between menubar and
2635 toolbar when the toolbar is appended to the menubar.
2636 * src/toolbar.c, src/templates.c:
2637 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
2638 not trigger updating the menus on each item removal.
2641 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2644 Replace one non breaking space by normal space. Patch by
2648 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2650 * plugins/classbuilder.c:
2651 Don't make the 'Create Class' menu item document-sensitive
2652 (patch by Colomban Wendling, thanks).
2653 Add namespace support for GTK+ classes.
2654 Add GET_CLASS() macro for GTK+ classes.
2655 Add typedef of the private structure in the header file instead
2657 (all the above from a patch by Colomban Wendling, thanks).
2658 * src/highlighting.c:
2659 Set common default "fold.comment" to 0 to disable it. This can
2660 be overridden if desired.
2662 Improve sorting of document list items
2663 (patch by Colomban Wendling, thanks).
2665 Remove unnecessary textdomain() call.
2668 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2671 Fix search_find_text not returning -1 when match is out of range.
2672 This fixes invalid memory reads and wrong template filename
2673 wildcard replacement.
2674 * src/search.c, src/document.c:
2675 Only replace template filename matching start of word on saving.
2676 * plugins/filebrowser.c:
2677 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
2678 * src/build.c, src/build.h, src/project.c:
2679 Make some ugly build.h global variables static.
2680 * src/build.c, src/build.h, src/project.c:
2681 Add Build prefix for TableFields, TableData.
2684 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2687 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
2688 * src/dialogs.c, src/win32.c, src/win32.h:
2689 (Re-)Implement a (still basic) native Windows Save As dialog when
2690 compiled with GEANY_USE_WIN32_DIALOG.
2693 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2695 * THANKS, src/about.c, plugins/classbuilder.c:
2696 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
2697 * src/ui_utils.h, src/ui_utils.c:
2698 Add public, generic callback ui_editable_insert_text_callback()
2699 to restrict GtkEntry text inputs to +/- and numeric values only.
2700 * src/dialogs.h, src/dialogs.c:
2701 Add special variant dialogs_show_input_goto_line() to use a normal
2702 GtkEntry together with dialogs_show_input_goto_line() for text input.
2703 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
2704 Allow '+<number' and '-<number>' as values for Goto Line inputs
2705 to jump relative to the current line (closes #2997238).
2708 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2710 * src/highlighting.c:
2711 Apply foreground and background colours of the folding margin
2712 style properly (closes #2998347).
2714 Don't auto-close short XML tags (closes #2994852).
2715 * THANKS, src/about.c, src/keybindings.c:
2716 Improve jumping to matching braces by consistently position the
2717 cursor before or after the matching brace dependent where it
2718 was before (patch by Dimitar Zhekov, thanks).
2720 Fix crash when generating global tags files (patch by Colomban
2724 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2727 Avoid connecting signals more than once.
2730 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2733 Don't ignore the 'intltool' check on non-Windows systems, instead
2734 raise a configure error.
2737 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2740 Fix marking some strings as translatable (cannot be done in the
2742 * src/templates.c, doc/geany.txt, doc/geany.html:
2743 Reload templates if saving a document in the templates config dir.
2746 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2748 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
2750 Fix replacing {filename} template wildcard for custom file
2751 templates with non-default file extension.
2752 Add search_find_text() for POSIX regex searches.
2753 * src/templates.c, doc/geany.txt, doc/geany.html:
2754 Add {project}, {description} template wildcards (#2954737).
2755 * doc/geany.txt, doc/geany.html:
2756 Divide template wildcards into groups.
2757 * src/plugindata.h, src/plugins.c, src/symbols.c,
2758 plugins/geanyfunctions.h:
2759 Add symbols_get_context_separator() to plugin API (patch by Colomban
2763 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2765 * src/keybindings.c:
2766 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
2767 Anonymous, thanks; #2995593).
2768 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
2769 plugins/geanyfunctions.h:
2770 Add sci_set_line_indentation(), sci_get_line_indentation() to API
2771 (patch by Colomban Wendling, thanks).
2774 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2777 Warn user if hidden hard tab width setting is not 8.
2780 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2782 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
2783 doc/geany.txt, doc/geany.html:
2784 Hide 'Tabs and Spaces: Hard tab width' preference - it should
2785 always be 8. (Hidden setting kept in case users have modified it).
2788 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2790 * doc/geany.txt, doc/geany.html:
2791 Add Folding section link to filetypes.common custom settings.
2794 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2797 When switching documents, don't call document_set_text_changed()
2798 as this does much more than necessary. Instead call the necessary
2799 UI update functions explicitly.
2802 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2804 * tagmanager/vstring.c:
2805 Fix invalid memory read (patch by Colomban Wendling, thanks).
2808 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2810 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
2811 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
2812 strings in case of reaching the buffer size limit (part of #2979697).
2814 Change the limit for the command line length when executing commands
2815 to a maximum of 32768 characters (closes #2979697).
2816 Fix broken opening URLs e.g. when using the 'builtin' Run command.
2817 * tagmanager/ctags.c:
2818 Change eFree() to simply ignore NULL pointers instead of asserting.
2820 Remove malloc() fallback since we completely rely on g_malloc()
2822 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
2823 plugins/saveactions.c:
2824 Make string arguments const where appropriate (patch by
2825 Colomban Wendling, thanks).
2826 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
2827 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
2828 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2829 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
2830 src/symbols.c, src/templates.c, src/ui_utils.c:
2831 Make string arguments const where appropriate (patch by
2832 Colomban Wendling, thanks).
2835 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2837 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
2838 Make plugin_signal_connect() string argument const (patch by
2839 Colomban Wendling, thanks).
2840 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
2841 Constify some more string pointers in the API (patch by
2842 Colomban Wendling, thanks).
2843 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2845 Support {pc} wildcard in snippets to escape percent char.
2847 Recalculate line margin width when zooming (fixes #2990553).
2848 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2849 data/filetypes.common:
2850 Support more folding icon styles: arrows, +/- and no lines
2854 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2857 Fix Windows build by properly guarding Unix-only code.
2860 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2862 * src/templates.c, doc/geany.txt, doc/geany.html:
2863 Support {ob} and {cb} in fileheader and file templates; they are
2864 replaced last with { and }. This allows 'escaping' of wildcard
2866 * src/editor.c, plugins/classbuilder.c:
2867 Fix Class Builder plugin to use correct indentation instead of
2869 Make editor_insert_text_block() only replace leading tabs for the
2870 'Tabs' indent type; also group edits for undo.
2871 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2873 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
2876 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2878 * tagmanager/pascal.c:
2879 More fixes to prevent possible crashes by trying to free NULL
2882 Automatically show and hide the sidebar notebook tabs according
2883 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
2885 Add a static global variable to monitor autocompletion mode in order
2886 to prevent cancellation of the struct/class (C/C++) auto completion
2887 list (patch by Thomas Martitz, thanks).
2889 When starting and trying to access the Unix Domain socket of a
2890 potentially running instance, first compare file ownership with the
2891 user id of the running process to prevent accessing a wrong socket
2892 file (part of #2985463, this might not yet be the final solution).
2895 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2897 * plugins/filebrowser.c:
2898 Synchronize popup menu and plugin preferences dialog 'Show Hidden
2899 Files' option (fixes #2989288).
2902 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2904 * tagmanager/entry.c, tagmanager/entry.h,
2905 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
2906 tagmanager/parse.h, tagmanager/tm_source_file.c:
2907 Add tm_source_file_set_tag_arglist() to manually set the argument
2909 * tagmanager/python.c:
2910 Use tm_source_file_set_tag_arglist() to set the argument list
2911 field of Python class tags to the argument list of their
2913 Backport a fix from CTags SVN to prevent possible crashes by trying
2914 to free NULL pointers.
2917 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2919 * tagmanager/txt2tags.c:
2920 Remove duplicate code from Txt2Tags parser.
2921 Remove the title control characters ('=') when parsing titles.
2922 Also parse numbered titles (closes #2984703).
2923 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2925 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
2926 Add missing documentation for 'Reset Zoom' keybinding.
2928 Another attempt to fix the PHP parser regexp for parsing functions.
2929 Fix wrong parsing of function arguments when those contain nested
2930 brackets (as reported by Harold Aling).
2932 Fix Ctrl-Click on notebook tab if Numpad is active.
2935 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2937 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
2938 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
2939 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
2940 src/ui_utils.c, src/ui_utils.h:
2941 Add option 'System Default' for toolbar icon style and size to
2942 use the GTK default value.
2943 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2944 src/toolbar.c, src/toolbar.h:
2945 Shorten the toolbar popup menu, only provide items for Toolbar
2946 Preferences and to Hide the toolbar.
2948 Instantly update the toolbar icon size and style when the
2949 corresponding global GTK settings are changed.
2950 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
2951 src/plugindata.h, src/socket.c:
2952 Add new command line option --list-documents to return a list
2953 of currently opened documents (closes #2979933).
2956 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2958 * plugins/htmlchars.c:
2959 Make plugin remember whether replacement of special characters was
2960 activated even after restart of Geany or reloading of plugin.
2963 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2966 Fix inserting snippets with an indent when using Mac CR line
2969 Update status bar after using Document->Set Line Endings.
2971 Improve API docs for editor_insert_text_block().
2974 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2977 Refactor snippets_complete_constructs().
2978 Remove an unnecessary TODO.
2980 Fix indenting a snippet when there is whitespace after the
2984 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2986 * doc/geany.txt, doc/geany.html:
2988 * src/build.c, src/msgwindow.c:
2989 Fix disabled compiler message tracking if using indicators to
2990 show build errors is disabled (closes #2982834).
2993 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2995 * scintilla/Editor.cxx:
2996 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
2997 and SCI_GETSELECTIONEND with rectangular selections. This fixes
2998 replacing in a rectangular selection.
3001 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3004 Re-detect any document filetypes set to None after reloading
3005 filetype extensions (closes #2979661).
3007 Fix showing '...' item last instead of first for document word
3011 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3013 * data/filetypes.perl:
3014 Adjust Perl Compile command to use the -c command
3015 line option to perform a syntax check instead of using the
3016 deprecated ByteCompile module.
3017 Add error_regex to parse error messages and warnings when performing
3018 syntax checks on Perl files.
3021 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3023 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
3024 Add API docs for keybinding enums.
3025 * src/notebook.c, doc/geany.txt, doc/geany.html:
3026 Make Ctrl-click on any notebook tab switch to the last used
3030 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3032 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
3033 src/geanyentryaction.c, src/geanyentryaction.h,
3034 src/geanywraplabel.c:
3035 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
3036 object for efficiency.
3039 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3041 * plugins/classbuilder.c:
3042 Beep if the user hasn't entered a class name on pressing OK.
3044 Fix replacing '^' regex.
3045 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3046 plugins/geanyfunctions.h:
3047 Add Stash widget functions to API.
3049 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
3053 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3055 * THANKS, src/vte.c:
3056 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
3058 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3059 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
3060 plugins/geanyfunctions.h, plugins/geanyplugin.h:
3061 Add Stash setting functions to API.
3062 Remove unnecessary argument to stash_group_load_from_file().
3063 * src/geanyobject.c, plugins/classbuilder.c:
3064 Don't generate FOO_GET_PRIVATE() macro because caching the result
3065 in Foo::priv can be much more efficient.
3068 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3071 Fix cursor positioning when toggling comments
3072 (patch by Thomas Martitz, thanks).
3075 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
3077 * src/keybindings.[hc]:
3078 Added Control+0 for zoom reset, see suggestion from #2969886.
3081 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3083 * src/search.c, src/document.c:
3084 Fix wrong selection range after Replace in Selection.
3087 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3090 Make CreateChildProcess() working with Unicode strings, e.g.
3091 directory names (closes #2972606).
3093 Remove reference to already removed latex.tags file.
3094 Future releases probably still depend on GTK 2.16.
3095 * scintilla/ScintillaGTK.cxx:
3096 Backport fix from Scintilla CVS to not paste text beyond the end
3097 of lines (closes #2969096).
3098 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
3100 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
3101 to not set Geany's minimum window size anymore (closes #2972992).
3102 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
3105 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3108 Make adding string and string vector settings initialise the setting
3110 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
3111 Add stash_group_load_from_file() and stash_group_save_to_file().
3114 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3116 * data/filetypes.common:
3117 Set default for wrapped lines to show marker at end of line only
3118 (more expected and doesn't change line alignment - closes #2972386).
3119 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
3120 src/pluginutils.c, doc/plugins.dox:
3121 Improve API docs contents page by listing all commonly-used files.
3122 Fix 'Date' appearing twice on the date line.
3123 Don't generate API docs for prefs.h, toolbar.h (unused).
3124 Move some '@file' doc-comments to the .c file.
3125 * src/interface.c, geany.glade:
3126 Add frame for 'Printing' prefs dialog page.
3127 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
3128 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
3129 doc/stash-example.c:
3130 Rename Stash data types to be independently named from Geany (so
3131 Stash can be reused for other projects).
3132 Rename GeanyPrefGroup to StashGroup.
3135 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3137 * tagmanager/python.c:
3138 Apply patch from Colomban Wendling to parse Python lambda functions
3139 (thanks) - modified to only parse toplevel or class member lambdas.
3140 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
3141 doc/stash-example.c:
3142 Add doc-comments for Stash setting functions.
3143 Add an example file showing usage of Stash.
3144 (Not enabled yet until added to the plugin API).
3147 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
3150 Fix using return value without checking return status, caused
3151 incorrect sensitivity settings on build dialog.
3154 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3157 Add tip about gcc optimization & warnings/debugging.
3158 Add Testing section.
3159 Update Libraries section about synchronizing with other projects.
3162 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3165 For now revert the recent patch which set real_path of newly
3166 open non-existent configuration files as this seems hackish and
3167 causes 'file not found' warnings.
3169 Fix/Improve GIT repository detection
3170 (patch by Thomas Martitz, thanks).
3171 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3173 Add utils_copy_environment() to the plugin API.
3176 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3178 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
3179 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
3181 Use 3rd person for more API dox.
3182 Change 'This is a wrapper function for...' to 'Wraps...' in brief
3184 Change 'After all...' to 'Afterwards...'.
3185 * src/interface.c, geany.glade:
3186 Apply patch from Eugene Arshinov to make frame packing/alignment
3187 more consistent (thanks).
3190 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3193 Fix ui_button_new_with_image() to call gtk_button_set_image() so
3194 that gtk_button_[sg]et_label() work as expected.
3195 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
3196 Make Build Commands dialog show menu item labels as a button (to
3197 help show that menu labels don't normally need to be edited &
3198 display the mnemonic correctly). Clicking shows an input dialog to
3199 set a new menu item label.
3200 Split dialogs_show_input() into 2 functions: one simple, one for
3201 a persistent dialog.
3202 Fix possible double-destroy of input dialog when closed by user.
3204 Fix not destroying 'Make Custom Target' input dialog after first
3207 Make Long Line Marker settings for existing projects default to
3208 general settings instead of 0 (thanks to Eugene Arshinov).
3209 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
3210 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
3211 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
3212 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
3213 Use 3rd person (gets not get) for API function brief descriptions.
3214 Avoid using 'convenience function' in API brief descriptions.
3217 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3219 * doc/geany.txt, doc/geany.html:
3220 Warn about some GNU extensions for regular expressions & clarify
3222 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
3223 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
3224 src/editor.h, geany.glade:
3225 Apply patch from Eugene Arshinov to add project long line marker
3226 customisation (thanks).
3227 * src/interface.c, geany.glade:
3228 Edit/tidy 'Long line marker' labels.
3231 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
3233 * src/build.c, src/project.c:
3234 Fix crash due to NULL in project build preferences (thanks to
3238 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3240 * src/utils.c, src/utils.h, src/search.c, src/search.h,
3241 src/document.c, doc/geany.txt, doc/geany.html:
3242 Merge gnu-regex branch:
3243 Use POSIX system/GNU regex engine for find & replace 'Use regular
3244 expressions' option. This alters regex syntax a bit - see the docs
3245 for details; we now support '?' operator and replacement backslash
3246 escaping is more standard.
3247 Make regex search imply replacing escaped chars.
3248 Allow \0 backreference replacement for the whole match.
3249 Note: Replace All may be slower; if this is a problem please let me
3252 Add argument to utils_str_replace_escape() for keeping
3253 uninterpreted backslash escapes e.g. '\\', '\e'.
3254 * scintilla/LexMarkdown.cxx:
3255 Backport minor formatting/style changes from Scintilla project.
3256 * doc/geany.txt, doc/geany.html:
3257 Remove warning about no visual indication for zero-column-mode
3261 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3264 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
3267 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3269 * wscript, scintilla/*, scintilla/include/*:
3270 Update Scintilla to version 2.03.
3271 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
3272 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
3273 Add preference for virtual spaces.
3275 Fix wrong default response for the Debug Messages dialog.
3277 Fix crashes when using Save As with no open files (closes #2964406).
3279 Fix duplicate mnemonics on 'Resave missing file' dialog, also
3280 move the question from the secondary to the main text to be
3281 more compatible with the Gnome HIG.
3282 Fix broken 'Save' action in 'Resave missing file' dialog.
3284 Improve PHP parser to parse also the argument lists of PHP functions.
3286 Correctly set the parent widget for the keybinding overwrite
3287 confirmation dialog.
3289 Fix setting the icon for some dialogs if the parent itself is also
3292 When editing non-existent config files using the Tools->Configuration
3293 Files menu, explicitly set the real_path to avoid presenting the Save
3294 As dialog when saving the file (patch by Tony Rick, thanks).
3296 Focus the editor widget after hiding the sidebar when it had the
3297 input focus (patch by Can Koy, thanks).
3298 Properly show/hide the mesages window when using the View menu item
3300 * plugins/filebrowser.c:
3301 After opening files, focus the editor widget
3302 (based on a patch by Can Koy, thanks).
3303 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
3304 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
3305 src/ui_utils.h, src/vte.c:
3306 Add and use convenience function ui_is_keyval_enter_or_return() and
3307 add it to the plugin API.
3310 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3312 * src/about.c, THANKS, po/ast.po:
3313 Added Asturian translation. Thanks to Marcos Costales for providing.
3316 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3319 Fix keyboard accelerators in debug messages window
3323 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3325 * scintilla/LexR.cxx:
3326 Backport R lexer from Scintilla CVS to fix case sensitive keywords
3327 (Scintilla bug #2956543).
3328 * src/sidebar.c, src/about.c, THANKS:
3329 Make Space on the symbol and document list not focus the editor
3330 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
3331 * src/document.c, src/document.h:
3332 Fix document_try_focus() to make it work with the sidebar document
3334 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
3335 Make Space on the compiler and messages widgets not focus the editor
3336 widget while Enter does (patch by Can Koy, thanks).
3338 Fix wrongly auto-detected multiline comments
3339 (patch by Eugene Arshinov, thanks).
3342 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3345 Show number of lines of current document inside statusbar. Thanks to
3346 Can Koy for providing the patch.
3349 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3351 * src/keybindings.c, doc/geany.txt, doc/geany.html:
3352 Make Switch to Editor keybinding reshow the document statistics
3353 line, so user doesn't have to move the cursor.
3356 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3359 Update keywords for the R language (patch by Jon Senior, thanks).
3362 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3365 Fix the instruction how to insert unicode characters
3369 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3371 * scripts/create_py_tags.py:
3373 Replace tabs by spaces.
3374 * plugins/genapi.py:
3376 Replace tabs by spaces.
3377 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
3378 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3379 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
3380 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
3381 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
3382 src/plugindata.h, src/sidebar.c, src/sidebar.h:
3383 Add keybindings to switch to the sidebar's Document and Symbol list
3384 as well as to the Message Window's current tab
3385 (patch by Eugene Arshinov, thanks).
3387 Update primary keywords for the R language
3388 (patch by Jon Senior, thanks).
3391 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
3394 Add more detailed hints about reloading configuration
3395 (thanks to Tony Rick).
3396 * data/filetypes.javascript:
3397 Correct the keyword list for JavaScript (thanks to Jonas).
3400 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3402 * New release: Geany 0.18.1 "Balfour".
3405 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3407 * src/keybindings.c:
3408 Add special cases for handling the Select All keybinding (Ctrl-A) in
3409 the toolbar search and goto line text entries (closes #2948040).
3410 Strip trailing spaces after reflowing a paragraph, patch by
3411 Dominik Wagenfuehr, thanks (closes #2945497).
3414 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3416 * src/geanymenubuttonaction.c, src/templates.c:
3417 Partly revert last commit:
3418 Unref the new files toolbar menu when freeing templates as it
3419 was done before but unref it *after* the menu has been removed
3420 from the GeanyMenuButtonAction.
3422 Fix possible endless loop when trying to detect the encoding of
3423 non-text files (patch by Alexey Antipov, thanks).
3426 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3429 Allow saving remote files using g_file_set_contents() as well
3430 (patch by Алексей Антипов, thanks).
3431 * data/filetypes.python:
3432 Adjust style for secondary keywords to be less aggressive.
3433 Add Python 2.5 builtins keywords.
3434 * src/geanymenubuttonaction.c, src/templates.c:
3435 Unref the new files toolbar menu when setting a new menu to fix
3436 possible crashes when reloading configuration.
3438 When reloading configuration, process the current document at last
3439 so the symbol list will be updated correctly.
3442 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3445 Explicitly read filetype configuration files before generating
3446 global tags to get settings for custom filetypes.
3449 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3452 Fix GLib warning when toggling 'no plugins available' item.
3455 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3457 * icons/Makefile.am:
3458 Include geany.ico in the distribution tarball.
3460 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
3461 * scripts/create_py_tags.py:
3462 Make the script a bit more robust with newer Python versions.
3464 Use utils_spawn_sync() instead of g_spawn_sync().
3467 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3470 Close meta tag for export date properly.
3473 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3476 Update RPM Spec file (patch by Dominic Hopf, thanks).
3479 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3482 Fix renaming sci_send_message(), sci_send_command() function
3486 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3488 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
3489 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
3490 plugins/geanyfunctions.h, plugins/Makefile.am,
3491 plugins/pluginmacros.h, plugins/genapi.py, wscript:
3492 Use full function name for GeanyFunctions function pointers. This
3493 avoids naming conflicts e.g. with C++'s 'new' keyword.
3494 Remove deprecated header pluginmacros.h - use geanyfunctions.h
3498 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3500 * src/utils.c, src/utils.h, src/vte.c:
3501 Add utils_copy_environment() and make use of it.
3502 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
3503 src/editor.c, src/templates.c, src/templates.h:
3504 Add new special template wildcard "{command:...}" to use the
3505 output of a command in templates.
3506 Adjust template functions to mostly work with GeanyDocuments.
3507 Minor cleanups in the template code.
3509 Replace the old icons with smiley icons from the Rodent icon theme.
3510 Fix showing the same icon for two or more slots.
3512 * src/editor.c, src/editor.h, src/keybindings.c:
3513 Rename fold_symbol_click() to editor_toggle_fold().
3514 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
3515 was used to respect the 'Fold/unfold all children' preference
3519 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3522 Prevent possible segfault in get_build_group().
3524 Fix GLib warning & beep if trying to insert multiline comment for a
3525 filetype that doesn't support it.
3528 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3531 Add gcc commands to build a plugin to the HowTo.
3532 * src/search.c, src/document.c, src/document.h:
3533 Show 'Replaced X matches in Y documents' message when using
3537 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3539 * scripts/plugin_test.c:
3540 Add a little test program which can load and test Geany plugins to
3541 verify it is loadable at runtime and all necessary symbols are
3543 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
3545 Add new signal: "geany-startup-complete" which is sent once all
3546 initialization and startup tasks has been done.
3547 * README.I18N, configure.ac, wscript, po/LINGUAS:
3548 Remove po/LINGUAS from the repository.
3549 Generate it automatically if needed by reading available
3550 message catalogs from the po directory.
3551 Also respect the LINGUAS environment variable properly.
3554 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3557 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
3561 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3563 * src/editor.c, src/templates.c, src/templates.h:
3564 Refactor templates_replace_all() into templates_replace_valist()
3565 to save some code duplication.
3568 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3570 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
3571 src/plugindata.h, src/plugins.c:
3572 Add editor_insert_text_block() to plugin API.
3575 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3578 Update copyright information.
3579 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3580 doc/geany.txt, doc/geany.html:
3581 Add keybinding to open the last closed tab (closes #2912692).
3584 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3586 * autogen.sh, configure.in, configure.ac:
3587 Rename configure.in to configure.ac.
3588 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
3590 Add sci_find_text() to the plugin API.
3591 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3592 src/interface.c, src/prefs.c:
3593 Add a checkbox in the preferences dialog to explicitly toggle
3594 the visibility of the sidebar (closes #2923340).
3597 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3599 * src/editor.c, src/plugins.c, src/plugindata.h,
3600 plugins/geanyfunctions.h:
3601 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
3602 editor_get_eol_char() to the plugin API.
3603 * src/callbacks.c, src/plugins.c, src/plugins.h:
3604 Fix sensitivity of the Edit->Plugin Preferences menu item
3605 if plugins are loaded which do not provide a configuration dialog.
3606 * scripts/create_py_tags.py:
3607 Rewrite and extend the Python tags parsing script to use
3608 Python's inspect module to read symbols from Python modules
3609 including scope information.
3610 * data/filetypes.restructuredtext:
3611 Add the default comment character sequence for reStructuredText.
3613 Show the Find/Goto dialogs if the corresponding toolbar buttons are
3614 clicked but their text fields are not part of the toolbar (#2920807).
3615 * data/filetypes.common, doc/geany.html, doc/geany.txt,
3617 Add new style to change foreground and background colours for
3618 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
3620 Remember the window position of the Find, Replace and Find in Files
3621 dialogs (closes #2877988).
3624 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
3627 Fix a minor typo inside plugin API reference.
3630 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3632 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
3633 Make dialogs_show_prompt() more flexible to take up to three
3634 button/response code pairs to be shown.
3635 Add a close button to the dialog when asking to Re-Save a
3637 (closes #2916954, based on a patch by Dominik Stadler, thanks).
3639 Fix LaTeX environment auto completion with CR/LF line endings.
3640 Add some sanity checks.
3642 When closing a document after it was deleted from the filesystem,
3643 don't ask whether it should be saved first.
3644 Mark the document only as changed if it is not closed afterwards.
3645 Prevent possible segfaults if the document was closed when it is
3646 missing from the filesystem.
3647 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
3648 src/msgwindow.h, src/prefs.c:
3649 Add MessageWindow::scribble and use it instead of searching the
3650 widget pointer everytime.
3651 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
3652 Add preferences for hiding single tabs from the messages window
3653 (no GUI preferences yet, still to be implemented).
3654 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3655 Set the correct parent window for the toolbar editor
3656 dialog (closes #2913334).
3657 * src/win32.c, src/win32.h, src/ui_utils.c:
3658 Rename win32_show_project_folder_dialog() to
3659 win32_show_folder_dialog() as it is not related and not used by any
3660 project management related code.
3661 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
3662 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
3663 as it is specialised for opening documents.
3664 Implement win32_show_file_dialog() as a generic file open dialog and
3665 use it with ui_path_box_new().
3668 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3671 Extend auto_latex() function to check whether an environment has been
3672 closed within the next lines to avoid auto adding double \end{}.
3674 Remove LaTeX tags from SVN. Can be found at
3675 http://download.geany.org/contrib/tags/ if needed.
3678 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3680 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
3681 Add document_need_save_as().
3682 Show the Save As also for documents created from filetype templates
3683 instead of saving them directly with the untitled filename.
3686 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3688 * geany.glade, src/interface.c:
3689 Move 'Send Selection to Terminal' menu item from Format to Commands
3692 When going to a build error, try the current document's path if
3693 the parsed filename doesn't exist. (This can happen when we receive
3694 build messages in the wrong order - after the 'Leaving directory'
3697 Refactor msgwin_goto_compiler_file_line().
3698 * src/interface.c, src/keybindings.c, geany.glade:
3699 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
3702 Refactor/reformat on_replace_dialog_response().
3705 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3708 Improve geany.spec (split the package into a binary and devel
3709 package, update BuildRequires and other minor improvements).
3710 Patch by Dominic Hopf, thanks.
3713 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3715 * src/filetypes.c, src/filetypes.h:
3716 Make group for custom filetypes.
3717 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
3718 Add custom filetype Genie.
3721 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3723 * src/highlighting.c:
3724 Highlight D & Java types from a global tags file.
3725 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3726 Add debug message warning if recursive lexer_filetype is set.
3727 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
3728 Remove duplicate sci_set_keywords(), make argument const.
3729 * src/highlighting.c:
3730 Only show debug message once if recursive lexer_filetype is set.
3731 Tidy highlighting_init_styles code for filetype None handling.
3732 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
3733 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
3734 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
3735 tagmanager/parsers.h, tagmanager/makefile.win32,
3736 tagmanager/verilog.c, tagmanager/Makefile.am,
3737 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
3738 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
3739 * src/highlighting.c:
3740 Fix segfault on startup (oops).
3741 * data/filetypes.verilog:
3742 Fix using common style colours for Verilog.
3745 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3747 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3748 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
3749 Move C-like filetype properties into configuration files.
3750 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
3752 Remove now unnecessary "styling_within_preprocessor" C style key.
3753 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3754 data/filetypes.glsl, data/filetypes.cs:
3755 Use lexer_filetype=C configuration file key instead of duplicate
3756 styleset functions for C++, C#, GLSL, Vala.
3759 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3761 * doc/geany.txt, doc/geany.html:
3762 Warn about not using BOM for configuration files (confuses GKeyFile
3763 parser, at least on my system).
3765 Add/improve debug messages for custom filetypes.
3768 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3771 Add a couple of further latex-beamer commands to list of LaTeX tags.
3774 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3776 * plugins/filebrowser.c:
3777 Add an in-entry clear icon to the filebrowser plugin's filter
3778 entry (patch by Dominic Hopf, thanks).
3779 * src/prefs.c, src/ui_utils.c:
3780 Fix two compiler warnings about possibly uninitialised variables.
3783 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3785 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
3786 plugins/geanyfunctions.h:
3787 Add main_is_realized() to the plugin API.
3788 * tagmanager/include/tm_tagmanager.h:
3789 Update partly outdated and wrong doc comment.
3790 * src/main.c, src/main.h, src/socket.c:
3791 Allow opening Geany projects remotely.
3792 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
3793 Add a hidden pref to allow executing text which was sent to the
3794 terminal directly, i.e. do not strip trailing newline characters.
3795 Also fix the stripping of trailing newline characters if there was
3799 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3801 * src/about.c, THANKS:
3802 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
3803 Kurt de Bree into section of previous translators.
3806 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3808 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
3809 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
3813 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3815 * src/highlighting.c:
3816 Make stylesets take a ft_id argument so they can be reused fully with
3817 custom filetypes, so custom styles and keywords can be set.
3818 * src/highlighting.c:
3819 Fix setting filetype properties when both the system and the user
3820 file have properties set.
3821 * src/symbols.c, tagmanager/vhdl.c:
3823 * src/highlighting.c:
3824 Fix lexer settings for custom filetypes.
3827 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3830 Remove duplicate regular expression for parsing classes.
3831 Fix and improve parsing of constants (patch by Harold Aling, thanks).
3832 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
3833 src/main.h, THANKS, src/about.c:
3834 Add new command line option "--socket-file" to be able to specify
3835 separate socket filenames for instances
3836 (closes #2896027, patch by Jörn Reder, thanks).
3837 * src/keybindings.c, src/keybindings.h:
3838 Add keybindings_check_event() to manually check GdkKeyEvents against
3839 Geany's keybindings.
3840 * src/callbacks.c, src/utils.c, src/utils.h:
3841 Add and use utils_get_help_url().
3842 * geany.glade, src/interface.c, src/prefs.c:
3843 Add a Help button to the preferences dialog.
3844 Handle Help keybinding events for the preferences dialog especially
3845 and open the manual with the corresponding anchor link to the current
3846 preferences page (same goes for the new Help button).
3849 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3851 * src/toolbar.c, src/geanymenubuttonaction.c,
3852 src/geanymenubuttonaction.h:
3853 Use separate tooltips for toolbar menu buttons and their attached
3855 * tagmanager/latex.c:
3856 Improve parsing of sections and chapters by ignoring shortnames
3857 like \section[shortname]{label} (closes #2890477).
3860 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3862 * src/geanymenubuttonaction.c:
3863 Try to fix Gtk warning when using Tools->Reload Configuration.
3866 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3868 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3869 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
3870 data/filetypes.pascal, data/filetypes.docbook,
3871 data/filetypes.python, data/filetypes.conf:
3872 Use filetypes.foo [lexer_properties] group instead of hardcoding
3873 lexer properties (more flexible e.g. for custom filetypes).
3874 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
3875 Replace filetypes.xml html_asp_default_language key with
3876 filetypes.html asp.default.language property in [lexer_properties]
3880 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3882 * doc/geany.txt, doc/geany.html:
3883 Fix slightly wrong description of how to insert Unicode characters.
3885 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
3886 ui_setup_open_button_callback().
3887 * src/prefs.c, src/prefs.c, src/vte.c:
3888 Refactor color and font button callback functions in the
3889 preferences dialog. Move the VTE related callback functions
3891 Make use of ui_setup_open_button_callback().
3893 Improve printing status texts (patch by Dominic Hopf, thanks).
3894 * src/prefs.c, src/vte.c:
3895 Use the default dialog title set by ui_setup_open_button_callback()
3896 to be more consistent and to save one string.
3899 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3902 Separate DKinds from CKinds.
3903 Don't generate macro tags for D, Java.
3906 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3908 * tagmanager/ctags.c, tagmanager/general.h:
3909 Make TagManager Assert statements cause g_warning on failure.
3910 * src/keybindings.c:
3911 Fix reflow paragraph command when cursor < anchor using
3912 sci_fix_selection().
3915 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3917 * tagmanager/perl.c:
3918 Fix Geany segfault with constant tags (#2895168).
3920 Fix invalid tree iter access when using tv_iters.tag_other but not
3921 using tv_iters.tag_variable.
3922 * HACKING, tagmanager/perl.c:
3923 Fix parsing Perl format statements ("other" type doesn't seem
3925 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
3926 Fix using "other" tag type.
3929 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3932 Remove useless comment about applying settings only when libvte.so
3933 could be loaded which is only displayed *if* libvte.so is loaded.
3935 Allow autocompletion for HTML entities even within a word.
3936 * src/geanymenubuttonaction.c:
3937 Only set the menu of the button if a non-empty GtkMenu is passed to
3938 geany_menu_button_action_set_menu() so the menu arrow keeps
3942 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3945 Fix parsing some Java code (e.g. filetypes.java) after r4407.
3948 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3951 Parse D functions with contracts (fixes #1885480).
3952 Parse D alias statement like typedef.
3953 (Ignore some more D keywords).
3955 Fix creating D interface tags properly.
3957 Parse contents of D extern{} and version{} blocks.
3960 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3966 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3968 * src/plugindata.h, HACKING:
3969 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
3972 Show number of files saved on status bar when using Save All.
3973 * src/highlighting.c:
3974 Use default color scheme if pref color scheme file doesn't exist.
3975 * src/keybindings.c:
3976 Fix moving correct lines after selecting whole line(s).
3979 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3981 * tagmanager/makefile.win32:
3982 Fix broken build on Windows because of a typo
3983 (patch by Timothy Boronczyk, thanks).
3986 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3988 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
3990 Add 'View->Editor->Color Schemes' menu, for now only shown if color
3991 scheme files exist in a colorschemes config directory. Color scheme
3992 files must end in ".conf" and currently only the [named_styles]
3994 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
3995 Add utils_get_config_files().
3996 * src/highlighting.c:
3997 Fix issue with default color not being reset if overridden with a
3998 system default color.
3999 * src/highlighting.c:
4000 Only reload filetype files when changing color scheme, not all
4001 configuration files.
4002 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
4003 Deprecate documents_foreach() as it looks more like a function; use
4004 foreach_document() instead.
4005 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
4008 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4010 * src/stash.c, src/stash.h:
4011 Use typedef instead of pointer for widget_id function arguments.
4014 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4016 * src/pluginutils.c:
4017 Don't expand Plugin Preferences page spacing vertically to fill the
4018 height of the dialog.
4019 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
4020 geany.glade, plugins/splitwindow.c:
4021 Allow GeanyKeyBinding label field to contain underscores, which won't
4022 be displayed by Geany. This saves adding near-duplicate translation
4024 Add mnemonics for 3 Edit->Format menu items.
4025 Add keybindings_get_label().
4026 * src/interface.c, geany.glade:
4027 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
4031 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4034 Desensitize Edit->Commands menu item when no docs are open.
4035 * src/interface.c, src/keybindings.c, src/callbacks.c,
4036 src/callbacks.h, geany.glade:
4037 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
4038 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4039 Add general function sci_get_string() that works with any string
4040 buffer messages that follow the Windows message convention.
4041 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
4042 src/keybindings.h, src/callbacks.c, src/callbacks.h,
4043 src/pluginutils.c, src/pluginutils.h, geany.glade:
4044 Add 'Edit->Plugin Preferences' menu item and keybinding.
4045 Don't include plugindata.h in pluginutils.h because it redefines the
4046 GEANY() macro for plugin use.
4047 * doc/geany.txt, doc/geany.html:
4048 Update for Plugin Preferences keybinding.
4051 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4054 Sort document word completion list.
4055 * src/interface.c, src/keybindings.c, src/callbacks.c,
4056 src/callbacks.h, geany.glade:
4057 Add some useful commands to editor popup menu under "Commands"
4058 submenu (thanks to Lex).
4059 Move 'Duplicate line or selection' from Format -> Commands submenu.
4060 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4061 Enable switching the sidebar to the right on Windows again, as it
4062 apparently works after all.
4064 Fix using tab to autocomplete in some other situations that word part
4065 completion doesn't apply in.
4066 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
4067 Add Edit->Commands submenu which is shared with the editor popup
4069 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
4070 Change editor popup Commands submenu to start as child of menubar
4071 Edit menu, as this is more usual e.g. for keybindings initialization.
4072 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
4074 Share a single Format submenu for menubar Edit and popup menu.
4077 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4080 Fix a compiler warning about an uninitialised variable.
4082 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4083 sciwrappers.h, build.h (for the Waf build system,
4084 accordingly to r4366).
4087 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4089 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
4090 src/toolbar.c, src/toolbar.h:
4091 Add missing dox for types/files in the API.
4092 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
4093 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4094 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
4095 of functions not in the API).
4096 Warning: any plugins that include these headers should remove them.
4097 * src/build.c, src/build.h:
4098 Move function doc-comments to build.c so they stay in sync. Note:
4099 these functions are still not in the API.
4101 Add 'Doc-comments' plugin API subsection.
4102 * plugins/filebrowser.c:
4103 Fix packing configure widgets equally.
4104 Use spacing multiples of 6 as recommended by Gnome HIG.
4105 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4106 Disable switching the sidebar to the right on Windows as it will
4107 probably fail like the Split Window plugin.
4109 Improve 'Detect from file' indentation pref by ignoring lines with
4110 indentation wider than 24 characters as this is more likely to be
4111 alignment than indentation.
4114 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4116 * plugins/saveactions.c:
4117 Fix adding the filetype's default extension when using the
4118 Instant Save plugin (closes #2885142).
4120 Before looking for line and column numbers specified as part
4121 of a filename, ensure the file doesn't exist on disk. This allows
4122 opening of files like "test:0".
4124 Rename "select" variables into "selection" to avoid shadowed names.
4125 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
4126 Add ui_widget_modify_font_from_string() and sci_goto_line()
4128 * plugins/filebrowser.c:
4129 Rename "select" variables into "selection" to avoid shadowed names.
4130 Make use of ui_widget_modify_font_from_string().
4133 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4135 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
4136 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
4138 Add sidebar position interface pref.
4141 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
4143 * doc/geany.txt, doc/geany.html:
4144 Add missing underscores to links.
4147 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4149 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4150 Add 'Move line(s) up/down' keybindings.
4153 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
4155 * src/build.c, src/build.h, src/filetypes.h:
4156 Include code for project filetype execute commands and fix bug in
4157 saving project filetypes list.
4158 * src/project.c, src/build.c, doc/geany.txt:
4159 Make non-project execute configuration save to filetypes not
4161 Fix closing of project failing to remove build commands dialog entry.
4164 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4166 * src/project.c, src/ui_utils.c:
4167 Set border width for project properties build table.
4168 * geany.glade, src/interface.c:
4169 Don't expand hard tab width alignment.
4172 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4174 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
4175 doc/geany.txt, doc/geany.html:
4176 Support loading global tags files for custom filetypes.
4177 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
4178 doc/geany.txt, doc/geany.html:
4179 Add 'Word part completion' keybinding so keys other than Tab can be
4180 used, or to clear/change the combination so Tab does full completion
4182 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4183 Add 'Select to previous/next word part' keybindings.
4184 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4185 Add 'Switch to Messages' focus keybinding.
4188 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4190 * doc/geany.txt, doc/geany.html:
4191 Add 'Custom filetypes' section.
4192 * src/filetypes.c, src/filetypes.h, src/document.c,
4193 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
4194 tagmanager/include/tm_source_file.h:
4195 Add filetype "tag_parser" key so custom filetypes can use an existing
4197 Add tm_source_file_get_named_lang().
4198 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
4200 Add filetype "lexer_filetype" key so custom filetypes can use an
4204 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4206 * THANKS, src/about.c:
4207 Add Xhacker Liu for his work at zh_CN translation to long list of
4211 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4213 * src/sciwrappers.c:
4214 Remove unnecessary line number margin padding.
4215 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
4216 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
4218 Improve word part autocompletion so AC list is not cancelled and
4219 reshown (this also stops the selection changing).
4220 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
4222 Improve CamelCase word part autocompletion for runs of capital
4225 Don't complete snippets if there's a selection.
4228 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
4231 Fix crash opening project when Geany started with no geany.conf.
4234 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4236 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
4237 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
4239 Add word part autocompletion for the current selected item when
4240 pressing Tab - Enter still completes normally.
4241 Add foreach_str() API macro.
4242 Temporarily modify scintilla to say if tab was used for
4244 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4245 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4246 plugins/classbuilder.c:
4247 Revert r4301 - utils_free_pointers() taking 4 arguments.
4248 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
4249 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
4250 plugins/splitwindow.c:
4251 Add highlighting_set_styles() to API, use for Split Window plugin so
4252 filetypes.common settings get set too.
4253 Make highlighting_set_styles() take GeanyFiletype pointer instead of
4255 * src/document.c, src/editor.c, plugins/splitwindow.c:
4256 Call editor_apply_update_prefs() from editor_create_widget() so
4257 correct tab width and other settings are applied for Split Window
4261 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4263 * src/keybindings.c:
4264 Don't include trailing newlines when using reflow command.
4266 Add stock close buttons to notebook tab popup menu.
4267 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
4268 plugins/geanyfunctions.h:
4269 Add document_get_notebook_page() to API.
4271 * data/templates/files/file.html, data/templates/files/file.php:
4272 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
4273 * src/interface.c, src/ui_utils.c, geany.glade:
4274 Move Tools configuration items to top of menu.
4275 * src/keybindings.c, src/search.c:
4276 Fix warning when using Find in Files with no documents open; make
4277 keybinding work in this case.
4280 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4282 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
4283 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
4284 Make Split Window 'Show current document' button have a drop-down
4285 menu to select the other documents.
4286 Add new API function ui_menu_add_document_items().
4289 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
4292 Fix sensitivity settings for compile and build toolbar items.
4295 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4298 Don't use filetype submenus for templates (slower to navigate, often
4299 only 1 per-filetype anyway).
4301 Put old filetype template menu items in 'Old' submenu as they should
4302 be removed after the 0.19 release.
4303 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
4304 Add GeanyKeyGroup callback support, which allow keybinding callbacks
4305 to be ignored if inappropriate so a later keybinding with the same
4306 key combination can intercept it. (Also group callbacks are usually
4307 tidier than separate callbacks).
4308 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
4309 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4310 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4311 plugins/classbuilder.c:
4312 Make utils_free_pointers() take 4 arguments, add to API.
4313 * src/templates.c, src/tools.c, src/ui_utils.c:
4314 Fix memory leaks with gtk_container_get_children().
4317 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
4320 Ensure that old style build config is not loaded if it does
4324 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4326 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
4327 Added Galician translation.
4328 Thanks to José Manuel Castroagudín Silva.
4331 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4333 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
4335 Apply set default encoding for existing files only if the files are
4336 non-Unicode (patch by Alexey Antipov, thanks).
4339 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4341 * src/highlighting.c:
4342 Move new_styleset() and preprocessor setup code into
4344 * src/highlighting.c:
4345 Call apply_filetype_properties() from styleset_c_like().
4348 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4350 * doc/geany.txt, doc/geany.html:
4351 Improve information about predefined keybindings which are
4352 commonly used across applications (patch by Lex Trotman, thanks).
4354 Enable embedded page setup properties in the (Unix) Print dialog
4355 on newer GTK versions (closes #2870596).
4356 * src/highlighting.c:
4357 Map global types (read from tags files) to keyword style for
4361 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4364 Fix wrong creation of filetype template menu items for custom
4366 * src/highlighting.c:
4367 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
4369 Group 'New with template' items by filetype submenu (currently only
4371 Show custom file template items before filetype template items.
4372 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
4374 Only use one 'New with template' submenu - reparent as needed.
4376 Don't create templates/filetype.none either.
4378 Warn if custom template file no longer exists.
4381 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4384 Add missing icon for Java packages in the Symbol List.
4387 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4389 * src/highlighting.c, data/filetypes.vala:
4390 Add Vala keywords to conf file.
4391 * src/templates.c, doc/geany.txt, doc/geany.html:
4392 Read custom file templates from $prefix/share/geany/templates/files
4393 as well as user dir.
4394 * src/templates.c, data/templates, data/templates/files,
4395 data/templates/files/file.rb, data/templates/files/file.html,
4396 data/templates/files/main.java, data/templates/files/main.c,
4397 data/templates/files/main.cxx, data/templates/files/file.php,
4398 data/templates/files/main.d, data/templates/files/program.pas,
4399 data/templates/files/main.py, data/templates/files/file.tex,
4400 wscript, Makefile.am:
4401 Move filetype template defaults into custom file template files.
4404 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4406 * src/symbols.c, tagmanager/perl.c:
4407 Change Perl tag parser to ctags SVN r601. This removes support for
4408 buggy local/my/our but it parses constant/format/labels and should
4409 be less buggy overall (closes #2861232).
4410 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
4411 Add utils_get_file_list_full() which can optionally sort or include
4412 a full path for each list item.
4413 * src/utils.c, src/plugindata.h, src/plugins.c:
4414 Add utils_get_file_list_full() to API.
4417 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4419 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
4420 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
4421 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
4422 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
4423 po/POTFILES.in, wscript:
4424 Rename treeviews.[hc] -> sidebar.[hc].
4425 * data/filetypes.common:
4426 Remove unused [styling] arguments.
4427 * src/highlighting.c, data/filetypes.markdown,
4428 data/filetypes.restructuredtext:
4429 Remove style defaults from the code - just read them from
4430 configuration files.
4431 * src/highlighting.c, HACKING:
4432 Add apply_style_entries() to simplify implementing styleset_foo().
4433 * src/highlighting.c:
4434 Remove filetype keyword defaults from the code - just read them from
4435 configuration files.
4436 * src/highlighting.c:
4437 Add sci_set_keywords() wrapper.
4440 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4442 * scripts/create_py_tags.py:
4443 Make the code a bit more pythonic.
4444 * doc/images/build_menu_commands_dialog.png,
4445 doc/images/main_window.png:
4446 Add new images referenced in the documentation.
4447 * doc/geany.html, doc/geany.txt:
4448 Several documentation improvements (patch by Lex Trotman, thanks).
4449 * src/pluginutils.c:
4450 Fix setting the appropriate page of the combined plugins
4454 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4456 * src/keybindings.c:
4457 Only focus toolbar goto line entry when pressing keybinding if it's
4458 visible (patch by Eugene Arshinov, thanks).
4460 Focus editor after entering a number in the goto line toolbar entry.
4462 Use AC_PATH_PROG instead of which for portability (patch by Erik
4463 Southworth, thanks).
4465 Show plugins that only implement plugin_configure_single() in the
4466 multiple-configure dialog as a page with a configure button on it.
4467 Add padding for multiple-configure dialog.
4468 Make the multiple-configure dialog notebook tabs scrollable.
4469 * src/pluginutils.c, src/pluginutils.h:
4470 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
4471 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
4472 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
4473 plugins/geanyfunctions.h, plugins/filebrowser.c:
4474 Add plugin_show_configure() API utility function.
4475 Add File Browser popup menu 'Preferences' item.
4476 * src/highlighting.c:
4477 Add get_keyfile_ints() instead of using tmp_style hack.
4478 * src/highlighting.c, data/filetypes.xml:
4479 Change new html_asp_default_language markup pref to use integer,
4480 not hex in config file.
4481 Fix minor issue with changing pref back to 0.
4482 * src/highlighting.c:
4483 Fix possible segfault in get_keyfile_int() if key value is malformed.
4486 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4488 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
4489 Add "html_asp_default_language" pseudo style to filetypes.xml
4490 to allow setting the used language in embedded ASP code
4491 (patch by Ross McKay, thanks).
4492 * src/filetypes.xml:
4493 Update VBScript keywords (patch by Ross McKay, thanks).
4496 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4498 * src/keybindings.c, THANKS:
4499 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
4500 keybinding use line breaking column when enabled.
4502 Fix showing the document before reload dialog when opening an
4504 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
4505 Add plugin_configure_single() plugin symbol which is easier to
4506 implement than plugin_configure() but won't support a
4507 multiple-plugin configure dialog.
4509 Show multiple plugins in the 'Configure Plugins' dialog.
4512 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4514 * doc/geany.txt, doc/geany.html:
4515 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
4517 * doc/geany.txt, doc/geany.html:
4518 Add 'Toolbar entries' section.
4519 * doc/geany.txt, doc/geany.html:
4520 Update 'Go to line' keybinding description.
4521 * doc/geany.txt, doc/geany.html:
4522 Split keybinding table into group tables; update KB links.
4525 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4528 Fix compiler warnings about uninitialised variables.
4529 * src/callbacks.c, src/document.c:
4530 When reloading files, use the previously set encoding instead of
4531 detecting it again (closes #2862041).
4533 Turn on automake silent rules if supported.
4536 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4539 Speed up sorting in utils_get_file_list(). This reduces the file
4540 browser delay on displaying a big directory, e.g. /usr/bin.
4542 Expand command entry width when expanding Build Commands dialog.
4544 Split Build Commands dialog notes label and edit text.
4546 Add padding for Build Commands dialog separators.
4547 Add colons for regex field labels; fix 1 capitalisation.
4549 Fix none filetype Build Commands dialog label.
4550 Make group labels bold.
4551 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
4553 Add & use ui_label_set_markup(), ui_label_new_bold().
4554 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
4555 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
4556 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
4557 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
4558 * src/keybindings.c:
4559 Make 'Go to Line' keybinding focus the toolbar entry if visible.
4562 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4564 * src/filetypes.c, src/filetypes.h, src/symbols.c,
4565 tagmanager/parsers.h, tagmanager/makefile.win32,
4566 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
4567 data/filetype_extensions.conf, wscript:
4568 Add new filetype: Abc (patch by Eric Forgeot, thanks).
4570 Merge recent changes from the CTags project to further improve
4574 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4577 Fix wrong alignment of printed pages when page headers are
4578 disabled (closes #2856822).
4579 Plug a small memory leak and improve function signature of
4582 Save an if expression.
4584 After clearing a text field using the embedded clear icon, put the
4585 input focus into this text field.
4588 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4590 * plugins/filebrowser.c:
4591 Free file list memory whilst iterating the list.
4592 Minor formatting fixes.
4593 * src/utils.c, src/utils.h:
4594 Add foreach_dir() API macro.
4595 Update API docs for utils_get_file_list().
4596 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
4598 Remove queue.[hc] - use GQueue instead of GeanyQueue.
4599 Beep if there are no more snippet positions.
4600 Limit length of snippet positions queue to 20.
4603 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4605 * src/keybindings.c, src/callbacks.c, src/search.c:
4606 Make Goto Tag commands use the current selection if present (useful
4607 for selecting part of a tag or for ReST section names with spaces
4610 Don't move the cursor when reloading.
4611 * src/plugindata.h, src/editor.c, src/editor.h:
4612 Make editor_prefs.snippets hash table private (not a pref).
4615 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4618 Remove deprecated --debug flag. Please use --verbose/-v instead.
4621 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4624 Show Find in Files stderr output in messages window instead of
4625 debug window so that invalid regex messages can be seen easily.
4626 Combine FIF stdout and stderr callback code.
4629 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4632 Fix opening filenames beginning with two dots (closes #2858487).
4633 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
4634 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
4635 data/filetypes.common, geany.glade:
4636 Update syntax highlighting after changing the 'Invert syntax
4637 highlighting colors' pref, instead of requiring a restart.
4638 Remove filetypes.common invert_all option - use 'Invert syntax
4639 highlighting colors' pref instead (closes #2854525).
4640 * src/prefs.c, src/dialogs.c, src/dialogs.h:
4641 Add 'Allow' button when showing the conflicting keybinding dialog.
4642 Make dialogs_show_question_full() use GTK dialog on Windows if
4643 button text is not the stock yes/no items.
4644 Add dialogs_show_prompt() which also has an 'Apply' button.
4645 * src/queue.c, src/queue.h:
4646 Add warning that GeanyQueue may be removed.
4647 * src/keybindings.c, src/editor.c, src/editor.h:
4648 Change snippet_goto_next_cursor() to
4649 editor_goto_next_snippet_cursor() as it's in editor.h.
4650 Avoid using GPOINTER_TO_INT macro.
4653 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4655 * src/keybindings.c:
4656 Fix 'Reflow block' command when at the last paragraph and there's
4657 no last newline (patch by Eugene Arshinov, thanks).
4659 Add 'Compiler options & warnings' section.
4660 Update Style section to be clearer about code alignment and show
4665 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4667 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4668 src/plugindata.h, src/plugins.c, src/editor.c,
4669 plugins/geanyfunctions.h:
4670 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
4671 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
4673 Add sci_toggle_marker_at_line().
4674 Fix SciFuncs alignment.
4677 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
4680 Fix erroneous free of returned string in prepare_run_script.
4683 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4685 * data/filetypes.latex:
4686 Changing default value for showing pdf and dvi to ensure to take
4687 *.pdf and *.dvi file.
4690 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4692 * src/about.c, THANKS:
4693 Change language string for Slovenian translation.
4696 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4698 * tagmanager/txt2tags.c:
4699 Fix multi-byte character constant comparison.
4701 Fix Gtk warning when trying to update documents popup menu item
4702 sensitivity before they exist.
4705 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4708 Improve the opening string in the plugin manager dialog.
4710 Use "max-width" to set the document width of the generated
4711 HTML documentation to let the text be auto-wrapped.
4712 * src/prefs.c, src/tagmanager/include/guregex.h,
4713 src/tagmanager/include/tm_tagmanager.h:
4714 Remove trailing spaces (patch by André Hentschel, thanks).
4716 Fix a compiler warning.
4718 Fix crash when opening documents.
4719 * src/build.c, src/build.h, src/project.c:
4720 Adjust coding style (no code changes).
4721 * src/build.c, src/project.c:
4722 Use NZV() macro instead of strlen() to check for empty strings.
4723 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
4724 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
4725 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
4726 src/plugins.c, THANKS:
4727 Add new plugin signal: "document-before-save".
4728 Add get_line_end_position(), set_target_start(), set_target_end(),
4729 replace_target() to the plugin API
4730 (patch by Eugene Arshinov, thanks).
4731 Add new plugin signal: "document-filetype-set" (closes #2852286).
4732 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
4733 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
4734 tagmanager/Makefile.am, tagmanager/makefile.win32,
4735 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
4737 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
4740 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4742 * src/treeviews.c, src/document.c:
4743 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
4744 Use gtk_notebook_set_current_page() instead of
4745 document_open_file_full() when choosing an item from the documents
4747 Avoid using goto in document_open_file_full().
4750 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4752 * src/treeviews.c, src/document.c, src/document.h, THANKS:
4753 Enable type-ahead find for sidebar symbols and documents tabs
4754 (patch by Thomas Martitz, thanks).
4756 Fix 2 free's of possibly uninitialized pointers.
4759 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
4761 * src/build.c, src/filetypes.h, src/filetypes.c:
4762 Only write filetype config files when build command or regex is
4763 actually changed. Removed commented code in src/filetypes.c.
4765 Ensure uses of filename are protected against nulls when running
4766 a build command and give status message if not.
4769 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4772 Remove plugin from plugin manager dialog on unloading if it no
4773 longer exists or is incompatible.
4776 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4779 Add warning if only one of the plugin_key_group[_info] symbols is
4780 defined for a plugin.
4781 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
4782 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
4784 Merge custom-filetypes branch:
4785 Support adding custom filetype files e.g. filetypes.Foo.conf.
4787 Allow GeanyFiletype::extension to be NULL.
4788 Add note about using GeanyFiletype pointer instead of filetype_id
4789 for filetypes.c function arguments.
4790 Replace styleset_none() with styleset_default().
4793 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4796 Show the sidebar if either the documents or the symbols list are
4797 enabled (related to #1876107).
4800 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4802 * src/build.c, src/filetypes.c:
4803 Fix compiler warnings.
4805 Fix removing leading double slashes in filenames which are used for
4806 network resources on Windows (closes #2844085).
4809 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4811 * src/keybindings.c:
4812 Fix Make keybindings (patch by Lex Trotman, thanks).
4814 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
4816 Mention Files link at top for header files; demoplugin.c.
4817 Minor edits; remove 'far from being complete'.
4818 * src/keyfile.c, src/keyfile.h, src/main.c,
4819 data/filetype_extensions.conf, HACKING:
4820 Remove --generate-data-files argument & code - just edit
4821 filetype_extensions.conf by hand (filetype order was broken
4823 Add *.H extension for C++ (useful for non-Windows systems).
4826 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
4829 Fix implementation of loading old project files with base
4830 directories. Use project_make_base_path instead of re-
4831 implementing. Now depends on project.c reading base dir
4832 prior to calling load_build_menu.
4834 Change usage of project base directory to conform with
4835 previous documented behavior when loading old project files.
4837 Change make custom and make object to ignore make in base path
4838 when reading old project file settings. Changed some indent
4839 spaces to tabs. Fix missing compile menu accelerator.
4842 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4845 Add warning about not using undocumented features.
4846 Add reference to HACKING for plugin API development.
4848 Add section 'Plugin API/ABI design'.
4849 * src/keybindings.h, src/makefile.win32, src/project.h,
4850 src/filetypes.h, src/Makefile.am, wscript:
4851 Use GEANY_PRIVATE to hide some fields from plugins.
4853 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
4854 * src/build.c, src/build.h, src/project.c:
4855 Use build_ prefix for 3 functions in build.h; add a static modifier.
4858 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4861 Improve parsing of PHP functions by requiring a valid modifier or
4862 whitespace before the 'function' keyword to ignore some false
4863 positives like function tags inside comments
4864 (patch by Harold Aling, thanks).
4865 * tagmanager/python.c:
4866 Don't parse comments after import statements and other tags
4867 (closes #2838938, patch by Huandari Lopez, thanks).
4870 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4872 * data/filetypes.markdown:
4873 Add filetypes.markdown for configuration (thanks to Jon Strait).
4874 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
4875 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4876 plugins/geanyfunctions.h:
4877 Remove GeanyKeyGroup struct from the API - plugins should not set
4879 Make keybindings_set_item() duplicate the name and label fields
4880 (needed by GeanyLua) and return a keybinding pointer.
4881 Add keybindings_get_item() to the API (in case it's useful).
4882 Move some keybinding code out of plugin source files.
4885 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4887 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
4888 Don't generate build.h API docs until everything is approved and
4889 functions are actually in geany_functions.
4890 Move new GeanyFiletype and GeanyProject field(s) to end of struct
4891 as they may be changed or made private later.
4892 Break ABI for fields removed.
4895 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
4897 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
4898 src/keyfile.c, src/project.c:
4899 Changed names of symbols visible in build API to GEANY_xxx.
4902 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
4904 * src/project.h, src/project.c, src/build.c:
4905 Remove make_in_base_dir and run_cmd fields from project structure.
4906 Replaced by build functionality. Remove incorrect use in src/build.c
4907 build_run_cmd function.
4910 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
4912 * src/project.h, src/project.c:
4913 Removed unused project_get_make_dir function, this is now per
4917 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
4919 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
4921 Fix some more warnings.
4922 Fix commented out execute/stop toolbar code in build.c.
4923 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
4924 Changed build.h api so all functions prefixed with build_.
4927 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4929 * src/build.c, src/build.h, src/project.c:
4930 Fix some gcc warnings with '-Wall -W -ansi' enabled.
4933 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
4936 Fixed leaks and crashes due to inconsistent use of static vs dynamic
4937 strings when reading old format configuration & project files.
4938 * src/build.c, src/project.c:
4939 Fixed GLib array assertion warnings when no project filetypes are
4940 available to be saved.
4942 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
4948 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
4950 * src/build.h, src/build.c, src/project.c:
4951 Created and documented plugins interface to build menu.
4952 Factored out new get_cmd_group function.
4953 Changed name of remove_command function to be consistent with the
4954 rest of the interface & changed calls in project.c.
4955 * src/Makefile.am, wscript:
4956 Added build.h to installed files lists.
4958 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
4961 Updated manual to match build-menu capability.
4964 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
4966 * src/build.c, src/build.h:
4967 Added set_build_non_ft_wd_to_proj() for use by project dialog.
4968 Improved interpretation of run_in_base_dir from old [build-settings]
4969 Added spacing to build commands dialog
4971 Removed run in base path option from project dialog and added button
4972 to set working directories to d the same.
4975 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
4978 Re-incorporated toolbar changes in trunk accidently excluded in merge
4980 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
4983 Fixed substitute %f etc in commands
4984 Fixed potential leak in build_replace_placeholder
4985 Fixed leak in prepare_run_script (Thanks for patch Thomas)
4986 Fixed build_replace_placeholder to not require document.
4988 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
4990 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
4991 Fixed crash and lots of warnings, deleted some commented out code.
4992 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
4993 Removed make command from preferences and associated code
4995 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
4997 * src/build.c, src/build.h:
4998 Incorporated patch for working directory field (thanks Thomas)
4999 Removed run_in_base_dir option and associated code that it replaces
5000 Improved handling of old config files and mapping to new ones.
5002 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
5004 * src/build.h, src/build.c:
5005 Changed to itterate over entries in build commands dialog to allow
5006 additional fields to be added
5007 Implement support for multiple run commands
5008 * data/filetypes.latex:
5009 Implement configured commands and labels for latex.
5012 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
5014 * src/build.h, src/build.c:
5015 added dialog support for error regular expressions from multiple
5016 sources and storing and loading them fixed some typos and memory
5018 * src/filetypes.c, src/filetypes.h, project.c:
5019 added support for using error regexes from multiple sources
5022 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
5024 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
5026 Removal of build menu item source made redundant by the following fix
5028 Corrected priority oreder and loading of filetype dependent build
5029 menu items saved in the project file. Added print routine for
5030 debugging command sources and priorities set compile symbol
5031 PRINTBUILDCMDS true to enable
5033 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
5036 fixed problem loading old format filetype files, some formatting
5037 fixes fixed saving new format files
5038 added operation for clear button on build commands dialog
5040 fixed loading and saving filetype files
5043 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
5045 Configurable Build Menu Changes
5047 * doc/geany.html, doc/geany.txt:
5048 Updated build menu section to new functionality
5049 * src/build.h, src/build.c:
5050 Largly re-written, configurability added, Latex code removed
5051 * src/filetypes.h, src/filetypes.c:
5052 Filetype structure updated to add new command pointers, configuration
5053 load and store changed
5054 * src/keybindings.h, src/keybindings.c:
5055 Changed to address new command storage structure.
5057 Changed to load/store new configuration.
5059 Minor change to initialisation order.
5061 Changed to address new menu item storage structure.
5062 * src/project.h, src/project.c:
5063 Changed to load/store the new configuration info.
5065 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5067 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
5068 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5069 doc/pluginsymbols.c, plugins/geanyfunctions.h,
5070 plugins/splitwindow.c:
5071 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
5072 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
5073 the ABI when adding fields to them.
5074 Add plugin_set_key_group() for plugins to dynamically set a
5075 keybinding group (e.g. for the Lua script plugin). Used in Split
5076 Window plugin as an example.
5077 Improve keybinding docs a little.
5080 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5082 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
5083 Add geanyfunctions.h to API docs.
5084 * plugins/splitwindow.c:
5085 Set the cursor color for the split window.
5088 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5091 Fix 'Open Selected File' for unsaved new documents.
5092 * src/keybindings.c, src/keybindings.h, src/prefs.c:
5093 Fix updating main menu accelerators after changing keybindings
5094 (thanks to Lex Trotman).
5096 Fix using 'Insert date' keybinding when a custom date string has
5098 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5099 Merge Plugin and GeanyPluginPrivate structs.
5102 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5104 * src/keybindings.c:
5105 Fix non-working Home and End keys on numpads.
5108 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5110 * doc/geany.txt, doc/geany.html, NEWS:
5111 Add 'Scope autocompletion' section.
5112 Add 'Tools menu items' section to explain configuration files
5113 submenu, reload configuration item.
5114 Minor updates/fixes.
5117 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5120 Add a translation hint to an ambiguous format string.
5122 Add missing include path to fix 'make distcheck'.
5124 Fix opening of local files in the browser on Windows.
5125 * New release: Geany 0.18 "Kaine".
5126 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
5127 src/geany.h, doc/geany.html, doc/geany.txt:
5128 Post-release version bump.
5131 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5134 Temporarily disable reshowing calltips when the autocompletion
5135 list was closed implicitly by not choosing an item to fix
5136 problems with wrongly displayed calltips.
5138 Add missing 'coding' cookie to the Python filetype template.
5139 * doc/images/pref_dialog_edit_completions.png,
5140 doc/images/pref_dialog_toolbar.png:
5141 Update images for Geany 0.18.
5144 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5147 Add command '--hackingdoc' to create the HTML form of the
5151 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5153 * po/pt_PT.po, po/LINGUAS:
5154 Added a first Portugese (Portugal) translation based on work done at
5155 launchpad by e.g. André Glória and Alexandre Jesus.
5156 * src/main.c: Fix a minor typo on --help call.
5159 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5161 * src/highlighting.c:
5162 Call get_keyfile_wordchars() in highlighting_init_styles().
5165 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5167 * data/filetypes.ada:
5169 * src/keybindings.c:
5170 Switching notebook tabs now works for the currently used notebook
5171 widget instead of always using the documents notebook.
5172 * src/document.c, src/document.h, src/documentprivate.h,
5174 Small corrections to some API docs.
5177 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5179 * src/build.c, src/win32.h, src/win32.c:
5180 Expand system environment variables (%variableName%) on Windows when
5181 running Build commands.
5184 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5186 * src/keybindings.c:
5187 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
5188 future using an indent block is more useful e.g. for ChangeLog
5190 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
5191 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
5192 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
5193 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
5194 tagmanager/parsers.h, tagmanager/makefile.win32,
5195 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
5196 Add Markdown filetype (patch by Jon Strait, thanks).
5197 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5198 Fix disconnecting plugin signal id when not using geany_object.
5200 Add filetype_make_title() instead of using:
5201 ft->title = g_strdup_printf(_("%s source file"), ft->name);
5202 It also supports "%s file" strings.
5205 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5207 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
5208 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5209 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
5210 plugins/filebrowser.c:
5211 Add plugin_signal_connect() for connecting plugin signals at
5212 runtime and also for connecting to any GObject signal.
5213 Add 'Plugin Utility Functions' on main page.
5214 Add foreach_array() macro.
5215 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
5216 src/document.c, src/editor.c:
5217 Rename 3 sci functions to sci_set_target_start(),
5218 sci_set_target_end(), sci_replace_target() to match the SCI_
5222 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5224 * wscript: Fix compiling error with waf.
5227 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5229 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
5230 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5231 src/Makefile.am, wscript:
5232 Move plugin_* utility functions to pluginutils.c.
5233 Add pluginprivate.h.
5235 Fix reshowing calltip in the wrong document.
5238 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5240 * doc/geany.txt, doc/geany.html:
5241 Add some general information about auto-completion capabilities
5242 (patch by Lex Trotman, thanks).
5245 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5247 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
5248 Added a first Slovenian translation. Thanks to Joze Klepec.
5251 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5253 * src/highlighting.c:
5254 Use full styleset_foo[_init] function name as argument to
5255 init_styleset_case() and styleset_case() macros so it's easier to
5256 understand the code.
5257 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
5258 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
5259 doc/geany.txt, doc/geany.html:
5260 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
5261 Heavily based on a patch by Eugene Arshinov (thanks).
5262 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
5263 editor_strip_line_trailing_spaces().
5266 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5269 Attempt to fix reshowing calltips after the autocompletion list
5271 Reshow calltips also when the autocompletion list was closed
5272 implicitly by not choosing an item.
5274 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5276 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
5277 plugins/splitwindow.c:
5278 Change utils_str_remove_chars() to work in place; fix allocating on
5279 the stack (the string length could exhaust the stack size).
5280 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
5281 src/printing.c, src/callbacks.c:
5282 Rename utils_str_replace() utils_str_replace_all(), setting a
5283 'gchar **haystack' argument instead of returning a new string.
5285 For the Tabs indent type, remove spaces when unindenting (only) if
5286 there are no tabs on the line.
5287 Group undo actions for (un)indenting of multiple lines.
5288 * src/document.c, src/editor.c:
5289 Fix scrolling horizontally after finding a search match with the
5290 search bar or Find Next/Previous which is off-screen.
5291 * src/keybindings.c:
5292 Fix GLib warning when pressing a key with no documents open.
5295 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5298 Start unifying usage of @a and @c markup elements in API docs,
5300 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
5301 Show/hide the toolbar without a restart when the setting in the
5302 preferences dialog is changed (closes #2824785).
5303 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
5304 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
5305 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
5307 Continue unifying usage of @a and @c markup elements in API docs.
5310 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5313 Remove relative/untidy path elements when creating new documents
5314 with a filename (e.g. from the command-line) (#2823998).
5317 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5320 Disable 'Recent Projects' menu item if the list of recent projects
5323 Fix some harmless compiler warnings.
5324 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
5325 src/plugins.c, src/utils.c, src/utils.h:
5326 Move utils_str_remove_chars() from the plugins/splitwindow.c to
5327 src/utils.c and add it to the plugin API.
5328 Make utils_str_remove_chars() work on a new copy of the input string
5329 instead of modifying it in place.
5331 Remove underscores from the toolbar items labels.
5334 * plugins/splitwindow.c:
5335 Fix broken 'Show the current document' tool button icon.
5338 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5340 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
5342 Add stash_group_add_widget_property() so we can save any widget's
5343 read/write properties.
5344 Use Stash for ui_prefs.sidebar_page setting.
5345 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
5346 Make foreach_ptr_array() use an integer argument for its
5347 implementation, as this is more useful potentially than a gpointer*
5348 argument, and more straightforward.
5349 Add foreach_c_array(), foreach_ptr_array() to API.
5350 * src/utils.c, src/utils.h, src/document.c:
5351 Remove relative/untidy path elements when opening documents (closes
5354 Fix showing project name for documents list files with no
5355 subdirectory (oops).
5357 Fix checking whether to overwrite when using the Rename button in
5358 the 'Save As' dialog.
5361 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5364 Don't use the main window as parent for dialog boxes if it is not
5366 Set titles for message dialogs.
5369 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5372 Display item labels instead of raw names in the toolbar editor.
5373 Apply changes in the toolbar editor instantly.
5374 Show icons in the toolbar editor.
5375 Speed up toolbar editor dialog creation.
5377 Improve inserting of comment templates like File header or licence
5378 notices. The comment information are now read from the filetype
5379 configuration files.
5381 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5384 Enable file monitoring for files which are written to disk by Geany
5387 Fix broken special case handling when detecting filetypes from a
5388 shebang or other special file headers.
5391 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5394 Make Mark All keybinding clear search highlighting when there's no
5397 Fix wrong match length when using Mark with regex.
5398 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
5399 src/keyfile.c, src/main.c:
5400 Add 'Show Paths' documents list popup item.
5401 Add "load_settings" core-only signal emitted just after loading
5402 main keyfile settings; useful to delay building UI elements until
5403 settings have been read.
5405 Fix GTK warning when right-clicking on default tag tree.
5406 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
5407 Add treeviews_finalize().
5408 Remove tv.popup_openfiles field.
5411 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5413 * src/highlighting.c:
5414 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
5417 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5420 Quote the uri before passing it to the browser when opening a
5421 website (closes #2818635).
5423 Fix broken 'builtin' Run command for HTML files on Windows.
5426 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5429 Properly fix wrong brace highlighting of non-brace character.
5431 Allow autocompletion in Perl double-quoted strings.
5432 Don't autocomplete in Perl single-quoted strings (closes #2821061).
5433 Don't autocomplete in Perl q() strings.
5434 * data/filetypes.common:
5435 Make Mark highlighting brighter.
5436 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
5437 Use hyphen for auto-feature terms.
5438 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
5439 src/document.h, src/main.c:
5440 Add documents_foreach() API macro that skips invalid docs.
5441 Make filetypes[], documents[] part of the API again.
5442 Add GEANY() macro for sharing geany symbols between API and core.
5443 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
5444 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
5445 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
5446 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
5447 plugins/classbuilder.c, wscript:
5448 Add geanyplugin.h single include for plugin API; update all core
5450 Add sci_set_font() to API.
5451 Update plugin howto.
5452 * src/filetypes.c, src/filetypes.h:
5453 Remove filetypes_foreach_named().
5456 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5458 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
5459 src/document.h, src/main.c, THANKS:
5460 Apply patch from Eugene Arshinov to reload color schemes via menu
5463 Reload filetypes.common after saving it.
5465 Improve wrong brace highlighting of non-brace character.
5468 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5471 Delay highlighting matching braces by 100ms, which speeds up
5472 scrolling with the arrow keys.
5473 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
5474 Add 'Mark All' keybinding.
5475 * tagmanager/diff.c:
5476 Show relative paths in diff filename tags.
5479 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5481 * src/highlighting.c:
5482 Fix setting keyword list 'classes' for Haxe
5483 (pointed out by Andreas Mokros, thanks).
5486 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5488 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5489 doc/geany.txt, doc/geany.html, geany.glade:
5490 Add 'Drop rest of word on completion' pref.
5491 * src/editor.c, doc/geany.txt, doc/geany.html:
5492 If autocompletion is already visible when forcing completion, show
5493 document word completion instead of tag completion.
5494 Docs: Minor edits of related prefs items.
5495 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
5496 Add warning when printing and editor font is not monospaced.
5497 Fix using GtkMessageType instead of gint param for
5498 dialogs_show_msgbox*().
5499 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
5501 Support 'tab indents, space aligns' style for auto-indentation
5505 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5507 * src/document.c, src/documentprivate.h:
5508 Rework the GIO based file monitoring code. Now it is used only
5509 to indicate a possible change of the file, the real check if the
5510 file has been changed is performed by stat().
5511 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
5512 Add style 'line_height' to increase the line height.
5513 Add style 'marker_mark' and change style 'marker_search' to
5514 define the style used for marked search results.
5515 * doc/geany.txt, doc/geany.html:
5516 Add the new 'Autocomplete all words in document' pref to the docs.
5519 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5521 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5522 doc/geany.txt, doc/geany.html, geany.glade, TODO:
5523 Add 'Autocomplete all words in document' pref.
5524 Use 'autocompletion' in dialog and docs, not 'auto completion'.
5526 Fix limiting number of word completion entries too much.
5527 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
5528 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
5529 Show autocompletion icons for tag symbols - for now only tags with
5530 an arglist have the 'function/method' icon, all others have the
5532 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
5534 * src/highlighting.c:
5535 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
5539 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5541 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
5542 Fix removing underscores in translated string using no_underscore()
5544 Set a tooltip for the Split Window plugin's Show Current tool button.
5545 Add utils_strdupa() macro.
5546 * src/interface.c, geany.glade:
5547 Use stock Select All icon now we have >= GTK 2.8.
5549 Fix using project name for document items that start with the
5550 project base path but don't match it e.g. ".../geany-plugins"
5551 instead of ".../geany" when project name is 'geany'.
5554 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5557 Fix warnings when the toolbar does not contain the Run button.
5559 Fix wrong parsing of complex expressions in the Lua parser.
5560 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
5562 Remove unnecessary enums.
5563 * scintilla/*, scintilla/include/*, src/plugindata.h:
5564 Update Scintilla to version 1.79.
5565 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
5567 Use the new Scintilla struct names prefixed with 'Sci_'.
5568 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
5570 Add second argument to the 'line_wrap_indent' styling setting to
5571 control the new Scintilla indentation mode for wrapped lines.
5573 Properly close the toolbar editor on delete-events.
5574 Fix warnings and possible crashes in the toolbar editor when the list
5575 of displayed toolbar items is empty.
5576 * data/filetypes.tcl:
5577 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
5579 Make the plugin manager dialog a bit bigger.
5582 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5584 * doc/geany.html, doc/geany.txt:
5585 Fix wrong default values for the 'Show Calltip' keybinding.
5588 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5590 * data/filetypes.tcl, src/symbols.c:
5591 Fix duplicate "context_action_cmd" key.
5592 Use different icons for "Methods" and "Procedures" in the symbol
5595 Fix a small memory leak.
5596 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
5597 src/keybindings.h, src/plugindata.h:
5598 Make the Scintilla keybindings 'Delete to end of line' and
5599 'Go to end of display line' configurable.
5601 Fix a typo (closes #2813624).
5604 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5606 * tagmanager/tcl.c, src/symbol.c:
5607 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
5608 methods and namespaces).
5609 Patch by Witek Mozga, thanks.
5612 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5614 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
5615 src/toolbar.c, src/toolbar.h:
5616 Remove ui_toolbar.xml Configuration Files menu item.
5617 Add a real toolbar editor dialog.
5618 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
5620 Add a button in the preferences dialog and an item for the toolbar
5621 popup menu to run the toolbar editor dialog.
5624 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5627 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
5628 Fix using locale encoding for default Save As dialog path.
5630 Beep when trying to activate the '...' autocompletion item.
5631 Limit (forced) document word completion to
5632 autocompletion_max_entries.
5633 Beep if no completions are shown when forcing autocompletion.
5636 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5638 * data/ui_toolbar.xml, src/toolbar.c:
5639 Add 'Build' toolbar button to the default layout.
5642 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5645 If forcing autocompletion and there's nothing else to show, complete
5646 from words in the current document (using code from Enrico's
5647 'AutoComplete Test' plugin).
5650 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5653 Add debug message if plugin has not set a name for its keybinding
5655 * data/filetype_extensions.conf:
5656 Add *.m4 for shell scripts.
5659 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5661 * src/highlighting.c, doc/geany.txt, doc/geany.html,
5662 data/filetypes.common, TODO:
5663 Make filetypes.common named styles use the "default" named style for
5664 all missing style fields.
5665 Set named styles to usually leave the background style empty. This
5666 currently allows C-like filetypes to have a common default
5668 Allow hard-coded colors to use -1 for the default color.
5669 Add some highlighting style examples to the manual.
5672 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5675 Create initial template files with proper platform-specific line
5679 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5681 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
5682 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
5683 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
5684 src/ui_utils.c, src/ui_utils.h:
5685 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
5687 Refactor some related code.
5688 * tagmanager/conf.c:
5689 Strip trailing spaces from "Key" tags.
5691 Quote the full filename to the Geany executable when creating the
5692 "Open with Geany" context menu item.
5693 * plugins/splitwindow.c:
5694 Avoid using deprecated GTK API.
5695 * src/log.c, src/main.c:
5696 Properly clean up the logging mechanism.
5698 Fix LaTeX view commands on Windows (part of #2807688).
5700 Add a popup menu for the keybinding list in the preferences dialog
5701 to easily expand and collapse all groups.
5702 Refactor the keybindings code for the preferences dialog, prefix all
5704 * src/main.c, src/ui_utils.c, src/ui_utils.h:
5705 Init stock items before creating the toolbar (closes #2809324).
5707 Generate the geany.pc file also on Windows.
5709 Invert the logic to determine which Save All we want to use:
5710 Use the Tango like icon only for the Tango theme and the Gnome / GTK
5711 like icon for any other themes.
5714 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5716 * src/highlighting.c, README.Packagers, HACKING:
5717 Remove gsd_* default styles, use named styles instead.
5718 Note: this relies on filetypes.common being installed.
5719 Add load_style_entries(), which makes style initialization
5720 simpler, used in styleset_c_like_init().
5723 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5726 Prevent possible crash on Windows when not setting an initial
5727 directory for native File Open/Save dialogs.
5728 * data/filetypes.xml, src/highlighting.c:
5729 Add style 'jscript_regex' for filetype HTML
5730 (patch by Chris Macksey, thanks).
5733 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5735 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
5736 Make GeanyDocument::file_type always be non-NULL, even for a new
5737 document with no filetype set.
5739 Only autocomplete scope for scopes matching the current filetype's
5741 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
5742 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
5743 data/filetypes.actionscript, data/filetypes.cs,
5744 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
5745 data/filetypes.javascript, HACKING:
5746 Make C++, D lexer filetypes use named styles (apart from uuid,
5747 verbatim, regex styles).
5750 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5753 Don't explicitly change the current directory of the Save As dialog
5754 so that it uses the last used directory.
5757 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5759 * src/encodings.c, src/encodings.h, src/plugindata.h:
5760 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
5763 When completing from the macro list, put the cursor after
5767 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5769 * tagmanager/pascal.c:
5770 Fix type definitions being parsed as functions.
5772 Don't autocomplete in unterminated strings as well.
5773 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
5774 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
5775 Remove data_ptr argument to foreach_[s]list() macros, as using
5776 node->data is enough sometimes; this makes the macro a bit more
5778 Add foreach_[s]list() macros to the plugin API docs.
5781 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5783 * scintilla/LexPascal.cxx:
5784 Backport fix from Scintilla CVS:
5785 Pascal lexer hanging on file that starts with 'interface' after
5789 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5792 Update Waf to 1.5.7.
5794 Overwrite installation prefix on Windows only if it wasn't
5795 specified explicitly.
5798 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5801 Display calltips for Pascal symbols in the Pascal way (#2803945).
5802 * tagmanager/pascal.c:
5803 Fix wrongly set return values for procedures (closes #2803945).
5804 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
5805 tagmanager/include/tm_source_file.h,
5806 tagmanager/include/tm_workspace.h:
5807 Fix doxygen warnings.
5810 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5812 * src/editor.c, tagmanager/include/tm_workspace.h,
5813 tagmanager/tm_workspace.c, TODO:
5814 Autocomplete scoped fields like struct members when typing '.' (and
5815 also '->' or '::' in C/C++).
5816 Save all tag types for C/C++ when generating a global tags file, so
5817 we can use autocompletion for structs also.
5818 Merge tm_workspace_find_scope_members(),
5819 tm_workspace_find_namespace_members() (currently not built) from
5820 Anjuta 2.24.1 tagmanager.
5823 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5825 * tagmanager/pascal.c:
5826 Parse Pascal calltips (closes #2802640).
5829 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5831 * src/filetypes.c, src/ui_utils.c:
5832 Add filetypes.common Configuration Files menu item.
5835 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5838 Add backslash to the wordchars on Windows when using
5839 'Open Selected File'.
5841 Add support (configure, build and install) for building on Windows
5842 and cross-compiling for Windows using the Waf build system.
5845 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5848 Set status bar text instead of showing a dialog when saving
5849 ui_toolbar.xml because the user might save several times.
5851 Fix redrawing due to colourising just after the document is first
5852 drawn. Now colourising should happen before the first draw.
5853 * src/utils.c, src/highlighting.c, data/filetypes.common:
5854 Fix segfault on parsing a filetypes.* style definition that has < 4
5856 Allow style definitions to have missing fields to use the default
5860 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5862 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
5863 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
5864 * plugins/classbuilder.c:
5865 Fix wrongly created header guards when the class filenames contains
5866 dashes (patch by PCMan, thanks).
5867 * data/filetypes.matlab:
5868 Add build_settings section to allow executing Matlab scripts.
5870 When closing a document, mark it as invalid before removing it from
5871 the documents notebook (this fixes wrong Save All button state when
5872 closing an unsaved document because the "switch-page" signal handler
5873 was using old data).
5876 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5878 * src/highlighting.c, doc/geany.txt, doc/geany.html:
5879 Support toggling bold/italic when using a named style, e.g.:
5880 commentdockeyword=commentdoc,bold,italic
5881 Improve named style docs.
5884 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5886 * src/build.c, src/editor.c:
5887 Fix crashes when parsing the output of a compiler which reports
5891 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5893 * src/highlighting.c:
5894 Support named styles also for filetypes.common [styling] entries.
5895 * doc/geany.txt, doc/geany.html, HACKING:
5896 Update docs for named styles in filetypes.* files.
5898 Fix grouping symbol list children when parent name has "." character
5899 in for reStructuredText and Conf filetypes.
5900 * tagmanager/python.c:
5901 Fix grouping functions/classes under a nested function.
5904 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5907 Adjust icon paths (patch by Dominic Hopf, thanks).
5908 * doc/geany.txt, doc/geany.html, src/toolbar.c:
5909 Add 'Replace' toolbar button (closes #2798225).
5912 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5914 * src/utils.c, src/highlighting.c, TODO:
5915 Implement named styles support for filetypes.* using a
5916 filetypes.common [named_styles] section e.g.:
5917 foo=0xc00000;0xffffff;false;true
5919 These can be used in e.g. filetypes.c as:
5923 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5926 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
5929 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5931 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
5932 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
5935 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5938 Remove quote_executable() as it is not used anymore.
5939 When creating the geany_run_script.bat use the "%0" variable
5940 expansion and quote it for the "del" command (closes #2797172).
5942 On Windows, fallback to the literal build command line if searching
5943 for the command in the system path failed (related to #2795923).
5944 Properly terminate the resulting strings when reading the stdout
5945 and stderr of any spawned commands on Windows.
5948 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5951 Use the wide character versions of native Windows File dialogs.
5953 Fix wrong initialisation of the default project path button callback
5954 in the preferences dialog.
5955 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
5956 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
5957 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
5958 icons/Makefile.am, icons/geany.ico, icons/scalable,
5959 icons/scalable/Makefile.am, icons/scalable/geany.svg,
5961 Move the icons geany.png and geany.ico into the icons directory.
5962 Add a 16x16 pixel Geany icon and the scalable SVG icon.
5963 Drop the pixmaps directory.
5966 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5968 * src/keybindings.c:
5969 Improve MRU document switching so there are no duplicates in the
5970 list and documents switched to whilst the dialog is open are
5971 ignored. Also beep when cycling through to the first document in the
5975 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5978 Fix broken 'Cancel' button in the Save As dialog.
5981 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5984 Fix multiline indent when selection covers text on the last line.
5986 Show current document in bold in tab popup menu.
5987 * src/editor.c, tagmanager/python.c, TODO:
5988 Parse Python calltips.
5991 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5993 * src/symbols.c, tagmanager/python.c:
5994 Parse Python import statements to get symbol completion for the
5995 imported module names.
5996 * src/editor.c, src/editor.h:
5997 Make some only locally used functions static.
5998 Fix wrong sanity check.
6000 Fix quoting the build command string on Windows (closes #2791769).
6001 This broke when we made build commands run synchronously on Windows,
6002 now we don't need to special quote the commands anymore.
6005 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6008 Drop rest of word to the right of cursor when autocompleting (do we
6009 need a pref for this?).
6012 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6014 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
6015 Add sci_set_selection().
6016 * doc/geany.txt, doc/geany.html:
6017 Update manual for MRU switching.
6018 * src/callbacks.c, src/editor.c, src/editor.h:
6019 Make indenting with the Tabs indent type preserve spaces on the line,
6020 so it works for the 'tab indents, space aligns' formatting style.
6023 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6025 * tagmanager/python.c:
6026 Fix missing symbols for variables when an equal sign is used
6027 in a comment on the same line as the variable declaration.
6028 Backport change from CTags SVN to keep the parser more in sync:
6029 Add support for Cython constructs to the Python parser.
6031 Remember the additional Find in Files search flags at startup.
6033 Don't close the Save As dialog when saving the file didn't succeed.
6036 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6039 Remember scribble cursor position.
6040 * src/keybindings.c, TODO:
6041 Implement Most-Recently-Used document switching when pressing
6042 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
6045 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6047 * data/latex.tags: Added some more commands from unit.sty and
6051 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6053 * src/symbols.c, doc/geany.txt, doc/geany.html,
6054 tagmanager/makefile.win32, tagmanager/nestlevel.c,
6055 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
6056 tagmanager/Makefile.am, wscript:
6057 Merge unstable branch:
6058 Add reStructuredText scope information for tags (for symbol list
6060 Read custom system global tags files from $prefix/share/geany/tags;
6062 Show the number of tags in a user global tags file (instead of the
6063 running total) in the debug message.
6064 Also print debug messages when loading a tag file manually or for
6065 default global tags files e.g. python.tags.
6067 Move NestingLevel tags code into a separate file, add functions.
6069 Add 'Installation prefix' section instead of quoting '/usr/local'
6071 Update for custom system global tags files.
6074 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6076 * src/highlighting.c:
6077 Unset maybe previously keywords when setting up Scintilla for
6078 XML files. This fixed wrong highlighting after switching back to
6079 filetype XML from another one.
6081 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
6082 is only used when explicitly requested.
6084 Remove unnecessary call to g_intern_string() to fix build with
6085 GLib 2.8 (closes #2790051).
6088 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6091 Make the clear icon of entry fields act on the release event, not
6092 on the press event like for other buttons.
6094 Refactor some multiple used code into get_multiline_comment_style().
6096 Create parent directories if necessary when checking for the
6097 configuration directory on startup (closes #2784577).
6100 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6102 * plugins/filebrowser.c:
6103 When a filter is set, apply it only to files, not directories and
6104 apply the filter to the UTF-8 name of the file as the filter string
6105 itself is also UTF-8.
6106 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
6107 Add utils_color_invert() and use it in highlighting.c and printing.c.
6108 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
6109 Backport change from Scintilla CVS:
6110 Change capitalisation of header file to suit cross-compilation on
6114 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6116 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
6117 Update Scintilla to version 1.78.
6118 * src/editor.c, src/highlighting.c:
6119 Update Pascal styles as they changed in Scintilla.
6122 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6125 Ignore the invert syntax highlighting colours setting when printing
6126 to not print characters on a dark background (closes #2785244).
6127 * New release: Geany 0.17 "Wessex".
6128 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
6129 src/geany.h, doc/geany.html, doc/geany.txt:
6130 Post-release version bump.
6133 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6135 * src/callbacks.c, src/callbacks.h, src/main.c:
6136 Update the View->Fullscreen menu item when fullscreen state is
6137 changed externally (e.g. by the window manager).
6139 Fix passing wrong pointer to the File Open dialog for the Run
6140 command in the Project Properties dialog.
6143 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6145 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
6147 Remember the active sidebar page between sessions.
6149 Add a recent project item after creating a new project.
6150 * tagmanager/ruby.c:
6151 Fix wrong parsing of string literals (closes #2781264).
6153 Fix setting focus to the editor widget after changing the selection
6157 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6160 Prevent crashes when two or more top level items in the symbol
6161 list have the same name (closes #2778246).
6164 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6166 * src/keybindings.c:
6167 Manually show the main notebook tab bar menu when Shift-F10 is
6168 pressed. This broke when we disabled the default GTK tab bar menu.
6170 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
6171 which was reloaded shortly before.
6173 When the editor menu is opened by the Menu key, use the text cursor
6174 position for retrieving the current word. This fixes disabled
6175 Go to Tag items in the menu (#2780044).
6177 Set the "ellipsize" property of GtkCellRendererText to automatically
6178 shorten the path and file names in the Documents list.
6179 * doc/geany.html, doc/geany.txt, src/build.h:
6180 Increase the amount of highlighted build error messages to 100.
6181 At least for LaTeX we need higher values as there is a lot of
6182 informative output before any errors are reported.
6183 * src/filebrowser.c:
6184 Use the startup path as the initial directory for the filebrowser
6185 plugin when no project and no files are opened
6186 (patch by Matias Gea, thanks; closes #2780521).
6189 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6191 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
6192 src/utils.c, src/utils.h:
6193 Ellipsize tab labels and some status messages for very long
6194 filenames (closes #2777348).
6195 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
6196 Add utils_str_middle_truncate() and
6197 document_get_basename_for_display() to the plugin API.
6198 * doc/geany.html, doc/geany.txt, src/toolbar.c:
6199 Add new toolbar element: Print (patch by Roland Baudin, thanks).
6200 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
6202 Add a hidden preference 'use_safe_file_saving' to save files to disk
6203 by creating a temporary file first. This has serious side effects,
6204 please read the documentation before enabling this.
6206 Make build commands on Windows run synchronously to avoid problems
6207 with reading build commands' output.
6208 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
6209 Limit the amount of highlighted build error messages in the
6210 Compiler window to 50 for performance reasons.
6213 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6215 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
6217 Replace our own GEANY_KEYS_MODIFIER_MASK by
6218 gtk_accelerator_get_default_mod_mask() which gives the same result.
6219 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
6220 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
6221 Add a trivial symbol parser for NSIS files.
6224 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6227 Hide the extra file open dialog options in an expander to make the
6228 dialog more compact by default and to provide more space for the
6230 Remove the filename field as it is also provided by GTK itself with
6231 more features like auto-completion.
6232 Watch the 'show-hidden' property of the file chooser widget using
6233 GObject's "notify" signal which gives accurate results and remove
6234 the hack using the "selection-changed" signal.
6237 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6239 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
6240 Prevent double execution of radio menu item "activate" or "toggled"
6242 Move 'Set Encoding' callback function into encodings.c.
6245 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6248 Add some missing 'void's in function definitions.
6249 If the project base path is './', just use the path of the project
6250 config file instead of appending './'.
6251 * src/treeviews.c, src/project.c:
6252 When a project is loaded, replace the project base path with the
6253 project name in the Documents sidebar for parent items
6257 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6259 * src/keyfile.c, src/keyfile.h, src/project.c:
6260 Fix duplicating the recent files and projects lists when closing
6262 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6263 src/editor.c, src/encodings.c, src/filetypes.c,
6264 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6265 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
6266 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
6267 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
6268 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
6269 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
6270 Remove all G_LIKELY macros inside g_return_if_fail() statements as
6272 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
6273 sense to keep the code more readable.
6276 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6279 When updating global type definitions for opened documents, take
6280 also C++ namespace symbols into account and don't ignore symbols
6281 which are defined inside a scope.
6284 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6287 Don't show 'plugin is not binary compatible' messages on the status
6288 bar, only the status window.
6291 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6294 When opening files from a remote instance on X11, set the window
6295 server time to encourage window managers to pop up the main window
6296 (related to #2735467 and #2276179).
6298 When finished sending filenames to a remote instance, notify the
6299 environment that we finished starting up.
6302 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6304 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
6305 Sort Configuration Files menu.
6306 Add ui_menu_sort_by_label().
6307 Add foreach_list() macro.
6312 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6315 Fix setting a wrong default window size when starting without an
6316 existing configuration.
6317 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
6318 Make editor_highlight_braces() static.
6319 Remove unused wrapper functions.
6320 * src/editor.c, src/symbols.c, src/symbols.h:
6321 Prevent showing an empty macro list.
6322 Show only macros of the same filetype instead of all macros of all
6325 Don't add opened project files to the GtkRecentManager.
6328 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6331 Add Configuration Files item for snippets.conf.
6332 * src/highlighting.c, src/symbols.c:
6333 Fix 2 old uses of filetype IDs.
6336 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6338 * src/interface.c, src/printing.c, geany.glade:
6339 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
6342 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6345 Add sanity checks in ui_lookup_widget() just to be safe.
6346 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
6347 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
6348 src/project.h, src/ui_utils.c, src/ui_utils.h:
6349 Add "Recent Projects" menu to the Project menu
6350 (#2728630, patch by Elias Pschernig, thanks).
6351 * doc/geany.txt, doc/geany.html:
6352 Describe how to build Geany using the Waf build system.
6353 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6354 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
6355 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6356 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
6357 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
6358 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
6359 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
6360 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
6361 src/utils.c, src/utils.h, src/vte.c:
6362 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
6363 performance when building the code with gcc.
6364 * src/highlighting.c:
6365 Fix typo in the G_LIKELY checks, introduced in last commit.
6366 Fix the size of the styles array.
6368 Show a message dialog when renaming a file fails.
6371 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6374 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
6375 (as we did for all other files in SVN r3382).
6378 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6380 * src/filetypes.c, doc/geany.txt:
6381 Move ActionScript to the Script group.
6383 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
6384 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
6385 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
6386 plugins/htmlchars.c:
6387 Merge reorder-filetypes branch:
6388 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
6389 append randomly without breaking the ABI).
6390 Make None filetype name = title = _("None").
6391 Add foreach_slist() macro.
6392 Add filetypes_by_title list to GeanyData for plugin API access
6393 - a list of filetype pointers, which includes the None filetype
6394 first. This list stays constant by the time plugins are initialized,
6395 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
6396 index the sorted list.
6399 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6401 * doc/geany.txt, doc/geany.html, src/main.c:
6402 Add widget names for the menubar and toolbar.
6404 When hiding the messages window, set the input focus back to the
6405 editor widget (part of #1910393).
6408 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6410 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
6411 Backport recent changes from Scintilla CVS to add partial support
6412 for RFC2822 styled text using the Properties lexer.
6413 Ignore leading whitespace for config files and RFC2822 text.
6414 * data/filetypes.actionscript:
6415 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
6416 * THANKS, src/treeviews.c:
6417 Display file/directory icons in the Documents sidebar
6418 (patch by Simon Treny, thanks).
6421 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6423 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6424 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
6425 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
6426 Add an option to allow appending the toolbar to the main menu bar
6427 to save some vertical space.
6428 Allow setting toolbar icon size to very small (menu icon size).
6431 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6433 * src/keyfile.c, src/utils.c, src/utils.h:
6434 Add utils_path_skip_root(), a relative path safe variant of
6435 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
6436 * src/keyfile.c, src/main.c:
6437 Allow negative window coordinates when saving and restoring the
6438 position of the main window.
6439 Restore the main window position and size *after* the window has
6440 been realised to get it positioned accordingly
6441 (this affects at least Windows).
6444 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6446 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
6447 Use g_win32_get_package_installation_directory_of_module() on Windows
6448 with newer GLib versions instead of deprecated API.
6449 * src/keybindings.c:
6450 Don't manage the last used documents list when quitting to prevent
6451 errors by accessing invalid memory (may close #2533990).
6454 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6457 Delete the geany_run_script.sh immediately after execution
6458 to prevent leaking old copies when the script was quit unexpectedly
6459 (closes #2710482, patch by Martin Olsson, thanks).
6461 Check whether skipping the root element of a document's filename
6462 succeeded and use the filename itself if not (e.g. on relative
6463 filenames, #2702844).
6464 Use the locale encoded filename when saving session files.
6466 Re-set the quitting status after all documents have been closed on
6470 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6472 * plugins/htmlchars.c:
6473 Remove usage of deprecated sci_get_selected_text() from plugin.
6476 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6479 Delay disk file checks when switching between documents a little
6480 bit to avoid fast, unintentional page switching in some cases.
6481 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
6482 src/sciwrappers.c, src/sciwrappers.h:
6483 Deprecate sci_get_text(), sci_get_selected_text() and
6484 sci_get_text_range().
6485 Add sci_get_contents(), sci_get_contents_range() and
6486 sci_get_selection_contents() as replacement functions to provide
6487 an easier and cleaner API (initial patch by Frank).
6490 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6493 Fix wrong parsing of CSS tags when the definition block starts on
6494 a new line (reported by Dominic Hopf, thanks).
6497 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6499 * plugins/htmlchars.c:
6500 Extend plugin by feature to bulk replace and replace on input for
6501 special characters to their HTML entities.
6504 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6507 Update build menu items after changing anything in the
6508 'Set Includes and Arguments' dialog.
6509 Disable Compile/Run buttons/menu items when Compile/Run commands are
6511 Reset current build directory to the base directory after reading a
6512 "Leaving directory" message when parsing Make output
6513 (closes #2694479, patch by Andrea Mazzoleni, thanks).
6515 Fix wrong display of the filename in the tab bar menu for new files.
6517 Set the initial directory for the Save As dialog only once on
6519 Add a shortcut of the project's base directory to the
6520 File Open/Save As dialogs when a project is open for faster access.
6521 * src/splitwindow.c:
6522 Add keybindings for the split actions.
6525 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6528 When using Find All in the Find dialog (in Session and Document),
6529 display the right amount of matches.
6530 Fix the display of the matches once per line (I broke the original
6533 Fix wrong directory selection behaviour in all Open Folder dialogs
6534 (closes #2688020, patch by Marcel Stimberg, thanks).
6536 Don't present the main window of a running instance when starting
6537 a second instance separately.
6540 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6543 Reduce default file permissions on the Unix Domain socket file
6544 (reported by Jörg Sommer, thanks).
6547 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6549 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
6550 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
6552 Add an option to set an additional plugin lookup path.
6554 When using Find All in the Find dialog, display matches only once
6555 per line in the messages window (patch by Bert Vermeulen, thanks).
6558 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6560 * data/filetype_extensions.conf, data/filetypes.actionscript,
6561 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
6562 src/highlighting.c, src/plugindata.h, src/symbols.c,
6563 tagmanager/Makefile.am, tagmanager/actionscript.c,
6564 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
6565 Add filetype ActionScript (patch by Chris Macksey, thanks).
6566 Update type keywords only for real C-like languages.
6567 Fix wrong sorting of Assembler and Ada filetypes.
6568 * plugins/classbuilder.c:
6569 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
6570 Other minor cleanups.
6573 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6576 Don't use menu item images for the tab bar menu to save some
6578 * data/filetypes.fortran, tagmanager/fortran.c:
6579 Add keyword 'extends' and fix Fortran parser to support the
6580 'extends' keyword (closes #2654492).
6581 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
6582 src/search.c, src/toolbar.c:
6586 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6588 * src/about.c, THANKS:
6589 Added Jari Rahkonen to list of Finnish translators.
6592 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6595 Adjust minimum required GTK version.
6596 * src/Makefile.am, wscript:
6597 Add main.h to the list of installed header files.
6598 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
6599 src/notebook.c, src/ui_utils.c:
6600 Remove GeanyDocumentPrivate::tabmenu_label.
6601 Disable the default tab bar menu for the main notebook widget and
6602 use a custom menu instead which lists all open files as usual plus
6603 'Close Other Documents' and 'Close All' menu items.
6606 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6608 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
6609 Move ui_set_search_entry_background() into ui_utils.c.
6610 Change the background colour of the search entries in the Find
6611 and Replace dialogs according to the search results like in the
6612 toolbar search field.
6613 Add images to the 'Replace' and 'Replace and Find' buttons in the
6615 Minor cleanups in search.c.
6616 * tagmanager/tm_source_file.c:
6617 Update source files upon creation.
6619 Update C tags for glibc 2.9.
6620 * src/callbacks.c, src/toolbar.c:
6621 Fix broken non-incremental search with the toolbar search entry when
6622 pressing Enter (closes #2638180).
6623 * plugins/splitwindow.c:
6624 Fix possible crash on non-32-bit systems (patch by
6625 Wolfgang Ocker, thanks).
6627 Update the Packager tag due to Dominic's various contributions.
6628 Update description and feature list.
6629 Change Source tag to the gzip'ed tarball to be in sync with the
6630 Makefile target (thanks to Wolfgang Ocker for reporting).
6633 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6635 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
6636 Removed deprecated plugin VC Diff
6639 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6642 Fix wrong Fortran 90 comment characters when inserting templates.
6643 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6644 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
6645 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
6647 Add 'Send Selection to Terminal' command to the Edit->Format menu
6648 (initial patch by David Gleich, thanks).
6649 * geany.glade, src/interface.c:
6650 Fix mnemonic for the Edit->Preferences menu item.
6653 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6655 * configure.in, plugins/Makefile.am:
6656 Enable socket support when cross-compiling.
6657 Enable plugin compilation when cross-compiling.
6659 Fix missing NULL checks when reading the colour value of compiler
6661 * src/main.c, src/win32.c, src/win32.h:
6662 On Windows, change the working directory to the Geany installation
6663 path at startup to avoid unwanted directory locking(closes #2626124).
6665 Fix broken selection of "Document->Set Encoding" menu items.
6666 * src/document.c, tagmanager/include/tm_source_file.h,
6667 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
6668 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
6669 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
6670 Don't let the tagmanager automatically reparse files if they
6671 seem to be changed on disk (affects all files in the current session,
6672 not the current one). This should speed up file saving a little bit,
6673 especially with remote files.
6674 Remove now unnecessary calls to tm_workspace_update().
6676 Allow an empty value for the date format in the print settings to
6677 omit the date/time string in the print header.
6680 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6682 * src/editor.c: Set cursor for LaTeX at auto closing of environment
6686 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6689 Add missing header include (closes #2615808).
6692 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6695 Fix a possible crash when comparing symbol names
6696 (could be related to Ubuntu bug #147151).
6697 Fix broken symbol list tooltips when tag names contain ampersands.
6700 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6702 * plugins/makefile.win32:
6703 Don't build Split Window plugin on Windows (doesn't work).
6706 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
6708 * ChangeLog, Makefile.am: Rotate ChangeLog.
6709 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
6710 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
6711 Post-release version bump.
6714 *** See ChangeLog.pre-0-17 for earlier changes ***