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