Colomban Wendling
ddb4ad5fa5
Fix some whitespace style errors
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-06 18:34:14 +00:00
Frank Lanitz
a9f4dcfbbb
Adding a hint to prevent double usage of main_local_init() also to function documentation and correct word order.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-01 19:31:56 +00:00
Colomban Wendling
e9e3f6a8ab
Remove most of the checks for GIO
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5852 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:51:17 +00:00
Colomban Wendling
acc1ad557c
Enable GTK printing support unconditionally
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 20:42:31 +00:00
Colomban Wendling
f856ac782d
Always destroy open and save dialog after use
...
Create and destroy the file open/save dialogs on each call rather than
keeping the same dialog around. This avoids letting GTK monitor the
displayed directory for changes, thus probably reducing overhead and
works around GTK monitoring bugs.
This refactors the code a bit now it works a little differently.
Also fixes a bug that made dialogs_show_save_as() wrongly return the
first user response rather than the one that is actually used to make
the decision. It happened for example when the user first selected an
non-writable location, or was asked whether to override a file and
answered "no".
Closes/references:
https://sourceforge.net/tracker/?func=detail&aid=3311687&group_id=153444&atid=787793
https://sourceforge.net/tracker/?func=detail&aid=3311258&group_id=153444&atid=787791
https://sourceforge.net/tracker/?func=detail&aid=3304273&group_id=153444&atid=787791
https://sourceforge.net/tracker/?func=detail&aid=3201050&group_id=153444&atid=787791
https://sourceforge.net/tracker/?func=detail&aid=3163742&group_id=153444&atid=787791
https://sourceforge.net/tracker/?func=detail&aid=3153120&group_id=153444&atid=787791
https://sourceforge.net/tracker/?func=detail&aid=2985896&group_id=153444&atid=787791
https://bugs.launchpad.net/ubuntu/+source/geany/+bug/754577
Dialog state restoration based on a patch by Matthew Brush, thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5837 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-10 22:13:29 +00:00
Nick Treleaven
b36ebf0a6b
Save filetype build commands straight after editing them instead of
...
at shutdown (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5758 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-03 16:08:23 +00:00
Nick Treleaven
05394fdf27
Make filetype groups configurable using [Groups] in
...
filetype_extensions.conf.
Read filetype_extensions.conf when calling filetypes_init_types(),
don't require doclist initialization.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-26 15:01:04 +00:00
Colomban Wendling
a009c2b48e
Fix loading and updating menu accelerators for custom commands
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 15:53:48 +00:00
Nick Treleaven
22038400cc
Add filetypes_get_sorted_by_name() to API.
...
Fix --ft-names sorting to print in name order, not title order.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5649 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-29 18:06:26 +00:00
Enrico Tröger
5521c67983
Initialize GLib's Gthread system early at startup in case any plugins need it.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5637 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-27 15:04:58 +00:00
Colomban Wendling
7698bf60a7
Improve usage of G_(UN)?LIKELY()
...
G_(UN)?LIKELY() should be only used on whole conditional expressions,
and only if the branching is very highly predictable, not if it is only
more probable.
These macros should be used with care because a wrong prediction may
be a lot worst than what a good prediction can give.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5625 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-24 22:00:18 +00:00
Nick Treleaven
70005af1d6
Make --ft-names list filetypes alphabetically.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5615 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-22 17:09:48 +00:00
Enrico Tröger
bf4067f910
Rename utils_is_file_writeable() into utils_is_file_writable().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5539 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:47:18 +00:00
Enrico Tröger
6ac2623208
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:39:09 +00:00
Nick Treleaven
b595c0a3d8
Disable 'Send Selection to Terminal' item when not available
...
instead of removing it to avoid trailing separator.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:25:11 +00:00
Nick Treleaven
d65d3adcc4
Fix segfaults when using 'Send Selection to Terminal' and the VTE
...
is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
pref (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:02:46 +00:00
Nick Treleaven
14daa797d0
Fix auto-displaying of sidebar tab bar when sidebar is reshown.
...
Only auto-display symbols and documents tabs when showing the
sidebar if there are no plugin tabs.
Don't hide the sidebar on startup if only plugin tabs are visible
(fixes #3101867 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5422 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 13:49:38 +00:00
Nick Treleaven
76a6ad8a93
Show GIO/built-in regex support in startup debug message as well as
...
for --version.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 17:09:09 +00:00
Nick Treleaven
95a0e1acc2
Add startup debug messages to show app->datadir and app->configdir.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 16:39:49 +00:00
Nick Treleaven
e5fefb576d
Print "GIO" and "built-in regex" if enabled with --version.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5360 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 17:39:46 +00:00
Nick Treleaven
92d9221042
Remove trailing directory separator for app->datadir and
...
app->docdir for consistency with the other directory fields.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-01 15:17:22 +00:00
Nick Treleaven
8b6bcf6d68
Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5236 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-16 15:18:56 +00:00
Nick Treleaven
55ebfc0d61
Ignore directories passed on the command-line (based on patch by
...
Erik de Castro Lopo, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5226 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-14 11:29:42 +00:00
Nick Treleaven
7e8c863298
Add GeanyMainWidgets::message_window_notebook for plugins to append
...
a new notebook page (#3061342 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 12:36:01 +00:00
Nick Treleaven
ae4d82b7f1
Use Stash to save statusbar_template setting, instead of the
...
load/save-settings signal.
Add ui_init_prefs().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 17:15:16 +00:00
Nick Treleaven
2b771854ae
Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-08 16:59:11 +00:00
Nick Treleaven
2265fe283a
Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
...
G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-05 12:03:27 +00:00
Nick Treleaven
148975afa3
Move plugin signals docs to pluginsignals.c, using function
...
pointer syntax instead of @signaldef as this puts a summary of
the signal names at the top of the page and sorts alphabetically.
(Note: the syntax is similar to Vala signal syntax).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5065 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-25 16:50:27 +00:00
Enrico Tröger
373a4d32c3
Print locale information in debug output.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-29 18:35:51 +00:00
Enrico Tröger
fdd451f0d4
Add preference to add new document tabs beside the current one (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4928 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:45:39 +00:00
Enrico Tröger
c72f1d40ac
Remove unnecessary textdomain() call.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4909 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-14 16:01:44 +00:00
Enrico Tröger
534e36b3bf
Fix crash when generating global tags files (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-08 15:41:00 +00:00
Enrico Tröger
1cac20b8da
Remove malloc() fallback since we completely rely on g_malloc() nowadays.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4859 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-25 17:42:43 +00:00
Enrico Tröger
7159c7c371
Add new command line option --list-documents to return a list of currently opened documents ( closes #2979933 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:50 +00:00
Enrico Tröger
1864e6e6a5
Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT to not set Geany's minimum window size anymore ( closes #2972992 ).
...
As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-20 16:20:55 +00:00
Nick Treleaven
a190e1bfb7
Use 3rd person for more API dox.
...
Change 'This is a wrapper function for...' to 'Wraps...' in brief
descriptions.
Change 'After all...' to 'Afterwards...'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4760 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 13:01:16 +00:00
Enrico Tröger
cc19e09d83
Add new signal: "geany-startup-complete" which is sent once all initialization and startup tasks has been done.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 15:17:30 +00:00
Enrico Tröger
7ba4a81181
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Enrico Tröger
93f66de4e2
Add MessageWindow::scribble and use it instead of searching the widget pointer everytime.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4499 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:07:04 +00:00
Enrico Tröger
d9e7c95531
Allow opening Geany projects remotely.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 19:59:13 +00:00
Enrico Tröger
bb81104fcb
Add main_is_realized() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 13:36:26 +00:00
Enrico Tröger
ec9818d7fc
Add new command line option "--socket-file" to be able to specify separate socket filenames for instances ( closes #2896027 , patch by Jörn Reder, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4440 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 21:03:24 +00:00
Enrico Tröger
1c3dbff328
Remove old code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4405 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 21:16:40 +00:00
Nick Treleaven
01b408c09b
Add 'View->Editor->Color Schemes' menu, for now only shown if color
...
scheme files exist in a colorschemes config directory. Color scheme
files must end in ".conf" and currently only the [named_styles]
section is read.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4395 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 12:36:56 +00:00
Enrico Tröger
9b215d3fcb
Before looking for line and column numbers specified as part of a filename, ensure the file doesn't exist on disk. This allows opening of files like "test:0".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4359 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 11:52:47 +00:00
Nick Treleaven
091bfac4ac
Add sidebar position interface pref.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-23 16:18:05 +00:00
Nick Treleaven
caec1ec7c3
Rename treeviews.[hc] -> sidebar.[hc].
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4252 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 11:16:59 +00:00
Nick Treleaven
1986d915cc
Run ./scripts/fix-alignment.pl -w src/*.[hc] plugins/*.[hc] (skipping generated files).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 14:13:38 +00:00
Nick Treleaven
df5acb442a
Remove unused variable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 12:23:50 +00:00
Frank Lanitz
ab81ef986f
Remove deprecated --debug flag. Please use --verbose/-v instead.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-15 19:56:05 +00:00