7356 Commits

Author SHA1 Message Date
Colomban Wendling
22ab1631de Merge branch 'scintilla/autoc-sizing'
Backport changes applied upstream not to hard-code auto-completion popup
frame border size.
2014-09-22 19:39:30 +02:00
Colomban Wendling
34f7ce9cc9 Merge branch 'about-banner-fix' 2014-09-22 19:38:41 +02:00
Colomban Wendling
0843705608 GTK: Don't hardcode auto-completion popup frame border width 2014-09-22 19:37:02 +02:00
Colomban Wendling
20c31b62ff Fix custom about dialog style overriding
Don't assume changing the style inside a style-set handler results in
recursion, as it would be wrong if the next signal emission was
triggered asynchronously.  Instead, only modify the style if it isn't
already as we want it.

This fixes the about dialog's style-set handlers on GTK 3.10 which
didn't liked constant style updating.
2014-09-22 19:32:44 +02:00
Colomban Wendling
76d6e9faa9 Revert "Fix GTK frame clock warnings with our about dialog"
This reverts commit ec7071062c5dc39d5f893a830b3c26968a579251.

Apparently the selected state of an event box doesn't necessary mean it
will be styled with a selection background color.  This e.g. isn't the
case in GTK 3.14's Adwaita (default) theme.

So, revert the commit that removed custom style overrides.  Next commit
will fix the GTK 3.10 problem this reverted commit fixed.
2014-09-22 19:29:26 +02:00
Matthew Brush
634a4b111f Highlight C types from tags in C++ code
Useful for when using, for example, GTK+, SDL, and other C-only APIs
in files with the C++ filetype. Before only the symbol auto-completion
worked, but not the highlighting of type names.

TODO: figure out why taking something like SDL.c.tags and making a copy
as SDL.cpp.tags doesn't work, once that's fixed, this extra condition
could probably be removed.
2014-09-17 16:49:58 -07:00
Frank Lanitz
87592539b4 Update of Polish translation 2014-09-17 20:20:20 +02:00
Colomban Wendling
e42cd4d6e9 Merge branch 'scintilla/autoc-sizing'
Backport changes applied upstream to fix auto-completion popup sizing.
2014-09-15 16:03:43 +02:00
Colomban Wendling
e84cf128cb Merge branch 'scintilla/gtk3-dead-windows'
Backport patches applied upstream to cache auto-completion windows,
hopefully avoiding dead popup windows lying around on GTK3 builds in
some high stress scenarios.
2014-09-15 16:03:13 +02:00
Colomban Wendling
069e2d4ec5 GTK: Fix auto-completion popup sizing on some themes 2014-09-15 15:58:42 +02:00
Colomban Wendling
4d66bd3745 GTK: Allow the auto-completion popup to be as small as needed 2014-09-15 15:58:42 +02:00
Colomban Wendling
d1e519c11d GTK: Fix auto-completion popup width to better fit contents 2014-09-15 15:58:42 +02:00
Colomban Wendling
61eaf23a26 GTK: Fix auto-completion popup height to better fit contents 2014-09-15 15:58:42 +02:00
Frank Lanitz
93c9e2ce86 Merge pull request #331 from scriptum/rpg-translate-ru
Update of Russian translation
2014-09-12 19:34:11 +02:00
Pavel Roschin
683c380d10 Update of Russian translation 2014-09-12 19:14:38 +04:00
Enrico Tröger
d6d836c59f Don't match regexes on empty strings
Save As on an empty document would cause warnings like:
sys:1: Warning: g_regex_match_full: assertion 'string != NULL' failed
because SCI_GETRANGEPOINTER returns NULL then.
On a Ubuntu 12.04 system this warning even crashed Geany at writing the
log message.
So, simply don't search for anything if the document is empty.
2014-09-11 19:16:24 +02:00
Colomban Wendling
7d38ff67ec Merge branch 'scintilla/gtk3-dead-windows'
Backport patches applied upstream to cache auto-completion windows,
hopefully avoiding dead popup windows lying around on GTK3 builds in
some high stress scenarios.
2014-09-10 23:23:01 +02:00
Colomban Wendling
df5b2fd810 GTK: fix cached completion popup window sizing
Only cache the popup window itself and not its content, as it seems the
window sizing is affected whether the content was just created or not.
2014-09-08 15:35:28 +02:00
Colomban Wendling
e6f8547e3e GTK: cache the completion popup window
This avoids creating and destroying windows quickly under stress, which
may lead to XID collisions.

See e.g. https://bugzilla.gnome.org/show_bug.cgi?id=581526 and
https://bugzilla.gnome.org/show_bug.cgi?id=590690

Closes [scintilla:bugs:1649].
2014-09-08 15:35:28 +02:00
Frank Lanitz
d6a9a44efe Update of German translation 2014-09-07 19:13:16 +02:00
Frank Lanitz
22700ab332 Update of Swedish translation 2014-09-07 18:55:07 +02:00
Nick Treleaven
a733bf9b2a Merge pull request #327 from ntrel/open-file-exists
Allow user to edit open dialog filename when file doesn't exist
2014-09-01 17:01:41 +01:00
Colomban Wendling
d2ce3d6fa1 Merge branch 'doc/untrack-geany.html' 2014-08-29 17:07:08 +02:00
Colomban Wendling
666fdf30fa Document document_find_by_id() parameter so Doxygen is happy 2014-08-29 17:06:51 +02:00
Colomban Wendling
6e755985a8 Update Doxyfile 2014-08-29 17:06:51 +02:00
Colomban Wendling
0453991a61 Don't try to install the HTML documentation if we don't have it 2014-08-29 17:05:18 +02:00
Colomban Wendling
7125075168 Fix HTML documentation installation for VPATH builds 2014-08-29 17:05:18 +02:00
Enrico Tröger
f219ea1b38 Cleanup apidoc and hackingdoc commands to use ctx.top_dir and ctx.out_dir
This should be cleaner and safer than using '../' mixed with os.chdir().
2014-08-29 16:12:40 +02:00
Enrico Tröger
5bd878cb7c Reuse ConfigurationContext when searching for programs if we have one
This enables proper logging when checking for rst2html during configuration.
2014-08-29 15:46:44 +02:00
Enrico Tröger
9307a6877c Explicitly specify extensions when searching for rst2html
This is cleaner than searching for rst2html and rst2html.py since Waf
offers the API for this and this change enables Windows support.
While at it, add binary name 'rst2html2' for ArchLinux support.
2014-08-29 15:40:47 +02:00
Enrico Tröger
6ecf750759 The missing bits for HTML docs: only on GIT build and support in-tree geany.html 2014-08-29 14:39:26 +02:00
Enrico Tröger
8961f0b6e9 Add option --disable-html-docs 2014-08-29 14:27:12 +02:00
Enrico Tröger
985cd9146f Add "hackingdoc" as proper action and remove non-working --hackingdoc option 2014-08-29 14:13:57 +02:00
Enrico Tröger
15c2fafff6 Update Waf to 1.7.16 2014-08-29 14:11:14 +02:00
Enrico Tröger
8d5e666d9e Build HTML documentation automatically during the build process
This is an improvement as requested in #322 to update the HTML docs
after geany.txt or geany.css have changed.
Also, with this change the resulting HTML will be generated in the outdir,
not in srcdir/doc anymore.
2014-08-29 14:10:56 +02:00
Nick Treleaven
7047152a1f Allow user to edit open dialog filename when file doesn't exist 2014-08-29 12:23:38 +01:00
Colomban Wendling
82cd83183c Merge branch 'doc/auto-enable-api'
Closes PR#324.
2014-08-27 19:07:22 +02:00
Colomban Wendling
102169ee32 Merge branch 'doc/untrack-geany.html'
Closes PR#322.
2014-08-27 19:06:22 +02:00
Colomban Wendling
64910a4ea1 Fix Waf build after HTML documentation untracking 2014-08-27 19:02:24 +02:00
Nick Treleaven
2f6815841d Merge pull request #256 from ntrel/doc-id
Support pseudo-unique IDs for documents
2014-08-27 16:19:33 +01:00
Nick Treleaven
d62fd48b44 Merge pull request #315 from ntrel/move-session
Properly handle existing session when creating new project
2014-08-27 16:17:03 +01:00
Nick Treleaven
355f0c804e Fix GLib warning 'app->project == NULL failed'
Occurred on Project->New with an existing project when closing an
unsaved file was cancelled.
2014-08-27 16:10:59 +01:00
Nick Treleaven
5964d2e086 Properly close abandoned new project that couldn't be written
Also rewrite the default session in case it was cleared.
2014-08-27 16:10:57 +01:00
Frank Lanitz
132b93c591 SQL: Adding print to list of keywords
e.g. used to 'print' debug output to log on e.g. Sybase ASA
2014-08-25 13:31:12 +02:00
Colomban Wendling
ee79b2eb3f Enable API documentation generation automatically when possible 2014-08-23 18:33:50 +02:00
Colomban Wendling
32bda2e6cb Don't clean HTML manual if we didn't build it
Clean the HTML manual upon 'maintainer-clean' rather than 'clean' in
case it was not built by Make but rather part of the distribution.
This is fine even then, as configure will properly require what is
needed to build it again if it is missing.
2014-08-23 18:22:52 +02:00
Colomban Wendling
74006b069c Cleanup doc Makefile so that each conditional set all its targets
Don't set clean-local and all-local dependencies all together at the
end and rather let each section add the appropriate dependencies.
This makes each conditional more self-contained, and is safe as Make
allows adding extra dependencies to existing targets.
2014-08-23 18:14:56 +02:00
Colomban Wendling
288b4f29d8 Enable HTML manual building by default but for distribution tarballs
Enable building of the HTML manual by default unless not building from
Git and with an existing local copy (which is included in distribution
tarballs).

This makes sure we can install the HTML manual without having it
checked in VCS, yet not require rst2html for tarball builds.
2014-08-23 17:56:14 +02:00
Nick Treleaven
c990cd9dca Properly handle existing session when creating new project
Ask whether to adopt the existing session documents.

Also fixes the existing bug of not reloading the default session when
an existing project is open and a new project is cancelled.
2014-08-21 16:45:15 +01:00
Colomban Wendling
602ae0b324 Properly remove generated HTML documentation on clean 2014-08-20 16:40:25 +02:00