1 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * plugins/classbuilder.c:
4 Beep if the user hasn't entered a class name on pressing OK.
7 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
10 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
12 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
13 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
14 plugins/geanyfunctions.h, plugins/geanyplugin.h:
15 Add Stash setting functions to API.
16 Remove unnecessary argument to stash_group_load_from_file().
17 * src/geanyobject.c, plugins/classbuilder.c:
18 Don't generate FOO_GET_PRIVATE() macro because caching the result
19 in Foo::priv can be much more efficient.
22 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
25 Fix cursor positioning when toggling comments
26 (patch by Thomas Martitz, thanks).
29 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
31 * src/keybindings.[hc]:
32 Added Control+0 for zoom reset, see suggestion from #2969886.
35 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
37 * src/search.c, src/document.c:
38 Fix wrong selection range after Replace in Selection.
41 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
44 Make CreateChildProcess() working with Unicode strings, e.g.
45 directory names (closes #2972606).
47 Remove reference to already removed latex.tags file.
48 Future releases probably still depend on GTK 2.16.
49 * scintilla/ScintillaGTK.cxx:
50 Backport fix from Scintilla CVS to not paste text beyond the end
51 of lines (closes #2969096).
52 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
54 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
55 to not set Geany's minimum window size anymore (closes #2972992).
56 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
59 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
62 Make adding string and string vector settings initialise the setting
64 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
65 Add stash_group_load_from_file() and stash_group_save_to_file().
68 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
70 * data/filetypes.common:
71 Set default for wrapped lines to show marker at end of line only
72 (more expected and doesn't change line alignment - closes #2972386).
73 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
74 src/pluginutils.c, doc/plugins.dox:
75 Improve API docs contents page by listing all commonly-used files.
76 Fix 'Date' appearing twice on the date line.
77 Don't generate API docs for prefs.h, toolbar.h (unused).
78 Move some '@file' doc-comments to the .c file.
79 * src/interface.c, geany.glade:
80 Add frame for 'Printing' prefs dialog page.
81 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
82 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
84 Rename Stash data types to be independently named from Geany (so
85 Stash can be reused for other projects).
86 Rename GeanyPrefGroup to StashGroup.
89 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
91 * tagmanager/python.c:
92 Apply patch from Colomban Wendling to parse Python lambda functions
93 (thanks) - modified to only parse toplevel or class member lambdas.
94 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
96 Add doc-comments for Stash setting functions.
97 Add an example file showing usage of Stash.
98 (Not enabled yet until added to the plugin API).
101 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
104 Fix using return value without checking return status, caused
105 incorrect sensitivity settings on build dialog.
108 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
111 Add tip about gcc optimization & warnings/debugging.
113 Update Libraries section about synchronizing with other projects.
116 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
119 For now revert the recent patch which set real_path of newly
120 open non-existent configuration files as this seems hackish and
121 causes 'file not found' warnings.
123 Fix/Improve GIT repository detection
124 (patch by Thomas Martitz, thanks).
125 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
127 Add utils_copy_environment() to the plugin API.
130 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
132 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
133 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
135 Use 3rd person for more API dox.
136 Change 'This is a wrapper function for...' to 'Wraps...' in brief
138 Change 'After all...' to 'Afterwards...'.
139 * src/interface.c, geany.glade:
140 Apply patch from Eugene Arshinov to make frame packing/alignment
141 more consistent (thanks).
144 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
147 Fix ui_button_new_with_image() to call gtk_button_set_image() so
148 that gtk_button_[sg]et_label() work as expected.
149 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
150 Make Build Commands dialog show menu item labels as a button (to
151 help show that menu labels don't normally need to be edited &
152 display the mnemonic correctly). Clicking shows an input dialog to
153 set a new menu item label.
154 Split dialogs_show_input() into 2 functions: one simple, one for
156 Fix possible double-destroy of input dialog when closed by user.
158 Fix not destroying 'Make Custom Target' input dialog after first
161 Make Long Line Marker settings for existing projects default to
162 general settings instead of 0 (thanks to Eugene Arshinov).
163 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
164 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
165 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
166 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
167 Use 3rd person (gets not get) for API function brief descriptions.
168 Avoid using 'convenience function' in API brief descriptions.
171 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
173 * doc/geany.txt, doc/geany.html:
174 Warn about some GNU extensions for regular expressions & clarify
176 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
177 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
178 src/editor.h, geany.glade:
179 Apply patch from Eugene Arshinov to add project long line marker
180 customisation (thanks).
181 * src/interface.c, geany.glade:
182 Edit/tidy 'Long line marker' labels.
185 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
187 * src/build.c, src/project.c:
188 Fix crash due to NULL in project build preferences (thanks to
192 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
194 * src/utils.c, src/utils.h, src/search.c, src/search.h,
195 src/document.c, doc/geany.txt, doc/geany.html:
196 Merge gnu-regex branch:
197 Use POSIX system/GNU regex engine for find & replace 'Use regular
198 expressions' option. This alters regex syntax a bit - see the docs
199 for details; we now support '?' operator and replacement backslash
200 escaping is more standard.
201 Make regex search imply replacing escaped chars.
202 Allow \0 backreference replacement for the whole match.
203 Note: Replace All may be slower; if this is a problem please let me
206 Add argument to utils_str_replace_escape() for keeping
207 uninterpreted backslash escapes e.g. '\\', '\e'.
208 * scintilla/LexMarkdown.cxx:
209 Backport minor formatting/style changes from Scintilla project.
210 * doc/geany.txt, doc/geany.html:
211 Remove warning about no visual indication for zero-column-mode
215 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
218 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
221 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
223 * wscript, scintilla/*, scintilla/include/*:
224 Update Scintilla to version 2.03.
225 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
226 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
227 Add preference for virtual spaces.
229 Fix wrong default response for the Debug Messages dialog.
231 Fix crashes when using Save As with no open files (closes #2964406).
233 Fix duplicate mnemonics on 'Resave missing file' dialog, also
234 move the question from the secondary to the main text to be
235 more compatible with the Gnome HIG.
236 Fix broken 'Save' action in 'Resave missing file' dialog.
238 Improve PHP parser to parse also the argument lists of PHP functions.
240 Correctly set the parent widget for the keybinding overwrite
243 Fix setting the icon for some dialogs if the parent itself is also
246 When editing non-existent config files using the Tools->Configuration
247 Files menu, explicitly set the real_path to avoid presenting the Save
248 As dialog when saving the file (patch by Tony Rick, thanks).
250 Focus the editor widget after hiding the sidebar when it had the
251 input focus (patch by Can Koy, thanks).
252 Properly show/hide the mesages window when using the View menu item
254 * plugins/filebrowser.c:
255 After opening files, focus the editor widget
256 (based on a patch by Can Koy, thanks).
257 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
258 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
259 src/ui_utils.h, src/vte.c:
260 Add and use convenience function ui_is_keyval_enter_or_return() and
261 add it to the plugin API.
264 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
266 * src/about.c, THANKS, po/ast.po:
267 Added Asturian translation. Thanks to Marcos Costales for providing.
270 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
273 Fix keyboard accelerators in debug messages window
277 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
279 * scintilla/LexR.cxx:
280 Backport R lexer from Scintilla CVS to fix case sensitive keywords
281 (Scintilla bug #2956543).
282 * src/sidebar.c, src/about.c, THANKS:
283 Make Space on the symbol and document list not focus the editor
284 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
285 * src/document.c, src/document.h:
286 Fix document_try_focus() to make it work with the sidebar document
288 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
289 Make Space on the compiler and messages widgets not focus the editor
290 widget while Enter does (patch by Can Koy, thanks).
292 Fix wrongly auto-detected multiline comments
293 (patch by Eugene Arshinov, thanks).
296 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
299 Show number of lines of current document inside statusbar. Thanks to
300 Can Koy for providing the patch.
303 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
305 * src/keybindings.c, doc/geany.txt, doc/geany.html:
306 Make Switch to Editor keybinding reshow the document statistics
307 line, so user doesn't have to move the cursor.
310 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
313 Update keywords for the R language (patch by Jon Senior, thanks).
316 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
319 Fix the instruction how to insert unicode characters
323 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
325 * scripts/create_py_tags.py:
327 Replace tabs by spaces.
330 Replace tabs by spaces.
331 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
332 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
333 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
334 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
335 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
336 src/plugindata.h, src/sidebar.c, src/sidebar.h:
337 Add keybindings to switch to the sidebar's Document and Symbol list
338 as well as to the Message Window's current tab
339 (patch by Eugene Arshinov, thanks).
341 Update primary keywords for the R language
342 (patch by Jon Senior, thanks).
345 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
348 Add more detailed hints about reloading configuration
349 (thanks to Tony Rick).
350 * data/filetypes.javascript:
351 Correct the keyword list for JavaScript (thanks to Jonas).
354 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
356 * New release: Geany 0.18.1 "Balfour".
359 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
362 Add special cases for handling the Select All keybinding (Ctrl-A) in
363 the toolbar search and goto line text entries (closes #2948040).
364 Strip trailing spaces after reflowing a paragraph, patch by
365 Dominik Wagenfuehr, thanks (closes #2945497).
368 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
370 * src/geanymenubuttonaction.c, src/templates.c:
371 Partly revert last commit:
372 Unref the new files toolbar menu when freeing templates as it
373 was done before but unref it *after* the menu has been removed
374 from the GeanyMenuButtonAction.
376 Fix possible endless loop when trying to detect the encoding of
377 non-text files (patch by Alexey Antipov, thanks).
380 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
383 Allow saving remote files using g_file_set_contents() as well
384 (patch by Алексей Антипов, thanks).
385 * data/filetypes.python:
386 Adjust style for secondary keywords to be less aggressive.
387 Add Python 2.5 builtins keywords.
388 * src/geanymenubuttonaction.c, src/templates.c:
389 Unref the new files toolbar menu when setting a new menu to fix
390 possible crashes when reloading configuration.
392 When reloading configuration, process the current document at last
393 so the symbol list will be updated correctly.
396 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
399 Explicitly read filetype configuration files before generating
400 global tags to get settings for custom filetypes.
403 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
406 Fix GLib warning when toggling 'no plugins available' item.
409 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
412 Include geany.ico in the distribution tarball.
414 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
415 * scripts/create_py_tags.py:
416 Make the script a bit more robust with newer Python versions.
418 Use utils_spawn_sync() instead of g_spawn_sync().
421 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
424 Close meta tag for export date properly.
427 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
430 Update RPM Spec file (patch by Dominic Hopf, thanks).
433 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
436 Fix renaming sci_send_message(), sci_send_command() function pointers.
439 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
441 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
442 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
443 plugins/geanyfunctions.h, plugins/Makefile.am,
444 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
445 Use full function name for GeanyFunctions function pointers. This
446 avoids naming conflicts e.g. with C++'s 'new' keyword.
447 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
450 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
452 * src/utils.c, src/utils.h, src/vte.c:
453 Add utils_copy_environment() and make use of it.
454 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
455 src/editor.c, src/templates.c, src/templates.h:
456 Add new special template wildcard "{command:...}" to use the
457 output of a command in templates.
458 Adjust template functions to mostly work with GeanyDocuments.
459 Minor cleanups in the template code.
461 Replace the old icons with smiley icons from the Rodent icon theme.
462 Fix showing the same icon for two or more slots.
464 * src/editor.c, src/editor.h, src/keybindings.c:
465 Rename fold_symbol_click() to editor_toggle_fold().
466 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
467 was used to respect the 'Fold/unfold all children' preference
471 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
474 Prevent possible segfault in get_build_group().
476 Fix GLib warning & beep if trying to insert multiline comment for a
477 filetype that doesn't support it.
480 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
483 Add gcc commands to build a plugin to the HowTo.
484 * src/search.c, src/document.c, src/document.h:
485 Show 'Replaced X matches in Y documents' message when using Replace in
489 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
491 * scripts/plugin_test.c:
492 Add a little test program which can load and test Geany plugins to
493 verify it is loadable at runtime and all necessary symbols are
495 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
497 Add new signal: "geany-startup-complete" which is sent once all
498 initialization and startup tasks has been done.
499 * README.I18N, configure.ac, wscript, po/LINGUAS:
500 Remove po/LINGUAS from the repository.
501 Generate it automatically if needed by reading available
502 message catalogs from the po directory.
503 Also respect the LINGUAS environment variable properly.
506 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
509 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
513 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
515 * src/editor.c, src/templates.c, src/templates.h:
516 Refactor templates_replace_all() into templates_replace_valist()
517 to save some code duplication.
520 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
522 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
523 src/plugindata.h, src/plugins.c:
524 Add editor_insert_text_block() to plugin API.
527 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
530 Update copyright information.
531 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
532 doc/geany.txt, doc/geany.html:
533 Add keybinding to open the last closed tab (closes #2912692).
536 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
538 * autogen.sh, configure.in, configure.ac:
539 Rename configure.in to configure.ac.
540 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
542 Add sci_find_text() to the plugin API.
543 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
544 src/interface.c, src/prefs.c:
545 Add a checkbox in the preferences dialog to explicitly toggle
546 the visibility of the sidebar (closes #2923340).
549 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
551 * src/editor.c, src/plugins.c, src/plugindata.h,
552 plugins/geanyfunctions.h:
553 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
554 editor_get_eol_char() to the plugin API.
555 * src/callbacks.c, src/plugins.c, src/plugins.h:
556 Fix sensitivity of the Edit->Plugin Preferences menu item
557 if plugins are loaded which do not provide a configuration dialog.
558 * scripts/create_py_tags.py:
559 Rewrite and extend the Python tags parsing script to use
560 Python's inspect module to read symbols from Python modules
561 including scope information.
562 * data/filetypes.restructuredtext:
563 Add the default comment character sequence for reStructuredText.
565 Show the Find/Goto dialogs if the corresponding toolbar buttons are
566 clicked but their text fields are not part of the toolbar (#2920807).
567 * data/filetypes.common, doc/geany.html, doc/geany.txt,
569 Add new style to change foreground and background colours for
570 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
572 Remember the window position of the Find, Replace and Find in Files
573 dialogs (closes #2877988).
576 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
579 Fix a minor typo inside plugin API reference.
582 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
584 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
585 Make dialogs_show_prompt() more flexible to take up to three
586 button/response code pairs to be shown.
587 Add a close button to the dialog when asking to Re-Save a
589 (closes #2916954, based on a patch by Dominik Stadler, thanks).
591 Fix LaTeX environment auto completion with CR/LF line endings.
592 Add some sanity checks.
594 When closing a document after it was deleted from the filesystem,
595 don't ask whether it should be saved first.
596 Mark the document only as changed if it is not closed afterwards.
597 Prevent possible segfaults if the document was closed when it is
598 missing from the filesystem.
599 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
600 src/msgwindow.h, src/prefs.c:
601 Add MessageWindow::scribble and use it instead of searching the
602 widget pointer everytime.
603 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
604 Add preferences for hiding single tabs from the messages window
605 (no GUI preferences yet, still to be implemented).
606 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
607 Set the correct parent window for the toolbar editor
608 dialog (closes #2913334).
609 * src/win32.c, src/win32.h, src/ui_utils.c:
610 Rename win32_show_project_folder_dialog() to
611 win32_show_folder_dialog() as it is not related and not used by any
612 project management related code.
613 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
614 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
615 as it is specialised for opening documents.
616 Implement win32_show_file_dialog() as a generic file open dialog and
617 use it with ui_path_box_new().
620 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
623 Extend auto_latex() function to check whether an environment has been
624 closed within the next lines to avoid auto adding double \end{}.
626 Remove LaTeX tags from SVN. Can be found at
627 http://download.geany.org/contrib/tags/ if needed.
630 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
632 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
633 Add document_need_save_as().
634 Show the Save As also for documents created from filetype templates
635 instead of saving them directly with the untitled filename.
638 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
640 * geany.glade, src/interface.c:
641 Move 'Send Selection to Terminal' menu item from Format to Commands
644 When going to a build error, try the current document's path if
645 the parsed filename doesn't exist. (This can happen when we receive
646 build messages in the wrong order - after the 'Leaving directory'
649 Refactor msgwin_goto_compiler_file_line().
650 * src/interface.c, src/keybindings.c, geany.glade:
651 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
654 Refactor/reformat on_replace_dialog_response().
657 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
660 Improve geany.spec (split the package into a binary and devel
661 package, update BuildRequires and other minor improvements).
662 Patch by Dominic Hopf, thanks.
665 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
667 * src/filetypes.c, src/filetypes.h:
668 Make group for custom filetypes.
669 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
670 Add custom filetype Genie.
673 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
675 * src/highlighting.c:
676 Highlight D & Java types from a global tags file.
677 * src/highlighting.c, doc/geany.txt, doc/geany.html:
678 Add debug message warning if recursive lexer_filetype is set.
679 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
680 Remove duplicate sci_set_keywords(), make argument const.
681 * src/highlighting.c:
682 Only show debug message once if recursive lexer_filetype is set.
683 Tidy highlighting_init_styles code for filetype None handling.
684 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
685 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
686 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
687 tagmanager/parsers.h, tagmanager/makefile.win32,
688 tagmanager/verilog.c, tagmanager/Makefile.am,
689 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
690 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
691 * src/highlighting.c:
692 Fix segfault on startup (oops).
693 * data/filetypes.verilog:
694 Fix using common style colours for Verilog.
697 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
699 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
700 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
701 Move C-like filetype properties into configuration files.
702 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
704 Remove now unnecessary "styling_within_preprocessor" C style key.
705 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
706 data/filetypes.glsl, data/filetypes.cs:
707 Use lexer_filetype=C configuration file key instead of duplicate
708 styleset functions for C++, C#, GLSL, Vala.
711 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
713 * doc/geany.txt, doc/geany.html:
714 Warn about not using BOM for configuration files (confuses GKeyFile
715 parser, at least on my system).
717 Add/improve debug messages for custom filetypes.
720 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
723 Add a couple of further latex-beamer commands to list of LaTeX tags.
726 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
728 * plugins/filebrowser.c:
729 Add an in-entry clear icon to the filebrowser plugin's filter
730 entry (patch by Dominic Hopf, thanks).
731 * src/prefs.c, src/ui_utils.c:
732 Fix two compiler warnings about possibly uninitialised variables.
735 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
737 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
738 plugins/geanyfunctions.h:
739 Add main_is_realized() to the plugin API.
740 * tagmanager/include/tm_tagmanager.h:
741 Update partly outdated and wrong doc comment.
742 * src/main.c, src/main.h, src/socket.c:
743 Allow opening Geany projects remotely.
744 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
745 Add a hidden pref to allow executing text which was sent to the
746 terminal directly, i.e. do not strip trailing newline characters.
747 Also fix the stripping of trailing newline characters if there was
751 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
753 * src/about.c, THANKS:
754 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
755 Kurt de Bree into section of previous translators.
758 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
760 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
761 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
765 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
767 * src/highlighting.c:
768 Make stylesets take a ft_id argument so they can be reused fully with
769 custom filetypes, so custom styles and keywords can be set.
770 * src/highlighting.c:
771 Fix setting filetype properties when both the system and the user file
773 * src/symbols.c, tagmanager/vhdl.c:
775 * src/highlighting.c:
776 Fix lexer settings for custom filetypes.
779 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
782 Remove duplicate regular expression for parsing classes.
783 Fix and improve parsing of constants (patch by Harold Aling, thanks).
784 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
785 src/main.h, THANKS, src/about.c:
786 Add new command line option "--socket-file" to be able to specify
787 separate socket filenames for instances
788 (closes #2896027, patch by Jörn Reder, thanks).
789 * src/keybindings.c, src/keybindings.h:
790 Add keybindings_check_event() to manually check GdkKeyEvents against
792 * src/callbacks.c, src/utils.c, src/utils.h:
793 Add and use utils_get_help_url().
794 * geany.glade, src/interface.c, src/prefs.c:
795 Add a Help button to the preferences dialog.
796 Handle Help keybinding events for the preferences dialog especially
797 and open the manual with the corresponding anchor link to the current
798 preferences page (same goes for the new Help button).
801 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
803 * src/toolbar.c, src/geanymenubuttonaction.c,
804 src/geanymenubuttonaction.h:
805 Use separate tooltips for toolbar menu buttons and their attached
807 * tagmanager/latex.c:
808 Improve parsing of sections and chapters by ignoring shortnames
809 like \section[shortname]{label} (closes #2890477).
812 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
814 * src/geanymenubuttonaction.c:
815 Try to fix Gtk warning when using Tools->Reload Configuration.
818 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
820 * src/highlighting.c, doc/geany.txt, doc/geany.html,
821 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
822 data/filetypes.pascal, data/filetypes.docbook,
823 data/filetypes.python, data/filetypes.conf:
824 Use filetypes.foo [lexer_properties] group instead of hardcoding
825 lexer properties (more flexible e.g. for custom filetypes).
826 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
827 Replace filetypes.xml html_asp_default_language key with
828 filetypes.html asp.default.language property in [lexer_properties]
832 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
834 * doc/geany.txt, doc/geany.html:
835 Fix slightly wrong description of how to insert Unicode characters.
837 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
838 ui_setup_open_button_callback().
839 * src/prefs.c, src/prefs.c, src/vte.c:
840 Refactor color and font button callback functions in the
841 preferences dialog. Move the VTE related callback functions
843 Make use of ui_setup_open_button_callback().
845 Improve printing status texts (patch by Dominic Hopf, thanks).
846 * src/prefs.c, src/vte.c:
847 Use the default dialog title set by ui_setup_open_button_callback()
848 to be more consistent and to save one string.
851 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
854 Separate DKinds from CKinds.
855 Don't generate macro tags for D, Java.
858 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
860 * tagmanager/ctags.c, tagmanager/general.h:
861 Make TagManager Assert statements cause g_warning on failure.
863 Fix reflow paragraph command when cursor < anchor using
867 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
870 Fix Geany segfault with constant tags (#2895168).
872 Fix invalid tree iter access when using tv_iters.tag_other but not
873 using tv_iters.tag_variable.
874 * HACKING, tagmanager/perl.c:
875 Fix parsing Perl format statements ("other" type doesn't seem to work).
876 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
877 Fix using "other" tag type.
880 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
883 Remove useless comment about applying settings only when libvte.so
884 could be loaded which is only displayed *if* libvte.so is loaded.
886 Allow autocompletion for HTML entities even within a word.
887 * src/geanymenubuttonaction.c:
888 Only set the menu of the button if a non-empty GtkMenu is passed to
889 geany_menu_button_action_set_menu() so the menu arrow keeps
893 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
896 Fix parsing some Java code (e.g. filetypes.java) after r4407.
899 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
902 Parse D functions with contracts (fixes #1885480).
903 Parse D alias statement like typedef.
904 (Ignore some more D keywords).
906 Fix creating D interface tags properly.
908 Parse contents of D extern{} and version{} blocks.
911 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
917 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
919 * src/plugindata.h, HACKING:
920 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
923 Show number of files saved on status bar when using Save All.
924 * src/highlighting.c:
925 Use default color scheme if pref color scheme file doesn't exist.
927 Fix moving correct lines after selecting whole line(s).
930 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
932 * tagmanager/makefile.win32:
933 Fix broken build on Windows because of a typo
934 (patch by Timothy Boronczyk, thanks).
937 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
939 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
941 Add 'View->Editor->Color Schemes' menu, for now only shown if color
942 scheme files exist in a colorschemes config directory. Color scheme
943 files must end in ".conf" and currently only the [named_styles]
945 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
946 Add utils_get_config_files().
947 * src/highlighting.c:
948 Fix issue with default color not being reset if overridden with a
949 system default color.
950 * src/highlighting.c:
951 Only reload filetype files when changing color scheme, not all
953 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
954 Deprecate documents_foreach() as it looks more like a function; use
955 foreach_document() instead.
956 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
959 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
961 * src/stash.c, src/stash.h:
962 Use typedef instead of pointer for widget_id function arguments.
965 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
968 Don't expand Plugin Preferences page spacing vertically to fill the
969 height of the dialog.
970 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
971 geany.glade, plugins/splitwindow.c:
972 Allow GeanyKeyBinding label field to contain underscores, which won't
973 be displayed by Geany. This saves adding near-duplicate translation
975 Add mnemonics for 3 Edit->Format menu items.
976 Add keybindings_get_label().
977 * src/interface.c, geany.glade:
978 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
982 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
985 Desensitize Edit->Commands menu item when no docs are open.
986 * src/interface.c, src/keybindings.c, src/callbacks.c,
987 src/callbacks.h, geany.glade:
988 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
989 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
990 Add general function sci_get_string() that works with any string
991 buffer messages that follow the Windows message convention.
992 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
993 src/keybindings.h, src/callbacks.c, src/callbacks.h,
994 src/pluginutils.c, src/pluginutils.h, geany.glade:
995 Add 'Edit->Plugin Preferences' menu item and keybinding.
996 Don't include plugindata.h in pluginutils.h because it redefines the
997 GEANY() macro for plugin use.
998 * doc/geany.txt, doc/geany.html:
999 Update for Plugin Preferences keybinding.
1002 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1005 Sort document word completion list.
1006 * src/interface.c, src/keybindings.c, src/callbacks.c,
1007 src/callbacks.h, geany.glade:
1008 Add some useful commands to editor popup menu under "Commands"
1009 submenu (thanks to Lex).
1010 Move 'Duplicate line or selection' from Format -> Commands submenu.
1011 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1012 Enable switching the sidebar to the right on Windows again, as it
1013 apparently works after all.
1015 Fix using tab to autocomplete in some other situations that word part
1016 completion doesn't apply in.
1017 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1018 Add Edit->Commands submenu which is shared with the editor popup menu.
1019 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1020 Change editor popup Commands submenu to start as child of menubar Edit
1021 menu, as this is more usual e.g. for keybindings initialization.
1022 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1024 Share a single Format submenu for menubar Edit and popup menu.
1027 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1030 Fix a compiler warning about an uninitialised variable.
1032 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1033 sciwrappers.h, build.h (for the Waf build system,
1034 accordingly to r4366).
1037 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1039 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1040 src/toolbar.c, src/toolbar.h:
1041 Add missing dox for types/files in the API.
1042 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1043 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1044 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1045 of functions not in the API).
1046 Warning: any plugins that include these headers should remove them.
1047 * src/build.c, src/build.h:
1048 Move function doc-comments to build.c so they stay in sync. Note:
1049 these functions are still not in the API.
1051 Add 'Doc-comments' plugin API subsection.
1052 * plugins/filebrowser.c:
1053 Fix packing configure widgets equally.
1054 Use spacing multiples of 6 as recommended by Gnome HIG.
1055 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1056 Disable switching the sidebar to the right on Windows as it will
1057 probably fail like the Split Window plugin.
1059 Improve 'Detect from file' indentation pref by ignoring lines with
1060 indentation wider than 24 characters as this is more likely to be
1061 alignment than indentation.
1064 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1066 * plugins/saveactions.c:
1067 Fix adding the filetype's default extension when using the
1068 Instant Save plugin (closes #2885142).
1070 Before looking for line and column numbers specified as part
1071 of a filename, ensure the file doesn't exist on disk. This allows
1072 opening of files like "test:0".
1074 Rename "select" variables into "selection" to avoid shadowed names.
1075 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1076 Add ui_widget_modify_font_from_string() and sci_goto_line()
1078 * plugins/filebrowser.c:
1079 Rename "select" variables into "selection" to avoid shadowed names.
1080 Make use of ui_widget_modify_font_from_string().
1083 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1085 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1086 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1088 Add sidebar position interface pref.
1091 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1093 * doc/geany.txt, doc/geany.html:
1094 Add missing underscores to links.
1097 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1099 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1100 Add 'Move line(s) up/down' keybindings.
1103 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1105 * src/build.c, src/build.h, src/filetypes.h:
1106 Include code for project filetype execute commands and fix bug in
1107 saving project filetypes list.
1108 * src/project.c, src/build.c, doc/geany.txt:
1109 Make non-project execute configuration save to filetypes not geany.conf.
1110 Fix closing of project failing to remove build commands dialog entry.
1113 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1115 * src/project.c, src/ui_utils.c:
1116 Set border width for project properties build table.
1117 * geany.glade, src/interface.c:
1118 Don't expand hard tab width alignment.
1121 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1123 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1124 doc/geany.txt, doc/geany.html:
1125 Support loading global tags files for custom filetypes.
1126 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1127 doc/geany.txt, doc/geany.html:
1128 Add 'Word part completion' keybinding so keys other than Tab can be
1129 used, or to clear/change the combination so Tab does full completion
1131 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1132 Add 'Select to previous/next word part' keybindings.
1133 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1134 Add 'Switch to Messages' focus keybinding.
1137 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1139 * doc/geany.txt, doc/geany.html:
1140 Add 'Custom filetypes' section.
1141 * src/filetypes.c, src/filetypes.h, src/document.c,
1142 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1143 tagmanager/include/tm_source_file.h:
1144 Add filetype "tag_parser" key so custom filetypes can use an existing
1146 Add tm_source_file_get_named_lang().
1147 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1149 Add filetype "lexer_filetype" key so custom filetypes can use an
1153 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1155 * THANKS, src/about.c:
1156 Add Xhacker Liu for his work at zh_CN translation to long list of
1160 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1162 * src/sciwrappers.c:
1163 Remove unnecessary line number margin padding.
1164 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1165 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1167 Improve word part autocompletion so AC list is not cancelled and
1168 reshown (this also stops the selection changing).
1169 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1171 Improve CamelCase word part autocompletion for runs of capital letters.
1173 Don't complete snippets if there's a selection.
1176 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1179 Fix crash opening project when Geany started with no geany.conf.
1182 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1184 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1185 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1187 Add word part autocompletion for the current selected item when
1188 pressing Tab - Enter still completes normally.
1189 Add foreach_str() API macro.
1190 Temporarily modify scintilla to say if tab was used for
1192 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1193 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1194 plugins/classbuilder.c:
1195 Revert r4301 - utils_free_pointers() taking 4 arguments.
1196 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1197 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1198 plugins/splitwindow.c:
1199 Add highlighting_set_styles() to API, use for Split Window plugin so
1200 filetypes.common settings get set too.
1201 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1203 * src/document.c, src/editor.c, plugins/splitwindow.c:
1204 Call editor_apply_update_prefs() from editor_create_widget() so
1205 correct tab width and other settings are applied for Split Window
1209 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1211 * src/keybindings.c:
1212 Don't include trailing newlines when using reflow command.
1214 Add stock close buttons to notebook tab popup menu.
1215 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1216 plugins/geanyfunctions.h:
1217 Add document_get_notebook_page() to API.
1219 * data/templates/files/file.html, data/templates/files/file.php:
1220 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1221 * src/interface.c, src/ui_utils.c, geany.glade:
1222 Move Tools configuration items to top of menu.
1223 * src/keybindings.c, src/search.c:
1224 Fix warning when using Find in Files with no documents open; make
1225 keybinding work in this case.
1228 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1230 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1231 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1232 Make Split Window 'Show current document' button have a drop-down menu
1233 to select the other documents.
1234 Add new API function ui_menu_add_document_items().
1237 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1240 Fix sensitivity settings for compile and build toolbar items.
1243 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1246 Don't use filetype submenus for templates (slower to navigate, often
1247 only 1 per-filetype anyway).
1249 Put old filetype template menu items in 'Old' submenu as they should
1250 be removed after the 0.19 release.
1251 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1252 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1253 to be ignored if inappropriate so a later keybinding with the same
1254 key combination can intercept it. (Also group callbacks are usually
1255 tidier than separate callbacks).
1256 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1257 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1258 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1259 plugins/classbuilder.c:
1260 Make utils_free_pointers() take 4 arguments, add to API.
1261 * src/templates.c, src/tools.c, src/ui_utils.c:
1262 Fix memory leaks with gtk_container_get_children().
1265 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1268 Ensure that old style build config is not loaded if it does not exist.
1271 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1273 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1274 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1277 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1279 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1281 Apply set default encoding for existing files only if the files are
1282 non-Unicode (patch by Alexey Antipov, thanks).
1285 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1287 * src/highlighting.c:
1288 Move new_styleset() and preprocessor setup code into styleset_c_like().
1289 * src/highlighting.c:
1290 Call apply_filetype_properties() from styleset_c_like().
1293 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1295 * doc/geany.txt, doc/geany.html:
1296 Improve information about predefined keybindings which are
1297 commonly used across applications (patch by Lex Trotman, thanks).
1299 Enable embedded page setup properties in the (Unix) Print dialog
1300 on newer GTK versions (closes #2870596).
1301 * src/highlighting.c:
1302 Map global types (read from tags files) to keyword style for
1306 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1309 Fix wrong creation of filetype template menu items for custom
1311 * src/highlighting.c:
1312 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1314 Group 'New with template' items by filetype submenu (currently only for
1316 Show custom file template items before filetype template items.
1317 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1319 Only use one 'New with template' submenu - reparent as needed.
1321 Don't create templates/filetype.none either.
1323 Warn if custom template file no longer exists.
1326 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1329 Add missing icon for Java packages in the Symbol List.
1332 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1334 * src/highlighting.c, data/filetypes.vala:
1335 Add Vala keywords to conf file.
1336 * src/templates.c, doc/geany.txt, doc/geany.html:
1337 Read custom file templates from $prefix/share/geany/templates/files as
1339 * src/templates.c, data/templates, data/templates/files,
1340 data/templates/files/file.rb, data/templates/files/file.html,
1341 data/templates/files/main.java, data/templates/files/main.c,
1342 data/templates/files/main.cxx, data/templates/files/file.php,
1343 data/templates/files/main.d, data/templates/files/program.pas,
1344 data/templates/files/main.py, data/templates/files/file.tex,
1345 wscript, Makefile.am:
1346 Move filetype template defaults into custom file template files.
1349 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1351 * src/symbols.c, tagmanager/perl.c:
1352 Change Perl tag parser to ctags SVN r601. This removes support for
1353 buggy local/my/our but it parses constant/format/labels and should
1354 be less buggy overall (closes #2861232).
1355 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1356 Add utils_get_file_list_full() which can optionally sort or include
1357 a full path for each list item.
1358 * src/utils.c, src/plugindata.h, src/plugins.c:
1359 Add utils_get_file_list_full() to API.
1362 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1364 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1365 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1366 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1367 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1368 po/POTFILES.in, wscript:
1369 Rename treeviews.[hc] -> sidebar.[hc].
1370 * data/filetypes.common:
1371 Remove unused [styling] arguments.
1372 * src/highlighting.c, data/filetypes.markdown,
1373 data/filetypes.restructuredtext:
1374 Remove style defaults from the code - just read them from
1375 configuration files.
1376 * src/highlighting.c, HACKING:
1377 Add apply_style_entries() to simplify implementing styleset_foo().
1378 * src/highlighting.c:
1379 Remove filetype keyword defaults from the code - just read them from
1380 configuration files.
1381 * src/highlighting.c:
1382 Add sci_set_keywords() wrapper.
1385 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1387 * scripts/create_py_tags.py:
1388 Make the code a bit more pythonic.
1389 * doc/images/build_menu_commands_dialog.png,
1390 doc/images/main_window.png:
1391 Add new images referenced in the documentation.
1392 * doc/geany.html, doc/geany.txt:
1393 Several documentation improvements (patch by Lex Trotman, thanks).
1394 * src/pluginutils.c:
1395 Fix setting the appropriate page of the combined plugins
1399 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1401 * src/keybindings.c:
1402 Only focus toolbar goto line entry when pressing keybinding if it's
1403 visible (patch by Eugene Arshinov, thanks).
1405 Focus editor after entering a number in the goto line toolbar entry.
1407 Use AC_PATH_PROG instead of which for portability (patch by Erik
1408 Southworth, thanks).
1410 Show plugins that only implement plugin_configure_single() in the
1411 multiple-configure dialog as a page with a configure button on it.
1412 Add padding for multiple-configure dialog.
1413 Make the multiple-configure dialog notebook tabs scrollable.
1414 * src/pluginutils.c, src/pluginutils.h:
1415 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1416 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1417 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1418 plugins/geanyfunctions.h, plugins/filebrowser.c:
1419 Add plugin_show_configure() API utility function.
1420 Add File Browser popup menu 'Preferences' item.
1421 * src/highlighting.c:
1422 Add get_keyfile_ints() instead of using tmp_style hack.
1423 * src/highlighting.c, data/filetypes.xml:
1424 Change new html_asp_default_language markup pref to use integer,
1425 not hex in config file.
1426 Fix minor issue with changing pref back to 0.
1427 * src/highlighting.c:
1428 Fix possible segfault in get_keyfile_int() if key value is malformed.
1431 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1433 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1434 Add "html_asp_default_language" pseudo style to filetypes.xml
1435 to allow setting the used language in embedded ASP code
1436 (patch by Ross McKay, thanks).
1437 * src/filetypes.xml:
1438 Update VBScript keywords (patch by Ross McKay, thanks).
1441 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1443 * src/keybindings.c, THANKS:
1444 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1445 keybinding use line breaking column when enabled.
1447 Fix showing the document before reload dialog when opening an
1449 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1450 Add plugin_configure_single() plugin symbol which is easier to
1451 implement than plugin_configure() but won't support a
1452 multiple-plugin configure dialog.
1454 Show multiple plugins in the 'Configure Plugins' dialog.
1457 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1459 * doc/geany.txt, doc/geany.html:
1460 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1462 * doc/geany.txt, doc/geany.html:
1463 Add 'Toolbar entries' section.
1464 * doc/geany.txt, doc/geany.html:
1465 Update 'Go to line' keybinding description.
1466 * doc/geany.txt, doc/geany.html:
1467 Split keybinding table into group tables; update KB links.
1470 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1473 Fix compiler warnings about uninitialised variables.
1474 * src/callbacks.c, src/document.c:
1475 When reloading files, use the previously set encoding instead of
1476 detecting it again (closes #2862041).
1478 Turn on automake silent rules if supported.
1481 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1484 Speed up sorting in utils_get_file_list(). This reduces the file
1485 browser delay on displaying a big directory, e.g. /usr/bin.
1487 Expand command entry width when expanding Build Commands dialog.
1489 Split Build Commands dialog notes label and edit text.
1491 Add padding for Build Commands dialog separators.
1492 Add colons for regex field labels; fix 1 capitalisation.
1494 Fix none filetype Build Commands dialog label.
1495 Make group labels bold.
1496 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1498 Add & use ui_label_set_markup(), ui_label_new_bold().
1499 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1500 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1501 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1502 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1503 * src/keybindings.c:
1504 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1507 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1509 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1510 tagmanager/parsers.h, tagmanager/makefile.win32,
1511 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1512 data/filetype_extensions.conf, wscript:
1513 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1515 Merge recent changes from the CTags project to further improve
1519 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1522 Fix wrong alignment of printed pages when page headers are
1523 disabled (closes #2856822).
1524 Plug a small memory leak and improve function signature of
1527 Save an if expression.
1529 After clearing a text field using the embedded clear icon, put the
1530 input focus into this text field.
1533 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1535 * plugins/filebrowser.c:
1536 Free file list memory whilst iterating the list.
1537 Minor formatting fixes.
1538 * src/utils.c, src/utils.h:
1539 Add foreach_dir() API macro.
1540 Update API docs for utils_get_file_list().
1541 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1543 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1544 Beep if there are no more snippet positions.
1545 Limit length of snippet positions queue to 20.
1548 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1550 * src/keybindings.c, src/callbacks.c, src/search.c:
1551 Make Goto Tag commands use the current selection if present (useful
1552 for selecting part of a tag or for ReST section names with spaces
1555 Don't move the cursor when reloading.
1556 * src/plugindata.h, src/editor.c, src/editor.h:
1557 Make editor_prefs.snippets hash table private (not a pref).
1560 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1563 Remove deprecated --debug flag. Please use --verbose/-v instead.
1566 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1569 Show Find in Files stderr output in messages window instead of
1570 debug window so that invalid regex messages can be seen easily.
1571 Combine FIF stdout and stderr callback code.
1574 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1577 Fix opening filenames beginning with two dots (closes #2858487).
1578 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1579 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1580 data/filetypes.common, geany.glade:
1581 Update syntax highlighting after changing the 'Invert syntax
1582 highlighting colors' pref, instead of requiring a restart.
1583 Remove filetypes.common invert_all option - use 'Invert syntax
1584 highlighting colors' pref instead (closes #2854525).
1585 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1586 Add 'Allow' button when showing the conflicting keybinding dialog.
1587 Make dialogs_show_question_full() use GTK dialog on Windows if
1588 button text is not the stock yes/no items.
1589 Add dialogs_show_prompt() which also has an 'Apply' button.
1590 * src/queue.c, src/queue.h:
1591 Add warning that GeanyQueue may be removed.
1592 * src/keybindings.c, src/editor.c, src/editor.h:
1593 Change snippet_goto_next_cursor() to
1594 editor_goto_next_snippet_cursor() as it's in editor.h.
1595 Avoid using GPOINTER_TO_INT macro.
1598 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1600 * src/keybindings.c:
1601 Fix 'Reflow block' command when at the last paragraph and there's
1602 no last newline (patch by Eugene Arshinov, thanks).
1604 Add 'Compiler options & warnings' section.
1605 Update Style section to be clearer about code alignment and show
1610 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1612 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1613 src/plugindata.h, src/plugins.c, src/editor.c,
1614 plugins/geanyfunctions.h:
1615 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1616 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1618 Add sci_toggle_marker_at_line().
1619 Fix SciFuncs alignment.
1622 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1625 Fix erroneous free of returned string in prepare_run_script.
1628 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1630 * data/filetypes.latex:
1631 Changing default value for showing pdf and dvi to ensure to take
1632 *.pdf and *.dvi file.
1635 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1637 * src/about.c, THANKS:
1638 Change language string for Slovenian translation.
1641 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1643 * tagmanager/txt2tags.c:
1644 Fix multi-byte character constant comparison.
1646 Fix Gtk warning when trying to update documents popup menu item
1647 sensitivity before they exist.
1650 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1653 Improve the opening string in the plugin manager dialog.
1655 Use "max-width" to set the document width of the generated
1656 HTML documentation to let the text be auto-wrapped.
1657 * src/prefs.c, src/tagmanager/include/guregex.h,
1658 src/tagmanager/include/tm_tagmanager.h:
1659 Remove trailing spaces (patch by André Hentschel, thanks).
1661 Fix a compiler warning.
1663 Fix crash when opening documents.
1664 * src/build.c, src/build.h, src/project.c:
1665 Adjust coding style (no code changes).
1666 * src/build.c, src/project.c:
1667 Use NZV() macro instead of strlen() to check for empty strings.
1668 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1669 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1670 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1671 src/plugins.c, THANKS:
1672 Add new plugin signal: "document-before-save".
1673 Add get_line_end_position(), set_target_start(), set_target_end(),
1674 replace_target() to the plugin API
1675 (patch by Eugene Arshinov, thanks).
1676 Add new plugin signal: "document-filetype-set" (closes #2852286).
1677 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1678 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1679 tagmanager/Makefile.am, tagmanager/makefile.win32,
1680 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1682 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1685 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1687 * src/treeviews.c, src/document.c:
1688 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1689 Use gtk_notebook_set_current_page() instead of
1690 document_open_file_full() when choosing an item from the documents
1692 Avoid using goto in document_open_file_full().
1695 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1697 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1698 Enable type-ahead find for sidebar symbols and documents tabs
1699 (patch by Thomas Martitz, thanks).
1701 Fix 2 free's of possibly uninitialized pointers.
1704 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1706 * src/build.c, src/filetypes.h, src/filetypes.c
1707 Only write filetype config files when build command or regex is
1708 actually changed. Removed commented code in src/filetypes.c.
1710 Ensure uses of filename are protected against nulls when running
1711 a build command and give status message if not.
1714 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1717 Remove plugin from plugin manager dialog on unloading if it no
1718 longer exists or is incompatible.
1721 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1724 Add warning if only one of the plugin_key_group[_info] symbols is
1725 defined for a plugin.
1726 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1727 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1729 Merge custom-filetypes branch:
1730 Support adding custom filetype files e.g. filetypes.Foo.conf.
1732 Allow GeanyFiletype::extension to be NULL.
1733 Add note about using GeanyFiletype pointer instead of filetype_id
1734 for filetypes.c function arguments.
1735 Replace styleset_none() with styleset_default().
1738 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1741 Show the sidebar if either the documents or the symbols list are
1742 enabled (related to #1876107).
1745 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1747 * src/build.c, src/filetypes.c:
1748 Fix compiler warnings.
1750 Fix removing leading double slashes in filenames which are used for
1751 network resources on Windows (closes #2844085).
1754 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1756 * src/keybindings.c:
1757 Fix Make keybindings (patch by Lex Trotman, thanks).
1759 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1761 Mention Files link at top for header files; demoplugin.c.
1762 Minor edits; remove 'far from being complete'.
1763 * src/keyfile.c, src/keyfile.h, src/main.c,
1764 data/filetype_extensions.conf, HACKING:
1765 Remove --generate-data-files argument & code - just edit
1766 filetype_extensions.conf by hand (filetype order was broken
1768 Add *.H extension for C++ (useful for non-Windows systems).
1771 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1774 Fix implementation of loading old project files with base
1775 directories. Use project_make_base_path instead of re-
1776 implementing. Now depends on project.c reading base dir
1777 prior to calling load_build_menu.
1779 Change usage of project base directory to conform with
1780 previous documented behavior when loading old project files.
1782 Change make custom and make object to ignore make in base path
1783 when reading old project file settings. Changed some indent
1784 spaces to tabs. Fix missing compile menu accelerator.
1787 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1790 Add warning about not using undocumented features.
1791 Add reference to HACKING for plugin API development.
1793 Add section 'Plugin API/ABI design'.
1794 * src/keybindings.h, src/makefile.win32, src/project.h,
1795 src/filetypes.h, src/Makefile.am, wscript:
1796 Use GEANY_PRIVATE to hide some fields from plugins.
1798 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1799 * src/build.c, src/build.h, src/project.c:
1800 Use build_ prefix for 3 functions in build.h; add a static modifier.
1803 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1806 Improve parsing of PHP functions by requiring a valid modifier or
1807 whitespace before the 'function' keyword to ignore some false
1808 positives like function tags inside comments
1809 (patch by Harold Aling, thanks).
1810 * tagmanager/python.c:
1811 Don't parse comments after import statements and other tags
1812 (closes #2838938, patch by Huandari Lopez, thanks).
1815 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1817 * data/filetypes.markdown:
1818 Add filetypes.markdown for configuration (thanks to Jon Strait).
1819 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1820 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1821 plugins/geanyfunctions.h:
1822 Remove GeanyKeyGroup struct from the API - plugins should not set
1824 Make keybindings_set_item() duplicate the name and label fields
1825 (needed by GeanyLua) and return a keybinding pointer.
1826 Add keybindings_get_item() to the API (in case it's useful).
1827 Move some keybinding code out of plugin source files.
1830 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1832 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1833 Don't generate build.h API docs until everything is approved and
1834 functions are actually in geany_functions.
1835 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1836 as they may be changed or made private later.
1837 Break ABI for fields removed.
1840 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1842 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1843 src/keyfile.c, src/project.c
1844 Changed names of symbols visible in build API to GEANY_xxx.
1847 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1849 * src/project.h, src/project.c, src/build.c
1850 Remove make_in_base_dir and run_cmd fields from project structure.
1851 Replaced by build functionality. Remove incorrect use in src/build.c
1852 build_run_cmd function.
1855 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1857 * src/project.h, src/project.c
1858 Removed unused project_get_make_dir function, this is now per
1862 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1864 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1865 Fix some more warnings.
1866 Fix commented out execute/stop toolbar code in build.c.
1867 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1868 Changed build.h api so all functions prefixed with build_.
1871 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1873 * src/build.c, src/build.h, src/project.c:
1874 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1877 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1880 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1881 when reading old format configuration & project files.
1882 * src/build.c, src/project.c
1883 Fixed GLib array assertion warnings when no project filetypes are
1884 available to be saved.
1886 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1892 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1894 * src/build.h, src/build.c, src/project.c
1895 Created and documented plugins interface to build menu.
1896 Factored out new get_cmd_group function.
1897 Changed name of remove_command function to be consistent with the rest
1898 of the interface & changed calls in project.c.
1899 * src/Makefile.am, wscript
1900 Added build.h to installed files lists.
1902 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1905 Updated manual to match build-menu capability.
1908 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1910 * src/build.c, src/build.h
1911 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1912 Improved interpretation of run_in_base_dir from old [build-settings]
1913 Added spacing to build commands dialog
1915 Removed run in base path option from project dialog and added button to
1916 set working directories to d the same.
1919 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1922 Re-incorporated toolbar changes in trunk accidently excluded in merge
1924 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1927 Fixed substitute %f etc in commands
1928 Fixed potential leak in build_replace_placeholder
1929 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1930 Fixed build_replace_placeholder to not require document.
1932 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1934 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1935 Fixed crash and lots of warnings, deleted some commented out code.
1936 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1937 Removed make command from preferences and associated code
1939 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1941 * src/build.c, src/build.h
1942 Incorporated patch for working directory field (thanks Thomas)
1943 Removed run_in_base_dir option and associated code that it replaces
1944 Improved handling of old config files and mapping to new ones.
1946 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1948 * src/build.h, src/build.c
1949 Changed to itterate over entries in build commands dialog to allow
1950 additional fields to be added
1951 Implement support for multiple run commands
1952 * data/filetypes.latex
1953 Implement configured commands and labels for latex.
1956 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
1958 * src/build.h, src/build.c
1959 added dialog support for error regular expressions from multiple sources
1960 and storing and loading them
1961 fixed some typos and memory leaks
1962 * src/filetypes.c, src/filetypes.h, project.c
1963 added support for using error regexes from multiple sources
1966 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1968 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
1970 Removal of build menu item source made redundant by the following fix
1972 Corrected priority oreder and loading of filetype dependent build
1973 menu items saved in the project file. Added print routine for
1974 debugging command sources and priorities set compile symbol
1975 PRINTBUILDCMDS true to enable
1977 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
1980 fixed problem loading old format filetype files, some formatting fixes
1981 fixed saving new format files
1982 added operation for clear button on build commands dialog
1984 fixed loading and saving filetype files
1987 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
1989 Configurable Build Menu Changes
1991 * doc/geany.html, doc/geany.txt:
1992 Updated build menu section to new functionality
1993 * src/build.h, src/build.c:
1994 Largly re-written, configurability added, Latex code removed
1995 * src/filetypes.h, src/filetypes.c:
1996 Filetype structure updated to add new command pointers, configuration
1997 load and store changed
1998 * src/keybindings.h, src/keybindings.c:
1999 Changed to address new command storage structure.
2001 Changed to load/store new configuration.
2003 Minor change to initialisation order.
2005 Changed to address new menu item storage structure.
2006 * src/project.h, src/project.c:
2007 Changed to load/store the new configuration info.
2009 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2011 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2012 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2013 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2014 plugins/splitwindow.c:
2015 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2016 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2017 the ABI when adding fields to them.
2018 Add plugin_set_key_group() for plugins to dynamically set a
2019 keybinding group (e.g. for the Lua script plugin). Used in Split
2020 Window plugin as an example.
2021 Improve keybinding docs a little.
2024 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2026 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2027 Add geanyfunctions.h to API docs.
2028 * plugins/splitwindow.c:
2029 Set the cursor color for the split window.
2032 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2035 Fix 'Open Selected File' for unsaved new documents.
2036 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2037 Fix updating main menu accelerators after changing keybindings
2038 (thanks to Lex Trotman).
2040 Fix using 'Insert date' keybinding when a custom date string has
2042 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2043 Merge Plugin and GeanyPluginPrivate structs.
2046 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2048 * src/keybindings.c:
2049 Fix non-working Home and End keys on numpads.
2052 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2054 * doc/geany.txt, doc/geany.html, NEWS:
2055 Add 'Scope autocompletion' section.
2056 Add 'Tools menu items' section to explain configuration files
2057 submenu, reload configuration item.
2058 Minor updates/fixes.
2061 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2064 Add a translation hint to an ambiguous format string.
2066 Add missing include path to fix 'make distcheck'.
2068 Fix opening of local files in the browser on Windows.
2069 * New release: Geany 0.18 "Kaine".
2070 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2071 src/geany.h, doc/geany.html, doc/geany.txt:
2072 Post-release version bump.
2075 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2078 Temporarily disable reshowing calltips when the autocompletion
2079 list was closed implicitly by not choosing an item to fix
2080 problems with wrongly displayed calltips.
2082 Add missing 'coding' cookie to the Python filetype template.
2083 * doc/images/pref_dialog_edit_completions.png,
2084 doc/images/pref_dialog_toolbar.png:
2085 Update images for Geany 0.18.
2088 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2091 Add command '--hackingdoc' to create the HTML form of the
2095 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2097 * po/pt_PT.po, po/LINGUAS:
2098 Added a first Portugese (Portugal) translation based on work done at
2099 launchpad by e.g. André Glória and Alexandre Jesus.
2100 * src/main.c: Fix a minor typo on --help call.
2103 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2105 * src/highlighting.c:
2106 Call get_keyfile_wordchars() in highlighting_init_styles().
2109 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2111 * data/filetypes.ada:
2113 * src/keybindings.c:
2114 Switching notebook tabs now works for the currently used notebook
2115 widget instead of always using the documents notebook.
2116 * src/document.c, src/document.h, src/documentprivate.h,
2118 Small corrections to some API docs.
2121 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2123 * src/build.c, src/win32.h, src/win32.c:
2124 Expand system environment variables (%variableName%) on Windows when
2125 running Build commands.
2128 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2130 * src/keybindings.c:
2131 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2132 future using an indent block is more useful e.g. for ChangeLog
2134 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2135 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2136 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2137 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2138 tagmanager/parsers.h, tagmanager/makefile.win32,
2139 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2140 Add Markdown filetype (patch by Jon Strait, thanks).
2141 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2142 Fix disconnecting plugin signal id when not using geany_object.
2144 Add filetype_make_title() instead of using:
2145 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2146 It also supports "%s file" strings.
2149 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2151 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2152 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2153 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2154 plugins/filebrowser.c:
2155 Add plugin_signal_connect() for connecting plugin signals at
2156 runtime and also for connecting to any GObject signal.
2157 Add 'Plugin Utility Functions' on main page.
2158 Add foreach_array() macro.
2159 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2160 src/document.c, src/editor.c:
2161 Rename 3 sci functions to sci_set_target_start(),
2162 sci_set_target_end(), sci_replace_target() to match the SCI_
2166 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2168 * wscript: Fix compiling error with waf.
2171 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2173 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2174 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2175 src/Makefile.am, wscript:
2176 Move plugin_* utility functions to pluginutils.c.
2177 Add pluginprivate.h.
2179 Fix reshowing calltip in the wrong document.
2182 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2184 * doc/geany.txt, doc/geany.html:
2185 Add some general information about auto-completion capabilities
2186 (patch by Lex Trotman, thanks).
2189 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2191 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2192 Added a first Slovenian translation. Thanks to Joze Klepec.
2195 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2197 * src/highlighting.c:
2198 Use full styleset_foo[_init] function name as argument to
2199 init_styleset_case() and styleset_case() macros so it's easier to
2200 understand the code.
2201 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2202 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2203 doc/geany.txt, doc/geany.html:
2204 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2205 Heavily based on a patch by Eugene Arshinov (thanks).
2206 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2207 editor_strip_line_trailing_spaces().
2210 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2213 Attempt to fix reshowing calltips after the autocompletion list
2215 Reshow calltips also when the autocompletion list was closed
2216 implicitly by not choosing an item.
2218 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2220 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2221 plugins/splitwindow.c:
2222 Change utils_str_remove_chars() to work in place; fix allocating on
2223 the stack (the string length could exhaust the stack size).
2224 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2225 src/printing.c, src/callbacks.c:
2226 Rename utils_str_replace() utils_str_replace_all(), setting a
2227 'gchar **haystack' argument instead of returning a new string.
2229 For the Tabs indent type, remove spaces when unindenting (only) if
2230 there are no tabs on the line.
2231 Group undo actions for (un)indenting of multiple lines.
2232 * src/document.c, src/editor.c:
2233 Fix scrolling horizontally after finding a search match with the
2234 search bar or Find Next/Previous which is off-screen.
2235 * src/keybindings.c:
2236 Fix GLib warning when pressing a key with no documents open.
2239 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2242 Start unifying usage of @a and @c markup elements in API docs,
2244 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2245 Show/hide the toolbar without a restart when the setting in the
2246 preferences dialog is changed (closes #2824785).
2247 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2248 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2249 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2251 Continue unifying usage of @a and @c markup elements in API docs.
2254 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2257 Remove relative/untidy path elements when creating new documents
2258 with a filename (e.g. from the command-line) (#2823998).
2261 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2264 Disable 'Recent Projects' menu item if the list of recent projects
2267 Fix some harmless compiler warnings.
2268 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2269 src/plugins.c, src/utils.c, src/utils.h:
2270 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2271 src/utils.c and add it to the plugin API.
2272 Make utils_str_remove_chars() work on a new copy of the input string
2273 instead of modifying it in place.
2275 Remove underscores from the toolbar items labels.
2278 * plugins/splitwindow.c:
2279 Fix broken 'Show the current document' tool button icon.
2282 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2284 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2286 Add stash_group_add_widget_property() so we can save any widget's
2287 read/write properties.
2288 Use Stash for ui_prefs.sidebar_page setting.
2289 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2290 Make foreach_ptr_array() use an integer argument for its
2291 implementation, as this is more useful potentially than a gpointer*
2292 argument, and more straightforward.
2293 Add foreach_c_array(), foreach_ptr_array() to API.
2294 * src/utils.c, src/utils.h, src/document.c:
2295 Remove relative/untidy path elements when opening documents (closes
2298 Fix showing project name for documents list files with no
2299 subdirectory (oops).
2301 Fix checking whether to overwrite when using the Rename button in
2302 the 'Save As' dialog.
2305 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2308 Don't use the main window as parent for dialog boxes if it is not
2310 Set titles for message dialogs.
2313 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2316 Display item labels instead of raw names in the toolbar editor.
2317 Apply changes in the toolbar editor instantly.
2318 Show icons in the toolbar editor.
2319 Speed up toolbar editor dialog creation.
2321 Improve inserting of comment templates like File header or licence
2322 notices. The comment information are now read from the filetype
2323 configuration files.
2325 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2328 Enable file monitoring for files which are written to disk by Geany
2331 Fix broken special case handling when detecting filetypes from a
2332 shebang or other special file headers.
2335 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2338 Make Mark All keybinding clear search highlighting when there's no
2341 Fix wrong match length when using Mark with regex.
2342 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2343 src/keyfile.c, src/main.c:
2344 Add 'Show Paths' documents list popup item.
2345 Add "load_settings" core-only signal emitted just after loading
2346 main keyfile settings; useful to delay building UI elements until
2347 settings have been read.
2349 Fix GTK warning when right-clicking on default tag tree.
2350 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2351 Add treeviews_finalize().
2352 Remove tv.popup_openfiles field.
2355 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2357 * src/highlighting.c:
2358 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2361 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2364 Quote the uri before passing it to the browser when opening a
2365 website (closes #2818635).
2367 Fix broken 'builtin' Run command for HTML files on Windows.
2370 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2373 Properly fix wrong brace highlighting of non-brace character.
2375 Allow autocompletion in Perl double-quoted strings.
2376 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2377 Don't autocomplete in Perl q() strings.
2378 * data/filetypes.common:
2379 Make Mark highlighting brighter.
2380 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2381 Use hyphen for auto-feature terms.
2382 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2383 src/document.h, src/main.c:
2384 Add documents_foreach() API macro that skips invalid docs.
2385 Make filetypes[], documents[] part of the API again.
2386 Add GEANY() macro for sharing geany symbols between API and core.
2387 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2388 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2389 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2390 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2391 plugins/classbuilder.c, wscript:
2392 Add geanyplugin.h single include for plugin API; update all core
2394 Add sci_set_font() to API.
2395 Update plugin howto.
2396 * src/filetypes.c, src/filetypes.h:
2397 Remove filetypes_foreach_named().
2400 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2402 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2403 src/document.h, src/main.c, THANKS:
2404 Apply patch from Eugene Arshinov to reload color schemes via menu
2407 Reload filetypes.common after saving it.
2409 Improve wrong brace highlighting of non-brace character.
2412 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2415 Delay highlighting matching braces by 100ms, which speeds up
2416 scrolling with the arrow keys.
2417 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2418 Add 'Mark All' keybinding.
2419 * tagmanager/diff.c:
2420 Show relative paths in diff filename tags.
2423 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2425 * src/highlighting.c:
2426 Fix setting keyword list 'classes' for Haxe
2427 (pointed out by Andreas Mokros, thanks).
2430 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2432 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2433 doc/geany.txt, doc/geany.html, geany.glade:
2434 Add 'Drop rest of word on completion' pref.
2435 * src/editor.c, doc/geany.txt, doc/geany.html:
2436 If autocompletion is already visible when forcing completion, show
2437 document word completion instead of tag completion.
2438 Docs: Minor edits of related prefs items.
2439 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2440 Add warning when printing and editor font is not monospaced.
2441 Fix using GtkMessageType instead of gint param for
2442 dialogs_show_msgbox*().
2443 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2445 Support 'tab indents, space aligns' style for auto-indentation
2449 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2451 * src/document.c, src/documentprivate.h:
2452 Rework the GIO based file monitoring code. Now it is used only
2453 to indicate a possible change of the file, the real check if the
2454 file has been changed is performed by stat().
2455 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2456 Add style 'line_height' to increase the line height.
2457 Add style 'marker_mark' and change style 'marker_search' to
2458 define the style used for marked search results.
2459 * doc/geany.txt, doc/geany.html:
2460 Add the new 'Autocomplete all words in document' pref to the docs.
2463 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2465 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2466 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2467 Add 'Autocomplete all words in document' pref.
2468 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2470 Fix limiting number of word completion entries too much.
2471 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2472 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2473 Show autocompletion icons for tag symbols - for now only tags with
2474 an arglist have the 'function/method' icon, all others have the
2476 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2478 * src/highlighting.c:
2479 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2483 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2485 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2486 Fix removing underscores in translated string using no_underscore()
2488 Set a tooltip for the Split Window plugin's Show Current tool button.
2489 Add utils_strdupa() macro.
2490 * src/interface.c, geany.glade:
2491 Use stock Select All icon now we have >= GTK 2.8.
2493 Fix using project name for document items that start with the
2494 project base path but don't match it e.g. ".../geany-plugins"
2495 instead of ".../geany" when project name is 'geany'.
2498 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2501 Fix warnings when the toolbar does not contain the Run button.
2503 Fix wrong parsing of complex expressions in the Lua parser.
2504 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2506 Remove unnecessary enums.
2507 * scintilla/*, scintilla/include/*, src/plugindata.h:
2508 Update Scintilla to version 1.79.
2509 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2511 Use the new Scintilla struct names prefixed with 'Sci_'.
2512 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2514 Add second argument to the 'line_wrap_indent' styling setting to
2515 control the new Scintilla indentation mode for wrapped lines.
2517 Properly close the toolbar editor on delete-events.
2518 Fix warnings and possible crashes in the toolbar editor when the list
2519 of displayed toolbar items is empty.
2520 * data/filetypes.tcl:
2521 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2523 Make the plugin manager dialog a bit bigger.
2526 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2528 * doc/geany.html, doc/geany.txt:
2529 Fix wrong default values for the 'Show Calltip' keybinding.
2532 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2534 * data/filetypes.tcl, src/symbols.c:
2535 Fix duplicate "context_action_cmd" key.
2536 Use different icons for "Methods" and "Procedures" in the symbol
2539 Fix a small memory leak.
2540 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2541 src/keybindings.h, src/plugindata.h:
2542 Make the Scintilla keybindings 'Delete to end of line' and
2543 'Go to end of display line' configurable.
2545 Fix a typo (closes #2813624).
2548 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2550 * tagmanager/tcl.c, src/symbol.c:
2551 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2552 methods and namespaces).
2553 Patch by Witek Mozga, thanks.
2556 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2558 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2559 src/toolbar.c, src/toolbar.h:
2560 Remove ui_toolbar.xml Configuration Files menu item.
2561 Add a real toolbar editor dialog.
2562 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2564 Add a button in the preferences dialog and an item for the toolbar
2565 popup menu to run the toolbar editor dialog.
2568 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2571 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2572 Fix using locale encoding for default Save As dialog path.
2574 Beep when trying to activate the '...' autocompletion item.
2575 Limit (forced) document word completion to
2576 autocompletion_max_entries.
2577 Beep if no completions are shown when forcing autocompletion.
2580 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2582 * data/ui_toolbar.xml, src/toolbar.c:
2583 Add 'Build' toolbar button to the default layout.
2586 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2589 If forcing autocompletion and there's nothing else to show, complete
2590 from words in the current document (using code from Enrico's
2591 'AutoComplete Test' plugin).
2594 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2597 Add debug message if plugin has not set a name for its keybinding
2599 * data/filetype_extensions.conf:
2600 Add *.m4 for shell scripts.
2603 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2605 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2606 data/filetypes.common, TODO:
2607 Make filetypes.common named styles use the "default" named style for
2608 all missing style fields.
2609 Set named styles to usually leave the background style empty. This
2610 currently allows C-like filetypes to have a common default
2612 Allow hard-coded colors to use -1 for the default color.
2613 Add some highlighting style examples to the manual.
2616 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2619 Create initial template files with proper platform-specific line
2623 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2625 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2626 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2627 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2628 src/ui_utils.c, src/ui_utils.h:
2629 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2631 Refactor some related code.
2632 * tagmanager/conf.c:
2633 Strip trailing spaces from "Key" tags.
2635 Quote the full filename to the Geany executable when creating the
2636 "Open with Geany" context menu item.
2637 * plugins/splitwindow.c:
2638 Avoid using deprecated GTK API.
2639 * src/log.c, src/main.c:
2640 Properly clean up the logging mechanism.
2642 Fix LaTeX view commands on Windows (part of #2807688).
2644 Add a popup menu for the keybinding list in the preferences dialog
2645 to easily expand and collapse all groups.
2646 Refactor the keybindings code for the preferences dialog, prefix all
2648 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2649 Init stock items before creating the toolbar (closes #2809324).
2651 Generate the geany.pc file also on Windows.
2653 Invert the logic to determine which Save All we want to use:
2654 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2655 like icon for any other themes.
2658 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2660 * src/highlighting.c, README.Packagers, HACKING:
2661 Remove gsd_* default styles, use named styles instead.
2662 Note: this relies on filetypes.common being installed.
2663 Add load_style_entries(), which makes style initialization
2664 simpler, used in styleset_c_like_init().
2667 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2670 Prevent possible crash on Windows when not setting an initial
2671 directory for native File Open/Save dialogs.
2672 * data/filetypes.xml, src/highlighting.c:
2673 Add style 'jscript_regex' for filetype HTML
2674 (patch by Chris Macksey, thanks).
2677 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2679 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2680 Make GeanyDocument::file_type always be non-NULL, even for a new
2681 document with no filetype set.
2683 Only autocomplete scope for scopes matching the current filetype's
2685 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2686 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2687 data/filetypes.actionscript, data/filetypes.cs,
2688 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2689 data/filetypes.javascript, HACKING:
2690 Make C++, D lexer filetypes use named styles (apart from uuid,
2691 verbatim, regex styles).
2694 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2697 Don't explicitly change the current directory of the Save As dialog
2698 so that it uses the last used directory.
2701 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2703 * src/encodings.c, src/encodings.h, src/plugindata.h:
2704 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2707 When completing from the macro list, put the cursor after
2711 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2713 * tagmanager/pascal.c:
2714 Fix type definitions being parsed as functions.
2716 Don't autocomplete in unterminated strings as well.
2717 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2718 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2719 Remove data_ptr argument to foreach_[s]list() macros, as using
2720 node->data is enough sometimes; this makes the macro a bit more
2722 Add foreach_[s]list() macros to the plugin API docs.
2725 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2727 * scintilla/LexPascal.cxx:
2728 Backport fix from Scintilla CVS:
2729 Pascal lexer hanging on file that starts with 'interface' after
2733 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2736 Update Waf to 1.5.7.
2738 Overwrite installation prefix on Windows only if it wasn't
2739 specified explicitly.
2742 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2745 Display calltips for Pascal symbols in the Pascal way (#2803945).
2746 * tagmanager/pascal.c:
2747 Fix wrongly set return values for procedures (closes #2803945).
2748 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2749 tagmanager/include/tm_source_file.h,
2750 tagmanager/include/tm_workspace.h:
2751 Fix doxygen warnings.
2754 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2756 * src/editor.c, tagmanager/include/tm_workspace.h,
2757 tagmanager/tm_workspace.c, TODO:
2758 Autocomplete scoped fields like struct members when typing '.' (and
2759 also '->' or '::' in C/C++).
2760 Save all tag types for C/C++ when generating a global tags file, so
2761 we can use autocompletion for structs also.
2762 Merge tm_workspace_find_scope_members(),
2763 tm_workspace_find_namespace_members() (currently not built) from
2764 Anjuta 2.24.1 tagmanager.
2767 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2769 * tagmanager/pascal.c:
2770 Parse Pascal calltips (closes #2802640).
2773 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2775 * src/filetypes.c, src/ui_utils.c:
2776 Add filetypes.common Configuration Files menu item.
2779 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2782 Add backslash to the wordchars on Windows when using
2783 'Open Selected File'.
2785 Add support (configure, build and install) for building on Windows
2786 and cross-compiling for Windows using the Waf build system.
2789 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2792 Set status bar text instead of showing a dialog when saving
2793 ui_toolbar.xml because the user might save several times.
2795 Fix redrawing due to colourising just after the document is first
2796 drawn. Now colourising should happen before the first draw.
2797 * src/utils.c, src/highlighting.c, data/filetypes.common:
2798 Fix segfault on parsing a filetypes.* style definition that has < 4
2800 Allow style definitions to have missing fields to use the default
2804 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2806 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2807 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2808 * plugins/classbuilder.c:
2809 Fix wrongly created header guards when the class filenames contains
2810 dashes (patch by PCMan, thanks).
2811 * data/filetypes.matlab:
2812 Add build_settings section to allow executing Matlab scripts.
2814 When closing a document, mark it as invalid before removing it from
2815 the documents notebook (this fixes wrong Save All button state when
2816 closing an unsaved document because the "switch-page" signal handler
2817 was using old data).
2820 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2822 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2823 Support toggling bold/italic when using a named style, e.g.:
2824 commentdockeyword=commentdoc,bold,italic
2825 Improve named style docs.
2828 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2830 * src/build.c, src/editor.c:
2831 Fix crashes when parsing the output of a compiler which reports
2835 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2837 * src/highlighting.c:
2838 Support named styles also for filetypes.common [styling] entries.
2839 * doc/geany.txt, doc/geany.html, HACKING:
2840 Update docs for named styles in filetypes.* files.
2842 Fix grouping symbol list children when parent name has "." character
2843 in for reStructuredText and Conf filetypes.
2844 * tagmanager/python.c:
2845 Fix grouping functions/classes under a nested function.
2848 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2851 Adjust icon paths (patch by Dominic Hopf, thanks).
2852 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2853 Add 'Replace' toolbar button (closes #2798225).
2856 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2858 * src/utils.c, src/highlighting.c, TODO:
2859 Implement named styles support for filetypes.* using a
2860 filetypes.common [named_styles] section e.g.:
2861 foo=0xc00000;0xffffff;false;true
2863 These can be used in e.g. filetypes.c as:
2867 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2870 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2873 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2875 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2876 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2879 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2882 Remove quote_executable() as it is not used anymore.
2883 When creating the geany_run_script.bat use the "%0" variable
2884 expansion and quote it for the "del" command (closes #2797172).
2886 On Windows, fallback to the literal build command line if searching
2887 for the command in the system path failed (related to #2795923).
2888 Properly terminate the resulting strings when reading the stdout
2889 and stderr of any spawned commands on Windows.
2892 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2895 Use the wide character versions of native Windows File dialogs.
2897 Fix wrong initialisation of the default project path button callback
2898 in the preferences dialog.
2899 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2900 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2901 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2902 icons/Makefile.am, icons/geany.ico, icons/scalable,
2903 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2905 Move the icons geany.png and geany.ico into the icons directory.
2906 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2907 Drop the pixmaps directory.
2910 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2912 * src/keybindings.c:
2913 Improve MRU document switching so there are no duplicates in the
2914 list and documents switched to whilst the dialog is open are
2915 ignored. Also beep when cycling through to the first document in the
2919 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2922 Fix broken 'Cancel' button in the Save As dialog.
2925 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2928 Fix multiline indent when selection covers text on the last line.
2930 Show current document in bold in tab popup menu.
2931 * src/editor.c, tagmanager/python.c, TODO:
2932 Parse Python calltips.
2935 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2937 * src/symbols.c, tagmanager/python.c:
2938 Parse Python import statements to get symbol completion for the
2939 imported module names.
2940 * src/editor.c, src/editor.h:
2941 Make some only locally used functions static.
2942 Fix wrong sanity check.
2944 Fix quoting the build command string on Windows (closes #2791769).
2945 This broke when we made build commands run synchronously on Windows,
2946 now we don't need to special quote the commands anymore.
2949 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2952 Drop rest of word to the right of cursor when autocompleting (do we
2953 need a pref for this?).
2956 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2958 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2959 Add sci_set_selection().
2960 * doc/geany.txt, doc/geany.html:
2961 Update manual for MRU switching.
2962 * src/callbacks.c, src/editor.c, src/editor.h:
2963 Make indenting with the Tabs indent type preserve spaces on the line,
2964 so it works for the 'tab indents, space aligns' formatting style.
2967 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2969 * tagmanager/python.c:
2970 Fix missing symbols for variables when an equal sign is used
2971 in a comment on the same line as the variable declaration.
2972 Backport change from CTags SVN to keep the parser more in sync:
2973 Add support for Cython constructs to the Python parser.
2975 Remember the additional Find in Files search flags at startup.
2977 Don't close the Save As dialog when saving the file didn't succeed.
2980 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2983 Remember scribble cursor position.
2984 * src/keybindings.c, TODO:
2985 Implement Most-Recently-Used document switching when pressing
2986 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
2989 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2991 * data/latex.tags: Added some more commands from unit.sty and
2995 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2997 * src/symbols.c, doc/geany.txt, doc/geany.html,
2998 tagmanager/makefile.win32, tagmanager/nestlevel.c,
2999 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3000 tagmanager/Makefile.am, wscript:
3001 Merge unstable branch:
3002 Add reStructuredText scope information for tags (for symbol list
3004 Read custom system global tags files from $prefix/share/geany/tags;
3006 Show the number of tags in a user global tags file (instead of the
3007 running total) in the debug message.
3008 Also print debug messages when loading a tag file manually or for
3009 default global tags files e.g. python.tags.
3011 Move NestingLevel tags code into a separate file, add functions.
3013 Add 'Installation prefix' section instead of quoting '/usr/local'
3015 Update for custom system global tags files.
3018 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3020 * src/highlighting.c:
3021 Unset maybe previously keywords when setting up Scintilla for
3022 XML files. This fixed wrong highlighting after switching back to
3023 filetype XML from another one.
3025 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3026 is only used when explicitly requested.
3028 Remove unnecessary call to g_intern_string() to fix build with
3029 GLib 2.8 (closes #2790051).
3032 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3035 Make the clear icon of entry fields act on the release event, not
3036 on the press event like for other buttons.
3038 Refactor some multiple used code into get_multiline_comment_style().
3040 Create parent directories if necessary when checking for the
3041 configuration directory on startup (closes #2784577).
3044 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3046 * plugins/filebrowser.c:
3047 When a filter is set, apply it only to files, not directories and
3048 apply the filter to the UTF-8 name of the file as the filter string
3049 itself is also UTF-8.
3050 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3051 Add utils_color_invert() and use it in highlighting.c and printing.c.
3052 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3053 Backport change from Scintilla CVS:
3054 Change capitalisation of header file to suit cross-compilation on
3058 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3060 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3061 Update Scintilla to version 1.78.
3062 * src/editor.c, src/highlighting.c:
3063 Update Pascal styles as they changed in Scintilla.
3066 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3069 Ignore the invert syntax highlighting colours setting when printing
3070 to not print characters on a dark background (closes #2785244).
3071 * New release: Geany 0.17 "Wessex".
3072 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3073 src/geany.h, doc/geany.html, doc/geany.txt:
3074 Post-release version bump.
3077 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3079 * src/callbacks.c, src/callbacks.h, src/main.c:
3080 Update the View->Fullscreen menu item when fullscreen state is
3081 changed externally (e.g. by the window manager).
3083 Fix passing wrong pointer to the File Open dialog for the Run
3084 command in the Project Properties dialog.
3087 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3089 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3091 Remember the active sidebar page between sessions.
3093 Add a recent project item after creating a new project.
3094 * tagmanager/ruby.c:
3095 Fix wrong parsing of string literals (closes #2781264).
3097 Fix setting focus to the editor widget after changing the selection
3101 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3104 Prevent crashes when two or more top level items in the symbol
3105 list have the same name (closes #2778246).
3108 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3110 * src/keybindings.c:
3111 Manually show the main notebook tab bar menu when Shift-F10 is
3112 pressed. This broke when we disabled the default GTK tab bar menu.
3114 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3115 which was reloaded shortly before.
3117 When the editor menu is opened by the Menu key, use the text cursor
3118 position for retrieving the current word. This fixes disabled
3119 Go to Tag items in the menu (#2780044).
3121 Set the "ellipsize" property of GtkCellRendererText to automatically
3122 shorten the path and file names in the Documents list.
3123 * doc/geany.html, doc/geany.txt, src/build.h:
3124 Increase the amount of highlighted build error messages to 100.
3125 At least for LaTeX we need higher values as there is a lot of
3126 informative output before any errors are reported.
3127 * src/filebrowser.c:
3128 Use the startup path as the initial directory for the filebrowser
3129 plugin when no project and no files are opened
3130 (patch by Matias Gea, thanks; closes #2780521).
3133 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3135 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3136 src/utils.c, src/utils.h:
3137 Ellipsize tab labels and some status messages for very long
3138 filenames (closes #2777348).
3139 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3140 Add utils_str_middle_truncate() and
3141 document_get_basename_for_display() to the plugin API.
3142 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3143 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3144 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3146 Add a hidden preference 'use_safe_file_saving' to save files to disk
3147 by creating a temporary file first. This has serious side effects,
3148 please read the documentation before enabling this.
3150 Make build commands on Windows run synchronously to avoid problems
3151 with reading build commands' output.
3152 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3153 Limit the amount of highlighted build error messages in the
3154 Compiler window to 50 for performance reasons.
3157 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3159 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3161 Replace our own GEANY_KEYS_MODIFIER_MASK by
3162 gtk_accelerator_get_default_mod_mask() which gives the same result.
3163 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3164 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3165 Add a trivial symbol parser for NSIS files.
3168 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3171 Hide the extra file open dialog options in an expander to make the
3172 dialog more compact by default and to provide more space for the
3174 Remove the filename field as it is also provided by GTK itself with
3175 more features like auto-completion.
3176 Watch the 'show-hidden' property of the file chooser widget using
3177 GObject's "notify" signal which gives accurate results and remove
3178 the hack using the "selection-changed" signal.
3181 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3183 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3184 Prevent double execution of radio menu item "activate" or "toggled"
3186 Move 'Set Encoding' callback function into encodings.c.
3189 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3192 Add some missing 'void's in function definitions.
3193 If the project base path is './', just use the path of the project
3194 config file instead of appending './'.
3195 * src/treeviews.c, src/project.c:
3196 When a project is loaded, replace the project base path with the
3197 project name in the Documents sidebar for parent items
3201 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3203 * src/keyfile.c, src/keyfile.h, src/project.c:
3204 Fix duplicating the recent files and projects lists when closing
3206 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3207 src/editor.c, src/encodings.c, src/filetypes.c,
3208 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3209 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3210 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3211 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3212 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3213 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3214 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3216 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3217 sense to keep the code more readable.
3220 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3223 When updating global type definitions for opened documents, take
3224 also C++ namespace symbols into account and don't ignore symbols
3225 which are defined inside a scope.
3228 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3231 Don't show 'plugin is not binary compatible' messages on the status
3232 bar, only the status window.
3235 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3238 When opening files from a remote instance on X11, set the window
3239 server time to encourage window managers to pop up the main window
3240 (related to #2735467 and #2276179).
3242 When finished sending filenames to a remote instance, notify the
3243 environment that we finished starting up.
3246 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3248 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3249 Sort Configuration Files menu.
3250 Add ui_menu_sort_by_label().
3251 Add foreach_list() macro.
3256 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3259 Fix setting a wrong default window size when starting without an
3260 existing configuration.
3261 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3262 Make editor_highlight_braces() static.
3263 Remove unused wrapper functions.
3264 * src/editor.c, src/symbols.c, src/symbols.h:
3265 Prevent showing an empty macro list.
3266 Show only macros of the same filetype instead of all macros of all
3269 Don't add opened project files to the GtkRecentManager.
3272 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3275 Add Configuration Files item for snippets.conf.
3276 * src/highlighting.c, src/symbols.c:
3277 Fix 2 old uses of filetype IDs.
3280 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3282 * src/interface.c, src/printing.c, geany.glade:
3283 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3286 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3289 Add sanity checks in ui_lookup_widget() just to be safe.
3290 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3291 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3292 src/project.h, src/ui_utils.c, src/ui_utils.h:
3293 Add "Recent Projects" menu to the Project menu
3294 (#2728630, patch by Elias Pschernig, thanks).
3295 * doc/geany.txt, doc/geany.html:
3296 Describe how to build Geany using the Waf build system.
3297 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3298 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3299 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3300 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3301 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3302 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3303 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3304 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3305 src/utils.c, src/utils.h, src/vte.c:
3306 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3307 performance when building the code with gcc.
3308 * src/highlighting.c:
3309 Fix typo in the G_LIKELY checks, introduced in last commit.
3310 Fix the size of the styles array.
3312 Show a message dialog when renaming a file fails.
3315 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3318 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3319 (as we did for all other files in SVN r3382).
3322 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3324 * src/filetypes.c, doc/geany.txt:
3325 Move ActionScript to the Script group.
3327 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3328 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3329 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3330 plugins/htmlchars.c:
3331 Merge reorder-filetypes branch:
3332 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3333 append randomly without breaking the ABI).
3334 Make None filetype name = title = _("None").
3335 Add foreach_slist() macro.
3336 Add filetypes_by_title list to GeanyData for plugin API access
3337 - a list of filetype pointers, which includes the None filetype
3338 first. This list stays constant by the time plugins are initialized,
3339 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3340 index the sorted list.
3343 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3345 * doc/geany.txt, doc/geany.html, src/main.c:
3346 Add widget names for the menubar and toolbar.
3348 When hiding the messages window, set the input focus back to the
3349 editor widget (part of #1910393).
3352 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3354 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3355 Backport recent changes from Scintilla CVS to add partial support
3356 for RFC2822 styled text using the Properties lexer.
3357 Ignore leading whitespace for config files and RFC2822 text.
3358 * data/filetypes.actionscript:
3359 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3360 * THANKS, src/treeviews.c:
3361 Display file/directory icons in the Documents sidebar
3362 (patch by Simon Treny, thanks).
3365 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3367 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3368 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3369 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3370 Add an option to allow appending the toolbar to the main menu bar
3371 to save some vertical space.
3372 Allow setting toolbar icon size to very small (menu icon size).
3375 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3377 * src/keyfile.c, src/utils.c, src/utils.h:
3378 Add utils_path_skip_root(), a relative path safe variant of
3379 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3380 * src/keyfile.c, src/main.c:
3381 Allow negative window coordinates when saving and restoring the
3382 position of the main window.
3383 Restore the main window position and size *after* the window has
3384 been realised to get it positioned accordingly
3385 (this affects at least Windows).
3388 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3390 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3391 Use g_win32_get_package_installation_directory_of_module() on Windows
3392 with newer GLib versions instead of deprecated API.
3393 * src/keybindings.c:
3394 Don't manage the last used documents list when quitting to prevent
3395 errors by accessing invalid memory (may close #2533990).
3398 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3401 Delete the geany_run_script.sh immediately after execution
3402 to prevent leaking old copies when the script was quit unexpectedly
3403 (closes #2710482, patch by Martin Olsson, thanks).
3405 Check whether skipping the root element of a document's filename
3406 succeeded and use the filename itself if not (e.g. on relative
3407 filenames, #2702844).
3408 Use the locale encoded filename when saving session files.
3410 Re-set the quitting status after all documents have been closed on
3414 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3416 * plugins/htmlchars.c:
3417 Remove usage of deprecated sci_get_selected_text() from plugin.
3420 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3423 Delay disk file checks when switching between documents a little
3424 bit to avoid fast, unintentional page switching in some cases.
3425 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3426 src/sciwrappers.c, src/sciwrappers.h:
3427 Deprecate sci_get_text(), sci_get_selected_text() and
3428 sci_get_text_range().
3429 Add sci_get_contents(), sci_get_contents_range() and
3430 sci_get_selection_contents() as replacement functions to provide
3431 an easier and cleaner API (initial patch by Frank).
3434 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3437 Fix wrong parsing of CSS tags when the definition block starts on
3438 a new line (reported by Dominic Hopf, thanks).
3441 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3443 * plugins/htmlchars.c:
3444 Extend plugin by feature to bulk replace and replace on input for
3445 special characters to their HTML entities.
3448 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3451 Update build menu items after changing anything in the
3452 'Set Includes and Arguments' dialog.
3453 Disable Compile/Run buttons/menu items when Compile/Run commands are
3455 Reset current build directory to the base directory after reading a
3456 "Leaving directory" message when parsing Make output
3457 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3459 Fix wrong display of the filename in the tab bar menu for new files.
3461 Set the initial directory for the Save As dialog only once on
3463 Add a shortcut of the project's base directory to the
3464 File Open/Save As dialogs when a project is open for faster access.
3465 * src/splitwindow.c:
3466 Add keybindings for the split actions.
3469 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3472 When using Find All in the Find dialog (in Session and Document),
3473 display the right amount of matches.
3474 Fix the display of the matches once per line (I broke the original
3477 Fix wrong directory selection behaviour in all Open Folder dialogs
3478 (closes #2688020, patch by Marcel Stimberg, thanks).
3480 Don't present the main window of a running instance when starting
3481 a second instance separately.
3484 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3487 Reduce default file permissions on the Unix Domain socket file
3488 (reported by Jörg Sommer, thanks).
3491 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3493 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3494 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3496 Add an option to set an additional plugin lookup path.
3498 When using Find All in the Find dialog, display matches only once
3499 per line in the messages window (patch by Bert Vermeulen, thanks).
3502 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3504 * data/filetype_extensions.conf, data/filetypes.actionscript,
3505 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3506 src/highlighting.c, src/plugindata.h, src/symbols.c,
3507 tagmanager/Makefile.am, tagmanager/actionscript.c,
3508 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3509 Add filetype ActionScript (patch by Chris Macksey, thanks).
3510 Update type keywords only for real C-like languages.
3511 Fix wrong sorting of Assembler and Ada filetypes.
3512 * plugins/classbuilder.c:
3513 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3514 Other minor cleanups.
3517 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3520 Don't use menu item images for the tab bar menu to save some
3522 * data/filetypes.fortran, tagmanager/fortran.c:
3523 Add keyword 'extends' and fix Fortran parser to support the
3524 'extends' keyword (closes #2654492).
3525 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3526 src/search.c, src/toolbar.c:
3530 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3532 * src/about.c, THANKS:
3533 Added Jari Rahkonen to list of Finnish translators.
3536 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3539 Adjust minimum required GTK version.
3540 * src/Makefile.am, wscript:
3541 Add main.h to the list of installed header files.
3542 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3543 src/notebook.c, src/ui_utils.c:
3544 Remove GeanyDocumentPrivate::tabmenu_label.
3545 Disable the default tab bar menu for the main notebook widget and
3546 use a custom menu instead which lists all open files as usual plus
3547 'Close Other Documents' and 'Close All' menu items.
3550 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3552 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3553 Move ui_set_search_entry_background() into ui_utils.c.
3554 Change the background colour of the search entries in the Find
3555 and Replace dialogs according to the search results like in the
3556 toolbar search field.
3557 Add images to the 'Replace' and 'Replace and Find' buttons in the
3559 Minor cleanups in search.c.
3560 * tagmanager/tm_source_file.c:
3561 Update source files upon creation.
3563 Update C tags for glibc 2.9.
3564 * src/callbacks.c, src/toolbar.c:
3565 Fix broken non-incremental search with the toolbar search entry when
3566 pressing Enter (closes #2638180).
3567 * plugins/splitwindow.c:
3568 Fix possible crash on non-32-bit systems (patch by
3569 Wolfgang Ocker, thanks).
3571 Update the Packager tag due to Dominic's various contributions.
3572 Update description and feature list.
3573 Change Source tag to the gzip'ed tarball to be in sync with the
3574 Makefile target (thanks to Wolfgang Ocker for reporting).
3577 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3579 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3580 Removed deprecated plugin VC Diff
3583 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3586 Fix wrong Fortran 90 comment characters when inserting templates.
3587 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3588 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3589 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3591 Add 'Send Selection to Terminal' command to the Edit->Format menu
3592 (initial patch by David Gleich, thanks).
3593 * geany.glade, src/interface.c:
3594 Fix mnemonic for the Edit->Preferences menu item.
3597 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3599 * configure.in, plugins/Makefile.am:
3600 Enable socket support when cross-compiling.
3601 Enable plugin compilation when cross-compiling.
3603 Fix missing NULL checks when reading the colour value of compiler
3605 * src/main.c, src/win32.c, src/win32.h:
3606 On Windows, change the working directory to the Geany installation
3607 path at startup to avoid unwanted directory locking(closes #2626124).
3609 Fix broken selection of "Document->Set Encoding" menu items.
3610 * src/document.c, tagmanager/include/tm_source_file.h,
3611 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3612 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3613 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3614 Don't let the tagmanager automatically reparse files if they
3615 seem to be changed on disk (affects all files in the current session,
3616 not the current one). This should speed up file saving a little bit,
3617 especially with remote files.
3618 Remove now unnecessary calls to tm_workspace_update().
3620 Allow an empty value for the date format in the print settings to
3621 omit the date/time string in the print header.
3624 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3626 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3630 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3633 Add missing header include (closes #2615808).
3636 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3639 Fix a possible crash when comparing symbol names
3640 (could be related to Ubuntu bug #147151).
3641 Fix broken symbol list tooltips when tag names contain ampersands.
3644 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3646 * plugins/makefile.win32:
3647 Don't build Split Window plugin on Windows (doesn't work).
3650 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3652 * ChangeLog, Makefile.am: Rotate ChangeLog.
3653 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3654 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3655 Post-release version bump.
3658 *** See ChangeLog.pre-0-17 for earlier changes ***