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