2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
1 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2
3         * src/hildon-touch-selector-entry.c:
4         (hildon_touch_selector_entry_init): Disable unsupported
5         input modes.
6         (hildon_touch_selector_entry_get_text_column): Emit a warning
7         if an unsupported input modes is used and explicitile state
8         these modes in the documentation.
9
10         Fixes: NB#99802 (Hildon touch selector entry not working properly
11         for some of the input modes)
12
13 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
14
15         * src/hildon-pannable-area.c,
16         (hildon_pannable_area_init): Added the changed signal handlers of
17         the adjustments.
18
19         Fixes: NB#100320 (HildonPannableArea does not listen to
20         GtkAdjustment "change" signals)
21
22 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
23
24         * doc/hildon-sections.txt
25         * src/hildon-window-private.h
26         * src/hildon-window.h
27         * src/hildon-window.c (hildon_window_init)
28         (hildon_window_realize, hildon_window_unrealize)
29         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
30         (hildon_window_size_request, hildon_window_size_allocate)
31         (hildon_window_forall, hildon_window_show_all)
32         (hildon_window_destroy, +paint_edit_toolbar)
33         (+hildon_window_set_edit_toolbar):
34         New hildon_window_set_edit_toolbar() method, to add a
35         HildonEditToolbar to a window without having to pack it manually.
36
37         Reorganize hildon_window_size_allocate()
38
39         * src/hildon-edit-toolbar.c: Update documentation.
40
41         * examples/hildon-edit-toolbar-example.c (edit_window): Update
42         example to use the new API.
43
44         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
45
46 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
47
48         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
49         Remove from stack before calling parent's hide.
50
51 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
52
53         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
54         window is removed from the middle of the stack, update the
55         transiency of the previous one.
56
57         Fixes: NB#100487 (HildonStackableWindow transiency becomes
58         incoherent)
59
60 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
61
62         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
63         block/unblock the signal handler if it's not actually being used.
64         Fixes some critical warnings.
65
66 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
67
68         Based on a patch by Iván Gómez (igomez@igalia.com)
69
70         * src/hildon-banner.c
71         * src/hildon-gtk.c
72         * src/hildon-main.c
73         * src/hildon-note.c
74         * src/hildon-pannable-area.c
75         * src/hildon-picker-dialog.c
76         * src/hildon-wizard-dialog.h
77         * src/hildon-wizard-dialog.c: Documentation updates.
78
79         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
80         gtk_dialog_add_button() instead of hildon_dialog_add_button().
81
82 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
83
84         * configure.ac: post release version bump.
85         * debian/changelog: version bump.
86
87 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
88
89         [Release 2.1.40]
90
91         * NEWS: Updates.
92         * configure.ac: Bump version.
93         * debian/changelog: Updates.
94
95 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
96
97         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
98         a stock icon nor change the relief of the back arrow.
99
100         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
101         graphics from theme)
102
103 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
104
105         * src/hildon-button.c (hildon_button_set_alignment): Use
106         priv->alignment if the button has no child yet.
107
108 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
109
110         * src/hildon-button.c: (hildon_button_init): Set the
111         button style during initialization to give it the proper
112         label color.
113
114         Fixes: NB#99713 (HildonButton value label color is wrong)
115
116 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
117
118         * src/hildon-touch-selector.c: Document
119         hildon_touch_selector_center_on_selected()
120
121 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
122
123         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
124         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
125         all menu items, but not the menu itself.
126         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
127         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
128         items after adding them to the menu so keyboard accelerators work.
129         (hildon_app_menu_show): Don't show the menu if it contains items
130         but none of them are visible.
131
132         * examples/hildon-app-menu-example.c (create_menu): Use
133         gtk_widget_show_all() to show all menu items.
134
135 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
136
137         * src/hildon-picker-dialog.c:
138         (-_update_title_on_selector_changed_cb),
139         (-_dialog_update_title): Removed.
140         (_select_on_selector_changed_cb), (_on_dialog_response),
141         (on_selector_columns_changed): Do not update the dialog title.
142         (setup_interaction_mode): Do not connect to
143         HildonTouchSelector::changed signal if there's a "done" button, as
144         the dialog title doesn't need to be updated.
145
146         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
147         contents in title)
148
149 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
150
151         Patch by Kristian Rietveld (kris@imendio.com)
152
153         * src/hildon-touch-selector.c: (_create_new_column): Use new
154         GtkTreeView::hildon-row-tapped signal to react to user interactions
155         instead of ::changed.
156
157         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
158         with some dynamic tree model)
159
160 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
161
162         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
163         (+screen_size_changed, +label_size_request)
164         (hildon_note_class_init): Make the Hildon information note have a
165         minimum height, and make its text hvae a maximum width.
166
167         Fixes: NB#98614 (Hildon information note (background) should have
168         minimum height and maximum text width)
169
170 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
171
172         * src/hildon-banner.h
173         * src/hildon-banner.c (hildon_banner_show_information)
174         (hildon_banner_show_informationf)
175         (hildon_banner_show_information_with_markup): Update documentation
176         to reflect that the icon_name parameter is not used anymore.
177         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
178         Remove all code from these functions and mark them as deprecated.
179         (hildon_banner_show_progress): Mark as deprecated.
180
181         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
182
183 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
184
185         * src/hildon-pannable-area.c,
186         (hildon_pannable_area_class_init),
187         (tranparency_color),
188         (hildon_pannable_draw_vscroll),
189         (hildon_pannable_draw_hscroll),
190         (hildon_pannable_area_expose_event): Added a new way to render the
191         scrollbars of the pannable area avoiding using cairo at all. This
192         way we improve the performance of the pannable area rendering. The
193         cairo rendering procedure is still in the code, we can control
194         which one to use changing the value of the define
195         USE_CAIRO_SCROLLBARS.
196
197 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
198
199         * configure.ac: post release version bump.
200         * debian/changelog: version bump.
201
202 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
203
204         [Release 2.1.38]
205
206         * NEWS: Updates.
207         * configure.ac: Bump version.
208         * debian/changelog: Updates.
209
210 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
211
212         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
213         banners instead of destroying them when they receive a button
214         press.
215
216 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
217
218         Reverted commit 34028, it was causing regressions, probably the
219         topmost condition is not correct, we have to check it in more
220         detail. We have reponed the bug: NB#97458 (Pannable area prevents
221         propagation of button press events)
222
223 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
224
225         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
226         that the selection is not empty before attempting to retrieve the
227         current ampm selection.
228
229 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
230
231         * src/hildon-picker-button.c:
232         (hildon_picker_button_on_dialog_response): Directly update the
233         button contents when required instead of calling _selection_changed.
234
235 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
236
237         * src/hildon-program.c (hildon_program_update_top_most): Update
238         'is-topmost' property also when wm_hints is not set.
239
240         Fixes: NB#98383 (is-topmost signal is not emitted when task
241         switcher is clicked.)
242
243 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
244
245         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
246
247         * src/Makefile.am,
248         * src/hildon.h,
249         * src/hildon-animation-actor.c,
250         * src/hildon-animation-actor.h: Added the animation actor class,
251         this widget represents an animation actor for WM-assisted
252         animation effects in the Hildon framework.
253
254 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
255
256         * src/hildon-window-stack-private.h
257         * src/hildon-window-stack.c
258         * src/hildon-stackable-window.c (hildon_stackable_window_show):
259         Avoid calling gtk_widget_show() again indirectly from
260         hildon_stackable_window_show()
261
262 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
263
264         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
265         unused variable.
266
267 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
268
269         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
270         (hildon_time_selector_init): Move the construction of the hours and
271         ampm columns to the constructor to preserve the order the columns
272         are appended.
273
274 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
275
276         * src/hildon-picker-dialog.c:
277         (hildon_picker_dialog_class_init): Connect a realize method.
278         (+hildon_picker_dialog_realize): Setup the interaction mode here
279         and not before.
280         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
281         yet, do it during the realize instead.
282         (_on_dialog_response):
283         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
284         if the widget is not realized, to avoid the dialog response before it
285         is even shown.
286
287         Avoid premature responses in the HildonPickerDialog that can cause it
288         to be hidden before it's even shown.
289
290 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
291
292         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
293         (on_selector_columns_changed), (requires_done_button),
294         (+prepare_action_area), (setup_interaction_mode),
295         (_hildon_picker_dialog_set_selector):
296
297         Split the interaction mode setup into preparation of the
298         action area (prepare_action_area()) and the connection of
299         the signals in setup_interaction_mode() and update the code to
300         reflect this.
301
302 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
303
304         * src/hildon-pannable-area.c,
305         (hildon_pannable_area_class_init): Reduced the amount of scrolls
306         per second to 15, we will check if this is ok regarding
307         smoothness.
308
309 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
310
311         * src/hildon-pannable-area.c,
312         (hildon_pannable_axis_scroll): Avoid resize if we already have
313         reached overshoot_max.
314
315 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
316
317         * src/hildon-pannable-area.c,
318         (hildon_pannable_area_init),
319         (hildon_pannable_area_realize),
320         (hildon_pannable_area_size_allocate),
321         (hildon_pannable_area_map),
322         (hildon_pannable_area_unmap),
323         (hildon_pannable_draw_vscroll),
324         (hildon_pannable_draw_hscroll),
325         (hildon_pannable_area_expose_event),
326         (hildon_pannable_area_refresh): Added a new GdkWindow to the
327         pannable are to avoid the expose events go to the window and
328         redraw the window. We save this way that part of the stack and the
329         paint_boxes. We had to change the positions of the elements when
330         drawing.
331
332 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
333
334         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
335         * src/hildon-color-chooser-dialog.c:
336         (hildon_color_chooser_dialog_init):
337         * src/hildon-font-selection-dialog.c:
338         (hildon_font_selection_dialog_init),
339         (hildon_font_selection_dialog_show_preview):
340         * src/hildon-get-password-dialog.c:
341         * src/hildon-login-dialog.c:
342         * src/hildon-set-password-dialog.c:
343         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
344         * src/hildon-time-picker.c: (hildon_time_picker_init):
345
346         Remove obsolete logical string IDs and update to the appropriate ones.
347
348         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
349
350 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
351
352         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
353         that happens if the window hasn't been realized yet.
354
355         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
356         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
357
358 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
359
360         * src/hildon-app-menu.c (hildon_app_menu_class_init)
361         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
362         by another grab.
363
364         Fixes: NB#98537 (Device hangs in account settings dialog)
365
366 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
367
368         * configure.ac: post release version bump.
369         * debian/changelog: version bump
370
371 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
372
373         [Release 2.1.36]
374
375         * NEWS: Updates.
376         * configure.ac: Bump version.
377         * debian/changelog: Updates.
378
379 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
380
381         Added a new function to the HildonTimeButton widget that allows to
382         change the step of the minutes in the selector associated with the
383         button: hildon_time_button_new_step
384
385         * src/hildon-time-button.c,
386         (hildon_time_button_init),
387         (hildon_time_button_new),
388         (hildon_time_button_new_step):
389         * src/hildon-time-button.h: Added the new function and refactored
390         the code.
391         * examples/hildon-time-button-example.c,
392         (main): We have replaced the function without parameters with the
393         function with the steps set to 5
394
395         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
396
397 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
398
399         * src/hildon-time-selector.c,
400         (hildon_time_selector_class_init),
401         (hildon_time_selector_constructor),
402         (hildon_time_selector_get_property),
403         (hildon_time_selector_set_property),
404         (_create_minutes_model),
405         (hildon_time_selector_new_step),
406         (hildon_time_selector_set_time),
407         * src/hildon-time-selector.h: Added a new property to the
408         HildonTimeSelector (minutes-step), we use that property to control
409         the steps between the minutes in the list of the selector. We have
410         added a new function to the API to create a widget changing the
411         step: hildon_time_selector_new_step.
412
413 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
414
415         * src/hildon-time-selector.c,
416         (hildon_time_selector_class_init),
417         (hildon_time_selector_constructor),
418         (hildon_time_selector_init): Overrided the construct function when
419         creating the time selector object. We have moved the minutes model
420         handling code from the init to the new construction function:
421         hildon_time_selector_constructor.
422
423 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
424
425         * examples/hildon-date-button-example.c: (main): Use the new
426         hildon_date_button_new_with_year_range() method in the example.
427         * src/hildon-date-button.c:
428         (+hildon_date_button_new_with_year_range): New public method
429         to conveniently create a HildonDateButton with a custom year range
430         in its HildonDateSelector.
431         * src/hildon-date-button.h: Add the new public method definition.
432
433         Fixes: NB#97908 (Not possible to change the year range in
434         HildonDateSelector/HildonDateButton)
435
436 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
437
438         * src/hildon-date-selector.c:
439         (+hildon_date_selector_set_property),
440         (+hildon_date_selector_get_property),
441         (hildon_date_selector_class_init): Install new properties "min-year"
442         and "max-year" to define boundaries for the year column.
443         (_create_year_model): Use the boundary properties to populate the model.
444         (+hildon_date_selector_new_with_year_range): New public method to
445         create a HildonDateSelector with a user defined year range.
446         (hildon_date_selector_select_current_date): Use the new boundaries to
447         calculate the iterator of current year.
448         * src/hildon-date-selector.h: Add the new public method definition.
449
450 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
451
452         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
453         Install a constructor method.
454         (+hildon_date_selector_construct_ui): construct the widget.
455         (+hildon_date_selector_constructor): new constructor.
456         (+hildon_date_selector_init): move out widget construction code to
457         the new constructor.
458
459 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
460
461         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
462         that there's actually a month or year selected before obtaining them.
463         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
464         of the HildonTouchSelector::changed signal, as it was emitted on every
465         single item selection.
466
467         Fix some warnings and possible crashers due to the selection restoring.
468
469 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
470
471         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
472         the signal handlers only after creating the dialog instead of on every
473         button click.
474
475 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
476
477         * src/hildon-button.c (hildon_button_init)
478         * src/hildon-check-button.c (hildon_check_button_init)
479         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
480         focus when clicked by default.
481
482 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
483
484         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
485         g_object_unref().
486
487 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
488
489         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
490         Alejandro G. Castro  (alex@igalia.com)
491
492         * src/hildon-picker-dialog.c:
493         (hildon_picker_dialog_class_init): install new "center-on-show"
494         property.
495         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
496         (hildon_picker_dialog_set_property): add setter code for the new
497         property.
498         (hildon_picker_dialog_get_property): add getter code for the new
499         property.
500         (hildon_picker_dialog_show): Ensure visibility of selected items in the
501         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
502         default.
503
504         Fixes: NB#92849 (Selected item is not always visible when
505         HildonTouchSelector is shown)
506
507 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
508
509         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
510         Alejandro G. Castro  (alex@igalia.com)
511
512         * src/hildon-touch-selector.c:
513         (_create_new_column): Do not connect to the "realize" signal of the
514         pannable area.
515         (hildon_touch_selector_append_column): center on the selected items
516         when a new column is appended.
517         (hildon_touch_selector_select_iter): Factor out the code to select a
518         column to hildon_touch_selector_scroll_to().
519         (+search_nearest_element): Method to retrieve the nearest selected
520         element to the visible area of the pannable area in a column.
521         (+on_realize_cb): scroll to the initially selected item.
522         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
523         the pannable area is realized, otherwise delay this until it is.
524         (+_hildon_touch_selector_center_on_selected_items): Centers on the
525         selected items of a given column.
526         (+hildon_touch_selector_center_on_selected): Public method to center
527         all columns on the nearest selected item.
528         * src/hildon-touch-selector.h: Add definition for
529         hildon_touch_selector_center_on_selected().
530
531         Implement public API to ensure visibility of all selected items in
532         a HildonTouchSelector.
533
534 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
535
536         Fixed a problem in the fading when calling the scroll_to API, and
537         improve scrollbar fading handling.
538
539         * src/hildon-pannable-area.c,
540         (hildon_pannable_area_grab_notify): avoid the timeout when the
541         alpha is zero.
542         (hildon_pannable_area_button_press_cb),
543         (hildon_pannable_area_motion_notify_cb): Code style changes.
544         (hildon_pannable_area_button_release_cb): Review the conditions
545         when releasing the mouse button to avoid unrequired fading
546         timeouts.
547         (hildon_pannable_area_scroll_to): Do not calculate and set the
548         velocity if the scroll is not required.
549
550 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
551
552         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
553         Don't check whether the new selector is NULL: it cannot be.
554         Hold a reference to the selector while doing the replacement.
555
556 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
557
558         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
559         unnecessary size_request in a removed widget.
560
561 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
562
563         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
564         an unnecessary reference tracking that was leaking.
565
566 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
567
568         Added delayed motion notify event handling, this way we can
569         discard redrawing if more than 25 events arrive per second.
570
571         * src/hildon-pannable-area.c,
572         (hildon_pannable_area_init): Initialized the new private atributes
573         controlling this timeout
574         (hildon_pannable_area_dispose): Remove the timeout that controls
575         the motion notify events.
576         (hildon_pannable_area_scroll): Added a condition to control the
577         use of the acceleration.
578         (hildon_pannable_area_motion_event_scroll_timeout),
579         (hildon_pannable_area_motion_event_scroll): Added this two
580         functions, they handle the motion notify events inside the
581         timeout.
582         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
583         to the scroll method with the new function.
584         (hildon_pannable_area_button_release_cb): We have to remove the
585         timeout handler and move to the last position if the last motion
586         events were not handled.
587
588         Fixes: NB#97028 (Pannable area updates on every motion event)
589
590 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
591
592         * src/hildon-pannable-area.c,
593         (hildon_pannable_area_get_topmost): Added a new parameter to
594         filter the the windows that do not include those events. Added
595         also a condition when finding the window to filter windows that do
596         not ask for those events.
597         (hildon_pannable_area_button_press_cb),
598         (hildon_pannable_area_button_release_cb),
599         (hildon_pannable_get_child_widget_at): Reviewed the call the the
600         topmost function, we have added the new parameter.
601
602         Fixes: NB#97458 (Pannable area prevents propagation of button
603         press events)
604
605 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
606
607         * src/hildon-pannable-area.c,
608         (hildon_pannable_area_initial_effect): Added controls before
609         launching the timeout and the idle functions.
610         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
611         of the method, in some situations it can return with TRUE and 0 in
612         the timeout.
613         (hildon_pannable_area_button_press_cb): We do not need to set
614         DELAY for fading out here.
615
616         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
617
618 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
619
620         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
621         post-cleaning if the selection is not NULL.
622
623 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
624
625         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
626         all items before restoring the selection.
627
628 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
629
630         * src/hildon-touch-selector.c:
631         (+hildon_touch_selector_unselect_all):
632         * src/hildon-touch-selector.h: New API to unselect all items in a
633         column of the touch selector.
634
635 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
636
637         * src/hildon-pannable-area.c,
638         (hildon_pannable_area_redraw): Added a call to the refresh
639         function inside the redraw because apparently in some cases the
640         change in the adjustment does not imply a size allocate.
641
642         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
643         despite the view not being scrollable)
644
645 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
646
647         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
648         leak. Check for NULL before attempting to set the window title.
649
650 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
651
652         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
653         whether to show or not the 'Done' button each time the dialog is
654         shown, as it depends on the HildonTouchSelector selection mode.
655
656         Fixes: NB#96226 (In multiple selection mode Done button is shown
657         sometimes in listpicker)
658
659 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
660
661         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
662         for the number of columns in the HildonTouchSelector more than once.
663
664 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
665
666         * src/hildon-touch-selector.c: Minor documentation fixes.
667
668         * src/hildon-picker-dialog.c (+_dialog_update_title)
669         (_select_on_selector_changed_cb)
670         (_update_title_on_selector_changed_cb)
671         (on_selector_columns_changed): Update dialog title when there's no
672         'Done' button and also when the number of columns in the selector
673         changes.
674         Code refactoring.
675
676         * src/hildon-picker-button.c (hildon_picker_button_finalize)
677         (+_selection_changed, hildon_picker_button_on_dialog_response)
678         (hildon_picker_button_selector_selection_changed)
679         (+hildon_picker_button_selector_columns_changed)
680         (hildon_picker_button_set_selector): Update button value and emit
681         'value-changed' when the number of columns in the selector
682         changes.
683         Code refactoring.
684
685         Fixes: NB#96225 (Dialog titles are not shown according to the
686         values selected in the list picker)
687
688 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
689
690         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
691         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
692         New "arrow-width" and "arrow-height" style properties to set the
693         size of the arrow button.
694         Set name of arrow button ("hildon-edit-toolbar-arrow").
695
696         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
697         graphics from theme)
698
699 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
700
701         * src/hildon-picker-button.c:
702         (hildon_picker_button_selector_selection_changed): Use
703         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
704         the dialog is present.
705
706         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
707         the selection is accepted in the dialog)
708
709 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
710
711         * src/hildon-color-chooser.h
712         * src/hildon-color-chooser-dialog.h:
713         Added G_BEGIN_DECLS and G_END_DECLS
714
715 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
716
717         (_clean_current_selection): plug a leak in the list.
718
719 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
720
721         * src/hildon-picker-dialog.c:
722         (+free_path_list): Method to free a GList of GtkTreePaths.
723         (_clean_current_selection), (_save_current_selection),
724         (_restore_current_selection): Save the current selection in
725         as a list of lists, to support multiple selection properly.
726
727 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
728
729         patch by Claudio Saavedra (csaavedra@igalia.com)
730
731         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
732         Store the press position.
733         (+hildon_text_view_button_release_event): If the release position is
734         close enough to the press position, move the cursor here. Otherwise,
735         ignore.
736         (hildon_text_view_class_init): Override GtkTextView press, release, and
737         motion event handlers, disabling this way text selection through
738         pointer interaction, and allowing the container widget to handle the
739         motion event.
740
741         Fixes: NB#95828 (HildonTextView functionality)
742
743 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
744
745         Based on a patch by Iván Gómez (igomez@igalia.com)
746
747         * src/hildon-button.[ch]
748         * src/hildon-calendar.c
749         * src/hildon-check-button.c
750         * src/hildon-date-editor.c
751         * src/hildon-date-selector.c
752         * src/hildon-picker-button.c
753         * src/hildon-time-editor.c
754         * src/hildon-time-selector.c
755         * src/hildon-touch-selector.[ch]:
756         Documentation updates
757
758 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
759
760         * src/hildon-pannable-area.c,
761         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
762         threshold, it was required due to X events handling.
763
764 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
765
766         * src/hildon-pannable-area.c,
767         (hildon_pannable_area_grab_notify),
768         (hildon_pannable_area_initial_effect),
769         (hildon_pannable_area_button_press_cb),
770         (hildon_pannable_area_button_release_cb),
771         (hildon_pannable_area_scroll_cb),
772         (hildon_pannable_area_scroll_to): Review the timeout management of
773         the scrollbar, the frecuency was incorrectly set.
774
775 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
776
777         * src/hildon-picker-button.c:
778         (+hildon_picker_button_on_dialog_response),
779         (hildon_picker_button_clicked): Present the dialog instead of
780         running it with gtk_dialog_run().
781
782         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
783         picker dialog)
784
785 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
786
787         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
788         (hildon_app_menu_finalize): When a window is hidden it doesn't
789         emit notify::is-topmost, so make sure than the menu also
790         disappears in that case.
791         (parent_window_topmost_notify): Renamed from parent_window_hidden
792
793         Fixes: NB#94460 (stackable window's menu is not closed when its
794         window is hidden)
795
796 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
797
798         * src/hildon-touch-selector-entry.c:
799         (+hildon_touch_selector_entry_set_input_mode),
800         (+hildon_touch_selector_entry_get_input_mode):
801         * src/hildon-touch-selector-entry.h: New methods to access the input
802         mode in the selector's entry.
803
804         Fixes: NB#93410 (API required for setting IM mode in
805         HildonTouchSelectorEntry)
806
807 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
808
809         * configure.ac: post release version bump.
810         * debian/changelog: version bump
811
812 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
813
814         [Release 2.1.34]
815
816         * NEWS: Updates.
817         * configure.ac: Bump version.
818         * debian/changelog: Updates.
819
820 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
821
822         * src/hildon-touch-selector.c:
823         (_hildon_touch_selector_has_multiple_selection): No need
824         to initialize the variables here.
825
826 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
827
828         * src/hildon-note-private.h
829         * src/hildon-note.c (event_box_press_event, hildon_note_init)
830         (hildon_note_finalize, hildon_note_rebuild): Close information
831         notes when they receive a button press.
832
833         Fixes: NB#89890 (Information notes does not get disappeared after
834         few seconds)
835
836 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
837
838         * src/hildon-wizard-dialog.c: (create_title): Remove translation
839         mark from the wizard title, as it's not really necessary. Also,
840         do not display the page title if not set.
841
842 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
843
844         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
845         (parent_window_hidden): Use the window's "is-topmost" property to
846         detect when to hide the menu.
847
848 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
849
850         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
851         (hildon_app_menu_finalize): If the parent window of the menu is
852         hidden, hide the menu too.
853
854         Fixes: NB#94460 (stackable window's menu is not closed when its
855         window is hidden)
856
857 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
858
859         * debian/changelog
860         * debian/libhildon1-examples.install
861         * debian/rules
862         * examples/Makefile.am:
863         Use dh_install to install all examples.
864         Use DEB_SRCDIR instead of defining SOURCE_DIR
865
866 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
867
868         * configure.ac: post release version bump.
869         * debian/changelog: version bump
870
871 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
872
873         [Release 2.1.32]
874
875         * NEWS: updates
876         * configure.ac: bump version
877         * debian/changelog: updates
878         * debian/control: bump gtk+ dependency
879
880 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
881
882         patch by Christian Dywan (christian@imendio.com)
883
884         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
885         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
886
887 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
888
889         * src/hildon-check-button.c (hildon_check_button_init)
890         (hildon_check_button_class_init, hildon_check_button_style_set)
891         (hildon_check_button_apply_style):
892         New "checkbox-size" style property.
893
894         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
895         larger / configurable size)
896
897 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
898
899         * configure.ac: post release version bump.
900         * debian/changelog: version bump
901
902 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
903
904         [Release 2.1.30]
905
906         * NEWS: updates
907         * configure.ac: bump version
908         * debian/changelog: updates
909
910 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
911
912         * doc/hildon-sections.txt
913         * src/hildon-pannable-area.c
914         * src/hildon-program.c
915         * src/hildon-time-editor.c
916         * src/hildon-touch-selector-entry.c:
917
918         More documentation updates.
919
920 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
921
922         * doc/hildon-sections.txt
923         * src/hildon-caption.c
924         * src/hildon-code-dialog.c
925         * src/hildon-color-button.c
926         * src/hildon-controlbar.c
927         * src/hildon-date-editor.c
928         * src/hildon-date-selector.c
929         * src/hildon-edit-toolbar.c
930         * src/hildon-find-toolbar.c
931         * src/hildon-font-selection-dialog.c
932         * src/hildon-gtk.c
933         * src/hildon-program.c
934         * src/hildon-range-editor.c
935         * src/hildon-seekbar.c
936         * src/hildon-time-editor.c
937         * src/hildon-time-selector.c
938         * src/hildon-volumebar-range.c
939         * src/hildon-volumebar.c
940         * src/hildon-vvolumebar.c
941         * src/hildon-weekday-picker.c
942         * src/hildon-window.c
943         * src/hildon-wizard-dialog.c:
944
945         Lots of documentation fixes.
946
947 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
948
949         Patch contributed by Iván Gómez (igomez@igalia.com)
950
951         * src/hildon-check-button.c:
952         * src/hildon-date-button.c:
953         * src/hildon-date-selector.c:
954         * src/hildon-dialog.c:
955         * src/hildon-edit-toolbar.c:
956         * src/hildon-entry.c:
957         * src/hildon-picker-button.c:
958         * src/hildon-program.c:
959         * src/hildon-text-view.c:
960         * src/hildon-time-button.c:
961         * src/hildon-touch-selector-entry.c:
962         * src/hildon-window-stack.c:
963
964         Add more "since" tags to the new API.
965
966 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
967
968         * doc/hildon-sections.txt: Add below method.
969         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
970         version for the hildonized scale.
971         * src/hildon-gtk.h: Add the definition.
972
973         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
974
975 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
976
977         * doc/hildon-sections.txt: Add missing entries for new methods.
978
979 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
980
981         Added API to pannable are in order to get its adjustments. We
982         added two properties to manage the values we had in the private
983         structure.
984
985         * src/hildon-pannable-area.c:
986         (hildon_pannable_area_class_init): Added hadjustment and
987         vadjustment properties in order to expose horizontal and vertical
988         adjustment.
989         (hildon_pannable_area_get_property),
990         (hildon_pannable_area_set_property): Added code to handle the new
991         properties
992         (hildon_pannable_area_get_hadjustment),
993         (hildon_pannable_area_get_vadjustment): API functions to get the
994         adjustments
995         * src/hildon-pannable-area.h:
996         (hildon_pannable_area_get_hadjustment),
997         (hildon_pannable_area_get_vadjustment): API functions to get the
998         adjustments
999
1000 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
1001
1002         Fixed some leaks, after valgrinding.
1003
1004         * src/hildon-touch-selector.c:
1005         (_default_print_func): Fixed a leak.
1006         (hildon_touch_selector_append_column): Fixed a leak.
1007         * src/hildon-date-button.c:
1008         (hildon_date_button_init): Fixed a leak.
1009         * src/hildon-date-selector.c
1010         (hildon_date_selector_finalize): Fixed a leak.
1011
1012 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
1013
1014         Based on a patch by Christian Dywan (christian@imendio.com)
1015
1016         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1017         GtkHScale.
1018         * src/hildon-gtk.h: Add definition.
1019
1020         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1021
1022 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1023
1024         * src/hildon-picker-button.c: (hildon_picker_button_init),
1025         (hildon_picker_button_new): Set the HildonButton::style property
1026         in the init method, to propagate the value to the derived classes.
1027
1028 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1029
1030         * src/hildon-button.c: (hildon_button_class_init): Do not make
1031         the "style" property a construct property.
1032
1033 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1034
1035         * src/hildon-wizard-dialog.h
1036         * src/hildon-wizard-dialog.c
1037         (hildon_wizard_dialog_set_forward_page_func)
1038         * src/hildon-pannable-area.h
1039         * src/hildon-pannable-area.c
1040         (hildon_pannable_area_set_size_request_policy):
1041         Documentation fixes.
1042
1043 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1044
1045         * doc/hildon-sections.txt: Fixed warning about unused symbols.
1046
1047 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1048
1049         * doc/hildon-sections.txt: Added sections file.
1050
1051 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1052
1053         * AUTHORS: Updates.
1054         * src/*.[ch]: Updates.
1055
1056 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
1057
1058         * examples/hildon-progress-indicator-example.c: new file
1059         * examples/Makefile.am: include the new example program
1060
1061 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
1062
1063         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1064
1065 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1066
1067         * configure.ac: post release version bump
1068         * debian/changelog: version bump
1069
1070 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1071
1072         [Release 2.1.28]
1073
1074         * NEWS: updates
1075         * configure.ac: bump version
1076         * debian/changelog: updates
1077         * debian/control: bump gtk+ dependency
1078
1079 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1080
1081         * src/hildon-dialog.c: Mark as deprecated.
1082         * src/hildon-dialog.h: Mark as deprecated.
1083         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1084         from HildonDialog and still work, even if
1085         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1086         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1087
1088         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1089         maemo changes) instead)
1090
1091 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
1092
1093         * src/hildon-pannable_area.h:
1094         * src/hildon-pannable_area.c:
1095         (hildon_pannable_area_class_init),
1096         (hildon_pannable_area_set_property),
1097         (hildon_pannable_area_get_property),
1098         (hildon_pannable_area_size_request),
1099         (hildon_pannable_area_get_size_request_policy),
1100         (hildon_pannable_area_set_size_request_policy): Added new API
1101         allowing applications to control the request policy. Now they can
1102         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1103         children allocation (HILDON_MOVEMENT_CHILDREN).
1104
1105 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
1106
1107         * src/hildon-gtk.h
1108         * src/hildon-gtk.c
1109         (hildon_gtk_tree_view_set_ui_mode)
1110         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1111         mode of treeviews and iconviews.
1112
1113 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1114
1115         * src/hildon-touch-selector-entry.c:
1116         (hildon_touch_selector_entry_init): Use a HildonEntry instead
1117         of a GtkEntry to get proper theming.
1118
1119         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1120         widget, not GtkEntry)
1121
1122 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1123
1124         * src/hildon-wizard-dialog.c: (response): Move forward if there is
1125         no HildonWizardDialogPageFunc.
1126
1127 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1128
1129         Patch contributed by Iván Gómez (igomez@igalia.com)
1130
1131         * src/hildon-app-menu.c:
1132         * src/hildon-button.c:
1133         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1134         * src/hildon-stackable-window.c:
1135         * src/hildon-time-selector.c:
1136         * src/hildon-touch-selector.c:
1137         * src/hildon-window.c:
1138
1139         Add more "since" tags to the new API in hildon 2.2.
1140
1141 2008-12-05  Tim Janik  <timj@imendio.com>
1142
1143         Patch contributed by Christian Dywan (christian@imendio.com)
1144
1145         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1146         HildonSizeType, which are supplied by Gtk+ now.
1147
1148         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1149
1150         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1151         (with maemo changes) instead)
1152
1153 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
1154
1155         Patch contributed by Iván Gómez (igomez@igalia.com)
1156
1157         * src/hildon-pannable-area.c: Add "since" tags to the new API in
1158         hildon 2.2.
1159
1160 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
1161
1162         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1163         (some_page_func), (main): Update the example to use a
1164         HildonWizardDialogPageFunc function.
1165
1166         * src/hildon-wizard-dialog-private.h: Add private data for
1167         the HildonWizardDialogPageFunc function usage.
1168
1169         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1170         (destroy), (hildon_wizard_dialog_init), (response),
1171         (hildon_wizard_dialog_set_forward_page_func):
1172         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1173         that applications can use to stop a HildonWizardDialog to jump to
1174         the next page.
1175
1176         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1177         next page)
1178
1179 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
1180
1181         * src/hildon-program.h
1182         * src/hildon-program-private.h
1183         * src/hildon-program.c (hildon_program_init)
1184         (hildon_program_set_common_app_menu)
1185         (hildon_program_get_common_app_menu):
1186         New API for setting a common HildonAppMenu for all
1187         HildonStackableWindows registered with the HildonProgram.
1188
1189         * src/hildon-stackable-window.c
1190         (hildon_stackable_window_toggle_menu):
1191         Use the common HildonAppMenu if a window doesn't have a specific
1192         one.
1193
1194         * src/hildon-app-menu-private.h
1195         * src/hildon-app-menu.c
1196         (hildon_app_menu_get_parent_window):
1197         Function to obtain the window a HildonAppMenu is attached to.
1198         (hildon_app_menu_set_parent_window):
1199         Hide the menu if the parent window is set to NULL.
1200
1201 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
1202
1203         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1204         set GtkTreeView::enable-search to FALSE, to avoid the interactive
1205         search widget to popup.
1206
1207 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
1208
1209         * configure.ac: post release version bump
1210         * debian/changelog: version bump
1211
1212 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
1213
1214         [Release 2.1.26]
1215
1216         * NEWS: updates
1217         * configure.ac: bump version
1218         * debian/changelog: updates
1219
1220 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1221
1222         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1223
1224         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1225         (hildon_window_stack_window_realized)
1226         (hildon_window_stack_remove, _hildon_window_stack_do_push):
1227         Set the leader GdkWindow when a window is stacked and realized,
1228         unset it when it's unstacked.
1229         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1230
1231         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1232
1233 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1234
1235         * src/hildon-stackable-window.h
1236         * src/hildon-window-stack.h:
1237         Protect definition of HildonWindowStack using the preprocessor.
1238
1239 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1240
1241         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1242         Fix warning if all menu items are hidden.
1243
1244 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
1245
1246         Patch contributed by Daniel Borgmann (danielb@openismus.com)
1247
1248         * src/hildon-controlbar.c:
1249         * src/hildon-hvolumebar.c:
1250         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1251         Multiple scale size defines updates.
1252
1253         Fixes: NB#94322 (Scale Updates)
1254
1255 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1256
1257         * examples/hildon-app-menu-example.c (create_menu)
1258         Show items after adding them to the menu, as in the future the
1259         menu will no longer call gtk_widget_show() on the added items.
1260
1261         * src/hildon-app-menu.c:
1262         Update example as explained above.
1263
1264 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1265
1266         * src/hildon-app-menu.c
1267         (hildon_app_menu_insert, hildon_app_menu_add_filter):
1268         Make sure that all menu items have finger height.
1269
1270 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
1271
1272         * src/hildon-picker-dialog.c:
1273         (_on_dialog_response), (_save_current_selection),
1274         (_restore_current_selection), (_clean_current_selection),
1275         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1276         Defined new functions in order to save the current internal selector
1277         selection previous open the dialog, in case that the use cancel the
1278         interaction, so the widget restores the previous selection.
1279
1280         Fixes: NB#92032 (In calendar application, date values in 'new event' 
1281         are not proper)
1282
1283         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1284
1285 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
1286
1287         * src/hildon-button.c: Add a reference to the button examples in
1288         hildon-button-example.c
1289
1290         * examples/hildon-button-example.c: Added examples of the most
1291         common button layouts.
1292
1293 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
1294
1295         * src/hildon-app-menu.c (hildon_app_menu_show)
1296         (hildon_app_menu_class_init): Don't show the menu if it's empty.
1297
1298         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1299
1300 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1301
1302         * src/hildon-picker-dialog.c:
1303         (hildon_picker_dialog_init): Initialize the signal id for
1304         HildonTouchSelector::columns-changed.
1305         (+on_selector_columns_changed): Set up the interaction mode everytime a
1306         column is added or removed from the HildonTouchSelector.
1307         (_hildon_picker_dialog_set_selector): Connect to
1308         HildonTouchSelector::columns-changed and keep track of it.
1309
1310         Make sure to update the interaction mode of the dialog everytime a
1311         column is added or removed in the HildonTouchSelector.
1312
1313         Fixes: NB#93228 (Done button is not shown always in listpicker)
1314
1315 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1316
1317         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1318         a new ::columns-changed signal.
1319         (hildon_touch_selector_append_column): Emit ::columns-changed.
1320         (hildon_touch_selector_remove_column): Emit ::columns-changed.
1321
1322         Add a ::columns-changed signal, emitted when the number of columns in a
1323         HildonTouchSelector changes.
1324
1325 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1326
1327         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1328         (_hildon_picker_dialog_set_selector): Factor out the code
1329         to set up the dialog interaction mode.
1330
1331 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1332
1333         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1334         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1335         to signal_changed_id.
1336
1337 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1338
1339         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1340         Minor doc. fixes.
1341
1342 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
1343
1344         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1345         Updated the logical ids related to ampm format, as now it is required to
1346         show it correctly localized even on languages with no default
1347         abbreviations for am or pm
1348         (_check_am_pm_format): check correctly the 24h format gconf property
1349
1350         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1351
1352 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
1353
1354         * src/hildon-button.c: Documentation updates.
1355
1356 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1357
1358         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1359         * src/hildon-caption.c: (hildon_caption_class_init):
1360         * src/hildon-color-button.c: (hildon_color_button_class_init):
1361         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1362         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1363         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1364         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1365
1366         Remove deprecated GTK+ marshalers and replace them with the ones
1367         provided by GLib, for those available, add a marshaler for
1368         BOOLEAN:VOID, which is not available in GLib, and use it.
1369
1370 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1371
1372         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1373         the text from the previous column if there is no
1374         HildonTouchSelectorColumn::text-property set.
1375
1376 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
1377
1378         * src/hildon-button.h
1379         * src/hildon-button.c (hildon_button_set_property)
1380         (hildon_button_get_property, hildon_button_class_init)
1381         (hildon_button_set_style, hildon_button_get_style):
1382         New "style" property to change the visual appearance of the
1383         button.
1384
1385         * src/hildon-picker-button.c (hildon_picker_button_new):
1386         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1387
1388         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1389         HildonButton look like PickerButton)
1390
1391 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1392
1393         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1394         column while building the default string.
1395
1396 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
1397
1398         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1399         scroll indicator by default.
1400
1401         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1402
1403 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
1404
1405         * src/hildon-main.c: Fix the documentation for hildon_init()
1406
1407 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1408
1409         * doc/hildon-docs.sgml
1410         * doc/hildon.types
1411         * src/Makefile.am
1412         * src/hildon.h
1413         * src/hildon-window-stack-private.h
1414         * src/hildon-window-stack.h
1415         * src/hildon-window-stack.c:
1416         New HildonWindowStack object, that adds support for multiple
1417         stacks of windows per process.
1418
1419         * src/hildon-stackable-window-private.h
1420         * src/hildon-stackable-window.h
1421         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1422         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1423         (hildon_stackable_window_show, hildon_stackable_window_hide)
1424         (hildon_stackable_window_class_init)
1425         (hildon_stackable_window_init):
1426         Use HildonWindowStack for stack management.
1427
1428         * src/hildon-program.c (hildon_program_pop_window_stack)
1429         (hildon_program_peek_window_stack)
1430         (hildon_program_go_to_root_window):
1431         Add a fallback implementation to the deprecated functions using
1432         HildonWindowStack.
1433
1434         * examples/hildon-stackable-window-example.c:
1435         Use the new HildonWindowStack API.
1436
1437 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1438
1439         * src/hildon-stackable-window-private.h
1440         * src/hildon-stackable-window.c (hildon_stackable_window_show)
1441         (hildon_stackable_window_hide, hildon_stackable_window_init):
1442         Remove all window stack management.
1443
1444         * src/hildon-program-private.h
1445         * src/hildon-program.h
1446         * src/hildon-program.c (hildon_program_init)
1447         (hildon_program_pop_window_stack)
1448         (hildon_program_peek_window_stack)
1449         (hildon_program_go_to_root_window):
1450         Remove all window stack management and mark functions as
1451         deprecated.
1452
1453 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1454
1455         * src/hildon-app-menu.c (hildon_app_menu_realize):
1456         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1457
1458 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1459
1460         * configure.ac: post release version bump
1461         * debian/changelog: version bump
1462
1463 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1464
1465         [Release 2.1.24]
1466
1467         * NEWS: updates
1468         * configure.ac: bump version
1469         * debian/changelog: updates
1470
1471 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1472
1473         Based on initial code by Christian Dywan (christian@imendio.com)
1474
1475         * doc/hildon-docs.sgml: Add section for hildon-main.
1476         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1477         * src/Makefile.am: Add new hildon-main.[ch]
1478         * src/hildon-defines.h: Update the icon sizes.
1479         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1480         new library initialization files and register icon sizes.
1481         * src/hildon-main.h: New declarations.
1482         * src/hildon.h: Include hildon-main.h
1483
1484         Add new initialization functions to the library. These methods
1485         will register the hildon specific icon sizes and can be used in the
1486         future for other hildon specific bits.
1487
1488         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1489
1490 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
1491
1492         * src/hildon-window.c: (hildon_window_realize),
1493         (hildon_window_notify), (-hildon_window_update_title): Do not set
1494         the application name in the window title.
1495
1496         Fixes: NB#89754 (Applications shouldn't display their names in the
1497         window title)
1498
1499 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
1500
1501         * src/hildon-note-private.h:
1502         * src/hildon-note.c: (hildon_note_set_property),
1503         (hildon_note_get_property), (hildon_note_class_init),
1504         (hildon_note_init), (hildon_note_finalize),
1505         (hildon_note_new_confirmation_with_icon_name),
1506         (hildon_note_new_information_with_icon_name):
1507
1508         No need to mark as deprecated the actual code. Revert
1509         to avoid missing symbols in widgets using deprecated API.
1510
1511 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
1512
1513         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1514
1515         * src/hildon-volumebar.h
1516         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1517         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1518
1519         * src/hildon-helper.h
1520         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1521         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1522
1523         * examples/Makefile.am:
1524         Deprecate hildon-insensitive-example
1525
1526         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1527
1528 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
1529
1530         * examples/hildon-pannable-area-buttons-scroll-example.c:
1531         Make all buttons finger height
1532
1533 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
1534
1535         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1536         documentation
1537         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1538         update the day model only if it is really required, and to avoid the
1539         full-reconstruction aproach. Now it only add or remove the required days.
1540
1541         The purpose of this is avoid superfluous HildonTouchSelector::changed
1542         signals
1543
1544         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1545         with strange parameters)
1546
1547 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
1548
1549         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1550
1551         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1552         the WINDOW_TYPE property.
1553
1554         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1555
1556 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
1557
1558         * doc/gtk-doc.make:
1559         Fix dependency to allow parallel compilation with make -jX
1560
1561 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
1562
1563         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1564         color frame and some minor tweaks to make it more consistent with
1565         current theming.
1566
1567         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1568         highlighted but not visible)
1569
1570 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1571
1572         * examples/Makefile.am: Fixed typo in the Makefile.am.
1573
1574 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1575
1576         Reviewed the use of MAEMO_GTK define, now we add the define in the
1577         compilation line, and we also add it to the pc file.
1578
1579         * configure.ac: Added MAEMO_GTK define to the compilation command
1580         and removed it from the config.h.
1581
1582         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1583         do not have to take care about this define if the library was
1584         compiled with it.
1585
1586         * src/hildon-gtk.c:
1587         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1588
1589 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1590
1591         * examples/Makefile.am,
1592         * examples/hildon-pannable-area-buttons-scroll-example.c,
1593         * examples/hildon-pannable-area-gesture-signals-example.c,
1594         * examples/hildon-pannable-area-scroll-jump-example.c,
1595         * examples/hildon-pannable-area-tree-view-example.c:
1596         Renamed the pannable area examples, now they have more meaningful
1597         names.
1598
1599 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
1600
1601         * src/hildon-touch-selector.c:
1602         (hildon_touch_selector_set_column_selection_mode): Used of
1603         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1604         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1605         to avoid re-seting the same selection mode.
1606
1607         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1608         breaks HildonPickerDialog)
1609
1610 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
1611
1612         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1613         conditional in the Makefile.am
1614
1615 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
1616
1617         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1618         Remove unused methods.
1619
1620 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
1621
1622         * src/hildon-button.c (hildon_button_init):
1623         Make button images center-aligned by default
1624
1625 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
1626
1627         * src/hildon-gtk.c:
1628         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1629         activated, we have to think about how to deal with both defines
1630         MAEMO_GTK and MAEMO_CHANGES.
1631
1632 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
1633
1634         * examples/hildon-app-menu-example.c (create_menu): Make all
1635         buttons finger size.
1636
1637 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
1638
1639         Fixed the compilation without maemo gtk adding ifdefs with
1640         MAEMO_GTK define to the code, we have to check this version more
1641         carefully.
1642
1643         * examples/Makefile.am: Added control to avoid some examples that
1644         just make sense with maemo gtk.
1645
1646         * src/hildon-gtk.c:
1647         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1648         hildon modes with the define.
1649
1650         * examples/hildon-edit-toolbar-example.c,
1651         (create_icon_view): Create the icon view without hildon-gtk
1652         helpers if we are not using maemo gtk.
1653
1654         * src/hildon-touch-selector.c,
1655         (_create_new_column): Create the treeview without hildon-gtk
1656         helpers if we are not using maemo gtk.
1657
1658 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
1659
1660         * src/hildon-pnnable-area.c,
1661         (hildon_pannable_area_dispose),
1662         (hildon_pannable_area_button_press_cb),
1663         (hildon_pannable_area_child_mapped),
1664         (hildon_pannable_area_add),
1665         (hildon_pannable_area_remove): Added code to control the position
1666         of the event_window when adding and removing children from the
1667         pannable. We have to raise the event window when the child is
1668         mapped.
1669
1670         Fixes: NB#89811 (Not able to select first image thumbnail in multi
1671         selection mode using custom widget inside pannable)
1672
1673 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
1674
1675         * configure.ac: post release version bump
1676         * debian/changelog: version bump
1677
1678 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
1679
1680         [Release 2.1.22]
1681
1682         * NEWS: updates
1683         * configure.ac: bump version
1684         * debian/changelog: updates
1685
1686 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
1687
1688         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1689         search mode, in order to avoid lose the focus on the treeview when
1690         a hw key (like enter) is pressed.
1691
1692         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1693         in HildonDateSelector dialog)
1694
1695 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
1696
1697         * debian/rules: Added --enable-maintainer-mode
1698         * Makefile.am: Added ACLOCAL_AMFLAGS
1699
1700         This allows to properly regenerate the Makefiles if you modify the
1701         configure.ac or any Makefile.am.
1702
1703 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1704
1705         * examples/hildon-app-menu-example.c: (main): Do not set RC style
1706         properties, not needed at all.
1707
1708 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1709
1710         * src/hildon-note-private.h: Add strings for the icon and stock_icon
1711         properties.
1712         * src/hildon-note.c: (hildon_note_set_property),
1713         (hildon_note_get_property), (hildon_note_class_init),
1714         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1715         (hildon_note_new_confirmation_add_buttons): Remove icons.
1716         (hildon_note_new_confirmation_with_icon_name): Deprecate.
1717         (hildon_note_new_information_with_icon_name): Deprecate.
1718         (hildon_note_new_confirmation): Act directly, without calling
1719         the deprecated constructor.
1720         (hildon_note_new_information): Act directly, without calling
1721         the deprecated constructor.
1722         * src/hildon-note.h: Mark deprecate methods as such.
1723         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1724         not run tests on the deprecated methods if built with deprecation
1725         disabled.
1726
1727         Fixes: NB#91688 (Never show icons in information notes/confirmation
1728         notes)
1729
1730 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1731
1732         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1733         (hildon_app_menu_key_press): Remove leftover usage of the
1734         private structure in HildonAppMenu struct.
1735         * src/hildon-app-menu.h: Remove leftover private structure
1736         from the HildonAppMenu struct.
1737
1738         Fixes a crasher when using the HildonAppMenu.
1739
1740 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
1741
1742         * src/hildon-picker-dialog.c: Use appropriate logical id
1743         for the default "Done" text.
1744
1745 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
1746
1747         * configure.ac: post release version bump
1748         * debian/changelog: version bump
1749
1750 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
1751
1752         Modified the way to scroll to the current selection just when the touch
1753         selector is shown on the screen, avoiding a g_idle. Added too a property
1754         to configure this behaviour. See hildon_pannable_area_jump_to_child
1755         documentation for more information.
1756
1757         * src/hildon-touch-selector.c
1758         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1759         Added 'initial-scroll' property
1760         (hildon_touch_selector_set_property): Added
1761         (hildon_touch_selector_map): Removed as not required anymore
1762         (_hildon_touch_selector_on_selected_items): Modified in order to manage
1763         only a concrete column, instead of iterate along all the columns
1764
1765 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1766
1767         [Release 2.1.20]
1768
1769         * NEWS: updates
1770         * configure.ac: bump version
1771         * debian/changelog: updates
1772
1773 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1774
1775         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1776         compilation time warnings.
1777
1778 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1779
1780         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1781         the default value for HildonPannableArea::mov-mode to
1782         HILDON_PANNABLE_AREA_MODE_VERT.
1783
1784         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1785
1786 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1787
1788         Reverting following commit:
1789
1790         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
1791
1792           * src/hildon-app-menu-private.h
1793           * src/hildon-app-menu.[ch]
1794           * src/hildon-button.[ch]
1795           * src/hildon-check-button.[ch]
1796           * src/hildon-entry.[ch]
1797           * src/hildon-pannable-area.[ch]
1798           * src/hildon-text-view.[ch]:
1799           Added private field to the object's structure.
1800
1801         because it causes an ABI breakage. We will need to introduce these
1802         changes later at some point. See NB#91636 for an extensive
1803         explanation and status.
1804
1805 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1806
1807         Patch contributed by Daniel Borgmann (danielb@openismus.com)
1808
1809         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1810         remove special cases that are no longer necessary.
1811
1812         Fixes: NB#91016 (Change toolbar sizes, simplification)
1813
1814 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
1815
1816         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1817         is shown in the cancel note.
1818
1819 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
1820
1821         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1822         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1823         (hildon_seekbar_init): Remove steppers, remove expose event.
1824         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1825
1826         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1827
1828 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
1829
1830         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1831         label font to "SmallSystemFont" for vertically arranged buttons.
1832
1833         Fixes: NB#90662 (HildonButton "value" and "detail" text is
1834         unformatted)
1835
1836 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
1837
1838         * src/hildon-check-button.c
1839         (hildon_check_button_set_active, hildon_check_button_clicked):
1840         Don't access private parts directly, use getters instead.
1841
1842 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
1843
1844         * src/hildon-check-button.c (hildon_check_button_new):
1845         Align the contents of the check button to the left.
1846
1847 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1848
1849         * src/hildon-pannable-area.c,
1850         (hildon_pannable_area_scroll_to),
1851         (hildon_pannable_area_jump_to),
1852         (hildon_pannable_area_scroll_to_child),
1853         (hildon_pannable_area_jump_to_child): Replace the mapped
1854         precondition of these functions with the realized, it is the
1855         correct state of the widget in this case. Changed the
1856         documentation according to this modification.
1857
1858 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1859
1860         Added a new EXTRA_CFLAGS option to add the deprecated define to
1861         the compilation command. This way we can avoid using the define in
1862         the documentation compilation.
1863
1864         * configure.ac: Defined EXTRA_CFLAGS.
1865
1866         * examples/Makefile.am:
1867         * src/Makefile.am:
1868         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1869
1870 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
1871
1872         * src/hildon-picker-dialog.c:
1873         Defined a utility macro with the desired touch selector height
1874         Removed currently unused separator, and title_label variables from
1875         private structure.
1876         (hildon_picker_dialog_init): Removed code related to the creation
1877         of unused private variables title_label and separator.
1878         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1879         to ensure correct visualization of the touch selector inside the dialog.
1880         * src/hildon-touch-selector.c
1881         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1882         ensure a concrete height of the widget.
1883
1884 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1885
1886         * src/Makefile.am:
1887         * tests/Makefile.am:
1888
1889         Remove spurious whitespaces.
1890
1891 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1892
1893         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1894         compilation warning after the cancel button removal.
1895
1896 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1897
1898         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1899
1900         * configure.ac: Added an AM_CONDITIONAL in order to use in the
1901         Makefile.am, that way we can choose not to compile some examples
1902         and tests of the deprecated widgets.
1903
1904         * examples/Makefile.am: Divided the sources in deprecated and
1905         non-deprecated.
1906
1907         * src/Makefile.am: Added undef statement of the deprecated
1908         symbol to the enums file generation process.
1909
1910         * src/hildon-color-chooser-dialog.c
1911         * src/hildon-color-chooser-dialog.h
1912         * src/hildon-color-button.c
1913         * src/hildon-color-button.h
1914         * src/hildon-color-chooser.c
1915         * src/hildon-color-chooser.h
1916         * src/hildon-controlbar.c
1917         * src/hildon-controlbar.h
1918         * src/hildon-date-editor.c
1919         * src/hildon-date-editor.h
1920         * src/hildon-hvolumebar.c
1921         * src/hildon-hvolumebar.h
1922         * src/hildon-private.c
1923         * src/hildon-private.h
1924         * src/hildon-range-editor.c
1925         * src/hildon-range-editor.h
1926         * src/hildon-seekbar.c
1927         * src/hildon-seekbar.h
1928         * src/hildon-time-editor.c
1929         * src/hildon-time-editor.h
1930         * src/hildon-time-picker.c
1931         * src/hildon-time-picker.h
1932         * src/hildon-volumebar.c
1933         * src/hildon-volumebar.h
1934         * src/hildon-vvolumebar.c
1935         * src/hildon-vvolumebar.h
1936         * src/hildon-bread-crumb-trail.h
1937         * src/hildon-bread-crumb-trail.c
1938         * src/hildon-calendar-popup.c
1939         * src/hildon-calendar-popup.h
1940         * src/hildon-weekday-picker.c:
1941         * src/hildon-weekday-picker.h:
1942         * src/hildon-bread-crumb-widget.c:
1943         * src/hildon-bread-crumb-widget.h:
1944         * src/hildon-bread-crumb.c:
1945         * src/hildon-bread-crumb.h:
1946         * src/hildon-calendar.c:
1947         * src/hildon-calendar.h:
1948         * src/hildon-caption.c:
1949         * src/hildon-code-dialog.c:
1950         * src/hildon-code-dialog.h:
1951         * src/hildon-font-selection-dialog.c:
1952         * src/hildon-font-selection-dialog.h:
1953         * src/hildon-get-password-dialog.c:
1954         * src/hildon-get-password-dialog.h:
1955         * src/hildon-login-dialog.c:
1956         * src/hildon-login-dialog.h:
1957         * src/hildon-number-editor.c:
1958         * src/hildon-number-editor.h:
1959         * src/hildon-set-password-dialog.c:
1960         * src/hildon-set-password-dialog.h:
1961         * src/hildon-sort-dialog.c:
1962         * src/hildon-sort-dialog.h: This is the list of deprecated
1963         widgets.
1964
1965         * src/hildon-touch-selector.c:
1966         * src/hildon-window.c: Added undef statement to avoid compilation
1967         warnings
1968
1969         * tests/Makefile.am: Divided the sources in deprecated and
1970         non-deprecated.
1971
1972         * tests/check_test.c,
1973         (configure_tests): Marked the deprecated code that was adding
1974         suites with deprecated tests.
1975
1976         Fixes: NB#91135 (Deprecate legacy hildon widgets)
1977
1978 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1979
1980         * src/hildon-touch-selector.c: (_default_print_func): Do not
1981         duplicate a string returned by gtk_tree_model_get(), it is already
1982         allocated for us.
1983
1984         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
1985         function)
1986
1987 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
1988
1989         * src/hildon-pannable-area.c
1990         (hildon_pannable_area_add_with_viewport): Reviewed the complete
1991         method, it had problems when adding a widget with viewport the
1992         second time. Now checks if it already has a viewport and uses it.
1993
1994         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
1995         on child)
1996
1997 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
1998
1999         * src/hildon-pannable-area.c,
2000         (hildon_pannable_area_scroll_to),
2001         (hildon_pannable_area_jump_to),
2002         (hildon_pannable_area_scroll_to_child),
2003         (hildon_pannable_area_jump_to_child): Added a precondition to the
2004         scroll and jump to functions: the widget must be mapped before we
2005         can safely call these functions. We have also added documentation
2006         to the functions to explain how to use them in this situation.
2007
2008
2009 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
2010
2011         Reviewed the threading handling of the pannable widget, we have
2012         used the gdk_threads_add_timeout function instead of the usual
2013         glib handlers. This avoids some problems with the threads.
2014
2015         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2016         (hildon_pannable_area_initial_effect),
2017         (hildon_pannable_area_scroll_indicator_fade),
2018         (hildon_pannable_area_button_press_cb),
2019         (hildon_pannable_area_timeout),
2020         (hildon_pannable_area_motion_notify_cb),
2021         (hildon_pannable_area_button_release_cb),
2022         (hildon_pannable_area_scroll_cb),
2023         (hildon_pannable_area_scroll_to): Removed the
2024         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2025         gdk_threads_add_timeout.
2026
2027         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2028
2029 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2030
2031         [Release 2.1.18]
2032
2033         * NEWS: updates
2034         * configure.ac: bump version
2035         * debian/changelog: updates
2036
2037 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2038
2039         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2040         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2041         * src/hildon-color-chooser-dialog.c:
2042         (hildon_color_chooser_dialog_init):
2043         * src/hildon-font-selection-dialog.c:
2044         (hildon_font_selection_dialog_init):
2045         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2046
2047         Remove all cancel/close-like dialogs, as these are not going to be
2048         displayed at all.
2049
2050 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2051
2052         * src/hildon-note.c: (hildon_note_rebuild),
2053         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2054         when needed.
2055
2056         Fixes: NB#90661 (Delete dialog is displayed without NO button)
2057
2058 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2059
2060         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2061         sure all buttons are shown, even the Cancel/Close-like ones.
2062
2063         Fixes: NB#90861 (Custom Confirmation dialogs should be
2064         protected from cancel button removal)
2065
2066 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
2067
2068         * debian/control: Change libhildon1-examples dependency from libhildon1
2069         to libhildon1-dev
2070         * debian/libhildon1-examples.install
2071         * debian/rules
2072         * Makefile.am: Modified the final install directory for the examples on
2073         package libhildon1-examples
2074         * Makefile.static: Update clean target in order to remove all the binary
2075         examples
2076
2077         Changes suggested by Claudio after review new libhildon1-examples package
2078
2079 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
2080
2081         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2082         * src/hildon-touch-selector.c: Ditto.
2083
2084 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
2085
2086         * debian/control: Added new package libhildon1-examples, in order to pack
2087         the current hildon examples as documentation
2088         * debian/rules: Not to compress .c files, modify some includes on the
2089         examples (as normally are compiled locally, but when installed it will
2090         require to include the installed libhildon1 library), and rename
2091         Makefile.static
2092         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2093         install all the example files on the new example package
2094         * examples/Makefile.static: Added static makefile that can be used to
2095         compile the examples, once installed the new example package
2096         * examples: Most of the examples were modified in order to grant that
2097         all use only '#include "hildon.h"', in order to be easy to prepare
2098         it on the example package
2099
2100 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
2101
2102         * debian/control
2103         * debian/libhildon1-dev.install
2104         * debian/libhildon1-doc.install:
2105         Move all gtk-doc files to a separate libhildon1-doc package.
2106
2107 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
2108
2109         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
2110
2111         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2112
2113 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
2114
2115         * debian/rules: Fixed a error in order to avoid unnecessary calls
2116         to autogen.sh on package building
2117
2118 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
2119
2120         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2121
2122 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
2123
2124         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2125         header include.
2126
2127 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
2128
2129         * src/hildon-picker-button.c
2130         (hildon_picker_button_finalize):
2131         Free priv->done_button_text
2132
2133         * src/hildon-time-button.c
2134         (hildon_time_button_set_time)
2135         * src/hildon-picker-button.c
2136         (hildon_picker_button_clicked)
2137         (hildon_picker_button_selector_selection_changed)
2138         (hildon_picker_button_set_selector)
2139         * src/hildon-date-button.c
2140         (hildon_date_button_set_date):
2141         Free strings returned by hildon_touch_selector_get_current_text()
2142
2143         * src/hildon-button.c (hildon_button_construct_child):
2144         Fix leaks in priv->image and priv->label_box
2145
2146         Fixes: NB#90535 (Memory leak in picker button)
2147
2148 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
2149
2150         * src/hildon-button.c: (hildon_button_get_property): Do not access
2151         private elements directly, use getters instead.
2152
2153 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2154
2155         * src/hildon-app-menu-private.h
2156         * src/hildon-app-menu.c
2157         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2158         Store the menu's parent window.
2159
2160         * src/hildon-stackable-window.c
2161         (hildon_stackable_window_toggle_menu)
2162         (hildon_stackable_window_finalize):
2163         Set the menu's parent window when the menu is shown, unset it when
2164         it is destroyed.
2165
2166         * src/hildon-app-menu.c
2167         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2168         (hildon_app_menu_class_init):
2169         Send unhandled keyboard accelerators to the parent window.
2170
2171 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2172
2173         * src/hildon-stackable-window.c
2174         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2175
2176 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2177
2178         * configure.ac: post release version bump
2179
2180 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2181
2182         * NEWS: Updates
2183         * configure.ac: Bump version
2184         * debian/changelog: Updates
2185         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2186         gtk-doc 1.10.
2187
2188 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2189
2190         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2191
2192         * src/hildon-gtk.h
2193         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2194         GtkMenu with Hildon style.
2195
2196 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2197
2198         * src/hildon-picker-button.c:
2199         (hildon_picker_button_set_done_button_text): Set the dialog's
2200         done button text here as well.
2201
2202         Fixes: NB#90232 (Picker button does not set the label on done button
2203         for the second time)
2204
2205 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2206
2207         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2208         warning message.
2209
2210 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
2211
2212         * src/hildon-app-menu.c (hildon_app_menu_insert)
2213         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2214         the HildonAppMenu to be activatable using keyboard accelerators
2215         when the menu is not being shown.
2216
2217         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2218
2219 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
2220
2221         * src/hildon-stackable-window.c
2222         (hildon_stackable_window_show):
2223         Don't hide old windows automatically when new windows are shown:
2224         this is now a task for the window manager.
2225         (hildon_stackable_window_class_init)
2226         (hildon_stackable_window_hide):
2227         Remove windows from the stack everytime they're hidden.
2228         (hildon_stackable_window_realize):
2229         Don't change the _NET_WM_WINDOW_TYPE property. Use
2230         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2231         it as a stackable window.
2232
2233         * src/hildon-program.c
2234         (hildon_program_pop_window_stack):
2235         Just hide the window to remove it from the stack.
2236         (hildon_program_go_to_root_window):
2237         Don't call gtk_widget_show(), this is now a task for the window
2238         manager.
2239
2240         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2241
2242 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
2243
2244         * src/hildon-button.c
2245         (hildon_button_construct_child):
2246         Don't pack anything in the button until text or image are
2247         set. This allows adding a custom child after creating the button
2248         with hildon_button_new().
2249         (hildon_button_finalize, hildon_button_class_init)
2250         (hildon_button_init, hildon_button_set_arrangement): Destroy the
2251         alignment and the label box even when they're not packed in the
2252         button.
2253
2254 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
2255
2256         * src/hildon-touch-selector.h:
2257         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2258         currently the type definition was using GTK_TYPE_VBOX
2259         * src/hildon-touch-selector.c:
2260         Added some implementation notes in order to clarify that any other widget
2261         added without the column related API will not be included on the
2262         selection logic, and how the widget is freed, as some people ask about
2263         it.
2264         (hildon_touch_selector_remove): Reimplemented in order to free properly
2265         the column related data when you remove the private hbox.
2266         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2267         to get a proper HildonTouchSelectorColumn documentation
2268
2269 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
2270
2271         * src/hildon-touch-selector-entry.c:
2272         (hildon_touch_selector_entry_print_func): Return NULL if there is no
2273         text in the GtkEntry and there is no item selected. Fixes a
2274         potential crasher.
2275
2276 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
2277
2278         * src/hildon-app-menu-private.h
2279         * src/hildon-app-menu.[ch]
2280         * src/hildon-button.[ch]
2281         * src/hildon-check-button.[ch]
2282         * src/hildon-entry.[ch]
2283         * src/hildon-pannable-area.[ch]
2284         * src/hildon-text-view.[ch]:
2285         Added private field to the object's structure.
2286
2287 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
2288
2289         * configure.ac: post-release version bump
2290
2291 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
2292
2293         [Release 2.1.14]
2294
2295         * configure.ac: pre-release version bump
2296         * NEWS: updates.
2297         * debian/changelog: updates.
2298
2299 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
2300
2301         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2302         Disconnect the handler for HildonTouchSelector::changed.
2303
2304         (hildon_picker_button_selector_selection_changed): Update the button
2305         value if the selection change was not triggered by the
2306         HildonPickerDialog.
2307
2308         (hildon_picker_button_set_selector): connect to
2309         HildonTouchSelector::changed.
2310
2311         Fixes: NB#89650 (Picker button is not updated, when selection in
2312         selector has changed)
2313
2314 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
2315
2316         * src/hildon-picker-dialog.c
2317         (hildon_picker_dialog_realize): Removed as not required
2318         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2319         * src/hildon-picker-button.c
2320         (_current_selector_empty): New function, checks if the selector is empty
2321         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2322         if the current selector is empty, in order to avoid to show the dialog
2323         close the dialog in this case (and shows a g_warning).
2324
2325         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2326
2327 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
2328
2329         * src/hildon-pannable-area.c,
2330         (hildon_pannable_area_scroll): Added clause to stop movement when
2331         the child of pannable is smaller than one page.
2332         (hildon_pannable_area_scroll_to): Added conditions to avoid
2333         starting the scrolling movement if the child is smaller than one
2334         page, the complete child is in the screen, we do not have to move.
2335
2336         Fixes: NB#89632 (Picker button selection doesn't change on first click)
2337
2338 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2339
2340         * src/hildon-app-menu.c: Removed the 'columns' property, as now
2341         this is managed automatically by the widget when the size of the
2342         screen changes.
2343
2344 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2345
2346         * src/hildon-picker-button.c
2347         (hildon_picker_button_set_done_button_text): Make a copy of the
2348         text, and free the previous value.
2349
2350 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
2351
2352         * src/hildon-touch-selector-entry.c:
2353         (hildon_touch_selector_entry_print_func): Return the selected row's
2354         text if the entry is empty.
2355
2356         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2357         entry is empty)
2358
2359 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
2360
2361         * src/hildon-touch-selector-entry.c: Minor docs fixes.
2362
2363 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2364
2365         * doc/hildon.types
2366         * src/hildon-check-button.h
2367         * src/hildon-check-button.c
2368         * examples/hildon-check-button-example.c:
2369         HildonCheckButton is now a new widget. 'toggled' signal added.
2370
2371 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
2372
2373         * src/hildon-program-private.h
2374         * src/hildon-program.c (hildon_program_init)
2375         (hildon_program_finalize): Removed unused variables group_leader
2376         and name from HildonProgramPrivate.
2377
2378 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
2379
2380         * src/hildon-check-button.c (hildon_check_button_set_active)
2381         (hildon_check_button_get_active, hildon_check_button_new): Use
2382         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2383
2384 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
2385
2386         * src/hildon-touch-selector.h
2387         (hildon_touch_selector_set_column_attributes): added deprecation
2388         guard HILDON_DISABLE_DEPRECATED
2389         * src/hildon-time-selector.c
2390         (hildon_time_selector_set_time)
2391         (hildon_time_selector_get_time): Fixed a typo on documentation
2392         * src/hildon-touch-selector.c: update HildonTouchSelector and
2393         HildonTouchSelectorColumn documentation
2394         * src/hildon-touch-selector-entry.c: update "text-column" property
2395         documentation
2396         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2397         to be added to the general documentation.
2398
2399 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
2400
2401         * examples/hildon-pannable-area-example-4.c,
2402         (main),
2403         * examples/hildon-pannable-area-example.c,
2404         (main): Modified the code in order to use the container add, with
2405         viewport treeviews could have problems if they are really big.
2406
2407 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
2408
2409         * src/hildon-weekday-picker.c,
2410         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2411         the agreement regarding deprecation in the library.
2412
2413 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
2414
2415         * examples/hildon-picker-button-multicolumn-example.c:
2416         (main): Use custom "done" button text.
2417
2418         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2419         (hildon_picker_button_set_property),
2420         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2421         (hildon_picker_button_init),
2422         (+hildon_picker_button_get_done_button_text),
2423         (+hildon_picker_button_set_done_button_text): New methods to customize
2424         the "done" button label in the launched HildonPickerDialog. Also,
2425         make it a property.
2426
2427         * src/hildon-picker-button.h: add the public API.
2428
2429 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
2430
2431         * src/hildon-date-selector.h:
2432         * src/hildon-picker-dialog.h:
2433         * src/hildon-time-selector.h:
2434         * src/hildon-touch-selector-column.h:
2435         * src/hildon-touch-selector.h:
2436
2437         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2438         declarations. Fixes gtk-doc warnings.
2439
2440 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2441
2442         * src/hildon-picker-dialog.h
2443         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2444         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2445
2446         Fixes: NB#89329 (selectors in picker dialog are not visible when a
2447         long text is set as label for done button)
2448
2449 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2450
2451         * src/hildon-dialog.c (hildon_dialog_add_button):
2452         Set fixed width to all buttons in the HildonDialog.
2453
2454 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2455
2456         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2457
2458         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2459         Set widget name using class name plus "-finger" or "-thumb".
2460
2461 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
2462
2463         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2464         'clicked' when the state of the button is manually changed.
2465
2466 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
2467
2468         * src/hildon-app-menu.c (hildon_app_menu_realize)
2469         (hildon_app_menu_unrealize, hildon_app_menu_init)
2470         (hildon_app_menu_class_init, item_visibility_changed):
2471         Change the menu layout when the size of the screen changes.
2472         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2473         Show warning only when changing the number of colums using the
2474         property.
2475
2476 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
2477
2478         * debian/compat: Set to 5
2479         * debian/control: Update dependencies.
2480         * debian/libhildon1-dbg.install: Remove.
2481         * debian/libhildon1-dev.install: Update according to cdbs paths.
2482         * debian/libhildon1.install: Update according to cdbs paths.
2483         * debian/rules: Switch to cdbs.
2484
2485 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2486
2487         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2488         'item' variable renamed to 'filter'
2489
2490 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2491
2492         * src/hildon-app-menu.c (hildon_app_menu_insert)
2493         (hildon_app_menu_add_filter, remove_item_from_list)
2494         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2495         Don't leak hidden items when the menu is destroyed.
2496
2497 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2498
2499         * src/hildon-app-menu.c (hildon_app_menu_insert)
2500         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2501         (hildon_app_menu_set_columns, item_visibility_changed)
2502         (filter_visibility_changed, hildon_app_menu_repack_filters)
2503         (hildon_app_menu_repack_items):
2504         Repack items and filters separately.
2505
2506         Don't repack all items, change only the ones that are needed to
2507         update the layout.
2508
2509 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
2510
2511         * src/Makefile.am: added hildon-touch-selector-column.h
2512
2513 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
2514
2515         * src/hildon-touch-selector.c: added the property "text-column" to the
2516         class HildonTouchSelectorColumn, and related get/set functions
2517         (_default_printf_func): updated to use "text-column" property
2518         * src/hildon-touch-selector-entry.c: mark as deprecated the property
2519         "text-column" in his documentation, as this is now included on
2520         HildonTouchSelectorColumn. The get/set_property can still be used,
2521         working as a wrapper to the concrete column "text-column" property
2522         (_text_column_modified): callback added in order to handle the signal
2523         "notify::text-column" of the concrete HildonTouchSelectorColumn
2524         (hildon_touch_selector_entry_get_text_column)
2525         (hildon_touch_selector_entry_set_text_column): Added documentation, and
2526         modified in order to use the HildonTouchSelectorColumn "text-column"
2527         property
2528         * src/hildon-time-selector.c:
2529         * src/hildon-date-selector.c:
2530         * examples/hildon-touch-selector-example.c
2531         * examples/hildon-touch-selector-multi-cells-example.c
2532         * examples/hildon-picker-button-multicolumn-example.c
2533         Set the right value to "text-column" property on the creation of a new
2534         column using hildon_touch_selector_append_column()
2535
2536         Fixes: NB#88644 (Hardcoded first column of the model as text column)
2537
2538 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
2539
2540         * src/hildon-app-menu.c
2541         (hildon_app_menu_construct_child, hildon_app_menu_init): When
2542         updating the layout of the menu, don't create all widgets again,
2543         just repack the items in their new places.
2544
2545 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
2546
2547         * src/hildon-time-selector.c
2548         (hildon_time_selector_get_time)
2549         (hildon_time_selector_set_time)
2550         Added documentation of these public methods
2551
2552         * src/hildon-date-button.h
2553         * src/hildon-touch-selector-column.h
2554         * src/hildon-time-button.h
2555         * src/hildon-picker-dialog.h
2556         * src/hildon-time-selector.h
2557         * src/hildon-picker-button.h
2558         * src/hildon-touch-selector.h
2559         * src/hildon-time-picker.h
2560         * src/hildon-date-selector.h
2561         * src/hildon-touch-selector-entry.h
2562         Modified in order to use hildon-widgets code style
2563
2564 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
2565
2566         Added deprecated support to the compilation process using
2567         HILDON_DISABLE_DEPRECATED
2568
2569         * configure.ac: Added the --disable-deprecated to the configure
2570         script
2571
2572         * src/hildon-weekday-picker.c:
2573         * src/hildon-weekday-picker.h: Deprecated widget, example of how
2574         to use the deprecated support. We will update the other deprecated
2575         widgets status in a new patch.
2576
2577 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
2578
2579         * configure.ac: Fixed typo with fatal warnings support, the
2580         variable name was not correct
2581
2582 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
2583
2584         * src/hildon-app-menu.c
2585         * src/hildon-program.c: Update documentation.
2586
2587 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2588
2589         * configure.ac: Post-release version bump.
2590
2591 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2592
2593         [Release 2.1.12]
2594
2595         * NEWS: Update.
2596         * configure.ac: Pre-release version bump.
2597         * debian/changelog: Updates.
2598
2599 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2600
2601         * NEWS: Update news for previous releases.
2602
2603 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2604
2605         * examples/hildon-touch-selector-multi-cells-example.c:
2606         (create_selector): Update the example to use
2607         hildon_touch_selector_append_column() with a NULL renderer and set
2608         the renderers later.
2609         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2610         passed a NULL renderer. This is documented behavior now.
2611
2612         Allow passing a NULL renderer to hildon_touch_selector_append_column().
2613         This must be used if the developer wants full control on the layout of
2614         the renderers to be added to the column.
2615
2616         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2617
2618 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2619
2620         * src/hildon-touch-selector.c: Documentation fixes.
2621
2622 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2623
2624         * src/hildon-wizard-dialog-private.h: Remove image and box.
2625         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2626         (hildon_wizard_dialog_set_property), (response): Completely remove
2627         image/icon support, and the containers required for the layout.
2628
2629         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2630
2631 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
2632
2633         * src/hildon-app-menu.c: Updated documentation.
2634
2635         * src/hildon-stackable-window.c
2636         (hildon_stackable_window_set_main_menu): Unref the old menu after
2637         ref'ing the new one.
2638
2639 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
2640
2641         * src/hildon-stackable-window.c
2642         (hildon_stackable_window_set_main_menu): Unref the previous menu
2643         instead of destroying it.
2644
2645         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2646         floating reference and set has_user_ref_count to FALSE to make
2647         HildonAppMenu act like a normal ref-counted widget and not a
2648         toplevel widget.
2649
2650         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2651         changed)
2652
2653 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
2654
2655         * src/hildon-touch-selector-column.h: new file
2656         * src/hildon-touch-selector.h
2657         * src/hildon-touch-selector.c
2658         Implemented GtkCellLayout interface, in order to allow to configure
2659         the cell layout on each individual selector column
2660         (hildon_touch_selector_set_column_attributes): marked as deprecated
2661         * examples/hildon-touch-selector-multi-cells-example.c
2662         Example of how to use the GtkCellLayout interface on the selector
2663
2664         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2665
2666 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2667
2668         * src/hildon-app-menu.h
2669         * src/hildon-app-menu.c
2670         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2671         (hildon_app_menu_append, hildon_app_menu_prepend):
2672         New methods to prepend, insert and move items in the menu.
2673
2674 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2675
2676         * src/hildon-wizard-dialog.c:
2677
2678         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2679         button.
2680         (create_title): Update logical IDs and related code.
2681         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2682
2683         * src/hildon-wizard-dialog.h: Note that
2684         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2685         point, as it is not used anymore.
2686
2687         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2688
2689 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2690
2691         * src/hildon-note.c:
2692         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2693         shown.  Do not display an icon in confirmation notes nor information
2694         notes.
2695         (hildon_note_set_button_text): Update logical ID for cancel button.
2696
2697         Fixes: NB#88850 (Update HildonNote button strings + signals)
2698
2699 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2700
2701         * src/hildon-stackable-window.c
2702         (hildon_stackable_window_set_main_menu): Fix compilation warning.
2703
2704 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2705
2706         * src/hildon-app-menu-private.h
2707         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2708         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2709         (hildon_app_menu_init, hildon_app_menu_class_init): Added
2710         temporary property 'columns' to change the number of columns.
2711
2712 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2713
2714         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2715
2716         * examples/hildon-note-example.c: (on_information_clicked),
2717         (on_confirmation_clicked), (on_progress_clicked), (main): Add
2718         debugging information.
2719         * src/hildon-note-private.h: Remove close_if_pressed_outside,
2720         not needed anymore.
2721         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2722         (hildon_note_rebuild): Remove special handling of tapping outside/inside
2723         in order to close: this will be handled by the WM from now on.
2724
2725         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2726
2727 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2728
2729         * src/hildon-app-menu-private.h
2730         * src/hildon-app-menu.c
2731         (hildon_app_menu_append, hildon_app_menu_add_filter)
2732         (button_visibility_changed, hildon_app_menu_apply_style)
2733         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2734         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2735         layout everytime a button (item or filter) is shown or hidden.
2736
2737         * src/hildon-stackable-window.c
2738         (hildon_stackable_window_set_main_menu): Destroy the old menu when
2739         setting a new one.
2740
2741 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
2742
2743         * src/hildon-touch-selector.c:
2744         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2745         that the treeview inside the touch selector is in fremantle hildon mode
2746         * examples/hildon-date-button-example.c
2747         * examples/hildon-picker-button-multicolumn-example.c
2748         * examples/hildon-touch-selector-entry-example.c
2749         * examples/hildon-touch-selector-example.c
2750         * examples/hildon-time-button-example.c
2751         * examples/hildon-picker-button-example.c:
2752         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2753
2754 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
2755
2756         * examples/hildon-text-view-example.c: (main): Remove the
2757         gtkrc bits, now handled by the theme.
2758
2759 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
2760
2761         * src/hildon-picker-button.c (hildon_picker_button_set_active):
2762         Fix memory leak
2763
2764 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2765
2766         * po/Makefile.am: Install properly the mo files.
2767         * po/en_GB.po: Update translation, to ease testing purposes.
2768
2769 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2770
2771         * examples/hildon-picker-button-example.c: (main): Select an item
2772         in the selector before setting it to the button.
2773
2774 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2775
2776         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2777         Update button's value if the selector has an item active.
2778
2779         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2780         'value' with the selector)
2781
2782 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2783
2784         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2785         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2786         (hildon_picker_button_class_init): Plug the finalize method.
2787         (hildon_picker_button_set_selector): If there's a previously set
2788         selector, unref'it before setting a new one.
2789
2790         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2791         HildonTouchSelector)
2792
2793 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
2794
2795         * src/hildon-touch-selector-entry.c:
2796         (hildon_touch_selector_entry_changed): Check if there is no text
2797         selected before setting the entry text.
2798         Fixes: NB#88576
2799
2800 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2801
2802         * src/hildon-touch-selector.h
2803         * src/hildon-touch-selector.c
2804         (hildon_touch_selector_get_active)
2805         (hildon_touch_selector_set_active): New methods to set/get the
2806         index of the selected item.
2807
2808         * src/hildon-picker-button.h
2809         * src/hildon-picker-button.c
2810         (hildon_picker_button_get_active)
2811         (hildon_picker_button_set_active): New methods to set/get the
2812         index of the selected item.
2813
2814 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
2815
2816         * configure.ac: post-release version bump.
2817
2818 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
2819
2820         Release 2.1.10-1.
2821
2822         * configure.ac: Pre-release version bump.
2823         * debian/changelog: Updates.
2824         * debian/control: Add myself as maintainer and depend on l10n
2825         packages.
2826
2827 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2828
2829         * src/hildon-window.c
2830         (hildon_window_set_main_menu)
2831         * src/hildon-stackable-window.c
2832         (hildon_stackable_window_set_main_menu):
2833         Updated documentation.
2834
2835 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2836
2837         * src/hildon-date-selector.c (hildon_date_selector_finalize):
2838         Don't free selector->priv manually.
2839         Fixes: NB#88414
2840
2841 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
2842
2843         * src/hildon-gtk.c,
2844         (hildon_gtk_window_set_progress_indicator):
2845         * src/hildon-gtk.h: Added the new API
2846         hildon_gtk_window_set_progress_indicator, it changes the state of
2847         the window progress hint.
2848
2849 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
2850
2851         * src/hildon-button.c
2852         * src/hildon-stackable-window.c: Minor documentation updates.
2853
2854 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
2855
2856         * src/hildon-stackable-window.c: Updated documentation.
2857
2858 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
2859
2860         * src/hildon-defines.h: Update margins definitions
2861         to the Fremantle sizes.
2862         Fixes: NB#88364
2863
2864 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
2865
2866         * src/hildon-touch-selector.c,
2867         (_hildon_touch_selector_set_model): Cleaning the code after
2868         review, removed g_print and #if 0 from the code.
2869
2870 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2871
2872         * src/hildon-edit-toolbar.c: Update documentation.
2873
2874 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2875
2876         * src/hildon-check-button.h
2877         * src/hildon-check-button.c
2878         (hildon_check_button_set_label, hildon_check_button_get_label)
2879         * examples/hildon-check-button-example.c
2880         (button_clicked_cb):
2881         Removed deprecated methods.
2882
2883 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2884
2885         * src/hildon-text-view.c:
2886         Add sample code to the documentation.
2887
2888         * src/hildon-entry.h
2889         * src/hildon-text-view.h:
2890         Minor cosmetic changes.
2891
2892         * src/hildon-entry.c:
2893         Add sample code to the documentation.
2894         (hildon_entry_init, hildon_entry_refresh_contents):
2895         Don't allow NULL values in the placeholder.
2896
2897 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
2898
2899         * doc/hildon-docs.sgml
2900         * doc/hildon.types
2901         * examples/Makefile.am
2902         * examples/hildon-text-view-example.c
2903         * src/Makefile.am
2904         * src/hildon-text-view.c
2905         * src/hildon-text-view.h
2906         * src/hildon.h:
2907         New HildonTextView widget, with example.
2908
2909 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2910
2911         * po/POTFILES.in: Add missing files with translatable strings.
2912         Partially fixes NB#88287.
2913
2914 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2915
2916         * examples/hildon-pannable-area-example-2.c: (main): No need to
2917         set the cellrenderer height inside hildon touch lists, the theme does
2918         that for us.
2919
2920 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2921
2922         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2923         they are integrated in the theme.
2924
2925 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
2926
2927         * examples/hildon-entry-example.c: Update the example adding
2928         widgets to modify the text and the placeholder of the HildonEntry.
2929
2930         * src/hildon-entry.c: Show the placeholder everytime the widget
2931         is empty and loses the focus.
2932
2933 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
2934
2935         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2936
2937         * src/hildon-pannable-area.c,
2938         (hildon_pannable_area_size_request): Fixed bug in height
2939         requisition, avoid increasing size and add border twice.
2940
2941 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
2942
2943         * configure.ac: postrelease version bump.
2944
2945 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
2946
2947         Release 2.1.8-1.
2948
2949         * configure.ac: Prerelease version bump.
2950         * debian/changelog: update.
2951         * debian/rules: make -dbg package contain useful debugging symbols.
2952
2953 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2954
2955         * src/hildon-dialog.h
2956         * src/hildon-dialog.c
2957         (hildon_dialog_add_button, hildon_dialog_add_buttons):
2958         New methods to add buttons with finger size.
2959         (hildon_dialog_new_with_buttons):
2960         Create buttons with finger size.
2961
2962         * examples/hildon-dialog-example.c (main): Use HildonDialog
2963         methods to add buttons.
2964
2965 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2966
2967         * src/hildon-entry.c: Updated HildonButton documentation.
2968
2969 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2970
2971         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2972         button value label with (FALSE, FALSE) to prevent NB#88126 from
2973         being triggered.
2974
2975 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
2976
2977         * examples/hildon-pannable-area-example.c,
2978         (main): Removed examples panning a vbox inside a pannable
2979         area. Check bug NB#87965
2980
2981 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
2982
2983         Patch contributed by Kris Rietveld (kris@imendio.com)
2984
2985         * src/hildon-pannable-area.c,
2986         (hildon_pannable_area_get_topmost): replaced the get_geometry with
2987         get_size and get_position, this saves an X server roundtrip.
2988
2989 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
2990
2991         * doc/hildon-docs.sgml
2992         * doc/hildon.types
2993         * examples/Makefile.am
2994         * examples/hildon-entry-example.c
2995         * src/Makefile.am
2996         * src/hildon-entry.c
2997         * src/hildon-entry.h
2998         * src/hildon.h:
2999         New HildonEntry widget, with example.
3000
3001 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
3002
3003         * src/hildon-button.c (hildon_button_construct_child): Pack the
3004         image with expand == fill == FALSE. This is a workaround for a bug
3005         in GtkBox.
3006
3007 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
3008
3009         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3010         labels for the text column, to make it more look more dynamic.
3011
3012 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
3013
3014         * src/hildon-time-selector.c
3015         Define gettext auxiliar macro N_
3016         (_create_minutes_model)
3017         (_create_hours_model)
3018         (_create_ampm_model): use of strftime in order to fill the model
3019         * src/hildon-date-selector.c
3020         (hildon_date_selector_finalize):
3021         (_locales_init): remove the logic related to get the name of the months
3022         using nl_langinfo, as it is not required anymore
3023         (_create_day_model)
3024         (_create_year_model)
3025         (_create_month_model)
3026         (_update_day_model): use of strftime in order to fill the model properly
3027
3028
3029 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
3030
3031         * src/hildon-button.h
3032         * src/hildon-button.c (hildon_button_get_image): New method to
3033         retrieve the image.
3034
3035 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
3036
3037         * src/hildon-touch-selector.c:
3038         (hildon_touch_selector_remove_column): Remove from the correct parent
3039         and also remove the list element and free it.
3040         Fixes: NB#88049
3041
3042 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
3043
3044         * src/hildon-time-selector.c
3045         (_create_hours_model): change the range on 12h ampm format in order to use
3046         a 12-11 range instead of previous 01-12 range
3047         (hildon_time_selector_set_time): change the way to select the current time
3048         on 12h ampm format, due the change on the range
3049         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3050         Fixes: NB#88036
3051
3052 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
3053
3054         * src/hildon-touch-selector.c
3055         (hildon_date_touch_selector_get_selected): fix the selection mode check,
3056         in order to allow use this function on multiple row selection mode if
3057         the column is different that the first one
3058         Fixes: NB#88047
3059
3060 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
3061
3062         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3063         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3064
3065 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3066
3067         * src/hildon-date-selector.h: clean some comments, now on the .c
3068         * src/hildon-date-selector.c
3069         (hildon_date_selector_select_month): first implementation
3070         (hildon_date_selector_select_day): added documentation, reimplemented
3071         using hildon_date_selector_select_current_date to avoid repeat code
3072         Fixes: NB#88027
3073
3074 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
3075
3076         Reviewed interaction logic based on device experiences, refactored
3077         code.
3078
3079         * src/hildon-pannable-area.c,
3080         (hildon_pannable_area_class_init): Updated default vmax speed.
3081         (hildon_pannable_area_calculate_velocity): Added this function, it
3082         avoids duplicate valocity calculation. Adjusted calculation to
3083         avoid problems with zero dist events.
3084
3085         (hildon_pannable_area_motion_notify_cb): Now we use the
3086         calculate_velocity function.
3087
3088 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3089
3090         * src/hildon-date-selector.c
3091         (hildon_date_selector_select_current_date): fix the day range check
3092         as it failed using the last day of the current month
3093         Fixes NB#88023
3094
3095 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3096
3097         * src/hildon-touch-selector.c
3098         (hildon_touch_selector_get_num_columns): added a parameter validation
3099         Fixes: NB#88022
3100
3101 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
3102
3103         * examples/Makefile.am
3104         * examples/hildon-edit-toolbar-example.c: Example of the
3105         HildonEditToolbar widget.
3106
3107 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3108
3109         * configure.ac: postrelease version bump.
3110
3111 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3112
3113         Release 2.1.6-1.
3114
3115         * configure.ac: prerelease version bump.
3116         * debian/changelog: update.
3117
3118 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3119
3120         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3121         renderer to display stock icons in the touch list. Also, set the sizes
3122         to the recommended in the style guide.
3123
3124 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3125         * src/hildon-touch-selector.h
3126         (hildon_touch_selector_set_active_iter): renamed, now is
3127         hildon_touch_selector_select_iter
3128         (hildon_touch_selector_get_active_iter): renamed, now is
3129         hildon_touch_selector_get_selected
3130         (hildon_touch_selector_unselect_iter): added
3131         * src/hildon-touch-selector.c
3132         Update after API modification (methods renamed)
3133         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3134         order to avoid problems selecting multiple elements on the column
3135         (hildon_touch_selector_unselect_iter): added the implementation
3136         * src/hildon-time-selector.c
3137         * src/hildon-date-selector.c
3138         * src/hildon-touch-selector-entry.c
3139         Update methods calls after hildon-touch-selector.h API modification (methods
3140         renamed)
3141
3142 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
3143
3144         * src/hildon-stackable-window.c
3145         (hildon_stackable_window_finalize): Call the parent class's finalize.
3146
3147 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3148
3149         * examples/hildon-touch-selector-example.c: (create_selector): Use
3150         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3151         cell height.
3152
3153 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3154
3155         * examples/hildon-touch-selector-example.c: (create_selector): Do not
3156         set a cell background color, to respect theming.
3157
3158 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
3159
3160         * doc/hildon-docs.sgml
3161         * doc/hildon.types
3162         * src/Makefile.am
3163         * src/hildon-edit-toolbar.c
3164         * src/hildon-edit-toolbar.h
3165         * src/hildon.h: New HildonEditToolbar widget.
3166
3167 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
3168
3169         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3170         extra GtkVBox.
3171
3172 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3173         * src/hildon-touch-selector.c
3174         (_create_new_column): use g_object_set instead of two g_object_set_property
3175
3176 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3177         * src/hildon-touch-selector.c
3178         (_create_new_column): use of hildon_gtk_tree_view_new to create
3179         the treeview, instead of use directly g_object_new
3180         (_create_new_column): update the property name "vindicator-mode" for the
3181         new one "vscrollbar-policy"
3182         * examples/hildon-date-button-example.c
3183         * examples/hildon-picker-button-multicolumn-example.c
3184         * examples/hildon-touch-selector-entry-example.c
3185         * examples/hildon-touch-selector-example.c
3186         * examples/hildon-time-button-example.c
3187         * examples/hildon-picker-button-example.c
3188         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3189         to all the treeviews inside a pannable area.
3190
3191 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
3192
3193         * src/hildon-button.h
3194         * src/hildon-button.c (hildon_button_init)
3195         (hildon_button_set_arrangement, hildon_button_set_alignment)
3196         (hildon_button_set_title_alignment)
3197         (hildon_button_set_value_alignment)
3198         (hildon_button_set_image_alignment)
3199         (hildon_button_construct_child): New methods to set the alignment
3200         of the individual components of the button (title, value,
3201         image). Also, new method to alter the xscale and yscale properties
3202         of the GtkAlignment inside the button, so more complex layouts can
3203         be created.
3204
3205 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
3206
3207         * src/hildon-button.c (hildon_button_style_set)
3208         (hildon_button_class_init, hildon_button_set_arrangement)
3209         (hildon_button_construct_child): Apply style properties
3210         correctly. Use the 'image-spacing' style property too.
3211
3212 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
3213
3214         * src/hildon-app-menu.c (hildon_app_menu_style_set)
3215         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3216         correctly.
3217
3218 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
3219
3220         * src/hildon-pannable-area.c,
3221         (hildon_pannable_area_size_request): Fixed problem with
3222         pannable-area size_request.
3223
3224 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
3225
3226         Added management for the grab-focus to a child widget, like a
3227         range, we need to fade out the scrollbar when releasing.
3228
3229         * src/hildon-pannable-area.c,
3230         (hildon_pannable_area_init): Connected the grab-focus signal to
3231         the callback.
3232         (hildon_pannable_area_grab_notify): Added this function in order
3233         to manage the situation when the grab-focus ends. We have to
3234         fade-out the scrollbar.
3235
3236 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
3237
3238         * src/hildon-app-menu.c: Minor documentation update.
3239
3240 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
3241
3242         * src/hildon-app-menu.c
3243         * examples/hildon-app-menu-example.c (create_menu): Update
3244         examples and documentation to explain how to connect callbacks.
3245
3246 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
3247
3248         * examples/hildon-button-example.c
3249         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3250         hildon_stackable_window_new instead of gtk_window_new
3251
3252 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
3253
3254         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3255         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3256         (hildon_pannable_area_set_property),
3257         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3258         (hildon_pannable_area_unrealize),
3259         (hildon_pannable_area_size_request),
3260         (hildon_pannable_area_size_allocate),
3261         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3262         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3263         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3264         (hildon_pannable_area_initial_effect),
3265         (hildon_pannable_area_redraw),
3266         (hildon_pannable_area_scroll_indicator_fade),
3267         (hildon_pannable_area_expose_event),
3268         (hildon_pannable_area_get_topmost), (synth_crossing),
3269         (hildon_pannable_area_button_press_cb),
3270         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3271         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3272         (hildon_pannable_area_motion_notify_cb),
3273         (hildon_pannable_area_button_release_cb),
3274         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3275         (hildon_pannable_area_remove),
3276         (hildon_pannable_calculate_vel_factor): Widget refactorization,
3277         chage the code layout to a more GtkWidget like. Review the use of
3278         variables.
3279
3280 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
3281
3282         * examples/hildon-pannable-area-example-4.c,
3283         (main): Modified the name of the hindicator_mode to
3284         hscrollbar_visible
3285
3286         * src/hildon-pannable-area.c,
3287         (hildon_pannable_area_class_init),
3288         (hildon_pannable_area_motion_notify_cb),
3289         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3290         we have reduced the amount of signals and managed reviewed its
3291         rationale. Changed the default decelerate value.
3292
3293         (hildon_pannable_area_add),
3294         (hildon_pannable_area_redraw): Refactored functions.
3295
3296         (hildon_pannable_area_init),
3297         (hildon_pannable_area_get_property),
3298         (hildon_pannable_area_set_property):
3299         (hildon_pannable_draw_vscroll),
3300         (hildon_pannable_draw_hscroll),
3301         (hildon_pannable_area_initial_effect),
3302         (hildon_pannable_area_expose_event),
3303         (hildon_pannable_area_scroll),
3304         (hildon_pannable_area_button_press_cb),
3305         (hildon_pannable_area_realize): Replaced the names hindicator_mode
3306         and vindicator_mode with hscrollbar_policy and
3307         vscrollbar_policy. Replaced hscroll and vscroll with
3308         hscroll_visible and vscroll_visible.
3309
3310         (hildon_pannable_area_refresh): Refactor the function, remove
3311         variables and check the calls to this function, added resize
3312         conditions in case the children change their layout.
3313
3314         (hildon_pannable_area_size_request): Added more detailed
3315         size_request calculation.
3316
3317
3318 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
3319
3320         * src/hildon-color-chooser.c
3321         (init_borders): use the correct gtk_border_free instead of g_free, to
3322         avoid a crash when this widget is used (ie: the three color selection
3323         examples)
3324
3325 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
3326
3327         * src/hildon-check-button.c,
3328         (hildon_check_button_set_active): Fixed problem when setting the
3329         active value, the widget was not redrawn.
3330
3331 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
3332
3333         * src/hildon-pannable-area.c,
3334         (hildon_pannable_area_refresh),
3335         (hildon_pannable_area_scroll),
3336         (hildon_pannable_area_motion_notify_cb): Small code style change.
3337
3338         (hildon_pannable_area_class_init): Default initial_hint set to
3339         FALSE, it is not in the specs.
3340
3341         (hildon_pannable_area_initial_effect),
3342         (hildon_pannable_area_expose_event),
3343         (hildon_pannable_area_map),
3344         (hildon_pannable_area_init): Moved the launching point of the
3345         initial effect, it was in map but the sizes where not correct in
3346         that method so we do not know if we have the reproduce it. Now it
3347         is placed in the expose_event method and uses a variable to
3348         reproduce it just once.
3349
3350 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3351
3352         * src/hildon-pannable-area.c,
3353         (hildon_pannable_draw_vscroll),
3354         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3355         position allowed for the scrollbars.
3356
3357         (hildon_pannable_area_size_allocate): Small style change.
3358
3359 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3360
3361         * src/hildon-pannable-area.c,
3362         (hildon_pannable_area_scroll_indicator_fade),
3363         (hildon_pannable_area_button_press_cb),
3364         (hildon_pannable_area_button_release_cb),
3365         (hildon_pannable_area_scroll_cb),
3366         (hildon_pannable_area_expose_event),
3367         (hildon_pannable_area_init): Added the define parameter
3368         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3369         and refactor the fade variable.
3370
3371 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3372
3373         * src/hildon-pannable-area.c,
3374         (hildon_pannable_area_redraw),
3375         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3376         lines, we were reimplemeting the redraw code.
3377
3378 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
3379
3380         * src/hildon-pannable-area.c,
3381         (hildon_pannable_area_scroll_cb),
3382         (hildon_pannable_area_realize),
3383         (hildon_pannable_area_class_init): Added scroll_event management
3384         for pannable area, now we can scroll the usual desktop method.
3385
3386         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3387         initialization of the parameters should depend on idle_id.
3388
3389         (hildon_pannable_area_init),
3390         (hildon_pannable_area_map): Small code style modifications
3391
3392 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
3393
3394         * src/hildon-pannable-area.c
3395         (hildon_pannable_area_button_press_cb),
3396         (hildon_pannable_area_motion_notify_cb),
3397         (hildon_pannable_area_button_release_cb),
3398         (hildon_pannable_area_size_allocate),
3399         (hildon_pannable_area_scroll_to): Improved the timeouts
3400         management, we avoid creating them each time.
3401
3402 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
3403
3404         * src/hildon-pannable-area.c:
3405         (hildon_pannable_area_refresh),
3406         (hildon_pannable_area_motion_notify_cb),
3407         (hildon_pannable_area_class_init):
3408         * src/hildon-pannable-area.h:
3409         * src/hildon-touch-selector.c
3410         (_create_new_column):
3411         * examples/hildon-pannable-area-example-4.c:
3412         (horizontal_movement),
3413         (vertical_movement),
3414         (main):
3415         Replaced the names of enums in the HildonPannableArea:
3416            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
3417               HILDON_MOVEMENT_MODE_*
3418            -  HILDON_PANNABLE_AREA_MOV_* ->
3419               HILDON_MOVEMENT_*
3420            - Removed HildonPannableAreaIndicatorMode, now we
3421              use GtkPolicyType
3422
3423 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3424
3425         * examples/hildon-pannable-area-touch-grid-example.c
3426         * examples/hildon-pannable-area-touch-list-example.c: Fix
3427         compilation warnings.
3428
3429 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3430
3431         * src/hildon-gtk.c (hildon_gtk_button_new)
3432         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3433         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3434         images overriding the value of the "gtk-button-images" setting.
3435
3436 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3437
3438         * src/hildon-check-button.c (hildon_check_button_new):
3439         Instead of using a custom container, display the label and the
3440         checkbox using the standard GtkButton API.
3441
3442         * examples/hildon-check-button-example.c (main): Don't use
3443         hildon_check_button_set_label() anymore
3444
3445         * src/hildon-check-button.h
3446         * src/hildon-check-button.c
3447         (hildon_check_button_set_label, hildon_check_button_get_label):
3448         Set as deprecated, now we're using gtk_button_{get,set}_label()
3449
3450 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
3451
3452         * src/hildon-pannable-area.c,
3453         (hildon_pannable_area_get_topmost): Fixed bug with click in the
3454         GtkTreeview first line we detected it after the inclusion of the
3455         GtkWindowImpl in gtk+. We now check if the window is visible, not
3456         just if the pointer is over the window.
3457         (hildon_pannable_axis_scroll),
3458         (hildon_pannable_area_expose_event): Small style changes.
3459
3460 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
3461
3462         * src/hildon-button.c: Update documentation.
3463
3464 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
3465
3466         * examples/hildon-button-example.c: Add a switch to show images in
3467         the buttons.
3468
3469 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
3470
3471         * doc/hildon-docs.sgml: Some docs reorganization.
3472
3473 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3474
3475         * examples/hildon-pannable-area-touch-list-example.c
3476         (create_tree_view)
3477         * examples/hildon-pannable-area-touch-grid-example.c
3478         (create_icon_view): Use gtk_{tree,icon}_view_new() and
3479         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3480         Fix memory leak when setting the tree model.
3481
3482 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3483
3484         Released 2.1.4
3485
3486 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
3487
3488         * doc/hildon.types: Remove duplicated hildon_window_get_type
3489         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3490         documentation comment.
3491
3492 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3493
3494         * doc/Makefile.am: Complete list of private headers.
3495
3496 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3497
3498         * doc/hildon-docs.sgml
3499         * src/hildon-app-menu.c
3500         * src/hildon-bread-crumb.c
3501         * src/hildon-button.c
3502         * src/hildon-gtk.c
3503         * src/hildon-program.c
3504         * src/hildon-stackable-window.c
3505         * src/hildon-window.c: Lots of documentation updates.
3506
3507 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3508
3509         * debian/control: Depend on Gtk 2:2.12.9-0osso3
3510
3511         * configure.ac: Require Gtk+ 2.12.9 at least
3512
3513 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
3514
3515         * src/hildon-pannable-area.c
3516         (hildon_pannable_area_scroll_indicator_fade),
3517         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3518         to protect the return of this timeout callbacks, avoiding deadlocks.
3519
3520 2008-08-12  Christian Dywan  <christian@imendio.com>
3521
3522         * src/hildon-*.c
3523         * src/hildon-*.h: Ensure a consistent include order,
3524         include <gtk/gtk.h> instead of particular files and
3525         only include the topmost header in the gtk stack. See NB #39857
3526
3527 2008-08-12  Christian Dywan  <christian@imendio.com>
3528
3529         * src/hildon-picker-dialog.c
3530         * src/hildon-touch-selector.c: Fix warnings about unused and
3531         uninitialized variables.
3532
3533 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3534
3535         * examples/Makefile.am
3536         * examples/hildon-check-button-example.c: Example of the hildon
3537         check button.
3538
3539 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3540
3541         * src/hildon-window.h
3542         * src/hildon-window.c (hildon_window_class_init)
3543         (hildon_window_unset_program): Don't make
3544         hildon_window_unset_program a virtual function anymore.
3545
3546         * src/hildon-stackable-window.c: Update documentation
3547
3548 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3549
3550         * doc/Makefile.am
3551         * doc/hildon-docs.sgml
3552         * doc/visual_index.xml
3553         * src/hildon-defines.c
3554         * src/hildon-gtk.c
3555         * src/hildon-helper.c
3556         * src/hildon-range-editor.c: Lots of documentation fixes.
3557
3558 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3559
3560         * examples/hildon-picker-button-multicolumn-example.c
3561         (create_touch_selector): Fix compilation warning.
3562
3563 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3564
3565         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3566         (hildon_pannable_area_button_release_cb)
3567         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3568
3569 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3570
3571         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3572         assertion.
3573
3574 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3575
3576         * src/hildon-bread-crumb-trail.h
3577         * src/hildon-date-editor.c
3578         * src/hildon-date-selector.c
3579         * src/hildon-pannable-area.c
3580         * src/hildon-picker-dialog.c
3581         * src/hildon-time-selector.c
3582         * src/hildon-touch-selector-entry.c
3583         * src/hildon-touch-selector.c
3584         * src/hildon-touch-selector.h: Misc documentation fixes
3585
3586 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3587
3588         * examples/hildon-date-editor-example.c (main): Updated date
3589         editor example.
3590
3591         * examples/hildon-note-example.c (on_confirmation_clicked):
3592         Updated confirmation note example.
3593
3594         * src/hildon-date-editor.c
3595         * src/hildon-note.c: Updated sample programs in documentation.
3596         Fixes: NB#87437
3597
3598 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3599
3600         * src/hildon-date-button.h:
3601         * src/hildon-picker-button.h:
3602         * src/hildon-time-button.c:
3603         * src/hildon-time-button.h:
3604
3605         Some declarations changes to allow gtk-doc to document the widgets
3606         properly.
3607
3608 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3609
3610         * src/hildon-date-button.c: Document the widget.
3611         * src/hildon-time-button.c: Document the widget.
3612
3613 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3614
3615         * src/hildon-picker-button.c: Document the widget.
3616         * src/hildon-touch-selector-entry.c: Document the widget.
3617
3618 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3619
3620         * doc/hildon-docs.sgml
3621         * src/Makefile.am
3622         * src/hildon.h
3623         * src/hildon-check-button.h
3624         * src/hildon-check-button.c: New functions to create the Hildon
3625         Touch Checkbox.
3626
3627         * src/hildon-gtk.h
3628         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3629
3630 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3631
3632         * src/hildon-button.h
3633         * src/hildon-button.c
3634         (hildon_button_add_title_size_group)
3635         (hildon_button_add_value_size_group)
3636         (hildon_button_add_image_size_group)
3637         (hildon_button_add_size_groups): New functions to set size groups
3638         for the button labels and image.
3639         (hildon_button_new_full): Removed
3640
3641 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
3642
3643         * src/hildon-time-selector.c
3644         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3645         in order to avoid a crash if gconf is not available
3646
3647 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3648
3649         * src/hildon-button.c (hildon_button_set_arrangement)
3650         (hildon_button_construct_child): Don't construct the button child
3651         before setting the arrangement.
3652
3653 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3654
3655         * src/hildon-program-private.h
3656         * src/hildon-program.c
3657         * src/hildon-program.h
3658         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3659         (hildon_program_peek_window_stack)
3660         (hildon_program_pop_window_stack)
3661         (hildon_program_go_to_root_window): HildonProgram now has a
3662         separate list for stackable windows. Functions are provided to
3663         manage that list with a stack-like API.
3664
3665         * src/hildon-stackable-window.c: Stackable window management is
3666         now much simpler with the new HildonProgram API. Windows no
3667         longer need to be manually added to the program, they're
3668         automatically pushed to the top of the stack when shown.
3669
3670         * examples/hildon-stackable-window-example.c: Updated example to
3671         reflect the API changes.
3672
3673 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
3674
3675         * src/hildon-touch-selector.c: Comment out unimplemented
3676         hildon_touch_selector_insert_column() to avoid a compile warning.
3677
3678 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
3679
3680         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3681         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3682         (hildon_touch_selector_set_column_selection_mode),
3683         (_hildon_touch_selector_set_model),
3684         (hildon_touch_selector_set_model):
3685
3686         Complete review of HildonTouchSelector documentation.
3687
3688 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3689
3690         * doc/hildon-docs.sgml
3691         * src/Makefile.am
3692         * src/hildon.h
3693         * src/hildon-gtk.h
3694         * src/hildon-gtk.c: Convenience functions for standard Gtk
3695         widgets, used to easily perform frequent operations.
3696
3697         * src/hildon-button-helpers.h
3698         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3699
3700         * src/hildon-helper.h
3701         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3702         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3703
3704         * src/hildon-button.h
3705         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3706
3707 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3708
3709         * src/hildon-button.c (hildon_button_init)
3710         (hildon_button_set_arrangement, hildon_button_construct_child):
3711         Pack the image and the labels inside the same GtkAlignment so
3712         gtk_button_set_alignment() can be used
3713
3714 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3715
3716         * src/hildon-button.h
3717         * src/hildon-button.c
3718         (hildon_button_init, hildon_button_set_image)
3719         (hildon_button_set_image_position)
3720         (hildon_button_construct_child): New functions to add an image to
3721         the HildonButton.
3722
3723 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3724
3725         * src/hildon-date-button.c
3726         * src/hildon-picker-button.c
3727         * src/hildon-time-button.c
3728         * src/hildon-button.c:
3729         (hildon_button_class_init): "size-flags" renamed to "size"
3730         (hildon_button_set_title): Hide the title label if set to NULL.
3731
3732 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3733
3734         HildonButtonFlags split into HildonButtonArrangement (to set the
3735         button layout) and HildonSizeType (which can be used for any
3736         widget).
3737
3738         * src/hildon-button.h
3739         * src/hildon-button.c
3740         (hildon_button_class_init)
3741         (hildon_button_set_arrangement)
3742         (hildon_button_set_property): New "size-flags"
3743         property. "arrangement-flags" renamed to "arrangement".
3744         (hildon_button_new, hildon_button_new_with_text)
3745         (hildon_button_new_full): Constructors updated to reflect type changes.
3746
3747         * src/hildon-helper.h
3748         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3749         to set the size of a widget.
3750
3751         * src/Makefile.am
3752         * src/hildon.h
3753         * src/hildon-button-helpers.c
3754         * src/hildon-button-helpers.h: New hildon-button-helpers module.
3755
3756         * src/hildon-date-button.c
3757         * src/hildon-date-button.h
3758         * src/hildon-picker-button.c
3759         * src/hildon-picker-button.h
3760         * src/hildon-time-button.c
3761         * src/hildon-time-button.h: Updated widgets to reflect
3762         HildonButton API changes.
3763
3764         * examples/hildon-button-example.c
3765         * examples/hildon-date-button-example.c
3766         * examples/hildon-picker-button-example.c
3767         * examples/hildon-picker-button-multicolumn-example.c
3768         * examples/hildon-time-button-example.c
3769         * examples/hildon-touch-selector-entry-example.c
3770         * examples/hildon-touch-selector-example.c: Updated examples to
3771         reflect HildonButton API changes.
3772
3773 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3774
3775         * doc/hildon-docs.sgml:
3776         * doc/hildon.types:
3777         * examples/Makefile.am:
3778         * examples/hildon-touch-selector-entry-example.c:
3779         * src/Makefile.am:
3780         * src/hildon-touch-selector-entry.c:
3781         * src/hildon-touch-selector-entry.h:
3782         * src/hildon.h:
3783
3784         Moved HildonTouchSelectorEntry from sandbox. Added its
3785         documentation and examples.
3786
3787 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3788
3789         * src/hildon-touch-selector.h:
3790         * examples/hildon-picker-button-multicolumn-example.c:
3791         (hildon_touch_selector_append_text_column): Add a gboolean
3792         parameter to determine if text must be centered in the column.
3793
3794         * src/hildon-date-selector.c: (hildon_date_selector_init):
3795         * src/hildon-time-selector.c: (hildon_time_selector_init):
3796         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3797         (create_touch_selector): Update widgets and example to reflect
3798         the API change.
3799
3800 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3801
3802         * src/hildon-touch-selector.c:
3803         (hildon_touch_selector_set_active_iter): Set also the cursor in
3804         the active row.
3805
3806 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
3807
3808         * doc/hildon-docs.sgml
3809         * doc/hildon.types
3810         * src/Makefile.am
3811         * src/hildon-toggle-button.c
3812         * src/hildon-toggle-button.h
3813         * src/hildon.h: Removed HildonToggleButton widget, a derived
3814         class is not necessary for this.
3815
3816 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
3817
3818         * src/hildon-pannable-area.c,
3819         (hildon_pannable_area_realize),
3820         (hildon_pannable_area_size_allocate): Code refactoring, add tests
3821         for negative sizes.
3822
3823 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
3824
3825         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3826         "done" button the default widget for the dialog.
3827
3828 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3829
3830         * src/hildon-touch-selector.c:
3831         (hildon_touch_selector_class_init),
3832         (hildon_touch_selector_get_property),
3833         (_hildon_touch_selector_set_model),
3834         (_hildon_touch_selector_has_multiple_selection),
3835         (hildon_touch_selector_has_multiple_selection):
3836         Add a "has-multiple-selection" property with a virtual
3837         has_multiple_selection() method to allow derived classes to
3838         override the default value for it. See the method and property
3839         documentation for details.
3840
3841         * src/hildon-touch-selector.h: Add the new API.
3842
3843         * src/hildon-picker-dialog.c: (requires_done_button): Call
3844         hildon_touch_selector_has_multiple_selection() instead of
3845         determining the need for a button itself.
3846
3847 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3848
3849         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3850         (_hildon_touch_selector_set_model),
3851         (hildon_touch_selector_set_model): Move working code to
3852         _hildon_touch_selector_set_mode(). Call the class method instead.
3853
3854         * src/hildon-touch-selector.h: Add (*set_model) to
3855         HildonTouchSelectorClass.
3856
3857         Make hildon_touch_selector_set_model() a virtual method, so that
3858         derived classes can extend it and do fancy stuff with the model.
3859
3860 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3861
3862         * configure.ac: Set back the tarname in AC_INIT to hildon.
3863
3864 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3865
3866         Release 2.1.3
3867
3868         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3869         instead of libesd (NB#86876). Volume handling is still an open issue.
3870
3871         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3872         cleanups.
3873
3874 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
3875
3876         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3877         (hildon_touch_selector_append_column): Make the widget a GtkVBox
3878         derived class to ease placement of an entry widget in
3879         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3880         end, where the selector columns are packed now.
3881
3882 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
3883
3884         * src/hildon-picker-button.c: Removed the simple _text() API.
3885         * src/hildon-picker-button.h: Likewise.
3886
3887         * src/hildon-touch-selector.h:
3888         * src/hildon-touch-selector.c:
3889         (hildon_touch_selector_new_text),
3890         (hildon_touch_selector_append_text),
3891         (hildon_touch_selector_prepend_text),
3892         (hildon_touch_selector_insert_text):
3893
3894         Moved the simple _text() API from HildonPickerButton to
3895         HildonTouchPicker, to provide better escalability and not to tie
3896         that API to HildonPickerButton.
3897
3898         * examples/hildon-picker-button-example.c: (main): Example updated.
3899
3900 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3901
3902         * src/hildon-button.c: Updated documentation.
3903
3904         * examples/hildon-button-example.c: Add the posibility to create
3905         the buttons using horizontal layout for title and value.
3906
3907 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3908
3909         * src/hildon-app-menu-private.h
3910         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3911         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3912         GtkSizeGroup for the filters, use the 'homogeneous' property of
3913         the box instead.
3914
3915 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3916
3917         * examples/hildon-button-example.c: Updated example.
3918
3919 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
3920
3921         * doc/hildon-docs.sgml:
3922         * doc/hildon.types:
3923
3924         Update documentation.
3925
3926         * examples/Makefile.am: Update renamed examples.
3927
3928         * examples/hildon-picker-button-multicolumn-example.c:
3929         (create_touch_selector), (main): Update after the rename.
3930
3931         * examples/hildon-touch-picker-example.c: Removed.
3932         * examples/hildon-touch-selector-example.c: (value_changed),
3933         (create_selector), (get_visible_content), (main): Renamed from
3934         hildon-touch-picker-example.c
3935
3936         * src/Makefile.am: Updated renamed files.
3937
3938         * src/hildon-date-button.c: (hildon_date_button_init),
3939         (hildon_date_button_get_date), (hildon_date_button_set_date):
3940         * src/hildon-date-selector.c: (hildon_date_selector_init),
3941         (_custom_print_func), (_update_day_model),
3942         (_manage_selector_change_cb),
3943         (hildon_date_selector_select_current_date),
3944         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3945         * src/hildon-date-selector.h:
3946         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3947         (hildon_picker_button_set_property),
3948         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3949         (hildon_picker_button_init), (hildon_picker_button_new_text),
3950         (hildon_picker_button_append_text),
3951         (hildon_picker_button_prepend_text),
3952         (hildon_picker_button_insert_text),
3953         (hildon_picker_button_set_selector),
3954         (hildon_picker_button_get_selector):
3955         * src/hildon-picker-button.h:
3956         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3957         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3958         (_update_title_on_selector_changed_cb), (requires_done_button),
3959         (_hildon_picker_dialog_set_selector),
3960         (hildon_picker_dialog_set_selector),
3961         (hildon_picker_dialog_get_selector):
3962         * src/hildon-picker-dialog.h:
3963         * src/hildon-time-button.c: (hildon_time_button_init),
3964         (hildon_time_button_get_time), (hildon_time_button_set_time):
3965         * src/hildon-time-selector.c: (hildon_time_selector_init),
3966         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3967         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3968         * src/hildon-time-selector.h:
3969         * src/hildon.h:
3970
3971         Massive code updates after the rename.
3972
3973         * src/hildon-touch-picker.c: Removed.
3974         * src/hildon-touch-picker.h: Removed.
3975
3976         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3977         (hildon_touch_selector_init), (hildon_touch_selector_map),
3978         (hildon_touch_selector_remove), (_default_print_func),
3979         (_selection_changed_cb), (_create_new_column),
3980         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
3981         (hildon_touch_selector_append_text_column),
3982         (hildon_touch_selector_remove_column),
3983         (hildon_touch_selector_set_column_attributes),
3984         (hildon_touch_selector_insert_column),
3985         (hildon_touch_selector_get_num_columns),
3986         (hildon_touch_selector_get_column_selection_mode),
3987         (hildon_touch_selector_set_column_selection_mode),
3988         (hildon_touch_selector_set_print_func),
3989         (hildon_touch_selector_get_print_func),
3990         (hildon_touch_selector_get_active_iter),
3991         (hildon_touch_selector_set_active_iter),
3992         (hildon_touch_selector_get_selected_rows),
3993         (hildon_touch_selector_get_model),
3994         (hildon_touch_selector_set_model),
3995         (hildon_touch_selector_get_current_text),
3996         (_hildon_touch_selector_center_on_selected_items):
3997         * src/hildon-touch-selector.h: Renamed from
3998         hildon-touch-picker.[ch]
3999
4000         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4001         references, code examples, and related documentation.
4002
4003 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
4004
4005         * doc/hildon-docs.sgml
4006         * doc/hildon.types
4007         * src/Makefile.am
4008         * src/hildon-toggle-button.c
4009         * src/hildon-toggle-button.h
4010         * src/hildon.h: New HildonToggleButton widget.
4011
4012 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
4013
4014         * src/hildon-button.c: Add API documentation.
4015         (hildon_button_set_size_groups): Check input parameters
4016
4017 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
4018
4019         * src/hildon-pannable-area.c
4020         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4021         effect after reaching the movement thredshold. This way we start
4022         using the distance after passing the thredshold.
4023
4024 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4025
4026         * src/hildon-button.c: (hildon_button_set_property): Use the
4027         appropriate g_value_get_flags() method.
4028
4029 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4030
4031         * doc/hildon-docs.sgml:
4032         * doc/hildon.types:
4033
4034          Add the touch pickers, picker dialogs, and picker button widgets
4035         to the documentation.
4036
4037 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4038
4039         * src/hildon-button.c: (hildon_button_set_property),
4040         (hildon_button_class_init): Make "arrangement-flags" a proper
4041         G_TYPE_FLAGS derived property.
4042
4043 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4044
4045         * examples/Makefile.am: Add below examples.
4046         * examples/hildon-date-button-example.c:
4047         * examples/hildon-picker-button-example.c:
4048         * examples/hildon-picker-button-multicolumn-example.c:
4049         * examples/hildon-time-button-example.c:
4050         * examples/hildon-touch-picker-example.c:
4051
4052         Add examples for the recently added touch pickers,
4053         picker dialogs, and picker button widgets.
4054
4055 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4056
4057         * src/hildon-button.c: Add some API documentation
4058
4059 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4060
4061         * src/hildon-button.h
4062         * src/hildon-button.c
4063         (hildon_button_new)
4064         (hildon_button_new_with_text): New constructor to create a button
4065         with no text at all.
4066         (hildon_button_init, hildon_button_set_arrangement)
4067         (hildon_button_set_title, hildon_button_set_value)
4068         (hildon_button_set_text)
4069         (hildon_button_construct_child): Hide the value when it's not used
4070         so the rest of the text is properly aligned.
4071         Allow creating buttons with arbitrary widgets inside (not just
4072         title/value labels).
4073
4074         * examples/hildon-button-example.c (vertical_buttons_window)
4075         (horizontal_buttons_window): Update example to use new API.
4076
4077 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4078
4079         * src/Makefile.am: Added HildonTimeButton.
4080         * src/hildon-time-button.c: Added missing LGPL header.
4081         * src/hildon-time-button.h: Added missing LGPL header.
4082         * src/hildon.h: Add hildon-time-button.h
4083
4084         Copied HildonTimeButton from sandbox to trunk. Future work on this
4085         widget must take place in trunk.
4086
4087 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4088
4089         * src/Makefile.am: Added HildonDateButton.
4090         * src/hildon-date-button.c: Update includes.
4091         * src/hildon.h: Add hildon-date-button.h
4092
4093         Copied HildonDateButton from sandbox to trunk. Future work on this
4094         widget must take place in trunk.
4095
4096 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4097
4098         * src/Makefile.am: Added HildonPickerButton.
4099         * src/hildon-picker-button.h: Update includes.
4100         * src/hildon.h: Add hildon-picker-button.h
4101
4102         Copied HildonPickerButton from sandbox to trunk. Future work on
4103         this widget must take place in trunk.
4104
4105 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4106
4107         * src/Makefile.am: Added HildonPickerDialog.
4108         * src/hildon-picker-dialog.c: Update includes.
4109         * src/hildon.h: Add hildon-picker-dialog.h
4110
4111         Copied HildonPickerDialog from sandbox to trunk. Future work
4112         on this widget must take place in trunk.
4113
4114 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4115
4116         * src/Makefile.am: Added HildonTimeSelector.
4117         * src/hildon.h: Add hildon-time-selector.h
4118
4119         Copied HildonTimeSelector widget from sandbox to trunk. Future
4120         work on this widget must happen in trunk.
4121
4122 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4123
4124         * src/Makefile.am: Added HildonDateSelector.
4125         * src/hildon.h: Add hildon-date-selector.h
4126
4127         Copied HildonDateSelector widget from sandbox to trunk.  Future
4128         work on this widget must happen in trunk.
4129
4130 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4131
4132         * src/Makefile.am: Added HildonTouchPicker.
4133         * src/hildon-touch-picker.c: Update includes.
4134         * src/hildon.h: Add hildon-touch-picker.h
4135
4136         Copied HildonTouchPicker widget from sandbox to trunk. Future work
4137         on this widget must happen in trunk.
4138
4139 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4140
4141         * src/hildon-pannable-area.c:
4142         (hildon_pannable_area_motion_notify_cb): Fix a typo.
4143
4144 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4145
4146         * examples/hildon-app-menu-example.c (main): Let the window
4147         destroy the menu.
4148
4149 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4150
4151         * src/hildon-pannable-area.c
4152         (hildon_pannable_area_class_init): Set the min value of the
4153         overshoot properties to zero, which points out that not
4154         overshooting allowed.
4155
4156 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4157
4158         Modified the procedure to get the widget at a point inside the
4159         pannable area when using the movement type signals. Now the user
4160         has to call a function to get the child, that way we just
4161         calculate the child in case the user really want to use it and not
4162         all the time.
4163
4164         * src/hildon-marshalers.list: Modified the marshallers, now we do
4165         not have the widget as a parameter.
4166
4167         * src/hildon-pannable-area.c
4168         (hildon_pannable_area_motion_notify_cb),
4169         (hildon_pannable_area_class_init),
4170         (hildon_pannable_get_child_widget_at):  Removed the widget
4171         parameter from the signal callback. We have also refactored the
4172         emission of the signals.
4173
4174         * src/hildon-pannable-area.h: Added a new method to the API to
4175         calculate a widget at a point inside the pannable area,
4176         hildon_pannable_get_child_widget_at.
4177
4178         * examples/hildon-pannable-area-example-4.c
4179         (horizontal_movement): Modified the example to use the new API,
4180         added condition to control which widget is under the event. This
4181         way we can avoid scrolling laterally over other widgets.
4182
4183 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4184
4185         * src/hildon-pannable-area.c
4186         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4187         modes, we stop getting the pointer events due to returning the
4188         callback without properly calling the get pointer again. Fixed
4189         also an error using the hscroll and vscroll.
4190
4191 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
4192
4193         * src/hildon-app-menu-private.h
4194         * src/hildon-app-menu.c (hildon_app_menu_button_press)
4195         (hildon_app_menu_button_release, hildon_app_menu_init)
4196         (hildon_app_menu_class_init): Don't hide the menu on button
4197         release if the user didn't press outside first.
4198
4199         * src/hildon-window.h
4200         * src/hildon-window.c (hildon_window_toggle_menu)
4201         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4202         hildon_window_toggle_menu a virtual function for the stackable
4203         window to override it.
4204
4205         * src/hildon-stackable-window.h
4206         * src/hildon-stackable-window-private.h
4207         * src/hildon-stackable-window.c
4208         (hildon_stackable_window_realize)
4209         (hildon_stackable_window_finalize)
4210         (hildon_stackable_window_class_init)
4211         (hildon_stackable_window_init)
4212         (hildon_stackable_window_set_main_menu): New function to set the
4213         app menu of a HildonStackableWindow.
4214
4215         * examples/hildon-app-menu-example.c: Remove the button to show
4216         the app menu, now it'll be shown when clicking on the title bar
4217         instead.
4218
4219 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
4220
4221         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4222         set the widget name if the arrangement flags do not specify
4223         a particular size.
4224
4225 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
4226
4227         * src/hildon-button.c: (hildon_button_set_property),
4228         (hildon_button_class_init), (hildon_button_new_full),
4229         (hildon_button_set_arrangement): Added "arrangement-flags"
4230         property.
4231
4232         Make the HildonButtonFlags a construction-only property, to allow
4233         subclasses to set them properly.
4234
4235 2008-07-21 Tim Janik  <timj@imendio.com>
4236
4237         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4238         insertion position after backspace, so additional digits are appended,
4239         fixes Bug #85874.
4240
4241 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
4242
4243         * src/hildon-pannable-area.c,
4244         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4245         TODO list, it was complete and removed the g_debug and g_print
4246         lines.
4247
4248 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
4249
4250         Added the movement modes to the hildon-pannable-area, with this
4251         modes the developers can control in which directions the widget
4252         can scroll. They can also connect to signals in order to do
4253         something when that happens, allowing applications scroll. There
4254         is an example uploaded showing how to use it.
4255
4256         * examples/Makefile.am:
4257         * examples/hildon-pannable-area-example-4.c: Added this example of
4258         an application using the modes.
4259
4260         * src/hildon-marshalers.list: Added a new marshaller for the new
4261         signals.
4262
4263         * src/hildon-pannable-area.h: Added new enumerations and flags in
4264         order to control the movement modes and the new signals to warn
4265         about the movements in the area.
4266
4267         * src/hildon-pannable-area.c:
4268         (hildon_pannable_axis_scroll),
4269         (hildon_pannable_area_scroll),
4270         (hildon_pannable_area_motion_notify_cb),
4271         (hildon_pannable_area_get_property),
4272         (hildon_pannable_area_set_property),
4273         (hildon_pannable_area_map),
4274         (hildon_pannable_area_class_init),
4275         (hildon_pannable_area_init),
4276         (hildon_pannable_area_jump_to): Added the modes to control the
4277         movement in the widget. We have added properties to control it,
4278         signals to warn about the movements and refactored some code.
4279
4280 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
4281
4282         Changes required in order to allow vfast_factor set to zero to
4283         work properly.
4284
4285         * src/hildon-pannable-area.c:
4286         (hildon_pannable_area_button_press_cb): Changed the condition, it
4287         is required for not allowing click when vfast_factor is zero.
4288         (hildon_pannable_area_timeout): Initialized velocity variables
4289         when we stop moving, it was less than 1 but not zero and we need
4290         to check zero in some situations.
4291         (hildon_pannable_area_class_init): Changed the default value of
4292         the speed factor, now the button_press is just sent in case the
4293         speed is 2 per cent of the max speed.
4294         (hildon_pannable_area_init): Initialization with 0.
4295
4296 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
4297
4298         * src/hildon-pannable-area.c,
4299         (hildon_pannable_area_get_topmost): replaced
4300         gdk_window_get_children with gdk_window_peek_children, this way we
4301         do not have to free the list because it is not a copy.
4302
4303         (hildon_pannable_axis_scroll),
4304         (hildon_pannable_area_scroll),
4305         (hildon_pannable_area_timeout),
4306         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4307         two parameters that were only used inside the
4308         hildon_pannable_area_scroll function.
4309
4310         * examples/hildon-pannable-area-example.c,
4311         (get_sawtooth_label): Fixed small memory leak.
4312
4313 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
4314
4315         More checks for the case where the overshoot is bigger than the
4316         size of the widget.
4317
4318         * src/hildon-pannable-area.c:
4319         (hildon_pannable_draw_vscroll),
4320         (hildon_pannable_draw_hscroll): with this new calculation we avoid
4321         to draw the slider of the scrollbar under the other scrollbar.
4322         (hildon_pannable_area_expose_event): added new checks to control
4323         the drawing of the overshooting area rectangle, in case it is too
4324         big for the area of the widget.
4325         (hildon_pannable_area_size_allocate): add more checks to avoid
4326         setting a position to the child widget outside the area.
4327
4328 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
4329
4330         * src/hildon-pannable-area.c
4331         (hildon_pannable_area_size_allocate): Added conditions to control
4332         when overshooting is bigger than the allocated space for the
4333         children, this avoids negative allocations.
4334
4335 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
4336
4337         * doc/hildon-docs.sgml
4338         * doc/hildon.types
4339         * examples/Makefile.am
4340         * examples/hildon-button-example.c
4341         * src/Makefile.am
4342         * src/hildon-button.c
4343         * src/hildon-button.h
4344         * src/hildon.h: Initial version of the new HildonButton widget,
4345         with examples.
4346
4347 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
4348
4349         * src/hildon-pannable-area.c:
4350         (hildon_pannable_area_button_press_cb),
4351         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4352         (hildon_pannable_area_motion_notify_cb),
4353         (hildon_pannable_area_button_release_cb),
4354         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4355         (hildon_pannable_area_jump_to_child):
4356
4357         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4358
4359 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
4360
4361         * examples/Makefile.am
4362         * examples/hildon-pannable-area-touch-grid-example.c
4363         * examples/hildon-pannable-area-touch-list-example.c: Examples of
4364         the Hildon Touch List and Hildon Touch Grid using the
4365         HildonPannableArea widget.
4366
4367 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4368
4369         * src/hildon-pannable-area.c,
4370         (hildon_pannable_area_button_press_cb),
4371         (hildon_pannable_area_refresh),
4372         (hildon_pannable_area_scroll),
4373         (hildon_pannable_area_motion_notify_cb),
4374         (hildon_pannable_area_button_release_cb),
4375         (hildon_pannable_area_expose_event),
4376         (hildon_pannable_area_add),
4377         (hildon_pannable_area_remove),
4378         (hildon_pannable_area_realize),
4379         (hildon_pannable_area_size_allocate),
4380         (hildon_pannable_area_class_init),
4381         (hildon_pannable_area_init),
4382         (hildon_pannable_area_scroll_to_child),
4383         (hildon_pannable_area_jump_to_child): Fixed the problem of
4384         removing the child from the GtkBin, we have rearranged the widget
4385         hierarchy, now there is no GtkAlignment which was not doing
4386         anything interesting but breaking some of the assumptions of
4387         GtkContainer. Now developers if they want to add a GtkAlignment
4388         they could, but it is not inside the area.
4389
4390         We had to review the whole allocation/expose process, now it is
4391         improved and we save at least three signals which would be saving
4392         some time when rendering the widget. The allocation of the
4393         scrollbars is now made in the allocate method as usual.
4394
4395         We have also added some conditions in order to control when there
4396         is no child of the pannable area. Maybe we will need more work
4397         here.
4398
4399 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4400
4401         * src/hildon-pannable-area.c,
4402         (hildon_pannable_area_dispose): Released the fade-out timeout when
4403         disposing the widget.
4404
4405 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4406
4407         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4408         zero, we are going to use that property in order to deactivate the
4409         overshooting
4410         (hildon_pannable_axis_scroll),
4411         (hildon_pannable_area_size_allocate): Added conditions to control
4412         when overshoot_max is zero. Moved the gtk_adjustment_set_value
4413         call, now it is called in all situations and we can remove calls
4414         in the allocate method.
4415         (hildon_pannable_area_map): Control the situation when
4416         overshoot_max is zero, we do not need the timeout.
4417         (hildon_pannable_area_class_init): Added documentation in order to
4418         point out that setting zero to overshoot_max means deactivate
4419         overshooting.
4420
4421         NOTE: removed trailing whitespaces from my previous comments of
4422         the Changelog.
4423
4424 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
4425
4426         * src/hildon-pannable-area.c
4427         (hildon_pannable_area_get_property),
4428         (hildon_pannable_area_set_property),
4429         (hildon_pannable_area_map),
4430         (hildon_pannable_area_class_init),
4431         (hildon_pannable_area_init): Add a boolean "initial-hint" property
4432         to cause the widget give a hint about its panning abilities upon
4433         realization.
4434
4435 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
4436
4437         * src/hildon-pannable-area.c: Several documentation improvements.
4438
4439 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
4440
4441         * src/hildon-program.c
4442         * src/hildon-stackable-window.c: Update documentation.
4443
4444 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
4445
4446         * src/hildon-stackable-window.c (get_previous_window_if_last):
4447         Renamed get_last_window()
4448         (hildon_stackable_window_map, hildon_stackable_window_unmap)
4449         (hildon_stackable_window_unset_program):
4450         Simplified code.
4451         (get_previous_window_if_last):
4452         Detect if the window hasn't been added to a HildonProgram.
4453
4454 2008-06-26  Alejandro G. Castro <alex@igalia.com>
4455
4456         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4457
4458         * src/hildon-pannable-area.c
4459         (hildon_pannable_area_button_press_cb),
4460         (hildon_pannable_axis_scroll),
4461         (hildon_pannable_area_scroll),
4462         (hildon_pannable_area_timeout),
4463         (hildon_pannable_calculate_vel_factor),
4464         (hildon_pannable_area_get_property),
4465         (hildon_pannable_area_set_property),
4466         (hildon_pannable_area_class_init),
4467         (hildon_pannable_area_init),
4468         (hildon_pannable_area_scroll_to),
4469         (hildon_pannable_area_jump_to),
4470         (hildon_pannable_area_scroll_to_child),
4471         (hildon_pannable_area_jump_to_child):
4472         * src/hildon-pannable-area.h: Added the new API functions:
4473         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4474         hildon_pannable_area_scroll_to_child,
4475         hildon_pannable_area_jump_to_child
4476
4477
4478         * examples/Makefile.am
4479         * examples/hildon-pannable-area-example-2.c
4480         * examples/hildon-pannable-area-example-3.c: Added these two new
4481         examples in order to test and show how the new APIs work.
4482
4483 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
4484
4485         * examples/hildon-stackable-window-example.c (new_window):
4486         * src/Makefile.am (noinst_HEADERS):
4487         * src/hildon-program.c (hildon_program_go_to_root_window):
4488         * src/hildon-program.h:
4489         * src/hildon-stackable-window-private.h:
4490         * src/hildon-stackable-window.c:
4491         * src/hildon-stackable-window.h:
4492         Create hildon-stackable-window-private.h
4493         Move hildon_stackable_window_go_to_root_window() to HildonProgram
4494
4495         * examples/hildon-app-menu-example.c (create_menu):
4496         * examples/hildon-hvolumebar-insensitive-example.c (main):
4497         * examples/hildon-hvolumebar-timer-example.c (on_idle):
4498         * examples/hildon-toolbar-seekbar-example.c (main):
4499         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4500         * src/hildon-banner.c (hildon_banner_set_property):
4501         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4502         Fix compilation warnings
4503
4504         * src/hildon-window.c:
4505         Fix typo in doc
4506
4507 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
4508
4509         * src/hildon-stackable-window.c
4510         (hildon_stackable_window_unset_program):
4511         Calculate correctly whether to show the previous window if the
4512         last one is removed from the stack.
4513         (hildon_stackable_window_go_to_root_window):
4514         Send delete events starting from the topmost window.
4515         Stop if one of the windows is not destroyed.
4516         Update doc.
4517         (hildon_stackable_window_delete_event)
4518         (hildon_stackable_window_class_init):
4519         Ignore the delete event if the window is not the topmost one.
4520
4521 2008-06-24  Alejandro G. Castro <alex@igalia.com>
4522
4523         * src/hildon-pannable-area.c
4524         (hildon_pannable_area_expose_event): Fixed a problem when
4525         selecting the background color of the scrollbars.
4526
4527 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
4528
4529         * examples/hildon-stackable-window-example.c
4530         * src/hildon-stackable-window.c
4531         * src/hildon-stackable-window.h
4532         hildon_stackable_window_go_home() renamed to
4533         hildon_stackable_window_go_to_root_window()
4534         Send delete events to windows rather than closing them with
4535         gtk_widget_destroy()
4536
4537 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4538
4539         * src/hildon-pannable-area.c
4540         (hildon_pannable_area_button_release_cb): Fix overshooting in
4541         accel mode.
4542
4543 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
4544
4545         * src/hildon-pannable-area.c
4546         (hildon_pannable_area_init): Initially show the scroll indicators.
4547         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4548
4549         Add initial effect showing the widget is pannable.
4550
4551 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4552
4553         * src/hildon-pannable-area.c
4554         (hildon_pannable_area_class_init)
4555         (hildon_pannable_area_set_property)
4556         (hildon_pannable_area_get_property)
4557         (hildon_pannable_area_button_press_cb):
4558         New 'velocity_fast_factor' property to decide which velocity is
4559         considered fast.
4560
4561 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
4562
4563         * src/hildon-pannable-area.c
4564         (hildon_pannable_draw_hscroll)
4565         (hildon_pannable_draw_vscroll):
4566         Use float variables to calculate the size of the scrollbars to
4567         avoid error propagation and resizing during scrolling.
4568
4569 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4570
4571         * src/hildon-pannable-area.c
4572         (hildon_pannable_draw_vscroll)
4573         (hildon_pannable_draw_hscroll):
4574         Define a minimum size for the scroll bars
4575
4576         * src/hildon-stackable-window.c
4577         (hildon_stackable_window_go_home): Fix compilation warning
4578         (get_last_window): Minor optimizations
4579         (hildon_stackable_window_class_init): Fix initialization of
4580         private structure.
4581
4582 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
4583
4584         * src/hildon-stackable-window.c: Fixed typos in doc
4585
4586 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
4587
4588         * src/hildon-pannable-area.c
4589         (hildon_pannable_area_scroll):
4590         Calculate here whether we need to scroll instead of using the booleans
4591         that tell us whether to /draw/ the scrolling bars.
4592
4593 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
4594
4595         * src/hildon-app-menu.h
4596         Update API.
4597         * src/hildon-app-menu.c
4598         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4599         multiple filter groups related code and API. Now we support only
4600         one filter group.
4601         * examples/hildon-app-menu-example.c:
4602         (create_menu):
4603         Update to reflect API changes.
4604
4605 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
4606
4607         * src/hildon-stackable-window.c
4608         (hildon_stackable_window_class_init):
4609         Add hildon_stackable_window_realize.
4610         (hildon_stackable_window_realize):
4611         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4612         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4613         to apply theming and behavior specific to HildonStackableWindow
4614         windows.
4615
4616 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
4617
4618         * src/hildon-note.c (hildon_note_button_release):
4619         Close information notes also when tapping on them
4620
4621 2008-06-12  Alejandro G. Castro <alex@igalia.com>
4622
4623         Added BOUNCE_STEPS define to control the overshoot effect. Removed
4624         ELASTICITY, refactor and review, fix some issues with drawing
4625         scrollbars.
4626
4627         * src/hildon-pannable-area.c:
4628         (hildon_pannable_area_button_press_cb): removed the conditions to
4629         avoid clicks when overshooting. It is not required
4630
4631         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4632         define. Refatored and reviewed the code, now we do not need to
4633         manage velocity in motion_notify.
4634
4635         (hildon_pannable_area_motion_notify_cb): We have moved the code
4636         that controls the area_scroll to the axis_scroll function and get
4637         rid of duplicated code.
4638
4639         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4640
4641         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4642
4643         (hildon_pannable_draw_vscroll),
4644         (hildon_pannable_draw_hscroll): Fixed the problems with the
4645         scrollbar drawing, now we do not use two surfaces, it is easier
4646         and saves resources.
4647
4648         (hildon_pannable_area_get_property): Style modification.
4649
4650         (hildon_pannable_area_class_init): Changed some default values.
4651
4652 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
4653
4654         * src/hildon-stackable-window.c: Fix some typos in the
4655         documentation.
4656
4657 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
4658
4659         * src/hildon-dialog.c:
4660         Change indentation style
4661
4662         * src/hildon-note.c
4663         (hildon_note_button_release):
4664         Use root coordinates to check if the release event happened
4665         outside the widget.
4666
4667         * src/hildon-app-menu.c
4668         (hildon_app_menu_button_release):
4669         Remove unnecessary check
4670
4671         * examples/hildon-app-menu-example.c
4672         (button_clicked):
4673         Add cast to fix warning
4674
4675         * src/hildon-app-menu.c
4676         (hildon_app_menu_class_init):
4677         New inner-border style property.
4678         Set all default spacings to 16
4679         (hildon_app_menu_init):
4680         Use vertical-spacing to set the space between filter buttons and
4681         regular menu buttons.
4682         Set the default container border using the inner-border value.
4683
4684         * examples/hildon-app-menu-example.c
4685         (create_menu):
4686         Don't set the menu border explicitly, now we have the inner-border
4687         style property for that.
4688
4689 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
4690
4691         * src/hildon-app-menu.c (hildon_app_menu_init):
4692         Make the window modal
4693
4694         * src/hildon-note.c (hildon_note_map)
4695         * src/hildon-app-menu.c (hildon_app_menu_map):
4696         Destroy the grab window if we're unable to grab the pointer
4697
4698         * src/hildon-app-menu-private.h
4699         * src/hildon-app-menu.c
4700         (hildon_app_menu_init, hildon_app_menu_finalize)
4701         (hildon_app_menu_map, hildon_app_menu_unmap)
4702         (hildon_app_menu_button_release)
4703         (grab_transfer_window_get):
4704         Bring back the grab window
4705         (hildon_app_menu_realize):
4706         Decorate the window, set WM hint for Matchbox
4707
4708         * src/hildon-note.c (hildon_note_realize):
4709         * src/hildon-banner.c (hildon_banner_realize):
4710         Add WM hints for Matchbox
4711
4712 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
4713
4714         * src/hildon-app-menu-private.h
4715         * src/hildon-app-menu.c
4716         (hildon_app_menu_init, hildon_app_menu_finalize)
4717         (hildon_app_menu_map, hildon_app_menu_unmap)
4718         (hildon_app_menu_button_release):
4719         Remove the grab window, it's not needed anymore
4720
4721         * src/hildon-program.c
4722         Fixed typo in documentation
4723
4724         * src/hildon-app-menu.h
4725         * src/hildon-app-menu.c
4726         * examples/hildon-app-menu-example.c
4727         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4728
4729 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
4730
4731         * src/hildon-note.c
4732         Added new transfer_window and close_if_pressed_outside private
4733         attributes.
4734         (hildon_note_rebuild):
4735         Don't add a cancel button to the information note. It will be
4736         closed when tapping outside
4737         Remove the comment about the OK button in the documentation
4738         (hildon_note_realize):
4739         Set the notification type hint
4740         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4741         Grab/ungrab pointer and keyboard if the note has to be closed when
4742         tapping outside
4743         (hildon_note_button_release):
4744         Close the note when tapping outside (if applicable)
4745
4746         * src/hildon-app-menu.c
4747         Grab/ungrab pointer and keyboard on map/unmap
4748         (hildon_app_menu_button_release, hildon_app_menu_class_init):
4749         Close the menu on button release, not button press
4750
4751         * src/hildon-banner.c
4752         (hildon_banner_set_property)
4753         (hildon_banner_check_position):
4754         Make the banner use the full width of the screen
4755         (hildon_banner_show_information)
4756         (hildon_banner_show_information_with_markup):
4757         Don't display an icon by default
4758
4759 2008-06-09  Alejandro G. Castro <alex@igalia.com>
4760
4761         Added fading scrollbars and adapted all the overshooting code to
4762         horizontal scrolling. We have also fixed bugs with overshooting
4763         and current fading implementation.
4764
4765         * src/hildon-pannable-area.c
4766         (hildon_pannable_area_scroll_indicator_fade): Time out function
4767         used to change the transparency of the scrollbars.
4768
4769         (hildon_pannable_area_button_press_cb): Added horizontal overshot
4770         control and fixed a problem with fading, we now remove the fade
4771         timeout before adding a new one.
4772
4773         (hildon_pannable_axis_scroll):
4774         (hildon_pannable_area_scroll):
4775         (hildon_pannable_area_timeout): Added this functions so we can use
4776         the scroll code both for vertical and horizontal.
4777
4778         (hildon_pannable_area_motion_notify_cb):
4779         (hildon_pannable_area_button_release_cb): Added the horizontal
4780         scrolling control, fixed a problem with the overshooting timeout.
4781
4782         (rgb_from_gdkcolor): Added this function, it is used in the cairo
4783         painting of the scrolls.
4784
4785         (hildon_pannable_draw_vscroll):
4786         (hildon_pannable_draw_hscroll):
4787         (hildon_pannable_area_expose_event):
4788         Draw both scrollbars and rectangles in the overshooting area.
4789
4790         (hildon_pannable_area_get_property):
4791         (hildon_pannable_area_set_property):
4792         Modified the overshoot property to overshoot_max
4793
4794         (hildon_pannable_area_map):
4795         Replaced the comments symbols.
4796
4797         (hildon_pannable_area_size_allocate):
4798         (hildon_pannable_area_class_init):
4799         (hildon_pannable_area_init): Added horizontal scroll, fading
4800         effect properties, fixed a problem when overshooting in the bottom
4801         of the widget.
4802
4803         * examples/hildon-pannable-area-example.c:
4804         (get_sawtooth_label): Now we use smaller sawtooths, the effect
4805         looks better in the example.
4806
4807 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
4808
4809         * src/hildon-window.c
4810         * src/hildon-window.h
4811         (hildon_window_class_init)
4812         (hildon_window_unset_program)
4813         (hildon_window_unset_program_real):
4814         Make unset_program a virtual function
4815
4816         * src/hildon-stackable-window.c
4817         * src/hildon-stackable-window.h
4818         Added hildon_stackable_window_go_home()
4819
4820         * examples/Makefile.am
4821         * examples/hildon-stackable-window-example.c
4822         HildonStackableWindow example
4823
4824 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4825
4826         * hildon-pannable-area.c: Added the overshoot property and removed
4827         the OVERSHOOT define. Fixed an indent style error.
4828         (hildon_pannable_area_motion_notify_cb):
4829         (hildon_pannable_area_get_property):
4830         (hildon_pannable_area_set_property): Add overshoot property.
4831
4832         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4833         overshoot property.
4834
4835         (hildon_pannable_area_class_init): Installed the new property.
4836
4837         * hildon-pannable-area-example.c: Added a sawtooth function, this
4838         way it is easier to check the movement in the pannable.
4839         (get_sawtooth_label): Added this function.
4840         (main): Now we get the labels from the new get_sawtooth_label
4841         function.
4842
4843 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
4844
4845         * src/hildon-app-menu.h
4846         * src/hildon-app-menu.c
4847         Renamed API variables for consistency
4848
4849         (hildon_app_menu_popup): Use also the default window size to
4850         decide where to place the menu
4851
4852         (hildon_app_menu_init, hildon_app_menu_class_init): New
4853         external-border style property
4854
4855 2008-05-26  Michael Natterer  <mitch@imendio.com>
4856
4857         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4858         widget_class->tap_and_hold_setup signal slot doesn't exist any
4859         longer, stop overriding it.
4860
4861         (hildon_time_editor_init): g_signal_connect() to the
4862         tap-and-hold-setup signal instead.
4863
4864         (hildon_time_editor_entry_keypress): add cast to fix warning.
4865
4866 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
4867
4868         * doc/hildon-docs.sgml
4869         * doc/hildon.types
4870         * examples/Makefile.am
4871         * examples/hildon-app-menu-example.c
4872         * src/Makefile.am
4873         * src/hildon-app-menu-private.h
4874         * src/hildon-app-menu.c
4875         * src/hildon-app-menu.h
4876         * src/hildon.h
4877         New HildonAppMenu widget
4878
4879 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4880
4881         Rearranged the inheritance of the pannable area, now it inherits
4882         from GtkBin. This will allow us to control the event_window and
4883         the allocation process of the widget, required for some effects.
4884
4885         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4886         GtkBin structures.  * src/hildon-pannable-area.c: Added the
4887         event_window variable.
4888         (hildon_pannable_area_button_press_cb):
4889         (hildon_pannable_area_button_release_cb):
4890         (hildon_pannable_area_motion_notify_cb):
4891         Changed the signature of the method, now we override the event
4892         callback instead of connecting to the signal.
4893
4894         (hildon_pannable_area_realize):
4895         (hildon_pannable_area_unrealize):
4896         (hildon_pannable_area_map):
4897         (hildon_pannable_area_unmap):
4898         (hildon_pannable_area_size_allocate):
4899         Added functions to control the widget construction. We add a
4900         INPUT_ONLY window and we put it over the widgets inside the
4901         container, this event_window handles the events.
4902
4903         (hildon_pannable_area_class_init):
4904         Replaced the signal connections with overrides of the event
4905         callbacks.
4906
4907 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4908
4909         Bouncing effect added when touching the borders, you can change
4910         the elasticity of the border changing the ELASTICITY define.
4911
4912         * src/hildon-pannable-area.c: Added ELASTICITY define.
4913         (hildon_pannable_area_timeout): Added inverse velocity when
4914         touching the border of the child widget, that causes a bounce.
4915
4916 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4917
4918         Improved performance, we now do not go to the X server in order to
4919         get the list of window children. Apparently the effect is the
4920         same, we have to be careful and check if this breaks something in
4921         any corner case.
4922
4923         * src/hildon-pannable-area.c:
4924         (get_ordered_children): Removed this function.
4925         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4926         the children windows function with gdk_window_get_children.
4927
4928 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4929
4930         * src/hildon-pannable-area.c:
4931         (hildon_pannable_area_dispose): Fixed a crash when closing the
4932         window and kinetics is activated.
4933
4934 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
4935
4936         * src/hildon-pannable-area.h
4937         * src/hildon-pannable-area.c
4938         Changed indentation style to meet the one used in Hildon
4939
4940 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4941
4942         Reviewed the interaction of the AUTO mode, now we use the time
4943         attribute of the events and calculate the velocity in the motion,
4944         doing a gimp like calculation. The velocity is calculated in each
4945         motion event using the last velocity and the current one, the
4946         SMOOTH_FACTOR controls the percentage of the new velocity we use.
4947
4948         * src/hildon-pannable-area.c: Replaced the time based algorithm
4949         for the AUTO mode.
4950         (hildon_pannable_area_motion_notify_cb): now we do not launch the
4951         timeout for the AUTO mode when we are still moving the cursor. We
4952         added also the velocity calculation in this function.
4953         (hildon_pannable_area_button_release_cb): launch the timeout in
4954         case we are in AUTO mode. There are still some constants here that
4955         come from the old implementation that should be reviewed and
4956         handled properly.
4957
4958 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
4959
4960         * doc/hildon-docs.sgml
4961         * doc/hildon.types
4962         * src/Makefile.am
4963         * src/hildon-stackable-window.c
4964         * src/hildon-stackable-window.h
4965         * src/hildon.h
4966         New HildonStackableWindow widget
4967
4968         * examples/hildon-dialog-example.c
4969         * examples/hildon-pannable-area-example.c
4970         Updated copyright
4971
4972 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
4973
4974         * src/hildon-dialog.c
4975         (hildon_dialog_new_with_buttons): New constructor.
4976
4977         * examples/hildon-dialog-example.c
4978         (main): Update the example to use the new
4979         hildon_dialog_new_with_buttons().
4980
4981         * examples/hildon-pannable-area-example.c
4982         (main): Update example.
4983
4984 2008-05-13 Alberto Garcia <agarcia@igalia.com>
4985
4986         * doc/hildon-docs.sgml
4987         * doc/hildon.types
4988         Added HildonPannableArea to the documentation.
4989
4990 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
4991
4992         * doc/visual_index.xml
4993         Fix reference to HildonLoginDialog in documentation
4994
4995         * doc/hildon-docs.sgml
4996         * doc/hildon.types
4997         * examples/Makefile.am
4998         * examples/hildon-dialog-example.c
4999         * src/Makefile.am
5000         * src/hildon-dialog.c
5001         * src/hildon-dialog.h
5002         * src/hildon.h
5003         New HildonDialog widget.
5004
5005 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5006
5007         * src/hildon-pannable-area.c
5008         Merge latest changes (r4318, r4342) from libmokoui trunk
5009
5010 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5011
5012         * examples/Makefile.am
5013         * examples/hildon-pannable-area-example.c
5014         * src/Makefile.am
5015         * src/hildon-pannable-area.c
5016         * src/hildon-pannable-area.h
5017         * src/hildon.h
5018         New HildonPannableArea widget.
5019
5020 2008-04-15 18:05:19    <timj@imendio.com>
5021
5022         * src/hildon-banner.c: revert the recent change, that introduced
5023         gtk_window_present() calls. this reopens:
5024           Bug 78481 - [freetest] information banners are hidden under browser menu
5025         But resolves another variant of:
5026           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5027
5028 2008-04-15 13:21:13    <timj@imendio.com>
5029
5030         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5031         recreated its layout, spotted by Kris. this fixes all remaining
5032         artefacts and stability issues with the banner code. in particular:
5033         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5034
5035 2008-04-14 16:52:59    <timj@imendio.com>
5036
5037         * src/hildon-banner.c: guard force_to_wrap_truncated() against
5038         operating on unrealized widgets, fixes:
5039         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5040
5041         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5042
5043 2008-04-09  Kristian Rietveld  <kris@imendio.com>
5044
5045         Fixes: NB#77775: Media Player, Save Now playing list, too long name
5046         makes banner disappear.
5047         Fixes: NB#79182: info banner flickering with certain message lengts.
5048
5049         * src/hildon-banner.c (hildon_banner_constructor),
5050         (hildon_banner_init), (hildon_banner_set_text),
5051         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5052         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5053         FALSE, reset size requests of label and banner,
5054         (force_to_wrap_truncated): when the text is too wide, always enforce
5055         the maximum possible width instead of recalculating it from the
5056         layout; enforce the maximum banner height of 3 lines,
5057         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5058         nicer wrapping and no truncated chars if space gets tight.
5059
5060         * src/hildon-banner-private.h: add has_been_wrapped and
5061         has_been_truncated fields.
5062
5063 2008-04-07  Sven Herzberg  <sven@imendio.com>
5064
5065         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5066         local values in hildon_date_editor_size_allocate
5067
5068         * src/hildon-date-editor.c: moved the real allocation code into the
5069         if() branch
5070
5071 2008-04-07  Sven Herzberg  <sven@imendio.com>
5072
5073         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5074         local values in hildon_date_editor_size_allocate
5075
5076         * src/hildon-date-editor.c: merged the two if() branches together
5077
5078 2008-04-07  Sven Herzberg  <sven@imendio.com>
5079
5080         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5081         local values in hildon_date_editor_size_allocate
5082
5083         * src/hildon-date-editor.c: changed the arguments of the if()
5084         conditions
5085
5086 2008-04-07  Sven Herzberg  <sven@imendio.com>
5087
5088         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5089         local values in hildon_date_editor_size_allocate
5090
5091         * src/hildon-date-editor.c: split the calculation of the allocation
5092         from the real allocation
5093
5094 2008-03-27  Michael Natterer  <mitch@imendio.com>
5095
5096         Fixes: NB#81696: The passcode is not overwritten even after
5097         selecting
5098
5099         * src/hildon-code-dialog.c
5100         (hildon_code_dialog_button_clicked)
5101         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5102         because that doesn't overwrite selected text. Instead, emit the
5103         "commit" signal on the entry's im_context so the entry's normal
5104         insert logic is triggered. Set the cursor to the end of the entry
5105         after each insert operation so that we *only* insert in the middle
5106         of the text if something was selected.
5107
5108 2008-03-27  Michael Natterer  <mitch@imendio.com>
5109
5110         Enable fixing: NB#79916 and NB#79918: The help topic for Color
5111         selector cannot be opened
5112
5113         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5114         when the popup color selector is created. Please connect to this
5115         signal in order to set the dialog's help ID.
5116
5117 2008-03-25  Sven Herzberg  <sven@imendio.com>
5118
5119         Fixes: MB#1212: Hide info banners (infoprints) on click
5120
5121         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5122         extracted the close event simulation into an extra function
5123         (hildon_banner_button_press_event): simulate a close event and destroy
5124         the widget if the event wasn't handled
5125         (hildon_banner_class_init): added the button_press_event handler
5126         (hildon_banner_init): added button-press events to the widget
5127
5128 2008-03-25  Sven Herzberg  <sven@imendio.com>
5129
5130         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5131         Patch from: Mohammad Anwari  <mdamt@maemo.org>
5132
5133         * src/hildon-banner.c: let the HildonBanners pop up on the left side
5134         instead of the right in RTL mode
5135         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5136         breadcrumb button list in RTL mode
5137         * src/hildon-caption.c: mirror the appearance of the caption widget in
5138         RTL mode
5139         * src/hildon-date-editor.c: mirror appearance of the date editor in
5140         RTL mode
5141         * src/hildon-time-editor.c: mirror appearance of the time editor in
5142         RTL mode
5143         * src/hildon-window.c: fix the position of the popup in RTL mode
5144
5145 2008-03-25  Sven Herzberg  <sven@imendio.com>
5146
5147         Amendment to the fix of NB#22072. Fix compilation.
5148
5149         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5150
5151 2008-03-19  Sven Herzberg  <sven@imendio.com>
5152
5153         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5154         in Info Banner" bug
5155
5156         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5157         timeout id properly when the timeout will disappear this leaves no
5158         artifacts around in the destroy(); there will only be the timeout
5159         created by hildon_banner_ensure_timeout() and adding a new timeout
5160         will also work if the timeout gets removed because the timeout_handler
5161         returned FALSE
5162
5163 2008-03-19  Michael Natterer  <mitch@imendio.com>
5164
5165         Fixes: NB#79791: Cannot set focus to Master volume using stylus
5166
5167         * src/hildon-volumebar.c
5168         * src/hildon-vvolumebar.c
5169         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5170         the widget becomes focussable at all.
5171
5172         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5173         set the focus to wither the mute button or the volumebar.
5174
5175         Remove own "can-focus" property and instead listen to
5176         notify::can-focus in order to update the widget's state.
5177
5178         Implement GtkWidget::focus() and make sure we can also *leave* the
5179         widget, not only enter it, depending on volumebar orientation and
5180         requested focus direction.
5181
5182         Clean up set_mute() to cooperate nicely with all the above.
5183
5184 2008-03-04  Michael Natterer  <mitch@imendio.com>
5185
5186         Fixes: NB#78481: information banners are hidden under browser menu
5187
5188         * src/hildon-banner.c: call gtk_window_present() on the banners so
5189         they are risen if they are already visible.
5190
5191 2008-03-03  Sven Herzberg  <sven@imendio.com>
5192
5193         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5194
5195         * examples/hildon-window-menu-example.c: (main): extended the window
5196         menu example to serve as a testcase for automatically added
5197         accelerator groups, too
5198         * src/hildon-window.c: (hildon_window_add_accel_group),
5199         (hildon_window_set_menu): added patch by Tommi Komulainen
5200
5201 2008-03-03  Sven Herzberg  <sven@imendio.com>
5202
5203         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5204
5205         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5206         knowledge about the border allocators used within GTK+
5207
5208 2008-02-26  Sven Herzberg  <sven@imendio.com>
5209
5210         Fixes: MB#2981: Build with asserts broken
5211
5212         * src/hildon-date-editor.c,
5213         * src/hildon-number-editor.c,
5214         * src/hildon-time-editor.c,
5215         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5216         the proper GType instance check
5217
5218 2008-02-25  Sven Herzberg  <sven@imendio.com>
5219
5220         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5221
5222         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5223         * examples/hildon-window-menu-example.c: (main): explicitly show
5224         the menu item
5225         * src/hildon-window.c:
5226         (hildon_window_set_main_menu): moved most of the code from set_menu()
5227         to this place; skipped the call to gtk_widget_show_all(); also didn't
5228         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5229         (hildon_window_set_menu): removed most of the code, just keep the
5230         questionable gtk_widget_show_all()
5231         * src/hildon-window.h: added the new function and deprecate the old
5232         one
5233
5234 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
5235
5236         [2.0.1-1 release]
5237
5238         * NEWS:
5239         * configure.ac:
5240         * debian/changelog: Updating.
5241
5242 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
5243
5244         * configure.ac:
5245         * pkgconfig/Makefile.am:
5246         * pkgconfig/hildon.pc.in:
5247         * src/Makefile.am:
5248
5249         Do not use PACKAGE_VERSION_MAJOR as the API revision,
5250         use newly created API_MAJOR_VERSION.
5251
5252 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
5253
5254         [2.0.0-1 release]
5255
5256         * NEWS:
5257         * configure.ac:
5258         * debian/changelog: Updating.
5259
5260 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
5261
5262         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5263
5264         Add outer_border style property, we use it but don't define it (!).
5265
5266         Fixes NB#75310
5267
5268 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
5269
5270         * examples/hildon-bread-crumb-trail-example.c (main):
5271
5272         Add clear button.
5273
5274         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5275
5276         Fix logic for the bread crumb trail node removal.
5277
5278         Fixes: NB#78616
5279
5280 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5281
5282         [1.99.1-1 release]
5283
5284         * NEWS:
5285         * configure.ac:
5286         * debian/changelog: Updating.
5287
5288 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5289
5290         Patch by Alejandro to get/set passwords dialogs accesibility.
5291
5292         * hildon-1/src/hildon-get-password-dialog.c:
5293         * hildon-1/src/hildon-set-password-dialog.c:
5294         Set atk_set_name to the passwd entries in order to allow
5295         accessibility by name on this entries.
5296
5297 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5298
5299         [1.99.0-2 release]
5300
5301         * debian/changelog:
5302         * debian/control: Updating gtk dep.
5303
5304 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
5305
5306         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5307         USE_MAEMO_GTK is enabled.
5308
5309 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
5310
5311         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5312         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5313
5314 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5315
5316         [1.99.0-1 release]
5317
5318         * NEWS:
5319         * configure.ac:
5320         * debian/changelog: Updating.
5321
5322 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5323
5324         * examples/Makefile.am:
5325         * examples/hildon-logical-color-example.c:
5326         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5327         applied + adding a test case. Fixes: NB#71660.
5328
5329 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
5330
5331         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5332         to be visible, fixes warning on map for windows without toolbars.
5333
5334 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
5335
5336         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5337         2.11.0, add a check for that besides the MAEMO_GTK check.
5338
5339 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5340
5341         [1.0.17-1 release]
5342
5343         * NEWS:
5344         * configure.ac:
5345         * debian/changelog: Updating.
5346
5347 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5348
5349         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5350         visibility. Fixes: NB#70842 and MB#615.
5351
5352 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
5353
5354         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5355         set the separator as no-show-all so it doesn't unintentionally appear when
5356         someone does a show_all.
5357
5358 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
5359
5360         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5361         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5362         toplevel item. Fixes: NB#62031
5363
5364 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
5365
5366         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5367         fix the name of the function in the docs.
5368
5369 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5370
5371         [1.0.16-1 release]
5372
5373         * NEWS:
5374         * configure.ac:
5375         * debian/changelog: Updating.
5376
5377 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5378
5379         * examples/hildon-banner-long-example.c: Adding a test-case for long
5380         hildon banner.
5381
5382         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5383
5384 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5385
5386         * src/hildon-color-chooser-dialog.c:
5387         * src/hildon-color-chooser.c:
5388         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5389         memory leaks in font selector and color selector. Fixes: NB#70499 and
5390         NB#70474.
5391
5392 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
5393
5394         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5395
5396 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5397
5398         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5399         little bit bigger. Fixes: #NB63694.
5400
5401 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5402
5403         [1.0.15-1 release]
5404
5405         * NEWS:
5406         * configure.ac:
5407         * debian/changelog: Updating.
5408
5409 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5410
5411         * doc/Makefile.am:
5412         * doc/hildon-docs.sgml:
5413         * doc/images/bread-crumb-trail.png:
5414         * doc/images/calendar-popup.png:
5415         * doc/images/caption.png:
5416         * doc/images/code-dialog.png:
5417         * doc/images/color-button.png:
5418         * doc/images/color-chooser-dialog.png:
5419         * doc/images/color-chooser.png:
5420         * doc/images/controlbar.png:
5421         * doc/images/date-editor.png:
5422         * doc/images/font-selection-dialog.png:
5423         * doc/images/get-password-dialog.png:
5424         * doc/images/hvolumebar.png:
5425         * doc/images/login-dialog.png:
5426         * doc/images/note.png:
5427         * doc/images/number-editor.png:
5428         * doc/images/range-editor.png:
5429         * doc/images/seekbar.png:
5430         * doc/images/set-password-dialog.png:
5431         * doc/images/sort-dialog.png:
5432         * doc/images/time-editor.png:
5433         * doc/images/time-picker.png:
5434         * doc/images/vvolumebar.png:
5435         * doc/images/weekday-picker.png: Adding the new generated widget shots.
5436         Adding the bread-crumb-trial and helpers to the documentation.
5437
5438 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5439
5440         * examples/hildon-find-toolbar-example.c:
5441         * src/hildon-find-toolbar.c:
5442         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5443         actually continue firing the other handlers if connected. Adding a new
5444         function:
5445         hildon_find_toolbar_get_last_index that gets the index of the most
5446         recently added (last) item. Fixes: NB#52301.
5447
5448 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5449
5450         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5451         behaviour. Fixes: NB#68610.
5452
5453 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5454
5455         * src/hildon-banner.c: Actually reverting the previous change. It somehow
5456         looks a bit worse.
5457
5458 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5459
5460         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5461         when realizing the banner. Should make the infonbanner effect a bit more
5462         bearable.
5463
5464 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5465
5466         * src/hildon-volumebar.c:
5467         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5468         hildon_volumebar_set_range_insensitive_message and
5469         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5470
5471 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5472
5473         * src/hildon-window.c: Fixing the border freeing on destroy.
5474
5475 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5476
5477         * src/hildon-code-dialog-private.h:
5478         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5479         kw keyboard support in HildonCodeDialog.
5480
5481 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5482
5483         [1.0.14-1 release]
5484
5485         * NEWS:
5486         * configure.ac:
5487         * debian/changelog: Updating.
5488
5489 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5490
5491         * src/hildon-date-editor.c:
5492         * src/hildon-number-editor.c:
5493         * src/hildon-private.c:
5494         * src/hildon-private.h:
5495         * src/hildon-time-editor.c:
5496         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5497         handling in subclassed composite widgets. Fixes: NB#66628.
5498
5499 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5500
5501         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5502         from destroy_ callback as it introduces problems in async dbus signal
5503         handlers. Fixes NB#66673.
5504
5505 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5506
5507         * examples/hildon-hvolumebar-example.c:
5508         * src/hildon-volumebar.c: Improving the focus handling in the
5509         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5510         set_property accessor so that "mute" property can be actually set. I'm
5511         scared that nobody noticed it's totally broken.
5512
5513 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5514
5515         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5516         Fixes NB#66548.
5517
5518 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5519
5520         * src/hildon-calendar.c:
5521         * src/hildon-number-editor.c:
5522         * src/hildon-time-picker.c: Changing the timeout repeat so that it
5523         matches the spec of 6 chars per second. Fixes: NB#60489.
5524
5525 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5526
5527         * src/hildon-helper.c: Really fixing NB#58352. Looks like
5528         gtk_style_lookup_color sometime returns FALSE even though color was
5529         found and values were filled properly. Weird. Removing the warning for the
5530         time being.
5531
5532 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5533
5534         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5535         expand vertically. Adding some extra space to the find toolbar buttons to
5536         make them thumbable. Fixes NB#66060.
5537
5538 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5539
5540         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5541         popup with "Ok" and "Cancel". Fixes NB#59299.
5542
5543 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5544
5545         * src/hildon-calendar.c: Process all window updates before executing next
5546         timeout. Fixes: NB#54146.
5547
5548 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5549
5550         [1.0.13-1 release]
5551
5552         * NEWS:
5553         * configure.ac:
5554         * debian/changelog: Updating.
5555
5556 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
5557
5558         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5559         the client event and ignore it, since we use the delete event to close
5560         after timeouts.
5561
5562 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5563
5564         * src/hildon-helper.c: Remove the bogus warning about color not being
5565         found. Fixes NB#58352.
5566
5567 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5568
5569         * examples/Makefile.am:
5570         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5571         HildonSeekbar widget inside a toolbar.
5572
5573 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
5574
5575         * src/hildon-banner.c (hildon_banner_init): mark the banners as
5576         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5577         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5578         don't want to be closed by non-temporary windows on map.
5579
5580         Also use G_DEFINE_TYPE instead of manually typed code.
5581
5582 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5583
5584         [1.0.12-1 release]
5585
5586         * NEWS:
5587         * configure.ac:
5588         * debian/changelog:
5589         * debian/rules: Updating.
5590
5591 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5592
5593         * examples/Makefile.am:
5594         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5595         bug NB#61128. Strangely it works.
5596
5597 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5598
5599         * src/hildon-date-editor.c: When the date editor entry has been changed
5600         but the numbers of characters < max, turn off the skip validation flag.
5601         Prevents a situation when we enter first a valid year and later re-write
5602         it with an invalid one. Fixes NB#60154.
5603
5604 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5605
5606         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5607         code dialog. Fixes NB#64355.
5608
5609 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5610
5611         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5612         switching the page. Fixes NB#49374.
5613
5614         * examples/Makefile.am:
5615         * examples/hildon-wizard-dialog-example.c: Adding an example for
5616         HildonWizardDialog that shows how to handle manual sensitivity setting on
5617         the wizard dialog.
5618
5619 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5620
5621         * configure.ac:
5622         * src/Makefile.am:
5623         * src/hildon-version.h.in:
5624         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5625
5626 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5627
5628         * src/hildon-volumebar.c: Updating the docs.
5629
5630 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5631
5632         [1.0.11-1 release]
5633
5634         * NEWS:
5635         * configure.ac:
5636         * debian/changelog: Updating.
5637
5638 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5639
5640         * src/hildon-find-toolbar.c:
5641         * src/hildon-find-toolbar.h: Adding a few new functions to control the
5642         selected item: hildon_find_toolbar_set_active,
5643         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5644         hildon_find_toolbar_get_active_iter . They correspond to respective
5645         GtkComboBox functions.
5646
5647         * examples/Makefile.am:
5648         * examples/hildon-find-toolbar-example.c: Adding the example to test the
5649         new functionality.
5650
5651 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5652
5653         * examples/Makefile.am:
5654         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5655         theming easily.
5656
5657         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5658         when font size > 32 and we pack a focusable widget inside. Actually using
5659         the default response would work too, but since we don't show default
5660         response state in any way (no theming) it would not be visible to the
5661         user. Fixes NB#63430.
5662
5663 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5664
5665         * src/hildon-date-editor.c: Adding the missing variable setter in the
5666         set_property handler. Fixes NB#54182.
5667
5668 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5669
5670         * src/hildon-window.h: Changing the long key press time from 1500ms to
5671         800ms as requested in NB#63700. I have a bad feeling about this, let's
5672         see... Fixes NB#63700.
5673
5674 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
5675
5676         * src/hildon-time-picker.c (hildon_time_picker_class_init,
5677         hildon_time_picker_map, hildon_time_picker_realize,
5678         hildon_time_picker_style_set): Split the contents of map to more
5679         appropriate functions; set window decorations on realize and update
5680         arrows' size requisitions on style-set. Avoids unnecessary resizing.
5681
5682 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
5683
5684         [1.0.10-2 release]
5685
5686         * NEWS:
5687         * debian/changelog: Updating.
5688
5689 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
5690
5691         * src/Makefile.am: fixed installation of the header files
5692
5693 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5694
5695         [1.0.10-1 release]
5696
5697         * NEWS:
5698         * configure.ac:
5699         * debian/changelog: Updating.
5700
5701 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5702
5703         * configure.ac: Removing some remaining of --enable-xan.
5704
5705 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
5706
5707         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5708         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5709
5710         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5711         2.10.12-osso6 because the move-focus signal needs to be available in
5712         GtkWidget.
5713
5714 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5715
5716         * examples/Makefile.am:
5717         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5718         that makes a HildonVolumebar insensitive before mapping it. Seems to work
5719         fine. Prolly NB#61128 is fixed now.
5720
5721 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5722
5723         * src/hildon-volumebar.c:
5724         * src/hildon-volumebar.h: Adding the
5725         hildon_volumebar_set_range_insensitive_message and
5726         hildon_volumebar_set_range_insensitive_messagef functions to set
5727         insensitive message on the slider of the volumebar. Fixes NB#61129.
5728
5729         * examples/Makefile.am:
5730         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5731         test the new insensitive messsage functionality on HildonVolumebar.
5732
5733 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
5734
5735         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5736         work again.
5737
5738 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
5739
5740         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5741         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5742         button on after clearing the trail.
5743
5744 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5745
5746         * src/hildon-code-dialog.c: Removing the separator from the dialog.
5747
5748 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
5749
5750         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5751         by splitting the installed headers in generated and non-generated groups. Use
5752         only the non-generated headers to create the hildon-enum-types.h file.
5753
5754         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5755
5756 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5757
5758         * src/hildon-window.c: Hide the window before performing the destroy.
5759         Should make the app closing a little tiny bit more snappy.
5760
5761 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
5762
5763         * src/hildon-seekbar.c: add gtkrange.h header
5764         * src/hildon-caption.c: remove unused variable
5765
5766 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
5767
5768         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5769         Loic Minier.
5770
5771 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5772
5773         [1.0.9-1 release]
5774
5775         * NEWS:
5776         * configure.ac:
5777         * debian/changelog: Updating.
5778
5779 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
5780
5781         * src/hildon-window.c (hildon_window_window_state_event,
5782         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5783         escape timeout on focus-out-event rather than notify::is-topmost; the
5784         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5785
5786 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5787
5788         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5789         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5790
5791 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
5792
5793         * src/hildon-window: actually, you need to use the macro always, there's
5794         no private pointer in the instance structure. We should have cleaned this up
5795         when we had the chance...
5796
5797 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
5798
5799         * src/hildon-window.c: do not get the private date from HildonWindow before
5800         it passes the g_return_if_fail check. Once it's passed the test, there's no
5801         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5802         if you are only going to access the data once. Whitespace cleanups.
5803
5804 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
5805
5806         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5807         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5808
5809 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5810
5811         [1.0.8-1 release]
5812
5813         * NEWS:
5814         * configure.ac:
5815         * debian/changelog: Updating.
5816
5817 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5818
5819         * src/hildon-window.c: When destroying the window, remove (if exists) the
5820         escape timeout handler. Fixes #NB59276.
5821
5822 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5823
5824         * src/hildon-banner.c: When realizing the widget, set the window
5825         transiency. Setting the transiency in the gobject constructor is not
5826         good, as the widget is not realized at that point. Fixes: #NB56624.
5827
5828 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5829
5830         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5831         Add padding for future expansions.
5832
5833 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5834
5835         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5836         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5837         will fake an activation on the previous to the last item of the trail, so
5838         the effect can be overrided by the developer as usual.
5839         Also change the callback for the back button to do the same thing, so its
5840         effect can be overrided too. Fixes: NB#58982
5841
5842 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5843
5844         * src/hildon-caption.c: Implementing the proper focus grabbing in the
5845         HildonCaption. Fixes NB#52379.
5846
5847 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5848
5849         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5850         the internal state of the trail after the user has had the chance of executing
5851         his handler for the signal. Specifically, it may happen that the activated button
5852         is removed and the user still lets the default handler run. This would segfault
5853         previously.
5854
5855 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5856
5857         * src/hildon-font-selection-dialog.c: When the font is really big, add the
5858         scrollbar to the preview dialog. Fixes NB#54147.
5859
5860 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5861
5862         * src/hildon-date-editor.c: Changing the default max year to 2037. The
5863         max/min year properties can be altered, so the client can modify it
5864         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5865
5866 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5867
5868         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5869         hildonlike by default. Fixing a problem with disappearing arrows when
5870         scrolling through months and years. Fixes NB#54127.
5871
5872 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5873
5874         * examples/hildon-date-editor-example.c: Adding error callback to the date
5875         editor example.
5876
5877 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5878
5879         [1.0.7-1 release]
5880
5881         * NEWS:
5882         * debian/changelog:
5883         * configure.ac: Updating.
5884
5885 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5886
5887         * configure.ac: Adding a special '--enable-xan' configure option that
5888         turns off the -Werror compilation setting. Usefull for development.
5889
5890         * src/hildon-calendar.c:
5891         * src/hildon-number-editor.c:
5892         * src/hildon-time-picker.c: Adding the 5* multiplier to
5893         gtk-timeout-update.
5894
5895 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
5896
5897         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5898         instead of g_object_ref + gtk_object_sink.
5899
5900 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5901
5902         [1.0.6-1 release]
5903
5904         * NEWS:
5905         * configure.ac:
5906         * debian/changelog: Updating.
5907
5908 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5909
5910         * src/hildon-color-chooser-dialog.c:
5911         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5912         straight from Tommi labs.
5913
5914 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5915
5916         * examples/hildon-finger-example.c: Correcting the header file path.
5917
5918         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5919         the changed signal. Fixes a small memory leak.
5920
5921 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5922
5923         * autogen.sh:
5924         * debian/rules:
5925         * src/hildon-banner.c: Importing several usefull fixes from the
5926         ubuntu-mobile branch.
5927
5928 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5929
5930         * examples/Makefile.am:
5931         * examples/hildon-finger-example.c: Adding a finger-checking code
5932         example.
5933
5934         * src/hildon-font-selection-dialog.c: Do not allocate the color
5935         structure using the g_new. Fixes NB#54061.
5936
5937 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5938
5939         * src/hildon-helper.c: Correcting tabs in file.
5940
5941 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
5942
5943         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5944         control the visibility of the children.
5945
5946         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5947
5948 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5949
5950         [1.0.5-1 release]
5951
5952         * NEWS:
5953         * configure.ac:
5954         * debian/changelog: Updating.
5955
5956 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
5957
5958         * src/hildon-bread-crumb-trail.c:
5959         (hildon_bread_crumb_trail_size_allocate):
5960
5961         Make the back button always a square.
5962
5963 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
5964
5965         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5966         from the .c file as it's a private file.
5967
5968 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5969
5970         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5971         uses slightly bigger height.
5972
5973         * src/hildon-font-selection-dialog.c: Adding some checks before
5974         freeing memory in the font selection dialog.
5975
5976 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5977
5978         * src/hildon-font-selection-dialog.c: Adding a small check when
5979         freeing memory.
5980
5981         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
5982         buttons sensitivity on page switching.
5983
5984 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
5985
5986         * src/hildon-bread-crumb-trail.c: make the add method handle all the
5987         internal details of adding a bread crumb to the trail.
5988
5989 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5990
5991         [1.0.4-1 release]
5992
5993         * README:
5994         * configure.ac:
5995         * debian/changelog: Updating.
5996
5997         * src/hildon-bread-crumb-trail.h:
5998         * src/hildon-bread-crumb.h: Changing the API guard to
5999         HILDON_ENABLE_UNSTABLE_API.
6000
6001 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6002
6003         [1.0.3-1 release]
6004
6005         * NEWS:
6006         * configure.ac:
6007         * debian/changelog:
6008         * debian/rules:
6009         * src/hildon-helper.h: Updating.
6010
6011 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6012
6013         [1.0.2-1 release]
6014
6015         * NEWS:
6016         * configure.ac:
6017         * debian/changelog:
6018
6019 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6020
6021         * README:
6022         * configure.ac:
6023         * src/hildon-helper.h: Small fix to make the package actually compile.
6024
6025 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
6026
6027         * src/hildon-bread-crumb-trail.h:
6028         * src/hildon-bread-crumb.h:
6029
6030         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6031         to define ENABLE_UNSTABLE_API in the code that includes these headers.
6032
6033 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
6034
6035         * examples/hildon-bread-crumb-trail-example.c:
6036         * src/Makefile.am:
6037         * src/hildon-bread-crumb-trail.c:
6038         * src/hildon-bread-crumb-trail.h:
6039         * src/hildon-bread-crumb.c:
6040         * src/hildon-bread-crumb.h:
6041         * src/hildon-marshalers.list:
6042         * src/hildon-bread-crumb-widget.c:
6043         * src/hildon-bread-crumb-widget.h:
6044
6045         Slight change in the widget design. The bread crumb trail API is
6046         unchanged, but HildonBreadCrumb is now an interface. A *private*
6047         implementation, hildon-bread-crumb-widget, is provided and used
6048         internally by the trail for the push_text/push_icon functions.
6049
6050         The generic push API is still available, so anyone can implement
6051         and use its own bread crumb widget.
6052
6053 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6054
6055         * debian/rules: Fixing the shlibs.
6056
6057 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6058
6059         * src/hildon-banner.c: Fixing a problem with timed banners having
6060         their parrent destroyed before they are.
6061
6062 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
6063
6064         * src/hildon-bread-crumb.c:
6065         * src/hildon-bread-crumb.h:
6066
6067         Make the get_natural_size function a vfunc.
6068
6069 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6070
6071         * src/hildon-bread-crumb.c:
6072         * src/hildon-bread-crumb-trail.c:
6073
6074         Some cleanups.
6075
6076 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6077
6078         [1.0.1-1 release]
6079
6080         * AUTHORS:
6081         * NEWS:
6082         * configure.ac:
6083         * debian/changelog: Updating for release.
6084
6085 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6086
6087         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6088         don't leak the pango layout.
6089
6090 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6091
6092         * src/hildon.h:
6093         * examples/hildon-bread-crumb-trail-example.c:
6094
6095         Fix example.
6096
6097 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6098
6099         * debian/changelog: Removing the bug-fixed entries that were actually
6100         resolved as WONTFIX.
6101
6102         * src/hildon-date-editor.c: Removing a redundant check. Fixes
6103         NB#54182.
6104
6105 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
6106
6107         * src/hildon-bread-crumb-trail.c:
6108         * src/hildon-bread-crumb-trail.h:
6109         * src/hildon-bread-crumb.c:
6110         * src/hildon-bread-crumb.h:
6111
6112         Untabify.
6113
6114 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
6115
6116         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6117         until it's passed the type check.
6118
6119 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
6120
6121         * examples/hildon-bread-crumb-trail-example.c
6122
6123         Add license.
6124
6125 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
6126
6127         * examples/Makefile.am
6128         * examples/hildon-bread-crumb-trail-example.c
6129         * src/Makefile.am
6130         * src/hildon-bread-crumb-trail.c
6131         * src/hildon-bread-crumb-trail.h
6132         * src/hildon-bread-crumb.c
6133         * src/hildon-bread-crumb.h
6134
6135         New HildonBreadCrumbTrail widget.
6136
6137 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
6138
6139         * src/hildon-range-editor.c (hildon_range_editor_init),
6140         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6141         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6142         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6143         hildon_time_editor_class_init, hildon_time_editor_init),
6144         src/hildon-get-password-dialog.c (invalid_input,
6145         hildon_get_password_set_property, hildon_get_password_get_property,
6146         create_contents, hildon_get_password_dialog_set_max_characters),
6147         src/hildon-set-password-dialog.c (create_contents),
6148         src/hildon-date-editor.c (hildon_date_editor_init),
6149         src/hildon-login-dialog.c (hildon_login_dialog_init),
6150         src/hildon-number-editor.c (hildon_number_editor_init),
6151         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6152         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6153         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6154          configure option and adding the respective checks in the code.
6155         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6156         hildon_calendar_drag_data_received): fixed some build warnings.
6157
6158 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6159
6160         * debian/changelog: A 1.0.0 release notes.
6161