7343 Commits

Author SHA1 Message Date
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
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
Colomban Wendling
a4dfc9c12b Enable documentation generation automatically when possible 2014-08-20 15:52:03 +02:00
Colomban Wendling
80c648e7f3 Remove generated HTML documentation from version control
As it is generated by the build system it doesn't have to be checked
in, and having it in became a whole lot more annoying since it started
being generated automatically on `make all` instead of specific (and
weird) `make doc`, as it means whenever the documentation changes the
HTML is re-generated on any make run.  This is particularly problematic
if using a different Docutils version than the one used to generate the
checked-in version as it would create local noise that should not be
committed, yet keep being annoying.

This situation probably leads to most people disabling (or at least,
not enabling) the documentation generation on normal builds, itself
leading to more hassle updating of the documentation.
2014-08-20 15:44:07 +02:00
Colomban Wendling
1424b608a3 Merge branch 'ntrel/make-win-doc' 2014-08-19 17:06:06 +02:00
Nick Treleaven
18181c2e90 Support pseudo-unique IDs for documents
Add GeanyDocument::id, document_find_by_id() to plugin API.

This also fixes clicking on a Messages item whose document has been
closed and reused. Now the click will be ignored instead of jumping to
an unexpected line in the new document.
2014-08-19 15:40:05 +01:00
Nick Treleaven
ff0fde30cb Use enum for Messages list store IDs 2014-08-19 15:40:02 +01:00
Nick Treleaven
92e34baa4f Update HACKING for changed doc generation instructions 2014-08-19 15:14:03 +01:00
Frank Lanitz
d78c8fb5d9 SQL: Adding keyword hold
Adding new keyword hold, used e.g. on SQLAnywhere to open a cursor 'with hold'
2014-08-19 14:32:29 +02:00
Colomban Wendling
9e18884390 Merge branch 'master' of github.com:geany/geany 2014-08-19 14:06:11 +02:00
Colomban Wendling
0817dddc85 FreeBasic: Add missing endif keyword
From a patch by TJF.  Part of [feature-requests:#691].
2014-08-19 13:44:52 +02:00
elextr
a8e8e2cd9e Merge pull request #312 from elextr/reflow_fix
Make reflow paragraph leave cursor at end of reflowed text, which is more likely to be useful than where it was left at the start of the last line.
2014-08-19 18:05:38 +10:00
Colomban Wendling
dc140165ae Use GeanyFindFlags instead of plain integer when expecting Geany find flags
This makes the API more obvious on what argument is expected, and avoid
confusion between Geany and Scintilla find flags.
2014-08-19 03:42:58 +02:00
Colomban Wendling
bdc0f720e7 Remove unused flags from document_search_bar_find()
Passed-in flags was always 0, so the argument is not useful.
Also, this function expected Scintilla search flags rather than Geany
ones, making the API confusing for no good reason.
2014-08-19 03:40:52 +02:00
Colomban Wendling
8812e39e2e Fix searching backwards from the Find dialog
search_find_prev() wasn't properly updated to work on GeanyFindFlags
leading to incorrect flags handling.
2014-08-19 03:31:34 +02:00