73 Commits

Author SHA1 Message Date
Enrico Tröger
8d367d49b9 Merge pull request #360 from b4n/travis-test
travis: Add a Travis CI settings file
2015-07-11 10:05:30 +02:00
Colomban Wendling
3e2b4a269b travis: Make it a bit easier to change GTK bundle URLs 2015-07-10 23:45:48 +02:00
Colomban Wendling
02e6682ea6 travis: Enable Windows cross-compilation
We unfortunately can't run tests as they require running the just build
(foreign) executable, but at least it tries and build the Windows code
paths.
2015-07-10 23:32:56 +02:00
Thomas Martitz
9224c3c391 win32: run geany.nsi.in through automake to replace @GTK_VERSION@ variable
This automatically keeps the installer's idea of Gtk version with the one
used to compile geany in sync.

Traditionally we use the bundles from gtk.org to compile geany, and this
is also used for the installer. With msys2, we can use precompiled
msys2 binaries. These exist for GTK3 as well so we can actually provide a
GTK3 based installer. The installer naturually should reflect this.
Msys2's GTK2 is also newer.

Use the new script gtk-bundle-from-msys2.sh to extract the precompiled
GTK binaries from msys2 / pacman for packing the installer (can also be
used to make a zip for sharing).

mkdir gtk; cd gtk; ../scripts/gtk-bundle-from-msys.sh [-c] [-z] [-2 | -3]

waf is also adapted to process geany.nsi.in. This implies geany.nsi is now
under _build_, not in the root anymore.
2015-07-05 18:28:09 +02:00
Colomban Wendling
efb639435c Scintilla update script: only ask for checking when something changed
Only ask the user to check the SciLexer.h diff if the file actually
changed.
2015-04-21 15:40:15 +02:00
Colomban Wendling
264df2ec7b Scintilla update script: improve success banner 2015-04-21 15:39:30 +02:00
Colomban Wendling
96cc37946f Scintilla update script: strip "a/" and "b/" automatically 2015-04-21 15:34:54 +02:00
Colomban Wendling
06068d38d8 Fix a typo in the update script 2014-04-14 16:37:29 +02:00
Fitorec
f934d2cf94 Update the create_php_tags.php script
* Uses more recent URL (as updated in other PR)
* Downloads the funcsummary.txt file by itself
* Support running the script from any directory

Closes #47
2013-08-15 22:24:25 -07:00
John Long
a1e9205270 Update PHP source repo for tags and tags file
The new tags file seems to have lots of new symbols. It needs testing
by PHP programmers.

Closes #137
2013-08-15 13:09:35 -07:00
Colomban Wendling
7d1cd77eef update-scintilla.sh: Fix displaying of the message for new files 2013-07-21 11:33:40 +02:00
Colomban Wendling
6b406d04dc Add a note in the Scintilla update script to add files to the build system 2013-06-06 16:07:08 +02:00
Enrico Tröger
82f259f6b5 Print filename of failed plugin 2013-02-03 12:35:05 +01:00
Enrico Tröger
baafa6325c Strip more tags which start with a keyword 2012-09-12 19:29:21 +02:00
Enrico Tröger
883ce3acb6 Add method to generate also tags for __builtins__
This way we get easily also tags for standard exceptions and a few builtin types.
2012-08-29 23:03:25 +02:00
Enrico Tröger
29f0d02be3 Add a warning about running this script with its potential side effects 2012-08-29 22:40:54 +02:00
Enrico Tröger
f1cb61f6cb Ignore tag names starting a Python keyword
This removes tags like 'pass_', 'pass_stmt' or 'return_stmt' which are quite annoying
when typing the actual keywords and pressing Enter afterwards.
Also add some more modules and packages to the ignore list to avoid weird side effects
when importing them (even though antigravity is funny).
2012-08-29 22:22:57 +02:00
Colomban Wendling
409c1a68a5 Make argument checking in Scintilla update script more strict 2012-06-30 22:00:42 +02:00
Colomban Wendling
f0b245cdae Fix a typo in the Scintilla update script (oops) 2012-06-30 21:58:09 +02:00
Colomban Wendling
7c0d4d1245 Add a script to update Scintilla 2012-06-27 01:27:45 +02:00
Frank Lanitz
effab1a129 Remove svn specific scripts as the are not needed anymore 2012-05-31 22:18:03 +02: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
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
6ac2623208 Update copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:39:09 +00:00
Nick Treleaven
d58a9475b5 If only given an input filename and no match string, match all changelog entries.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-30 18:13:21 +00:00
Nick Treleaven
d01434b0e0 Don't list ChangeLog filename in ChangeLog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5285 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-06 16:06:13 +00:00
Nick Treleaven
47e37994ec Add reminder for geany.nsi ;-)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5126 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 16:41:10 +00:00
Enrico Tröger
152cc820bb Replace tabs by spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:23:55 +00:00
Enrico Tröger
16399b3c45 Minor fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:21:39 +00:00
Enrico Tröger
6d1b1425bd Make the script a bit more robust with newer Python versions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4597 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-31 14:23:04 +00:00
Enrico Tröger
8c4a8ff6d0 Remove test code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 15:28:19 +00:00
Enrico Tröger
9f8d16340f Add a little test program which can load and test Geany plugins to verify it is loadable at runtime and all necessary symbols are defined.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4526 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 14:52:28 +00:00
Enrico Tröger
7ba4a81181 Update copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Enrico Tröger
0745fa1144 Rewrite and extend the Python tags parsing script to use Python's inspect module to read symbols from Python modules including scope information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:37:47 +00:00
Nick Treleaven
6d99470e78 Enforce 'fn(void);' in function prototypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4336 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 11:49:22 +00:00
Enrico Tröger
76988d8aae Make the code a bit more pythonic.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4248 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 16:49:18 +00:00
Enrico Tröger
7cd556f400 Use always the bundled Waf binary which is preferred.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:04:21 +00:00
Nick Treleaven
13859cbd4c Allow operators to have more than one space either side to allow alignment with other lines.
Fix spacing '&' or '-' after a ']' bracket.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 12:32:50 +00:00
Nick Treleaven
8dbaee549d Add workaround for spacing '&' and '-' operators.
Ensure 2 blank lines after a function body.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4182 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 15:36:43 +00:00
Nick Treleaven
cc984f9d7c Take multiple files if -w argument is supplied.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-10 16:11:13 +00:00
Nick Treleaven
a34ffb0ccc Space commas.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 15:31:46 +00:00
Nick Treleaven
874fd449fa Fix parsing #defines.
Ignore & operator like *,- as they could be unary and so are too hard to match correctly.
Space +,> and conditional ternary operator correctly.
Fix parsing lines starting with an indent and closing bracket.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 15:13:50 +00:00
Nick Treleaven
2f727daf20 Add/expand some comment info.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-04 16:07:23 +00:00
Nick Treleaven
aa1cee4b25 Add script to reformat C source code to Geany's style - work in progress.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-04 16:00:15 +00:00
Nick Treleaven
fcb805a6ec Minor edits: list FSF, use $0 for scriptname.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-04 11:21:29 +00:00
Nick Treleaven
1fb79fbfb7 Strip trailing space first.
Only strip <email> from date line.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-14 16:21:29 +00:00
Nick Treleaven
a114f2a0c3 Handle " * foo.c: Combined line." lines (without wrapping with previous lines).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4083 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-14 15:09:21 +00:00
Nick Treleaven
d591b299b7 Format output to be easier to read and edit into a NEWS file.
Minor tidying & commenting.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4082 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-14 13:50:41 +00:00
Enrico Tröger
b103dba0e5 Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-11 09:01:54 +00:00
Enrico Tröger
1d7a1226c4 Simplify the code more.
Fix the [un]install targets.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 15:39:36 +00:00