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