Updated Spanish translation
[gnome-utils.git] / gnome-dictionary / ChangeLog.SVN
blob40d854a86bcd6a48213cac0a4973ba9083e7dd66
1 2009-03-02  Thomas H.P. Andersen  <phomes@gmail.com>
3         * src/gdict-applet.c: (gdict_applet_draw): Replace deprecated 
4         gtk_entry_set_editable. Part of bug #573292.
6 2009-02-04  Vincent Untz  <vuntz@gnome.org>
8         * src/gdict-applet.c: (gdict_applet_icon_toggled_cb): return something.
9         Part of bug #570422.
11 2008-12-23  Cosimo Cecchi  <cosimoc@gnome.org>
13         * src/gdict-applet.c: use the right order when passing arguments
14         to PANEL_APPLET_BONOBO_FACTORY. Thanks to Yanko Kaneti.
16 2008-12-19  Emmanuele Bassi  <ebassi@gnome.org>
18         Bug 454691 – Messages in the gnome-dictionary --help output are
19         not all translated
21         * libgdict/gdict-utils.c: Mark debug command line options as
22         translatable.
24         * src/gdict-app.c (gdict_init): Fix translation of the command
25         line options. (Gabor Kelemen)
27 2008-12-15  Cosimo Cecchi  <cosimoc@gnome.org>
29         * src/gdict-applet.c: (gdict_applet_cmd_help),
30         (gdict_applet_factory), (main):
31         Remove libgnome dependency and use stock PANEL_APPLET_BONOBO_FACTORY
32         macro to initialize applet (#563970).
34 2008-12-03  Cosimo Cecchi  <cosimoc@gnome.org>
36         * libgdict/gdict-database-chooser.c:
37         * libgdict/gdict-database-chooser.h:
38         * libgdict/gdict-defbox.c:
39         * libgdict/gdict-defbox.h:
40         * libgdict/gdict-private.h:
41         * libgdict/gdict-source-chooser.c:
42         * libgdict/gdict-source-chooser.h:
43         * libgdict/gdict-speller.c:
44         * libgdict/gdict-speller.h:
45         * libgdict/gdict-strategy-chooser.c:
46         * libgdict/gdict-strategy-chooser.h:
47         * libgdict/gdict-utils.h:
48         * src/gdict-aligned-window.c:
49         * src/gdict-aligned-window.h:
50         * src/gdict-app.c:
51         * src/gdict-sidebar.c:
52         * src/gdict-sidebar.h:
53         * src/gdict-window.c:
54         Use single GTK+ includes. Patch by Maxim Ermilov (#561257).
56 2008-11-04  Cosimo Cecchi  <cosimoc@gnome.org>
58         * src/gdict-app.c: (gdict_app_finalize), (gdict_init):
59         * src/gdict-app.h:
60         * src/gdict-pref-dialog.c: (response_cb):
61         * src/gdict-source-dialog.c: (gdict_source_dialog_response_cb):
62         * src/gdict-window.c: (gdict_window_cmd_help_contents):
63         Drop libgnome/libgnomeui dependency (part of #557262).
65 2008-11-03  Emmanuele Bassi  <ebassi@gnome.org>
67         Bug 558980 – gnome-dictionary desktop file hardcodes icon extension
69         * data/gnome-dictionary.desktop.in.in: Do not use the extension of
70         the icon in the desktop file. (Olivier Blin)
72 2008-09-11  Emmanuele Bassi  <ebassi@gnome.org>
74         Bug 551784 – dict applet still uses deprecated gnome-stock-about icon
75         instead of gtk-about
77         * data/GNOME_DictionaryApplet.xml: Use gtk-about instead of
78         gnome-stock-about, which has been long since deprecated. (Pacho
79         Ramos)
81 2008-08-11  Emmanuele Bassi  <ebassi@gnome.org>
83         * src/gdict-window.c (gdict_window_ensure_menu_state): Fix a warning
84         when ensure_state() is being called without a UIManager or
85         without the full menu built.
87 2008-08-11  Emmanuele Bassi  <ebassi@gnome.org>
89         Bug 547300 – links are yellow
91         * libgdict/gdict-defbox.c:
92         (gdict_defbox_init_tags): Do not use a pointer to a
93         GdkColor pointer, unless you want garbage to be used
94         as a color. (Benjamin Berg, Andreas Nilsson)
96         (gdict_defbox_style_set): Update the colors when the
97         style changes.
99 2007-10-23  Stéphane Loeuillet  <sloeuille@svn.gnome.org>
101         * data/gnome-dictionary.desktop.in.in: Trivial fix to .desktop file
102         to conform to latest fd.o .desktop specs.
103         Spoted by desktop-file-validate. Fixes #481721
105 2007-09-18  Emmanuele Bassi  <ebassi@gnome.org>
107         * data/GNOME_DictionaryApplet.server.in.in: Fix the name of the
108         icon that should be used by the applet (#477960)
110 2007-09-09  Emmanuele Bassi  <ebassi@gnome.org>
112         * libgdict/gdict-source-chooser.c: Display the current source
113         in bold inside the source chooser widget.
115         * libgdict/gdict-strategy-chooser.[ch]: Fix a typo in the API;
116         implement the missing methods of the strategy chooser widget;
117         display the current strategy in bold.
119         * libgdict/gdict-database-chooser.c: Display the current database
120         in bold inside the source chooser widget.
122         * src/gdict-window.c: Rework how the sources and contexts are
123         loaded when constructing a new GdictWindow; do not update the
124         statusbar if it's not visible.
126 2007-09-06  Emmanuele Bassi  <ebassi@gnome.org>
128         * libgdict/Makefile.am: Install gdict-source-loader.h.
130 2007-09-06  Emmanuele Bassi  <ebassi@gnome.org>
132         * libgdict/gdict-source-loader.c:
133         (gdict_source_loader_has_source): Reload the sources if the
134         loader has the dirty bit set.
136 2007-09-04  Emmanuele Bassi  <ebassi@gnome.org>
138         * src/gdict-window.c: Make sure that the word to match is not
139         empty when disptaching the speller widget.
141 2007-09-04  Emmanuele Bassi  <ebassi@gnome.org>
143         * libgdict/gdict-strategy-chooser.c: Rename some symbols to work
144         around libtool and ld braindeadness on OSX. (#425120)
146 2007-09-03  Emmanuele Bassi  <ebassi@gnome.org>
148         * libgdict/gdict.h: Fix the general header inclusions: we install
149         into ${includedir}/gdict-1.0/gdict, not libgdict.
151 2007-09-01  Emmanuele Bassi  <ebassi@gnome.org>
153         * libgdict/gdict-database-chooser.c:
154         * libgdict/gdict-strategy-chooser.c:
155         * libgdict/gdict-speller.c: Use the new GtkTooltip API in place
156         of the old GtkTooltips one.
158         * src/gdict-applet.c:
159         * src/gdict-source-dialog.c:
160         * src/gdict-pref-dialoc.c: Ditto as above.
162 2007-08-28  Emmanuele Bassi  <ebassi@gnome.org>
164         * src/gdict-about.c:
165         * src/gdict-app.c:
166         * src/gdict-applet.c:
167         * data/gnome-dictionary.desktop.in.in:
168         * data/Makefile.am: Use the gnome-icon-theme icon for the dictionary
169         instead of our own. (#470287, Michael Monreal)
171 2007-08-27  Emmanuele Bassi  <ebassi@gnome.org>
173         * libgdict/gdict-client-context.c: Use g_shell_quote() to escape
174         the words to look up. (#432968)
176 2007-08-27  Emmanuele Bassi  <ebassi@gnome.org>
178         * src/gdict-window.c (lookup_word): Remove leading and trailing
179         whitespace from the content of the lookup entry before feeding
180         it to the GdictContext. (#432968)
182 2007-08-18  Emmanuele Bassi  <ebassi@gnome.org>
184         * libgdict/gdict-client-context.c: Handle decomposed strings
185         when querying the dictionary server. (#419894, Denis Jacquerye)
187 2007-08-18  Emmanuele Bassi  <ebassi@gnome.org>
189         Out of tree build cleanups. (#414013, Loic Minier)
191         * src/Makefile.am: Add missing -I flag for out of tree builds.
193         * libgdict/gdict.h: Full include.
195         * libgdict/gdict-version.h.in: Protect expanded version numbers.
197 2007-08-13  Emmanuele Bassi  <ebassi@gnome.org>
199         * libgdict/gdict-client-context.c: Destroy the current command,
200         if present, when we are forcing a disconnection. (should fix
201         #406119 and duplicates, when we get garbage from the server)
203 2007-08-13  Emmanuele Bassi  <ebassi@gnome.org>
205         * src/gdict-window.c: Set the page of the sidebar only if we
206         have one coming from GConf.
208 2007-08-13  Emmanuele Bassi  <ebassi@gnome.org>
210         * src/gdict-applet.c: Hide the find pane when hiding the
211         window.
213 2007-08-13  Emmanuele Bassi  <ebassi@gnome.org>
215         * libgdict/*.[ch]: Add more documentation.
217 2007-08-13  Emmanuele Bassi  <ebassi@gnome.org>
219         * libgdict/*.[ch]: Use the sources to write the documentation,
220         as it should be.
222 2007-08-13  Emmanuele Bassi  <ebassi@gnome.org>
224         * libgdict/gdict-defbox.c: Add case-insensitive search, using
225         gtksourceview search code. (#466180)
226         
227         (hide_find_pane),
228         (find_prev_clicked_cb), (find_next_clicked_cb),
229         (find_entry_changed_cb),
230         (gdict_defbox_real_show_find), (gdict_defbox_real_hide_find),
231         (gdict_defbox_set_show_find): Automatically hide the find pane
232         widget after 5 seconds since the last change in the entry or the
233         last clicked event on the find next/prev buttons.
234         
235         (gdict_defbox_init), (gdict_defbox_dispose): Remove the unused
236         GtkTooltips object.
238 2007-08-10  Emmanuele Bassi  <ebassi@gnome.org>
240         * libgdict/gdict-defbox.c (gdict_defbox_insert_body): Add
241         more strict validation when highlighting the links. (#465336)
243 2007-08-09  Emmanuele Bassi  <ebassi@gnome.org>
245         * src/gdict-window.c (gdict_window_lookup_end): Perform a
246         match of the similar words even if we have found a valid
247         definition. (#464991)
249 2007-08-05  Emmanuele Bassi  <ebassi@gnome.org>
251         * src/gdict-window.c (sidebar_closed_cb): Use the right
252         function to set the sidebar as invisible instead of directly
253         accessing the data. (#436542, Iain Nicol)
255 2007-02-13  Emmanuele Bassi  <ebassi@gnome.org>
257         * Makefile.am:
258         * AUTHORS: Add authors file.
260         * TODO: Update.
262 2007-01-31  Emmanuele Bassi  <ebassi@gnome.org>
264         * src/gdict-about.c: Fix C99-ism. (#376937, Jens Granseuer)
266 2007-01-12  Emmanuele Bassi  <ebassi@gnome.org>
268         * libgdict/gdict-client-context.c: Add a timeout or 30 seconds
269         when establishing a connection to the dictionary server; if we
270         receive something on the wire within the timeout limit we are
271         safe, otherwise we force closing the connection. (#395837)
273         * libgdict/gdict-defbox.c: Hush compiler warnings.
275         * src/gdict-window.c: Try and fall back to the default source
276         if we could not find the one set in GConf, before actually
277         giving up. (#395125)
279 2007-01-07  Emmanuele Bassi  <ebassi@gnome.org>
281         * src/gdict-window.c: Match the word passed to the constructor
282         function, if action is GDICT_WINDOW_ACTION_MATCH; move all the
283         reference release calls into gdict_window_dispose() from the
284         finalize function.
286 2007-01-07  Emmanuele Bassi  <ebassi@gnome.org>
288         * src/gdict-sidebar.c: Use GObject::dispose instead
289         of GtkObject::destroy for detaching the menu widget
290         from the toggle button of the side bar.
292 2006-12-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
294         * libgdict/gdict-defbox.c: Use the same default colors as
295         GTK+ for both links and visited links; free the colors
296         returned by gtk_widget_style_get().
298 2006-12-01  Emmanuele Bassi  <ebassi@cvs.gnome.org>
300         * data/Makefile.am:
301         * data/thai.desktop.in: Add a thai dictionary
302         source (#372386, Theppitak Karoonboonyanan)
304 2006-11-28  Emmanuele Bassi  <ebassi@cvs.gnome.org>
306         * libgdict/gdict-defbox.c:
307         (gdict_defbox_finalize), (follow_if_is_link),
308         (defbox_event_after_cb), (set_cursor_if_appropriate),
309         (defbox_motion_notify_cb), (defbox_visibility_notify_cb),
310         (gdict_defbox_constructor): Update the cursor when hovering
311         on a text tagged with the "link" or "visited-link" tags;
312         emit the "link-clicked" signal when clicking on a link.
313         
314         (gdict_defbox_class_init): Add "link-clicked" signal
315         definition to GdictDefboxClass.
317         (gdict_defbox_init): Use g_object_ref_sink() in lieu of
318         g_object_ref() + gtk_object_sink().
320         * libgdict/gdict-defbox.h: Add the GdictDefbox::link-clicked
321         signal class closure.
323         * src/gdict-window.c:
324         (gdict_window_link_clicked),
325         (gdict_window_constructor): Create a new window in LOOKUP
326         mode using the link text.
328 2006-11-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
330         * libgdict/gdict-defbox.h:
331         * libgdict/gdict-defbox.c: Add a function for getting the
332         currently selected word from the defbox.
334         * src/gdict-window.c:
335         (gdict_window_cmd_file_new): Automatically lookup the
336         selected text when opening a new window. (#166015)
338 2006-11-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
340         * libgdict/gdict-database-chooser.h:
341         * libgdict/gdict-database-chooser.c: Add API for selecting
342         and unselecting a database using its name; add API for
343         setting and getting the current database using its name.
345         * libgdict/gdict-strategy-chooser.h:
346         * libgdict/gdict-strategy-chooser.c: Ditto for the strategy
347         chooser.
349         * src/gdict-source-dialog.c: Commit source editing support:
350         now you can update the source by double-clicking on the
351         source list of the preferences dialog; still a bit rough
352         around the edges, but it'll come into shape.
354         * data/gnome-dictionary-preferences.glade: Update the
355         source dialog UI: move the database and strategy advanced
356         settings into their own tabs.
358 2006-11-26  Emmanuele Bassi  <ebassi@cvs.gnome.org>
360         * libgdict/gdict-defbox.c:
361         (gdict_defbox_init_tags), (escape_link), (escape_phonetic),
362         (gdict_defbox_insert_body): Add syntax highlighting to the
363         definition body using what look like the only stable markers,
364         i.e. links ({}) and phonetics (\\). Still missing the button
365         press event spawining a new window.
367         * libgdict/Makefile.am:
368         * libgdict/gdict-strategy-chooser.h:
369         * libgdict/gdict-strategy-chooser.c: Finally, add the
370         GdictStrategyChooser widget to the build.
372         * src/gdict-window.c: Use symbolic names for the sidebar
373         pages ids.
375         * src/gdict-window.h:
376         * src/gdict-window.c:
377         (gdict_window_cmd_view_strategies): Add support for the
378         GdictStrategyChooser widget; use toggle actions for the
379         View menu items of the sidebar and the statusbar.
381         * data/gnome-dictionary-ui.xml: Add new action for the
382         strategy chooser item.
384         * src/gdict-window.c:
385         (lookup_word), (entry_activate_cb),
386         (gdict_window_constructor): Use a button with no relief
387         instead of the 'Look up' label.
389 2006-10-17  Emmanuele Bassi  <ebassi@cvs.gnome.org>
391         * src/gdict-about.c:
392         * src/gdict-applet.c:
393         * src/gdict-pref-dialog.c:
394         * src/gdict-pref-dialog.h:
395         * src/gdict-window.c: Add multihead support for the about
396         and preferences dialogs. (#361856, patch by Glynn Foster)
398         * src/gdict-window.c: Fix a couple of casting warnings.
400 2006-10-16  Emmanuele Bassi  <ebassi@cvs.gnome.org>
402         * docs/Makefile.am: Remove rfc2229.txt from EXTRA_DIST. (Debian
403         bug DB#393372)
405 2006-08-25  Emmanuele Bassi  <ebassi@cvs.gnome.org>
407         * src/gdict-window.c:
408         (sidebar_page_changed_cb): Update the sidebar contents when
409         changing pages.
411 2006-08-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>
413         * data/Makefile.am: Let the scalable icon be installed
414         in the right place inside the hicolor icon theme. (#352412,
415         reported and fixed by Rui Matos)
417 2006-08-20  Emmanuele Bassi  <ebassi@cvs.gnome.org>
419         * src/gdict-common.h:
420         * src/gdict-common.c:
421         (gdict_gconf_get_string_with_default): Add function for
422         retrieving a string from GConf with a default fallback.
424         * src/gdict-applet.c:
425         * src/gdict-pref-dialog.c:
426         * src/gdict-window.c: Fix memory leaks. (#352128, patch
427         by Paolo Borelli)
429 2006-08-05  Emmanuele Bassi  <ebassi@cvs.gnome.org>
431         * libgdict/gdict-speller.c:
432         * libgdict/gdict-database-chooser.c: Add API documentation
433         definitions for gtk-doc.
435         * src/gdict-applet.c: Change the default columns and rows
436         number of the applet.
438         (window_show_cb), (gdict_applet_build_window),
439         (gdict_applet_lookup_end_cb), (gdict_applet_error_cb),
440         (gdict_applet_style_set): Move the resize call to a
441         callback to the show signal; this should make the
442         window manager happier when it tries to place the
443         definition window on the desktop.
445         * src/gdict-sidebar.c:
446         (sidebar_page_id_quark), (gdict_sidebar_add_page),
447         (gdict_sidebar_remove_page): Implement the page removal
448         function of GdictSidebar.
450 2006-07-29  Christophe Merlet  <redfox@redfoxcenter.org>
452         * src/gdict-window.c: Fixed typo.
454 2006-07-28  Emmanuele Bassi  <ebassi@cvs.gnome.org>
456         * src/gdict-app.c (gdict_init): Use G_OPTION_REMAINING
457         to catch every word used on the command line and look up
458         them (#335886).
460         (gdict_create_window): Create a window for every request
461         for match
463         * src/gdict-app.c:
464         * src/gdict-window.h:
465         * src/gdict-window.c: Add an "action" property for the
466         GdictWindow widget: use this property to set the
467         initial state and action to perform.
469 2006-07-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
471         * src/gdict-sidebar.c:
472         (gdict_sidebar_menu_item_activate): Emit the "page-changed"
473         signal.
475         * src/gdict-window.c:
476         (database_activated_cb), (speller_word_activated_cb): Show
477         a message inside the status bar when the user selects a
478         database or a word from the side bar.
480         (gdict_window_constructor),
481         (sidebar_page_changed_cb): Show a message inside the status
482         bar depending on the page selected inside the side bar.
484 2006-07-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
486         * src/gdict-window.h:
487         * src/gdict-window.c: Add a GtkEntryCompletion to
488         the look up entry, to store the list of successfully
489         found words.  doesn't save the history across sessions
490         and doesn't share it with the applet, but it should
491         be enough for the time being. (#311418)
493 2006-07-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
495         * src/gdict-window.c:
496         (gdict_window_constructor): Use two vbox instead of
497         frames to wrap the defbox and the side bar. (#345078,
498         based on a patch by Dennis Cranston)
500 2006-07-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
502         * libgdict/gdict-database-chooser.c:
503         (gdict_database_chooser_refresh): Hook up the error
504         callback.
505         
506         (gdict_database_chooser_finalize),
507         (gdict_database_chooser_constructor),
508         (gdict_database_chooser_init): Add support for tooltips.
510         * libgdict/gdict-speller.c:
511         (gdict_speller_finalize), (gdict_speller_constructor),
512         (gdict_speller_init): Add support for tooltips.
514 2006-07-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
516         * src/gdict-applet.c:
517         (set_window_default_size): Allow the definition window to
518         take up at most half of the screen size. (#348333, patch
519         by William Jon McCann)
521 2006-07-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
523         * src/gdict-pref-dialog.h:
524         * data/gnome-dictionary.schemas.in: Add two more keys: 'sidebar-page'
525         and 'sidebar-width', for remembering the page and the size of the
526         side bar.
528         * libgdict/gdict.h:
529         * libgdict/Makefile.am: Add GdictDatabaseChooser to the build.
531         * libgdict/gdict-database-chooser.h:
532         * libgdict/gdict-database-chooser.c: Finish the GdictDatabaseChooser
533         widget.
535         * libgdict/gdict-speller.c: Add a "clear" button to the speller
536         widget.
538         * src/gdict-sidebar.h:
539         * src/gdict-sidebar.c: Add gdict_sidebar_current_page(), for
540         getting the id of the currently shown page; update the label
541         of the select button and the selected menu item when changing
542         the page using gdict_sidebar_view_page().
544         * src/gdict-window.h:
545         * src/gdict-window.c: Add the database chooser and hook up
546         the new state keys to the main window widget.
548 2006-07-23  Emmanuele Bassi  <ebassi@cvs.gnome.org>
550         * src/gdict-window.c: Fix a typo in the name of the ViewDB action.
552 2006-07-23  Emmanuele Bassi  <ebassi@cvs.gnome.org>
554         A src/gdict-sidebar.h
555         A src/gdict-sidebar.c
557         * src/gdict-sidebar.h:
558         * src/gdict-sidebar.c: Add a side bar widget, similar to
559         Evince and Totem own side bar.
561         * data/gnome-dictionary-ui.xml: Add new actions for the
562         View menu, controlling the visibility of the speller,
563         database chooser (NYI), side bar and status bar.
565         * data/gnome-dictionary.schemas.in: Remove the 'speller-visible'
566         key, and add the 'sidebar-visible' and 'statusbar-visible' keys.
568         * libgdict/gdict-database-chooser.h
569         * libgdict/gdict-database-chooser.c: Implement the database
570         chooser as the speller widget: a box containing a treeview with
571         all the available databases; to be displayed inside the side
572         bar.  Not yet finished.
574         * libgdict/gdict-speller.h:
575         * libgdict/gdict-speller.c: Remove the "sidebar" look and make
576         it a bit less specialized widget to be embedded inside the
577         side bar. Do not leak the list store.
579         * src/Makefile.am: Add gdict-sidebar.[ch] to the build.
581         * src/gdict-applet.c (gdict_applet_lookup_end_cb): Cast the
582         window pointer.
584         * src/gdict-pref-dialog.h: Add the macros for the new keys.
586         * src/gdict-window.h:
587         * src/gdict-window.c: Control the status bar using a GConf key
588         and a menu item; add the new GdictSidebar widget and embed the
589         speller widget as a page inside it.
591 2006-07-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>
593         * src/gdict-applet.c: Remove an unneeded function; use
594         gtk_window_present() to give the definition window the
595         keyboard focus: now the key bindings should work.
597 2006-07-21  Emmanuele Bassi  <ebassi@cvs.gnome.org>
599         * src/gdict-applet.c:
600         (window_key_press_event):
601         (gdict_applet_entry_key_press_cb),
602         (gdict_applet_draw): Toggle the definition window when Esc
603         is pressed and the entry has focus. (#345117, reported by
604         Christopher Barrington-Leigh)
606 2006-07-21  Emmanuele Bassi  <ebassi@cvs.gnome.org>
608         * libgdict/Makefile.am: Use the ENABLE_DEBUG conditional
609         to turn on debug messages at compile time.  Should really
610         make everything work at runtime too, some day.
612         * src/gdict-applet.c
613         (window_key_press_event): Ctrl+L should return focus to the
614         word entry.
616         (gdict_applet_toggle_window): Shift focus when showing the
617         definition window.
619         (gdict_applet_lookup_end_cb),
620         (gdict_applet_error_cb): Resize the definition window when
621         the look up ends, for good or evil. (#346893, reported by
622         Matthias Clasen et al.)
624         (gdict_applet_init): Use the new gdict_get_data_dir() function.
626         * gdict-common.h:
627         * gdict-common.c: Add gdict_get_data_dir() to factor out
628         the data dir path build code.
630         * gdict-source-dialog.c:
631         (transport_combo_changed_cb), (update_dialog_ui),
632         (build_new_source), (gdict_source_dialog_init): Use the
633         index of the transport combo box instead of the string.
635 2006-06-12  Emmanuele Bassi  <ebassi@cvs.gnome.org>
637         * libgdict/Makefile.am: Remove wrong header files from the
638         build. (Matthias Clasen, #344773)
640 2006-06-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
642         * libgdict/gdict-speller.h:
643         * libgdict/gdict-speller.c: Update the "word-activated" signal
644         signature: it now includes the name of the database where the
645         word was found.
647         * libgdict/gdict-marshal.list: Add marshaller for the new
648         "word-activated" signal signature.
650         * src/gdict-window.c (gdict_window_set_word): Add a "database"
651         parameter that changes the database for the word definition
652         query; the change is local: the database from the source is
653         kept unchanged for the following queries.
655         (gdict_window_set_property), (entry_activate_cb),
656         (speller_word_activated_cb), (gdict_window_drag_data_received_cb),
657         (gdict_window_new): Update calls to gdict_window_set_word().
659 2006-06-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
661         * libgdict/Makefile.am: Remove the stamp-* files when cleaning
662         up.
664         * TODO: Update To Do list.
666 2006-06-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
668         * data/.cvsignore: Update CVS ignore file.
669         
670         * data/gnome-dictionary.desktop.in.in:
671         * data/GNOME_DictionaryApplet.server.in.in: Add Bugzilla component
672         version number.
673         
674         * data/Makefile.am: Update build.
676         * data/gnome-dictionary-ui.xml: Add a View menu.
678         * data/gnome-dictionary.schemas.in: Add schema for the
679         "speller-visible" key.
681         * data/gnome-dictionary.svg: Scalable Vector Graphics version of
682         the gnome-dictionary icon.
684 2006-06-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
686         A src/gdict-common.h
687         A src/gdict-common.c
689         * src/Makefile.am:
690         * src/gdict-common.h:
691         * src/gdict-common.c: Refactor out some functions common to
692         the application and applet.
694         * src/gdict-about.c: Use the installed themed icon for the
695         dictionary logo.
697         * src/gdict-app.h:
698         * src/gdict-app.c: Use the installed themed icon for the
699         dictionary window icon; add stub code for a --match command
700         line switch; 
702         * src/gdict-pref-dialog.h:
703         * src/gdict-pref-dialog.c: Hide the dialog on close; bind
704         it to the parent widget; mimic the gdict_show_about_dialog()
705         and gdict_show_source_dialog() functions; add the speller-visible
706         GConf key.
708         * src/gdict-applet.h:
709         * src/gdict-applet.c: Use the installed themed icon for the
710         dictionary window icon.
712         * src/gdict-window.h:
713         * src/gdict-window.c: Miscellaneous fixes; add support for
714         a GdictSpeller widget.
716 2006-06-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
718         A libgdict/gdict-debug.[ch]
719         A libgdict/gdict-private.h
720         A libgdict/gdict-speller.[ch]
721         A libgdict/gdict-database-chooser.[ch]
722         A libgdict/gdict-strategy-chooser.[ch]
724         * libgdict/gdict-utils.h:
725         * libgdict/gdict-utils.c:
726         * libgdict/gdict-debug.c:
727         * libgdict/gdict-debug.h: Isolate gdict_debug calls and mark them
728         as semi-private.
730         * libgdict/gdict-private.h: Private API.
732         * libgdict/gdict.h
733         * libgdict/gdict-speller.h:
734         * libgdict/gdict-speller.c: GdictSpeller widget.  Initial
735         implementation of a widget showing matches, like the defbox
736         shows definitions.
738         * libgdict/gdict-database-chooser.h:
739         * libgdict/gdict-database-chooser.c:
740         * libgdict/gdict-strategy-chooser.h:
741         * libgdict/gdict-strategy-chooser.c: Stubs for databases and
742         strategies chooser widgets; not included in the build yet,
743         as they are still work in progress.
745 2006-05-20  Emmanuele Bassi  <ebassi@cvs.gnome.org>
747         * libgdict/gdict-defbox.c: Make the defbox jump to the
748         beginning of the definition, instead of the middle
749         of it (#341047, Michael Hofmann).
751 2006-05-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
753         * data/Makefile.am: Install the gnome-dictionary icon inside the
754         right theme directory, and make sure to rebuild the icon cache
755         when done.
757         * src/gdict-about.c (gdict_show_about_dialog):
758         * src/gdict-app.c (gdict_init):
759         * src/gdict-applet.c (gdict_app_init):
760         * src/gdict-window.c (gdict_window_init): Remove the old
761         pixbuf loading from the icon file, and change with calls to
762         the icon name.
764 2006-05-06  Emmanuele Bassi  <ebassi@cvs.gnome.org>
766         * libgdict/gdict-client-context.c (get_status_code): Add further
767         checking for status codes.
769 2006-04-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>
771         * src/gdict-window.c (gdict_window_set_word): Avoid a coredump
772         on Solaris when window->word is NULL (closes #339357, based on
773         a patch by Brian Cameron).
775 2006-04-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>
777         * libgdict/gdict-client-context.c (get_status_code): Implement
778         the status whitelisting: check the possible new status against
779         the expected status codes before changing status; this should
780         prevent moby-thes to screw up with the state machine we use
781         to parse the status line (closes bug #330782 and dupes).
783 2006-04-17  Emmanuele Bassi  <ebassi@cvs.gnome.org>
785         * data/Makefile.am: remove the french.desktop.in file from the
786         build, as the dictionary server is not available anymore.
788 2006-04-17  Emmanuele Bassi  <ebassi@cvs.gnome.org>
790         * src/gdict-app.c: Do not free the OptionContext: it'll be done by
791         the GnomeProgram when it's unref'ed.
793 2006-04-01  Emmanuele Bassi  <ebassi@cvs.gnome.org>
795         * src/gdict-app.c: Use g_option_context_set_main_group() to
796         show the application's options using the --help command line
797         switch (closes #335730).
799 2006-04-01  Emmanuele Bassi  <ebassi@cvs.gnome.org>
801         * src/gdict-app.c (gdict_app_finalize): Unref the GnomeProgram
802         object to avoid leakage (closes bug #335745).
804 2006-03-04  Emmanuele Bassi  <ebassi@cvs.gnome.org>
806         * src/gdict-applet.c (gdict_applet_init): keep the applet's background
807         in sync with the panel's own (patch by Michael Hoffman, closes
808         bug #332035).
810 2006-03-03  Emmanuele Bassi  <ebassi@cvs.gnome.org>
812         * src/gdict-applet.c (gdict_applet_build_window),
813         (window_key_press_event_cb): allow using Esc to close the definition
814         window of the applet.
816         * src/gdict-window.c (set_default_size): ensure that the window is
817         realized since we are going to use its GdkWindow.
819 2006-02-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
821         * libgdict/.cvsignore:
822         * data/.cvsignore: update .cvsignore with built files.
824 2006-02-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
826         * src/gdict-applet.c (gdict_applet_create_data_dir),
827         (gdict_applet_init): apply the same logic of the application to the
828         applet.
830 2006-02-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
832         * src/gdict-app.c (gdict_app_create_data_dir): remove the big
833         frickin' dialog, and just rename the file that's causing the error
834         by appending the '.pre-2-14' string to its name.  Let's hope this
835         is enough.
837 2006-02-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
839         * src/gdict-window.c (gdict_window_lookup_end_cb): fix ngettext()
840         usage.
842 2006-02-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
844         * src/gdict-app.c (gdict_app_init), (gdict_app_create_data_dir),
845         (gdict_init): ask the user what to do if a file with the same name
846         of the dictionary data dir is found; the file usually is a remnant
847         of the time when the old dictionary used bonobo, and it hasn't been
848         used in a while. the user has the option to remove the file, make
849         a backup copy of it, or quit dictionary and manually handle the
850         name clash (closes bug #331031).
852 2006-02-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
854         * src/gdict-window.c (gdict_window_lookup_end_cb): use ngettext to
855         use the correct localized plural form (patch by Gabor Kelemen,
856         closes bug #332383).
858 2006-02-18  Emmanuele Bassi  <ebassi@cvs.gnome.org>
860         * src/gdict-applet.c (show_error_dialog): check if parent is NULL
861         before using it.
863 2006-02-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
865         * libgdict/gdict-client-context.c (gdict_client_context_io_watch_cb),
866         (gdict_client_context_parse_line): make the dictionary response code
867         parsing a bit more robust; add a bunch of debug messages (closes
868         bug #330782).
870 2006-02-05  Emmanuele Bassi  <ebassi@cvs.gnome.org>
872         * src/gdict-app.h
873         * src/gdict-app.c (gdict_app_finalize), (gdict_window_created_cb),
874         (lookup_start_cb), (definition_found_cb), (lookup_end_cb),
875         (gdict_look_up_word_and_quit), (gdict_init): support looking up
876         multiple words from the console using the --look-up <word> command
877         line switch more than once; this also works with the --no-window
878         switch, for console-only output.
880         * src/gdict-window.c (gdict_window_new): fill the look up entry if 
881         a word is passed to the GdictWindow constructor.
883         * src/gdict-about.c: update copyright date.
885 2006-02-05  Emmanuele Bassi  <ebassi@cvs.gnome.org>
887         * src/gdict-window.c (gdict_window_set_word), (entry_activate_cb),
888         (gdict_window_drag_data_received_cb), (gdict_window_new): if a word is
889         passed to the GdictWindow constructor it'll be search automatically,
890         instead of requiring the user to confirm by pressing enter.
892 2006-02-05  Emmanuele Bassi  <ebassi@cvs.gnome.org>
894         * src/gdict-applet.c (gdict_applet_finalize): really commit the removal
895         of the idle loop.
897 2006-02-05  Emmanuele Bassi  <ebassi@cvs.gnome.org>
899         * src/gtkalignedwindow.c (gtk_aligned_window_class_init),
900         (gtk_aligned_window_realize), (gtk_aligned_window_map),
901         (gtk_aligned_window_show), (gtk_aligned_window_position): make the
902         window align on realization and re-align every show request; also,
903         set the gravity for the window manager to pick up.
905 2006-02-05  Emmanuele Bassi  <ebassi@cvs.gnome.org>
907         * src/gdict-applet.c (gdict_applet_finalize): force the removal of
908         the idle loop, in case the finalization function is called when the
909         idle loop is still running.
911 2006-02-05  Emmanuele Bassi  <ebassi@cvs.gnome.org>
913         * src/gdict-app.c (gdict_app_init): remove callback to the "die"
914         signal (closes bug #329911).
916 2006-02-04  Emmanuele Bassi  <ebassi@cvs.gnome.org>
918         * src/gdict-app.c (gdict_app_init): check whether there is a file
919         with the same name of the data directory under $HOME/.gnome2, and
920         warn the user to move it away; the file seems to be a left-over
921         from older versions of Gnome (early 2.0, probably), so it
922         shouldn't bother us that much (closes bug #329126).
924         * src/gdict-applet.c (gdict_applet_init): ditto.
926 2006-01-28  Emmanuele Bassi  <ebassi@cvs.gnome.org>
928         Add support for the document_font_name key into the Dictionary
929         application and applet.  This setting is desktop-wide, and should be
930         honoured by every application showing arbitrarily long text to the
931         user.
933         * libgdict/gdict-defbox.[ch] (gdict_defbox_set_font_name),
934         (gdict_defbox_get_font_name): add a "font-name" property and its
935         accessors; this property modifies the font of the defbox, since we
936         cannot simply do gtk_widget_modify_font on the defbox itself.
938         * src/gdict-pref-dialog.h: add
939         
940           /desktop/gnome/interface/document_font_name
941           
942         to the list of recognized keys; also add a default font for the
943         Defbox ("Sans 10").
945         * src/gdict-window.h:
946         * src/gdict-window.c (gdict_window_finalize),
947         (gdict_window_set_defbox_font), (gdict_window_set_property),
948         (gdict_window_get_property), (gdict_window_gconf_notify_cb),
949         (set_window_default_size), (gdict_window_constructor),
950         (gdict_window_class_init), (gdict_window_init): use the font size
951         inside the "document_font_name" GConf key for the defbox; add a
952         "defbox-font" property to GdictWindow; use the font of the GdictDefbox
953         widget to calculate the window geometry, now that the window and the
954         defbox widgets might have two different font descriptions; get
955         notification from eventual errors while connecting to GConf.
957         * src/gdict-applet.c (gdict_applet_set_defbox_font),
958         (gdict_applet_gconf_notify_cb), (gdict_applet_finalize),
959         (gdict_applet_init), (set_default_size): use the font size inside
960         the "document_font_name" GConf key for the defbox; use the font of
961         the GdictDefbox widget to calculate the window geometry, now that
962         the window and the defbox widgets might have two different font
963         descriptions; get notification from eventual errors while connecting to
964         GConf.
966 2006-01-23  Emmanuele Bassi  <ebassi@cvs.gnome.org>
968         * src/gdict-applet.c (gdict_applet_init): fix stupid typo.
970         * libgdict/gdict-source-loader.c: remove unnecessary cast.
972 2006-01-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>
974         * src/gdict-applet.c (gdict_applet_init):
975         * src/gdict-app.c (gdict_app_init): fix error reporting.
977 2006-01-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>
979         * src/gdict-window.c (set_window_default_size),
980         (gdict_window_style_set): port the size allocation code from the applet
981         to the main application, since it's a bit clearer.
983 2006-01-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>
985         * src/gdict-applet.c (set_window_default_size),
986         (gdict_applet_build_window), (gdict_applet_style_set): re-work the
987         size calculation of the applet's window: now it should be multi-head
988         aware (I don't have the hardware, so I really can't test it) and it
989         has an upper bound limited to the monitor size.  Also, it should be
990         a little bit wider by default.
992 2006-01-16  Emmanuele Bassi  <ebassi@cvs.gnome.org>
994         * data/gnome-dictionary.schemas.in: fix a typo in the
995         default-window-height key long comment.
997 2006-01-16  Emmanuele Bassi  <ebassi@cvs.gnome.org>
999         * src/gdict-window.c (gdict_window_error_cb): remove the busy cursor in
1000         case of error.
1002 2006-01-16  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1004         * libgdict/gdict-context.c
1005         * libgdict/gdict-client-context.c
1006         * libgdict/gdict-defbox.c: use the new and faster g_slice_* calls from
1007         GLib HEAD in place of g_new.
1009         * libgdict/gdict-context.c: add the gtk-doc markings to the last
1010         missing functions.
1012 2006-01-15  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1014         A data/french.desktop.in
1015         A data/spanish.desktop.in
1017         * data/french.desktop.in: add a source definition file for a
1018         French-based dictionary source.
1020         * data/spanish.desktop.in: add a source definition file for a
1021         Spanish-based dictionay source.
1023         * data/Makefile.am: add the two new dictionary sources.
1025 2006-01-13  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1027         * src/gdict-applet.c (gdict_applet_init), (gdict_applet_factory):
1028         move the menu items sensitivity set inside the applet's factory; this
1029         should close bug #326004 which was triggered if there was a delay
1030         in the creation of the bonobo ui control.
1032 2006-01-13  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1034         * src/gdict-applet.c (gdict_applet_set_menu_sensitive),
1035         (gdict_applet_lookup_start_cb), (gdict_applet_lookup_end_cb),
1036         (gdict_applet_error_cb), (gdict_applet_init): add a function
1037         to make the menu items sensitive.
1039         * src/gdict-applet.c (gdict_applet_style_set): re-compute the
1040         definition window size request depending on the font size at every
1041         style change.
1043         * src/gdict-applet.c (gdict_applet_draw), (gdict_applet_init),
1044         (gdict_applet_build_window): remove the warnings (they wouldn't be
1045         displayed anyway) and use error dialogs; mark new strings as
1046         translatable; add tooltips for the applet widgets.
1048 2006-01-12  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1050         * libgdict/Makefile.am: fixed the enum generation.
1052 2006-01-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1054         * data/GNOME_DictionaryApplet.xml: change the mnemonic for the "Clear"
1055         verb.
1057         * src/gdict-applet.c (gdict_applet_lookup_end_cb),
1058         (gdict_applet_error_cb), (gdict_applet_init): check before changing the
1059         menu items' sensivity; this should fix the crasher in bug #326004.
1061 2006-01-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1063         * data/gnome-dictionary.schemas.in: add the new window state keys:
1064                 default-window-height
1065                 default-window-width
1066                 window-is-maximized
1067         these keys will store the window state across sessions.
1069         * libgdict/Makefile.am: fix a bug that prevented the right inclusion
1070         of the headers inside the auto-generated gdict-enum-types.h header
1071         file.
1073         * src/gdict-applet.c (gdict_applet_build_window): create the window
1074         showing the defbox using width and height calculated from the font
1075         size.
1077         * src/gdict-applet.c (gdict_applet_icon_toggled_cb),
1078         (gdict_applet_button_press_event_cb),
1079         (gdict_applet_icon_button_press_event_cb), (gdict_applet_draw),
1080         (gdict_applet_lookup_start_cb), (gdict_applet_size_allocate): use a
1081         ToggleButton instead of a plain Image for the dictionary icon; this
1082         should make the window toggling a bit more discoverable.  Also, moved
1083         back the icon before the entry: the window should use it as the
1084         "attach" widget, as it resizes its height with the panel, while the
1085         entry does not.
1087         * src/gdict-pref-dialog.h: add the new GConf keys
1089         * src/gdict-window.c (gdict_window_finalize: remove the GConf
1090         notification listener before destroying the window.
1092         * src/gdict-window.c (gdict_window_cmd_file_new),
1093         (gdict_window_cmd_file_close_window), (gdict_window_delete_event_cb),
1094         (gdict_window_state_event_cb), (gdict_window_gconf_notify_cb),
1095         (gdict_window_size_allocate), (gdict_window_style_set),
1096         (gdict_window_constructor), (gdict_window_class_init),
1097         (gdict_window_init): make the window "recall" its size and state
1098         through sessions using the newly added GConf keys; fallback to the
1099         font-based size allocation on user request or if no value was
1100         found (based on the similar code used by Dennis Cranston in
1101         gsearchtool, closes bug #325887).
1103         * src/gdict-window.h: add new window state variables.
1105 2005-01-02  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1107         * src/gdict-app.h:
1108         * src/gdict-app.c: enable look up via command-line (closes bug
1109         #325014).
1111 2005-01-02  Emmanuele Bassi  <ebassi@cvs.gnome.org> 
1113         * src/gdict-app.c: (gdict_app_init): Set execute bit (0700).
1114         * src/gdict-applet.c: (gdict_applet_init):  Set execute bit (0700).
1115         * src/gdict-pref-dialog.c: (source_remove_clicked_cb): UI fix
1116         for remove source confirmation dialog (patch by Dennis Cranston, fixes
1117         bug #325455).
1119 2005-12-31  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1121         * src/gdict-window.c (gdict_window_help_contents_cmd): remove the help
1122         document id.
1124 2005-12-31  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1126         * data/GNOME_DictionaryApplet.server.in.in: update Bugzilla product to
1127         "gdict-applet", to disambiguate the applet from the main application;
1128         update the icon name to the new icon.
1130         * src/gdict-applet.c: fix the applet and make it work again.
1132         * src/gdict-pref-dialog.c (response_cb),
1133         (gdict_pref_dialog_init): intercept the HELP response code and show
1134         the help without closing the dialog.
1136 2005-12-31  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1138         * data/gnome-dictionary-preferences.glade:  HIG fixes for
1139         the add source dialog.  Do not use bold labels.  Use left
1140         alignment for labels.  Fix the 'H' key mnemonic conflict.  
1141         Use sentence capitalization for the expander label and indent 
1142         its contents (patch by Dennis Cranston, closes bug #325340).
1144 2005-12-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1146         * data/gnome-dictionary.1: final touches to the man page.
1148 2005-12-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1150         * src/gdict-pref-dialog.c (font_button_font_set_cb),
1151         (gdict_pref_dialog_gconf_notify_cb): brown paper bag fix for
1152         propagating the print font through GConf (while avoiding loops).
1154 2005-12-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1156         * src/gdict-pref-dialog.c (font_button_font_set_cb): tighter checks on
1157         the fonts to prevent a segmentation fault.
1159 2005-12-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1161         * src/gdict-source-dialog.c (gdict_source_dialog_constructor): switch
1162         the cancel and add buttons.
1164 2005-12-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1166         * libgdict/gdict-client-context.c
1167         (gdict_client_context_lookup_server): make the hostname lookup cache
1168         expire after five minutes; this should tentatively solve bug #169915.
1170 2005-12-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1172         Re-sync with my development trunk: add the new source dialog code; fix
1173         a slew of typos and a serious crasher; more UI fixes.
1175         A data/gnome-dictionary.png
1176         A src/gdict-source-dialog.h
1177         A src/gdict-source-dialog.c
1179         * libgdict/gdict-entry.c,
1180         src/gdict-pref-dialog.c,
1181         src/gdict-about.c,
1182         src/gdict-app.c,
1183         src/gdict-applet.c: fix some typos.
1185         * src/gdict-window.c (gdict_window_class_init): we don't need
1186         translatable properties, here.
1188         * src/Makefile.am: add gdict-source-dialog.[ch] to the build.
1190         * src/gdict-pref-dialog.c,
1191         src/gdict-source-dialog.h,
1192         src/gdict-source-dialog.c: move out the
1193         source dialog into its own file; make it flexible enough to allow
1194         further expansion when sources view and editing will be added.
1196         * src/gdict-about.c: add support for the new icon.
1198         * libgdict/gdict-context.c: add documentation
1200         * data/gnome-dictionary.1: update the man page.
1202         * data/gnome-dictionary-preferences.glade: update the UI for the
1203         source dialog.
1205         * src/gdict-about.c,
1206         src/gdict-app.c,
1207         src/gdict-applet.c,
1208         src/gdict-window.c,
1209         src/gdict-window.h: add support for the new icon.
1210         
1211         * data/gnome-dictionary.desktop.in: add the new icon
1212         
1213         * data/gnome-dictionary.png: new icon for the dictionary.
1215         * data/Makefile.am: add the appicon target
1217         * libgdict/gdict-defbox.c (create_progress_dialog): UI fixes (patch
1218         from Dennis Cranston, closes bug #324860).
1219         
1220         * src/gdict-window.c (gdict_window_lookup_start_cb), 
1221         (gdict_window_lookup_end_cb), (entry_activate_cb), 
1222         (gdict_window_drag_data_received_cb):  Fix a couple regressions:
1223         1) change window title format to "word - App Name" per HIG.
1224         2) display a busy cursor while looking up words (patch from Dennis
1225         Cranston, closes bug #324860).
1227         * src/gdict-window.c (gdict_window_error_cb), (gdict_window_set_word),
1228         (entry_activate_cb), (gdict_window_drag_data_received_cb): fix a
1229         double-free bug triggered by a failed look up (patch from Paolo
1230         Borelli, closes bug #325238).
1232 2005-12-25  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1234         The "Maybe this Christmas" release.  This release marks the end of the
1235         big UI and feature changes: from now on, it's fixes time until the next
1236         development cycle.  Merry Christmas everyone.
1238         * src/gdict-print.c: fix compiler warnings about parameter signedness.
1240         * data/gnome-dictionary-preferences.glade: update the source add dialog
1241         with a new UI.
1243         * docs/reference/gdict/gdict-decl-list.txt: add
1244         gdict_defbox_set_database() and gdict_defbox_get_database() to the
1245         declarations list.
1247         * src/gdict-about.c: use "Look up".
1249         * src/gdict-app.c (gdict_app_init): create the data directory inside
1250         $HOME/.gnome2 when creating the application singleton.
1252         * src/gdict-applet.c (gdict_applet_init): ditto.
1254         * src/gdict-pref-dialog.c: add the source add dialog, and enable the
1255         source remove code: now the user can create new dictionary sources
1256         without having to actually drop a file inside the data directory.  The
1257         code is still a bit flaky, but this closes all the UI/feature work for
1258         the release.
1260         * src/gdict-window.c (gdict_window_cmd_help_contents): fix error
1261         message.
1263 2005-12-21  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1265         * src/gdict-window.c: fix a bunch of compiler warnings (patch by
1266         Kjartan Maraas, closes  bug #324552).
1268         * src/gtkalignedwindow.c (gtk_aligned_window_finalize),
1269         (gdict_aligned_window_get_widget): ditto.
1271         * src/main.c: include libintl.h.
1272         
1273         * src/gdict-applet.c (gdict_applet_init),
1274         (gdict_applet_gconf_notify_cb): hook up the notification callback and
1275         monitor the database and strategy keys.
1277         * src/gdict-app.c (gdict_window_destroy_cb), (gdict_init),
1278         (gdict_main): fix compiler warnings (patch by Kjartan Maraas, closes
1279         bug #324552).
1281         * src/gdict-about.c: use "Look up" instead of "Lookup".
1283         * README: remove the warnings.
1285 2005-12-19  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1287         * libgdict/Makefile.am: fix stamp_files build
1289 2005-12-19  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1291         * libgdict/gdict-defbox.c (create_find_pane): another shot at getting
1292         the find pane layout right (closes bug #324342).
1294 2005-12-19  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1296         * data/GNOME_DictionaryApplet.server.in.in: add the old GDict applet
1297         OAFIID to the .server file, for backward compatibility.
1299         * data/GNOME_DictionaryApplet.xml: add the "Save" verb.
1301         * data/gnome-dictionary-preferences.glade: remove the _ char from the
1302         notebook tab labels.
1304         * libgdict/gdict-defbox.c (gdict_defbox_find_forward),
1305         (find_next_clicked_cb), (find_entry_changed_cb): add support for
1306         find-as-you-type search.
1308         * libgdict/gdict-defbox.c (gdict_defbox_default_constructor): remove
1309         word wrapping from the TextView widget.
1311         * libgdict/gdict-defbox.c (lookup_end_cb): explicitely move the cursor
1312         to the beginning of the definition text.
1314         * src/gdict-applet.c: implement the popup menu callbacks; support the
1315         "database" and "strategy" options; add a "Save" button to the
1316         definition window; add ATK names and descriptions to the applet
1317         widgets; add a gdict_applet_queue_draw() for drawing the applet inside
1318         an idle loop; remove debug code; handle the definition window and menu
1319         items visibility depending on what the query results are; port
1320         preferences setting functions from GdictWindow.
1322         * src/gdict-window.c (gdict_window_style_set),
1323         (gdict_window_constructor), (gdict_window_init): make the default size
1324         of the window depend on the display font size, in order to show the
1325         pre-formatted text coming from a dictionary server.
1327 2005-12-19  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1329         * data/gnome-dictionary-preferences.glade: use "Source" and "Print" as
1330         notebook tab label strings, and mark them translatable.
1332 2005-12-19  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1334         * docs/reference/gdict/gdict-sections.txt: add new functions.
1336 2005-12-19  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1338         Another set of UI patches.
1340         * libgdict/gdict-defbox.c (find_prev_clicked): UI fixes.
1342         * libgdict/gdict-defbox.c (create_find_pane): fix find pane layout.
1344         * data/gnome-dictionary-preferences.glade:
1345         * src/gdict-pref-dialog.c (source_add_clicked_cb),
1346         (gdict_pref_dialog_init):  HIG related fixes such as
1347         mnemonics, widget spacing, etc. (Patch by Dennis Cranston).
1349 2005-12-18  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1351         * src/gdict-window.c: use the "database" property, and hook it up to
1352         GConf.
1354         * libgdict/gdict-defbox.h, libgdict/gdict-defbox.c: add the "database"
1355         property; add the gdict_defbox_set_database() and
1356         gdict_defbox_get_database() accessors for the "database" property.
1358 2005-12-17  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1360         A bunch UI fixes from Dennis Cranston, and a bunch of fixes triggered
1361         by a down of dict.org.
1363         * libgdict/gdict-defbox.c, src/gdict-window.c: fix lifetime of the
1364         GdictContext and related signal handlers.
1366         * libgdict/gdict-client-context.c (gdict_client_context_finalize),
1367         (clear_command_queue): fix a double free bug issued when finalizing a
1368         ClientContext with a non-empty queue (patch by Paolo Borelli).
1370         * libgdict/gdict-client-context.c: emit "error" when unable to connect
1371         to the dictionary server.
1373         * libgdict/gdict-defbox.c:  UI fixes for the find widgets (patch by
1374         Dennis Cranston).
1376         * src/gdict-window.c:  UI fixes.  Fix widget spacing.  Change 
1377         "find" back to "look up" to avoid confusion caused by its 
1378         double use (patch by Dennis Cranston).
1380         * libgdict/gdict-source.c: fix the "context" propery;
1382         * src/gdict-window.c: add "source-name" and "word" constructor
1383         properties, so that a window might be created with a pre-defined
1384         source and word to look up.
1386         * libgdict/gdict-app.c (gdict_create_window),
1387         (gdict_window_created_cb), (gdict_window_destroy_cb): fix multiple
1388         registration of callbacks and remove the loop on the windows list for
1389         good (based on a patch by Paolo Borelli).
1391         * src/gdict-app.c: begin command line arguments support, and attach
1392         a GOptionContext to gnome_program_init().
1394 2005-12-15  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1396         * src/gdict-applet.h, src/gdict-applet.c: create the dictionary applet.
1398         * src/gdict-app.c: do not leak the GOptionContext.
1400         * libgdict/gdict-client-context.c (gdict_client_context_parse_line):
1401         add more debug messages; do not tokenize the line, but walk it.
1403         * libgdict/gdict-client-context.c (get_status_code): make the
1404         status code check more robust (too many false positives).
1406         * libgdict/gdict-defbox.c: make the error checking a bit more robust.
1408         * data/gnome-dictionary.schemas.in: mark the following keys as
1409         obsolete and deprecated:
1411                 - server
1412                 - port
1413                 - smart
1414         
1415         and add the following keys:
1417                 - source-name
1418                 - print-font
1419         
1420         * data/default.desktop.in: don't mark the Name key as translatable.
1422         * libgdict/gdict-source-loader.h, libgdict/gdict-source-loader.c: add
1423         gdict_source_loader_remove_source() and gdict_source_loader_update();
1424         the former removes a dictionary source file and the latter forces an
1425         update of the sources list.
1427         * src/gdict-print.h, src/gdict-print.c: remove the print-related
1428         stuff from gdict-window in order to use them inside the applet.
1430         * src/gdict-pref-dialog.c, src/gdict-pref-dialog.h: create the
1431         GdictPrefDialog widget; this dialog will be used to handle the
1432         preferences for both the application and the applet.  You can
1433         change the active dictionary source and the print font; missing
1434         bits: add a new source (create a new GdictSource and dump it
1435         into a tmpfile inside .gnome2/gnome-dictionary) and remove a
1436         source (the code is already in place, but compiled out until the
1437         add source stuff is in).
1439         * data/gnome-dictionary-preferences.glade: create the UI for
1440         the preferences dialog.
1442         * libgdict/gdict-source.h, libgdict/gdict-source.c: add the
1443         "database" and "strategy" properties to GdictSource, and relative
1444         accessor functions; these properties set the default database and
1445         strategy used for a dictionary source; implement the API for
1446         creating a dictionary source: the output is in form of a string,
1447         it'll be up to the caller to create an actual file; make the Name
1448         key not localizable: it's the unique identifier for the source, and
1449         the user should only see the content of the Description key.
1451         * src/gdict-window.c: add a footer line when printing, and fix the
1452         page counting; add the help link; add GConf support.
1454 2005-12-10  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1456         * libgdict/gdict-client-context.c (gdict_client_context_parse_line):
1457         avoid emission of spurious "lookup-end" signals; rework the server
1458         error response parsing.
1460         * libgdict/gdict-defbox.c: grab focus on the find entry when showing
1461         the find pane; add a progress dialog for showing the state of the
1462         definition lookup.
1464         * data/gnome-dictionary-ui.xml, src/gdict-window.h, src/gdict-window.c:
1465         add support for a <control>L accelerator, used to highlight the "Find"
1466         entry; add a mnemonic for the "Find" entry; add a status bar; link the
1467         GdictContext signals; various bug fixes.
1469 2005-12-09  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1471         * libgdict/gdict-source.h: add gdict_source_peek_context() and
1472         gdict_source_steal_context().
1474         * libgdict/gdict-source.c (gdict_source_get_context): create a new
1475         context each time; the old behaviour has been shifted to the
1476         gdict_source_peek_context() function.
1478         * src/gdict-window.h, src/gdict-window.c: add the "created" signal,
1479         which is fired each time a new GdictWindow has been created by another
1480         GdictWindow.
1482         * src/gdict-window.c (gdict_window_cmd_file_new): create a new
1483         GdictWindow instance, and fire the "created" signal.
1485         * src/gdict-app.c: use the GdictWindow::created signal to add the newly
1486         created window to the windows list, like we use the GtkWidget::destroy
1487         signal to remove GdictWindow instances from the list.
1489 2005-12-09  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1491         * help/C/gnome-dictionary.xml: fix manual stub, so that make check
1492         passes.
1494 2005-12-09  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1496         * src/gdict-window.h, src/gdict-window.c: move GdictWindow into its own
1497         file; add printing support (still experimental).
1499         * src/gdict-app.h, src/gdict-app.c: remove GdictWindow
1501         * .cvsignore, data/.cvsignore, src/.cvsignore: add cvs ignore files.
1503         * libgdict/gdict-defbox.c: clear content on error.
1505 2005-12-07  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1507         * README: add a visible warning on the experimental nature of this
1508         branch; add some build tips.
1510         * TODO: update list.
1512 2005-12-07  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1514         * data/Makefile.am: add gnome-dictionary-ui.xml, the GtkUIManager
1515         definitions of the menu bar and accelerators.
1517         * docs/source-configuration.txt: add Database and Strategy keys.
1519         * libgdict/gdict-client-context.c: add "total" property support for
1520         GdictDefinition.
1522         * libgdict/gdict-context-private.h,
1523         libgdict/gdict-context.c,
1524         libgdict/gdict-context.h: add "total" property, and change
1525         GdictDefintion ctor (we don't need a word).
1527         * libgdict/gdict-defbox.h, libgdict/gdict-defbox.h: add
1528         gdict_defbox_new_with_context() ctor; add new API to wrap around
1529         GtkTextView/GtkTextBuffer.
1531         * libgdict/gdict-source.c, libgdict/gdict-source-loader.c: fix bugs
1532         inside the GdictSource and GdictSourceLoader.
1534         * libgdict/gdict-source.h: add gdict_source_load_from_data().
1536         * libgdict/gdict-utils.c: remove title from the error dialog, as per
1537         HIG; fix a stupid bug in get_toplevel_window().
1539         * src/Makefile.am: remove the applet data, since we don't have any code
1540         for it, yet.
1542         * src/gdict-app.h, src/gdict-app.c: begin Dictionary UI; GdictWindow is
1543         a GtkWindow subclass; GdictApp is a singleton object, holding all the
1544         windows.
1546         * src/gdict-about.h, src/gdict-about.c: add a simple wrapper around
1547         GtkAboutDialog.
1549         * src/main.c: main application launcher.
1551 2005-11-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1553         * libgdict/gdict-defbox.c: fix forward/backward searching.
1555 2005-11-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1557         * libgdict/Makefile.am: add LIBGLADE_* macros to the application and
1558         applet CFLAGS
1560         * libgdict/gdict-utils.[ch]: add gdict_show_error_dialog() and the
1561         gdict_show_gerror_dialog() functions for showing error message dialogs.
1563         * libgdict/gdict-defbox.[ch]: begin re-implementation of the
1564         GdictDefbox widget.  This widget is used to show the definitions
1565         retrieved by a GdictContext implementation.
1567         * libgdict/test-defbox.c: test case for GdictDefbox.
1569 2005-11-24  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1571         * data/default-dictionary.desktop.in: remove translatable mark to
1572         the Name key: this is the default, and should always be accessed using
1573         the "Default" name.
1575         * libgdict/Makefile.am: fix CLEANFILES and DISTCLEANFILES.
1577         * libgdict/gdict-source.c, libgdict/gdict-source-loader.c: fix stupid
1578         bugs.
1580         * libgdict/test-source.c: add test suite for GdictSource and
1581         GdictSourceLoader.
1583         * libgdict/Makefile.am: add test-source.c
1585         * libgdict/.cvsignore: add test-source.
1587         * libgdict/gdict-preferences.[ch]: remove these files.
1589 2005-11-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1591         * libgdict/.cvsignore: add .cvsignore
1593         * libgdict/test-defbox.c: add (empty) test suite for GdictDefbox.
1595         * libgdict/test-entry.c: add test suite for GdictEntry.
1597         * libgdict/gdict-source-loader.[hc]: add GdictSourceLoader, an object
1598         for loading all the dictionary source files.
1600         * libgdict/gdict-source.[hc]: add GdictSource, an object for loading
1601         the right GdictContext based on .desktop files.
1603         * libgdict/Makefile.am: add new files to the build.
1605         * data/default-dictionary.desktop.in: default dictionary source for
1606         dict.org.
1608         * data/Makefile.am: add default-dictionary.desktop.in and i18n rule for
1609         translation support.
1611         * libgdict/gdict-version.h.in: add versioning to libgdict
1612         
1613         * libgdict/gdict.h: include gdict-version.h
1615         * TODO: update list
1617 2005-11-21  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1619         * libgdict/gdict-client-context.c
1620         (gdict_client_context_real_connected),
1621         (gdict_client_context_force_disconnect),
1622         (gdict_client_context_lookup_server): fix comments
1624         * libgdict/gdict-client-context.c
1625         (gdict_client_context_parse_line): fix the "lookup-end" signal
1626         emission.
1628         * libgdict/test-client.c: add callbacks for the lookup-start and
1629         lookup-end signals
1631 2005-11-21  Emmanuele Bassi  <ebassi@cvs.gnome.org>
1633         Initial import of gnome-dictionary.
1635         * libgdict/*: the GdictContext interface and GdictClientContext class
1636         are basically done; GdictClientContext implements a RFC2229-compliant
1637         client for a dictionary server using the dictionary protocol.