Added a new check of scrollbars layout in the allocation
[hildon] / ChangeLog
1 2009-08-11  Alejandro G. Castro  <alex@igalia.com>
2
3         * hildon/hildon-pannable-area.c
4         (hildon_pannable_area_size_allocate): Checked the scrollbars
5         before the first try when defining the layout, avoids two
6         allocations in some situations.
7
8         Fixes: NB#131794 (pannable area produces unnecessary allocations
9         causing performance problems)
10
11 2009-08-11  Alejandro G. Castro  <alex@igalia.com>
12
13         * hildon/hildon-pannable-area.c
14         (hildon_pannable_area_button_press_cb),
15         (hildon_pannable_area_motion_notify_cb),
16         (hildon_pannable_area_button_release_cb): Added unrefs to reduce
17         the spurious ref added in the copy, fixes leak of window.
18
19         Fixes: NB#130900 (HildonPannableArea will leak it's event_window
20         if it's realized without showing and then deleted)
21
22 2009-08-10  Alberto Garcia  <agarcia@igalia.com>
23
24         [Release 2.1.94]
25
26         * configure.ac: bump version
27         * NEWS: updates
28         * debian/changelog: updates
29
30 2009-08-06  Alberto Garcia  <agarcia@igalia.com>
31
32         * examples/hildon-hvolumebar-timer-example.c
33         (on_idle, main)
34         * hildon/hildon-banner.c
35         (hildon_banner_timeout, hildon_banner_ensure_timeout)
36         * hildon/hildon-calendar.c
37         (calendar_timer, start_spinning)
38         * hildon/hildon-color-chooser.c
39         (inline_limited_expose)
40         * hildon/hildon-date-editor.c
41         (hildon_date_editor_entry_focus_in)
42         (hildon_date_editor_entry_validate)
43         (hildon_date_editor_entry_select_all)
44         * hildon/hildon-note.c
45         (on_show_cb)
46         * hildon/hildon-number-editor.c
47         (hildon_number_editor_button_pressed)
48         (hildon_number_editor_start_timer, do_mouse_timeout),
49         (add_select_all_idle, hildon_number_editor_select_all)
50         * hildon/hildon-time-editor.c
51         (hildon_time_editor_entry_focus_in)
52         (highlight_callback, hildon_time_editor_validate)
53         (hildon_time_editor_entry_select_all)
54         * hildon/hildon-time-picker.c
55         (hildon_time_picker_arrow_press)
56         (hildon_time_picker_key_repeat_timeout)
57         * hildon/hildon-window.c
58         (hildon_window_key_press_event)
59         (hildon_window_escape_timeout):
60         Replace all calls to g_idle_add/g_timeout_add with their
61         gdk_threads counterparts.
62
63         Fixes: NB#126198 (gdk-threads API should be used to install idle
64         and timeout handlers)
65
66 2009-08-06  Alejandro G. Castro  <alex@igalia.com>
67
68         * hildon/hildon-pannable-area.c,
69         (hildon_pannable_area_class_init): Increased the overshooting max
70         speed to get a faster effect.
71         (hildon_pannable_axis_scroll): Increased minimum speed and reduce
72         deceleration of the overshooting
73         (hildon_pannable_area_button_release_cb): Calculate initial
74         overshooting speed when finger on the screen using the distance to
75         launch the effect faster.
76
77         Fixes: NB#126115 (Pannable list overshooting is unusably slow for
78         lists with slow row renderers)
79
80 2009-08-05  Alberto Garcia  <agarcia@igalia.com>
81
82         * doc/hildon-sections.txt: Add new functions
83
84 2009-08-05  Alberto Garcia  <agarcia@igalia.com>
85
86         * hildon/hildon-text-view.[ch]
87         * hildon/hildon-entry.[ch]:
88         Add deprecation guards around deprecated functions.
89
90 2009-08-05  Claudio Saavedra  <csaavedra@igalia.com>
91
92         * hildon/hildon-app-menu.c: Remove leftover function declaration.
93
94 2009-08-05  Claudio Saavedra  <csaavedra@igalia.com>
95
96         Remove the grab from HildonAppMenu
97
98         * hildon/hildon-app-menu.c:
99         Now hildon-desktop places a blocker window behind the menu to handle
100         its closing, so the grab is no longer needed. This simplifies its
101         implementation and allows the system blanking to succeed.
102
103         Fixes: NB#130910 (Screen gets unlocked when menu is open)
104
105 2009-08-04  Claudio Saavedra  <csaavedra@igalia.com>
106
107         [Release 2.1.93]
108
109         * configure.ac: bump version
110         * NEWS: updates
111         * debian/changelog: updates
112         * debian/control: raise debian dependency on GTK+
113
114 2009-08-04  Alberto Garcia  <agarcia@igalia.com>
115
116         * hildon/hildon-text-view.c
117         * hildon/hildon-entry.c:
118         Remove all placeholder code from HildonEntry and HildonTextView
119         and use the API in GtkEntry and GtkTextView instead.
120
121         * examples/hildon-entry-example.c
122         * examples/hildon-text-view-example.c
123         * examples/hildon-wizard-dialog-example.c
124         * hildon/hildon-get-password-dialog.c
125         * hildon/hildon-login-dialog.c
126         * hildon/hildon-picker-dialog.c
127         * hildon/hildon-set-password-dialog.c
128         * hildon/hildon-touch-selector-entry.c:
129         Replace all deprecated calls to HildonEntry and HildonTextView
130         with their Gtk counterparts.
131
132         Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
133         GtkEntry)
134
135 2009-08-03  Alejandro G. Castro  <alex@igalia.com>
136
137         * hildon/hildon-pannable-area.c,
138         (hildon_pannable_area_check_move),
139         (hildon_pannable_area_button_release_cb),
140         (hildon_pannable_area_scroll_to): Reverted the priority change of
141         the timeout, in some situations, slow renderers, the click do not
142         make it to the mainloop on time.
143
144         Fixes NB#131013 (unable to stop panning file manager by tapping on
145         it)
146
147 2009-07-30  Claudio Saavedra  <csaavedra@igalia.com>
148
149         * configure.ac: bump version
150         * NEWS: updates
151         * debian/changelog: updates
152
153 2009-07-28  Alejandro Pinheiro <apinheiro@igalia.com>
154
155         * hildon/hildon-touch-selector.[ch]
156         (hildon_touch_selector_center_on_index): New method that allows to center
157         on a item not selected
158
159         Fixes NB#130291 (New HildonTouchSelector API is required to center on
160         any column item)
161
162 2009-07-29  Alberto Garcia  <agarcia@igalia.com>
163
164         * hildon/hildon-text-view.c
165         (+set_logical_color, +hildon_text_view_style_set)
166         (hildon_text_view_refresh_contents, hildon_text_view_class_init)
167         (hildon_text_view_init)
168         * hildon/hildon-entry.c
169         (+set_logical_color, +hildon_entry_style_set)
170         (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
171         (hildon_entry_class_init, hildon_entry_init)
172         * hildon/hildon-button.c
173         (+set_logical_font, +set_logical_color)
174         (hildon_button_style_set, hildon_button_init)
175         (hildon_button_set_arrangement, hildon_button_set_style):
176         Remove all calls to hildon_helper_set_logical_font() and
177         hildon_helper_set_logical_color(), which are recursive, from
178         within Hildon.
179
180         Fixes: NB#123409 (Showing dialog consumes significant amount of
181         time)
182
183 2009-07-29  Alejandro G. Castro  <alex@igalia.com>
184
185         * hildon/hildon-pannable-area.c,
186         (hildon_pannable_area_timeout): Added the process updates of the
187         scrollbars window in the pannable.
188
189         Fixes: NB#130043 (scrollindicator not smooth while panning)
190
191 2009-07-23  Alejandro G. Castro  <alex@igalia.com>
192
193         * hildon/hildon-pannable-area.c,
194         (hildon_pannable_area_check_move),
195         (hildon_pannable_area_button_release_cb),
196         (hildon_pannable_area_scroll_to): Increased the priority of the
197         timeout this way it is going to be handled before the events.
198
199 2009-07-22  Claudio Saavedra  <csaavedra@igalia.com>
200
201         [Release 2.1.91]
202
203         * configure.ac: bump version
204         * debian/changelog: updates
205
206 2009-07-21  Claudio Saavedra  <csaavedra@igalia.com>
207
208         * hildon/hildon-entry.c: (set_property): Do not allow to set
209         automatic height and use finger height instead, to prevent an to
210         have a smaller size than than its theme pixbuf.
211
212         Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
213
214 2009-07-21  Claudio Saavedra  <csaavedra@igalia.com>
215
216         * configure.ac: postrelease version bump.
217         * debian/changelog: post release version bump
218
219 2009-07-21  Claudio Saavedra  <csaavedra@igalia.com>
220
221         [Release 2.1.90]
222
223         * NEWS: Updates.
224         * configure.ac: Bump version.
225         * debian/changelog: Updates.
226
227 2009-07-20  Claudio Saavedra  <csaavedra@igalia.com>
228
229         * hildon/hildon-note.c: (label_size_request): Take the note
230         padding into account when setting the size request.
231
232         Fixes: NB#127896 (Information notes text truncated)
233
234 2009-07-16  Claudio Saavedra  <csaavedra@igalia.com>
235
236         * configure.ac: postrelease version bump.
237         * debian/changelog: post release version bump
238
239 2009-07-16  Claudio Saavedra  <csaavedra@igalia.com>
240
241         [Release 2.1.88]
242
243         * NEWS: Updates.
244         * configure.ac: Bump version.
245         * debian/changelog: Updates.
246
247 2009-07-16  Alejandro G. Castro  <alex@igalia.com>
248
249
250         * hildon/hildon-text-view.c,
251         (hildon_text_view_button_press_event): Grabbed the focus in button
252         press, this way we are sure the widget has the focus in the
253         release event, required for HIM.
254
255         Fixes: NB#121445 (Virtual keyboard opening is not working in same
256         way for each text entry field)
257
258 2009-07-15  Alejandro Pinheiro <apinheiro@igalia.com>
259
260         * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
261         (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
262         (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
263         (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
264         (hildon_pannable_area_[gs]et_center_on_child_focus)
265         Redefined GtkContainer set-focus-child signal, in order to center
266         properly on a child when it receives the focus. Defined a new property
267         "center-on-child-focus" in order to activate this feature (deactivated
268         by default). Public get/set methods defined to manage the property.
269
270         Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
271
272 2009-07-14  László Pere  <lpere@blumsoft.eu>
273
274         * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
275         the new size is applied.
276
277         Fixes: NB#124510 (The Application Menu is distorted when switched
278         between portrait and landscape mode)
279         Fixes: NB#115388 (Power key menu does not resize itself)
280
281 2009-07-01  Alberto Garcia  <agarcia@igalia.com>
282
283         * hildon/hildon-banner.c (hildon_banner_map):
284         Set banner position after mapping.
285
286 2009-06-29  Claudio Saavedra  <csaavedra@igalia.com>
287
288         * configure.ac: postrelease version bump.
289         * debian/changelog: post release version bump
290
291 2009-06-29  Claudio Saavedra  <csaavedra@igalia.com>
292
293         [Release 2.1.86]
294
295         * NEWS: Updates.
296         * configure.ac: Bump version.
297         * debian/changelog: Updates.
298
299 2009-06-29  Adam Endrodi  <adam.endrodi@blumsoft.eu>
300
301         * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
302         BadWindow error.
303
304 2009-06-26  Alejandro Pinheiro  <apinheiro@igalia.com>
305
306         * tests/check-hildon-banner.c
307         * tests/check_text.c
308         * tests/test_suites.h
309         Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
310         were testing deprecated functions.
311         * examples/hildon-banner-example.c: typo on button3 type, that causes
312         a fail compiling with --with-examples but without --disable-deprecated
313
314         Missed commit in order to fix compilation using '--enable-fatal' and
315         '--disable-deprecated' (see previous commit)
316
317 2009-06-26  Alejandro Pinheiro  <apinheiro@igalia.com>
318
319         * examples/hildon-banner-example.c: Protect deprecated hildon-banner
320         functions with #ifndef HILDON_DISABLE_DEPRECATED
321         * examples/hildon-find-toolbar.c: Protect deprecated
322         HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
323         * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
324         in favor of HILDON_ICON_PIXEL_SIZE_FINGER
325         * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
326         deprecated.
327         * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
328         to allow proper compilation of deprecated functions defined on the header
329
330         Fixed compilation using '--enable-fatal' and '--disable-deprecated'
331
332 2009-06-25  Claudio Saavedra  <csaavedra@igalia.com>
333
334         * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
335         Cache the panning indicator color.,
336         (hildon_pannable_area_style_set): Query the color on style changes.
337         (hildon_pannable_draw_vscroll),
338         (hildon_pannable_draw_hscroll),
339         (hildon_pannable_area_expose_event): Use the cached panning indicator
340         color instead of looking it up on every expose and more.
341
342 2009-06-25  Claudio Saavedra  <csaavedra@igalia.com>
343
344         * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
345         (hildon_pannable_draw_hscroll),
346         (hildon_pannable_area_expose_event): Fix the panning indicator color,
347         so that it's "SecondaryTextColor", as desired.
348
349 2009-06-25  Alejandro Pinheiro  <apinheiro@igalia.com>
350
351         * hildon/hildon-picker-dialog.c:
352         (selection_completed): take into account HILDON_UI_MODE_NORMAL
353         * hildon/hildon-touch-selector.c
354         (hildon_touch_selector_init): Initialize hildon-ui-mode
355         (hildon_touch_selector_row_activated): new callback for the
356         "row-activated" signal, in order to save the last activated
357         (hildon_touch_selector_check_ui_mode_coherence): new method that checks
358         if the current hildon-ui-mode is coherent with the touch selector
359         (hildon_touch_selector_class_init)
360         (hildon_touch_selector_get_property)
361         (hildon_touch_selector_set_property)
362         Added "hildon-ui-mode" property
363         (disconnect_model_handlers): renamed to clean_column
364         (hildon_touch_selector_remove): use clean_column function
365         (_create_new_column): use the hildon-ui-mode to create the treeview, and
366         only select the first element on HILDON_UI_MODE_EDIT
367         (hildon_touch_selector_column_init): Initialize last_activate
368         (hildon_touch_selector_append_column): check that the touch selector
369         is coherent with the current hildon-ui-mode
370         (hildon_touch_selector_get_hildon_ui_mode)
371         (hildon_touch_selector_set_hildon_ui_mode)
372         Added a getter/setter for the hildon-ui-mode property
373         (hildon_touch_selector_get_last_activated_row): Added this method in
374         order to get the last activated row.
375         * examples/hildon-touch-selector-normal-mode-example.c
376         New example, that shows how to use the HildonTouchSelector in
377         HILDON_UI_MODE_NORMAL
378
379         Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
380         Kristian Rietveld <kris@lanedo.com> advices
381
382 2009-06-25  Claudio Saavedra  <csaavedra@igalia.com>
383
384         * hildon/hildon-time-selector.c: (update_format_policy): Do
385         not call update_format_dependant_columns() if not necessary.
386         (update_format_dependant_columns): Remove unnecessary check for
387         the number of columns.
388
389 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
390
391         * hildon/hildon-note.c (+hildon_note_constructor),
392         (hildon_note_class_init), (+hildon_note_set_padding),
393         (hildon_note_rebuild): Install a constructor where to set the
394         padding properties in the note, so that it actually works fine.
395         Use hildon_note_set_padding() for this, and also to set it during
396         the note rebuild.
397
398 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
399
400         * configure.ac: Bump GTK+ requirement to 2.14.3.
401         * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
402         when using maemo-gtk to define proper margins for the notes.
403
404         Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
405         with the dialog edge)
406
407 2009-06-24  Alberto Garcia  <agarcia@igalia.com>
408
409         * hildon/hildon-banner.c
410         (hildon_banner_class_init):
411         Center text.
412         (+hildon_banner_size_request):
413         Request always the full width of the screen.
414         (hildon_banner_realize)
415         (-hildon_banner_check_position, hildon_banner_map):
416         hildon_banner_check_position() is not needed in Hildon 2.2.
417         (-hildon_banner_reset_wrap_state)
418         (hildon_banner_constructor, hildon_banner_init):
419         Remove unnecessary calls to hildon_banner_reset_wrap_state()
420         (+banner_do_set_text)
421         (force_to_wrap_truncated):
422         Remove has_been_wrapped and has_been_truncated attributes.
423         (+reshow_banner, hildon_banner_real_show_information)
424         (hildon_banner_show_information_with_markup)
425         (hildon_banner_show_animation, hildon_banner_show_progress)
426         (hildon_banner_set_text, hildon_banner_set_markup):
427         Refactor code. Shrink banner vertically to use the minimum space
428         necessary everytime the text of the label is updated.
429         (screen_size_changed):
430         Call force_to_wrap_truncated() when the size of the screen
431         changes.
432
433         Fixes: NB#120500 (only device memory connect mmc in use info
434         banner is left aligned)
435
436         Fixes: NB#120613 (Size of HildonBanner varies depending on
437         previously opened banners)
438
439 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
440
441         * hildon/hildon-color-chooser.c
442         (hildon_color_chooser_pointer_motion): Take the widget allocation
443         into account.
444
445         Fixes: NB#124385 (Unable to select exact point in color mixing box
446         in color palette dialog)
447
448 2009-06-23  Alejandro G. Castro  <alex@igalia.com>
449
450         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
451         (hildon_pannable_area_dispose)
452         (hildon_pannable_area_button_press_cb)
453         (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
454         (hildon_pannable_area_button_release_cb)
455         (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
456         New 'panning-started' and 'panning-finished' signals.
457
458         Fixes: NB#121732 (New feature request: Signal to pannable area
459         that informs when panning is stopped.)
460
461 2009-06-23  Mox Soini  <ext-mox.soini@nokia.com>
462
463         * hildon/hildon-wizard-dialog.c: (create_title): Use separator
464         instead of hardcoded colon.
465
466         Fixes: NB#124090 (New calendar wizard title is not using
467         ecdg_ti_caption_separator)
468
469 2009-06-22  David King  <davidk@openismus.com>
470
471         * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
472         constants and functions, as well as correct many typos throughout the
473         documentation text.
474
475         Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
476         and needs cleanup)
477
478 2009-06-22  Claudio Saavedra  <csaavedra@igalia.com>
479
480         * configure.ac: postrelease version bump.
481         * debian/changelog: post release version bump
482
483 2009-06-22  Claudio Saavedra  <csaavedra@igalia.com>
484
485         [Release 2.1.84]
486
487         * NEWS: Updates.
488         * configure.ac: Bump version.
489         * debian/changelog: Updates.
490
491 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
492
493         * hildon/hildon-window-stack.c
494         (hildon_window_stack_pop_and_push_list):
495         Prevent windows from having the same stack index
496
497 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
498
499         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
500         Use the index of the previous window rather than the stack length
501         to calculate the new index.
502
503         Fixes: NB#122389
504
505 2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>
506
507         * hildon/hildon-date-selector.c
508         (hildon_date_selector_select_current_date)
509         (hildon_date_selector_get_date)
510         (hildon_date_selector_select_day):
511         Update the documentation: uses always the range (1-31), as it is obvious
512         that the final one will depend on the month and the year, but globally
513         the range is this, in a similar GtkCalendar approach
514         (hildon_date_selector_get_date):
515         Update the documentation: add NULL as a valid value for the day, month
516         and year locations
517
518         Fix some details, after talk with David King on bug MB#4698
519
520 2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>
521
522         * hildon/hildon-touch-selector-entry.c
523         * hildon/hildon-touch-selector.c
524         Update the documentation of the "text-column" property
525
526 2009-06-18  David King  <davidk@openismus.com>
527
528         * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
529         several typos and errors throughout the documentation.
530
531         Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
532         has some mistakes)
533
534 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
535
536         * hildon/hildon-note.c (hildon_note_realize):
537         Make HildonNote support portrait mode.
538
539         Fixes: NB#123448 (HildonNote is not portrait-friendly)
540
541 2009-06-17  Alberto Garcia  <agarcia@igalia.com>
542
543         * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
544         Document this function
545
546 2009-06-17  David King  <davidk@openismus.com>
547
548         * hildon/hildon-date-selector.c
549         (hildon_date_selector_select_current_date)
550         (hildon_date_selector_get_date): Update documentation regarding days,
551         as the day of the month is dependent on both the month and the year.
552         (hildon_date_selector_get_date): Fix documentation of output arguments.
553
554         Fixes: MB#4698 (DateSelector documentation has bad output argument
555         description, and the day depends on both the month and the year)
556
557 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
558
559         * hildon/hildon-caption.c: Other documentation fixes to
560         HildonCaption.
561
562 2009-06-17  David King  <davidk@openismus.com>
563
564         * hildon/hildon-caption.c: Minor documentation updates for
565         HildonCaption. Fixes MB#4697.
566
567 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
568
569         * doc/hildon-docs.sgml: Add hildon-version section.
570         * doc/hildon-sections.txt:
571         * hildon/hildon-version.h.in: Document versioning macros and
572         add HILDON_VERSION.
573
574 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
575
576         * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
577         from HildonPickerDialog section.
578
579 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
580
581         * hildon/hildon-banner.c (hildon_banner_bind_style)
582         (screen_size_changed, hildon_banner_init)
583         (hildon_banner_real_show_information)
584         (hildon_banner_show_information_with_markup)
585         (hildon_banner_show_animation, hildon_banner_show_progress):
586         Set a different widget name to banners in portrait mode, for them
587         to be themed correctly.
588
589 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
590
591         * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
592         Set a different widget name to notes in portrait mode, for them to
593         be themed correctly.
594
595         Partially fixes: NB#118401 (HildonNote causes unnecessary
596         rescaling of images)
597
598 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
599
600         * hildon/hildon-note.c (hildon_note_class_init)
601         (+hildon_note_size_request, screen_size_changed):
602         Always request the full width of the screen.
603
604         Fixes: NB#118375 (unnecessary rescaling of images)
605
606 2009-06-16  Alejandro G. Castro  <alex@igalia.com>
607
608         * hildon/hildon-pannable-area.c,
609         (hildon_pannable_area_init),
610         (hildon_pannable_area_realize): Replaced old code adding flags in
611         the object init, now we add it with the other flags in the realize
612         method.
613
614 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
615
616         * hildon/hildon-note.c: (hildon_note_class_init): Several
617         documentation improvements to the HildonNote widget.
618
619 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
620
621         * hildon/hildon-note.h: Document the HildonNoteType enumeration.
622
623         Fixes: MB#4556 (HildonNoteType is undocumented)
624
625 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
626
627         * hildon/hildon-picker-button.c:
628         Explain how HildonPickerButton sets the title of its dialog
629
630         Fixes: MB#4528 (HildonPickerButton docs should mention how to set
631         the title of its dialog)
632
633 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
634
635         * hildon/hildon-check-button.c:
636         Documentation updates
637
638         Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
639         exists)
640
641 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
642
643         * hildon/Makefile.am
644         * hildon/hildon-edit-toolbar-private.h
645         * hildon/hildon-edit-toolbar.c
646         (+hildon_edit_toolbar_set_progress_indicator)
647         (hildon_edit_toolbar_init): Add progress indicator to the
648         toolbar.
649
650         * hildon/hildon-gtk.c
651         (hildon_gtk_window_set_progress_indicator):
652         If the window contains a HildonEditToolbar, enable the progress
653         indicator there too.
654
655         * hildon/hildon-private.h
656         * hildon/hildon-private.c
657         (+hildon_private_create_animation)
658         * hildon/hildon-banner.c
659         (-hildon_banner_create_animation):
660         Moved to hildon-private.c
661
662         Fixes: NB#102373 (Progress indicator also for the Edit mode
663         toolbar)
664
665 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
666
667         * hildon/hildon-app-menu-private.h
668         * hildon/hildon-app-menu.c (hildon_app_menu_insert)
669         (hildon_app_menu_add_filter, +menu_item_button_event)
670         (hildon_app_menu_button_release, hildon_app_menu_init):
671         Make sure that buttons receive 'button-release-event' in spite of
672         the grab held by HildonAppMenu
673
674         Fixes: NB#108337 (Focus mismatch in items of AppMenu)
675
676 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
677
678         * hildon/hildon-app-menu.c
679         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
680         New style property to set the size of the group of filter buttons.
681
682         Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
683
684 2009-06-15  Claudio Saavedra  <csaavedra@igalia.com>
685
686         [Release 2.1.82]
687
688         * NEWS: Updates.
689         * configure.ac: Bump version.
690         * debian/changelog: Updates.
691
692 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
693
694         * hildon/hildon-main.c: Minor documentation fixes.
695
696 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
697
698         * doc/hildon-sections.txt:
699         * hildon/hildon-defines.h: Document the defines, organize them,
700         and mark deprecations as such.
701
702         Fixes: MB#4463 (Hildon size #defines are undocumented)
703
704 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
705
706         * hildon/hildon-animation-actor.c:
707         * hildon/hildon-app-menu.c:
708         * hildon/hildon-button.c:
709         * hildon/hildon-date-editor.c:
710         * hildon/hildon-dialog.c:
711         * hildon/hildon-edit-toolbar.c:
712         * hildon/hildon-entry.c:
713         * hildon/hildon-program.c:
714         * hildon/hildon-remote-texture.c:
715         * hildon/hildon-stackable-window.c:
716         * hildon/hildon-text-view.c:
717         * hildon/hildon-touch-selector.c:
718         * hildon/hildon-window-stack.c:
719         * hildon/hildon-window.c:
720
721         Remove redundant "represents" wording from most of the documentation.
722
723         Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
724
725 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
726
727         * po/POTFILES.in
728         * doc/Makefile.am
729         * hildon/Makefile.am
730         * hildon/hildon-banner-private.h
731         * hildon/hildon-banner.c:
732         Move HildonBannerPrivate to hildon-banner.c and remove
733         hildon-banner-private.h
734         Use a bit field to store private booleans.
735
736 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
737
738         * hildon/hildon-app-menu.c (hildon_app_menu_map):
739         Don't install a new idle function if there's already one
740         installed.
741
742         Fixes: NB#122254
743
744 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
745
746         * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
747         (+legacy_menu_realized, +legacy_menu_unmapped)
748         (+set_legacy_menu_type):
749         Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
750         they can be identified by the window manager.
751
752         Fixes: NB#101437 (Invoking CSM on the left side of page area is
753         displayed in wrong location)
754
755         Fixes: MB#4563 (Popup menu won't locate at the left side of the
756         screen)
757
758 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
759
760         Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
761
762         Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
763         use gtk-doc support)
764
765 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
766
767         * hildon/hildon-code-dialog.c
768         * hildon/hildon-date-editor.c
769         * hildon/hildon-number-editor.c
770         * hildon/hildon-seekbar.c
771         * hildon/hildon-stackable-window.c
772         * hildon/hildon-window.c:
773         Misc documentation updates
774
775 2009-06-10  Claudio Saavedra  <csaavedra@igalia.com>
776
777         * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
778         a G_PARAM_CONSTRUCT property, to allow the default size to be set.
779
780         Fixes: NB#117931 (Theming issues in accounts dialogs)
781
782 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
783
784         * hildon/hildon-pannable-area.c,
785         (hildon_pannable_area_button_release_cb): Changed the coordinates
786         of the original release in case we want to discard the release,
787         some widgets in Fremantle do not handle the leave-notify.
788
789 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
790
791         * hildon/hildon-pannable-area.c,
792         (hildon_pannable_area_button_release_cb): Reviewed the logic of
793         the release using the last refactored functions and avoiding the
794         movement if an element was selected.
795
796 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
797
798         * hildon/hildon-pannable-area.c,
799         (hildon_pannable_area_check_move),
800         (hildon_pannable_area_handle_move),
801         (hildon_pannable_area_motion_notify_cb): Refactored the
802         motion_notify method using a couple of new functions.
803
804 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
805
806         * hildon/hildon-date-selector.c:
807         (hildon_date_selector_construct_ui):
808         * hildon/hildon-time-selector.c:
809         (hildon_time_selector_constructor):
810         * hildon/hildon-touch-selector-entry.c:
811         (hildon_touch_selector_entry_set_text_column),
812         (hildon_touch_selector_entry_get_text_column):
813         * hildon/hildon-touch-selector.c: (_default_print_func),
814         (hildon_touch_selector_new_text): Use
815         hildon_touch_selector_set/get_text_column() instead of
816         setting/getting the "text-column" property.
817
818 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
819
820         * doc/hildon-sections.txt: Add the new public methods below.
821
822         * examples/hildon-picker-button-multicolumn-example.c:
823         (create_touch_selector):
824         * examples/hildon-touch-selector-example.c: (create_selector):
825         * examples/hildon-touch-selector-multi-cells-example.c:
826         (create_selector):
827         Use hildon_touch_selector_column_set_text_column()
828
829         * hildon/hildon-touch-selector-column.h:
830         * hildon/hildon-touch-selector.c:
831         (hildon_touch_selector_column_set_text_column),
832         (hildon_touch_selector_column_get_text_column):
833         Make hildon_touch_selector_column_set/get_column() public, use
834         them in the inline example, document them, and reference to them
835         in the docs.
836
837 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
838
839         * hildon/hildon-time-selector.c: Fix the docs for
840         hildon_time_selector_new_step().
841
842 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
843
844         * hildon/hildon-touch-selector.c: Improve the documentation for
845         hildon_touch_selector_append_column().
846
847         Fixes MB#4641 (Documentation:
848         hildon_touch_selector_append_column() ref-counting)
849
850 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
851
852         * tests/check-hildon-controlbar.c: (test_set_range_invalid):
853         Comment out test 5, since the hildon_controlbar_set_range() range
854         check is broken and fixing it would have side effects. Also,
855         this finally fixes make distcheck.
856
857         Fixes: NB#101420 (Update unit tests and fix make distcheck)
858
859 2009-06-18  Claudio Saavedra  <csaavedra@igalia.com>
860
861         * tests/TEST-CASES.txt: Remove other bogus test.
862         * tests/check-hildon-controlbar.c: (test_set_value_invalid):
863         Remove bogus test that was setting/retrieving a valid value.
864
865 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
866
867         * tests/TEST-CASES.txt: Remove bogus tests.
868         * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
869         Remove three bogus tests that were actually setting valid colors.
870
871 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
872
873         * configure.ac: post release version bump
874         * debian/changelog: post release version bump
875
876 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
877
878         [Release 2.1.80]
879
880         * NEWS: Updates.
881         * configure.ac: Bump version.
882         * debian/changelog: Updates.
883
884 2009-06-08  Christian Dywan  <christian@lanedo.com>
885
886         * debian/changelog:
887         * debian/control:
888         * hildon/hildon-helper.c (hildon_format_file_size_for_display):
889         Correct errors in hildon_format_file-size_for_display and use
890         translations from the hildon-fm package instead of osso-filemanager.
891
892 2009-06-08  Alejandro G. Castro  <alex@igalia.com>
893
894         * hildon/hildon-pannable-area.c,
895         (hildon_pannable_area_init): Initialized new values to handle the
896         adjustment position.
897         (hildon_pannable_area_adjust_value_changed): Check if the values
898         changed before even call the redraw function.
899         (hildon_pannable_area_size_allocate),
900         (hildon_pannable_axis_scroll),
901         (hildon_pannable_area_scroll),
902         (hildon_pannable_area_jump_to): Improved the diagonal movement
903         case.
904
905         Fixes: NB#113065 (Image viewer image scrolling updates in X, then
906         Y)
907
908 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
909
910         * examples/hildon-banner-example.c:
911         Several style updates
912         (on_animation_clicked, on_animation_idle)
913         (on_progress_clicked, on_progress_idle):
914         Add additional reference for the cases when the parent window is
915         destroyed.
916
917 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
918
919         * doc/hildon-sections.txt
920         * hildon/hildon-pannable-area.c
921         * hildon/hildon-banner.h
922         * hildon/hildon-banner.c: Documentation updates.
923
924         Fixes: MB#4643 (Documentation: hildon_banner_show_information()
925         memory management)
926
927 2009-06-05  Alejandro G. Castro  <alex@igalia.com>
928
929         * hildon/hildon-calendar-popup.h:
930         * hildon/hildon-caption.h:
931         * hildon/hildon-code-dialog.h:
932         * hildon/hildon-controlbar.h:
933         * hildon/hildon-date-editor.h:
934         * hildon/hildon-dialog.h:
935         * hildon/hildon-get-password-dialog.h:
936         * hildon/hildon-hvolumebar.h:
937         * hildon/hildon-login-dialog.h:
938         * hildon/hildon-note.h:
939         * hildon/hildon-number-editor.h:
940         * hildon/hildon-range-editor.h:
941         * hildon/hildon-seekbar.h:
942         * hildon/hildon-set-password-dialog.h:
943         * hildon/hildon-sort-dialog.h:
944         * hildon/hildon-time-editor.h:
945         * hildon/hildon-time-picker.h:
946         * hildon/hildon-volumebar-range.h:
947         * hildon/hildon-volumebar.h:
948         * hildon/hildon-vvolumebar.h:
949         * hildon/hildon-weekday-picker.h:
950         * hildon/hildon-window.h:
951         * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
952         macros with the current replacements
953
954         Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
955
956 2009-06-04  Claudio Saavedra  <csaavedra@igalia.com>
957
958         * hildon/hildon-color-button.c (hildon_color_button_init): Use
959         HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
960         itself, to make it fit better with Fremantle style.
961
962         Fixes: NB#109878 (height and width of focus on color icon is not
963         consistent with other item in the application tool bar)
964
965 2009-06-02  Alejandro Pinheiro  <apinheiro@igalia.com>
966
967         * hildon/hildon-touch-selector.c:
968         (hildon_touch_selector_optimal_size_request): use the current requisition
969         as the base, in order to include any possible extra widget, like the
970         hildon entry on HildonTouchSelectorEntry
971
972         Fixes: NB#119805 (Merge conflict picker dialogs are too small)
973
974 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
975
976         * configure.ac: post release version bump
977         * debian/changelog: post release version bump
978
979 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
980
981         [Release 2.1.78]
982
983         * NEWS: Updates.
984         * configure.ac: Bump version.
985         * debian/changelog: Updates.
986
987 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
988
989         * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
990         structure.
991         * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
992         to ensure the banner contents are centered, instead of relying on
993         the expand and fill properties in GtkHBox.
994         (hildon_banner_ensure_child): Do not expand nor fill the child widget.
995
996         Fixes: NB#108265 (Animation banner not properly centered)
997
998 2009-05-28  Alejandro Pinheiro <apinheiro@igalia.com>
999
1000         * hildon/hildon-pannable-area.c
1001         (hildon_pannable_area_initial_effect): Remove the initial_effect
1002         management, check initial_hint
1003         (hildon_pannable_are_expose_event): Remove the initial_hint management,
1004         set initial_effect to FALSE
1005         (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1006         by launching the fade_timeout if the scrollbars state has changed and are
1007         visible
1008         * examples/hildon-pannable-area-initial-hint-example.c
1009         Modified to allow to remove rows too. Add and remove rows one by one.
1010
1011 2009-05-28  Alberto Garcia  <agarcia@igalia.com>
1012
1013         * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1014         Don't close the menu if there's an animation actor below it.
1015
1016         Fixes: NB#117927 (Application menu not usable with animation
1017         actors)
1018
1019 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1020
1021         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1022         "focus-on-click" from the dialog button, to avoid stealing the
1023         focus from the entry.
1024
1025         Fixes: NB#118903 (Account setup wizard: Text in Search field
1026         should be focused when "Region" touch list picker is reopened
1027         again)
1028
1029 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1030
1031         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1032         (prepare_action_area): Completely hide the dialog separator.
1033
1034 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1035
1036         * hildon/hildon-touch-selector-entry.c
1037         (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1038         (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1039         now that the entry is exposed.
1040
1041 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1042
1043         * hildon/hildon-touch-selector-entry.c
1044         (hildon_touch_selector_entry_init): Change the entry's size
1045         to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1046
1047 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1048
1049         * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1050         height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1051         avoid unnecessary scaling.
1052
1053 2009-05-27  Alberto Garcia  <agarcia@igalia.com>
1054
1055         * hildon/hildon-app-menu.c (hildon_app_menu_map):
1056         Create grab transfer window before calling parent's map function.
1057
1058         Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1059         "crushed" button(s) in the top left corner)
1060
1061 2009-05-26  Alberto Garcia  <agarcia@igalia.com>
1062
1063         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1064         Check if the window is already realized when pushing it.
1065
1066 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
1067
1068         * configure.ac: post release version bump
1069         * debian/changelog: post release version bump
1070
1071 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
1072
1073         [Release 2.1.76]
1074
1075         * NEWS: Updates.
1076         * configure.ac: Bump version.
1077         * debian/changelog: Updates.
1078
1079 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
1080
1081         * hildon/hildon-app-menu.c: Doc updates.
1082
1083 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
1084
1085         * hildon/hildon-banner.c: Remove leftover macro.
1086
1087 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1088
1089         * hildon/hildon-pannable-area.c,
1090         (hildon_pannable_area_scroll_indicator_fade),
1091         (hildon_pannable_area_button_release_cb): Reviewed vmin
1092         conditions, it could cause problems in the fadeout procedure.
1093
1094 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1095
1096         * hildon/hildon-pannable-area.c
1097         (hildon_pannable_area_button_release_cb): Added a threshold to
1098         push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1099
1100 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1101
1102         * hildon/hildon-pannable-area.c,
1103         (hildon_pannable_area_set_property): Added code to sync the gtk
1104         dnd threshold with the panning threshold.
1105
1106 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1107
1108         * hildon/hildon-pannable-area.c,
1109         (hildon_pannable_area_class_init): Changed some of the default
1110         values, now it should be less responsive and more accurate.
1111
1112 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1113
1114         * hildon/hildon-pannable-area.c,
1115         (hildon_pannable_area_init),
1116         (hildon_pannable_area_scroll_indicator_fade),
1117         (hildon_pannable_area_button_press_cb),
1118         (hildon_pannable_axis_scroll),
1119         (hildon_pannable_area_timeout),
1120         (hildon_pannable_area_motion_notify_cb),
1121         (hildon_pannable_area_button_release_cb): Changed the name of the
1122         clicked attribute to button_pressed, it is more clear about its use.
1123
1124 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
1125
1126         * src/hildon-pannable-area.c
1127         (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1128         to 0
1129         (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1130         vertical scrollbar visibility, and use the data on private section instead,
1131         remove the initial_hint check
1132         (hildon_pannable_area_expose_event): add the initial_hint check here
1133
1134 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
1135
1136         * src/hildon-pannable-area.c
1137         (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1138         if the fadeout effect was used
1139         (hildon_pannable_area_expose_event): check if it is required to
1140         manage the initial effect on the begining of the function. Previously
1141         it was made at the end, but this doesn't ensure that the scrollbars
1142         will be painted on the first show. Do not set to FALSE initial_effect,
1143         to ensure that the initial hint is showed the first time the pannable
1144         becomes scrollable.
1145         * examples/Makefile.am
1146         * examples/hildon-pannable-area-initial-hint-example.c:
1147         New example, to show that the initial-hint is showed when the widget
1148         becomes scrollable
1149
1150         Fixes: NB#116607 (Pannable area should always have scrollbar visible
1151         initially if the application can be scrolled)
1152
1153 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
1154
1155         * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1156         Resize table before adding new items to make sure that
1157         gtk_table_resize() is called just once.
1158
1159 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
1160
1161         * hildon/hildon-app-menu-private.h
1162         * hildon/hildon-app-menu.c (item_visibility_changed)
1163         (filter_visibility_changed, hildon_app_menu_show_all)
1164         (hildon_app_menu_hide_all, hildon_app_menu_init):
1165         Rearrange items just once when gtk_widget_show_all()/hide_all()
1166         are used.
1167
1168 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
1169
1170         * hildon/hildon-app-menu.c
1171         (hildon_app_menu_insert, hildon_app_menu_add_filter):
1172         Don't call gtk_widget_show() on added items.
1173
1174         Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1175         automatically when they're added)
1176
1177 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
1178
1179         * hildon/hildon-banner.c
1180         (hildon_banner_realize, +hildon_banner_unrealize)
1181         (+screen_size_changed, hildon_banner_class_init):
1182         Redisplay the banner if the screen is rotated.
1183
1184         Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1185         on transition from landscape to portrait)
1186
1187 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
1188
1189         * hildon/hildon-banner.[ch]:
1190         (hildon_banner_show_information_override_dnd): remove icon_name from the
1191         method definition as it is ignored.
1192         * examples/hildon-banner-dnd-example.c: updated with the change on
1193         hildon-banner.h API
1194
1195 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
1196
1197         * hildon/hildon-banner-private.h: new require_override_dnd and
1198         overrides_dnd variables
1199         * hildon/hildon-banner.h:
1200         (hildon_banner_show_information_override_dnd): new method, that shows
1201         the information but sets the override flag, in order to show important
1202         messages
1203         * hildon/hildon-banner.c
1204         (hildon_banner_show_information_override_dnd): new method
1205         (hildon_banner_set_override_flag): new utility function
1206         (hildon_banner_real_show_information): new utility function, in order to
1207         generalize the current hildon_banner_show_information_override_dnd and
1208         hildon_banner_show_information_override_dnd
1209         * examples/Makefile.am
1210         * examples/hildon-banner-dnd-example.c: New example that show how to
1211         use the new hildon_banner_show_information_override_dnd
1212
1213         Fixes: NB#114874 (There is no possibility to show hildon banners with
1214         DND flag set)
1215
1216 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1217
1218         * hildon/hildon-pannable-area.c: Add a comment explaining the math
1219         behind hildon_pannable_calculate_vel_factor().
1220
1221 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1222
1223         * hildon/hildon-pannable-area.c
1224         (hildon_pannable_calculate_vel_factor): Correct the sum of the
1225         deceleration factors.
1226
1227 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1228
1229         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1230         Reduce the default value for 'scroll_time' to 1 second, since the
1231         current initial scrolling takes too much time.
1232
1233 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1234
1235         * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1236         calculate velocity factor during initialization, since the properties
1237         are not yet set.
1238
1239 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1240
1241         * hildon/hildon-pannable-area.c
1242         (hildon_pannable_area_set_property): Calculate the velocity factor
1243         after setting the deceleration property and not after.
1244
1245 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
1246
1247         * hildon/hildon-entry.c
1248         (hildon_entry_class_init, +set_property, hildon_entry_new)
1249         * hildon/hildon-check-button.c
1250         (hildon_check_button_class_init)
1251         (+set_property, hildon_check_button_new):
1252         Make the theme size a property.
1253
1254         Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1255         others) do too much in the _new function)
1256
1257 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
1258
1259         * configure.ac: post release version bump
1260         * debian/changelog: post release version bump
1261
1262 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
1263
1264         [Release 2.1.74]
1265
1266         * NEWS: Updates.
1267         * configure.ac: Bump version.
1268         * debian/changelog: Updates.
1269
1270 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
1271
1272         * hildon/hildon-gtk.h
1273         * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1274         New API function to take a screenshot of a window
1275
1276         Fixes: NB#106374 (Need API to take a loading screenshot)
1277
1278 2009-05-15  Alejandro Pinheiro  <apinheiro@igalia.com>
1279
1280         * hildon/hildon-time-selector.c
1281         (update_format_policy): prevent to use hours and minutes unitialized
1282
1283 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
1284
1285         * hildon/hildon-window.c (hildon_window_size_request):
1286         Always request the full size of the screen (minus the title bar if
1287         not in fullscreen mode).
1288
1289         Fixes: NB#107486 (HildonWindow should size itself properly)
1290
1291 2009-05-14  Claudio Saavedra  <csaavedra@igalia.com>
1292
1293         * hildon/hildon-note-private.h: Add idle_handler to the private data.
1294         * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1295         (on_show_cb), (sound_handling): Disconnect the idle handler for
1296         the sound when the note is finalized to avoid possible crashes.
1297
1298         Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1299         in a scenario)
1300
1301 2009-05-13  Artem Egorkine  <ext-artem.egorkine@nokia.com>
1302
1303         * src/hildon-animation-actor.c,
1304         * src/hildon-remote-texture.c:
1305         Added proper object cleanup to remove signal handler and object
1306         references as HildonAnimationActor and HildonRemoteTexture
1307         objects get destroyed.
1308
1309         Fixes: NB#116682 (Destroying parented animation actors when
1310         parent in unmapped leads to crash)
1311
1312 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
1313
1314         Based on a patch by Christian Dywan (christian@imendio.com)
1315
1316         * doc/hildon-sections.txt:
1317         * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1318         * hildon/hildon-helper.h: New file size formatting method.
1319         * debian/changelog:
1320         * debian/control: Depend on osso-filemanager l10n package for
1321         proper localization strings.
1322
1323 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
1324
1325         * tests/Makefile.am: Include top_srcdir to make possible to build
1326         tests in a different builddir.
1327         * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1328         on a different builddir.
1329
1330 2009-05-12  Claudio Saavedra  <csaavedra@igalia.com>
1331
1332         * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1333         (hildon_touch_selector_remove): Disconnect model's signal handler
1334         on column removal.
1335
1336         Fixes: NB#116289 (Hildon home crashes while adding task
1337         shortcuts.)
1338
1339 2009-05-11  Alberto Garcia  <agarcia@igalia.com>
1340
1341         * hildon/hildon-button.c
1342         (hildon_button_set_title, hildon_button_set_value):
1343         Hide labels containing an empty string.
1344
1345 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
1346
1347         * configure.ac: post release version bump
1348         * debian/changelog: post release version bump
1349
1350 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
1351
1352         [Release 2.1.72]
1353
1354         * NEWS: Updates.
1355         * configure.ac: Bump version.
1356         * debian/changelog: Updates.
1357
1358 2009-05-08  Alejandro Pinheiro <apinheiro@igalia.com>
1359
1360         * hildon/hildon-note-private.h: Removed sound_signal_handler
1361         * hildon/hildon-note.c
1362         (on_show_cb): new callback on note "show" event, this simply adds
1363         a idle, with the function sound_handling
1364         (sound_handling): removed the sound_signal_handler management
1365         (hildon_note_init): connect note "show" event to on_show_cb
1366         (hildon_note_realize): remove the connection to "expose-event"
1367
1368         Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1369         device?' confirmation note)
1370
1371 2009-05-08  Alberto Garcia  <agarcia@igalia.com>
1372
1373         * hildon/hildon-note.c
1374         (hildon_note_new_information_with_icon_name)
1375         (hildon_note_new_confirmation_with_icon_name):
1376         Terminate the list of parameters in g_object_set() calls
1377
1378         Fixes: NB#115166 (Formatting memory card is not taking place)
1379
1380 2009-05-08  Claudio Saavedra  <csaavedra@igalia.com>
1381
1382         * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1383         "dialog-information" role for the sound being played.
1384
1385 2009-05-06  Alberto Garcia  <agarcia@igalia.com>
1386
1387         * hildon/hildon-app-menu.c (hildon_app_menu_init):
1388         Don't make the menu a modal window, it causes strange interactions
1389         with the pointer grab and it's not really needed.
1390
1391         Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1392
1393 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1394
1395         * hildon/hildon-touch-selector.[ch]
1396         (hildon_touch_selector_optimal_size_request): function added to get a
1397         optimal size request from the touch selector, when you want a dialog to
1398         show as much of the selector
1399         * hildon/hildon-picker-dialog.c:
1400         Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1401         (hildon_app_menu_class_init):
1402         New "max-height-landscape" and "max-height-portrait" style properties
1403         (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1404         (hildon_picker_dialog_get_max_height): returns the maximum height using
1405         the style properties defined and checking the current portrait/landscape
1406         status
1407         (_hildon_picker_dialog_set_selector): removed the set_size_request
1408
1409         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1410
1411 2009-05-06  Claudio Saavedra  <csaavedra@igalia.com>
1412
1413         * hildon/hildon-bread-crumb-trail.c:
1414         * hildon/hildon-bread-crumb.c:
1415         * hildon/hildon-seekbar.c:
1416         Add reference to replacements for these deprecated widgets.
1417
1418         Fixes: MB#4461 (Documentation: All deprecations should mention
1419         replacements)
1420
1421 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1422
1423         * examples/hildon-remote-texture-example.c
1424
1425         Change the include to the hildon-remote-texture in order to compile
1426         properly the examples on the installed libhildon1-examples package
1427
1428 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
1429
1430         * tests/Makefile.am: Add check for HildonPickerButton.
1431         * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1432         (START_TEST), (create_hildon_picker_button_suite): Add three simple
1433         checks for the HildonPickerButton.
1434         * tests/check_test.c (configure_tests): Add the test suite.
1435         * tests/test_suites.h: likewise.
1436
1437 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
1438
1439         * hildon/hildon-touch-selector.c
1440         (+on_row_changed): Emit HildonTouchSelector:changed when the
1441         contents of a selected row change.
1442         (_create_new_column), (_hildon_touch_selector_set_model): connect
1443         to GtkTreeModel:row-changed on a newly set model.
1444
1445         Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1446
1447 2009-05-05  Alberto Garcia  <agarcia@igalia.com>
1448
1449         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1450
1451         * hildon/hildon-banner.c (hildon_banner_destroy)
1452         (hildon_banner_show_progress, hildon_banner_set_fraction):
1453         Remove the progress bar from HildonBanner and use a progress
1454         indicator instead.
1455
1456         Fixes: NB#113761 (Update progress banner to use progress
1457         indicator)
1458
1459 2009-05-04  Alberto Garcia  <agarcia@igalia.com>
1460
1461         * hildon/hildon-banner.c:
1462         Calculate size of the banner label using the actual screen width
1463         rather than using a fixed value.
1464
1465         Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1466         is truncated)
1467
1468 2009-05-04  Alejandro G. Castro  <alex@igalia.com>
1469
1470         * hildon/hildon-pannable-area.c,
1471         (hildon_pannable_area_class_init): Fixed signals documentation
1472         typo.
1473
1474 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
1475
1476         * configure.ac: post release version bump
1477         * debian/changelog: post release version bump
1478
1479 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
1480
1481         [Release 2.1.70]
1482
1483         * NEWS: Updates.
1484         * configure.ac: Bump version.
1485         * debian/changelog: Updates.
1486
1487 2009-05-01  Alberto Garcia  <agarcia@igalia.com>
1488
1489         * hildon/hildon-edit-toolbar.c
1490         (hildon_edit_toolbar_init):
1491         Don't let buttons in HildonEditToolbar receive focus.
1492
1493         Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1494         typing on an HW arrows key)
1495
1496 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
1497
1498         * doc/Makefile.am: Fix build.
1499
1500 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
1501
1502         * doc/Makefile.am: Do not redefine content_files.
1503
1504 2009-04-30  Alberto Garcia  <agarcia@igalia.com>
1505
1506         * src/
1507         * Makefile.am
1508         * configure.ac
1509         * doc/Makefile.am
1510         * doc/hildon.types
1511         * po/POTFILES.in:
1512         Renamed src/ to hildon/
1513
1514         * examples/*.c
1515         * debian/changelog
1516         * debian/rules:
1517         Include <hildon/hildon.h> directly in all examples.
1518
1519 2009-04-29  Alejandro Pinheiro  <apinheiro@igalia.com>
1520
1521         * src/hildon-sort-dialog.c
1522         (hildon_sort_dialog_add_sort_key_with_sorting)
1523         (sort_key_changed)
1524         Add safety checks
1525
1526 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1527
1528         * src/Makefile.am: Move generated sources to CLEANFILES, so that
1529         make distcheck passes.
1530
1531 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1532
1533         * Makefile.am: Enable gtk-doc during distcheck.
1534
1535 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1536
1537         * Makefile.am: Do not distribute the debian/ directory.
1538
1539 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1540
1541         * doc/Makefile.am: Add the extra SGML files to content_files,
1542         so that they are distributed properly.
1543
1544 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1545
1546         * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1547         to the SOURCES.
1548
1549 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1550
1551         * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1552         (hildon_note_new_information_with_icon_name): Set the "icon" property
1553         to preserve soundness.
1554
1555 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1556
1557         * src/hildon-font-selection-dialog.c
1558         (hildon_font_selection_dialog_set_property): Fail when the "family"
1559         property is set to NULL.
1560
1561 2009-04-28  Claudio Saavedra  <csaavedra@igalia.com>
1562
1563         * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1564         safety checks.
1565
1566 2009-04-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1567
1568         * src/hildon-time-selector.h:
1569         Added HildonTimeSelectorFormatPolicy
1570         * src/hildon-time-selector.c:
1571         Added PROP_TIME_FORMAT_POLICY
1572         (_check_ampm_format): renamed to check_automatic_ampm_format
1573         (update_format_policy), (update_format_dependant_columns): new functions
1574         (hildon_time_selector_class_init)
1575         (hildon_time_selector_contructor)
1576         (hildon_time_selector_init)
1577         (hildon_time_selector_get_property)
1578         (hildon_time_selector_set_property)
1579         (hildon_time_selector_get_time)
1580         (hildon_time_selector_set_time)
1581         * src/hildon-touch-selector.h: new file
1582         * src/hildon-touch-selector.c
1583         (hildon_touch_selector_emit_changed)
1584         (hildon_touch_selector_block_changed)
1585         (hildon_touch_selector_unblock_changed)
1586         Added functions to allow to block the emission of the "changed" signal
1587         * src/hildon-picker-dialog.c
1588         (hildon_picker_dialog_show): call the parent show before the custom code
1589         * examples/hildon-time-button-example.c
1590         Modified, so now you can configure the time format using the new property
1591
1592         Added a new property "time-format-policy" that allow to choose the time
1593         format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1594         case it uses gconf in order to check if the time selector must use
1595         AM/PM or 24H.
1596
1597         Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1598         mode)
1599
1600 2009-04-28  Alberto Garcia  <agarcia@igalia.com>
1601
1602         * src/hildon-note.c (hildon_note_init):
1603         Label in HildonNote must be left aligned, not centered. This
1604         reverts the last commit in HildonNote.
1605
1606         Fixes: NB#112933 (text is not left aligned in confirmation dialog
1607         is connectivity dialog)
1608
1609 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1610
1611         * src/hildon-gtk.c:
1612         Minor style fixes
1613
1614         * doc/hildon-sections.txt:
1615         Added hildon_gtk_window_set_do_not_disturb()
1616
1617 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1618
1619         * src/hildon-note.c (hildon_note_init): Center label.
1620
1621         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1622         properly)
1623
1624 2009-04-27  Claudio Saavedra  <csaavedra@igalia.com>
1625
1626         [Release 2.1.68]
1627
1628         * NEWS: Updates.
1629         * configure.ac: Bump version.
1630         * debian/changelog: Updates.
1631
1632 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1633
1634         * src/hildon-note-private.h: Add button-width to the private data.
1635         * src/hildon-note.c (+resize_button),
1636         (+hildon_note_orientation_update): methods to repack widgets on orientation
1637         changes.
1638         (screen_size_changed): Call above method for confirmation notes.
1639         (hildon_note_realize): Always connect to the "screen-size" changed signal.
1640         (hildon_note_rebuild): Store the original width request from buttons.
1641
1642         Fixes: NB#109635 (Confirmation notes do not support portrait)
1643
1644 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1645
1646         * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1647         when it is a progress note.
1648
1649 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1650
1651         * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1652         in the note, since there are no horizontally arranged contents.
1653
1654 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1655
1656         * src/hildon-gtk.c (+set_flag): new generic method to
1657         set/delay a flag setting in a window.
1658         (hildon_gtk_window_set_progress_indicator):
1659         (hildon_gtk_window_set_do_not_disturb),
1660         (hildon_gtk_window_set_portrait_flags): use set_flag() to
1661         avoid code redundance.
1662
1663 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1664
1665         Based on a patch by Alberto Garcia (agarcia@igalia.com)
1666
1667         * src/hildon-gtk.c (set_clear_window_flag),
1668         (do_set_progress_indicator), (do_set_do_not_disturb),
1669         (do_set_portrait_flags),
1670         (hildon_gtk_window_set_progress_indicator),
1671         (hildon_gtk_window_set_do_not_disturb),
1672         (hildon_gtk_window_set_portrait_flags):
1673         Allow setting dnd-flag, progress indicator, and portrait flags
1674         when the window is not realized.
1675
1676 2009-04-24  Alejandro G. Castro  <alex@igalia.com>
1677
1678         * src/hildon-pannable-area.c,
1679         * src/hildon-pannable-area.h: Add the hildon deprecated define to
1680         the size request policy function and defines.
1681
1682 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1683
1684         * doc/hildon-sections.txt: Add the new API.
1685         * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1686         method to set the portrait flags.
1687         * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1688
1689         Fixes: NB#112328 (Adding helpers for setting portrait properties)
1690
1691 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1692
1693         * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1694         to allow using this method with other flags.
1695         (hildon_gtk_window_set_progress_indicator): Update accordingly.
1696         (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1697
1698 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1699
1700         * src/hildon-touch-selector.c
1701         (hildon_touch_selector_append_text_column):
1702         Make the cell renderer use the smallest width possible.
1703
1704         Fixes: NB#108470 (Selected items in multiple selection are either
1705         having a tick that is cut or not visible at all.)
1706
1707 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1708
1709         * src/hildon-touch-selector.c
1710         (hildon_touch_selector_append_text_column):
1711         Code cleanups
1712
1713 2009-04-22  Claudio Saavedra  <csaavedra@igalia.com>
1714
1715         * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1716         Use g_strdup_printf() instead of a fixed size buffer.
1717
1718 2009-04-21  Alberto Garcia  <agarcia@igalia.com>
1719
1720         * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1721         Close banners when a HildonAppMenu is popped up.
1722
1723         Fixes: NB#111027 (Title menu closed immediately if activated when
1724         "Invalid e-mail address" banner is shown)
1725
1726 2009-04-21  Claudio Saavedra  <csaavedra@igalia.com>
1727
1728         [Release 2.1.66]
1729
1730         * NEWS: Updates.
1731         * configure.ac: Bump version.
1732         * debian/changelog: Updates.
1733
1734 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1735
1736         * src/hildon-banner.c (hildon_banner_realize):
1737         Mark HildonBanner as supporting portrait mode.
1738         Use GDK to set window properties insetad of direct Xlib calls.
1739
1740         Fixes: NB#111830 (HildonBanner should be marked as supporting
1741         portrait)
1742
1743 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1744
1745         * src/hildon-note.c (hildon_note_rebuild):
1746         Hide action area in information notes. Prevents text from being
1747         slightly aligned to the left.
1748
1749         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1750         properly)
1751
1752 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1753
1754         Patch by Mox Soini (ext-mox.soini@nokia.com)
1755
1756         * src/hildon-banner.c (hildon_banner_create_animation):
1757         Use stylus-sized icons in animation banner.
1758
1759         Fixes: NB#111206 (stylus sized icon for animation banner)
1760
1761 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1762
1763         * src/hildon-gtk.h
1764         * src/hildon-gtk.c
1765         (+hildon_gtk_window_set_do_not_disturb):
1766         New API to set the do-not-disturb flag.
1767
1768         Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1769
1770 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1771
1772         * examples/hildon-progress-indicator-example.c: Fix example
1773
1774         * src/hildon-gtk.c (set_clear_window_flag)
1775         (hildon_gtk_window_set_progress_indicator):
1776         Create a generic function for setting flags to a window.
1777         Use GDK instead of direct Xlib calls.
1778
1779 2009-04-14  Alberto Garcia  <agarcia@igalia.com>
1780
1781         * src/hildon-button.c (hildon_button_set_arrangement):
1782         Due to NB#88126, if one of the labels is too long it will be
1783         painted outside the button. The 'value' label is more likely to be
1784         the longest one, so we change its packing options in order to
1785         truncate it if necessary. As a side effect, the 'title' label will
1786         no longer be truncated.
1787
1788         Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1789
1790 2009-04-14  Claudio Saavedra  <csaavedra@igalia.com>
1791
1792         [Release 2.1.64]
1793
1794         * NEWS: Updates.
1795         * configure.ac: Bump version.
1796         * debian/changelog: Updates.
1797
1798 2009-04-13  Alejandro G. Castro  <alex@igalia.com>
1799
1800         Deprecation of the hildon_pannable_area_set_size_request_policy
1801         API, the only policy properly supported in gtk+ nowadays is the
1802         minimum size.
1803
1804         * src/hildon-pannable-area.c,
1805         (hildon_pannable_area_size_request): Added a workaround for the
1806         size_request to avoid the problems of huge pixmaps in case someone
1807         is still using the function.
1808         * src/hildon-pannable-area.h: Deprecated the enum with the
1809         policies.
1810
1811         Fixes: NB#110244 (Problems with the
1812         hildon_pannable_area_set_size_request_policy API)
1813
1814 2009-04-08  Alejandro G. Castro  <alex@igalia.com>
1815
1816         * src/hildon-pannable-area.c,
1817         (hildon_pannable_area_init),
1818         (hildon_pannable_area_size_request),
1819         (hildon_pannable_area_style_set),
1820         (hildon_pannable_draw_vscroll),
1821         (hildon_pannable_draw_hscroll),
1822         (hildon_pannable_area_check_scrollbars): Replaced area_width with
1823         indicator_width to clarify the use of the attribute.
1824
1825 2009-04-08  Claudio Saavedra  <csaavedra@igalia.com>
1826
1827         [Release 2.1.62]
1828
1829         * NEWS: Updates.
1830         * configure.ac: Bump version.
1831         * debian/changelog: Updates.
1832
1833 2009-04-07  Alejandro Pinheiro <apinheiro@igalia.com>
1834
1835         * src/hildon-picker-dialog.c
1836         * src/hildon-touch-selector.c
1837         Reverting the change that tried to avoid the hardcoded height on
1838         the picker dialog, as causes problems on the hildon-touch-selector
1839         initial-hint
1840
1841         Fixes: NB#110029 (selectors not scrolling to selected value)
1842
1843 2009-04-07  Alberto Garcia  <agarcia@igalia.com>
1844
1845         * src/hildon-touch-selector.c: Fix typos
1846
1847 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1848
1849         * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1850         Use the event coordinates instead of gdk_window_get_pointer(). Also,
1851         request more motions after using it.
1852
1853 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1854
1855         * src/hildon-calendar.c (hildon_calendar_expose),
1856         (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1857         Remove unused variables.
1858
1859 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1860
1861         * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1862         variable assignment.
1863
1864 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1865
1866         * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1867         Check the return value of gtk_tree_selection_get_selected()
1868         for safety.
1869
1870 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
1871
1872         * src/hildon-animation-actor.c
1873         * src/hildon-button.c
1874         * src/hildon-main.c
1875         * src/hildon-pannable-area.c
1876         * src/hildon-picker-button.c
1877         * src/hildon-program.c
1878         * src/hildon-remote-texture.c
1879         * src/hildon-text-view.c
1880         * src/hildon-touch-selector.c
1881         * src/hildon-window-stack.c
1882         * src/hildon-window.c:
1883         Add missing 'Since: 2.2' tags.
1884
1885         * doc/hildon-sections.txt:
1886         Add some missing symbols.
1887
1888         * doc/hildon-docs.sgml:
1889         New 'Other' section for HildonAnimationActor and
1890         HildonRemoteTexture
1891
1892 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
1893
1894         Patch by Iván Gómez (igomez@igalia.com)
1895
1896         * doc/building.sgml
1897         * doc/compiling.sgml
1898         * doc/hildon-docs.sgml
1899         * doc/hildon-sections.txt
1900         * doc/migration.sgml
1901         * doc/resources.sgml
1902         * doc/running.sgml:
1903         New chapters on using the Hildon library.
1904         Updated the general structure of the reference manual.
1905         Other minor documentation fixes.
1906
1907         * src/hildon-calendar-popup.c
1908         * src/hildon-calendar.c
1909         * src/hildon-controlbar.c
1910         * src/hildon-date-editor.c
1911         * src/hildon-dialog.c
1912         * src/hildon-hvolumebar.c
1913         * src/hildon-number-editor.c
1914         * src/hildon-range-editor.c
1915         * src/hildon-sort-dialog.c
1916         * src/hildon-time-editor.c
1917         * src/hildon-time-picker.c
1918         * src/hildon-volumebar-range.c
1919         * src/hildon-volumebar.c
1920         * src/hildon-vvolumebar.c
1921         * src/hildon-weekday-picker.c:
1922         Add deprecation notes
1923
1924         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1925         Document 'horizontal-movement' and 'vertical-movement' signals.
1926
1927 2009-04-06  Claudio Saavedra  <csaavedra@igalia.com>
1928
1929         [Release 2.1.60]
1930
1931         * NEWS: Updates.
1932         * configure.ac: Bump version.
1933         * debian/changelog: Updates.
1934
1935 2009-04-06  Alejandro G. Castro  <alex@igalia.com>
1936
1937         * src/hildon-pannable-area.c,
1938         (hildon_pannable_area_class_init): increased the minimum velocity.
1939         (hildon_pannable_area_button_release_cb): Updated the
1940         CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1941         setup. Review the code to control that last event.
1942
1943         Fixes: NB#109790 (Releasing finger in pannable area easily causes
1944         unwanted scrolling)
1945
1946 2009-04-03  Claudio Saavedra  <csaavedra@igalia.com>
1947
1948         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1949
1950         * src/hildon-get-password-dialog.c
1951         (hildon_get_password_set_property),
1952         (hildon_get_password_get_property), (create_contents):
1953         * src/hildon-login-dialog-private.h:
1954         * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1955         (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1956         (hildon_login_dialog_get_password):
1957         * src/hildon-set-password-dialog-private.h:
1958         * src/hildon-set-password-dialog.c
1959         (hildon_set_password_set_property),
1960         (hildon_set_password_get_property), (create_contents),
1961         (hildon_set_password_response_change),
1962         (hildon_set_password_response_set), (hildon_checkbox_toggled):
1963
1964         Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1965         instead and look more Fremantle style.
1966
1967         Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1968
1969 2009-04-03  Alberto Garcia  <agarcia@igalia.com>
1970
1971         * doc/hildon-sections.txt
1972         * src/hildon-window-stack.h
1973         * src/hildon-window-stack.c
1974         (+hildon_window_stack_get_windows):
1975         New API to obtain the list of windows on a stack.
1976
1977 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1978
1979         * src/hildon-app-menu.c (hildon_app_menu_popup)
1980         (hildon_app_menu_class_init, -hildon_app_menu_show):
1981         Remove hildon_app_menu_show() and move all its checks to
1982         hildon_app_menu_popup()
1983
1984 2009-04-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1985
1986         * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1987         (_hildon_picker_dialog_set_selector): removed call to
1988         gtk_widget_set_size_request
1989         * src/hildon-touch-selector.c
1990         (_create_new_column): change the pannable size request policy
1991
1992         Avoid to use a hardcoded height for the hildon picker dialog. In order
1993         to get that, we needed to change the hildon pannable size request
1994         policy
1995         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1996
1997 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1998
1999         * src/hildon-window.c (hildon_window_map): Check for vbox to be
2000         not NULL.  Avoids a (very unlikely) crasher. See related NB#103301
2001         browser crash.
2002
2003 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
2004
2005         * debian/control: Depend on osso-system-lock localization package.
2006         * src/hildon-code-dialog.c: Obtain the secu_application_title
2007         translation from osso-system-lock.
2008         * src/hildon-get-password-dialog.c (create_contents): Do not mark
2009         for translation the atk related strings, that's not necessary.
2010         * src/hildon-set-password-dialog.c (create_contents): Ditto.
2011         * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2012         cancel button, it is not required.
2013
2014 2009-04-02  Alejandro G. Castro  <alex@igalia.com>
2015
2016         * src/hildon-pannable-area.c,
2017         (hildon_pannable_area_class_init): Modified the default value of
2018         the overshooting max speed, we have reduced it.
2019
2020 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
2021
2022         * doc/hildon-sections.txt
2023         * src/hildon-window-private.h
2024         * src/hildon-window.h
2025         * src/hildon-window.c (hildon_window_class_init)
2026         (hildon_window_init, hildon_window_finalize)
2027         (hildon_window_realize, hildon_window_get_property)
2028         (hildon_window_set_property, hildon_window_update_markup)
2029         (hildon_window_get_markup, hildon_window_set_markup):
2030         New "markup" property and hildon_window_{get,set}_markup() methods.
2031
2032         * examples/hildon-stackable-window-example.c (new_window):
2033         Update example to use hildon_window_set_markup()
2034
2035         Fixes: NB#106375 (Need API to retitle a window with a title
2036         including markup)
2037
2038 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
2039
2040         * src/hildon-pannable-area.c,
2041         (hildon_pannable_area_class_init): Changed the default value of
2042         the initial_hint to TRUE.
2043         (hildon_pannable_area_initial_effect): Changed the initial effect,
2044         not the effect is just the fade-out of the scrollbars.
2045
2046         Fixes: NB#107775 (No scrollbars can be seen when several items are
2047         available in a dialog)
2048
2049 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
2050
2051         * src/hildon-program.c (hildon_program_update_top_most):
2052         Fix memory leak.
2053
2054         Fixes: NB#109179 (Memory leak in Hildon program)
2055
2056 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
2057
2058         * src/hildon-banner.c (-get_current_app_window):
2059         Remove unused function.
2060
2061 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
2062
2063         * src/hildon-pannable-area.c: Modified the documentation of the
2064         get adjustments functions to explain the problem of using the
2065         adjustment directly.
2066         (hildon_pannable_area_class_init): Improved the explanation about
2067         the velocity.
2068
2069 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
2070
2071         * src/hildon-app-menu-private.h
2072         * src/hildon-app-menu.c
2073         (hildon_app_menu_class_init):
2074         Bring back the 'external-border' style property
2075         (hildon_app_menu_class_init, hildon_app_menu_init)
2076         (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2077         Set a fixed width-request for the menu, independent of the number
2078         of items.
2079
2080         Fixes: NB#94957 (Smoothly opened application menu)
2081
2082 2009-03-30  Alberto Garcia  <agarcia@igalia.com>
2083
2084         * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2085
2086         * src/hildon-banner.c
2087         Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2088         (hildon_banner_map)
2089         Make sure that the banner is correctly placed the first time it's
2090         shown.
2091         (hildon_banner_check_position, -check_fullscreen_state):
2092         Show the banner in the same place no matter if the window is in
2093         fullscreen mode or not.
2094
2095         Fixes: NB#107386 (Odd stacking behaviour for information banners)
2096
2097 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
2098
2099         * src/hildon-touch-selector.c (_default_print_func): reorder
2100         concatenation for clarity.
2101
2102 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
2103
2104         * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2105         for multicolumn selectors.
2106
2107         Fixes: NB#109099 (Memory leak in Hildon touch selector)
2108
2109 2009-03-30  Claudio Saavedra  <csaavedra@igalia.com>
2110
2111         [Release 2.1.58]
2112
2113         * NEWS: Updates.
2114         * configure.ac: Bump version.
2115         * debian/changelog: Updates.
2116
2117 2009-03-27  Claudio Saavedra  <csaavedra@igalia.com>
2118
2119         * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2120         coding style fixes.
2121
2122 2009-03-26  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2123
2124         * configure.ac: removed libcangerra-gtk dependency
2125         * debian/control: removed libcanberra-gtk dependency
2126         * src/Makefile.am: removed libcanberra gtk related flags
2127         * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2128         context, and manage a global canberra context instead
2129
2130         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2131
2132 2009-03-26  Alberto Garcia  <agarcia@igalia.com>
2133
2134         Patch by Daniel Borgmann (danielb@openismus.com)
2135
2136         * src/hildon-edit-toolbar.c:
2137         Adjust the left padding.
2138         (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2139         Paint background of the edit toolbar.
2140
2141         Fixes: NB#107897 (Patch to make editmodetoolbar background
2142         themeable and adjust margin)
2143
2144 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
2145
2146         Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2147
2148         * src/hildon-program.c (hildon_program_update_top_most):
2149         Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2150
2151         Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2152         change when the user tasks in/out of an application)
2153
2154 2009-03-25  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2155
2156         * configure.ac: added libcangerra-gtk dependency
2157         * debian/control: added libcanberra-gtk dependency
2158         * src/Makefile.am: added libcanberra gtk related flags
2159         * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2160         instead of use it.
2161
2162         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2163
2164 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
2165
2166         * src/hildon-program.c (hildon_program_remove_window)
2167         (hildon_program_add_window): Add checks for the window
2168         parameter. Don't decrease the window counter if the window is not
2169         registered.
2170
2171 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
2172
2173         * src/hildon-pannable-area.c,
2174         (hildon_pannable_area_realize): Fixed position of the event_window
2175         in the realize method.
2176
2177 2009-03-24  Alberto Garcia  <agarcia@igalia.com>
2178
2179         * src/hildon-app-menu-private.h
2180         * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2181         (hildon_app_menu_map, hildon_app_menu_hide_idle)
2182         (hildon_app_menu_key_press, hildon_app_menu_init)
2183         (hildon_app_menu_finalize):
2184         Make sure that all idle functions are removed when the widget is
2185         destroyed.
2186
2187         Fixes: NB#107583 (Hildon app menu crashes in various applications)
2188
2189 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
2190
2191         [Release 2.1.56]
2192
2193         * NEWS: Updates.
2194         * configure.ac: Bump version.
2195         * debian/changelog: Updates.
2196
2197 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
2198
2199         * src/hildon-entry.c
2200         (+hildon_entry_show_placeholder),
2201         (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2202         that replace hildon_entry_update_contents().
2203         (hildon_entry_set_text),
2204         (hildon_entry_set_placeholder),
2205         (hildon_entry_focus_in_event),
2206         (hildon_entry_focus_out_event): Determine when it is needed
2207         either to show or hide the placeholder and call the above methods.
2208
2209         Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2210         when the placeholder text is already set)
2211
2212 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
2213
2214         * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2215         simple GdkPixbufAnim using the new icons for the banner.
2216         (hildon_banner_show_animation): Use the above mentioned method to
2217         create the animation widget.
2218
2219         Fixes: NB#103564 (Make hildon animation banner use individual
2220         image files as the animation)
2221
2222 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
2223
2224         * src/hildon-pannable-area.c,
2225         (hildon_pannable_leave_notify_event): Check if the child is NULL
2226         to avoid sending the leave.
2227
2228 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
2229
2230         * src/hildon-pannable-area.c,
2231         (hildon_pannable_area_class_init),
2232         (hildon_pannable_leave_notify_event): Added a handler of the
2233         leave-notify-signal to consider when no motion notify before
2234         leaving.
2235
2236         Fixes: NB#107494 (Items stay selected when clicking and moving
2237         away when inside pannable area)
2238
2239 2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>
2240
2241         [Release 2.1.54]
2242
2243         * NEWS: Updates.
2244         * configure.ac: Bump version.
2245         * debian/changelog: Updates.
2246
2247 2009-03-19  Alejandro G. Castro  <alex@igalia.com>
2248
2249         Patch by Alberto Garcia (agarcia@igalia.com)
2250
2251         * src/hildon-date-button.c,
2252         (hildon_date_button_class_init),
2253         (hildon_date_button_init): Removed the construct property handling
2254         and created a default selector in the init method.
2255         * src/hildon-picker-button.c,
2256         (hildon_picker_button_class_init): Removed the construct flag of the
2257         selector property.
2258
2259 2009-03-18  Alberto Garcia  <agarcia@igalia.com>
2260
2261         * src/hildon-main.c (hildon_init):
2262         Don't allow hildon_init() to be called more than once.
2263
2264         Fixes: NB#106607 (hildon_init should issue error message upon
2265         successive calls)
2266
2267 2009-03-17  Alejandro Pinheiro  <apinheiro@igalia.com>
2268
2269         * examples/hildon-pannable-area-touch-list-example.c
2270         * examples/hildon-pannagle-area-touch-grid-example.c
2271         * examples/hildon-edit-toolbar-example.c
2272         * examples/hildon-touch-selector-multi-cells-example.c
2273         Removed the call to gtk_rc_parse_string, as it is not required since
2274         some time ago.
2275
2276 2009-03-17  Alejandro G. Castro  <alex@igalia.com>
2277
2278         * src/hildon-pannable-area.c,
2279         (hildon_pannable_area_class_init): Modified the default panning
2280         threshold of the widget to 6px.
2281
2282         Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2283         than the threshold value ) within the button is not sending the
2284         event to the clild)
2285
2286 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2287
2288         * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2289         for the treeview in the new column. This way, the touch list will never
2290         grab the focus.
2291
2292         Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2293         be selected manually for the HW keys to work)
2294
2295 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2296
2297         * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2298         comparison instead of using strcmp(). Fixes a compiler warning as well.
2299
2300 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2301
2302         * doc/hildon-docs.sgml: Do not set the library version in the
2303         document title, use the releaseinfo tag for that purpose instead.
2304
2305 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2306
2307         * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2308         Do not jump to the first item if the text in the entry is removed.
2309
2310 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2311
2312         [Release 2.1.52]
2313
2314         * NEWS: Updates.
2315         * configure.ac: Bump version.
2316         * debian/changelog: Updates.
2317
2318 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2319
2320         * src/hildon-entry.c (hildon_entry_refresh_contents):
2321         * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2322         Use "ReversedSecondaryTextColor" for the placeholder text.
2323
2324 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
2325
2326         * src/hildon-text-view.c: Fix compilation warning.
2327
2328 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
2329
2330         * src/hildon-button.c (hildon_button_class_init): Don't make
2331         "title" and "value" construction properties, to prevent them from
2332         overwriting labels set from derived classes.
2333
2334         * src/hildon-picker-button.c
2335         (hildon_picker_button_set_selector): Allow setting a NULL selector.
2336         (hildon_picker_button_class_init): Make touch-selector a
2337         construction property.
2338
2339         * src/hildon-date-button.c (hildon_date_button_class_init)
2340         (+hildon_date_button_constructed): Add a default date selector if
2341         none is provided.
2342
2343 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2344
2345         * src/hildon-touch-selector.c: Small documentation fixes.
2346
2347 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2348
2349         Based on a patch by Daniel Borgmann (danielb@openismus.com)
2350
2351         * src/hildon-entry.c (hildon_entry_refresh_contents),
2352         (hildon_entry_get_text), (hildon_entry_init): Do not use the
2353         widget name, set the logical color directly instead and a boolean
2354         showing_placeholder instead.
2355         * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2356         use the widget name here either.
2357
2358         Fixes: NB#105678 (HildonTextView should use logical colours
2359         instead of setting widget name)
2360
2361 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2362
2363         Patch by Daniel Elster (danielk@openismus.com)
2364
2365         * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2366         Add user_data parameter.
2367         (hildon_touch_selector_set_print_func_full): New function akin
2368         hildon_touch_selector_set_print_func() but with support for user
2369         data and a destroy callback.
2370         (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2371         to clean up the print function user data.
2372         (hildon_touch_selector_class_init): Install dispose function.
2373         (HildonTouchSelectorPrivate::print_user_data),
2374         (HildonTouchSelectorPrivate::print_destroy_func): New private
2375         member data.
2376         (hildon_touch_selector_init): Initialize new private members.
2377         (hildon_touch_selector_get_current_text): Pass along user data
2378         to the print function.
2379         (_default_print_func): Add dummy user_data to parameter list.
2380         * hildon-date-selector.c (_custom_print_func): ditto,
2381         * hildon-time-selector.c (_custom_print_func): ditto,
2382         * hildon-touch-selector-entry.c
2383         (hildon_touch_selector_entry_print_func): ditto.
2384
2385         Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2386
2387 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2388
2389         * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2390
2391 2009-03-12  Alejandro G. Castro  <alex@igalia.com>
2392
2393         * src/hildon-pannable-area.c,
2394         (hildon_pannable_area_init),
2395         (hildon_pannable_area_button_press_cb),
2396         (hildon_pannable_area_motion_notify_cb): We have added code to
2397         handle the leave and enter events when using the motion events.
2398
2399         Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2400
2401 2009-03-11  Alberto Garcia  <agarcia@igalia.com>
2402
2403         * src/hildon-date-button.c (hildon_date_button_get_date)
2404         (hildon_date_button_set_date): Make sure that the button has a
2405         selector.
2406
2407         Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2408
2409 2009-03-11  Alejandro G. Castro  <alex@igalia.com>
2410
2411         * src/hildon-pannable-area.c,
2412         (hildon_pannable_area_class_init),
2413         (hildon_pannable_area_calculate_velocity): Modify the use of the
2414         force and adapt the value.
2415
2416 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
2417
2418         * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2419         (hildon_app_menu_class_init): Hide the menu if it receives a
2420         delete-event, but don't destroy it
2421
2422         Fixes: NB#104485 (Not able to address the call when application
2423         menu is opened at background)
2424
2425 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
2426
2427         * src/hildon-app-menu.c
2428         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2429         Remove the "external-border" style property, let the menu take its
2430         natural size (or the one set by the window manager)
2431         (hildon_app_menu_repack_items):
2432         Don't reshow the menu, avoid flickers.
2433
2434         Partially fixes NB#94957 (Smoothly opened application menu)
2435
2436 2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
2437
2438         [Release 2.1.50]
2439
2440         * NEWS: Updates.
2441         * configure.ac: Bump version.
2442         * debian/changelog: Updates.
2443
2444 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
2445
2446         * src/hildon-pannable-area.c,
2447         (hildon_pannable_area_motion_notify_cb): We control that the
2448         direction error margin is used just in case the movement is
2449         allowed in the other direction.
2450
2451         Fixes: NB#105012 (buttons inside a pannable area not getting
2452         release event when dragging/releasing)
2453
2454 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
2455
2456         * src/hildon-pannable-area.c,
2457         (hildon_pannable_area_class_init),
2458         (hildon_pannable_area_get_property),
2459         (hildon_pannable_area_set_property),
2460         (hildon_pannable_area_initial_effect),
2461         (hildon_pannable_axis_scroll),
2462         (hildon_pannable_area_button_release_cb): Reviewed the
2463         overshooting effect, now it has its own max
2464         speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2465         speed when bouncing.
2466
2467 2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
2468
2469         [Release 2.1.48]
2470
2471         * NEWS: Updates.
2472         * configure.ac: Bump version.
2473         * debian/changelog: Updates.
2474
2475 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
2476
2477         * src/hildon-pannable-area.c,
2478         (hildon_pannable_area_class_init): Changed the max speed, now
2479         users can launch the widget very fast. Reduced the default force,
2480         that way it is easier to control the launch speed.
2481
2482 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
2483
2484         * src/hildon-pannable-area.c,
2485         (hildon_pannable_area_button_release_cb): Removed this check
2486         because it causes problems when the device is overloaded.
2487
2488 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2489
2490         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2491         add a current_text field to store the text entered in the
2492         touch selector entry.
2493         (_clean_current_selection): clean up the current text as well.
2494         (_save_current_selection), (_restore_current_selection):
2495         Save/restore the text in the entry if the selector is a
2496         HildonTouchSelectorEntry.
2497
2498         Fixes: NB#102541 (value entered in the touch selector entry is not
2499         shown when opened for second time)
2500
2501 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2502
2503         * doc/hildon-sections.txt:
2504         * src/hildon-touch-selector-entry.c
2505         (+hildon_touch_selector_entry_get_entry):
2506         * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2507
2508         Fixes: NB#104815 (I need accessor to the entry inside
2509         HildonTouchSelectorEntry)
2510
2511 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2512
2513         * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2514         (hildon_app_menu_class_init):
2515         New "filter-vertical-spacing" style property.
2516
2517 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2518
2519         * src/hildon-find-toolbar.c
2520         (hildon_find_toolbar_emit_close)
2521         (hildon_find_toolbar_emit_invalid_input)
2522         (hildon_find_toolbar_entry_activate):
2523         Use g_signal_emit() instead of g_signal_emit_by_name()
2524
2525 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2526
2527         Patch by Mox Soini (ext-mox.soini@nokia.com)
2528
2529         * tests/TEST-CASES.txt
2530         * tests/check-hildon-banner.c
2531         * tests/check-hildon-note.c
2532         * src/hildon-banner.c
2533         * src/hildon-code-dialog.c
2534         * src/hildon-date-editor.c (real_set_calendar_icon_state)
2535         * src/hildon-time-editor.c
2536         * examples/hildon-lookup-example.c (main):
2537         Replace obsolete icon names with new ones.
2538
2539         * src/hildon-find-toolbar-private.h:
2540         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2541         (-hildon_find_toolbar_emit_search):
2542         Remove find button and change icon of close button.
2543
2544         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2545
2546 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2547
2548         * src/hildon-time-button.c (hildon_time_button_new_step):
2549         Use the "touch-selector" property to set the selector directly
2550         when creating the object.
2551
2552 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
2553
2554         Added a new example application that allows tuning the pannable
2555         area and replaced defines with properties in order to simplify the
2556         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2557         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2558         PROP_DIRECTION_ERROR_MARGIN.
2559
2560         * examples/hildon-pannable-area-tuning-example.c: New example
2561         application.
2562         * src/hildon-pannable-area.c,
2563         (hildon_pannable_area_class_init),
2564         (hildon_pannable_area_init),
2565         (hildon_pannable_area_get_property),
2566         (hildon_pannable_area_set_property),
2567         (hildon_pannable_area_launch_fade_timeout),
2568         (hildon_pannable_area_adjust_value_changed),
2569         (hildon_pannable_axis_scroll),
2570         (hildon_pannable_area_motion_notify_cb),
2571         (hildon_pannable_area_scroll_cb),
2572         (hildon_pannable_area_button_release_cb): We have converted some
2573         of the defines that control the widget to properties to simplify
2574         the tuning.
2575
2576 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2577
2578         * src/hildon-app-menu.c (hildon_app_menu_map)
2579         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2580         so it's closed if a new window appears.
2581
2582         Fixes: NB#104485 (Not able to address the call when application
2583         menu is opened at background)
2584
2585 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2586
2587         * src/hildon-color-button.c (hildon_color_button_get_property):Add
2588         missing 'break' statement in in 'case' construct to avoid
2589         incorrect warnings.
2590
2591 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2592
2593         * src/hildon-touch-selector-entry.c
2594         (hildon_touch_selector_entry_get_property),
2595         (hildon_touch_selector_entry_set_property): Add missing 'break'
2596         statements in in 'case' constructs to avoid incorrect warnings.
2597
2598 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2599
2600         * src/hildon-time-editor.c
2601         (hildon_time_editor_get_time_separators): Do not crash if
2602         the first label is NULL.
2603
2604 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2605
2606         * src/hildon-date-selector.c (_month_days): Check for month to be
2607         strictly less than 12, since otherwise we may overrun the array.
2608
2609 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2610
2611         * src/hildon-date-button.c (+hildon_date_button_new_full)
2612         (hildon_date_button_new, hildon_date_button_new_with_year_range)
2613         (hildon_date_button_init): Set the date selector using a
2614         construction property, to make it happen after HildonButton's
2615         "value" property is set.
2616
2617         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2618         current date by default)
2619
2620 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2621
2622         * doc/hildon-sections.txt
2623         * src/hildon-program.c
2624         * src/hildon-stackable-window.c
2625         * src/hildon-window.c:
2626         Documentation updates
2627
2628 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2629
2630         * src/hildon-window-stack.c (hildon_window_stack_get_default)
2631         (hildon_window_stack_new, +hildon_window_stack_set_property)
2632         (+hildon_window_stack_get_property)
2633         (hildon_window_stack_class_init)
2634         (+hildon_window_stack_set_window_group)
2635         (+hildon_window_stack_get_window_group):
2636         Make the window group a construction property.
2637
2638 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2639
2640         * doc/hildon-sections.txt
2641         * src/hildon-stackable-window-private.h
2642         * src/hildon-stackable-window.h
2643         * src/hildon-stackable-window.c
2644         (-hildon_stackable_window_set_app_menu)
2645         (-hildon_stackable_window_get_app_menu)
2646         (-hildon_stackable_window_toggle_menu)
2647         (-hildon_stackable_window_finalize)
2648         (hildon_stackable_window_class_init)
2649         (hildon_stackable_window_init)
2650         * src/hildon-window-private.h
2651         * src/hildon-window.h
2652         * src/hildon-window.c (hildon_window_init)
2653         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2654         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2655         (hildon_window_get_main_menu, hildon_window_set_main_menu)
2656         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2657         Moved all HildonAppMenu code to HildonWindow. The menu does not
2658         require a HildonStackableWindow anymore.
2659
2660         * src/hildon-app-menu.c
2661         * src/hildon-program.c
2662         * examples/hildon-app-menu-example.c (main):
2663         Update examples and documentation to reflect HildonAppMenu
2664         changes.
2665
2666 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2667
2668         * src/hildon-remote-texture.c
2669         * src/hildon-animation-actor.c:
2670         Don't include unused private headers.
2671
2672 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2673
2674         * src/hildon-program-private.h
2675         * src/hildon-program.c
2676         (hildon_program_set_common_menu)
2677         (hildon_program_get_common_menu)
2678         (hildon_program_set_common_app_menu)
2679         (hildon_program_get_common_app_menu):
2680         Change common menu pointers from GtkWidget* to GtkMenu* and
2681         HildonAppMenu* to avoid unnecessary casts.
2682
2683 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
2684
2685         * src/hildon-window.c (hildon_window_set_main_menu):
2686         Removed incorrect 'Since:' tag
2687
2688 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
2689
2690         * src/hildon-pannable-area.c,
2691         (hildon_pannable_area_calculate_velocity): We use now the
2692         RATIO_TOLERANCE here to check the distance, fixed typo in the
2693         algorithm.
2694         (hildon_pannable_area_motion_notify_cb): We have to set the type
2695         and time even if we are not sending the motion.
2696
2697 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2698
2699         * doc/hildon-sections.txt
2700         * src/hildon-app-menu.h
2701         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2702         (+hildon_app_menu_get_filters): New methods to get the contents of
2703         a HildonAppMenu.
2704
2705         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2706         children)
2707
2708 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2709
2710         * src/hildon-app-menu.c (hildon_app_menu_popup):
2711         Add "Since" tag.
2712
2713 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2714
2715         * src/hildon-window.h
2716         * src/hildon-window.c (+hildon_window_get_main_menu)
2717         (hildon_window_get_menu): Created hildon_window_get_main_menu()
2718         and deprecated hildon_window_get_menu().
2719
2720         * src/hildon-stackable-window.h
2721         * src/hildon-stackable-window.c
2722         (+hildon_stackable_window_set_app_menu)
2723         (+hildon_stackable_window_get_app_menu)
2724         (hildon_stackable_window_set_main_menu): Created
2725         hildon_stackable_window_{get,set}_app_menu() and deprecated
2726         hildon_stackable_window_set_main_menu().
2727
2728         * doc/hildon-sections.txt
2729         * examples/hildon-app-menu-example.c (main)
2730         * src/hildon-app-menu.c
2731         * src/hildon-program.c:
2732         Updated examples and documentation.
2733
2734         Fixes: NB#103758 (No way to obtain a menu from a
2735         HildonStackableWindow)
2736
2737 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2738
2739         [Release 2.1.46]
2740
2741         * NEWS: Updates.
2742         * configure.ac: Bump version.
2743         * debian/changelog: Updates.
2744
2745 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2746
2747         * examples/hildon-remote-texture-example.c: Include
2748         hildon-remote-texture.h explicitely.
2749         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2750         applications not defining _XOPEN_SOURCE which don't require this header.
2751
2752 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2753
2754         * doc/hildon-sections.txt
2755         * src/hildon-app-menu.h
2756         * src/hildon-app-menu.c (+hildon_app_menu_popup):
2757         New function to pop up a HildonAppMenu
2758
2759         * src/hildon-stackable-window.c
2760         (hildon_stackable_window_toggle_menu):
2761         Use hildon_app_menu_popup() to show the menu.
2762
2763 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2764
2765         * src/hildon-app-menu.c (hildon_app_menu_show)
2766         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2767         menu if there's another window between it and its parent window.
2768
2769         Fixes: NB#100468 (Application menu window is launched even when a
2770         new secondary-window/dialog is pending to be shown/realized)
2771
2772 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2773
2774         * src/hildon-window-stack.c (hildon_window_stack_push)
2775         (hildon_window_stack_pop_and_push):
2776         Don't forget to push/pop the first window.
2777         Reverse the window list before calling _push_list()
2778
2779 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2780
2781         * src/hildon-picker-button.h
2782         * src/hildon-picker-button.c (hildon_picker_button_class_init):
2783         Remove "value_changed" slot to avoid ABI breakage
2784
2785 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2786
2787         * src/hildon-pannable-area.c,
2788         (hildon_pannable_area_realize),
2789         (hildon_pannable_area_unrealize),
2790         (hildon_pannable_draw_vscroll),
2791         (hildon_pannable_draw_hscroll): Changed the method to handle the
2792         GC used to draw the transparent scrollbar, this way we avoid
2793         creating the GC all the time when drawing the scrollbars.
2794
2795 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2796
2797         * src/hildon-pannable-area.c,
2798         (hildon_pannable_area_init),
2799         (hildon_pannable_area_remove): Removed some unnecessary casts.
2800         (hildon_pannable_area_dispose): Disconnected some signals before
2801         releasing the adjustments.
2802
2803 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
2804
2805         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2806         Make sure that all widgets contained in the toolbar are shown.
2807
2808 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
2809
2810         * doc/hildon-sections.txt
2811         * src/hildon-picker-button.h
2812         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2813         (_selection_changed, hildon_picker_button_on_dialog_response)
2814         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2815         New hildon_picker_button_value_changed() method.
2816
2817         * src/Makefile.am
2818         * src/hildon-picker-button-private.h
2819         * src/hildon-picker-button.c (hildon_picker_button_init)
2820         (+hildon_picker_button_disable_value_changed): Add protected
2821         function for disabling the "value-changed" signal.
2822
2823         * src/hildon-date-button.c (hildon_date_button_set_date):
2824         Don't emit "value-changed" for each one of the three columns.
2825
2826         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2827         before actual change of values)
2828
2829 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
2830
2831         * src/hildon-pannable-area.c,
2832         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2833         for the treeview overshooting.
2834
2835 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
2836
2837         * src/hildon-banner.c (+hildon_banner_bind_style):
2838         Renamed from hildon_banner_bind_label_style(), now naming the
2839         banner itself as well.
2840         (hildon_banner_show_information),
2841         (hildon_banner_show_information_with_markup),
2842         (hildon_banner_show_animation), (hildon_banner_show_progress):
2843         Name the widgets and labels, based on their type.
2844
2845         See NB#98597 (Hildon Note and Hildon Banner should use themeable
2846         background image)
2847
2848 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
2849
2850         * src/hildon-note.c (hildon_note_set_property): call
2851         hildon_note_rename() on HildonNote:note-type set.
2852         (hildon_note_rename): Name the note and its label, based on the
2853         HildonNote:note-type property.
2854
2855         See NB#98597 (Hildon Note and Hildon Banner should use themeable
2856         background image)
2857
2858 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
2859
2860         * src/hildon-pannable-area.c,
2861         (hildon_pannable_area_class_init),
2862         (hildon_pannable_area_motion_notify_cb): Reviewed the default
2863         panning parameters, increased SPS and deceleration factor. Added
2864         also a margin to control fake directions.
2865
2866 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2867
2868         Patch by Sven Herzberg (sven@imendio.com)
2869
2870         * configure.ac: Add missing AM_PROG_CC_C_0
2871         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2872
2873         See NB#101420 (Update unit tests and fix make check)
2874
2875 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
2876
2877         This patch was applied before but reverted because it caused
2878         problems, we have changed the main condition and tested the
2879         regressions we detected before and they work ok. We have done a
2880         complete review of the topmost algorithm in order to get a more
2881         general solution.
2882
2883         * src/hildon-pannable-area.c,
2884         (hildon_pannable_area_get_topmost): Added a new parameter to
2885         filter the the windows that do not include those events.
2886         (hildon_pannable_area_button_press_cb),
2887         (hildon_pannable_area_button_release_cb),
2888         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2889         topmost function, we have added the new parameter.
2890
2891         Fixes: NB#97458 (Pannable area prevents propagation of button
2892         press events)
2893
2894 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2895
2896         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2897         if all columns in the selector have an item selected.
2898         (_on_dialog_response): Stop "response" signal emission if there is
2899         any selector column without selected items.
2900
2901         Fixes: NB#101889 (Picker dialog should not close when nothing is
2902         selected in multiple selection list)
2903
2904 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2905
2906         * src/hildon-font-selection-dialog.c
2907         (hildon_font_selection_dialog_class_init),
2908         (hildon_font_selection_dialog_init): Remove the preview
2909         button and dialog, since previewing with default theming is likely
2910         to be overcomplicated. The :preview property has now no effect.
2911         Update documentation blurbs to inform about this.
2912
2913         Fixes: NB#92297 (Preview content is not clearly visible for
2914         default colour text)
2915
2916 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2917
2918         Reviewed the geometry that handles the children size and
2919         scrollbar, now it tries a size and reviews the results depending
2920         on the scrollbars visibility.
2921
2922         * src/hildon-pannable-area.c,
2923         (hildon_pannable_area_realize): Fixed a typo.
2924         (hildon_pannable_area_child_allocate_calculate): Added this
2925         function to calculate the child allocation.
2926         (hildon_pannable_area_size_allocate): Reviewed the allocation
2927         code.
2928         (hildon_pannable_area_check_scrollbars),
2929         (hildon_pannable_area_refresh): Refactored refresh function, this
2930         way we can call the code handling the scrollbars without causing a
2931         size_request, it is interesting in the allocate.
2932         (hildon_pannable_area_init): Replace the callbacks of the
2933         value_changed and changed signals to propertly deal with the
2934         geometry.
2935         (hildon_pannable_area_grab_notify),
2936         (hildon_pannable_area_initial_effect),
2937         (hildon_pannable_area_launch_fade_timeout),
2938         (hildon_pannable_area_adjust_changed),
2939         (hildon_pannable_area_adjust_value_changed),
2940         (hildon_pannable_area_redraw),
2941         (hildon_pannable_area_button_press_cb),
2942         (hildon_pannable_area_button_release_cb),
2943         (hildon_pannable_area_scroll_cb),
2944         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2945         code and use the new functions adjust_changed and
2946         adjust_value_changed.
2947
2948         Fixes: NB#101603 (Focus is not even for the text entry boxes in
2949         Contact editor dialog)
2950
2951 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
2952
2953         [Release 2.1.44]
2954
2955         * NEWS: Updates.
2956         * configure.ac: Bump version.
2957         * debian/changelog: Updates.
2958
2959 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2960
2961         * src/hildon-pannable-area.c,
2962         (hildon_pannable_area_get_topmost),
2963         (hildon_pannable_area_button_press_cb),
2964         (hildon_pannable_area_button_release_cb),
2965         (hildon_pannable_get_child_widget_at): Reverted the patch for the
2966         topmost function adding the event mask. We have to try a
2967         differente approach because it is still causing problems (NB#9745,
2968         reopened).
2969
2970 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
2971
2972         * src/hildon-banner.c:
2973         Update the maximum width of timed banners.
2974         (force_to_wrap_truncated): Enforce the maximum text width if the
2975         label is wrapped.
2976
2977         Fixes: NB#102413 (The text margins (wrapping) in information
2978         banner should be HILDON_MARGIN_TRIPLE)
2979
2980 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2981
2982         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2983
2984         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2985         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2986         bound when calculating the scroll indicator position.
2987
2988         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2989         treat ->lower correctly)
2990
2991 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2992
2993         * src/hildon-caption.c (hildon_caption_class_init): Remove the
2994         expose event handling, since it is not necessary to draw the focus
2995         anymore.
2996
2997         Fixes: NB#102467 (Do not show highlight on the text in
2998         HildonCaption)
2999
3000 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3001
3002         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3003         full height of the toolbar for the button and the label.
3004
3005 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3006
3007         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3008         padding before the label and after the button.
3009
3010 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3011
3012         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3013
3014         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3015         Add a GtkVSeparator between the button and the back arrow.
3016         Let the button have automatic size.
3017         Set a name to the widget for theming handling.
3018
3019         Fixes: NB#101793 (Make edit toolbar the same height as window
3020         title bar (use title area theming))
3021
3022 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3023
3024         * src/hildon-helper.c (attach_new_color_element): Fix memory
3025         leak.
3026
3027         Fixes: NB#102262 (memory leak in hildon_button_set_style())
3028
3029 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3030
3031         * examples/hildon-button-example.c (common_buttons_window): Don't
3032         leak size groups.
3033
3034 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3035
3036         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3037         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3038
3039 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3040
3041         * src/hildon-gtk.c: Check that the window is realized.
3042
3043         Fixes: NB#102225 (Crash setting the progress indicator to a non
3044         visible window)
3045
3046 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
3047
3048         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3049         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3050         instead of modifying the one in the widget style.
3051
3052         Fixes: NB#101043 (Second row of all the command button are
3053         displayed in transparent mode.)
3054
3055 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
3056
3057         * src/hildon-date-button.c
3058         * src/hildon-time-button.c: Add gettext macros
3059
3060 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
3061
3062         * src/hildon-date-button.c (hildon_date_button_new):
3063         * src/hildon-time-button.c (hildon_time_button_new_step):
3064         Use new logical strings to set the button default title.
3065
3066         Fixes: NB#99915 (Date and Time options are not localised in Date
3067         and Time setttings)
3068
3069 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
3070
3071         * src/hildon-pannable-area.c
3072         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3073         the PANNING_THRESHOLD.
3074
3075 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
3076
3077         * src/hildon-pannable-area.c,
3078         (hildon_pannable_area_class_init): Increased the maximum speed.
3079         (hildon_pannable_area_get_property),
3080         (hildon_pannable_area_set_property),
3081         (hildon_pannable_area_timeout): Added a new low friction mode, it
3082         allows the user avoid friction when launching the widget fast
3083         enough. It is interesting to traverse long lists.
3084
3085 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
3086
3087         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3088         (+hildon_stackable_window_delete_event): Ignore delete events if
3089         the window is not the topmost one.
3090
3091         Fixes: NB#101698 (Back button long press and delete-event handling)
3092
3093 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
3094
3095         * src/hildon-pannable-area.c,
3096         (hildon_pannable_area_motion_notify_cb): Removed the use of the
3097         gtk-dnd-drag-threshold, it was too big. We have defined our own
3098         dnd define and set a smaller value: PANNIG_THRESHOLD.
3099
3100 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
3101
3102         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3103         user-defined icons, use always the default one.
3104
3105         Fixes: NB#101916 (Do not allow custom icons on animation banner)
3106
3107 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
3108
3109         This patch was applied before but reverted because it caused
3110         problems, we have changed the main condition and tested the
3111         regressions we detected before and they work ok.
3112
3113         * src/hildon-pannable-area.c,
3114         (hildon_pannable_area_get_topmost): Added a new parameter to
3115         filter the the windows that do not include those events. Added
3116         also a condition when finding the window to filter windows that do
3117         not ask for those events.
3118         (hildon_pannable_area_button_press_cb),
3119         (hildon_pannable_area_button_release_cb),
3120         (hildon_pannable_get_child_widget_at): Reviewed the call the the
3121         topmost function, we have added the new parameter.
3122
3123         Fixes: NB#97458 (Pannable area prevents propagation of button
3124         press events)
3125
3126 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3127
3128         * tests/check-hildon-color-button.c (START_TEST): do not leak
3129         ret_color.
3130
3131 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3132
3133         * src/hildon-font-selection-dialog.c
3134         (hildon_font_selection_dialog_get_preview_text): Return NULL
3135         instead of FALSE on the g_return_val_if_fail().
3136
3137 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3138
3139         * src/hildon-time-selector.c (hildon_time_selector_set_time):
3140         * src/hildon-date-selector.c
3141         (hildon_date_selector_select_current_date):
3142         Do not compare unsigned integers to be greater than or equal 0,
3143         because it's always TRUE.
3144
3145 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3146
3147         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3148         (hildon_date_selector_constructor): Do not select the current
3149         date until we are handle the "changed" signal, to avoid having bogus
3150         elements in the days model.
3151
3152 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3153
3154         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3155         for num_days, since _month_days() can return a negative value.
3156
3157 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3158
3159         * src/hildon-caption.c (hildon_caption_size_allocate):
3160         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3161         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3162
3163         Initialize allocation variables to 0, to avoid eventually using
3164         unitialized variables.
3165
3166 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
3167
3168         * src/hildon-bread-crumb-trail.c
3169         (hildon_bread_crumb_trail_size_allocate):
3170         * src/hildon-calendar.c (hildon_calendar_set_background):
3171         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3172         * src/hildon-range-editor.c (hildon_range_editor_get_range):
3173         * src/hildon-seekbar.c (hildon_seekbar_init):
3174         * src/hildon-time-editor.c (hildon_time_editor_get_time):
3175         * src/hildon-time-selector.c (hildon_time_selector_finalize):
3176         * src/hildon-touch-selector-entry.c
3177         (hildon_touch_selector_get_text_from_model):
3178         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3179         * src/hildon-window.c (hildon_window_finalize):
3180
3181         Remove many unused variables.
3182
3183 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
3184
3185         * src/hildon-seekbar.c: (hildon_seekbar_init),
3186         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3187
3188         Remove unnecessary g_assert() calls.
3189
3190 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
3191
3192         * src/hildon-caption.c: (hildon_caption_expose),
3193         (hildon_caption_set_property), (hildon_caption_init),
3194         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3195         (hildon_caption_size_request), (hildon_caption_size_allocate),
3196         (hildon_caption_forall), (hildon_caption_set_separator),
3197         (hildon_caption_activate), (hildon_caption_set_child_expand),
3198         (hildon_caption_set_label_text),
3199         (hildon_caption_get_label_alignment):
3200
3201         Remove unnecessary g_assert() calls.
3202
3203 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
3204
3205         * src/hildon-banner.c
3206         (hildon_banner_map, hildon_banner_init): Make banner temporary
3207         before mapping it to avoid closing other temporary windows, but
3208         make it non-temporary afterwards to avoid being closed by other
3209         non-temporary windows.
3210         (-hildon_banner_client_event, hildon_banner_init):
3211         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3212
3213         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3214         opened)
3215
3216 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
3217
3218         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3219         deprecation guard.
3220
3221 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
3222
3223         * src/hildon-remote-texture.c
3224         * src/hildon-remote-texture.h
3225         * src/hildon-remote-texture-private.h
3226         * examples/hildon-remote-texture-example.c:
3227         Updates/fixes to remote-texture and its example.
3228
3229 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
3230
3231         Patch by Mox Soini (ext-mox.soini@nokia.com)
3232
3233         * src/hildon-code-dialog.c: Update logical id.
3234         * src/hildon-set-password-dialog.c: Update logical id.
3235
3236         Fixes: NB#100646 (Logical strings is shown for ok in set
3237         password,Password needed dialogs)
3238
3239 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
3240
3241         * src/hildon.h
3242         * src/hildon-remote-texture.c
3243         * src/hildon-remote-texture.h
3244         * src/hildon-remote-texture-private.h
3245         * src/Makefile.am
3246         Added remote texture widget (for Clutter shared memory textures)
3247
3248         * examples/hildon-remote-texture-example.c
3249         * examples/Makefile.am
3250         Added example file for remote texture usage
3251
3252 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
3253
3254         * configure.ac: post release version bump.
3255         * debian/changelog: version bump.
3256
3257 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
3258
3259         [Release 2.1.42]
3260
3261         * NEWS: Updates.
3262         * configure.ac: Bump version.
3263         * debian/changelog: Updates.
3264
3265 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
3266
3267         * src/hildon-date-selector.c (hildon_date_selector_init)
3268         (hildon_date_selector_constructor): Don't connect to the "changed"
3269         signal until the selector is completely constructed.
3270
3271 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3272
3273         * src/hildon-touch-selector.c: (_create_new_column),
3274         (hildon_touch_selector_append_column),
3275         (hildon_touch_selector_set_column_selection_mode),
3276         (hildon_touch_selector_set_active),
3277         (hildon_touch_selector_select_iter):
3278         Emit the HildonTouchSelector::changed signal every time selection
3279         is changed in any of the methods above.  This behavior was already
3280         documented but not fully functional.
3281
3282         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3283         selection is programmatically changed)
3284
3285 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3286
3287         * doc/hildon-sections.txt: Remove obsolete icon
3288         sizes from here as well.
3289
3290 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
3291
3292         * examples/hildon-stackable-window-example.c (add_window): Remove
3293         unnecessary return.
3294
3295 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
3296
3297         * src/hildon-app-menu.c
3298         (hildon_app_menu_show): Check whether the parent window of a menu
3299         is topmost before popping it up.
3300
3301         Fixes: NB#100468 (Application menu window is launched even when a
3302         new secondary-window/dialog is pending to be shown/realized.)
3303
3304 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3305
3306         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3307         icon sizes.
3308
3309 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3310
3311         Patch by Mox Soini (ext-mox.soini@nokia.com)
3312
3313         * src/hildon-banner.c: (hildon_banner_show_animation):
3314         use stylus size instead of obsolete note size.
3315         * src/hildon-defines.h: Update icon sizes.
3316
3317 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3318
3319         * src/hildon-touch-selector-entry.c:
3320         (hildon_touch_selector_entry_init): Disable unsupported
3321         input modes.
3322         (hildon_touch_selector_entry_get_text_column): Emit a warning
3323         if an unsupported input modes is used and explicitile state
3324         these modes in the documentation.
3325
3326         Fixes: NB#99802 (Hildon touch selector entry not working properly
3327         for some of the input modes)
3328
3329 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
3330
3331         * src/hildon-pannable-area.c,
3332         (hildon_pannable_area_init): Added the changed signal handlers of
3333         the adjustments.
3334
3335         Fixes: NB#100320 (HildonPannableArea does not listen to
3336         GtkAdjustment "change" signals)
3337
3338 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
3339
3340         * doc/hildon-sections.txt
3341         * src/hildon-window-private.h
3342         * src/hildon-window.h
3343         * src/hildon-window.c (hildon_window_init)
3344         (hildon_window_realize, hildon_window_unrealize)
3345         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3346         (hildon_window_size_request, hildon_window_size_allocate)
3347         (hildon_window_forall, hildon_window_show_all)
3348         (hildon_window_destroy, +paint_edit_toolbar)
3349         (+hildon_window_set_edit_toolbar):
3350         New hildon_window_set_edit_toolbar() method, to add a
3351         HildonEditToolbar to a window without having to pack it manually.
3352
3353         Reorganize hildon_window_size_allocate()
3354
3355         * src/hildon-edit-toolbar.c: Update documentation.
3356
3357         * examples/hildon-edit-toolbar-example.c (edit_window): Update
3358         example to use the new API.
3359
3360         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3361
3362 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
3363
3364         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3365         Remove from stack before calling parent's hide.
3366
3367 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
3368
3369         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3370         window is removed from the middle of the stack, update the
3371         transiency of the previous one.
3372
3373         Fixes: NB#100487 (HildonStackableWindow transiency becomes
3374         incoherent)
3375
3376 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3377
3378         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3379         block/unblock the signal handler if it's not actually being used.
3380         Fixes some critical warnings.
3381
3382 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
3383
3384         Based on a patch by Iván Gómez (igomez@igalia.com)
3385
3386         * src/hildon-banner.c
3387         * src/hildon-gtk.c
3388         * src/hildon-main.c
3389         * src/hildon-note.c
3390         * src/hildon-pannable-area.c
3391         * src/hildon-picker-dialog.c
3392         * src/hildon-wizard-dialog.h
3393         * src/hildon-wizard-dialog.c: Documentation updates.
3394
3395         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3396         gtk_dialog_add_button() instead of hildon_dialog_add_button().
3397
3398 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3399
3400         * configure.ac: post release version bump.
3401         * debian/changelog: version bump.
3402
3403 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3404
3405         [Release 2.1.40]
3406
3407         * NEWS: Updates.
3408         * configure.ac: Bump version.
3409         * debian/changelog: Updates.
3410
3411 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
3412
3413         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3414         a stock icon nor change the relief of the back arrow.
3415
3416         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3417         graphics from theme)
3418
3419 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
3420
3421         * src/hildon-button.c (hildon_button_set_alignment): Use
3422         priv->alignment if the button has no child yet.
3423
3424 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
3425
3426         * src/hildon-button.c: (hildon_button_init): Set the
3427         button style during initialization to give it the proper
3428         label color.
3429
3430         Fixes: NB#99713 (HildonButton value label color is wrong)
3431
3432 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
3433
3434         * src/hildon-touch-selector.c: Document
3435         hildon_touch_selector_center_on_selected()
3436
3437 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
3438
3439         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3440         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3441         all menu items, but not the menu itself.
3442         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3443         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3444         items after adding them to the menu so keyboard accelerators work.
3445         (hildon_app_menu_show): Don't show the menu if it contains items
3446         but none of them are visible.
3447
3448         * examples/hildon-app-menu-example.c (create_menu): Use
3449         gtk_widget_show_all() to show all menu items.
3450
3451 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
3452
3453         * src/hildon-picker-dialog.c:
3454         (-_update_title_on_selector_changed_cb),
3455         (-_dialog_update_title): Removed.
3456         (_select_on_selector_changed_cb), (_on_dialog_response),
3457         (on_selector_columns_changed): Do not update the dialog title.
3458         (setup_interaction_mode): Do not connect to
3459         HildonTouchSelector::changed signal if there's a "done" button, as
3460         the dialog title doesn't need to be updated.
3461
3462         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3463         contents in title)
3464
3465 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
3466
3467         Patch by Kristian Rietveld (kris@imendio.com)
3468
3469         * src/hildon-touch-selector.c: (_create_new_column): Use new
3470         GtkTreeView::hildon-row-tapped signal to react to user interactions
3471         instead of ::changed.
3472
3473         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3474         with some dynamic tree model)
3475
3476 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
3477
3478         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3479         (+screen_size_changed, +label_size_request)
3480         (hildon_note_class_init): Make the Hildon information note have a
3481         minimum height, and make its text hvae a maximum width.
3482
3483         Fixes: NB#98614 (Hildon information note (background) should have
3484         minimum height and maximum text width)
3485
3486 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
3487
3488         * src/hildon-banner.h
3489         * src/hildon-banner.c (hildon_banner_show_information)
3490         (hildon_banner_show_informationf)
3491         (hildon_banner_show_information_with_markup): Update documentation
3492         to reflect that the icon_name parameter is not used anymore.
3493         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3494         Remove all code from these functions and mark them as deprecated.
3495         (hildon_banner_show_progress): Mark as deprecated.
3496
3497         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3498
3499 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
3500
3501         * src/hildon-pannable-area.c,
3502         (hildon_pannable_area_class_init),
3503         (tranparency_color),
3504         (hildon_pannable_draw_vscroll),
3505         (hildon_pannable_draw_hscroll),
3506         (hildon_pannable_area_expose_event): Added a new way to render the
3507         scrollbars of the pannable area avoiding using cairo at all. This
3508         way we improve the performance of the pannable area rendering. The
3509         cairo rendering procedure is still in the code, we can control
3510         which one to use changing the value of the define
3511         USE_CAIRO_SCROLLBARS.
3512
3513 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
3514
3515         * configure.ac: post release version bump.
3516         * debian/changelog: version bump.
3517
3518 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
3519
3520         [Release 2.1.38]
3521
3522         * NEWS: Updates.
3523         * configure.ac: Bump version.
3524         * debian/changelog: Updates.
3525
3526 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3527
3528         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3529         banners instead of destroying them when they receive a button
3530         press.
3531
3532 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3533
3534         Reverted commit 34028, it was causing regressions, probably the
3535         topmost condition is not correct, we have to check it in more
3536         detail. We have reponed the bug: NB#97458 (Pannable area prevents
3537         propagation of button press events)
3538
3539 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3540
3541         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3542         that the selection is not empty before attempting to retrieve the
3543         current ampm selection.
3544
3545 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3546
3547         * src/hildon-picker-button.c:
3548         (hildon_picker_button_on_dialog_response): Directly update the
3549         button contents when required instead of calling _selection_changed.
3550
3551 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3552
3553         * src/hildon-program.c (hildon_program_update_top_most): Update
3554         'is-topmost' property also when wm_hints is not set.
3555
3556         Fixes: NB#98383 (is-topmost signal is not emitted when task
3557         switcher is clicked.)
3558
3559 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3560
3561         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3562
3563         * src/Makefile.am,
3564         * src/hildon.h,
3565         * src/hildon-animation-actor.c,
3566         * src/hildon-animation-actor.h: Added the animation actor class,
3567         this widget represents an animation actor for WM-assisted
3568         animation effects in the Hildon framework.
3569
3570 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3571
3572         * src/hildon-window-stack-private.h
3573         * src/hildon-window-stack.c
3574         * src/hildon-stackable-window.c (hildon_stackable_window_show):
3575         Avoid calling gtk_widget_show() again indirectly from
3576         hildon_stackable_window_show()
3577
3578 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3579
3580         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3581         unused variable.
3582
3583 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3584
3585         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3586         (hildon_time_selector_init): Move the construction of the hours and
3587         ampm columns to the constructor to preserve the order the columns
3588         are appended.
3589
3590 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3591
3592         * src/hildon-picker-dialog.c:
3593         (hildon_picker_dialog_class_init): Connect a realize method.
3594         (+hildon_picker_dialog_realize): Setup the interaction mode here
3595         and not before.
3596         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3597         yet, do it during the realize instead.
3598         (_on_dialog_response):
3599         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3600         if the widget is not realized, to avoid the dialog response before it
3601         is even shown.
3602
3603         Avoid premature responses in the HildonPickerDialog that can cause it
3604         to be hidden before it's even shown.
3605
3606 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3607
3608         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3609         (on_selector_columns_changed), (requires_done_button),
3610         (+prepare_action_area), (setup_interaction_mode),
3611         (_hildon_picker_dialog_set_selector):
3612
3613         Split the interaction mode setup into preparation of the
3614         action area (prepare_action_area()) and the connection of
3615         the signals in setup_interaction_mode() and update the code to
3616         reflect this.
3617
3618 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3619
3620         * src/hildon-pannable-area.c,
3621         (hildon_pannable_area_class_init): Reduced the amount of scrolls
3622         per second to 15, we will check if this is ok regarding
3623         smoothness.
3624
3625 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3626
3627         * src/hildon-pannable-area.c,
3628         (hildon_pannable_axis_scroll): Avoid resize if we already have
3629         reached overshoot_max.
3630
3631 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3632
3633         * src/hildon-pannable-area.c,
3634         (hildon_pannable_area_init),
3635         (hildon_pannable_area_realize),
3636         (hildon_pannable_area_size_allocate),
3637         (hildon_pannable_area_map),
3638         (hildon_pannable_area_unmap),
3639         (hildon_pannable_draw_vscroll),
3640         (hildon_pannable_draw_hscroll),
3641         (hildon_pannable_area_expose_event),
3642         (hildon_pannable_area_refresh): Added a new GdkWindow to the
3643         pannable are to avoid the expose events go to the window and
3644         redraw the window. We save this way that part of the stack and the
3645         paint_boxes. We had to change the positions of the elements when
3646         drawing.
3647
3648 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
3649
3650         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3651         * src/hildon-color-chooser-dialog.c:
3652         (hildon_color_chooser_dialog_init):
3653         * src/hildon-font-selection-dialog.c:
3654         (hildon_font_selection_dialog_init),
3655         (hildon_font_selection_dialog_show_preview):
3656         * src/hildon-get-password-dialog.c:
3657         * src/hildon-login-dialog.c:
3658         * src/hildon-set-password-dialog.c:
3659         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3660         * src/hildon-time-picker.c: (hildon_time_picker_init):
3661
3662         Remove obsolete logical string IDs and update to the appropriate ones.
3663
3664         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3665
3666 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
3667
3668         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3669         that happens if the window hasn't been realized yet.
3670
3671         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3672         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3673
3674 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
3675
3676         * src/hildon-app-menu.c (hildon_app_menu_class_init)
3677         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3678         by another grab.
3679
3680         Fixes: NB#98537 (Device hangs in account settings dialog)
3681
3682 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3683
3684         * configure.ac: post release version bump.
3685         * debian/changelog: version bump
3686
3687 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3688
3689         [Release 2.1.36]
3690
3691         * NEWS: Updates.
3692         * configure.ac: Bump version.
3693         * debian/changelog: Updates.
3694
3695 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3696
3697         Added a new function to the HildonTimeButton widget that allows to
3698         change the step of the minutes in the selector associated with the
3699         button: hildon_time_button_new_step
3700
3701         * src/hildon-time-button.c,
3702         (hildon_time_button_init),
3703         (hildon_time_button_new),
3704         (hildon_time_button_new_step):
3705         * src/hildon-time-button.h: Added the new function and refactored
3706         the code.
3707         * examples/hildon-time-button-example.c,
3708         (main): We have replaced the function without parameters with the
3709         function with the steps set to 5
3710
3711         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3712
3713 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3714
3715         * src/hildon-time-selector.c,
3716         (hildon_time_selector_class_init),
3717         (hildon_time_selector_constructor),
3718         (hildon_time_selector_get_property),
3719         (hildon_time_selector_set_property),
3720         (_create_minutes_model),
3721         (hildon_time_selector_new_step),
3722         (hildon_time_selector_set_time),
3723         * src/hildon-time-selector.h: Added a new property to the
3724         HildonTimeSelector (minutes-step), we use that property to control
3725         the steps between the minutes in the list of the selector. We have
3726         added a new function to the API to create a widget changing the
3727         step: hildon_time_selector_new_step.
3728
3729 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3730
3731         * src/hildon-time-selector.c,
3732         (hildon_time_selector_class_init),
3733         (hildon_time_selector_constructor),
3734         (hildon_time_selector_init): Overrided the construct function when
3735         creating the time selector object. We have moved the minutes model
3736         handling code from the init to the new construction function:
3737         hildon_time_selector_constructor.
3738
3739 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3740
3741         * examples/hildon-date-button-example.c: (main): Use the new
3742         hildon_date_button_new_with_year_range() method in the example.
3743         * src/hildon-date-button.c:
3744         (+hildon_date_button_new_with_year_range): New public method
3745         to conveniently create a HildonDateButton with a custom year range
3746         in its HildonDateSelector.
3747         * src/hildon-date-button.h: Add the new public method definition.
3748
3749         Fixes: NB#97908 (Not possible to change the year range in
3750         HildonDateSelector/HildonDateButton)
3751
3752 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3753
3754         * src/hildon-date-selector.c:
3755         (+hildon_date_selector_set_property),
3756         (+hildon_date_selector_get_property),
3757         (hildon_date_selector_class_init): Install new properties "min-year"
3758         and "max-year" to define boundaries for the year column.
3759         (_create_year_model): Use the boundary properties to populate the model.
3760         (+hildon_date_selector_new_with_year_range): New public method to
3761         create a HildonDateSelector with a user defined year range.
3762         (hildon_date_selector_select_current_date): Use the new boundaries to
3763         calculate the iterator of current year.
3764         * src/hildon-date-selector.h: Add the new public method definition.
3765
3766 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3767
3768         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3769         Install a constructor method.
3770         (+hildon_date_selector_construct_ui): construct the widget.
3771         (+hildon_date_selector_constructor): new constructor.
3772         (+hildon_date_selector_init): move out widget construction code to
3773         the new constructor.
3774
3775 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3776
3777         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3778         that there's actually a month or year selected before obtaining them.
3779         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3780         of the HildonTouchSelector::changed signal, as it was emitted on every
3781         single item selection.
3782
3783         Fix some warnings and possible crashers due to the selection restoring.
3784
3785 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3786
3787         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3788         the signal handlers only after creating the dialog instead of on every
3789         button click.
3790
3791 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
3792
3793         * src/hildon-button.c (hildon_button_init)
3794         * src/hildon-check-button.c (hildon_check_button_init)
3795         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3796         focus when clicked by default.
3797
3798 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3799
3800         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3801         g_object_unref().
3802
3803 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3804
3805         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3806         Alejandro G. Castro  (alex@igalia.com)
3807
3808         * src/hildon-picker-dialog.c:
3809         (hildon_picker_dialog_class_init): install new "center-on-show"
3810         property.
3811         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3812         (hildon_picker_dialog_set_property): add setter code for the new
3813         property.
3814         (hildon_picker_dialog_get_property): add getter code for the new
3815         property.
3816         (hildon_picker_dialog_show): Ensure visibility of selected items in the
3817         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3818         default.
3819
3820         Fixes: NB#92849 (Selected item is not always visible when
3821         HildonTouchSelector is shown)
3822
3823 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3824
3825         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3826         Alejandro G. Castro  (alex@igalia.com)
3827
3828         * src/hildon-touch-selector.c:
3829         (_create_new_column): Do not connect to the "realize" signal of the
3830         pannable area.
3831         (hildon_touch_selector_append_column): center on the selected items
3832         when a new column is appended.
3833         (hildon_touch_selector_select_iter): Factor out the code to select a
3834         column to hildon_touch_selector_scroll_to().
3835         (+search_nearest_element): Method to retrieve the nearest selected
3836         element to the visible area of the pannable area in a column.
3837         (+on_realize_cb): scroll to the initially selected item.
3838         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3839         the pannable area is realized, otherwise delay this until it is.
3840         (+_hildon_touch_selector_center_on_selected_items): Centers on the
3841         selected items of a given column.
3842         (+hildon_touch_selector_center_on_selected): Public method to center
3843         all columns on the nearest selected item.
3844         * src/hildon-touch-selector.h: Add definition for
3845         hildon_touch_selector_center_on_selected().
3846
3847         Implement public API to ensure visibility of all selected items in
3848         a HildonTouchSelector.
3849
3850 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
3851
3852         Fixed a problem in the fading when calling the scroll_to API, and
3853         improve scrollbar fading handling.
3854
3855         * src/hildon-pannable-area.c,
3856         (hildon_pannable_area_grab_notify): avoid the timeout when the
3857         alpha is zero.
3858         (hildon_pannable_area_button_press_cb),
3859         (hildon_pannable_area_motion_notify_cb): Code style changes.
3860         (hildon_pannable_area_button_release_cb): Review the conditions
3861         when releasing the mouse button to avoid unrequired fading
3862         timeouts.
3863         (hildon_pannable_area_scroll_to): Do not calculate and set the
3864         velocity if the scroll is not required.
3865
3866 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
3867
3868         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3869         Don't check whether the new selector is NULL: it cannot be.
3870         Hold a reference to the selector while doing the replacement.
3871
3872 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
3873
3874         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3875         unnecessary size_request in a removed widget.
3876
3877 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
3878
3879         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3880         an unnecessary reference tracking that was leaking.
3881
3882 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3883
3884         Added delayed motion notify event handling, this way we can
3885         discard redrawing if more than 25 events arrive per second.
3886
3887         * src/hildon-pannable-area.c,
3888         (hildon_pannable_area_init): Initialized the new private atributes
3889         controlling this timeout
3890         (hildon_pannable_area_dispose): Remove the timeout that controls
3891         the motion notify events.
3892         (hildon_pannable_area_scroll): Added a condition to control the
3893         use of the acceleration.
3894         (hildon_pannable_area_motion_event_scroll_timeout),
3895         (hildon_pannable_area_motion_event_scroll): Added this two
3896         functions, they handle the motion notify events inside the
3897         timeout.
3898         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3899         to the scroll method with the new function.
3900         (hildon_pannable_area_button_release_cb): We have to remove the
3901         timeout handler and move to the last position if the last motion
3902         events were not handled.
3903
3904         Fixes: NB#97028 (Pannable area updates on every motion event)
3905
3906 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3907
3908         * src/hildon-pannable-area.c,
3909         (hildon_pannable_area_get_topmost): Added a new parameter to
3910         filter the the windows that do not include those events. Added
3911         also a condition when finding the window to filter windows that do
3912         not ask for those events.
3913         (hildon_pannable_area_button_press_cb),
3914         (hildon_pannable_area_button_release_cb),
3915         (hildon_pannable_get_child_widget_at): Reviewed the call the the
3916         topmost function, we have added the new parameter.
3917
3918         Fixes: NB#97458 (Pannable area prevents propagation of button
3919         press events)
3920
3921 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3922
3923         * src/hildon-pannable-area.c,
3924         (hildon_pannable_area_initial_effect): Added controls before
3925         launching the timeout and the idle functions.
3926         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3927         of the method, in some situations it can return with TRUE and 0 in
3928         the timeout.
3929         (hildon_pannable_area_button_press_cb): We do not need to set
3930         DELAY for fading out here.
3931
3932         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3933
3934 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3935
3936         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3937         post-cleaning if the selection is not NULL.
3938
3939 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3940
3941         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3942         all items before restoring the selection.
3943
3944 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3945
3946         * src/hildon-touch-selector.c:
3947         (+hildon_touch_selector_unselect_all):
3948         * src/hildon-touch-selector.h: New API to unselect all items in a
3949         column of the touch selector.
3950
3951 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
3952
3953         * src/hildon-pannable-area.c,
3954         (hildon_pannable_area_redraw): Added a call to the refresh
3955         function inside the redraw because apparently in some cases the
3956         change in the adjustment does not imply a size allocate.
3957
3958         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3959         despite the view not being scrollable)
3960
3961 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3962
3963         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3964         leak. Check for NULL before attempting to set the window title.
3965
3966 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3967
3968         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3969         whether to show or not the 'Done' button each time the dialog is
3970         shown, as it depends on the HildonTouchSelector selection mode.
3971
3972         Fixes: NB#96226 (In multiple selection mode Done button is shown
3973         sometimes in listpicker)
3974
3975 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3976
3977         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3978         for the number of columns in the HildonTouchSelector more than once.
3979
3980 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3981
3982         * src/hildon-touch-selector.c: Minor documentation fixes.
3983
3984         * src/hildon-picker-dialog.c (+_dialog_update_title)
3985         (_select_on_selector_changed_cb)
3986         (_update_title_on_selector_changed_cb)
3987         (on_selector_columns_changed): Update dialog title when there's no
3988         'Done' button and also when the number of columns in the selector
3989         changes.
3990         Code refactoring.
3991
3992         * src/hildon-picker-button.c (hildon_picker_button_finalize)
3993         (+_selection_changed, hildon_picker_button_on_dialog_response)
3994         (hildon_picker_button_selector_selection_changed)
3995         (+hildon_picker_button_selector_columns_changed)
3996         (hildon_picker_button_set_selector): Update button value and emit
3997         'value-changed' when the number of columns in the selector
3998         changes.
3999         Code refactoring.
4000
4001         Fixes: NB#96225 (Dialog titles are not shown according to the
4002         values selected in the list picker)
4003
4004 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
4005
4006         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4007         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4008         New "arrow-width" and "arrow-height" style properties to set the
4009         size of the arrow button.
4010         Set name of arrow button ("hildon-edit-toolbar-arrow").
4011
4012         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4013         graphics from theme)
4014
4015 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
4016
4017         * src/hildon-picker-button.c:
4018         (hildon_picker_button_selector_selection_changed): Use
4019         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4020         the dialog is present.
4021
4022         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4023         the selection is accepted in the dialog)
4024
4025 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
4026
4027         * src/hildon-color-chooser.h
4028         * src/hildon-color-chooser-dialog.h:
4029         Added G_BEGIN_DECLS and G_END_DECLS
4030
4031 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
4032
4033         (_clean_current_selection): plug a leak in the list.
4034
4035 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
4036
4037         * src/hildon-picker-dialog.c:
4038         (+free_path_list): Method to free a GList of GtkTreePaths.
4039         (_clean_current_selection), (_save_current_selection),
4040         (_restore_current_selection): Save the current selection in
4041         as a list of lists, to support multiple selection properly.
4042
4043 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
4044
4045         patch by Claudio Saavedra (csaavedra@igalia.com)
4046
4047         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4048         Store the press position.
4049         (+hildon_text_view_button_release_event): If the release position is
4050         close enough to the press position, move the cursor here. Otherwise,
4051         ignore.
4052         (hildon_text_view_class_init): Override GtkTextView press, release, and
4053         motion event handlers, disabling this way text selection through
4054         pointer interaction, and allowing the container widget to handle the
4055         motion event.
4056
4057         Fixes: NB#95828 (HildonTextView functionality)
4058
4059 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
4060
4061         Based on a patch by Iván Gómez (igomez@igalia.com)
4062
4063         * src/hildon-button.[ch]
4064         * src/hildon-calendar.c
4065         * src/hildon-check-button.c
4066         * src/hildon-date-editor.c
4067         * src/hildon-date-selector.c
4068         * src/hildon-picker-button.c
4069         * src/hildon-time-editor.c
4070         * src/hildon-time-selector.c
4071         * src/hildon-touch-selector.[ch]:
4072         Documentation updates
4073
4074 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
4075
4076         * src/hildon-pannable-area.c,
4077         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4078         threshold, it was required due to X events handling.
4079
4080 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
4081
4082         * src/hildon-pannable-area.c,
4083         (hildon_pannable_area_grab_notify),
4084         (hildon_pannable_area_initial_effect),
4085         (hildon_pannable_area_button_press_cb),
4086         (hildon_pannable_area_button_release_cb),
4087         (hildon_pannable_area_scroll_cb),
4088         (hildon_pannable_area_scroll_to): Review the timeout management of
4089         the scrollbar, the frecuency was incorrectly set.
4090
4091 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
4092
4093         * src/hildon-picker-button.c:
4094         (+hildon_picker_button_on_dialog_response),
4095         (hildon_picker_button_clicked): Present the dialog instead of
4096         running it with gtk_dialog_run().
4097
4098         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4099         picker dialog)
4100
4101 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
4102
4103         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4104         (hildon_app_menu_finalize): When a window is hidden it doesn't
4105         emit notify::is-topmost, so make sure than the menu also
4106         disappears in that case.
4107         (parent_window_topmost_notify): Renamed from parent_window_hidden
4108
4109         Fixes: NB#94460 (stackable window's menu is not closed when its
4110         window is hidden)
4111
4112 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
4113
4114         * src/hildon-touch-selector-entry.c:
4115         (+hildon_touch_selector_entry_set_input_mode),
4116         (+hildon_touch_selector_entry_get_input_mode):
4117         * src/hildon-touch-selector-entry.h: New methods to access the input
4118         mode in the selector's entry.
4119
4120         Fixes: NB#93410 (API required for setting IM mode in
4121         HildonTouchSelectorEntry)
4122
4123 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
4124
4125         * configure.ac: post release version bump.
4126         * debian/changelog: version bump
4127
4128 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
4129
4130         [Release 2.1.34]
4131
4132         * NEWS: Updates.
4133         * configure.ac: Bump version.
4134         * debian/changelog: Updates.
4135
4136 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
4137
4138         * src/hildon-touch-selector.c:
4139         (_hildon_touch_selector_has_multiple_selection): No need
4140         to initialize the variables here.
4141
4142 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
4143
4144         * src/hildon-note-private.h
4145         * src/hildon-note.c (event_box_press_event, hildon_note_init)
4146         (hildon_note_finalize, hildon_note_rebuild): Close information
4147         notes when they receive a button press.
4148
4149         Fixes: NB#89890 (Information notes does not get disappeared after
4150         few seconds)
4151
4152 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
4153
4154         * src/hildon-wizard-dialog.c: (create_title): Remove translation
4155         mark from the wizard title, as it's not really necessary. Also,
4156         do not display the page title if not set.
4157
4158 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
4159
4160         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4161         (parent_window_hidden): Use the window's "is-topmost" property to
4162         detect when to hide the menu.
4163
4164 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
4165
4166         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4167         (hildon_app_menu_finalize): If the parent window of the menu is
4168         hidden, hide the menu too.
4169
4170         Fixes: NB#94460 (stackable window's menu is not closed when its
4171         window is hidden)
4172
4173 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
4174
4175         * debian/changelog
4176         * debian/libhildon1-examples.install
4177         * debian/rules
4178         * examples/Makefile.am:
4179         Use dh_install to install all examples.
4180         Use DEB_SRCDIR instead of defining SOURCE_DIR
4181
4182 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
4183
4184         * configure.ac: post release version bump.
4185         * debian/changelog: version bump
4186
4187 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
4188
4189         [Release 2.1.32]
4190
4191         * NEWS: updates
4192         * configure.ac: bump version
4193         * debian/changelog: updates
4194         * debian/control: bump gtk+ dependency
4195
4196 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
4197
4198         patch by Christian Dywan (christian@imendio.com)
4199
4200         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4201         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4202
4203 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
4204
4205         * src/hildon-check-button.c (hildon_check_button_init)
4206         (hildon_check_button_class_init, hildon_check_button_style_set)
4207         (hildon_check_button_apply_style):
4208         New "checkbox-size" style property.
4209
4210         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4211         larger / configurable size)
4212
4213 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
4214
4215         * configure.ac: post release version bump.
4216         * debian/changelog: version bump
4217
4218 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
4219
4220         [Release 2.1.30]
4221
4222         * NEWS: updates
4223         * configure.ac: bump version
4224         * debian/changelog: updates
4225
4226 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
4227
4228         * doc/hildon-sections.txt
4229         * src/hildon-pannable-area.c
4230         * src/hildon-program.c
4231         * src/hildon-time-editor.c
4232         * src/hildon-touch-selector-entry.c:
4233
4234         More documentation updates.
4235
4236 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
4237
4238         * doc/hildon-sections.txt
4239         * src/hildon-caption.c
4240         * src/hildon-code-dialog.c
4241         * src/hildon-color-button.c
4242         * src/hildon-controlbar.c
4243         * src/hildon-date-editor.c
4244         * src/hildon-date-selector.c
4245         * src/hildon-edit-toolbar.c
4246         * src/hildon-find-toolbar.c
4247         * src/hildon-font-selection-dialog.c
4248         * src/hildon-gtk.c
4249         * src/hildon-program.c
4250         * src/hildon-range-editor.c
4251         * src/hildon-seekbar.c
4252         * src/hildon-time-editor.c
4253         * src/hildon-time-selector.c
4254         * src/hildon-volumebar-range.c
4255         * src/hildon-volumebar.c
4256         * src/hildon-vvolumebar.c
4257         * src/hildon-weekday-picker.c
4258         * src/hildon-window.c
4259         * src/hildon-wizard-dialog.c:
4260
4261         Lots of documentation fixes.
4262
4263 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
4264
4265         Patch contributed by Iván Gómez (igomez@igalia.com)
4266
4267         * src/hildon-check-button.c:
4268         * src/hildon-date-button.c:
4269         * src/hildon-date-selector.c:
4270         * src/hildon-dialog.c:
4271         * src/hildon-edit-toolbar.c:
4272         * src/hildon-entry.c:
4273         * src/hildon-picker-button.c:
4274         * src/hildon-program.c:
4275         * src/hildon-text-view.c:
4276         * src/hildon-time-button.c:
4277         * src/hildon-touch-selector-entry.c:
4278         * src/hildon-window-stack.c:
4279
4280         Add more "since" tags to the new API.
4281
4282 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
4283
4284         * doc/hildon-sections.txt: Add below method.
4285         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4286         version for the hildonized scale.
4287         * src/hildon-gtk.h: Add the definition.
4288
4289         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4290
4291 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
4292
4293         * doc/hildon-sections.txt: Add missing entries for new methods.
4294
4295 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
4296
4297         Added API to pannable are in order to get its adjustments. We
4298         added two properties to manage the values we had in the private
4299         structure.
4300
4301         * src/hildon-pannable-area.c:
4302         (hildon_pannable_area_class_init): Added hadjustment and
4303         vadjustment properties in order to expose horizontal and vertical
4304         adjustment.
4305         (hildon_pannable_area_get_property),
4306         (hildon_pannable_area_set_property): Added code to handle the new
4307         properties
4308         (hildon_pannable_area_get_hadjustment),
4309         (hildon_pannable_area_get_vadjustment): API functions to get the
4310         adjustments
4311         * src/hildon-pannable-area.h:
4312         (hildon_pannable_area_get_hadjustment),
4313         (hildon_pannable_area_get_vadjustment): API functions to get the
4314         adjustments
4315
4316 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
4317
4318         Fixed some leaks, after valgrinding.
4319
4320         * src/hildon-touch-selector.c:
4321         (_default_print_func): Fixed a leak.
4322         (hildon_touch_selector_append_column): Fixed a leak.
4323         * src/hildon-date-button.c:
4324         (hildon_date_button_init): Fixed a leak.
4325         * src/hildon-date-selector.c
4326         (hildon_date_selector_finalize): Fixed a leak.
4327
4328 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
4329
4330         Based on a patch by Christian Dywan (christian@imendio.com)
4331
4332         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4333         GtkHScale.
4334         * src/hildon-gtk.h: Add definition.
4335
4336         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4337
4338 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
4339
4340         * src/hildon-picker-button.c: (hildon_picker_button_init),
4341         (hildon_picker_button_new): Set the HildonButton::style property
4342         in the init method, to propagate the value to the derived classes.
4343
4344 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
4345
4346         * src/hildon-button.c: (hildon_button_class_init): Do not make
4347         the "style" property a construct property.
4348
4349 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4350
4351         * src/hildon-wizard-dialog.h
4352         * src/hildon-wizard-dialog.c
4353         (hildon_wizard_dialog_set_forward_page_func)
4354         * src/hildon-pannable-area.h
4355         * src/hildon-pannable-area.c
4356         (hildon_pannable_area_set_size_request_policy):
4357         Documentation fixes.
4358
4359 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4360
4361         * doc/hildon-sections.txt: Fixed warning about unused symbols.
4362
4363 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4364
4365         * doc/hildon-sections.txt: Added sections file.
4366
4367 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
4368
4369         * AUTHORS: Updates.
4370         * src/*.[ch]: Updates.
4371
4372 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
4373
4374         * examples/hildon-progress-indicator-example.c: new file
4375         * examples/Makefile.am: include the new example program
4376
4377 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
4378
4379         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4380
4381 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4382
4383         * configure.ac: post release version bump
4384         * debian/changelog: version bump
4385
4386 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4387
4388         [Release 2.1.28]
4389
4390         * NEWS: updates
4391         * configure.ac: bump version
4392         * debian/changelog: updates
4393         * debian/control: bump gtk+ dependency
4394
4395 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4396
4397         * src/hildon-dialog.c: Mark as deprecated.
4398         * src/hildon-dialog.h: Mark as deprecated.
4399         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4400         from HildonDialog and still work, even if
4401         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4402         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4403
4404         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4405         maemo changes) instead)
4406
4407 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
4408
4409         * src/hildon-pannable_area.h:
4410         * src/hildon-pannable_area.c:
4411         (hildon_pannable_area_class_init),
4412         (hildon_pannable_area_set_property),
4413         (hildon_pannable_area_get_property),
4414         (hildon_pannable_area_size_request),
4415         (hildon_pannable_area_get_size_request_policy),
4416         (hildon_pannable_area_set_size_request_policy): Added new API
4417         allowing applications to control the request policy. Now they can
4418         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4419         children allocation (HILDON_MOVEMENT_CHILDREN).
4420
4421 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
4422
4423         * src/hildon-gtk.h
4424         * src/hildon-gtk.c
4425         (hildon_gtk_tree_view_set_ui_mode)
4426         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4427         mode of treeviews and iconviews.
4428
4429 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4430
4431         * src/hildon-touch-selector-entry.c:
4432         (hildon_touch_selector_entry_init): Use a HildonEntry instead
4433         of a GtkEntry to get proper theming.
4434
4435         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4436         widget, not GtkEntry)
4437
4438 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4439
4440         * src/hildon-wizard-dialog.c: (response): Move forward if there is
4441         no HildonWizardDialogPageFunc.
4442
4443 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4444
4445         Patch contributed by Iván Gómez (igomez@igalia.com)
4446
4447         * src/hildon-app-menu.c:
4448         * src/hildon-button.c:
4449         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4450         * src/hildon-stackable-window.c:
4451         * src/hildon-time-selector.c:
4452         * src/hildon-touch-selector.c:
4453         * src/hildon-window.c:
4454
4455         Add more "since" tags to the new API in hildon 2.2.
4456
4457 2008-12-05  Tim Janik  <timj@imendio.com>
4458
4459         Patch contributed by Christian Dywan (christian@imendio.com)
4460
4461         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4462         HildonSizeType, which are supplied by Gtk+ now.
4463
4464         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4465
4466         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4467         (with maemo changes) instead)
4468
4469 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
4470
4471         Patch contributed by Iván Gómez (igomez@igalia.com)
4472
4473         * src/hildon-pannable-area.c: Add "since" tags to the new API in
4474         hildon 2.2.
4475
4476 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
4477
4478         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4479         (some_page_func), (main): Update the example to use a
4480         HildonWizardDialogPageFunc function.
4481
4482         * src/hildon-wizard-dialog-private.h: Add private data for
4483         the HildonWizardDialogPageFunc function usage.
4484
4485         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4486         (destroy), (hildon_wizard_dialog_init), (response),
4487         (hildon_wizard_dialog_set_forward_page_func):
4488         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4489         that applications can use to stop a HildonWizardDialog to jump to
4490         the next page.
4491
4492         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4493         next page)
4494
4495 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
4496
4497         * src/hildon-program.h
4498         * src/hildon-program-private.h
4499         * src/hildon-program.c (hildon_program_init)
4500         (hildon_program_set_common_app_menu)
4501         (hildon_program_get_common_app_menu):
4502         New API for setting a common HildonAppMenu for all
4503         HildonStackableWindows registered with the HildonProgram.
4504
4505         * src/hildon-stackable-window.c
4506         (hildon_stackable_window_toggle_menu):
4507         Use the common HildonAppMenu if a window doesn't have a specific
4508         one.
4509
4510         * src/hildon-app-menu-private.h
4511         * src/hildon-app-menu.c
4512         (hildon_app_menu_get_parent_window):
4513         Function to obtain the window a HildonAppMenu is attached to.
4514         (hildon_app_menu_set_parent_window):
4515         Hide the menu if the parent window is set to NULL.
4516
4517 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
4518
4519         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4520         set GtkTreeView::enable-search to FALSE, to avoid the interactive
4521         search widget to popup.
4522
4523 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
4524
4525         * configure.ac: post release version bump
4526         * debian/changelog: version bump
4527
4528 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
4529
4530         [Release 2.1.26]
4531
4532         * NEWS: updates
4533         * configure.ac: bump version
4534         * debian/changelog: updates
4535
4536 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4537
4538         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4539
4540         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4541         (hildon_window_stack_window_realized)
4542         (hildon_window_stack_remove, _hildon_window_stack_do_push):
4543         Set the leader GdkWindow when a window is stacked and realized,
4544         unset it when it's unstacked.
4545         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4546
4547         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4548
4549 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4550
4551         * src/hildon-stackable-window.h
4552         * src/hildon-window-stack.h:
4553         Protect definition of HildonWindowStack using the preprocessor.
4554
4555 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4556
4557         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4558         Fix warning if all menu items are hidden.
4559
4560 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
4561
4562         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4563
4564         * src/hildon-controlbar.c:
4565         * src/hildon-hvolumebar.c:
4566         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4567         Multiple scale size defines updates.
4568
4569         Fixes: NB#94322 (Scale Updates)
4570
4571 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4572
4573         * examples/hildon-app-menu-example.c (create_menu)
4574         Show items after adding them to the menu, as in the future the
4575         menu will no longer call gtk_widget_show() on the added items.
4576
4577         * src/hildon-app-menu.c:
4578         Update example as explained above.
4579
4580 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4581
4582         * src/hildon-app-menu.c
4583         (hildon_app_menu_insert, hildon_app_menu_add_filter):
4584         Make sure that all menu items have finger height.
4585
4586 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
4587
4588         * src/hildon-picker-dialog.c:
4589         (_on_dialog_response), (_save_current_selection),
4590         (_restore_current_selection), (_clean_current_selection),
4591         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4592         Defined new functions in order to save the current internal selector
4593         selection previous open the dialog, in case that the use cancel the
4594         interaction, so the widget restores the previous selection.
4595
4596         Fixes: NB#92032 (In calendar application, date values in 'new event' 
4597         are not proper)
4598
4599         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4600
4601 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4602
4603         * src/hildon-button.c: Add a reference to the button examples in
4604         hildon-button-example.c
4605
4606         * examples/hildon-button-example.c: Added examples of the most
4607         common button layouts.
4608
4609 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4610
4611         * src/hildon-app-menu.c (hildon_app_menu_show)
4612         (hildon_app_menu_class_init): Don't show the menu if it's empty.
4613
4614         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4615
4616 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4617
4618         * src/hildon-picker-dialog.c:
4619         (hildon_picker_dialog_init): Initialize the signal id for
4620         HildonTouchSelector::columns-changed.
4621         (+on_selector_columns_changed): Set up the interaction mode everytime a
4622         column is added or removed from the HildonTouchSelector.
4623         (_hildon_picker_dialog_set_selector): Connect to
4624         HildonTouchSelector::columns-changed and keep track of it.
4625
4626         Make sure to update the interaction mode of the dialog everytime a
4627         column is added or removed in the HildonTouchSelector.
4628
4629         Fixes: NB#93228 (Done button is not shown always in listpicker)
4630
4631 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4632
4633         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4634         a new ::columns-changed signal.
4635         (hildon_touch_selector_append_column): Emit ::columns-changed.
4636         (hildon_touch_selector_remove_column): Emit ::columns-changed.
4637
4638         Add a ::columns-changed signal, emitted when the number of columns in a
4639         HildonTouchSelector changes.
4640
4641 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4642
4643         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4644         (_hildon_picker_dialog_set_selector): Factor out the code
4645         to set up the dialog interaction mode.
4646
4647 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4648
4649         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4650         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4651         to signal_changed_id.
4652
4653 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4654
4655         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4656         Minor doc. fixes.
4657
4658 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
4659
4660         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4661         Updated the logical ids related to ampm format, as now it is required to
4662         show it correctly localized even on languages with no default
4663         abbreviations for am or pm
4664         (_check_am_pm_format): check correctly the 24h format gconf property
4665
4666         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4667
4668 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4669
4670         * src/hildon-button.c: Documentation updates.
4671
4672 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4673
4674         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4675         * src/hildon-caption.c: (hildon_caption_class_init):
4676         * src/hildon-color-button.c: (hildon_color_button_class_init):
4677         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4678         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4679         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4680         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4681
4682         Remove deprecated GTK+ marshalers and replace them with the ones
4683         provided by GLib, for those available, add a marshaler for
4684         BOOLEAN:VOID, which is not available in GLib, and use it.
4685
4686 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4687
4688         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4689         the text from the previous column if there is no
4690         HildonTouchSelectorColumn::text-property set.
4691
4692 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4693
4694         * src/hildon-button.h
4695         * src/hildon-button.c (hildon_button_set_property)
4696         (hildon_button_get_property, hildon_button_class_init)
4697         (hildon_button_set_style, hildon_button_get_style):
4698         New "style" property to change the visual appearance of the
4699         button.
4700
4701         * src/hildon-picker-button.c (hildon_picker_button_new):
4702         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4703
4704         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4705         HildonButton look like PickerButton)
4706
4707 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4708
4709         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4710         column while building the default string.
4711
4712 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4713
4714         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4715         scroll indicator by default.
4716
4717         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4718
4719 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4720
4721         * src/hildon-main.c: Fix the documentation for hildon_init()
4722
4723 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4724
4725         * doc/hildon-docs.sgml
4726         * doc/hildon.types
4727         * src/Makefile.am
4728         * src/hildon.h
4729         * src/hildon-window-stack-private.h
4730         * src/hildon-window-stack.h
4731         * src/hildon-window-stack.c:
4732         New HildonWindowStack object, that adds support for multiple
4733         stacks of windows per process.
4734
4735         * src/hildon-stackable-window-private.h
4736         * src/hildon-stackable-window.h
4737         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4738         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4739         (hildon_stackable_window_show, hildon_stackable_window_hide)
4740         (hildon_stackable_window_class_init)
4741         (hildon_stackable_window_init):
4742         Use HildonWindowStack for stack management.
4743
4744         * src/hildon-program.c (hildon_program_pop_window_stack)
4745         (hildon_program_peek_window_stack)
4746         (hildon_program_go_to_root_window):
4747         Add a fallback implementation to the deprecated functions using
4748         HildonWindowStack.
4749
4750         * examples/hildon-stackable-window-example.c:
4751         Use the new HildonWindowStack API.
4752
4753 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4754
4755         * src/hildon-stackable-window-private.h
4756         * src/hildon-stackable-window.c (hildon_stackable_window_show)
4757         (hildon_stackable_window_hide, hildon_stackable_window_init):
4758         Remove all window stack management.
4759
4760         * src/hildon-program-private.h
4761         * src/hildon-program.h
4762         * src/hildon-program.c (hildon_program_init)
4763         (hildon_program_pop_window_stack)
4764         (hildon_program_peek_window_stack)
4765         (hildon_program_go_to_root_window):
4766         Remove all window stack management and mark functions as
4767         deprecated.
4768
4769 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4770
4771         * src/hildon-app-menu.c (hildon_app_menu_realize):
4772         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4773
4774 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4775
4776         * configure.ac: post release version bump
4777         * debian/changelog: version bump
4778
4779 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4780
4781         [Release 2.1.24]
4782
4783         * NEWS: updates
4784         * configure.ac: bump version
4785         * debian/changelog: updates
4786
4787 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4788
4789         Based on initial code by Christian Dywan (christian@imendio.com)
4790
4791         * doc/hildon-docs.sgml: Add section for hildon-main.
4792         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4793         * src/Makefile.am: Add new hildon-main.[ch]
4794         * src/hildon-defines.h: Update the icon sizes.
4795         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4796         new library initialization files and register icon sizes.
4797         * src/hildon-main.h: New declarations.
4798         * src/hildon.h: Include hildon-main.h
4799
4800         Add new initialization functions to the library. These methods
4801         will register the hildon specific icon sizes and can be used in the
4802         future for other hildon specific bits.
4803
4804         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4805
4806 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4807
4808         * src/hildon-window.c: (hildon_window_realize),
4809         (hildon_window_notify), (-hildon_window_update_title): Do not set
4810         the application name in the window title.
4811
4812         Fixes: NB#89754 (Applications shouldn't display their names in the
4813         window title)
4814
4815 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4816
4817         * src/hildon-note-private.h:
4818         * src/hildon-note.c: (hildon_note_set_property),
4819         (hildon_note_get_property), (hildon_note_class_init),
4820         (hildon_note_init), (hildon_note_finalize),
4821         (hildon_note_new_confirmation_with_icon_name),
4822         (hildon_note_new_information_with_icon_name):
4823
4824         No need to mark as deprecated the actual code. Revert
4825         to avoid missing symbols in widgets using deprecated API.
4826
4827 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
4828
4829         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4830
4831         * src/hildon-volumebar.h
4832         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4833         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4834
4835         * src/hildon-helper.h
4836         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4837         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4838
4839         * examples/Makefile.am:
4840         Deprecate hildon-insensitive-example
4841
4842         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4843
4844 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
4845
4846         * examples/hildon-pannable-area-buttons-scroll-example.c:
4847         Make all buttons finger height
4848
4849 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
4850
4851         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4852         documentation
4853         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4854         update the day model only if it is really required, and to avoid the
4855         full-reconstruction aproach. Now it only add or remove the required days.
4856
4857         The purpose of this is avoid superfluous HildonTouchSelector::changed
4858         signals
4859
4860         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4861         with strange parameters)
4862
4863 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
4864
4865         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4866
4867         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4868         the WINDOW_TYPE property.
4869
4870         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4871
4872 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
4873
4874         * doc/gtk-doc.make:
4875         Fix dependency to allow parallel compilation with make -jX
4876
4877 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
4878
4879         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4880         color frame and some minor tweaks to make it more consistent with
4881         current theming.
4882
4883         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4884         highlighted but not visible)
4885
4886 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4887
4888         * examples/Makefile.am: Fixed typo in the Makefile.am.
4889
4890 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4891
4892         Reviewed the use of MAEMO_GTK define, now we add the define in the
4893         compilation line, and we also add it to the pc file.
4894
4895         * configure.ac: Added MAEMO_GTK define to the compilation command
4896         and removed it from the config.h.
4897
4898         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4899         do not have to take care about this define if the library was
4900         compiled with it.
4901
4902         * src/hildon-gtk.c:
4903         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4904
4905 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4906
4907         * examples/Makefile.am,
4908         * examples/hildon-pannable-area-buttons-scroll-example.c,
4909         * examples/hildon-pannable-area-gesture-signals-example.c,
4910         * examples/hildon-pannable-area-scroll-jump-example.c,
4911         * examples/hildon-pannable-area-tree-view-example.c:
4912         Renamed the pannable area examples, now they have more meaningful
4913         names.
4914
4915 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
4916
4917         * src/hildon-touch-selector.c:
4918         (hildon_touch_selector_set_column_selection_mode): Used of
4919         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4920         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4921         to avoid re-seting the same selection mode.
4922
4923         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4924         breaks HildonPickerDialog)
4925
4926 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
4927
4928         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4929         conditional in the Makefile.am
4930
4931 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
4932
4933         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4934         Remove unused methods.
4935
4936 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4937
4938         * src/hildon-button.c (hildon_button_init):
4939         Make button images center-aligned by default
4940
4941 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
4942
4943         * src/hildon-gtk.c:
4944         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4945         activated, we have to think about how to deal with both defines
4946         MAEMO_GTK and MAEMO_CHANGES.
4947
4948 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4949
4950         * examples/hildon-app-menu-example.c (create_menu): Make all
4951         buttons finger size.
4952
4953 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4954
4955         Fixed the compilation without maemo gtk adding ifdefs with
4956         MAEMO_GTK define to the code, we have to check this version more
4957         carefully.
4958
4959         * examples/Makefile.am: Added control to avoid some examples that
4960         just make sense with maemo gtk.
4961
4962         * src/hildon-gtk.c:
4963         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4964         hildon modes with the define.
4965
4966         * examples/hildon-edit-toolbar-example.c,
4967         (create_icon_view): Create the icon view without hildon-gtk
4968         helpers if we are not using maemo gtk.
4969
4970         * src/hildon-touch-selector.c,
4971         (_create_new_column): Create the treeview without hildon-gtk
4972         helpers if we are not using maemo gtk.
4973
4974 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4975
4976         * src/hildon-pnnable-area.c,
4977         (hildon_pannable_area_dispose),
4978         (hildon_pannable_area_button_press_cb),
4979         (hildon_pannable_area_child_mapped),
4980         (hildon_pannable_area_add),
4981         (hildon_pannable_area_remove): Added code to control the position
4982         of the event_window when adding and removing children from the
4983         pannable. We have to raise the event window when the child is
4984         mapped.
4985
4986         Fixes: NB#89811 (Not able to select first image thumbnail in multi
4987         selection mode using custom widget inside pannable)
4988
4989 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4990
4991         * configure.ac: post release version bump
4992         * debian/changelog: version bump
4993
4994 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4995
4996         [Release 2.1.22]
4997
4998         * NEWS: updates
4999         * configure.ac: bump version
5000         * debian/changelog: updates
5001
5002 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
5003
5004         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5005         search mode, in order to avoid lose the focus on the treeview when
5006         a hw key (like enter) is pressed.
5007
5008         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5009         in HildonDateSelector dialog)
5010
5011 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
5012
5013         * debian/rules: Added --enable-maintainer-mode
5014         * Makefile.am: Added ACLOCAL_AMFLAGS
5015
5016         This allows to properly regenerate the Makefiles if you modify the
5017         configure.ac or any Makefile.am.
5018
5019 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
5020
5021         * examples/hildon-app-menu-example.c: (main): Do not set RC style
5022         properties, not needed at all.
5023
5024 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
5025
5026         * src/hildon-note-private.h: Add strings for the icon and stock_icon
5027         properties.
5028         * src/hildon-note.c: (hildon_note_set_property),
5029         (hildon_note_get_property), (hildon_note_class_init),
5030         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5031         (hildon_note_new_confirmation_add_buttons): Remove icons.
5032         (hildon_note_new_confirmation_with_icon_name): Deprecate.
5033         (hildon_note_new_information_with_icon_name): Deprecate.
5034         (hildon_note_new_confirmation): Act directly, without calling
5035         the deprecated constructor.
5036         (hildon_note_new_information): Act directly, without calling
5037         the deprecated constructor.
5038         * src/hildon-note.h: Mark deprecate methods as such.
5039         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5040         not run tests on the deprecated methods if built with deprecation
5041         disabled.
5042
5043         Fixes: NB#91688 (Never show icons in information notes/confirmation
5044         notes)
5045
5046 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
5047
5048         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5049         (hildon_app_menu_key_press): Remove leftover usage of the
5050         private structure in HildonAppMenu struct.
5051         * src/hildon-app-menu.h: Remove leftover private structure
5052         from the HildonAppMenu struct.
5053
5054         Fixes a crasher when using the HildonAppMenu.
5055
5056 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
5057
5058         * src/hildon-picker-dialog.c: Use appropriate logical id
5059         for the default "Done" text.
5060
5061 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
5062
5063         * configure.ac: post release version bump
5064         * debian/changelog: version bump
5065
5066 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
5067
5068         Modified the way to scroll to the current selection just when the touch
5069         selector is shown on the screen, avoiding a g_idle. Added too a property
5070         to configure this behaviour. See hildon_pannable_area_jump_to_child
5071         documentation for more information.
5072
5073         * src/hildon-touch-selector.c
5074         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5075         Added 'initial-scroll' property
5076         (hildon_touch_selector_set_property): Added
5077         (hildon_touch_selector_map): Removed as not required anymore
5078         (_hildon_touch_selector_on_selected_items): Modified in order to manage
5079         only a concrete column, instead of iterate along all the columns
5080
5081 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5082
5083         [Release 2.1.20]
5084
5085         * NEWS: updates
5086         * configure.ac: bump version
5087         * debian/changelog: updates
5088
5089 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5090
5091         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5092         compilation time warnings.
5093
5094 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5095
5096         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5097         the default value for HildonPannableArea::mov-mode to
5098         HILDON_PANNABLE_AREA_MODE_VERT.
5099
5100         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5101
5102 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5103
5104         Reverting following commit:
5105
5106         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
5107
5108           * src/hildon-app-menu-private.h
5109           * src/hildon-app-menu.[ch]
5110           * src/hildon-button.[ch]
5111           * src/hildon-check-button.[ch]
5112           * src/hildon-entry.[ch]
5113           * src/hildon-pannable-area.[ch]
5114           * src/hildon-text-view.[ch]:
5115           Added private field to the object's structure.
5116
5117         because it causes an ABI breakage. We will need to introduce these
5118         changes later at some point. See NB#91636 for an extensive
5119         explanation and status.
5120
5121 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5122
5123         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5124
5125         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5126         remove special cases that are no longer necessary.
5127
5128         Fixes: NB#91016 (Change toolbar sizes, simplification)
5129
5130 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
5131
5132         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5133         is shown in the cancel note.
5134
5135 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
5136
5137         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5138         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5139         (hildon_seekbar_init): Remove steppers, remove expose event.
5140         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5141
5142         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5143
5144 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
5145
5146         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5147         label font to "SmallSystemFont" for vertically arranged buttons.
5148
5149         Fixes: NB#90662 (HildonButton "value" and "detail" text is
5150         unformatted)
5151
5152 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
5153
5154         * src/hildon-check-button.c
5155         (hildon_check_button_set_active, hildon_check_button_clicked):
5156         Don't access private parts directly, use getters instead.
5157
5158 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
5159
5160         * src/hildon-check-button.c (hildon_check_button_new):
5161         Align the contents of the check button to the left.
5162
5163 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
5164
5165         * src/hildon-pannable-area.c,
5166         (hildon_pannable_area_scroll_to),
5167         (hildon_pannable_area_jump_to),
5168         (hildon_pannable_area_scroll_to_child),
5169         (hildon_pannable_area_jump_to_child): Replace the mapped
5170         precondition of these functions with the realized, it is the
5171         correct state of the widget in this case. Changed the
5172         documentation according to this modification.
5173
5174 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
5175
5176         Added a new EXTRA_CFLAGS option to add the deprecated define to
5177         the compilation command. This way we can avoid using the define in
5178         the documentation compilation.
5179
5180         * configure.ac: Defined EXTRA_CFLAGS.
5181
5182         * examples/Makefile.am:
5183         * src/Makefile.am:
5184         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5185
5186 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
5187
5188         * src/hildon-picker-dialog.c:
5189         Defined a utility macro with the desired touch selector height
5190         Removed currently unused separator, and title_label variables from
5191         private structure.
5192         (hildon_picker_dialog_init): Removed code related to the creation
5193         of unused private variables title_label and separator.
5194         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5195         to ensure correct visualization of the touch selector inside the dialog.
5196         * src/hildon-touch-selector.c
5197         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5198         ensure a concrete height of the widget.
5199
5200 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
5201
5202         * src/Makefile.am:
5203         * tests/Makefile.am:
5204
5205         Remove spurious whitespaces.
5206
5207 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
5208
5209         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5210         compilation warning after the cancel button removal.
5211
5212 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
5213
5214         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5215
5216         * configure.ac: Added an AM_CONDITIONAL in order to use in the
5217         Makefile.am, that way we can choose not to compile some examples
5218         and tests of the deprecated widgets.
5219
5220         * examples/Makefile.am: Divided the sources in deprecated and
5221         non-deprecated.
5222
5223         * src/Makefile.am: Added undef statement of the deprecated
5224         symbol to the enums file generation process.
5225
5226         * src/hildon-color-chooser-dialog.c
5227         * src/hildon-color-chooser-dialog.h
5228         * src/hildon-color-button.c
5229         * src/hildon-color-button.h
5230         * src/hildon-color-chooser.c
5231         * src/hildon-color-chooser.h
5232         * src/hildon-controlbar.c
5233         * src/hildon-controlbar.h
5234         * src/hildon-date-editor.c
5235         * src/hildon-date-editor.h
5236         * src/hildon-hvolumebar.c
5237         * src/hildon-hvolumebar.h
5238         * src/hildon-private.c
5239         * src/hildon-private.h
5240         * src/hildon-range-editor.c
5241         * src/hildon-range-editor.h
5242         * src/hildon-seekbar.c
5243         * src/hildon-seekbar.h
5244         * src/hildon-time-editor.c
5245         * src/hildon-time-editor.h
5246         * src/hildon-time-picker.c
5247         * src/hildon-time-picker.h
5248         * src/hildon-volumebar.c
5249         * src/hildon-volumebar.h
5250         * src/hildon-vvolumebar.c
5251         * src/hildon-vvolumebar.h
5252         * src/hildon-bread-crumb-trail.h
5253         * src/hildon-bread-crumb-trail.c
5254         * src/hildon-calendar-popup.c
5255         * src/hildon-calendar-popup.h
5256         * src/hildon-weekday-picker.c:
5257         * src/hildon-weekday-picker.h:
5258         * src/hildon-bread-crumb-widget.c:
5259         * src/hildon-bread-crumb-widget.h:
5260         * src/hildon-bread-crumb.c:
5261         * src/hildon-bread-crumb.h:
5262         * src/hildon-calendar.c:
5263         * src/hildon-calendar.h:
5264         * src/hildon-caption.c:
5265         * src/hildon-code-dialog.c:
5266         * src/hildon-code-dialog.h:
5267         * src/hildon-font-selection-dialog.c:
5268         * src/hildon-font-selection-dialog.h:
5269         * src/hildon-get-password-dialog.c:
5270         * src/hildon-get-password-dialog.h:
5271         * src/hildon-login-dialog.c:
5272         * src/hildon-login-dialog.h:
5273         * src/hildon-number-editor.c:
5274         * src/hildon-number-editor.h:
5275         * src/hildon-set-password-dialog.c:
5276         * src/hildon-set-password-dialog.h:
5277         * src/hildon-sort-dialog.c:
5278         * src/hildon-sort-dialog.h: This is the list of deprecated
5279         widgets.
5280
5281         * src/hildon-touch-selector.c:
5282         * src/hildon-window.c: Added undef statement to avoid compilation
5283         warnings
5284
5285         * tests/Makefile.am: Divided the sources in deprecated and
5286         non-deprecated.
5287
5288         * tests/check_test.c,
5289         (configure_tests): Marked the deprecated code that was adding
5290         suites with deprecated tests.
5291
5292         Fixes: NB#91135 (Deprecate legacy hildon widgets)
5293
5294 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
5295
5296         * src/hildon-touch-selector.c: (_default_print_func): Do not
5297         duplicate a string returned by gtk_tree_model_get(), it is already
5298         allocated for us.
5299
5300         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5301         function)
5302
5303 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
5304
5305         * src/hildon-pannable-area.c
5306         (hildon_pannable_area_add_with_viewport): Reviewed the complete
5307         method, it had problems when adding a widget with viewport the
5308         second time. Now checks if it already has a viewport and uses it.
5309
5310         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5311         on child)
5312
5313 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
5314
5315         * src/hildon-pannable-area.c,
5316         (hildon_pannable_area_scroll_to),
5317         (hildon_pannable_area_jump_to),
5318         (hildon_pannable_area_scroll_to_child),
5319         (hildon_pannable_area_jump_to_child): Added a precondition to the
5320         scroll and jump to functions: the widget must be mapped before we
5321         can safely call these functions. We have also added documentation
5322         to the functions to explain how to use them in this situation.
5323
5324
5325 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
5326
5327         Reviewed the threading handling of the pannable widget, we have
5328         used the gdk_threads_add_timeout function instead of the usual
5329         glib handlers. This avoids some problems with the threads.
5330
5331         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5332         (hildon_pannable_area_initial_effect),
5333         (hildon_pannable_area_scroll_indicator_fade),
5334         (hildon_pannable_area_button_press_cb),
5335         (hildon_pannable_area_timeout),
5336         (hildon_pannable_area_motion_notify_cb),
5337         (hildon_pannable_area_button_release_cb),
5338         (hildon_pannable_area_scroll_cb),
5339         (hildon_pannable_area_scroll_to): Removed the
5340         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5341         gdk_threads_add_timeout.
5342
5343         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5344
5345 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5346
5347         [Release 2.1.18]
5348
5349         * NEWS: updates
5350         * configure.ac: bump version
5351         * debian/changelog: updates
5352
5353 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5354
5355         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5356         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5357         * src/hildon-color-chooser-dialog.c:
5358         (hildon_color_chooser_dialog_init):
5359         * src/hildon-font-selection-dialog.c:
5360         (hildon_font_selection_dialog_init):
5361         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5362
5363         Remove all cancel/close-like dialogs, as these are not going to be
5364         displayed at all.
5365
5366 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5367
5368         * src/hildon-note.c: (hildon_note_rebuild),
5369         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5370         when needed.
5371
5372         Fixes: NB#90661 (Delete dialog is displayed without NO button)
5373
5374 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5375
5376         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5377         sure all buttons are shown, even the Cancel/Close-like ones.
5378
5379         Fixes: NB#90861 (Custom Confirmation dialogs should be
5380         protected from cancel button removal)
5381
5382 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
5383
5384         * debian/control: Change libhildon1-examples dependency from libhildon1
5385         to libhildon1-dev
5386         * debian/libhildon1-examples.install
5387         * debian/rules
5388         * Makefile.am: Modified the final install directory for the examples on
5389         package libhildon1-examples
5390         * Makefile.static: Update clean target in order to remove all the binary
5391         examples
5392
5393         Changes suggested by Claudio after review new libhildon1-examples package
5394
5395 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
5396
5397         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5398         * src/hildon-touch-selector.c: Ditto.
5399
5400 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
5401
5402         * debian/control: Added new package libhildon1-examples, in order to pack
5403         the current hildon examples as documentation
5404         * debian/rules: Not to compress .c files, modify some includes on the
5405         examples (as normally are compiled locally, but when installed it will
5406         require to include the installed libhildon1 library), and rename
5407         Makefile.static
5408         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5409         install all the example files on the new example package
5410         * examples/Makefile.static: Added static makefile that can be used to
5411         compile the examples, once installed the new example package
5412         * examples: Most of the examples were modified in order to grant that
5413         all use only '#include "hildon.h"', in order to be easy to prepare
5414         it on the example package
5415
5416 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
5417
5418         * debian/control
5419         * debian/libhildon1-dev.install
5420         * debian/libhildon1-doc.install:
5421         Move all gtk-doc files to a separate libhildon1-doc package.
5422
5423 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
5424
5425         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
5426
5427         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5428
5429 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
5430
5431         * debian/rules: Fixed a error in order to avoid unnecessary calls
5432         to autogen.sh on package building
5433
5434 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
5435
5436         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5437
5438 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
5439
5440         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5441         header include.
5442
5443 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
5444
5445         * src/hildon-picker-button.c
5446         (hildon_picker_button_finalize):
5447         Free priv->done_button_text
5448
5449         * src/hildon-time-button.c
5450         (hildon_time_button_set_time)
5451         * src/hildon-picker-button.c
5452         (hildon_picker_button_clicked)
5453         (hildon_picker_button_selector_selection_changed)
5454         (hildon_picker_button_set_selector)
5455         * src/hildon-date-button.c
5456         (hildon_date_button_set_date):
5457         Free strings returned by hildon_touch_selector_get_current_text()
5458
5459         * src/hildon-button.c (hildon_button_construct_child):
5460         Fix leaks in priv->image and priv->label_box
5461
5462         Fixes: NB#90535 (Memory leak in picker button)
5463
5464 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
5465
5466         * src/hildon-button.c: (hildon_button_get_property): Do not access
5467         private elements directly, use getters instead.
5468
5469 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5470
5471         * src/hildon-app-menu-private.h
5472         * src/hildon-app-menu.c
5473         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5474         Store the menu's parent window.
5475
5476         * src/hildon-stackable-window.c
5477         (hildon_stackable_window_toggle_menu)
5478         (hildon_stackable_window_finalize):
5479         Set the menu's parent window when the menu is shown, unset it when
5480         it is destroyed.
5481
5482         * src/hildon-app-menu.c
5483         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5484         (hildon_app_menu_class_init):
5485         Send unhandled keyboard accelerators to the parent window.
5486
5487 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5488
5489         * src/hildon-stackable-window.c
5490         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5491
5492 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5493
5494         * configure.ac: post release version bump
5495
5496 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5497
5498         * NEWS: Updates
5499         * configure.ac: Bump version
5500         * debian/changelog: Updates
5501         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5502         gtk-doc 1.10.
5503
5504 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5505
5506         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5507
5508         * src/hildon-gtk.h
5509         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5510         GtkMenu with Hildon style.
5511
5512 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5513
5514         * src/hildon-picker-button.c:
5515         (hildon_picker_button_set_done_button_text): Set the dialog's
5516         done button text here as well.
5517
5518         Fixes: NB#90232 (Picker button does not set the label on done button
5519         for the second time)
5520
5521 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5522
5523         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5524         warning message.
5525
5526 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
5527
5528         * src/hildon-app-menu.c (hildon_app_menu_insert)
5529         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5530         the HildonAppMenu to be activatable using keyboard accelerators
5531         when the menu is not being shown.
5532
5533         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5534
5535 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
5536
5537         * src/hildon-stackable-window.c
5538         (hildon_stackable_window_show):
5539         Don't hide old windows automatically when new windows are shown:
5540         this is now a task for the window manager.
5541         (hildon_stackable_window_class_init)
5542         (hildon_stackable_window_hide):
5543         Remove windows from the stack everytime they're hidden.
5544         (hildon_stackable_window_realize):
5545         Don't change the _NET_WM_WINDOW_TYPE property. Use
5546         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5547         it as a stackable window.
5548
5549         * src/hildon-program.c
5550         (hildon_program_pop_window_stack):
5551         Just hide the window to remove it from the stack.
5552         (hildon_program_go_to_root_window):
5553         Don't call gtk_widget_show(), this is now a task for the window
5554         manager.
5555
5556         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5557
5558 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
5559
5560         * src/hildon-button.c
5561         (hildon_button_construct_child):
5562         Don't pack anything in the button until text or image are
5563         set. This allows adding a custom child after creating the button
5564         with hildon_button_new().
5565         (hildon_button_finalize, hildon_button_class_init)
5566         (hildon_button_init, hildon_button_set_arrangement): Destroy the
5567         alignment and the label box even when they're not packed in the
5568         button.
5569
5570 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
5571
5572         * src/hildon-touch-selector.h:
5573         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5574         currently the type definition was using GTK_TYPE_VBOX
5575         * src/hildon-touch-selector.c:
5576         Added some implementation notes in order to clarify that any other widget
5577         added without the column related API will not be included on the
5578         selection logic, and how the widget is freed, as some people ask about
5579         it.
5580         (hildon_touch_selector_remove): Reimplemented in order to free properly
5581         the column related data when you remove the private hbox.
5582         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5583         to get a proper HildonTouchSelectorColumn documentation
5584
5585 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5586
5587         * src/hildon-touch-selector-entry.c:
5588         (hildon_touch_selector_entry_print_func): Return NULL if there is no
5589         text in the GtkEntry and there is no item selected. Fixes a
5590         potential crasher.
5591
5592 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
5593
5594         * src/hildon-app-menu-private.h
5595         * src/hildon-app-menu.[ch]
5596         * src/hildon-button.[ch]
5597         * src/hildon-check-button.[ch]
5598         * src/hildon-entry.[ch]
5599         * src/hildon-pannable-area.[ch]
5600         * src/hildon-text-view.[ch]:
5601         Added private field to the object's structure.
5602
5603 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5604
5605         * configure.ac: post-release version bump
5606
5607 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5608
5609         [Release 2.1.14]
5610
5611         * configure.ac: pre-release version bump
5612         * NEWS: updates.
5613         * debian/changelog: updates.
5614
5615 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5616
5617         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5618         Disconnect the handler for HildonTouchSelector::changed.
5619
5620         (hildon_picker_button_selector_selection_changed): Update the button
5621         value if the selection change was not triggered by the
5622         HildonPickerDialog.
5623
5624         (hildon_picker_button_set_selector): connect to
5625         HildonTouchSelector::changed.
5626
5627         Fixes: NB#89650 (Picker button is not updated, when selection in
5628         selector has changed)
5629
5630 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
5631
5632         * src/hildon-picker-dialog.c
5633         (hildon_picker_dialog_realize): Removed as not required
5634         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5635         * src/hildon-picker-button.c
5636         (_current_selector_empty): New function, checks if the selector is empty
5637         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5638         if the current selector is empty, in order to avoid to show the dialog
5639         close the dialog in this case (and shows a g_warning).
5640
5641         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5642
5643 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
5644
5645         * src/hildon-pannable-area.c,
5646         (hildon_pannable_area_scroll): Added clause to stop movement when
5647         the child of pannable is smaller than one page.
5648         (hildon_pannable_area_scroll_to): Added conditions to avoid
5649         starting the scrolling movement if the child is smaller than one
5650         page, the complete child is in the screen, we do not have to move.
5651
5652         Fixes: NB#89632 (Picker button selection doesn't change on first click)
5653
5654 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5655
5656         * src/hildon-app-menu.c: Removed the 'columns' property, as now
5657         this is managed automatically by the widget when the size of the
5658         screen changes.
5659
5660 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5661
5662         * src/hildon-picker-button.c
5663         (hildon_picker_button_set_done_button_text): Make a copy of the
5664         text, and free the previous value.
5665
5666 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5667
5668         * src/hildon-touch-selector-entry.c:
5669         (hildon_touch_selector_entry_print_func): Return the selected row's
5670         text if the entry is empty.
5671
5672         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5673         entry is empty)
5674
5675 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5676
5677         * src/hildon-touch-selector-entry.c: Minor docs fixes.
5678
5679 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5680
5681         * doc/hildon.types
5682         * src/hildon-check-button.h
5683         * src/hildon-check-button.c
5684         * examples/hildon-check-button-example.c:
5685         HildonCheckButton is now a new widget. 'toggled' signal added.
5686
5687 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5688
5689         * src/hildon-program-private.h
5690         * src/hildon-program.c (hildon_program_init)
5691         (hildon_program_finalize): Removed unused variables group_leader
5692         and name from HildonProgramPrivate.
5693
5694 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5695
5696         * src/hildon-check-button.c (hildon_check_button_set_active)
5697         (hildon_check_button_get_active, hildon_check_button_new): Use
5698         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5699
5700 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
5701
5702         * src/hildon-touch-selector.h
5703         (hildon_touch_selector_set_column_attributes): added deprecation
5704         guard HILDON_DISABLE_DEPRECATED
5705         * src/hildon-time-selector.c
5706         (hildon_time_selector_set_time)
5707         (hildon_time_selector_get_time): Fixed a typo on documentation
5708         * src/hildon-touch-selector.c: update HildonTouchSelector and
5709         HildonTouchSelectorColumn documentation
5710         * src/hildon-touch-selector-entry.c: update "text-column" property
5711         documentation
5712         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5713         to be added to the general documentation.
5714
5715 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
5716
5717         * examples/hildon-pannable-area-example-4.c,
5718         (main),
5719         * examples/hildon-pannable-area-example.c,
5720         (main): Modified the code in order to use the container add, with
5721         viewport treeviews could have problems if they are really big.
5722
5723 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
5724
5725         * src/hildon-weekday-picker.c,
5726         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5727         the agreement regarding deprecation in the library.
5728
5729 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5730
5731         * examples/hildon-picker-button-multicolumn-example.c:
5732         (main): Use custom "done" button text.
5733
5734         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5735         (hildon_picker_button_set_property),
5736         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5737         (hildon_picker_button_init),
5738         (+hildon_picker_button_get_done_button_text),
5739         (+hildon_picker_button_set_done_button_text): New methods to customize
5740         the "done" button label in the launched HildonPickerDialog. Also,
5741         make it a property.
5742
5743         * src/hildon-picker-button.h: add the public API.
5744
5745 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5746
5747         * src/hildon-date-selector.h:
5748         * src/hildon-picker-dialog.h:
5749         * src/hildon-time-selector.h:
5750         * src/hildon-touch-selector-column.h:
5751         * src/hildon-touch-selector.h:
5752
5753         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5754         declarations. Fixes gtk-doc warnings.
5755
5756 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5757
5758         * src/hildon-picker-dialog.h
5759         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5760         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5761
5762         Fixes: NB#89329 (selectors in picker dialog are not visible when a
5763         long text is set as label for done button)
5764
5765 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5766
5767         * src/hildon-dialog.c (hildon_dialog_add_button):
5768         Set fixed width to all buttons in the HildonDialog.
5769
5770 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5771
5772         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5773
5774         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5775         Set widget name using class name plus "-finger" or "-thumb".
5776
5777 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
5778
5779         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5780         'clicked' when the state of the button is manually changed.
5781
5782 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
5783
5784         * src/hildon-app-menu.c (hildon_app_menu_realize)
5785         (hildon_app_menu_unrealize, hildon_app_menu_init)
5786         (hildon_app_menu_class_init, item_visibility_changed):
5787         Change the menu layout when the size of the screen changes.
5788         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5789         Show warning only when changing the number of colums using the
5790         property.
5791
5792 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
5793
5794         * debian/compat: Set to 5
5795         * debian/control: Update dependencies.
5796         * debian/libhildon1-dbg.install: Remove.
5797         * debian/libhildon1-dev.install: Update according to cdbs paths.
5798         * debian/libhildon1.install: Update according to cdbs paths.
5799         * debian/rules: Switch to cdbs.
5800
5801 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5802
5803         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5804         'item' variable renamed to 'filter'
5805
5806 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5807
5808         * src/hildon-app-menu.c (hildon_app_menu_insert)
5809         (hildon_app_menu_add_filter, remove_item_from_list)
5810         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5811         Don't leak hidden items when the menu is destroyed.
5812
5813 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5814
5815         * src/hildon-app-menu.c (hildon_app_menu_insert)
5816         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5817         (hildon_app_menu_set_columns, item_visibility_changed)
5818         (filter_visibility_changed, hildon_app_menu_repack_filters)
5819         (hildon_app_menu_repack_items):
5820         Repack items and filters separately.
5821
5822         Don't repack all items, change only the ones that are needed to
5823         update the layout.
5824
5825 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
5826
5827         * src/Makefile.am: added hildon-touch-selector-column.h
5828
5829 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
5830
5831         * src/hildon-touch-selector.c: added the property "text-column" to the
5832         class HildonTouchSelectorColumn, and related get/set functions
5833         (_default_printf_func): updated to use "text-column" property
5834         * src/hildon-touch-selector-entry.c: mark as deprecated the property
5835         "text-column" in his documentation, as this is now included on
5836         HildonTouchSelectorColumn. The get/set_property can still be used,
5837         working as a wrapper to the concrete column "text-column" property
5838         (_text_column_modified): callback added in order to handle the signal
5839         "notify::text-column" of the concrete HildonTouchSelectorColumn
5840         (hildon_touch_selector_entry_get_text_column)
5841         (hildon_touch_selector_entry_set_text_column): Added documentation, and
5842         modified in order to use the HildonTouchSelectorColumn "text-column"
5843         property
5844         * src/hildon-time-selector.c:
5845         * src/hildon-date-selector.c:
5846         * examples/hildon-touch-selector-example.c
5847         * examples/hildon-touch-selector-multi-cells-example.c
5848         * examples/hildon-picker-button-multicolumn-example.c
5849         Set the right value to "text-column" property on the creation of a new
5850         column using hildon_touch_selector_append_column()
5851
5852         Fixes: NB#88644 (Hardcoded first column of the model as text column)
5853
5854 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
5855
5856         * src/hildon-app-menu.c
5857         (hildon_app_menu_construct_child, hildon_app_menu_init): When
5858         updating the layout of the menu, don't create all widgets again,
5859         just repack the items in their new places.
5860
5861 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
5862
5863         * src/hildon-time-selector.c
5864         (hildon_time_selector_get_time)
5865         (hildon_time_selector_set_time)
5866         Added documentation of these public methods
5867
5868         * src/hildon-date-button.h
5869         * src/hildon-touch-selector-column.h
5870         * src/hildon-time-button.h
5871         * src/hildon-picker-dialog.h
5872         * src/hildon-time-selector.h
5873         * src/hildon-picker-button.h
5874         * src/hildon-touch-selector.h
5875         * src/hildon-time-picker.h
5876         * src/hildon-date-selector.h
5877         * src/hildon-touch-selector-entry.h
5878         Modified in order to use hildon-widgets code style
5879
5880 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
5881
5882         Added deprecated support to the compilation process using
5883         HILDON_DISABLE_DEPRECATED
5884
5885         * configure.ac: Added the --disable-deprecated to the configure
5886         script
5887
5888         * src/hildon-weekday-picker.c:
5889         * src/hildon-weekday-picker.h: Deprecated widget, example of how
5890         to use the deprecated support. We will update the other deprecated
5891         widgets status in a new patch.
5892
5893 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
5894
5895         * configure.ac: Fixed typo with fatal warnings support, the
5896         variable name was not correct
5897
5898 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
5899
5900         * src/hildon-app-menu.c
5901         * src/hildon-program.c: Update documentation.
5902
5903 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5904
5905         * configure.ac: Post-release version bump.
5906
5907 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5908
5909         [Release 2.1.12]
5910
5911         * NEWS: Update.
5912         * configure.ac: Pre-release version bump.
5913         * debian/changelog: Updates.
5914
5915 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5916
5917         * NEWS: Update news for previous releases.
5918
5919 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5920
5921         * examples/hildon-touch-selector-multi-cells-example.c:
5922         (create_selector): Update the example to use
5923         hildon_touch_selector_append_column() with a NULL renderer and set
5924         the renderers later.
5925         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5926         passed a NULL renderer. This is documented behavior now.
5927
5928         Allow passing a NULL renderer to hildon_touch_selector_append_column().
5929         This must be used if the developer wants full control on the layout of
5930         the renderers to be added to the column.
5931
5932         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5933
5934 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5935
5936         * src/hildon-touch-selector.c: Documentation fixes.
5937
5938 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5939
5940         * src/hildon-wizard-dialog-private.h: Remove image and box.
5941         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5942         (hildon_wizard_dialog_set_property), (response): Completely remove
5943         image/icon support, and the containers required for the layout.
5944
5945         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5946
5947 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5948
5949         * src/hildon-app-menu.c: Updated documentation.
5950
5951         * src/hildon-stackable-window.c
5952         (hildon_stackable_window_set_main_menu): Unref the old menu after
5953         ref'ing the new one.
5954
5955 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5956
5957         * src/hildon-stackable-window.c
5958         (hildon_stackable_window_set_main_menu): Unref the previous menu
5959         instead of destroying it.
5960
5961         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5962         floating reference and set has_user_ref_count to FALSE to make
5963         HildonAppMenu act like a normal ref-counted widget and not a
5964         toplevel widget.
5965
5966         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5967         changed)
5968
5969 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
5970
5971         * src/hildon-touch-selector-column.h: new file
5972         * src/hildon-touch-selector.h
5973         * src/hildon-touch-selector.c
5974         Implemented GtkCellLayout interface, in order to allow to configure
5975         the cell layout on each individual selector column
5976         (hildon_touch_selector_set_column_attributes): marked as deprecated
5977         * examples/hildon-touch-selector-multi-cells-example.c
5978         Example of how to use the GtkCellLayout interface on the selector
5979
5980         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5981
5982 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5983
5984         * src/hildon-app-menu.h
5985         * src/hildon-app-menu.c
5986         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5987         (hildon_app_menu_append, hildon_app_menu_prepend):
5988         New methods to prepend, insert and move items in the menu.
5989
5990 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5991
5992         * src/hildon-wizard-dialog.c:
5993
5994         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5995         button.
5996         (create_title): Update logical IDs and related code.
5997         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5998
5999         * src/hildon-wizard-dialog.h: Note that
6000         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6001         point, as it is not used anymore.
6002
6003         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6004
6005 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
6006
6007         * src/hildon-note.c:
6008         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6009         shown.  Do not display an icon in confirmation notes nor information
6010         notes.
6011         (hildon_note_set_button_text): Update logical ID for cancel button.
6012
6013         Fixes: NB#88850 (Update HildonNote button strings + signals)
6014
6015 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
6016
6017         * src/hildon-stackable-window.c
6018         (hildon_stackable_window_set_main_menu): Fix compilation warning.
6019
6020 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
6021
6022         * src/hildon-app-menu-private.h
6023         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6024         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6025         (hildon_app_menu_init, hildon_app_menu_class_init): Added
6026         temporary property 'columns' to change the number of columns.
6027
6028 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
6029
6030         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6031
6032         * examples/hildon-note-example.c: (on_information_clicked),
6033         (on_confirmation_clicked), (on_progress_clicked), (main): Add
6034         debugging information.
6035         * src/hildon-note-private.h: Remove close_if_pressed_outside,
6036         not needed anymore.
6037         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6038         (hildon_note_rebuild): Remove special handling of tapping outside/inside
6039         in order to close: this will be handled by the WM from now on.
6040
6041         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6042
6043 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
6044
6045         * src/hildon-app-menu-private.h
6046         * src/hildon-app-menu.c
6047         (hildon_app_menu_append, hildon_app_menu_add_filter)
6048         (button_visibility_changed, hildon_app_menu_apply_style)
6049         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6050         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6051         layout everytime a button (item or filter) is shown or hidden.
6052
6053         * src/hildon-stackable-window.c
6054         (hildon_stackable_window_set_main_menu): Destroy the old menu when
6055         setting a new one.
6056
6057 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
6058
6059         * src/hildon-touch-selector.c:
6060         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6061         that the treeview inside the touch selector is in fremantle hildon mode
6062         * examples/hildon-date-button-example.c
6063         * examples/hildon-picker-button-multicolumn-example.c
6064         * examples/hildon-touch-selector-entry-example.c
6065         * examples/hildon-touch-selector-example.c
6066         * examples/hildon-time-button-example.c
6067         * examples/hildon-picker-button-example.c:
6068         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6069
6070 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
6071
6072         * examples/hildon-text-view-example.c: (main): Remove the
6073         gtkrc bits, now handled by the theme.
6074
6075 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
6076
6077         * src/hildon-picker-button.c (hildon_picker_button_set_active):
6078         Fix memory leak
6079
6080 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
6081
6082         * po/Makefile.am: Install properly the mo files.
6083         * po/en_GB.po: Update translation, to ease testing purposes.
6084
6085 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
6086
6087         * examples/hildon-picker-button-example.c: (main): Select an item
6088         in the selector before setting it to the button.
6089
6090 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
6091
6092         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6093         Update button's value if the selector has an item active.
6094
6095         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6096         'value' with the selector)
6097
6098 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
6099
6100         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6101         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6102         (hildon_picker_button_class_init): Plug the finalize method.
6103         (hildon_picker_button_set_selector): If there's a previously set
6104         selector, unref'it before setting a new one.
6105
6106         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6107         HildonTouchSelector)
6108
6109 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
6110
6111         * src/hildon-touch-selector-entry.c:
6112         (hildon_touch_selector_entry_changed): Check if there is no text
6113         selected before setting the entry text.
6114         Fixes: NB#88576
6115
6116 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
6117
6118         * src/hildon-touch-selector.h
6119         * src/hildon-touch-selector.c
6120         (hildon_touch_selector_get_active)
6121         (hildon_touch_selector_set_active): New methods to set/get the
6122         index of the selected item.
6123
6124         * src/hildon-picker-button.h
6125         * src/hildon-picker-button.c
6126         (hildon_picker_button_get_active)
6127         (hildon_picker_button_set_active): New methods to set/get the
6128         index of the selected item.
6129
6130 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
6131
6132         * configure.ac: post-release version bump.
6133
6134 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
6135
6136         Release 2.1.10-1.
6137
6138         * configure.ac: Pre-release version bump.
6139         * debian/changelog: Updates.
6140         * debian/control: Add myself as maintainer and depend on l10n
6141         packages.
6142
6143 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
6144
6145         * src/hildon-window.c
6146         (hildon_window_set_main_menu)
6147         * src/hildon-stackable-window.c
6148         (hildon_stackable_window_set_main_menu):
6149         Updated documentation.
6150
6151 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
6152
6153         * src/hildon-date-selector.c (hildon_date_selector_finalize):
6154         Don't free selector->priv manually.
6155         Fixes: NB#88414
6156
6157 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
6158
6159         * src/hildon-gtk.c,
6160         (hildon_gtk_window_set_progress_indicator):
6161         * src/hildon-gtk.h: Added the new API
6162         hildon_gtk_window_set_progress_indicator, it changes the state of
6163         the window progress hint.
6164
6165 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
6166
6167         * src/hildon-button.c
6168         * src/hildon-stackable-window.c: Minor documentation updates.
6169
6170 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
6171
6172         * src/hildon-stackable-window.c: Updated documentation.
6173
6174 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
6175
6176         * src/hildon-defines.h: Update margins definitions
6177         to the Fremantle sizes.
6178         Fixes: NB#88364
6179
6180 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
6181
6182         * src/hildon-touch-selector.c,
6183         (_hildon_touch_selector_set_model): Cleaning the code after
6184         review, removed g_print and #if 0 from the code.
6185
6186 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
6187
6188         * src/hildon-edit-toolbar.c: Update documentation.
6189
6190 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
6191
6192         * src/hildon-check-button.h
6193         * src/hildon-check-button.c
6194         (hildon_check_button_set_label, hildon_check_button_get_label)
6195         * examples/hildon-check-button-example.c
6196         (button_clicked_cb):
6197         Removed deprecated methods.
6198
6199 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
6200
6201         * src/hildon-text-view.c:
6202         Add sample code to the documentation.
6203
6204         * src/hildon-entry.h
6205         * src/hildon-text-view.h:
6206         Minor cosmetic changes.
6207
6208         * src/hildon-entry.c:
6209         Add sample code to the documentation.
6210         (hildon_entry_init, hildon_entry_refresh_contents):
6211         Don't allow NULL values in the placeholder.
6212
6213 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
6214
6215         * doc/hildon-docs.sgml
6216         * doc/hildon.types
6217         * examples/Makefile.am
6218         * examples/hildon-text-view-example.c
6219         * src/Makefile.am
6220         * src/hildon-text-view.c
6221         * src/hildon-text-view.h
6222         * src/hildon.h:
6223         New HildonTextView widget, with example.
6224
6225 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
6226
6227         * po/POTFILES.in: Add missing files with translatable strings.
6228         Partially fixes NB#88287.
6229
6230 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
6231
6232         * examples/hildon-pannable-area-example-2.c: (main): No need to
6233         set the cellrenderer height inside hildon touch lists, the theme does
6234         that for us.
6235
6236 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
6237
6238         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6239         they are integrated in the theme.
6240
6241 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
6242
6243         * examples/hildon-entry-example.c: Update the example adding
6244         widgets to modify the text and the placeholder of the HildonEntry.
6245
6246         * src/hildon-entry.c: Show the placeholder everytime the widget
6247         is empty and loses the focus.
6248
6249 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
6250
6251         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6252
6253         * src/hildon-pannable-area.c,
6254         (hildon_pannable_area_size_request): Fixed bug in height
6255         requisition, avoid increasing size and add border twice.
6256
6257 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
6258
6259         * configure.ac: postrelease version bump.
6260
6261 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
6262
6263         Release 2.1.8-1.
6264
6265         * configure.ac: Prerelease version bump.
6266         * debian/changelog: update.
6267         * debian/rules: make -dbg package contain useful debugging symbols.
6268
6269 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
6270
6271         * src/hildon-dialog.h
6272         * src/hildon-dialog.c
6273         (hildon_dialog_add_button, hildon_dialog_add_buttons):
6274         New methods to add buttons with finger size.
6275         (hildon_dialog_new_with_buttons):
6276         Create buttons with finger size.
6277
6278         * examples/hildon-dialog-example.c (main): Use HildonDialog
6279         methods to add buttons.
6280
6281 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
6282
6283         * src/hildon-entry.c: Updated HildonButton documentation.
6284
6285 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
6286
6287         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6288         button value label with (FALSE, FALSE) to prevent NB#88126 from
6289         being triggered.
6290
6291 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
6292
6293         * examples/hildon-pannable-area-example.c,
6294         (main): Removed examples panning a vbox inside a pannable
6295         area. Check bug NB#87965
6296
6297 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
6298
6299         Patch contributed by Kris Rietveld (kris@imendio.com)
6300
6301         * src/hildon-pannable-area.c,
6302         (hildon_pannable_area_get_topmost): replaced the get_geometry with
6303         get_size and get_position, this saves an X server roundtrip.
6304
6305 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
6306
6307         * doc/hildon-docs.sgml
6308         * doc/hildon.types
6309         * examples/Makefile.am
6310         * examples/hildon-entry-example.c
6311         * src/Makefile.am
6312         * src/hildon-entry.c
6313         * src/hildon-entry.h
6314         * src/hildon.h:
6315         New HildonEntry widget, with example.
6316
6317 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
6318
6319         * src/hildon-button.c (hildon_button_construct_child): Pack the
6320         image with expand == fill == FALSE. This is a workaround for a bug
6321         in GtkBox.
6322
6323 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
6324
6325         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6326         labels for the text column, to make it more look more dynamic.
6327
6328 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
6329
6330         * src/hildon-time-selector.c
6331         Define gettext auxiliar macro N_
6332         (_create_minutes_model)
6333         (_create_hours_model)
6334         (_create_ampm_model): use of strftime in order to fill the model
6335         * src/hildon-date-selector.c
6336         (hildon_date_selector_finalize):
6337         (_locales_init): remove the logic related to get the name of the months
6338         using nl_langinfo, as it is not required anymore
6339         (_create_day_model)
6340         (_create_year_model)
6341         (_create_month_model)
6342         (_update_day_model): use of strftime in order to fill the model properly
6343
6344
6345 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
6346
6347         * src/hildon-button.h
6348         * src/hildon-button.c (hildon_button_get_image): New method to
6349         retrieve the image.
6350
6351 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
6352
6353         * src/hildon-touch-selector.c:
6354         (hildon_touch_selector_remove_column): Remove from the correct parent
6355         and also remove the list element and free it.
6356         Fixes: NB#88049
6357
6358 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
6359
6360         * src/hildon-time-selector.c
6361         (_create_hours_model): change the range on 12h ampm format in order to use
6362         a 12-11 range instead of previous 01-12 range
6363         (hildon_time_selector_set_time): change the way to select the current time
6364         on 12h ampm format, due the change on the range
6365         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6366         Fixes: NB#88036
6367
6368 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
6369
6370         * src/hildon-touch-selector.c
6371         (hildon_date_touch_selector_get_selected): fix the selection mode check,
6372         in order to allow use this function on multiple row selection mode if
6373         the column is different that the first one
6374         Fixes: NB#88047
6375
6376 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
6377
6378         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6379         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6380
6381 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6382
6383         * src/hildon-date-selector.h: clean some comments, now on the .c
6384         * src/hildon-date-selector.c
6385         (hildon_date_selector_select_month): first implementation
6386         (hildon_date_selector_select_day): added documentation, reimplemented
6387         using hildon_date_selector_select_current_date to avoid repeat code
6388         Fixes: NB#88027
6389
6390 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
6391
6392         Reviewed interaction logic based on device experiences, refactored
6393         code.
6394
6395         * src/hildon-pannable-area.c,
6396         (hildon_pannable_area_class_init): Updated default vmax speed.
6397         (hildon_pannable_area_calculate_velocity): Added this function, it
6398         avoids duplicate valocity calculation. Adjusted calculation to
6399         avoid problems with zero dist events.
6400
6401         (hildon_pannable_area_motion_notify_cb): Now we use the
6402         calculate_velocity function.
6403
6404 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6405
6406         * src/hildon-date-selector.c
6407         (hildon_date_selector_select_current_date): fix the day range check
6408         as it failed using the last day of the current month
6409         Fixes NB#88023
6410
6411 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6412
6413         * src/hildon-touch-selector.c
6414         (hildon_touch_selector_get_num_columns): added a parameter validation
6415         Fixes: NB#88022
6416
6417 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
6418
6419         * examples/Makefile.am
6420         * examples/hildon-edit-toolbar-example.c: Example of the
6421         HildonEditToolbar widget.
6422
6423 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6424
6425         * configure.ac: postrelease version bump.
6426
6427 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6428
6429         Release 2.1.6-1.
6430
6431         * configure.ac: prerelease version bump.
6432         * debian/changelog: update.
6433
6434 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6435
6436         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6437         renderer to display stock icons in the touch list. Also, set the sizes
6438         to the recommended in the style guide.
6439
6440 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6441         * src/hildon-touch-selector.h
6442         (hildon_touch_selector_set_active_iter): renamed, now is
6443         hildon_touch_selector_select_iter
6444         (hildon_touch_selector_get_active_iter): renamed, now is
6445         hildon_touch_selector_get_selected
6446         (hildon_touch_selector_unselect_iter): added
6447         * src/hildon-touch-selector.c
6448         Update after API modification (methods renamed)
6449         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6450         order to avoid problems selecting multiple elements on the column
6451         (hildon_touch_selector_unselect_iter): added the implementation
6452         * src/hildon-time-selector.c
6453         * src/hildon-date-selector.c
6454         * src/hildon-touch-selector-entry.c
6455         Update methods calls after hildon-touch-selector.h API modification (methods
6456         renamed)
6457
6458 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
6459
6460         * src/hildon-stackable-window.c
6461         (hildon_stackable_window_finalize): Call the parent class's finalize.
6462
6463 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6464
6465         * examples/hildon-touch-selector-example.c: (create_selector): Use
6466         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6467         cell height.
6468
6469 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6470
6471         * examples/hildon-touch-selector-example.c: (create_selector): Do not
6472         set a cell background color, to respect theming.
6473
6474 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
6475
6476         * doc/hildon-docs.sgml
6477         * doc/hildon.types
6478         * src/Makefile.am
6479         * src/hildon-edit-toolbar.c
6480         * src/hildon-edit-toolbar.h
6481         * src/hildon.h: New HildonEditToolbar widget.
6482
6483 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
6484
6485         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6486         extra GtkVBox.
6487
6488 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6489         * src/hildon-touch-selector.c
6490         (_create_new_column): use g_object_set instead of two g_object_set_property
6491
6492 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6493         * src/hildon-touch-selector.c
6494         (_create_new_column): use of hildon_gtk_tree_view_new to create
6495         the treeview, instead of use directly g_object_new
6496         (_create_new_column): update the property name "vindicator-mode" for the
6497         new one "vscrollbar-policy"
6498         * examples/hildon-date-button-example.c
6499         * examples/hildon-picker-button-multicolumn-example.c
6500         * examples/hildon-touch-selector-entry-example.c
6501         * examples/hildon-touch-selector-example.c
6502         * examples/hildon-time-button-example.c
6503         * examples/hildon-picker-button-example.c
6504         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6505         to all the treeviews inside a pannable area.
6506
6507 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
6508
6509         * src/hildon-button.h
6510         * src/hildon-button.c (hildon_button_init)
6511         (hildon_button_set_arrangement, hildon_button_set_alignment)
6512         (hildon_button_set_title_alignment)
6513         (hildon_button_set_value_alignment)
6514         (hildon_button_set_image_alignment)
6515         (hildon_button_construct_child): New methods to set the alignment
6516         of the individual components of the button (title, value,
6517         image). Also, new method to alter the xscale and yscale properties
6518         of the GtkAlignment inside the button, so more complex layouts can
6519         be created.
6520
6521 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
6522
6523         * src/hildon-button.c (hildon_button_style_set)
6524         (hildon_button_class_init, hildon_button_set_arrangement)
6525         (hildon_button_construct_child): Apply style properties
6526         correctly. Use the 'image-spacing' style property too.
6527
6528 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
6529
6530         * src/hildon-app-menu.c (hildon_app_menu_style_set)
6531         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6532         correctly.
6533
6534 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6535
6536         * src/hildon-pannable-area.c,
6537         (hildon_pannable_area_size_request): Fixed problem with
6538         pannable-area size_request.
6539
6540 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6541
6542         Added management for the grab-focus to a child widget, like a
6543         range, we need to fade out the scrollbar when releasing.
6544
6545         * src/hildon-pannable-area.c,
6546         (hildon_pannable_area_init): Connected the grab-focus signal to
6547         the callback.
6548         (hildon_pannable_area_grab_notify): Added this function in order
6549         to manage the situation when the grab-focus ends. We have to
6550         fade-out the scrollbar.
6551
6552 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6553
6554         * src/hildon-app-menu.c: Minor documentation update.
6555
6556 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6557
6558         * src/hildon-app-menu.c
6559         * examples/hildon-app-menu-example.c (create_menu): Update
6560         examples and documentation to explain how to connect callbacks.
6561
6562 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
6563
6564         * examples/hildon-button-example.c
6565         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6566         hildon_stackable_window_new instead of gtk_window_new
6567
6568 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
6569
6570         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6571         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6572         (hildon_pannable_area_set_property),
6573         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6574         (hildon_pannable_area_unrealize),
6575         (hildon_pannable_area_size_request),
6576         (hildon_pannable_area_size_allocate),
6577         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6578         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6579         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6580         (hildon_pannable_area_initial_effect),
6581         (hildon_pannable_area_redraw),
6582         (hildon_pannable_area_scroll_indicator_fade),
6583         (hildon_pannable_area_expose_event),
6584         (hildon_pannable_area_get_topmost), (synth_crossing),
6585         (hildon_pannable_area_button_press_cb),
6586         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6587         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6588         (hildon_pannable_area_motion_notify_cb),
6589         (hildon_pannable_area_button_release_cb),
6590         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6591         (hildon_pannable_area_remove),
6592         (hildon_pannable_calculate_vel_factor): Widget refactorization,
6593         chage the code layout to a more GtkWidget like. Review the use of
6594         variables.
6595
6596 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
6597
6598         * examples/hildon-pannable-area-example-4.c,
6599         (main): Modified the name of the hindicator_mode to
6600         hscrollbar_visible
6601
6602         * src/hildon-pannable-area.c,
6603         (hildon_pannable_area_class_init),
6604         (hildon_pannable_area_motion_notify_cb),
6605         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6606         we have reduced the amount of signals and managed reviewed its
6607         rationale. Changed the default decelerate value.
6608
6609         (hildon_pannable_area_add),
6610         (hildon_pannable_area_redraw): Refactored functions.
6611
6612         (hildon_pannable_area_init),
6613         (hildon_pannable_area_get_property),
6614         (hildon_pannable_area_set_property):
6615         (hildon_pannable_draw_vscroll),
6616         (hildon_pannable_draw_hscroll),
6617         (hildon_pannable_area_initial_effect),
6618         (hildon_pannable_area_expose_event),
6619         (hildon_pannable_area_scroll),
6620         (hildon_pannable_area_button_press_cb),
6621         (hildon_pannable_area_realize): Replaced the names hindicator_mode
6622         and vindicator_mode with hscrollbar_policy and
6623         vscrollbar_policy. Replaced hscroll and vscroll with
6624         hscroll_visible and vscroll_visible.
6625
6626         (hildon_pannable_area_refresh): Refactor the function, remove
6627         variables and check the calls to this function, added resize
6628         conditions in case the children change their layout.
6629
6630         (hildon_pannable_area_size_request): Added more detailed
6631         size_request calculation.
6632
6633
6634 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
6635
6636         * src/hildon-color-chooser.c
6637         (init_borders): use the correct gtk_border_free instead of g_free, to
6638         avoid a crash when this widget is used (ie: the three color selection
6639         examples)
6640
6641 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6642
6643         * src/hildon-check-button.c,
6644         (hildon_check_button_set_active): Fixed problem when setting the
6645         active value, the widget was not redrawn.
6646
6647 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6648
6649         * src/hildon-pannable-area.c,
6650         (hildon_pannable_area_refresh),
6651         (hildon_pannable_area_scroll),
6652         (hildon_pannable_area_motion_notify_cb): Small code style change.
6653
6654         (hildon_pannable_area_class_init): Default initial_hint set to
6655         FALSE, it is not in the specs.
6656
6657         (hildon_pannable_area_initial_effect),
6658         (hildon_pannable_area_expose_event),
6659         (hildon_pannable_area_map),
6660         (hildon_pannable_area_init): Moved the launching point of the
6661         initial effect, it was in map but the sizes where not correct in
6662         that method so we do not know if we have the reproduce it. Now it
6663         is placed in the expose_event method and uses a variable to
6664         reproduce it just once.
6665
6666 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6667
6668         * src/hildon-pannable-area.c,
6669         (hildon_pannable_draw_vscroll),
6670         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6671         position allowed for the scrollbars.
6672
6673         (hildon_pannable_area_size_allocate): Small style change.
6674
6675 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6676
6677         * src/hildon-pannable-area.c,
6678         (hildon_pannable_area_scroll_indicator_fade),
6679         (hildon_pannable_area_button_press_cb),
6680         (hildon_pannable_area_button_release_cb),
6681         (hildon_pannable_area_scroll_cb),
6682         (hildon_pannable_area_expose_event),
6683         (hildon_pannable_area_init): Added the define parameter
6684         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6685         and refactor the fade variable.
6686
6687 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6688
6689         * src/hildon-pannable-area.c,
6690         (hildon_pannable_area_redraw),
6691         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6692         lines, we were reimplemeting the redraw code.
6693
6694 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6695
6696         * src/hildon-pannable-area.c,
6697         (hildon_pannable_area_scroll_cb),
6698         (hildon_pannable_area_realize),
6699         (hildon_pannable_area_class_init): Added scroll_event management
6700         for pannable area, now we can scroll the usual desktop method.
6701
6702         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6703         initialization of the parameters should depend on idle_id.
6704
6705         (hildon_pannable_area_init),
6706         (hildon_pannable_area_map): Small code style modifications
6707
6708 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6709
6710         * src/hildon-pannable-area.c
6711         (hildon_pannable_area_button_press_cb),
6712         (hildon_pannable_area_motion_notify_cb),
6713         (hildon_pannable_area_button_release_cb),
6714         (hildon_pannable_area_size_allocate),
6715         (hildon_pannable_area_scroll_to): Improved the timeouts
6716         management, we avoid creating them each time.
6717
6718 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6719
6720         * src/hildon-pannable-area.c:
6721         (hildon_pannable_area_refresh),
6722         (hildon_pannable_area_motion_notify_cb),
6723         (hildon_pannable_area_class_init):
6724         * src/hildon-pannable-area.h:
6725         * src/hildon-touch-selector.c
6726         (_create_new_column):
6727         * examples/hildon-pannable-area-example-4.c:
6728         (horizontal_movement),
6729         (vertical_movement),
6730         (main):
6731         Replaced the names of enums in the HildonPannableArea:
6732            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
6733               HILDON_MOVEMENT_MODE_*
6734            -  HILDON_PANNABLE_AREA_MOV_* ->
6735               HILDON_MOVEMENT_*
6736            - Removed HildonPannableAreaIndicatorMode, now we
6737              use GtkPolicyType
6738
6739 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6740
6741         * examples/hildon-pannable-area-touch-grid-example.c
6742         * examples/hildon-pannable-area-touch-list-example.c: Fix
6743         compilation warnings.
6744
6745 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6746
6747         * src/hildon-gtk.c (hildon_gtk_button_new)
6748         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6749         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6750         images overriding the value of the "gtk-button-images" setting.
6751
6752 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6753
6754         * src/hildon-check-button.c (hildon_check_button_new):
6755         Instead of using a custom container, display the label and the
6756         checkbox using the standard GtkButton API.
6757
6758         * examples/hildon-check-button-example.c (main): Don't use
6759         hildon_check_button_set_label() anymore
6760
6761         * src/hildon-check-button.h
6762         * src/hildon-check-button.c
6763         (hildon_check_button_set_label, hildon_check_button_get_label):
6764         Set as deprecated, now we're using gtk_button_{get,set}_label()
6765
6766 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6767
6768         * src/hildon-pannable-area.c,
6769         (hildon_pannable_area_get_topmost): Fixed bug with click in the
6770         GtkTreeview first line we detected it after the inclusion of the
6771         GtkWindowImpl in gtk+. We now check if the window is visible, not
6772         just if the pointer is over the window.
6773         (hildon_pannable_axis_scroll),
6774         (hildon_pannable_area_expose_event): Small style changes.
6775
6776 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6777
6778         * src/hildon-button.c: Update documentation.
6779
6780 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6781
6782         * examples/hildon-button-example.c: Add a switch to show images in
6783         the buttons.
6784
6785 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6786
6787         * doc/hildon-docs.sgml: Some docs reorganization.
6788
6789 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6790
6791         * examples/hildon-pannable-area-touch-list-example.c
6792         (create_tree_view)
6793         * examples/hildon-pannable-area-touch-grid-example.c
6794         (create_icon_view): Use gtk_{tree,icon}_view_new() and
6795         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6796         Fix memory leak when setting the tree model.
6797
6798 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6799
6800         Released 2.1.4
6801
6802 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6803
6804         * doc/hildon.types: Remove duplicated hildon_window_get_type
6805         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6806         documentation comment.
6807
6808 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6809
6810         * doc/Makefile.am: Complete list of private headers.
6811
6812 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6813
6814         * doc/hildon-docs.sgml
6815         * src/hildon-app-menu.c
6816         * src/hildon-bread-crumb.c
6817         * src/hildon-button.c
6818         * src/hildon-gtk.c
6819         * src/hildon-program.c
6820         * src/hildon-stackable-window.c
6821         * src/hildon-window.c: Lots of documentation updates.
6822
6823 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6824
6825         * debian/control: Depend on Gtk 2:2.12.9-0osso3
6826
6827         * configure.ac: Require Gtk+ 2.12.9 at least
6828
6829 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
6830
6831         * src/hildon-pannable-area.c
6832         (hildon_pannable_area_scroll_indicator_fade),
6833         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6834         to protect the return of this timeout callbacks, avoiding deadlocks.
6835
6836 2008-08-12  Christian Dywan  <christian@imendio.com>
6837
6838         * src/hildon-*.c
6839         * src/hildon-*.h: Ensure a consistent include order,
6840         include <gtk/gtk.h> instead of particular files and
6841         only include the topmost header in the gtk stack. See NB #39857
6842
6843 2008-08-12  Christian Dywan  <christian@imendio.com>
6844
6845         * src/hildon-picker-dialog.c
6846         * src/hildon-touch-selector.c: Fix warnings about unused and
6847         uninitialized variables.
6848
6849 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6850
6851         * examples/Makefile.am
6852         * examples/hildon-check-button-example.c: Example of the hildon
6853         check button.
6854
6855 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6856
6857         * src/hildon-window.h
6858         * src/hildon-window.c (hildon_window_class_init)
6859         (hildon_window_unset_program): Don't make
6860         hildon_window_unset_program a virtual function anymore.
6861
6862         * src/hildon-stackable-window.c: Update documentation
6863
6864 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6865
6866         * doc/Makefile.am
6867         * doc/hildon-docs.sgml
6868         * doc/visual_index.xml
6869         * src/hildon-defines.c
6870         * src/hildon-gtk.c
6871         * src/hildon-helper.c
6872         * src/hildon-range-editor.c: Lots of documentation fixes.
6873
6874 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6875
6876         * examples/hildon-picker-button-multicolumn-example.c
6877         (create_touch_selector): Fix compilation warning.
6878
6879 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6880
6881         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6882         (hildon_pannable_area_button_release_cb)
6883         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6884
6885 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6886
6887         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6888         assertion.
6889
6890 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6891
6892         * src/hildon-bread-crumb-trail.h
6893         * src/hildon-date-editor.c
6894         * src/hildon-date-selector.c
6895         * src/hildon-pannable-area.c
6896         * src/hildon-picker-dialog.c
6897         * src/hildon-time-selector.c
6898         * src/hildon-touch-selector-entry.c
6899         * src/hildon-touch-selector.c
6900         * src/hildon-touch-selector.h: Misc documentation fixes
6901
6902 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6903
6904         * examples/hildon-date-editor-example.c (main): Updated date
6905         editor example.
6906
6907         * examples/hildon-note-example.c (on_confirmation_clicked):
6908         Updated confirmation note example.
6909
6910         * src/hildon-date-editor.c
6911         * src/hildon-note.c: Updated sample programs in documentation.
6912         Fixes: NB#87437
6913
6914 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6915
6916         * src/hildon-date-button.h:
6917         * src/hildon-picker-button.h:
6918         * src/hildon-time-button.c:
6919         * src/hildon-time-button.h:
6920
6921         Some declarations changes to allow gtk-doc to document the widgets
6922         properly.
6923
6924 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6925
6926         * src/hildon-date-button.c: Document the widget.
6927         * src/hildon-time-button.c: Document the widget.
6928
6929 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6930
6931         * src/hildon-picker-button.c: Document the widget.
6932         * src/hildon-touch-selector-entry.c: Document the widget.
6933
6934 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6935
6936         * doc/hildon-docs.sgml
6937         * src/Makefile.am
6938         * src/hildon.h
6939         * src/hildon-check-button.h
6940         * src/hildon-check-button.c: New functions to create the Hildon
6941         Touch Checkbox.
6942
6943         * src/hildon-gtk.h
6944         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6945
6946 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6947
6948         * src/hildon-button.h
6949         * src/hildon-button.c
6950         (hildon_button_add_title_size_group)
6951         (hildon_button_add_value_size_group)
6952         (hildon_button_add_image_size_group)
6953         (hildon_button_add_size_groups): New functions to set size groups
6954         for the button labels and image.
6955         (hildon_button_new_full): Removed
6956
6957 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
6958
6959         * src/hildon-time-selector.c
6960         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6961         in order to avoid a crash if gconf is not available
6962
6963 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6964
6965         * src/hildon-button.c (hildon_button_set_arrangement)
6966         (hildon_button_construct_child): Don't construct the button child
6967         before setting the arrangement.
6968
6969 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6970
6971         * src/hildon-program-private.h
6972         * src/hildon-program.c
6973         * src/hildon-program.h
6974         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6975         (hildon_program_peek_window_stack)
6976         (hildon_program_pop_window_stack)
6977         (hildon_program_go_to_root_window): HildonProgram now has a
6978         separate list for stackable windows. Functions are provided to
6979         manage that list with a stack-like API.
6980
6981         * src/hildon-stackable-window.c: Stackable window management is
6982         now much simpler with the new HildonProgram API. Windows no
6983         longer need to be manually added to the program, they're
6984         automatically pushed to the top of the stack when shown.
6985
6986         * examples/hildon-stackable-window-example.c: Updated example to
6987         reflect the API changes.
6988
6989 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6990
6991         * src/hildon-touch-selector.c: Comment out unimplemented
6992         hildon_touch_selector_insert_column() to avoid a compile warning.
6993
6994 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6995
6996         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6997         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6998         (hildon_touch_selector_set_column_selection_mode),
6999         (_hildon_touch_selector_set_model),
7000         (hildon_touch_selector_set_model):
7001
7002         Complete review of HildonTouchSelector documentation.
7003
7004 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
7005
7006         * doc/hildon-docs.sgml
7007         * src/Makefile.am
7008         * src/hildon.h
7009         * src/hildon-gtk.h
7010         * src/hildon-gtk.c: Convenience functions for standard Gtk
7011         widgets, used to easily perform frequent operations.
7012
7013         * src/hildon-button-helpers.h
7014         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7015
7016         * src/hildon-helper.h
7017         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7018         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7019
7020         * src/hildon-button.h
7021         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7022
7023 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
7024
7025         * src/hildon-button.c (hildon_button_init)
7026         (hildon_button_set_arrangement, hildon_button_construct_child):
7027         Pack the image and the labels inside the same GtkAlignment so
7028         gtk_button_set_alignment() can be used
7029
7030 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
7031
7032         * src/hildon-button.h
7033         * src/hildon-button.c
7034         (hildon_button_init, hildon_button_set_image)
7035         (hildon_button_set_image_position)
7036         (hildon_button_construct_child): New functions to add an image to
7037         the HildonButton.
7038
7039 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
7040
7041         * src/hildon-date-button.c
7042         * src/hildon-picker-button.c
7043         * src/hildon-time-button.c
7044         * src/hildon-button.c:
7045         (hildon_button_class_init): "size-flags" renamed to "size"
7046         (hildon_button_set_title): Hide the title label if set to NULL.
7047
7048 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
7049
7050         HildonButtonFlags split into HildonButtonArrangement (to set the
7051         button layout) and HildonSizeType (which can be used for any
7052         widget).
7053
7054         * src/hildon-button.h
7055         * src/hildon-button.c
7056         (hildon_button_class_init)
7057         (hildon_button_set_arrangement)
7058         (hildon_button_set_property): New "size-flags"
7059         property. "arrangement-flags" renamed to "arrangement".
7060         (hildon_button_new, hildon_button_new_with_text)
7061         (hildon_button_new_full): Constructors updated to reflect type changes.
7062
7063         * src/hildon-helper.h
7064         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7065         to set the size of a widget.
7066
7067         * src/Makefile.am
7068         * src/hildon.h
7069         * src/hildon-button-helpers.c
7070         * src/hildon-button-helpers.h: New hildon-button-helpers module.
7071
7072         * src/hildon-date-button.c
7073         * src/hildon-date-button.h
7074         * src/hildon-picker-button.c
7075         * src/hildon-picker-button.h
7076         * src/hildon-time-button.c
7077         * src/hildon-time-button.h: Updated widgets to reflect
7078         HildonButton API changes.
7079
7080         * examples/hildon-button-example.c
7081         * examples/hildon-date-button-example.c
7082         * examples/hildon-picker-button-example.c
7083         * examples/hildon-picker-button-multicolumn-example.c
7084         * examples/hildon-time-button-example.c
7085         * examples/hildon-touch-selector-entry-example.c
7086         * examples/hildon-touch-selector-example.c: Updated examples to
7087         reflect HildonButton API changes.
7088
7089 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
7090
7091         * doc/hildon-docs.sgml:
7092         * doc/hildon.types:
7093         * examples/Makefile.am:
7094         * examples/hildon-touch-selector-entry-example.c:
7095         * src/Makefile.am:
7096         * src/hildon-touch-selector-entry.c:
7097         * src/hildon-touch-selector-entry.h:
7098         * src/hildon.h:
7099
7100         Moved HildonTouchSelectorEntry from sandbox. Added its
7101         documentation and examples.
7102
7103 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
7104
7105         * src/hildon-touch-selector.h:
7106         * examples/hildon-picker-button-multicolumn-example.c:
7107         (hildon_touch_selector_append_text_column): Add a gboolean
7108         parameter to determine if text must be centered in the column.
7109
7110         * src/hildon-date-selector.c: (hildon_date_selector_init):
7111         * src/hildon-time-selector.c: (hildon_time_selector_init):
7112         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7113         (create_touch_selector): Update widgets and example to reflect
7114         the API change.
7115
7116 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
7117
7118         * src/hildon-touch-selector.c:
7119         (hildon_touch_selector_set_active_iter): Set also the cursor in
7120         the active row.
7121
7122 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
7123
7124         * doc/hildon-docs.sgml
7125         * doc/hildon.types
7126         * src/Makefile.am
7127         * src/hildon-toggle-button.c
7128         * src/hildon-toggle-button.h
7129         * src/hildon.h: Removed HildonToggleButton widget, a derived
7130         class is not necessary for this.
7131
7132 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
7133
7134         * src/hildon-pannable-area.c,
7135         (hildon_pannable_area_realize),
7136         (hildon_pannable_area_size_allocate): Code refactoring, add tests
7137         for negative sizes.
7138
7139 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
7140
7141         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7142         "done" button the default widget for the dialog.
7143
7144 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
7145
7146         * src/hildon-touch-selector.c:
7147         (hildon_touch_selector_class_init),
7148         (hildon_touch_selector_get_property),
7149         (_hildon_touch_selector_set_model),
7150         (_hildon_touch_selector_has_multiple_selection),
7151         (hildon_touch_selector_has_multiple_selection):
7152         Add a "has-multiple-selection" property with a virtual
7153         has_multiple_selection() method to allow derived classes to
7154         override the default value for it. See the method and property
7155         documentation for details.
7156
7157         * src/hildon-touch-selector.h: Add the new API.
7158
7159         * src/hildon-picker-dialog.c: (requires_done_button): Call
7160         hildon_touch_selector_has_multiple_selection() instead of
7161         determining the need for a button itself.
7162
7163 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
7164
7165         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7166         (_hildon_touch_selector_set_model),
7167         (hildon_touch_selector_set_model): Move working code to
7168         _hildon_touch_selector_set_mode(). Call the class method instead.
7169
7170         * src/hildon-touch-selector.h: Add (*set_model) to
7171         HildonTouchSelectorClass.
7172
7173         Make hildon_touch_selector_set_model() a virtual method, so that
7174         derived classes can extend it and do fancy stuff with the model.
7175
7176 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
7177
7178         * configure.ac: Set back the tarname in AC_INIT to hildon.
7179
7180 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7181
7182         Release 2.1.3
7183
7184         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7185         instead of libesd (NB#86876). Volume handling is still an open issue.
7186
7187         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7188         cleanups.
7189
7190 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
7191
7192         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7193         (hildon_touch_selector_append_column): Make the widget a GtkVBox
7194         derived class to ease placement of an entry widget in
7195         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7196         end, where the selector columns are packed now.
7197
7198 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
7199
7200         * src/hildon-picker-button.c: Removed the simple _text() API.
7201         * src/hildon-picker-button.h: Likewise.
7202
7203         * src/hildon-touch-selector.h:
7204         * src/hildon-touch-selector.c:
7205         (hildon_touch_selector_new_text),
7206         (hildon_touch_selector_append_text),
7207         (hildon_touch_selector_prepend_text),
7208         (hildon_touch_selector_insert_text):
7209
7210         Moved the simple _text() API from HildonPickerButton to
7211         HildonTouchPicker, to provide better escalability and not to tie
7212         that API to HildonPickerButton.
7213
7214         * examples/hildon-picker-button-example.c: (main): Example updated.
7215
7216 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
7217
7218         * src/hildon-button.c: Updated documentation.
7219
7220         * examples/hildon-button-example.c: Add the posibility to create
7221         the buttons using horizontal layout for title and value.
7222
7223 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
7224
7225         * src/hildon-app-menu-private.h
7226         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7227         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7228         GtkSizeGroup for the filters, use the 'homogeneous' property of
7229         the box instead.
7230
7231 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
7232
7233         * examples/hildon-button-example.c: Updated example.
7234
7235 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
7236
7237         * doc/hildon-docs.sgml:
7238         * doc/hildon.types:
7239
7240         Update documentation.
7241
7242         * examples/Makefile.am: Update renamed examples.
7243
7244         * examples/hildon-picker-button-multicolumn-example.c:
7245         (create_touch_selector), (main): Update after the rename.
7246
7247         * examples/hildon-touch-picker-example.c: Removed.
7248         * examples/hildon-touch-selector-example.c: (value_changed),
7249         (create_selector), (get_visible_content), (main): Renamed from
7250         hildon-touch-picker-example.c
7251
7252         * src/Makefile.am: Updated renamed files.
7253
7254         * src/hildon-date-button.c: (hildon_date_button_init),
7255         (hildon_date_button_get_date), (hildon_date_button_set_date):
7256         * src/hildon-date-selector.c: (hildon_date_selector_init),
7257         (_custom_print_func), (_update_day_model),
7258         (_manage_selector_change_cb),
7259         (hildon_date_selector_select_current_date),
7260         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7261         * src/hildon-date-selector.h:
7262         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7263         (hildon_picker_button_set_property),
7264         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7265         (hildon_picker_button_init), (hildon_picker_button_new_text),
7266         (hildon_picker_button_append_text),
7267         (hildon_picker_button_prepend_text),
7268         (hildon_picker_button_insert_text),
7269         (hildon_picker_button_set_selector),
7270         (hildon_picker_button_get_selector):
7271         * src/hildon-picker-button.h:
7272         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7273         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7274         (_update_title_on_selector_changed_cb), (requires_done_button),
7275         (_hildon_picker_dialog_set_selector),
7276         (hildon_picker_dialog_set_selector),
7277         (hildon_picker_dialog_get_selector):
7278         * src/hildon-picker-dialog.h:
7279         * src/hildon-time-button.c: (hildon_time_button_init),
7280         (hildon_time_button_get_time), (hildon_time_button_set_time):
7281         * src/hildon-time-selector.c: (hildon_time_selector_init),
7282         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7283         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7284         * src/hildon-time-selector.h:
7285         * src/hildon.h:
7286
7287         Massive code updates after the rename.
7288
7289         * src/hildon-touch-picker.c: Removed.
7290         * src/hildon-touch-picker.h: Removed.
7291
7292         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7293         (hildon_touch_selector_init), (hildon_touch_selector_map),
7294         (hildon_touch_selector_remove), (_default_print_func),
7295         (_selection_changed_cb), (_create_new_column),
7296         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7297         (hildon_touch_selector_append_text_column),
7298         (hildon_touch_selector_remove_column),
7299         (hildon_touch_selector_set_column_attributes),
7300         (hildon_touch_selector_insert_column),
7301         (hildon_touch_selector_get_num_columns),
7302         (hildon_touch_selector_get_column_selection_mode),
7303         (hildon_touch_selector_set_column_selection_mode),
7304         (hildon_touch_selector_set_print_func),
7305         (hildon_touch_selector_get_print_func),
7306         (hildon_touch_selector_get_active_iter),
7307         (hildon_touch_selector_set_active_iter),
7308         (hildon_touch_selector_get_selected_rows),
7309         (hildon_touch_selector_get_model),
7310         (hildon_touch_selector_set_model),
7311         (hildon_touch_selector_get_current_text),
7312         (_hildon_touch_selector_center_on_selected_items):
7313         * src/hildon-touch-selector.h: Renamed from
7314         hildon-touch-picker.[ch]
7315
7316         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7317         references, code examples, and related documentation.
7318
7319 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
7320
7321         * doc/hildon-docs.sgml
7322         * doc/hildon.types
7323         * src/Makefile.am
7324         * src/hildon-toggle-button.c
7325         * src/hildon-toggle-button.h
7326         * src/hildon.h: New HildonToggleButton widget.
7327
7328 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
7329
7330         * src/hildon-button.c: Add API documentation.
7331         (hildon_button_set_size_groups): Check input parameters
7332
7333 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
7334
7335         * src/hildon-pannable-area.c
7336         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7337         effect after reaching the movement thredshold. This way we start
7338         using the distance after passing the thredshold.
7339
7340 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7341
7342         * src/hildon-button.c: (hildon_button_set_property): Use the
7343         appropriate g_value_get_flags() method.
7344
7345 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7346
7347         * doc/hildon-docs.sgml:
7348         * doc/hildon.types:
7349
7350          Add the touch pickers, picker dialogs, and picker button widgets
7351         to the documentation.
7352
7353 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7354
7355         * src/hildon-button.c: (hildon_button_set_property),
7356         (hildon_button_class_init): Make "arrangement-flags" a proper
7357         G_TYPE_FLAGS derived property.
7358
7359 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7360
7361         * examples/Makefile.am: Add below examples.
7362         * examples/hildon-date-button-example.c:
7363         * examples/hildon-picker-button-example.c:
7364         * examples/hildon-picker-button-multicolumn-example.c:
7365         * examples/hildon-time-button-example.c:
7366         * examples/hildon-touch-picker-example.c:
7367
7368         Add examples for the recently added touch pickers,
7369         picker dialogs, and picker button widgets.
7370
7371 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7372
7373         * src/hildon-button.c: Add some API documentation
7374
7375 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7376
7377         * src/hildon-button.h
7378         * src/hildon-button.c
7379         (hildon_button_new)
7380         (hildon_button_new_with_text): New constructor to create a button
7381         with no text at all.
7382         (hildon_button_init, hildon_button_set_arrangement)
7383         (hildon_button_set_title, hildon_button_set_value)
7384         (hildon_button_set_text)
7385         (hildon_button_construct_child): Hide the value when it's not used
7386         so the rest of the text is properly aligned.
7387         Allow creating buttons with arbitrary widgets inside (not just
7388         title/value labels).
7389
7390         * examples/hildon-button-example.c (vertical_buttons_window)
7391         (horizontal_buttons_window): Update example to use new API.
7392
7393 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7394
7395         * src/Makefile.am: Added HildonTimeButton.
7396         * src/hildon-time-button.c: Added missing LGPL header.
7397         * src/hildon-time-button.h: Added missing LGPL header.
7398         * src/hildon.h: Add hildon-time-button.h
7399
7400         Copied HildonTimeButton from sandbox to trunk. Future work on this
7401         widget must take place in trunk.
7402
7403 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7404
7405         * src/Makefile.am: Added HildonDateButton.
7406         * src/hildon-date-button.c: Update includes.
7407         * src/hildon.h: Add hildon-date-button.h
7408
7409         Copied HildonDateButton from sandbox to trunk. Future work on this
7410         widget must take place in trunk.
7411
7412 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7413
7414         * src/Makefile.am: Added HildonPickerButton.
7415         * src/hildon-picker-button.h: Update includes.
7416         * src/hildon.h: Add hildon-picker-button.h
7417
7418         Copied HildonPickerButton from sandbox to trunk. Future work on
7419         this widget must take place in trunk.
7420
7421 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7422
7423         * src/Makefile.am: Added HildonPickerDialog.
7424         * src/hildon-picker-dialog.c: Update includes.
7425         * src/hildon.h: Add hildon-picker-dialog.h
7426
7427         Copied HildonPickerDialog from sandbox to trunk. Future work
7428         on this widget must take place in trunk.
7429
7430 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7431
7432         * src/Makefile.am: Added HildonTimeSelector.
7433         * src/hildon.h: Add hildon-time-selector.h
7434
7435         Copied HildonTimeSelector widget from sandbox to trunk. Future
7436         work on this widget must happen in trunk.
7437
7438 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7439
7440         * src/Makefile.am: Added HildonDateSelector.
7441         * src/hildon.h: Add hildon-date-selector.h
7442
7443         Copied HildonDateSelector widget from sandbox to trunk.  Future
7444         work on this widget must happen in trunk.
7445
7446 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7447
7448         * src/Makefile.am: Added HildonTouchPicker.
7449         * src/hildon-touch-picker.c: Update includes.
7450         * src/hildon.h: Add hildon-touch-picker.h
7451
7452         Copied HildonTouchPicker widget from sandbox to trunk. Future work
7453         on this widget must happen in trunk.
7454
7455 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7456
7457         * src/hildon-pannable-area.c:
7458         (hildon_pannable_area_motion_notify_cb): Fix a typo.
7459
7460 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7461
7462         * examples/hildon-app-menu-example.c (main): Let the window
7463         destroy the menu.
7464
7465 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7466
7467         * src/hildon-pannable-area.c
7468         (hildon_pannable_area_class_init): Set the min value of the
7469         overshoot properties to zero, which points out that not
7470         overshooting allowed.
7471
7472 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7473
7474         Modified the procedure to get the widget at a point inside the
7475         pannable area when using the movement type signals. Now the user
7476         has to call a function to get the child, that way we just
7477         calculate the child in case the user really want to use it and not
7478         all the time.
7479
7480         * src/hildon-marshalers.list: Modified the marshallers, now we do
7481         not have the widget as a parameter.
7482
7483         * src/hildon-pannable-area.c
7484         (hildon_pannable_area_motion_notify_cb),
7485         (hildon_pannable_area_class_init),
7486         (hildon_pannable_get_child_widget_at):  Removed the widget
7487         parameter from the signal callback. We have also refactored the
7488         emission of the signals.
7489
7490         * src/hildon-pannable-area.h: Added a new method to the API to
7491         calculate a widget at a point inside the pannable area,
7492         hildon_pannable_get_child_widget_at.
7493
7494         * examples/hildon-pannable-area-example-4.c
7495         (horizontal_movement): Modified the example to use the new API,
7496         added condition to control which widget is under the event. This
7497         way we can avoid scrolling laterally over other widgets.
7498
7499 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7500
7501         * src/hildon-pannable-area.c
7502         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7503         modes, we stop getting the pointer events due to returning the
7504         callback without properly calling the get pointer again. Fixed
7505         also an error using the hscroll and vscroll.
7506
7507 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
7508
7509         * src/hildon-app-menu-private.h
7510         * src/hildon-app-menu.c (hildon_app_menu_button_press)
7511         (hildon_app_menu_button_release, hildon_app_menu_init)
7512         (hildon_app_menu_class_init): Don't hide the menu on button
7513         release if the user didn't press outside first.
7514
7515         * src/hildon-window.h
7516         * src/hildon-window.c (hildon_window_toggle_menu)
7517         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7518         hildon_window_toggle_menu a virtual function for the stackable
7519         window to override it.
7520
7521         * src/hildon-stackable-window.h
7522         * src/hildon-stackable-window-private.h
7523         * src/hildon-stackable-window.c
7524         (hildon_stackable_window_realize)
7525         (hildon_stackable_window_finalize)
7526         (hildon_stackable_window_class_init)
7527         (hildon_stackable_window_init)
7528         (hildon_stackable_window_set_main_menu): New function to set the
7529         app menu of a HildonStackableWindow.
7530
7531         * examples/hildon-app-menu-example.c: Remove the button to show
7532         the app menu, now it'll be shown when clicking on the title bar
7533         instead.
7534
7535 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7536
7537         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7538         set the widget name if the arrangement flags do not specify
7539         a particular size.
7540
7541 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7542
7543         * src/hildon-button.c: (hildon_button_set_property),
7544         (hildon_button_class_init), (hildon_button_new_full),
7545         (hildon_button_set_arrangement): Added "arrangement-flags"
7546         property.
7547
7548         Make the HildonButtonFlags a construction-only property, to allow
7549         subclasses to set them properly.
7550
7551 2008-07-21 Tim Janik  <timj@imendio.com>
7552
7553         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7554         insertion position after backspace, so additional digits are appended,
7555         fixes Bug #85874.
7556
7557 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7558
7559         * src/hildon-pannable-area.c,
7560         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7561         TODO list, it was complete and removed the g_debug and g_print
7562         lines.
7563
7564 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7565
7566         Added the movement modes to the hildon-pannable-area, with this
7567         modes the developers can control in which directions the widget
7568         can scroll. They can also connect to signals in order to do
7569         something when that happens, allowing applications scroll. There
7570         is an example uploaded showing how to use it.
7571
7572         * examples/Makefile.am:
7573         * examples/hildon-pannable-area-example-4.c: Added this example of
7574         an application using the modes.
7575
7576         * src/hildon-marshalers.list: Added a new marshaller for the new
7577         signals.
7578
7579         * src/hildon-pannable-area.h: Added new enumerations and flags in
7580         order to control the movement modes and the new signals to warn
7581         about the movements in the area.
7582
7583         * src/hildon-pannable-area.c:
7584         (hildon_pannable_axis_scroll),
7585         (hildon_pannable_area_scroll),
7586         (hildon_pannable_area_motion_notify_cb),
7587         (hildon_pannable_area_get_property),
7588         (hildon_pannable_area_set_property),
7589         (hildon_pannable_area_map),
7590         (hildon_pannable_area_class_init),
7591         (hildon_pannable_area_init),
7592         (hildon_pannable_area_jump_to): Added the modes to control the
7593         movement in the widget. We have added properties to control it,
7594         signals to warn about the movements and refactored some code.
7595
7596 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
7597
7598         Changes required in order to allow vfast_factor set to zero to
7599         work properly.
7600
7601         * src/hildon-pannable-area.c:
7602         (hildon_pannable_area_button_press_cb): Changed the condition, it
7603         is required for not allowing click when vfast_factor is zero.
7604         (hildon_pannable_area_timeout): Initialized velocity variables
7605         when we stop moving, it was less than 1 but not zero and we need
7606         to check zero in some situations.
7607         (hildon_pannable_area_class_init): Changed the default value of
7608         the speed factor, now the button_press is just sent in case the
7609         speed is 2 per cent of the max speed.
7610         (hildon_pannable_area_init): Initialization with 0.
7611
7612 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
7613
7614         * src/hildon-pannable-area.c,
7615         (hildon_pannable_area_get_topmost): replaced
7616         gdk_window_get_children with gdk_window_peek_children, this way we
7617         do not have to free the list because it is not a copy.
7618
7619         (hildon_pannable_axis_scroll),
7620         (hildon_pannable_area_scroll),
7621         (hildon_pannable_area_timeout),
7622         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7623         two parameters that were only used inside the
7624         hildon_pannable_area_scroll function.
7625
7626         * examples/hildon-pannable-area-example.c,
7627         (get_sawtooth_label): Fixed small memory leak.
7628
7629 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7630
7631         More checks for the case where the overshoot is bigger than the
7632         size of the widget.
7633
7634         * src/hildon-pannable-area.c:
7635         (hildon_pannable_draw_vscroll),
7636         (hildon_pannable_draw_hscroll): with this new calculation we avoid
7637         to draw the slider of the scrollbar under the other scrollbar.
7638         (hildon_pannable_area_expose_event): added new checks to control
7639         the drawing of the overshooting area rectangle, in case it is too
7640         big for the area of the widget.
7641         (hildon_pannable_area_size_allocate): add more checks to avoid
7642         setting a position to the child widget outside the area.
7643
7644 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7645
7646         * src/hildon-pannable-area.c
7647         (hildon_pannable_area_size_allocate): Added conditions to control
7648         when overshooting is bigger than the allocated space for the
7649         children, this avoids negative allocations.
7650
7651 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
7652
7653         * doc/hildon-docs.sgml
7654         * doc/hildon.types
7655         * examples/Makefile.am
7656         * examples/hildon-button-example.c
7657         * src/Makefile.am
7658         * src/hildon-button.c
7659         * src/hildon-button.h
7660         * src/hildon.h: Initial version of the new HildonButton widget,
7661         with examples.
7662
7663 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
7664
7665         * src/hildon-pannable-area.c:
7666         (hildon_pannable_area_button_press_cb),
7667         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7668         (hildon_pannable_area_motion_notify_cb),
7669         (hildon_pannable_area_button_release_cb),
7670         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7671         (hildon_pannable_area_jump_to_child):
7672
7673         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7674
7675 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
7676
7677         * examples/Makefile.am
7678         * examples/hildon-pannable-area-touch-grid-example.c
7679         * examples/hildon-pannable-area-touch-list-example.c: Examples of
7680         the Hildon Touch List and Hildon Touch Grid using the
7681         HildonPannableArea widget.
7682
7683 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7684
7685         * src/hildon-pannable-area.c,
7686         (hildon_pannable_area_button_press_cb),
7687         (hildon_pannable_area_refresh),
7688         (hildon_pannable_area_scroll),
7689         (hildon_pannable_area_motion_notify_cb),
7690         (hildon_pannable_area_button_release_cb),
7691         (hildon_pannable_area_expose_event),
7692         (hildon_pannable_area_add),
7693         (hildon_pannable_area_remove),
7694         (hildon_pannable_area_realize),
7695         (hildon_pannable_area_size_allocate),
7696         (hildon_pannable_area_class_init),
7697         (hildon_pannable_area_init),
7698         (hildon_pannable_area_scroll_to_child),
7699         (hildon_pannable_area_jump_to_child): Fixed the problem of
7700         removing the child from the GtkBin, we have rearranged the widget
7701         hierarchy, now there is no GtkAlignment which was not doing
7702         anything interesting but breaking some of the assumptions of
7703         GtkContainer. Now developers if they want to add a GtkAlignment
7704         they could, but it is not inside the area.
7705
7706         We had to review the whole allocation/expose process, now it is
7707         improved and we save at least three signals which would be saving
7708         some time when rendering the widget. The allocation of the
7709         scrollbars is now made in the allocate method as usual.
7710
7711         We have also added some conditions in order to control when there
7712         is no child of the pannable area. Maybe we will need more work
7713         here.
7714
7715 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7716
7717         * src/hildon-pannable-area.c,
7718         (hildon_pannable_area_dispose): Released the fade-out timeout when
7719         disposing the widget.
7720
7721 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7722
7723         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7724         zero, we are going to use that property in order to deactivate the
7725         overshooting
7726         (hildon_pannable_axis_scroll),
7727         (hildon_pannable_area_size_allocate): Added conditions to control
7728         when overshoot_max is zero. Moved the gtk_adjustment_set_value
7729         call, now it is called in all situations and we can remove calls
7730         in the allocate method.
7731         (hildon_pannable_area_map): Control the situation when
7732         overshoot_max is zero, we do not need the timeout.
7733         (hildon_pannable_area_class_init): Added documentation in order to
7734         point out that setting zero to overshoot_max means deactivate
7735         overshooting.
7736
7737         NOTE: removed trailing whitespaces from my previous comments of
7738         the Changelog.
7739
7740 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7741
7742         * src/hildon-pannable-area.c
7743         (hildon_pannable_area_get_property),
7744         (hildon_pannable_area_set_property),
7745         (hildon_pannable_area_map),
7746         (hildon_pannable_area_class_init),
7747         (hildon_pannable_area_init): Add a boolean "initial-hint" property
7748         to cause the widget give a hint about its panning abilities upon
7749         realization.
7750
7751 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7752
7753         * src/hildon-pannable-area.c: Several documentation improvements.
7754
7755 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7756
7757         * src/hildon-program.c
7758         * src/hildon-stackable-window.c: Update documentation.
7759
7760 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7761
7762         * src/hildon-stackable-window.c (get_previous_window_if_last):
7763         Renamed get_last_window()
7764         (hildon_stackable_window_map, hildon_stackable_window_unmap)
7765         (hildon_stackable_window_unset_program):
7766         Simplified code.
7767         (get_previous_window_if_last):
7768         Detect if the window hasn't been added to a HildonProgram.
7769
7770 2008-06-26  Alejandro G. Castro <alex@igalia.com>
7771
7772         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7773
7774         * src/hildon-pannable-area.c
7775         (hildon_pannable_area_button_press_cb),
7776         (hildon_pannable_axis_scroll),
7777         (hildon_pannable_area_scroll),
7778         (hildon_pannable_area_timeout),
7779         (hildon_pannable_calculate_vel_factor),
7780         (hildon_pannable_area_get_property),
7781         (hildon_pannable_area_set_property),
7782         (hildon_pannable_area_class_init),
7783         (hildon_pannable_area_init),
7784         (hildon_pannable_area_scroll_to),
7785         (hildon_pannable_area_jump_to),
7786         (hildon_pannable_area_scroll_to_child),
7787         (hildon_pannable_area_jump_to_child):
7788         * src/hildon-pannable-area.h: Added the new API functions:
7789         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7790         hildon_pannable_area_scroll_to_child,
7791         hildon_pannable_area_jump_to_child
7792
7793
7794         * examples/Makefile.am
7795         * examples/hildon-pannable-area-example-2.c
7796         * examples/hildon-pannable-area-example-3.c: Added these two new
7797         examples in order to test and show how the new APIs work.
7798
7799 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
7800
7801         * examples/hildon-stackable-window-example.c (new_window):
7802         * src/Makefile.am (noinst_HEADERS):
7803         * src/hildon-program.c (hildon_program_go_to_root_window):
7804         * src/hildon-program.h:
7805         * src/hildon-stackable-window-private.h:
7806         * src/hildon-stackable-window.c:
7807         * src/hildon-stackable-window.h:
7808         Create hildon-stackable-window-private.h
7809         Move hildon_stackable_window_go_to_root_window() to HildonProgram
7810
7811         * examples/hildon-app-menu-example.c (create_menu):
7812         * examples/hildon-hvolumebar-insensitive-example.c (main):
7813         * examples/hildon-hvolumebar-timer-example.c (on_idle):
7814         * examples/hildon-toolbar-seekbar-example.c (main):
7815         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7816         * src/hildon-banner.c (hildon_banner_set_property):
7817         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7818         Fix compilation warnings
7819
7820         * src/hildon-window.c:
7821         Fix typo in doc
7822
7823 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
7824
7825         * src/hildon-stackable-window.c
7826         (hildon_stackable_window_unset_program):
7827         Calculate correctly whether to show the previous window if the
7828         last one is removed from the stack.
7829         (hildon_stackable_window_go_to_root_window):
7830         Send delete events starting from the topmost window.
7831         Stop if one of the windows is not destroyed.
7832         Update doc.
7833         (hildon_stackable_window_delete_event)
7834         (hildon_stackable_window_class_init):
7835         Ignore the delete event if the window is not the topmost one.
7836
7837 2008-06-24  Alejandro G. Castro <alex@igalia.com>
7838
7839         * src/hildon-pannable-area.c
7840         (hildon_pannable_area_expose_event): Fixed a problem when
7841         selecting the background color of the scrollbars.
7842
7843 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
7844
7845         * examples/hildon-stackable-window-example.c
7846         * src/hildon-stackable-window.c
7847         * src/hildon-stackable-window.h
7848         hildon_stackable_window_go_home() renamed to
7849         hildon_stackable_window_go_to_root_window()
7850         Send delete events to windows rather than closing them with
7851         gtk_widget_destroy()
7852
7853 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7854
7855         * src/hildon-pannable-area.c
7856         (hildon_pannable_area_button_release_cb): Fix overshooting in
7857         accel mode.
7858
7859 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
7860
7861         * src/hildon-pannable-area.c
7862         (hildon_pannable_area_init): Initially show the scroll indicators.
7863         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7864
7865         Add initial effect showing the widget is pannable.
7866
7867 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7868
7869         * src/hildon-pannable-area.c
7870         (hildon_pannable_area_class_init)
7871         (hildon_pannable_area_set_property)
7872         (hildon_pannable_area_get_property)
7873         (hildon_pannable_area_button_press_cb):
7874         New 'velocity_fast_factor' property to decide which velocity is
7875         considered fast.
7876
7877 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
7878
7879         * src/hildon-pannable-area.c
7880         (hildon_pannable_draw_hscroll)
7881         (hildon_pannable_draw_vscroll):
7882         Use float variables to calculate the size of the scrollbars to
7883         avoid error propagation and resizing during scrolling.
7884
7885 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7886
7887         * src/hildon-pannable-area.c
7888         (hildon_pannable_draw_vscroll)
7889         (hildon_pannable_draw_hscroll):
7890         Define a minimum size for the scroll bars
7891
7892         * src/hildon-stackable-window.c
7893         (hildon_stackable_window_go_home): Fix compilation warning
7894         (get_last_window): Minor optimizations
7895         (hildon_stackable_window_class_init): Fix initialization of
7896         private structure.
7897
7898 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
7899
7900         * src/hildon-stackable-window.c: Fixed typos in doc
7901
7902 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
7903
7904         * src/hildon-pannable-area.c
7905         (hildon_pannable_area_scroll):
7906         Calculate here whether we need to scroll instead of using the booleans
7907         that tell us whether to /draw/ the scrolling bars.
7908
7909 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
7910
7911         * src/hildon-app-menu.h
7912         Update API.
7913         * src/hildon-app-menu.c
7914         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7915         multiple filter groups related code and API. Now we support only
7916         one filter group.
7917         * examples/hildon-app-menu-example.c:
7918         (create_menu):
7919         Update to reflect API changes.
7920
7921 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
7922
7923         * src/hildon-stackable-window.c
7924         (hildon_stackable_window_class_init):
7925         Add hildon_stackable_window_realize.
7926         (hildon_stackable_window_realize):
7927         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7928         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7929         to apply theming and behavior specific to HildonStackableWindow
7930         windows.
7931
7932 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7933
7934         * src/hildon-note.c (hildon_note_button_release):
7935         Close information notes also when tapping on them
7936
7937 2008-06-12  Alejandro G. Castro <alex@igalia.com>
7938
7939         Added BOUNCE_STEPS define to control the overshoot effect. Removed
7940         ELASTICITY, refactor and review, fix some issues with drawing
7941         scrollbars.
7942
7943         * src/hildon-pannable-area.c:
7944         (hildon_pannable_area_button_press_cb): removed the conditions to
7945         avoid clicks when overshooting. It is not required
7946
7947         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7948         define. Refatored and reviewed the code, now we do not need to
7949         manage velocity in motion_notify.
7950
7951         (hildon_pannable_area_motion_notify_cb): We have moved the code
7952         that controls the area_scroll to the axis_scroll function and get
7953         rid of duplicated code.
7954
7955         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7956
7957         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7958
7959         (hildon_pannable_draw_vscroll),
7960         (hildon_pannable_draw_hscroll): Fixed the problems with the
7961         scrollbar drawing, now we do not use two surfaces, it is easier
7962         and saves resources.
7963
7964         (hildon_pannable_area_get_property): Style modification.
7965
7966         (hildon_pannable_area_class_init): Changed some default values.
7967
7968 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
7969
7970         * src/hildon-stackable-window.c: Fix some typos in the
7971         documentation.
7972
7973 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7974
7975         * src/hildon-dialog.c:
7976         Change indentation style
7977
7978         * src/hildon-note.c
7979         (hildon_note_button_release):
7980         Use root coordinates to check if the release event happened
7981         outside the widget.
7982
7983         * src/hildon-app-menu.c
7984         (hildon_app_menu_button_release):
7985         Remove unnecessary check
7986
7987         * examples/hildon-app-menu-example.c
7988         (button_clicked):
7989         Add cast to fix warning
7990
7991         * src/hildon-app-menu.c
7992         (hildon_app_menu_class_init):
7993         New inner-border style property.
7994         Set all default spacings to 16
7995         (hildon_app_menu_init):
7996         Use vertical-spacing to set the space between filter buttons and
7997         regular menu buttons.
7998         Set the default container border using the inner-border value.
7999
8000         * examples/hildon-app-menu-example.c
8001         (create_menu):
8002         Don't set the menu border explicitly, now we have the inner-border
8003         style property for that.
8004
8005 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
8006
8007         * src/hildon-app-menu.c (hildon_app_menu_init):
8008         Make the window modal
8009
8010         * src/hildon-note.c (hildon_note_map)
8011         * src/hildon-app-menu.c (hildon_app_menu_map):
8012         Destroy the grab window if we're unable to grab the pointer
8013
8014         * src/hildon-app-menu-private.h
8015         * src/hildon-app-menu.c
8016         (hildon_app_menu_init, hildon_app_menu_finalize)
8017         (hildon_app_menu_map, hildon_app_menu_unmap)
8018         (hildon_app_menu_button_release)
8019         (grab_transfer_window_get):
8020         Bring back the grab window
8021         (hildon_app_menu_realize):
8022         Decorate the window, set WM hint for Matchbox
8023
8024         * src/hildon-note.c (hildon_note_realize):
8025         * src/hildon-banner.c (hildon_banner_realize):
8026         Add WM hints for Matchbox
8027
8028 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
8029
8030         * src/hildon-app-menu-private.h
8031         * src/hildon-app-menu.c
8032         (hildon_app_menu_init, hildon_app_menu_finalize)
8033         (hildon_app_menu_map, hildon_app_menu_unmap)
8034         (hildon_app_menu_button_release):
8035         Remove the grab window, it's not needed anymore
8036
8037         * src/hildon-program.c
8038         Fixed typo in documentation
8039
8040         * src/hildon-app-menu.h
8041         * src/hildon-app-menu.c
8042         * examples/hildon-app-menu-example.c
8043         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8044
8045 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
8046
8047         * src/hildon-note.c
8048         Added new transfer_window and close_if_pressed_outside private
8049         attributes.
8050         (hildon_note_rebuild):
8051         Don't add a cancel button to the information note. It will be
8052         closed when tapping outside
8053         Remove the comment about the OK button in the documentation
8054         (hildon_note_realize):
8055         Set the notification type hint
8056         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8057         Grab/ungrab pointer and keyboard if the note has to be closed when
8058         tapping outside
8059         (hildon_note_button_release):
8060         Close the note when tapping outside (if applicable)
8061
8062         * src/hildon-app-menu.c
8063         Grab/ungrab pointer and keyboard on map/unmap
8064         (hildon_app_menu_button_release, hildon_app_menu_class_init):
8065         Close the menu on button release, not button press
8066
8067         * src/hildon-banner.c
8068         (hildon_banner_set_property)
8069         (hildon_banner_check_position):
8070         Make the banner use the full width of the screen
8071         (hildon_banner_show_information)
8072         (hildon_banner_show_information_with_markup):
8073         Don't display an icon by default
8074
8075 2008-06-09  Alejandro G. Castro <alex@igalia.com>
8076
8077         Added fading scrollbars and adapted all the overshooting code to
8078         horizontal scrolling. We have also fixed bugs with overshooting
8079         and current fading implementation.
8080
8081         * src/hildon-pannable-area.c
8082         (hildon_pannable_area_scroll_indicator_fade): Time out function
8083         used to change the transparency of the scrollbars.
8084
8085         (hildon_pannable_area_button_press_cb): Added horizontal overshot
8086         control and fixed a problem with fading, we now remove the fade
8087         timeout before adding a new one.
8088
8089         (hildon_pannable_axis_scroll):
8090         (hildon_pannable_area_scroll):
8091         (hildon_pannable_area_timeout): Added this functions so we can use
8092         the scroll code both for vertical and horizontal.
8093
8094         (hildon_pannable_area_motion_notify_cb):
8095         (hildon_pannable_area_button_release_cb): Added the horizontal
8096         scrolling control, fixed a problem with the overshooting timeout.
8097
8098         (rgb_from_gdkcolor): Added this function, it is used in the cairo
8099         painting of the scrolls.
8100
8101         (hildon_pannable_draw_vscroll):
8102         (hildon_pannable_draw_hscroll):
8103         (hildon_pannable_area_expose_event):
8104         Draw both scrollbars and rectangles in the overshooting area.
8105
8106         (hildon_pannable_area_get_property):
8107         (hildon_pannable_area_set_property):
8108         Modified the overshoot property to overshoot_max
8109
8110         (hildon_pannable_area_map):
8111         Replaced the comments symbols.
8112
8113         (hildon_pannable_area_size_allocate):
8114         (hildon_pannable_area_class_init):
8115         (hildon_pannable_area_init): Added horizontal scroll, fading
8116         effect properties, fixed a problem when overshooting in the bottom
8117         of the widget.
8118
8119         * examples/hildon-pannable-area-example.c:
8120         (get_sawtooth_label): Now we use smaller sawtooths, the effect
8121         looks better in the example.
8122
8123 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
8124
8125         * src/hildon-window.c
8126         * src/hildon-window.h
8127         (hildon_window_class_init)
8128         (hildon_window_unset_program)
8129         (hildon_window_unset_program_real):
8130         Make unset_program a virtual function
8131
8132         * src/hildon-stackable-window.c
8133         * src/hildon-stackable-window.h
8134         Added hildon_stackable_window_go_home()
8135
8136         * examples/Makefile.am
8137         * examples/hildon-stackable-window-example.c
8138         HildonStackableWindow example
8139
8140 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8141
8142         * hildon-pannable-area.c: Added the overshoot property and removed
8143         the OVERSHOOT define. Fixed an indent style error.
8144         (hildon_pannable_area_motion_notify_cb):
8145         (hildon_pannable_area_get_property):
8146         (hildon_pannable_area_set_property): Add overshoot property.
8147
8148         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8149         overshoot property.
8150
8151         (hildon_pannable_area_class_init): Installed the new property.
8152
8153         * hildon-pannable-area-example.c: Added a sawtooth function, this
8154         way it is easier to check the movement in the pannable.
8155         (get_sawtooth_label): Added this function.
8156         (main): Now we get the labels from the new get_sawtooth_label
8157         function.
8158
8159 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
8160
8161         * src/hildon-app-menu.h
8162         * src/hildon-app-menu.c
8163         Renamed API variables for consistency
8164
8165         (hildon_app_menu_popup): Use also the default window size to
8166         decide where to place the menu
8167
8168         (hildon_app_menu_init, hildon_app_menu_class_init): New
8169         external-border style property
8170
8171 2008-05-26  Michael Natterer  <mitch@imendio.com>
8172
8173         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8174         widget_class->tap_and_hold_setup signal slot doesn't exist any
8175         longer, stop overriding it.
8176
8177         (hildon_time_editor_init): g_signal_connect() to the
8178         tap-and-hold-setup signal instead.
8179
8180         (hildon_time_editor_entry_keypress): add cast to fix warning.
8181
8182 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
8183
8184         * doc/hildon-docs.sgml
8185         * doc/hildon.types
8186         * examples/Makefile.am
8187         * examples/hildon-app-menu-example.c
8188         * src/Makefile.am
8189         * src/hildon-app-menu-private.h
8190         * src/hildon-app-menu.c
8191         * src/hildon-app-menu.h
8192         * src/hildon.h
8193         New HildonAppMenu widget
8194
8195 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8196
8197         Rearranged the inheritance of the pannable area, now it inherits
8198         from GtkBin. This will allow us to control the event_window and
8199         the allocation process of the widget, required for some effects.
8200
8201         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8202         GtkBin structures.  * src/hildon-pannable-area.c: Added the
8203         event_window variable.
8204         (hildon_pannable_area_button_press_cb):
8205         (hildon_pannable_area_button_release_cb):
8206         (hildon_pannable_area_motion_notify_cb):
8207         Changed the signature of the method, now we override the event
8208         callback instead of connecting to the signal.
8209
8210         (hildon_pannable_area_realize):
8211         (hildon_pannable_area_unrealize):
8212         (hildon_pannable_area_map):
8213         (hildon_pannable_area_unmap):
8214         (hildon_pannable_area_size_allocate):
8215         Added functions to control the widget construction. We add a
8216         INPUT_ONLY window and we put it over the widgets inside the
8217         container, this event_window handles the events.
8218
8219         (hildon_pannable_area_class_init):
8220         Replaced the signal connections with overrides of the event
8221         callbacks.
8222
8223 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8224
8225         Bouncing effect added when touching the borders, you can change
8226         the elasticity of the border changing the ELASTICITY define.
8227
8228         * src/hildon-pannable-area.c: Added ELASTICITY define.
8229         (hildon_pannable_area_timeout): Added inverse velocity when
8230         touching the border of the child widget, that causes a bounce.
8231
8232 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8233
8234         Improved performance, we now do not go to the X server in order to
8235         get the list of window children. Apparently the effect is the
8236         same, we have to be careful and check if this breaks something in
8237         any corner case.
8238
8239         * src/hildon-pannable-area.c:
8240         (get_ordered_children): Removed this function.
8241         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8242         the children windows function with gdk_window_get_children.
8243
8244 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8245
8246         * src/hildon-pannable-area.c:
8247         (hildon_pannable_area_dispose): Fixed a crash when closing the
8248         window and kinetics is activated.
8249
8250 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
8251
8252         * src/hildon-pannable-area.h
8253         * src/hildon-pannable-area.c
8254         Changed indentation style to meet the one used in Hildon
8255
8256 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8257
8258         Reviewed the interaction of the AUTO mode, now we use the time
8259         attribute of the events and calculate the velocity in the motion,
8260         doing a gimp like calculation. The velocity is calculated in each
8261         motion event using the last velocity and the current one, the
8262         SMOOTH_FACTOR controls the percentage of the new velocity we use.
8263
8264         * src/hildon-pannable-area.c: Replaced the time based algorithm
8265         for the AUTO mode.
8266         (hildon_pannable_area_motion_notify_cb): now we do not launch the
8267         timeout for the AUTO mode when we are still moving the cursor. We
8268         added also the velocity calculation in this function.
8269         (hildon_pannable_area_button_release_cb): launch the timeout in
8270         case we are in AUTO mode. There are still some constants here that
8271         come from the old implementation that should be reviewed and
8272         handled properly.
8273
8274 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
8275
8276         * doc/hildon-docs.sgml
8277         * doc/hildon.types
8278         * src/Makefile.am
8279         * src/hildon-stackable-window.c
8280         * src/hildon-stackable-window.h
8281         * src/hildon.h
8282         New HildonStackableWindow widget
8283
8284         * examples/hildon-dialog-example.c
8285         * examples/hildon-pannable-area-example.c
8286         Updated copyright
8287
8288 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
8289
8290         * src/hildon-dialog.c
8291         (hildon_dialog_new_with_buttons): New constructor.
8292
8293         * examples/hildon-dialog-example.c
8294         (main): Update the example to use the new
8295         hildon_dialog_new_with_buttons().
8296
8297         * examples/hildon-pannable-area-example.c
8298         (main): Update example.
8299
8300 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8301
8302         * doc/hildon-docs.sgml
8303         * doc/hildon.types
8304         Added HildonPannableArea to the documentation.
8305
8306 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8307
8308         * doc/visual_index.xml
8309         Fix reference to HildonLoginDialog in documentation
8310
8311         * doc/hildon-docs.sgml
8312         * doc/hildon.types
8313         * examples/Makefile.am
8314         * examples/hildon-dialog-example.c
8315         * src/Makefile.am
8316         * src/hildon-dialog.c
8317         * src/hildon-dialog.h
8318         * src/hildon.h
8319         New HildonDialog widget.
8320
8321 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8322
8323         * src/hildon-pannable-area.c
8324         Merge latest changes (r4318, r4342) from libmokoui trunk
8325
8326 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8327
8328         * examples/Makefile.am
8329         * examples/hildon-pannable-area-example.c
8330         * src/Makefile.am
8331         * src/hildon-pannable-area.c
8332         * src/hildon-pannable-area.h
8333         * src/hildon.h
8334         New HildonPannableArea widget.
8335
8336 2008-04-15 18:05:19    <timj@imendio.com>
8337
8338         * src/hildon-banner.c: revert the recent change, that introduced
8339         gtk_window_present() calls. this reopens:
8340           Bug 78481 - [freetest] information banners are hidden under browser menu
8341         But resolves another variant of:
8342           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8343
8344 2008-04-15 13:21:13    <timj@imendio.com>
8345
8346         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8347         recreated its layout, spotted by Kris. this fixes all remaining
8348         artefacts and stability issues with the banner code. in particular:
8349         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8350
8351 2008-04-14 16:52:59    <timj@imendio.com>
8352
8353         * src/hildon-banner.c: guard force_to_wrap_truncated() against
8354         operating on unrealized widgets, fixes:
8355         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8356
8357         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8358
8359 2008-04-09  Kristian Rietveld  <kris@imendio.com>
8360
8361         Fixes: NB#77775: Media Player, Save Now playing list, too long name
8362         makes banner disappear.
8363         Fixes: NB#79182: info banner flickering with certain message lengts.
8364
8365         * src/hildon-banner.c (hildon_banner_constructor),
8366         (hildon_banner_init), (hildon_banner_set_text),
8367         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8368         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8369         FALSE, reset size requests of label and banner,
8370         (force_to_wrap_truncated): when the text is too wide, always enforce
8371         the maximum possible width instead of recalculating it from the
8372         layout; enforce the maximum banner height of 3 lines,
8373         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8374         nicer wrapping and no truncated chars if space gets tight.
8375
8376         * src/hildon-banner-private.h: add has_been_wrapped and
8377         has_been_truncated fields.
8378
8379 2008-04-07  Sven Herzberg  <sven@imendio.com>
8380
8381         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8382         local values in hildon_date_editor_size_allocate
8383
8384         * src/hildon-date-editor.c: moved the real allocation code into the
8385         if() branch
8386
8387 2008-04-07  Sven Herzberg  <sven@imendio.com>
8388
8389         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8390         local values in hildon_date_editor_size_allocate
8391
8392         * src/hildon-date-editor.c: merged the two if() branches together
8393
8394 2008-04-07  Sven Herzberg  <sven@imendio.com>
8395
8396         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8397         local values in hildon_date_editor_size_allocate
8398
8399         * src/hildon-date-editor.c: changed the arguments of the if()
8400         conditions
8401
8402 2008-04-07  Sven Herzberg  <sven@imendio.com>
8403
8404         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8405         local values in hildon_date_editor_size_allocate
8406
8407         * src/hildon-date-editor.c: split the calculation of the allocation
8408         from the real allocation
8409
8410 2008-03-27  Michael Natterer  <mitch@imendio.com>
8411
8412         Fixes: NB#81696: The passcode is not overwritten even after
8413         selecting
8414
8415         * src/hildon-code-dialog.c
8416         (hildon_code_dialog_button_clicked)
8417         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8418         because that doesn't overwrite selected text. Instead, emit the
8419         "commit" signal on the entry's im_context so the entry's normal
8420         insert logic is triggered. Set the cursor to the end of the entry
8421         after each insert operation so that we *only* insert in the middle
8422         of the text if something was selected.
8423
8424 2008-03-27  Michael Natterer  <mitch@imendio.com>
8425
8426         Enable fixing: NB#79916 and NB#79918: The help topic for Color
8427         selector cannot be opened
8428
8429         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8430         when the popup color selector is created. Please connect to this
8431         signal in order to set the dialog's help ID.
8432
8433 2008-03-25  Sven Herzberg  <sven@imendio.com>
8434
8435         Fixes: MB#1212: Hide info banners (infoprints) on click
8436
8437         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8438         extracted the close event simulation into an extra function
8439         (hildon_banner_button_press_event): simulate a close event and destroy
8440         the widget if the event wasn't handled
8441         (hildon_banner_class_init): added the button_press_event handler
8442         (hildon_banner_init): added button-press events to the widget
8443
8444 2008-03-25  Sven Herzberg  <sven@imendio.com>
8445
8446         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8447         Patch from: Mohammad Anwari  <mdamt@maemo.org>
8448
8449         * src/hildon-banner.c: let the HildonBanners pop up on the left side
8450         instead of the right in RTL mode
8451         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8452         breadcrumb button list in RTL mode
8453         * src/hildon-caption.c: mirror the appearance of the caption widget in
8454         RTL mode
8455         * src/hildon-date-editor.c: mirror appearance of the date editor in
8456         RTL mode
8457         * src/hildon-time-editor.c: mirror appearance of the time editor in
8458         RTL mode
8459         * src/hildon-window.c: fix the position of the popup in RTL mode
8460
8461 2008-03-25  Sven Herzberg  <sven@imendio.com>
8462
8463         Amendment to the fix of NB#22072. Fix compilation.
8464
8465         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8466
8467 2008-03-19  Sven Herzberg  <sven@imendio.com>
8468
8469         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8470         in Info Banner" bug
8471
8472         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8473         timeout id properly when the timeout will disappear this leaves no
8474         artifacts around in the destroy(); there will only be the timeout
8475         created by hildon_banner_ensure_timeout() and adding a new timeout
8476         will also work if the timeout gets removed because the timeout_handler
8477         returned FALSE
8478
8479 2008-03-19  Michael Natterer  <mitch@imendio.com>
8480
8481         Fixes: NB#79791: Cannot set focus to Master volume using stylus
8482
8483         * src/hildon-volumebar.c
8484         * src/hildon-vvolumebar.c
8485         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8486         the widget becomes focussable at all.
8487
8488         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8489         set the focus to wither the mute button or the volumebar.
8490
8491         Remove own "can-focus" property and instead listen to
8492         notify::can-focus in order to update the widget's state.
8493
8494         Implement GtkWidget::focus() and make sure we can also *leave* the
8495         widget, not only enter it, depending on volumebar orientation and
8496         requested focus direction.
8497
8498         Clean up set_mute() to cooperate nicely with all the above.
8499
8500 2008-03-04  Michael Natterer  <mitch@imendio.com>
8501
8502         Fixes: NB#78481: information banners are hidden under browser menu
8503
8504         * src/hildon-banner.c: call gtk_window_present() on the banners so
8505         they are risen if they are already visible.
8506
8507 2008-03-03  Sven Herzberg  <sven@imendio.com>
8508
8509         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8510
8511         * examples/hildon-window-menu-example.c: (main): extended the window
8512         menu example to serve as a testcase for automatically added
8513         accelerator groups, too
8514         * src/hildon-window.c: (hildon_window_add_accel_group),
8515         (hildon_window_set_menu): added patch by Tommi Komulainen
8516
8517 2008-03-03  Sven Herzberg  <sven@imendio.com>
8518
8519         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8520
8521         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8522         knowledge about the border allocators used within GTK+
8523
8524 2008-02-26  Sven Herzberg  <sven@imendio.com>
8525
8526         Fixes: MB#2981: Build with asserts broken
8527
8528         * src/hildon-date-editor.c,
8529         * src/hildon-number-editor.c,
8530         * src/hildon-time-editor.c,
8531         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8532         the proper GType instance check
8533
8534 2008-02-25  Sven Herzberg  <sven@imendio.com>
8535
8536         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8537
8538         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8539         * examples/hildon-window-menu-example.c: (main): explicitly show
8540         the menu item
8541         * src/hildon-window.c:
8542         (hildon_window_set_main_menu): moved most of the code from set_menu()
8543         to this place; skipped the call to gtk_widget_show_all(); also didn't
8544         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8545         (hildon_window_set_menu): removed most of the code, just keep the
8546         questionable gtk_widget_show_all()
8547         * src/hildon-window.h: added the new function and deprecate the old
8548         one
8549
8550 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8551
8552         [2.0.1-1 release]
8553
8554         * NEWS:
8555         * configure.ac:
8556         * debian/changelog: Updating.
8557
8558 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8559
8560         * configure.ac:
8561         * pkgconfig/Makefile.am:
8562         * pkgconfig/hildon.pc.in:
8563         * src/Makefile.am:
8564
8565         Do not use PACKAGE_VERSION_MAJOR as the API revision,
8566         use newly created API_MAJOR_VERSION.
8567
8568 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8569
8570         [2.0.0-1 release]
8571
8572         * NEWS:
8573         * configure.ac:
8574         * debian/changelog: Updating.
8575
8576 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8577
8578         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8579
8580         Add outer_border style property, we use it but don't define it (!).
8581
8582         Fixes NB#75310
8583
8584 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
8585
8586         * examples/hildon-bread-crumb-trail-example.c (main):
8587
8588         Add clear button.
8589
8590         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8591
8592         Fix logic for the bread crumb trail node removal.
8593
8594         Fixes: NB#78616
8595
8596 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8597
8598         [1.99.1-1 release]
8599
8600         * NEWS:
8601         * configure.ac:
8602         * debian/changelog: Updating.
8603
8604 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8605
8606         Patch by Alejandro to get/set passwords dialogs accesibility.
8607
8608         * hildon-1/src/hildon-get-password-dialog.c:
8609         * hildon-1/src/hildon-set-password-dialog.c:
8610         Set atk_set_name to the passwd entries in order to allow
8611         accessibility by name on this entries.
8612
8613 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8614
8615         [1.99.0-2 release]
8616
8617         * debian/changelog:
8618         * debian/control: Updating gtk dep.
8619
8620 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
8621
8622         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8623         USE_MAEMO_GTK is enabled.
8624
8625 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
8626
8627         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8628         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8629
8630 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8631
8632         [1.99.0-1 release]
8633
8634         * NEWS:
8635         * configure.ac:
8636         * debian/changelog: Updating.
8637
8638 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8639
8640         * examples/Makefile.am:
8641         * examples/hildon-logical-color-example.c:
8642         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8643         applied + adding a test case. Fixes: NB#71660.
8644
8645 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
8646
8647         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8648         to be visible, fixes warning on map for windows without toolbars.
8649
8650 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
8651
8652         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8653         2.11.0, add a check for that besides the MAEMO_GTK check.
8654
8655 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8656
8657         [1.0.17-1 release]
8658
8659         * NEWS:
8660         * configure.ac:
8661         * debian/changelog: Updating.
8662
8663 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8664
8665         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8666         visibility. Fixes: NB#70842 and MB#615.
8667
8668 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8669
8670         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8671         set the separator as no-show-all so it doesn't unintentionally appear when
8672         someone does a show_all.
8673
8674 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8675
8676         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8677         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8678         toplevel item. Fixes: NB#62031
8679
8680 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
8681
8682         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8683         fix the name of the function in the docs.
8684
8685 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8686
8687         [1.0.16-1 release]
8688
8689         * NEWS:
8690         * configure.ac:
8691         * debian/changelog: Updating.
8692
8693 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8694
8695         * examples/hildon-banner-long-example.c: Adding a test-case for long
8696         hildon banner.
8697
8698         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8699
8700 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8701
8702         * src/hildon-color-chooser-dialog.c:
8703         * src/hildon-color-chooser.c:
8704         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8705         memory leaks in font selector and color selector. Fixes: NB#70499 and
8706         NB#70474.
8707
8708 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
8709
8710         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8711
8712 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8713
8714         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8715         little bit bigger. Fixes: #NB63694.
8716
8717 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8718
8719         [1.0.15-1 release]
8720
8721         * NEWS:
8722         * configure.ac:
8723         * debian/changelog: Updating.
8724
8725 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8726
8727         * doc/Makefile.am:
8728         * doc/hildon-docs.sgml:
8729         * doc/images/bread-crumb-trail.png:
8730         * doc/images/calendar-popup.png:
8731         * doc/images/caption.png:
8732         * doc/images/code-dialog.png:
8733         * doc/images/color-button.png:
8734         * doc/images/color-chooser-dialog.png:
8735         * doc/images/color-chooser.png:
8736         * doc/images/controlbar.png:
8737         * doc/images/date-editor.png:
8738         * doc/images/font-selection-dialog.png:
8739         * doc/images/get-password-dialog.png:
8740         * doc/images/hvolumebar.png:
8741         * doc/images/login-dialog.png:
8742         * doc/images/note.png:
8743         * doc/images/number-editor.png:
8744         * doc/images/range-editor.png:
8745         * doc/images/seekbar.png:
8746         * doc/images/set-password-dialog.png:
8747         * doc/images/sort-dialog.png:
8748         * doc/images/time-editor.png:
8749         * doc/images/time-picker.png:
8750         * doc/images/vvolumebar.png:
8751         * doc/images/weekday-picker.png: Adding the new generated widget shots.
8752         Adding the bread-crumb-trial and helpers to the documentation.
8753
8754 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8755
8756         * examples/hildon-find-toolbar-example.c:
8757         * src/hildon-find-toolbar.c:
8758         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8759         actually continue firing the other handlers if connected. Adding a new
8760         function:
8761         hildon_find_toolbar_get_last_index that gets the index of the most
8762         recently added (last) item. Fixes: NB#52301.
8763
8764 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8765
8766         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8767         behaviour. Fixes: NB#68610.
8768
8769 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8770
8771         * src/hildon-banner.c: Actually reverting the previous change. It somehow
8772         looks a bit worse.
8773
8774 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8775
8776         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8777         when realizing the banner. Should make the infonbanner effect a bit more
8778         bearable.
8779
8780 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8781
8782         * src/hildon-volumebar.c:
8783         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8784         hildon_volumebar_set_range_insensitive_message and
8785         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8786
8787 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8788
8789         * src/hildon-window.c: Fixing the border freeing on destroy.
8790
8791 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8792
8793         * src/hildon-code-dialog-private.h:
8794         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8795         kw keyboard support in HildonCodeDialog.
8796
8797 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8798
8799         [1.0.14-1 release]
8800
8801         * NEWS:
8802         * configure.ac:
8803         * debian/changelog: Updating.
8804
8805 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8806
8807         * src/hildon-date-editor.c:
8808         * src/hildon-number-editor.c:
8809         * src/hildon-private.c:
8810         * src/hildon-private.h:
8811         * src/hildon-time-editor.c:
8812         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8813         handling in subclassed composite widgets. Fixes: NB#66628.
8814
8815 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8816
8817         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8818         from destroy_ callback as it introduces problems in async dbus signal
8819         handlers. Fixes NB#66673.
8820
8821 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8822
8823         * examples/hildon-hvolumebar-example.c:
8824         * src/hildon-volumebar.c: Improving the focus handling in the
8825         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8826         set_property accessor so that "mute" property can be actually set. I'm
8827         scared that nobody noticed it's totally broken.
8828
8829 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8830
8831         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8832         Fixes NB#66548.
8833
8834 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8835
8836         * src/hildon-calendar.c:
8837         * src/hildon-number-editor.c:
8838         * src/hildon-time-picker.c: Changing the timeout repeat so that it
8839         matches the spec of 6 chars per second. Fixes: NB#60489.
8840
8841 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8842
8843         * src/hildon-helper.c: Really fixing NB#58352. Looks like
8844         gtk_style_lookup_color sometime returns FALSE even though color was
8845         found and values were filled properly. Weird. Removing the warning for the
8846         time being.
8847
8848 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8849
8850         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8851         expand vertically. Adding some extra space to the find toolbar buttons to
8852         make them thumbable. Fixes NB#66060.
8853
8854 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8855
8856         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8857         popup with "Ok" and "Cancel". Fixes NB#59299.
8858
8859 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8860
8861         * src/hildon-calendar.c: Process all window updates before executing next
8862         timeout. Fixes: NB#54146.
8863
8864 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8865
8866         [1.0.13-1 release]
8867
8868         * NEWS:
8869         * configure.ac:
8870         * debian/changelog: Updating.
8871
8872 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
8873
8874         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8875         the client event and ignore it, since we use the delete event to close
8876         after timeouts.
8877
8878 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8879
8880         * src/hildon-helper.c: Remove the bogus warning about color not being
8881         found. Fixes NB#58352.
8882
8883 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8884
8885         * examples/Makefile.am:
8886         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8887         HildonSeekbar widget inside a toolbar.
8888
8889 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
8890
8891         * src/hildon-banner.c (hildon_banner_init): mark the banners as
8892         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8893         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8894         don't want to be closed by non-temporary windows on map.
8895
8896         Also use G_DEFINE_TYPE instead of manually typed code.
8897
8898 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8899
8900         [1.0.12-1 release]
8901
8902         * NEWS:
8903         * configure.ac:
8904         * debian/changelog:
8905         * debian/rules: Updating.
8906
8907 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8908
8909         * examples/Makefile.am:
8910         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8911         bug NB#61128. Strangely it works.
8912
8913 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8914
8915         * src/hildon-date-editor.c: When the date editor entry has been changed
8916         but the numbers of characters < max, turn off the skip validation flag.
8917         Prevents a situation when we enter first a valid year and later re-write
8918         it with an invalid one. Fixes NB#60154.
8919
8920 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8921
8922         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8923         code dialog. Fixes NB#64355.
8924
8925 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8926
8927         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8928         switching the page. Fixes NB#49374.
8929
8930         * examples/Makefile.am:
8931         * examples/hildon-wizard-dialog-example.c: Adding an example for
8932         HildonWizardDialog that shows how to handle manual sensitivity setting on
8933         the wizard dialog.
8934
8935 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8936
8937         * configure.ac:
8938         * src/Makefile.am:
8939         * src/hildon-version.h.in:
8940         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8941
8942 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8943
8944         * src/hildon-volumebar.c: Updating the docs.
8945
8946 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8947
8948         [1.0.11-1 release]
8949
8950         * NEWS:
8951         * configure.ac:
8952         * debian/changelog: Updating.
8953
8954 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8955
8956         * src/hildon-find-toolbar.c:
8957         * src/hildon-find-toolbar.h: Adding a few new functions to control the
8958         selected item: hildon_find_toolbar_set_active,
8959         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8960         hildon_find_toolbar_get_active_iter . They correspond to respective
8961         GtkComboBox functions.
8962
8963         * examples/Makefile.am:
8964         * examples/hildon-find-toolbar-example.c: Adding the example to test the
8965         new functionality.
8966
8967 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8968
8969         * examples/Makefile.am:
8970         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8971         theming easily.
8972
8973         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8974         when font size > 32 and we pack a focusable widget inside. Actually using
8975         the default response would work too, but since we don't show default
8976         response state in any way (no theming) it would not be visible to the
8977         user. Fixes NB#63430.
8978
8979 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8980
8981         * src/hildon-date-editor.c: Adding the missing variable setter in the
8982         set_property handler. Fixes NB#54182.
8983
8984 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8985
8986         * src/hildon-window.h: Changing the long key press time from 1500ms to
8987         800ms as requested in NB#63700. I have a bad feeling about this, let's
8988         see... Fixes NB#63700.
8989
8990 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
8991
8992         * src/hildon-time-picker.c (hildon_time_picker_class_init,
8993         hildon_time_picker_map, hildon_time_picker_realize,
8994         hildon_time_picker_style_set): Split the contents of map to more
8995         appropriate functions; set window decorations on realize and update
8996         arrows' size requisitions on style-set. Avoids unnecessary resizing.
8997
8998 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
8999
9000         [1.0.10-2 release]
9001
9002         * NEWS:
9003         * debian/changelog: Updating.
9004
9005 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
9006
9007         * src/Makefile.am: fixed installation of the header files
9008
9009 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9010
9011         [1.0.10-1 release]
9012
9013         * NEWS:
9014         * configure.ac:
9015         * debian/changelog: Updating.
9016
9017 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9018
9019         * configure.ac: Removing some remaining of --enable-xan.
9020
9021 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
9022
9023         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9024         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9025
9026         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9027         2.10.12-osso6 because the move-focus signal needs to be available in
9028         GtkWidget.
9029
9030 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9031
9032         * examples/Makefile.am:
9033         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9034         that makes a HildonVolumebar insensitive before mapping it. Seems to work
9035         fine. Prolly NB#61128 is fixed now.
9036
9037 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9038
9039         * src/hildon-volumebar.c:
9040         * src/hildon-volumebar.h: Adding the
9041         hildon_volumebar_set_range_insensitive_message and
9042         hildon_volumebar_set_range_insensitive_messagef functions to set
9043         insensitive message on the slider of the volumebar. Fixes NB#61129.
9044
9045         * examples/Makefile.am:
9046         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9047         test the new insensitive messsage functionality on HildonVolumebar.
9048
9049 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
9050
9051         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9052         work again.
9053
9054 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
9055
9056         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9057         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9058         button on after clearing the trail.
9059
9060 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9061
9062         * src/hildon-code-dialog.c: Removing the separator from the dialog.
9063
9064 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
9065
9066         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9067         by splitting the installed headers in generated and non-generated groups. Use
9068         only the non-generated headers to create the hildon-enum-types.h file.
9069
9070         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9071
9072 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9073
9074         * src/hildon-window.c: Hide the window before performing the destroy.
9075         Should make the app closing a little tiny bit more snappy.
9076
9077 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
9078
9079         * src/hildon-seekbar.c: add gtkrange.h header
9080         * src/hildon-caption.c: remove unused variable
9081
9082 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
9083
9084         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9085         Loic Minier.
9086
9087 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9088
9089         [1.0.9-1 release]
9090
9091         * NEWS:
9092         * configure.ac:
9093         * debian/changelog: Updating.
9094
9095 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
9096
9097         * src/hildon-window.c (hildon_window_window_state_event,
9098         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9099         escape timeout on focus-out-event rather than notify::is-topmost; the
9100         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9101
9102 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9103
9104         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9105         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9106
9107 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
9108
9109         * src/hildon-window: actually, you need to use the macro always, there's
9110         no private pointer in the instance structure. We should have cleaned this up
9111         when we had the chance...
9112
9113 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
9114
9115         * src/hildon-window.c: do not get the private date from HildonWindow before
9116         it passes the g_return_if_fail check. Once it's passed the test, there's no
9117         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9118         if you are only going to access the data once. Whitespace cleanups.
9119
9120 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
9121
9122         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9123         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9124
9125 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9126
9127         [1.0.8-1 release]
9128
9129         * NEWS:
9130         * configure.ac:
9131         * debian/changelog: Updating.
9132
9133 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9134
9135         * src/hildon-window.c: When destroying the window, remove (if exists) the
9136         escape timeout handler. Fixes #NB59276.
9137
9138 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9139
9140         * src/hildon-banner.c: When realizing the widget, set the window
9141         transiency. Setting the transiency in the gobject constructor is not
9142         good, as the widget is not realized at that point. Fixes: #NB56624.
9143
9144 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
9145
9146         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9147         Add padding for future expansions.
9148
9149 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
9150
9151         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9152         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9153         will fake an activation on the previous to the last item of the trail, so
9154         the effect can be overrided by the developer as usual.
9155         Also change the callback for the back button to do the same thing, so its
9156         effect can be overrided too. Fixes: NB#58982
9157
9158 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9159
9160         * src/hildon-caption.c: Implementing the proper focus grabbing in the
9161         HildonCaption. Fixes NB#52379.
9162
9163 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
9164
9165         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9166         the internal state of the trail after the user has had the chance of executing
9167         his handler for the signal. Specifically, it may happen that the activated button
9168         is removed and the user still lets the default handler run. This would segfault
9169         previously.
9170
9171 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9172
9173         * src/hildon-font-selection-dialog.c: When the font is really big, add the
9174         scrollbar to the preview dialog. Fixes NB#54147.
9175
9176 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9177
9178         * src/hildon-date-editor.c: Changing the default max year to 2037. The
9179         max/min year properties can be altered, so the client can modify it
9180         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9181
9182 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9183
9184         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9185         hildonlike by default. Fixing a problem with disappearing arrows when
9186         scrolling through months and years. Fixes NB#54127.
9187
9188 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9189
9190         * examples/hildon-date-editor-example.c: Adding error callback to the date
9191         editor example.
9192
9193 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9194
9195         [1.0.7-1 release]
9196
9197         * NEWS:
9198         * debian/changelog:
9199         * configure.ac: Updating.
9200
9201 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9202
9203         * configure.ac: Adding a special '--enable-xan' configure option that
9204         turns off the -Werror compilation setting. Usefull for development.
9205
9206         * src/hildon-calendar.c:
9207         * src/hildon-number-editor.c:
9208         * src/hildon-time-picker.c: Adding the 5* multiplier to
9209         gtk-timeout-update.
9210
9211 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
9212
9213         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9214         instead of g_object_ref + gtk_object_sink.
9215
9216 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9217
9218         [1.0.6-1 release]
9219
9220         * NEWS:
9221         * configure.ac:
9222         * debian/changelog: Updating.
9223
9224 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9225
9226         * src/hildon-color-chooser-dialog.c:
9227         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9228         straight from Tommi labs.
9229
9230 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9231
9232         * examples/hildon-finger-example.c: Correcting the header file path.
9233
9234         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9235         the changed signal. Fixes a small memory leak.
9236
9237 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9238
9239         * autogen.sh:
9240         * debian/rules:
9241         * src/hildon-banner.c: Importing several usefull fixes from the
9242         ubuntu-mobile branch.
9243
9244 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9245
9246         * examples/Makefile.am:
9247         * examples/hildon-finger-example.c: Adding a finger-checking code
9248         example.
9249
9250         * src/hildon-font-selection-dialog.c: Do not allocate the color
9251         structure using the g_new. Fixes NB#54061.
9252
9253 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9254
9255         * src/hildon-helper.c: Correcting tabs in file.
9256
9257 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
9258
9259         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9260         control the visibility of the children.
9261
9262         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9263
9264 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9265
9266         [1.0.5-1 release]
9267
9268         * NEWS:
9269         * configure.ac:
9270         * debian/changelog: Updating.
9271
9272 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
9273
9274         * src/hildon-bread-crumb-trail.c:
9275         (hildon_bread_crumb_trail_size_allocate):
9276
9277         Make the back button always a square.
9278
9279 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
9280
9281         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9282         from the .c file as it's a private file.
9283
9284 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9285
9286         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9287         uses slightly bigger height.
9288
9289         * src/hildon-font-selection-dialog.c: Adding some checks before
9290         freeing memory in the font selection dialog.
9291
9292 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9293
9294         * src/hildon-font-selection-dialog.c: Adding a small check when
9295         freeing memory.
9296
9297         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9298         buttons sensitivity on page switching.
9299
9300 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
9301
9302         * src/hildon-bread-crumb-trail.c: make the add method handle all the
9303         internal details of adding a bread crumb to the trail.
9304
9305 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9306
9307         [1.0.4-1 release]
9308
9309         * README:
9310         * configure.ac:
9311         * debian/changelog: Updating.
9312
9313         * src/hildon-bread-crumb-trail.h:
9314         * src/hildon-bread-crumb.h: Changing the API guard to
9315         HILDON_ENABLE_UNSTABLE_API.
9316
9317 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9318
9319         [1.0.3-1 release]
9320
9321         * NEWS:
9322         * configure.ac:
9323         * debian/changelog:
9324         * debian/rules:
9325         * src/hildon-helper.h: Updating.
9326
9327 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9328
9329         [1.0.2-1 release]
9330
9331         * NEWS:
9332         * configure.ac:
9333         * debian/changelog:
9334
9335 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9336
9337         * README:
9338         * configure.ac:
9339         * src/hildon-helper.h: Small fix to make the package actually compile.
9340
9341 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
9342
9343         * src/hildon-bread-crumb-trail.h:
9344         * src/hildon-bread-crumb.h:
9345
9346         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9347         to define ENABLE_UNSTABLE_API in the code that includes these headers.
9348
9349 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
9350
9351         * examples/hildon-bread-crumb-trail-example.c:
9352         * src/Makefile.am:
9353         * src/hildon-bread-crumb-trail.c:
9354         * src/hildon-bread-crumb-trail.h:
9355         * src/hildon-bread-crumb.c:
9356         * src/hildon-bread-crumb.h:
9357         * src/hildon-marshalers.list:
9358         * src/hildon-bread-crumb-widget.c:
9359         * src/hildon-bread-crumb-widget.h:
9360
9361         Slight change in the widget design. The bread crumb trail API is
9362         unchanged, but HildonBreadCrumb is now an interface. A *private*
9363         implementation, hildon-bread-crumb-widget, is provided and used
9364         internally by the trail for the push_text/push_icon functions.
9365
9366         The generic push API is still available, so anyone can implement
9367         and use its own bread crumb widget.
9368
9369 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9370
9371         * debian/rules: Fixing the shlibs.
9372
9373 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9374
9375         * src/hildon-banner.c: Fixing a problem with timed banners having
9376         their parrent destroyed before they are.
9377
9378 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
9379
9380         * src/hildon-bread-crumb.c:
9381         * src/hildon-bread-crumb.h:
9382
9383         Make the get_natural_size function a vfunc.
9384
9385 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9386
9387         * src/hildon-bread-crumb.c:
9388         * src/hildon-bread-crumb-trail.c:
9389
9390         Some cleanups.
9391
9392 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9393
9394         [1.0.1-1 release]
9395
9396         * AUTHORS:
9397         * NEWS:
9398         * configure.ac:
9399         * debian/changelog: Updating for release.
9400
9401 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9402
9403         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9404         don't leak the pango layout.
9405
9406 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9407
9408         * src/hildon.h:
9409         * examples/hildon-bread-crumb-trail-example.c:
9410
9411         Fix example.
9412
9413 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9414
9415         * debian/changelog: Removing the bug-fixed entries that were actually
9416         resolved as WONTFIX.
9417
9418         * src/hildon-date-editor.c: Removing a redundant check. Fixes
9419         NB#54182.
9420
9421 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
9422
9423         * src/hildon-bread-crumb-trail.c:
9424         * src/hildon-bread-crumb-trail.h:
9425         * src/hildon-bread-crumb.c:
9426         * src/hildon-bread-crumb.h:
9427
9428         Untabify.
9429
9430 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
9431
9432         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9433         until it's passed the type check.
9434
9435 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
9436
9437         * examples/hildon-bread-crumb-trail-example.c
9438
9439         Add license.
9440
9441 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
9442
9443         * examples/Makefile.am
9444         * examples/hildon-bread-crumb-trail-example.c
9445         * src/Makefile.am
9446         * src/hildon-bread-crumb-trail.c
9447         * src/hildon-bread-crumb-trail.h
9448         * src/hildon-bread-crumb.c
9449         * src/hildon-bread-crumb.h
9450
9451         New HildonBreadCrumbTrail widget.
9452
9453 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
9454
9455         * src/hildon-range-editor.c (hildon_range_editor_init),
9456         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9457         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9458         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9459         hildon_time_editor_class_init, hildon_time_editor_init),
9460         src/hildon-get-password-dialog.c (invalid_input,
9461         hildon_get_password_set_property, hildon_get_password_get_property,
9462         create_contents, hildon_get_password_dialog_set_max_characters),
9463         src/hildon-set-password-dialog.c (create_contents),
9464         src/hildon-date-editor.c (hildon_date_editor_init),
9465         src/hildon-login-dialog.c (hildon_login_dialog_init),
9466         src/hildon-number-editor.c (hildon_number_editor_init),
9467         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9468         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9469         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9470          configure option and adding the respective checks in the code.
9471         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9472         hildon_calendar_drag_data_received): fixed some build warnings.
9473
9474 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9475
9476         * debian/changelog: A 1.0.0 release notes.
9477