commit b6c51f93d53ed17c0cc14ffdef6a5a4caa3bbd10 Author: Sébastien Wilmet Date: 2013-08-19 Release 3.9.90 M NEWS M README M configure.ac commit 05f388de6dd2569941b6f01a182107bad8a3d269 Author: Sébastien Wilmet Date: 2013-08-19 GtkSourceStyle: add missing GObject stuff in the header It fixes compilation warnings. M docs/reference/gtksourceview-3.0-sections.txt M gtksourceview/gtksourcestyle-private.h M gtksourceview/gtksourcestyle.c M gtksourceview/gtksourcestyle.h commit 14680cfe4558f4f66d186ca839391134d510f7ca Author: Sébastien Wilmet Date: 2013-08-19 Doc: "Returns:" for gtk_source_buffer_iter_has_context_class() It fixes a compilation warning. M gtksourceview/gtksourcebuffer.c commit fda55187ab3fb7abaf0294bbe26accc1ac5f5681 Author: Sébastien Wilmet Date: 2013-08-19 SearchContext: replace() and replace_all(): clear replace error M gtksourceview/gtksourcesearchcontext.c commit 33add0fbd412a3d60e10568916626f735577db1f Author: Sébastien Wilmet Date: 2013-08-19 SearchContext: add the "regex-state" property It will be useful to know where to display the regex error in gedit. M docs/reference/gtksourceview-3.0-sections.txt M gtksourceview/gtksourcesearchcontext.c M gtksourceview/gtksourcesearchcontext.h commit 4d5b073fcd5f7bf770f794f12565794ef5bbb199 Author: Sébastien Wilmet Date: 2013-08-16 Better document context classes https://bugzilla.gnome.org/show_bug.cgi?id=706170 M gtksourceview/gtksourcebuffer.c commit b5f4f0db8d8041ec4a49e5bc0b40853c0c6ee225 Author: Sébastien Wilmet Date: 2013-08-15 SearchContext: more unit tests M tests/test-search-context.c commit 4ff6b0c5bcf20e2d81d255679ce1ef1f051afe4b Author: Sébastien Wilmet Date: 2013-08-15 SearchContext: fix a bug with partial matches A unit test will arrive soon. M gtksourceview/gtksourcesearchcontext.c commit b5e8148190a3ebdeb16e6d3b2bfac4e7961caa5b Author: Sébastien Wilmet Date: 2013-08-15 SearchContext: fix the unit tests M gtksourceview/gtksourcesearchcontext.c commit e7607584ec354118509f8985b7819a491d555961 Author: Sébastien Wilmet Date: 2013-08-15 SearchContext: fix a crash with backward regex search M gtksourceview/gtksourcesearchcontext.c commit 2dac65c8ec1e7b2783362ed145c03c5c31e75f2a Author: Sébastien Wilmet Date: 2013-08-14 SearchContext: use the regex error for the replace too M gtksourceview/gtksourcesearchcontext.c commit ab324dc734ebc63a0694d163a8d7e372e66584b0 Author: Sébastien Wilmet Date: 2013-08-14 SearchContext: stop search on regex matching error M gtksourceview/gtksourcesearchcontext.c commit 8ff4cbee2b5af69943df6f2fcc9fbebb5c188106 Author: Sébastien Wilmet Date: 2013-08-14 SearchContext: document a known issue (for a rare corner case) M gtksourceview/gtksourcesearchcontext.c commit 709425f1b82142570b62d04a9e7a1030aecb361f Author: Sébastien Wilmet Date: 2013-08-14 SearchContext: don't scan_all_region() in smart sync search The was a performance problem (O(N^2)) for one of the regex search test. M gtksourceview/gtksourcesearchcontext.c commit 26d6a2e4d26f16241a39d55e8112cbed993e3830 Author: Sébastien Wilmet Date: 2013-08-14 SearchContext: small code improvement M gtksourceview/gtksourcesearchcontext.c commit b22e2fc667a460996a7d228f3ba5751b9f11e6f1 Author: Sébastien Wilmet Date: 2013-08-13 Test regex search performances It seems that for some regexes, it is a O(N^2) complexity :/ M tests/test-search-performances.c commit 8b965019d1cc700254387e63ccb5afc84bd50f55 Author: Sébastien Wilmet Date: 2013-08-13 SearchContext: add improvement ideas M gtksourceview/gtksourcesearchcontext.c commit acb2970f6eff05a2aecbe1b4f40670ab49d3112e Author: Sébastien Wilmet Date: 2013-08-12 Remove gtk_source_buffer_disable_search_highlighting() Not really useful in gedit. M docs/reference/gtksourceview-3.0-sections.txt M gtksourceview/gtksourcebuffer.c M gtksourceview/gtksourcebuffer.h M gtksourceview/gtksourcesearchcontext.c M tests/test-search-context.c commit 1b3f32c30a19880a965f3e319da4a93b5c6a4982 Author: Sébastien Wilmet Date: 2013-08-05 SearchContext: free the found_tag M gtksourceview/gtksourcesearchcontext.c commit 2a38863fcf2424062ae0ce3e4ad81e8adc81403a Author: Sébastien Wilmet Date: 2013-08-04 SearchContext: take directly search->priv->settings Instead of calling get_settings(). The priv->settings can not be NULL. M gtksourceview/gtksourcesearchcontext.c commit 97d1f36dd9d34679f1164c6c248f416b9f9a5578 Author: Sébastien Wilmet Date: 2013-08-01 Test programs: re-add search highlighting M tests/test-search-context.c M tests/test-search.c commit 5ce5daa42fe224d4da75c6b4b3038c1f30f24061 Author: Sébastien Wilmet Date: 2013-08-01 SearchContext: set_settings(): allow NULL to create a new settings gtk_source_search_context_new() already allows a NULL SearchSettings. M gtksourceview/gtksourcesearchcontext.c commit ee50251824bf1a9718edade6b5cf275389e83161 Author: Sébastien Wilmet Date: 2013-08-01 Add gtk_source_buffer_disable_search_highlighting() The buffer must have a list of search contexts. It is done with _gtk_source_buffer_add_search_context(), and the buffer holds a weak reference to the context. It must not be the other way around, the context must have a strong reference to the buffer, because the context needs the buffer. On the other hand, the buffer can work without search contexts. M docs/reference/gtksourceview-3.0-sections.txt M gtksourceview/gtksourcebuffer-private.h M gtksourceview/gtksourcebuffer.c M gtksourceview/gtksourcebuffer.h M gtksourceview/gtksourcesearchcontext.c commit db63c878ad29dd95aedcb7c24c8bdb51ca9674cb Author: Sébastien Wilmet Date: 2013-08-01 Move private buffer functions to gtksourcebuffer-private.h Instead of having them in a public header. The symbols are anyway not exported. M docs/reference/Makefile.am M gtksourceview/Makefile.am A gtksourceview/gtksourcebuffer-private.h M gtksourceview/gtksourcebuffer.c M gtksourceview/gtksourcebuffer.h M gtksourceview/gtksourcemark.c M gtksourceview/gtksourceprintcompositor.c M gtksourceview/gtksourceview.c commit fadd1f07be3aa0ffd21fc97453be9bc9271d7fa8 Author: Sébastien Wilmet Date: 2013-08-01 SearchContext: add highlight property M docs/reference/gtksourceview-3.0-sections.txt M gtksourceview/gtksourcesearchcontext.c M gtksourceview/gtksourcesearchcontext.h commit 9bbeab487fd419c3341359bcfbeeecea82c39c22 Author: Sébastien Wilmet Date: 2013-07-31 SearchContext: init found_tag in set_buffer() With the previous API, the buffer could not be completely constructed when the Search object was created, so the solution was to call init_found_tag() a bit everywhere, if the found_tag was not already initialized. Now when the buffer is set, we are sure that it is constructed, so we can directly init the found_tag without problems with the tag table. M gtksourceview/gtksourcesearchcontext.c commit 012a07fe79cb5ee58ba3a14765a66013a9ad7422 Author: Sébastien Wilmet Date: 2013-07-31 build: sort the tests and unit tests M tests/Makefile.am commit cf338a7f3deb4a6b7a838d7d22d7abeabe41df37 Author: Sébastien Wilmet Date: 2013-07-31 Adapt the documentation for the new search API M docs/reference/gtksourceview-3.0-sections.txt M docs/reference/gtksourceview-docs.xml M gtksourceview/gtksourcebuffer.c M gtksourceview/gtksourcesearchcontext.c M gtksourceview/gtksourcesearchsettings.c M gtksourceview/gtksourceutils.c commit a0c0ae59aef5521ec4229a62bc8dc08d88d105a7 Author: Sébastien Wilmet Date: 2013-07-31 Doc: sort the classes in gtksourceview-3.0-sections.txt M docs/reference/gtksourceview-3.0-sections.txt commit 850060688d6c79eed145c245fa5b164415e38901 Author: Sébastien Wilmet Date: 2013-07-27 New search and replace API, with SearchContext and SearchSettings The API is more flexible. Before, only one search was possible at a time: there was a 1:1 relationship between the buffer and the private Search object. Now it is a 1:N relationship between the buffer and the SearchContext: it is possible to run several searches at the same time. And also a 1:N relationship between the SearchContext and the SearchSettings: it is possible to share search settings between several buffers. In summary, it is an indirect many-to-many relationship between the buffer and the search settings. 0-N 1-1 1-1 0-N Buffer ------------- SearchContext ------------- SearchSettings M docs/reference/gtksourceview-3.0-sections.txt M gtksourceview/Makefile.am M gtksourceview/gtksource.h M gtksourceview/gtksourcebuffer.c M gtksourceview/gtksourcebuffer.h M gtksourceview/gtksourcesearchcontext.c M gtksourceview/gtksourcesearchcontext.h A gtksourceview/gtksourcesearchsettings.c A gtksourceview/gtksourcesearchsettings.h M gtksourceview/gtksourcetypes.h M po/POTFILES.in M tests/test-search-context.c M tests/test-search-performances.c M tests/test-search.c M tests/test-search.ui commit b99441e921fe033dbf4be7bd66439092487fcc25 Author: Sébastien Wilmet Date: 2013-07-27 Search: rename test programs test-search -> test-search-context test-search-ui -> test-search (I didn't like the name test-search-ui) M gtksourceview/gtksourcebuffer.c M tests/Makefile.am C099 tests/test-search.c tests/test-search-context.c D tests/test-search-ui.c M tests/test-search.c R068 tests/test-search-ui.gresource.xml tests/test-search.gresource.xml R100 tests/test-search-ui.ui tests/test-search.ui commit 79d2cd359ec54e557003a17db9cf69f054be6e3e Author: Sébastien Wilmet Date: 2013-07-24 Rename GtkSourceSearch -> GtkSourceSearchContext M docs/reference/Makefile.am M gtksourceview/Makefile.am M gtksourceview/gtksource.h M gtksourceview/gtksourcebuffer.c D gtksourceview/gtksourcesearch.h R085 gtksourceview/gtksourcesearch.c gtksourceview/gtksourcesearchcontext.c A gtksourceview/gtksourcesearchcontext.h M gtksourceview/gtksourcetypes-private.h M gtksourceview/gtksourcetypes.h M po/POTFILES.in M tests/test-search-performances.c M tests/test-search-ui.c M tests/test-search.c commit 55917044c69091dc4e1743d69844b47877a6dd4e Author: Sébastien Wilmet Date: 2013-07-11 Regex search M docs/reference/gtksourceview-3.0-sections.txt M gtksourceview/gtksourcebuffer.c M gtksourceview/gtksourcebuffer.h M gtksourceview/gtksourcesearch.c M gtksourceview/gtksourcesearch.h M tests/test-search-ui.c M tests/test-search-ui.ui M tests/test-search.c commit 79de404468f98231bb685ca14a8c1bd5bbe36fde Author: Sébastien Wilmet Date: 2013-08-16 buffer: fix a memory leak in get_context_classes_at_iter() M gtksourceview/gtksourcebuffer.c commit 901d85ed80a4708f94158af86c7895f66260f8ff Author: Aurimas Černius Date: 2013-08-11 Updated Lithuanian translation M po/lt.po commit 55ef219aaf1062fe6d9281c1e383831f61d99c2a Author: Fran Diéguez Date: 2013-08-02 Updated Galician translations M po/gl.po commit c22252ea51a35fd904a40401e52f2a3a02d1552c Author: Yaron Shahrabani Date: 2013-07-31 Updated Hebrew translation. M po/he.po commit 5a46af773375051a7587b75557df4533db958c04 Author: Daniel Mustieles Date: 2013-07-31 Updated Spanish translation M po/es.po commit 031a86ca24d890c399ae3ef220f1d7ae520c3108 Author: Milo Casagrande Date: 2013-07-30 [l10n] Updated Italian translation. M po/it.po commit bf69fab51f2efb39a7956f33271b2c72a58e168d Author: Sébastien Wilmet Date: 2013-07-29 Post-release version bump M README M configure.ac