commit a6ad6bab7f648ad9fd6d527b806bde284c573bbc Author: Sébastien Wilmet Date: 2013-06-17 Release 3.9.2 M NEWS commit cce461117036680336344e670b61d5536286e32a Author: Sébastien Wilmet Date: 2013-06-13 Doc: interactive completion and insertion/deletion in the buffer https://bugzilla.gnome.org/show_bug.cgi?id=625918 M gtksourceview/gtksourcecompletioncontext.c commit 96b7cfa62bc9de5c7527cf37ae367abe51a90a60 Author: Sébastien Wilmet Date: 2013-06-14 Automake: don't use INCLUDES (deprecated) M gtksourceview/Makefile.am M gtksourceview/completion-providers/words/Makefile.am M tests/Makefile.am commit 3cdb3cf5fa75f4ab949b5cbbef5fb21e9b494e61 Author: Sébastien Wilmet Date: 2013-06-13 Completion: avoid flickering of the popup window Update window position before showing the window. M gtksourceview/gtksourcecompletion.c commit bed04c3350e38a972db6233403a7c02204faf934 Author: Sébastien Wilmet Date: 2013-06-11 Compact completion popup window, with a custom container Custom container for the sizing of the GtkTreeView containing the completion proposals. When the GtkTreeView exceeds a certain size, the container adds the GtkTreeView inside a scrolled window. When the GtkTreeView is small enough, no scrolled window is needed, and the container fits the natural size of the GtkTreeView. If the tree view is always in the scrolled window, there are sometimes some sizing issues. The purpose is to have a compact completion window, with a certain size limit. M configure.ac M docs/reference/Makefile.am M gtksourceview/Makefile.am M gtksourceview/gtksourcecompletion.c M gtksourceview/gtksourcecompletion.ui A gtksourceview/gtksourcecompletioncontainer.c A gtksourceview/gtksourcecompletioncontainer.h M gtksourceview/gtksourcetypes-private.h M po/POTFILES.in commit 9e082b77ad6500a074758c1a594664f6609aa472 Author: Sébastien Wilmet Date: 2013-06-12 Completion: fix bug when a proposal is hidden See the comment in the code. M gtksourceview/gtksourcecompletion.c commit f235fb0534fc0c1b746eb950d33002d93a463448 Author: Sébastien Wilmet Date: 2013-06-12 Completion: fix bug with info window placement With g_signal_connect_after() on the "configure-event" signal, the callback is not called because (probably) the default handler is called before and returns TRUE to stop further propagation. Anyway g_signal_connect() is OK here. M gtksourceview/gtksourcecompletion.c commit 962d8bfd00159b1b4531e5651e4fbb66e65706c3 Author: Sébastien Wilmet Date: 2013-06-11 Completion: manually autosize the tree view autosize is buggy: https://bugzilla.gnome.org/show_bug.cgi?id=598739 M gtksourceview/gtksourcecompletion.c M gtksourceview/gtksourcecompletion.ui commit 485f777433685f5f815faba0ca8b0ab7231f7754 Author: Sébastien Wilmet Date: 2013-06-11 More tests in test-completion With a .ui file (and a gresource). M po/POTFILES.skip M tests/Makefile.am M tests/test-completion.c A tests/test-completion.gresource.xml A tests/test-completion.ui commit ac743ffb5383dc874a517f5ae229d82a1812cff7 Author: Sébastien Wilmet Date: 2013-06-11 Add warning comment in test-completion.py I prefer the C language, that's why I added more tests in test-completion.c and not in test-completion.py. M tests/test-completion.py commit 73fb8c30594b18341b823bd3dc2dfcedc19134b6 Author: Sébastien Wilmet Date: 2013-06-10 Doc: add index of new symbols in 3.10 M docs/reference/gtksourceview-docs.xml commit 713b734eb08349d675b434886a8a3b92b3a1ea42 Author: Sébastien Wilmet Date: 2013-06-10 CompletionWords: add the activation property Useful to disable interactive completion, for example. M gtksourceview/completion-providers/words/gtksourcecompletionwords.c commit 52ad05fb985bea877737f4eaa377b10852ad3e74 Author: Sébastien Wilmet Date: 2013-06-10 CompletionWords: allow user-requested completion for small words If the minimum word size is 4, for example, the interactive completion is not possible with fewer than 4 characters. But with user-requested completion, we can now force to show proposals. M gtksourceview/completion-providers/words/gtksourcecompletionwords.c commit c97eda60905bc51381478fa0087acd5de164991a Author: Sébastien Wilmet Date: 2013-06-10 CompletionWords buffer: rescan when minimum word size changes M gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c commit e73829f015451ad584676935d4e693983287f7a8 Author: Sébastien Wilmet Date: 2013-06-10 CompletionWords buffer: use is_text_region_empty() M gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c commit dcda2a0a133c5b42dd97176c1f29f6b379a8c03f Author: Sébastien Wilmet Date: 2013-06-08 CompletionWords buffer: use GtkTextRegion For scanning the words (for the initial scan but also on text insertion and text deletion), the "scan region" is now a GtkTextRegion. It simplifies the code for maintaining the GtkTextMarks. For modifications on the buffer, there is now a callback before the modification, to invalidate the region (remove the words that must be removed), and a callback after the modification, to add the region to the scan region. There were some problems when adding the region to the scan region before the modification (text insertion or deletion). M gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c commit f2f8f182035366682a84001bf2674810c9c29e79 Author: Sébastien Wilmet Date: 2013-06-08 CompletionWords buffer: work with strings for scanning the words Instead of working with GtkTextIters. It normally improves the performances. And there was maybe a bug with the previous code (warning messages). M gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c M gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.c M gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.c M gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.h commit 04a1f7258bcae1345c2fec826e23ba1cfd86c154 Author: Sébastien Wilmet Date: 2013-05-25 CompletionWords: get_word_at_iter(): work on strings Before this commit, get_word_at_iter() used GtkTextIter to traverse the buffer char by char, to find the word boundaries. Now, the text of the line at the iter is retrieved, and the traversal is done directly on the string. The code is simpler. It is maybe less efficient, but the performances here are not really important (it's at most one line of text). The parsing of the buffer to fill the words library is still done entirely with GtkTextIters. It is planned to parse the buffer line by line, by retrieving the text of the buffer and by working on strings. In this case, the performances are more important, and working on strings will be more efficient. So the idea is to work everywhere on strings instead of working with GtkTextIters, to be consistent. M gtksourceview/completion-providers/words/gtksourcecompletionwords.c M gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c M gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.h M gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.c M gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.h commit 7822ef6ab22d1703a7166add5a5b1a46a68c238b Author: Paolo Borelli Date: 2013-06-08 Remove old reference to our copy of glib regex stuff M po/POTFILES.skip commit 154a26518940dc977c920e81e1a94a401207c865 Author: Marek Černocký Date: 2013-06-08 Updated Czech translation M po/cs.po commit e75ef94327dacf7e20747f604b1e56d66aad8e83 Author: Daniel Mustieles Date: 2013-06-06 Updated Spanish translation M po/es.po commit 0f3cc57fecc6e651b142e94d0a22a8ef19ef7d08 Author: Fran Diéguez Date: 2013-06-06 Updated Galician translations M po/gl.po commit efc8a9f8750fbe92f4362edde8c778b571a2f460 Author: Adam Dingle Date: 2013-05-30 Add scala.lang for Scala syntax highlighting This file originated in the scala-dist project: https://github.com/scala/scala-dist/tree/master/tool-support/src/gedit It was written by Min Huang Felix Dietze with small fixes by Anthony Kirby Adam Dingle Originally the file was licensed under the Scala license: https://github.com/scala/scala/blob/master/docs/LICENSE All authors above have granted permission for relicensing under the LGPL 2.1 or higher for inclusion in gtksourceview. M data/language-specs/Makefile.am A data/language-specs/scala.lang M po/POTFILES.in commit 5d5dfc5e5e1e0c05a10ef71f9d2afbe5a7fa494f Author: Marek Černocký Date: 2013-06-03 Updated Czech translation M po/cs.po commit 26f3057e54e503e0c3e3526cd290bc439504f500 Author: Fran Diéguez Date: 2013-05-31 Updated Galician translations M po/gl.po commit 4eebbaa249ab4a2f1ffc1c49e9b35fa82d98a4a5 Author: Daniel Mustieles Date: 2013-05-29 Updated Spanish translation M po/es.po commit 1c813200f667687ca44b7167a90dc2e94983d036 Author: Carnë Draug Date: 2013-05-28 mediawiki: style fixes capitalize nouns on style names M data/language-specs/mediawiki.lang commit db965e3ac704c574d04023606d4b7afc4ec133ad Author: Jean-Philippe Fleury Date: 2012-10-08 Add support for mediawiki syntax https://bugzilla.gnome.org/show_bug.cgi?id=635381 Signed-off-by: Carnë Draug M data/language-specs/Makefile.am A data/language-specs/mediawiki.lang M po/POTFILES.in commit baaa2f6cbb8825af4c821ff1684654e2f4bfdb60 Author: Carnë Draug Date: 2013-05-28 julia lang: small fixes requested by pbor (bug #700410) * remove unregistered mimetype * capitalize style names M data/language-specs/julia.lang commit b6e29a6ec2799d6d9f5b2723935f8f7bc3111116 Author: Waldir Pimenta Date: 2013-05-15 Add support for the Julia language See http://julialang.org Signed-off-by: Carnë Draug M data/language-specs/Makefile.am A data/language-specs/julia.lang M po/POTFILES.in commit 8bde9d1e0b3efc703b986d7e970599964cae9b0d Author: Sébastien Wilmet Date: 2013-05-28 Fix build with -Wl,--as-needed in the LDFLAGS The *.la files listed in the LDADD variable were in the wrong order. If libgtksourceview-3.0.la is before libgtksourcecompletionwords.la, the linker doesn't add the DT_NEEDED tag for libgtksourceview-3.0.la because at that point in the linkage, libgtksourceview-3.0.la is useless. On the other hand, if libgtksourcecompletionwords.la is listed before libgtksourceview-3.0.la, the DT_NEEDED tag is added to the latter because the former needs a symbol from the latter. Thanks to Dominique Leuenberger for the bug report. https://bugzilla.gnome.org/show_bug.cgi?id=701113 M tests/Makefile.am commit 44501854e4d2bb9087c7af8a3b1887618f6ac026 Author: Daniel Mustieles Date: 2013-05-27 Updated Spanish translation M po/es.po commit e1186a305623b67ee83684ea268c8d28411c95ac Author: Sébastien Wilmet Date: 2013-05-27 Post-release version bump M README M configure.ac