2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
[hildon] / ChangeLog
1 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
2
3         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4         documentation
5         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
6         update the day model only if it is really required, and to avoid the
7         full-reconstruction aproach. Now it only add or remove the required days.
8
9         The purpose of this is avoid superfluous HildonTouchSelector::changed
10         signals
11
12         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
13         with strange parameters)
14
15 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
16
17         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
18
19         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
20         the WINDOW_TYPE property.
21
22         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
23
24 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
25
26         * doc/gtk-doc.make:
27         Fix dependency to allow parallel compilation with make -jX
28
29 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
30
31         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
32         color frame and some minor tweaks to make it more consistent with
33         current theming.
34
35         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
36         highlighted but not visible)
37
38 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
39
40         * examples/Makefile.am: Fixed typo in the Makefile.am.
41
42 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
43
44         Reviewed the use of MAEMO_GTK define, now we add the define in the
45         compilation line, and we also add it to the pc file.
46
47         * configure.ac: Added MAEMO_GTK define to the compilation command
48         and removed it from the config.h.
49
50         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
51         do not have to take care about this define if the library was
52         compiled with it.
53
54         * src/hildon-gtk.c:
55         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
56
57 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
58
59         * examples/Makefile.am,
60         * examples/hildon-pannable-area-buttons-scroll-example.c,
61         * examples/hildon-pannable-area-gesture-signals-example.c,
62         * examples/hildon-pannable-area-scroll-jump-example.c,
63         * examples/hildon-pannable-area-tree-view-example.c:
64         Renamed the pannable area examples, now they have more meaningful
65         names.
66
67 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
68
69         * src/hildon-touch-selector.c:
70         (hildon_touch_selector_set_column_selection_mode): Used of
71         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
72         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
73         to avoid re-seting the same selection mode.
74
75         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
76         breaks HildonPickerDialog)
77
78 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
79
80         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
81         conditional in the Makefile.am
82
83 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
84
85         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
86         Remove unused methods.
87
88 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
89
90         * src/hildon-button.c (hildon_button_init):
91         Make button images center-aligned by default
92
93 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
94
95         * src/hildon-gtk.c:
96         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
97         activated, we have to think about how to deal with both defines
98         MAEMO_GTK and MAEMO_CHANGES.
99
100 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
101
102         * examples/hildon-app-menu-example.c (create_menu): Make all
103         buttons finger size.
104
105 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
106
107         Fixed the compilation without maemo gtk adding ifdefs with
108         MAEMO_GTK define to the code, we have to check this version more
109         carefully.
110
111         * examples/Makefile.am: Added control to avoid some examples that
112         just make sense with maemo gtk.
113
114         * src/hildon-gtk.c:
115         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
116         hildon modes with the define.
117
118         * examples/hildon-edit-toolbar-example.c,
119         (create_icon_view): Create the icon view without hildon-gtk
120         helpers if we are not using maemo gtk.
121
122         * src/hildon-touch-selector.c,
123         (_create_new_column): Create the treeview without hildon-gtk
124         helpers if we are not using maemo gtk.
125
126 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
127
128         * src/hildon-pnnable-area.c,
129         (hildon_pannable_area_dispose),
130         (hildon_pannable_area_button_press_cb),
131         (hildon_pannable_area_child_mapped),
132         (hildon_pannable_area_add),
133         (hildon_pannable_area_remove): Added code to control the position
134         of the event_window when adding and removing children from the
135         pannable. We have to raise the event window when the child is
136         mapped.
137
138         Fixes: NB#89811 (Not able to select first image thumbnail in multi
139         selection mode using custom widget inside pannable)
140
141 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
142
143         * configure.ac: post release version bump
144         * debian/changelog: version bump
145
146 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
147
148         [Release 2.1.22]
149
150         * NEWS: updates
151         * configure.ac: bump version
152         * debian/changelog: updates
153
154 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
155
156         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
157         search mode, in order to avoid lose the focus on the treeview when
158         a hw key (like enter) is pressed.
159
160         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
161         in HildonDateSelector dialog)
162
163 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
164
165         * debian/rules: Added --enable-maintainer-mode
166         * Makefile.am: Added ACLOCAL_AMFLAGS
167
168         This allows to properly regenerate the Makefiles if you modify the
169         configure.ac or any Makefile.am.
170
171 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
172
173         * examples/hildon-app-menu-example.c: (main): Do not set RC style
174         properties, not needed at all.
175
176 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
177
178         * src/hildon-note-private.h: Add strings for the icon and stock_icon
179         properties.
180         * src/hildon-note.c: (hildon_note_set_property),
181         (hildon_note_get_property), (hildon_note_class_init),
182         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
183         (hildon_note_new_confirmation_add_buttons): Remove icons.
184         (hildon_note_new_confirmation_with_icon_name): Deprecate.
185         (hildon_note_new_information_with_icon_name): Deprecate.
186         (hildon_note_new_confirmation): Act directly, without calling
187         the deprecated constructor.
188         (hildon_note_new_information): Act directly, without calling
189         the deprecated constructor.
190         * src/hildon-note.h: Mark deprecate methods as such.
191         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
192         not run tests on the deprecated methods if built with deprecation
193         disabled.
194
195         Fixes: NB#91688 (Never show icons in information notes/confirmation
196         notes)
197
198 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
199
200         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
201         (hildon_app_menu_key_press): Remove leftover usage of the
202         private structure in HildonAppMenu struct.
203         * src/hildon-app-menu.h: Remove leftover private structure
204         from the HildonAppMenu struct.
205
206         Fixes a crasher when using the HildonAppMenu.
207
208 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
209
210         * src/hildon-picker-dialog.c: Use appropriate logical id
211         for the default "Done" text.
212
213 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
214
215         * configure.ac: post release version bump
216         * debian/changelog: version bump
217
218 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
219
220         Modified the way to scroll to the current selection just when the touch
221         selector is shown on the screen, avoiding a g_idle. Added too a property
222         to configure this behaviour. See hildon_pannable_area_jump_to_child
223         documentation for more information.
224
225         * src/hildon-touch-selector.c
226         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
227         Added 'initial-scroll' property
228         (hildon_touch_selector_set_property): Added
229         (hildon_touch_selector_map): Removed as not required anymore
230         (_hildon_touch_selector_on_selected_items): Modified in order to manage
231         only a concrete column, instead of iterate along all the columns
232
233 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
234
235         [Release 2.1.20]
236
237         * NEWS: updates
238         * configure.ac: bump version
239         * debian/changelog: updates
240
241 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
242
243         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
244         compilation time warnings.
245
246 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
247
248         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
249         the default value for HildonPannableArea::mov-mode to
250         HILDON_PANNABLE_AREA_MODE_VERT.
251
252         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
253
254 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
255
256         Reverting following commit:
257
258         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
259
260           * src/hildon-app-menu-private.h
261           * src/hildon-app-menu.[ch]
262           * src/hildon-button.[ch]
263           * src/hildon-check-button.[ch]
264           * src/hildon-entry.[ch]
265           * src/hildon-pannable-area.[ch]
266           * src/hildon-text-view.[ch]:
267           Added private field to the object's structure.
268
269         because it causes an ABI breakage. We will need to introduce these
270         changes later at some point. See NB#91636 for an extensive
271         explanation and status.
272
273 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
274
275         Patch contributed by Daniel Borgmann (danielb@openismus.com)
276
277         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
278         remove special cases that are no longer necessary.
279
280         Fixes: NB#91016 (Change toolbar sizes, simplification)
281
282 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
283
284         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
285         is shown in the cancel note.
286
287 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
288
289         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
290         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
291         (hildon_seekbar_init): Remove steppers, remove expose event.
292         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
293
294         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
295
296 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
297
298         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
299         label font to "SmallSystemFont" for vertically arranged buttons.
300
301         Fixes: NB#90662 (HildonButton "value" and "detail" text is
302         unformatted)
303
304 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
305
306         * src/hildon-check-button.c
307         (hildon_check_button_set_active, hildon_check_button_clicked):
308         Don't access private parts directly, use getters instead.
309
310 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
311
312         * src/hildon-check-button.c (hildon_check_button_new):
313         Align the contents of the check button to the left.
314
315 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
316
317         * src/hildon-pannable-area.c,
318         (hildon_pannable_area_scroll_to),
319         (hildon_pannable_area_jump_to),
320         (hildon_pannable_area_scroll_to_child),
321         (hildon_pannable_area_jump_to_child): Replace the mapped
322         precondition of these functions with the realized, it is the
323         correct state of the widget in this case. Changed the
324         documentation according to this modification.
325
326 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
327
328         Added a new EXTRA_CFLAGS option to add the deprecated define to
329         the compilation command. This way we can avoid using the define in
330         the documentation compilation.
331
332         * configure.ac: Defined EXTRA_CFLAGS.
333
334         * examples/Makefile.am:
335         * src/Makefile.am:
336         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
337
338 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
339
340         * src/hildon-picker-dialog.c:
341         Defined a utility macro with the desired touch selector height
342         Removed currently unused separator, and title_label variables from
343         private structure.
344         (hildon_picker_dialog_init): Removed code related to the creation
345         of unused private variables title_label and separator.
346         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
347         to ensure correct visualization of the touch selector inside the dialog.
348         * src/hildon-touch-selector.c
349         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
350         ensure a concrete height of the widget.
351
352 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
353
354         * src/Makefile.am:
355         * tests/Makefile.am:
356
357         Remove spurious whitespaces.
358
359 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
360
361         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
362         compilation warning after the cancel button removal.
363
364 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
365
366         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
367
368         * configure.ac: Added an AM_CONDITIONAL in order to use in the
369         Makefile.am, that way we can choose not to compile some examples
370         and tests of the deprecated widgets.
371
372         * examples/Makefile.am: Divided the sources in deprecated and
373         non-deprecated.
374
375         * src/Makefile.am: Added undef statement of the deprecated
376         symbol to the enums file generation process.
377
378         * src/hildon-color-chooser-dialog.c
379         * src/hildon-color-chooser-dialog.h
380         * src/hildon-color-button.c
381         * src/hildon-color-button.h
382         * src/hildon-color-chooser.c
383         * src/hildon-color-chooser.h
384         * src/hildon-controlbar.c
385         * src/hildon-controlbar.h
386         * src/hildon-date-editor.c
387         * src/hildon-date-editor.h
388         * src/hildon-hvolumebar.c
389         * src/hildon-hvolumebar.h
390         * src/hildon-private.c
391         * src/hildon-private.h
392         * src/hildon-range-editor.c
393         * src/hildon-range-editor.h
394         * src/hildon-seekbar.c
395         * src/hildon-seekbar.h
396         * src/hildon-time-editor.c
397         * src/hildon-time-editor.h
398         * src/hildon-time-picker.c
399         * src/hildon-time-picker.h
400         * src/hildon-volumebar.c
401         * src/hildon-volumebar.h
402         * src/hildon-vvolumebar.c
403         * src/hildon-vvolumebar.h
404         * src/hildon-bread-crumb-trail.h
405         * src/hildon-bread-crumb-trail.c
406         * src/hildon-calendar-popup.c
407         * src/hildon-calendar-popup.h
408         * src/hildon-weekday-picker.c:
409         * src/hildon-weekday-picker.h:
410         * src/hildon-bread-crumb-widget.c:
411         * src/hildon-bread-crumb-widget.h:
412         * src/hildon-bread-crumb.c:
413         * src/hildon-bread-crumb.h:
414         * src/hildon-calendar.c:
415         * src/hildon-calendar.h:
416         * src/hildon-caption.c:
417         * src/hildon-code-dialog.c:
418         * src/hildon-code-dialog.h:
419         * src/hildon-font-selection-dialog.c:
420         * src/hildon-font-selection-dialog.h:
421         * src/hildon-get-password-dialog.c:
422         * src/hildon-get-password-dialog.h:
423         * src/hildon-login-dialog.c:
424         * src/hildon-login-dialog.h:
425         * src/hildon-number-editor.c:
426         * src/hildon-number-editor.h:
427         * src/hildon-set-password-dialog.c:
428         * src/hildon-set-password-dialog.h:
429         * src/hildon-sort-dialog.c:
430         * src/hildon-sort-dialog.h: This is the list of deprecated
431         widgets.
432
433         * src/hildon-touch-selector.c:
434         * src/hildon-window.c: Added undef statement to avoid compilation
435         warnings
436
437         * tests/Makefile.am: Divided the sources in deprecated and
438         non-deprecated.
439
440         * tests/check_test.c,
441         (configure_tests): Marked the deprecated code that was adding
442         suites with deprecated tests.
443
444         Fixes: NB#91135 (Deprecate legacy hildon widgets)
445
446 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
447
448         * src/hildon-touch-selector.c: (_default_print_func): Do not
449         duplicate a string returned by gtk_tree_model_get(), it is already
450         allocated for us.
451
452         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
453         function)
454
455 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
456
457         * src/hildon-pannable-area.c
458         (hildon_pannable_area_add_with_viewport): Reviewed the complete
459         method, it had problems when adding a widget with viewport the
460         second time. Now checks if it already has a viewport and uses it.
461
462         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
463         on child)
464
465 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
466
467         * src/hildon-pannable-area.c,
468         (hildon_pannable_area_scroll_to),
469         (hildon_pannable_area_jump_to),
470         (hildon_pannable_area_scroll_to_child),
471         (hildon_pannable_area_jump_to_child): Added a precondition to the
472         scroll and jump to functions: the widget must be mapped before we
473         can safely call these functions. We have also added documentation
474         to the functions to explain how to use them in this situation.
475
476
477 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
478
479         Reviewed the threading handling of the pannable widget, we have
480         used the gdk_threads_add_timeout function instead of the usual
481         glib handlers. This avoids some problems with the threads.
482
483         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
484         (hildon_pannable_area_initial_effect),
485         (hildon_pannable_area_scroll_indicator_fade),
486         (hildon_pannable_area_button_press_cb),
487         (hildon_pannable_area_timeout),
488         (hildon_pannable_area_motion_notify_cb),
489         (hildon_pannable_area_button_release_cb),
490         (hildon_pannable_area_scroll_cb),
491         (hildon_pannable_area_scroll_to): Removed the
492         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
493         gdk_threads_add_timeout.
494
495         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
496
497 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
498
499         [Release 2.1.18]
500
501         * NEWS: updates
502         * configure.ac: bump version
503         * debian/changelog: updates
504
505 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
506
507         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
508         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
509         * src/hildon-color-chooser-dialog.c:
510         (hildon_color_chooser_dialog_init):
511         * src/hildon-font-selection-dialog.c:
512         (hildon_font_selection_dialog_init):
513         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
514
515         Remove all cancel/close-like dialogs, as these are not going to be
516         displayed at all.
517
518 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
519
520         * src/hildon-note.c: (hildon_note_rebuild),
521         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
522         when needed.
523
524         Fixes: NB#90661 (Delete dialog is displayed without NO button)
525
526 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
527
528         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
529         sure all buttons are shown, even the Cancel/Close-like ones.
530
531         Fixes: NB#90861 (Custom Confirmation dialogs should be
532         protected from cancel button removal)
533
534 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
535
536         * debian/control: Change libhildon1-examples dependency from libhildon1
537         to libhildon1-dev
538         * debian/libhildon1-examples.install
539         * debian/rules
540         * Makefile.am: Modified the final install directory for the examples on
541         package libhildon1-examples
542         * Makefile.static: Update clean target in order to remove all the binary
543         examples
544
545         Changes suggested by Claudio after review new libhildon1-examples package
546
547 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
548
549         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
550         * src/hildon-touch-selector.c: Ditto.
551
552 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
553
554         * debian/control: Added new package libhildon1-examples, in order to pack
555         the current hildon examples as documentation
556         * debian/rules: Not to compress .c files, modify some includes on the
557         examples (as normally are compiled locally, but when installed it will
558         require to include the installed libhildon1 library), and rename
559         Makefile.static
560         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
561         install all the example files on the new example package
562         * examples/Makefile.static: Added static makefile that can be used to
563         compile the examples, once installed the new example package
564         * examples: Most of the examples were modified in order to grant that
565         all use only '#include "hildon.h"', in order to be easy to prepare
566         it on the example package
567
568 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
569
570         * debian/control
571         * debian/libhildon1-dev.install
572         * debian/libhildon1-doc.install:
573         Move all gtk-doc files to a separate libhildon1-doc package.
574
575 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
576
577         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
578
579         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
580
581 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
582
583         * debian/rules: Fixed a error in order to avoid unnecessary calls
584         to autogen.sh on package building
585
586 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
587
588         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
589
590 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
591
592         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
593         header include.
594
595 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
596
597         * src/hildon-picker-button.c
598         (hildon_picker_button_finalize):
599         Free priv->done_button_text
600
601         * src/hildon-time-button.c
602         (hildon_time_button_set_time)
603         * src/hildon-picker-button.c
604         (hildon_picker_button_clicked)
605         (hildon_picker_button_selector_selection_changed)
606         (hildon_picker_button_set_selector)
607         * src/hildon-date-button.c
608         (hildon_date_button_set_date):
609         Free strings returned by hildon_touch_selector_get_current_text()
610
611         * src/hildon-button.c (hildon_button_construct_child):
612         Fix leaks in priv->image and priv->label_box
613
614         Fixes: NB#90535 (Memory leak in picker button)
615
616 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
617
618         * src/hildon-button.c: (hildon_button_get_property): Do not access
619         private elements directly, use getters instead.
620
621 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
622
623         * src/hildon-app-menu-private.h
624         * src/hildon-app-menu.c
625         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
626         Store the menu's parent window.
627
628         * src/hildon-stackable-window.c
629         (hildon_stackable_window_toggle_menu)
630         (hildon_stackable_window_finalize):
631         Set the menu's parent window when the menu is shown, unset it when
632         it is destroyed.
633
634         * src/hildon-app-menu.c
635         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
636         (hildon_app_menu_class_init):
637         Send unhandled keyboard accelerators to the parent window.
638
639 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
640
641         * src/hildon-stackable-window.c
642         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
643
644 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
645
646         * configure.ac: post release version bump
647
648 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
649
650         * NEWS: Updates
651         * configure.ac: Bump version
652         * debian/changelog: Updates
653         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
654         gtk-doc 1.10.
655
656 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
657
658         Patch contributed by Daniel Borgmann (danielb@openismus.com)
659
660         * src/hildon-gtk.h
661         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
662         GtkMenu with Hildon style.
663
664 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
665
666         * src/hildon-picker-button.c:
667         (hildon_picker_button_set_done_button_text): Set the dialog's
668         done button text here as well.
669
670         Fixes: NB#90232 (Picker button does not set the label on done button
671         for the second time)
672
673 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
674
675         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
676         warning message.
677
678 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
679
680         * src/hildon-app-menu.c (hildon_app_menu_insert)
681         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
682         the HildonAppMenu to be activatable using keyboard accelerators
683         when the menu is not being shown.
684
685         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
686
687 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
688
689         * src/hildon-stackable-window.c
690         (hildon_stackable_window_show):
691         Don't hide old windows automatically when new windows are shown:
692         this is now a task for the window manager.
693         (hildon_stackable_window_class_init)
694         (hildon_stackable_window_hide):
695         Remove windows from the stack everytime they're hidden.
696         (hildon_stackable_window_realize):
697         Don't change the _NET_WM_WINDOW_TYPE property. Use
698         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
699         it as a stackable window.
700
701         * src/hildon-program.c
702         (hildon_program_pop_window_stack):
703         Just hide the window to remove it from the stack.
704         (hildon_program_go_to_root_window):
705         Don't call gtk_widget_show(), this is now a task for the window
706         manager.
707
708         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
709
710 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
711
712         * src/hildon-button.c
713         (hildon_button_construct_child):
714         Don't pack anything in the button until text or image are
715         set. This allows adding a custom child after creating the button
716         with hildon_button_new().
717         (hildon_button_finalize, hildon_button_class_init)
718         (hildon_button_init, hildon_button_set_arrangement): Destroy the
719         alignment and the label box even when they're not packed in the
720         button.
721
722 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
723
724         * src/hildon-touch-selector.h:
725         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
726         currently the type definition was using GTK_TYPE_VBOX
727         * src/hildon-touch-selector.c:
728         Added some implementation notes in order to clarify that any other widget
729         added without the column related API will not be included on the
730         selection logic, and how the widget is freed, as some people ask about
731         it.
732         (hildon_touch_selector_remove): Reimplemented in order to free properly
733         the column related data when you remove the private hbox.
734         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
735         to get a proper HildonTouchSelectorColumn documentation
736
737 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
738
739         * src/hildon-touch-selector-entry.c:
740         (hildon_touch_selector_entry_print_func): Return NULL if there is no
741         text in the GtkEntry and there is no item selected. Fixes a
742         potential crasher.
743
744 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
745
746         * src/hildon-app-menu-private.h
747         * src/hildon-app-menu.[ch]
748         * src/hildon-button.[ch]
749         * src/hildon-check-button.[ch]
750         * src/hildon-entry.[ch]
751         * src/hildon-pannable-area.[ch]
752         * src/hildon-text-view.[ch]:
753         Added private field to the object's structure.
754
755 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
756
757         * configure.ac: post-release version bump
758
759 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
760
761         [Release 2.1.14]
762
763         * configure.ac: pre-release version bump
764         * NEWS: updates.
765         * debian/changelog: updates.
766
767 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
768
769         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
770         Disconnect the handler for HildonTouchSelector::changed.
771
772         (hildon_picker_button_selector_selection_changed): Update the button
773         value if the selection change was not triggered by the
774         HildonPickerDialog.
775
776         (hildon_picker_button_set_selector): connect to
777         HildonTouchSelector::changed.
778
779         Fixes: NB#89650 (Picker button is not updated, when selection in
780         selector has changed)
781
782 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
783
784         * src/hildon-picker-dialog.c
785         (hildon_picker_dialog_realize): Removed as not required
786         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
787         * src/hildon-picker-button.c
788         (_current_selector_empty): New function, checks if the selector is empty
789         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
790         if the current selector is empty, in order to avoid to show the dialog
791         close the dialog in this case (and shows a g_warning).
792
793         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
794
795 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
796
797         * src/hildon-pannable-area.c,
798         (hildon_pannable_area_scroll): Added clause to stop movement when
799         the child of pannable is smaller than one page.
800         (hildon_pannable_area_scroll_to): Added conditions to avoid
801         starting the scrolling movement if the child is smaller than one
802         page, the complete child is in the screen, we do not have to move.
803
804         Fixes: NB#89632 (Picker button selection doesn't change on first click)
805
806 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
807
808         * src/hildon-app-menu.c: Removed the 'columns' property, as now
809         this is managed automatically by the widget when the size of the
810         screen changes.
811
812 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
813
814         * src/hildon-picker-button.c
815         (hildon_picker_button_set_done_button_text): Make a copy of the
816         text, and free the previous value.
817
818 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
819
820         * src/hildon-touch-selector-entry.c:
821         (hildon_touch_selector_entry_print_func): Return the selected row's
822         text if the entry is empty.
823
824         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
825         entry is empty)
826
827 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
828
829         * src/hildon-touch-selector-entry.c: Minor docs fixes.
830
831 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
832
833         * doc/hildon.types
834         * src/hildon-check-button.h
835         * src/hildon-check-button.c
836         * examples/hildon-check-button-example.c:
837         HildonCheckButton is now a new widget. 'toggled' signal added.
838
839 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
840
841         * src/hildon-program-private.h
842         * src/hildon-program.c (hildon_program_init)
843         (hildon_program_finalize): Removed unused variables group_leader
844         and name from HildonProgramPrivate.
845
846 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
847
848         * src/hildon-check-button.c (hildon_check_button_set_active)
849         (hildon_check_button_get_active, hildon_check_button_new): Use
850         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
851
852 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
853
854         * src/hildon-touch-selector.h
855         (hildon_touch_selector_set_column_attributes): added deprecation
856         guard HILDON_DISABLE_DEPRECATED
857         * src/hildon-time-selector.c
858         (hildon_time_selector_set_time)
859         (hildon_time_selector_get_time): Fixed a typo on documentation
860         * src/hildon-touch-selector.c: update HildonTouchSelector and
861         HildonTouchSelectorColumn documentation
862         * src/hildon-touch-selector-entry.c: update "text-column" property
863         documentation
864         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
865         to be added to the general documentation.
866
867 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
868
869         * examples/hildon-pannable-area-example-4.c,
870         (main),
871         * examples/hildon-pannable-area-example.c,
872         (main): Modified the code in order to use the container add, with
873         viewport treeviews could have problems if they are really big.
874
875 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
876
877         * src/hildon-weekday-picker.c,
878         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
879         the agreement regarding deprecation in the library.
880
881 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
882
883         * examples/hildon-picker-button-multicolumn-example.c:
884         (main): Use custom "done" button text.
885
886         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
887         (hildon_picker_button_set_property),
888         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
889         (hildon_picker_button_init),
890         (+hildon_picker_button_get_done_button_text),
891         (+hildon_picker_button_set_done_button_text): New methods to customize
892         the "done" button label in the launched HildonPickerDialog. Also,
893         make it a property.
894
895         * src/hildon-picker-button.h: add the public API.
896
897 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
898
899         * src/hildon-date-selector.h:
900         * src/hildon-picker-dialog.h:
901         * src/hildon-time-selector.h:
902         * src/hildon-touch-selector-column.h:
903         * src/hildon-touch-selector.h:
904
905         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
906         declarations. Fixes gtk-doc warnings.
907
908 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
909
910         * src/hildon-picker-dialog.h
911         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
912         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
913
914         Fixes: NB#89329 (selectors in picker dialog are not visible when a
915         long text is set as label for done button)
916
917 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
918
919         * src/hildon-dialog.c (hildon_dialog_add_button):
920         Set fixed width to all buttons in the HildonDialog.
921
922 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
923
924         Patch contributed by Daniel Borgmann (danielb@openismus.com)
925
926         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
927         Set widget name using class name plus "-finger" or "-thumb".
928
929 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
930
931         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
932         'clicked' when the state of the button is manually changed.
933
934 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
935
936         * src/hildon-app-menu.c (hildon_app_menu_realize)
937         (hildon_app_menu_unrealize, hildon_app_menu_init)
938         (hildon_app_menu_class_init, item_visibility_changed):
939         Change the menu layout when the size of the screen changes.
940         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
941         Show warning only when changing the number of colums using the
942         property.
943
944 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
945
946         * debian/compat: Set to 5
947         * debian/control: Update dependencies.
948         * debian/libhildon1-dbg.install: Remove.
949         * debian/libhildon1-dev.install: Update according to cdbs paths.
950         * debian/libhildon1.install: Update according to cdbs paths.
951         * debian/rules: Switch to cdbs.
952
953 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
954
955         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
956         'item' variable renamed to 'filter'
957
958 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
959
960         * src/hildon-app-menu.c (hildon_app_menu_insert)
961         (hildon_app_menu_add_filter, remove_item_from_list)
962         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
963         Don't leak hidden items when the menu is destroyed.
964
965 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
966
967         * src/hildon-app-menu.c (hildon_app_menu_insert)
968         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
969         (hildon_app_menu_set_columns, item_visibility_changed)
970         (filter_visibility_changed, hildon_app_menu_repack_filters)
971         (hildon_app_menu_repack_items):
972         Repack items and filters separately.
973
974         Don't repack all items, change only the ones that are needed to
975         update the layout.
976
977 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
978
979         * src/Makefile.am: added hildon-touch-selector-column.h
980
981 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
982
983         * src/hildon-touch-selector.c: added the property "text-column" to the
984         class HildonTouchSelectorColumn, and related get/set functions
985         (_default_printf_func): updated to use "text-column" property
986         * src/hildon-touch-selector-entry.c: mark as deprecated the property
987         "text-column" in his documentation, as this is now included on
988         HildonTouchSelectorColumn. The get/set_property can still be used,
989         working as a wrapper to the concrete column "text-column" property
990         (_text_column_modified): callback added in order to handle the signal
991         "notify::text-column" of the concrete HildonTouchSelectorColumn
992         (hildon_touch_selector_entry_get_text_column)
993         (hildon_touch_selector_entry_set_text_column): Added documentation, and
994         modified in order to use the HildonTouchSelectorColumn "text-column"
995         property
996         * src/hildon-time-selector.c:
997         * src/hildon-date-selector.c:
998         * examples/hildon-touch-selector-example.c
999         * examples/hildon-touch-selector-multi-cells-example.c
1000         * examples/hildon-picker-button-multicolumn-example.c
1001         Set the right value to "text-column" property on the creation of a new
1002         column using hildon_touch_selector_append_column()
1003
1004         Fixes: NB#88644 (Hardcoded first column of the model as text column)
1005
1006 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
1007
1008         * src/hildon-app-menu.c
1009         (hildon_app_menu_construct_child, hildon_app_menu_init): When
1010         updating the layout of the menu, don't create all widgets again,
1011         just repack the items in their new places.
1012
1013 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
1014
1015         * src/hildon-time-selector.c
1016         (hildon_time_selector_get_time)
1017         (hildon_time_selector_set_time)
1018         Added documentation of these public methods
1019
1020         * src/hildon-date-button.h
1021         * src/hildon-touch-selector-column.h
1022         * src/hildon-time-button.h
1023         * src/hildon-picker-dialog.h
1024         * src/hildon-time-selector.h
1025         * src/hildon-picker-button.h
1026         * src/hildon-touch-selector.h
1027         * src/hildon-time-picker.h
1028         * src/hildon-date-selector.h
1029         * src/hildon-touch-selector-entry.h
1030         Modified in order to use hildon-widgets code style
1031
1032 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
1033
1034         Added deprecated support to the compilation process using
1035         HILDON_DISABLE_DEPRECATED
1036
1037         * configure.ac: Added the --disable-deprecated to the configure
1038         script
1039
1040         * src/hildon-weekday-picker.c:
1041         * src/hildon-weekday-picker.h: Deprecated widget, example of how
1042         to use the deprecated support. We will update the other deprecated
1043         widgets status in a new patch.
1044
1045 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
1046
1047         * configure.ac: Fixed typo with fatal warnings support, the
1048         variable name was not correct
1049
1050 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
1051
1052         * src/hildon-app-menu.c
1053         * src/hildon-program.c: Update documentation.
1054
1055 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
1056
1057         * configure.ac: Post-release version bump.
1058
1059 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
1060
1061         [Release 2.1.12]
1062
1063         * NEWS: Update.
1064         * configure.ac: Pre-release version bump.
1065         * debian/changelog: Updates.
1066
1067 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
1068
1069         * NEWS: Update news for previous releases.
1070
1071 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
1072
1073         * examples/hildon-touch-selector-multi-cells-example.c:
1074         (create_selector): Update the example to use
1075         hildon_touch_selector_append_column() with a NULL renderer and set
1076         the renderers later.
1077         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1078         passed a NULL renderer. This is documented behavior now.
1079
1080         Allow passing a NULL renderer to hildon_touch_selector_append_column().
1081         This must be used if the developer wants full control on the layout of
1082         the renderers to be added to the column.
1083
1084         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1085
1086 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
1087
1088         * src/hildon-touch-selector.c: Documentation fixes.
1089
1090 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
1091
1092         * src/hildon-wizard-dialog-private.h: Remove image and box.
1093         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1094         (hildon_wizard_dialog_set_property), (response): Completely remove
1095         image/icon support, and the containers required for the layout.
1096
1097         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1098
1099 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
1100
1101         * src/hildon-app-menu.c: Updated documentation.
1102
1103         * src/hildon-stackable-window.c
1104         (hildon_stackable_window_set_main_menu): Unref the old menu after
1105         ref'ing the new one.
1106
1107 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
1108
1109         * src/hildon-stackable-window.c
1110         (hildon_stackable_window_set_main_menu): Unref the previous menu
1111         instead of destroying it.
1112
1113         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1114         floating reference and set has_user_ref_count to FALSE to make
1115         HildonAppMenu act like a normal ref-counted widget and not a
1116         toplevel widget.
1117
1118         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1119         changed)
1120
1121 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
1122
1123         * src/hildon-touch-selector-column.h: new file
1124         * src/hildon-touch-selector.h
1125         * src/hildon-touch-selector.c
1126         Implemented GtkCellLayout interface, in order to allow to configure
1127         the cell layout on each individual selector column
1128         (hildon_touch_selector_set_column_attributes): marked as deprecated
1129         * examples/hildon-touch-selector-multi-cells-example.c
1130         Example of how to use the GtkCellLayout interface on the selector
1131
1132         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1133
1134 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1135
1136         * src/hildon-app-menu.h
1137         * src/hildon-app-menu.c
1138         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1139         (hildon_app_menu_append, hildon_app_menu_prepend):
1140         New methods to prepend, insert and move items in the menu.
1141
1142 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1143
1144         * src/hildon-wizard-dialog.c:
1145
1146         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1147         button.
1148         (create_title): Update logical IDs and related code.
1149         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1150
1151         * src/hildon-wizard-dialog.h: Note that
1152         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1153         point, as it is not used anymore.
1154
1155         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1156
1157 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1158
1159         * src/hildon-note.c:
1160         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1161         shown.  Do not display an icon in confirmation notes nor information
1162         notes.
1163         (hildon_note_set_button_text): Update logical ID for cancel button.
1164
1165         Fixes: NB#88850 (Update HildonNote button strings + signals)
1166
1167 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1168
1169         * src/hildon-stackable-window.c
1170         (hildon_stackable_window_set_main_menu): Fix compilation warning.
1171
1172 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1173
1174         * src/hildon-app-menu-private.h
1175         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1176         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1177         (hildon_app_menu_init, hildon_app_menu_class_init): Added
1178         temporary property 'columns' to change the number of columns.
1179
1180 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1181
1182         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1183
1184         * examples/hildon-note-example.c: (on_information_clicked),
1185         (on_confirmation_clicked), (on_progress_clicked), (main): Add
1186         debugging information.
1187         * src/hildon-note-private.h: Remove close_if_pressed_outside,
1188         not needed anymore.
1189         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1190         (hildon_note_rebuild): Remove special handling of tapping outside/inside
1191         in order to close: this will be handled by the WM from now on.
1192
1193         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1194
1195 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1196
1197         * src/hildon-app-menu-private.h
1198         * src/hildon-app-menu.c
1199         (hildon_app_menu_append, hildon_app_menu_add_filter)
1200         (button_visibility_changed, hildon_app_menu_apply_style)
1201         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1202         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1203         layout everytime a button (item or filter) is shown or hidden.
1204
1205         * src/hildon-stackable-window.c
1206         (hildon_stackable_window_set_main_menu): Destroy the old menu when
1207         setting a new one.
1208
1209 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
1210
1211         * src/hildon-touch-selector.c:
1212         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1213         that the treeview inside the touch selector is in fremantle hildon mode
1214         * examples/hildon-date-button-example.c
1215         * examples/hildon-picker-button-multicolumn-example.c
1216         * examples/hildon-touch-selector-entry-example.c
1217         * examples/hildon-touch-selector-example.c
1218         * examples/hildon-time-button-example.c
1219         * examples/hildon-picker-button-example.c:
1220         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1221
1222 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
1223
1224         * examples/hildon-text-view-example.c: (main): Remove the
1225         gtkrc bits, now handled by the theme.
1226
1227 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
1228
1229         * src/hildon-picker-button.c (hildon_picker_button_set_active):
1230         Fix memory leak
1231
1232 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1233
1234         * po/Makefile.am: Install properly the mo files.
1235         * po/en_GB.po: Update translation, to ease testing purposes.
1236
1237 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1238
1239         * examples/hildon-picker-button-example.c: (main): Select an item
1240         in the selector before setting it to the button.
1241
1242 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1243
1244         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1245         Update button's value if the selector has an item active.
1246
1247         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1248         'value' with the selector)
1249
1250 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1251
1252         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1253         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1254         (hildon_picker_button_class_init): Plug the finalize method.
1255         (hildon_picker_button_set_selector): If there's a previously set
1256         selector, unref'it before setting a new one.
1257
1258         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1259         HildonTouchSelector)
1260
1261 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
1262
1263         * src/hildon-touch-selector-entry.c:
1264         (hildon_touch_selector_entry_changed): Check if there is no text
1265         selected before setting the entry text.
1266         Fixes: NB#88576
1267
1268 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1269
1270         * src/hildon-touch-selector.h
1271         * src/hildon-touch-selector.c
1272         (hildon_touch_selector_get_active)
1273         (hildon_touch_selector_set_active): New methods to set/get the
1274         index of the selected item.
1275
1276         * src/hildon-picker-button.h
1277         * src/hildon-picker-button.c
1278         (hildon_picker_button_get_active)
1279         (hildon_picker_button_set_active): New methods to set/get the
1280         index of the selected item.
1281
1282 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
1283
1284         * configure.ac: post-release version bump.
1285
1286 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
1287
1288         Release 2.1.10-1.
1289
1290         * configure.ac: Pre-release version bump.
1291         * debian/changelog: Updates.
1292         * debian/control: Add myself as maintainer and depend on l10n
1293         packages.
1294
1295 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1296
1297         * src/hildon-window.c
1298         (hildon_window_set_main_menu)
1299         * src/hildon-stackable-window.c
1300         (hildon_stackable_window_set_main_menu):
1301         Updated documentation.
1302
1303 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1304
1305         * src/hildon-date-selector.c (hildon_date_selector_finalize):
1306         Don't free selector->priv manually.
1307         Fixes: NB#88414
1308
1309 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
1310
1311         * src/hildon-gtk.c,
1312         (hildon_gtk_window_set_progress_indicator):
1313         * src/hildon-gtk.h: Added the new API
1314         hildon_gtk_window_set_progress_indicator, it changes the state of
1315         the window progress hint.
1316
1317 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
1318
1319         * src/hildon-button.c
1320         * src/hildon-stackable-window.c: Minor documentation updates.
1321
1322 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
1323
1324         * src/hildon-stackable-window.c: Updated documentation.
1325
1326 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
1327
1328         * src/hildon-defines.h: Update margins definitions
1329         to the Fremantle sizes.
1330         Fixes: NB#88364
1331
1332 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
1333
1334         * src/hildon-touch-selector.c,
1335         (_hildon_touch_selector_set_model): Cleaning the code after
1336         review, removed g_print and #if 0 from the code.
1337
1338 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1339
1340         * src/hildon-edit-toolbar.c: Update documentation.
1341
1342 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1343
1344         * src/hildon-check-button.h
1345         * src/hildon-check-button.c
1346         (hildon_check_button_set_label, hildon_check_button_get_label)
1347         * examples/hildon-check-button-example.c
1348         (button_clicked_cb):
1349         Removed deprecated methods.
1350
1351 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1352
1353         * src/hildon-text-view.c:
1354         Add sample code to the documentation.
1355
1356         * src/hildon-entry.h
1357         * src/hildon-text-view.h:
1358         Minor cosmetic changes.
1359
1360         * src/hildon-entry.c:
1361         Add sample code to the documentation.
1362         (hildon_entry_init, hildon_entry_refresh_contents):
1363         Don't allow NULL values in the placeholder.
1364
1365 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
1366
1367         * doc/hildon-docs.sgml
1368         * doc/hildon.types
1369         * examples/Makefile.am
1370         * examples/hildon-text-view-example.c
1371         * src/Makefile.am
1372         * src/hildon-text-view.c
1373         * src/hildon-text-view.h
1374         * src/hildon.h:
1375         New HildonTextView widget, with example.
1376
1377 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1378
1379         * po/POTFILES.in: Add missing files with translatable strings.
1380         Partially fixes NB#88287.
1381
1382 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1383
1384         * examples/hildon-pannable-area-example-2.c: (main): No need to
1385         set the cellrenderer height inside hildon touch lists, the theme does
1386         that for us.
1387
1388 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1389
1390         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1391         they are integrated in the theme.
1392
1393 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
1394
1395         * examples/hildon-entry-example.c: Update the example adding
1396         widgets to modify the text and the placeholder of the HildonEntry.
1397
1398         * src/hildon-entry.c: Show the placeholder everytime the widget
1399         is empty and loses the focus.
1400
1401 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
1402
1403         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1404
1405         * src/hildon-pannable-area.c,
1406         (hildon_pannable_area_size_request): Fixed bug in height
1407         requisition, avoid increasing size and add border twice.
1408
1409 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
1410
1411         * configure.ac: postrelease version bump.
1412
1413 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
1414
1415         Release 2.1.8-1.
1416
1417         * configure.ac: Prerelease version bump.
1418         * debian/changelog: update.
1419         * debian/rules: make -dbg package contain useful debugging symbols.
1420
1421 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1422
1423         * src/hildon-dialog.h
1424         * src/hildon-dialog.c
1425         (hildon_dialog_add_button, hildon_dialog_add_buttons):
1426         New methods to add buttons with finger size.
1427         (hildon_dialog_new_with_buttons):
1428         Create buttons with finger size.
1429
1430         * examples/hildon-dialog-example.c (main): Use HildonDialog
1431         methods to add buttons.
1432
1433 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1434
1435         * src/hildon-entry.c: Updated HildonButton documentation.
1436
1437 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1438
1439         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1440         button value label with (FALSE, FALSE) to prevent NB#88126 from
1441         being triggered.
1442
1443 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
1444
1445         * examples/hildon-pannable-area-example.c,
1446         (main): Removed examples panning a vbox inside a pannable
1447         area. Check bug NB#87965
1448
1449 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
1450
1451         Patch contributed by Kris Rietveld (kris@imendio.com)
1452
1453         * src/hildon-pannable-area.c,
1454         (hildon_pannable_area_get_topmost): replaced the get_geometry with
1455         get_size and get_position, this saves an X server roundtrip.
1456
1457 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
1458
1459         * doc/hildon-docs.sgml
1460         * doc/hildon.types
1461         * examples/Makefile.am
1462         * examples/hildon-entry-example.c
1463         * src/Makefile.am
1464         * src/hildon-entry.c
1465         * src/hildon-entry.h
1466         * src/hildon.h:
1467         New HildonEntry widget, with example.
1468
1469 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
1470
1471         * src/hildon-button.c (hildon_button_construct_child): Pack the
1472         image with expand == fill == FALSE. This is a workaround for a bug
1473         in GtkBox.
1474
1475 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
1476
1477         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1478         labels for the text column, to make it more look more dynamic.
1479
1480 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
1481
1482         * src/hildon-time-selector.c
1483         Define gettext auxiliar macro N_
1484         (_create_minutes_model)
1485         (_create_hours_model)
1486         (_create_ampm_model): use of strftime in order to fill the model
1487         * src/hildon-date-selector.c
1488         (hildon_date_selector_finalize):
1489         (_locales_init): remove the logic related to get the name of the months
1490         using nl_langinfo, as it is not required anymore
1491         (_create_day_model)
1492         (_create_year_model)
1493         (_create_month_model)
1494         (_update_day_model): use of strftime in order to fill the model properly
1495
1496
1497 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
1498
1499         * src/hildon-button.h
1500         * src/hildon-button.c (hildon_button_get_image): New method to
1501         retrieve the image.
1502
1503 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
1504
1505         * src/hildon-touch-selector.c:
1506         (hildon_touch_selector_remove_column): Remove from the correct parent
1507         and also remove the list element and free it.
1508         Fixes: NB#88049
1509
1510 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
1511
1512         * src/hildon-time-selector.c
1513         (_create_hours_model): change the range on 12h ampm format in order to use
1514         a 12-11 range instead of previous 01-12 range
1515         (hildon_time_selector_set_time): change the way to select the current time
1516         on 12h ampm format, due the change on the range
1517         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1518         Fixes: NB#88036
1519
1520 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
1521
1522         * src/hildon-touch-selector.c
1523         (hildon_date_touch_selector_get_selected): fix the selection mode check,
1524         in order to allow use this function on multiple row selection mode if
1525         the column is different that the first one
1526         Fixes: NB#88047
1527
1528 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
1529
1530         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1531         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1532
1533 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1534
1535         * src/hildon-date-selector.h: clean some comments, now on the .c
1536         * src/hildon-date-selector.c
1537         (hildon_date_selector_select_month): first implementation
1538         (hildon_date_selector_select_day): added documentation, reimplemented
1539         using hildon_date_selector_select_current_date to avoid repeat code
1540         Fixes: NB#88027
1541
1542 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
1543
1544         Reviewed interaction logic based on device experiences, refactored
1545         code.
1546
1547         * src/hildon-pannable-area.c,
1548         (hildon_pannable_area_class_init): Updated default vmax speed.
1549         (hildon_pannable_area_calculate_velocity): Added this function, it
1550         avoids duplicate valocity calculation. Adjusted calculation to
1551         avoid problems with zero dist events.
1552
1553         (hildon_pannable_area_motion_notify_cb): Now we use the
1554         calculate_velocity function.
1555
1556 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1557
1558         * src/hildon-date-selector.c
1559         (hildon_date_selector_select_current_date): fix the day range check
1560         as it failed using the last day of the current month
1561         Fixes NB#88023
1562
1563 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1564
1565         * src/hildon-touch-selector.c
1566         (hildon_touch_selector_get_num_columns): added a parameter validation
1567         Fixes: NB#88022
1568
1569 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
1570
1571         * examples/Makefile.am
1572         * examples/hildon-edit-toolbar-example.c: Example of the
1573         HildonEditToolbar widget.
1574
1575 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1576
1577         * configure.ac: postrelease version bump.
1578
1579 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1580
1581         Release 2.1.6-1.
1582
1583         * configure.ac: prerelease version bump.
1584         * debian/changelog: update.
1585
1586 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1587
1588         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1589         renderer to display stock icons in the touch list. Also, set the sizes
1590         to the recommended in the style guide.
1591
1592 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1593         * src/hildon-touch-selector.h
1594         (hildon_touch_selector_set_active_iter): renamed, now is
1595         hildon_touch_selector_select_iter
1596         (hildon_touch_selector_get_active_iter): renamed, now is
1597         hildon_touch_selector_get_selected
1598         (hildon_touch_selector_unselect_iter): added
1599         * src/hildon-touch-selector.c
1600         Update after API modification (methods renamed)
1601         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1602         order to avoid problems selecting multiple elements on the column
1603         (hildon_touch_selector_unselect_iter): added the implementation
1604         * src/hildon-time-selector.c
1605         * src/hildon-date-selector.c
1606         * src/hildon-touch-selector-entry.c
1607         Update methods calls after hildon-touch-selector.h API modification (methods
1608         renamed)
1609
1610 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
1611
1612         * src/hildon-stackable-window.c
1613         (hildon_stackable_window_finalize): Call the parent class's finalize.
1614
1615 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1616
1617         * examples/hildon-touch-selector-example.c: (create_selector): Use
1618         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1619         cell height.
1620
1621 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1622
1623         * examples/hildon-touch-selector-example.c: (create_selector): Do not
1624         set a cell background color, to respect theming.
1625
1626 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
1627
1628         * doc/hildon-docs.sgml
1629         * doc/hildon.types
1630         * src/Makefile.am
1631         * src/hildon-edit-toolbar.c
1632         * src/hildon-edit-toolbar.h
1633         * src/hildon.h: New HildonEditToolbar widget.
1634
1635 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
1636
1637         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1638         extra GtkVBox.
1639
1640 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1641         * src/hildon-touch-selector.c
1642         (_create_new_column): use g_object_set instead of two g_object_set_property
1643
1644 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1645         * src/hildon-touch-selector.c
1646         (_create_new_column): use of hildon_gtk_tree_view_new to create
1647         the treeview, instead of use directly g_object_new
1648         (_create_new_column): update the property name "vindicator-mode" for the
1649         new one "vscrollbar-policy"
1650         * examples/hildon-date-button-example.c
1651         * examples/hildon-picker-button-multicolumn-example.c
1652         * examples/hildon-touch-selector-entry-example.c
1653         * examples/hildon-touch-selector-example.c
1654         * examples/hildon-time-button-example.c
1655         * examples/hildon-picker-button-example.c
1656         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1657         to all the treeviews inside a pannable area.
1658
1659 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
1660
1661         * src/hildon-button.h
1662         * src/hildon-button.c (hildon_button_init)
1663         (hildon_button_set_arrangement, hildon_button_set_alignment)
1664         (hildon_button_set_title_alignment)
1665         (hildon_button_set_value_alignment)
1666         (hildon_button_set_image_alignment)
1667         (hildon_button_construct_child): New methods to set the alignment
1668         of the individual components of the button (title, value,
1669         image). Also, new method to alter the xscale and yscale properties
1670         of the GtkAlignment inside the button, so more complex layouts can
1671         be created.
1672
1673 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
1674
1675         * src/hildon-button.c (hildon_button_style_set)
1676         (hildon_button_class_init, hildon_button_set_arrangement)
1677         (hildon_button_construct_child): Apply style properties
1678         correctly. Use the 'image-spacing' style property too.
1679
1680 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
1681
1682         * src/hildon-app-menu.c (hildon_app_menu_style_set)
1683         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1684         correctly.
1685
1686 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
1687
1688         * src/hildon-pannable-area.c,
1689         (hildon_pannable_area_size_request): Fixed problem with
1690         pannable-area size_request.
1691
1692 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
1693
1694         Added management for the grab-focus to a child widget, like a
1695         range, we need to fade out the scrollbar when releasing.
1696
1697         * src/hildon-pannable-area.c,
1698         (hildon_pannable_area_init): Connected the grab-focus signal to
1699         the callback.
1700         (hildon_pannable_area_grab_notify): Added this function in order
1701         to manage the situation when the grab-focus ends. We have to
1702         fade-out the scrollbar.
1703
1704 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
1705
1706         * src/hildon-app-menu.c: Minor documentation update.
1707
1708 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
1709
1710         * src/hildon-app-menu.c
1711         * examples/hildon-app-menu-example.c (create_menu): Update
1712         examples and documentation to explain how to connect callbacks.
1713
1714 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
1715
1716         * examples/hildon-button-example.c
1717         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1718         hildon_stackable_window_new instead of gtk_window_new
1719
1720 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
1721
1722         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1723         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1724         (hildon_pannable_area_set_property),
1725         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1726         (hildon_pannable_area_unrealize),
1727         (hildon_pannable_area_size_request),
1728         (hildon_pannable_area_size_allocate),
1729         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1730         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1731         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1732         (hildon_pannable_area_initial_effect),
1733         (hildon_pannable_area_redraw),
1734         (hildon_pannable_area_scroll_indicator_fade),
1735         (hildon_pannable_area_expose_event),
1736         (hildon_pannable_area_get_topmost), (synth_crossing),
1737         (hildon_pannable_area_button_press_cb),
1738         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1739         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1740         (hildon_pannable_area_motion_notify_cb),
1741         (hildon_pannable_area_button_release_cb),
1742         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1743         (hildon_pannable_area_remove),
1744         (hildon_pannable_calculate_vel_factor): Widget refactorization,
1745         chage the code layout to a more GtkWidget like. Review the use of
1746         variables.
1747
1748 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
1749
1750         * examples/hildon-pannable-area-example-4.c,
1751         (main): Modified the name of the hindicator_mode to
1752         hscrollbar_visible
1753
1754         * src/hildon-pannable-area.c,
1755         (hildon_pannable_area_class_init),
1756         (hildon_pannable_area_motion_notify_cb),
1757         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1758         we have reduced the amount of signals and managed reviewed its
1759         rationale. Changed the default decelerate value.
1760
1761         (hildon_pannable_area_add),
1762         (hildon_pannable_area_redraw): Refactored functions.
1763
1764         (hildon_pannable_area_init),
1765         (hildon_pannable_area_get_property),
1766         (hildon_pannable_area_set_property):
1767         (hildon_pannable_draw_vscroll),
1768         (hildon_pannable_draw_hscroll),
1769         (hildon_pannable_area_initial_effect),
1770         (hildon_pannable_area_expose_event),
1771         (hildon_pannable_area_scroll),
1772         (hildon_pannable_area_button_press_cb),
1773         (hildon_pannable_area_realize): Replaced the names hindicator_mode
1774         and vindicator_mode with hscrollbar_policy and
1775         vscrollbar_policy. Replaced hscroll and vscroll with
1776         hscroll_visible and vscroll_visible.
1777
1778         (hildon_pannable_area_refresh): Refactor the function, remove
1779         variables and check the calls to this function, added resize
1780         conditions in case the children change their layout.
1781
1782         (hildon_pannable_area_size_request): Added more detailed
1783         size_request calculation.
1784
1785
1786 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
1787
1788         * src/hildon-color-chooser.c
1789         (init_borders): use the correct gtk_border_free instead of g_free, to
1790         avoid a crash when this widget is used (ie: the three color selection
1791         examples)
1792
1793 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
1794
1795         * src/hildon-check-button.c,
1796         (hildon_check_button_set_active): Fixed problem when setting the
1797         active value, the widget was not redrawn.
1798
1799 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
1800
1801         * src/hildon-pannable-area.c,
1802         (hildon_pannable_area_refresh),
1803         (hildon_pannable_area_scroll),
1804         (hildon_pannable_area_motion_notify_cb): Small code style change.
1805
1806         (hildon_pannable_area_class_init): Default initial_hint set to
1807         FALSE, it is not in the specs.
1808
1809         (hildon_pannable_area_initial_effect),
1810         (hildon_pannable_area_expose_event),
1811         (hildon_pannable_area_map),
1812         (hildon_pannable_area_init): Moved the launching point of the
1813         initial effect, it was in map but the sizes where not correct in
1814         that method so we do not know if we have the reproduce it. Now it
1815         is placed in the expose_event method and uses a variable to
1816         reproduce it just once.
1817
1818 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1819
1820         * src/hildon-pannable-area.c,
1821         (hildon_pannable_draw_vscroll),
1822         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1823         position allowed for the scrollbars.
1824
1825         (hildon_pannable_area_size_allocate): Small style change.
1826
1827 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1828
1829         * src/hildon-pannable-area.c,
1830         (hildon_pannable_area_scroll_indicator_fade),
1831         (hildon_pannable_area_button_press_cb),
1832         (hildon_pannable_area_button_release_cb),
1833         (hildon_pannable_area_scroll_cb),
1834         (hildon_pannable_area_expose_event),
1835         (hildon_pannable_area_init): Added the define parameter
1836         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1837         and refactor the fade variable.
1838
1839 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1840
1841         * src/hildon-pannable-area.c,
1842         (hildon_pannable_area_redraw),
1843         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1844         lines, we were reimplemeting the redraw code.
1845
1846 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
1847
1848         * src/hildon-pannable-area.c,
1849         (hildon_pannable_area_scroll_cb),
1850         (hildon_pannable_area_realize),
1851         (hildon_pannable_area_class_init): Added scroll_event management
1852         for pannable area, now we can scroll the usual desktop method.
1853
1854         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1855         initialization of the parameters should depend on idle_id.
1856
1857         (hildon_pannable_area_init),
1858         (hildon_pannable_area_map): Small code style modifications
1859
1860 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
1861
1862         * src/hildon-pannable-area.c
1863         (hildon_pannable_area_button_press_cb),
1864         (hildon_pannable_area_motion_notify_cb),
1865         (hildon_pannable_area_button_release_cb),
1866         (hildon_pannable_area_size_allocate),
1867         (hildon_pannable_area_scroll_to): Improved the timeouts
1868         management, we avoid creating them each time.
1869
1870 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
1871
1872         * src/hildon-pannable-area.c:
1873         (hildon_pannable_area_refresh),
1874         (hildon_pannable_area_motion_notify_cb),
1875         (hildon_pannable_area_class_init):
1876         * src/hildon-pannable-area.h:
1877         * src/hildon-touch-selector.c
1878         (_create_new_column):
1879         * examples/hildon-pannable-area-example-4.c:
1880         (horizontal_movement),
1881         (vertical_movement),
1882         (main):
1883         Replaced the names of enums in the HildonPannableArea:
1884            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
1885               HILDON_MOVEMENT_MODE_*
1886            -  HILDON_PANNABLE_AREA_MOV_* ->
1887               HILDON_MOVEMENT_*
1888            - Removed HildonPannableAreaIndicatorMode, now we
1889              use GtkPolicyType
1890
1891 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1892
1893         * examples/hildon-pannable-area-touch-grid-example.c
1894         * examples/hildon-pannable-area-touch-list-example.c: Fix
1895         compilation warnings.
1896
1897 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1898
1899         * src/hildon-gtk.c (hildon_gtk_button_new)
1900         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1901         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1902         images overriding the value of the "gtk-button-images" setting.
1903
1904 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1905
1906         * src/hildon-check-button.c (hildon_check_button_new):
1907         Instead of using a custom container, display the label and the
1908         checkbox using the standard GtkButton API.
1909
1910         * examples/hildon-check-button-example.c (main): Don't use
1911         hildon_check_button_set_label() anymore
1912
1913         * src/hildon-check-button.h
1914         * src/hildon-check-button.c
1915         (hildon_check_button_set_label, hildon_check_button_get_label):
1916         Set as deprecated, now we're using gtk_button_{get,set}_label()
1917
1918 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
1919
1920         * src/hildon-pannable-area.c,
1921         (hildon_pannable_area_get_topmost): Fixed bug with click in the
1922         GtkTreeview first line we detected it after the inclusion of the
1923         GtkWindowImpl in gtk+. We now check if the window is visible, not
1924         just if the pointer is over the window.
1925         (hildon_pannable_axis_scroll),
1926         (hildon_pannable_area_expose_event): Small style changes.
1927
1928 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
1929
1930         * src/hildon-button.c: Update documentation.
1931
1932 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
1933
1934         * examples/hildon-button-example.c: Add a switch to show images in
1935         the buttons.
1936
1937 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
1938
1939         * doc/hildon-docs.sgml: Some docs reorganization.
1940
1941 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1942
1943         * examples/hildon-pannable-area-touch-list-example.c
1944         (create_tree_view)
1945         * examples/hildon-pannable-area-touch-grid-example.c
1946         (create_icon_view): Use gtk_{tree,icon}_view_new() and
1947         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1948         Fix memory leak when setting the tree model.
1949
1950 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1951
1952         Released 2.1.4
1953
1954 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
1955
1956         * doc/hildon.types: Remove duplicated hildon_window_get_type
1957         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1958         documentation comment.
1959
1960 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1961
1962         * doc/Makefile.am: Complete list of private headers.
1963
1964 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1965
1966         * doc/hildon-docs.sgml
1967         * src/hildon-app-menu.c
1968         * src/hildon-bread-crumb.c
1969         * src/hildon-button.c
1970         * src/hildon-gtk.c
1971         * src/hildon-program.c
1972         * src/hildon-stackable-window.c
1973         * src/hildon-window.c: Lots of documentation updates.
1974
1975 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1976
1977         * debian/control: Depend on Gtk 2:2.12.9-0osso3
1978
1979         * configure.ac: Require Gtk+ 2.12.9 at least
1980
1981 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
1982
1983         * src/hildon-pannable-area.c
1984         (hildon_pannable_area_scroll_indicator_fade),
1985         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1986         to protect the return of this timeout callbacks, avoiding deadlocks.
1987
1988 2008-08-12  Christian Dywan  <christian@imendio.com>
1989
1990         * src/hildon-*.c
1991         * src/hildon-*.h: Ensure a consistent include order,
1992         include <gtk/gtk.h> instead of particular files and
1993         only include the topmost header in the gtk stack. See NB #39857
1994
1995 2008-08-12  Christian Dywan  <christian@imendio.com>
1996
1997         * src/hildon-picker-dialog.c
1998         * src/hildon-touch-selector.c: Fix warnings about unused and
1999         uninitialized variables.
2000
2001 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2002
2003         * examples/Makefile.am
2004         * examples/hildon-check-button-example.c: Example of the hildon
2005         check button.
2006
2007 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2008
2009         * src/hildon-window.h
2010         * src/hildon-window.c (hildon_window_class_init)
2011         (hildon_window_unset_program): Don't make
2012         hildon_window_unset_program a virtual function anymore.
2013
2014         * src/hildon-stackable-window.c: Update documentation
2015
2016 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2017
2018         * doc/Makefile.am
2019         * doc/hildon-docs.sgml
2020         * doc/visual_index.xml
2021         * src/hildon-defines.c
2022         * src/hildon-gtk.c
2023         * src/hildon-helper.c
2024         * src/hildon-range-editor.c: Lots of documentation fixes.
2025
2026 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2027
2028         * examples/hildon-picker-button-multicolumn-example.c
2029         (create_touch_selector): Fix compilation warning.
2030
2031 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2032
2033         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2034         (hildon_pannable_area_button_release_cb)
2035         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2036
2037 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2038
2039         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2040         assertion.
2041
2042 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2043
2044         * src/hildon-bread-crumb-trail.h
2045         * src/hildon-date-editor.c
2046         * src/hildon-date-selector.c
2047         * src/hildon-pannable-area.c
2048         * src/hildon-picker-dialog.c
2049         * src/hildon-time-selector.c
2050         * src/hildon-touch-selector-entry.c
2051         * src/hildon-touch-selector.c
2052         * src/hildon-touch-selector.h: Misc documentation fixes
2053
2054 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2055
2056         * examples/hildon-date-editor-example.c (main): Updated date
2057         editor example.
2058
2059         * examples/hildon-note-example.c (on_confirmation_clicked):
2060         Updated confirmation note example.
2061
2062         * src/hildon-date-editor.c
2063         * src/hildon-note.c: Updated sample programs in documentation.
2064         Fixes: NB#87437
2065
2066 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
2067
2068         * src/hildon-date-button.h:
2069         * src/hildon-picker-button.h:
2070         * src/hildon-time-button.c:
2071         * src/hildon-time-button.h:
2072
2073         Some declarations changes to allow gtk-doc to document the widgets
2074         properly.
2075
2076 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
2077
2078         * src/hildon-date-button.c: Document the widget.
2079         * src/hildon-time-button.c: Document the widget.
2080
2081 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
2082
2083         * src/hildon-picker-button.c: Document the widget.
2084         * src/hildon-touch-selector-entry.c: Document the widget.
2085
2086 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2087
2088         * doc/hildon-docs.sgml
2089         * src/Makefile.am
2090         * src/hildon.h
2091         * src/hildon-check-button.h
2092         * src/hildon-check-button.c: New functions to create the Hildon
2093         Touch Checkbox.
2094
2095         * src/hildon-gtk.h
2096         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2097
2098 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2099
2100         * src/hildon-button.h
2101         * src/hildon-button.c
2102         (hildon_button_add_title_size_group)
2103         (hildon_button_add_value_size_group)
2104         (hildon_button_add_image_size_group)
2105         (hildon_button_add_size_groups): New functions to set size groups
2106         for the button labels and image.
2107         (hildon_button_new_full): Removed
2108
2109 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
2110
2111         * src/hildon-time-selector.c
2112         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2113         in order to avoid a crash if gconf is not available
2114
2115 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2116
2117         * src/hildon-button.c (hildon_button_set_arrangement)
2118         (hildon_button_construct_child): Don't construct the button child
2119         before setting the arrangement.
2120
2121 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2122
2123         * src/hildon-program-private.h
2124         * src/hildon-program.c
2125         * src/hildon-program.h
2126         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2127         (hildon_program_peek_window_stack)
2128         (hildon_program_pop_window_stack)
2129         (hildon_program_go_to_root_window): HildonProgram now has a
2130         separate list for stackable windows. Functions are provided to
2131         manage that list with a stack-like API.
2132
2133         * src/hildon-stackable-window.c: Stackable window management is
2134         now much simpler with the new HildonProgram API. Windows no
2135         longer need to be manually added to the program, they're
2136         automatically pushed to the top of the stack when shown.
2137
2138         * examples/hildon-stackable-window-example.c: Updated example to
2139         reflect the API changes.
2140
2141 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
2142
2143         * src/hildon-touch-selector.c: Comment out unimplemented
2144         hildon_touch_selector_insert_column() to avoid a compile warning.
2145
2146 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
2147
2148         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2149         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2150         (hildon_touch_selector_set_column_selection_mode),
2151         (_hildon_touch_selector_set_model),
2152         (hildon_touch_selector_set_model):
2153
2154         Complete review of HildonTouchSelector documentation.
2155
2156 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2157
2158         * doc/hildon-docs.sgml
2159         * src/Makefile.am
2160         * src/hildon.h
2161         * src/hildon-gtk.h
2162         * src/hildon-gtk.c: Convenience functions for standard Gtk
2163         widgets, used to easily perform frequent operations.
2164
2165         * src/hildon-button-helpers.h
2166         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2167
2168         * src/hildon-helper.h
2169         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2170         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2171
2172         * src/hildon-button.h
2173         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2174
2175 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2176
2177         * src/hildon-button.c (hildon_button_init)
2178         (hildon_button_set_arrangement, hildon_button_construct_child):
2179         Pack the image and the labels inside the same GtkAlignment so
2180         gtk_button_set_alignment() can be used
2181
2182 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2183
2184         * src/hildon-button.h
2185         * src/hildon-button.c
2186         (hildon_button_init, hildon_button_set_image)
2187         (hildon_button_set_image_position)
2188         (hildon_button_construct_child): New functions to add an image to
2189         the HildonButton.
2190
2191 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2192
2193         * src/hildon-date-button.c
2194         * src/hildon-picker-button.c
2195         * src/hildon-time-button.c
2196         * src/hildon-button.c:
2197         (hildon_button_class_init): "size-flags" renamed to "size"
2198         (hildon_button_set_title): Hide the title label if set to NULL.
2199
2200 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2201
2202         HildonButtonFlags split into HildonButtonArrangement (to set the
2203         button layout) and HildonSizeType (which can be used for any
2204         widget).
2205
2206         * src/hildon-button.h
2207         * src/hildon-button.c
2208         (hildon_button_class_init)
2209         (hildon_button_set_arrangement)
2210         (hildon_button_set_property): New "size-flags"
2211         property. "arrangement-flags" renamed to "arrangement".
2212         (hildon_button_new, hildon_button_new_with_text)
2213         (hildon_button_new_full): Constructors updated to reflect type changes.
2214
2215         * src/hildon-helper.h
2216         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2217         to set the size of a widget.
2218
2219         * src/Makefile.am
2220         * src/hildon.h
2221         * src/hildon-button-helpers.c
2222         * src/hildon-button-helpers.h: New hildon-button-helpers module.
2223
2224         * src/hildon-date-button.c
2225         * src/hildon-date-button.h
2226         * src/hildon-picker-button.c
2227         * src/hildon-picker-button.h
2228         * src/hildon-time-button.c
2229         * src/hildon-time-button.h: Updated widgets to reflect
2230         HildonButton API changes.
2231
2232         * examples/hildon-button-example.c
2233         * examples/hildon-date-button-example.c
2234         * examples/hildon-picker-button-example.c
2235         * examples/hildon-picker-button-multicolumn-example.c
2236         * examples/hildon-time-button-example.c
2237         * examples/hildon-touch-selector-entry-example.c
2238         * examples/hildon-touch-selector-example.c: Updated examples to
2239         reflect HildonButton API changes.
2240
2241 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2242
2243         * doc/hildon-docs.sgml:
2244         * doc/hildon.types:
2245         * examples/Makefile.am:
2246         * examples/hildon-touch-selector-entry-example.c:
2247         * src/Makefile.am:
2248         * src/hildon-touch-selector-entry.c:
2249         * src/hildon-touch-selector-entry.h:
2250         * src/hildon.h:
2251
2252         Moved HildonTouchSelectorEntry from sandbox. Added its
2253         documentation and examples.
2254
2255 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2256
2257         * src/hildon-touch-selector.h:
2258         * examples/hildon-picker-button-multicolumn-example.c:
2259         (hildon_touch_selector_append_text_column): Add a gboolean
2260         parameter to determine if text must be centered in the column.
2261
2262         * src/hildon-date-selector.c: (hildon_date_selector_init):
2263         * src/hildon-time-selector.c: (hildon_time_selector_init):
2264         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2265         (create_touch_selector): Update widgets and example to reflect
2266         the API change.
2267
2268 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2269
2270         * src/hildon-touch-selector.c:
2271         (hildon_touch_selector_set_active_iter): Set also the cursor in
2272         the active row.
2273
2274 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
2275
2276         * doc/hildon-docs.sgml
2277         * doc/hildon.types
2278         * src/Makefile.am
2279         * src/hildon-toggle-button.c
2280         * src/hildon-toggle-button.h
2281         * src/hildon.h: Removed HildonToggleButton widget, a derived
2282         class is not necessary for this.
2283
2284 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
2285
2286         * src/hildon-pannable-area.c,
2287         (hildon_pannable_area_realize),
2288         (hildon_pannable_area_size_allocate): Code refactoring, add tests
2289         for negative sizes.
2290
2291 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
2292
2293         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2294         "done" button the default widget for the dialog.
2295
2296 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2297
2298         * src/hildon-touch-selector.c:
2299         (hildon_touch_selector_class_init),
2300         (hildon_touch_selector_get_property),
2301         (_hildon_touch_selector_set_model),
2302         (_hildon_touch_selector_has_multiple_selection),
2303         (hildon_touch_selector_has_multiple_selection):
2304         Add a "has-multiple-selection" property with a virtual
2305         has_multiple_selection() method to allow derived classes to
2306         override the default value for it. See the method and property
2307         documentation for details.
2308
2309         * src/hildon-touch-selector.h: Add the new API.
2310
2311         * src/hildon-picker-dialog.c: (requires_done_button): Call
2312         hildon_touch_selector_has_multiple_selection() instead of
2313         determining the need for a button itself.
2314
2315 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2316
2317         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2318         (_hildon_touch_selector_set_model),
2319         (hildon_touch_selector_set_model): Move working code to
2320         _hildon_touch_selector_set_mode(). Call the class method instead.
2321
2322         * src/hildon-touch-selector.h: Add (*set_model) to
2323         HildonTouchSelectorClass.
2324
2325         Make hildon_touch_selector_set_model() a virtual method, so that
2326         derived classes can extend it and do fancy stuff with the model.
2327
2328 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2329
2330         * configure.ac: Set back the tarname in AC_INIT to hildon.
2331
2332 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2333
2334         Release 2.1.3
2335
2336         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2337         instead of libesd (NB#86876). Volume handling is still an open issue.
2338
2339         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2340         cleanups.
2341
2342 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
2343
2344         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2345         (hildon_touch_selector_append_column): Make the widget a GtkVBox
2346         derived class to ease placement of an entry widget in
2347         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2348         end, where the selector columns are packed now.
2349
2350 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
2351
2352         * src/hildon-picker-button.c: Removed the simple _text() API.
2353         * src/hildon-picker-button.h: Likewise.
2354
2355         * src/hildon-touch-selector.h:
2356         * src/hildon-touch-selector.c:
2357         (hildon_touch_selector_new_text),
2358         (hildon_touch_selector_append_text),
2359         (hildon_touch_selector_prepend_text),
2360         (hildon_touch_selector_insert_text):
2361
2362         Moved the simple _text() API from HildonPickerButton to
2363         HildonTouchPicker, to provide better escalability and not to tie
2364         that API to HildonPickerButton.
2365
2366         * examples/hildon-picker-button-example.c: (main): Example updated.
2367
2368 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2369
2370         * src/hildon-button.c: Updated documentation.
2371
2372         * examples/hildon-button-example.c: Add the posibility to create
2373         the buttons using horizontal layout for title and value.
2374
2375 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2376
2377         * src/hildon-app-menu-private.h
2378         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2379         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2380         GtkSizeGroup for the filters, use the 'homogeneous' property of
2381         the box instead.
2382
2383 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2384
2385         * examples/hildon-button-example.c: Updated example.
2386
2387 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
2388
2389         * doc/hildon-docs.sgml:
2390         * doc/hildon.types:
2391
2392         Update documentation.
2393
2394         * examples/Makefile.am: Update renamed examples.
2395
2396         * examples/hildon-picker-button-multicolumn-example.c:
2397         (create_touch_selector), (main): Update after the rename.
2398
2399         * examples/hildon-touch-picker-example.c: Removed.
2400         * examples/hildon-touch-selector-example.c: (value_changed),
2401         (create_selector), (get_visible_content), (main): Renamed from
2402         hildon-touch-picker-example.c
2403
2404         * src/Makefile.am: Updated renamed files.
2405
2406         * src/hildon-date-button.c: (hildon_date_button_init),
2407         (hildon_date_button_get_date), (hildon_date_button_set_date):
2408         * src/hildon-date-selector.c: (hildon_date_selector_init),
2409         (_custom_print_func), (_update_day_model),
2410         (_manage_selector_change_cb),
2411         (hildon_date_selector_select_current_date),
2412         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2413         * src/hildon-date-selector.h:
2414         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2415         (hildon_picker_button_set_property),
2416         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2417         (hildon_picker_button_init), (hildon_picker_button_new_text),
2418         (hildon_picker_button_append_text),
2419         (hildon_picker_button_prepend_text),
2420         (hildon_picker_button_insert_text),
2421         (hildon_picker_button_set_selector),
2422         (hildon_picker_button_get_selector):
2423         * src/hildon-picker-button.h:
2424         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2425         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2426         (_update_title_on_selector_changed_cb), (requires_done_button),
2427         (_hildon_picker_dialog_set_selector),
2428         (hildon_picker_dialog_set_selector),
2429         (hildon_picker_dialog_get_selector):
2430         * src/hildon-picker-dialog.h:
2431         * src/hildon-time-button.c: (hildon_time_button_init),
2432         (hildon_time_button_get_time), (hildon_time_button_set_time):
2433         * src/hildon-time-selector.c: (hildon_time_selector_init),
2434         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2435         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2436         * src/hildon-time-selector.h:
2437         * src/hildon.h:
2438
2439         Massive code updates after the rename.
2440
2441         * src/hildon-touch-picker.c: Removed.
2442         * src/hildon-touch-picker.h: Removed.
2443
2444         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2445         (hildon_touch_selector_init), (hildon_touch_selector_map),
2446         (hildon_touch_selector_remove), (_default_print_func),
2447         (_selection_changed_cb), (_create_new_column),
2448         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2449         (hildon_touch_selector_append_text_column),
2450         (hildon_touch_selector_remove_column),
2451         (hildon_touch_selector_set_column_attributes),
2452         (hildon_touch_selector_insert_column),
2453         (hildon_touch_selector_get_num_columns),
2454         (hildon_touch_selector_get_column_selection_mode),
2455         (hildon_touch_selector_set_column_selection_mode),
2456         (hildon_touch_selector_set_print_func),
2457         (hildon_touch_selector_get_print_func),
2458         (hildon_touch_selector_get_active_iter),
2459         (hildon_touch_selector_set_active_iter),
2460         (hildon_touch_selector_get_selected_rows),
2461         (hildon_touch_selector_get_model),
2462         (hildon_touch_selector_set_model),
2463         (hildon_touch_selector_get_current_text),
2464         (_hildon_touch_selector_center_on_selected_items):
2465         * src/hildon-touch-selector.h: Renamed from
2466         hildon-touch-picker.[ch]
2467
2468         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2469         references, code examples, and related documentation.
2470
2471 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
2472
2473         * doc/hildon-docs.sgml
2474         * doc/hildon.types
2475         * src/Makefile.am
2476         * src/hildon-toggle-button.c
2477         * src/hildon-toggle-button.h
2478         * src/hildon.h: New HildonToggleButton widget.
2479
2480 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
2481
2482         * src/hildon-button.c: Add API documentation.
2483         (hildon_button_set_size_groups): Check input parameters
2484
2485 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
2486
2487         * src/hildon-pannable-area.c
2488         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2489         effect after reaching the movement thredshold. This way we start
2490         using the distance after passing the thredshold.
2491
2492 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2493
2494         * src/hildon-button.c: (hildon_button_set_property): Use the
2495         appropriate g_value_get_flags() method.
2496
2497 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2498
2499         * doc/hildon-docs.sgml:
2500         * doc/hildon.types:
2501
2502          Add the touch pickers, picker dialogs, and picker button widgets
2503         to the documentation.
2504
2505 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2506
2507         * src/hildon-button.c: (hildon_button_set_property),
2508         (hildon_button_class_init): Make "arrangement-flags" a proper
2509         G_TYPE_FLAGS derived property.
2510
2511 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2512
2513         * examples/Makefile.am: Add below examples.
2514         * examples/hildon-date-button-example.c:
2515         * examples/hildon-picker-button-example.c:
2516         * examples/hildon-picker-button-multicolumn-example.c:
2517         * examples/hildon-time-button-example.c:
2518         * examples/hildon-touch-picker-example.c:
2519
2520         Add examples for the recently added touch pickers,
2521         picker dialogs, and picker button widgets.
2522
2523 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2524
2525         * src/hildon-button.c: Add some API documentation
2526
2527 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2528
2529         * src/hildon-button.h
2530         * src/hildon-button.c
2531         (hildon_button_new)
2532         (hildon_button_new_with_text): New constructor to create a button
2533         with no text at all.
2534         (hildon_button_init, hildon_button_set_arrangement)
2535         (hildon_button_set_title, hildon_button_set_value)
2536         (hildon_button_set_text)
2537         (hildon_button_construct_child): Hide the value when it's not used
2538         so the rest of the text is properly aligned.
2539         Allow creating buttons with arbitrary widgets inside (not just
2540         title/value labels).
2541
2542         * examples/hildon-button-example.c (vertical_buttons_window)
2543         (horizontal_buttons_window): Update example to use new API.
2544
2545 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2546
2547         * src/Makefile.am: Added HildonTimeButton.
2548         * src/hildon-time-button.c: Added missing LGPL header.
2549         * src/hildon-time-button.h: Added missing LGPL header.
2550         * src/hildon.h: Add hildon-time-button.h
2551
2552         Copied HildonTimeButton from sandbox to trunk. Future work on this
2553         widget must take place in trunk.
2554
2555 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2556
2557         * src/Makefile.am: Added HildonDateButton.
2558         * src/hildon-date-button.c: Update includes.
2559         * src/hildon.h: Add hildon-date-button.h
2560
2561         Copied HildonDateButton from sandbox to trunk. Future work on this
2562         widget must take place in trunk.
2563
2564 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2565
2566         * src/Makefile.am: Added HildonPickerButton.
2567         * src/hildon-picker-button.h: Update includes.
2568         * src/hildon.h: Add hildon-picker-button.h
2569
2570         Copied HildonPickerButton from sandbox to trunk. Future work on
2571         this widget must take place in trunk.
2572
2573 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2574
2575         * src/Makefile.am: Added HildonPickerDialog.
2576         * src/hildon-picker-dialog.c: Update includes.
2577         * src/hildon.h: Add hildon-picker-dialog.h
2578
2579         Copied HildonPickerDialog from sandbox to trunk. Future work
2580         on this widget must take place in trunk.
2581
2582 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2583
2584         * src/Makefile.am: Added HildonTimeSelector.
2585         * src/hildon.h: Add hildon-time-selector.h
2586
2587         Copied HildonTimeSelector widget from sandbox to trunk. Future
2588         work on this widget must happen in trunk.
2589
2590 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2591
2592         * src/Makefile.am: Added HildonDateSelector.
2593         * src/hildon.h: Add hildon-date-selector.h
2594
2595         Copied HildonDateSelector widget from sandbox to trunk.  Future
2596         work on this widget must happen in trunk.
2597
2598 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2599
2600         * src/Makefile.am: Added HildonTouchPicker.
2601         * src/hildon-touch-picker.c: Update includes.
2602         * src/hildon.h: Add hildon-touch-picker.h
2603
2604         Copied HildonTouchPicker widget from sandbox to trunk. Future work
2605         on this widget must happen in trunk.
2606
2607 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2608
2609         * src/hildon-pannable-area.c:
2610         (hildon_pannable_area_motion_notify_cb): Fix a typo.
2611
2612 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2613
2614         * examples/hildon-app-menu-example.c (main): Let the window
2615         destroy the menu.
2616
2617 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2618
2619         * src/hildon-pannable-area.c
2620         (hildon_pannable_area_class_init): Set the min value of the
2621         overshoot properties to zero, which points out that not
2622         overshooting allowed.
2623
2624 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2625
2626         Modified the procedure to get the widget at a point inside the
2627         pannable area when using the movement type signals. Now the user
2628         has to call a function to get the child, that way we just
2629         calculate the child in case the user really want to use it and not
2630         all the time.
2631
2632         * src/hildon-marshalers.list: Modified the marshallers, now we do
2633         not have the widget as a parameter.
2634
2635         * src/hildon-pannable-area.c
2636         (hildon_pannable_area_motion_notify_cb),
2637         (hildon_pannable_area_class_init),
2638         (hildon_pannable_get_child_widget_at):  Removed the widget
2639         parameter from the signal callback. We have also refactored the
2640         emission of the signals.
2641
2642         * src/hildon-pannable-area.h: Added a new method to the API to
2643         calculate a widget at a point inside the pannable area,
2644         hildon_pannable_get_child_widget_at.
2645
2646         * examples/hildon-pannable-area-example-4.c
2647         (horizontal_movement): Modified the example to use the new API,
2648         added condition to control which widget is under the event. This
2649         way we can avoid scrolling laterally over other widgets.
2650
2651 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2652
2653         * src/hildon-pannable-area.c
2654         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2655         modes, we stop getting the pointer events due to returning the
2656         callback without properly calling the get pointer again. Fixed
2657         also an error using the hscroll and vscroll.
2658
2659 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
2660
2661         * src/hildon-app-menu-private.h
2662         * src/hildon-app-menu.c (hildon_app_menu_button_press)
2663         (hildon_app_menu_button_release, hildon_app_menu_init)
2664         (hildon_app_menu_class_init): Don't hide the menu on button
2665         release if the user didn't press outside first.
2666
2667         * src/hildon-window.h
2668         * src/hildon-window.c (hildon_window_toggle_menu)
2669         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2670         hildon_window_toggle_menu a virtual function for the stackable
2671         window to override it.
2672
2673         * src/hildon-stackable-window.h
2674         * src/hildon-stackable-window-private.h
2675         * src/hildon-stackable-window.c
2676         (hildon_stackable_window_realize)
2677         (hildon_stackable_window_finalize)
2678         (hildon_stackable_window_class_init)
2679         (hildon_stackable_window_init)
2680         (hildon_stackable_window_set_main_menu): New function to set the
2681         app menu of a HildonStackableWindow.
2682
2683         * examples/hildon-app-menu-example.c: Remove the button to show
2684         the app menu, now it'll be shown when clicking on the title bar
2685         instead.
2686
2687 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
2688
2689         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2690         set the widget name if the arrangement flags do not specify
2691         a particular size.
2692
2693 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
2694
2695         * src/hildon-button.c: (hildon_button_set_property),
2696         (hildon_button_class_init), (hildon_button_new_full),
2697         (hildon_button_set_arrangement): Added "arrangement-flags"
2698         property.
2699
2700         Make the HildonButtonFlags a construction-only property, to allow
2701         subclasses to set them properly.
2702
2703 2008-07-21 Tim Janik  <timj@imendio.com>
2704
2705         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2706         insertion position after backspace, so additional digits are appended,
2707         fixes Bug #85874.
2708
2709 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
2710
2711         * src/hildon-pannable-area.c,
2712         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2713         TODO list, it was complete and removed the g_debug and g_print
2714         lines.
2715
2716 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
2717
2718         Added the movement modes to the hildon-pannable-area, with this
2719         modes the developers can control in which directions the widget
2720         can scroll. They can also connect to signals in order to do
2721         something when that happens, allowing applications scroll. There
2722         is an example uploaded showing how to use it.
2723
2724         * examples/Makefile.am:
2725         * examples/hildon-pannable-area-example-4.c: Added this example of
2726         an application using the modes.
2727
2728         * src/hildon-marshalers.list: Added a new marshaller for the new
2729         signals.
2730
2731         * src/hildon-pannable-area.h: Added new enumerations and flags in
2732         order to control the movement modes and the new signals to warn
2733         about the movements in the area.
2734
2735         * src/hildon-pannable-area.c:
2736         (hildon_pannable_axis_scroll),
2737         (hildon_pannable_area_scroll),
2738         (hildon_pannable_area_motion_notify_cb),
2739         (hildon_pannable_area_get_property),
2740         (hildon_pannable_area_set_property),
2741         (hildon_pannable_area_map),
2742         (hildon_pannable_area_class_init),
2743         (hildon_pannable_area_init),
2744         (hildon_pannable_area_jump_to): Added the modes to control the
2745         movement in the widget. We have added properties to control it,
2746         signals to warn about the movements and refactored some code.
2747
2748 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
2749
2750         Changes required in order to allow vfast_factor set to zero to
2751         work properly.
2752
2753         * src/hildon-pannable-area.c:
2754         (hildon_pannable_area_button_press_cb): Changed the condition, it
2755         is required for not allowing click when vfast_factor is zero.
2756         (hildon_pannable_area_timeout): Initialized velocity variables
2757         when we stop moving, it was less than 1 but not zero and we need
2758         to check zero in some situations.
2759         (hildon_pannable_area_class_init): Changed the default value of
2760         the speed factor, now the button_press is just sent in case the
2761         speed is 2 per cent of the max speed.
2762         (hildon_pannable_area_init): Initialization with 0.
2763
2764 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
2765
2766         * src/hildon-pannable-area.c,
2767         (hildon_pannable_area_get_topmost): replaced
2768         gdk_window_get_children with gdk_window_peek_children, this way we
2769         do not have to free the list because it is not a copy.
2770
2771         (hildon_pannable_axis_scroll),
2772         (hildon_pannable_area_scroll),
2773         (hildon_pannable_area_timeout),
2774         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2775         two parameters that were only used inside the
2776         hildon_pannable_area_scroll function.
2777
2778         * examples/hildon-pannable-area-example.c,
2779         (get_sawtooth_label): Fixed small memory leak.
2780
2781 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
2782
2783         More checks for the case where the overshoot is bigger than the
2784         size of the widget.
2785
2786         * src/hildon-pannable-area.c:
2787         (hildon_pannable_draw_vscroll),
2788         (hildon_pannable_draw_hscroll): with this new calculation we avoid
2789         to draw the slider of the scrollbar under the other scrollbar.
2790         (hildon_pannable_area_expose_event): added new checks to control
2791         the drawing of the overshooting area rectangle, in case it is too
2792         big for the area of the widget.
2793         (hildon_pannable_area_size_allocate): add more checks to avoid
2794         setting a position to the child widget outside the area.
2795
2796 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
2797
2798         * src/hildon-pannable-area.c
2799         (hildon_pannable_area_size_allocate): Added conditions to control
2800         when overshooting is bigger than the allocated space for the
2801         children, this avoids negative allocations.
2802
2803 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
2804
2805         * doc/hildon-docs.sgml
2806         * doc/hildon.types
2807         * examples/Makefile.am
2808         * examples/hildon-button-example.c
2809         * src/Makefile.am
2810         * src/hildon-button.c
2811         * src/hildon-button.h
2812         * src/hildon.h: Initial version of the new HildonButton widget,
2813         with examples.
2814
2815 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
2816
2817         * src/hildon-pannable-area.c:
2818         (hildon_pannable_area_button_press_cb),
2819         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2820         (hildon_pannable_area_motion_notify_cb),
2821         (hildon_pannable_area_button_release_cb),
2822         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2823         (hildon_pannable_area_jump_to_child):
2824
2825         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2826
2827 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
2828
2829         * examples/Makefile.am
2830         * examples/hildon-pannable-area-touch-grid-example.c
2831         * examples/hildon-pannable-area-touch-list-example.c: Examples of
2832         the Hildon Touch List and Hildon Touch Grid using the
2833         HildonPannableArea widget.
2834
2835 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2836
2837         * src/hildon-pannable-area.c,
2838         (hildon_pannable_area_button_press_cb),
2839         (hildon_pannable_area_refresh),
2840         (hildon_pannable_area_scroll),
2841         (hildon_pannable_area_motion_notify_cb),
2842         (hildon_pannable_area_button_release_cb),
2843         (hildon_pannable_area_expose_event),
2844         (hildon_pannable_area_add),
2845         (hildon_pannable_area_remove),
2846         (hildon_pannable_area_realize),
2847         (hildon_pannable_area_size_allocate),
2848         (hildon_pannable_area_class_init),
2849         (hildon_pannable_area_init),
2850         (hildon_pannable_area_scroll_to_child),
2851         (hildon_pannable_area_jump_to_child): Fixed the problem of
2852         removing the child from the GtkBin, we have rearranged the widget
2853         hierarchy, now there is no GtkAlignment which was not doing
2854         anything interesting but breaking some of the assumptions of
2855         GtkContainer. Now developers if they want to add a GtkAlignment
2856         they could, but it is not inside the area.
2857
2858         We had to review the whole allocation/expose process, now it is
2859         improved and we save at least three signals which would be saving
2860         some time when rendering the widget. The allocation of the
2861         scrollbars is now made in the allocate method as usual.
2862
2863         We have also added some conditions in order to control when there
2864         is no child of the pannable area. Maybe we will need more work
2865         here.
2866
2867 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2868
2869         * src/hildon-pannable-area.c,
2870         (hildon_pannable_area_dispose): Released the fade-out timeout when
2871         disposing the widget.
2872
2873 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2874
2875         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2876         zero, we are going to use that property in order to deactivate the
2877         overshooting
2878         (hildon_pannable_axis_scroll),
2879         (hildon_pannable_area_size_allocate): Added conditions to control
2880         when overshoot_max is zero. Moved the gtk_adjustment_set_value
2881         call, now it is called in all situations and we can remove calls
2882         in the allocate method.
2883         (hildon_pannable_area_map): Control the situation when
2884         overshoot_max is zero, we do not need the timeout.
2885         (hildon_pannable_area_class_init): Added documentation in order to
2886         point out that setting zero to overshoot_max means deactivate
2887         overshooting.
2888
2889         NOTE: removed trailing whitespaces from my previous comments of
2890         the Changelog.
2891
2892 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
2893
2894         * src/hildon-pannable-area.c
2895         (hildon_pannable_area_get_property),
2896         (hildon_pannable_area_set_property),
2897         (hildon_pannable_area_map),
2898         (hildon_pannable_area_class_init),
2899         (hildon_pannable_area_init): Add a boolean "initial-hint" property
2900         to cause the widget give a hint about its panning abilities upon
2901         realization.
2902
2903 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
2904
2905         * src/hildon-pannable-area.c: Several documentation improvements.
2906
2907 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
2908
2909         * src/hildon-program.c
2910         * src/hildon-stackable-window.c: Update documentation.
2911
2912 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
2913
2914         * src/hildon-stackable-window.c (get_previous_window_if_last):
2915         Renamed get_last_window()
2916         (hildon_stackable_window_map, hildon_stackable_window_unmap)
2917         (hildon_stackable_window_unset_program):
2918         Simplified code.
2919         (get_previous_window_if_last):
2920         Detect if the window hasn't been added to a HildonProgram.
2921
2922 2008-06-26  Alejandro G. Castro <alex@igalia.com>
2923
2924         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2925
2926         * src/hildon-pannable-area.c
2927         (hildon_pannable_area_button_press_cb),
2928         (hildon_pannable_axis_scroll),
2929         (hildon_pannable_area_scroll),
2930         (hildon_pannable_area_timeout),
2931         (hildon_pannable_calculate_vel_factor),
2932         (hildon_pannable_area_get_property),
2933         (hildon_pannable_area_set_property),
2934         (hildon_pannable_area_class_init),
2935         (hildon_pannable_area_init),
2936         (hildon_pannable_area_scroll_to),
2937         (hildon_pannable_area_jump_to),
2938         (hildon_pannable_area_scroll_to_child),
2939         (hildon_pannable_area_jump_to_child):
2940         * src/hildon-pannable-area.h: Added the new API functions:
2941         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2942         hildon_pannable_area_scroll_to_child,
2943         hildon_pannable_area_jump_to_child
2944
2945
2946         * examples/Makefile.am
2947         * examples/hildon-pannable-area-example-2.c
2948         * examples/hildon-pannable-area-example-3.c: Added these two new
2949         examples in order to test and show how the new APIs work.
2950
2951 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
2952
2953         * examples/hildon-stackable-window-example.c (new_window):
2954         * src/Makefile.am (noinst_HEADERS):
2955         * src/hildon-program.c (hildon_program_go_to_root_window):
2956         * src/hildon-program.h:
2957         * src/hildon-stackable-window-private.h:
2958         * src/hildon-stackable-window.c:
2959         * src/hildon-stackable-window.h:
2960         Create hildon-stackable-window-private.h
2961         Move hildon_stackable_window_go_to_root_window() to HildonProgram
2962
2963         * examples/hildon-app-menu-example.c (create_menu):
2964         * examples/hildon-hvolumebar-insensitive-example.c (main):
2965         * examples/hildon-hvolumebar-timer-example.c (on_idle):
2966         * examples/hildon-toolbar-seekbar-example.c (main):
2967         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2968         * src/hildon-banner.c (hildon_banner_set_property):
2969         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2970         Fix compilation warnings
2971
2972         * src/hildon-window.c:
2973         Fix typo in doc
2974
2975 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
2976
2977         * src/hildon-stackable-window.c
2978         (hildon_stackable_window_unset_program):
2979         Calculate correctly whether to show the previous window if the
2980         last one is removed from the stack.
2981         (hildon_stackable_window_go_to_root_window):
2982         Send delete events starting from the topmost window.
2983         Stop if one of the windows is not destroyed.
2984         Update doc.
2985         (hildon_stackable_window_delete_event)
2986         (hildon_stackable_window_class_init):
2987         Ignore the delete event if the window is not the topmost one.
2988
2989 2008-06-24  Alejandro G. Castro <alex@igalia.com>
2990
2991         * src/hildon-pannable-area.c
2992         (hildon_pannable_area_expose_event): Fixed a problem when
2993         selecting the background color of the scrollbars.
2994
2995 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
2996
2997         * examples/hildon-stackable-window-example.c
2998         * src/hildon-stackable-window.c
2999         * src/hildon-stackable-window.h
3000         hildon_stackable_window_go_home() renamed to
3001         hildon_stackable_window_go_to_root_window()
3002         Send delete events to windows rather than closing them with
3003         gtk_widget_destroy()
3004
3005 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
3006
3007         * src/hildon-pannable-area.c
3008         (hildon_pannable_area_button_release_cb): Fix overshooting in
3009         accel mode.
3010
3011 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
3012
3013         * src/hildon-pannable-area.c
3014         (hildon_pannable_area_init): Initially show the scroll indicators.
3015         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3016
3017         Add initial effect showing the widget is pannable.
3018
3019 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
3020
3021         * src/hildon-pannable-area.c
3022         (hildon_pannable_area_class_init)
3023         (hildon_pannable_area_set_property)
3024         (hildon_pannable_area_get_property)
3025         (hildon_pannable_area_button_press_cb):
3026         New 'velocity_fast_factor' property to decide which velocity is
3027         considered fast.
3028
3029 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
3030
3031         * src/hildon-pannable-area.c
3032         (hildon_pannable_draw_hscroll)
3033         (hildon_pannable_draw_vscroll):
3034         Use float variables to calculate the size of the scrollbars to
3035         avoid error propagation and resizing during scrolling.
3036
3037 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
3038
3039         * src/hildon-pannable-area.c
3040         (hildon_pannable_draw_vscroll)
3041         (hildon_pannable_draw_hscroll):
3042         Define a minimum size for the scroll bars
3043
3044         * src/hildon-stackable-window.c
3045         (hildon_stackable_window_go_home): Fix compilation warning
3046         (get_last_window): Minor optimizations
3047         (hildon_stackable_window_class_init): Fix initialization of
3048         private structure.
3049
3050 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
3051
3052         * src/hildon-stackable-window.c: Fixed typos in doc
3053
3054 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
3055
3056         * src/hildon-pannable-area.c
3057         (hildon_pannable_area_scroll):
3058         Calculate here whether we need to scroll instead of using the booleans
3059         that tell us whether to /draw/ the scrolling bars.
3060
3061 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
3062
3063         * src/hildon-app-menu.h
3064         Update API.
3065         * src/hildon-app-menu.c
3066         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3067         multiple filter groups related code and API. Now we support only
3068         one filter group.
3069         * examples/hildon-app-menu-example.c:
3070         (create_menu):
3071         Update to reflect API changes.
3072
3073 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
3074
3075         * src/hildon-stackable-window.c
3076         (hildon_stackable_window_class_init):
3077         Add hildon_stackable_window_realize.
3078         (hildon_stackable_window_realize):
3079         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3080         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3081         to apply theming and behavior specific to HildonStackableWindow
3082         windows.
3083
3084 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
3085
3086         * src/hildon-note.c (hildon_note_button_release):
3087         Close information notes also when tapping on them
3088
3089 2008-06-12  Alejandro G. Castro <alex@igalia.com>
3090
3091         Added BOUNCE_STEPS define to control the overshoot effect. Removed
3092         ELASTICITY, refactor and review, fix some issues with drawing
3093         scrollbars.
3094
3095         * src/hildon-pannable-area.c:
3096         (hildon_pannable_area_button_press_cb): removed the conditions to
3097         avoid clicks when overshooting. It is not required
3098
3099         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3100         define. Refatored and reviewed the code, now we do not need to
3101         manage velocity in motion_notify.
3102
3103         (hildon_pannable_area_motion_notify_cb): We have moved the code
3104         that controls the area_scroll to the axis_scroll function and get
3105         rid of duplicated code.
3106
3107         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3108
3109         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3110
3111         (hildon_pannable_draw_vscroll),
3112         (hildon_pannable_draw_hscroll): Fixed the problems with the
3113         scrollbar drawing, now we do not use two surfaces, it is easier
3114         and saves resources.
3115
3116         (hildon_pannable_area_get_property): Style modification.
3117
3118         (hildon_pannable_area_class_init): Changed some default values.
3119
3120 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
3121
3122         * src/hildon-stackable-window.c: Fix some typos in the
3123         documentation.
3124
3125 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
3126
3127         * src/hildon-dialog.c:
3128         Change indentation style
3129
3130         * src/hildon-note.c
3131         (hildon_note_button_release):
3132         Use root coordinates to check if the release event happened
3133         outside the widget.
3134
3135         * src/hildon-app-menu.c
3136         (hildon_app_menu_button_release):
3137         Remove unnecessary check
3138
3139         * examples/hildon-app-menu-example.c
3140         (button_clicked):
3141         Add cast to fix warning
3142
3143         * src/hildon-app-menu.c
3144         (hildon_app_menu_class_init):
3145         New inner-border style property.
3146         Set all default spacings to 16
3147         (hildon_app_menu_init):
3148         Use vertical-spacing to set the space between filter buttons and
3149         regular menu buttons.
3150         Set the default container border using the inner-border value.
3151
3152         * examples/hildon-app-menu-example.c
3153         (create_menu):
3154         Don't set the menu border explicitly, now we have the inner-border
3155         style property for that.
3156
3157 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
3158
3159         * src/hildon-app-menu.c (hildon_app_menu_init):
3160         Make the window modal
3161
3162         * src/hildon-note.c (hildon_note_map)
3163         * src/hildon-app-menu.c (hildon_app_menu_map):
3164         Destroy the grab window if we're unable to grab the pointer
3165
3166         * src/hildon-app-menu-private.h
3167         * src/hildon-app-menu.c
3168         (hildon_app_menu_init, hildon_app_menu_finalize)
3169         (hildon_app_menu_map, hildon_app_menu_unmap)
3170         (hildon_app_menu_button_release)
3171         (grab_transfer_window_get):
3172         Bring back the grab window
3173         (hildon_app_menu_realize):
3174         Decorate the window, set WM hint for Matchbox
3175
3176         * src/hildon-note.c (hildon_note_realize):
3177         * src/hildon-banner.c (hildon_banner_realize):
3178         Add WM hints for Matchbox
3179
3180 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
3181
3182         * src/hildon-app-menu-private.h
3183         * src/hildon-app-menu.c
3184         (hildon_app_menu_init, hildon_app_menu_finalize)
3185         (hildon_app_menu_map, hildon_app_menu_unmap)
3186         (hildon_app_menu_button_release):
3187         Remove the grab window, it's not needed anymore
3188
3189         * src/hildon-program.c
3190         Fixed typo in documentation
3191
3192         * src/hildon-app-menu.h
3193         * src/hildon-app-menu.c
3194         * examples/hildon-app-menu-example.c
3195         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3196
3197 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
3198
3199         * src/hildon-note.c
3200         Added new transfer_window and close_if_pressed_outside private
3201         attributes.
3202         (hildon_note_rebuild):
3203         Don't add a cancel button to the information note. It will be
3204         closed when tapping outside
3205         Remove the comment about the OK button in the documentation
3206         (hildon_note_realize):
3207         Set the notification type hint
3208         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3209         Grab/ungrab pointer and keyboard if the note has to be closed when
3210         tapping outside
3211         (hildon_note_button_release):
3212         Close the note when tapping outside (if applicable)
3213
3214         * src/hildon-app-menu.c
3215         Grab/ungrab pointer and keyboard on map/unmap
3216         (hildon_app_menu_button_release, hildon_app_menu_class_init):
3217         Close the menu on button release, not button press
3218
3219         * src/hildon-banner.c
3220         (hildon_banner_set_property)
3221         (hildon_banner_check_position):
3222         Make the banner use the full width of the screen
3223         (hildon_banner_show_information)
3224         (hildon_banner_show_information_with_markup):
3225         Don't display an icon by default
3226
3227 2008-06-09  Alejandro G. Castro <alex@igalia.com>
3228
3229         Added fading scrollbars and adapted all the overshooting code to
3230         horizontal scrolling. We have also fixed bugs with overshooting
3231         and current fading implementation.
3232
3233         * src/hildon-pannable-area.c
3234         (hildon_pannable_area_scroll_indicator_fade): Time out function
3235         used to change the transparency of the scrollbars.
3236
3237         (hildon_pannable_area_button_press_cb): Added horizontal overshot
3238         control and fixed a problem with fading, we now remove the fade
3239         timeout before adding a new one.
3240
3241         (hildon_pannable_axis_scroll):
3242         (hildon_pannable_area_scroll):
3243         (hildon_pannable_area_timeout): Added this functions so we can use
3244         the scroll code both for vertical and horizontal.
3245
3246         (hildon_pannable_area_motion_notify_cb):
3247         (hildon_pannable_area_button_release_cb): Added the horizontal
3248         scrolling control, fixed a problem with the overshooting timeout.
3249
3250         (rgb_from_gdkcolor): Added this function, it is used in the cairo
3251         painting of the scrolls.
3252
3253         (hildon_pannable_draw_vscroll):
3254         (hildon_pannable_draw_hscroll):
3255         (hildon_pannable_area_expose_event):
3256         Draw both scrollbars and rectangles in the overshooting area.
3257
3258         (hildon_pannable_area_get_property):
3259         (hildon_pannable_area_set_property):
3260         Modified the overshoot property to overshoot_max
3261
3262         (hildon_pannable_area_map):
3263         Replaced the comments symbols.
3264
3265         (hildon_pannable_area_size_allocate):
3266         (hildon_pannable_area_class_init):
3267         (hildon_pannable_area_init): Added horizontal scroll, fading
3268         effect properties, fixed a problem when overshooting in the bottom
3269         of the widget.
3270
3271         * examples/hildon-pannable-area-example.c:
3272         (get_sawtooth_label): Now we use smaller sawtooths, the effect
3273         looks better in the example.
3274
3275 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
3276
3277         * src/hildon-window.c
3278         * src/hildon-window.h
3279         (hildon_window_class_init)
3280         (hildon_window_unset_program)
3281         (hildon_window_unset_program_real):
3282         Make unset_program a virtual function
3283
3284         * src/hildon-stackable-window.c
3285         * src/hildon-stackable-window.h
3286         Added hildon_stackable_window_go_home()
3287
3288         * examples/Makefile.am
3289         * examples/hildon-stackable-window-example.c
3290         HildonStackableWindow example
3291
3292 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3293
3294         * hildon-pannable-area.c: Added the overshoot property and removed
3295         the OVERSHOOT define. Fixed an indent style error.
3296         (hildon_pannable_area_motion_notify_cb):
3297         (hildon_pannable_area_get_property):
3298         (hildon_pannable_area_set_property): Add overshoot property.
3299
3300         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3301         overshoot property.
3302
3303         (hildon_pannable_area_class_init): Installed the new property.
3304
3305         * hildon-pannable-area-example.c: Added a sawtooth function, this
3306         way it is easier to check the movement in the pannable.
3307         (get_sawtooth_label): Added this function.
3308         (main): Now we get the labels from the new get_sawtooth_label
3309         function.
3310
3311 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
3312
3313         * src/hildon-app-menu.h
3314         * src/hildon-app-menu.c
3315         Renamed API variables for consistency
3316
3317         (hildon_app_menu_popup): Use also the default window size to
3318         decide where to place the menu
3319
3320         (hildon_app_menu_init, hildon_app_menu_class_init): New
3321         external-border style property
3322
3323 2008-05-26  Michael Natterer  <mitch@imendio.com>
3324
3325         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3326         widget_class->tap_and_hold_setup signal slot doesn't exist any
3327         longer, stop overriding it.
3328
3329         (hildon_time_editor_init): g_signal_connect() to the
3330         tap-and-hold-setup signal instead.
3331
3332         (hildon_time_editor_entry_keypress): add cast to fix warning.
3333
3334 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
3335
3336         * doc/hildon-docs.sgml
3337         * doc/hildon.types
3338         * examples/Makefile.am
3339         * examples/hildon-app-menu-example.c
3340         * src/Makefile.am
3341         * src/hildon-app-menu-private.h
3342         * src/hildon-app-menu.c
3343         * src/hildon-app-menu.h
3344         * src/hildon.h
3345         New HildonAppMenu widget
3346
3347 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3348
3349         Rearranged the inheritance of the pannable area, now it inherits
3350         from GtkBin. This will allow us to control the event_window and
3351         the allocation process of the widget, required for some effects.
3352
3353         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3354         GtkBin structures.  * src/hildon-pannable-area.c: Added the
3355         event_window variable.
3356         (hildon_pannable_area_button_press_cb):
3357         (hildon_pannable_area_button_release_cb):
3358         (hildon_pannable_area_motion_notify_cb):
3359         Changed the signature of the method, now we override the event
3360         callback instead of connecting to the signal.
3361
3362         (hildon_pannable_area_realize):
3363         (hildon_pannable_area_unrealize):
3364         (hildon_pannable_area_map):
3365         (hildon_pannable_area_unmap):
3366         (hildon_pannable_area_size_allocate):
3367         Added functions to control the widget construction. We add a
3368         INPUT_ONLY window and we put it over the widgets inside the
3369         container, this event_window handles the events.
3370
3371         (hildon_pannable_area_class_init):
3372         Replaced the signal connections with overrides of the event
3373         callbacks.
3374
3375 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3376
3377         Bouncing effect added when touching the borders, you can change
3378         the elasticity of the border changing the ELASTICITY define.
3379
3380         * src/hildon-pannable-area.c: Added ELASTICITY define.
3381         (hildon_pannable_area_timeout): Added inverse velocity when
3382         touching the border of the child widget, that causes a bounce.
3383
3384 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3385
3386         Improved performance, we now do not go to the X server in order to
3387         get the list of window children. Apparently the effect is the
3388         same, we have to be careful and check if this breaks something in
3389         any corner case.
3390
3391         * src/hildon-pannable-area.c:
3392         (get_ordered_children): Removed this function.
3393         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3394         the children windows function with gdk_window_get_children.
3395
3396 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3397
3398         * src/hildon-pannable-area.c:
3399         (hildon_pannable_area_dispose): Fixed a crash when closing the
3400         window and kinetics is activated.
3401
3402 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
3403
3404         * src/hildon-pannable-area.h
3405         * src/hildon-pannable-area.c
3406         Changed indentation style to meet the one used in Hildon
3407
3408 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3409
3410         Reviewed the interaction of the AUTO mode, now we use the time
3411         attribute of the events and calculate the velocity in the motion,
3412         doing a gimp like calculation. The velocity is calculated in each
3413         motion event using the last velocity and the current one, the
3414         SMOOTH_FACTOR controls the percentage of the new velocity we use.
3415
3416         * src/hildon-pannable-area.c: Replaced the time based algorithm
3417         for the AUTO mode.
3418         (hildon_pannable_area_motion_notify_cb): now we do not launch the
3419         timeout for the AUTO mode when we are still moving the cursor. We
3420         added also the velocity calculation in this function.
3421         (hildon_pannable_area_button_release_cb): launch the timeout in
3422         case we are in AUTO mode. There are still some constants here that
3423         come from the old implementation that should be reviewed and
3424         handled properly.
3425
3426 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
3427
3428         * doc/hildon-docs.sgml
3429         * doc/hildon.types
3430         * src/Makefile.am
3431         * src/hildon-stackable-window.c
3432         * src/hildon-stackable-window.h
3433         * src/hildon.h
3434         New HildonStackableWindow widget
3435
3436         * examples/hildon-dialog-example.c
3437         * examples/hildon-pannable-area-example.c
3438         Updated copyright
3439
3440 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
3441
3442         * src/hildon-dialog.c
3443         (hildon_dialog_new_with_buttons): New constructor.
3444
3445         * examples/hildon-dialog-example.c
3446         (main): Update the example to use the new
3447         hildon_dialog_new_with_buttons().
3448
3449         * examples/hildon-pannable-area-example.c
3450         (main): Update example.
3451
3452 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3453
3454         * doc/hildon-docs.sgml
3455         * doc/hildon.types
3456         Added HildonPannableArea to the documentation.
3457
3458 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3459
3460         * doc/visual_index.xml
3461         Fix reference to HildonLoginDialog in documentation
3462
3463         * doc/hildon-docs.sgml
3464         * doc/hildon.types
3465         * examples/Makefile.am
3466         * examples/hildon-dialog-example.c
3467         * src/Makefile.am
3468         * src/hildon-dialog.c
3469         * src/hildon-dialog.h
3470         * src/hildon.h
3471         New HildonDialog widget.
3472
3473 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3474
3475         * src/hildon-pannable-area.c
3476         Merge latest changes (r4318, r4342) from libmokoui trunk
3477
3478 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3479
3480         * examples/Makefile.am
3481         * examples/hildon-pannable-area-example.c
3482         * src/Makefile.am
3483         * src/hildon-pannable-area.c
3484         * src/hildon-pannable-area.h
3485         * src/hildon.h
3486         New HildonPannableArea widget.
3487
3488 2008-04-15 18:05:19    <timj@imendio.com>
3489
3490         * src/hildon-banner.c: revert the recent change, that introduced
3491         gtk_window_present() calls. this reopens:
3492           Bug 78481 - [freetest] information banners are hidden under browser menu
3493         But resolves another variant of:
3494           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3495
3496 2008-04-15 13:21:13    <timj@imendio.com>
3497
3498         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3499         recreated its layout, spotted by Kris. this fixes all remaining
3500         artefacts and stability issues with the banner code. in particular:
3501         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3502
3503 2008-04-14 16:52:59    <timj@imendio.com>
3504
3505         * src/hildon-banner.c: guard force_to_wrap_truncated() against
3506         operating on unrealized widgets, fixes:
3507         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3508
3509         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3510
3511 2008-04-09  Kristian Rietveld  <kris@imendio.com>
3512
3513         Fixes: NB#77775: Media Player, Save Now playing list, too long name
3514         makes banner disappear.
3515         Fixes: NB#79182: info banner flickering with certain message lengts.
3516
3517         * src/hildon-banner.c (hildon_banner_constructor),
3518         (hildon_banner_init), (hildon_banner_set_text),
3519         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3520         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3521         FALSE, reset size requests of label and banner,
3522         (force_to_wrap_truncated): when the text is too wide, always enforce
3523         the maximum possible width instead of recalculating it from the
3524         layout; enforce the maximum banner height of 3 lines,
3525         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3526         nicer wrapping and no truncated chars if space gets tight.
3527
3528         * src/hildon-banner-private.h: add has_been_wrapped and
3529         has_been_truncated fields.
3530
3531 2008-04-07  Sven Herzberg  <sven@imendio.com>
3532
3533         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3534         local values in hildon_date_editor_size_allocate
3535
3536         * src/hildon-date-editor.c: moved the real allocation code into the
3537         if() branch
3538
3539 2008-04-07  Sven Herzberg  <sven@imendio.com>
3540
3541         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3542         local values in hildon_date_editor_size_allocate
3543
3544         * src/hildon-date-editor.c: merged the two if() branches together
3545
3546 2008-04-07  Sven Herzberg  <sven@imendio.com>
3547
3548         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3549         local values in hildon_date_editor_size_allocate
3550
3551         * src/hildon-date-editor.c: changed the arguments of the if()
3552         conditions
3553
3554 2008-04-07  Sven Herzberg  <sven@imendio.com>
3555
3556         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3557         local values in hildon_date_editor_size_allocate
3558
3559         * src/hildon-date-editor.c: split the calculation of the allocation
3560         from the real allocation
3561
3562 2008-03-27  Michael Natterer  <mitch@imendio.com>
3563
3564         Fixes: NB#81696: The passcode is not overwritten even after
3565         selecting
3566
3567         * src/hildon-code-dialog.c
3568         (hildon_code_dialog_button_clicked)
3569         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3570         because that doesn't overwrite selected text. Instead, emit the
3571         "commit" signal on the entry's im_context so the entry's normal
3572         insert logic is triggered. Set the cursor to the end of the entry
3573         after each insert operation so that we *only* insert in the middle
3574         of the text if something was selected.
3575
3576 2008-03-27  Michael Natterer  <mitch@imendio.com>
3577
3578         Enable fixing: NB#79916 and NB#79918: The help topic for Color
3579         selector cannot be opened
3580
3581         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3582         when the popup color selector is created. Please connect to this
3583         signal in order to set the dialog's help ID.
3584
3585 2008-03-25  Sven Herzberg  <sven@imendio.com>
3586
3587         Fixes: MB#1212: Hide info banners (infoprints) on click
3588
3589         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3590         extracted the close event simulation into an extra function
3591         (hildon_banner_button_press_event): simulate a close event and destroy
3592         the widget if the event wasn't handled
3593         (hildon_banner_class_init): added the button_press_event handler
3594         (hildon_banner_init): added button-press events to the widget
3595
3596 2008-03-25  Sven Herzberg  <sven@imendio.com>
3597
3598         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3599         Patch from: Mohammad Anwari  <mdamt@maemo.org>
3600
3601         * src/hildon-banner.c: let the HildonBanners pop up on the left side
3602         instead of the right in RTL mode
3603         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3604         breadcrumb button list in RTL mode
3605         * src/hildon-caption.c: mirror the appearance of the caption widget in
3606         RTL mode
3607         * src/hildon-date-editor.c: mirror appearance of the date editor in
3608         RTL mode
3609         * src/hildon-time-editor.c: mirror appearance of the time editor in
3610         RTL mode
3611         * src/hildon-window.c: fix the position of the popup in RTL mode
3612
3613 2008-03-25  Sven Herzberg  <sven@imendio.com>
3614
3615         Amendment to the fix of NB#22072. Fix compilation.
3616
3617         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3618
3619 2008-03-19  Sven Herzberg  <sven@imendio.com>
3620
3621         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3622         in Info Banner" bug
3623
3624         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3625         timeout id properly when the timeout will disappear this leaves no
3626         artifacts around in the destroy(); there will only be the timeout
3627         created by hildon_banner_ensure_timeout() and adding a new timeout
3628         will also work if the timeout gets removed because the timeout_handler
3629         returned FALSE
3630
3631 2008-03-19  Michael Natterer  <mitch@imendio.com>
3632
3633         Fixes: NB#79791: Cannot set focus to Master volume using stylus
3634
3635         * src/hildon-volumebar.c
3636         * src/hildon-vvolumebar.c
3637         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3638         the widget becomes focussable at all.
3639
3640         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3641         set the focus to wither the mute button or the volumebar.
3642
3643         Remove own "can-focus" property and instead listen to
3644         notify::can-focus in order to update the widget's state.
3645
3646         Implement GtkWidget::focus() and make sure we can also *leave* the
3647         widget, not only enter it, depending on volumebar orientation and
3648         requested focus direction.
3649
3650         Clean up set_mute() to cooperate nicely with all the above.
3651
3652 2008-03-04  Michael Natterer  <mitch@imendio.com>
3653
3654         Fixes: NB#78481: information banners are hidden under browser menu
3655
3656         * src/hildon-banner.c: call gtk_window_present() on the banners so
3657         they are risen if they are already visible.
3658
3659 2008-03-03  Sven Herzberg  <sven@imendio.com>
3660
3661         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3662
3663         * examples/hildon-window-menu-example.c: (main): extended the window
3664         menu example to serve as a testcase for automatically added
3665         accelerator groups, too
3666         * src/hildon-window.c: (hildon_window_add_accel_group),
3667         (hildon_window_set_menu): added patch by Tommi Komulainen
3668
3669 2008-03-03  Sven Herzberg  <sven@imendio.com>
3670
3671         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3672
3673         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3674         knowledge about the border allocators used within GTK+
3675
3676 2008-02-26  Sven Herzberg  <sven@imendio.com>
3677
3678         Fixes: MB#2981: Build with asserts broken
3679
3680         * src/hildon-date-editor.c,
3681         * src/hildon-number-editor.c,
3682         * src/hildon-time-editor.c,
3683         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3684         the proper GType instance check
3685
3686 2008-02-25  Sven Herzberg  <sven@imendio.com>
3687
3688         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3689
3690         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3691         * examples/hildon-window-menu-example.c: (main): explicitly show
3692         the menu item
3693         * src/hildon-window.c:
3694         (hildon_window_set_main_menu): moved most of the code from set_menu()
3695         to this place; skipped the call to gtk_widget_show_all(); also didn't
3696         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3697         (hildon_window_set_menu): removed most of the code, just keep the
3698         questionable gtk_widget_show_all()
3699         * src/hildon-window.h: added the new function and deprecate the old
3700         one
3701
3702 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
3703
3704         [2.0.1-1 release]
3705
3706         * NEWS:
3707         * configure.ac:
3708         * debian/changelog: Updating.
3709
3710 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
3711
3712         * configure.ac:
3713         * pkgconfig/Makefile.am:
3714         * pkgconfig/hildon.pc.in:
3715         * src/Makefile.am:
3716
3717         Do not use PACKAGE_VERSION_MAJOR as the API revision,
3718         use newly created API_MAJOR_VERSION.
3719
3720 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
3721
3722         [2.0.0-1 release]
3723
3724         * NEWS:
3725         * configure.ac:
3726         * debian/changelog: Updating.
3727
3728 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
3729
3730         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3731
3732         Add outer_border style property, we use it but don't define it (!).
3733
3734         Fixes NB#75310
3735
3736 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
3737
3738         * examples/hildon-bread-crumb-trail-example.c (main):
3739
3740         Add clear button.
3741
3742         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3743
3744         Fix logic for the bread crumb trail node removal.
3745
3746         Fixes: NB#78616
3747
3748 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3749
3750         [1.99.1-1 release]
3751
3752         * NEWS:
3753         * configure.ac:
3754         * debian/changelog: Updating.
3755
3756 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3757
3758         Patch by Alejandro to get/set passwords dialogs accesibility.
3759
3760         * hildon-1/src/hildon-get-password-dialog.c:
3761         * hildon-1/src/hildon-set-password-dialog.c:
3762         Set atk_set_name to the passwd entries in order to allow
3763         accessibility by name on this entries.
3764
3765 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3766
3767         [1.99.0-2 release]
3768
3769         * debian/changelog:
3770         * debian/control: Updating gtk dep.
3771
3772 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
3773
3774         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3775         USE_MAEMO_GTK is enabled.
3776
3777 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
3778
3779         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3780         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3781
3782 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3783
3784         [1.99.0-1 release]
3785
3786         * NEWS:
3787         * configure.ac:
3788         * debian/changelog: Updating.
3789
3790 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3791
3792         * examples/Makefile.am:
3793         * examples/hildon-logical-color-example.c:
3794         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3795         applied + adding a test case. Fixes: NB#71660.
3796
3797 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
3798
3799         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3800         to be visible, fixes warning on map for windows without toolbars.
3801
3802 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
3803
3804         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3805         2.11.0, add a check for that besides the MAEMO_GTK check.
3806
3807 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3808
3809         [1.0.17-1 release]
3810
3811         * NEWS:
3812         * configure.ac:
3813         * debian/changelog: Updating.
3814
3815 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3816
3817         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3818         visibility. Fixes: NB#70842 and MB#615.
3819
3820 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
3821
3822         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3823         set the separator as no-show-all so it doesn't unintentionally appear when
3824         someone does a show_all.
3825
3826 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
3827
3828         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3829         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3830         toplevel item. Fixes: NB#62031
3831
3832 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
3833
3834         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3835         fix the name of the function in the docs.
3836
3837 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3838
3839         [1.0.16-1 release]
3840
3841         * NEWS:
3842         * configure.ac:
3843         * debian/changelog: Updating.
3844
3845 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3846
3847         * examples/hildon-banner-long-example.c: Adding a test-case for long
3848         hildon banner.
3849
3850         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3851
3852 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3853
3854         * src/hildon-color-chooser-dialog.c:
3855         * src/hildon-color-chooser.c:
3856         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3857         memory leaks in font selector and color selector. Fixes: NB#70499 and
3858         NB#70474.
3859
3860 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
3861
3862         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3863
3864 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3865
3866         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3867         little bit bigger. Fixes: #NB63694.
3868
3869 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3870
3871         [1.0.15-1 release]
3872
3873         * NEWS:
3874         * configure.ac:
3875         * debian/changelog: Updating.
3876
3877 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3878
3879         * doc/Makefile.am:
3880         * doc/hildon-docs.sgml:
3881         * doc/images/bread-crumb-trail.png:
3882         * doc/images/calendar-popup.png:
3883         * doc/images/caption.png:
3884         * doc/images/code-dialog.png:
3885         * doc/images/color-button.png:
3886         * doc/images/color-chooser-dialog.png:
3887         * doc/images/color-chooser.png:
3888         * doc/images/controlbar.png:
3889         * doc/images/date-editor.png:
3890         * doc/images/font-selection-dialog.png:
3891         * doc/images/get-password-dialog.png:
3892         * doc/images/hvolumebar.png:
3893         * doc/images/login-dialog.png:
3894         * doc/images/note.png:
3895         * doc/images/number-editor.png:
3896         * doc/images/range-editor.png:
3897         * doc/images/seekbar.png:
3898         * doc/images/set-password-dialog.png:
3899         * doc/images/sort-dialog.png:
3900         * doc/images/time-editor.png:
3901         * doc/images/time-picker.png:
3902         * doc/images/vvolumebar.png:
3903         * doc/images/weekday-picker.png: Adding the new generated widget shots.
3904         Adding the bread-crumb-trial and helpers to the documentation.
3905
3906 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3907
3908         * examples/hildon-find-toolbar-example.c:
3909         * src/hildon-find-toolbar.c:
3910         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3911         actually continue firing the other handlers if connected. Adding a new
3912         function:
3913         hildon_find_toolbar_get_last_index that gets the index of the most
3914         recently added (last) item. Fixes: NB#52301.
3915
3916 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3917
3918         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3919         behaviour. Fixes: NB#68610.
3920
3921 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3922
3923         * src/hildon-banner.c: Actually reverting the previous change. It somehow
3924         looks a bit worse.
3925
3926 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3927
3928         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3929         when realizing the banner. Should make the infonbanner effect a bit more
3930         bearable.
3931
3932 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3933
3934         * src/hildon-volumebar.c:
3935         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3936         hildon_volumebar_set_range_insensitive_message and
3937         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3938
3939 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3940
3941         * src/hildon-window.c: Fixing the border freeing on destroy.
3942
3943 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3944
3945         * src/hildon-code-dialog-private.h:
3946         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3947         kw keyboard support in HildonCodeDialog.
3948
3949 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3950
3951         [1.0.14-1 release]
3952
3953         * NEWS:
3954         * configure.ac:
3955         * debian/changelog: Updating.
3956
3957 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3958
3959         * src/hildon-date-editor.c:
3960         * src/hildon-number-editor.c:
3961         * src/hildon-private.c:
3962         * src/hildon-private.h:
3963         * src/hildon-time-editor.c:
3964         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3965         handling in subclassed composite widgets. Fixes: NB#66628.
3966
3967 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3968
3969         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3970         from destroy_ callback as it introduces problems in async dbus signal
3971         handlers. Fixes NB#66673.
3972
3973 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3974
3975         * examples/hildon-hvolumebar-example.c:
3976         * src/hildon-volumebar.c: Improving the focus handling in the
3977         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3978         set_property accessor so that "mute" property can be actually set. I'm
3979         scared that nobody noticed it's totally broken.
3980
3981 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3982
3983         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3984         Fixes NB#66548.
3985
3986 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3987
3988         * src/hildon-calendar.c:
3989         * src/hildon-number-editor.c:
3990         * src/hildon-time-picker.c: Changing the timeout repeat so that it
3991         matches the spec of 6 chars per second. Fixes: NB#60489.
3992
3993 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3994
3995         * src/hildon-helper.c: Really fixing NB#58352. Looks like
3996         gtk_style_lookup_color sometime returns FALSE even though color was
3997         found and values were filled properly. Weird. Removing the warning for the
3998         time being.
3999
4000 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4001
4002         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4003         expand vertically. Adding some extra space to the find toolbar buttons to
4004         make them thumbable. Fixes NB#66060.
4005
4006 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4007
4008         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4009         popup with "Ok" and "Cancel". Fixes NB#59299.
4010
4011 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4012
4013         * src/hildon-calendar.c: Process all window updates before executing next
4014         timeout. Fixes: NB#54146.
4015
4016 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4017
4018         [1.0.13-1 release]
4019
4020         * NEWS:
4021         * configure.ac:
4022         * debian/changelog: Updating.
4023
4024 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
4025
4026         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4027         the client event and ignore it, since we use the delete event to close
4028         after timeouts.
4029
4030 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4031
4032         * src/hildon-helper.c: Remove the bogus warning about color not being
4033         found. Fixes NB#58352.
4034
4035 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4036
4037         * examples/Makefile.am:
4038         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4039         HildonSeekbar widget inside a toolbar.
4040
4041 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
4042
4043         * src/hildon-banner.c (hildon_banner_init): mark the banners as
4044         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4045         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4046         don't want to be closed by non-temporary windows on map.
4047
4048         Also use G_DEFINE_TYPE instead of manually typed code.
4049
4050 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4051
4052         [1.0.12-1 release]
4053
4054         * NEWS:
4055         * configure.ac:
4056         * debian/changelog:
4057         * debian/rules: Updating.
4058
4059 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4060
4061         * examples/Makefile.am:
4062         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4063         bug NB#61128. Strangely it works.
4064
4065 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4066
4067         * src/hildon-date-editor.c: When the date editor entry has been changed
4068         but the numbers of characters < max, turn off the skip validation flag.
4069         Prevents a situation when we enter first a valid year and later re-write
4070         it with an invalid one. Fixes NB#60154.
4071
4072 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4073
4074         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4075         code dialog. Fixes NB#64355.
4076
4077 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4078
4079         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4080         switching the page. Fixes NB#49374.
4081
4082         * examples/Makefile.am:
4083         * examples/hildon-wizard-dialog-example.c: Adding an example for
4084         HildonWizardDialog that shows how to handle manual sensitivity setting on
4085         the wizard dialog.
4086
4087 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4088
4089         * configure.ac:
4090         * src/Makefile.am:
4091         * src/hildon-version.h.in:
4092         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4093
4094 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4095
4096         * src/hildon-volumebar.c: Updating the docs.
4097
4098 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4099
4100         [1.0.11-1 release]
4101
4102         * NEWS:
4103         * configure.ac:
4104         * debian/changelog: Updating.
4105
4106 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4107
4108         * src/hildon-find-toolbar.c:
4109         * src/hildon-find-toolbar.h: Adding a few new functions to control the
4110         selected item: hildon_find_toolbar_set_active,
4111         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4112         hildon_find_toolbar_get_active_iter . They correspond to respective
4113         GtkComboBox functions.
4114
4115         * examples/Makefile.am:
4116         * examples/hildon-find-toolbar-example.c: Adding the example to test the
4117         new functionality.
4118
4119 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4120
4121         * examples/Makefile.am:
4122         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4123         theming easily.
4124
4125         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4126         when font size > 32 and we pack a focusable widget inside. Actually using
4127         the default response would work too, but since we don't show default
4128         response state in any way (no theming) it would not be visible to the
4129         user. Fixes NB#63430.
4130
4131 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4132
4133         * src/hildon-date-editor.c: Adding the missing variable setter in the
4134         set_property handler. Fixes NB#54182.
4135
4136 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4137
4138         * src/hildon-window.h: Changing the long key press time from 1500ms to
4139         800ms as requested in NB#63700. I have a bad feeling about this, let's
4140         see... Fixes NB#63700.
4141
4142 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
4143
4144         * src/hildon-time-picker.c (hildon_time_picker_class_init,
4145         hildon_time_picker_map, hildon_time_picker_realize,
4146         hildon_time_picker_style_set): Split the contents of map to more
4147         appropriate functions; set window decorations on realize and update
4148         arrows' size requisitions on style-set. Avoids unnecessary resizing.
4149
4150 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
4151
4152         [1.0.10-2 release]
4153
4154         * NEWS:
4155         * debian/changelog: Updating.
4156
4157 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
4158
4159         * src/Makefile.am: fixed installation of the header files
4160
4161 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4162
4163         [1.0.10-1 release]
4164
4165         * NEWS:
4166         * configure.ac:
4167         * debian/changelog: Updating.
4168
4169 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4170
4171         * configure.ac: Removing some remaining of --enable-xan.
4172
4173 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
4174
4175         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4176         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4177
4178         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4179         2.10.12-osso6 because the move-focus signal needs to be available in
4180         GtkWidget.
4181
4182 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4183
4184         * examples/Makefile.am:
4185         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4186         that makes a HildonVolumebar insensitive before mapping it. Seems to work
4187         fine. Prolly NB#61128 is fixed now.
4188
4189 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4190
4191         * src/hildon-volumebar.c:
4192         * src/hildon-volumebar.h: Adding the
4193         hildon_volumebar_set_range_insensitive_message and
4194         hildon_volumebar_set_range_insensitive_messagef functions to set
4195         insensitive message on the slider of the volumebar. Fixes NB#61129.
4196
4197         * examples/Makefile.am:
4198         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4199         test the new insensitive messsage functionality on HildonVolumebar.
4200
4201 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
4202
4203         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4204         work again.
4205
4206 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
4207
4208         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4209         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4210         button on after clearing the trail.
4211
4212 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4213
4214         * src/hildon-code-dialog.c: Removing the separator from the dialog.
4215
4216 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
4217
4218         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4219         by splitting the installed headers in generated and non-generated groups. Use
4220         only the non-generated headers to create the hildon-enum-types.h file.
4221
4222         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4223
4224 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4225
4226         * src/hildon-window.c: Hide the window before performing the destroy.
4227         Should make the app closing a little tiny bit more snappy.
4228
4229 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
4230
4231         * src/hildon-seekbar.c: add gtkrange.h header
4232         * src/hildon-caption.c: remove unused variable
4233
4234 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
4235
4236         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4237         Loic Minier.
4238
4239 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4240
4241         [1.0.9-1 release]
4242
4243         * NEWS:
4244         * configure.ac:
4245         * debian/changelog: Updating.
4246
4247 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
4248
4249         * src/hildon-window.c (hildon_window_window_state_event,
4250         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4251         escape timeout on focus-out-event rather than notify::is-topmost; the
4252         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4253
4254 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4255
4256         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4257         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4258
4259 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
4260
4261         * src/hildon-window: actually, you need to use the macro always, there's
4262         no private pointer in the instance structure. We should have cleaned this up
4263         when we had the chance...
4264
4265 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
4266
4267         * src/hildon-window.c: do not get the private date from HildonWindow before
4268         it passes the g_return_if_fail check. Once it's passed the test, there's no
4269         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4270         if you are only going to access the data once. Whitespace cleanups.
4271
4272 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
4273
4274         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4275         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4276
4277 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4278
4279         [1.0.8-1 release]
4280
4281         * NEWS:
4282         * configure.ac:
4283         * debian/changelog: Updating.
4284
4285 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4286
4287         * src/hildon-window.c: When destroying the window, remove (if exists) the
4288         escape timeout handler. Fixes #NB59276.
4289
4290 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4291
4292         * src/hildon-banner.c: When realizing the widget, set the window
4293         transiency. Setting the transiency in the gobject constructor is not
4294         good, as the widget is not realized at that point. Fixes: #NB56624.
4295
4296 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4297
4298         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4299         Add padding for future expansions.
4300
4301 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4302
4303         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4304         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4305         will fake an activation on the previous to the last item of the trail, so
4306         the effect can be overrided by the developer as usual.
4307         Also change the callback for the back button to do the same thing, so its
4308         effect can be overrided too. Fixes: NB#58982
4309
4310 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4311
4312         * src/hildon-caption.c: Implementing the proper focus grabbing in the
4313         HildonCaption. Fixes NB#52379.
4314
4315 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4316
4317         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4318         the internal state of the trail after the user has had the chance of executing
4319         his handler for the signal. Specifically, it may happen that the activated button
4320         is removed and the user still lets the default handler run. This would segfault
4321         previously.
4322
4323 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4324
4325         * src/hildon-font-selection-dialog.c: When the font is really big, add the
4326         scrollbar to the preview dialog. Fixes NB#54147.
4327
4328 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4329
4330         * src/hildon-date-editor.c: Changing the default max year to 2037. The
4331         max/min year properties can be altered, so the client can modify it
4332         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4333
4334 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4335
4336         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4337         hildonlike by default. Fixing a problem with disappearing arrows when
4338         scrolling through months and years. Fixes NB#54127.
4339
4340 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4341
4342         * examples/hildon-date-editor-example.c: Adding error callback to the date
4343         editor example.
4344
4345 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4346
4347         [1.0.7-1 release]
4348
4349         * NEWS:
4350         * debian/changelog:
4351         * configure.ac: Updating.
4352
4353 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4354
4355         * configure.ac: Adding a special '--enable-xan' configure option that
4356         turns off the -Werror compilation setting. Usefull for development.
4357
4358         * src/hildon-calendar.c:
4359         * src/hildon-number-editor.c:
4360         * src/hildon-time-picker.c: Adding the 5* multiplier to
4361         gtk-timeout-update.
4362
4363 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
4364
4365         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4366         instead of g_object_ref + gtk_object_sink.
4367
4368 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4369
4370         [1.0.6-1 release]
4371
4372         * NEWS:
4373         * configure.ac:
4374         * debian/changelog: Updating.
4375
4376 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4377
4378         * src/hildon-color-chooser-dialog.c:
4379         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4380         straight from Tommi labs.
4381
4382 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4383
4384         * examples/hildon-finger-example.c: Correcting the header file path.
4385
4386         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4387         the changed signal. Fixes a small memory leak.
4388
4389 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4390
4391         * autogen.sh:
4392         * debian/rules:
4393         * src/hildon-banner.c: Importing several usefull fixes from the
4394         ubuntu-mobile branch.
4395
4396 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4397
4398         * examples/Makefile.am:
4399         * examples/hildon-finger-example.c: Adding a finger-checking code
4400         example.
4401
4402         * src/hildon-font-selection-dialog.c: Do not allocate the color
4403         structure using the g_new. Fixes NB#54061.
4404
4405 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4406
4407         * src/hildon-helper.c: Correcting tabs in file.
4408
4409 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
4410
4411         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4412         control the visibility of the children.
4413
4414         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4415
4416 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4417
4418         [1.0.5-1 release]
4419
4420         * NEWS:
4421         * configure.ac:
4422         * debian/changelog: Updating.
4423
4424 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
4425
4426         * src/hildon-bread-crumb-trail.c:
4427         (hildon_bread_crumb_trail_size_allocate):
4428
4429         Make the back button always a square.
4430
4431 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
4432
4433         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4434         from the .c file as it's a private file.
4435
4436 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4437
4438         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4439         uses slightly bigger height.
4440
4441         * src/hildon-font-selection-dialog.c: Adding some checks before
4442         freeing memory in the font selection dialog.
4443
4444 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4445
4446         * src/hildon-font-selection-dialog.c: Adding a small check when
4447         freeing memory.
4448
4449         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4450         buttons sensitivity on page switching.
4451
4452 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
4453
4454         * src/hildon-bread-crumb-trail.c: make the add method handle all the
4455         internal details of adding a bread crumb to the trail.
4456
4457 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4458
4459         [1.0.4-1 release]
4460
4461         * README:
4462         * configure.ac:
4463         * debian/changelog: Updating.
4464
4465         * src/hildon-bread-crumb-trail.h:
4466         * src/hildon-bread-crumb.h: Changing the API guard to
4467         HILDON_ENABLE_UNSTABLE_API.
4468
4469 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4470
4471         [1.0.3-1 release]
4472
4473         * NEWS:
4474         * configure.ac:
4475         * debian/changelog:
4476         * debian/rules:
4477         * src/hildon-helper.h: Updating.
4478
4479 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4480
4481         [1.0.2-1 release]
4482
4483         * NEWS:
4484         * configure.ac:
4485         * debian/changelog:
4486
4487 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4488
4489         * README:
4490         * configure.ac:
4491         * src/hildon-helper.h: Small fix to make the package actually compile.
4492
4493 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
4494
4495         * src/hildon-bread-crumb-trail.h:
4496         * src/hildon-bread-crumb.h:
4497
4498         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4499         to define ENABLE_UNSTABLE_API in the code that includes these headers.
4500
4501 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
4502
4503         * examples/hildon-bread-crumb-trail-example.c:
4504         * src/Makefile.am:
4505         * src/hildon-bread-crumb-trail.c:
4506         * src/hildon-bread-crumb-trail.h:
4507         * src/hildon-bread-crumb.c:
4508         * src/hildon-bread-crumb.h:
4509         * src/hildon-marshalers.list:
4510         * src/hildon-bread-crumb-widget.c:
4511         * src/hildon-bread-crumb-widget.h:
4512
4513         Slight change in the widget design. The bread crumb trail API is
4514         unchanged, but HildonBreadCrumb is now an interface. A *private*
4515         implementation, hildon-bread-crumb-widget, is provided and used
4516         internally by the trail for the push_text/push_icon functions.
4517
4518         The generic push API is still available, so anyone can implement
4519         and use its own bread crumb widget.
4520
4521 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4522
4523         * debian/rules: Fixing the shlibs.
4524
4525 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4526
4527         * src/hildon-banner.c: Fixing a problem with timed banners having
4528         their parrent destroyed before they are.
4529
4530 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
4531
4532         * src/hildon-bread-crumb.c:
4533         * src/hildon-bread-crumb.h:
4534
4535         Make the get_natural_size function a vfunc.
4536
4537 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4538
4539         * src/hildon-bread-crumb.c:
4540         * src/hildon-bread-crumb-trail.c:
4541
4542         Some cleanups.
4543
4544 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4545
4546         [1.0.1-1 release]
4547
4548         * AUTHORS:
4549         * NEWS:
4550         * configure.ac:
4551         * debian/changelog: Updating for release.
4552
4553 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4554
4555         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4556         don't leak the pango layout.
4557
4558 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4559
4560         * src/hildon.h:
4561         * examples/hildon-bread-crumb-trail-example.c:
4562
4563         Fix example.
4564
4565 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4566
4567         * debian/changelog: Removing the bug-fixed entries that were actually
4568         resolved as WONTFIX.
4569
4570         * src/hildon-date-editor.c: Removing a redundant check. Fixes
4571         NB#54182.
4572
4573 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
4574
4575         * src/hildon-bread-crumb-trail.c:
4576         * src/hildon-bread-crumb-trail.h:
4577         * src/hildon-bread-crumb.c:
4578         * src/hildon-bread-crumb.h:
4579
4580         Untabify.
4581
4582 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
4583
4584         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4585         until it's passed the type check.
4586
4587 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
4588
4589         * examples/hildon-bread-crumb-trail-example.c
4590
4591         Add license.
4592
4593 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
4594
4595         * examples/Makefile.am
4596         * examples/hildon-bread-crumb-trail-example.c
4597         * src/Makefile.am
4598         * src/hildon-bread-crumb-trail.c
4599         * src/hildon-bread-crumb-trail.h
4600         * src/hildon-bread-crumb.c
4601         * src/hildon-bread-crumb.h
4602
4603         New HildonBreadCrumbTrail widget.
4604
4605 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
4606
4607         * src/hildon-range-editor.c (hildon_range_editor_init),
4608         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4609         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4610         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4611         hildon_time_editor_class_init, hildon_time_editor_init),
4612         src/hildon-get-password-dialog.c (invalid_input,
4613         hildon_get_password_set_property, hildon_get_password_get_property,
4614         create_contents, hildon_get_password_dialog_set_max_characters),
4615         src/hildon-set-password-dialog.c (create_contents),
4616         src/hildon-date-editor.c (hildon_date_editor_init),
4617         src/hildon-login-dialog.c (hildon_login_dialog_init),
4618         src/hildon-number-editor.c (hildon_number_editor_init),
4619         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4620         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4621         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4622          configure option and adding the respective checks in the code.
4623         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4624         hildon_calendar_drag_data_received): fixed some build warnings.
4625
4626 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4627
4628         * debian/changelog: A 1.0.0 release notes.
4629