1 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Re-detect any document filetypes set to None after reloading
5 filetype extensions (closes #2979661).
8 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
10 * data/filetypes.perl:
11 Adjust Perl Compile command to use the -c command
12 line option to perform a syntax check instead of using the
13 deprecated ByteCompile module.
14 Add error_regex to parse error messages and warnings when performing
15 syntax checks on Perl files.
18 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
20 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
21 Add API docs for keybinding enums.
22 * src/notebook.c, doc/geany.txt, doc/geany.html:
23 Make Ctrl-click on any notebook tab switch to the last used
27 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
29 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
30 src/geanyentryaction.c, src/geanyentryaction.h,
32 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
33 object for efficiency.
36 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
38 * plugins/classbuilder.c:
39 Beep if the user hasn't entered a class name on pressing OK.
41 Fix replacing '^' regex.
42 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
43 plugins/geanyfunctions.h:
44 Add Stash widget functions to API.
46 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
50 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
53 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
55 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
56 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
57 plugins/geanyfunctions.h, plugins/geanyplugin.h:
58 Add Stash setting functions to API.
59 Remove unnecessary argument to stash_group_load_from_file().
60 * src/geanyobject.c, plugins/classbuilder.c:
61 Don't generate FOO_GET_PRIVATE() macro because caching the result
62 in Foo::priv can be much more efficient.
65 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
68 Fix cursor positioning when toggling comments
69 (patch by Thomas Martitz, thanks).
72 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
74 * src/keybindings.[hc]:
75 Added Control+0 for zoom reset, see suggestion from #2969886.
78 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
80 * src/search.c, src/document.c:
81 Fix wrong selection range after Replace in Selection.
84 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
87 Make CreateChildProcess() working with Unicode strings, e.g.
88 directory names (closes #2972606).
90 Remove reference to already removed latex.tags file.
91 Future releases probably still depend on GTK 2.16.
92 * scintilla/ScintillaGTK.cxx:
93 Backport fix from Scintilla CVS to not paste text beyond the end
94 of lines (closes #2969096).
95 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
97 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
98 to not set Geany's minimum window size anymore (closes #2972992).
99 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
102 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
105 Make adding string and string vector settings initialise the setting
107 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
108 Add stash_group_load_from_file() and stash_group_save_to_file().
111 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
113 * data/filetypes.common:
114 Set default for wrapped lines to show marker at end of line only
115 (more expected and doesn't change line alignment - closes #2972386).
116 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
117 src/pluginutils.c, doc/plugins.dox:
118 Improve API docs contents page by listing all commonly-used files.
119 Fix 'Date' appearing twice on the date line.
120 Don't generate API docs for prefs.h, toolbar.h (unused).
121 Move some '@file' doc-comments to the .c file.
122 * src/interface.c, geany.glade:
123 Add frame for 'Printing' prefs dialog page.
124 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
125 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
127 Rename Stash data types to be independently named from Geany (so
128 Stash can be reused for other projects).
129 Rename GeanyPrefGroup to StashGroup.
132 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
134 * tagmanager/python.c:
135 Apply patch from Colomban Wendling to parse Python lambda functions
136 (thanks) - modified to only parse toplevel or class member lambdas.
137 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
139 Add doc-comments for Stash setting functions.
140 Add an example file showing usage of Stash.
141 (Not enabled yet until added to the plugin API).
144 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
147 Fix using return value without checking return status, caused
148 incorrect sensitivity settings on build dialog.
151 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
154 Add tip about gcc optimization & warnings/debugging.
156 Update Libraries section about synchronizing with other projects.
159 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
162 For now revert the recent patch which set real_path of newly
163 open non-existent configuration files as this seems hackish and
164 causes 'file not found' warnings.
166 Fix/Improve GIT repository detection
167 (patch by Thomas Martitz, thanks).
168 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
170 Add utils_copy_environment() to the plugin API.
173 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
175 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
176 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
178 Use 3rd person for more API dox.
179 Change 'This is a wrapper function for...' to 'Wraps...' in brief
181 Change 'After all...' to 'Afterwards...'.
182 * src/interface.c, geany.glade:
183 Apply patch from Eugene Arshinov to make frame packing/alignment
184 more consistent (thanks).
187 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
190 Fix ui_button_new_with_image() to call gtk_button_set_image() so
191 that gtk_button_[sg]et_label() work as expected.
192 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
193 Make Build Commands dialog show menu item labels as a button (to
194 help show that menu labels don't normally need to be edited &
195 display the mnemonic correctly). Clicking shows an input dialog to
196 set a new menu item label.
197 Split dialogs_show_input() into 2 functions: one simple, one for
199 Fix possible double-destroy of input dialog when closed by user.
201 Fix not destroying 'Make Custom Target' input dialog after first
204 Make Long Line Marker settings for existing projects default to
205 general settings instead of 0 (thanks to Eugene Arshinov).
206 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
207 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
208 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
209 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
210 Use 3rd person (gets not get) for API function brief descriptions.
211 Avoid using 'convenience function' in API brief descriptions.
214 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
216 * doc/geany.txt, doc/geany.html:
217 Warn about some GNU extensions for regular expressions & clarify
219 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
220 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
221 src/editor.h, geany.glade:
222 Apply patch from Eugene Arshinov to add project long line marker
223 customisation (thanks).
224 * src/interface.c, geany.glade:
225 Edit/tidy 'Long line marker' labels.
228 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
230 * src/build.c, src/project.c:
231 Fix crash due to NULL in project build preferences (thanks to
235 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
237 * src/utils.c, src/utils.h, src/search.c, src/search.h,
238 src/document.c, doc/geany.txt, doc/geany.html:
239 Merge gnu-regex branch:
240 Use POSIX system/GNU regex engine for find & replace 'Use regular
241 expressions' option. This alters regex syntax a bit - see the docs
242 for details; we now support '?' operator and replacement backslash
243 escaping is more standard.
244 Make regex search imply replacing escaped chars.
245 Allow \0 backreference replacement for the whole match.
246 Note: Replace All may be slower; if this is a problem please let me
249 Add argument to utils_str_replace_escape() for keeping
250 uninterpreted backslash escapes e.g. '\\', '\e'.
251 * scintilla/LexMarkdown.cxx:
252 Backport minor formatting/style changes from Scintilla project.
253 * doc/geany.txt, doc/geany.html:
254 Remove warning about no visual indication for zero-column-mode
258 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
261 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
264 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
266 * wscript, scintilla/*, scintilla/include/*:
267 Update Scintilla to version 2.03.
268 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
269 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
270 Add preference for virtual spaces.
272 Fix wrong default response for the Debug Messages dialog.
274 Fix crashes when using Save As with no open files (closes #2964406).
276 Fix duplicate mnemonics on 'Resave missing file' dialog, also
277 move the question from the secondary to the main text to be
278 more compatible with the Gnome HIG.
279 Fix broken 'Save' action in 'Resave missing file' dialog.
281 Improve PHP parser to parse also the argument lists of PHP functions.
283 Correctly set the parent widget for the keybinding overwrite
286 Fix setting the icon for some dialogs if the parent itself is also
289 When editing non-existent config files using the Tools->Configuration
290 Files menu, explicitly set the real_path to avoid presenting the Save
291 As dialog when saving the file (patch by Tony Rick, thanks).
293 Focus the editor widget after hiding the sidebar when it had the
294 input focus (patch by Can Koy, thanks).
295 Properly show/hide the mesages window when using the View menu item
297 * plugins/filebrowser.c:
298 After opening files, focus the editor widget
299 (based on a patch by Can Koy, thanks).
300 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
301 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
302 src/ui_utils.h, src/vte.c:
303 Add and use convenience function ui_is_keyval_enter_or_return() and
304 add it to the plugin API.
307 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
309 * src/about.c, THANKS, po/ast.po:
310 Added Asturian translation. Thanks to Marcos Costales for providing.
313 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
316 Fix keyboard accelerators in debug messages window
320 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
322 * scintilla/LexR.cxx:
323 Backport R lexer from Scintilla CVS to fix case sensitive keywords
324 (Scintilla bug #2956543).
325 * src/sidebar.c, src/about.c, THANKS:
326 Make Space on the symbol and document list not focus the editor
327 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
328 * src/document.c, src/document.h:
329 Fix document_try_focus() to make it work with the sidebar document
331 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
332 Make Space on the compiler and messages widgets not focus the editor
333 widget while Enter does (patch by Can Koy, thanks).
335 Fix wrongly auto-detected multiline comments
336 (patch by Eugene Arshinov, thanks).
339 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
342 Show number of lines of current document inside statusbar. Thanks to
343 Can Koy for providing the patch.
346 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
348 * src/keybindings.c, doc/geany.txt, doc/geany.html:
349 Make Switch to Editor keybinding reshow the document statistics
350 line, so user doesn't have to move the cursor.
353 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
356 Update keywords for the R language (patch by Jon Senior, thanks).
359 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
362 Fix the instruction how to insert unicode characters
366 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
368 * scripts/create_py_tags.py:
370 Replace tabs by spaces.
373 Replace tabs by spaces.
374 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
375 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
376 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
377 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
378 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
379 src/plugindata.h, src/sidebar.c, src/sidebar.h:
380 Add keybindings to switch to the sidebar's Document and Symbol list
381 as well as to the Message Window's current tab
382 (patch by Eugene Arshinov, thanks).
384 Update primary keywords for the R language
385 (patch by Jon Senior, thanks).
388 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
391 Add more detailed hints about reloading configuration
392 (thanks to Tony Rick).
393 * data/filetypes.javascript:
394 Correct the keyword list for JavaScript (thanks to Jonas).
397 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
399 * New release: Geany 0.18.1 "Balfour".
402 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
405 Add special cases for handling the Select All keybinding (Ctrl-A) in
406 the toolbar search and goto line text entries (closes #2948040).
407 Strip trailing spaces after reflowing a paragraph, patch by
408 Dominik Wagenfuehr, thanks (closes #2945497).
411 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
413 * src/geanymenubuttonaction.c, src/templates.c:
414 Partly revert last commit:
415 Unref the new files toolbar menu when freeing templates as it
416 was done before but unref it *after* the menu has been removed
417 from the GeanyMenuButtonAction.
419 Fix possible endless loop when trying to detect the encoding of
420 non-text files (patch by Alexey Antipov, thanks).
423 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
426 Allow saving remote files using g_file_set_contents() as well
427 (patch by Алексей Антипов, thanks).
428 * data/filetypes.python:
429 Adjust style for secondary keywords to be less aggressive.
430 Add Python 2.5 builtins keywords.
431 * src/geanymenubuttonaction.c, src/templates.c:
432 Unref the new files toolbar menu when setting a new menu to fix
433 possible crashes when reloading configuration.
435 When reloading configuration, process the current document at last
436 so the symbol list will be updated correctly.
439 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
442 Explicitly read filetype configuration files before generating
443 global tags to get settings for custom filetypes.
446 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
449 Fix GLib warning when toggling 'no plugins available' item.
452 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
455 Include geany.ico in the distribution tarball.
457 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
458 * scripts/create_py_tags.py:
459 Make the script a bit more robust with newer Python versions.
461 Use utils_spawn_sync() instead of g_spawn_sync().
464 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
467 Close meta tag for export date properly.
470 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
473 Update RPM Spec file (patch by Dominic Hopf, thanks).
476 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
479 Fix renaming sci_send_message(), sci_send_command() function pointers.
482 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
484 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
485 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
486 plugins/geanyfunctions.h, plugins/Makefile.am,
487 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
488 Use full function name for GeanyFunctions function pointers. This
489 avoids naming conflicts e.g. with C++'s 'new' keyword.
490 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
493 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
495 * src/utils.c, src/utils.h, src/vte.c:
496 Add utils_copy_environment() and make use of it.
497 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
498 src/editor.c, src/templates.c, src/templates.h:
499 Add new special template wildcard "{command:...}" to use the
500 output of a command in templates.
501 Adjust template functions to mostly work with GeanyDocuments.
502 Minor cleanups in the template code.
504 Replace the old icons with smiley icons from the Rodent icon theme.
505 Fix showing the same icon for two or more slots.
507 * src/editor.c, src/editor.h, src/keybindings.c:
508 Rename fold_symbol_click() to editor_toggle_fold().
509 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
510 was used to respect the 'Fold/unfold all children' preference
514 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
517 Prevent possible segfault in get_build_group().
519 Fix GLib warning & beep if trying to insert multiline comment for a
520 filetype that doesn't support it.
523 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
526 Add gcc commands to build a plugin to the HowTo.
527 * src/search.c, src/document.c, src/document.h:
528 Show 'Replaced X matches in Y documents' message when using Replace in
532 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
534 * scripts/plugin_test.c:
535 Add a little test program which can load and test Geany plugins to
536 verify it is loadable at runtime and all necessary symbols are
538 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
540 Add new signal: "geany-startup-complete" which is sent once all
541 initialization and startup tasks has been done.
542 * README.I18N, configure.ac, wscript, po/LINGUAS:
543 Remove po/LINGUAS from the repository.
544 Generate it automatically if needed by reading available
545 message catalogs from the po directory.
546 Also respect the LINGUAS environment variable properly.
549 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
552 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
556 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
558 * src/editor.c, src/templates.c, src/templates.h:
559 Refactor templates_replace_all() into templates_replace_valist()
560 to save some code duplication.
563 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
565 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
566 src/plugindata.h, src/plugins.c:
567 Add editor_insert_text_block() to plugin API.
570 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
573 Update copyright information.
574 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
575 doc/geany.txt, doc/geany.html:
576 Add keybinding to open the last closed tab (closes #2912692).
579 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
581 * autogen.sh, configure.in, configure.ac:
582 Rename configure.in to configure.ac.
583 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
585 Add sci_find_text() to the plugin API.
586 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
587 src/interface.c, src/prefs.c:
588 Add a checkbox in the preferences dialog to explicitly toggle
589 the visibility of the sidebar (closes #2923340).
592 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
594 * src/editor.c, src/plugins.c, src/plugindata.h,
595 plugins/geanyfunctions.h:
596 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
597 editor_get_eol_char() to the plugin API.
598 * src/callbacks.c, src/plugins.c, src/plugins.h:
599 Fix sensitivity of the Edit->Plugin Preferences menu item
600 if plugins are loaded which do not provide a configuration dialog.
601 * scripts/create_py_tags.py:
602 Rewrite and extend the Python tags parsing script to use
603 Python's inspect module to read symbols from Python modules
604 including scope information.
605 * data/filetypes.restructuredtext:
606 Add the default comment character sequence for reStructuredText.
608 Show the Find/Goto dialogs if the corresponding toolbar buttons are
609 clicked but their text fields are not part of the toolbar (#2920807).
610 * data/filetypes.common, doc/geany.html, doc/geany.txt,
612 Add new style to change foreground and background colours for
613 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
615 Remember the window position of the Find, Replace and Find in Files
616 dialogs (closes #2877988).
619 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
622 Fix a minor typo inside plugin API reference.
625 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
627 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
628 Make dialogs_show_prompt() more flexible to take up to three
629 button/response code pairs to be shown.
630 Add a close button to the dialog when asking to Re-Save a
632 (closes #2916954, based on a patch by Dominik Stadler, thanks).
634 Fix LaTeX environment auto completion with CR/LF line endings.
635 Add some sanity checks.
637 When closing a document after it was deleted from the filesystem,
638 don't ask whether it should be saved first.
639 Mark the document only as changed if it is not closed afterwards.
640 Prevent possible segfaults if the document was closed when it is
641 missing from the filesystem.
642 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
643 src/msgwindow.h, src/prefs.c:
644 Add MessageWindow::scribble and use it instead of searching the
645 widget pointer everytime.
646 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
647 Add preferences for hiding single tabs from the messages window
648 (no GUI preferences yet, still to be implemented).
649 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
650 Set the correct parent window for the toolbar editor
651 dialog (closes #2913334).
652 * src/win32.c, src/win32.h, src/ui_utils.c:
653 Rename win32_show_project_folder_dialog() to
654 win32_show_folder_dialog() as it is not related and not used by any
655 project management related code.
656 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
657 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
658 as it is specialised for opening documents.
659 Implement win32_show_file_dialog() as a generic file open dialog and
660 use it with ui_path_box_new().
663 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
666 Extend auto_latex() function to check whether an environment has been
667 closed within the next lines to avoid auto adding double \end{}.
669 Remove LaTeX tags from SVN. Can be found at
670 http://download.geany.org/contrib/tags/ if needed.
673 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
675 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
676 Add document_need_save_as().
677 Show the Save As also for documents created from filetype templates
678 instead of saving them directly with the untitled filename.
681 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
683 * geany.glade, src/interface.c:
684 Move 'Send Selection to Terminal' menu item from Format to Commands
687 When going to a build error, try the current document's path if
688 the parsed filename doesn't exist. (This can happen when we receive
689 build messages in the wrong order - after the 'Leaving directory'
692 Refactor msgwin_goto_compiler_file_line().
693 * src/interface.c, src/keybindings.c, geany.glade:
694 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
697 Refactor/reformat on_replace_dialog_response().
700 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
703 Improve geany.spec (split the package into a binary and devel
704 package, update BuildRequires and other minor improvements).
705 Patch by Dominic Hopf, thanks.
708 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
710 * src/filetypes.c, src/filetypes.h:
711 Make group for custom filetypes.
712 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
713 Add custom filetype Genie.
716 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
718 * src/highlighting.c:
719 Highlight D & Java types from a global tags file.
720 * src/highlighting.c, doc/geany.txt, doc/geany.html:
721 Add debug message warning if recursive lexer_filetype is set.
722 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
723 Remove duplicate sci_set_keywords(), make argument const.
724 * src/highlighting.c:
725 Only show debug message once if recursive lexer_filetype is set.
726 Tidy highlighting_init_styles code for filetype None handling.
727 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
728 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
729 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
730 tagmanager/parsers.h, tagmanager/makefile.win32,
731 tagmanager/verilog.c, tagmanager/Makefile.am,
732 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
733 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
734 * src/highlighting.c:
735 Fix segfault on startup (oops).
736 * data/filetypes.verilog:
737 Fix using common style colours for Verilog.
740 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
742 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
743 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
744 Move C-like filetype properties into configuration files.
745 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
747 Remove now unnecessary "styling_within_preprocessor" C style key.
748 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
749 data/filetypes.glsl, data/filetypes.cs:
750 Use lexer_filetype=C configuration file key instead of duplicate
751 styleset functions for C++, C#, GLSL, Vala.
754 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
756 * doc/geany.txt, doc/geany.html:
757 Warn about not using BOM for configuration files (confuses GKeyFile
758 parser, at least on my system).
760 Add/improve debug messages for custom filetypes.
763 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
766 Add a couple of further latex-beamer commands to list of LaTeX tags.
769 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
771 * plugins/filebrowser.c:
772 Add an in-entry clear icon to the filebrowser plugin's filter
773 entry (patch by Dominic Hopf, thanks).
774 * src/prefs.c, src/ui_utils.c:
775 Fix two compiler warnings about possibly uninitialised variables.
778 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
780 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
781 plugins/geanyfunctions.h:
782 Add main_is_realized() to the plugin API.
783 * tagmanager/include/tm_tagmanager.h:
784 Update partly outdated and wrong doc comment.
785 * src/main.c, src/main.h, src/socket.c:
786 Allow opening Geany projects remotely.
787 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
788 Add a hidden pref to allow executing text which was sent to the
789 terminal directly, i.e. do not strip trailing newline characters.
790 Also fix the stripping of trailing newline characters if there was
794 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
796 * src/about.c, THANKS:
797 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
798 Kurt de Bree into section of previous translators.
801 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
803 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
804 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
808 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
810 * src/highlighting.c:
811 Make stylesets take a ft_id argument so they can be reused fully with
812 custom filetypes, so custom styles and keywords can be set.
813 * src/highlighting.c:
814 Fix setting filetype properties when both the system and the user file
816 * src/symbols.c, tagmanager/vhdl.c:
818 * src/highlighting.c:
819 Fix lexer settings for custom filetypes.
822 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
825 Remove duplicate regular expression for parsing classes.
826 Fix and improve parsing of constants (patch by Harold Aling, thanks).
827 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
828 src/main.h, THANKS, src/about.c:
829 Add new command line option "--socket-file" to be able to specify
830 separate socket filenames for instances
831 (closes #2896027, patch by Jörn Reder, thanks).
832 * src/keybindings.c, src/keybindings.h:
833 Add keybindings_check_event() to manually check GdkKeyEvents against
835 * src/callbacks.c, src/utils.c, src/utils.h:
836 Add and use utils_get_help_url().
837 * geany.glade, src/interface.c, src/prefs.c:
838 Add a Help button to the preferences dialog.
839 Handle Help keybinding events for the preferences dialog especially
840 and open the manual with the corresponding anchor link to the current
841 preferences page (same goes for the new Help button).
844 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
846 * src/toolbar.c, src/geanymenubuttonaction.c,
847 src/geanymenubuttonaction.h:
848 Use separate tooltips for toolbar menu buttons and their attached
850 * tagmanager/latex.c:
851 Improve parsing of sections and chapters by ignoring shortnames
852 like \section[shortname]{label} (closes #2890477).
855 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
857 * src/geanymenubuttonaction.c:
858 Try to fix Gtk warning when using Tools->Reload Configuration.
861 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
863 * src/highlighting.c, doc/geany.txt, doc/geany.html,
864 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
865 data/filetypes.pascal, data/filetypes.docbook,
866 data/filetypes.python, data/filetypes.conf:
867 Use filetypes.foo [lexer_properties] group instead of hardcoding
868 lexer properties (more flexible e.g. for custom filetypes).
869 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
870 Replace filetypes.xml html_asp_default_language key with
871 filetypes.html asp.default.language property in [lexer_properties]
875 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
877 * doc/geany.txt, doc/geany.html:
878 Fix slightly wrong description of how to insert Unicode characters.
880 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
881 ui_setup_open_button_callback().
882 * src/prefs.c, src/prefs.c, src/vte.c:
883 Refactor color and font button callback functions in the
884 preferences dialog. Move the VTE related callback functions
886 Make use of ui_setup_open_button_callback().
888 Improve printing status texts (patch by Dominic Hopf, thanks).
889 * src/prefs.c, src/vte.c:
890 Use the default dialog title set by ui_setup_open_button_callback()
891 to be more consistent and to save one string.
894 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
897 Separate DKinds from CKinds.
898 Don't generate macro tags for D, Java.
901 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
903 * tagmanager/ctags.c, tagmanager/general.h:
904 Make TagManager Assert statements cause g_warning on failure.
906 Fix reflow paragraph command when cursor < anchor using
910 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
913 Fix Geany segfault with constant tags (#2895168).
915 Fix invalid tree iter access when using tv_iters.tag_other but not
916 using tv_iters.tag_variable.
917 * HACKING, tagmanager/perl.c:
918 Fix parsing Perl format statements ("other" type doesn't seem to work).
919 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
920 Fix using "other" tag type.
923 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
926 Remove useless comment about applying settings only when libvte.so
927 could be loaded which is only displayed *if* libvte.so is loaded.
929 Allow autocompletion for HTML entities even within a word.
930 * src/geanymenubuttonaction.c:
931 Only set the menu of the button if a non-empty GtkMenu is passed to
932 geany_menu_button_action_set_menu() so the menu arrow keeps
936 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
939 Fix parsing some Java code (e.g. filetypes.java) after r4407.
942 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
945 Parse D functions with contracts (fixes #1885480).
946 Parse D alias statement like typedef.
947 (Ignore some more D keywords).
949 Fix creating D interface tags properly.
951 Parse contents of D extern{} and version{} blocks.
954 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
960 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
962 * src/plugindata.h, HACKING:
963 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
966 Show number of files saved on status bar when using Save All.
967 * src/highlighting.c:
968 Use default color scheme if pref color scheme file doesn't exist.
970 Fix moving correct lines after selecting whole line(s).
973 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
975 * tagmanager/makefile.win32:
976 Fix broken build on Windows because of a typo
977 (patch by Timothy Boronczyk, thanks).
980 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
982 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
984 Add 'View->Editor->Color Schemes' menu, for now only shown if color
985 scheme files exist in a colorschemes config directory. Color scheme
986 files must end in ".conf" and currently only the [named_styles]
988 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
989 Add utils_get_config_files().
990 * src/highlighting.c:
991 Fix issue with default color not being reset if overridden with a
992 system default color.
993 * src/highlighting.c:
994 Only reload filetype files when changing color scheme, not all
996 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
997 Deprecate documents_foreach() as it looks more like a function; use
998 foreach_document() instead.
999 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1002 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1004 * src/stash.c, src/stash.h:
1005 Use typedef instead of pointer for widget_id function arguments.
1008 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1010 * src/pluginutils.c:
1011 Don't expand Plugin Preferences page spacing vertically to fill the
1012 height of the dialog.
1013 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1014 geany.glade, plugins/splitwindow.c:
1015 Allow GeanyKeyBinding label field to contain underscores, which won't
1016 be displayed by Geany. This saves adding near-duplicate translation
1018 Add mnemonics for 3 Edit->Format menu items.
1019 Add keybindings_get_label().
1020 * src/interface.c, geany.glade:
1021 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1025 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1028 Desensitize Edit->Commands menu item when no docs are open.
1029 * src/interface.c, src/keybindings.c, src/callbacks.c,
1030 src/callbacks.h, geany.glade:
1031 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1032 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1033 Add general function sci_get_string() that works with any string
1034 buffer messages that follow the Windows message convention.
1035 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1036 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1037 src/pluginutils.c, src/pluginutils.h, geany.glade:
1038 Add 'Edit->Plugin Preferences' menu item and keybinding.
1039 Don't include plugindata.h in pluginutils.h because it redefines the
1040 GEANY() macro for plugin use.
1041 * doc/geany.txt, doc/geany.html:
1042 Update for Plugin Preferences keybinding.
1045 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1048 Sort document word completion list.
1049 * src/interface.c, src/keybindings.c, src/callbacks.c,
1050 src/callbacks.h, geany.glade:
1051 Add some useful commands to editor popup menu under "Commands"
1052 submenu (thanks to Lex).
1053 Move 'Duplicate line or selection' from Format -> Commands submenu.
1054 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1055 Enable switching the sidebar to the right on Windows again, as it
1056 apparently works after all.
1058 Fix using tab to autocomplete in some other situations that word part
1059 completion doesn't apply in.
1060 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1061 Add Edit->Commands submenu which is shared with the editor popup menu.
1062 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1063 Change editor popup Commands submenu to start as child of menubar Edit
1064 menu, as this is more usual e.g. for keybindings initialization.
1065 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1067 Share a single Format submenu for menubar Edit and popup menu.
1070 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1073 Fix a compiler warning about an uninitialised variable.
1075 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1076 sciwrappers.h, build.h (for the Waf build system,
1077 accordingly to r4366).
1080 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1082 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1083 src/toolbar.c, src/toolbar.h:
1084 Add missing dox for types/files in the API.
1085 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1086 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1087 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1088 of functions not in the API).
1089 Warning: any plugins that include these headers should remove them.
1090 * src/build.c, src/build.h:
1091 Move function doc-comments to build.c so they stay in sync. Note:
1092 these functions are still not in the API.
1094 Add 'Doc-comments' plugin API subsection.
1095 * plugins/filebrowser.c:
1096 Fix packing configure widgets equally.
1097 Use spacing multiples of 6 as recommended by Gnome HIG.
1098 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1099 Disable switching the sidebar to the right on Windows as it will
1100 probably fail like the Split Window plugin.
1102 Improve 'Detect from file' indentation pref by ignoring lines with
1103 indentation wider than 24 characters as this is more likely to be
1104 alignment than indentation.
1107 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1109 * plugins/saveactions.c:
1110 Fix adding the filetype's default extension when using the
1111 Instant Save plugin (closes #2885142).
1113 Before looking for line and column numbers specified as part
1114 of a filename, ensure the file doesn't exist on disk. This allows
1115 opening of files like "test:0".
1117 Rename "select" variables into "selection" to avoid shadowed names.
1118 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1119 Add ui_widget_modify_font_from_string() and sci_goto_line()
1121 * plugins/filebrowser.c:
1122 Rename "select" variables into "selection" to avoid shadowed names.
1123 Make use of ui_widget_modify_font_from_string().
1126 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1128 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1129 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1131 Add sidebar position interface pref.
1134 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1136 * doc/geany.txt, doc/geany.html:
1137 Add missing underscores to links.
1140 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1142 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1143 Add 'Move line(s) up/down' keybindings.
1146 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1148 * src/build.c, src/build.h, src/filetypes.h:
1149 Include code for project filetype execute commands and fix bug in
1150 saving project filetypes list.
1151 * src/project.c, src/build.c, doc/geany.txt:
1152 Make non-project execute configuration save to filetypes not geany.conf.
1153 Fix closing of project failing to remove build commands dialog entry.
1156 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1158 * src/project.c, src/ui_utils.c:
1159 Set border width for project properties build table.
1160 * geany.glade, src/interface.c:
1161 Don't expand hard tab width alignment.
1164 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1166 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1167 doc/geany.txt, doc/geany.html:
1168 Support loading global tags files for custom filetypes.
1169 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1170 doc/geany.txt, doc/geany.html:
1171 Add 'Word part completion' keybinding so keys other than Tab can be
1172 used, or to clear/change the combination so Tab does full completion
1174 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1175 Add 'Select to previous/next word part' keybindings.
1176 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1177 Add 'Switch to Messages' focus keybinding.
1180 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1182 * doc/geany.txt, doc/geany.html:
1183 Add 'Custom filetypes' section.
1184 * src/filetypes.c, src/filetypes.h, src/document.c,
1185 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1186 tagmanager/include/tm_source_file.h:
1187 Add filetype "tag_parser" key so custom filetypes can use an existing
1189 Add tm_source_file_get_named_lang().
1190 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1192 Add filetype "lexer_filetype" key so custom filetypes can use an
1196 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1198 * THANKS, src/about.c:
1199 Add Xhacker Liu for his work at zh_CN translation to long list of
1203 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1205 * src/sciwrappers.c:
1206 Remove unnecessary line number margin padding.
1207 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1208 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1210 Improve word part autocompletion so AC list is not cancelled and
1211 reshown (this also stops the selection changing).
1212 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1214 Improve CamelCase word part autocompletion for runs of capital letters.
1216 Don't complete snippets if there's a selection.
1219 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1222 Fix crash opening project when Geany started with no geany.conf.
1225 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1227 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1228 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1230 Add word part autocompletion for the current selected item when
1231 pressing Tab - Enter still completes normally.
1232 Add foreach_str() API macro.
1233 Temporarily modify scintilla to say if tab was used for
1235 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1236 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1237 plugins/classbuilder.c:
1238 Revert r4301 - utils_free_pointers() taking 4 arguments.
1239 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1240 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1241 plugins/splitwindow.c:
1242 Add highlighting_set_styles() to API, use for Split Window plugin so
1243 filetypes.common settings get set too.
1244 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1246 * src/document.c, src/editor.c, plugins/splitwindow.c:
1247 Call editor_apply_update_prefs() from editor_create_widget() so
1248 correct tab width and other settings are applied for Split Window
1252 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1254 * src/keybindings.c:
1255 Don't include trailing newlines when using reflow command.
1257 Add stock close buttons to notebook tab popup menu.
1258 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1259 plugins/geanyfunctions.h:
1260 Add document_get_notebook_page() to API.
1262 * data/templates/files/file.html, data/templates/files/file.php:
1263 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1264 * src/interface.c, src/ui_utils.c, geany.glade:
1265 Move Tools configuration items to top of menu.
1266 * src/keybindings.c, src/search.c:
1267 Fix warning when using Find in Files with no documents open; make
1268 keybinding work in this case.
1271 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1273 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1274 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1275 Make Split Window 'Show current document' button have a drop-down menu
1276 to select the other documents.
1277 Add new API function ui_menu_add_document_items().
1280 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1283 Fix sensitivity settings for compile and build toolbar items.
1286 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1289 Don't use filetype submenus for templates (slower to navigate, often
1290 only 1 per-filetype anyway).
1292 Put old filetype template menu items in 'Old' submenu as they should
1293 be removed after the 0.19 release.
1294 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1295 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1296 to be ignored if inappropriate so a later keybinding with the same
1297 key combination can intercept it. (Also group callbacks are usually
1298 tidier than separate callbacks).
1299 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1300 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1301 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1302 plugins/classbuilder.c:
1303 Make utils_free_pointers() take 4 arguments, add to API.
1304 * src/templates.c, src/tools.c, src/ui_utils.c:
1305 Fix memory leaks with gtk_container_get_children().
1308 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1311 Ensure that old style build config is not loaded if it does not exist.
1314 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1316 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1317 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1320 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1322 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1324 Apply set default encoding for existing files only if the files are
1325 non-Unicode (patch by Alexey Antipov, thanks).
1328 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1330 * src/highlighting.c:
1331 Move new_styleset() and preprocessor setup code into styleset_c_like().
1332 * src/highlighting.c:
1333 Call apply_filetype_properties() from styleset_c_like().
1336 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1338 * doc/geany.txt, doc/geany.html:
1339 Improve information about predefined keybindings which are
1340 commonly used across applications (patch by Lex Trotman, thanks).
1342 Enable embedded page setup properties in the (Unix) Print dialog
1343 on newer GTK versions (closes #2870596).
1344 * src/highlighting.c:
1345 Map global types (read from tags files) to keyword style for
1349 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1352 Fix wrong creation of filetype template menu items for custom
1354 * src/highlighting.c:
1355 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1357 Group 'New with template' items by filetype submenu (currently only for
1359 Show custom file template items before filetype template items.
1360 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1362 Only use one 'New with template' submenu - reparent as needed.
1364 Don't create templates/filetype.none either.
1366 Warn if custom template file no longer exists.
1369 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1372 Add missing icon for Java packages in the Symbol List.
1375 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1377 * src/highlighting.c, data/filetypes.vala:
1378 Add Vala keywords to conf file.
1379 * src/templates.c, doc/geany.txt, doc/geany.html:
1380 Read custom file templates from $prefix/share/geany/templates/files as
1382 * src/templates.c, data/templates, data/templates/files,
1383 data/templates/files/file.rb, data/templates/files/file.html,
1384 data/templates/files/main.java, data/templates/files/main.c,
1385 data/templates/files/main.cxx, data/templates/files/file.php,
1386 data/templates/files/main.d, data/templates/files/program.pas,
1387 data/templates/files/main.py, data/templates/files/file.tex,
1388 wscript, Makefile.am:
1389 Move filetype template defaults into custom file template files.
1392 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1394 * src/symbols.c, tagmanager/perl.c:
1395 Change Perl tag parser to ctags SVN r601. This removes support for
1396 buggy local/my/our but it parses constant/format/labels and should
1397 be less buggy overall (closes #2861232).
1398 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1399 Add utils_get_file_list_full() which can optionally sort or include
1400 a full path for each list item.
1401 * src/utils.c, src/plugindata.h, src/plugins.c:
1402 Add utils_get_file_list_full() to API.
1405 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1407 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1408 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1409 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1410 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1411 po/POTFILES.in, wscript:
1412 Rename treeviews.[hc] -> sidebar.[hc].
1413 * data/filetypes.common:
1414 Remove unused [styling] arguments.
1415 * src/highlighting.c, data/filetypes.markdown,
1416 data/filetypes.restructuredtext:
1417 Remove style defaults from the code - just read them from
1418 configuration files.
1419 * src/highlighting.c, HACKING:
1420 Add apply_style_entries() to simplify implementing styleset_foo().
1421 * src/highlighting.c:
1422 Remove filetype keyword defaults from the code - just read them from
1423 configuration files.
1424 * src/highlighting.c:
1425 Add sci_set_keywords() wrapper.
1428 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1430 * scripts/create_py_tags.py:
1431 Make the code a bit more pythonic.
1432 * doc/images/build_menu_commands_dialog.png,
1433 doc/images/main_window.png:
1434 Add new images referenced in the documentation.
1435 * doc/geany.html, doc/geany.txt:
1436 Several documentation improvements (patch by Lex Trotman, thanks).
1437 * src/pluginutils.c:
1438 Fix setting the appropriate page of the combined plugins
1442 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1444 * src/keybindings.c:
1445 Only focus toolbar goto line entry when pressing keybinding if it's
1446 visible (patch by Eugene Arshinov, thanks).
1448 Focus editor after entering a number in the goto line toolbar entry.
1450 Use AC_PATH_PROG instead of which for portability (patch by Erik
1451 Southworth, thanks).
1453 Show plugins that only implement plugin_configure_single() in the
1454 multiple-configure dialog as a page with a configure button on it.
1455 Add padding for multiple-configure dialog.
1456 Make the multiple-configure dialog notebook tabs scrollable.
1457 * src/pluginutils.c, src/pluginutils.h:
1458 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1459 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1460 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1461 plugins/geanyfunctions.h, plugins/filebrowser.c:
1462 Add plugin_show_configure() API utility function.
1463 Add File Browser popup menu 'Preferences' item.
1464 * src/highlighting.c:
1465 Add get_keyfile_ints() instead of using tmp_style hack.
1466 * src/highlighting.c, data/filetypes.xml:
1467 Change new html_asp_default_language markup pref to use integer,
1468 not hex in config file.
1469 Fix minor issue with changing pref back to 0.
1470 * src/highlighting.c:
1471 Fix possible segfault in get_keyfile_int() if key value is malformed.
1474 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1476 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1477 Add "html_asp_default_language" pseudo style to filetypes.xml
1478 to allow setting the used language in embedded ASP code
1479 (patch by Ross McKay, thanks).
1480 * src/filetypes.xml:
1481 Update VBScript keywords (patch by Ross McKay, thanks).
1484 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1486 * src/keybindings.c, THANKS:
1487 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1488 keybinding use line breaking column when enabled.
1490 Fix showing the document before reload dialog when opening an
1492 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1493 Add plugin_configure_single() plugin symbol which is easier to
1494 implement than plugin_configure() but won't support a
1495 multiple-plugin configure dialog.
1497 Show multiple plugins in the 'Configure Plugins' dialog.
1500 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1502 * doc/geany.txt, doc/geany.html:
1503 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1505 * doc/geany.txt, doc/geany.html:
1506 Add 'Toolbar entries' section.
1507 * doc/geany.txt, doc/geany.html:
1508 Update 'Go to line' keybinding description.
1509 * doc/geany.txt, doc/geany.html:
1510 Split keybinding table into group tables; update KB links.
1513 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1516 Fix compiler warnings about uninitialised variables.
1517 * src/callbacks.c, src/document.c:
1518 When reloading files, use the previously set encoding instead of
1519 detecting it again (closes #2862041).
1521 Turn on automake silent rules if supported.
1524 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1527 Speed up sorting in utils_get_file_list(). This reduces the file
1528 browser delay on displaying a big directory, e.g. /usr/bin.
1530 Expand command entry width when expanding Build Commands dialog.
1532 Split Build Commands dialog notes label and edit text.
1534 Add padding for Build Commands dialog separators.
1535 Add colons for regex field labels; fix 1 capitalisation.
1537 Fix none filetype Build Commands dialog label.
1538 Make group labels bold.
1539 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1541 Add & use ui_label_set_markup(), ui_label_new_bold().
1542 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1543 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1544 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1545 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1546 * src/keybindings.c:
1547 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1550 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1552 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1553 tagmanager/parsers.h, tagmanager/makefile.win32,
1554 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1555 data/filetype_extensions.conf, wscript:
1556 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1558 Merge recent changes from the CTags project to further improve
1562 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1565 Fix wrong alignment of printed pages when page headers are
1566 disabled (closes #2856822).
1567 Plug a small memory leak and improve function signature of
1570 Save an if expression.
1572 After clearing a text field using the embedded clear icon, put the
1573 input focus into this text field.
1576 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1578 * plugins/filebrowser.c:
1579 Free file list memory whilst iterating the list.
1580 Minor formatting fixes.
1581 * src/utils.c, src/utils.h:
1582 Add foreach_dir() API macro.
1583 Update API docs for utils_get_file_list().
1584 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1586 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1587 Beep if there are no more snippet positions.
1588 Limit length of snippet positions queue to 20.
1591 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1593 * src/keybindings.c, src/callbacks.c, src/search.c:
1594 Make Goto Tag commands use the current selection if present (useful
1595 for selecting part of a tag or for ReST section names with spaces
1598 Don't move the cursor when reloading.
1599 * src/plugindata.h, src/editor.c, src/editor.h:
1600 Make editor_prefs.snippets hash table private (not a pref).
1603 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1606 Remove deprecated --debug flag. Please use --verbose/-v instead.
1609 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1612 Show Find in Files stderr output in messages window instead of
1613 debug window so that invalid regex messages can be seen easily.
1614 Combine FIF stdout and stderr callback code.
1617 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1620 Fix opening filenames beginning with two dots (closes #2858487).
1621 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1622 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1623 data/filetypes.common, geany.glade:
1624 Update syntax highlighting after changing the 'Invert syntax
1625 highlighting colors' pref, instead of requiring a restart.
1626 Remove filetypes.common invert_all option - use 'Invert syntax
1627 highlighting colors' pref instead (closes #2854525).
1628 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1629 Add 'Allow' button when showing the conflicting keybinding dialog.
1630 Make dialogs_show_question_full() use GTK dialog on Windows if
1631 button text is not the stock yes/no items.
1632 Add dialogs_show_prompt() which also has an 'Apply' button.
1633 * src/queue.c, src/queue.h:
1634 Add warning that GeanyQueue may be removed.
1635 * src/keybindings.c, src/editor.c, src/editor.h:
1636 Change snippet_goto_next_cursor() to
1637 editor_goto_next_snippet_cursor() as it's in editor.h.
1638 Avoid using GPOINTER_TO_INT macro.
1641 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1643 * src/keybindings.c:
1644 Fix 'Reflow block' command when at the last paragraph and there's
1645 no last newline (patch by Eugene Arshinov, thanks).
1647 Add 'Compiler options & warnings' section.
1648 Update Style section to be clearer about code alignment and show
1653 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1655 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1656 src/plugindata.h, src/plugins.c, src/editor.c,
1657 plugins/geanyfunctions.h:
1658 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1659 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1661 Add sci_toggle_marker_at_line().
1662 Fix SciFuncs alignment.
1665 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1668 Fix erroneous free of returned string in prepare_run_script.
1671 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1673 * data/filetypes.latex:
1674 Changing default value for showing pdf and dvi to ensure to take
1675 *.pdf and *.dvi file.
1678 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1680 * src/about.c, THANKS:
1681 Change language string for Slovenian translation.
1684 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1686 * tagmanager/txt2tags.c:
1687 Fix multi-byte character constant comparison.
1689 Fix Gtk warning when trying to update documents popup menu item
1690 sensitivity before they exist.
1693 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1696 Improve the opening string in the plugin manager dialog.
1698 Use "max-width" to set the document width of the generated
1699 HTML documentation to let the text be auto-wrapped.
1700 * src/prefs.c, src/tagmanager/include/guregex.h,
1701 src/tagmanager/include/tm_tagmanager.h:
1702 Remove trailing spaces (patch by André Hentschel, thanks).
1704 Fix a compiler warning.
1706 Fix crash when opening documents.
1707 * src/build.c, src/build.h, src/project.c:
1708 Adjust coding style (no code changes).
1709 * src/build.c, src/project.c:
1710 Use NZV() macro instead of strlen() to check for empty strings.
1711 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1712 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1713 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1714 src/plugins.c, THANKS:
1715 Add new plugin signal: "document-before-save".
1716 Add get_line_end_position(), set_target_start(), set_target_end(),
1717 replace_target() to the plugin API
1718 (patch by Eugene Arshinov, thanks).
1719 Add new plugin signal: "document-filetype-set" (closes #2852286).
1720 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1721 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1722 tagmanager/Makefile.am, tagmanager/makefile.win32,
1723 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1725 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1728 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1730 * src/treeviews.c, src/document.c:
1731 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1732 Use gtk_notebook_set_current_page() instead of
1733 document_open_file_full() when choosing an item from the documents
1735 Avoid using goto in document_open_file_full().
1738 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1740 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1741 Enable type-ahead find for sidebar symbols and documents tabs
1742 (patch by Thomas Martitz, thanks).
1744 Fix 2 free's of possibly uninitialized pointers.
1747 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1749 * src/build.c, src/filetypes.h, src/filetypes.c
1750 Only write filetype config files when build command or regex is
1751 actually changed. Removed commented code in src/filetypes.c.
1753 Ensure uses of filename are protected against nulls when running
1754 a build command and give status message if not.
1757 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1760 Remove plugin from plugin manager dialog on unloading if it no
1761 longer exists or is incompatible.
1764 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1767 Add warning if only one of the plugin_key_group[_info] symbols is
1768 defined for a plugin.
1769 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1770 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1772 Merge custom-filetypes branch:
1773 Support adding custom filetype files e.g. filetypes.Foo.conf.
1775 Allow GeanyFiletype::extension to be NULL.
1776 Add note about using GeanyFiletype pointer instead of filetype_id
1777 for filetypes.c function arguments.
1778 Replace styleset_none() with styleset_default().
1781 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1784 Show the sidebar if either the documents or the symbols list are
1785 enabled (related to #1876107).
1788 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1790 * src/build.c, src/filetypes.c:
1791 Fix compiler warnings.
1793 Fix removing leading double slashes in filenames which are used for
1794 network resources on Windows (closes #2844085).
1797 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1799 * src/keybindings.c:
1800 Fix Make keybindings (patch by Lex Trotman, thanks).
1802 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1804 Mention Files link at top for header files; demoplugin.c.
1805 Minor edits; remove 'far from being complete'.
1806 * src/keyfile.c, src/keyfile.h, src/main.c,
1807 data/filetype_extensions.conf, HACKING:
1808 Remove --generate-data-files argument & code - just edit
1809 filetype_extensions.conf by hand (filetype order was broken
1811 Add *.H extension for C++ (useful for non-Windows systems).
1814 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1817 Fix implementation of loading old project files with base
1818 directories. Use project_make_base_path instead of re-
1819 implementing. Now depends on project.c reading base dir
1820 prior to calling load_build_menu.
1822 Change usage of project base directory to conform with
1823 previous documented behavior when loading old project files.
1825 Change make custom and make object to ignore make in base path
1826 when reading old project file settings. Changed some indent
1827 spaces to tabs. Fix missing compile menu accelerator.
1830 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1833 Add warning about not using undocumented features.
1834 Add reference to HACKING for plugin API development.
1836 Add section 'Plugin API/ABI design'.
1837 * src/keybindings.h, src/makefile.win32, src/project.h,
1838 src/filetypes.h, src/Makefile.am, wscript:
1839 Use GEANY_PRIVATE to hide some fields from plugins.
1841 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1842 * src/build.c, src/build.h, src/project.c:
1843 Use build_ prefix for 3 functions in build.h; add a static modifier.
1846 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1849 Improve parsing of PHP functions by requiring a valid modifier or
1850 whitespace before the 'function' keyword to ignore some false
1851 positives like function tags inside comments
1852 (patch by Harold Aling, thanks).
1853 * tagmanager/python.c:
1854 Don't parse comments after import statements and other tags
1855 (closes #2838938, patch by Huandari Lopez, thanks).
1858 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1860 * data/filetypes.markdown:
1861 Add filetypes.markdown for configuration (thanks to Jon Strait).
1862 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1863 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1864 plugins/geanyfunctions.h:
1865 Remove GeanyKeyGroup struct from the API - plugins should not set
1867 Make keybindings_set_item() duplicate the name and label fields
1868 (needed by GeanyLua) and return a keybinding pointer.
1869 Add keybindings_get_item() to the API (in case it's useful).
1870 Move some keybinding code out of plugin source files.
1873 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1875 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1876 Don't generate build.h API docs until everything is approved and
1877 functions are actually in geany_functions.
1878 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1879 as they may be changed or made private later.
1880 Break ABI for fields removed.
1883 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1885 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1886 src/keyfile.c, src/project.c
1887 Changed names of symbols visible in build API to GEANY_xxx.
1890 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1892 * src/project.h, src/project.c, src/build.c
1893 Remove make_in_base_dir and run_cmd fields from project structure.
1894 Replaced by build functionality. Remove incorrect use in src/build.c
1895 build_run_cmd function.
1898 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1900 * src/project.h, src/project.c
1901 Removed unused project_get_make_dir function, this is now per
1905 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1907 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1908 Fix some more warnings.
1909 Fix commented out execute/stop toolbar code in build.c.
1910 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1911 Changed build.h api so all functions prefixed with build_.
1914 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1916 * src/build.c, src/build.h, src/project.c:
1917 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1920 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1923 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1924 when reading old format configuration & project files.
1925 * src/build.c, src/project.c
1926 Fixed GLib array assertion warnings when no project filetypes are
1927 available to be saved.
1929 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1935 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1937 * src/build.h, src/build.c, src/project.c
1938 Created and documented plugins interface to build menu.
1939 Factored out new get_cmd_group function.
1940 Changed name of remove_command function to be consistent with the rest
1941 of the interface & changed calls in project.c.
1942 * src/Makefile.am, wscript
1943 Added build.h to installed files lists.
1945 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1948 Updated manual to match build-menu capability.
1951 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1953 * src/build.c, src/build.h
1954 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1955 Improved interpretation of run_in_base_dir from old [build-settings]
1956 Added spacing to build commands dialog
1958 Removed run in base path option from project dialog and added button to
1959 set working directories to d the same.
1962 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1965 Re-incorporated toolbar changes in trunk accidently excluded in merge
1967 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1970 Fixed substitute %f etc in commands
1971 Fixed potential leak in build_replace_placeholder
1972 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1973 Fixed build_replace_placeholder to not require document.
1975 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1977 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1978 Fixed crash and lots of warnings, deleted some commented out code.
1979 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1980 Removed make command from preferences and associated code
1982 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1984 * src/build.c, src/build.h
1985 Incorporated patch for working directory field (thanks Thomas)
1986 Removed run_in_base_dir option and associated code that it replaces
1987 Improved handling of old config files and mapping to new ones.
1989 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1991 * src/build.h, src/build.c
1992 Changed to itterate over entries in build commands dialog to allow
1993 additional fields to be added
1994 Implement support for multiple run commands
1995 * data/filetypes.latex
1996 Implement configured commands and labels for latex.
1999 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2001 * src/build.h, src/build.c
2002 added dialog support for error regular expressions from multiple sources
2003 and storing and loading them
2004 fixed some typos and memory leaks
2005 * src/filetypes.c, src/filetypes.h, project.c
2006 added support for using error regexes from multiple sources
2009 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2011 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2013 Removal of build menu item source made redundant by the following fix
2015 Corrected priority oreder and loading of filetype dependent build
2016 menu items saved in the project file. Added print routine for
2017 debugging command sources and priorities set compile symbol
2018 PRINTBUILDCMDS true to enable
2020 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2023 fixed problem loading old format filetype files, some formatting fixes
2024 fixed saving new format files
2025 added operation for clear button on build commands dialog
2027 fixed loading and saving filetype files
2030 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2032 Configurable Build Menu Changes
2034 * doc/geany.html, doc/geany.txt:
2035 Updated build menu section to new functionality
2036 * src/build.h, src/build.c:
2037 Largly re-written, configurability added, Latex code removed
2038 * src/filetypes.h, src/filetypes.c:
2039 Filetype structure updated to add new command pointers, configuration
2040 load and store changed
2041 * src/keybindings.h, src/keybindings.c:
2042 Changed to address new command storage structure.
2044 Changed to load/store new configuration.
2046 Minor change to initialisation order.
2048 Changed to address new menu item storage structure.
2049 * src/project.h, src/project.c:
2050 Changed to load/store the new configuration info.
2052 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2054 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2055 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2056 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2057 plugins/splitwindow.c:
2058 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2059 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2060 the ABI when adding fields to them.
2061 Add plugin_set_key_group() for plugins to dynamically set a
2062 keybinding group (e.g. for the Lua script plugin). Used in Split
2063 Window plugin as an example.
2064 Improve keybinding docs a little.
2067 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2069 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2070 Add geanyfunctions.h to API docs.
2071 * plugins/splitwindow.c:
2072 Set the cursor color for the split window.
2075 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2078 Fix 'Open Selected File' for unsaved new documents.
2079 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2080 Fix updating main menu accelerators after changing keybindings
2081 (thanks to Lex Trotman).
2083 Fix using 'Insert date' keybinding when a custom date string has
2085 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2086 Merge Plugin and GeanyPluginPrivate structs.
2089 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2091 * src/keybindings.c:
2092 Fix non-working Home and End keys on numpads.
2095 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2097 * doc/geany.txt, doc/geany.html, NEWS:
2098 Add 'Scope autocompletion' section.
2099 Add 'Tools menu items' section to explain configuration files
2100 submenu, reload configuration item.
2101 Minor updates/fixes.
2104 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2107 Add a translation hint to an ambiguous format string.
2109 Add missing include path to fix 'make distcheck'.
2111 Fix opening of local files in the browser on Windows.
2112 * New release: Geany 0.18 "Kaine".
2113 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2114 src/geany.h, doc/geany.html, doc/geany.txt:
2115 Post-release version bump.
2118 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2121 Temporarily disable reshowing calltips when the autocompletion
2122 list was closed implicitly by not choosing an item to fix
2123 problems with wrongly displayed calltips.
2125 Add missing 'coding' cookie to the Python filetype template.
2126 * doc/images/pref_dialog_edit_completions.png,
2127 doc/images/pref_dialog_toolbar.png:
2128 Update images for Geany 0.18.
2131 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2134 Add command '--hackingdoc' to create the HTML form of the
2138 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2140 * po/pt_PT.po, po/LINGUAS:
2141 Added a first Portugese (Portugal) translation based on work done at
2142 launchpad by e.g. André Glória and Alexandre Jesus.
2143 * src/main.c: Fix a minor typo on --help call.
2146 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2148 * src/highlighting.c:
2149 Call get_keyfile_wordchars() in highlighting_init_styles().
2152 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2154 * data/filetypes.ada:
2156 * src/keybindings.c:
2157 Switching notebook tabs now works for the currently used notebook
2158 widget instead of always using the documents notebook.
2159 * src/document.c, src/document.h, src/documentprivate.h,
2161 Small corrections to some API docs.
2164 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2166 * src/build.c, src/win32.h, src/win32.c:
2167 Expand system environment variables (%variableName%) on Windows when
2168 running Build commands.
2171 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2173 * src/keybindings.c:
2174 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2175 future using an indent block is more useful e.g. for ChangeLog
2177 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2178 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2179 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2180 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2181 tagmanager/parsers.h, tagmanager/makefile.win32,
2182 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2183 Add Markdown filetype (patch by Jon Strait, thanks).
2184 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2185 Fix disconnecting plugin signal id when not using geany_object.
2187 Add filetype_make_title() instead of using:
2188 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2189 It also supports "%s file" strings.
2192 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2194 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2195 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2196 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2197 plugins/filebrowser.c:
2198 Add plugin_signal_connect() for connecting plugin signals at
2199 runtime and also for connecting to any GObject signal.
2200 Add 'Plugin Utility Functions' on main page.
2201 Add foreach_array() macro.
2202 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2203 src/document.c, src/editor.c:
2204 Rename 3 sci functions to sci_set_target_start(),
2205 sci_set_target_end(), sci_replace_target() to match the SCI_
2209 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2211 * wscript: Fix compiling error with waf.
2214 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2216 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2217 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2218 src/Makefile.am, wscript:
2219 Move plugin_* utility functions to pluginutils.c.
2220 Add pluginprivate.h.
2222 Fix reshowing calltip in the wrong document.
2225 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2227 * doc/geany.txt, doc/geany.html:
2228 Add some general information about auto-completion capabilities
2229 (patch by Lex Trotman, thanks).
2232 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2234 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2235 Added a first Slovenian translation. Thanks to Joze Klepec.
2238 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2240 * src/highlighting.c:
2241 Use full styleset_foo[_init] function name as argument to
2242 init_styleset_case() and styleset_case() macros so it's easier to
2243 understand the code.
2244 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2245 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2246 doc/geany.txt, doc/geany.html:
2247 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2248 Heavily based on a patch by Eugene Arshinov (thanks).
2249 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2250 editor_strip_line_trailing_spaces().
2253 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2256 Attempt to fix reshowing calltips after the autocompletion list
2258 Reshow calltips also when the autocompletion list was closed
2259 implicitly by not choosing an item.
2261 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2263 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2264 plugins/splitwindow.c:
2265 Change utils_str_remove_chars() to work in place; fix allocating on
2266 the stack (the string length could exhaust the stack size).
2267 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2268 src/printing.c, src/callbacks.c:
2269 Rename utils_str_replace() utils_str_replace_all(), setting a
2270 'gchar **haystack' argument instead of returning a new string.
2272 For the Tabs indent type, remove spaces when unindenting (only) if
2273 there are no tabs on the line.
2274 Group undo actions for (un)indenting of multiple lines.
2275 * src/document.c, src/editor.c:
2276 Fix scrolling horizontally after finding a search match with the
2277 search bar or Find Next/Previous which is off-screen.
2278 * src/keybindings.c:
2279 Fix GLib warning when pressing a key with no documents open.
2282 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2285 Start unifying usage of @a and @c markup elements in API docs,
2287 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2288 Show/hide the toolbar without a restart when the setting in the
2289 preferences dialog is changed (closes #2824785).
2290 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2291 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2292 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2294 Continue unifying usage of @a and @c markup elements in API docs.
2297 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2300 Remove relative/untidy path elements when creating new documents
2301 with a filename (e.g. from the command-line) (#2823998).
2304 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2307 Disable 'Recent Projects' menu item if the list of recent projects
2310 Fix some harmless compiler warnings.
2311 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2312 src/plugins.c, src/utils.c, src/utils.h:
2313 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2314 src/utils.c and add it to the plugin API.
2315 Make utils_str_remove_chars() work on a new copy of the input string
2316 instead of modifying it in place.
2318 Remove underscores from the toolbar items labels.
2321 * plugins/splitwindow.c:
2322 Fix broken 'Show the current document' tool button icon.
2325 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2327 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2329 Add stash_group_add_widget_property() so we can save any widget's
2330 read/write properties.
2331 Use Stash for ui_prefs.sidebar_page setting.
2332 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2333 Make foreach_ptr_array() use an integer argument for its
2334 implementation, as this is more useful potentially than a gpointer*
2335 argument, and more straightforward.
2336 Add foreach_c_array(), foreach_ptr_array() to API.
2337 * src/utils.c, src/utils.h, src/document.c:
2338 Remove relative/untidy path elements when opening documents (closes
2341 Fix showing project name for documents list files with no
2342 subdirectory (oops).
2344 Fix checking whether to overwrite when using the Rename button in
2345 the 'Save As' dialog.
2348 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2351 Don't use the main window as parent for dialog boxes if it is not
2353 Set titles for message dialogs.
2356 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2359 Display item labels instead of raw names in the toolbar editor.
2360 Apply changes in the toolbar editor instantly.
2361 Show icons in the toolbar editor.
2362 Speed up toolbar editor dialog creation.
2364 Improve inserting of comment templates like File header or licence
2365 notices. The comment information are now read from the filetype
2366 configuration files.
2368 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2371 Enable file monitoring for files which are written to disk by Geany
2374 Fix broken special case handling when detecting filetypes from a
2375 shebang or other special file headers.
2378 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2381 Make Mark All keybinding clear search highlighting when there's no
2384 Fix wrong match length when using Mark with regex.
2385 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2386 src/keyfile.c, src/main.c:
2387 Add 'Show Paths' documents list popup item.
2388 Add "load_settings" core-only signal emitted just after loading
2389 main keyfile settings; useful to delay building UI elements until
2390 settings have been read.
2392 Fix GTK warning when right-clicking on default tag tree.
2393 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2394 Add treeviews_finalize().
2395 Remove tv.popup_openfiles field.
2398 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2400 * src/highlighting.c:
2401 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2404 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2407 Quote the uri before passing it to the browser when opening a
2408 website (closes #2818635).
2410 Fix broken 'builtin' Run command for HTML files on Windows.
2413 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2416 Properly fix wrong brace highlighting of non-brace character.
2418 Allow autocompletion in Perl double-quoted strings.
2419 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2420 Don't autocomplete in Perl q() strings.
2421 * data/filetypes.common:
2422 Make Mark highlighting brighter.
2423 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2424 Use hyphen for auto-feature terms.
2425 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2426 src/document.h, src/main.c:
2427 Add documents_foreach() API macro that skips invalid docs.
2428 Make filetypes[], documents[] part of the API again.
2429 Add GEANY() macro for sharing geany symbols between API and core.
2430 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2431 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2432 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2433 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2434 plugins/classbuilder.c, wscript:
2435 Add geanyplugin.h single include for plugin API; update all core
2437 Add sci_set_font() to API.
2438 Update plugin howto.
2439 * src/filetypes.c, src/filetypes.h:
2440 Remove filetypes_foreach_named().
2443 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2445 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2446 src/document.h, src/main.c, THANKS:
2447 Apply patch from Eugene Arshinov to reload color schemes via menu
2450 Reload filetypes.common after saving it.
2452 Improve wrong brace highlighting of non-brace character.
2455 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2458 Delay highlighting matching braces by 100ms, which speeds up
2459 scrolling with the arrow keys.
2460 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2461 Add 'Mark All' keybinding.
2462 * tagmanager/diff.c:
2463 Show relative paths in diff filename tags.
2466 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2468 * src/highlighting.c:
2469 Fix setting keyword list 'classes' for Haxe
2470 (pointed out by Andreas Mokros, thanks).
2473 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2475 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2476 doc/geany.txt, doc/geany.html, geany.glade:
2477 Add 'Drop rest of word on completion' pref.
2478 * src/editor.c, doc/geany.txt, doc/geany.html:
2479 If autocompletion is already visible when forcing completion, show
2480 document word completion instead of tag completion.
2481 Docs: Minor edits of related prefs items.
2482 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2483 Add warning when printing and editor font is not monospaced.
2484 Fix using GtkMessageType instead of gint param for
2485 dialogs_show_msgbox*().
2486 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2488 Support 'tab indents, space aligns' style for auto-indentation
2492 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2494 * src/document.c, src/documentprivate.h:
2495 Rework the GIO based file monitoring code. Now it is used only
2496 to indicate a possible change of the file, the real check if the
2497 file has been changed is performed by stat().
2498 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2499 Add style 'line_height' to increase the line height.
2500 Add style 'marker_mark' and change style 'marker_search' to
2501 define the style used for marked search results.
2502 * doc/geany.txt, doc/geany.html:
2503 Add the new 'Autocomplete all words in document' pref to the docs.
2506 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2508 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2509 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2510 Add 'Autocomplete all words in document' pref.
2511 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2513 Fix limiting number of word completion entries too much.
2514 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2515 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2516 Show autocompletion icons for tag symbols - for now only tags with
2517 an arglist have the 'function/method' icon, all others have the
2519 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2521 * src/highlighting.c:
2522 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2526 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2528 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2529 Fix removing underscores in translated string using no_underscore()
2531 Set a tooltip for the Split Window plugin's Show Current tool button.
2532 Add utils_strdupa() macro.
2533 * src/interface.c, geany.glade:
2534 Use stock Select All icon now we have >= GTK 2.8.
2536 Fix using project name for document items that start with the
2537 project base path but don't match it e.g. ".../geany-plugins"
2538 instead of ".../geany" when project name is 'geany'.
2541 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2544 Fix warnings when the toolbar does not contain the Run button.
2546 Fix wrong parsing of complex expressions in the Lua parser.
2547 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2549 Remove unnecessary enums.
2550 * scintilla/*, scintilla/include/*, src/plugindata.h:
2551 Update Scintilla to version 1.79.
2552 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2554 Use the new Scintilla struct names prefixed with 'Sci_'.
2555 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2557 Add second argument to the 'line_wrap_indent' styling setting to
2558 control the new Scintilla indentation mode for wrapped lines.
2560 Properly close the toolbar editor on delete-events.
2561 Fix warnings and possible crashes in the toolbar editor when the list
2562 of displayed toolbar items is empty.
2563 * data/filetypes.tcl:
2564 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2566 Make the plugin manager dialog a bit bigger.
2569 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2571 * doc/geany.html, doc/geany.txt:
2572 Fix wrong default values for the 'Show Calltip' keybinding.
2575 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2577 * data/filetypes.tcl, src/symbols.c:
2578 Fix duplicate "context_action_cmd" key.
2579 Use different icons for "Methods" and "Procedures" in the symbol
2582 Fix a small memory leak.
2583 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2584 src/keybindings.h, src/plugindata.h:
2585 Make the Scintilla keybindings 'Delete to end of line' and
2586 'Go to end of display line' configurable.
2588 Fix a typo (closes #2813624).
2591 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2593 * tagmanager/tcl.c, src/symbol.c:
2594 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2595 methods and namespaces).
2596 Patch by Witek Mozga, thanks.
2599 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2601 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2602 src/toolbar.c, src/toolbar.h:
2603 Remove ui_toolbar.xml Configuration Files menu item.
2604 Add a real toolbar editor dialog.
2605 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2607 Add a button in the preferences dialog and an item for the toolbar
2608 popup menu to run the toolbar editor dialog.
2611 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2614 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2615 Fix using locale encoding for default Save As dialog path.
2617 Beep when trying to activate the '...' autocompletion item.
2618 Limit (forced) document word completion to
2619 autocompletion_max_entries.
2620 Beep if no completions are shown when forcing autocompletion.
2623 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2625 * data/ui_toolbar.xml, src/toolbar.c:
2626 Add 'Build' toolbar button to the default layout.
2629 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2632 If forcing autocompletion and there's nothing else to show, complete
2633 from words in the current document (using code from Enrico's
2634 'AutoComplete Test' plugin).
2637 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2640 Add debug message if plugin has not set a name for its keybinding
2642 * data/filetype_extensions.conf:
2643 Add *.m4 for shell scripts.
2646 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2648 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2649 data/filetypes.common, TODO:
2650 Make filetypes.common named styles use the "default" named style for
2651 all missing style fields.
2652 Set named styles to usually leave the background style empty. This
2653 currently allows C-like filetypes to have a common default
2655 Allow hard-coded colors to use -1 for the default color.
2656 Add some highlighting style examples to the manual.
2659 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2662 Create initial template files with proper platform-specific line
2666 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2668 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2669 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2670 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2671 src/ui_utils.c, src/ui_utils.h:
2672 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2674 Refactor some related code.
2675 * tagmanager/conf.c:
2676 Strip trailing spaces from "Key" tags.
2678 Quote the full filename to the Geany executable when creating the
2679 "Open with Geany" context menu item.
2680 * plugins/splitwindow.c:
2681 Avoid using deprecated GTK API.
2682 * src/log.c, src/main.c:
2683 Properly clean up the logging mechanism.
2685 Fix LaTeX view commands on Windows (part of #2807688).
2687 Add a popup menu for the keybinding list in the preferences dialog
2688 to easily expand and collapse all groups.
2689 Refactor the keybindings code for the preferences dialog, prefix all
2691 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2692 Init stock items before creating the toolbar (closes #2809324).
2694 Generate the geany.pc file also on Windows.
2696 Invert the logic to determine which Save All we want to use:
2697 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2698 like icon for any other themes.
2701 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2703 * src/highlighting.c, README.Packagers, HACKING:
2704 Remove gsd_* default styles, use named styles instead.
2705 Note: this relies on filetypes.common being installed.
2706 Add load_style_entries(), which makes style initialization
2707 simpler, used in styleset_c_like_init().
2710 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2713 Prevent possible crash on Windows when not setting an initial
2714 directory for native File Open/Save dialogs.
2715 * data/filetypes.xml, src/highlighting.c:
2716 Add style 'jscript_regex' for filetype HTML
2717 (patch by Chris Macksey, thanks).
2720 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2722 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2723 Make GeanyDocument::file_type always be non-NULL, even for a new
2724 document with no filetype set.
2726 Only autocomplete scope for scopes matching the current filetype's
2728 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2729 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2730 data/filetypes.actionscript, data/filetypes.cs,
2731 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2732 data/filetypes.javascript, HACKING:
2733 Make C++, D lexer filetypes use named styles (apart from uuid,
2734 verbatim, regex styles).
2737 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2740 Don't explicitly change the current directory of the Save As dialog
2741 so that it uses the last used directory.
2744 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2746 * src/encodings.c, src/encodings.h, src/plugindata.h:
2747 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2750 When completing from the macro list, put the cursor after
2754 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2756 * tagmanager/pascal.c:
2757 Fix type definitions being parsed as functions.
2759 Don't autocomplete in unterminated strings as well.
2760 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2761 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2762 Remove data_ptr argument to foreach_[s]list() macros, as using
2763 node->data is enough sometimes; this makes the macro a bit more
2765 Add foreach_[s]list() macros to the plugin API docs.
2768 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2770 * scintilla/LexPascal.cxx:
2771 Backport fix from Scintilla CVS:
2772 Pascal lexer hanging on file that starts with 'interface' after
2776 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2779 Update Waf to 1.5.7.
2781 Overwrite installation prefix on Windows only if it wasn't
2782 specified explicitly.
2785 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2788 Display calltips for Pascal symbols in the Pascal way (#2803945).
2789 * tagmanager/pascal.c:
2790 Fix wrongly set return values for procedures (closes #2803945).
2791 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2792 tagmanager/include/tm_source_file.h,
2793 tagmanager/include/tm_workspace.h:
2794 Fix doxygen warnings.
2797 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2799 * src/editor.c, tagmanager/include/tm_workspace.h,
2800 tagmanager/tm_workspace.c, TODO:
2801 Autocomplete scoped fields like struct members when typing '.' (and
2802 also '->' or '::' in C/C++).
2803 Save all tag types for C/C++ when generating a global tags file, so
2804 we can use autocompletion for structs also.
2805 Merge tm_workspace_find_scope_members(),
2806 tm_workspace_find_namespace_members() (currently not built) from
2807 Anjuta 2.24.1 tagmanager.
2810 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2812 * tagmanager/pascal.c:
2813 Parse Pascal calltips (closes #2802640).
2816 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2818 * src/filetypes.c, src/ui_utils.c:
2819 Add filetypes.common Configuration Files menu item.
2822 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2825 Add backslash to the wordchars on Windows when using
2826 'Open Selected File'.
2828 Add support (configure, build and install) for building on Windows
2829 and cross-compiling for Windows using the Waf build system.
2832 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2835 Set status bar text instead of showing a dialog when saving
2836 ui_toolbar.xml because the user might save several times.
2838 Fix redrawing due to colourising just after the document is first
2839 drawn. Now colourising should happen before the first draw.
2840 * src/utils.c, src/highlighting.c, data/filetypes.common:
2841 Fix segfault on parsing a filetypes.* style definition that has < 4
2843 Allow style definitions to have missing fields to use the default
2847 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2849 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2850 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2851 * plugins/classbuilder.c:
2852 Fix wrongly created header guards when the class filenames contains
2853 dashes (patch by PCMan, thanks).
2854 * data/filetypes.matlab:
2855 Add build_settings section to allow executing Matlab scripts.
2857 When closing a document, mark it as invalid before removing it from
2858 the documents notebook (this fixes wrong Save All button state when
2859 closing an unsaved document because the "switch-page" signal handler
2860 was using old data).
2863 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2865 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2866 Support toggling bold/italic when using a named style, e.g.:
2867 commentdockeyword=commentdoc,bold,italic
2868 Improve named style docs.
2871 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2873 * src/build.c, src/editor.c:
2874 Fix crashes when parsing the output of a compiler which reports
2878 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2880 * src/highlighting.c:
2881 Support named styles also for filetypes.common [styling] entries.
2882 * doc/geany.txt, doc/geany.html, HACKING:
2883 Update docs for named styles in filetypes.* files.
2885 Fix grouping symbol list children when parent name has "." character
2886 in for reStructuredText and Conf filetypes.
2887 * tagmanager/python.c:
2888 Fix grouping functions/classes under a nested function.
2891 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2894 Adjust icon paths (patch by Dominic Hopf, thanks).
2895 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2896 Add 'Replace' toolbar button (closes #2798225).
2899 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2901 * src/utils.c, src/highlighting.c, TODO:
2902 Implement named styles support for filetypes.* using a
2903 filetypes.common [named_styles] section e.g.:
2904 foo=0xc00000;0xffffff;false;true
2906 These can be used in e.g. filetypes.c as:
2910 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2913 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2916 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2918 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2919 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2922 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2925 Remove quote_executable() as it is not used anymore.
2926 When creating the geany_run_script.bat use the "%0" variable
2927 expansion and quote it for the "del" command (closes #2797172).
2929 On Windows, fallback to the literal build command line if searching
2930 for the command in the system path failed (related to #2795923).
2931 Properly terminate the resulting strings when reading the stdout
2932 and stderr of any spawned commands on Windows.
2935 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2938 Use the wide character versions of native Windows File dialogs.
2940 Fix wrong initialisation of the default project path button callback
2941 in the preferences dialog.
2942 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2943 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2944 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2945 icons/Makefile.am, icons/geany.ico, icons/scalable,
2946 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2948 Move the icons geany.png and geany.ico into the icons directory.
2949 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2950 Drop the pixmaps directory.
2953 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2955 * src/keybindings.c:
2956 Improve MRU document switching so there are no duplicates in the
2957 list and documents switched to whilst the dialog is open are
2958 ignored. Also beep when cycling through to the first document in the
2962 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2965 Fix broken 'Cancel' button in the Save As dialog.
2968 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2971 Fix multiline indent when selection covers text on the last line.
2973 Show current document in bold in tab popup menu.
2974 * src/editor.c, tagmanager/python.c, TODO:
2975 Parse Python calltips.
2978 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2980 * src/symbols.c, tagmanager/python.c:
2981 Parse Python import statements to get symbol completion for the
2982 imported module names.
2983 * src/editor.c, src/editor.h:
2984 Make some only locally used functions static.
2985 Fix wrong sanity check.
2987 Fix quoting the build command string on Windows (closes #2791769).
2988 This broke when we made build commands run synchronously on Windows,
2989 now we don't need to special quote the commands anymore.
2992 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2995 Drop rest of word to the right of cursor when autocompleting (do we
2996 need a pref for this?).
2999 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3001 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3002 Add sci_set_selection().
3003 * doc/geany.txt, doc/geany.html:
3004 Update manual for MRU switching.
3005 * src/callbacks.c, src/editor.c, src/editor.h:
3006 Make indenting with the Tabs indent type preserve spaces on the line,
3007 so it works for the 'tab indents, space aligns' formatting style.
3010 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3012 * tagmanager/python.c:
3013 Fix missing symbols for variables when an equal sign is used
3014 in a comment on the same line as the variable declaration.
3015 Backport change from CTags SVN to keep the parser more in sync:
3016 Add support for Cython constructs to the Python parser.
3018 Remember the additional Find in Files search flags at startup.
3020 Don't close the Save As dialog when saving the file didn't succeed.
3023 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3026 Remember scribble cursor position.
3027 * src/keybindings.c, TODO:
3028 Implement Most-Recently-Used document switching when pressing
3029 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3032 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3034 * data/latex.tags: Added some more commands from unit.sty and
3038 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3040 * src/symbols.c, doc/geany.txt, doc/geany.html,
3041 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3042 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3043 tagmanager/Makefile.am, wscript:
3044 Merge unstable branch:
3045 Add reStructuredText scope information for tags (for symbol list
3047 Read custom system global tags files from $prefix/share/geany/tags;
3049 Show the number of tags in a user global tags file (instead of the
3050 running total) in the debug message.
3051 Also print debug messages when loading a tag file manually or for
3052 default global tags files e.g. python.tags.
3054 Move NestingLevel tags code into a separate file, add functions.
3056 Add 'Installation prefix' section instead of quoting '/usr/local'
3058 Update for custom system global tags files.
3061 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3063 * src/highlighting.c:
3064 Unset maybe previously keywords when setting up Scintilla for
3065 XML files. This fixed wrong highlighting after switching back to
3066 filetype XML from another one.
3068 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3069 is only used when explicitly requested.
3071 Remove unnecessary call to g_intern_string() to fix build with
3072 GLib 2.8 (closes #2790051).
3075 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3078 Make the clear icon of entry fields act on the release event, not
3079 on the press event like for other buttons.
3081 Refactor some multiple used code into get_multiline_comment_style().
3083 Create parent directories if necessary when checking for the
3084 configuration directory on startup (closes #2784577).
3087 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3089 * plugins/filebrowser.c:
3090 When a filter is set, apply it only to files, not directories and
3091 apply the filter to the UTF-8 name of the file as the filter string
3092 itself is also UTF-8.
3093 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3094 Add utils_color_invert() and use it in highlighting.c and printing.c.
3095 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3096 Backport change from Scintilla CVS:
3097 Change capitalisation of header file to suit cross-compilation on
3101 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3103 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3104 Update Scintilla to version 1.78.
3105 * src/editor.c, src/highlighting.c:
3106 Update Pascal styles as they changed in Scintilla.
3109 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3112 Ignore the invert syntax highlighting colours setting when printing
3113 to not print characters on a dark background (closes #2785244).
3114 * New release: Geany 0.17 "Wessex".
3115 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3116 src/geany.h, doc/geany.html, doc/geany.txt:
3117 Post-release version bump.
3120 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3122 * src/callbacks.c, src/callbacks.h, src/main.c:
3123 Update the View->Fullscreen menu item when fullscreen state is
3124 changed externally (e.g. by the window manager).
3126 Fix passing wrong pointer to the File Open dialog for the Run
3127 command in the Project Properties dialog.
3130 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3132 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3134 Remember the active sidebar page between sessions.
3136 Add a recent project item after creating a new project.
3137 * tagmanager/ruby.c:
3138 Fix wrong parsing of string literals (closes #2781264).
3140 Fix setting focus to the editor widget after changing the selection
3144 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3147 Prevent crashes when two or more top level items in the symbol
3148 list have the same name (closes #2778246).
3151 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3153 * src/keybindings.c:
3154 Manually show the main notebook tab bar menu when Shift-F10 is
3155 pressed. This broke when we disabled the default GTK tab bar menu.
3157 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3158 which was reloaded shortly before.
3160 When the editor menu is opened by the Menu key, use the text cursor
3161 position for retrieving the current word. This fixes disabled
3162 Go to Tag items in the menu (#2780044).
3164 Set the "ellipsize" property of GtkCellRendererText to automatically
3165 shorten the path and file names in the Documents list.
3166 * doc/geany.html, doc/geany.txt, src/build.h:
3167 Increase the amount of highlighted build error messages to 100.
3168 At least for LaTeX we need higher values as there is a lot of
3169 informative output before any errors are reported.
3170 * src/filebrowser.c:
3171 Use the startup path as the initial directory for the filebrowser
3172 plugin when no project and no files are opened
3173 (patch by Matias Gea, thanks; closes #2780521).
3176 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3178 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3179 src/utils.c, src/utils.h:
3180 Ellipsize tab labels and some status messages for very long
3181 filenames (closes #2777348).
3182 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3183 Add utils_str_middle_truncate() and
3184 document_get_basename_for_display() to the plugin API.
3185 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3186 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3187 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3189 Add a hidden preference 'use_safe_file_saving' to save files to disk
3190 by creating a temporary file first. This has serious side effects,
3191 please read the documentation before enabling this.
3193 Make build commands on Windows run synchronously to avoid problems
3194 with reading build commands' output.
3195 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3196 Limit the amount of highlighted build error messages in the
3197 Compiler window to 50 for performance reasons.
3200 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3202 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3204 Replace our own GEANY_KEYS_MODIFIER_MASK by
3205 gtk_accelerator_get_default_mod_mask() which gives the same result.
3206 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3207 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3208 Add a trivial symbol parser for NSIS files.
3211 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3214 Hide the extra file open dialog options in an expander to make the
3215 dialog more compact by default and to provide more space for the
3217 Remove the filename field as it is also provided by GTK itself with
3218 more features like auto-completion.
3219 Watch the 'show-hidden' property of the file chooser widget using
3220 GObject's "notify" signal which gives accurate results and remove
3221 the hack using the "selection-changed" signal.
3224 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3226 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3227 Prevent double execution of radio menu item "activate" or "toggled"
3229 Move 'Set Encoding' callback function into encodings.c.
3232 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3235 Add some missing 'void's in function definitions.
3236 If the project base path is './', just use the path of the project
3237 config file instead of appending './'.
3238 * src/treeviews.c, src/project.c:
3239 When a project is loaded, replace the project base path with the
3240 project name in the Documents sidebar for parent items
3244 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3246 * src/keyfile.c, src/keyfile.h, src/project.c:
3247 Fix duplicating the recent files and projects lists when closing
3249 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3250 src/editor.c, src/encodings.c, src/filetypes.c,
3251 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3252 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3253 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3254 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3255 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3256 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3257 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3259 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3260 sense to keep the code more readable.
3263 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3266 When updating global type definitions for opened documents, take
3267 also C++ namespace symbols into account and don't ignore symbols
3268 which are defined inside a scope.
3271 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3274 Don't show 'plugin is not binary compatible' messages on the status
3275 bar, only the status window.
3278 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3281 When opening files from a remote instance on X11, set the window
3282 server time to encourage window managers to pop up the main window
3283 (related to #2735467 and #2276179).
3285 When finished sending filenames to a remote instance, notify the
3286 environment that we finished starting up.
3289 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3291 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3292 Sort Configuration Files menu.
3293 Add ui_menu_sort_by_label().
3294 Add foreach_list() macro.
3299 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3302 Fix setting a wrong default window size when starting without an
3303 existing configuration.
3304 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3305 Make editor_highlight_braces() static.
3306 Remove unused wrapper functions.
3307 * src/editor.c, src/symbols.c, src/symbols.h:
3308 Prevent showing an empty macro list.
3309 Show only macros of the same filetype instead of all macros of all
3312 Don't add opened project files to the GtkRecentManager.
3315 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3318 Add Configuration Files item for snippets.conf.
3319 * src/highlighting.c, src/symbols.c:
3320 Fix 2 old uses of filetype IDs.
3323 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3325 * src/interface.c, src/printing.c, geany.glade:
3326 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3329 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3332 Add sanity checks in ui_lookup_widget() just to be safe.
3333 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3334 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3335 src/project.h, src/ui_utils.c, src/ui_utils.h:
3336 Add "Recent Projects" menu to the Project menu
3337 (#2728630, patch by Elias Pschernig, thanks).
3338 * doc/geany.txt, doc/geany.html:
3339 Describe how to build Geany using the Waf build system.
3340 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3341 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3342 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3343 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3344 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3345 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3346 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3347 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3348 src/utils.c, src/utils.h, src/vte.c:
3349 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3350 performance when building the code with gcc.
3351 * src/highlighting.c:
3352 Fix typo in the G_LIKELY checks, introduced in last commit.
3353 Fix the size of the styles array.
3355 Show a message dialog when renaming a file fails.
3358 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3361 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3362 (as we did for all other files in SVN r3382).
3365 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3367 * src/filetypes.c, doc/geany.txt:
3368 Move ActionScript to the Script group.
3370 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3371 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3372 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3373 plugins/htmlchars.c:
3374 Merge reorder-filetypes branch:
3375 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3376 append randomly without breaking the ABI).
3377 Make None filetype name = title = _("None").
3378 Add foreach_slist() macro.
3379 Add filetypes_by_title list to GeanyData for plugin API access
3380 - a list of filetype pointers, which includes the None filetype
3381 first. This list stays constant by the time plugins are initialized,
3382 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3383 index the sorted list.
3386 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3388 * doc/geany.txt, doc/geany.html, src/main.c:
3389 Add widget names for the menubar and toolbar.
3391 When hiding the messages window, set the input focus back to the
3392 editor widget (part of #1910393).
3395 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3397 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3398 Backport recent changes from Scintilla CVS to add partial support
3399 for RFC2822 styled text using the Properties lexer.
3400 Ignore leading whitespace for config files and RFC2822 text.
3401 * data/filetypes.actionscript:
3402 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3403 * THANKS, src/treeviews.c:
3404 Display file/directory icons in the Documents sidebar
3405 (patch by Simon Treny, thanks).
3408 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3410 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3411 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3412 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3413 Add an option to allow appending the toolbar to the main menu bar
3414 to save some vertical space.
3415 Allow setting toolbar icon size to very small (menu icon size).
3418 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3420 * src/keyfile.c, src/utils.c, src/utils.h:
3421 Add utils_path_skip_root(), a relative path safe variant of
3422 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3423 * src/keyfile.c, src/main.c:
3424 Allow negative window coordinates when saving and restoring the
3425 position of the main window.
3426 Restore the main window position and size *after* the window has
3427 been realised to get it positioned accordingly
3428 (this affects at least Windows).
3431 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3433 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3434 Use g_win32_get_package_installation_directory_of_module() on Windows
3435 with newer GLib versions instead of deprecated API.
3436 * src/keybindings.c:
3437 Don't manage the last used documents list when quitting to prevent
3438 errors by accessing invalid memory (may close #2533990).
3441 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3444 Delete the geany_run_script.sh immediately after execution
3445 to prevent leaking old copies when the script was quit unexpectedly
3446 (closes #2710482, patch by Martin Olsson, thanks).
3448 Check whether skipping the root element of a document's filename
3449 succeeded and use the filename itself if not (e.g. on relative
3450 filenames, #2702844).
3451 Use the locale encoded filename when saving session files.
3453 Re-set the quitting status after all documents have been closed on
3457 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3459 * plugins/htmlchars.c:
3460 Remove usage of deprecated sci_get_selected_text() from plugin.
3463 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3466 Delay disk file checks when switching between documents a little
3467 bit to avoid fast, unintentional page switching in some cases.
3468 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3469 src/sciwrappers.c, src/sciwrappers.h:
3470 Deprecate sci_get_text(), sci_get_selected_text() and
3471 sci_get_text_range().
3472 Add sci_get_contents(), sci_get_contents_range() and
3473 sci_get_selection_contents() as replacement functions to provide
3474 an easier and cleaner API (initial patch by Frank).
3477 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3480 Fix wrong parsing of CSS tags when the definition block starts on
3481 a new line (reported by Dominic Hopf, thanks).
3484 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3486 * plugins/htmlchars.c:
3487 Extend plugin by feature to bulk replace and replace on input for
3488 special characters to their HTML entities.
3491 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3494 Update build menu items after changing anything in the
3495 'Set Includes and Arguments' dialog.
3496 Disable Compile/Run buttons/menu items when Compile/Run commands are
3498 Reset current build directory to the base directory after reading a
3499 "Leaving directory" message when parsing Make output
3500 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3502 Fix wrong display of the filename in the tab bar menu for new files.
3504 Set the initial directory for the Save As dialog only once on
3506 Add a shortcut of the project's base directory to the
3507 File Open/Save As dialogs when a project is open for faster access.
3508 * src/splitwindow.c:
3509 Add keybindings for the split actions.
3512 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3515 When using Find All in the Find dialog (in Session and Document),
3516 display the right amount of matches.
3517 Fix the display of the matches once per line (I broke the original
3520 Fix wrong directory selection behaviour in all Open Folder dialogs
3521 (closes #2688020, patch by Marcel Stimberg, thanks).
3523 Don't present the main window of a running instance when starting
3524 a second instance separately.
3527 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3530 Reduce default file permissions on the Unix Domain socket file
3531 (reported by Jörg Sommer, thanks).
3534 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3536 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3537 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3539 Add an option to set an additional plugin lookup path.
3541 When using Find All in the Find dialog, display matches only once
3542 per line in the messages window (patch by Bert Vermeulen, thanks).
3545 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3547 * data/filetype_extensions.conf, data/filetypes.actionscript,
3548 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3549 src/highlighting.c, src/plugindata.h, src/symbols.c,
3550 tagmanager/Makefile.am, tagmanager/actionscript.c,
3551 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3552 Add filetype ActionScript (patch by Chris Macksey, thanks).
3553 Update type keywords only for real C-like languages.
3554 Fix wrong sorting of Assembler and Ada filetypes.
3555 * plugins/classbuilder.c:
3556 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3557 Other minor cleanups.
3560 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3563 Don't use menu item images for the tab bar menu to save some
3565 * data/filetypes.fortran, tagmanager/fortran.c:
3566 Add keyword 'extends' and fix Fortran parser to support the
3567 'extends' keyword (closes #2654492).
3568 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3569 src/search.c, src/toolbar.c:
3573 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3575 * src/about.c, THANKS:
3576 Added Jari Rahkonen to list of Finnish translators.
3579 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3582 Adjust minimum required GTK version.
3583 * src/Makefile.am, wscript:
3584 Add main.h to the list of installed header files.
3585 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3586 src/notebook.c, src/ui_utils.c:
3587 Remove GeanyDocumentPrivate::tabmenu_label.
3588 Disable the default tab bar menu for the main notebook widget and
3589 use a custom menu instead which lists all open files as usual plus
3590 'Close Other Documents' and 'Close All' menu items.
3593 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3595 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3596 Move ui_set_search_entry_background() into ui_utils.c.
3597 Change the background colour of the search entries in the Find
3598 and Replace dialogs according to the search results like in the
3599 toolbar search field.
3600 Add images to the 'Replace' and 'Replace and Find' buttons in the
3602 Minor cleanups in search.c.
3603 * tagmanager/tm_source_file.c:
3604 Update source files upon creation.
3606 Update C tags for glibc 2.9.
3607 * src/callbacks.c, src/toolbar.c:
3608 Fix broken non-incremental search with the toolbar search entry when
3609 pressing Enter (closes #2638180).
3610 * plugins/splitwindow.c:
3611 Fix possible crash on non-32-bit systems (patch by
3612 Wolfgang Ocker, thanks).
3614 Update the Packager tag due to Dominic's various contributions.
3615 Update description and feature list.
3616 Change Source tag to the gzip'ed tarball to be in sync with the
3617 Makefile target (thanks to Wolfgang Ocker for reporting).
3620 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3622 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3623 Removed deprecated plugin VC Diff
3626 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3629 Fix wrong Fortran 90 comment characters when inserting templates.
3630 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3631 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3632 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3634 Add 'Send Selection to Terminal' command to the Edit->Format menu
3635 (initial patch by David Gleich, thanks).
3636 * geany.glade, src/interface.c:
3637 Fix mnemonic for the Edit->Preferences menu item.
3640 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3642 * configure.in, plugins/Makefile.am:
3643 Enable socket support when cross-compiling.
3644 Enable plugin compilation when cross-compiling.
3646 Fix missing NULL checks when reading the colour value of compiler
3648 * src/main.c, src/win32.c, src/win32.h:
3649 On Windows, change the working directory to the Geany installation
3650 path at startup to avoid unwanted directory locking(closes #2626124).
3652 Fix broken selection of "Document->Set Encoding" menu items.
3653 * src/document.c, tagmanager/include/tm_source_file.h,
3654 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3655 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3656 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3657 Don't let the tagmanager automatically reparse files if they
3658 seem to be changed on disk (affects all files in the current session,
3659 not the current one). This should speed up file saving a little bit,
3660 especially with remote files.
3661 Remove now unnecessary calls to tm_workspace_update().
3663 Allow an empty value for the date format in the print settings to
3664 omit the date/time string in the print header.
3667 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3669 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3673 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3676 Add missing header include (closes #2615808).
3679 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3682 Fix a possible crash when comparing symbol names
3683 (could be related to Ubuntu bug #147151).
3684 Fix broken symbol list tooltips when tag names contain ampersands.
3687 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3689 * plugins/makefile.win32:
3690 Don't build Split Window plugin on Windows (doesn't work).
3693 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3695 * ChangeLog, Makefile.am: Rotate ChangeLog.
3696 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3697 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3698 Post-release version bump.
3701 *** See ChangeLog.pre-0-17 for earlier changes ***