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