1 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
4 Fix using return value without checking return status, caused
5 incorrect sensitivity settings on build dialog.
7 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
10 Add tip about gcc optimization & warnings/debugging.
12 Update Libraries section about synchronizing with other projects.
14 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
17 For now revert the recent patch which set real_path of newly
18 open non-existent configuration files as this seems hackish and
19 causes 'file not found' warnings.
21 Fix/Improve GIT repository detection
22 (patch by Thomas Martitz, thanks).
23 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
25 Add utils_copy_environment() to the plugin API.
28 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
30 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
31 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
33 Use 3rd person for more API dox.
34 Change 'This is a wrapper function for...' to 'Wraps...' in brief
36 Change 'After all...' to 'Afterwards...'.
37 * src/interface.c, geany.glade:
38 Apply patch from Eugene Arshinov to make frame packing/alignment
39 more consistent (thanks).
42 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
45 Fix ui_button_new_with_image() to call gtk_button_set_image() so
46 that gtk_button_[sg]et_label() work as expected.
47 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
48 Make Build Commands dialog show menu item labels as a button (to
49 help show that menu labels don't normally need to be edited &
50 display the mnemonic correctly). Clicking shows an input dialog to
51 set a new menu item label.
52 Split dialogs_show_input() into 2 functions: one simple, one for
54 Fix possible double-destroy of input dialog when closed by user.
56 Fix not destroying 'Make Custom Target' input dialog after first
59 Make Long Line Marker settings for existing projects default to
60 general settings instead of 0 (thanks to Eugene Arshinov).
61 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
62 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
63 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
64 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
65 Use 3rd person (gets not get) for API function brief descriptions.
66 Avoid using 'convenience function' in API brief descriptions.
69 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
71 * doc/geany.txt, doc/geany.html:
72 Warn about some GNU extensions for regular expressions & clarify
74 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
75 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
76 src/editor.h, geany.glade:
77 Apply patch from Eugene Arshinov to add project long line marker
78 customisation (thanks).
79 * src/interface.c, geany.glade:
80 Edit/tidy 'Long line marker' labels.
83 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
85 * src/build.c, src/project.c:
86 Fix crash due to NULL in project build preferences (thanks to
90 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
92 * src/utils.c, src/utils.h, src/search.c, src/search.h,
93 src/document.c, doc/geany.txt, doc/geany.html:
94 Merge gnu-regex branch:
95 Use POSIX system/GNU regex engine for find & replace 'Use regular
96 expressions' option. This alters regex syntax a bit - see the docs
97 for details; we now support '?' operator and replacement backslash
98 escaping is more standard.
99 Make regex search imply replacing escaped chars.
100 Allow \0 backreference replacement for the whole match.
101 Note: Replace All may be slower; if this is a problem please let me
104 Add argument to utils_str_replace_escape() for keeping
105 uninterpreted backslash escapes e.g. '\\', '\e'.
106 * scintilla/LexMarkdown.cxx:
107 Backport minor formatting/style changes from Scintilla project.
108 * doc/geany.txt, doc/geany.html:
109 Remove warning about no visual indication for zero-column-mode
113 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
116 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
119 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
121 * wscript, scintilla/*, scintilla/include/*:
122 Update Scintilla to version 2.03.
123 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
124 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
125 Add preference for virtual spaces.
127 Fix wrong default response for the Debug Messages dialog.
129 Fix crashes when using Save As with no open files (closes #2964406).
131 Fix duplicate mnemonics on 'Resave missing file' dialog, also
132 move the question from the secondary to the main text to be
133 more compatible with the Gnome HIG.
134 Fix broken 'Save' action in 'Resave missing file' dialog.
136 Improve PHP parser to parse also the argument lists of PHP functions.
138 Correctly set the parent widget for the keybinding overwrite
141 Fix setting the icon for some dialogs if the parent itself is also
144 When editing non-existent config files using the Tools->Configuration
145 Files menu, explicitly set the real_path to avoid presenting the Save
146 As dialog when saving the file (patch by Tony Rick, thanks).
148 Focus the editor widget after hiding the sidebar when it had the
149 input focus (patch by Can Koy, thanks).
150 Properly show/hide the mesages window when using the View menu item
152 * plugins/filebrowser.c:
153 After opening files, focus the editor widget
154 (based on a patch by Can Koy, thanks).
155 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
156 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
157 src/ui_utils.h, src/vte.c:
158 Add and use convenience function ui_is_keyval_enter_or_return() and
159 add it to the plugin API.
162 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
164 * src/about.c, THANKS, po/ast.po:
165 Added Asturian translation. Thanks to Marcos Costales for providing.
168 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
171 Fix keyboard accelerators in debug messages window
175 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
177 * scintilla/LexR.cxx:
178 Backport R lexer from Scintilla CVS to fix case sensitive keywords
179 (Scintilla bug #2956543).
180 * src/sidebar.c, src/about.c, THANKS:
181 Make Space on the symbol and document list not focus the editor
182 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
183 * src/document.c, src/document.h:
184 Fix document_try_focus() to make it work with the sidebar document
186 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
187 Make Space on the compiler and messages widgets not focus the editor
188 widget while Enter does (patch by Can Koy, thanks).
190 Fix wrongly auto-detected multiline comments
191 (patch by Eugene Arshinov, thanks).
194 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
197 Show number of lines of current document inside statusbar. Thanks to
198 Can Koy for providing the patch.
201 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
203 * src/keybindings.c, doc/geany.txt, doc/geany.html:
204 Make Switch to Editor keybinding reshow the document statistics
205 line, so user doesn't have to move the cursor.
208 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
211 Update keywords for the R language (patch by Jon Senior, thanks).
214 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
217 Fix the instruction how to insert unicode characters
221 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
223 * scripts/create_py_tags.py:
225 Replace tabs by spaces.
228 Replace tabs by spaces.
229 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
230 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
231 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
232 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
233 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
234 src/plugindata.h, src/sidebar.c, src/sidebar.h:
235 Add keybindings to switch to the sidebar's Document and Symbol list
236 as well as to the Message Window's current tab
237 (patch by Eugene Arshinov, thanks).
239 Update primary keywords for the R language
240 (patch by Jon Senior, thanks).
243 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
246 Add more detailed hints about reloading configuration
247 (thanks to Tony Rick).
248 * data/filetypes.javascript:
249 Correct the keyword list for JavaScript (thanks to Jonas).
252 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
254 * New release: Geany 0.18.1 "Balfour".
257 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
260 Add special cases for handling the Select All keybinding (Ctrl-A) in
261 the toolbar search and goto line text entries (closes #2948040).
262 Strip trailing spaces after reflowing a paragraph, patch by
263 Dominik Wagenfuehr, thanks (closes #2945497).
266 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
268 * src/geanymenubuttonaction.c, src/templates.c:
269 Partly revert last commit:
270 Unref the new files toolbar menu when freeing templates as it
271 was done before but unref it *after* the menu has been removed
272 from the GeanyMenuButtonAction.
274 Fix possible endless loop when trying to detect the encoding of
275 non-text files (patch by Alexey Antipov, thanks).
278 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
281 Allow saving remote files using g_file_set_contents() as well
282 (patch by Алексей Антипов, thanks).
283 * data/filetypes.python:
284 Adjust style for secondary keywords to be less aggressive.
285 Add Python 2.5 builtins keywords.
286 * src/geanymenubuttonaction.c, src/templates.c:
287 Unref the new files toolbar menu when setting a new menu to fix
288 possible crashes when reloading configuration.
290 When reloading configuration, process the current document at last
291 so the symbol list will be updated correctly.
294 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
297 Explicitly read filetype configuration files before generating
298 global tags to get settings for custom filetypes.
301 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
304 Fix GLib warning when toggling 'no plugins available' item.
307 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
310 Include geany.ico in the distribution tarball.
312 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
313 * scripts/create_py_tags.py:
314 Make the script a bit more robust with newer Python versions.
316 Use utils_spawn_sync() instead of g_spawn_sync().
319 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
322 Close meta tag for export date properly.
325 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
328 Update RPM Spec file (patch by Dominic Hopf, thanks).
331 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
334 Fix renaming sci_send_message(), sci_send_command() function pointers.
337 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
339 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
340 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
341 plugins/geanyfunctions.h, plugins/Makefile.am,
342 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
343 Use full function name for GeanyFunctions function pointers. This
344 avoids naming conflicts e.g. with C++'s 'new' keyword.
345 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
348 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
350 * src/utils.c, src/utils.h, src/vte.c:
351 Add utils_copy_environment() and make use of it.
352 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
353 src/editor.c, src/templates.c, src/templates.h:
354 Add new special template wildcard "{command:...}" to use the
355 output of a command in templates.
356 Adjust template functions to mostly work with GeanyDocuments.
357 Minor cleanups in the template code.
359 Replace the old icons with smiley icons from the Rodent icon theme.
360 Fix showing the same icon for two or more slots.
362 * src/editor.c, src/editor.h, src/keybindings.c:
363 Rename fold_symbol_click() to editor_toggle_fold().
364 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
365 was used to respect the 'Fold/unfold all children' preference
369 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
372 Prevent possible segfault in get_build_group().
374 Fix GLib warning & beep if trying to insert multiline comment for a
375 filetype that doesn't support it.
378 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
381 Add gcc commands to build a plugin to the HowTo.
382 * src/search.c, src/document.c, src/document.h:
383 Show 'Replaced X matches in Y documents' message when using Replace in
387 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
389 * scripts/plugin_test.c:
390 Add a little test program which can load and test Geany plugins to
391 verify it is loadable at runtime and all necessary symbols are
393 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
395 Add new signal: "geany-startup-complete" which is sent once all
396 initialization and startup tasks has been done.
397 * README.I18N, configure.ac, wscript, po/LINGUAS:
398 Remove po/LINGUAS from the repository.
399 Generate it automatically if needed by reading available
400 message catalogs from the po directory.
401 Also respect the LINGUAS environment variable properly.
404 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
407 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
411 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
413 * src/editor.c, src/templates.c, src/templates.h:
414 Refactor templates_replace_all() into templates_replace_valist()
415 to save some code duplication.
418 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
420 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
421 src/plugindata.h, src/plugins.c:
422 Add editor_insert_text_block() to plugin API.
425 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
428 Update copyright information.
429 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
430 doc/geany.txt, doc/geany.html:
431 Add keybinding to open the last closed tab (closes #2912692).
434 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
436 * autogen.sh, configure.in, configure.ac:
437 Rename configure.in to configure.ac.
438 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
440 Add sci_find_text() to the plugin API.
441 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
442 src/interface.c, src/prefs.c:
443 Add a checkbox in the preferences dialog to explicitly toggle
444 the visibility of the sidebar (closes #2923340).
447 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
449 * src/editor.c, src/plugins.c, src/plugindata.h,
450 plugins/geanyfunctions.h:
451 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
452 editor_get_eol_char() to the plugin API.
453 * src/callbacks.c, src/plugins.c, src/plugins.h:
454 Fix sensitivity of the Edit->Plugin Preferences menu item
455 if plugins are loaded which do not provide a configuration dialog.
456 * scripts/create_py_tags.py:
457 Rewrite and extend the Python tags parsing script to use
458 Python's inspect module to read symbols from Python modules
459 including scope information.
460 * data/filetypes.restructuredtext:
461 Add the default comment character sequence for reStructuredText.
463 Show the Find/Goto dialogs if the corresponding toolbar buttons are
464 clicked but their text fields are not part of the toolbar (#2920807).
465 * data/filetypes.common, doc/geany.html, doc/geany.txt,
467 Add new style to change foreground and background colours for
468 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
470 Remember the window position of the Find, Replace and Find in Files
471 dialogs (closes #2877988).
474 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
477 Fix a minor typo inside plugin API reference.
480 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
482 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
483 Make dialogs_show_prompt() more flexible to take up to three
484 button/response code pairs to be shown.
485 Add a close button to the dialog when asking to Re-Save a
487 (closes #2916954, based on a patch by Dominik Stadler, thanks).
489 Fix LaTeX environment auto completion with CR/LF line endings.
490 Add some sanity checks.
492 When closing a document after it was deleted from the filesystem,
493 don't ask whether it should be saved first.
494 Mark the document only as changed if it is not closed afterwards.
495 Prevent possible segfaults if the document was closed when it is
496 missing from the filesystem.
497 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
498 src/msgwindow.h, src/prefs.c:
499 Add MessageWindow::scribble and use it instead of searching the
500 widget pointer everytime.
501 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
502 Add preferences for hiding single tabs from the messages window
503 (no GUI preferences yet, still to be implemented).
504 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
505 Set the correct parent window for the toolbar editor
506 dialog (closes #2913334).
507 * src/win32.c, src/win32.h, src/ui_utils.c:
508 Rename win32_show_project_folder_dialog() to
509 win32_show_folder_dialog() as it is not related and not used by any
510 project management related code.
511 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
512 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
513 as it is specialised for opening documents.
514 Implement win32_show_file_dialog() as a generic file open dialog and
515 use it with ui_path_box_new().
518 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
521 Extend auto_latex() function to check whether an environment has been
522 closed within the next lines to avoid auto adding double \end{}.
524 Remove LaTeX tags from SVN. Can be found at
525 http://download.geany.org/contrib/tags/ if needed.
528 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
530 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
531 Add document_need_save_as().
532 Show the Save As also for documents created from filetype templates
533 instead of saving them directly with the untitled filename.
536 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
538 * geany.glade, src/interface.c:
539 Move 'Send Selection to Terminal' menu item from Format to Commands
542 When going to a build error, try the current document's path if
543 the parsed filename doesn't exist. (This can happen when we receive
544 build messages in the wrong order - after the 'Leaving directory'
547 Refactor msgwin_goto_compiler_file_line().
548 * src/interface.c, src/keybindings.c, geany.glade:
549 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
552 Refactor/reformat on_replace_dialog_response().
555 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
558 Improve geany.spec (split the package into a binary and devel
559 package, update BuildRequires and other minor improvements).
560 Patch by Dominic Hopf, thanks.
563 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
565 * src/filetypes.c, src/filetypes.h:
566 Make group for custom filetypes.
567 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
568 Add custom filetype Genie.
571 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
573 * src/highlighting.c:
574 Highlight D & Java types from a global tags file.
575 * src/highlighting.c, doc/geany.txt, doc/geany.html:
576 Add debug message warning if recursive lexer_filetype is set.
577 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
578 Remove duplicate sci_set_keywords(), make argument const.
579 * src/highlighting.c:
580 Only show debug message once if recursive lexer_filetype is set.
581 Tidy highlighting_init_styles code for filetype None handling.
582 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
583 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
584 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
585 tagmanager/parsers.h, tagmanager/makefile.win32,
586 tagmanager/verilog.c, tagmanager/Makefile.am,
587 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
588 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
589 * src/highlighting.c:
590 Fix segfault on startup (oops).
591 * data/filetypes.verilog:
592 Fix using common style colours for Verilog.
595 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
597 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
598 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
599 Move C-like filetype properties into configuration files.
600 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
602 Remove now unnecessary "styling_within_preprocessor" C style key.
603 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
604 data/filetypes.glsl, data/filetypes.cs:
605 Use lexer_filetype=C configuration file key instead of duplicate
606 styleset functions for C++, C#, GLSL, Vala.
609 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
611 * doc/geany.txt, doc/geany.html:
612 Warn about not using BOM for configuration files (confuses GKeyFile
613 parser, at least on my system).
615 Add/improve debug messages for custom filetypes.
618 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
621 Add a couple of further latex-beamer commands to list of LaTeX tags.
624 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
626 * plugins/filebrowser.c:
627 Add an in-entry clear icon to the filebrowser plugin's filter
628 entry (patch by Dominic Hopf, thanks).
629 * src/prefs.c, src/ui_utils.c:
630 Fix two compiler warnings about possibly uninitialised variables.
633 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
635 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
636 plugins/geanyfunctions.h:
637 Add main_is_realized() to the plugin API.
638 * tagmanager/include/tm_tagmanager.h:
639 Update partly outdated and wrong doc comment.
640 * src/main.c, src/main.h, src/socket.c:
641 Allow opening Geany projects remotely.
642 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
643 Add a hidden pref to allow executing text which was sent to the
644 terminal directly, i.e. do not strip trailing newline characters.
645 Also fix the stripping of trailing newline characters if there was
649 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
651 * src/about.c, THANKS:
652 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
653 Kurt de Bree into section of previous translators.
656 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
658 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
659 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
663 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
665 * src/highlighting.c:
666 Make stylesets take a ft_id argument so they can be reused fully with
667 custom filetypes, so custom styles and keywords can be set.
668 * src/highlighting.c:
669 Fix setting filetype properties when both the system and the user file
671 * src/symbols.c, tagmanager/vhdl.c:
673 * src/highlighting.c:
674 Fix lexer settings for custom filetypes.
677 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
680 Remove duplicate regular expression for parsing classes.
681 Fix and improve parsing of constants (patch by Harold Aling, thanks).
682 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
683 src/main.h, THANKS, src/about.c:
684 Add new command line option "--socket-file" to be able to specify
685 separate socket filenames for instances
686 (closes #2896027, patch by Jörn Reder, thanks).
687 * src/keybindings.c, src/keybindings.h:
688 Add keybindings_check_event() to manually check GdkKeyEvents against
690 * src/callbacks.c, src/utils.c, src/utils.h:
691 Add and use utils_get_help_url().
692 * geany.glade, src/interface.c, src/prefs.c:
693 Add a Help button to the preferences dialog.
694 Handle Help keybinding events for the preferences dialog especially
695 and open the manual with the corresponding anchor link to the current
696 preferences page (same goes for the new Help button).
699 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
701 * src/toolbar.c, src/geanymenubuttonaction.c,
702 src/geanymenubuttonaction.h:
703 Use separate tooltips for toolbar menu buttons and their attached
705 * tagmanager/latex.c:
706 Improve parsing of sections and chapters by ignoring shortnames
707 like \section[shortname]{label} (closes #2890477).
710 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
712 * src/geanymenubuttonaction.c:
713 Try to fix Gtk warning when using Tools->Reload Configuration.
716 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
718 * src/highlighting.c, doc/geany.txt, doc/geany.html,
719 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
720 data/filetypes.pascal, data/filetypes.docbook,
721 data/filetypes.python, data/filetypes.conf:
722 Use filetypes.foo [lexer_properties] group instead of hardcoding
723 lexer properties (more flexible e.g. for custom filetypes).
724 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
725 Replace filetypes.xml html_asp_default_language key with
726 filetypes.html asp.default.language property in [lexer_properties]
730 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
732 * doc/geany.txt, doc/geany.html:
733 Fix slightly wrong description of how to insert Unicode characters.
735 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
736 ui_setup_open_button_callback().
737 * src/prefs.c, src/prefs.c, src/vte.c:
738 Refactor color and font button callback functions in the
739 preferences dialog. Move the VTE related callback functions
741 Make use of ui_setup_open_button_callback().
743 Improve printing status texts (patch by Dominic Hopf, thanks).
744 * src/prefs.c, src/vte.c:
745 Use the default dialog title set by ui_setup_open_button_callback()
746 to be more consistent and to save one string.
749 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
752 Separate DKinds from CKinds.
753 Don't generate macro tags for D, Java.
756 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
758 * tagmanager/ctags.c, tagmanager/general.h:
759 Make TagManager Assert statements cause g_warning on failure.
761 Fix reflow paragraph command when cursor < anchor using
765 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
768 Fix Geany segfault with constant tags (#2895168).
770 Fix invalid tree iter access when using tv_iters.tag_other but not
771 using tv_iters.tag_variable.
772 * HACKING, tagmanager/perl.c:
773 Fix parsing Perl format statements ("other" type doesn't seem to work).
774 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
775 Fix using "other" tag type.
778 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
781 Remove useless comment about applying settings only when libvte.so
782 could be loaded which is only displayed *if* libvte.so is loaded.
784 Allow autocompletion for HTML entities even within a word.
785 * src/geanymenubuttonaction.c:
786 Only set the menu of the button if a non-empty GtkMenu is passed to
787 geany_menu_button_action_set_menu() so the menu arrow keeps
791 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
794 Fix parsing some Java code (e.g. filetypes.java) after r4407.
797 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
800 Parse D functions with contracts (fixes #1885480).
801 Parse D alias statement like typedef.
802 (Ignore some more D keywords).
804 Fix creating D interface tags properly.
806 Parse contents of D extern{} and version{} blocks.
809 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
815 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
817 * src/plugindata.h, HACKING:
818 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
821 Show number of files saved on status bar when using Save All.
822 * src/highlighting.c:
823 Use default color scheme if pref color scheme file doesn't exist.
825 Fix moving correct lines after selecting whole line(s).
828 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
830 * tagmanager/makefile.win32:
831 Fix broken build on Windows because of a typo
832 (patch by Timothy Boronczyk, thanks).
835 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
837 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
839 Add 'View->Editor->Color Schemes' menu, for now only shown if color
840 scheme files exist in a colorschemes config directory. Color scheme
841 files must end in ".conf" and currently only the [named_styles]
843 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
844 Add utils_get_config_files().
845 * src/highlighting.c:
846 Fix issue with default color not being reset if overridden with a
847 system default color.
848 * src/highlighting.c:
849 Only reload filetype files when changing color scheme, not all
851 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
852 Deprecate documents_foreach() as it looks more like a function; use
853 foreach_document() instead.
854 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
857 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
859 * src/stash.c, src/stash.h:
860 Use typedef instead of pointer for widget_id function arguments.
863 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
866 Don't expand Plugin Preferences page spacing vertically to fill the
867 height of the dialog.
868 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
869 geany.glade, plugins/splitwindow.c:
870 Allow GeanyKeyBinding label field to contain underscores, which won't
871 be displayed by Geany. This saves adding near-duplicate translation
873 Add mnemonics for 3 Edit->Format menu items.
874 Add keybindings_get_label().
875 * src/interface.c, geany.glade:
876 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
880 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
883 Desensitize Edit->Commands menu item when no docs are open.
884 * src/interface.c, src/keybindings.c, src/callbacks.c,
885 src/callbacks.h, geany.glade:
886 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
887 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
888 Add general function sci_get_string() that works with any string
889 buffer messages that follow the Windows message convention.
890 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
891 src/keybindings.h, src/callbacks.c, src/callbacks.h,
892 src/pluginutils.c, src/pluginutils.h, geany.glade:
893 Add 'Edit->Plugin Preferences' menu item and keybinding.
894 Don't include plugindata.h in pluginutils.h because it redefines the
895 GEANY() macro for plugin use.
896 * doc/geany.txt, doc/geany.html:
897 Update for Plugin Preferences keybinding.
900 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
903 Sort document word completion list.
904 * src/interface.c, src/keybindings.c, src/callbacks.c,
905 src/callbacks.h, geany.glade:
906 Add some useful commands to editor popup menu under "Commands"
907 submenu (thanks to Lex).
908 Move 'Duplicate line or selection' from Format -> Commands submenu.
909 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
910 Enable switching the sidebar to the right on Windows again, as it
911 apparently works after all.
913 Fix using tab to autocomplete in some other situations that word part
914 completion doesn't apply in.
915 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
916 Add Edit->Commands submenu which is shared with the editor popup menu.
917 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
918 Change editor popup Commands submenu to start as child of menubar Edit
919 menu, as this is more usual e.g. for keybindings initialization.
920 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
922 Share a single Format submenu for menubar Edit and popup menu.
925 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
928 Fix a compiler warning about an uninitialised variable.
930 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
931 sciwrappers.h, build.h (for the Waf build system,
932 accordingly to r4366).
935 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
937 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
938 src/toolbar.c, src/toolbar.h:
939 Add missing dox for types/files in the API.
940 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
941 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
942 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
943 of functions not in the API).
944 Warning: any plugins that include these headers should remove them.
945 * src/build.c, src/build.h:
946 Move function doc-comments to build.c so they stay in sync. Note:
947 these functions are still not in the API.
949 Add 'Doc-comments' plugin API subsection.
950 * plugins/filebrowser.c:
951 Fix packing configure widgets equally.
952 Use spacing multiples of 6 as recommended by Gnome HIG.
953 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
954 Disable switching the sidebar to the right on Windows as it will
955 probably fail like the Split Window plugin.
957 Improve 'Detect from file' indentation pref by ignoring lines with
958 indentation wider than 24 characters as this is more likely to be
959 alignment than indentation.
962 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
964 * plugins/saveactions.c:
965 Fix adding the filetype's default extension when using the
966 Instant Save plugin (closes #2885142).
968 Before looking for line and column numbers specified as part
969 of a filename, ensure the file doesn't exist on disk. This allows
970 opening of files like "test:0".
972 Rename "select" variables into "selection" to avoid shadowed names.
973 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
974 Add ui_widget_modify_font_from_string() and sci_goto_line()
976 * plugins/filebrowser.c:
977 Rename "select" variables into "selection" to avoid shadowed names.
978 Make use of ui_widget_modify_font_from_string().
981 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
983 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
984 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
986 Add sidebar position interface pref.
989 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
991 * doc/geany.txt, doc/geany.html:
992 Add missing underscores to links.
995 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
997 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
998 Add 'Move line(s) up/down' keybindings.
1001 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1003 * src/build.c, src/build.h, src/filetypes.h:
1004 Include code for project filetype execute commands and fix bug in
1005 saving project filetypes list.
1006 * src/project.c, src/build.c, doc/geany.txt:
1007 Make non-project execute configuration save to filetypes not geany.conf.
1008 Fix closing of project failing to remove build commands dialog entry.
1011 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1013 * src/project.c, src/ui_utils.c:
1014 Set border width for project properties build table.
1015 * geany.glade, src/interface.c:
1016 Don't expand hard tab width alignment.
1019 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1021 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1022 doc/geany.txt, doc/geany.html:
1023 Support loading global tags files for custom filetypes.
1024 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1025 doc/geany.txt, doc/geany.html:
1026 Add 'Word part completion' keybinding so keys other than Tab can be
1027 used, or to clear/change the combination so Tab does full completion
1029 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1030 Add 'Select to previous/next word part' keybindings.
1031 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1032 Add 'Switch to Messages' focus keybinding.
1035 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1037 * doc/geany.txt, doc/geany.html:
1038 Add 'Custom filetypes' section.
1039 * src/filetypes.c, src/filetypes.h, src/document.c,
1040 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1041 tagmanager/include/tm_source_file.h:
1042 Add filetype "tag_parser" key so custom filetypes can use an existing
1044 Add tm_source_file_get_named_lang().
1045 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1047 Add filetype "lexer_filetype" key so custom filetypes can use an
1051 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1053 * THANKS, src/about.c:
1054 Add Xhacker Liu for his work at zh_CN translation to long list of
1058 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1060 * src/sciwrappers.c:
1061 Remove unnecessary line number margin padding.
1062 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1063 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1065 Improve word part autocompletion so AC list is not cancelled and
1066 reshown (this also stops the selection changing).
1067 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1069 Improve CamelCase word part autocompletion for runs of capital letters.
1071 Don't complete snippets if there's a selection.
1074 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1077 Fix crash opening project when Geany started with no geany.conf.
1080 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1082 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1083 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1085 Add word part autocompletion for the current selected item when
1086 pressing Tab - Enter still completes normally.
1087 Add foreach_str() API macro.
1088 Temporarily modify scintilla to say if tab was used for
1090 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1091 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1092 plugins/classbuilder.c:
1093 Revert r4301 - utils_free_pointers() taking 4 arguments.
1094 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1095 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1096 plugins/splitwindow.c:
1097 Add highlighting_set_styles() to API, use for Split Window plugin so
1098 filetypes.common settings get set too.
1099 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1101 * src/document.c, src/editor.c, plugins/splitwindow.c:
1102 Call editor_apply_update_prefs() from editor_create_widget() so
1103 correct tab width and other settings are applied for Split Window
1107 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1109 * src/keybindings.c:
1110 Don't include trailing newlines when using reflow command.
1112 Add stock close buttons to notebook tab popup menu.
1113 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1114 plugins/geanyfunctions.h:
1115 Add document_get_notebook_page() to API.
1117 * data/templates/files/file.html, data/templates/files/file.php:
1118 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1119 * src/interface.c, src/ui_utils.c, geany.glade:
1120 Move Tools configuration items to top of menu.
1121 * src/keybindings.c, src/search.c:
1122 Fix warning when using Find in Files with no documents open; make
1123 keybinding work in this case.
1126 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1128 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1129 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1130 Make Split Window 'Show current document' button have a drop-down menu
1131 to select the other documents.
1132 Add new API function ui_menu_add_document_items().
1135 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1138 Fix sensitivity settings for compile and build toolbar items.
1141 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1144 Don't use filetype submenus for templates (slower to navigate, often
1145 only 1 per-filetype anyway).
1147 Put old filetype template menu items in 'Old' submenu as they should
1148 be removed after the 0.19 release.
1149 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1150 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1151 to be ignored if inappropriate so a later keybinding with the same
1152 key combination can intercept it. (Also group callbacks are usually
1153 tidier than separate callbacks).
1154 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1155 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1156 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1157 plugins/classbuilder.c:
1158 Make utils_free_pointers() take 4 arguments, add to API.
1159 * src/templates.c, src/tools.c, src/ui_utils.c:
1160 Fix memory leaks with gtk_container_get_children().
1163 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1166 Ensure that old style build config is not loaded if it does not exist.
1169 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1171 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1172 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1175 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1177 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1179 Apply set default encoding for existing files only if the files are
1180 non-Unicode (patch by Alexey Antipov, thanks).
1183 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1185 * src/highlighting.c:
1186 Move new_styleset() and preprocessor setup code into styleset_c_like().
1187 * src/highlighting.c:
1188 Call apply_filetype_properties() from styleset_c_like().
1191 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1193 * doc/geany.txt, doc/geany.html:
1194 Improve information about predefined keybindings which are
1195 commonly used across applications (patch by Lex Trotman, thanks).
1197 Enable embedded page setup properties in the (Unix) Print dialog
1198 on newer GTK versions (closes #2870596).
1199 * src/highlighting.c:
1200 Map global types (read from tags files) to keyword style for
1204 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1207 Fix wrong creation of filetype template menu items for custom
1209 * src/highlighting.c:
1210 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1212 Group 'New with template' items by filetype submenu (currently only for
1214 Show custom file template items before filetype template items.
1215 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1217 Only use one 'New with template' submenu - reparent as needed.
1219 Don't create templates/filetype.none either.
1221 Warn if custom template file no longer exists.
1224 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1227 Add missing icon for Java packages in the Symbol List.
1230 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1232 * src/highlighting.c, data/filetypes.vala:
1233 Add Vala keywords to conf file.
1234 * src/templates.c, doc/geany.txt, doc/geany.html:
1235 Read custom file templates from $prefix/share/geany/templates/files as
1237 * src/templates.c, data/templates, data/templates/files,
1238 data/templates/files/file.rb, data/templates/files/file.html,
1239 data/templates/files/main.java, data/templates/files/main.c,
1240 data/templates/files/main.cxx, data/templates/files/file.php,
1241 data/templates/files/main.d, data/templates/files/program.pas,
1242 data/templates/files/main.py, data/templates/files/file.tex,
1243 wscript, Makefile.am:
1244 Move filetype template defaults into custom file template files.
1247 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1249 * src/symbols.c, tagmanager/perl.c:
1250 Change Perl tag parser to ctags SVN r601. This removes support for
1251 buggy local/my/our but it parses constant/format/labels and should
1252 be less buggy overall (closes #2861232).
1253 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1254 Add utils_get_file_list_full() which can optionally sort or include
1255 a full path for each list item.
1256 * src/utils.c, src/plugindata.h, src/plugins.c:
1257 Add utils_get_file_list_full() to API.
1260 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1262 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1263 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1264 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1265 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1266 po/POTFILES.in, wscript:
1267 Rename treeviews.[hc] -> sidebar.[hc].
1268 * data/filetypes.common:
1269 Remove unused [styling] arguments.
1270 * src/highlighting.c, data/filetypes.markdown,
1271 data/filetypes.restructuredtext:
1272 Remove style defaults from the code - just read them from
1273 configuration files.
1274 * src/highlighting.c, HACKING:
1275 Add apply_style_entries() to simplify implementing styleset_foo().
1276 * src/highlighting.c:
1277 Remove filetype keyword defaults from the code - just read them from
1278 configuration files.
1279 * src/highlighting.c:
1280 Add sci_set_keywords() wrapper.
1283 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1285 * scripts/create_py_tags.py:
1286 Make the code a bit more pythonic.
1287 * doc/images/build_menu_commands_dialog.png,
1288 doc/images/main_window.png:
1289 Add new images referenced in the documentation.
1290 * doc/geany.html, doc/geany.txt:
1291 Several documentation improvements (patch by Lex Trotman, thanks).
1292 * src/pluginutils.c:
1293 Fix setting the appropriate page of the combined plugins
1297 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1299 * src/keybindings.c:
1300 Only focus toolbar goto line entry when pressing keybinding if it's
1301 visible (patch by Eugene Arshinov, thanks).
1303 Focus editor after entering a number in the goto line toolbar entry.
1305 Use AC_PATH_PROG instead of which for portability (patch by Erik
1306 Southworth, thanks).
1308 Show plugins that only implement plugin_configure_single() in the
1309 multiple-configure dialog as a page with a configure button on it.
1310 Add padding for multiple-configure dialog.
1311 Make the multiple-configure dialog notebook tabs scrollable.
1312 * src/pluginutils.c, src/pluginutils.h:
1313 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1314 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1315 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1316 plugins/geanyfunctions.h, plugins/filebrowser.c:
1317 Add plugin_show_configure() API utility function.
1318 Add File Browser popup menu 'Preferences' item.
1319 * src/highlighting.c:
1320 Add get_keyfile_ints() instead of using tmp_style hack.
1321 * src/highlighting.c, data/filetypes.xml:
1322 Change new html_asp_default_language markup pref to use integer,
1323 not hex in config file.
1324 Fix minor issue with changing pref back to 0.
1325 * src/highlighting.c:
1326 Fix possible segfault in get_keyfile_int() if key value is malformed.
1329 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1331 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1332 Add "html_asp_default_language" pseudo style to filetypes.xml
1333 to allow setting the used language in embedded ASP code
1334 (patch by Ross McKay, thanks).
1335 * src/filetypes.xml:
1336 Update VBScript keywords (patch by Ross McKay, thanks).
1339 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1341 * src/keybindings.c, THANKS:
1342 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1343 keybinding use line breaking column when enabled.
1345 Fix showing the document before reload dialog when opening an
1347 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1348 Add plugin_configure_single() plugin symbol which is easier to
1349 implement than plugin_configure() but won't support a
1350 multiple-plugin configure dialog.
1352 Show multiple plugins in the 'Configure Plugins' dialog.
1355 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1357 * doc/geany.txt, doc/geany.html:
1358 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1360 * doc/geany.txt, doc/geany.html:
1361 Add 'Toolbar entries' section.
1362 * doc/geany.txt, doc/geany.html:
1363 Update 'Go to line' keybinding description.
1364 * doc/geany.txt, doc/geany.html:
1365 Split keybinding table into group tables; update KB links.
1368 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1371 Fix compiler warnings about uninitialised variables.
1372 * src/callbacks.c, src/document.c:
1373 When reloading files, use the previously set encoding instead of
1374 detecting it again (closes #2862041).
1376 Turn on automake silent rules if supported.
1379 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1382 Speed up sorting in utils_get_file_list(). This reduces the file
1383 browser delay on displaying a big directory, e.g. /usr/bin.
1385 Expand command entry width when expanding Build Commands dialog.
1387 Split Build Commands dialog notes label and edit text.
1389 Add padding for Build Commands dialog separators.
1390 Add colons for regex field labels; fix 1 capitalisation.
1392 Fix none filetype Build Commands dialog label.
1393 Make group labels bold.
1394 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1396 Add & use ui_label_set_markup(), ui_label_new_bold().
1397 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1398 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1399 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1400 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1401 * src/keybindings.c:
1402 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1405 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1407 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1408 tagmanager/parsers.h, tagmanager/makefile.win32,
1409 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1410 data/filetype_extensions.conf, wscript:
1411 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1413 Merge recent changes from the CTags project to further improve
1417 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1420 Fix wrong alignment of printed pages when page headers are
1421 disabled (closes #2856822).
1422 Plug a small memory leak and improve function signature of
1425 Save an if expression.
1427 After clearing a text field using the embedded clear icon, put the
1428 input focus into this text field.
1431 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1433 * plugins/filebrowser.c:
1434 Free file list memory whilst iterating the list.
1435 Minor formatting fixes.
1436 * src/utils.c, src/utils.h:
1437 Add foreach_dir() API macro.
1438 Update API docs for utils_get_file_list().
1439 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1441 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1442 Beep if there are no more snippet positions.
1443 Limit length of snippet positions queue to 20.
1446 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1448 * src/keybindings.c, src/callbacks.c, src/search.c:
1449 Make Goto Tag commands use the current selection if present (useful
1450 for selecting part of a tag or for ReST section names with spaces
1453 Don't move the cursor when reloading.
1454 * src/plugindata.h, src/editor.c, src/editor.h:
1455 Make editor_prefs.snippets hash table private (not a pref).
1458 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1461 Remove deprecated --debug flag. Please use --verbose/-v instead.
1464 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1467 Show Find in Files stderr output in messages window instead of
1468 debug window so that invalid regex messages can be seen easily.
1469 Combine FIF stdout and stderr callback code.
1472 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1475 Fix opening filenames beginning with two dots (closes #2858487).
1476 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1477 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1478 data/filetypes.common, geany.glade:
1479 Update syntax highlighting after changing the 'Invert syntax
1480 highlighting colors' pref, instead of requiring a restart.
1481 Remove filetypes.common invert_all option - use 'Invert syntax
1482 highlighting colors' pref instead (closes #2854525).
1483 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1484 Add 'Allow' button when showing the conflicting keybinding dialog.
1485 Make dialogs_show_question_full() use GTK dialog on Windows if
1486 button text is not the stock yes/no items.
1487 Add dialogs_show_prompt() which also has an 'Apply' button.
1488 * src/queue.c, src/queue.h:
1489 Add warning that GeanyQueue may be removed.
1490 * src/keybindings.c, src/editor.c, src/editor.h:
1491 Change snippet_goto_next_cursor() to
1492 editor_goto_next_snippet_cursor() as it's in editor.h.
1493 Avoid using GPOINTER_TO_INT macro.
1496 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1498 * src/keybindings.c:
1499 Fix 'Reflow block' command when at the last paragraph and there's
1500 no last newline (patch by Eugene Arshinov, thanks).
1502 Add 'Compiler options & warnings' section.
1503 Update Style section to be clearer about code alignment and show
1508 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1510 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1511 src/plugindata.h, src/plugins.c, src/editor.c,
1512 plugins/geanyfunctions.h:
1513 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1514 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1516 Add sci_toggle_marker_at_line().
1517 Fix SciFuncs alignment.
1520 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1523 Fix erroneous free of returned string in prepare_run_script.
1526 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1528 * data/filetypes.latex:
1529 Changing default value for showing pdf and dvi to ensure to take
1530 *.pdf and *.dvi file.
1533 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1535 * src/about.c, THANKS:
1536 Change language string for Slovenian translation.
1539 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1541 * tagmanager/txt2tags.c:
1542 Fix multi-byte character constant comparison.
1544 Fix Gtk warning when trying to update documents popup menu item
1545 sensitivity before they exist.
1548 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1551 Improve the opening string in the plugin manager dialog.
1553 Use "max-width" to set the document width of the generated
1554 HTML documentation to let the text be auto-wrapped.
1555 * src/prefs.c, src/tagmanager/include/guregex.h,
1556 src/tagmanager/include/tm_tagmanager.h:
1557 Remove trailing spaces (patch by André Hentschel, thanks).
1559 Fix a compiler warning.
1561 Fix crash when opening documents.
1562 * src/build.c, src/build.h, src/project.c:
1563 Adjust coding style (no code changes).
1564 * src/build.c, src/project.c:
1565 Use NZV() macro instead of strlen() to check for empty strings.
1566 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1567 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1568 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1569 src/plugins.c, THANKS:
1570 Add new plugin signal: "document-before-save".
1571 Add get_line_end_position(), set_target_start(), set_target_end(),
1572 replace_target() to the plugin API
1573 (patch by Eugene Arshinov, thanks).
1574 Add new plugin signal: "document-filetype-set" (closes #2852286).
1575 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1576 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1577 tagmanager/Makefile.am, tagmanager/makefile.win32,
1578 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1580 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1583 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1585 * src/treeviews.c, src/document.c:
1586 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1587 Use gtk_notebook_set_current_page() instead of
1588 document_open_file_full() when choosing an item from the documents
1590 Avoid using goto in document_open_file_full().
1593 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1595 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1596 Enable type-ahead find for sidebar symbols and documents tabs
1597 (patch by Thomas Martitz, thanks).
1599 Fix 2 free's of possibly uninitialized pointers.
1602 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1604 * src/build.c, src/filetypes.h, src/filetypes.c
1605 Only write filetype config files when build command or regex is
1606 actually changed. Removed commented code in src/filetypes.c.
1608 Ensure uses of filename are protected against nulls when running
1609 a build command and give status message if not.
1612 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1615 Remove plugin from plugin manager dialog on unloading if it no
1616 longer exists or is incompatible.
1619 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1622 Add warning if only one of the plugin_key_group[_info] symbols is
1623 defined for a plugin.
1624 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1625 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1627 Merge custom-filetypes branch:
1628 Support adding custom filetype files e.g. filetypes.Foo.conf.
1630 Allow GeanyFiletype::extension to be NULL.
1631 Add note about using GeanyFiletype pointer instead of filetype_id
1632 for filetypes.c function arguments.
1633 Replace styleset_none() with styleset_default().
1636 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1639 Show the sidebar if either the documents or the symbols list are
1640 enabled (related to #1876107).
1643 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1645 * src/build.c, src/filetypes.c:
1646 Fix compiler warnings.
1648 Fix removing leading double slashes in filenames which are used for
1649 network resources on Windows (closes #2844085).
1652 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1654 * src/keybindings.c:
1655 Fix Make keybindings (patch by Lex Trotman, thanks).
1657 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1659 Mention Files link at top for header files; demoplugin.c.
1660 Minor edits; remove 'far from being complete'.
1661 * src/keyfile.c, src/keyfile.h, src/main.c,
1662 data/filetype_extensions.conf, HACKING:
1663 Remove --generate-data-files argument & code - just edit
1664 filetype_extensions.conf by hand (filetype order was broken
1666 Add *.H extension for C++ (useful for non-Windows systems).
1669 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1672 Fix implementation of loading old project files with base
1673 directories. Use project_make_base_path instead of re-
1674 implementing. Now depends on project.c reading base dir
1675 prior to calling load_build_menu.
1677 Change usage of project base directory to conform with
1678 previous documented behavior when loading old project files.
1680 Change make custom and make object to ignore make in base path
1681 when reading old project file settings. Changed some indent
1682 spaces to tabs. Fix missing compile menu accelerator.
1685 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1688 Add warning about not using undocumented features.
1689 Add reference to HACKING for plugin API development.
1691 Add section 'Plugin API/ABI design'.
1692 * src/keybindings.h, src/makefile.win32, src/project.h,
1693 src/filetypes.h, src/Makefile.am, wscript:
1694 Use GEANY_PRIVATE to hide some fields from plugins.
1696 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1697 * src/build.c, src/build.h, src/project.c:
1698 Use build_ prefix for 3 functions in build.h; add a static modifier.
1701 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1704 Improve parsing of PHP functions by requiring a valid modifier or
1705 whitespace before the 'function' keyword to ignore some false
1706 positives like function tags inside comments
1707 (patch by Harold Aling, thanks).
1708 * tagmanager/python.c:
1709 Don't parse comments after import statements and other tags
1710 (closes #2838938, patch by Huandari Lopez, thanks).
1713 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1715 * data/filetypes.markdown:
1716 Add filetypes.markdown for configuration (thanks to Jon Strait).
1717 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1718 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1719 plugins/geanyfunctions.h:
1720 Remove GeanyKeyGroup struct from the API - plugins should not set
1722 Make keybindings_set_item() duplicate the name and label fields
1723 (needed by GeanyLua) and return a keybinding pointer.
1724 Add keybindings_get_item() to the API (in case it's useful).
1725 Move some keybinding code out of plugin source files.
1728 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1730 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1731 Don't generate build.h API docs until everything is approved and
1732 functions are actually in geany_functions.
1733 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1734 as they may be changed or made private later.
1735 Break ABI for fields removed.
1738 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1740 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1741 src/keyfile.c, src/project.c
1742 Changed names of symbols visible in build API to GEANY_xxx.
1745 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1747 * src/project.h, src/project.c, src/build.c
1748 Remove make_in_base_dir and run_cmd fields from project structure.
1749 Replaced by build functionality. Remove incorrect use in src/build.c
1750 build_run_cmd function.
1753 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1755 * src/project.h, src/project.c
1756 Removed unused project_get_make_dir function, this is now per
1760 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1762 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1763 Fix some more warnings.
1764 Fix commented out execute/stop toolbar code in build.c.
1765 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1766 Changed build.h api so all functions prefixed with build_.
1769 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1771 * src/build.c, src/build.h, src/project.c:
1772 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1775 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1778 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1779 when reading old format configuration & project files.
1780 * src/build.c, src/project.c
1781 Fixed GLib array assertion warnings when no project filetypes are
1782 available to be saved.
1784 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1790 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1792 * src/build.h, src/build.c, src/project.c
1793 Created and documented plugins interface to build menu.
1794 Factored out new get_cmd_group function.
1795 Changed name of remove_command function to be consistent with the rest
1796 of the interface & changed calls in project.c.
1797 * src/Makefile.am, wscript
1798 Added build.h to installed files lists.
1800 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1803 Updated manual to match build-menu capability.
1806 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1808 * src/build.c, src/build.h
1809 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1810 Improved interpretation of run_in_base_dir from old [build-settings]
1811 Added spacing to build commands dialog
1813 Removed run in base path option from project dialog and added button to
1814 set working directories to d the same.
1817 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1820 Re-incorporated toolbar changes in trunk accidently excluded in merge
1822 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1825 Fixed substitute %f etc in commands
1826 Fixed potential leak in build_replace_placeholder
1827 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1828 Fixed build_replace_placeholder to not require document.
1830 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1832 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1833 Fixed crash and lots of warnings, deleted some commented out code.
1834 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1835 Removed make command from preferences and associated code
1837 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1839 * src/build.c, src/build.h
1840 Incorporated patch for working directory field (thanks Thomas)
1841 Removed run_in_base_dir option and associated code that it replaces
1842 Improved handling of old config files and mapping to new ones.
1844 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1846 * src/build.h, src/build.c
1847 Changed to itterate over entries in build commands dialog to allow
1848 additional fields to be added
1849 Implement support for multiple run commands
1850 * data/filetypes.latex
1851 Implement configured commands and labels for latex.
1854 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
1856 * src/build.h, src/build.c
1857 added dialog support for error regular expressions from multiple sources
1858 and storing and loading them
1859 fixed some typos and memory leaks
1860 * src/filetypes.c, src/filetypes.h, project.c
1861 added support for using error regexes from multiple sources
1864 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1866 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
1868 Removal of build menu item source made redundant by the following fix
1870 Corrected priority oreder and loading of filetype dependent build
1871 menu items saved in the project file. Added print routine for
1872 debugging command sources and priorities set compile symbol
1873 PRINTBUILDCMDS true to enable
1875 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
1878 fixed problem loading old format filetype files, some formatting fixes
1879 fixed saving new format files
1880 added operation for clear button on build commands dialog
1882 fixed loading and saving filetype files
1885 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
1887 Configurable Build Menu Changes
1889 * doc/geany.html, doc/geany.txt:
1890 Updated build menu section to new functionality
1891 * src/build.h, src/build.c:
1892 Largly re-written, configurability added, Latex code removed
1893 * src/filetypes.h, src/filetypes.c:
1894 Filetype structure updated to add new command pointers, configuration
1895 load and store changed
1896 * src/keybindings.h, src/keybindings.c:
1897 Changed to address new command storage structure.
1899 Changed to load/store new configuration.
1901 Minor change to initialisation order.
1903 Changed to address new menu item storage structure.
1904 * src/project.h, src/project.c:
1905 Changed to load/store the new configuration info.
1907 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1909 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1910 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1911 doc/pluginsymbols.c, plugins/geanyfunctions.h,
1912 plugins/splitwindow.c:
1913 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
1914 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
1915 the ABI when adding fields to them.
1916 Add plugin_set_key_group() for plugins to dynamically set a
1917 keybinding group (e.g. for the Lua script plugin). Used in Split
1918 Window plugin as an example.
1919 Improve keybinding docs a little.
1922 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1924 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
1925 Add geanyfunctions.h to API docs.
1926 * plugins/splitwindow.c:
1927 Set the cursor color for the split window.
1930 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1933 Fix 'Open Selected File' for unsaved new documents.
1934 * src/keybindings.c, src/keybindings.h, src/prefs.c:
1935 Fix updating main menu accelerators after changing keybindings
1936 (thanks to Lex Trotman).
1938 Fix using 'Insert date' keybinding when a custom date string has
1940 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
1941 Merge Plugin and GeanyPluginPrivate structs.
1944 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1946 * src/keybindings.c:
1947 Fix non-working Home and End keys on numpads.
1950 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1952 * doc/geany.txt, doc/geany.html, NEWS:
1953 Add 'Scope autocompletion' section.
1954 Add 'Tools menu items' section to explain configuration files
1955 submenu, reload configuration item.
1956 Minor updates/fixes.
1959 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1962 Add a translation hint to an ambiguous format string.
1964 Add missing include path to fix 'make distcheck'.
1966 Fix opening of local files in the browser on Windows.
1967 * New release: Geany 0.18 "Kaine".
1968 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
1969 src/geany.h, doc/geany.html, doc/geany.txt:
1970 Post-release version bump.
1973 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1976 Temporarily disable reshowing calltips when the autocompletion
1977 list was closed implicitly by not choosing an item to fix
1978 problems with wrongly displayed calltips.
1980 Add missing 'coding' cookie to the Python filetype template.
1981 * doc/images/pref_dialog_edit_completions.png,
1982 doc/images/pref_dialog_toolbar.png:
1983 Update images for Geany 0.18.
1986 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1989 Add command '--hackingdoc' to create the HTML form of the
1993 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1995 * po/pt_PT.po, po/LINGUAS:
1996 Added a first Portugese (Portugal) translation based on work done at
1997 launchpad by e.g. André Glória and Alexandre Jesus.
1998 * src/main.c: Fix a minor typo on --help call.
2001 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2003 * src/highlighting.c:
2004 Call get_keyfile_wordchars() in highlighting_init_styles().
2007 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2009 * data/filetypes.ada:
2011 * src/keybindings.c:
2012 Switching notebook tabs now works for the currently used notebook
2013 widget instead of always using the documents notebook.
2014 * src/document.c, src/document.h, src/documentprivate.h,
2016 Small corrections to some API docs.
2019 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2021 * src/build.c, src/win32.h, src/win32.c:
2022 Expand system environment variables (%variableName%) on Windows when
2023 running Build commands.
2026 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2028 * src/keybindings.c:
2029 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2030 future using an indent block is more useful e.g. for ChangeLog
2032 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2033 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2034 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2035 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2036 tagmanager/parsers.h, tagmanager/makefile.win32,
2037 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2038 Add Markdown filetype (patch by Jon Strait, thanks).
2039 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2040 Fix disconnecting plugin signal id when not using geany_object.
2042 Add filetype_make_title() instead of using:
2043 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2044 It also supports "%s file" strings.
2047 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2049 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2050 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2051 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2052 plugins/filebrowser.c:
2053 Add plugin_signal_connect() for connecting plugin signals at
2054 runtime and also for connecting to any GObject signal.
2055 Add 'Plugin Utility Functions' on main page.
2056 Add foreach_array() macro.
2057 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2058 src/document.c, src/editor.c:
2059 Rename 3 sci functions to sci_set_target_start(),
2060 sci_set_target_end(), sci_replace_target() to match the SCI_
2064 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2066 * wscript: Fix compiling error with waf.
2069 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2071 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2072 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2073 src/Makefile.am, wscript:
2074 Move plugin_* utility functions to pluginutils.c.
2075 Add pluginprivate.h.
2077 Fix reshowing calltip in the wrong document.
2080 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2082 * doc/geany.txt, doc/geany.html:
2083 Add some general information about auto-completion capabilities
2084 (patch by Lex Trotman, thanks).
2087 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2089 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2090 Added a first Slovenian translation. Thanks to Joze Klepec.
2093 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2095 * src/highlighting.c:
2096 Use full styleset_foo[_init] function name as argument to
2097 init_styleset_case() and styleset_case() macros so it's easier to
2098 understand the code.
2099 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2100 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2101 doc/geany.txt, doc/geany.html:
2102 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2103 Heavily based on a patch by Eugene Arshinov (thanks).
2104 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2105 editor_strip_line_trailing_spaces().
2108 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2111 Attempt to fix reshowing calltips after the autocompletion list
2113 Reshow calltips also when the autocompletion list was closed
2114 implicitly by not choosing an item.
2116 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2118 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2119 plugins/splitwindow.c:
2120 Change utils_str_remove_chars() to work in place; fix allocating on
2121 the stack (the string length could exhaust the stack size).
2122 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2123 src/printing.c, src/callbacks.c:
2124 Rename utils_str_replace() utils_str_replace_all(), setting a
2125 'gchar **haystack' argument instead of returning a new string.
2127 For the Tabs indent type, remove spaces when unindenting (only) if
2128 there are no tabs on the line.
2129 Group undo actions for (un)indenting of multiple lines.
2130 * src/document.c, src/editor.c:
2131 Fix scrolling horizontally after finding a search match with the
2132 search bar or Find Next/Previous which is off-screen.
2133 * src/keybindings.c:
2134 Fix GLib warning when pressing a key with no documents open.
2137 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2140 Start unifying usage of @a and @c markup elements in API docs,
2142 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2143 Show/hide the toolbar without a restart when the setting in the
2144 preferences dialog is changed (closes #2824785).
2145 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2146 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2147 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2149 Continue unifying usage of @a and @c markup elements in API docs.
2152 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2155 Remove relative/untidy path elements when creating new documents
2156 with a filename (e.g. from the command-line) (#2823998).
2159 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2162 Disable 'Recent Projects' menu item if the list of recent projects
2165 Fix some harmless compiler warnings.
2166 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2167 src/plugins.c, src/utils.c, src/utils.h:
2168 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2169 src/utils.c and add it to the plugin API.
2170 Make utils_str_remove_chars() work on a new copy of the input string
2171 instead of modifying it in place.
2173 Remove underscores from the toolbar items labels.
2176 * plugins/splitwindow.c:
2177 Fix broken 'Show the current document' tool button icon.
2180 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2182 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2184 Add stash_group_add_widget_property() so we can save any widget's
2185 read/write properties.
2186 Use Stash for ui_prefs.sidebar_page setting.
2187 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2188 Make foreach_ptr_array() use an integer argument for its
2189 implementation, as this is more useful potentially than a gpointer*
2190 argument, and more straightforward.
2191 Add foreach_c_array(), foreach_ptr_array() to API.
2192 * src/utils.c, src/utils.h, src/document.c:
2193 Remove relative/untidy path elements when opening documents (closes
2196 Fix showing project name for documents list files with no
2197 subdirectory (oops).
2199 Fix checking whether to overwrite when using the Rename button in
2200 the 'Save As' dialog.
2203 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2206 Don't use the main window as parent for dialog boxes if it is not
2208 Set titles for message dialogs.
2211 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2214 Display item labels instead of raw names in the toolbar editor.
2215 Apply changes in the toolbar editor instantly.
2216 Show icons in the toolbar editor.
2217 Speed up toolbar editor dialog creation.
2219 Improve inserting of comment templates like File header or licence
2220 notices. The comment information are now read from the filetype
2221 configuration files.
2223 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2226 Enable file monitoring for files which are written to disk by Geany
2229 Fix broken special case handling when detecting filetypes from a
2230 shebang or other special file headers.
2233 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2236 Make Mark All keybinding clear search highlighting when there's no
2239 Fix wrong match length when using Mark with regex.
2240 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2241 src/keyfile.c, src/main.c:
2242 Add 'Show Paths' documents list popup item.
2243 Add "load_settings" core-only signal emitted just after loading
2244 main keyfile settings; useful to delay building UI elements until
2245 settings have been read.
2247 Fix GTK warning when right-clicking on default tag tree.
2248 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2249 Add treeviews_finalize().
2250 Remove tv.popup_openfiles field.
2253 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2255 * src/highlighting.c:
2256 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2259 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2262 Quote the uri before passing it to the browser when opening a
2263 website (closes #2818635).
2265 Fix broken 'builtin' Run command for HTML files on Windows.
2268 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2271 Properly fix wrong brace highlighting of non-brace character.
2273 Allow autocompletion in Perl double-quoted strings.
2274 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2275 Don't autocomplete in Perl q() strings.
2276 * data/filetypes.common:
2277 Make Mark highlighting brighter.
2278 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2279 Use hyphen for auto-feature terms.
2280 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2281 src/document.h, src/main.c:
2282 Add documents_foreach() API macro that skips invalid docs.
2283 Make filetypes[], documents[] part of the API again.
2284 Add GEANY() macro for sharing geany symbols between API and core.
2285 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2286 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2287 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2288 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2289 plugins/classbuilder.c, wscript:
2290 Add geanyplugin.h single include for plugin API; update all core
2292 Add sci_set_font() to API.
2293 Update plugin howto.
2294 * src/filetypes.c, src/filetypes.h:
2295 Remove filetypes_foreach_named().
2298 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2300 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2301 src/document.h, src/main.c, THANKS:
2302 Apply patch from Eugene Arshinov to reload color schemes via menu
2305 Reload filetypes.common after saving it.
2307 Improve wrong brace highlighting of non-brace character.
2310 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2313 Delay highlighting matching braces by 100ms, which speeds up
2314 scrolling with the arrow keys.
2315 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2316 Add 'Mark All' keybinding.
2317 * tagmanager/diff.c:
2318 Show relative paths in diff filename tags.
2321 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2323 * src/highlighting.c:
2324 Fix setting keyword list 'classes' for Haxe
2325 (pointed out by Andreas Mokros, thanks).
2328 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2330 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2331 doc/geany.txt, doc/geany.html, geany.glade:
2332 Add 'Drop rest of word on completion' pref.
2333 * src/editor.c, doc/geany.txt, doc/geany.html:
2334 If autocompletion is already visible when forcing completion, show
2335 document word completion instead of tag completion.
2336 Docs: Minor edits of related prefs items.
2337 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2338 Add warning when printing and editor font is not monospaced.
2339 Fix using GtkMessageType instead of gint param for
2340 dialogs_show_msgbox*().
2341 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2343 Support 'tab indents, space aligns' style for auto-indentation
2347 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2349 * src/document.c, src/documentprivate.h:
2350 Rework the GIO based file monitoring code. Now it is used only
2351 to indicate a possible change of the file, the real check if the
2352 file has been changed is performed by stat().
2353 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2354 Add style 'line_height' to increase the line height.
2355 Add style 'marker_mark' and change style 'marker_search' to
2356 define the style used for marked search results.
2357 * doc/geany.txt, doc/geany.html:
2358 Add the new 'Autocomplete all words in document' pref to the docs.
2361 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2363 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2364 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2365 Add 'Autocomplete all words in document' pref.
2366 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2368 Fix limiting number of word completion entries too much.
2369 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2370 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2371 Show autocompletion icons for tag symbols - for now only tags with
2372 an arglist have the 'function/method' icon, all others have the
2374 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2376 * src/highlighting.c:
2377 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2381 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2383 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2384 Fix removing underscores in translated string using no_underscore()
2386 Set a tooltip for the Split Window plugin's Show Current tool button.
2387 Add utils_strdupa() macro.
2388 * src/interface.c, geany.glade:
2389 Use stock Select All icon now we have >= GTK 2.8.
2391 Fix using project name for document items that start with the
2392 project base path but don't match it e.g. ".../geany-plugins"
2393 instead of ".../geany" when project name is 'geany'.
2396 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2399 Fix warnings when the toolbar does not contain the Run button.
2401 Fix wrong parsing of complex expressions in the Lua parser.
2402 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2404 Remove unnecessary enums.
2405 * scintilla/*, scintilla/include/*, src/plugindata.h:
2406 Update Scintilla to version 1.79.
2407 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2409 Use the new Scintilla struct names prefixed with 'Sci_'.
2410 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2412 Add second argument to the 'line_wrap_indent' styling setting to
2413 control the new Scintilla indentation mode for wrapped lines.
2415 Properly close the toolbar editor on delete-events.
2416 Fix warnings and possible crashes in the toolbar editor when the list
2417 of displayed toolbar items is empty.
2418 * data/filetypes.tcl:
2419 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2421 Make the plugin manager dialog a bit bigger.
2424 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2426 * doc/geany.html, doc/geany.txt:
2427 Fix wrong default values for the 'Show Calltip' keybinding.
2430 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2432 * data/filetypes.tcl, src/symbols.c:
2433 Fix duplicate "context_action_cmd" key.
2434 Use different icons for "Methods" and "Procedures" in the symbol
2437 Fix a small memory leak.
2438 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2439 src/keybindings.h, src/plugindata.h:
2440 Make the Scintilla keybindings 'Delete to end of line' and
2441 'Go to end of display line' configurable.
2443 Fix a typo (closes #2813624).
2446 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2448 * tagmanager/tcl.c, src/symbol.c:
2449 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2450 methods and namespaces).
2451 Patch by Witek Mozga, thanks.
2454 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2456 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2457 src/toolbar.c, src/toolbar.h:
2458 Remove ui_toolbar.xml Configuration Files menu item.
2459 Add a real toolbar editor dialog.
2460 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2462 Add a button in the preferences dialog and an item for the toolbar
2463 popup menu to run the toolbar editor dialog.
2466 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2469 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2470 Fix using locale encoding for default Save As dialog path.
2472 Beep when trying to activate the '...' autocompletion item.
2473 Limit (forced) document word completion to
2474 autocompletion_max_entries.
2475 Beep if no completions are shown when forcing autocompletion.
2478 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2480 * data/ui_toolbar.xml, src/toolbar.c:
2481 Add 'Build' toolbar button to the default layout.
2484 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2487 If forcing autocompletion and there's nothing else to show, complete
2488 from words in the current document (using code from Enrico's
2489 'AutoComplete Test' plugin).
2492 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2495 Add debug message if plugin has not set a name for its keybinding
2497 * data/filetype_extensions.conf:
2498 Add *.m4 for shell scripts.
2501 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2503 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2504 data/filetypes.common, TODO:
2505 Make filetypes.common named styles use the "default" named style for
2506 all missing style fields.
2507 Set named styles to usually leave the background style empty. This
2508 currently allows C-like filetypes to have a common default
2510 Allow hard-coded colors to use -1 for the default color.
2511 Add some highlighting style examples to the manual.
2514 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2517 Create initial template files with proper platform-specific line
2521 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2523 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2524 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2525 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2526 src/ui_utils.c, src/ui_utils.h:
2527 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2529 Refactor some related code.
2530 * tagmanager/conf.c:
2531 Strip trailing spaces from "Key" tags.
2533 Quote the full filename to the Geany executable when creating the
2534 "Open with Geany" context menu item.
2535 * plugins/splitwindow.c:
2536 Avoid using deprecated GTK API.
2537 * src/log.c, src/main.c:
2538 Properly clean up the logging mechanism.
2540 Fix LaTeX view commands on Windows (part of #2807688).
2542 Add a popup menu for the keybinding list in the preferences dialog
2543 to easily expand and collapse all groups.
2544 Refactor the keybindings code for the preferences dialog, prefix all
2546 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2547 Init stock items before creating the toolbar (closes #2809324).
2549 Generate the geany.pc file also on Windows.
2551 Invert the logic to determine which Save All we want to use:
2552 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2553 like icon for any other themes.
2556 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2558 * src/highlighting.c, README.Packagers, HACKING:
2559 Remove gsd_* default styles, use named styles instead.
2560 Note: this relies on filetypes.common being installed.
2561 Add load_style_entries(), which makes style initialization
2562 simpler, used in styleset_c_like_init().
2565 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2568 Prevent possible crash on Windows when not setting an initial
2569 directory for native File Open/Save dialogs.
2570 * data/filetypes.xml, src/highlighting.c:
2571 Add style 'jscript_regex' for filetype HTML
2572 (patch by Chris Macksey, thanks).
2575 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2577 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2578 Make GeanyDocument::file_type always be non-NULL, even for a new
2579 document with no filetype set.
2581 Only autocomplete scope for scopes matching the current filetype's
2583 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2584 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2585 data/filetypes.actionscript, data/filetypes.cs,
2586 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2587 data/filetypes.javascript, HACKING:
2588 Make C++, D lexer filetypes use named styles (apart from uuid,
2589 verbatim, regex styles).
2592 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2595 Don't explicitly change the current directory of the Save As dialog
2596 so that it uses the last used directory.
2599 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2601 * src/encodings.c, src/encodings.h, src/plugindata.h:
2602 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2605 When completing from the macro list, put the cursor after
2609 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2611 * tagmanager/pascal.c:
2612 Fix type definitions being parsed as functions.
2614 Don't autocomplete in unterminated strings as well.
2615 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2616 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2617 Remove data_ptr argument to foreach_[s]list() macros, as using
2618 node->data is enough sometimes; this makes the macro a bit more
2620 Add foreach_[s]list() macros to the plugin API docs.
2623 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2625 * scintilla/LexPascal.cxx:
2626 Backport fix from Scintilla CVS:
2627 Pascal lexer hanging on file that starts with 'interface' after
2631 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2634 Update Waf to 1.5.7.
2636 Overwrite installation prefix on Windows only if it wasn't
2637 specified explicitly.
2640 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2643 Display calltips for Pascal symbols in the Pascal way (#2803945).
2644 * tagmanager/pascal.c:
2645 Fix wrongly set return values for procedures (closes #2803945).
2646 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2647 tagmanager/include/tm_source_file.h,
2648 tagmanager/include/tm_workspace.h:
2649 Fix doxygen warnings.
2652 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2654 * src/editor.c, tagmanager/include/tm_workspace.h,
2655 tagmanager/tm_workspace.c, TODO:
2656 Autocomplete scoped fields like struct members when typing '.' (and
2657 also '->' or '::' in C/C++).
2658 Save all tag types for C/C++ when generating a global tags file, so
2659 we can use autocompletion for structs also.
2660 Merge tm_workspace_find_scope_members(),
2661 tm_workspace_find_namespace_members() (currently not built) from
2662 Anjuta 2.24.1 tagmanager.
2665 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2667 * tagmanager/pascal.c:
2668 Parse Pascal calltips (closes #2802640).
2671 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2673 * src/filetypes.c, src/ui_utils.c:
2674 Add filetypes.common Configuration Files menu item.
2677 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2680 Add backslash to the wordchars on Windows when using
2681 'Open Selected File'.
2683 Add support (configure, build and install) for building on Windows
2684 and cross-compiling for Windows using the Waf build system.
2687 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2690 Set status bar text instead of showing a dialog when saving
2691 ui_toolbar.xml because the user might save several times.
2693 Fix redrawing due to colourising just after the document is first
2694 drawn. Now colourising should happen before the first draw.
2695 * src/utils.c, src/highlighting.c, data/filetypes.common:
2696 Fix segfault on parsing a filetypes.* style definition that has < 4
2698 Allow style definitions to have missing fields to use the default
2702 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2704 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2705 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2706 * plugins/classbuilder.c:
2707 Fix wrongly created header guards when the class filenames contains
2708 dashes (patch by PCMan, thanks).
2709 * data/filetypes.matlab:
2710 Add build_settings section to allow executing Matlab scripts.
2712 When closing a document, mark it as invalid before removing it from
2713 the documents notebook (this fixes wrong Save All button state when
2714 closing an unsaved document because the "switch-page" signal handler
2715 was using old data).
2718 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2720 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2721 Support toggling bold/italic when using a named style, e.g.:
2722 commentdockeyword=commentdoc,bold,italic
2723 Improve named style docs.
2726 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2728 * src/build.c, src/editor.c:
2729 Fix crashes when parsing the output of a compiler which reports
2733 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2735 * src/highlighting.c:
2736 Support named styles also for filetypes.common [styling] entries.
2737 * doc/geany.txt, doc/geany.html, HACKING:
2738 Update docs for named styles in filetypes.* files.
2740 Fix grouping symbol list children when parent name has "." character
2741 in for reStructuredText and Conf filetypes.
2742 * tagmanager/python.c:
2743 Fix grouping functions/classes under a nested function.
2746 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2749 Adjust icon paths (patch by Dominic Hopf, thanks).
2750 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2751 Add 'Replace' toolbar button (closes #2798225).
2754 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2756 * src/utils.c, src/highlighting.c, TODO:
2757 Implement named styles support for filetypes.* using a
2758 filetypes.common [named_styles] section e.g.:
2759 foo=0xc00000;0xffffff;false;true
2761 These can be used in e.g. filetypes.c as:
2765 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2768 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2771 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2773 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2774 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2777 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2780 Remove quote_executable() as it is not used anymore.
2781 When creating the geany_run_script.bat use the "%0" variable
2782 expansion and quote it for the "del" command (closes #2797172).
2784 On Windows, fallback to the literal build command line if searching
2785 for the command in the system path failed (related to #2795923).
2786 Properly terminate the resulting strings when reading the stdout
2787 and stderr of any spawned commands on Windows.
2790 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2793 Use the wide character versions of native Windows File dialogs.
2795 Fix wrong initialisation of the default project path button callback
2796 in the preferences dialog.
2797 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2798 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2799 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2800 icons/Makefile.am, icons/geany.ico, icons/scalable,
2801 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2803 Move the icons geany.png and geany.ico into the icons directory.
2804 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2805 Drop the pixmaps directory.
2808 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2810 * src/keybindings.c:
2811 Improve MRU document switching so there are no duplicates in the
2812 list and documents switched to whilst the dialog is open are
2813 ignored. Also beep when cycling through to the first document in the
2817 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2820 Fix broken 'Cancel' button in the Save As dialog.
2823 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2826 Fix multiline indent when selection covers text on the last line.
2828 Show current document in bold in tab popup menu.
2829 * src/editor.c, tagmanager/python.c, TODO:
2830 Parse Python calltips.
2833 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2835 * src/symbols.c, tagmanager/python.c:
2836 Parse Python import statements to get symbol completion for the
2837 imported module names.
2838 * src/editor.c, src/editor.h:
2839 Make some only locally used functions static.
2840 Fix wrong sanity check.
2842 Fix quoting the build command string on Windows (closes #2791769).
2843 This broke when we made build commands run synchronously on Windows,
2844 now we don't need to special quote the commands anymore.
2847 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2850 Drop rest of word to the right of cursor when autocompleting (do we
2851 need a pref for this?).
2854 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2856 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2857 Add sci_set_selection().
2858 * doc/geany.txt, doc/geany.html:
2859 Update manual for MRU switching.
2860 * src/callbacks.c, src/editor.c, src/editor.h:
2861 Make indenting with the Tabs indent type preserve spaces on the line,
2862 so it works for the 'tab indents, space aligns' formatting style.
2865 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2867 * tagmanager/python.c:
2868 Fix missing symbols for variables when an equal sign is used
2869 in a comment on the same line as the variable declaration.
2870 Backport change from CTags SVN to keep the parser more in sync:
2871 Add support for Cython constructs to the Python parser.
2873 Remember the additional Find in Files search flags at startup.
2875 Don't close the Save As dialog when saving the file didn't succeed.
2878 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2881 Remember scribble cursor position.
2882 * src/keybindings.c, TODO:
2883 Implement Most-Recently-Used document switching when pressing
2884 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
2887 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2889 * data/latex.tags: Added some more commands from unit.sty and
2893 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2895 * src/symbols.c, doc/geany.txt, doc/geany.html,
2896 tagmanager/makefile.win32, tagmanager/nestlevel.c,
2897 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
2898 tagmanager/Makefile.am, wscript:
2899 Merge unstable branch:
2900 Add reStructuredText scope information for tags (for symbol list
2902 Read custom system global tags files from $prefix/share/geany/tags;
2904 Show the number of tags in a user global tags file (instead of the
2905 running total) in the debug message.
2906 Also print debug messages when loading a tag file manually or for
2907 default global tags files e.g. python.tags.
2909 Move NestingLevel tags code into a separate file, add functions.
2911 Add 'Installation prefix' section instead of quoting '/usr/local'
2913 Update for custom system global tags files.
2916 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2918 * src/highlighting.c:
2919 Unset maybe previously keywords when setting up Scintilla for
2920 XML files. This fixed wrong highlighting after switching back to
2921 filetype XML from another one.
2923 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
2924 is only used when explicitly requested.
2926 Remove unnecessary call to g_intern_string() to fix build with
2927 GLib 2.8 (closes #2790051).
2930 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2933 Make the clear icon of entry fields act on the release event, not
2934 on the press event like for other buttons.
2936 Refactor some multiple used code into get_multiline_comment_style().
2938 Create parent directories if necessary when checking for the
2939 configuration directory on startup (closes #2784577).
2942 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2944 * plugins/filebrowser.c:
2945 When a filter is set, apply it only to files, not directories and
2946 apply the filter to the UTF-8 name of the file as the filter string
2947 itself is also UTF-8.
2948 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
2949 Add utils_color_invert() and use it in highlighting.c and printing.c.
2950 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
2951 Backport change from Scintilla CVS:
2952 Change capitalisation of header file to suit cross-compilation on
2956 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2958 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
2959 Update Scintilla to version 1.78.
2960 * src/editor.c, src/highlighting.c:
2961 Update Pascal styles as they changed in Scintilla.
2964 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2967 Ignore the invert syntax highlighting colours setting when printing
2968 to not print characters on a dark background (closes #2785244).
2969 * New release: Geany 0.17 "Wessex".
2970 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2971 src/geany.h, doc/geany.html, doc/geany.txt:
2972 Post-release version bump.
2975 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2977 * src/callbacks.c, src/callbacks.h, src/main.c:
2978 Update the View->Fullscreen menu item when fullscreen state is
2979 changed externally (e.g. by the window manager).
2981 Fix passing wrong pointer to the File Open dialog for the Run
2982 command in the Project Properties dialog.
2985 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2987 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
2989 Remember the active sidebar page between sessions.
2991 Add a recent project item after creating a new project.
2992 * tagmanager/ruby.c:
2993 Fix wrong parsing of string literals (closes #2781264).
2995 Fix setting focus to the editor widget after changing the selection
2999 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3002 Prevent crashes when two or more top level items in the symbol
3003 list have the same name (closes #2778246).
3006 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3008 * src/keybindings.c:
3009 Manually show the main notebook tab bar menu when Shift-F10 is
3010 pressed. This broke when we disabled the default GTK tab bar menu.
3012 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3013 which was reloaded shortly before.
3015 When the editor menu is opened by the Menu key, use the text cursor
3016 position for retrieving the current word. This fixes disabled
3017 Go to Tag items in the menu (#2780044).
3019 Set the "ellipsize" property of GtkCellRendererText to automatically
3020 shorten the path and file names in the Documents list.
3021 * doc/geany.html, doc/geany.txt, src/build.h:
3022 Increase the amount of highlighted build error messages to 100.
3023 At least for LaTeX we need higher values as there is a lot of
3024 informative output before any errors are reported.
3025 * src/filebrowser.c:
3026 Use the startup path as the initial directory for the filebrowser
3027 plugin when no project and no files are opened
3028 (patch by Matias Gea, thanks; closes #2780521).
3031 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3033 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3034 src/utils.c, src/utils.h:
3035 Ellipsize tab labels and some status messages for very long
3036 filenames (closes #2777348).
3037 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3038 Add utils_str_middle_truncate() and
3039 document_get_basename_for_display() to the plugin API.
3040 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3041 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3042 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3044 Add a hidden preference 'use_safe_file_saving' to save files to disk
3045 by creating a temporary file first. This has serious side effects,
3046 please read the documentation before enabling this.
3048 Make build commands on Windows run synchronously to avoid problems
3049 with reading build commands' output.
3050 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3051 Limit the amount of highlighted build error messages in the
3052 Compiler window to 50 for performance reasons.
3055 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3057 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3059 Replace our own GEANY_KEYS_MODIFIER_MASK by
3060 gtk_accelerator_get_default_mod_mask() which gives the same result.
3061 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3062 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3063 Add a trivial symbol parser for NSIS files.
3066 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3069 Hide the extra file open dialog options in an expander to make the
3070 dialog more compact by default and to provide more space for the
3072 Remove the filename field as it is also provided by GTK itself with
3073 more features like auto-completion.
3074 Watch the 'show-hidden' property of the file chooser widget using
3075 GObject's "notify" signal which gives accurate results and remove
3076 the hack using the "selection-changed" signal.
3079 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3081 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3082 Prevent double execution of radio menu item "activate" or "toggled"
3084 Move 'Set Encoding' callback function into encodings.c.
3087 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3090 Add some missing 'void's in function definitions.
3091 If the project base path is './', just use the path of the project
3092 config file instead of appending './'.
3093 * src/treeviews.c, src/project.c:
3094 When a project is loaded, replace the project base path with the
3095 project name in the Documents sidebar for parent items
3099 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3101 * src/keyfile.c, src/keyfile.h, src/project.c:
3102 Fix duplicating the recent files and projects lists when closing
3104 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3105 src/editor.c, src/encodings.c, src/filetypes.c,
3106 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3107 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3108 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3109 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3110 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3111 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3112 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3114 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3115 sense to keep the code more readable.
3118 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3121 When updating global type definitions for opened documents, take
3122 also C++ namespace symbols into account and don't ignore symbols
3123 which are defined inside a scope.
3126 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3129 Don't show 'plugin is not binary compatible' messages on the status
3130 bar, only the status window.
3133 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3136 When opening files from a remote instance on X11, set the window
3137 server time to encourage window managers to pop up the main window
3138 (related to #2735467 and #2276179).
3140 When finished sending filenames to a remote instance, notify the
3141 environment that we finished starting up.
3144 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3146 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3147 Sort Configuration Files menu.
3148 Add ui_menu_sort_by_label().
3149 Add foreach_list() macro.
3154 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3157 Fix setting a wrong default window size when starting without an
3158 existing configuration.
3159 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3160 Make editor_highlight_braces() static.
3161 Remove unused wrapper functions.
3162 * src/editor.c, src/symbols.c, src/symbols.h:
3163 Prevent showing an empty macro list.
3164 Show only macros of the same filetype instead of all macros of all
3167 Don't add opened project files to the GtkRecentManager.
3170 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3173 Add Configuration Files item for snippets.conf.
3174 * src/highlighting.c, src/symbols.c:
3175 Fix 2 old uses of filetype IDs.
3178 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3180 * src/interface.c, src/printing.c, geany.glade:
3181 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3184 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3187 Add sanity checks in ui_lookup_widget() just to be safe.
3188 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3189 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3190 src/project.h, src/ui_utils.c, src/ui_utils.h:
3191 Add "Recent Projects" menu to the Project menu
3192 (#2728630, patch by Elias Pschernig, thanks).
3193 * doc/geany.txt, doc/geany.html:
3194 Describe how to build Geany using the Waf build system.
3195 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3196 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3197 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3198 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3199 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3200 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3201 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3202 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3203 src/utils.c, src/utils.h, src/vte.c:
3204 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3205 performance when building the code with gcc.
3206 * src/highlighting.c:
3207 Fix typo in the G_LIKELY checks, introduced in last commit.
3208 Fix the size of the styles array.
3210 Show a message dialog when renaming a file fails.
3213 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3216 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3217 (as we did for all other files in SVN r3382).
3220 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3222 * src/filetypes.c, doc/geany.txt:
3223 Move ActionScript to the Script group.
3225 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3226 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3227 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3228 plugins/htmlchars.c:
3229 Merge reorder-filetypes branch:
3230 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3231 append randomly without breaking the ABI).
3232 Make None filetype name = title = _("None").
3233 Add foreach_slist() macro.
3234 Add filetypes_by_title list to GeanyData for plugin API access
3235 - a list of filetype pointers, which includes the None filetype
3236 first. This list stays constant by the time plugins are initialized,
3237 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3238 index the sorted list.
3241 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3243 * doc/geany.txt, doc/geany.html, src/main.c:
3244 Add widget names for the menubar and toolbar.
3246 When hiding the messages window, set the input focus back to the
3247 editor widget (part of #1910393).
3250 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3252 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3253 Backport recent changes from Scintilla CVS to add partial support
3254 for RFC2822 styled text using the Properties lexer.
3255 Ignore leading whitespace for config files and RFC2822 text.
3256 * data/filetypes.actionscript:
3257 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3258 * THANKS, src/treeviews.c:
3259 Display file/directory icons in the Documents sidebar
3260 (patch by Simon Treny, thanks).
3263 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3265 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3266 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3267 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3268 Add an option to allow appending the toolbar to the main menu bar
3269 to save some vertical space.
3270 Allow setting toolbar icon size to very small (menu icon size).
3273 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3275 * src/keyfile.c, src/utils.c, src/utils.h:
3276 Add utils_path_skip_root(), a relative path safe variant of
3277 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3278 * src/keyfile.c, src/main.c:
3279 Allow negative window coordinates when saving and restoring the
3280 position of the main window.
3281 Restore the main window position and size *after* the window has
3282 been realised to get it positioned accordingly
3283 (this affects at least Windows).
3286 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3288 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3289 Use g_win32_get_package_installation_directory_of_module() on Windows
3290 with newer GLib versions instead of deprecated API.
3291 * src/keybindings.c:
3292 Don't manage the last used documents list when quitting to prevent
3293 errors by accessing invalid memory (may close #2533990).
3296 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3299 Delete the geany_run_script.sh immediately after execution
3300 to prevent leaking old copies when the script was quit unexpectedly
3301 (closes #2710482, patch by Martin Olsson, thanks).
3303 Check whether skipping the root element of a document's filename
3304 succeeded and use the filename itself if not (e.g. on relative
3305 filenames, #2702844).
3306 Use the locale encoded filename when saving session files.
3308 Re-set the quitting status after all documents have been closed on
3312 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3314 * plugins/htmlchars.c:
3315 Remove usage of deprecated sci_get_selected_text() from plugin.
3318 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3321 Delay disk file checks when switching between documents a little
3322 bit to avoid fast, unintentional page switching in some cases.
3323 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3324 src/sciwrappers.c, src/sciwrappers.h:
3325 Deprecate sci_get_text(), sci_get_selected_text() and
3326 sci_get_text_range().
3327 Add sci_get_contents(), sci_get_contents_range() and
3328 sci_get_selection_contents() as replacement functions to provide
3329 an easier and cleaner API (initial patch by Frank).
3332 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3335 Fix wrong parsing of CSS tags when the definition block starts on
3336 a new line (reported by Dominic Hopf, thanks).
3339 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3341 * plugins/htmlchars.c:
3342 Extend plugin by feature to bulk replace and replace on input for
3343 special characters to their HTML entities.
3346 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3349 Update build menu items after changing anything in the
3350 'Set Includes and Arguments' dialog.
3351 Disable Compile/Run buttons/menu items when Compile/Run commands are
3353 Reset current build directory to the base directory after reading a
3354 "Leaving directory" message when parsing Make output
3355 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3357 Fix wrong display of the filename in the tab bar menu for new files.
3359 Set the initial directory for the Save As dialog only once on
3361 Add a shortcut of the project's base directory to the
3362 File Open/Save As dialogs when a project is open for faster access.
3363 * src/splitwindow.c:
3364 Add keybindings for the split actions.
3367 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3370 When using Find All in the Find dialog (in Session and Document),
3371 display the right amount of matches.
3372 Fix the display of the matches once per line (I broke the original
3375 Fix wrong directory selection behaviour in all Open Folder dialogs
3376 (closes #2688020, patch by Marcel Stimberg, thanks).
3378 Don't present the main window of a running instance when starting
3379 a second instance separately.
3382 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3385 Reduce default file permissions on the Unix Domain socket file
3386 (reported by Jörg Sommer, thanks).
3389 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3391 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3392 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3394 Add an option to set an additional plugin lookup path.
3396 When using Find All in the Find dialog, display matches only once
3397 per line in the messages window (patch by Bert Vermeulen, thanks).
3400 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3402 * data/filetype_extensions.conf, data/filetypes.actionscript,
3403 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3404 src/highlighting.c, src/plugindata.h, src/symbols.c,
3405 tagmanager/Makefile.am, tagmanager/actionscript.c,
3406 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3407 Add filetype ActionScript (patch by Chris Macksey, thanks).
3408 Update type keywords only for real C-like languages.
3409 Fix wrong sorting of Assembler and Ada filetypes.
3410 * plugins/classbuilder.c:
3411 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3412 Other minor cleanups.
3415 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3418 Don't use menu item images for the tab bar menu to save some
3420 * data/filetypes.fortran, tagmanager/fortran.c:
3421 Add keyword 'extends' and fix Fortran parser to support the
3422 'extends' keyword (closes #2654492).
3423 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3424 src/search.c, src/toolbar.c:
3428 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3430 * src/about.c, THANKS:
3431 Added Jari Rahkonen to list of Finnish translators.
3434 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3437 Adjust minimum required GTK version.
3438 * src/Makefile.am, wscript:
3439 Add main.h to the list of installed header files.
3440 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3441 src/notebook.c, src/ui_utils.c:
3442 Remove GeanyDocumentPrivate::tabmenu_label.
3443 Disable the default tab bar menu for the main notebook widget and
3444 use a custom menu instead which lists all open files as usual plus
3445 'Close Other Documents' and 'Close All' menu items.
3448 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3450 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3451 Move ui_set_search_entry_background() into ui_utils.c.
3452 Change the background colour of the search entries in the Find
3453 and Replace dialogs according to the search results like in the
3454 toolbar search field.
3455 Add images to the 'Replace' and 'Replace and Find' buttons in the
3457 Minor cleanups in search.c.
3458 * tagmanager/tm_source_file.c:
3459 Update source files upon creation.
3461 Update C tags for glibc 2.9.
3462 * src/callbacks.c, src/toolbar.c:
3463 Fix broken non-incremental search with the toolbar search entry when
3464 pressing Enter (closes #2638180).
3465 * plugins/splitwindow.c:
3466 Fix possible crash on non-32-bit systems (patch by
3467 Wolfgang Ocker, thanks).
3469 Update the Packager tag due to Dominic's various contributions.
3470 Update description and feature list.
3471 Change Source tag to the gzip'ed tarball to be in sync with the
3472 Makefile target (thanks to Wolfgang Ocker for reporting).
3475 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3477 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3478 Removed deprecated plugin VC Diff
3481 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3484 Fix wrong Fortran 90 comment characters when inserting templates.
3485 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3486 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3487 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3489 Add 'Send Selection to Terminal' command to the Edit->Format menu
3490 (initial patch by David Gleich, thanks).
3491 * geany.glade, src/interface.c:
3492 Fix mnemonic for the Edit->Preferences menu item.
3495 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3497 * configure.in, plugins/Makefile.am:
3498 Enable socket support when cross-compiling.
3499 Enable plugin compilation when cross-compiling.
3501 Fix missing NULL checks when reading the colour value of compiler
3503 * src/main.c, src/win32.c, src/win32.h:
3504 On Windows, change the working directory to the Geany installation
3505 path at startup to avoid unwanted directory locking(closes #2626124).
3507 Fix broken selection of "Document->Set Encoding" menu items.
3508 * src/document.c, tagmanager/include/tm_source_file.h,
3509 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3510 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3511 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3512 Don't let the tagmanager automatically reparse files if they
3513 seem to be changed on disk (affects all files in the current session,
3514 not the current one). This should speed up file saving a little bit,
3515 especially with remote files.
3516 Remove now unnecessary calls to tm_workspace_update().
3518 Allow an empty value for the date format in the print settings to
3519 omit the date/time string in the print header.
3522 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3524 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3528 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3531 Add missing header include (closes #2615808).
3534 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3537 Fix a possible crash when comparing symbol names
3538 (could be related to Ubuntu bug #147151).
3539 Fix broken symbol list tooltips when tag names contain ampersands.
3542 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3544 * plugins/makefile.win32:
3545 Don't build Split Window plugin on Windows (doesn't work).
3548 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3550 * ChangeLog, Makefile.am: Rotate ChangeLog.
3551 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3552 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3553 Post-release version bump.
3556 *** See ChangeLog.pre-0-17 for earlier changes ***