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