Enrico Tröger
06e3783c1f
Fix Windows build: don't use GIO. Link against GIO anyways just to be safe with GTK 2.14.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3467 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-14 18:38:31 +00:00
Enrico Tröger
312841a794
Strip the compiler error messages to fix possibly broken message parsing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-14 16:45:24 +00:00
Enrico Tröger
e65d0f2362
Add a format specification in global tags files and implement an additional fallback if the specification is missing.
...
Adjust code and scripts which generate global tags files to add the new format specification.
Update global tags files.
Add documentation for the two supported global tags files formats.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3465 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-14 16:08:00 +00:00
Nick Treleaven
ddeb979e6f
Add default build commands (other sections are commented out and
...
untested).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3464 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-12 17:20:43 +00:00
Enrico Tröger
4a6abdaa0e
Fix build without GIO again (sorry).
...
Remove trailing slashes in Makefile.am's (patch by Daniel Richard G., thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-12 00:33:29 +00:00
Enrico Tröger
71f1dac2db
Don't fold toplevel PHP script tags (part of #2003912 ).
...
Replace remaining occurences of sptr_t by uptr_t in the third argument of SSM() calls.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 21:24:09 +00:00
Enrico Tröger
bd2d677d84
Support multiple %cursor% wildcards in Snippets. To switch between %cursor% wildcards, use the new keybinding 'Move cursor in snippet' (patch by Thomas Martitz, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 21:05:03 +00:00
Enrico Tröger
c636728975
Fix several compiler warnings and build errors (patch by Daniel Richard G., thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 18:29:39 +00:00
Enrico Tröger
ceb7edc8f1
Fix build with GTK 2.12 by adding GIO compile and linker flags ( closes #2498580 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3459 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 17:40:40 +00:00
Enrico Tröger
153544a80e
Add utils_is_remote_path().
...
Add private field 'is_remote' to GeanyDocument to indicate whether an opened file is locally accessed or via gvfs-fuse.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3457 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-09 18:22:07 +00:00
Enrico Tröger
787a680290
Add checks for GIO (GLib >= 2.16) support.
...
Allow to specify files on the command line and from remote instances to be URIs (local and with GIO also remote URIs).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-09 18:21:12 +00:00
Nick Treleaven
1b2af6a816
Fix remaining spin buttons in the prefs dialog ( closes #2492317 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-08 17:27:57 +00:00
Nick Treleaven
555c06727c
Fix using prefs dialog editor & files tab spin button values when
...
they've just been edited and Alt-O is used to close the dialog
without moving the focus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3452 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-08 17:14:18 +00:00
Enrico Tröger
ffaa900b8b
Update keyword list for Tcl/Tk 8.5.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3451 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-06 17:13:45 +00:00
Enrico Tröger
8362d6be15
Don't remove leading whitespace from compiler output for compilers like gfortran which use space for indentation in error messages.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3450 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-06 15:16:55 +00:00
Enrico Tröger
a097d3dbb7
Fix some bugs in parsing FreeBasic code ( #2489605 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3449 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-06 14:53:31 +00:00
Enrico Tröger
0f0dbac7cd
Don't write the default filetype to the config if it isn't set.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3447 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:31:22 +00:00
Enrico Tröger
39a6eb455e
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:30:42 +00:00
Enrico Tröger
42578efd22
Add *.desktop as extension for the Conf filetype.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3445 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:24:50 +00:00
Enrico Tröger
d007adc71f
Add filetype Ada ( closes #1811306 and #1765830 , patch by Philipp Gildein, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 16:00:50 +00:00
Nick Treleaven
3accd528ca
Update Scintilla regular expression info for v1.77 (character
...
classes, ASCII escaping, character sets containing square
brackets peculiarities). Adapted from SciTE doc.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 16:37:47 +00:00
Enrico Tröger
b5aee22fbe
Fix crash in Makefile parser when trying to read defines.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 16:22:28 +00:00
Enrico Tröger
4b9851962f
Prevent compile errors in plugins when GETTEXT_PACKAGE is not defined.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3440 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 16:22:09 +00:00
Nick Treleaven
077270c647
Remove geanyobject.h includes.
...
Use GObject instead of unused GeanyObject argument.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 13:03:42 +00:00
Nick Treleaven
9962e8abb8
Fix not switching to 2nd last used document when the last used
...
document has been closed (#1945162 ).
- Code changes:
Move geany_object extern to geany.h.
Remove CallbacksData struct.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3438 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 12:54:13 +00:00
Nick Treleaven
4428e31d93
Group some View callbacks together.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3437 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-02 14:01:24 +00:00
Nick Treleaven
943f07d07a
Add dialog for switching to last used tab, which disappears when
...
releasing the modifier key. (Useful once MRU switching is
implemented).
Connect window key-press-event in keybindings.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-02 13:37:40 +00:00
Nick Treleaven
5cb5d85d69
Fix description of a Project pref ( fixes #2476854 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-30 13:24:39 +00:00
Enrico Tröger
89e411cef1
Use a GeanyWrapLabel for the project indentation settings warning text in the prefs dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-29 10:43:04 +00:00
Enrico Tröger
bd628b9ddd
Avoid unnecessary critical warnings when setting tooltips for the symbol list with non-UTF-8 files ( closes #2473376 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-29 10:41:04 +00:00
Nick Treleaven
640053e598
Add ui_hookup_widget() macro to the API.
...
Make saving Stash string settings NULL-safe.
Move fif_extra_options search setting code to search.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 17:25:09 +00:00
Nick Treleaven
8af824aee4
Fix creating a new configuration directory (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 13:40:26 +00:00
Nick Treleaven
0f575ea2b7
Don't forget active plugins after disabling plugin support.
...
Use Stash for plugin-related prefs.
Add geany_object "save-settings" signal (for core only).
Add stash_group_add_string_vector().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 13:21:35 +00:00
Nick Treleaven
1a7f04c8da
Show warning label on Preferences dialog Editor tab when a project
...
is open.
Move Indentation frame to a separate tab.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-27 13:20:42 +00:00
Nick Treleaven
f0d2f92e65
Add Project Indentation prefs, which override the Editor
...
Preferences dialog options. For new projects, these default to the
editor indent prefs.
- Plugins:
For compatibility with this change, use editor_get_indent_prefs().
- Code changes:
The Project Properties dialog is now created by Glade, but (for
now) the existing options are added manually.
Add GeanyProjectPrivate project field.
Add stash_group_set_use_defaults().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-27 12:55:04 +00:00
Nick Treleaven
c56f0c450b
Add stash_group_add_combo_box_entry(), stash_group_add_entry().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 17:13:37 +00:00
Nick Treleaven
df5b4d85d9
Remove remaining PrefEntry code, use Stash instead.
...
Add stash_group_add_spin_button_integer(),
stash_group_add_combo_box().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 16:03:16 +00:00
Nick Treleaven
26fc571dcd
Rename stash_group_load() -> stash_group_load_from_key_file().
...
Rename stash_group_save() -> stash_group_save_to_key_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 12:50:19 +00:00
Enrico Tröger
6c60580989
Add new filetypes CMake and NSIS.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 20:31:09 +00:00
Enrico Tröger
cc7b058653
Only stat() files after saving for the timestamp when file_prefs.disk_check_timeout is set (to greater 0).
...
Call realpath() on files only when opening or changing the filename but not on every save.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 20:09:08 +00:00
Enrico Tröger
62b59e10fa
Update for GTK+ 2.14.5.
...
Command used (on Debian Sid/Experimental):
'CFLAGS=`pkg-config --cflags gtk+-2.0` geany -g gtk-2.14.c.tags /usr/include/gtk-2.0/gtk/gtk.h'
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 19:50:18 +00:00
Nick Treleaven
83e0fc1b1b
Parse sections in the order of first-used underline character,
...
which can now be any punctuation character (as per the spec).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3410 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 12:32:25 +00:00
Nick Treleaven
0709fcf00f
Allow Find Usage for selections even when the cursor is not at a
...
word character.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3407 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 17:15:52 +00:00
Nick Treleaven
331c28e6a7
Show Structs separately from Typedefs / Enums for the C symbol list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3406 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 16:49:37 +00:00
Nick Treleaven
32f0c26b4a
Use plurals for HTML symbol list parent items.
...
Fix Fortran Types showing as Interfaces in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3405 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 16:28:14 +00:00
Enrico Tröger
9e25c43487
Move implementation of lookup_widget() into ui_lookup_widget().
...
Change uses of lookup_widget() to ui_lookup_widget().
Remove now unneeded support.c.
Use GLib gettext macros in support.h instead of own ones.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 21:21:53 +00:00
Enrico Tröger
aceb1aa703
Remove remaining uses of doc->editor and use GeanyEditor directly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3401 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 19:23:32 +00:00
Enrico Tröger
12846c0998
Remove dead code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3400 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 19:22:36 +00:00
Enrico Tröger
a9c02f5cf1
Fix too ambitious auto tag closing in HTML files inside embedded scripting languages.
...
Complete HTML styles in is_comment_style() and is_string_style().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 17:46:41 +00:00
Nick Treleaven
46389fb650
On quitting, sort list of active plugins by plugin name.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3398 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 17:28:11 +00:00