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