2624 Commits

Author SHA1 Message Date
Enrico Tröger
009fdd67a1 When using Find All in the Find dialog (in Session and Document), display the right amount of matches.
Fix the display of the matches once per line (I broke the original patch).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3629 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-16 13:43:12 +00:00
Enrico Tröger
3be9ab0937 Reduce default file permissions on the Unix Domain socket file (reported by Jörg Sommer, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3628 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-15 07:50:05 +00:00
Enrico Tröger
b2faa6dcfb When using Find All in the Find dialog, display matches only once per line in the messages window (patch by Bert Vermeulen, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3627 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 17:23:56 +00:00
Enrico Tröger
a70a679898 Add an option to set an additional plugin lookup path.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 10:02:29 +00:00
Enrico Tröger
4122c1b138 Add filetype ActionScript (patch by Chris Macksey, thanks).
Update type keywords only for real C-like languages.
Fix wrong sorting of Assembler and Ada filetypes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3624 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 09:58:27 +00:00
Enrico Tröger
fbbe778eeb Fix punctuation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3621 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-05 13:03:51 +00:00
Enrico Tröger
8302a0be66 Don't use menu item images for the tab bar menu to save some vertical space.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3619 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-05 13:03:06 +00:00
Frank Lanitz
b56f1d64a2 Update of Finnish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3617 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-03 21:28:01 +00:00
Enrico Tröger
93b0278a52 Disable the default tab bar menu for the main notebook widget and use a custom menu instead which lists all open files as usual plus 'Close Other Documents' and 'Close All' menu items.
Remove GeanyDocumentPrivate::tabmenu_label.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3615 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-02 20:34:31 +00:00
Enrico Tröger
c573d3cc22 Add main.h to the list of installed header files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3614 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-02 20:34:06 +00:00
Enrico Tröger
cff3f126ac Fix broken non-incremental search with the toolbar search entry when pressing Enter (closes #2638180).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:06:51 +00:00
Enrico Tröger
57c761dea2 Fix missing brace in comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3608 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:06:34 +00:00
Enrico Tröger
46a2d13b4d Move ui_set_search_entry_background() into ui_utils.c.
Change the background colour of the search entries in the Find and Replace dialogs according to the search results like in the toolbar search field.
Add images to the 'Replace' and 'Replace and Find' buttons in the Replace dialog.
Minor cleanups in search.c.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3605 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:05:50 +00:00
Enrico Tröger
8effc35042 Fix mnemonic for the Edit->Preferences menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3602 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-25 23:29:34 +00:00
Enrico Tröger
59079283f2 Add 'Send Selection to Terminal' command to the Edit->Format menu (initial patch by David Gleich, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3601 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-25 23:28:01 +00:00
Enrico Tröger
f40a88fce9 Fix wrong Fortran 90 comment characters when inserting templates.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-25 23:25:06 +00:00
Enrico Tröger
49b5c0671c Allow an empty value for the date format in the print settings to omit the date/time string in the print header.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3599 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:27:21 +00:00
Enrico Tröger
38185ff65d Don't let the tagmanager automatically reparse files if they seem to be changed on disk (affects all files in the current session, not the current one). This should speed up file saving a little bit, especially with remote files.
Remove now unnecessary calls to tm_workspace_update().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:27:01 +00:00
Enrico Tröger
2a086b3b95 Fix broken selection of "Document->Set Encoding" menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3597 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:26:33 +00:00
Enrico Tröger
ec531d2495 On Windows, change the working directory to the Geany installation path at startup to avoid unwanted directory locking(closes #2626124).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3596 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:26:16 +00:00
Enrico Tröger
f63a63a008 Fix missing NULL checks when reading the colour value of compiler output messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3595 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:25:57 +00:00
Frank Lanitz
a75ed4d6e2 Set cursor for LaTeX at auto closing of environment direct into area
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3593 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-20 01:08:50 +00:00
Enrico Tröger
c816cec79f Add missing header include (closes #2615808).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3592 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-19 15:09:45 +00:00
Enrico Tröger
f5a5571407 Fix broken symbol list tooltips when tag names contain ampersands.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3591 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-18 15:20:27 +00:00
Enrico Tröger
337923d423 Fix a possible crash when comparing symbol names (could be related to Ubuntu bug #147151).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3590 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-18 14:57:58 +00:00
Enrico Tröger
1a3433e73a Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3587 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-15 14:10:10 +00:00
Enrico Tröger
d7f8d9933c Don't use the clear icon inside any spin buttons in the prefs dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3575 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-13 18:13:07 +00:00
Enrico Tröger
8735f3b47e Don't use a hard coded black foreground colour for the compiler and messages windows, instead use the default GTK foreground colour.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3574 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-13 18:12:49 +00:00
Enrico Tröger
8cd312e250 Small optimisations by moving out function calls of loop break conditions (patch by Frank, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-10 21:11:25 +00:00
Enrico Tröger
4ffd7f2ed9 Add a clear icon to the used text entries all over the place (will be available with GTK >= 2.16).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3570 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-10 21:10:50 +00:00
Enrico Tröger
c5dc11dc6f Really focus the status/compiler/messages window when the corresponding keybinding is used.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3569 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-08 20:35:57 +00:00
Enrico Tröger
e98cf99fb7 Don't follow the path of the document if the document has not an absolute file path.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3568 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-08 19:52:43 +00:00
Enrico Tröger
d6c1d1e801 Add editor_get_word_at_pos() as a convenient function to retrieve the word at a given position.
Make document_get_status_color() returning a const GdkColor.
Add editor_get_word_at_pos() and document_get_status_color() to the plugin API.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3567 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-08 19:52:21 +00:00
Frank Lanitz
f87cb49e2d Don't put closing td tag into a new line during auto completion of a
HTML table

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3562 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-08 13:01:44 +00:00
Enrico Tröger
35aaad545b Fix ordering of the input methods submenu item in the VTE popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3560 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-06 19:39:52 +00:00
Enrico Tröger
51b3a33503 Add plugin_module_make_resident() to the plugin API which allows plugins to make the module resident. This seems necessary when using GTypes, e.g. by using the GObject API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3559 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-06 19:05:12 +00:00
Enrico Tröger
df24b80537 Don't check for old configuration directory location on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3557 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-06 14:15:19 +00:00
Enrico Tröger
3e168c175c Fix typo which caused wrong snippet completion (closes #2568588).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3553 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 20:02:54 +00:00
Enrico Tröger
591291623c Remove trailing whitespace.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3552 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 19:18:46 +00:00
Enrico Tröger
334e7092ea Allow pressing Space/Enter in the compiler and messages treeviews to activate the selected item (closes #2555704).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 19:14:17 +00:00
Enrico Tröger
bfbc2b6f73 Special case Menu key presses and Shift-F10 to show the popup menu of the widgets where they were pressed instead of always the document notebook tab list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3550 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 19:10:57 +00:00
Enrico Tröger
4daa599478 Use the G_DEFINE_TYPE() macro to generate the *_get_type() code.
Remove useless geany_object_finalize() function.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3549 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 19:04:54 +00:00
Enrico Tröger
bbd58c2856 It's enough to check for GTK 2.14 at runtime, not at build time when to determine whether to show non-local folders in the file chooser dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3547 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-04 20:04:49 +00:00
Enrico Tröger
1fc1e8f24a Fix a crash on Windows for PHP files when 'comment_close' in not set (neither in the user's config nor in the global filetypes.php) and (un)commenting is used outside of the PHP tags (reported by Frank, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3546 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-04 20:01:32 +00:00
Enrico Tröger
c70d6c4338 Some code cleanup and improve comments, no changes in functionality.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3545 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-04 19:52:44 +00:00
Enrico Tröger
200d1152f6 Fix wrong Help button sensitiveness in the plugin manager dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3542 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-02 21:04:55 +00:00
Enrico Tröger
c4897ee665 Use the document's real path when the VTE setting 'Follow the path of the current file' is used to prevent unnecessary directory changes when symlinks are used (reported by Dominic Hopf).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3532 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-01 18:03:19 +00:00
Enrico Tröger
b2eeefc919 Add some missing @since tags to the API documentation of various functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-30 18:53:23 +00:00
Enrico Tröger
56a1470bb9 Add utils_string_replace_first() to the plugin API.
Allow entering paths prefixed with '~' in the filebrowser path entry.
Show the full path for files and folders in the filebrowser plugin as tooltips.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3529 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-30 16:12:25 +00:00
Enrico Tröger
2758ac24b7 If the VTE has a dirty command line, print the resulting warning also to the debug messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-30 15:39:08 +00:00