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