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