Enrico Tröger
fff66178da
Add native GTK printing support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 14:04:27 +00:00
Enrico Tröger
1672c377fe
Fix possible memory leak and add time_t argument in utils_get_date_time() to pass a time pointer to use.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 13:09:19 +00:00
Nick Treleaven
31c1cae631
Added plugin 'VC Diff', slightly modified from a patch by Yura
...
Siamashka (thanks). It was adapted from the SVN Diff plugin.
Currently it supports SVN, CVS and GIT.
Fixed GTK warnings when the current file has no filename and when
the current directory has no version control system.
Made some refactoring changes to make the VC_RECORD struct contain
all necessary attributes about each version control system.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-14 16:44:45 +00:00
Nick Treleaven
27fafa5ac7
Make 'Set path from document' use the current working directory or
...
the project base path when no document is open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-13 16:41:59 +00:00
Enrico Tröger
9edb496fb9
Don't change control char symbol in Scintilla.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-13 14:46:58 +00:00
Enrico Tröger
97aa254f9d
Forgot to commit, sorry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-12 09:36:25 +00:00
Enrico Tröger
4b43e762d0
Rename "Contruct autocompletion" to "Snippets".
...
Allow changing height of the symbol completion list even if automatic symbol is disabled, it still can be forced by keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-12 09:27:43 +00:00
Enrico Tröger
836c368d50
Apply patch from Bo Lorentsen to add support for project session files (thank you).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-11 19:06:41 +00:00
Enrico Tröger
416e1b0a69
Enable close tab on middle-clicking a notebook tab label.
...
Enable toggle additional widgets on double-clicking notebook tab label.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2042 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-11 10:19:50 +00:00
Enrico Tröger
d04c3f594f
Don't compile plugin command line option when plugin support is disabled.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-11 09:09:47 +00:00
Enrico Tröger
11dcb382f4
Remove utils_get_date() and add format argument to utils_get_date_time().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2040 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-11 09:03:01 +00:00
Nick Treleaven
d1d24b30c5
Allow VTE to interpret F-keys (except if they're focus commands).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2039 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 16:58:20 +00:00
Nick Treleaven
a4abd28278
Set Ctrl-Alt-P as default Prefs KB.
...
Change Decrease Indent default KB to Ctrl-U (very common action,
and Ctrl-U was unused).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 16:39:34 +00:00
Nick Treleaven
6687b67074
Fix popup menu item capitalization according to Gnome HIG.
...
Add separator menu item to VTE popup menu.
Move VTE Prefs item below Input Methods.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 16:21:46 +00:00
Nick Treleaven
feba4143ef
Separate keybindings tree setup code from prefs_init_dialog(); use
...
enum for tree model columns.
Ask the user whether to override an existing keybinding when setting
a combination that is already in use.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 15:58:11 +00:00
Enrico Tröger
dbbb3d5fe9
Oops, forget to remove this.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 12:48:20 +00:00
Enrico Tröger
b0109e93ca
Remove unused unnecessary function utils_btoa().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 12:46:43 +00:00
Enrico Tröger
0f74a88165
Don't create tagmanager status file, seems to be unnecessary (needs testing).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-07 17:57:38 +00:00
Enrico Tröger
31e13db9f1
Fix bug when creating configuration directory on Unix.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2032 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-07 17:33:42 +00:00
Enrico Tröger
c5f190f725
Apply patch from Simone Denei to add a "Restart" item to the VTE popup menu in case running application hangs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-07 17:16:28 +00:00
Nick Treleaven
4fcc44ee72
Allow scrolling past end of document, so the user can append text
...
with the last lines drawn at the top of the view.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 17:29:51 +00:00
Nick Treleaven
f7df2fff56
Add a default configuration file for reStructuredText.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 17:22:25 +00:00
Enrico Tröger
73e6e90342
Quote first element of command line when using Compile, Build and Make commands on Windows to avoid problems if the tools are specified with full path.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2028 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 17:07:26 +00:00
Nick Treleaven
f1e323f158
Make VTE interpret all keyboard shortcuts except for focus group
...
keybindings.
Add enum values for keybinding groups.
Make Notebook tabs keybindings group.
Move Go to tags items into Tags keybindings group.
Move navigation items into a new Other keybindings group.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 16:59:01 +00:00
Enrico Tröger
8787314e74
Enable stopping of Run command on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 15:54:46 +00:00
Nick Treleaven
92a00f1f8e
Add 'Strip Trailing Spaces' document menu item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 13:24:39 +00:00
Nick Treleaven
4495997fcf
Add menu separator so users don't accidentally click revert and lose
...
all their work.
Capitalize revert menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2024 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 13:09:04 +00:00
Nick Treleaven
4c6f97d148
Fix gtk_widget_destroy() warning when unloading plugin and no svn
...
binary is in /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/nmt/bin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 13:05:20 +00:00
Nick Treleaven
190a7e9d33
Fix sign comparison warning.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2022 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 12:54:04 +00:00
Enrico Tröger
e99a263013
Fix compile error on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 18:05:49 +00:00
Nick Treleaven
c3db657c01
Update 'Adding a filetype' section for new highlighting.c code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 16:15:58 +00:00
Enrico Tröger
c5f7867aea
Don't use unnecessary #ifdefs for utils_get_locale_from_utf8().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 15:09:13 +00:00
Frank Lanitz
293bba1692
Added support for svn revert and a little patch from Yura Siamashka to re-use an already created tab for a new diff on the same file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 14:21:46 +00:00
Enrico Tröger
f819bde65a
Use g_unlink() instead of unlink(). Minor code cleanups and add some sanity checks. Fix broken Run command on Windows by not changing Geany's working directory (this might break other things, unfinished).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 19:26:02 +00:00
Enrico Tröger
cd77937561
Use g_unlink() instead of unlink().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 16:31:47 +00:00
Enrico Tröger
7cc8825ef1
Fix crashes on Windows when configuration directory could not be created. Fix problems when configuration directory path contains special characters.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 15:48:14 +00:00
Enrico Tröger
9610c0f63d
Add document_set_text_changed() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 10:12:15 +00:00
Enrico Tröger
dc4bc34e36
Add support for env wrapper in shebang detection (inspired by a patch from Yura Siamashka).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 10:06:06 +00:00
Enrico Tröger
281641de55
Fix error in Compile and Build commands on Windows if the command contains double quotes. Fix error in Build command when the executable file name contains spaces(Linux and Windows).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 09:57:47 +00:00
Nick Treleaven
046d5ef796
Fix bug with using the default extension, not the user set one, if
...
'New with template' is used before any documents of the same filetype
are open.
Load filetype keyfiles from filetypes_load_config(), not from
styleset_foo_init().
Add highlighting_init_styles(), highlighting_set_styles(),
simplifying a lot of styleset function code.
Remove filetype::style_func_ptr field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 17:44:05 +00:00
Nick Treleaven
be322a8703
Show line wrap symbol at start of line for wrapped lines.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 16:57:51 +00:00
Enrico Tröger
c25e30510d
Remove Scintilla keybinding Alt-Backspace for Undo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 16:07:01 +00:00
Enrico Tröger
dba689edf2
Fix broken window maximization.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 13:03:54 +00:00
Enrico Tröger
bceb2ce942
Add exit code detection for Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 12:58:38 +00:00
Nick Treleaven
79ff87713a
Add configurable default file extension setting for filetype
...
definition files.
Note: There is a bug with using the default extension, not the user
set one, if 'New with template' is used before any documents of the
same filetype are open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2006 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 16:33:06 +00:00
Nick Treleaven
648735da9e
Update 2 completed items.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 16:15:48 +00:00
Nick Treleaven
dcd06b21af
Ensure document_update_tag_list() always shows the empty symbol list
...
when tags cannot be parsed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 13:00:32 +00:00
Nick Treleaven
fbb8fb5f54
Enable build support on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 12:54:38 +00:00
Nick Treleaven
340c76f01c
Prevent prefs dialog being hidden after using the prefs file dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 12:53:00 +00:00
Enrico Tröger
331a7848fc
Oops.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2001 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 12:10:28 +00:00