1 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * plugins/classbuilder.c:
4 Beep if the user hasn't entered a class name on pressing OK.
6 Fix replacing '^' regex.
9 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
12 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
14 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
15 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
16 plugins/geanyfunctions.h, plugins/geanyplugin.h:
17 Add Stash setting functions to API.
18 Remove unnecessary argument to stash_group_load_from_file().
19 * src/geanyobject.c, plugins/classbuilder.c:
20 Don't generate FOO_GET_PRIVATE() macro because caching the result
21 in Foo::priv can be much more efficient.
24 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
27 Fix cursor positioning when toggling comments
28 (patch by Thomas Martitz, thanks).
31 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
33 * src/keybindings.[hc]:
34 Added Control+0 for zoom reset, see suggestion from #2969886.
37 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
39 * src/search.c, src/document.c:
40 Fix wrong selection range after Replace in Selection.
43 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
46 Make CreateChildProcess() working with Unicode strings, e.g.
47 directory names (closes #2972606).
49 Remove reference to already removed latex.tags file.
50 Future releases probably still depend on GTK 2.16.
51 * scintilla/ScintillaGTK.cxx:
52 Backport fix from Scintilla CVS to not paste text beyond the end
53 of lines (closes #2969096).
54 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
56 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
57 to not set Geany's minimum window size anymore (closes #2972992).
58 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
61 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
64 Make adding string and string vector settings initialise the setting
66 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
67 Add stash_group_load_from_file() and stash_group_save_to_file().
70 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
72 * data/filetypes.common:
73 Set default for wrapped lines to show marker at end of line only
74 (more expected and doesn't change line alignment - closes #2972386).
75 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
76 src/pluginutils.c, doc/plugins.dox:
77 Improve API docs contents page by listing all commonly-used files.
78 Fix 'Date' appearing twice on the date line.
79 Don't generate API docs for prefs.h, toolbar.h (unused).
80 Move some '@file' doc-comments to the .c file.
81 * src/interface.c, geany.glade:
82 Add frame for 'Printing' prefs dialog page.
83 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
84 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
86 Rename Stash data types to be independently named from Geany (so
87 Stash can be reused for other projects).
88 Rename GeanyPrefGroup to StashGroup.
91 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
93 * tagmanager/python.c:
94 Apply patch from Colomban Wendling to parse Python lambda functions
95 (thanks) - modified to only parse toplevel or class member lambdas.
96 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
98 Add doc-comments for Stash setting functions.
99 Add an example file showing usage of Stash.
100 (Not enabled yet until added to the plugin API).
103 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
106 Fix using return value without checking return status, caused
107 incorrect sensitivity settings on build dialog.
110 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
113 Add tip about gcc optimization & warnings/debugging.
115 Update Libraries section about synchronizing with other projects.
118 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
121 For now revert the recent patch which set real_path of newly
122 open non-existent configuration files as this seems hackish and
123 causes 'file not found' warnings.
125 Fix/Improve GIT repository detection
126 (patch by Thomas Martitz, thanks).
127 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
129 Add utils_copy_environment() to the plugin API.
132 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
134 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
135 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
137 Use 3rd person for more API dox.
138 Change 'This is a wrapper function for...' to 'Wraps...' in brief
140 Change 'After all...' to 'Afterwards...'.
141 * src/interface.c, geany.glade:
142 Apply patch from Eugene Arshinov to make frame packing/alignment
143 more consistent (thanks).
146 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
149 Fix ui_button_new_with_image() to call gtk_button_set_image() so
150 that gtk_button_[sg]et_label() work as expected.
151 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
152 Make Build Commands dialog show menu item labels as a button (to
153 help show that menu labels don't normally need to be edited &
154 display the mnemonic correctly). Clicking shows an input dialog to
155 set a new menu item label.
156 Split dialogs_show_input() into 2 functions: one simple, one for
158 Fix possible double-destroy of input dialog when closed by user.
160 Fix not destroying 'Make Custom Target' input dialog after first
163 Make Long Line Marker settings for existing projects default to
164 general settings instead of 0 (thanks to Eugene Arshinov).
165 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
166 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
167 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
168 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
169 Use 3rd person (gets not get) for API function brief descriptions.
170 Avoid using 'convenience function' in API brief descriptions.
173 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
175 * doc/geany.txt, doc/geany.html:
176 Warn about some GNU extensions for regular expressions & clarify
178 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
179 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
180 src/editor.h, geany.glade:
181 Apply patch from Eugene Arshinov to add project long line marker
182 customisation (thanks).
183 * src/interface.c, geany.glade:
184 Edit/tidy 'Long line marker' labels.
187 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
189 * src/build.c, src/project.c:
190 Fix crash due to NULL in project build preferences (thanks to
194 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
196 * src/utils.c, src/utils.h, src/search.c, src/search.h,
197 src/document.c, doc/geany.txt, doc/geany.html:
198 Merge gnu-regex branch:
199 Use POSIX system/GNU regex engine for find & replace 'Use regular
200 expressions' option. This alters regex syntax a bit - see the docs
201 for details; we now support '?' operator and replacement backslash
202 escaping is more standard.
203 Make regex search imply replacing escaped chars.
204 Allow \0 backreference replacement for the whole match.
205 Note: Replace All may be slower; if this is a problem please let me
208 Add argument to utils_str_replace_escape() for keeping
209 uninterpreted backslash escapes e.g. '\\', '\e'.
210 * scintilla/LexMarkdown.cxx:
211 Backport minor formatting/style changes from Scintilla project.
212 * doc/geany.txt, doc/geany.html:
213 Remove warning about no visual indication for zero-column-mode
217 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
220 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
223 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
225 * wscript, scintilla/*, scintilla/include/*:
226 Update Scintilla to version 2.03.
227 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
228 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
229 Add preference for virtual spaces.
231 Fix wrong default response for the Debug Messages dialog.
233 Fix crashes when using Save As with no open files (closes #2964406).
235 Fix duplicate mnemonics on 'Resave missing file' dialog, also
236 move the question from the secondary to the main text to be
237 more compatible with the Gnome HIG.
238 Fix broken 'Save' action in 'Resave missing file' dialog.
240 Improve PHP parser to parse also the argument lists of PHP functions.
242 Correctly set the parent widget for the keybinding overwrite
245 Fix setting the icon for some dialogs if the parent itself is also
248 When editing non-existent config files using the Tools->Configuration
249 Files menu, explicitly set the real_path to avoid presenting the Save
250 As dialog when saving the file (patch by Tony Rick, thanks).
252 Focus the editor widget after hiding the sidebar when it had the
253 input focus (patch by Can Koy, thanks).
254 Properly show/hide the mesages window when using the View menu item
256 * plugins/filebrowser.c:
257 After opening files, focus the editor widget
258 (based on a patch by Can Koy, thanks).
259 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
260 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
261 src/ui_utils.h, src/vte.c:
262 Add and use convenience function ui_is_keyval_enter_or_return() and
263 add it to the plugin API.
266 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
268 * src/about.c, THANKS, po/ast.po:
269 Added Asturian translation. Thanks to Marcos Costales for providing.
272 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
275 Fix keyboard accelerators in debug messages window
279 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
281 * scintilla/LexR.cxx:
282 Backport R lexer from Scintilla CVS to fix case sensitive keywords
283 (Scintilla bug #2956543).
284 * src/sidebar.c, src/about.c, THANKS:
285 Make Space on the symbol and document list not focus the editor
286 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
287 * src/document.c, src/document.h:
288 Fix document_try_focus() to make it work with the sidebar document
290 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
291 Make Space on the compiler and messages widgets not focus the editor
292 widget while Enter does (patch by Can Koy, thanks).
294 Fix wrongly auto-detected multiline comments
295 (patch by Eugene Arshinov, thanks).
298 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
301 Show number of lines of current document inside statusbar. Thanks to
302 Can Koy for providing the patch.
305 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
307 * src/keybindings.c, doc/geany.txt, doc/geany.html:
308 Make Switch to Editor keybinding reshow the document statistics
309 line, so user doesn't have to move the cursor.
312 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
315 Update keywords for the R language (patch by Jon Senior, thanks).
318 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
321 Fix the instruction how to insert unicode characters
325 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
327 * scripts/create_py_tags.py:
329 Replace tabs by spaces.
332 Replace tabs by spaces.
333 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
334 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
335 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
336 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
337 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
338 src/plugindata.h, src/sidebar.c, src/sidebar.h:
339 Add keybindings to switch to the sidebar's Document and Symbol list
340 as well as to the Message Window's current tab
341 (patch by Eugene Arshinov, thanks).
343 Update primary keywords for the R language
344 (patch by Jon Senior, thanks).
347 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
350 Add more detailed hints about reloading configuration
351 (thanks to Tony Rick).
352 * data/filetypes.javascript:
353 Correct the keyword list for JavaScript (thanks to Jonas).
356 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
358 * New release: Geany 0.18.1 "Balfour".
361 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
364 Add special cases for handling the Select All keybinding (Ctrl-A) in
365 the toolbar search and goto line text entries (closes #2948040).
366 Strip trailing spaces after reflowing a paragraph, patch by
367 Dominik Wagenfuehr, thanks (closes #2945497).
370 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
372 * src/geanymenubuttonaction.c, src/templates.c:
373 Partly revert last commit:
374 Unref the new files toolbar menu when freeing templates as it
375 was done before but unref it *after* the menu has been removed
376 from the GeanyMenuButtonAction.
378 Fix possible endless loop when trying to detect the encoding of
379 non-text files (patch by Alexey Antipov, thanks).
382 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
385 Allow saving remote files using g_file_set_contents() as well
386 (patch by Алексей Антипов, thanks).
387 * data/filetypes.python:
388 Adjust style for secondary keywords to be less aggressive.
389 Add Python 2.5 builtins keywords.
390 * src/geanymenubuttonaction.c, src/templates.c:
391 Unref the new files toolbar menu when setting a new menu to fix
392 possible crashes when reloading configuration.
394 When reloading configuration, process the current document at last
395 so the symbol list will be updated correctly.
398 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
401 Explicitly read filetype configuration files before generating
402 global tags to get settings for custom filetypes.
405 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
408 Fix GLib warning when toggling 'no plugins available' item.
411 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
414 Include geany.ico in the distribution tarball.
416 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
417 * scripts/create_py_tags.py:
418 Make the script a bit more robust with newer Python versions.
420 Use utils_spawn_sync() instead of g_spawn_sync().
423 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
426 Close meta tag for export date properly.
429 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
432 Update RPM Spec file (patch by Dominic Hopf, thanks).
435 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
438 Fix renaming sci_send_message(), sci_send_command() function pointers.
441 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
443 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
444 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
445 plugins/geanyfunctions.h, plugins/Makefile.am,
446 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
447 Use full function name for GeanyFunctions function pointers. This
448 avoids naming conflicts e.g. with C++'s 'new' keyword.
449 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
452 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
454 * src/utils.c, src/utils.h, src/vte.c:
455 Add utils_copy_environment() and make use of it.
456 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
457 src/editor.c, src/templates.c, src/templates.h:
458 Add new special template wildcard "{command:...}" to use the
459 output of a command in templates.
460 Adjust template functions to mostly work with GeanyDocuments.
461 Minor cleanups in the template code.
463 Replace the old icons with smiley icons from the Rodent icon theme.
464 Fix showing the same icon for two or more slots.
466 * src/editor.c, src/editor.h, src/keybindings.c:
467 Rename fold_symbol_click() to editor_toggle_fold().
468 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
469 was used to respect the 'Fold/unfold all children' preference
473 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
476 Prevent possible segfault in get_build_group().
478 Fix GLib warning & beep if trying to insert multiline comment for a
479 filetype that doesn't support it.
482 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
485 Add gcc commands to build a plugin to the HowTo.
486 * src/search.c, src/document.c, src/document.h:
487 Show 'Replaced X matches in Y documents' message when using Replace in
491 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
493 * scripts/plugin_test.c:
494 Add a little test program which can load and test Geany plugins to
495 verify it is loadable at runtime and all necessary symbols are
497 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
499 Add new signal: "geany-startup-complete" which is sent once all
500 initialization and startup tasks has been done.
501 * README.I18N, configure.ac, wscript, po/LINGUAS:
502 Remove po/LINGUAS from the repository.
503 Generate it automatically if needed by reading available
504 message catalogs from the po directory.
505 Also respect the LINGUAS environment variable properly.
508 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
511 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
515 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
517 * src/editor.c, src/templates.c, src/templates.h:
518 Refactor templates_replace_all() into templates_replace_valist()
519 to save some code duplication.
522 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
524 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
525 src/plugindata.h, src/plugins.c:
526 Add editor_insert_text_block() to plugin API.
529 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
532 Update copyright information.
533 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
534 doc/geany.txt, doc/geany.html:
535 Add keybinding to open the last closed tab (closes #2912692).
538 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
540 * autogen.sh, configure.in, configure.ac:
541 Rename configure.in to configure.ac.
542 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
544 Add sci_find_text() to the plugin API.
545 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
546 src/interface.c, src/prefs.c:
547 Add a checkbox in the preferences dialog to explicitly toggle
548 the visibility of the sidebar (closes #2923340).
551 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
553 * src/editor.c, src/plugins.c, src/plugindata.h,
554 plugins/geanyfunctions.h:
555 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
556 editor_get_eol_char() to the plugin API.
557 * src/callbacks.c, src/plugins.c, src/plugins.h:
558 Fix sensitivity of the Edit->Plugin Preferences menu item
559 if plugins are loaded which do not provide a configuration dialog.
560 * scripts/create_py_tags.py:
561 Rewrite and extend the Python tags parsing script to use
562 Python's inspect module to read symbols from Python modules
563 including scope information.
564 * data/filetypes.restructuredtext:
565 Add the default comment character sequence for reStructuredText.
567 Show the Find/Goto dialogs if the corresponding toolbar buttons are
568 clicked but their text fields are not part of the toolbar (#2920807).
569 * data/filetypes.common, doc/geany.html, doc/geany.txt,
571 Add new style to change foreground and background colours for
572 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
574 Remember the window position of the Find, Replace and Find in Files
575 dialogs (closes #2877988).
578 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
581 Fix a minor typo inside plugin API reference.
584 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
586 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
587 Make dialogs_show_prompt() more flexible to take up to three
588 button/response code pairs to be shown.
589 Add a close button to the dialog when asking to Re-Save a
591 (closes #2916954, based on a patch by Dominik Stadler, thanks).
593 Fix LaTeX environment auto completion with CR/LF line endings.
594 Add some sanity checks.
596 When closing a document after it was deleted from the filesystem,
597 don't ask whether it should be saved first.
598 Mark the document only as changed if it is not closed afterwards.
599 Prevent possible segfaults if the document was closed when it is
600 missing from the filesystem.
601 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
602 src/msgwindow.h, src/prefs.c:
603 Add MessageWindow::scribble and use it instead of searching the
604 widget pointer everytime.
605 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
606 Add preferences for hiding single tabs from the messages window
607 (no GUI preferences yet, still to be implemented).
608 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
609 Set the correct parent window for the toolbar editor
610 dialog (closes #2913334).
611 * src/win32.c, src/win32.h, src/ui_utils.c:
612 Rename win32_show_project_folder_dialog() to
613 win32_show_folder_dialog() as it is not related and not used by any
614 project management related code.
615 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
616 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
617 as it is specialised for opening documents.
618 Implement win32_show_file_dialog() as a generic file open dialog and
619 use it with ui_path_box_new().
622 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
625 Extend auto_latex() function to check whether an environment has been
626 closed within the next lines to avoid auto adding double \end{}.
628 Remove LaTeX tags from SVN. Can be found at
629 http://download.geany.org/contrib/tags/ if needed.
632 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
634 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
635 Add document_need_save_as().
636 Show the Save As also for documents created from filetype templates
637 instead of saving them directly with the untitled filename.
640 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
642 * geany.glade, src/interface.c:
643 Move 'Send Selection to Terminal' menu item from Format to Commands
646 When going to a build error, try the current document's path if
647 the parsed filename doesn't exist. (This can happen when we receive
648 build messages in the wrong order - after the 'Leaving directory'
651 Refactor msgwin_goto_compiler_file_line().
652 * src/interface.c, src/keybindings.c, geany.glade:
653 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
656 Refactor/reformat on_replace_dialog_response().
659 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
662 Improve geany.spec (split the package into a binary and devel
663 package, update BuildRequires and other minor improvements).
664 Patch by Dominic Hopf, thanks.
667 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
669 * src/filetypes.c, src/filetypes.h:
670 Make group for custom filetypes.
671 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
672 Add custom filetype Genie.
675 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
677 * src/highlighting.c:
678 Highlight D & Java types from a global tags file.
679 * src/highlighting.c, doc/geany.txt, doc/geany.html:
680 Add debug message warning if recursive lexer_filetype is set.
681 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
682 Remove duplicate sci_set_keywords(), make argument const.
683 * src/highlighting.c:
684 Only show debug message once if recursive lexer_filetype is set.
685 Tidy highlighting_init_styles code for filetype None handling.
686 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
687 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
688 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
689 tagmanager/parsers.h, tagmanager/makefile.win32,
690 tagmanager/verilog.c, tagmanager/Makefile.am,
691 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
692 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
693 * src/highlighting.c:
694 Fix segfault on startup (oops).
695 * data/filetypes.verilog:
696 Fix using common style colours for Verilog.
699 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
701 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
702 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
703 Move C-like filetype properties into configuration files.
704 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
706 Remove now unnecessary "styling_within_preprocessor" C style key.
707 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
708 data/filetypes.glsl, data/filetypes.cs:
709 Use lexer_filetype=C configuration file key instead of duplicate
710 styleset functions for C++, C#, GLSL, Vala.
713 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
715 * doc/geany.txt, doc/geany.html:
716 Warn about not using BOM for configuration files (confuses GKeyFile
717 parser, at least on my system).
719 Add/improve debug messages for custom filetypes.
722 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
725 Add a couple of further latex-beamer commands to list of LaTeX tags.
728 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
730 * plugins/filebrowser.c:
731 Add an in-entry clear icon to the filebrowser plugin's filter
732 entry (patch by Dominic Hopf, thanks).
733 * src/prefs.c, src/ui_utils.c:
734 Fix two compiler warnings about possibly uninitialised variables.
737 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
739 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
740 plugins/geanyfunctions.h:
741 Add main_is_realized() to the plugin API.
742 * tagmanager/include/tm_tagmanager.h:
743 Update partly outdated and wrong doc comment.
744 * src/main.c, src/main.h, src/socket.c:
745 Allow opening Geany projects remotely.
746 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
747 Add a hidden pref to allow executing text which was sent to the
748 terminal directly, i.e. do not strip trailing newline characters.
749 Also fix the stripping of trailing newline characters if there was
753 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
755 * src/about.c, THANKS:
756 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
757 Kurt de Bree into section of previous translators.
760 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
762 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
763 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
767 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
769 * src/highlighting.c:
770 Make stylesets take a ft_id argument so they can be reused fully with
771 custom filetypes, so custom styles and keywords can be set.
772 * src/highlighting.c:
773 Fix setting filetype properties when both the system and the user file
775 * src/symbols.c, tagmanager/vhdl.c:
777 * src/highlighting.c:
778 Fix lexer settings for custom filetypes.
781 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
784 Remove duplicate regular expression for parsing classes.
785 Fix and improve parsing of constants (patch by Harold Aling, thanks).
786 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
787 src/main.h, THANKS, src/about.c:
788 Add new command line option "--socket-file" to be able to specify
789 separate socket filenames for instances
790 (closes #2896027, patch by Jörn Reder, thanks).
791 * src/keybindings.c, src/keybindings.h:
792 Add keybindings_check_event() to manually check GdkKeyEvents against
794 * src/callbacks.c, src/utils.c, src/utils.h:
795 Add and use utils_get_help_url().
796 * geany.glade, src/interface.c, src/prefs.c:
797 Add a Help button to the preferences dialog.
798 Handle Help keybinding events for the preferences dialog especially
799 and open the manual with the corresponding anchor link to the current
800 preferences page (same goes for the new Help button).
803 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
805 * src/toolbar.c, src/geanymenubuttonaction.c,
806 src/geanymenubuttonaction.h:
807 Use separate tooltips for toolbar menu buttons and their attached
809 * tagmanager/latex.c:
810 Improve parsing of sections and chapters by ignoring shortnames
811 like \section[shortname]{label} (closes #2890477).
814 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
816 * src/geanymenubuttonaction.c:
817 Try to fix Gtk warning when using Tools->Reload Configuration.
820 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
822 * src/highlighting.c, doc/geany.txt, doc/geany.html,
823 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
824 data/filetypes.pascal, data/filetypes.docbook,
825 data/filetypes.python, data/filetypes.conf:
826 Use filetypes.foo [lexer_properties] group instead of hardcoding
827 lexer properties (more flexible e.g. for custom filetypes).
828 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
829 Replace filetypes.xml html_asp_default_language key with
830 filetypes.html asp.default.language property in [lexer_properties]
834 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
836 * doc/geany.txt, doc/geany.html:
837 Fix slightly wrong description of how to insert Unicode characters.
839 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
840 ui_setup_open_button_callback().
841 * src/prefs.c, src/prefs.c, src/vte.c:
842 Refactor color and font button callback functions in the
843 preferences dialog. Move the VTE related callback functions
845 Make use of ui_setup_open_button_callback().
847 Improve printing status texts (patch by Dominic Hopf, thanks).
848 * src/prefs.c, src/vte.c:
849 Use the default dialog title set by ui_setup_open_button_callback()
850 to be more consistent and to save one string.
853 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
856 Separate DKinds from CKinds.
857 Don't generate macro tags for D, Java.
860 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
862 * tagmanager/ctags.c, tagmanager/general.h:
863 Make TagManager Assert statements cause g_warning on failure.
865 Fix reflow paragraph command when cursor < anchor using
869 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
872 Fix Geany segfault with constant tags (#2895168).
874 Fix invalid tree iter access when using tv_iters.tag_other but not
875 using tv_iters.tag_variable.
876 * HACKING, tagmanager/perl.c:
877 Fix parsing Perl format statements ("other" type doesn't seem to work).
878 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
879 Fix using "other" tag type.
882 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
885 Remove useless comment about applying settings only when libvte.so
886 could be loaded which is only displayed *if* libvte.so is loaded.
888 Allow autocompletion for HTML entities even within a word.
889 * src/geanymenubuttonaction.c:
890 Only set the menu of the button if a non-empty GtkMenu is passed to
891 geany_menu_button_action_set_menu() so the menu arrow keeps
895 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
898 Fix parsing some Java code (e.g. filetypes.java) after r4407.
901 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
904 Parse D functions with contracts (fixes #1885480).
905 Parse D alias statement like typedef.
906 (Ignore some more D keywords).
908 Fix creating D interface tags properly.
910 Parse contents of D extern{} and version{} blocks.
913 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
919 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
921 * src/plugindata.h, HACKING:
922 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
925 Show number of files saved on status bar when using Save All.
926 * src/highlighting.c:
927 Use default color scheme if pref color scheme file doesn't exist.
929 Fix moving correct lines after selecting whole line(s).
932 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
934 * tagmanager/makefile.win32:
935 Fix broken build on Windows because of a typo
936 (patch by Timothy Boronczyk, thanks).
939 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
941 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
943 Add 'View->Editor->Color Schemes' menu, for now only shown if color
944 scheme files exist in a colorschemes config directory. Color scheme
945 files must end in ".conf" and currently only the [named_styles]
947 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
948 Add utils_get_config_files().
949 * src/highlighting.c:
950 Fix issue with default color not being reset if overridden with a
951 system default color.
952 * src/highlighting.c:
953 Only reload filetype files when changing color scheme, not all
955 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
956 Deprecate documents_foreach() as it looks more like a function; use
957 foreach_document() instead.
958 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
961 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
963 * src/stash.c, src/stash.h:
964 Use typedef instead of pointer for widget_id function arguments.
967 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
970 Don't expand Plugin Preferences page spacing vertically to fill the
971 height of the dialog.
972 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
973 geany.glade, plugins/splitwindow.c:
974 Allow GeanyKeyBinding label field to contain underscores, which won't
975 be displayed by Geany. This saves adding near-duplicate translation
977 Add mnemonics for 3 Edit->Format menu items.
978 Add keybindings_get_label().
979 * src/interface.c, geany.glade:
980 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
984 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
987 Desensitize Edit->Commands menu item when no docs are open.
988 * src/interface.c, src/keybindings.c, src/callbacks.c,
989 src/callbacks.h, geany.glade:
990 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
991 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
992 Add general function sci_get_string() that works with any string
993 buffer messages that follow the Windows message convention.
994 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
995 src/keybindings.h, src/callbacks.c, src/callbacks.h,
996 src/pluginutils.c, src/pluginutils.h, geany.glade:
997 Add 'Edit->Plugin Preferences' menu item and keybinding.
998 Don't include plugindata.h in pluginutils.h because it redefines the
999 GEANY() macro for plugin use.
1000 * doc/geany.txt, doc/geany.html:
1001 Update for Plugin Preferences keybinding.
1004 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1007 Sort document word completion list.
1008 * src/interface.c, src/keybindings.c, src/callbacks.c,
1009 src/callbacks.h, geany.glade:
1010 Add some useful commands to editor popup menu under "Commands"
1011 submenu (thanks to Lex).
1012 Move 'Duplicate line or selection' from Format -> Commands submenu.
1013 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1014 Enable switching the sidebar to the right on Windows again, as it
1015 apparently works after all.
1017 Fix using tab to autocomplete in some other situations that word part
1018 completion doesn't apply in.
1019 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1020 Add Edit->Commands submenu which is shared with the editor popup menu.
1021 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1022 Change editor popup Commands submenu to start as child of menubar Edit
1023 menu, as this is more usual e.g. for keybindings initialization.
1024 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1026 Share a single Format submenu for menubar Edit and popup menu.
1029 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1032 Fix a compiler warning about an uninitialised variable.
1034 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1035 sciwrappers.h, build.h (for the Waf build system,
1036 accordingly to r4366).
1039 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1041 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1042 src/toolbar.c, src/toolbar.h:
1043 Add missing dox for types/files in the API.
1044 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1045 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1046 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1047 of functions not in the API).
1048 Warning: any plugins that include these headers should remove them.
1049 * src/build.c, src/build.h:
1050 Move function doc-comments to build.c so they stay in sync. Note:
1051 these functions are still not in the API.
1053 Add 'Doc-comments' plugin API subsection.
1054 * plugins/filebrowser.c:
1055 Fix packing configure widgets equally.
1056 Use spacing multiples of 6 as recommended by Gnome HIG.
1057 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1058 Disable switching the sidebar to the right on Windows as it will
1059 probably fail like the Split Window plugin.
1061 Improve 'Detect from file' indentation pref by ignoring lines with
1062 indentation wider than 24 characters as this is more likely to be
1063 alignment than indentation.
1066 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1068 * plugins/saveactions.c:
1069 Fix adding the filetype's default extension when using the
1070 Instant Save plugin (closes #2885142).
1072 Before looking for line and column numbers specified as part
1073 of a filename, ensure the file doesn't exist on disk. This allows
1074 opening of files like "test:0".
1076 Rename "select" variables into "selection" to avoid shadowed names.
1077 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1078 Add ui_widget_modify_font_from_string() and sci_goto_line()
1080 * plugins/filebrowser.c:
1081 Rename "select" variables into "selection" to avoid shadowed names.
1082 Make use of ui_widget_modify_font_from_string().
1085 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1087 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1088 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1090 Add sidebar position interface pref.
1093 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1095 * doc/geany.txt, doc/geany.html:
1096 Add missing underscores to links.
1099 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1101 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1102 Add 'Move line(s) up/down' keybindings.
1105 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1107 * src/build.c, src/build.h, src/filetypes.h:
1108 Include code for project filetype execute commands and fix bug in
1109 saving project filetypes list.
1110 * src/project.c, src/build.c, doc/geany.txt:
1111 Make non-project execute configuration save to filetypes not geany.conf.
1112 Fix closing of project failing to remove build commands dialog entry.
1115 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1117 * src/project.c, src/ui_utils.c:
1118 Set border width for project properties build table.
1119 * geany.glade, src/interface.c:
1120 Don't expand hard tab width alignment.
1123 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1125 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1126 doc/geany.txt, doc/geany.html:
1127 Support loading global tags files for custom filetypes.
1128 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1129 doc/geany.txt, doc/geany.html:
1130 Add 'Word part completion' keybinding so keys other than Tab can be
1131 used, or to clear/change the combination so Tab does full completion
1133 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1134 Add 'Select to previous/next word part' keybindings.
1135 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1136 Add 'Switch to Messages' focus keybinding.
1139 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1141 * doc/geany.txt, doc/geany.html:
1142 Add 'Custom filetypes' section.
1143 * src/filetypes.c, src/filetypes.h, src/document.c,
1144 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1145 tagmanager/include/tm_source_file.h:
1146 Add filetype "tag_parser" key so custom filetypes can use an existing
1148 Add tm_source_file_get_named_lang().
1149 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1151 Add filetype "lexer_filetype" key so custom filetypes can use an
1155 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1157 * THANKS, src/about.c:
1158 Add Xhacker Liu for his work at zh_CN translation to long list of
1162 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1164 * src/sciwrappers.c:
1165 Remove unnecessary line number margin padding.
1166 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1167 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1169 Improve word part autocompletion so AC list is not cancelled and
1170 reshown (this also stops the selection changing).
1171 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1173 Improve CamelCase word part autocompletion for runs of capital letters.
1175 Don't complete snippets if there's a selection.
1178 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1181 Fix crash opening project when Geany started with no geany.conf.
1184 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1186 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1187 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1189 Add word part autocompletion for the current selected item when
1190 pressing Tab - Enter still completes normally.
1191 Add foreach_str() API macro.
1192 Temporarily modify scintilla to say if tab was used for
1194 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1195 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1196 plugins/classbuilder.c:
1197 Revert r4301 - utils_free_pointers() taking 4 arguments.
1198 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1199 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1200 plugins/splitwindow.c:
1201 Add highlighting_set_styles() to API, use for Split Window plugin so
1202 filetypes.common settings get set too.
1203 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1205 * src/document.c, src/editor.c, plugins/splitwindow.c:
1206 Call editor_apply_update_prefs() from editor_create_widget() so
1207 correct tab width and other settings are applied for Split Window
1211 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1213 * src/keybindings.c:
1214 Don't include trailing newlines when using reflow command.
1216 Add stock close buttons to notebook tab popup menu.
1217 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1218 plugins/geanyfunctions.h:
1219 Add document_get_notebook_page() to API.
1221 * data/templates/files/file.html, data/templates/files/file.php:
1222 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1223 * src/interface.c, src/ui_utils.c, geany.glade:
1224 Move Tools configuration items to top of menu.
1225 * src/keybindings.c, src/search.c:
1226 Fix warning when using Find in Files with no documents open; make
1227 keybinding work in this case.
1230 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1232 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1233 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1234 Make Split Window 'Show current document' button have a drop-down menu
1235 to select the other documents.
1236 Add new API function ui_menu_add_document_items().
1239 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1242 Fix sensitivity settings for compile and build toolbar items.
1245 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1248 Don't use filetype submenus for templates (slower to navigate, often
1249 only 1 per-filetype anyway).
1251 Put old filetype template menu items in 'Old' submenu as they should
1252 be removed after the 0.19 release.
1253 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1254 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1255 to be ignored if inappropriate so a later keybinding with the same
1256 key combination can intercept it. (Also group callbacks are usually
1257 tidier than separate callbacks).
1258 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1259 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1260 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1261 plugins/classbuilder.c:
1262 Make utils_free_pointers() take 4 arguments, add to API.
1263 * src/templates.c, src/tools.c, src/ui_utils.c:
1264 Fix memory leaks with gtk_container_get_children().
1267 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1270 Ensure that old style build config is not loaded if it does not exist.
1273 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1275 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1276 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1279 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1281 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1283 Apply set default encoding for existing files only if the files are
1284 non-Unicode (patch by Alexey Antipov, thanks).
1287 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1289 * src/highlighting.c:
1290 Move new_styleset() and preprocessor setup code into styleset_c_like().
1291 * src/highlighting.c:
1292 Call apply_filetype_properties() from styleset_c_like().
1295 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1297 * doc/geany.txt, doc/geany.html:
1298 Improve information about predefined keybindings which are
1299 commonly used across applications (patch by Lex Trotman, thanks).
1301 Enable embedded page setup properties in the (Unix) Print dialog
1302 on newer GTK versions (closes #2870596).
1303 * src/highlighting.c:
1304 Map global types (read from tags files) to keyword style for
1308 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1311 Fix wrong creation of filetype template menu items for custom
1313 * src/highlighting.c:
1314 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1316 Group 'New with template' items by filetype submenu (currently only for
1318 Show custom file template items before filetype template items.
1319 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1321 Only use one 'New with template' submenu - reparent as needed.
1323 Don't create templates/filetype.none either.
1325 Warn if custom template file no longer exists.
1328 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1331 Add missing icon for Java packages in the Symbol List.
1334 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1336 * src/highlighting.c, data/filetypes.vala:
1337 Add Vala keywords to conf file.
1338 * src/templates.c, doc/geany.txt, doc/geany.html:
1339 Read custom file templates from $prefix/share/geany/templates/files as
1341 * src/templates.c, data/templates, data/templates/files,
1342 data/templates/files/file.rb, data/templates/files/file.html,
1343 data/templates/files/main.java, data/templates/files/main.c,
1344 data/templates/files/main.cxx, data/templates/files/file.php,
1345 data/templates/files/main.d, data/templates/files/program.pas,
1346 data/templates/files/main.py, data/templates/files/file.tex,
1347 wscript, Makefile.am:
1348 Move filetype template defaults into custom file template files.
1351 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1353 * src/symbols.c, tagmanager/perl.c:
1354 Change Perl tag parser to ctags SVN r601. This removes support for
1355 buggy local/my/our but it parses constant/format/labels and should
1356 be less buggy overall (closes #2861232).
1357 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1358 Add utils_get_file_list_full() which can optionally sort or include
1359 a full path for each list item.
1360 * src/utils.c, src/plugindata.h, src/plugins.c:
1361 Add utils_get_file_list_full() to API.
1364 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1366 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1367 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1368 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1369 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1370 po/POTFILES.in, wscript:
1371 Rename treeviews.[hc] -> sidebar.[hc].
1372 * data/filetypes.common:
1373 Remove unused [styling] arguments.
1374 * src/highlighting.c, data/filetypes.markdown,
1375 data/filetypes.restructuredtext:
1376 Remove style defaults from the code - just read them from
1377 configuration files.
1378 * src/highlighting.c, HACKING:
1379 Add apply_style_entries() to simplify implementing styleset_foo().
1380 * src/highlighting.c:
1381 Remove filetype keyword defaults from the code - just read them from
1382 configuration files.
1383 * src/highlighting.c:
1384 Add sci_set_keywords() wrapper.
1387 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1389 * scripts/create_py_tags.py:
1390 Make the code a bit more pythonic.
1391 * doc/images/build_menu_commands_dialog.png,
1392 doc/images/main_window.png:
1393 Add new images referenced in the documentation.
1394 * doc/geany.html, doc/geany.txt:
1395 Several documentation improvements (patch by Lex Trotman, thanks).
1396 * src/pluginutils.c:
1397 Fix setting the appropriate page of the combined plugins
1401 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1403 * src/keybindings.c:
1404 Only focus toolbar goto line entry when pressing keybinding if it's
1405 visible (patch by Eugene Arshinov, thanks).
1407 Focus editor after entering a number in the goto line toolbar entry.
1409 Use AC_PATH_PROG instead of which for portability (patch by Erik
1410 Southworth, thanks).
1412 Show plugins that only implement plugin_configure_single() in the
1413 multiple-configure dialog as a page with a configure button on it.
1414 Add padding for multiple-configure dialog.
1415 Make the multiple-configure dialog notebook tabs scrollable.
1416 * src/pluginutils.c, src/pluginutils.h:
1417 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1418 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1419 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1420 plugins/geanyfunctions.h, plugins/filebrowser.c:
1421 Add plugin_show_configure() API utility function.
1422 Add File Browser popup menu 'Preferences' item.
1423 * src/highlighting.c:
1424 Add get_keyfile_ints() instead of using tmp_style hack.
1425 * src/highlighting.c, data/filetypes.xml:
1426 Change new html_asp_default_language markup pref to use integer,
1427 not hex in config file.
1428 Fix minor issue with changing pref back to 0.
1429 * src/highlighting.c:
1430 Fix possible segfault in get_keyfile_int() if key value is malformed.
1433 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1435 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1436 Add "html_asp_default_language" pseudo style to filetypes.xml
1437 to allow setting the used language in embedded ASP code
1438 (patch by Ross McKay, thanks).
1439 * src/filetypes.xml:
1440 Update VBScript keywords (patch by Ross McKay, thanks).
1443 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1445 * src/keybindings.c, THANKS:
1446 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1447 keybinding use line breaking column when enabled.
1449 Fix showing the document before reload dialog when opening an
1451 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1452 Add plugin_configure_single() plugin symbol which is easier to
1453 implement than plugin_configure() but won't support a
1454 multiple-plugin configure dialog.
1456 Show multiple plugins in the 'Configure Plugins' dialog.
1459 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1461 * doc/geany.txt, doc/geany.html:
1462 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1464 * doc/geany.txt, doc/geany.html:
1465 Add 'Toolbar entries' section.
1466 * doc/geany.txt, doc/geany.html:
1467 Update 'Go to line' keybinding description.
1468 * doc/geany.txt, doc/geany.html:
1469 Split keybinding table into group tables; update KB links.
1472 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1475 Fix compiler warnings about uninitialised variables.
1476 * src/callbacks.c, src/document.c:
1477 When reloading files, use the previously set encoding instead of
1478 detecting it again (closes #2862041).
1480 Turn on automake silent rules if supported.
1483 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1486 Speed up sorting in utils_get_file_list(). This reduces the file
1487 browser delay on displaying a big directory, e.g. /usr/bin.
1489 Expand command entry width when expanding Build Commands dialog.
1491 Split Build Commands dialog notes label and edit text.
1493 Add padding for Build Commands dialog separators.
1494 Add colons for regex field labels; fix 1 capitalisation.
1496 Fix none filetype Build Commands dialog label.
1497 Make group labels bold.
1498 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1500 Add & use ui_label_set_markup(), ui_label_new_bold().
1501 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1502 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1503 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1504 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1505 * src/keybindings.c:
1506 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1509 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1511 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1512 tagmanager/parsers.h, tagmanager/makefile.win32,
1513 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1514 data/filetype_extensions.conf, wscript:
1515 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1517 Merge recent changes from the CTags project to further improve
1521 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1524 Fix wrong alignment of printed pages when page headers are
1525 disabled (closes #2856822).
1526 Plug a small memory leak and improve function signature of
1529 Save an if expression.
1531 After clearing a text field using the embedded clear icon, put the
1532 input focus into this text field.
1535 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1537 * plugins/filebrowser.c:
1538 Free file list memory whilst iterating the list.
1539 Minor formatting fixes.
1540 * src/utils.c, src/utils.h:
1541 Add foreach_dir() API macro.
1542 Update API docs for utils_get_file_list().
1543 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1545 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1546 Beep if there are no more snippet positions.
1547 Limit length of snippet positions queue to 20.
1550 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1552 * src/keybindings.c, src/callbacks.c, src/search.c:
1553 Make Goto Tag commands use the current selection if present (useful
1554 for selecting part of a tag or for ReST section names with spaces
1557 Don't move the cursor when reloading.
1558 * src/plugindata.h, src/editor.c, src/editor.h:
1559 Make editor_prefs.snippets hash table private (not a pref).
1562 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1565 Remove deprecated --debug flag. Please use --verbose/-v instead.
1568 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1571 Show Find in Files stderr output in messages window instead of
1572 debug window so that invalid regex messages can be seen easily.
1573 Combine FIF stdout and stderr callback code.
1576 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1579 Fix opening filenames beginning with two dots (closes #2858487).
1580 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1581 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1582 data/filetypes.common, geany.glade:
1583 Update syntax highlighting after changing the 'Invert syntax
1584 highlighting colors' pref, instead of requiring a restart.
1585 Remove filetypes.common invert_all option - use 'Invert syntax
1586 highlighting colors' pref instead (closes #2854525).
1587 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1588 Add 'Allow' button when showing the conflicting keybinding dialog.
1589 Make dialogs_show_question_full() use GTK dialog on Windows if
1590 button text is not the stock yes/no items.
1591 Add dialogs_show_prompt() which also has an 'Apply' button.
1592 * src/queue.c, src/queue.h:
1593 Add warning that GeanyQueue may be removed.
1594 * src/keybindings.c, src/editor.c, src/editor.h:
1595 Change snippet_goto_next_cursor() to
1596 editor_goto_next_snippet_cursor() as it's in editor.h.
1597 Avoid using GPOINTER_TO_INT macro.
1600 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1602 * src/keybindings.c:
1603 Fix 'Reflow block' command when at the last paragraph and there's
1604 no last newline (patch by Eugene Arshinov, thanks).
1606 Add 'Compiler options & warnings' section.
1607 Update Style section to be clearer about code alignment and show
1612 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1614 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1615 src/plugindata.h, src/plugins.c, src/editor.c,
1616 plugins/geanyfunctions.h:
1617 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1618 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1620 Add sci_toggle_marker_at_line().
1621 Fix SciFuncs alignment.
1624 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1627 Fix erroneous free of returned string in prepare_run_script.
1630 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1632 * data/filetypes.latex:
1633 Changing default value for showing pdf and dvi to ensure to take
1634 *.pdf and *.dvi file.
1637 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1639 * src/about.c, THANKS:
1640 Change language string for Slovenian translation.
1643 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1645 * tagmanager/txt2tags.c:
1646 Fix multi-byte character constant comparison.
1648 Fix Gtk warning when trying to update documents popup menu item
1649 sensitivity before they exist.
1652 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1655 Improve the opening string in the plugin manager dialog.
1657 Use "max-width" to set the document width of the generated
1658 HTML documentation to let the text be auto-wrapped.
1659 * src/prefs.c, src/tagmanager/include/guregex.h,
1660 src/tagmanager/include/tm_tagmanager.h:
1661 Remove trailing spaces (patch by André Hentschel, thanks).
1663 Fix a compiler warning.
1665 Fix crash when opening documents.
1666 * src/build.c, src/build.h, src/project.c:
1667 Adjust coding style (no code changes).
1668 * src/build.c, src/project.c:
1669 Use NZV() macro instead of strlen() to check for empty strings.
1670 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1671 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1672 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1673 src/plugins.c, THANKS:
1674 Add new plugin signal: "document-before-save".
1675 Add get_line_end_position(), set_target_start(), set_target_end(),
1676 replace_target() to the plugin API
1677 (patch by Eugene Arshinov, thanks).
1678 Add new plugin signal: "document-filetype-set" (closes #2852286).
1679 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1680 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1681 tagmanager/Makefile.am, tagmanager/makefile.win32,
1682 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1684 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1687 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1689 * src/treeviews.c, src/document.c:
1690 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1691 Use gtk_notebook_set_current_page() instead of
1692 document_open_file_full() when choosing an item from the documents
1694 Avoid using goto in document_open_file_full().
1697 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1699 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1700 Enable type-ahead find for sidebar symbols and documents tabs
1701 (patch by Thomas Martitz, thanks).
1703 Fix 2 free's of possibly uninitialized pointers.
1706 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1708 * src/build.c, src/filetypes.h, src/filetypes.c
1709 Only write filetype config files when build command or regex is
1710 actually changed. Removed commented code in src/filetypes.c.
1712 Ensure uses of filename are protected against nulls when running
1713 a build command and give status message if not.
1716 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1719 Remove plugin from plugin manager dialog on unloading if it no
1720 longer exists or is incompatible.
1723 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1726 Add warning if only one of the plugin_key_group[_info] symbols is
1727 defined for a plugin.
1728 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1729 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1731 Merge custom-filetypes branch:
1732 Support adding custom filetype files e.g. filetypes.Foo.conf.
1734 Allow GeanyFiletype::extension to be NULL.
1735 Add note about using GeanyFiletype pointer instead of filetype_id
1736 for filetypes.c function arguments.
1737 Replace styleset_none() with styleset_default().
1740 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1743 Show the sidebar if either the documents or the symbols list are
1744 enabled (related to #1876107).
1747 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1749 * src/build.c, src/filetypes.c:
1750 Fix compiler warnings.
1752 Fix removing leading double slashes in filenames which are used for
1753 network resources on Windows (closes #2844085).
1756 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1758 * src/keybindings.c:
1759 Fix Make keybindings (patch by Lex Trotman, thanks).
1761 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1763 Mention Files link at top for header files; demoplugin.c.
1764 Minor edits; remove 'far from being complete'.
1765 * src/keyfile.c, src/keyfile.h, src/main.c,
1766 data/filetype_extensions.conf, HACKING:
1767 Remove --generate-data-files argument & code - just edit
1768 filetype_extensions.conf by hand (filetype order was broken
1770 Add *.H extension for C++ (useful for non-Windows systems).
1773 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1776 Fix implementation of loading old project files with base
1777 directories. Use project_make_base_path instead of re-
1778 implementing. Now depends on project.c reading base dir
1779 prior to calling load_build_menu.
1781 Change usage of project base directory to conform with
1782 previous documented behavior when loading old project files.
1784 Change make custom and make object to ignore make in base path
1785 when reading old project file settings. Changed some indent
1786 spaces to tabs. Fix missing compile menu accelerator.
1789 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1792 Add warning about not using undocumented features.
1793 Add reference to HACKING for plugin API development.
1795 Add section 'Plugin API/ABI design'.
1796 * src/keybindings.h, src/makefile.win32, src/project.h,
1797 src/filetypes.h, src/Makefile.am, wscript:
1798 Use GEANY_PRIVATE to hide some fields from plugins.
1800 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1801 * src/build.c, src/build.h, src/project.c:
1802 Use build_ prefix for 3 functions in build.h; add a static modifier.
1805 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1808 Improve parsing of PHP functions by requiring a valid modifier or
1809 whitespace before the 'function' keyword to ignore some false
1810 positives like function tags inside comments
1811 (patch by Harold Aling, thanks).
1812 * tagmanager/python.c:
1813 Don't parse comments after import statements and other tags
1814 (closes #2838938, patch by Huandari Lopez, thanks).
1817 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1819 * data/filetypes.markdown:
1820 Add filetypes.markdown for configuration (thanks to Jon Strait).
1821 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1822 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1823 plugins/geanyfunctions.h:
1824 Remove GeanyKeyGroup struct from the API - plugins should not set
1826 Make keybindings_set_item() duplicate the name and label fields
1827 (needed by GeanyLua) and return a keybinding pointer.
1828 Add keybindings_get_item() to the API (in case it's useful).
1829 Move some keybinding code out of plugin source files.
1832 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1834 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1835 Don't generate build.h API docs until everything is approved and
1836 functions are actually in geany_functions.
1837 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1838 as they may be changed or made private later.
1839 Break ABI for fields removed.
1842 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1844 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1845 src/keyfile.c, src/project.c
1846 Changed names of symbols visible in build API to GEANY_xxx.
1849 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1851 * src/project.h, src/project.c, src/build.c
1852 Remove make_in_base_dir and run_cmd fields from project structure.
1853 Replaced by build functionality. Remove incorrect use in src/build.c
1854 build_run_cmd function.
1857 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1859 * src/project.h, src/project.c
1860 Removed unused project_get_make_dir function, this is now per
1864 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1866 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1867 Fix some more warnings.
1868 Fix commented out execute/stop toolbar code in build.c.
1869 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1870 Changed build.h api so all functions prefixed with build_.
1873 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1875 * src/build.c, src/build.h, src/project.c:
1876 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1879 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1882 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1883 when reading old format configuration & project files.
1884 * src/build.c, src/project.c
1885 Fixed GLib array assertion warnings when no project filetypes are
1886 available to be saved.
1888 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1894 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1896 * src/build.h, src/build.c, src/project.c
1897 Created and documented plugins interface to build menu.
1898 Factored out new get_cmd_group function.
1899 Changed name of remove_command function to be consistent with the rest
1900 of the interface & changed calls in project.c.
1901 * src/Makefile.am, wscript
1902 Added build.h to installed files lists.
1904 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1907 Updated manual to match build-menu capability.
1910 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1912 * src/build.c, src/build.h
1913 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1914 Improved interpretation of run_in_base_dir from old [build-settings]
1915 Added spacing to build commands dialog
1917 Removed run in base path option from project dialog and added button to
1918 set working directories to d the same.
1921 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1924 Re-incorporated toolbar changes in trunk accidently excluded in merge
1926 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1929 Fixed substitute %f etc in commands
1930 Fixed potential leak in build_replace_placeholder
1931 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1932 Fixed build_replace_placeholder to not require document.
1934 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1936 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1937 Fixed crash and lots of warnings, deleted some commented out code.
1938 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1939 Removed make command from preferences and associated code
1941 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1943 * src/build.c, src/build.h
1944 Incorporated patch for working directory field (thanks Thomas)
1945 Removed run_in_base_dir option and associated code that it replaces
1946 Improved handling of old config files and mapping to new ones.
1948 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1950 * src/build.h, src/build.c
1951 Changed to itterate over entries in build commands dialog to allow
1952 additional fields to be added
1953 Implement support for multiple run commands
1954 * data/filetypes.latex
1955 Implement configured commands and labels for latex.
1958 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
1960 * src/build.h, src/build.c
1961 added dialog support for error regular expressions from multiple sources
1962 and storing and loading them
1963 fixed some typos and memory leaks
1964 * src/filetypes.c, src/filetypes.h, project.c
1965 added support for using error regexes from multiple sources
1968 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1970 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
1972 Removal of build menu item source made redundant by the following fix
1974 Corrected priority oreder and loading of filetype dependent build
1975 menu items saved in the project file. Added print routine for
1976 debugging command sources and priorities set compile symbol
1977 PRINTBUILDCMDS true to enable
1979 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
1982 fixed problem loading old format filetype files, some formatting fixes
1983 fixed saving new format files
1984 added operation for clear button on build commands dialog
1986 fixed loading and saving filetype files
1989 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
1991 Configurable Build Menu Changes
1993 * doc/geany.html, doc/geany.txt:
1994 Updated build menu section to new functionality
1995 * src/build.h, src/build.c:
1996 Largly re-written, configurability added, Latex code removed
1997 * src/filetypes.h, src/filetypes.c:
1998 Filetype structure updated to add new command pointers, configuration
1999 load and store changed
2000 * src/keybindings.h, src/keybindings.c:
2001 Changed to address new command storage structure.
2003 Changed to load/store new configuration.
2005 Minor change to initialisation order.
2007 Changed to address new menu item storage structure.
2008 * src/project.h, src/project.c:
2009 Changed to load/store the new configuration info.
2011 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2013 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2014 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2015 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2016 plugins/splitwindow.c:
2017 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2018 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2019 the ABI when adding fields to them.
2020 Add plugin_set_key_group() for plugins to dynamically set a
2021 keybinding group (e.g. for the Lua script plugin). Used in Split
2022 Window plugin as an example.
2023 Improve keybinding docs a little.
2026 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2028 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2029 Add geanyfunctions.h to API docs.
2030 * plugins/splitwindow.c:
2031 Set the cursor color for the split window.
2034 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2037 Fix 'Open Selected File' for unsaved new documents.
2038 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2039 Fix updating main menu accelerators after changing keybindings
2040 (thanks to Lex Trotman).
2042 Fix using 'Insert date' keybinding when a custom date string has
2044 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2045 Merge Plugin and GeanyPluginPrivate structs.
2048 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2050 * src/keybindings.c:
2051 Fix non-working Home and End keys on numpads.
2054 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2056 * doc/geany.txt, doc/geany.html, NEWS:
2057 Add 'Scope autocompletion' section.
2058 Add 'Tools menu items' section to explain configuration files
2059 submenu, reload configuration item.
2060 Minor updates/fixes.
2063 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2066 Add a translation hint to an ambiguous format string.
2068 Add missing include path to fix 'make distcheck'.
2070 Fix opening of local files in the browser on Windows.
2071 * New release: Geany 0.18 "Kaine".
2072 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2073 src/geany.h, doc/geany.html, doc/geany.txt:
2074 Post-release version bump.
2077 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2080 Temporarily disable reshowing calltips when the autocompletion
2081 list was closed implicitly by not choosing an item to fix
2082 problems with wrongly displayed calltips.
2084 Add missing 'coding' cookie to the Python filetype template.
2085 * doc/images/pref_dialog_edit_completions.png,
2086 doc/images/pref_dialog_toolbar.png:
2087 Update images for Geany 0.18.
2090 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2093 Add command '--hackingdoc' to create the HTML form of the
2097 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2099 * po/pt_PT.po, po/LINGUAS:
2100 Added a first Portugese (Portugal) translation based on work done at
2101 launchpad by e.g. André Glória and Alexandre Jesus.
2102 * src/main.c: Fix a minor typo on --help call.
2105 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2107 * src/highlighting.c:
2108 Call get_keyfile_wordchars() in highlighting_init_styles().
2111 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2113 * data/filetypes.ada:
2115 * src/keybindings.c:
2116 Switching notebook tabs now works for the currently used notebook
2117 widget instead of always using the documents notebook.
2118 * src/document.c, src/document.h, src/documentprivate.h,
2120 Small corrections to some API docs.
2123 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2125 * src/build.c, src/win32.h, src/win32.c:
2126 Expand system environment variables (%variableName%) on Windows when
2127 running Build commands.
2130 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2132 * src/keybindings.c:
2133 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2134 future using an indent block is more useful e.g. for ChangeLog
2136 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2137 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2138 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2139 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2140 tagmanager/parsers.h, tagmanager/makefile.win32,
2141 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2142 Add Markdown filetype (patch by Jon Strait, thanks).
2143 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2144 Fix disconnecting plugin signal id when not using geany_object.
2146 Add filetype_make_title() instead of using:
2147 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2148 It also supports "%s file" strings.
2151 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2153 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2154 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2155 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2156 plugins/filebrowser.c:
2157 Add plugin_signal_connect() for connecting plugin signals at
2158 runtime and also for connecting to any GObject signal.
2159 Add 'Plugin Utility Functions' on main page.
2160 Add foreach_array() macro.
2161 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2162 src/document.c, src/editor.c:
2163 Rename 3 sci functions to sci_set_target_start(),
2164 sci_set_target_end(), sci_replace_target() to match the SCI_
2168 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2170 * wscript: Fix compiling error with waf.
2173 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2175 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2176 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2177 src/Makefile.am, wscript:
2178 Move plugin_* utility functions to pluginutils.c.
2179 Add pluginprivate.h.
2181 Fix reshowing calltip in the wrong document.
2184 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2186 * doc/geany.txt, doc/geany.html:
2187 Add some general information about auto-completion capabilities
2188 (patch by Lex Trotman, thanks).
2191 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2193 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2194 Added a first Slovenian translation. Thanks to Joze Klepec.
2197 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2199 * src/highlighting.c:
2200 Use full styleset_foo[_init] function name as argument to
2201 init_styleset_case() and styleset_case() macros so it's easier to
2202 understand the code.
2203 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2204 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2205 doc/geany.txt, doc/geany.html:
2206 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2207 Heavily based on a patch by Eugene Arshinov (thanks).
2208 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2209 editor_strip_line_trailing_spaces().
2212 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2215 Attempt to fix reshowing calltips after the autocompletion list
2217 Reshow calltips also when the autocompletion list was closed
2218 implicitly by not choosing an item.
2220 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2222 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2223 plugins/splitwindow.c:
2224 Change utils_str_remove_chars() to work in place; fix allocating on
2225 the stack (the string length could exhaust the stack size).
2226 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2227 src/printing.c, src/callbacks.c:
2228 Rename utils_str_replace() utils_str_replace_all(), setting a
2229 'gchar **haystack' argument instead of returning a new string.
2231 For the Tabs indent type, remove spaces when unindenting (only) if
2232 there are no tabs on the line.
2233 Group undo actions for (un)indenting of multiple lines.
2234 * src/document.c, src/editor.c:
2235 Fix scrolling horizontally after finding a search match with the
2236 search bar or Find Next/Previous which is off-screen.
2237 * src/keybindings.c:
2238 Fix GLib warning when pressing a key with no documents open.
2241 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2244 Start unifying usage of @a and @c markup elements in API docs,
2246 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2247 Show/hide the toolbar without a restart when the setting in the
2248 preferences dialog is changed (closes #2824785).
2249 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2250 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2251 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2253 Continue unifying usage of @a and @c markup elements in API docs.
2256 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2259 Remove relative/untidy path elements when creating new documents
2260 with a filename (e.g. from the command-line) (#2823998).
2263 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2266 Disable 'Recent Projects' menu item if the list of recent projects
2269 Fix some harmless compiler warnings.
2270 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2271 src/plugins.c, src/utils.c, src/utils.h:
2272 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2273 src/utils.c and add it to the plugin API.
2274 Make utils_str_remove_chars() work on a new copy of the input string
2275 instead of modifying it in place.
2277 Remove underscores from the toolbar items labels.
2280 * plugins/splitwindow.c:
2281 Fix broken 'Show the current document' tool button icon.
2284 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2286 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2288 Add stash_group_add_widget_property() so we can save any widget's
2289 read/write properties.
2290 Use Stash for ui_prefs.sidebar_page setting.
2291 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2292 Make foreach_ptr_array() use an integer argument for its
2293 implementation, as this is more useful potentially than a gpointer*
2294 argument, and more straightforward.
2295 Add foreach_c_array(), foreach_ptr_array() to API.
2296 * src/utils.c, src/utils.h, src/document.c:
2297 Remove relative/untidy path elements when opening documents (closes
2300 Fix showing project name for documents list files with no
2301 subdirectory (oops).
2303 Fix checking whether to overwrite when using the Rename button in
2304 the 'Save As' dialog.
2307 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2310 Don't use the main window as parent for dialog boxes if it is not
2312 Set titles for message dialogs.
2315 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2318 Display item labels instead of raw names in the toolbar editor.
2319 Apply changes in the toolbar editor instantly.
2320 Show icons in the toolbar editor.
2321 Speed up toolbar editor dialog creation.
2323 Improve inserting of comment templates like File header or licence
2324 notices. The comment information are now read from the filetype
2325 configuration files.
2327 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2330 Enable file monitoring for files which are written to disk by Geany
2333 Fix broken special case handling when detecting filetypes from a
2334 shebang or other special file headers.
2337 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2340 Make Mark All keybinding clear search highlighting when there's no
2343 Fix wrong match length when using Mark with regex.
2344 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2345 src/keyfile.c, src/main.c:
2346 Add 'Show Paths' documents list popup item.
2347 Add "load_settings" core-only signal emitted just after loading
2348 main keyfile settings; useful to delay building UI elements until
2349 settings have been read.
2351 Fix GTK warning when right-clicking on default tag tree.
2352 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2353 Add treeviews_finalize().
2354 Remove tv.popup_openfiles field.
2357 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2359 * src/highlighting.c:
2360 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2363 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2366 Quote the uri before passing it to the browser when opening a
2367 website (closes #2818635).
2369 Fix broken 'builtin' Run command for HTML files on Windows.
2372 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2375 Properly fix wrong brace highlighting of non-brace character.
2377 Allow autocompletion in Perl double-quoted strings.
2378 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2379 Don't autocomplete in Perl q() strings.
2380 * data/filetypes.common:
2381 Make Mark highlighting brighter.
2382 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2383 Use hyphen for auto-feature terms.
2384 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2385 src/document.h, src/main.c:
2386 Add documents_foreach() API macro that skips invalid docs.
2387 Make filetypes[], documents[] part of the API again.
2388 Add GEANY() macro for sharing geany symbols between API and core.
2389 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2390 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2391 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2392 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2393 plugins/classbuilder.c, wscript:
2394 Add geanyplugin.h single include for plugin API; update all core
2396 Add sci_set_font() to API.
2397 Update plugin howto.
2398 * src/filetypes.c, src/filetypes.h:
2399 Remove filetypes_foreach_named().
2402 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2404 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2405 src/document.h, src/main.c, THANKS:
2406 Apply patch from Eugene Arshinov to reload color schemes via menu
2409 Reload filetypes.common after saving it.
2411 Improve wrong brace highlighting of non-brace character.
2414 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2417 Delay highlighting matching braces by 100ms, which speeds up
2418 scrolling with the arrow keys.
2419 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2420 Add 'Mark All' keybinding.
2421 * tagmanager/diff.c:
2422 Show relative paths in diff filename tags.
2425 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2427 * src/highlighting.c:
2428 Fix setting keyword list 'classes' for Haxe
2429 (pointed out by Andreas Mokros, thanks).
2432 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2434 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2435 doc/geany.txt, doc/geany.html, geany.glade:
2436 Add 'Drop rest of word on completion' pref.
2437 * src/editor.c, doc/geany.txt, doc/geany.html:
2438 If autocompletion is already visible when forcing completion, show
2439 document word completion instead of tag completion.
2440 Docs: Minor edits of related prefs items.
2441 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2442 Add warning when printing and editor font is not monospaced.
2443 Fix using GtkMessageType instead of gint param for
2444 dialogs_show_msgbox*().
2445 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2447 Support 'tab indents, space aligns' style for auto-indentation
2451 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2453 * src/document.c, src/documentprivate.h:
2454 Rework the GIO based file monitoring code. Now it is used only
2455 to indicate a possible change of the file, the real check if the
2456 file has been changed is performed by stat().
2457 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2458 Add style 'line_height' to increase the line height.
2459 Add style 'marker_mark' and change style 'marker_search' to
2460 define the style used for marked search results.
2461 * doc/geany.txt, doc/geany.html:
2462 Add the new 'Autocomplete all words in document' pref to the docs.
2465 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2467 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2468 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2469 Add 'Autocomplete all words in document' pref.
2470 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2472 Fix limiting number of word completion entries too much.
2473 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2474 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2475 Show autocompletion icons for tag symbols - for now only tags with
2476 an arglist have the 'function/method' icon, all others have the
2478 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2480 * src/highlighting.c:
2481 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2485 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2487 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2488 Fix removing underscores in translated string using no_underscore()
2490 Set a tooltip for the Split Window plugin's Show Current tool button.
2491 Add utils_strdupa() macro.
2492 * src/interface.c, geany.glade:
2493 Use stock Select All icon now we have >= GTK 2.8.
2495 Fix using project name for document items that start with the
2496 project base path but don't match it e.g. ".../geany-plugins"
2497 instead of ".../geany" when project name is 'geany'.
2500 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2503 Fix warnings when the toolbar does not contain the Run button.
2505 Fix wrong parsing of complex expressions in the Lua parser.
2506 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2508 Remove unnecessary enums.
2509 * scintilla/*, scintilla/include/*, src/plugindata.h:
2510 Update Scintilla to version 1.79.
2511 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2513 Use the new Scintilla struct names prefixed with 'Sci_'.
2514 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2516 Add second argument to the 'line_wrap_indent' styling setting to
2517 control the new Scintilla indentation mode for wrapped lines.
2519 Properly close the toolbar editor on delete-events.
2520 Fix warnings and possible crashes in the toolbar editor when the list
2521 of displayed toolbar items is empty.
2522 * data/filetypes.tcl:
2523 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2525 Make the plugin manager dialog a bit bigger.
2528 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2530 * doc/geany.html, doc/geany.txt:
2531 Fix wrong default values for the 'Show Calltip' keybinding.
2534 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2536 * data/filetypes.tcl, src/symbols.c:
2537 Fix duplicate "context_action_cmd" key.
2538 Use different icons for "Methods" and "Procedures" in the symbol
2541 Fix a small memory leak.
2542 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2543 src/keybindings.h, src/plugindata.h:
2544 Make the Scintilla keybindings 'Delete to end of line' and
2545 'Go to end of display line' configurable.
2547 Fix a typo (closes #2813624).
2550 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2552 * tagmanager/tcl.c, src/symbol.c:
2553 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2554 methods and namespaces).
2555 Patch by Witek Mozga, thanks.
2558 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2560 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2561 src/toolbar.c, src/toolbar.h:
2562 Remove ui_toolbar.xml Configuration Files menu item.
2563 Add a real toolbar editor dialog.
2564 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2566 Add a button in the preferences dialog and an item for the toolbar
2567 popup menu to run the toolbar editor dialog.
2570 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2573 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2574 Fix using locale encoding for default Save As dialog path.
2576 Beep when trying to activate the '...' autocompletion item.
2577 Limit (forced) document word completion to
2578 autocompletion_max_entries.
2579 Beep if no completions are shown when forcing autocompletion.
2582 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2584 * data/ui_toolbar.xml, src/toolbar.c:
2585 Add 'Build' toolbar button to the default layout.
2588 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2591 If forcing autocompletion and there's nothing else to show, complete
2592 from words in the current document (using code from Enrico's
2593 'AutoComplete Test' plugin).
2596 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2599 Add debug message if plugin has not set a name for its keybinding
2601 * data/filetype_extensions.conf:
2602 Add *.m4 for shell scripts.
2605 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2607 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2608 data/filetypes.common, TODO:
2609 Make filetypes.common named styles use the "default" named style for
2610 all missing style fields.
2611 Set named styles to usually leave the background style empty. This
2612 currently allows C-like filetypes to have a common default
2614 Allow hard-coded colors to use -1 for the default color.
2615 Add some highlighting style examples to the manual.
2618 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2621 Create initial template files with proper platform-specific line
2625 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2627 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2628 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2629 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2630 src/ui_utils.c, src/ui_utils.h:
2631 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2633 Refactor some related code.
2634 * tagmanager/conf.c:
2635 Strip trailing spaces from "Key" tags.
2637 Quote the full filename to the Geany executable when creating the
2638 "Open with Geany" context menu item.
2639 * plugins/splitwindow.c:
2640 Avoid using deprecated GTK API.
2641 * src/log.c, src/main.c:
2642 Properly clean up the logging mechanism.
2644 Fix LaTeX view commands on Windows (part of #2807688).
2646 Add a popup menu for the keybinding list in the preferences dialog
2647 to easily expand and collapse all groups.
2648 Refactor the keybindings code for the preferences dialog, prefix all
2650 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2651 Init stock items before creating the toolbar (closes #2809324).
2653 Generate the geany.pc file also on Windows.
2655 Invert the logic to determine which Save All we want to use:
2656 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2657 like icon for any other themes.
2660 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2662 * src/highlighting.c, README.Packagers, HACKING:
2663 Remove gsd_* default styles, use named styles instead.
2664 Note: this relies on filetypes.common being installed.
2665 Add load_style_entries(), which makes style initialization
2666 simpler, used in styleset_c_like_init().
2669 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2672 Prevent possible crash on Windows when not setting an initial
2673 directory for native File Open/Save dialogs.
2674 * data/filetypes.xml, src/highlighting.c:
2675 Add style 'jscript_regex' for filetype HTML
2676 (patch by Chris Macksey, thanks).
2679 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2681 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2682 Make GeanyDocument::file_type always be non-NULL, even for a new
2683 document with no filetype set.
2685 Only autocomplete scope for scopes matching the current filetype's
2687 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2688 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2689 data/filetypes.actionscript, data/filetypes.cs,
2690 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2691 data/filetypes.javascript, HACKING:
2692 Make C++, D lexer filetypes use named styles (apart from uuid,
2693 verbatim, regex styles).
2696 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2699 Don't explicitly change the current directory of the Save As dialog
2700 so that it uses the last used directory.
2703 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2705 * src/encodings.c, src/encodings.h, src/plugindata.h:
2706 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2709 When completing from the macro list, put the cursor after
2713 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2715 * tagmanager/pascal.c:
2716 Fix type definitions being parsed as functions.
2718 Don't autocomplete in unterminated strings as well.
2719 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2720 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2721 Remove data_ptr argument to foreach_[s]list() macros, as using
2722 node->data is enough sometimes; this makes the macro a bit more
2724 Add foreach_[s]list() macros to the plugin API docs.
2727 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2729 * scintilla/LexPascal.cxx:
2730 Backport fix from Scintilla CVS:
2731 Pascal lexer hanging on file that starts with 'interface' after
2735 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2738 Update Waf to 1.5.7.
2740 Overwrite installation prefix on Windows only if it wasn't
2741 specified explicitly.
2744 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2747 Display calltips for Pascal symbols in the Pascal way (#2803945).
2748 * tagmanager/pascal.c:
2749 Fix wrongly set return values for procedures (closes #2803945).
2750 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2751 tagmanager/include/tm_source_file.h,
2752 tagmanager/include/tm_workspace.h:
2753 Fix doxygen warnings.
2756 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2758 * src/editor.c, tagmanager/include/tm_workspace.h,
2759 tagmanager/tm_workspace.c, TODO:
2760 Autocomplete scoped fields like struct members when typing '.' (and
2761 also '->' or '::' in C/C++).
2762 Save all tag types for C/C++ when generating a global tags file, so
2763 we can use autocompletion for structs also.
2764 Merge tm_workspace_find_scope_members(),
2765 tm_workspace_find_namespace_members() (currently not built) from
2766 Anjuta 2.24.1 tagmanager.
2769 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2771 * tagmanager/pascal.c:
2772 Parse Pascal calltips (closes #2802640).
2775 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2777 * src/filetypes.c, src/ui_utils.c:
2778 Add filetypes.common Configuration Files menu item.
2781 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2784 Add backslash to the wordchars on Windows when using
2785 'Open Selected File'.
2787 Add support (configure, build and install) for building on Windows
2788 and cross-compiling for Windows using the Waf build system.
2791 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2794 Set status bar text instead of showing a dialog when saving
2795 ui_toolbar.xml because the user might save several times.
2797 Fix redrawing due to colourising just after the document is first
2798 drawn. Now colourising should happen before the first draw.
2799 * src/utils.c, src/highlighting.c, data/filetypes.common:
2800 Fix segfault on parsing a filetypes.* style definition that has < 4
2802 Allow style definitions to have missing fields to use the default
2806 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2808 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2809 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2810 * plugins/classbuilder.c:
2811 Fix wrongly created header guards when the class filenames contains
2812 dashes (patch by PCMan, thanks).
2813 * data/filetypes.matlab:
2814 Add build_settings section to allow executing Matlab scripts.
2816 When closing a document, mark it as invalid before removing it from
2817 the documents notebook (this fixes wrong Save All button state when
2818 closing an unsaved document because the "switch-page" signal handler
2819 was using old data).
2822 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2824 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2825 Support toggling bold/italic when using a named style, e.g.:
2826 commentdockeyword=commentdoc,bold,italic
2827 Improve named style docs.
2830 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2832 * src/build.c, src/editor.c:
2833 Fix crashes when parsing the output of a compiler which reports
2837 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2839 * src/highlighting.c:
2840 Support named styles also for filetypes.common [styling] entries.
2841 * doc/geany.txt, doc/geany.html, HACKING:
2842 Update docs for named styles in filetypes.* files.
2844 Fix grouping symbol list children when parent name has "." character
2845 in for reStructuredText and Conf filetypes.
2846 * tagmanager/python.c:
2847 Fix grouping functions/classes under a nested function.
2850 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2853 Adjust icon paths (patch by Dominic Hopf, thanks).
2854 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2855 Add 'Replace' toolbar button (closes #2798225).
2858 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2860 * src/utils.c, src/highlighting.c, TODO:
2861 Implement named styles support for filetypes.* using a
2862 filetypes.common [named_styles] section e.g.:
2863 foo=0xc00000;0xffffff;false;true
2865 These can be used in e.g. filetypes.c as:
2869 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2872 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2875 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2877 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2878 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2881 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2884 Remove quote_executable() as it is not used anymore.
2885 When creating the geany_run_script.bat use the "%0" variable
2886 expansion and quote it for the "del" command (closes #2797172).
2888 On Windows, fallback to the literal build command line if searching
2889 for the command in the system path failed (related to #2795923).
2890 Properly terminate the resulting strings when reading the stdout
2891 and stderr of any spawned commands on Windows.
2894 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2897 Use the wide character versions of native Windows File dialogs.
2899 Fix wrong initialisation of the default project path button callback
2900 in the preferences dialog.
2901 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2902 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2903 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2904 icons/Makefile.am, icons/geany.ico, icons/scalable,
2905 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2907 Move the icons geany.png and geany.ico into the icons directory.
2908 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2909 Drop the pixmaps directory.
2912 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2914 * src/keybindings.c:
2915 Improve MRU document switching so there are no duplicates in the
2916 list and documents switched to whilst the dialog is open are
2917 ignored. Also beep when cycling through to the first document in the
2921 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2924 Fix broken 'Cancel' button in the Save As dialog.
2927 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2930 Fix multiline indent when selection covers text on the last line.
2932 Show current document in bold in tab popup menu.
2933 * src/editor.c, tagmanager/python.c, TODO:
2934 Parse Python calltips.
2937 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2939 * src/symbols.c, tagmanager/python.c:
2940 Parse Python import statements to get symbol completion for the
2941 imported module names.
2942 * src/editor.c, src/editor.h:
2943 Make some only locally used functions static.
2944 Fix wrong sanity check.
2946 Fix quoting the build command string on Windows (closes #2791769).
2947 This broke when we made build commands run synchronously on Windows,
2948 now we don't need to special quote the commands anymore.
2951 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2954 Drop rest of word to the right of cursor when autocompleting (do we
2955 need a pref for this?).
2958 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2960 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2961 Add sci_set_selection().
2962 * doc/geany.txt, doc/geany.html:
2963 Update manual for MRU switching.
2964 * src/callbacks.c, src/editor.c, src/editor.h:
2965 Make indenting with the Tabs indent type preserve spaces on the line,
2966 so it works for the 'tab indents, space aligns' formatting style.
2969 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2971 * tagmanager/python.c:
2972 Fix missing symbols for variables when an equal sign is used
2973 in a comment on the same line as the variable declaration.
2974 Backport change from CTags SVN to keep the parser more in sync:
2975 Add support for Cython constructs to the Python parser.
2977 Remember the additional Find in Files search flags at startup.
2979 Don't close the Save As dialog when saving the file didn't succeed.
2982 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2985 Remember scribble cursor position.
2986 * src/keybindings.c, TODO:
2987 Implement Most-Recently-Used document switching when pressing
2988 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
2991 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2993 * data/latex.tags: Added some more commands from unit.sty and
2997 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2999 * src/symbols.c, doc/geany.txt, doc/geany.html,
3000 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3001 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3002 tagmanager/Makefile.am, wscript:
3003 Merge unstable branch:
3004 Add reStructuredText scope information for tags (for symbol list
3006 Read custom system global tags files from $prefix/share/geany/tags;
3008 Show the number of tags in a user global tags file (instead of the
3009 running total) in the debug message.
3010 Also print debug messages when loading a tag file manually or for
3011 default global tags files e.g. python.tags.
3013 Move NestingLevel tags code into a separate file, add functions.
3015 Add 'Installation prefix' section instead of quoting '/usr/local'
3017 Update for custom system global tags files.
3020 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3022 * src/highlighting.c:
3023 Unset maybe previously keywords when setting up Scintilla for
3024 XML files. This fixed wrong highlighting after switching back to
3025 filetype XML from another one.
3027 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3028 is only used when explicitly requested.
3030 Remove unnecessary call to g_intern_string() to fix build with
3031 GLib 2.8 (closes #2790051).
3034 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3037 Make the clear icon of entry fields act on the release event, not
3038 on the press event like for other buttons.
3040 Refactor some multiple used code into get_multiline_comment_style().
3042 Create parent directories if necessary when checking for the
3043 configuration directory on startup (closes #2784577).
3046 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3048 * plugins/filebrowser.c:
3049 When a filter is set, apply it only to files, not directories and
3050 apply the filter to the UTF-8 name of the file as the filter string
3051 itself is also UTF-8.
3052 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3053 Add utils_color_invert() and use it in highlighting.c and printing.c.
3054 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3055 Backport change from Scintilla CVS:
3056 Change capitalisation of header file to suit cross-compilation on
3060 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3062 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3063 Update Scintilla to version 1.78.
3064 * src/editor.c, src/highlighting.c:
3065 Update Pascal styles as they changed in Scintilla.
3068 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3071 Ignore the invert syntax highlighting colours setting when printing
3072 to not print characters on a dark background (closes #2785244).
3073 * New release: Geany 0.17 "Wessex".
3074 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3075 src/geany.h, doc/geany.html, doc/geany.txt:
3076 Post-release version bump.
3079 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3081 * src/callbacks.c, src/callbacks.h, src/main.c:
3082 Update the View->Fullscreen menu item when fullscreen state is
3083 changed externally (e.g. by the window manager).
3085 Fix passing wrong pointer to the File Open dialog for the Run
3086 command in the Project Properties dialog.
3089 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3091 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3093 Remember the active sidebar page between sessions.
3095 Add a recent project item after creating a new project.
3096 * tagmanager/ruby.c:
3097 Fix wrong parsing of string literals (closes #2781264).
3099 Fix setting focus to the editor widget after changing the selection
3103 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3106 Prevent crashes when two or more top level items in the symbol
3107 list have the same name (closes #2778246).
3110 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3112 * src/keybindings.c:
3113 Manually show the main notebook tab bar menu when Shift-F10 is
3114 pressed. This broke when we disabled the default GTK tab bar menu.
3116 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3117 which was reloaded shortly before.
3119 When the editor menu is opened by the Menu key, use the text cursor
3120 position for retrieving the current word. This fixes disabled
3121 Go to Tag items in the menu (#2780044).
3123 Set the "ellipsize" property of GtkCellRendererText to automatically
3124 shorten the path and file names in the Documents list.
3125 * doc/geany.html, doc/geany.txt, src/build.h:
3126 Increase the amount of highlighted build error messages to 100.
3127 At least for LaTeX we need higher values as there is a lot of
3128 informative output before any errors are reported.
3129 * src/filebrowser.c:
3130 Use the startup path as the initial directory for the filebrowser
3131 plugin when no project and no files are opened
3132 (patch by Matias Gea, thanks; closes #2780521).
3135 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3137 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3138 src/utils.c, src/utils.h:
3139 Ellipsize tab labels and some status messages for very long
3140 filenames (closes #2777348).
3141 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3142 Add utils_str_middle_truncate() and
3143 document_get_basename_for_display() to the plugin API.
3144 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3145 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3146 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3148 Add a hidden preference 'use_safe_file_saving' to save files to disk
3149 by creating a temporary file first. This has serious side effects,
3150 please read the documentation before enabling this.
3152 Make build commands on Windows run synchronously to avoid problems
3153 with reading build commands' output.
3154 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3155 Limit the amount of highlighted build error messages in the
3156 Compiler window to 50 for performance reasons.
3159 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3161 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3163 Replace our own GEANY_KEYS_MODIFIER_MASK by
3164 gtk_accelerator_get_default_mod_mask() which gives the same result.
3165 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3166 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3167 Add a trivial symbol parser for NSIS files.
3170 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3173 Hide the extra file open dialog options in an expander to make the
3174 dialog more compact by default and to provide more space for the
3176 Remove the filename field as it is also provided by GTK itself with
3177 more features like auto-completion.
3178 Watch the 'show-hidden' property of the file chooser widget using
3179 GObject's "notify" signal which gives accurate results and remove
3180 the hack using the "selection-changed" signal.
3183 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3185 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3186 Prevent double execution of radio menu item "activate" or "toggled"
3188 Move 'Set Encoding' callback function into encodings.c.
3191 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3194 Add some missing 'void's in function definitions.
3195 If the project base path is './', just use the path of the project
3196 config file instead of appending './'.
3197 * src/treeviews.c, src/project.c:
3198 When a project is loaded, replace the project base path with the
3199 project name in the Documents sidebar for parent items
3203 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3205 * src/keyfile.c, src/keyfile.h, src/project.c:
3206 Fix duplicating the recent files and projects lists when closing
3208 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3209 src/editor.c, src/encodings.c, src/filetypes.c,
3210 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3211 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3212 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3213 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3214 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3215 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3216 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3218 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3219 sense to keep the code more readable.
3222 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3225 When updating global type definitions for opened documents, take
3226 also C++ namespace symbols into account and don't ignore symbols
3227 which are defined inside a scope.
3230 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3233 Don't show 'plugin is not binary compatible' messages on the status
3234 bar, only the status window.
3237 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3240 When opening files from a remote instance on X11, set the window
3241 server time to encourage window managers to pop up the main window
3242 (related to #2735467 and #2276179).
3244 When finished sending filenames to a remote instance, notify the
3245 environment that we finished starting up.
3248 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3250 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3251 Sort Configuration Files menu.
3252 Add ui_menu_sort_by_label().
3253 Add foreach_list() macro.
3258 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3261 Fix setting a wrong default window size when starting without an
3262 existing configuration.
3263 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3264 Make editor_highlight_braces() static.
3265 Remove unused wrapper functions.
3266 * src/editor.c, src/symbols.c, src/symbols.h:
3267 Prevent showing an empty macro list.
3268 Show only macros of the same filetype instead of all macros of all
3271 Don't add opened project files to the GtkRecentManager.
3274 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3277 Add Configuration Files item for snippets.conf.
3278 * src/highlighting.c, src/symbols.c:
3279 Fix 2 old uses of filetype IDs.
3282 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3284 * src/interface.c, src/printing.c, geany.glade:
3285 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3288 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3291 Add sanity checks in ui_lookup_widget() just to be safe.
3292 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3293 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3294 src/project.h, src/ui_utils.c, src/ui_utils.h:
3295 Add "Recent Projects" menu to the Project menu
3296 (#2728630, patch by Elias Pschernig, thanks).
3297 * doc/geany.txt, doc/geany.html:
3298 Describe how to build Geany using the Waf build system.
3299 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3300 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3301 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3302 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3303 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3304 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3305 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3306 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3307 src/utils.c, src/utils.h, src/vte.c:
3308 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3309 performance when building the code with gcc.
3310 * src/highlighting.c:
3311 Fix typo in the G_LIKELY checks, introduced in last commit.
3312 Fix the size of the styles array.
3314 Show a message dialog when renaming a file fails.
3317 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3320 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3321 (as we did for all other files in SVN r3382).
3324 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3326 * src/filetypes.c, doc/geany.txt:
3327 Move ActionScript to the Script group.
3329 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3330 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3331 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3332 plugins/htmlchars.c:
3333 Merge reorder-filetypes branch:
3334 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3335 append randomly without breaking the ABI).
3336 Make None filetype name = title = _("None").
3337 Add foreach_slist() macro.
3338 Add filetypes_by_title list to GeanyData for plugin API access
3339 - a list of filetype pointers, which includes the None filetype
3340 first. This list stays constant by the time plugins are initialized,
3341 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3342 index the sorted list.
3345 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3347 * doc/geany.txt, doc/geany.html, src/main.c:
3348 Add widget names for the menubar and toolbar.
3350 When hiding the messages window, set the input focus back to the
3351 editor widget (part of #1910393).
3354 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3356 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3357 Backport recent changes from Scintilla CVS to add partial support
3358 for RFC2822 styled text using the Properties lexer.
3359 Ignore leading whitespace for config files and RFC2822 text.
3360 * data/filetypes.actionscript:
3361 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3362 * THANKS, src/treeviews.c:
3363 Display file/directory icons in the Documents sidebar
3364 (patch by Simon Treny, thanks).
3367 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3369 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3370 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3371 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3372 Add an option to allow appending the toolbar to the main menu bar
3373 to save some vertical space.
3374 Allow setting toolbar icon size to very small (menu icon size).
3377 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3379 * src/keyfile.c, src/utils.c, src/utils.h:
3380 Add utils_path_skip_root(), a relative path safe variant of
3381 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3382 * src/keyfile.c, src/main.c:
3383 Allow negative window coordinates when saving and restoring the
3384 position of the main window.
3385 Restore the main window position and size *after* the window has
3386 been realised to get it positioned accordingly
3387 (this affects at least Windows).
3390 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3392 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3393 Use g_win32_get_package_installation_directory_of_module() on Windows
3394 with newer GLib versions instead of deprecated API.
3395 * src/keybindings.c:
3396 Don't manage the last used documents list when quitting to prevent
3397 errors by accessing invalid memory (may close #2533990).
3400 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3403 Delete the geany_run_script.sh immediately after execution
3404 to prevent leaking old copies when the script was quit unexpectedly
3405 (closes #2710482, patch by Martin Olsson, thanks).
3407 Check whether skipping the root element of a document's filename
3408 succeeded and use the filename itself if not (e.g. on relative
3409 filenames, #2702844).
3410 Use the locale encoded filename when saving session files.
3412 Re-set the quitting status after all documents have been closed on
3416 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3418 * plugins/htmlchars.c:
3419 Remove usage of deprecated sci_get_selected_text() from plugin.
3422 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3425 Delay disk file checks when switching between documents a little
3426 bit to avoid fast, unintentional page switching in some cases.
3427 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3428 src/sciwrappers.c, src/sciwrappers.h:
3429 Deprecate sci_get_text(), sci_get_selected_text() and
3430 sci_get_text_range().
3431 Add sci_get_contents(), sci_get_contents_range() and
3432 sci_get_selection_contents() as replacement functions to provide
3433 an easier and cleaner API (initial patch by Frank).
3436 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3439 Fix wrong parsing of CSS tags when the definition block starts on
3440 a new line (reported by Dominic Hopf, thanks).
3443 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3445 * plugins/htmlchars.c:
3446 Extend plugin by feature to bulk replace and replace on input for
3447 special characters to their HTML entities.
3450 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3453 Update build menu items after changing anything in the
3454 'Set Includes and Arguments' dialog.
3455 Disable Compile/Run buttons/menu items when Compile/Run commands are
3457 Reset current build directory to the base directory after reading a
3458 "Leaving directory" message when parsing Make output
3459 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3461 Fix wrong display of the filename in the tab bar menu for new files.
3463 Set the initial directory for the Save As dialog only once on
3465 Add a shortcut of the project's base directory to the
3466 File Open/Save As dialogs when a project is open for faster access.
3467 * src/splitwindow.c:
3468 Add keybindings for the split actions.
3471 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3474 When using Find All in the Find dialog (in Session and Document),
3475 display the right amount of matches.
3476 Fix the display of the matches once per line (I broke the original
3479 Fix wrong directory selection behaviour in all Open Folder dialogs
3480 (closes #2688020, patch by Marcel Stimberg, thanks).
3482 Don't present the main window of a running instance when starting
3483 a second instance separately.
3486 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3489 Reduce default file permissions on the Unix Domain socket file
3490 (reported by Jörg Sommer, thanks).
3493 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3495 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3496 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3498 Add an option to set an additional plugin lookup path.
3500 When using Find All in the Find dialog, display matches only once
3501 per line in the messages window (patch by Bert Vermeulen, thanks).
3504 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3506 * data/filetype_extensions.conf, data/filetypes.actionscript,
3507 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3508 src/highlighting.c, src/plugindata.h, src/symbols.c,
3509 tagmanager/Makefile.am, tagmanager/actionscript.c,
3510 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3511 Add filetype ActionScript (patch by Chris Macksey, thanks).
3512 Update type keywords only for real C-like languages.
3513 Fix wrong sorting of Assembler and Ada filetypes.
3514 * plugins/classbuilder.c:
3515 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3516 Other minor cleanups.
3519 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3522 Don't use menu item images for the tab bar menu to save some
3524 * data/filetypes.fortran, tagmanager/fortran.c:
3525 Add keyword 'extends' and fix Fortran parser to support the
3526 'extends' keyword (closes #2654492).
3527 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3528 src/search.c, src/toolbar.c:
3532 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3534 * src/about.c, THANKS:
3535 Added Jari Rahkonen to list of Finnish translators.
3538 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3541 Adjust minimum required GTK version.
3542 * src/Makefile.am, wscript:
3543 Add main.h to the list of installed header files.
3544 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3545 src/notebook.c, src/ui_utils.c:
3546 Remove GeanyDocumentPrivate::tabmenu_label.
3547 Disable the default tab bar menu for the main notebook widget and
3548 use a custom menu instead which lists all open files as usual plus
3549 'Close Other Documents' and 'Close All' menu items.
3552 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3554 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3555 Move ui_set_search_entry_background() into ui_utils.c.
3556 Change the background colour of the search entries in the Find
3557 and Replace dialogs according to the search results like in the
3558 toolbar search field.
3559 Add images to the 'Replace' and 'Replace and Find' buttons in the
3561 Minor cleanups in search.c.
3562 * tagmanager/tm_source_file.c:
3563 Update source files upon creation.
3565 Update C tags for glibc 2.9.
3566 * src/callbacks.c, src/toolbar.c:
3567 Fix broken non-incremental search with the toolbar search entry when
3568 pressing Enter (closes #2638180).
3569 * plugins/splitwindow.c:
3570 Fix possible crash on non-32-bit systems (patch by
3571 Wolfgang Ocker, thanks).
3573 Update the Packager tag due to Dominic's various contributions.
3574 Update description and feature list.
3575 Change Source tag to the gzip'ed tarball to be in sync with the
3576 Makefile target (thanks to Wolfgang Ocker for reporting).
3579 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3581 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3582 Removed deprecated plugin VC Diff
3585 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3588 Fix wrong Fortran 90 comment characters when inserting templates.
3589 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3590 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3591 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3593 Add 'Send Selection to Terminal' command to the Edit->Format menu
3594 (initial patch by David Gleich, thanks).
3595 * geany.glade, src/interface.c:
3596 Fix mnemonic for the Edit->Preferences menu item.
3599 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3601 * configure.in, plugins/Makefile.am:
3602 Enable socket support when cross-compiling.
3603 Enable plugin compilation when cross-compiling.
3605 Fix missing NULL checks when reading the colour value of compiler
3607 * src/main.c, src/win32.c, src/win32.h:
3608 On Windows, change the working directory to the Geany installation
3609 path at startup to avoid unwanted directory locking(closes #2626124).
3611 Fix broken selection of "Document->Set Encoding" menu items.
3612 * src/document.c, tagmanager/include/tm_source_file.h,
3613 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3614 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3615 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3616 Don't let the tagmanager automatically reparse files if they
3617 seem to be changed on disk (affects all files in the current session,
3618 not the current one). This should speed up file saving a little bit,
3619 especially with remote files.
3620 Remove now unnecessary calls to tm_workspace_update().
3622 Allow an empty value for the date format in the print settings to
3623 omit the date/time string in the print header.
3626 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3628 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3632 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3635 Add missing header include (closes #2615808).
3638 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3641 Fix a possible crash when comparing symbol names
3642 (could be related to Ubuntu bug #147151).
3643 Fix broken symbol list tooltips when tag names contain ampersands.
3646 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3648 * plugins/makefile.win32:
3649 Don't build Split Window plugin on Windows (doesn't work).
3652 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3654 * ChangeLog, Makefile.am: Rotate ChangeLog.
3655 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3656 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3657 Post-release version bump.
3660 *** See ChangeLog.pre-0-17 for earlier changes ***