2561 Commits

Author SHA1 Message Date
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
Enrico Tröger
5752ee9863 Rename utils_start_browser() in utils_open_browser() and add it to the plugin API.
Add plugin symbol plugin_help() which is called by Geany when the plugin should show its documentation (if any). This symbol is optional, plugins can omit it if not needed.
Add a Help button next to the Configure button in the plugin manager dialog to easily open a plugin's documentation if available.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3524 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-28 19:30:18 +00:00
Enrico Tröger
8dc9c01f74 Fix wrong header include.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3523 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-28 17:57:16 +00:00
Enrico Tröger
8ef5804bbe Add a hiden preference "allow_always_save" to make the Save buttons/menu items always sensitive and allow saving files even without changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-28 17:01:32 +00:00
Enrico Tröger
692cb1364c Set the documents' mtime field properly for checking disk file changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-28 16:18:22 +00:00
Enrico Tröger
92dd6be549 Fix it, really, maybe. Sorry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 21:12:46 +00:00
Enrico Tröger
644a9cfbff Add a progressbar widget to the statusbar and use it to show progress when building with the Make commands, when printing and when using Find in Files.
Add progressbar convenience functions and ui_entry_add_clear_icon() to the plugin API.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 20:19:43 +00:00
Enrico Tröger
a20ee7d883 Add a clear icon to the toolbar search and goto text fields (will be available with GTK >= 2.16).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 19:31:45 +00:00
Enrico Tröger
ee35d4b1ee Fix legacy file monitoring since I broke once more.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3515 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 19:10:12 +00:00
Nick Treleaven
47c0b41a38 Refactor with create_find_dialog().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 18:12:00 +00:00
Nick Treleaven
1027890ee7 Rename static structs, group by dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3513 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 18:03:58 +00:00
Nick Treleaven
c5bdf0d9fc Remember whether find/replace all expanders were expanded.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3512 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 17:50:45 +00:00
Nick Treleaven
1c4acab84f Split Prefs dialog General tab into sub-notebook with Startup and
Miscellaneous tabs. Merge Search tab into Miscellaneous tab.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 13:54:05 +00:00
Enrico Tröger
af23973dcd Break a few too long lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-26 18:21:53 +00:00