Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

8882 lines (6370 sloc) 344.161 kB
2008-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/js.c:
Make property tags be recognised in the symbol list.
* src/document.c, src/navqueue.c, src/navqueue.h:
Clean related navigation queue items when closing a document.
* New release: Geany 0.14 "Selit".
2008-04-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Move 'Switching between documents' from prefs Interface section into
new Documents section.
Remove repeated title text of preference dialog tab sections.
Edit preferences descriptions for clarity.
Comment out some unexplained General preferences.
Fix some prefs typos, add some links and expand some descriptions.
Correct some wrong preferences descriptions (e.g. Back/Forward
2008-04-18 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, NEWS, src/about.c:
Added Chikahiro Masami as new translator for Japanese translation.
2008-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/navqueue.c, src/plugindata.h, src/navqueue.h, src/plugins.c,
Add navqueue_goto_line() to plugin API.
Make navqueue_goto_line() store document filename instead of
tagmanager filename (patch by Yura Siamashka, thanks).
This makes it also possible to add navigation history items for files
without a tagmanager filename.
* tagmanager/make.c:
Improve Makefile parser for better parsing of targets
(from CTags' patches tracker, for reference this is patch v3).
2008-04-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, NEWS, src/about.c, po/LINGUAS, po/ro.po:
Added Romanian translation (Thanks to Alex Eftimie).
2008-04-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/callbacks.c, src/callbacks.h, NEWS,
Make pressing escape in the sidebar focus the editor.
Group toolbar GtkEntry escape key checks into a common callback.
* src/main.c:
Refactor handle_cl_filename() from open_cl_files().
* src/callbacks.c:
Fix geany_debug() warnings with Close All.
* src/keyfile.c, src/plugins.c, src/plugins.h:
Move plugin keyfile pref saving and loading to plugins.c.
* src/plugindata.h, src/geany.h, src/plugins.c, src/main.c:
Remove active_plugins from GeanyApp.
* src/plugins.c, NEWS:
When quitting, remember plugin filenames that couldn't be loaded at
startup as well as active plugins.
2008-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/images/pref_dialog_gen.png:
Update for 0.14.
* plugins/makefile.win32, scintilla/makefile.win32, src/makefile.win32,
Add DEBUG flag to all Windows makefiles to make it possible to build
with debug symbols and without optimizations also on Windows
(using make DEBUG=1).
2008-04-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h:
Fix wrong return value for on_close_all1_activate() callback.
Fix broken Close All command by not double checking for validity
of a document.
Remove "documentation: preferences" item as it has been mostly done
by Robert McGinley.
2008-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, doc/geany.txt, doc/geany.html:
Add documentation for several options in the preferences dialog
(patch from Robert McGinley, thanks).
* src/filetypes.c, src/ui_utils.c:
Revert the translatable filetype name of filetype All, add a
workaround in ui_update_statusbar() instead.
* data/filetypes.xml, src/highlighting.c:
Update PHP keywords (closes #1939931).
2008-04-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/filetypes.c: Make another string translatable. Thanks to Adrovane
Kade for reporting.
2008-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Fix a couple of wrong or missing checks to prevent auto completion
in comments in several filetypes.
* THANKS, scripts/create_php_tags.php, data/php.tags:
Add script to generate PHP tags file (by Matti Mårds, thanks).
Update PHP tags file to latest PHP API docs (closes #1888691).
* src/navqueue.c, src/utils.c, src/utils.c:
Make navigation queue position based to restore the line and column
when returning to a previous position (closes #1936927).
2008-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/ui_utils.c: Make some more strings translatable. Thanks to
Adrovane Kade for reporting.
2008-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Add an explicit check for a C++ compiler (#1938040).
* plugins/
Avoid linking plugins against GTK libraries which seems unnecessary.
2008-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/document.h, src/main.c, src/project.c:
Add document_new_file_if_non_open() to open new documents if no
other documents are open.
* src/editor.c:
Backport a bugfix from Scite to fix folding problems.
*, scripts/, po/
Move script back to po directory to not have to
include the scripts directory in the distribution.
* src/win32.c:
Fix compiler warnings by correct type casting.
* src/symbols.c:
Fix possible crash by an uninitialized variable.
2008-04-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS: Added Dominic Hopf to list of translation supporters.
2008-04-04 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Fix issue on make dist with
* scripts/ Make help output better readable if there are
not enough arguments given.
2008-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Make Close All check for unsaved documents first before closing any,
so that clicking cancel keeps all documents open.
This also prevents the UI from not being updated after cancelling
Close All.
* NEWS, plugins/filebrowser.c:
Add configurable keybindings for focusing the Path Entry and File
Refactor load_settings() from init().
2008-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c:
Fix missing menu accelerators for default keybindings on startup.
Fix too small dialog window when showing the keyboard shortcuts
dialog from the help menu.
* src/plugins.c:
Show warning about ABI mismatch when loading plugins in the status
message window to avoid confusion about missing plugins.
2008-04-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Fix GTK warnings in open file dialog by using a positive response ID
for the View button.
* src/callbacks.c, src/main.h, src/project.c:
Ignore notebook_switch_page signal handler when closing projects
to speed it up a little bit with many session files.
* po/, scripts/
Move script to scripts directory and make it working
from top source directory.
* src/document.c:
Avoid setting line number margin twice when creating new tabs, also
don't call gtk_notebook_set_current_page() explicitly as it isn't
*, src/interface.c:
Make the notebook tabs in the messages window scrollable.
2008-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/plugins.c,
Move Load Tags item from File to Tools menu.
Capitalize Page Setup item.
Add separator before Plugin Manager item.
* src/navqueue.c, src/msgwindow.c:
Make navqueue_goto_line() ignore an invalid old document index, and
ignore any documents that don't have a tagmanager work object.
Make Next Error and Next Message commands add positions to the
navqueue, so the user can return to where they were and also so they
can move backwards through error and message items.
2008-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/interface.c, src/vte.c, plugins/export.c,
Add missing mnemonics (except for 3 popup menu items, ran out of
Capitalize some menu items.
* src/interface.c,
Add 3 remaining mnemonics for popup menu, copy Insert include
mnemonic - even though these have conflicts, just let GTK toggle
between them.
2008-03-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Unfold hidden code when the fold point modified
(e.g. commented out, fixes #1923350).
Add datadir and localedir to Geany's pkgconfig file.
* src/callbacks.c:
Fix usage of wrong pointer when showing the toolbar popup menu.
2008-03-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/vcdiff.c:
Rename VCDiff plugin Version Diff.
* src/plugindata.h:
Document most of GeanyData, add links to files.
Make PluginData alias deprecated.
* src/utils.c:
Fix getting asked whether to reload a file twice, when a disk check
is forced immediately after a disk check has been done.
* src/document.c:
Split document_create_new_sci() into document_create() and
Rename filename parameter utf8_filename.
* src/keybindings.c:
Check file on disk for changes (with timeout) when pressing a key.
* src/keyfile.c:
Ignore documents with no absolute path when saving session files.
* src/build.c:
Fix segfault with Run command when a project is open and the current
file's filetype has no run command.
2008-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/*, scintilla/include/*:
Update Scintilla to version 1.76.
* scintilla/include/Scintilla.iface:
Add this file for plugin authors.
* plugins/vcdiff.c:
Fix two memory leaks and prevent showing two dialog boxes with the
same error message.
* src/document.c, src/win32.c, src/win32.h:
Add support for resolving Windows shortcuts when opening files and
open the shortcut's target.
2008-03-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/pluginmacros.h:
Rename p_filetype p_filetypes to keep the symmetry with filetypes_*,
and define it also when GEANY_DISABLE_DEPRECATED is not set.
Add note about not appending to structs like KeyBindingGroup and
* src/plugindata.h, doc/plugin-symbols.c, doc/plugins.dox, plugins/*.c:
Rename VERSION_CHECK PLUGIN_VERSION_CHECK, but keep a deprecated
alias so outside plugins still compile.
Update our plugins to use this.
2008-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c, src/plugindata.h:
Add document_set_filetype() and filetypes_get_from_uid() to
the plugin API.
* plugins/pluginmacros.h:
Add p_filetype.
2008-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix Python auto-indentation when line endings are set to CR/LF.
* src/keybindings.h, src/plugindata.h:
Add note about allowing appending of keybindings to groups without
breaking the API.
Undo unnecessary ABI change.
* src/plugindata.h:
Redo ABI change (it was for r2389 editor.h change, oops).
* src/symbols.c:
Make Go to Tag commands look for the tag in the current document
before searching the workspace.
Fix memory leaks when using tm_tags_extract().
2008-03-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.common, doc/geany.txt, doc/geany.html,
Add styles to customize line and search marker and add
translucency setting.
* tagmanager/make.c, src/symbols.c:
Update Makefile parser from CTags SVN and improve it to detect
targets in Makefiles.
*, src/interface.c, src/prefs.c, src/prefs.h, src/keyfile.c
src/callbacks.c, src/search.c, src/editor.c, src/editor.h,
Add preference for not using the current word under the cursor when
opening Find dialogs.
* src/keybindings.c, src/keybindings.h, src/plugindata.h:
Add shortcut to switch to the sidebar.
* src/ui_utils.c:
Small improvement in counting changed documents for Save All update.
2008-03-23 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* doc/plugins.dox: Fix a little typo that prevents docu from being build.
2008-03-22 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Adjusted email of Brahmann.
2008-03-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
When opening the manual on the website, include version string to
ensure the appropriate manual version is shown.
* src/prefix.h, src/main.c, src/, doc/
Use configure's --docdir option when installing and using the
* data/snippets.conf:
Add better "for" completion for Python.
* tagmanager/tcl.c, src/symbols.c:
Update TCL parser from CTags SVN which adds new symbol types for
classes and methods (closes #1918748).
* data/snippets.conf:
Add missing colon to "for" snippet for Python and set cursor position
(thanks mamaar on IRC).
* src/win32.c:
Fix crash on Windows due to missing error message when a process
spawning fails.
* src/treeviews.c:
Allow selecting items in the symbol list by pressing Enter or Space.
2008-03-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
When closing tabs that were opened left-to-right, don't temporarily
focus the previous tab when closing tabs, to prevent unnecessary
checking for disk changes.
* src/win32.c, src/dialogs.c, src/document.c, src/document.h:
Only use filetype detection after Save As, not on every save when the
filetype is None (fixes #1891778).
* src/dialogs.c, src/document.c:
Replace untitled file header filename after Save As and add to recent
files on Windows too.
* src/utils.c:
Fix asking detect reload question again if the user doesn't respond
within 10 seconds (oops).
2008-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* HACKING: Add note and link for GTK 2.6 API docs.
2008-03-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/plugin-symbols.c, doc/, doc/plugins.dox:
Move plugin symbols page into separate source file so that symbols
are listed as variables and functions and are autolinked.
Edit plugin symbols description, document some function parameters.
* doc/plugins.dox:
Add page links on the main page (easier than going to Related Pages,
and we can also list special files like plugin-symbols.c).
* src/utils.c:
When detecting a change on disk, reload the file after all pending
Scintilla messages have been processed, to prevent problems with
partial colourisation.
* src/symbols.c:
Fix bug with showing macro list items all on one line.
* src/plugins.c:
Load and save plugin keybindings when toggling plugins in the Plugin
* doc/geany.txt, doc/geany.html:
Update configurable keybindings section for new plugin groups
Move scroll by one line shortcuts to configurable keybindings
2008-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Set mnemonic for Plugin Manager.
Use GTK_RESPONSE_CANCEL for Plugin Manager dialog so pressing escape
closes the dialog.
2008-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c, src/symbols.c, src/symbols.h:
Save sorting order of the symbol list when saving a file (#1917262).
* data/filetype_extensions.conf, src/filetypes.c:
Add ".xhtml" extension for filetype XML (#1914587).
2008-03-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Add a note about column mode editing.
* src/editor.c:
Fix broken auto multiline comment with files in CR/LF mode.
* src/win32.c:
Fix encoding problems with project file dialogs.
* src/plugins.c:
Rework internal handling of plugin/module loading.
At startup, only load enabled plugins, all others are only loaded
when the plugin manager is opened and get completely unloaded when
it is closed.
* data/filetypes.caml, data/filetypes.cpp, data/filetypes.c,
data/filetypes.d, data/filetypes.fortran, src/build.c:
Remove old and useless code from build_link_file().
Don't add "-o" compiler option automatically instead make it
configurable through linker command.
* data/filetypes.python, src/highlighting.c:
Add additional keyword group for python and slightly change the
foreground colour for style "word2".
*, src/dialogs.c, src/interface.c:
Fix modal dialog problems on Windows by not setting taskbar hint
(closes #1916994).
2008-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/projects.c: Fix wrong directory when choosing project filename
in the New Project dialog.
* scintilla/Editor.cxx: Add (basic) column mode editing, pasting text
does not work. Patch by chuck, thanks.
2008-03-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Set main menu accelerators for keybindings.
* src/keybindings.c, src/keybindings.h, src/plugindata.h,
Make KeyBinding name and label fields non-const strings so they can
be freed by any plugins that need to use malloc'd strings.
Document KeyCallback typedef.
Replace Plugins chapter with 'Writing plugins' section.
Add generating plugin API documentation section.
Replace 'Modifying data types' with 'Keeping the plugin ABI stable'
Add note about using -ansi.
2008-03-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ Add prefs.h to the list of installed header files.
* src/win32.c: Fix crashes on Windows when error argument of
utils_spawn_* is NULL.
* src/build.c, src/win32.c, src/win32.h:
Add win32_get_exit_status() to retrieve the exit code from a
command on Windows (code moved from build.c).
* Add pkg-config file and new include directory to the
files section (thanks to Dominic Hopf).
* src/tools.c:
Fix freeze when reading from stderr when using "Send Selection To".
Don't modify current selection if the executed command returned error
messages and/or an unsuccessful exit code.
Improve error reporting when using "Send Selection To" (#1909452).
2008-03-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, doc/plugins.dox:
Update documentation for plugin_key_group[] to mention declaring it
* src/keybindings.c, src/keybindings.h, src/plugins.c, doc/plugins.dox:
Check plugin keybinding group name is valid.
Ignore plugin keybinding groups with no elements defined.
* src/utils.c, src/document.c:
Fix Doxygen undocumented parameter warnings.
2008-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, src/search.c:
Use monospace font for text entry fields in search dialogs and add
a notice how to change the used font (#1907117).
* src/plugins.c: Don't load all available plugins on startup, it's only
necessary opening the plugin manager.
* src/keyfile.c, src/search.c:
Use the default values for various tools if they don't exist in the
config file instead of using g_find_program_in_path(), patch by
Yura Siamashka (thanks).
Fix executable check for grep command.
* scintilla/include/, src/, plugins/,
Install header files and add a pkg-config file for external plugins.
*, src/interface.c:
Add missing accelerator for string "Toggle All Additional Widgets".
* plugins/htmlchars.c: Use a separate string for keybinding label to
avoid display of an underscore.
* src/callbacks.c, src/tools.c: Fix compiler warnings about
uninitialized variables.
2008-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/keybindings.c, src/keybindings.h,
src/tools.c, src/prefs.c, src/plugindata.h, src/callbacks.c,
src/plugins.c, src/main.c, doc/plugins.dox, plugins/filebrowser.c,
Merge plugin-keybindings branch:
Change keybindings code to use keybinding groups, each with a
separate enum set, which will make the plugin ABI more stable, and
lay the groundwork for plugin keybindings support.
Note: this breaks the plugin API.
Rename keybindings_cmd() to keybindings_send_command(), which now
takes a group_id argument.
Add keybindings_lookup_item().
Add documentation for keybindings structs.
Add support for plugin keybindings using the PLUGIN_KEY_GROUP()
Add a plugin keybinding for 'Insert Special HTML Characters'.
Rename KBCallback, cmd_id, cb_func with clearer names.
Add KeyBinding::menu_item field for setting accelerators (currently
does nothing).
Load keybindings keyfile after plugins have loaded at startup, so
their shortcuts are also loaded. Still to do: loading individual
plugin keybindings after startup.
Group most keybinding callbacks together according to keybinding
Add keybindings_set_item() and add it to the plugin API.
Set main menu widget accels with keybindings_set_item() - they are
ignored for now. Popup menu accels are set separately.
* doc/geany.txt, doc/geany.html:
Update 'Filtering out version control files' section for new versions
of GNU Grep.
* src/keybindings.c:
Fix bug with keybindings using check_current_word().
2008-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Use SCI_SETSCROLLWIDTHTRACKING to improve horizontal scrollbar
behaviour by always adjusting to the longest line (part of #1905141).
* src/filetypes.c, src/symbols.c, tagmanager/parsers.h,
tagmanager/makefile.win32, tagmanager/html.c, tagmanager/
Add HTML parser to get h1, h2, h3 symbols as well as link anchors and
JavaScript functions (closes #1896068).
2008-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/, doc/
Use doxygen option QUIET to disable non-warning messages instead of
redirecting output to /dev/null.
* src/keyfile.c:
When opening session files, don't try to set document properties if
the document can't be opened.
* data/filetypes.common, doc/geany.html, doc/geany.txt,
src/highlighting.c, src/sciwrappers.c:
Add opton to style "caret" to change the caret into a block caret.
Add new styles "translucency", "line_wrap_visuals" and
"line_wrap_indent" to filetypes.common (#1905141).
2008-03-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Apply patch from Jeff Pohlmeyer (thanks) to fix toggle case with
rectangular selections (works only for Ascii characters).
2008-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/filetypes.h, src/symbols.c:
Apply patch from Yura Siamashka to use she-bang filetype detection
also in filetypes_detect_from_filename() which let plugins benefit
from this feature.
* src/document.c:
Don't open zero byte sized files read-only (e.g. files in /proc).
* src/symbols.c, tagmanager/fortran.c, tagmanager/keyword.c,
tagmanager/js.c, tagmanager/asm.c, tagmanager/c.c:
Backport js.c and asm.c from CTags SVN.
Fix Assembler tagmanager support and add appropriate symbol types.
Fix JavaScript parse bug (#1895242).
Change default return value of lookupKeyword() in keyword.c as it was
done in CTags SVN(r339) and adjust affected parsers.
2008-03-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/fortran.c, src/symbols.c:
Adjust available symbol types between Fortran parser and symbols.c to
make some more of the possbile symbol types available.
2008-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/utils.h, tagmanager/parse.h:
Replace unsigned long in guint64 and use int instead of off_t
(patch by Daniel Richard G., thanks).
* src/sciwrappers.c: Make Scintilla remember the current column when
changing the cursor position (#1902732).
2008-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/*, scintilla/*, src/*, tagmanager/*:
Replace all C++-style comments with usual C-like multi-line comments.
* src/keybindings.c: Fix ignoring of some keybindings when caps lock is
active (introduced in r2253).
* src/document.c, src/utils.c, src/utils.h:
Fix a few more compiler warnings (type conversion warnings).
* src/utils.c, src/win32.c, src/win32.h:
Apply patch from Pierre Joye to improve new Win32 process spawning
code (thanks).
*, TODO:
Enable startup notification in desktop entry file and remove it from
TODO list.
2008-02-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Move symbols_global_tags_loaded() out of styleset_common().
* src/symbols.c:
Load ignore.tags even when global tags loading is disabled on the
command-line, so that local tags in each open file can be ignored.
2008-02-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
When closing a tab when using left-to-right tabs, focus the next
document, not the previous.
* src/search.c, src/document.c:
Don't beep when using Replace All in Session unless all open files
have no replacements (fixes #1893796).
2008-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/options.c, src/symbols.c, src/symbols.h:
Define c_tags_ignore in options.c (tagmanager) instead of symbols.c.
Apply patch from Yura Siamashka to add a check for the presence of
fnmatch(), thanks.
* THANKS, plugins/vcdiff.c, src/plugindata.h, src/plugins.c,
src/utils.c, src/utils.h, src/win32.c, src/win32.h:
Apply patch by Pierre Joye to add new process spawning implementation
for Windows. Make utils_spawn_* available to plugin API.
This makes the VCdiff plugin to work on Windows (thanks).
* makefile.win32:
Make the make command overwritable, patch by Pierre Joye. Thanks.
2008-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/options.c:
Use extern for c_tags_ignore declaration to avoid allocating a
second copy of it (patch by Daniel Richard G., thanks).
* src/callbacks.c, src/search.c, src/document.c, src/editor.c,
Don't scroll the editor view if it is unnecessary when using Find
Next/Previous, Find Selected and when searching from the search bar.
* src/keybindings.c, src/sciwrappers.c:
Don't scroll the editor view if it is unnecessary when using Go to
Marker or Go to Matching Brace commands.
Make sci_set_current_line() not scroll the view, unlike
2008-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/, src/
Fix more cross-compiling issues including little cleanup.
2008-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, src/editor.c, src/editor.h,
Rename hidden pref auto_complete_whilst_editing to
2008-02-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/*, src/*, tagmanager/*:
Apply patch from Daniel Richard G. to fix to fix several
compiler warnings, C89 violations and minor code problems (thanks).
*, scintilla/ScintillaGTK.cxx, src/
Apply patch from Yura Siamashka to fix cross-compiling (thanks).
2008-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Apply patch from Jeff Pohlmeyer to mark the VTE also as
clean when Ctrl-C is pressed (thanks).
* src/socket.c: Fix compiler warnings on Windows.
* doc/geany.html, doc/geany.txt, src/symbols.c, src/symbols.h,
Add support for reading tags(only for C/C++) from a file which should
be ignored while parsing the file (ctags command line option -I).
2008-02-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/, doc/, doc/plugins.dox,
src/dialogs.c, src/dialogs.h, src/document.c, src/document.h,
src/encodings.c, src/encodings.h, src/plugindata.h, src/utils.c,
Add support for generating API reference documentation using doxygen.
This is the first step, it is far away from being complete.
Add make target "api-doc" to generate the reference documentation.
Add documentation comments to a few functions.
Move basic plugin documentation from plugindata.h to doc/plugins.dox.
2008-02-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt:
Fix slightly wrong documentation for show_editor_scrollbars.
* THANKS, doc/, doc/geany.html, doc/geany.txt, src/main.c:
Apply patch from Daniel Richard G. to add support for +NNN command
line arguments and for recognising filename:line:column: format on
the command line (thanks).
2008-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c: Fix parsing bug when there is text after the
end of a multi line comment (closes #1894084).
* src/socket.c: Apply patch from Daniel Richard G. to update some
source code comments (thanks).
* doc/geany.html, doc/geany.txt, src/document.c, src/editor.h,
Add hidden preference to disable scrolling past end of document.
2008-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.h: Fix broken compilation with GTK < 2.10.
* src/document.c, src/encodings.c, src/treeviews.c, src/vte.c:
Fix some compiler warnings.
2008-02-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/search.c, src/ui_utils.c:
Allow using Find In Files dialog even if no files are open
(closes #1891818).
* src/main.c, src/socket.c:
Allow start of Geany with given files on the command line but
without a writable temporary directory and without a writable
configuration directory.
Improve filename of created symlink to the socket file.
* src/document.c: Don't force unique line ending characters when saving
files to avoid unexpected saving behaviour.
* src/keybindings.c, src/keybindings.h, src/prefs.c:
Use a modifiers mask to ignore unwanted modifiers(caps lock,
num lock) when handling key presses (maybe fixes #1891276).
* src/dialogs.c:
Fix compiler warnings.
Improve Save As dialog usability problems.
2008-02-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS: Added Nikita E. Shalaev to list of
Russian translaters.
2008-02-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/navqueue.c, src/navqueue.h, src/symbols.c, src/treeviews.c:
Apply patch from Yura Siamashka to fix wrong navigation queue items
* src/editor.c:
Add workaround for a Scintilla bug in HTML/PHP lexer which styles the
last line of document wrong when in PHP mode.
* README.Packagers: Add some notes for package maintainers.
* src/socket.c:
Use a random integer as part of socket file name instead of current
time stamp.
Before creating a new socket, delete a maybe existing socket and its
Apply patch from Daniel Richard G. to include the hostname in the
socket filename (thanks).
* src/utils.c, src/win32.c, src/win32.h:
Add support for getting hostname on Windows.
2008-02-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c:
Fix crash on Windows when a project could not be opened.
* src/win32.c:
Remove prefix from win32_get_file_filters() and win32_get_filters().
Fix some encoding problems with filenames retrieved from the native
Windows file dialogs.
* src/sciwrappers.c:
Fix wrong placement of long line marker (closes #1889392).
2008-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/ Fix typo (thanks Slava Semushin for reporting).
* scintilla/include/Platform.h:
Use a better check for PLAT_GTK_WIN32 (backport from Scintilla CVS).
* src/socket.c:
Create the Unix Domain Socket for detecting a running instance in
system's tmp directory and create a symlink to it in Geany's
configuration directory (closes #1888561).
* src/socket.c:
Include display number for the filename of the symbolic link to the
real Unix Domain Socket file (closes #1888565).
2008-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/autosave.c, plugins/filebrowser.c:
Make forgotten strings translatable.
2008-02-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/include/Platform.h: Fix definition of PLAT_GTK_WIN32 on
Windows to fix Copy&Paste problems.
* New release: Geany 0.13 "Vensell".
*, geany.nsi, geany_private.rc, win32-config.h,
src/geany.h: Post-release version bump.
2008-02-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
List Cut, Copy, Paste keybinding descriptions.
* src/plugindata.h, src/plugins.c:
Add sci_get_current_line() to plugin API.
Add ui_table_add_row(), ui_path_box_new() to plugin API (thanks to
Yura Siamashka).
* doc/geany.txt, doc/geany.html, NEWS:
Show default shortcuts in Keybindings section.
* src/plugindata.h, src/plugins.c:
Add ui_button_new_with_image() to plugin API.
2008-02-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, images/*: Update images for 0.13.
* src/geany.h: Reduce minimum window size to 550x350 (closes #1883367).
2008-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html, NEWS:
Add Indentation subsection under Editor section.
* doc/geany.txt, doc/geany.html, NEWS:
Update Project section for project-based session support.
2008-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/autosave.c: Fixed a little typo
(Thanks to Jeff Bailes for reporting)
2008-01-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Fix saving project session from a 2nd instance of Geany.
* data/global.tags:
Update for GTK+ 2.12.5.
This also adds return type modifiers like const and *.
Command used (on Fedora 8):
'CFLAGS=`pkg-config --cflags gtk+-2.0` geany -g gtk-2.12.c.tags
2008-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c:
Open a new, empty file when closing a project and no session files
are available or when opening a project without stored session files.
Close all open files when opening projects.
* src/printing.c: Fix losing line breaks when printing a file with LF
line endings and a non-Ascii character at the end of
a line.
2008-01-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Allow case sensitive replace when the replace string varies only
in case.
* src/keybindings.c, src/keybindings.h:
Rename binding type KeyBinding.
* src/search.c:
Factor out get_search_flags() from Find, Replace dialog response
2008-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/pluginmacros.h, src/plugindata.h, plugins/*.c:
Add new macros for plugin API functions that use a 'p_' prefix to
prevent conflicts with other tags whilst keeping the same first word
as core function names, and update plugins to use them.
The old plugin macros are still available, but will be removed
after the next release.
Compiling with -DGEANY_DISABLE_DEPRECATED in CFLAGS will disable
the old macros.
2008-01-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/printing.c:
Fix crash on Windows when printing an untitled file.
Fix black line number margin when printing by using also pre-defined
2008-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Remove unnecessary save of project keyfile.
* src/callbacks.c, src/main.c:
Close any project before closing all documents so the project
session files are saved.
2008-01-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geanywraplabel.c, src/geanywraplabel.h:
Move class and label structs to geanywraplabel.c.
Override widget functions instead of using event handlers
(trying to fix #1869399).
* src/prefs.c: Fix wrong placement of descriptive texts in Templates
and Tools tabs in the preferences dialog.
* src/callbacks.c, src/main.c, src/prefs.c, src/treeviews.c,
src/ui_utils.c, src/ui_utils.h:
Rename ui_treeviews_show_hide() in ui_sidebar_show_hide().
Don't hide sidebar when symbol and document lists are hidden but
other notebook tabs are still there.
2008-01-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c, po/el.po, po/LINGUAS:
Add Greek translation (thanks to Stavros Temertzidis).
2008-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c,
Split up Prefs dialog General tab options into Startup, Shutdown
and Projects frames.
Rename 'Load and save session files...' option 'Use project-based
session files'.
2008-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.ruby, src/editor.c, src/highlighting.c:
Add two missing highlight styles to filetype Ruby.
Enable comment/uncomment for POD-like comments for filetypes Ruby
and Perl.
2008-01-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c, src/keyfile.c, src/prefs.c,
src/project.c, src/project.h:
Add option for project session files support.
* src/encodings.c, src/encodings.h, src/plugindata.h, src/plugins.c:
Add encodings_get_charset_from_index() and make it available through
plugin API.
2008-01-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix hidden lines after deleting a line that is a collapsed fold
* tagmanager/c.c:
Fix parsing D constructor tags.
2008-01-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c:
Don't unlink the old file if renaming failed.
2008-01-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/search.c, src/editor.c, src/editor.h:
Make 'Open Selected File' first try the current file's directory,
falling back to the project base path if no file was found.
Add editor_get_default_selection() from get_default_text() in
search.c, to get the current selection or current word.
2008-01-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/project.c:
Save project session file list when project is closed.
Don't load default session files in a second instance after a project
was closed.
Fix not updating symbol list (and other things) when changing tabs
after a project was opened or closed in a second instance.
2008-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c:
Try to fix changing message window height when using full screen
(closes #1869415).
* src/printing.c:
Avoid double status message if print dialog was cancelled.
Print status messages in status-changed handler.
*, po/POTFILES.skip:
Add POTFILES.skip to ignore files with translatable strings.
Make "distcheck" working.
* src/editor.c:
Don't add '>' when auto completing HTML tags when it's already there.
Fix wrong indentation when '{' and '}' are on the same line.
2008-01-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h, doc/geany.txt,
Add 'Make in base path' project file preference, on by default.
Add project_get_base_path(), separated from project_get_make_dir().
* src/dialogs.c, src/plugindata.h, src/document.c,
tagmanager/tm_project.c, tagmanager/tm_workspace.c,
Apply patch from Yura Siamashka to speed up removing several
workspace object's tags without updating the workspace until
necessary (thanks).
2008-01-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: Fix broken Rename functionality (closes #1868621).
* src/printing.c:
Fix crash while reading Scintilla styles.
Add GTK's progress dialog when printing large documents which also
provides the ability to cancel a print operation.
* plugins/export.c:
Fix crash while reading Scintilla styles.
Append "_export" to the exported file name when the exported file has
the same extension as the source file.
2008-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Hopefully fix bug with Cut/Copy/Paste KB not working (#1867861).
* src/prefs.c, src/keyfile.c, src/vte.c, doc/geany.txt, doc/geany.html:
Add 'Override Geany keybindings' VTE prefs dialog option (replaces
hidden pref), and make it off by default.
2008-01-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Edit base path entry tooltip for clarity.
Use stock close button in close project prompt.
Allow the base path to be empty, so that users can use the current
file's directory for the Make command (but still use project session
support). In future, perhaps it would be good to have a separate Make
path setting for projects.
2008-01-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/geanywraplabel.c, src/geanywraplabel.h,
src/interface.c, src/plugins.c, src/prefs.c, src/vte.c,
src/, src/makefile.win32:
Add GeanyWrapLabel (subclass of GtkLabel) to wrap text at any width.
Use GeanyWrapLabel in preferences dialog and plugin manager dialog
to save a lot of space and improve layout of descriptive texts.
* src/msgwindow.c:
Add workaround for display problem in Message window:
Truncate displayed string at 1024 bytes if it is longer.
* src/utils.c, src/win32.v:
Fix compile error on Windows.
Don't use _waccess_s since it seems to be unavailable in MingW32.
2008-01-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi, geany_private.rc, README, doc/geany.html, doc/geany.txt,
po/, plugins/*, src/*, tagmanager/rest.c:
Update copyright information and change format of email addresses in
source files.
* src/project.c, src/utils.c, src/utils.h, src/win32:
Add utils_is_file_writeable().
Improve checks for write permission of files and directories.
Don't overwrite maybe existing project files when trying to create
new project and checking for project file's write permission
(thanks to Yura Siamashka for reporting and his patch).
2008-01-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/pluginmacros.h:
Remove filetype macro to avoid naming conflicts.
2008-01-04 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS: Changed Ukrainian language code to just uk to
make it better fit with po-file-directory.
2008-01-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c, po/ja.po, po/LINGUAS:
Adding of Japanese translation (Thanks to Tarot Osuji).
2008-01-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* README, src/makefile.win32:
Add -lshfolder to linker flags on Windows.
Add notice for Win9x users to install SHFolder.dll.
* plugins/pluginmacros.h, src/plugindata.h, src/plugins.c,
src/project.h, src/symbols.c: Patch by Yura Siamashka:
Add project type field.
Go to tag definition/declaration will open the file with the tag if
it isn't already open.
Add some utils and tagmanager functions to the plugin API.
2008-01-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Ignore D import statements.
* plugins/filebrowser.c:
Use documents->open_files() as it's more efficient when opening
multiple files and existing files are open for filetypes with
typename colouring.
* src/search.c:
Add mnemonics for Find All, Replace All expanders in dialogs.
Fix Find dialog mnemonic conflict _f.
2007-12-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/basic.c:
Don't parse in comments and fix wrong creation of tags including
non-tag characters(e.g. '=' sign).
* src/document.c: Avoid crash on Windows with enabled debug messages.
* src/main.c, src/win32.c, src/win32.h:
Add debug console window when debug mode is enabled to get any text
messages on Windows.
Fix wrong argument in win32_check_write_permission()
(reported by Jeff Pohlmeyer, thanks).
* src/main.c, src/win32.c, src/win32.h:
Create Geany's configuration directory in user's appdata path instead
of the default home directory (closes #1856305).
* src/geany.h, src/project.c: Remove unnecessary macro GEANY_HOME_DIR.
2007-12-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Refactor with functions: check_single_selection(),
is_folder_selected(), get_tree_path_filename() and separate menu
item callbacks.
Rename "Open with..." popup item "Open externally" ("..." is usually
used when the user can input more information).
* plugins/filebrowser.c:
Disable popup menu items when there is no selection.
2007-12-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, src/filetypes.c:
Add *.vala extension to CSharp filetype to support the Vala language.
2007-12-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/plugindata.h:
Add configurable keybindings for Cut, Copy and Paste.
2007-12-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c: Fix inverted move tab first/last commands.
* src/templates.c:
Add Python filetype template (patch by Elena of Valhalla, thanks).
* src/main.c:
Enable parsing command line options without a valid X display.
2007-12-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
Add combo box input history for Make Custom Target dialog.
Make dialogs_show_input() automatically activate on pressing enter in
the GtkEntry, use a callback for input text, and have a 'persistent'
option to hide the dialog instead of deleting it, using a combo box
for input text history.
* src/utils.c:
Make utils_get_utf8_from_locale(), utils_get_locale_from_utf8()
* src/utils.c, src/win32.c, src/utils.h, src/win32.h, src/dialogs.c,
Make Open, Save As dialogs start in project base path (or default
path pref) when the current file has no filename.
Split up widget setup code for dialogs_show_open_file(),
Add initial_dir argument for win32_show_file_dialog().
Add utils_get_default_dir_utf8().
Rename utils_get_current_file_dir() to
2007-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* TODO, src/main.c: Apply patch Jeff Pohlmeyer to handle unknown
command line options better (thanks).
* HACKING, src/, src/main.c, src/makefile.win32,
src/plugins.c, src/prefix.h, src/symbols.c:
Prefix autotools macros with GEANY to avoid problems with already
defined symbols on Windows.
2007-12-18 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS, po/uk_UA.po, po/LINGUAS:
Added Ukrainian translation (Thanks to Boris Dibrov).
2007-12-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Don't install pixmaps/geany.ico by default.
* Fix mandir path and don't delete icons
(patch by Yura Siamashka, thanks).
* src/
Add PREFIX macro.
Don't construct LOCALEDIR manually but use autotools $(localedir)
variable instead.
* HACKING: Add note about using autotools macros like DATADIR.
* doc/, doc/geany.html, doc/geany.txt, src/main.c:
Add --print-prefix command line option to output installation paths.
2007-12-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Fix parsing C arrays (broken in r1952, oops).
* src/keybindings.c:
Don't flicker menubar when typing Shift-[a-z] in the VTE.
* tagmanager/entry.h, tagmanager/c.c:
Remove unused pointerOrder code from C parser, as it's not necessary
since r1952, and not in the standard ctags code. Leaving it in the
TagManager code however for backwards compatibility with global tag
* tagmanager/c.c:
Fix parsing correct D class name when inheriting.
2007-12-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/keyfile.c, src/prefs.c, src/vte.c, src/vte.h:
Use project's base dir and run command when running commands in the
Add VTE preference to skip the generated run script. when running
commands in the VTE.
Make vte_cwd() accept also paths not only filenames.
* Avoid full path for icon entry.
* Add file HACKING and classviewer icons.
* Prevent installing geany.desktop twice.
2007-12-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Apply patch from Ubuntu package to match FD.o standards
(thanks to Siegfried-Angel Gevatter Pujals).
* plugins/classbuilder.c, plugins/htmlchars.c:
Use pluginmacros.h.
* src/highlighting.c, src/highlighting.h:
Add highlighting_get_style().
* plugins/pluginmacros.h, src/plugindata.h, src/plugins.c:
Add highlighting_get_style() to the plugin API.
Rename DocumentFuncs field in GeanyData struct to avoid name clashes.
* doc/geany.html, doc/geany.txt, src/kebindings.c, src/keybindings.h:
Add Move document first/last keybindings
(patch by Catalin Marinas, thank you).
*, src/interface.c, src/keyfile.c, src/plugindata.h,
src/prefs.c, src/prefs.h, src/ui_utils.c:
Add toolbar items to increase/decrease indentation (closes #1850697).
2007-12-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Fix Run command for HTML files when set to something
else than "builtin".
2007-12-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c, src/msgwindow.c, src/plugins.c:
Set treeview rules hint for several treeviews and remove manual
setting the background colour of odd rows of the status and message
treeviews (closes #1848901).
* src/vte.c: Enable dragging of text into the VTE.
* src/msgwindow.c: Fix crashes when clicking on message window items
introduced with changing rules hints for treeviews.
*, src/, src/main.c, src/plugins.c,
src/prefix.c, src/prefix.h, src/symbols.c:
Add binary relocation support.
2007-12-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Apply patch from Yura Siamashka and Dominic Hopf
to fix build of rpm package (thanks).
* src/win32.c: Fix wrong file filters in file dialogs opened in the
preferences dialog.
* src/keyfile.c: Fix wrong debug display of filenames which could not
be loaded from last session.
2007-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c, src/ui_utils.c, src/win32.c, src/win32.h:
Fix wrong file filters in project-related file dialogs on Windows.
2007-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, src/callbacks.c, src/document.c,
src/document.h, src/encodings.c, src/encodings.h, src/keyfile.c,
Store more document-related settings session-based in the
configuration file(including the file encoding).
Detect in-file specified file encoding by scanning the file using
regular expressions.
2007-12-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/vte.c, src/vte.h:
Prevent execution of commands by Geany if the VTE may contain any
text on the prompt (thanks to "Jeff Pohlmeyer for reporting).
2007-12-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Add "b" flag to fopen when saving files to avoid
broken line ending characters on Windows
(flag was removed by accident, closes #1844405).
* plugins/filebrowser.c:
Improve error message when external command could not be executed.
Allow use of external command also for the special ".." item.
2007-12-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Add ".." path entry to every directory.
Fix display of double backslash in path entry on Windows.
Add basic path entry auto completion.
Print error message when external command fails to execute.
Let right-clicks select an item.
* src/vte.c, src/vte.h:
Don't load unused symbols from library.
Grab focus after right-clicked in the VTE widget.
2007-12-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c, plugins/pluginmacros.h, src/callbacks.c,
src/plugins.c, src/plugindata.h, src/search.c, src/search.h,
Add search_show_find_in_files_dialog() to the plugin API.
Make path entry of filebrowser plugin editable.
Add "Open with" and "Find in Files" popup menu items to filebrowser
plugin and add configuration dialog.
* scintilla/*, scintilla/include/*: Update Scintilla to version 1.75.
2007-12-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c:
Avoid inclusion of PHP tags in PHP function descriptions.
* plugins/, plugins/svndiff.c:
Remove obsolete SVNdiff plugin, use the VC Diff plugin.
*, src /editor.c, src/editor.h, src/geany.h,
src/interface.c, src/keyfile.c, src/plugindata.h, src/plugins.c,
Add option for amount of characters to trigger symbol completion.
Add document_find_by_filename to the plugin API.
2007-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/filetypes.c, data/filetypes.conf:
Added .ltx as extension for LaTeX-documents.
2007-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, tagmanager/tm_project.c, tagmanager/tm_workspace.c,
Remove unused config_dir argument for tm_get_workspace().
* src/symbols.c:
Fix broken generate tags command.
2007-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/geany.html, geany.txt, src/editor.c,
src/interface.c: Improve usage of "Unfold all children" option and
add some basic documentation for folding support.
* plugins/filebrowser.c: Fix display of double slash in path entry.
* src/document.c, src/ui_utils.c:
Deny "(Un)Fold All" actions when folding is disabled.
Hide "(Un)Fold All" menu items instead of just disabling them.
* src/dialogs.c, src/dialogs.h, src/document.c:
Add dialogs_show_msgbox_with_secondary().
Add line and column number in charset conversion error dialog when
saving a file and improve display of the failed character.
* src/build.c: Fix broken Run command on Java files on Windows.
* src/symbols.c, tagmanager/ruby.c:
Use Ruby parser from CTags SVN and add/fix symbol list sections.
2007-11-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexHTML.cxx: Fix syntax colouring bug when using '?>' in
a PHP comment (closes #1838854).
2007-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Display character which caused a failed encoding
conversion when saving a file.
2007-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, tagmanager/basic.c:
Use FreeBasic specific sections in symbol list.
Use Basic parser from CTags SVN and improve the parser for better
handling of dim and const keywords.
* src/plugins.c: Fix plugin separator placement in the Tools menu.
2007-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/, plugins/autosave.c, plugins/,
plugins/makefile.win32: New plugin: Auto Save.
*, src/editor.c, src/interface.c:
Enable Shift+click on a fold point to unfold all possibly folded
children (same as the pref "Unfold all children of a fold point").
2007-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c: Fix crash when trying to add a multiline comment in
filetypes which don't support it.
* src/symbols.c, src/treeviews.c, src/treeviews.h:
Revert the change to make symbol sections bold and use some small
indentation when expanders are hidden.
* src/geanyobject.c, src/geanyobject.h, src/main.c, src/plugindata.h,
src/plugins.c, src/project.c, src/project.h:
Remove unused function project_save().
Fix typo in plugin API at utils_mkdir().
Add document_get_n_idx() to the plugin API.
Fix display of plugin separator in the Tools menu when only plugins
without menu item are loaded.
Add three new signals: project_open, project_save, project_close.
On Shutdown close the project before plugins are unloaded to let
plugins work on the last project closed event.
2007-11-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, plugins/*.c src/callbacks.c, src/callbacks.h,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c,
src/plugindata.h, src/plugins.c, src/plugins.h:
Add plugin manager dialog to select plugins to load at startup and
to call a plugin configure dialog.
Add configure symbol for plugins which is called by Geany when a
configure dialog for the plugin is requested, optionally.
Add author field to plugin info struct.
Add sample configure dialog to the demo plugin.
Fix cleanup code in filebrowser plugin to remove it completely when
* src/plugindata.h, src/plugins.c: Add utils_mkdir() to the plugin API.
2007-11-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/read.c: Fix file type detection for parsers using regexp
code with non-standard file type extensions.
* src/symbols.c, src/treeviews.c, src/treeviews.h:
Make sections in the symbol list bold for better distinction if
expanders are hidden.
2007-11-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, src/keyfile.c, src/plugindata.h,
src/prefs.h, src/treeviews.c:
Add hidden pref to hide symbol list treeview expander (GTK >= 2.12).
Double click on symbol list sections now expands/collapses them.
* src/symbols.c, tagmanager/lregex.c, tagmanager/php.c:
Add missing symbol types: Interface and Constants for PHP.
Disable use of non-ASCII characters for PHP parser, it caused
problems when using with locales other than "C".
Add missing line break characters in error messages in lregex.c.
* src/callbacks.c, src/keyfile.c, src/keyfile.h, src/main.c,
src/project.c, src/project.h:
Apply patch from Bo Lorentsen to improve support for project session
files (thank you).
2007-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/utils.c, src/utils.h:
Fix possible memory leak and add time_t argument in
utils_get_date_time() to pass a time pointer to use.
*,, TODO, doc/geany.html, doc/geany.txt,
src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
src/interface.c, src/keyfile.c, src/main.c, src/,
src/makefile.win32, src/prefs.c, src/prefs.h, src/printing.c,
src/printing.h, src/ui_utils.c, src/ui_utils.h:
Add native GTK printing support.
* src/printing.c: Set line width for page header, handle empty filename
in page header correctly.
* tagmanager/, tagmanager/lregex.c,
tagmanager/makefile.win32, tagmanager/parse.c, tagmanager/parse.h,
tagmanager/php.c, tagmanager/regex.c, tagmanager/tm_tag.c,
tagmanager/include/, tagmanager/include/regex.h:
Fix two more compiler warnings.
Use php.c and lregex.c from CTags SVN (closes #1795810).
Add regex.c and regex.h (GNU regex) for regex support on Windows.
2007-11-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/vcdiff.c, plugins/
Added plugin 'VC Diff', slightly modified from a patch by Yura
Siamashka (thanks). It was adapted from the SVN Diff plugin.
Currently it supports SVN, CVS and GIT.
Fixed GTK warnings when the current file has no filename and when
the current directory has no version control system.
Made some refactoring changes to make the VC_RECORD struct contain
all necessary attributes about each version control system.
2007-11-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Make 'Set path from document' use the current working directory or
the project base path when no document is open.
2007-11-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Don't change control char symbol in Scintilla.
2007-11-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*,, data/autocomplete.conf, data/snippets.conf,
doc/geany.txt, doc/geany.html, doc/, src/document.c,
src/editor.c, src/editor.h,src/geany.h, src/highlighting.c,
src/interface.c, src/keybindings.c, src/keybindings.h, src/keyfile.c,
src/keyfile.h, src/main.c, src/plugindata.h, src/prefs.c:
Rename "Contruct autocompletion" to "Snippets".
Allow changing height of the symbol completion list even if automatic
symbol is disabled, it still can be forced by keybinding.
2007-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/utils.c, src/utils.h:
Remove utils_get_date() and add format argument to
* src/main.c: Don't compile plugin command line option when plugin
support is disabled.
* src/notebook.c:
Enable close tab on middle-clicking a notebook tab label.
Enable toggle additional widgets on double-clicking notebook tab
* THANKS, src/project.c, src/project.h, src/keyfile.c, src/keyfile.h,
src/main.c: Apply patch from Bo Lorentsen to add support for project
session files (thank you).
2007-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Separate keybindings tree setup code from prefs_init_dialog(); use
enum for tree model columns.
Ask the user whether to override an existing keybinding when setting
a combination that is already in use.
* plugins/filebrowser.c, src/treeviews.c, src/vte.c:
Fix popup menu item capitalization according to Gnome HIG.
Add separator menu item to VTE popup menu.
Move VTE Prefs item below Input Methods.
* src/keybindings.c:
Set Ctrl-Alt-P as default Prefs KB.
Change Decrease Indent default KB to Ctrl-U (very common action,
and Ctrl-U was unused).
* src/keybindings.c:
Allow VTE to interpret F-keys (except if they're focus commands).
2007-11-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/utils.c, src/utils.h:
Remove unused unnecessary function utils_btoa().
2007-11-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Apply patch from Simone Denei to add a "Restart" item to
the VTE popup menu in case running application hangs.
* src/utils.c: Fix bug when creating configuration directory on Unix.
* tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
Don't create tagmanager status file, seems to be unnecessary
(needs testing).
2007-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Enable stopping of Run command on Windows.
* src/build.c: Quote first element of command line when using Compile,
Build and Make commands on Windows to avoid problems
if the tools are specified with full path.
2007-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/svndiff.c:
Fix sign comparison warning.
* plugins/svndiff.c:
Fix gtk_widget_destroy() warning when unloading plugin and no svn
binary is in $PATH.
* plugins/svndiff.c:
Add menu separator so users don't accidentally click revert and lose
all their work.
Capitalize revert menu item.
* src/interface.c, src/callbacks.c, src/callbacks.h,
Add 'Strip Trailing Spaces' document menu item.
* src/keybindings.c, src/keybindings.h, src/plugindata.h, TODO:
Make VTE interpret all keyboard shortcuts except for focus group
Add enum values for keybinding groups.
Make Notebook tabs keybindings group.
Move Go to tags items into Tags keybindings group.
Move navigation items into a new Other keybindings group.
* HACKING, data/filetypes.restructuredtext:
Add a default configuration file for reStructuredText.
* src/document.c:
Allow scrolling past end of document, so the user can append text
with the last lines drawn at the top of the view.
2007-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Update 'Adding a filetype' section for new highlighting.c code.
2007-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/document.c, src/utils.c:
Don't use unnecessary #ifdefs for utils_get_locale_from_utf8().
2007-11-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c:
Added function for svn revert and check before complete loading of
then plugin if svn is inside $PATH.
Added patch from Yura Siamashka to re-use an already created tab
for a new diff on the same file. Thanks.
2007-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Fix error in Compile and Build commands on Windows if the command
contains double quotes.
Fix error in Build command when the executable file name contains
spaces(Linux and Windows).
* src/filetypes.c: Add support for env wrapper in shebang detection
(inspired by a patch from Yura Siamashka).
* src/plugindata.h, src/plugins.c:
Add document_set_text_changed() to the plugin API.
* src/main.c, src/utils.c, src/utils.h, src/win32.c, src/win32.h:
Fix crashes on Windows when configuration directory could not be
Fix problems when configuration directory path contains special
* tagmanager/tm_workspace.c: Use g_unlink() instead of unlink().
* src/build.c:
Use g_unlink() instead of unlink().
Minor code cleanups and add some sanity checks.
Fix broken Run command on Windows by not changing Geany's working
directory (this might break other things, unfinished).
2007-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c:
Show line wrap symbol at start of line for wrapped lines.
* src/templates.c, src/highlighting.c, src/highlighting.h,
src/filetypes.c, src/filetypes.h, src/document.c, src/main.c:
Fix bug with using the default extension, not the user set one, if
'New with template' is used before any documents of the same filetype
are open.
Load filetype keyfiles from filetypes_load_config(), not from
Add highlighting_init_styles(), highlighting_set_styles(),
simplifying a lot of styleset function code.
Remove filetype::style_func_ptr field.
2007-11-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/makefile.win32: Add exit code detection for Windows.
* src/keyfile.c: Fix broken window maximization.
* src/document.c: Remove Scintilla keybinding Alt-Backspace for Undo.
2007-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c:
Prevent prefs dialog being hidden after using the prefs file dialog.
* src/build.c, src/prefs.c:
Enable build support on Windows.
* src/document.c:
Ensure document_update_tag_list() always shows the empty symbol list
when tags cannot be parsed.
* src/filetypes.c, doc/geany.txt, doc/geany.html, data/filetypes.*:
Add configurable default file extension setting for filetype
definition files.
Note: There is a bug with using the default extension, not the user
set one, if 'New with template' is used before any documents of the
same filetype are open.
2007-11-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, /src/main.c, src/symbols.c, tagmanager/tm_project.c,
tagmanager/include/tm_workspace.h, tagmanager/tm_workspace.c:
Create tagmanager status file in configuration directory, not in a
guessed temporary directory to ensure having write access.
Fix crashes if status file can't be written.
2007-10-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, data/filetype_extensions.conf:
Set reStructuredText default file extension .rst.
* src/document.c, src/editor.c:
Use newline as autocompletion list separator, so that reST entries
show correctly.
* src/document.c:
Ensure empty symbol list is shown when tags cannot be parsed (fixes
wrong symbol list shown when creating a new document with an unsaved
filename set).
* src/filetypes.c:
Only translate '%s source file' instead of whole title for filetypes
(easier for new translations).
2007-10-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c: Make svn error messages better readable.
2007-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/svndiff.c:
Factor out common make_diff() and show_output() functions for both
file and directory diffs.
Show any SVN error message on the status bar.
Use directory name as prefix for output filename when doing a
directory diff.
Don't remove filename extension for file diffs.
Fix some memory leaks.
* plugins/svndiff.c:
Add a separate menu item for diff from the current directory.
Disable file and directory diff menu items if the current document
has no filename.
Disable project menu item when no project is open.
* src/document.c:
Make Fold All/Unfold All attempt to scroll the current line in view.
* plugins/filebrowser.c:
Don't dereference symlinks.
Make sure current_dir always has a full path.
2007-10-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, src/build.c, src/project.c, src/project.h:
Add support for relative project base path.
Improve and synchronize base path tooltips in project new and
properties dialogs.
Fix minor GUI annoyances in project dialogs.
* plugins/export.c, plugins/filebrowser.c, plugins/pluginmacros.h,
Add macro project for app->project.
Rename macro tm to tagm to avoid conflicts with tm struct of time.h.
Fix a warning about shadowing a global symbol.
Use plugin macros in Export and SVNDiff plugins.
* src/treeviews.c, src/treeviews.h:
Replace "Hide" popup menu items of the symbol and document list with
"Show Document List" and "Show Symbol List" check menu items.
2007-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/svndiff.c, plugins/export.c, plugins/demoplugin.c,
plugins/filebrowser.c, plugins/htmlchars.c, plugins/classbuilder.c:
Make all plugins distributed with Geany have the same version number
as Geany.
* plugins/pluginmacros.h:
Prevent conflict with document::encoding.
* plugins/svndiff.c:
Capitalize menu item text.
Minor editing of some strings.
* plugins/classbuilder.c:
Capitalize menu item text.
* plugins/filebrowser.c:
Show icons only in the file browser toolbar.
2007-10-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c:
Added feature to make a diff from an open project or a
current directory.
2007-10-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/ui_utils.h, src/tools.c, src/project.c, src/geany.h,
src/msgwindow.c, src/callbacks.c, src/keyfile.c, src/search.c,
src/document.c, src/plugins.c, src/main.c, src/symbols.c,
Make msgwin_status_add() only log a message, not display it on the
status bar.
Make ui_set_statusbar() take a log argument for whether to record the
message in the Status window.
(Plugin API functions already do this).
* plugins/filebrowser.c:
Use the current directory when there are no documents open.
Add popup menu with Open command.
Separate toolbar code from init().
* plugins/filebrowser.c:
Add 'Show hidden files' checkbox in the popup menu.
* plugins/demoplugin.c, plugins/filebrowser.c, plugins/,
Add pluginmacros.h to define common macros for app, utils, etc.
Add more documentation/comments to demoplugin.c.
* src/treeviews.c:
Fix bug with choosing 'show full path name' from documents list popup
menu when there is no selected item (can happen after using the command
Fix hiding the sidebar/documents list from the popup menu when there's
no selected item.
2007-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/svndiff.c:
Set the status bar instead of logging status messages.
2007-10-23 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c:
Small improvments in handling of non UTF-8 diffs.
2007-10-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/notebook.c: Don't make notebook tabs higher than necessary.
2007-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c, plugins/, plugins/makefile.win32,
src/interface.c, src/utils.c, src/plugindata.h, src/treeviews.c,
src/vte.c, src/plugins.c, doc/geany.txt, doc/geany.html,
Added File Browser sidebar plugin.
Rename 'Open Files' sidebar tab 'Documents'.
Add keybindings->send_command() and tm->get_real_path() to the plugin
2007-10-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c: Fix possible wrong window title when loading session
2007-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS, po/sv.po, po/LINGUAS:
Added Swedish translation (Thanks to Tony Mattsson).
2007-10-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/geany.html, doc/geany.txt, plugins/,
scintilla/, scintilla/PlatGTK.cxx, src/,
src/gb.c, src/project.c, src/vte.c, tagmanager/
Apply most of the patch from #1794250 (thanks):
Remove compiler specific flags.
Add configure option to specify the path to
Remove many unnecessary configure checks.
Stop configure if msgfmt was not found(gettext not installed).
2007-10-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugindata.h, src/plugins.c:
Add encoding related functions to the plugin API.
* data/autocomplete.conf, doc/geany.txt, doc/geany.html, src/editor.c:
Add special key wordchars to autocomplete.conf to let the user
redefine used wordchars.
2007-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c:
Only connect vte_keypress() if enable_bash_keys pref is not set.
* src/document.c, src/document.h, src/editor.c, src/editor.h,
src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c,, THANKS:
Apply patch from Catalin Marinas to add a 'newline strips trailing
spaces' pref (thanks).
2007-10-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_tag.c, tagmanager/c.c, TODO:
Parse arrays, const and pointers in C-like function return types
(and store in varType).
Fix some indentation.
* src/interface.c, src/keybindings.c, src/prefs.c, src/callbacks.c,
src/callbacks.h, src/keyfile.c, src/document.c, src/document.h,
src/editor.c, src/editor.h, src/ui_utils.c,
Add Indent Type option in the Document menu.
Add 'Detect from file' Editor indentation pref.
Show TAB or SP for current document's indent type.
Minor editing of Document menu and editor Indentation prefs group.
Use GString for statusbar statistics.
2007-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/callbacks.c, src/callbacks.h, src/interface.c:
Suppress selection changed signal when switching between open files
and symbol list.
* src/plugins.c, src/plugindata.h, plugins/export.c:
Add dialogs_show_save_as() to the plugin API.
Fix wrong callback signatures in Export plugin and make menu item
document sensitive.
2007-10-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c, plugins/, plugins/makefile.win32,
New Plugin: Plugin to create a diff of a file against svn.
2007-10-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c, src/keyfile.c, src/plugindata.h,
src/prefs.c, src/prefs.h, src/treeviews.c, src/treeviews.h:
Add menu accelerators to the symbol and open files list popup menus.
Add option to display full path name in the open files list.
* src/callbacks.c, src/ui_utils.c:
Add menu accelerators to the custom date menu items.
* src/ui_utils.c: Add recent files also to GTK's recent files buffer.
2007-10-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* NEWS, doc/ Update for 0.12.
* New release: Geany 0.12 "Delurin".
*, geany.nsi, geany_private.rc, win32-config.h,
src/geany.h: Post-release version bump.
2007-10-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/highlighting.c, src/symbols.c, src/symbols.h:
Fix wrong colouring of type keywords of tags from different
* src/treeviews.c: Add full file name as tooltip in the open files list
(only for GTK 2.12 and above).
2007-10-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix inserting spaces instead of tab when using 'Suppress construct
completion' and spaces are used for indentation.
2007-10-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/keybindings.c:
Fix wrong insert position of Insert Date function when using keyboard
shortcut and place the cursor behind the inserted date.
* src/treeviews.c: Enable horizontal scrollbar for the Open Files list.
2007-10-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Fix segfault when manually editing a keybinding and selecting another
* src/vte.c:
Don't reset the VTE when pressing Ctrl-[CD] if bash keys are enabled,
because they are now sent to the VTE.
2007-10-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
Attempt to fix problem with tab close button size.
* src/keyfile.c, doc/geany.txt, doc/geany.html:
Don't overwrite hidden prefs when quitting unless they are missing.
* src/keybindings.c, src/keyfile.c, src/vte.h, doc/geany.txt,
doc/geany.html, NEWS:
Move and rename the bash shortcuts hidden preference - it's now in
geany.conf, [VTE] section, called 'enable_bash_keys'.
2007-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix scrolling bugs when searching text and the cursor
is outside of the current visible area.
Unfold search result.
* src/main.c: Also print version of Geany together with GTK/GLib
version information.
2007-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/python.c:
Show parent class for inner classes.
* src/notebook.c:
Use stock close image for notebook tab close buttons.
2007-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Also ignore Ctrl-L for VTE bash command.
Allow 'Switch to editor' command to override any bash commands.
Also disable the popup menu to avoid VTE bash conflicts.
* src/main.c, src/symbols.c, src/symbols.h:
Add --no-preprocessing, -P option when generating tags files to
disable preprocessing of C/C++ source files.
* doc/geany.txt, doc/geany.html, doc/, NEWS:
Add documentation for --no-preprocessing option.
* src/keybindings.c:
Add Project Properties menu accelerator.
* tagmanager/vstring.h, tagmanager/vstring.c:
Fix a possible segfault with vStringPut() - backported from CTags
5.7. This appears to fix a segfault on Windows 2000 when loading
It also adds vStringChop() - chop last character from string.
2007-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c:
Don't load invalid window geometry data from the config file.
2007-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Add enable_vte_bash_keys keybindings.conf hidden pref in [Settings].
Refactor keybindings_init().
* src/msgwindow.c, src/document.c, src/plugins.c, NEWS:
Don't show file opened/saved/closed messages on the status bar.
Add temporary function msgwin_status_add_new() for v0.12 (to avoid
many code changes updating msgwin_status_add() before the release).
* src/utils.h, src/keyfile.c:
Fix possible conflict of 'tmp' variable name in setptr macro.
* src/build.c, NEWS:
Fix displaying error indicators with Make after entering a
2007-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix selecting text with Shift-{PageUp,PageDown} (closes #1801315).
* src/keybindings.c, src/vte.c:
Make common bash Ctrl-[a-z] keyboard shortcuts work in the VTE.
(Not sure why Ctrl-Shift-[cv] copy/paste shortcuts still don't work).
2007-09-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/navqueue.c, src/navqueue.h, src/treeviews.c,
src/callbacks.c, src/symbols.c, src/symbols.h:
Fix bug when using Navigate backwards after using the keyboard to
set the cursor position on the current word.
Add symbols_goto_tag().
Replace navqueue_append() with navqueue_goto_line().
Updated for project and plugins improvements, and others.
Added wishlist items (which are unlikely to be worked on).
* plugins/export.c, src/plugindata.h, src/plugins.c:
Add ui->set_statusbar() to the plugin API.
Make plugin function msgwin->status_add() not set the statusbar - but
ui->set_statusbar() can now be used to do both with the log argument.
After Geany 0.12 this is how the core versions of those functions
will work, so the status window can be set independently.
* src/utils.c, src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
src/navqueue.c, src/callbacks.c, src/editor.c:
Remove pos argument from sci_get_current_line(), because
sci_get_line_from_position() can be used instead and it's clearer.
Remove unused sci_get_line_end_styled() - it's also the same as
2007-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h:
Fix bug with 'Delete lines' when cursor is at the start of a
multi-line selection.
* src/keybindings.c, src/msgwindow.c, src/msgwindow.h:
Add msgwin_switch_tab(), msgwin_clear_tab() functions.
2007-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c:
Undo r1891 so that 'Delete lines' again includes the cursor line
even when at the start of a line - like Cut/Copy lines do.
2007-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Make 'Select lines' not include an extra line when whole lines are
Make 'Delete lines' not include an extra line when whole lines are
* src/keybindings.c, src/callbacks.c:
Make 'Duplicate lines' work for whole lines when more than one line
has a selection.
2007-09-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Save and restore the current notebook page when quitting.
2007-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.h, src/plugindata.h, src/plugins.c:
Apply patch from blackdog to add build_info and
msgwindow->compiler_add() to the plugin API (thanks).
* src/symbols.c, tagmanager/haxe.c:
Apply code from blackdog to parse Haxe typedef tags (thanks).
Show Haxe typedefs in the symbol list.
Add tag_type treeview iter.
* tagmanager/haxe.c:
Show Haxe enum types in the symbol list.
* src/msgwindow.c, src/msgwindow.h, src/search.c:
Add foreground colouring to messages items.
2007-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Speed up Save All for C-like files by avoiding unnecessary
recolourising after user typenames have changed.
* src/keybindings.c, src/document.c, doc/geany.txt, doc/geany.html:
Change scroll by line default keybindings to Alt-{Up, Down}.
Change Previous/Next Paragraph Scintilla commands to Ctrl-{Up, Down}.
Adding Shift extends selection by paragraph.
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add Find keybinding (re-uses existing string).
Group search-related callbacks together.
Docs: Add table headings to group related keybindings together.
* src/keybindings.c:
Make some keybinding titles use existing string capitalization.
* src/images.c:
Apply patch from Christoph Berg to update main window icon and
About dialog icon (thanks).
2007-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h:
Fix return type for document->open_file().
(Tidy up field name indentation).
* doc/geany.txt, doc/geany.html:
Apply patch from John Gabriele for an overview in the Tags section
(Format paragraph with fmt -w72).
* src/keyfile.c, src/editor.c, src/editor.h, doc/geany.txt,
Allow autocompletion on a line with trailing whitespace.
Add auto_complete_whilst_editing hidden preference.
* src/ui_utils.h, src/callbacks.c, src/main.c, src/ui_utils.c:
Make Toggle Case use the current word if there's no selection.
Make Toggle Case keep an existing selection.
Rename ui_widgets.popup_items to popup_copy_items.
* doc/geany.txt, doc/geany.html:
Edit how to manually edit geany.conf hidden prefs.
* src/win32.c, src/about.c, src/ui_utils.c:
Use G_N_ELEMENTS(arr) instead of sizeof(arr) / sizeof(arr[0]).
Correct prev_translators email address.
2007-09-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: HTML manual is called Manual.html on Windows, so
open this file.
2007-09-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/export.c, plugins/classbuilder.c, src/utils.c, src/win32.c,
src/utils.h, src/plugindata.h, src/msgwindow.c, src/callbacks.c,
src/keyfile.c, src/document.c, src/plugins.c, src/document.h,
src/main.c, src/socket.c, src/ui_utils.c:
Neaten up the plugin API:
Make document_open_file() now wrap document_open_file_full(),
without the idx for reloading or pos arguments.
Replace str_replace() with string_replace_all() in the plugin API.
Add utils_string_replace_all(), taking a GString argument.
* src/plugindata.h, src/document.c, src/plugins.c, src/document.h:
Add reload_file() document function to the plugin API.
2007-09-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, pixmaps/geany.ico, pixmaps/geany.png:
Replace Geany's icon by a new one by Sebastian Kraft (thanks).
* plugins/ Add makefile.win32 to EXTRA_DIST files.
* plugins/export.c, src/plugins.c, src/plugindata.h:
Remove get_zoom from plugin API.
2007-09-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/callbacks.c: Change quotes in some error messages to
be more consistent (thanks Frank).
* doc/geany.txt: Add notice about code navigation history.
* src/geany.nsi:
Install symbol list icons with the installer.
Use Geany's icon for the installer.
2007-09-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/geany.txt, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/main.c,
src/utils.c, src/utils.h, src/ui_utils.h:
Remove convert to lower-/upper-case keybindings.
Add toggle case keybinding and change shortcut to Ctrl-Alt-U.
* src/about.c: Improved error message if license text could not be
found (thanks Frank).
2007-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add 'Move document left' and 'Move document right' keybindings.
Make fixed keybindings overridable.
Add fixed keybindings for switching to leftmost/rightmost document,
Docs: Add 'Switching documents' keybindings section.
* src/interface.c, src/prefs.c,
Replace 'Use tabs...' preference checkbox with Tabs, Spaces radio
buttons (should be a bit clearer).
* doc/geany.txt, doc/geany.html:
Minor update of Preferences dialog section.
2007-09-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix missing syntax colouring when saving new files.
* src/document.c, src/keybindings.c, src/keybindings.h:
Make keybinding for scrolling by one line changeable.
* src/prefs.c: Store the index of a keybinding in the treeview store
to fix problems getting the correct index when editing
a cell of the treeview.
2007-09-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/document.c:
Rewrite document_find_by_filename() to work when the filename
argument contains relative path elements or symlinks.
2007-09-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/makefile.win32, src/ui_utils.c, src/win32.c,
Sort list of files to build on Windows.
Add geanyobject.c to the list of files to build on Windows.
Fix some warnings and build errors on Windows.
2007-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Set copy lines default KB to Ctrl-Shift-C.
Set cut lines default KB to Ctrl-Shift-X.
* plugins/classbuilder.c, src/templates.c, src/keybindings.c,
src/plugindata.h, src/callbacks.c, src/document.c, src/document.h,
src/main.c, src/socket.c:
Add text argument for document_new_file(), so that it's independent
from filetype templates.
Make File->New create a blank document, rather than using the None
filetype template.
Add None option for the 'New with Template' menu commands.
* src/interface.c,
Move 'Insert #include' menu item below other insert menu items.
2007-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, doc/geany.txt, doc/geany.html,
Include \n\r newline chars in Scintilla whitespace chars.
* data/filetypes.common:
Undo last commit, because it makes selecting text with the mouse
include all trailing lines with no wordchars on them.
2007-08-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c,
Change 'Goto' to 'Go to' everywhere.
* doc/geany.txt, doc/geany.html:
Add Plugins section, describe using a second instance to edit
geany.conf in 'Hidden preferences' appendix.
* src/keybindings.c:
Rename non-menu keybinding titles, e.g. Tags menu -> Tags commands.
* src/keybindings.c:
Fix Ctrl-Shift bindings not working when caps lock is on.
* src/treeviews.c:
Only focus the current document after switching pages if the open
files treeview currently has focus (otherwise focus commands can be
overridden, e.g. when pressing F4 during opening several files).
* src/editor.c:
Prevent calltip after typing '(' when in a comment or string.
Allow forced autocompletion in a comment or string.
2007-08-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/editor.c, src/editor.h, doc/geany.txt,
Add 'Current chars' indentation mode, rename 'Advanced' indentation
to 'Match braces' (closes #1726880).
For 'Match braces' indentation, if a brace could not be matched,
fall back to 'Current chars' indentation.
* doc/geany.txt, doc/geany.html:
Added 'Inserting unicode characters' Editing section, adapted from
a patch by John Gabriele (thanks).
* plugins/
Don't install Demo plugin.
2007-08-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Group settings in load_dialog_prefs() by dialog tab.
* src/keyfile.c, src/document.c, src/editor.h, doc/geany.txt,
Add hidden editor preference 'use_gtk_word_boundaries'.
Add docs appendix 'Hidden preferences'.
Add more complete information for adding a filetype.
2007-08-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h, src/keybindings.c, src/main.c:
Remove useless callback wrapper function.
2007-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c,
Add Prefs dialog 'Editor tabs' frame in Interface tab and group
related preferences.
Change some table spacing to multiples of 3.
Rename Misc., Behaviour -> Miscellaneous.
* src/plugindata.h:
Clear PluginInfo fields in PLUGIN_INFO macro for future extensions.
* src/keyfile.c:
Group prefs in order for save_dialog_prefs().
* src/keyfile.c:
Refactor configuration_load().
2007-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, plugins/classbuilder.c, plugins/demoplugin.c,
plugins/export.c, plugins/htmlchars.c, src/interface.c,
src/keyfile.c, src/notebook.c, src/plugindata.c, src/prefs.c,
Add version to plugin info fields and two other fields for future
Add option to show/hide the small crosses on each file tab
(closes #1757680).
2007-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c:
Fix saving the wrong document when using Save All with unnamed
* src/utils.c, src/highlighting.c, src/sciwrappers.c, src/document.c,
Fix wrong brace formatting.
* src/about.c, src/callbacks.c, src/keyfile.c, src/editor.c:
Fix wrong // comment spacing.
* src/keyfile.c:
Refactor configuration_save() to group new struct settings together.
Move 'Enable plugin support' keyfile pref to the 'geany' group.
* src/prefs.c, src/prefs.h, src/plugindata.h, src/callbacks.c,
src/keyfile.c, src/document.c, src/document.h, src/main.c,
src/editor.h, src/ui_utils.c:
Move file-related fields from EditorPrefs -> GeanyPrefs.
Rename line_breaking -> line_wrapping for EditorPrefs and document.
2007-08-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix invalid filetype setting when using Save All and
files with filetype None (thanks to Omair Eshkenazi
for reporting).
2007-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/export.c, src/templates.c, src/build.c, src/utils.c,
src/ui_utils.h, src/build.h, src/utils.h, src/highlighting.c,
src/keybindings.c, src/tools.c, src/prefs.c, src/dialogs.c,
src/prefs.h, src/navqueue.c, src/plugindata.h, src/geany.h,
src/treeviews.c, src/msgwindow.c, src/callbacks.c, src/notebook.c,
src/treeviews.h, src/keyfile.c, src/vte.c, src/search.c,
src/document.c, src/plugins.c, src/main.c, src/editor.c,
src/symbols.c, src/main.h, src/editor.h, src/ui_utils.c:
Rename MyApp -> GeanyApp.
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.
* src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
Apply patch from blackdog to add "document-activate" plugin signal,
which is sent when switching notebook pages (thanks).
2007-08-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/export.c:
Fix some minor LaTeX code errors.
Add generation date to HTML header and as comment in the generated
LaTeX code.
2007-08-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.h: Remove unused struct.
2007-08-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/export.c, plugins/, plugins/makefile.win32,
po/, src/plugins.c, src/plugindata.h:
New plugin: Export as HTML and LaTeX.
Add some functions to the plugin API needed by the Export plugin.
* src/utils.c: Include error code string in the debug message if a file
could not be written.
2007-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Apply patch from Jeff Pohlmeyer to fix warning when unloading plugins
that use signals when quitting (thanks).
* tagmanager/get.c:
Fix parsing C macro argument list.
2007-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c:
Apply patch from Jon Senior to fix parsing Apache Ant compiler
error messages (thanks).
* src/interface.c, src/prefs.c, src/keyfile.c, src/main.c, src/main.h,
Add 'Enable plugin support' Prefs checkbox.
Minor edit of load VTE option text.
* scintilla/include/Scintilla.h, scintilla/Editor.cxx,
scintilla/ScintillaGTK.cxx, src/document.c, doc/geany.txt:
Use sci_assign_cmdkey() to set GtkEntry-like word boundary handling.
Clear unnecessary default Scintilla Ctrl-D duplicate keybinding.
Add SCI_DELWORDRIGHTEND command (patch sent to Scintilla ML).
Remove previous ScintillaGTK::KeyCommand override.
* src/symbols.c:
Fix symbol list sort by appearance order for e.g. geany.txt.
2007-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/PositionCache.cxx:
Apply patch from Scintilla ML to fix problems with selections
including the first and second character of a line.
2007-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, src/symbols.h, src/treeviews.c:
Add menu items for different sorting of the symbol list to the symbol
list popup menu.
2007-08-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c:
Apply patch from Jeff Pohlmeyer to add document_remove() to the
plugin API (thanks).
Add document_open_files() to plugin API.
* src/plugins.c:
Disconnect plugin callback signals when unloading plugins, to prevent
a segfault when emitting signals.
* src/templates.c, src/build.c, src/utils.c,
src/keybindings.c, src/highlighting.h, src/sciwrappers.h,
src/dialogs.c, src/geany.h, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/keyfile.c, src/filetypes.h, src/document.c,
src/plugins.c, src/document.h, src/main.c, src/editor.c,
src/symbols.c, src/editor.h, src/symbols.h, src/ui_utils.c
Move #define PLAT_GTK to geany.h.
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.
* src/msgwindow.c:
Add support for Java Apache Ant compiler error messages.
2007-08-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/symbols.c,
tagmanager/parsers.h, tagmanager/makefile.win32, tagmanager/rest.c,
Add reStructuredText filetype and parser.
* src/filetypes.c, src/filetypes.h:
Sort filetype groups alphabetically.
* src/keyfile.c, src/filetypes.c, data/filetype_extensions.conf:
Add comment about generating filetype_extensions.conf.
Update filetype_extensions.conf.
* src/filetypes.c:
Rewrite filetypes_get_from_uid() for easier maintenance.
Add more information for adding a filetype.
2 minor edits.
* src/plugindata.h, src/plugins.c:
Apply patch from blackdog to add document_save_file() to the plugin
API (thanks).
Add document_open_file() to plugin API.
2007-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/about.c: Increase border space in credits tab and align developer
names left.
* src/keyfile.c: Fix wrong debug message if a session file couldn't be
2007-08-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.freebasic: Add many keywordsGeanyObjectPrivate
(patch by Arthur Skowronek, thanks).
* geanyobject.c: Fix a runtime warning.
* doc/, doc/geany.txt, doc/geany.html:
Don't use output redirection since the reST tools accept output
Apply patch from John Gabriele to add some tweaks/fixes (thanks).
2007-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h:
Make 'Delete current line' and 'Select current line' work for all
lines that have a selection.
Implement 'Copy current line'.
* doc/geany.txt, doc/geany.html:
Update selected line(s) keybindings.
* src/plugindata.h:
Tidy up struct typedefs.
* src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
src/document.c, src/plugins.c, src/main.c, src/
Add plugin symbol geany_callbacks (see plugindata.h for details).
Add GeanyObject type with "document-new", "document-open",
"document-save" signals.
2007-08-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/php.c: Fix parsing classes with modifiers like 'final'.
2007-08-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/classbuilder.c:
Fix missing GTypeInfo field initializer when generating
'objectname'_get_type() for GObject classes.
* doc/geany.txt, doc/geany.html:
Move 'About this document' section to end of Introduction.
Update 'Contributing to this document' section.
* doc/
Update for -g and -p options.
* data/autocomplete.conf:
Add %cursor% for default 'else' completion.
Add space before while for 'do' completion.
* src/keybindings.c:
Prevent warning when trying to focus non-existent VTE.
2007-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/*, doc/html/*:
Remove all docbook related files and use reST to generate the
documentation. Thanks to John Gabriele for his great work on
converting from docbook to the reST format.
2007-08-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c, tagmanager/python.c:
Parse Python global variables and class variables from assignment
statements; assignment to a tuple literal ('x, y =') not supported.
2007-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/geany.h, src/interface.c, src/keyfile.c,
src/msgwindow.c, src/prefs.c, src/ui_utils.c:
Add option to suppress messages in the status bar.
* src/dialogs.c: Use UTF-8 filename in Save As dialog when setting
non-existing filename.
2007-08-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Fix error in "make install" caused by old automake
versions and intltool.
* src/plugins.c: Prevent loading the same plugin in different paths.
2007-08-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c, src/editor.h, HACKING:
Add filetypes, editor_prefs fields to plugin API.
Wrap scintilla_send_message(), sci_cmd(), lookup_widget().
Apply patch from Jeff Pohlmeyer to add more common scintilla wrappers
to the plugin API (thanks).
Increment plugin ABI version.
2007-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/ Removed.
* src/symbols.c:
Fix crash when saving a file after setting encoding "None".
2007-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/tools.c, src/sciwrappers.c, src/callbacks.c, src/search.c:
Add allocation for NULL-terminated selection ends.
2007-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexHTML.cxx, scintilla/
Backport of LexHTML from Scintilla CVS to fix #1759166.
Disable debug build of Scintilla and use -Os.
* src/about.c: Rework credits page to fix some display issues.
2007-07-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/editor.h, src/keybindings.c:
Rename editor_auto_forif() in editor_auto_complete().
Allow using auto completion in PHP files outside of the PHP tags,
generally in comments, for news files without filetype and on
non-empty lines.
* src/, src/plugins.c:
Only show the separator between built-in Tools menu items and plugins
if there are any plugins.
Load plugins in ~/.geany/plugins/ prior to the default location.
* src/symbols.c: Hide empty symbol types in the symbol list.
* makefile.win32, win32-config.h, plugins/makefile.win32,
src/plugins.c: Make plugins working and compiling on Windows.
2007-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, plugins/htmlchars.c, plugins/classbuilder.c,
src/plugindata.h, src/plugins.c:
Add GeanyData* geany_data symbol for plugins so they don't have to
keep a copy of the init() argument.
Rename PluginData GeanyData (but use a typedef for backward
Update plugins to use newer API symbols.
* src/utils.c, src/utils.h, src/tools.c, src/tools.h, src/dialogs.c,
src/callbacks.c, src/callbacks.h:
Move Color Chooser and Word Count tools to tools.c.
* src/plugins.c:
Add separator between built-in Tools menu items and plugins.
* src/interface.c, src/keybindings.c,
Use AE spelling of 'color'.
2007-07-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Ignore whitespace_chars for Haxe.
* src/plugins.c:
Use a single PluginData struct for all plugins.
2007-07-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, data/filetype_extensions.conf, data/filetypes.haxe,
tagmanager/haxe.c, tagmanager/parsers.h, tagmanager/makefile.win32,
tagmanager/, src/templates.c, src/highlighting.c,
src/highlighting.h, src/callbacks.c, src/filetypes.c,
src/filetypes.h, src/symbols.c:
Add filetype Haxe (patch by blackdog, thank you).
* ChangeLog, po/ChangeLog, README: Change format of email addresses.
2007-07-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* po/
Translate the HTML Characters plugin.
* src/main.c:
Set app->debug_mode when GEANY_DEBUG is defined.
* plugins/htmlchars.c, src/plugindata.h, src/plugins.c:
Don't destroy plugin_fields->menu_item automatically - plugin_fields
should be owned by the plugin, so the plugin is responsible for
destroying it, and any other memory it allocated.
Print a warning message in debug mode if a plugin has no cleanup()
2007-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Fix wrong selection handling when using Color Chooser.
2007-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c:
Apply patch from Jeff Pohlmeyer to add plugin functions for getting
a file list and modifying scintilla text selections (thanks).
* src/document.c:
Fix hang when replacing all '[ ]*' regex matches (closes #1757748).
2007-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/, icons/, plugins/,
scintilla/include/, src/
Fix make distcheck.
2007-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/htmlchars.c, plugins/, src/interface.c,
src/keybindings.c, src/tools.c, src/tools.h, src/plugindata.h,
src/callbacks.c, src/callbacks.h, src/plugins.c, src/plugins.h,
src/ui_utils.c, HACKING,
Convert 'Insert Special HTML Characters' tool into a plugin;
keybinding support will be added later.
Add plugin functions for inserting text into the current document.
Add plugin support for disabling a menu item when no documents are
Destroy plugin_fields->menu_item on unloading if set by a plugin.
Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
other modules, and to help detect unresolved symbols at loading time.
* plugins/htmlchars.c:
Fix warning.
2007-07-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c: Adjust symbol list icon path on Windows.
2007-07-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, src/treeviews.c, src/treeviews.h, src/utils.c,
Extend icon search path to get symbol list icons working when using
a non-standard installation prefix.
Query default icon theme only once to improve startup speed.
Store the line number separately in the tree store.
Remove utils_get_local_tag().
* data/filetypes.common: Clarified description of white_space setting.
2007-07-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS,po/LINGUAS,po/en_GB.po:
Added British English translation (Thanks to Jeff Bailes).
2007-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/geany.h, src/callbacks.c, src/document.c,
src/main.c, src/ui_utils.c:
Rename ui_close_buttons_toggle() ui_document_buttons_update().
Move app->sensitive_buttons to ui_utils.c for easier maintenance,
rename to document_buttons.
*, src/treeviews.c, src/treeviews.h,
src/symbols.c, THANKS,, icons, icons/16x16,
icons/16x16/classviewer-member.png, icons/16x16/classviewer-var.png,
icons/16x16/classviewer-method.png, icons/16x16/,
icons/16x16/classviewer-macro.png, icons/16x16/classviewer-other.png,
icons/16x16/classviewer-class.png, icons/
Apply patch to add symbol list icons from Jean-François Wauthy
(thanks). Also thanks to KDevelop for the icons.
Add list of projects to THANKS.
2007-07-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Prevent warning when clicking on symbol list parent items.
* src/geany.h, src/filetypes.c, src/filetypes.h, src/main.c:
Use extern 'app' and 'filetypes' global variables in headers, so that
G_MODULE_BIND_LOCAL can later be used when loading plugins to detect
any unresolved symbols.
2007-07-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix gcc warning, add comment for editor_scroll_to_line().
* src/navqueue.c:
Fix possible segfault when a file is closed and using go forward.
Fix 2 possible memory leaks when files have been closed.
* src/interface.c, src/keybindings.c, src/keybindings.h,
src/callbacks.c, src/callbacks.h,
Make pressing escape focus the editor when using incremental search
or the Goto Line entries.
Add keybindings_cmd() to mimic a keybinding action.
2007-07-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c, src/callbacks.h, src/document.c,
Move font & file open/save dialog callbacks to dialogs.c.
Add document_clone() in document.c (for Save As open in new tab).
* src/utils.c, src/navqueue.c, src/navqueue.h, src/treeviews.c:
Add a navigation queue position when clicking on symbol list items.
Prevent duplicates in the navigation queue.
Add navqueue_append() which adds the current document position to the
queue before adding the new position.
2007-07-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Improve selection handling when decreasing indent by one space.
Avoid using SCI_DELETEBACK for simple text removal.
Fix a typo in is_doc_comment_char().
* src/callbacks.c, src/ui_utils.c, src/utils.c:
Fix warnings about shadowing local variables.
*, src/interface.c: Fix typo.
*,,, po/,
Add --disable-deprecated option to configure to build without
deprecated GLib and GTK code.
Use intltool to make geany.desktop translatable
Rename to
Add in po/ to get translation status from msgfmt
when running make.
* src/win32.c: Fix creation of wrong hex colours when inserting colours
from the colour chooser dialog.
* tagmanager/ctags.c, tagmanager/entry.c, tagmanager/tm_source_file.c,
tagmanager/strlist.c, tagmanager/tm_project.c, tagmanager/sort.c,
tagmanager/tm_work_object.c, tagmanager/read.c, tagmanager/regex.c,
tagmanager/tm_workspace.c, tagmanager/parse.c,
tagmanager/tm_file_entry.c, src/build.c, src/document.c, src/utils.c:
Always use g_fopen() and g_stat() instead of fopen() and stat() to
fix several problems with filenames containing special characters on
Use GetFullPathName() instead of lrealpath() to get Tagmanager
working on files containing special characters on Windows.
* Fix broken configure when using autoconf < 2.60.
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
Add keybinding for scroll to current line.
2007-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/editor.c:
Fix possible selection errors on commenting multiple lines when using
CR/LF line endings.
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
Add keybindings for smart indent and indent/deindent by one space.
Fix failing linking on some systems (needs to be solved cleanly).
2007-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c:
Use Rename button instead of checkbox for Save As dialog.
Add tooltips for Save As dialog's other options.
* src/callbacks.c:
Fix segfault (oops).
2007-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Prevent warning when closing files when Geany is busy (e.g. pressing
Ctrl-W when opening files).
* src/main.c:
If -i, --new-instance options are passed, disable loading & saving of
session files.
* src/plugins.c:
Remove init_function_pointers(), use static initializers.
* plugins/classbuilder.c, src/plugindata.h, src/plugins.c:
Make Class Builder 'Create Class' dialog use Glade-style frames and
remove some unnecessary border width.
Add ui->dialog_vbox_new() and ui->frame_new_with_alignment()
functions to the plugin API.
* src/ui_utils.h, src/utils.h, src/project.c, src/geany.h,
Add ui_table_add_row() for easily adding widgets to a GtkTable, and
use it in project_new().
Group 'generic' functions related to GTK+ together at the top of
Make sure G_GNUC_NULL_TERMINATED is defined in geany.h.
2007-07-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/editor.c:
Use again the usual, previous way of line scrolling and use
SCI_SETXCARETPOLICY for horizontal scrolling.
* src/filetypes.c:
Add shebang-like detection for PHP files starting with "<?php".
2007-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Make Escape close the 'Grab Key' dialog.
* src/keybindings.c, src/tools.c, src/dialogs.c, src/search.c
Capitalize some dialog titles.
* src/interface.c, src/prefs.c, src/keyfile.c, src/document.c,
Apply patch from Jeff Pohlmeyer to add a preference for whether to
use 'smart' home key behaviour (thanks).
2007-07-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS,, plugins/, scintilla/,
src/, tagmanager/
Apply patch from Shiv to make build system more compatible with other
compilers than gcc.
* src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h:
Experimental change of scrolling to get horizontal scrolling working.
* src/callbacks.c, src/search.c, src/search.h:
Also change background colour of search bar when using find
next/previous after using the search bar.
2007-07-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Add custom wordchars and whitespace_chars support for Python & Ruby.
Group setting lexer, wordchars, autocompletion height together in
* src/interface.c, src/prefs.c,
Rearrange some of the Prefs dialog:
Add Indentation frame on Editor tab, with tab width setting.
Add Display tab for visual editor settings.
Move Files tab below Editor tab (not needed so often).
Add frame for toolbar page.
Change some spacing to multiples of 3 (Gnome HIG recommends multiples
of 6).
Minor reordering of some checkbox groups.
Add mnemonic for Keybindings 'Change' button.
2007-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/filetypes.h:
Change name of XML filetype to "XML document".
Add sub menus to "Set Filetype" menu.
* src/editor.c: Always show calltip for PHP files.
* src/keybindings.c, src/keybindings.h, src/prefs.c:
Use a TreeView for keybinding list in the preferences dialog and add
descriptive sections for better usability.
* src/keybindings.c: Use Ctrl-B for Goto matching brace.
* src/symbols.c, tagmanager/php.c:
Use CTags SVN version of PHP parser.
Use only supported symbol types in the symbol view for PHP.
* src/treeviews.c: Focus the editor widget after switching between
files with the open files list.
* src/callbacks.c, src/document.c, src/document.h:
Change the background colour of the search bar in the toolbar
according to the search result.
2007-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: Fix missing descriptive text in message box when
closing an unsaved file on Windows.
2007-07-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Include new line character(s) when selecting a paragraph.
* doc/geany.docbook, src/document.c, src/editor.c, src/editor.h,
src/keybindings.c, src/keybindings.h:
Add keybinding for Select, Transpose, Cut, Copy and Delete line.
* src/keybindings.c: Change default shortcut for Find Next/Previous to
Ctrl-G and Ctrl-Shift-G.
* src/editor.c, src/geany.h:
Use an extra space after comment toggle mark.
Also comment blank lines when using toggle comment.
Also comment already commented lines when using toggle comment.
Fix some selection issues when using toggle comment.
2007-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/ScintillaGTK.cxx, src/highlighting.c, doc/geany.docbook,
Make Scintilla's move to word commands use the word end boundaries
when moving to the right (like e.g. GtkEntry).
Treat punctuation chars as whitespace.
Add filetypes.common setting: whitespace_chars.
* src/highlighting.c, data/filetypes.python:
Add decorator (and word2) styling for Python.
* src/interface.c, src/prefs.c,
Move Context Action command to Tools tab, group with Print command.
2007-07-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
src/keybindings.h: Add keybinding for select current paragraph.
* doc/geany.docbook, src/callbacks.c, src/dialogs.c, src/document.c:
Use the default GTK file save dialog on Windows.
Prevent some (probably) unnecessary filename encoding conversions.
2007-07-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c: Fix usage of wrong dialog pointer.
* src/callbacks.c, src/editor.c, src/editor.h, src/geany.h,
Change comment toggle shortcut to Ctrl-E, undefine shortcuts for
Improve some selection issues when using comment/uncomment.
Improve comment toggling by adding an additional character to mark.
2007-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, doc/geany.docbook:
Add -p, --no-plugins options to disable plugin support.
* src/main.c:
Capitalize first letter of command-line argument descriptions.
2007-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/geany.docbook, src/interface.c, src/keybindings.c,
Change Help shortcut to F1, use Ctrl-H for Replace.
* src/callbacks.c, src/dialogs.c, src/dialogs.h, src/document.c,
src/document.h, src/editor.c, src/project.c, src/search.c,
src/utils.c, src/win32.c, src/win32.h:
Fix focus problem when using the Find dialog.
* src/socket.c: Use a unique mutex name on Windows to be able to load
multiple instances like on non-Windows systems.
2007-07-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h:
Add comment for utils_free_pointers() warning not to use it if any
pointers may be NULL.
* plugins/, plugins/classbuilder.c, src/templates.c,
src/interface.c, src/templates.h, src/tools.c, src/tools.h,
src/plugindata.h, src/callbacks.c, src/callbacks.h, src/plugins.c,
Make Class Builder into a plugin.
Add some function pointers to the plugin API (for the class builder).
Don't use G_MODULE_BIND_LAZY when loading plugins otherwise we can
potentially get unresolved symbols at runtime, causing a segfault.
Capitalize 2 menu item labels.
* plugins/classbuilder.c:
Make Class Builder dialog close when pressing escape.
* src/symbols.c:
Create $configdir/tags directory if it doesn't exist when loading
global tags.
2007-07-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, tagmanager/conf.c:
Parse also sections in configuration files.
Allow whitespace in keys and section names.
* scintilla/makefile.win32, scintilla/KeyWords.cxx,
scintilla/LexConf.cxx, scintilla/
Remove unused LexConf.cxx.
* scintilla/LexOthers.cxx:
Highlight also space separated key value pairs.
* src/win32.c:
Fix crash when trying to open the Save As dialog on Windows.
2007-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Set also previous colour when setting the colour for the dialog.
* tagmanager/c.c, tagmanager/get.c, tagmanager/get.h:
Re-add previously removed code to fix broken calltips.
Merge some minor bugfixes to C/C++ parser from CTags SVN and
remove compiler warning.
* src/search.c: Improve many mnemonics in the Search, Find in Files and
Replace dialogs.
2007-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/document.c:
Fix hang with Find All/Usage with regex '^' or '$'.
Fix replacing '^' or '$' regexes.
Use double quotes for search strings.
2007-06-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs.c:
Add palette to Colour Chooser Dialog.
Fix picking colours starting with '#'.
Replace existing selection with chosen colour.
* src/callbacks.c, src/document.c, src/document.h, src/sciwrappers.c,
src/sciwrappers.h, src/win32.c:
Change signature of sci_replace_sel() to take a const gchar*.
Move code to insert a colour to document.c
Let the code also work on Windows (untested).
2007-06-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, src/plugindata.h, src/plugins.c:
Move plugin name and description into a separate struct, which is set
by calling the PLUGIN_INFO() macro - this can be read before the
plugin is initialized.
Added more comments for plugin authors.
2007-06-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, plugins/,,
src/makefile.win32, src/plugindata.h, src/plugins.c, src/main.c,
src/plugins.h, src/, win32-config.h, HACKING,,
Added very basic plugin support - any plugins found in
$prefix/lib/geany are loaded at startup. Windows support will be
added later.
Added Demo plugin (currently installed by default), which adds an
item in the Tools menu.
2007-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/document.c, src/editor.h, src/interface.c,
src/keyfile.c, src/prefs.c:
Add option to set a default encoding when opening files and disable
auto detection of the file encoding.
* geany.nsi: Change file encoding from ISO-8859-1 to UTF-8.
*, plugins/, scintilla/,
src/, tagmanager/
Change label of GTK check in from PACKAGE to GTK
(only cosmetic).
2007-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Use setlocale to enable translation of strings before
GLib command line parser gets active.
2007-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi: Fix wrong working directory in generated shortcuts.
2007-06-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/basic.c: Merge recent changes from CTags SVN.
*, src/interface.c:
Apply patch from Gabor Kmetyko to improve wording (thanks).
2007-06-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/c.c, tagmanager/get.c, tagmanager/get.h:
Use get.c and get.h from CTags SVN.
Merged CSharp parser support into from CTags SVN.
* data/filetype_extensions.conf, data/filetypes.cs,
data/filetypes.freebasic, scintilla/KeyWords.cxx,
scintilla/LexBasic.cxx, scintilla/, src/editor.c,
scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
src/highlighting.c, src/highlighting.h, src/msgwindow.c,
src/templates.c, tagmanager/basic.c, tagmanager/,
tagmanager/makefile.win32, tagmanager/parsers.h:
Add new filetypes CSharp and FreeBasic.
2007-06-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Prevent segfault when using Goto Tag from an untitled file.
2007-06-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Added 'About this file' and links for some Windows developer tools.
Added notes on adding a source file to src/ and brief notes on adding
a filetype.
* src/build.c:
Hopefully fix gtk_widget_set_sensitive assertion failed warning on
2007-06-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/*, scintilla/include/*: Updated Scintilla to version 1.74.
* src/editor.c: Fix mem leak in auto completion and prevent completion
of words with trailing spaces.
2007-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/tools.c: Apply patch from Alexander Rodin to
improve the class builder code(thanks).
*, TODO, data/autocomplete.conf, doc/,
doc/geany.docbook, src/editor.c, src/editor.h, src/keyfile.c,
src/keyfile.h, src/main.c:
Add new command line option --ft-names to get a list of supported
filetype names.
Complete rewrite of auto completion to make it user-definable and
much more flexible.
2007-06-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c: Update of about dialog.
* THANKS: Added Spanish translator Nacho Cabanes.
2007-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c, src/tools.c: Fix spelling of GTK.
* src/tools.c:
Fix bug when reopening the Insert special characters dialog after it
was closed by a delete event.
Fix creation of class files with an empty name and some code
* src/utils.c: Fix sanity checks in utils_str_replace().
* src/tools.c:
Fix several memleaks.
Avoid using broken functions g_strdown() and g_strup().
Only create header and source files if filename is not empty.
2007-06-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/tools.c: Fixed a small typo.
2007-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: Avoid creation of unwanted undo action when opening
a saved-as file in a new tab.
2007-06-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/interface.c, src/templates.h, src/tools.c,
src/tools.h, src/callbacks.c, src/callbacks.h,, THANKS:
Apply class builder patch from Alexander Rodin (thanks).
2007-06-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c:
Use g_io_channel_win32_new_fd() as recommended in GLib docs for
utils_set_up_io_channel() on Windows. (Unlikely to change behaviour
* src/callbacks.c:
Fix segfault when attempting to rename a new file from the Save As
2007-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs.c:
Add "Open file in a new tab" and "Rename file" to the "Save as"
dialog for more control over saved file.
2007-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/sciwrappers.c, src/sciwrappers.h, src/prefs.c,
src/callbacks.c, src/callbacks.h, src/keyfile.c, src/document.c,
src/document.h, src/main.c, src/editor.c, src/editor.h,
Rename some menubar widget names.
Use indentation spelling in variable names.
2007-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/callbacks.c, src/callbacks.h, src/document.c,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
src/vte.c: Add auto focus (to auto focus widgets below mouse cursor).
2007-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c: Prevent double jump to line when clicking on a
symbol list item.
* src/build.c: Hide Next Error menu item and unnecessary separator from
build menu on Windows.
* src/callbacks.c: Fix broken help menu item on Windows.
* src/utils.c: Add additional directory separator to generated READMEs.
2007-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/document.c:
Apply patch from François Cami and Guillaume Duviol to improve
replacement of tabs by spaces (thank you).
* src/templates.c: Change PHP short open tag to the full open tag.
* src/document.c: Prevent hang if searching for a regular expression
fails (closes #1733676).
2007-06-08 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Added new translator Adrovane Marques Kade.
2007-06-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Add rpl_malloc() for better compatibility with non-GNU
systems (thanks to Harri Koskinen for reporting).
* po/ Add navqueue.c.
* po/ Add revision time to the output.
* src/callbacks.c, src/callbacks.h:
Remove unneeded functions destroyapp and on_window_configure_event.
* src/keyfile.c, src/main.c:
Re-maximize the main window on startup when closed in maximized state
(closes #1730369).
* src/geany.h, src/keyfile.c, src/main.c:
Improve code to avoid hiding the messages window
(caused by last commit).
* tagmanager/sort.c, tagmanager/tm_workspace.c:
Replace malloc() by g_malloc().
2007-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h:
Add keybindings for forward/back code navigation.
* src/navqueue.c, src/navqueue.h:
Add Id SVN keyword and short file description.
2007-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/keyfile.c, src/main.c, src/,
src/navqueue.h, src/navqueue.c, src/prefs.c, src/ui_utils.c:
Apply patch from Dave Moore to add simple code navigation
(thank you).
2007-05-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c: Add Haskell to make_comment_block().
2007-05-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/utils.h, src/keybindings.c,
src/prefs.c, src/geany.h, src/callbacks.c, src/keyfile.c,
src/document.c, src/main.c, src/editor.c, src/editor.h,
Move MyApp::pref_editor_* to editor.h, using editor_prefs struct.
Move INDENT_* enums to editor.h.
Move utils_get_whitespace() to editor.c.
2007-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Remove app_small entity.
Add description for global configuration file.
2007-05-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/document.c, src/ui_utils.c:
Show current project name in window title.
*, src/
Force debug mode for a SVN working copy.
* src/highlighting.c, src/keybindings.c, src/makefile.win32,
src/callbacks.c, src/sci_cb.c, src/sci_cb.h, src/search.c,
src/document.c, src/main.c, src/editor.c, src/,
src/editor.h, po/
Rename sci_cb.[hc] editor.[hc].
2007-05-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/filetypes.c, src/filetypes.h, src/document.c:
Replace filetype::has_tags member with filetype_has_tags().
Add note about Adding a TagManager parser.
2007-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c: Ignore case of filename extensions on Windows.
* src/ui_utils.c: Add missing header file.
* src/keyfile.c:
Use current locale as default encoding for new files.
Don't keep comments in configuration file to work around a bug in
newer GLib versions.
If config file doesn't exist, try to load a global one from
* src/utils.c:
Don't create an empty geany.conf as write test, use access() instead.
2007-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, src/filetypes.c, tagmanager/sh.c:
Add *.ash and *.bash as filetype entensions for filetype SH.
Add ash and wish to the shebang patterns.
*, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/main.c, src/ui_utils.c:
Improve sensitivity of recent files sub menus.
* src/filetypes.c: Add shebang-like detection for XML files.
2007-05-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Comment out stopping make process.
Remove note about editing build commands manually.
* src/build.c, doc/geany.docbook:
Add support for %e, %f in project run command.
* src/about.c:
Show SVN revision as '>=' because 'svn up' may not have caused a
re-run of configure.
Show build date as 'on or after' compilation of about.o.
2007-05-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.h:
Add setptr() macro to free data and reassign to the same pointer.
* src/build.c:
Use get_build_executable() in prepare_run_script().
2007-05-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix loading of UTF-16/32 encoded files with a BOM.
2007-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Add popup menu item: Change current working directory.
*, src/dialogs.c, src/geany.h, src/interface.c,
src/keyfile.c, src/main.c, src/prefs.c:
Add default startup directory option (closes #1704988).
* tagmanager/ruby.c, tagmanager/strlist.c, tagmanager/strlist.h:
Backport changes from CTags SVN to fix parse problems in the Ruby
* data/filetype_extensions.conf, src/filetypes.c:
Add filetype extension "*.ruby".
* scintilla/ScintillaGTK.cxx:
Fix wrong target list for PRIMARY clipboard.
2007-05-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/symbols.c, tagmanager/parsers.h,
tagmanager/makefile.win32, tagmanager/haskell.c,
Add Haskell tags support from CTags patch on written by Peter
Strand (thanks).
* src/symbols.c:
Use tag_list_add_groups() in init_tag_list().
2007-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/read.c, tagmanager/read.h, tagmanager/get.h:
Move C-only isident(), isident1() functions to get.h.
2007-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* NEWS, geany_private.rc, win32-config.h, doc/,
doc/geany.docbook, doc/geany.txt, doc/images/*, doc/html/*:
Updated for Geany 0.11.
* New release: Geany 0.11 "Bandor".
*, geany.nsi, geany_private.rc, win32-config.h,
src/geany.h: Post-release version bump.
2007-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c, po/LINGUAS, po/bg.po:
Added Bulgarian translation (Thanks to Dilyan Rusev).
2007-05-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Fix bug when loading custom filetypes.common styles.
* src/sci_cb.c:
Add workaround for PHP/TCL closing brace de-indenting.
2007-05-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.common:
Show fold line by default (so it's clearer there are hidden lines).
2007-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/ScintillaGTK.cxx:
Fixed wrong clipboard target (closes #1711483).
* doc/geany.docbook, src/callbacks.c:
Hide notebooks tabs instead of sidebar when toggling additional
* doc/geany.docbook, src/about.c, src/build.c, src/dialogs.c,
src/keybindings.c, src/project.c, src/symbols.c, src/tools.c,
src/ui_utils.c: Added many widget names to different dialogs for use
with custom styles. Menu items still don't work.
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Applied patch from Michal Kurgan to disable separately use of global
white space foreground and background colours (thanks).
2007-05-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h:
Add some menu separators to group filetype menu items.
Reorder Haskell, O-Matrix, VHDL filetypes.
* src/document.c:
Fix removing indent spaces after switching back to tab indenting.
* scintilla/LexHTML.cxx:
Hopefully fix #1718532 - 'Crashes when open a special file';
backported from Scintilla 1.73.
2007-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/sql.c:
Fix #1717418, Hang on SQL file load.
2007-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/search.c:
Move search_get_file_list() to utils.c.
* src/highlighting.c, src/highlighting.h, src/symbols.c:
Load global tag files stored in ~/.geany/tags when needed.
* doc/geany.docbook:
Update docs for loading user tags at startup.
* doc/geany.docbook:
Rename 'confdialog' to 'prefs'.
Move compile time options section into an appendix (most users
shouldn't change these options).
* src/highlighting.c:
Prevent double loading of common styles when filetype none is used
before other filetypes.
Replace init_styles() with direct initialization of style_sets.
* src/ui_utils.h, src/project.c, src/search.c, src/ui_utils.c:
Use open folder dialog for project base path instead of create folder
dialog (better for choosing existing directories, and can still
create new folders).
Add optional title parameter for open dialog with ui_path_box_new()
and ui_setup_open_button_callback().
Use Windows folder dialog in ui_path_box_open_clicked().
* src/utils.c:
Wrap notebook pages when switching tabs.
* src/utils.c:
Fix bug when directory doesn't exist in utils_get_file_list().
2007-05-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/global.tags:
Update C global tags for GTK+ 2.10 and it's dependencies.
2007-05-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Make backspace unindent when using spaces for indentation.
2007-05-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Fix auto-indentation when the filetype is not set.
2007-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_line_indentation() and sci_set_line_indentation().
* src/callbacks.c: Fixed broken increase/decrease indentation when
using only spaces for indentation.
2007-05-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.haskell: Added build instructions.
* geany.nsi: Prevent installation in a directory without proper
write permissions under Windows.
Display an error message instead.
2007-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.haskell, scintilla/KeyWords.cxx,
scintilla/LexHaskell.cxx, scintilla/,
scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
src/highlighting.c, src/highlighting.h, src/sci_cb.c, THANKS:
Added new filetype Haskell (patch by Guillaume Hoffmann, thanks).
*, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h:
Added menu item to hide or show all additional widgets and renamed
keybinding to menu_toggleall.
2007-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Make marker and matching brace keybindings global.
(Also indent some case statement bodies).
* src/sci_cb.c:
Add brace indenting support for Perl and TCL.
2007-05-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook: Applied patch from John Gabriele which adds some
text to the preferences section, thanks.
2007-05-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/main.c, src/prefs.c:
Set widget names for the main widgets to allow users to define custom
styles in .gtkrc-2.0.
* doc/geany.docbook, src/keybindings.c, src/keybindings.h, src/prefs.c,
src/ui_utils.c, src/ui_utils.h:
Added keybinding to show and hide all additional widgets(statusbar,
toolbar, sidebar and messages window).
2007-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h:
Add keybinding to show project properties dialog.
* src/keybindings.c:
Merge file menu keybinding callbacks into cb_func_file_action().
2007-05-02 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Update of e-mail of Jean-Philippe Moal.
2007-05-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* geany.gladep:
Don't regenerate the support.[hc] files, to prevent unnecessary
rebuilding of files dependent on support.h.
* src/project.c:
Hide the unused File Patterns field in the project properties dialog.
* src/build.c, src/project.c:
Allow run for any file (with a path) when a valid project run command
is set.
* src/project.c:
Allow a blank project base path to use the default Make All command.
Update the 'project already open' & 'base path not found' dialogs.
2007-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Use g_printerr (if necessary) when generating global tags to convert
UTF-8 automatically; mark error messages for translation.
* src/search.c:
Allow replacing identical text if case sensitive is not checked.
* src/document.c:
Fix reloading of read-only documents.
* src/document.c:
Make replace all commands report no matches for read-only documents.
* src/search.c:
Switch to status window when using Replace In Session to show which
documents had replacements made.
* src/search.c:
Show number of matches when using Mark command.
* src/utils.h:
Add NZV() macro for checking a char* points to a non-empty string.
* src/build.c:
Disable the Build Includes run command field when there is a project
open with a valid run command set.
2007-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c,
Rename 'tabulators' 'tabs'.
* src/ui_utils.h, src/search.c, src/ui_utils.c:
Add ui_path_box_new() for creating a path text entry with an open
button, which runs a file chooser to set the text entry.
Add ui_setup_open_button_callback() for setting up a button callback
that behaves like the open button in ui_path_box_new().
Use ui_path_box_new() in FIF dialog setup.
* src/interface.c, src/project.c, src/project.h, src/prefs.c,
Add project file path preferences option in General tab.
2007-04-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h: Changed default browser to firefox.
2007-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_source_file.c, tagmanager/include/tm_source_file.h:
Add tm_source_file_get_lang_name() as a wrapper for getLanguageName()
in parse.c.
* src/main.c, src/symbols.c, tagmanager/tm_workspace.c,
Add support for generating global tags files for non-C-like
* doc/geany.docbook:
Update Global Tags section now all filetypes can be generated.
Comment out 'should be written' from Preferences section.
* doc/geany.docbook:
Add Project Management section.
2007-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/main.c:
Separate filetype menu item creation from filetypes_init_types() so
it can be called without initializing GTK (for non-GUI commands).
2007-04-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Disable FIF extra options entry when checkbox is not checked.
* src/sci_cb.c:
Remove duplicate calltips (e.g. from function def and prototype).
2007-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
When linking (or using Make Custom), remove error indicators in all
documents (should fix #1705374).
* src/symbols.c:
Sort symbol list tags also by line number (fixes #1703575).
* src/utils.c, src/utils.h:
Add G_GNUC_NULL_TERMINATED to ensure variable arglists are NULL
terminated (for GLib >= 2.8).
2007-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/project.h, src/keyfile.c, src/main.c:
Restore the current project when restarting Geany.
* src/project.c:
Fix no response with Project dialogs when the user enters invalid
information (oops).
2007-04-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Update generating global tags section.
* src/keyfile.c:
Move save_recent_files(), save_session_files() code out of
Move load_file_lists() code out of configuration_load().
2007-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/vte.c:
Fixed handling of command line arguments within the shell command for
the VTE to enable use of shells as login shells.
2007-04-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Update Search section: escape sequences, Find All, Mark, Replace All.
* src/filetypes.c, src/filetypes.h, src/document.c:
Split filetypes_get_from_filename() into filetypes_detect_from_file()
and filetypes_detect_from_filename().
* tagmanager/tm_tag.c:
Use the usual TM parser for all langTypes except pascal, php, latex
when loading global tags files.
* tagmanager/tm_workspace.c:
Keep tag names with different argument lists when loading global
Prevent segfault if using tm_workspace_find_scoped() with global
* src/interface.c, src/callbacks.c, src/callbacks.h, src/symbols.c,
Add Load Tags command in the File menu.
2007-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/dialogs.c, src/document.c, src/utils.c:
Use g_stat() instead of stat() to prevent file read errors on Win32.
Prevent unnecessary filename encoding conversions on Win32.
2007-04-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Remove wrong UTF-8 conversion in filetypes_get_from_filename().
2007-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, data/filetypes.*, doc/geany.docbook, src/callbacks.c,
src/callbacks.h, src/filetypes.c, src/filetypes.h, src/geany.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/keyfile.c,
src/main.c, src/prefs.c:
Added context actions to run custom commands on current selection or
the current word below cursor.
* src/document.c, src/keyfile.c:
Run print command asynchronously to prevent blocking of the main
process (closes #1695786).
2007-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Prevent D module tag lookup for D constructor calltips.
* tagmanager/tm_workspace.c:
Allow overloaded argument lists in global tag files.
* tagmanager/tm_workspace.c:
Add tm_tag_function_t tags in global tags files, so that inline C++
methods (and D functions) get parsed.
* src/keyfile.c, src/search.c, src/search.h:
Save FIF extra options string in the keyfile.
* src/search.c:
Move 'Recurse in subfolders' FIF option below the others.
Add tooltip for extra options entry.
2007-04-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed missing calltip display when using a space after
a symbol name (thanks to Anh Phạm for reporting).
2007-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
Show up and down arrows when there are multiple calltip matches.
2007-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/document.c, src/geany.h, src/interface.c,
src/keyfile.c, src/main.c, src/prefs.c, src/ui_utils.c:
Added options to show or hide the statusbar as well as the editor
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_set_scrollbar_mode() to easily show or hide the scrollbars.
2007-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*,, doc/, scintilla/,
src/, tagmanager/
Made "distcheck" working.
2007-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Only insert a space if construct completion occurs, to prevent
unusual undo history.
* doc/geany.docbook:
Add Construct completion in the Editing section.
Add Tags section, including how to generate a replacement global.tags
2007-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_workspace.c:
Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
tags when creating a global tags file, and store the pointerOrder.
* doc/geany.docbook:
Add filtering out version control files with Extra options info to
Find in Files section.
* src/keybindings.c:
Only construct-complete when the editor widget has focus.
* src/symbols.c, tagmanager/tm_workspace.c:
Make \" filename quoting optional when creating a global tags file
(quoting is useful if glob matching is needed). Run geany -g for
example usage.
2007-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Add recursive option to Find in Files dialog.
* src/search.c:
Add 'Extra options' field and checkbox to FIF dialog.
Don't allow arguments appended to Grep command.
Prevent warning when using relative paths with open directory button.
Refactor FIF options code into get_grep_options(), remove
fif_options, fif_match_type.
2007-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, doc/geany.docbook:
Make file header optional for filetype templates - use the string
'{fileheader}' to mark where the file header should be placed, which
can be anywhere in the filetype template.
2007-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Added MimeTypes: C++ header, Pascal, Perl, Python, httpd-PHP, XML;
thanks to Iñaki Rodriguez.
* src/search.c:
Prevent Find in Files directory combo being vertically stretched.
2007-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed warning about shadowing a local variable.
* doc_geany.docbook, src/keybindings.c, src/keybindings.h:
Add keybinding for switching to the search bar
(as suggested by Nikolas Arend).
2007-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Check size of construct completion buffer, remove unneeded static in
Reorder some of sci_cb_close_block().
* src/keybindings.c, src/keybindings.h:
Add headings for the Keyboard Shortcuts dialog to group related
Shorten the 'Send to custom command' labels slightly.
2007-03-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Don't auto-indent {} braces for filetypes that don't use them.
Add lexer_has_braces(), do_indent() for in place buffer indentation.
Rewrite some of get_indent().
2007-03-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/sci_cb.c, src/sci_cb.h,
Add keybinding for construct completion, and set the default to tab.
Separate complete_constructs() code from sci_cb_auto_forif().
2007-03-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, TODO:
Change comment/uncomment keybinding to Ctrl-G/Ctrl-Shift-G.
Change duplicate KB to Ctrl-D (Scintilla default).
Change goto line KB to Ctrl-J (so Ctrl-L line cut Sci KB works).
Remove default goto matching brace KB (doesn't work on all
* src/sci_cb.c, src/symbols.c, src/symbols.h:
Load HTML-entities when the PHP lexer is first needed, instead of
when typing outside of PHP styles.
* src/sci_cb.c:
Separate on_margin_click(), on_update_ui(), on_char_added()
Scintilla notifications.
2007-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h,
src/sci_cb.c, src/sci_cb.h, src/utils.c, src/utils.h:
Use Ctrl+Shift+Space always for showing calltips because Alt+Space is
used often by window managers (not only under Windows).
Added keybinding for inserting alternative whitespace characters.
2007-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, src/symbols.c:
Fix segfault when pressing ctrl-enter when there are no workspace
tags (thanks to R8Rooy for reporting).
* src/build.c, src/build.h, src/dialogs.c, src/dialogs.h,
src/callbacks.c, src/callbacks.h:
Move dialogs_show_includes_arguments_*() to build.c.
Move on_includes_arguments_*dialog_response() to build.c.
Make several build functions static.
* src/keybindings.c:
Ignore Caps Lock in keybindings_got_event() (could cause problems
with e.g. Shift-F9).
* src/search.c:
Don't beep when pressing escape to close the Find or Replace dialogs.
2007-03-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c:
Add Edit button to Keyboard Shortcuts dialog.
* src/keybindings.c, src/keybindings.h, src/dialogs.c, src/dialogs.h,
Move dialogs_show_keyboard_shortcuts() to keybindings.c.
* src/keybindings.c, src/prefs.c, src/prefs.h, src/callbacks.c,
Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
2007-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, doc/geany.docbook, src/keybindings.c, src/keybindings.h,
src/sci_cb.c, src/sci_cb.h:
Applied patch from Anh Phạm to add a keybinding for selecting the
current word under the cursor (thanks).
2007-03-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Made all project dialogs modal.
* src/main.c, src/symbols.c, src/symbols.h, tagmanager/tm_workspace.c:
Add option --generate-tags (-g) to generate a global tags file from
a list of source files. Currently this is only likely to work
correctly for C source files. Run 'geany -g' for syntax info.
Remove short option for hidden option --generate-data-files.
Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.
* tagmanager/tm_tag.c, tagmanager/include/tm_tag.h
Separate alternative PHP/LaTeX global tags parser into
tm_tag_init_from_file_alt() (for easier diff with Anjuta).
2007-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Added option to change the caret width.
2007-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
Add Goto Previous/Next Marker keybindings (Ctrl-, and Ctrl-.).
Make sci_marker_next() and sci_marker_previous() return marker line
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
Add Toggle Marker keybinding (Ctrl-M).
* THANKS, doc/geany.docbook:
Add bookmarks section written by John Gabriele (thanks).
Group some subsections into an 'Editing' section.
2007-03-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Delay updating interface items when switching notebook tabs until
after the page has changed, so it appears to switch pages faster.
* src/treeviews.c, src/notebook.c:
Don't recreate the open files items when DnD reordering tabs, now
that the open files treeview is sorted alphabetically.
* src/project.c:
Make suggested New Project filename use the projects/ directory as
parent directory, instead of projects/name/.
2007-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Fixed wrong margin colours for filetype All/None.
* src/highlighting.c: Init the default styles before first usage.
2007-03-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Use tab stops for status bar line, column and selection data to stop
the other fields being moved so often when browsing code or typing.
Rearrange status bar statistics to be clearer/more concise.
* src/document.c:
Count total replacements made when replacing in a rectangular
* src/keybindings.c, src/keybindings.h, src/callbacks.c,
src/callbacks.h, doc/geany.docbook:
Add 'Switch to last used document' keybinding.
2007-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook: Added description for disable-server command line
option for Xfce Terminal.
* src/project.c: Added missing whitespace (found by Frank).
2007-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Switch to Compiler window when using Next Error command.
* src/utils.c, src/document.c:
Update the status bar after setting the document file type, if it
has changed.
Update the status bar after colourising open files, so the current
tag is accurate.
2007-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Separate New Project dialog from Project Properties dialog.
Make Properties Filename field read-only, below Name field.
Capitalize dialog titles.
* src/utils.c, src/utils.h, src/project.c:
Make New Project dialog create parent directories of the chosen base
path if necessary.
Prevent warnings when setting open dialog directory to a path whose
parent directory doesn't exist.
Add create_parent_dirs argument for utils_mkdir().
2007-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/encodings.c, src/encodings.h, highlighting.c,
src/msgwindow.c, src/notebook.c, src/project.c, src/sci_cb.c,
src/search.c, src/tools.c, src/ui_utils.c, src/utils.c:
Fixed several compiler warnings (mainly shadowing local variables
and unreachable code).
* src/sci_cb.c: Auto completion of multi line comments is now (again)
configurable with the auto complete constructs option.
* src/highlighting.c:
Set default highlighting style for filetype None to get it also
inverted if invert_all is set.
Reset all previously defined styles when switching filetype to None.
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Added style "default" to filetypes.common to be able to change the
default style for files without a filetype set.
2007-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, doc/geany.docbook, data/filetypes.*,
Fix indentation spelling.
2007-03-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Fix not setting existing project typenames for C-like files if they
don't contain typenames themselves (bug introduced in r1323).
* doc/geany.docbook:
Updated Templates section for filetype templates and added some
subsection titles.
2007-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c: Fixed wrong tooltip.
*, doc/geany.docbook, src/document.c, src/document.h,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
src/sci_cb.c, src/ui_utils.c:
Added different auto indention modes to select how should Geany
indent new lines (closes #1615605).
2007-03-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/callbacks.c, src/keyfile.c, src/document.c,
src/document.h, src/main.c, src/socket.c:
Speed up loading multiple C-like files when existing documents are
open (by ensuring documents are only colourised once).
Add document_open_files(), document_colourise_new().
Add some missing function parameter names to document.h.
2007-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Added single line comment examples for clarification.
2007-03-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h:
Add project run command support. Run command is a custom command-line
and can include arguments.
Make 'Choose project filename' dialog use a Save button.
2007-03-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Moved all code for checking and creating the geany run script
temporary file from build_run_cmd() to prepare_run_script().
* src/build.c, src/utils.c:
Fix memory leak with utils_remove_ext_from_filename().
* src/build.c:
Fix memory leak, remove unused build_create_shellscript() argument.
* src/build.c:
Use UTF-8 for missing executable error message.
2007-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Added new file filter for Open File dialog to only show supported
source files (for native Win32 dialog).
* src/main.c: Changed location of translation files to lib\locale
on Win32.
* geany.nsi: Added NSIS installer script for the Win32 installer.
* data/filetypes.c, data/filetypes.cpp, src/highlighting.c:
Added support for secondary keywords for filetypes C and C++.
* doc/geany.docbook: Fixed typo (thanks to John Gabriele).
2007-03-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h:
Run Make All and Make Custom from the project base directory, if set.
Add project_get_make_dir().
2007-03-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/tools.c, src/utils.c:
Applied patch from Jeff Pohlmeyer to improve the custom command
execution code(thanks).
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_selection_mode(), sci_set_selection_mode(),
sci_get_pos_at_line_sel_start(), sci_get_pos_at_line_sel_end().
* src/document.c:
Improved replacing in rectangle selections (closes #1665571).
* src/build.c, src/tools.c, src/utils.c, src/utils.h:
Set IO channels for custom commands to blocking mode
(thanks to Jeff Pohlmeyer).
* data/filetypes.python, src/highlighting.c:
Added missing keywords: as, with, False, None and True.
* src/dialogs.c, src/filetypes.c, src/filetypes.h:
Added new file filter for Open File dialog to only show supported
source files (list of all defined filename extensions).
2007-02-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c, src/msgwindow.h, src/search.c:
Show number of matches when using Find All or Find in Files.
Add msgwin_msg_add_fmt().
* src/build.c:
Make build_spawn_cmd() take a command string instead of joining an
array of strings.
2007-02-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Use utils_strv_new() for all filetype patterns.
2007-02-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/tools.c: Fixed wrong sensitiveness of custom commands menu items.
Applied patch from Slava Semushin to improve SVN checks (thank you).
2007-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/geany.docbook, src/geany.h, src/interface.c,
src/keybindings.c, src/keybindings.h, src/keyfile.c, src/main.c,
src/tools.c, src/tools.h:
Added custom commands to send selected text through some definable
commands and replace the selection with the output.
* data/filetype_extensions.conf, src/filetypes.c:
Added *.pod to Perl file patterns.
* src/sci_cb.c: Auto complete multi line comments only when auto
completion of constructs is enabled.
2007-02-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Prevent undefined behaviour when using the Stop command that can kill
X when Geany is run from the KDE or Xfce menu (not from a terminal).
Should close #1668017.
2007-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*,, README.I18N, po/, po/LINGUAS:
Moved list of available translations to new file po/LINGUAS.
Added readme file for translation information.
Added little shell script to display some basic
translation statistics.
2007-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/*.c:
Add descriptions for all .c source files below the file header.
2007-02-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/document.c, src/document.h, src/main.c:
Speed up loading multiple C-like files when restoring session or
loading command-line files at startup by ensuring documents are
only colourised once.
Also prevent re-colourising C-like documents after saving a file
unless the list of typenames has changed.
Add document_delay_colourise(), document_colourise_all().
* src/dialogs.c, src/document.c, src/document.h:
Fixed switching to the wrong tab when showing the unsaved dialog.
* src/templates.c:
Don't include filetype.none in the new file template menus.
2007-02-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c, src/sci_cb.h:
Made auto_close_bracket() static and auto close brackets only when
auto completion of constructs is enabled (closes #1665015).
* doc/ Fixed typo.
*, src/interface.c: Improved tooltip for auto completion.
2007-02-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Remove the yellow error line marker also when using 'Remove Error
2007-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c: Fixed compiler warning.
* src/project.c, src/win32.c, src/win32.h:
Added Windows dialogs for Project new and Project open actions.
Fixed some mem leaks in the Windows code.
2007-02-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/templates.h, src/highlighting.c,
src/callbacks.c, src/callbacks.h, src/filetypes.c, src/main.c:
Support filetype templates for all filetypes (scan
~/.geany/templates/filetype.* at startup).
Default filetype templates are now created in init_ft_templates().
Move on_new_with_template() to templates.c.
Move on_filetype_change() to filetypes.c.
2007-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.ruby, src/highlighting.c:
Added several missing style types for filetype Ruby.
* doc/geany.docbook: Added notice about contributing to the docs
(patch from John Gabriele, thanks).
2007-02-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Scroll Compiler and Messages window in view when using Next Error
or Next Message.
* src/search.c:
Add Mark button as a Find All option in the Find dialog.
* src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
Add Remove Markers item to the Document menu.
Remove Error Indicators no longer removes current tag marker.
2007-02-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/sciwrappers.h, src/sci_cb.c, src/document.c:
Rename sci_get_line_end_from_position() with line argument, not
Don't autocomplete for/if constructs when editing an existing line.
* src/document.c:
Set single undo action when using document_strip_trailing_spaces().
* src/search.c:
Show grep command and directory when using Find in Files.
2007-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.perl, src/highlighting.c: