3232 Commits

Author SHA1 Message Date
Nick Treleaven
f3e103c1e4 Beep if the user hasn't entered a class name on pressing OK.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 11:35:31 +00:00
Nick Treleaven
62f79f8f2a Don't generate FOO_GET_PRIVATE() macro because caching the result
in Foo::priv can be much more efficient.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 17:19:59 +00:00
Nick Treleaven
90acc27a7a Add Stash setting functions to API.
Remove unnecessary argument to stash_group_load_from_file().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 16:29:38 +00:00
Nick Treleaven
806bb254c7 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
fixes #2976905).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4789 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 14:43:40 +00:00
Enrico Tröger
09d0321657 Fix cursor positioning when toggling comments (patch by Thomas Martitz, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4788 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 23:00:59 +00:00
Peter Scholtens
904bc7e44d Added Ctrl+0 for zoom reset / normal size
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4786 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 22:18:00 +00:00
Nick Treleaven
5bbd6a30d7 Fix wrong selection range after Replace in Selection.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4784 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 13:43:37 +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
Enrico Tröger
7db7ef002d Backport fix from Scintilla CVS to not paste text beyond the end of lines (closes #2969096).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4781 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-20 15:40:45 +00:00
Enrico Tröger
f8864c5700 Remove reference to already removed latex.tags file. Future releases probably still depend on GTK 2.16.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4780 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-20 15:27:09 +00:00
Enrico Tröger
a01a4f68e3 Make CreateChildProcess() working with Unicode strings, e.g. directory names (closes 2972606).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-20 15:16:21 +00:00
Nick Treleaven
809a37ddd2 Add stash_group_load_from_file() and stash_group_save_to_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4778 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-19 17:38:27 +00:00
Nick Treleaven
86e5bb4bc7 Make adding string and string vector settings initialise the setting
to NULL for safety.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4777 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-19 12:51:08 +00:00
Nick Treleaven
201b595b51 Rename Stash data types to be independently named from Geany (so
Stash can be reused for other projects).
Rename GeanyPrefGroup to StashGroup.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4776 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 17:04:17 +00:00
Nick Treleaven
94b06b46e2 Add frame for 'Printing' prefs dialog page.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4774 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 13:26:48 +00:00
Nick Treleaven
39a6d76e2a Improve API docs contents page by listing all commonly-used files.
Fix 'Date' appearing twice on the date line.
Don't generate API docs for prefs.h, toolbar.h (unused).
Move some '@file' doc-comments to the .c file.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4772 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 13:13:11 +00:00
Nick Treleaven
8e9bfdf16a Set default for wrapped lines to show marker at end of line only
(more expected and doesn't change line alignment - closes #2972386).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4771 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 12:35:16 +00:00
Nick Treleaven
aa872a4545 Add doc-comments for Stash setting functions.
Add an example file showing usage of Stash.
(Not enabled yet until added to the plugin API).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4769 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-17 17:15:47 +00:00
Nick Treleaven
26f161c9d3 Apply patch from Colomban Wendling to parse Python lambda functions
(thanks) - modified to only parse toplevel or class member lambdas.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4768 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-17 13:39:18 +00:00
Lex Trotman
57aaf35b75 Fix using return value without checking return status, caused
incorrect sensitivity settings on build dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4767 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-17 04:34:33 +00:00
Nick Treleaven
2c4cb093d0 Add tip about gcc optimization & warnings/debugging.
Add Testing section.
Update Libraries section about synchronizing with other projects.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4765 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-16 13:28:36 +00:00
Enrico Tröger
31a4eddf44 Add utils_copy_environment() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4764 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 14:48:43 +00:00
Enrico Tröger
aea9e1cb18 Fix/Improve GIT repository detection (patch by Thomas Martitz, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4763 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 14:06:29 +00:00
Enrico Tröger
0fd6e75f4a For now revert the recent patch which set real_path of newly open non-existent configuration files as this seems hackish and causes 'file not found' warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4762 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 14:05:42 +00:00
Nick Treleaven
04972d2499 Apply patch from Eugene Arshinov to make frame packing/alignment
more consistent (thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4761 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 13:12:54 +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
Nick Treleaven
138cbaa02f Use 3rd person (gets not get) for API function brief descriptions.
Avoid using 'convenience function' in API brief descriptions.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4757 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 18:15:48 +00:00
Nick Treleaven
034504dd90 Make Long Line Marker settings for existing projects default to
general settings instead of 0 (thanks to Eugene Arshinov).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4756 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 15:09:48 +00:00
Nick Treleaven
748cc2b9d9 Fix not destroying 'Make Custom Target' input dialog after first
use (oops).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4755 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 14:54:18 +00:00
Nick Treleaven
9191764491 Make Build Commands dialog show menu item labels as a button (to
help show that menu labels don't normally need to be edited &
display the mnemonic correctly). Clicking shows an input dialog to
set a new menu item label.
Split dialogs_show_input() into 2 functions: one simple, one for
a persistent dialog.
Fix possible double-destroy of input dialog when closed by user.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4754 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 13:06:34 +00:00
Nick Treleaven
c5b2588e4f Fix ui_button_new_with_image() to call gtk_button_set_image() so
that gtk_button_[sg]et_label() work as expected.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4753 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 11:23:22 +00:00
Nick Treleaven
31cedd30ba Edit/tidy 'Long line marker' labels.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4752 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 16:30:15 +00:00
Nick Treleaven
7c27b1e009 Apply patch from Eugene Arshinov to add project long line marker
customisation (thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 16:20:34 +00:00
Nick Treleaven
49827bbd42 Warn about some GNU extensions for regular expressions & clarify
some points.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 13:52:41 +00:00
Lex Trotman
ebe459f94f Fix crash due to NULL in project build preferences ( thanks to
Wolfgang Ocker )


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 00:55:21 +00:00
Nick Treleaven
2266594ecd Remove warning about no visual indication for zero-column-mode
editing.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4748 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-09 17:20:15 +00:00
Nick Treleaven
dacfa1c66b Backport minor formatting/style changes from Scintilla project.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4747 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-09 17:07:53 +00:00
Nick Treleaven
aaa1e9657a Merge gnu-regex branch:
Use POSIX system/GNU regex engine for find & replace 'Use regular
expressions' option. This alters regex syntax a bit - see the docs
for details; we now support '?' operator and replacement backslash
escaping is more standard.
Make regex search imply replacing escaped chars.
Allow \0 backreference replacement for the whole match.
Note: Replace All may be slower; if this is a problem please let me
know.
- code:
Add argument to utils_str_replace_escape() for keeping
uninterpreted backslash escapes e.g. '\\', '\e'.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-09 16:56:04 +00:00
Enrico Tröger
01016825fb Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4745 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 23:05:58 +00:00
Enrico Tröger
e055f36b12 Adjust ChangeLog due to Can Koy's request
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 22:43:14 +00:00
Nick Treleaven
bf3b46bc26 Update for POSIX-regexes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 17:03:03 +00:00
Nick Treleaven
b8e2b623b4 Implement POSIX-regex Replace All (could be more efficient but
seems OK for now).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4741 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 13:45:14 +00:00
Nick Treleaven
17ad8ba1b8 Move search_replace_range() to search.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 13:28:04 +00:00
Nick Treleaven
361b128d81 Refactor document_replace_range() with search_replace_range().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4739 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 13:23:32 +00:00
Nick Treleaven
c8bac32a8a Implement POSIX-regex Find All.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4738 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 12:27:31 +00:00
Enrico Tröger
f72f6381df Add and use convenience function ui_is_keyval_enter_or_return() and add it to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 19:33:15 +00:00
Enrico Tröger
c5e50e2930 After opening files, focus the editor widget (based on a patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4735 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 18:43:31 +00:00
Enrico Tröger
37b67fb9f5 Properly show/hide the mesages window when using the View menu item (closes #2961282).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:57:45 +00:00
Enrico Tröger
f07cd20405 Focus the editor widget after hiding the sidebar when it had the input focus (patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:44:14 +00:00
Enrico Tröger
74f0afa5dc When editing non-existent config files using the Tools->Configuration Files menu, explicitly set the real_path to avoid presenting the Save As dialog when saving the file (patch by Tony Rick, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4732 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:37:00 +00:00