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