5731 Commits

Author SHA1 Message Date
Nick Treleaven
55646df83d Windows: Fix detecting a changed file on opening from command-line.
The file timestamp can actually be in advance of the current time in
this case.
2011-10-13 16:56:40 +01:00
Nick Treleaven
e9021f2174 Windows: Fix wrongly shown debug message 'GetExitCodeProcess failed' 2011-10-13 16:33:15 +01:00
Nick Treleaven
c2ce2403f4 Windows: Fix 'Create process failed' message to show correct error
This helps when trying to run build commands that don't exist;
the status bar message for that is now:
Process failed (The system cannot find the file specified.)
2011-10-13 16:18:40 +01:00
Nick Treleaven
fd6c538795 Merge branch 'master' of github.com:geany/geany 2011-10-13 13:29:47 +01:00
Nick Treleaven
02da53d711 Fix focusing editor after startup on Windows 2011-10-13 13:26:57 +01:00
Matthew Brush
4fb9629f5b Detect HTML embedded filetypes from the current line
When using the commenting features (ex. toggle line commentation),
detect the the type of comments for the filetype of the line with
the caret rather than using the filetype of the current document.

Filetype is determined by the Scintilla state/style at the
beginning of the line where the caret is.

This does not fix the existing bug where using the commenting
features on lines with things like `<script>` will result in an
HTML-style comment to be wrapped around it and also where using
the commenting feature on a line with something like `<?php`
will not only wrap it in an HTML-style comment but it also won't
be able to uncomment the line.

This closes bug ID 2863829[1] and 3127598[2].

[1] https://sourceforge.net/tracker/?func=detail&aid=2863829&group_id=153444&atid=787791
[2] https://sourceforge.net/tracker/?func=detail&aid=3127598&group_id=153444&atid=787791
2011-10-12 23:35:06 -07:00
Nick Treleaven
2662c6b8ca Merge branch 'master' of github.com:geany/geany 2011-10-12 17:53:56 +01:00
Nick Treleaven
ea9c37abca Ignore generated files from makefile.win32 2011-10-12 17:42:57 +01:00
Joshua Hoff
cbadf177f4 simplify "append toolbar to menu" packing code 2011-10-12 18:09:59 +02:00
Lex Trotman
f9265535a3 Mention trailing whitespace in style 2011-10-12 17:45:24 +11:00
Lex Trotman
cc045b6736 Document building plugins for hacked Geany 2011-10-12 17:40:36 +11:00
Matthew Brush
bd5fba7eb5 Remove extra whitespace at end of lines in all source files.
* Processed with rstrip-whitespace.py script added to scripts/ directory.
* Script run on all .c and .h files in src/ and plugins/ directories.
* Also remove more than one newline at the end of files.
2011-10-11 21:52:58 -07:00
Matthew Brush
182bdc3b17 Replace GTK_BIN(...)->child with gtk_bin_get_child(...) 2011-10-11 21:30:28 -07:00
Colomban Wendling
2aafa6a197 Improve the part about committing in HACKING 2011-10-12 01:40:37 +02:00
Matthew Brush
9a2466a1ef Merge branch 'geany-themes' 2011-10-11 15:43:09 -07:00
Matthew Brush
9b508b712a Fix typo in comment in many filedefs. 2011-10-11 15:33:40 -07:00
Colomban Wendling
010be558cd Plug a few memory leaks 2011-10-11 20:20:51 +02:00
Nick Treleaven
b6eccc01ae Set Colomban as maintainer 2011-10-11 18:02:21 +01:00
Nick Treleaven
055779fb9f Cleanup dialogs_show_unsaved_file(). 2011-10-11 16:19:24 +01:00
Matthew Brush
7ebdacac2d Make all filetypes.* files use named styles.
Fix colorschemes/alt.conf to use the new changes.
2011-10-10 20:35:05 -07:00
Colomban Wendling
5762981165 Revert adding reStructuredText extension to README
This reverts commits fbf77f586d65e319ecc1da11e98dcd932dd88b28 and
3816e40190c2f5331992f795f297669a399803fb.

While having the .rst extension helps GitHub formatting the file, the
renaming broke both Autotools and Waf build systems.
2011-10-10 16:51:31 +02:00
Colomban Wendling
3816e40190 Fix Autotools failure requiring README (oops)
Automake requires README to exist by default, but it was renamed to
README.rst recently.  Thus, change Automake strictness to `foreign'
for README to be optional, and distribute README.rst explicitly.

Although `foreign' strictness don't require any of the README, INSTALL,
COPYING, etc. files, it still includes them if available, so the
distribution still includes them.
2011-10-10 01:47:27 +02:00
Enrico Tröger
8ed1664fc6 If we didn't find a revision, set it to "-1" not just "None" 2011-10-10 00:37:14 +02:00
Enrico Tröger
50ae63002b Strip trailing whitespace from the revision 2011-10-10 00:34:42 +02:00
Matthew Brush
447b5e379c Add .gitignore 2011-10-09 23:04:10 +02:00
Colomban Wendling
fbf77f586d Add reStructuredText extension to README
This will help GitHub to detect the content type and format it nicely.
2011-10-09 22:57:35 +02:00
Colomban Wendling
d06e9f4575 Remove $Id$ and $Date$ SVN keywords 2011-10-09 22:57:35 +02:00
Enrico Tröger
3fda333717 Cleanup 2011-10-09 22:47:32 +02:00
Enrico Tröger
9330f05338 Check for Git revision rather than SVN one (Waf-based build system) 2011-10-09 22:46:19 +02:00
Colomban Wendling
ca33ea62cf Update HACKING for Git switch
Remove references to SVN in HACKING and add some tips and rules for
committing.
2011-10-09 20:48:02 +02:00
Colomban Wendling
69313263e7 Check for Git revision rather than SVN one 2011-10-09 20:46:02 +02:00
Nick Treleaven
534f10454d Remove unnecessary document_show_tab() call (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-07 16:50:15 +00:00
Nick Treleaven
1563c625f7 Add document_show_tab().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-07 16:47:31 +00:00
Nick Treleaven
be81fafafb Use utils_get_setting() for string keys.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 16:18:31 +00:00
Frank Lanitz
8dbc838f1a Update of Swedish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 15:42:00 +00:00
Nick Treleaven
d9b7ae92b8 Fix missing tagmanager/mio/makefile.win32 in EXTRA_DIST.
Include makefile.win32 in EXTRA_DIST recursively, not at top-level.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 12:36:28 +00:00
Nick Treleaven
75da162c1c Add doc/makefile.win32 for docs generation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 12:21:06 +00:00
Nick Treleaven
4781509a17 Initialize invalid matches for safety.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 12:02:38 +00:00
Colomban Wendling
7c7bf88263 Move configure check for The Force to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:46:09 +00:00
Colomban Wendling
974bb4c254 Reorder configure.ac a bit
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:45:49 +00:00
Colomban Wendling
93a349005f Auto-generate final configure summary
Add and use macros to generate final configure summary rather than
hard-code it.  This allows for the status to be registered from where
they comes rather than all in the end.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:45:33 +00:00
Colomban Wendling
c955de3ffc Move various tricky configure logic to their own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:45:08 +00:00
Colomban Wendling
f1bce08535 Move configure logic for MinGW, socket and VTE to their own files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6006 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:44:48 +00:00
Colomban Wendling
574d5ce336 Move configure logic for i18n to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:44:25 +00:00
Colomban Wendling
ff3ad0e642 Move configure logic for enabling plugins to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:44:06 +00:00
Colomban Wendling
c7b57e24e2 Move configure logic for internal GNU regex usage to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:43:46 +00:00
Colomban Wendling
294a21db88 Move configure logic for binary relocation support to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:43:28 +00:00
Colomban Wendling
680064b42c Move configure logic that checks for SVN revision to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6001 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:43:09 +00:00
Colomban Wendling
4dd7092726 Modernize configure.ac a bit
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:42:48 +00:00
Nick Treleaven
d63f1f052b Use <geanyplugin.h> not "geanyplugin.h" in the howto.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-05 15:59:26 +00:00