source: trunk/third/gtksourceview/ChangeLog @ 21463

Revision 21463, 54.6 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21462, which included commits to RCS files with non-trunk default branches.
Line 
1=== gtksourceview 1.1.1 ===
2
32004-10-13  Paolo Borelli  <pborelli@katamail.com>
4
5        * NEWS:
6        * README: Release 1.1.1
7
82004-10-07  Paolo Borelli  <pborelli@katamail.com>
9
10        * gtksourceview/language-specs/c.lang: handle #if 0 ... #else,
11        patch by John Spray (bug #153765)
12
132004-10-07  Paolo Borelli  <pborelli@katamail.com>
14
15        * gtksourceview/gtksourcetagtable.c (gtk_source_tag_table_remove_tag):
16        fix leak, patch by David A Knight (bug #152767)
17
182004-09-05  Theppitak Karoonboonyanan  <thep@linux.thai.net>
19
20        * configure.in (ALL_LINGUAS): Added 'th' (Thai).
21
222004-08-28  Akagic Amila  <bono@linux.org.ba>
23
24        * configure.in: Added 'bs' to ALL_LINGUAS.
25
262004-08-24  Kjartan Maraas  <kmaraas@gnome.org>
27
28        * configure.in:
29
302004-08-16  Owen Taylor  <otaylor@redhat.com>
31
32        * gtksourceview/gtksourceprintjob.c (get_text_with_style): Handle
33        the case where a tag toggle falls exactly at the paragraph
34        separator.
35
362004-08-08  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
37
38        * gtksourceview/language-specs/css.lang: CSS highlighting spec, by
39        Scott Martin (bug #130597)
40        * gtksourceview/language-specs/fortran.lang: Fortran highlighting,
41        by John Spray (bug #143970)
42        * gtksourceview/language-specs/javascript.lang: Javascript
43        highlighting rules, by Scott Martin (bug #139871)
44        * gtksourceview/language-specs/pascal.lang: Pascal highlighting
45        rules, by Andrew Johnson (bug #138863)
46        * gtksourceview/language-specs/Makefile.am: Added new files.
47
48=== gtksourceview 1.1.0 ===
49
502004-08-01  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
51
52        * NEWS:
53        * README:
54        * HACKING: Updated files for new release.
55
562004-07-22  Travis Snoozy  <ai2097@yahoo.com>
57       
58        * gtksourceview/language-specs//texinfo.lang:
59        Created an initial texinfo highlighting definition. Most (all?) of
60        the keywords are picked up. Still needs work :).
61
622004-07-21  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
63
64        * gtksourceview/gtksourceiter.c (forward_chars_with_skipping)
65        (pointer_from_offset_skipping_decomp): Use g_utf8_normalize()
66        instead of g_unicode_canonical_decomposition() to calculate
67        normalized character lengths.
68
692004-07-21 Duncan <dc_junk@yahoo.co.uk>
70
71        * gtksourceview/language-specs/haskell.lang: new file, adds support
72        for Haskell language. First version of the file by Anders Carlsson
73        <andersca@gnome.org>.
74
752004-07-21 John Luke <jluke@cfl.rr.com>
76
77        * gtksourceview/language-specs/vbnet.lang: new file, adds support
78        for VB.NET language.
79
802004-07-21  Arnaud LE ROUZIC <lerouzic@pge.cnrs-gif.fr>
81
82        * gtksourceview/language-specs/perl.lang:
83        a string starting by $# must not be considered as a comment.
84
852004-07-21  Gavin Brown <gavin.brown@uk.com>
86
87        * gtksourceview/language-specs/perl.lang: adds support for
88        Perl's POD documentation. Also adds in method calls ($object->method)
89        and the "our" keyword. Makes strings multiline.
90
912004-07-20  Paolo Maggi  <paolo.maggi@polito.it>
92
93        * configure.in: version 1.1.0
94
952004-07-15  Owen Taylor  <otaylor@redhat.com>
96
97        #143874: Use Pango for printing
98
99        * configure.in: Require gnome-print >= 2.7 for new Pango integration.
100
101        * gtksourceview/gtksourceprintjob.[ch] docs/reference/gtksourceview-sections.txt:
102        Add functions to set the various fonts as Pango font descriptions rather
103        than gnome-print font names.
104        gtk_source_print_job_{set,get}_{,numbers_,header_footer_}font_desc().
105        Also add "{,numbers_,header_footer_}font_desc" properties.
106
107        * gtksourceview/gtksourceprintjob.c: Rewrite printing code to
108        use Pango and gnome-print functions to print Pango objects rather than
109        being a separate implementation of layout.
110
111        * gtksourceview/gtksourceprintjob.c (gtk_source_print_job_get_property):
112        Fix memory leak for FONT properties.
113
114        * gtksourceview/gtksourceprintjob.c (get_text_with_style): Improve
115        performance of tag toggle searches for large unstyled buffers.
116        (Don't search for the next tag toggle for each line.)
117
1182004-06-21  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
119
120        * gtksourceview/language-specs/lua.lang: Lua syntax language file
121        by b.lindeijer@xs4all.nl
122        * gtksourceview/language-specs/Makefile.am: Added lua.lang
123
1242004-06-21  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
125
126        Patch by Paul Bolle:
127       
128        * gtksourceview/gtksourceprintjob.c (print_page): Fixed line
129        numbering (bug #144492)
130
1312004-06-01  Alexander Shopov  <ash@contact.bg>
132
133        * configure.in (ALL_LINGUAS): Added "bg" Bulgarian
134
1352004-05-24  Archit Baweja  <bighead@users.sourceforge.net>
136
137        * gtksourceview/language-specs/ruby.lang: Added syntax file for ruby.
138
1392004-05-21  Archit Baweja  <bighead@users.sourceforge.net>
140
141        * gtksourceview/gtksourceiter.h (GtkSourceSearchFlags): make the flags
142        GFlags by adding bitmasks.
143
1442004-04-26  Benoît Dejean  <tazforever@dlfp.org>
145
146        * gtksourceview/language-specs/ada.lang: Added ADA95 keywords.
147
1482004-04-19  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
149
150        * configure.in: Require Gtk+ 2.2.4, but disable tests if Gtk+ 2.4
151        is not found.
152
1532004-04-18  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
154
155        * gtksourceview/gtksourceview.c (gtk_source_view_new_with_buffer):
156        Check for buffer parameter to be non-NULL.
157
1582004-04-18  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
159
160        * gtksourceview/gtksourceview.c (key_press_cb): Also auto-indent
161        when splitting a line.
162
1632004-04-18  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
164
165        Patch by Benoît Dejean <TaZForEver@free.fr>:
166       
167        * gtksourceview/language-specs/c.lang: Updated to highlight C99
168        keywords, types and macros.
169        * gtksourceview/language-specs/python.lang: Highlight Python 2.3
170        keywords, types and functions.
171
1722004-04-14  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
173
174        * gtksourceview/gtksourceview.c (compute_indentation): Stop at
175        '\r' as well as '\n' or non-space character (partially fixes
176        #139576, Daniel Borgmann).
177
1782004-04-13  Paolo Borelli  <pborelli@katamail.com>
179
180        * gtksourceview/gtksourceview.c: add documentation.
181
1822004-04-09  Guntupalli Karunakar  <karunakar@freedomink.org>
183
184        * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
185
186=== gtksourceview 1.0.0 ===
187
1882004-03-22  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
189
190        * configure.in: Version 1.0.0
191       
192        * README:
193        * NEWS: Updated for new release.
194
1952004-03-22  Guntupalli Karunakar  <karunakar@freedomink.org>
196
197        * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
198
1992004-03-21  Gareth Owen  <gowen72@yahoo.com>
200
201        * configure.in: Added en_GB to ALL_LINGUAS
202
2032004-03-15  Alexander Winston  <alexander.winston@comcast.net>
204
205        * configure.in (TESTS_LIBS): Added en_CA to ALL_LINGUAS.
206
2072004-03-12  Paolo Borelli  <pborelli@katamail.com>
208
209        * gtksourceview/language-specs/c.lang: handle #if 0 ... #else.
210
211=== gtksourceview 0.9.2 ===
212
2132004-03-08  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
214
215        * configure.in: Bump version to 0.9.2
216
217        * README:
218        * NEWS: Updated for new release.
219
2202004-03-07  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
221
222        * gtksourceview/gtksourceiter.c (pointer_from_offset_skipping_decomp)
223        (g_utf8_strcasestr, g_utf8_strrcasestr): Correctly return a pointer to
224        the original string, taking into account decompositions in the
225        normalized string which is used for the actual comparing.
226        (forward_chars_with_skipping, lines_match, backward_lines_match):
227        Really fix searching now (sigh).
228
2292004-03-06  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
230
231        * gtksourceview/gtksourceiter.c (forward_chars_with_skipping):
232        Account for extra offsets coming from decomposed UTF8 characters when
233        moving the GtkTextIter forward (bug #135163).
234        (backward_lines_match): Use forward_chars_with_skipping when moving to
235        the start of the line match.
236
2372004-03-06  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
238
239        * gtksourceview/gtksourcelanguage.c
240        (gtk_source_language_get_tag_default_style): Return a copy of a default
241        tag style when the style is not found in the style scheme, or when the
242        tag has no style associated with it (bug #136070, Dustin Mulcahey).
243
2442004-03-05  Paolo Maggi  <paolo.maggi@polito.it>
245
246        * gtksourceview/language-specs/csharp.lang: updated mime-types to work
247        with the new shared-mime-info database (patch by
248        Tim Vismor <tvismor@acm.org>).
249
250=== gtksourceview 0.9.1 ===
251
2522004-02-23  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
253
254        * configure.in: Bump version to 0.9.1.
255
256        * NEWS:
257        * README: Update.
258
2592004-02-23  Paolo Maggi  <paolo.maggi@polito.it>
260
261        * gtksourceview/gtksourcestylescheme.[ch]: marked the
262        "Others" style as deprecated
263
2642004-02-22  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
265
266        * gtksourceview/gtksourceiter.c (g_utf8_strrcasestr): Position the
267        starting char pointer for the reverse search using UTF-8 aware
268        functions instead of pointer arithmetic.  Ditto for the haystack
269        offset counter (bug #133887, alexhack inbox ru).
270
2712004-02-21  Paolo Maggi  <paolo.maggi@polito.it>
272
273        * gtksourceview/language-specs/per.lang: updated mime-types to work
274        with the new shared-mime-info database (thanks to tvismor AT acm org).
275
2762004-02-20  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
277
278        * autogen.sh:
279        * configure.in: Set DEPRECATED_FLAGS variable and compiler
280        warnings according to maintainer mode (i.e. full deprecated flags
281        and error compiler warnings if maintainer mode is on).
282
283        * gtksourceview/Makefile.am:
284        * tests/Makefile.am: Use DEPRECATED_FLAGS.
285
286        * gtksourceview/language-specs/csharp.lang: Highlight "value" in
287        C# (bug #134405, algol firenze linux it).
288       
289        * gtksourceview/gtksourceregex.h:
290        * gtksourceview/gtksourceregex.c (gtk_source_regex_search)
291        (gtk_source_regex_match): Added options to disable beginning and
292        end of line anchor matching at string ends.
293
294        * gtksourceview/gtksourcebuffer.c (get_syntax_start)
295        (get_syntax_end, next_syntax_region)
296        (build_syntax_regions_table, update_syntax_regions)
297        (search_patterns, check_pattern, highlight_region): Determine if
298        the slice of text being analyzed starts at the beginning of a line
299        or ends at the end of line and pass matching options to
300        gtk_source_regex_* functions (bug #120347, Evert Verhellen).
301
3022004-02-20  Albert Chin-A-Young  <china@thewrittenword.com>
303
304        * gtksourceview/gtksourceprintjob.c: IBM C compiler does not like
305          trailing comma after last enum constant.
306
3072004-02-21 Alejandro Dubrovsky <alito@organicrobot.com>
308
309        * tests/test-widget.c (create_view_window): Make pixmap directory relative
310        to DATADIR, and check the returned gdk_pixbufs.
311
3122004-02-20  Paolo Maggi  <paolo.maggi@polito.it>
313
314        * gtksourceview/language-specs/ada.lang:
315        * gtksourceview/language-specs/c.lang:
316        * gtksourceview/language-specs/cpp.lang:
317        * gtksourceview/language-specs/po.lang:
318        * gtksourceview/language-specs/python.lang: updated mime-types to work
319        with the new shared-mime-info database.
320
3212004-02-13  Paolo Maggi  <paolo.maggi@polito.it>
322
323        * gtksourceview/language-specs/xml.lang:
324        * gtksourceview/language-specs/html.lang: fixed bug #120602 -
325        highlighting is not correct after an apostrophe. I'm not very happy
326        with the fix since it is a sort of workaround, but probably it is the best
327        we can do with the current highlight engine.
328
329=== gtksourceview 0.9.0 ===
330
3312004-02-12  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
332
333        * configure.in: Bump version number to 0.9.0.  Require intltool 0.30.
334
335        * README:
336        * NEWS: Update for new release
337
3382004-02-12  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
339
340        * gtksourceview/language-specs/csharp.lang: Added an escape character
341        to properly highlight things like strings-in-strings.
342
3432004-02-11  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
344
345        * gtksourceview/gnu-regex/regex.h: Redefine POSIX regular
346        expression API entries to avoid symbols clashes in systems which
347        implement them but don't have GNU regular expressions (patch by
348        Julio M. Merino Vidal, bug #133734).
349
3502004-02-10  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
351
352        * gtksourceview/gtksourcebuffer.c (update_syntax_regions):
353        Invalidate saved syntax regions information if a change is being
354        made in an offset included in them, since we have no way to know
355        if syntax regions have been added/removed and later reusing
356        those regions can lead to crashes (bug #133901, Dan Williams).
357
3582004-01-21 Alastair McKinstry <mckinstry@computer.org>
359
360        * configure.in: Added Irish locale "ga" to ALL_LINGUAS
361
3622004.01.10  Arafat Medini <lumina@silverpen.de>
363                                                                               
364        * configure.in: Added Arabic locale "ar" to ALL_LINGUAS
365
3662004-01-08  Jody Goldberg <jody@gnome.org>
367
368        * gtksourceview/gtksourceprintjob.c (break_line) : make valgrind
369          happier.
370
3712004-01-05  Alexander Winston  <alexander.winston@comcast.net>
372
373        * gtksourceview/language-specs/latex.lang: The string "Latex" was
374        swapped out for "LaTeX", the format's proper name.
375
3762004-01-05  Roozbeh Pournader  <roozbeh@sharif.edu>
377
378        * configure.in: Added "fa" to ALL_LINGUAS.
379
3802004-01-03  Robert Sedak  <robert.sedak@sk.htnet.hr>
381
382        * configure.in: Added "hr" in ALL_LINGUAS.
383
3842003-12-30  Paolo Borelli  <pborelli@katamail.com>
385
386        * gtksourceview/language-specs/html.lang: add missing
387        keywords (partially fix bug #130220).
388
389=== gtksourceview 0.8.0 ===
390
3912003-12-29  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
392
393        * configure.in:
394        * NEWS:
395        * README: Updated for new release.
396
3972003-12-29  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
398
399        * gtksourceview/language-specs/php.lang: Added PHP syntax
400        highlighting (file by Francesco Gigli, bug #111060).
401
402        * gtksourceview/language-specs/verilog.lang: Added Verilog syntax
403        highlighting spec (file by Paolo Borelli, bug #129942).
404
4052003-12-16  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
406
407        * tests/Makefile.am: Put back GTK_DISABLE_DEPRECATED flag.
408       
409        * tests/test-widget.c: Migrated menu creation code from
410        GtkItemFactory to the new action based objects in Gtk+ 2.3.  As a
411        side effect, now all view windows get their own menu and
412        independent configuration.
413
4142003-12-14  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
415
416        * docs/reference/gtksourceview-docs.sgml: Use a <reference>, not a
417        <section> for the API reference.  The index does not build
418        correctly otherwise.
419
4202003-12-12  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
421
422        * tests/test-widget.c (open_file_cb): Removed
423        gtk_window_set_default_size() call (bug #129114).
424
425        * configure.in:
426        * docs/reference/version.xml.in:
427        * docs/reference/Makefile.am:
428        * docs/reference/gtksourceview-docs.sgml: Add version information
429        to built reference documentation (bug #126028).
430
4312003-12-10  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
432
433        * gtksourceview/language-specs/csharp.lang: Support for C#
434        highlighting (file from John Luke, bug 115040).
435       
436        * gtksourceview/language-specs/msil.lang: MSIL hightlighting spec
437        (file from Antonio Ognio Cesti, bug 125252).
438       
439        * gtksourceview/language-specs/Makefile.am: Distribute csharp.lang
440        and msil.lang.
441
4422003-12-09  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
443
444        * configure.in: Updated required Gtk+ version tu use the new
445        GtkFileChooser.
446
4472003-12-06  Jan Arne Petersen  <jpetersen@uni-bonn.de>
448
449        * tests/test-widget.c: (file_selected_cb), (open_file_cb): Replace
450        GtkFileSelection with GtkFileChooser.
451
4522003-12-03  Sanlig Badral  <badral@openmn.org>
453
454        * configure.in: Added "mn" to ALL_LINGUAS
455
4562003-12-01      Mohammad DAMT  <mdamt@bisnisweb.com>
457
458        * configure.in: Added "id" to ALL_LINGUAS
459        * po/id.po: Added Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
460
4612003-11-10  Žygimantas Beručka  <uid0@tuxfamily.org>
462
463        * configure.in: Added "lt" to ALL_LINGUAS.
464
4652003-10-22  Paolo Maggi  <paolo.maggi@polito.it>
466
467        * TODO: Updated
468
469        * gtksourceview/language-specs/sql.lang: new file
470
471        * gtksourceview/language-specs/Makefile.am: distribute sql.lang
472
473=== gtksourceview 0.7.0 ===
474
4752003-10-17  Maxim Dziumanenko  <mdziumanenko@cvs.gnome.org>
476
477        * configure.in:  Added "uk" to ALL_LINGUAS.
478
4792003-10-15  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
480
481        * configure.in
482        * README
483        * NEWS: Updated for new stable release
484
4852003-10-10  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
486
487        * gtksourceview/gtksourcebuffer.c (get_syntax_start): Use the
488        ending index (not offset) to specify the text length when calling
489        gtk_source_regex_match().
490
4912003-10-03  Paolo Maggi  <paolo.maggi@polito.it>
492
493        * tests/Makefile.am (INCLUDES): remove GTK_DISABLE_DEPRECATED for
494        now until we're ported to GtkUIManager.
495
496        * gtksourceview/gtksourcebuffer.c (gtk_source_buffer_constructor):
497        change g_value_set_object_take_ownership to g_value_take_object to
498        avoid the deprecated call when compiling with glib 2.3
499
5002003-09-30  Christian Rose  <menthos@menthos.com>
501
502        * configure.in: Added "eu" to ALL_LINGUAS.
503
5042003-09-27  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
505
506        * gtksourceview/gtksourceundomanager.c (gtk_source_undo_manager_undo)
507        (gtk_source_undo_manager_delete_range_handler): When undoing a
508        delete action, place the cursor where it really was when the user
509        deleted the text (bug #112682).
510        (gtk_source_undo_manager_check_list_size): Keep a pointer to the
511        new list tail instead of iterating through all the list for each
512        removed action.
513        (gtk_source_undo_manager_set_max_undo_levels): Shrink the actions
514        list if needed due to the new maximum undo levels (bug #123273).
515
5162003-09-27  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
517
518        * gtksourceview/language-specs/java.lang: Remove the two new
519        translatable strings and restore the old one, by joining the
520        pattern items (doh!).
521
5222003-09-27  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
523
524        * gtksourceview/language-specs/html.lang: Added missing <iframe>
525        to the tags keyword list (bug #121501).
526
527        * gtksourceview/language-specs/po.lang: Added escape character and
528        missing msgid_plural (Pointed by Abel Cheung, bug #121190).
529
530        * gtksourceview/language-specs/java.lang: Fixed numbers regular
531        expression pattern (bug #115780).
532
5332003-09-25  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
534
535        * gtksourceview/gtksourcelanguage.c (gtk_source_language_finalize):
536        Remove debugging output (bug #121204).
537
538        * gtksourceview/gtksourceiter.c (backward_lines_match)
539        (gtk_source_iter_backward_search): Fix backward case-insensitive
540        search (bug #114666).
541
542        * gtksourceview/gtksourcetag.c (gtk_keyword_list_tag_new):
543        Truncate keyword lists of more than 250 elements (temporary fix
544        for bug #110991).
545
546        * README: Added note about the keywords limit.
547
5482003-09-17  Fatih Demir <kabalak@gtranslator.org>
549
550        * configure.in: Added "ta" (Tamil) to the languages' list.
551
5522003-09-14  Andras Timar  <timar@gnome.hu>
553
554        * configure.in: Added "hu" to ALL_LINGUAS.
555
5562003-09-12  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
557
558        * gtksourceview/gtksourcebuffer.c (update_syntax_regions): Only
559        update saved table offsets which are beyond the start_offset (Bug
560        #117441).
561
5622003-09-07  Laurent Dhima  <laurenti@alblinux.net>
563
564        * configure.in: Added "sq" to ALL_LINGUAS.
565
5662003-09-06  Guntupalli Karunakar  <karunakar@freedomink.org>
567
568        * configure.in: Added "hi" to ALL_LINGUAS.
569
5702003-09-06  Taneem Ahmed  <taneem@bengalinux.org>
571
572        * configure.in: Added "bn" to ALL_LINGUAS.
573
5742003-09-03  Pauli Virtanen  <pauli.virtanen@hut.fi>
575
576        * configure.in: Added "fi" (Finnish) to ALL_LINGUAS.
577
5782003-08-26  Paolo Maggi <paolo.maggi@polito.it>
579
580        * gtksourceview/gtksourcebuffer.c (gtk_source_buffer_set_bracket_match_style):
581        really set the background color of the bracket match tag
582
583=== gtksourceview 0.6.0 ===
584
5852003-08-25  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
586
587        * configure.in: Bumped intltool required version to 0.27 to get
588        support for translated .lang files.  Bumped version number for new
589        release.
590        * README: Updated for new release.
591
5922003-08-23  Ole Laursen  <olau@hardworking.dk>
593
594        * configure.in: Added "da" (Danish) to ALL_LINGUAS.
595
5962003-08-23  Tõivo Leedjärv  <toivo@linux.ee>
597
598        * configure.in: Added et to ALL_LINGUAS.
599
6002003-08-20  Jordi Mallach  <jordi@sindominio.net>
601
602        * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
603
6042003-08-09  Marcel Telka  <marcel@telka.sk>
605
606        * configure.in (ALL_LINGUAS): Added sk.
607
6082003-08-09  Christophe Merlet  <redfox@redfoxcenter.org>
609
610        * configure.in: Added "fr" to ALL_LINGUAS.
611
6122003-08-08  Danilo Šegan  <dsegan@gmx.net>
613
614        * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
615
616=== gtksourceview 0.5.0 ===
617
6182003-08-07  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
619
620        * configure.in: Bumped version for new release.
621        * README, NEWS: Updated version numbers.
622        * autogen.sh: Fix typo in option name.
623
6242003-08-06  Metin Amiroff <metin@karegen.com>
625
626        * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
627
6282003-08-06  Wang Jian  <lark@linux.net.cn>
629
630        * configure.in: Added "zh_CN" to ALL_LINGUAS.
631
6322003-08-06  Thomas Vander Stichele  <thomas at apestaart dot org>
633
634        * configure.in: make maintainer builds work
635
6362003-07-31  Changwoo Ryu  <cwryu@debian.org>
637
638        * configure.in: Added 'ko' to ALL_LINGUAS.
639
6402003-07-28  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
641
642        * docs/reference/tmpl/stylescheme.sgml:
643        * gtksourceview/gtksourcelanguage.c: (style_changed_cb),
644        (gtk_source_language_set_style_scheme):
645        * gtksourceview/gtksourcestylescheme.c:
646        (gtk_source_style_scheme_base_init),
647        (gtk_source_style_scheme_get_default):
648        * gtksourceview/gtksourcestylescheme.h: Add a style_changed signal so
649        implementations of the GtkSourceStyleScheme interface can notify
650        gtksourceview that a style has changed.
651
6522003-07-25  Pablo Saratxaga <pablo@mandrakesoft.com>
653
654        * configure.in: Added Vietnamese (vi) and Macedonain (mk) to
655          ALL_LINGUAS
656
6572003-07-19  Paolo Maggi <paolo.maggi@polito.it>
658
659        * gtksourceview/gtksourcebuffer.c (gtk_source_buffer_set_bracket_match_style):
660        manage the cases in which GTK_SOURCE_TAG_STYLE_USE_FOREGROUND and or
661        GTK_SOURCE_TAG_STYLE_USE_BACKGROUND are not set.
662
663        * gtksourceview/gtksourcelanguage.c (gtk_source_language_set_tag_style):
664        if "style" is NULL restore the default style.
665
666        * gtksourceview/gtksourceview.c: removed hack for bug #81893 since it is now
667        fixed in gtk+
668
6692003-07-19  Evandro Fernandes Giovanini <evandrofg@ig.com.br>
670
671        * configure.in: Added "pt_BR" (Brazilian Portuguese)
672        to ALL_LINGUAS.
673
6742003-07-11  Kjartan Maraas  <kmaraas@gnome.org>
675
676        * configure.in: Add Norwegian translation.
677        * po/ChangeLog:
678        * po/no.po:
679
6802003-07-10  Hasbullah Bin Pit  <sebol@ikhlas.com>
681                                                                                 
682        * configure.in: Added "ms" (Malay) to ALL_LINGUAS.
683
6842003-07-09  Dafydd Harries  <daf@parnassus.ath.cx>
685
686        * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
687
6882003-07-09  Alessio Frusciante  <algol@firenze.linux.it>
689
690        * configure.in: Added "it" (Italian) to ALL_LINGUAS.
691
6922003-07-06  Artur Flinta  <aflinta@cvs.gnome.org>
693                                                                               
694        * configure.in: Added "pl" to ALL_LINGUAS.
695       
696=== gtksourceview 0.4.0 ===
697
6982003-06-30  Paolo Maggi  <paolo.maggi@polito.it>
699
700        * NEWS: Updated
701
7022003-06-30  Paolo Maggi  <paolo.maggi@polito.it>
703
704        * configure.in: Bumped version to 0.4.0
705
706        * README: updated
707
7082003-06-28  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
709
710        * docs/reference/tmpl/stylescheme.sgml: Add get_style_names method.
711        * gtksourceview/gtksourcelanguage.c:
712        (gtk_source_language_get_tag_default_style): Check for NULL style.
713        * gtksourceview/gtksourcestylescheme.c:
714        (gtk_source_style_scheme_get_style_names),
715        (gtk_source_default_style_scheme_IFace_init),
716        (gtk_source_default_style_scheme_get_tag_style),
717        (gtk_source_default_style_scheme_get_name), (add_style_name),
718        (gtk_source_default_style_scheme_get_style_names): Implement
719        get_style_names method.
720        * gtksourceview/gtksourcestylescheme.h: Add get_style_names method.
721
7222003-06-28  Gil "Dolfin" Osher <dolfin@rpg.org.il>
723
724        * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
725
7262003-06-23  Paolo Maggi <paolo.maggi@polito.it>
727
728        * gtksourceview/gtksourcelanguage-private.h (GtkSourceLanguagePrivate):
729        added id, renamed tag_name_to_style_name to tag_id_to_style_name and
730        tag_name_to_style to tag_id_to_style
731       
732        * gtksourceview/gtksourcelanguage.c (gtk_source_language_finalize):
733        free id
734        (escape_id): new function
735        (process_language_node): set language id
736        (gtk_source_language_get_id): new method
737        (parseLineComment)(parseLineComment)(parseString)(parseKeywordList)
738        (parsePatternItem)(parseSyntaxItem)(parseTag): set tag id
739        (tag_style_changed_cb): use tag instead of name
740       
741        * gtksourceview/gtksourcelanguage.h (gtk_source_language_get_id): new
742        method
743       
744        * gtksourceview/gtksourcetag-private.h (GtkSourceTag): added id
745       
746        * gtksourceview/gtksourcetag.[ch]: added the id arg to all constructors,
747        added id and tag_style properties
748       
7492003-06-18  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
750
751        * configure.in: Added Belarusian to ALL_LINGUAS.
752
7532003-06-15  Takeshi AIHANA <aihana@gnome.gr.jp>
754
755        * configure.in: Added "ja" (Japanese) into ALL_LINGUAS.
756
7572003-06-15  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
758
759        * gtksourceview/gtksourceview.c: (gtk_source_view_set_margin): Reset
760        cached_margin_width when the margin changes.
761
7622003-06-14  Fatih Demir <kabalak@gtranslator.org>
763
764        * configure.in: Added "tr" (Turkish) to the languages' list.
765
7662003-06-13  Paolo Maggi <paolo.maggi@polito.it>
767
768        * TODO: Updated
769
7702003-06-13  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
771
772        * gtksourceview/gtksourcebuffer.c
773        (gtk_source_buffer_find_bracket_match_real): Return FALSE if at
774        the beginning of the buffer.  Verify that the matching bracket is
775        inside the same type of syntax region as the base bracket (Fixes
776        bug #113495).
777
7782003-06-13  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
779
780        * gtksourceview/gtksourceprintjob.h:
781        * gtksourceview/gtksourceprintjob.c
782        (gtk_source_print_job_print_range_async): Set the idle handler
783        priority to be lower than redraws (so the UI can be effectively
784        updated) but higher than GtkTextView validation handlers.
785
7862003-06-13  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
787
788        * docs/reference/tmpl/printjob.sgml: Documented GtkSourcePrintJob.
789
790        * gtksourceview/gtksourceprintjob.c: Added gtk-doc style headers
791        to document the public API.
792        (gtk_source_print_job_print_range)
793        (gtk_source_print_job_print_range_async): Check that the given
794        iters belong to the configured buffer.
795        (gtk_source_print_job_get_print_job): Check for non-NULL before
796        referencing the returned object.
797
7982003-06-12  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
799
800        * gtksourceview/gtksourceprintjob.c (get_text_to_print): Add a
801        sentinel line if the no text is available to print, so we can
802        print empty documents.
803        (break_line): Skip CR characters, so they are not printed for DOS
804        encoded files.
805        (print_line_number): Align line numbers the the to the base of the
806        body text line.
807        (print_display_line): Check that seg != NULL before getting the
808        text pointer.
809
8102003-06-12  Anders Carlsson  <andersca@codefactory.se>
811
812        * gtksourceview/gtksourceview.c (draw_line_markers):
813        Use gdk_draw_pixbuf.
814
8152003-06-12  Paolo Maggi <paolo.maggi@polito.it>
816
817        * configure.in: removed unused GLIB_REQUIRED_VERSION
818
819        * gtksourceview-1.0.pc.in: add ibgnomeprint-2.2 and remove
820        glib-2.0 gdk-2.0 from Requires.
821
822=== gtksourceview 0.3.0 ===
823       
8242003-06-07  Gustavo Gir??ldez  <gustavo.giraldez@gmx.net>
825
826        * README
827        * NEWS: Updated for new release
828
829        * configure.in: Bumped version to 0.3.0
830
831        * gtksourceview/gtksourceprintjob.c: Fixed translatable string,
832        bug #114404
833
8342003-06-06  Paolo Maggi  <paolo.maggi@polito.it>
835
836        * TODO: Updated
837
838        * docs/reference/gtksourceview-sections.txt: removed
839        gtk_source_buffer_find_bracket_match, added
840        gtk_source_iter_find_matching_bracket
841
842        * gtksourceview/gtksourcebuffer.c: #include "gtksourceiter.h",
843        rename gtk_source_buffer_find_bracket_match to
844        gtk_source_iter_find_matching_bracket
845
846        * gtksourceview/gtksourcebuffer.h: removed
847        gtk_source_buffer_find_bracket_match
848
849        * gtksourceview/gtksourceiter.h: added
850        gtk_source_iter_find_matching_bracket
851
852        * gtksourceview/gtksourcestylescheme.h: added a list of
853        required styles
854
8552003-06-04  Abel Cheung  <maddog@linux.org.hk>
856
857        * configure.in: Added "zh_TW" to ALL_LINGUAS.
858
8592003-06-02  Gustavo Gir??ldez  <gustavo.giraldez@gmx.net>
860
861        * docs/reference/gtksourceview-docs.sgml:
862        * docs/reference/gtksourceview-sections.txt:
863        * docs/reference/gtksourceview.types: Added entries for
864        gtk_source_iter_* functions and GtkSourcePrintJob object.
865
866        * docs/reference/tmpl/iter.sgml:
867        * docs/reference/tmpl/printjob.sgml: New files.
868
869        * gtksourceview/gtksourceprintjob.c: Disabled profile output.
870        page and page_count now default to 0 instead of -1.
871
872        * tests/test-widget.c: Save the opened filename and print it in
873        the footer.  A bit nicer print progress indicator and some other
874        printing configuration changed.
875       
8762003-06-02  Gustavo Gir??ldez  <gustavo.giraldez@gmx.net>
877
878        * configure.in: Add libgnomeprint/libgnomeprintui dependencies.
879
880        * gtksourceview/Makefile.am: Add gtksourceprintjob.[ch] to the build.
881
882        * gtksourceview/gtksourceprintjob.h:
883        * gtksourceview/gtksourceprintjob.c: New files implementing an
884        object which knows how to print a GtkSourceBuffer with
885        highlighting.
886
887        * gtksourceview/gtksourcebuffer.c (build_syntax_regions_table)
888        (ensure_highlighted, highlight_queue): Made GtkTextIter arguments
889        const.
890        (_gtk_source_buffer_highlight_region): Ditto.  Added a
891        highlight_now argument to make highlighting of the whole region
892        synchronous (used for printing).
893
894        * gtksourceview/gtksourcebuffer.h: Updated prototype.
895
896        * gtksourceview/gtksourcetag.c (gtk_source_tag_get_style): Handle
897        the case when tag->style is NULL.
898
899        * gtksourceview/gtksourceview.c (gtk_source_view_expose): Adapt to
900        _gtk_source_buffer_highlight_region change.
901
902        * gtksourceview/gtktextregion.h:
903        * gtksourceview/gtktextregion.c (gtk_text_region_add)
904        (gtk_text_region_substract, gtk_text_region_intersect): Take const
905        GtkTextIter arguments.
906
907        * tests/test-widget.c: Implemented "Print Preview" menu option to
908        test new printing functionality.
909       
910        * autogen.sh: Treat compiler warnings as errors by default.
911
9122003-05-31  Christian Neumair  <chris@gnome-de.org>
913
914        * configure.in: Added German ("de") to ALL_LINGUAS.
915
9162003-05-29  Alex Duggan  <aldug@astrolinux.com>
917
918        * gtksourceview/gtksourcelanguagesmanager.c:
919        s/spefications/specification/  Fixes: #113278
920
9212003-05-28  Gustavo Gir??ldez  <gustavo.giraldez@gmx.net>
922
923        * gtksourceview/gtksourcelanguage.h: Added missing
924        GTK_SOURCE_LANGUAGE_GET_CLASS macro (pointed by Jeff Franks).
925
9262003-05-28  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
927
928        * gtksourceview/Makefile.am: Add gtksourceiter.[ch].
929        * gtksourceview/gtksourceiter.c:
930        * gtksourceview/gtksourceiter.h: Add forward & backward search methods
931        from gedit & glimmer. These methods differ from the ones in GtkTextIter
932        in that they support case-insensitive searching.
933
9342003-05-27  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
935
936        * configure.in: Added Russian to ALL_LINGUAS.
937
9382003-05-26  Gustavo Gir??ldez  <gustavo.giraldez@gmx.net>
939
940        * gtksourceview/language-specs/*.lang: Marked all "name" and
941        "section" attributes for translation.
942
9432003-05-26  Gustavo Gir??ldez  <gustavo.giraldez@gmx.net>
944
945        * docs/reference/tmpl/buffer.sgml: Documented GtkSourceBuffer.
946        * gtksourceview/gtksourcebuffer.c: Fixed some object properties
947        descriptions.  Added gtk-doc style comments for all public API.
948
9492003-05-26  Gustavo Gir??ldez  <gustavo.giraldez@gmx.net>
950
951        * configure.in: Require intltool 0.26.
952       
953        * gtksourceview/gtksourcelanguage-private.h:
954        * gtksourceview/gtksourcelanguage.c: Add support for translated
955        .lang files.
956        (process_language_node, parseTag): Prefer underscore-prefixed
957        attribute names and get translations for their values.
958        (language_file_parse): Check that the escape character is UTF-8
959        valid.
960
961        * gtksourceview/language-specs/c.lang: Prefix translatable
962        attribute names with an underscore, so intltool-extract can pick
963        the strings for translation.
964
965        * gtksourceview/language-specs/language.dtd: Added
966        "translation-domain" attribute to the language element.
967
968        * autogen.sh: Enable documentation build by default.
969        * HACKING: Added documentation policy for new API.
970       
9712003-05-25  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
972
973        * configure.in:
974        * Makefile.am: Added reference documentation building
975        infrastructure.
976
977        * docs/Makefile.am:
978        * docs/reference/Makefile.am:
979        * docs/reference/gtksourceview-docs.sgml:
980        * docs/reference/gtksourceview-overrides.txt:
981        * docs/reference/gtksourceview-sections.txt:
982        * docs/reference/gtksourceview.types: New files necessary to build
983        the reference documentation
984
985        * docs/reference/tmpl/*.sgml: Initial versions of documentation
986        template files.
987
988        * gtksourceview/gtksourcelanguagesmanager.h: Reformatted
989        declarations so gtk-doc scanners can pick them up.
990        * gtksourceview/gtksourcetagtable.c
991        (gtk_source_tag_table_add_tags): Fixed typo in gtk-doc comment
992        header.
993       
9942003-05-25  Duarte Loreto <happyguy_pt@hotmail.com>
995
996        * configure.in: Add Portuguese (pt) to ALL_LINGUAS.
997
9982003-05-24  Gustavo Gir??ldez  <gustavo.giraldez@gmx.net>
999
1000        * gtksourceview/language-specs/ada.lang:
1001        * gtksourceview/language-specs/c.lang:
1002        * gtksourceview/language-specs/cpp.lang: Changed pattern for
1003        matching character constants (patch by Michael Terry, bug #113498)
1004
1005        * gtksourceview/language-specs/desktop.lang: Added missing
1006        'GenericName' keyword (bug #113467)
1007
1008        * TODO:
1009        * README: Updated
1010
10112003-05-22  Miloslav Trmac  <mitr@volny.cz>
1012
1013        * configure.in: Added cs (Czech) to ALL_LINGUAS.
1014
1015=== gtksourceview 0.2.1 ===
1016       
10172003-05-20  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
1018
1019        * NEWS: updated for new release
1020
10212003-05-19  Christian Rose  <menthos@menthos.com>
1022
1023        * configure.in: Added "sv" to ALL_LINGUAS.
1024
10252003-05-15  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
1026
1027        * gtksourceview/gtksourceregex.h:
1028        * gtksourceview/gtksourceregex.c:
1029        * gtksourceview/gtksourcetag.c:
1030        * gtksourceview/gtksourcetag-private.h:
1031        * gtksourceview/gtksourcebuffer.c:
1032        Regular expression syntax changed to POSIX Extended.
1033        Changed all occurrences of GtkSourceRegex objects to a pointer to
1034        GtkSourceRegex, since now their implementation is opaque to the
1035        rest of the library.
1036        Changed prototype of gtk_source_regex_match to return a gboolean
1037        and swapped pos and length parameters to match the order of
1038        gtk_source_regex_search.
1039
1040        * configure.in: Bumped version to 0.2.1.  Added check for native
1041        GNU regular expressions to conditionally compile the included
1042        library in gtksourceview/gnu-regex.
1043
1044        * gtksourceview/gnu-regex: Directory containing private copy of
1045        GNU regular expressions library for platforms not based on the GNU
1046        C library (built conditionally).
1047       
1048        * README: Added section about the .lang file format
1049        * gtksourceview/language-specs/language.dtd: DTD for .lang files
1050        * gtksourceview/language-specs/*.lang: Changed all regular
1051        expressions to the POSIX Extended syntax.
1052
10532003-05-15  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
1054
1055        * configure.in:
1056        * gtksourceview/Makefile.am:
1057        * gtksourceview/gtksourcetagstyle.h:
1058        Generate gtksourceview-typebuiltins.[ch] with enums and flags from
1059        the widget.
1060
10612003-05-13  Paolo Maggi  <paolo.maggi@polito.it>
1062
1063        Workaround for bug #81893
1064
1065        * gtksourceview/gtksourceview.c (gtk_source_view_grab_focus):
1066        new function
1067
10682003-05-13  Michael Terry  <mterry@fastmail.fm>
1069
1070        * Makefile.am, configure.in, gtksourceview-1.0.pc.in,
1071          gtksourceview/Makefile.am,
1072          gtksourceview/gtksourcelanguage-private.h,
1073          gtksourceview/gtksourcelanguagesmanager.c,
1074          gtksourceview/gtksourcetagtable.c,
1075          gtksourceview/gtksourceview-i18n.c, tests/Makefile.am:
1076          Removed dependency on libgnome from gtksourceview code.
1077        * configure.in: Allowed the tests to not be built, via a
1078          --disable-build-tests configure flag.
1079
10802003-05-13  Paolo Maggi  <paolo.maggi@polito.it>
1081
1082        * gtksourceview/language-specs/c.lang: highlight files as vim
1083
1084        * gtksourceview/language-specs/cpp.lang: re-written
1085
10862003-05-12  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
1087
1088        * gtksourceview/gtksourcestylescheme.c
1089        (gtk_source_style_scheme_get_default): Fix the "dereferencing
1090        type-punned pointer will break strict-aliasing rules" gcc 3.3
1091        warning (bug #112680)
1092
10932003-05-12  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
1094
1095        * gtksourceview/gtksourcestylescheme.h:
1096        s/GTK_STYLE_SOURCE_SCHEME/GTK_SOURCE_STYLE_SCHEME/ for
1097        GtkSourceStyleScheme macros (pointed by Ahmad Baitalmal
1098        <ahmad@bitbuilder.com>)
1099
11002003-05-08  Paolo Maggi  <paolo.maggi@polito.it>
1101
1102        * gtksourceview/gtksourcebuffer.c
1103        * gtksourceview/gtksourceview.c: fixed compilation problems
1104        with gcc 2.9.x (patch by Mohammed Sameer <Uniball@gmx.net>)
1105
1106=== gtksourceview 0.2.0 ===
1107       
11082003-05-05  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
1109
1110        * configure.in: Bumped version number to 0.2.0 due to the
1111        directory renaming.
1112
1113        * NEWS: Updated for new release
1114
11152003-05-05  Paolo Maggi  <paolo.maggi@polito.it>
1116
1117        "src" dir renamed to "gtksourceview", in this way headers
1118        can be properly namespaced
1119
1120=== gtksourceview 0.1.0 ===
1121       
11222003-05-02  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
1123
1124        New GtkSourceView widget by Paolo Maggi and Gustavo Gir??ldez.
1125
1126        * API has been completely revised
1127        * New language and manager objects to set regular expressions for
1128          syntax highlighting from XML files
1129        * New improved highlighting engine
1130        * Rewritten test application which demonstrates most important features
1131        * Markers API have been redesigned
1132        * Text style schemes for highlighted elements
1133        * The view can draw a vertical line indicating a right margin
1134        * Smart HOME/END keys move to the first/last character in the line
1135          before moving to the real begin/end (patch by Jeroen Zwartepoorte)
1136        * Auto indentation support
1137       
11382003-04-15  Christian Neumair  <chris@gnome-de.org>
1139
1140        * configure.in: Changed AC_PROG_LIBTOOL macro to AM_PROG_LIBTOOL.
1141
11422003-01-05  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1143
1144        * src/gtksourcebuffer.c: (check_syntax),
1145        (gtk_source_buffer_regex_search), (gtk_source_buffer_regex_match):
1146        Really fix the highlighting code this time. Uses
1147        g_utf8_offset_to_pointer and g_utf8_pointer_to_offset to convert
1148        between character offset and byte offset required for the regex methods.
1149        Patch by Gustavo.
1150
11512003-01-04  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1152
1153        * src/gtksourcebuffer.c: (check_syntax), (check_pattern),
1154        (gtk_source_buffer_regex_search): Work around a bug in the re_search
1155        method where it returns the number of bytes matched instead of the
1156        number of characters matched (rh bugzilla #73644). UTF8 text is now
1157        highlighted properly.
1158
11592003-01-02  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
1160
1161        * autogen.sh: Changed to standard gnome2 autogen.sh
1162        * ltmain.sh: Removed, since it's installed by libtoolize.
1163        * configure.in: Updated required Gtk+ version.
1164        * src/Makefile.am: Added gtktextregion.[ch] and testregion test
1165        program
1166        * src/gtktextregion.h, src/gtktextregion.c: New files for doing
1167        text region operations in a GtkTextBuffer.
1168        * src/testregion.c: Test program for GtkTextRegion.
1169        * src/gtksourcebuffer.c (idle_refresh_handler, refresh_range,
1170        gtk_source_buffer_highligth_region) Implemented incremental
1171        highlighting
1172        (check_pattern): Changed iteration strategy from trying to match
1173        each character with each pattern, to, for each pattern search the
1174        whole region for a match (thus making use of the compiled regex
1175        fastmap)
1176        (get_tag_start): Use faster gtk_text_backward_to_tag_toggle
1177        instead of interating with a while loop.
1178        (get_tag_end): Idem.
1179        * src/gtksourcebuffer.h: New prototype
1180        gtk_source_buffer_highlight_region.
1181        * src/gtksourceview.c: Changed expose handler from a signal hook
1182        to a virtual override in the class.  Expose also now handles the
1183        highlighting of the region that's about to be drawn.
1184        (gtk_source_view_paint_margin): New function: separated left
1185        margin painting from the expose handler.
1186        * src/test-widget.c: Set a monospaced font instead of using the
1187        default theme font.
1188       
11892002-09-22  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1190
1191        * src/gtksourcebuffer.h:
1192        * src/gtksourcetag.h:
1193        * src/gtksourceview.h:
1194        * src/gtktextsearch.h:
1195        * src/gtkundomanager.h:
1196
1197        Use G_BEGIN_DECLS & G_END_DECLS instead of #ifdef __cplusplus.
1198
11992002-07-13  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1200
1201        * configure.in: Treat warnings as errors.
1202        * src/Makefile.am: Removed regex.[ch]. Old version, use distro instead.
1203        * src/gtksourcebuffer.c: (read_loop):
1204        * src/gtksourcetag.c:
1205        * src/gtksourceview.c: (gtk_source_view_expose),
1206        (gtk_source_view_new):
1207        * src/gtktextsearch.c: (gtk_text_search_finalize):
1208        * src/regex.c: Removed.
1209        * src/regex.h: Removed.
1210        * src/test-widget.c:
1211
1212        Fix all warnings.
1213
12142002-07-13  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1215
1216        * src/test-widget.c: (test_source): Fix test-widget segfault.
1217
12182002-07-12  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1219
1220        * aclocal.m4: Obsolete.
1221        * src/gtksourcebuffer.c: (check_embedded): Fix unitialized GtkTextIter.
1222        * src/gtksourcetag.c: (gtk_embedded_tag_new): Fix correct instance type.
1223
12242002-07-12  JP Rosevear  <jpr@ximian.com>
1225
1226        * src/gtktextsearch.h: remove extraneous characters
1227
12282002-07-11  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1229
1230        * src/test-widget.c: (test_source): Fix method call.
1231
12322002-07-04  Mikael Hermansson  <tyan@linux.se>
1233
1234        * src/gtksourcebuffer.[c/h] (gtk_source_buffer_[load/save]_*),
1235        code cleanup and improved error handling using GError.
1236
12372002-05-22  Mikael Hermansson  <tyan@linux.se>
1238
1239        * src/gtksourcebuffer.c: (gtk_source_buffer_real_delete_range),
1240        fix bug that made it impossible to remove syntax embended text.
1241        (reported by Mario Motta <mmotta@guest.net>)
1242
12432002-03-31  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1244
1245        * src/gtksourcebuffer.c: (gtk_source_buffer_get_undo_levels),
1246        (gtk_source_buffer_set_undo_levels): Add undo_levels property.
1247        * src/gtksourcebuffer.h: Idem.
1248        * src/gtksourceview.c: (gtk_source_view_expose),
1249        (gtk_source_view_set_show_line_numbers),
1250        (gtk_source_view_set_show_line_pixmaps): Fix bug where margin would
1251        still be visible even though both the line numbers & pixmaps were off.
1252        * src/gtkundomanager.c: (gtk_undo_manager_get_undo_levels),
1253        (gtk_undo_manager_set_undo_levels): Add undo_levels property.
1254        * src/gtkundomanager.h: Idem.
1255        * src/test-widget.c: (cb_line_numbers_toggle), (main): Add button for
1256        showing/hiding the line numbers margin.
1257
12582002-03-30  Johan Dahlin  <jdahlin@telia.com>
1259
1260        * src/Makefile.am: Make sure $(BUILD_SOURCES) is built before trying
1261        to compile other things. Fixes build in automake-1.5 or higher.
1262
12632002-03-22  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1264
1265        * src/gtksourcebuffer.c: (add_marker), (add_markers),
1266        (gtk_source_buffer_line_remove_markers),
1267        (gtk_source_buffer_get_all_markers): Added
1268        gtk_source_buffer_get_all_markers method.
1269        * src/gtksourcebuffer.h: Idem.
1270
12712002-03-15  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1272
1273        * aclocal.m4: Newer glib version.
1274        * configure.in: Added libgnome dependency (i18n).
1275        * src/Makefile.am: Added new files.
1276        * src/gtksourcebuffer.c: Cleanup, implemented support for new undo
1277        manager.
1278        * src/gtksourcebuffer.h: Idem.
1279        * src/gtksourceview-marshal.list: Added marshal type for undo/redo
1280        events.
1281        * src/gtksourceview.c: (gtk_source_view_populate_popup): Updated to work
1282        with the new undo API.
1283        * src/gtkundomanager.c: New GtkUndoManager, copied from gedit.
1284        * src/gtkundomanager.h: Idem.
1285
12862002-02-11  Mikael Hermansson  <tyan@linux.se>
1287
1288        * gtksourceview.c: remove compile warnings.
1289        * test-widget.c: remove compile warnings.
1290
12912002-02-11  Mikael Hermansson  <tyan@linux.se>
1292
1293        * ChangeLog: fixed my ugly comments and make it more emacs compatible :-)
1294
12952002-03-10  Mikael Hermansson  <tyan@linux.se>
1296
1297        * gtksourcebuffer.[c/h] (gtk_source_buffer_update_info):
1298        This function will reread file stat() from disc and update
1299        GtkSourceBufferInfo structure.
1300        (update_buffer_info): Fixed so it doesn't read file stat() when
1301        getstat == FALSE
1302
13032002-03-06  Mikael Hermansson  <tyan@linux.se>
1304
1305        * gtktextsearch.[c/h]: This is a new object class for searching in the
1306        buffer. Hopefully this API will work better than the old
1307        gtk_text_iter_forward_search implementation :-)
1308
1309        * Makefile.am: added gtktextsearch.[c/h] to sources list
1310
13112002-02-11  Mikael Hermansson  <tyan@linux.se>
1312
1313        * gtksourcebuffer.c:  remove all compile warnings.
1314        (gtk_source_buffer_set_filename): Should not g_strdup/g_free
1315        if passed filename == info->filename just return from without change.
1316
13172002-02-09  Mikael Hermansson  <tyan@linux.se>
1318
1319        * gtksourcebuffer.c/h (gtk_source_buffer_get_filename):
1320        Allocate a new filename string instead of return const char*
1321        user should g_free it after use.
1322        (gtk_source_buffer_save/load): Now will set "modifed" flag to
1323        FALSE after load/save success has been completed...
1324
13252002-03-07  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1326
1327        * src/gtksourceview.c: (gtk_source_view_calculate_tab_stop_width): Fix
1328        tab width calculation (finish string by adding a '\0' character).
1329
13302001-12-30  Mikael Hermansson  <tyan@linux.se>
1331
1332        * gtksourcebuffer.c: (in move_cursor): Make sure
1333        gtk_source_buffer_find_bracket_match() is only called if
1334        check_brackets == TRUE
1335
1336Sat Feb  09 05:41:59 2002 CET Mikael Hermansson  <tyan@linux.se>
1337
1338        * gtksourcebuffer.[c/h] added new API:
1339        gtk_source_buffer_save[_with_character_encoding]()
1340        gtk_source_buffer_load[_with_character_encoding](),
1341        gtk_source_buffer_set_filename(),
1342        gtk_source_buffer_get_filename(),
1343        gtk_source_buffer_get_info(): GtkSourceBufferInfo structure holds
1344        file-/buffer status.
1345
13462002-02-06  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1347
1348        * src/gtksourceview.c: (gtk_source_view_calculate_tab_stop_width):
1349        Immediately return 0 if tab_stop if also 0, otherwise a pango warning
1350        about an invalid UTF-8 string will be displayed.
1351
13522002-02-05  Jeroen Zwartepoorte  <jeroen@xs4all.nl>
1353
1354        * aclocal.m4: Updated by auto* programs.
1355        * src/gtksourceview.c: (gtk_source_view_class_init),
1356        (gtk_source_view_init), (gtk_source_view_finalize),
1357        (gtk_source_view_pixbuf_foreach_unref), (gtk_source_view_undo),
1358        (gtk_source_view_redo), (gtk_source_view_populate_popup),
1359        (menuitem_activate_cb), (gtk_source_view_get_line_marker),
1360        (gtk_source_view_draw_line_markers), (gtk_source_view_get_lines),
1361        (gtk_source_view_expose),
1362        (gtk_source_view_calculate_tab_stop_width), (gtk_source_view_new),
1363        (gtk_source_view_new_with_buffer), (gtk_source_view_get_type),
1364        (gtk_source_view_get_show_line_numbers),
1365        (gtk_source_view_set_show_line_numbers),
1366        (gtk_source_view_get_show_line_pixmaps),
1367        (gtk_source_view_set_show_line_pixmaps),
1368        (gtk_source_view_get_tab_stop), (gtk_source_view_set_tab_stop),
1369        (gtk_source_view_get_tab_stop_width), (gtk_source_view_add_pixbuf),
1370        (gtk_source_view_get_pixbuf): Rewrote line numbering code. Now works
1371        the same way as in gedit2. The left margin no longer resizes when you
1372        just enter blank lines. It is also now possible to hide the line numbers,
1373        while keeping the line pixmaps. Some methods which weren't being used
1374        removed and overall cleanup. Problem of not displaying a line number
1375        for the last (empty) line is also fixed.
1376
1377Sat Jan 26 10:50:43 AM PST 2002 Chris Phelps <chicane@reninet.com>
1378        * all:
1379          indent all code with: '-bad -br -brs -ce -l100 -lp -psl -saf -sai -saw -i8'
1380        * src/gtksourcebuffer.c:
1381          (real_insert_text) fix invalidated TextIter when no highlighting style is set.
1382
13832001-12-30  Dave Camp  <dave@ximian.com>
1384
1385        * src/gtksourceview.c (get_line_marker): Pass an overall_alpha of
1386        255 to gdk_pixbuf_composite() instead of 127.
1387
1388        * src/gtksourcebuffer.c (gtk_source_buffer_line_remove_marker): Removed the extraneous list destruction and hashtable removal at the end of the function.  Removing a marker no longer removes all markers.
1389
1390Sun Dec  30 10:40:08 2001 CET Mikael Hermansson  <tyan@linux.se>
1391
1392  * gtksourcebuffer.c:
1393     - get rid of connect_[before/after] signals on "insert/delete" callbacks.
1394        Now the sourcebuffer is  virtually overidding the default insert_text/delete_range handlers.
1395  * gtksourceview.c:
1396      - adding Undo/Redo to popupmenu
1397
1398Mon Dec  17 06:38:30 2001 CET Mikael Hermansson  <tyan@linux.se>
1399
1400  * gtksourceview.[c/h] changed GtkSourceView->delete to delete_range.
1401
14022001-12-15  Dave Camp  <dave@ximian.com>
1403
1404        * src/gtksourceview.c (get_line_marker): New function.
1405        (draw_line_markers): New function.
1406        (gtk_source_view_expose): Rewritten to be a bit clearer, and to not add one to marker line numbers.
1407        (get_lines): Removed.
1408        * src/gtksourcebuffer.c (gtk_source_buffer_line_add_marker): Changed line < line_number to line_number > line (the off-by-one is on purpose) and make it a g_return_if_fail()
1409        (gtk_source_buffer_line_set_marker): Ditto.
1410
1411Tue Dec 11 04:48:45 PM PST 2001 Chris Phelps <chicane@reninet.com>
1412    * gtksourceview.c: remove some deprecated calls to gdk_string_width() with pango_layout action.
1413
1414Mon Dec 10 04:58:22 PM PST 2001 Chris Phelps <chicane@reninet.com>
1415    * Modified gtksourcebuffer line marker api to allow for multiple markers per line.
1416    * Added a a few new marker related functions for convenience purposes and completeness
1417    * Update gtksourceview to deal with multiple markers per line (composite pixbufs)
1418
14192001-12-09  Dave Camp  <dave@ximian.com>
1420
1421        * src/gtksourcebuffer.h: Fixed a broken comment.
1422
1423Sat Dec  08 03:46:47 2001 CET Mikael Hermansson  <tyan@linux.se>
1424
1425  * Hmm It's time to start contribute to my old project again. Nothing new so far except I have changed ISP provider and my new email is tyan@linux.se.
1426    Maybe I have some old/new stuff in my local source repository (at http://tyan.homeip.net) but it looks like like Chris has already done some good stuff :-) 
1427
1428Thu Dec 06 02:25:29 AM PST 2001 Chris Phelps <chicane@reninet.com>
1429   * split the line pixmap code up between the view and buffer implementations.
1430     you can now have multiple views of a buffer that will show different pixmaps,
1431     but in the same places...unneeded flexibility, but I thought it was a good idea.
1432     (It was Dave Camp's)
1433
1434Thu Dec 06 01:14:40 AM PST 2001 Chris Phelps <chicane@reninet.com>
1435   * Fixed a bug in the line number drawing code to allow for drawing the line number
1436     on the final line of the view even if it is empty.
1437
1438Thu Dec 06 01:13:42 AM PST 2001 Chris Phelps <chicane@reninet.com>
1439   * I have resurected this module and put it to use in Glimmer, and
1440     Dave Camp is playing with it in Dryad as a test bed for gnome-debug
1441
1442Sat Feb 17  13:19:53 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
1443
1444* Realesing 0.0.3
1445
1446Sat Feb 17  13:03:59 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1447
1448  * gtktextview.c bugfixes in find_correct_bracket/key_press_event code that made
1449  the bracket sometime show up incorrectly in line.
1450
1451Sat Feb 17  02:19:27 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1452
1453  * gtksourceview.c if source_view->auto_indent = TRUE the keypress implementation
1454    will automatic inserting whitespaces before/after on operator characters like [=<>!], comma [,]
1455    and begin parantes[(]. This is hardcoded values and will probadly only work on
1456    C/C++/Java/python or similar programing languages syntax.
1457
1458Fri Feb 16  23:56:46 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1459
1460  * test.c cb_convert() replaced creat/write functions with fopen family instead
1461
1462  * gtksourceview.c killed some warnings, fixed bug in gtk_source_view_set_show_line_numbers()
1463    that made the widget show line numbers even if you set it to FALSE.
1464
1465Mon Feb 12  18:17:56 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1466
1467  * Implemented gtk_source_buffer_convert_to_html the name says what it does :-)
1468
1469Mon Feb 05  20:27:21 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1470
1471  * gtksourceview./gtksourcebuffer.[c/h]start implement undo/redo
1472
1473Sun Feb 04  14:38:10 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1474
1475  * configure.in -> 0.0.2cvs
1476
1477Sun Feb 04  14:35:47 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1478
1479  * releasing GtkSourceView 0.0.2
1480
1481Sun Feb 04  14:17:03 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1482
1483  * gtksourceview.[c/h] implemented auto indent. Two new functions added:
1484    gtk_source_view_[set/get]_auto_indent()
1485
1486Sun Jan 21  15:11:17 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1487
1488  * gtksourcebuffer.c fixed bug in find_bracket_match that made the buffer hang.
1489   also renamed it to gtk_source_buffer_find_bracket_match and made it public API
1490
1491Tue Jan 16  18:13:44 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1492
1493  * releasing 0.0.1 of GtkSourceView:
1494    A new syntax higlight widget that supports GtkTextView upcoming Gtk 2.0.Mon Dec 17  06:38:30 2001 CET Mikael Hermansson<tyan@linux.se>
1495
1496  * gtksourceview.[c/h] changed GtkSourceView->delete to delete_range.
1497
1498Tue Dec 11 04:48:45 PM PST 2001 Chris Phelps <chicane@reninet.com>
1499    * gtksourceview.c: remove some deprecated calls to gdk_string_width() with pango_layout action.
1500
1501Mon Dec 10 04:58:22 PM PST 2001 Chris Phelps <chicane@reninet.com>
1502    * Modified gtksourcebuffer line marker api to allow for multiple markers per line.
1503    * Added a a few new marker related functions for convenience purposes and completeness
1504    * Update gtksourceview to deal with multiple markers per line (composite pixbufs)
1505
15062001-12-09  Dave Camp  <dave@ximian.com>
1507
1508        * src/gtksourcebuffer.h: Fixed a broken comment.
1509
1510Sat Dec 08  03:46:47 2001 CET Mikael Hermansson  <tyan@linux.se>
1511
1512  * Hmm It's time to start contribute to my old project again. Nothing new so far except I have changed ISP provider and my new email is tyan@linux.se.
1513    Maybe I have some old/new stuff in my local source repository (at http://tyan.homeip.net) but it looks like like Chris has already done some good stuff :-) 
1514
1515Thu Dec 06 02:25:29 AM PST 2001 Chris Phelps <chicane@reninet.com>
1516   * split the line pixmap code up between the view and buffer implementations.
1517     you can now have multiple views of a buffer that will show different pixmaps,
1518     but in the same places...unneeded flexibility, but I thought it was a good idea.
1519     (It was Dave Camp's)
1520
1521Thu Dec 06 01:14:40 AM PST 2001 Chris Phelps <chicane@reninet.com>
1522   * Fixed a bug in the line number drawing code to allow for drawing the line number
1523     on the final line of the view even if it is empty.
1524
1525Thu Dec 06 01:13:42 AM PST 2001 Chris Phelps <chicane@reninet.com>
1526   * I have resurected this module and put it to use in Glimmer, and
1527     Dave Camp is playing with it in Dryad as a test bed for gnome-debug
1528
1529Sat Feb 17  13:19:53 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1530
1531* Realesing 0.0.3
1532
1533Sat Feb 17  13:03:59 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1534
1535  * gtktextview.c bugfixes in find_correct_bracket/key_press_event code that made
1536  the bracket sometime show up incorrectly in line.
1537
1538Sat Feb 17  02:19:27 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1539
1540  * gtksourceview.c if source_view->auto_indent = TRUE the keypress implementation
1541    will automatic inserting whitespaces before/after on operator characters like [=<>!], comma [,]
1542    and begin parantes[(]. This is hardcoded values and will probadly only work on
1543    C/C++/Java/python or similar programing languages syntax.
1544
1545Fri Feb 16  23:56:46 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1546
1547  * test.c cb_convert() replaced creat/write functions with fopen family instead
1548
1549  * gtksourceview.c killed some warnings, fixed bug in gtk_source_view_set_show_line_numbers()
1550    that made the widget show line numbers even if you set it to FALSE.
1551
1552Mon Feb 12  18:17:56 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1553
1554  * Implemented gtk_source_buffer_convert_to_html the name says what it does :-)
1555
1556Mon Feb 05  20:27:21 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1557
1558  * gtksourceview./gtksourcebuffer.[c/h]start implement undo/redo
1559
1560Sun Feb 04  14:38:10 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1561
1562  * configure.in -> 0.0.2cvs
1563
1564Sun Feb 04  14:35:47 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1565
1566  * releasing GtkSourceView 0.0.2
1567
1568Sun Feb 04  14:17:03 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1569
1570  * gtksourceview.[c/h] implemented auto indent. Two new functions added:
1571    gtk_source_view_[set/get]_auto_indent()
1572
1573Sun Jan 21  15:11:17 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
1574
1575  * gtksourcebuffer.c fixed bug in find_bracket_match that made the buffer hang.
1576   also renamed it to gtk_source_buffer_find_bracket_match and made it public API
1577
1578Tue Jan 16  18:13:44 2001 CET Mikael Hermansson  <mikeh@bahnhof.se>
1579
1580  * releasing 0.0.1 of GtkSourceView:
1581    A new syntax higlight widget that supports GtkTextView upcoming Gtk 2.0.
Note: See TracBrowser for help on using the repository browser.