89 Commits

Author SHA1 Message Date
Colomban Wendling
e4bdf45cc6 Add support for out and optional GI annotations 2016-02-28 01:58:48 +01:00
Colomban Wendling
2b8cfb3f84 Use %NULL, %FALSE and %TRUE in the GtkDoc output 2016-02-28 01:02:52 +01:00
Colomban Wendling
7f9129c938 Mark private fields as private in the GtkDoc header 2016-02-20 22:45:53 +01:00
Colomban Wendling
91daa9f9db Fix handling of some GtkDoc annotations 2016-02-19 00:03:30 +01:00
Thomas Martitz
c35f29ae36 scripts: gen-api-gtkdoc.py cleanup
- do not write out scintilla_object_* functions
- remove scioutput file parameter
- do not open output file until after xml parsing to avoid stale files
- fixed simplesect handling
- handle output being a pipe to head or tail
2016-02-16 07:14:11 +01:00
Matthew Brush
8033e26180 Remove commented-out code 2016-02-16 06:52:09 +01:00
Matthew Brush
5a391c79c3 Replace comments and asserts with doc-comments and doc-tests 2016-02-16 06:52:09 +01:00
Matthew Brush
4f3e32e95f Rename global "constant" to follow PEP-8 naming 2016-02-16 06:52:08 +01:00
Matthew Brush
402e771c9b Use 4-space indentation to follow PEP-8
The other Python scripts already follow this convention.
2016-02-16 06:52:08 +01:00
Matthew Brush
5534e5cca0 Move globals into main() function
This prevents running a bunch of top-level code if the module is
ever imported and cleans-up the global namespace.
2016-02-16 06:52:08 +01:00
Thomas Martitz
658821d2dd api: add script to generate {geany,geany-scintilla}-gtkdoc.h
The script reads the doxygen xml output and generates two headers (optionally
a single header) that contains all of the plugin API in gtk-doc format.

Two headers because it's preferrable to group Scintilla related stuff
into its own namespace. This is a lot easier if g-ir-scanner can
work with a separate header file. If we change minds later on the script is
prepared to generate only one header.
2016-02-07 17:50:23 +01:00
Enrico Tröger
632b215f77 Remove obsolete scripts/plugin_test.c
This script was used in the nightly builds to verify plugins will load
and have no undefined symbol references. Since the new way plugins
are built and linked, this is no longer necessary.
Additionally, this script won't work with new style geany_load_module()
plugins.
2016-01-23 15:29:03 +01:00
Colomban Wendling
f12edc0299 Update keywords too from the Python identifiers update script 2015-11-14 23:58:37 +01:00
Colomban Wendling
498764bcaf Refactor the Python identifiers update script for better flexibility 2015-11-14 23:52:58 +01:00
Colomban Wendling
59e13f9e44 Add a script to update Python filetype's identifiers list 2015-11-14 22:57:22 +01:00
Colomban Wendling
c081983e85 Scintilla update script: properly abort on lexer copy error 2015-09-20 17:53:13 +02:00
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