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