Enrico Tröger
426dbff4b6
Add a warning if writing the project file fails on close.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:36:04 +00:00
Enrico Tröger
277e2c2cdf
Improve error checking when trying to write project files (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5537 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:32:49 +00:00
Enrico Tröger
ec408fa4b9
Add filetype Cobol (based on a patch by Seth Keiper).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-30 15:03:51 +00:00
Enrico Tröger
e7e9410c5c
Ensure the editor widget has the focus when the editor menu is called.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5532 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-30 13:48:21 +00:00
Enrico Tröger
044791794f
Post-release version bump.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5529 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:47:35 +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
Enrico Tröger
f3b425fd64
Add and use secondary keywords for filetype JavaScript, update and sanitize JavaScript keyword lists (patch by Jason Oster, thank you).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5526 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-18 19:29:15 +00:00
Frank Lanitz
c05ac6f39b
Added Rafael Peregrino da Silva to list of contributors for Brazilian Portuguese (pt_BR) translation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5524 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-11 21:49:23 +00:00
Nick Treleaven
43dc30a5d1
Merge trunk to r5519.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-10 13:58:12 +00:00
Nick Treleaven
c8cd1a0457
Thanks to Matthew Brush.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-10 13:39:47 +00:00
Nick Treleaven
4d4bf2f347
Add Save As toolbar button option (patch by Matthew Brush, thanks;
...
#3153490 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-10 13:35:29 +00:00
Nick Treleaven
3ba9517d8f
Add debug message with the number of compatible plugins in each
...
plugin search path when showing the Plugin Manager dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-04 12:41:22 +00:00
Nick Treleaven
6c30fc692f
Add Edit->Insert Alternative White Space menu item (was previously
...
removed from Edit->Commands submenu).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5498 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-24 13:31:39 +00:00
Nick Treleaven
4c17428732
Add filetypes_get_display_name() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 16:59:38 +00:00
Nick Treleaven
467450fdce
Scroll to the current line when moving the cursor to the next
...
cursor position in a snippet (#3139490 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 13:44:41 +00:00
Nick Treleaven
7a35566cc8
Fix detecting non-lowercase self-closing tags e.g. <BR> ( #2226117 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 13:18:26 +00:00
Nick Treleaven
910e4afb29
Split Preferences dialog Interface tab into subnotebook to reduce
...
height of dialog (fixes #3141277 ). Reuses existing strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5493 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 12:49:56 +00:00
Nick Treleaven
e507c9b352
Remove unused variables.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5481 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-09 15:34:28 +00:00
Nick Treleaven
4ba5b4c217
Use italic for note labels in the Build Commands dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-09 13:14:50 +00:00
Nick Treleaven
df2e2c9e33
Reduce Set Build Commands dialog column 1 width by using '#' label.
...
Fix memory leak.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-09 13:03:42 +00:00
Nick Treleaven
3637847355
Replace doc-comments with '/* *' comments to show there's no build
...
API for plugins.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-08 17:13:10 +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
650b5ae84a
Fix some more wrong uses of vte_info.load_vte instead of
...
vte_info.have_vte.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:16:57 +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
bc837b18a5
Improve error message for document_save_file() if doc->file_name is
...
NULL (reusing existing strings).
Add warning about this in the API docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-06 18:04:42 +00:00
Nick Treleaven
1f2ef01d31
Warn about file truncation if unsafe file saving fails.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-01 13:06:01 +00:00
Nick Treleaven
66d8cbec81
Add warning for utils_write_file() that g_file_set_contents() is a better choice because it handles disk exhaustion safely.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-30 18:25:16 +00:00
Nick Treleaven
cba09d5e8d
Check result of fclose() for utils_write_file().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-30 18:18:24 +00:00
Nick Treleaven
31a4d066b3
Add 'Open in New Window' command in the notebook tab menu (based on
...
patch by Matthew Brush, thanks - #3118059 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-29 13:21:35 +00:00
Nick Treleaven
aad0728959
Add note to indentation prefs page about using Project->Apply
...
Default Indentation for currently open documents.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 13:28:52 +00:00
Nick Treleaven
a8e0cfb395
Typo in editor_get_[indent_]prefs() dox.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5433 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:40:30 +00:00
Nick Treleaven
ff6354d833
Remove unnecessary 'global' from long line editor pref field names.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:36:29 +00:00
Nick Treleaven
a29d75af2c
Add editor_get_prefs() instead of editor_get_long_line_*()
...
functions. This general function can be extended to support
various project and document overrides.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:25:58 +00:00
Nick Treleaven
3a3d8815a3
Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
...
thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 16:23:22 +00:00
Nick Treleaven
7dbb4359f4
Don't use 'Enable' in pref labels when unnecessary.
...
Rename XML/HTML tag autocompletion -> auto-closing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 13:43:36 +00:00
Nick Treleaven
c61a189c00
If the current word's tag is on the current line, make Go to Tag
...
Definition look for a tag declaration instead, as this is more
useful. Likewise make Go to Tag Declaration search for a tag
definition in this case also.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 13:17:42 +00:00
Nick Treleaven
47372d9331
Add 'Mark All' Search menu command.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 12:50:24 +00:00
Nick Treleaven
f37202685d
Warn about preprocessor testing GEANY_API_VERSION below 200 because
...
those tests will always fail.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 16:51:16 +00:00
Nick Treleaven
70258a9ec4
Add example of using '#if GEANY_API_VERSION >= 200'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 16:44:04 +00:00
Nick Treleaven
7814bb2a5a
Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
...
so you can protect code with '#if GEANY_API_VERSION >= 200'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 16:30:44 +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
b846a54a3f
Improve dialogs_show_input() documentation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:53:12 +00:00
Nick Treleaven
b9a42fa6d1
Add dialogs_show_input() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:27:01 +00:00
Nick Treleaven
554f1b0526
Don't change default build command entry color when cancelling
...
label editing.
Make dialogs_show_input() return NULL when cancelled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 17:51:15 +00:00
Nick Treleaven
63df228c08
Remove unnecessary gpointer casts.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 16:25:11 +00:00
Nick Treleaven
e24d4fbfa0
Re-focus Set Build Commands/Project dialogs after editing a build
...
command label.
Add 'parent' argument to some dialogs_show_input*() functions because
the dialog parent may not always be the main window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 16:15:10 +00:00
Nick Treleaven
c8c19697f9
Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
...
Build Commands dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-17 15:33:24 +00:00
Nick Treleaven
ddefb0a0b4
Add API functions (patch by Eugene Arshinov, thanks):
...
Move editor.c: is_{string,comment,code}_style() functions to
highlighting.c, add to API.
Add editor_find_snippet(), editor_insert_snippet(),
utils_find_open_xml_tag() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5409 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-16 15:07:40 +00:00
Nick Treleaven
cb9982480f
Make Reflow Lines/Block command use the current indented block, not
...
the whole paragraph, which could have mixed indentation.
Fix memory leak and off-by-one bug on first line when using Select
Paragraph command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-16 13:26:04 +00:00
Nick Treleaven
9e7515450a
Don't use XML tag auto-indentation when '</' is to the right of the
...
cursor; allow auto-indentation when XML tag auto-closing is also
enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5406 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-15 13:06:11 +00:00