5637 Commits

Author SHA1 Message Date
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
Enrico Tröger
e169372275 Fix two bugs with triple quoted strings within comments and missing indentation within triple quoted strings (#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5851 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-15 21:01:23 +00:00
Enrico Tröger
fa521d32f1 Add Cython keywords
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5850 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-14 21:23:19 +00:00
Colomban Wendling
c2f035cb70 Remove checks for the GSlice allocator, use it unconditionally
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5849 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 23:03:50 +00:00
Colomban Wendling
6380810550 Remove treeview-related pre GTK 2.12 support
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5848 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 23:03:19 +00:00
Colomban Wendling
b32030d500 Fix a small typo in the ChangeLog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5847 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 21:02:16 +00:00
Colomban Wendling
6bf947c04b Remove pre-GTK 2.10 tab DnD support
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5846 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 21:02:01 +00:00
Colomban Wendling
9830d5616c Drop another wrapper for GTK 2.12 tooltips
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5845 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 21:01:42 +00:00
Colomban Wendling
babaad93c4 Fix Printing preferences page alignment
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5844 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 20:43:35 +00:00
Colomban Wendling
ebca594c3c Remove GTK version check for setting show_symbol_list_expanders
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5843 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 20:43:17 +00:00
Colomban Wendling
a465369044 Stop talking about pre-GTK 2.12 tricks in the manual
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5842 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 20:42:55 +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
5d606ce351 Deprecate ui_widget_set_tooltip_text() in favor of gtk_widget_set_tooltip_text()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5840 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 18:41:50 +00:00
Colomban Wendling
2f20305925 Dump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5839 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 18:41:15 +00:00
Colomban Wendling
35ddfa4c70 Properly save and restore the encoding state in Open File dialog (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5838 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-10 23:13:08 +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
Frank Lanitz
b96412a86e Update of Turkish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-07 18:18:16 +00:00
Peter Scholtens
d76f1db2a1 updated Dutch translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5834 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-04 14:45:11 +00:00
Colomban Wendling
d455e83d6e Also use the actual user search in the combo box history
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5833 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-03 13:41:00 +00:00
Colomban Wendling
6f9d845181 In messages show the actual text user entered in Find and Replace dialogs
Previously we could put into a message a string where escape sequences
were already translated.

In the code, now we pass the original text together with the one
that is actually searched for.  New `original_text' field was added to
GeanySearchData.  A bug was fixed in document.c:show_replace_summary(): it
did not escape the "No matches found for ..." string.

Patch by Eugene Arshinov, thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5832 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-03 13:40:42 +00:00
Enrico Tröger
1e76b590c4 Ignore tags ending with an underscore.
Dynamically determine the path of Python's standard library instead of hardcoding it.
Parse all modules of the Python standard library instead of a hardcoded list of filenames.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5831 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-02 23:02:53 +00:00
Enrico Tröger
2ae8e26231 Fix a very old typo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-02 21:20:38 +00:00
Enrico Tröger
3ed484ead9 Focus the editor widget after loading project session files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-02 21:16:43 +00:00
Enrico Tröger
5141f14007 Add ui_focus_current_document() and document_grab_focus().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-02 21:15:37 +00:00
Enrico Tröger
ecfab3e67a Move keyword 'enum' to primary keywords (closes #3305737).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-30 18:37:07 +00:00
Colomban Wendling
525569e665 Update French translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 20:42:12 +00:00
Enrico Tröger
4b206e86be Check whether the custom plugin path is one of the user or system plugin paths and if so, ignore it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 20:08:53 +00:00
Enrico Tröger
8693bde80d Do not add active plugins to the list of plugins when they are already in the list (closes #3308191).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5824 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 19:45:16 +00:00
Enrico Tröger
b96aa6628f Fix typo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5823 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 19:38:47 +00:00
Enrico Tröger
247689ec64 Define and use get_plugin_path() always and move platform dependent code into the function definition.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 19:35:38 +00:00
Enrico Tröger
2d95161b05 When checking for literal strings to ignore, consider also unicode, binary and raw strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5821 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 17:40:50 +00:00
Colomban Wendling
fdc80371c8 Fix preferences help button when activated with the keyboard
Don't hack around to trigger the help when the help button is clicked
on, simply handle the HELP dialog response. This makes the button
correctly show help rather than close the dialog when activated using
the keyboard.

This also drops _button_press_event() need and hack, making the button
correctly respond visually to mouse clicks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-27 21:00:41 +00:00
Frank Lanitz
7f8ffc982f Update of Slovenian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-27 16:11:05 +00:00
Enrico Tröger
b516ec57e5 Add 'enum' to secondary keywords (closes #3305737, patch by Matthew Brush, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5816 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-22 11:08:06 +00:00
Enrico Tröger
243ddcb671 Do not allow 'Save All' even if 'allow_always_save' is set (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-22 10:32:31 +00:00
Enrico Tröger
ef0a297d9b Remove unused variables (suggested by Eugene Arshinov).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-22 10:00:53 +00:00
Enrico Tröger
917b4846ad Add old, missed ChangeLog entry, oops
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5813 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-22 09:59:30 +00:00
Enrico Tröger
9f676783f6 Remove unused variables (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5812 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-22 09:58:06 +00:00
Frank Lanitz
16fd3e4df2 Update of Slovenian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-17 20:35:27 +00:00
Colomban Wendling
6e6b4a61fc Make search.c:on_replace_dialog_response() a little more readable
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5797 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-17 13:47:36 +00:00
Colomban Wendling
36649da8d4 Update the HTML encoding detection regex to accept more valid inputs
HTML 4.01 don't seem to require the http-equiv value to be quoted, so
make the quotes optional.
Also allow more than one space between the meta tag and its http-equiv
attribute.

Closes #3300703.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5796 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-11 22:52:05 +00:00
Colomban Wendling
edc8457e8a Cleanup GeanyWrapLabel a bit
* Do all mandatory initializations in _init() rather than _new();
 * Drop geany_wrap_label_set_text() in favor of plain
   gtk_label_set_text(), making the widget a little simpler and more
   transparent to the caller.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-10 23:51:01 +00:00
Colomban Wendling
c42c384079 Improve the plugin manager dialog a little
* Add a paned to allow the plugin description part to be resized;
 * Split plugin name, description and authors into distinct entities
   and show aligned and bold titles for them.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-10 23:50:21 +00:00
Colomban Wendling
24705610ab Enable SplitWindow build on Windows again
Re-apply r5638 now the SplitWindow plugin is fixed for real.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-09 13:22:02 +00:00
Colomban Wendling
e8b724ca05 Remove widget reparenting in Split Window plugin
Instead of reparenting the documents notebook full of
ScintillaObjects, just ref it, remove it from the old parent, add
it to the new parent, and then unref it.  This fixes the display
issue on Windows and seems to have no issues on Linux.

Patch by Matthew Brush, thanks.
Closes #2725342.

Re-apply this patch now the X PRIMARY selection bug is fixed in
Scintilla's side (see r5692).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5774 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-09 13:21:45 +00:00
Enrico Tröger
80e6949610 Remove unused variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5763 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-08 16:02:40 +00:00
Enrico Tröger
672365af25 Add note about patching Glade 2.12 to compile it with newer GTK versions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5762 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-08 15:43:39 +00:00
Nick Treleaven
bef3d696fd Fix 'Toolbar Preferences' popup menu item (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5760 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-06 15:59:30 +00:00
Colomban Wendling
a9c64e3365 Update the documentation for project patterns and recent FIF dialog changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5759 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-03 20:37:00 +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