4582 Commits

Author SHA1 Message Date
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
Enrico Tröger
2f43a0b701 Remove accidentally added non-portable compiler flag
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4766 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-16 20:28:20 +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
Frank Lanitz
e8b0d5b25f Update of Swedish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4759 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-13 12:04:49 +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
bba3be69d6 s/geany_find_text/search_find_text
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4742 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 16:27:51 +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
46e7e124d9 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@4736 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 18:48:12 +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
Enrico Tröger
2ec40e1a01 Fix setting the icon for some dialogs if the parent itself is also a dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:28:13 +00:00
Enrico Tröger
80a1d3965d Correctly set the parent widget for the keybinding overwrite confirmation dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4730 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:13:54 +00:00
Enrico Tröger
26ea57b714 Improve PHP parser to parse also the argument lists of PHP functions (patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 16:50:20 +00:00
Enrico Tröger
0865b45ed9 Fix broken 'Save' action in 'Resave missing file' dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 15:41:25 +00:00
Enrico Tröger
25ec844cfa Fix duplicate mnemonics on 'resave missing file' dialog, also move the question from the secondary to the main text to be more compatible with the Gnome HIG.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 15:32:34 +00:00
Enrico Tröger
08f201b118 Fix crashes when using Save As with no open files (closes #2964406).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4726 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 11:08:19 +00:00
Enrico Tröger
4edb42870d Fix wrong default response for the Debug Messages dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 10:37:35 +00:00
Enrico Tröger
49dff98485 Add preference for virtual spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 10:36:27 +00:00
Enrico Tröger
7396f7672d Update Scintilla to version 2.03.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 10:31:51 +00:00
Frank Lanitz
90a7f9294b Update of Asturian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4722 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-05 18:07:41 +00:00
Frank Lanitz
1d3c6d2f0f Add Asturian translation. Thanks to Marcos Costales
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4721 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-05 14:52:10 +00:00
Nick Treleaven
f96c3d1a00 Move new regex code to search.c: search_find_next(),
search_replace_target().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4720 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-02 13:21:41 +00:00
Nick Treleaven
3927eb059b Fix not replacing escapes within a backreference match.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4718 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-01 18:28:57 +00:00
Nick Treleaven
e669410ad1 Fix regex search for '\\'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4717 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-01 18:16:28 +00:00