2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
1 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
2
3         * configure.ac: postrelease version bump.
4
5 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
6
7         Release 2.1.8-1.
8
9         * configure.ac: Prerelease version bump.
10         * debian/changelog: update.
11         * debian/rules: make -dbg package contain useful debugging symbols.
12
13 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
14
15         * src/hildon-dialog.h
16         * src/hildon-dialog.c
17         (hildon_dialog_add_button, hildon_dialog_add_buttons):
18         New methods to add buttons with finger size.
19         (hildon_dialog_new_with_buttons):
20         Create buttons with finger size.
21
22         * examples/hildon-dialog-example.c (main): Use HildonDialog
23         methods to add buttons.
24
25 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
26
27         * src/hildon-entry.c: Updated HildonButton documentation.
28
29 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
30
31         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
32         button value label with (FALSE, FALSE) to prevent NB#88126 from
33         being triggered.
34
35 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
36
37         * examples/hildon-pannable-area-example.c,
38         (main): Removed examples panning a vbox inside a pannable
39         area. Check bug NB#87965
40
41 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
42
43         Patch contributed by Kris Rietveld (kris@imendio.com)
44
45         * src/hildon-pannable-area.c,
46         (hildon_pannable_area_get_topmost): replaced the get_geometry with
47         get_size and get_position, this saves an X server roundtrip.
48
49 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
50
51         * doc/hildon-docs.sgml
52         * doc/hildon.types
53         * examples/Makefile.am
54         * examples/hildon-entry-example.c
55         * src/Makefile.am
56         * src/hildon-entry.c
57         * src/hildon-entry.h
58         * src/hildon.h:
59         New HildonEntry widget, with example.
60
61 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
62
63         * src/hildon-button.c (hildon_button_construct_child): Pack the
64         image with expand == fill == FALSE. This is a workaround for a bug
65         in GtkBox.
66
67 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
68
69         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
70         labels for the text column, to make it more look more dynamic.
71
72 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
73
74         * src/hildon-time-selector.c
75         Define gettext auxiliar macro N_
76         (_create_minutes_model)
77         (_create_hours_model)
78         (_create_ampm_model): use of strftime in order to fill the model
79         * src/hildon-date-selector.c
80         (hildon_date_selector_finalize):
81         (_locales_init): remove the logic related to get the name of the months
82         using nl_langinfo, as it is not required anymore
83         (_create_day_model)
84         (_create_year_model)
85         (_create_month_model)
86         (_update_day_model): use of strftime in order to fill the model properly
87
88
89 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
90
91         * src/hildon-button.h
92         * src/hildon-button.c (hildon_button_get_image): New method to
93         retrieve the image.
94
95 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
96
97         * src/hildon-touch-selector.c:
98         (hildon_touch_selector_remove_column): Remove from the correct parent
99         and also remove the list element and free it.
100         Fixes: NB#88049
101
102 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
103
104         * src/hildon-time-selector.c
105         (_create_hours_model): change the range on 12h ampm format in order to use
106         a 12-11 range instead of previous 01-12 range
107         (hildon_time_selector_set_time): change the way to select the current time
108         on 12h ampm format, due the change on the range
109         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
110         Fixes: NB#88036
111
112 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
113
114         * src/hildon-touch-selector.c
115         (hildon_date_touch_selector_get_selected): fix the selection mode check,
116         in order to allow use this function on multiple row selection mode if
117         the column is different that the first one
118         Fixes: NB#88047
119
120 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
121
122         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
123         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
124
125 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
126
127         * src/hildon-date-selector.h: clean some comments, now on the .c
128         * src/hildon-date-selector.c
129         (hildon_date_selector_select_month): first implementation
130         (hildon_date_selector_select_day): added documentation, reimplemented
131         using hildon_date_selector_select_current_date to avoid repeat code
132         Fixes: NB#88027
133
134 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
135
136         Reviewed interaction logic based on device experiences, refactored
137         code.
138
139         * src/hildon-pannable-area.c,
140         (hildon_pannable_area_class_init): Updated default vmax speed.
141         (hildon_pannable_area_calculate_velocity): Added this function, it
142         avoids duplicate valocity calculation. Adjusted calculation to
143         avoid problems with zero dist events.
144
145         (hildon_pannable_area_motion_notify_cb): Now we use the
146         calculate_velocity function.
147
148 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
149
150         * src/hildon-date-selector.c
151         (hildon_date_selector_select_current_date): fix the day range check
152         as it failed using the last day of the current month
153         Fixes NB#88023
154
155 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
156
157         * src/hildon-touch-selector.c
158         (hildon_touch_selector_get_num_columns): added a parameter validation
159         Fixes: NB#88022
160
161 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
162
163         * examples/Makefile.am
164         * examples/hildon-edit-toolbar-example.c: Example of the
165         HildonEditToolbar widget.
166
167 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
168
169         * configure.ac: postrelease version bump.
170
171 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
172
173         Release 2.1.6-1.
174
175         * configure.ac: prerelease version bump.
176         * debian/changelog: update.
177
178 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
179
180         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
181         renderer to display stock icons in the touch list. Also, set the sizes
182         to the recommended in the style guide.
183
184 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
185         * src/hildon-touch-selector.h
186         (hildon_touch_selector_set_active_iter): renamed, now is
187         hildon_touch_selector_select_iter
188         (hildon_touch_selector_get_active_iter): renamed, now is
189         hildon_touch_selector_get_selected
190         (hildon_touch_selector_unselect_iter): added
191         * src/hildon-touch-selector.c
192         Update after API modification (methods renamed)
193         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
194         order to avoid problems selecting multiple elements on the column
195         (hildon_touch_selector_unselect_iter): added the implementation
196         * src/hildon-time-selector.c
197         * src/hildon-date-selector.c
198         * src/hildon-touch-selector-entry.c
199         Update methods calls after hildon-touch-selector.h API modification (methods
200         renamed)
201
202 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
203
204         * src/hildon-stackable-window.c
205         (hildon_stackable_window_finalize): Call the parent class's finalize.
206
207 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
208
209         * examples/hildon-touch-selector-example.c: (create_selector): Use
210         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
211         cell height.
212
213 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
214
215         * examples/hildon-touch-selector-example.c: (create_selector): Do not
216         set a cell background color, to respect theming.
217
218 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
219
220         * doc/hildon-docs.sgml
221         * doc/hildon.types
222         * src/Makefile.am
223         * src/hildon-edit-toolbar.c
224         * src/hildon-edit-toolbar.h
225         * src/hildon.h: New HildonEditToolbar widget.
226
227 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
228
229         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded 
230         extra GtkVBox.
231
232 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
233         * src/hildon-touch-selector.c
234         (_create_new_column): use g_object_set instead of two g_object_set_property
235         
236 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
237         * src/hildon-touch-selector.c
238         (_create_new_column): use of hildon_gtk_tree_view_new to create
239         the treeview, instead of use directly g_object_new
240         (_create_new_column): update the property name "vindicator-mode" for the
241         new one "vscrollbar-policy" 
242         * examples/hildon-date-button-example.c
243         * examples/hildon-picker-button-multicolumn-example.c
244         * examples/hildon-touch-selector-entry-example.c
245         * examples/hildon-touch-selector-example.c
246         * examples/hildon-time-button-example.c
247         * examples/hildon-picker-button-example.c
248         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
249         to all the treeviews inside a pannable area. 
250         
251 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
252
253         * src/hildon-button.h
254         * src/hildon-button.c (hildon_button_init)
255         (hildon_button_set_arrangement, hildon_button_set_alignment)
256         (hildon_button_set_title_alignment)
257         (hildon_button_set_value_alignment)
258         (hildon_button_set_image_alignment)
259         (hildon_button_construct_child): New methods to set the alignment
260         of the individual components of the button (title, value,
261         image). Also, new method to alter the xscale and yscale properties
262         of the GtkAlignment inside the button, so more complex layouts can
263         be created.
264
265 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
266
267         * src/hildon-button.c (hildon_button_style_set)
268         (hildon_button_class_init, hildon_button_set_arrangement)
269         (hildon_button_construct_child): Apply style properties
270         correctly. Use the 'image-spacing' style property too.
271
272 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
273
274         * src/hildon-app-menu.c (hildon_app_menu_style_set)
275         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
276         correctly.
277
278 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
279
280         * src/hildon-pannable-area.c,
281         (hildon_pannable_area_size_request): Fixed problem with
282         pannable-area size_request.
283
284 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
285
286         Added management for the grab-focus to a child widget, like a
287         range, we need to fade out the scrollbar when releasing.
288
289         * src/hildon-pannable-area.c,
290         (hildon_pannable_area_init): Connected the grab-focus signal to
291         the callback.
292         (hildon_pannable_area_grab_notify): Added this function in order
293         to manage the situation when the grab-focus ends. We have to
294         fade-out the scrollbar.
295
296 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
297
298         * src/hildon-app-menu.c: Minor documentation update.
299
300 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
301
302         * src/hildon-app-menu.c
303         * examples/hildon-app-menu-example.c (create_menu): Update
304         examples and documentation to explain how to connect callbacks.
305
306 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
307
308         * examples/hildon-button-example.c
309         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
310         hildon_stackable_window_new instead of gtk_window_new
311
312 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
313
314         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
315         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
316         (hildon_pannable_area_set_property),
317         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
318         (hildon_pannable_area_unrealize),
319         (hildon_pannable_area_size_request),
320         (hildon_pannable_area_size_allocate),
321         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
322         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
323         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
324         (hildon_pannable_area_initial_effect),
325         (hildon_pannable_area_redraw),
326         (hildon_pannable_area_scroll_indicator_fade),
327         (hildon_pannable_area_expose_event),
328         (hildon_pannable_area_get_topmost), (synth_crossing),
329         (hildon_pannable_area_button_press_cb),
330         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
331         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
332         (hildon_pannable_area_motion_notify_cb),
333         (hildon_pannable_area_button_release_cb),
334         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
335         (hildon_pannable_area_remove),
336         (hildon_pannable_calculate_vel_factor): Widget refactorization,
337         chage the code layout to a more GtkWidget like. Review the use of
338         variables.
339
340 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
341
342         * examples/hildon-pannable-area-example-4.c,
343         (main): Modified the name of the hindicator_mode to
344         hscrollbar_visible
345
346         * src/hildon-pannable-area.c,
347         (hildon_pannable_area_class_init),
348         (hildon_pannable_area_motion_notify_cb),
349         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
350         we have reduced the amount of signals and managed reviewed its
351         rationale. Changed the default decelerate value.
352
353         (hildon_pannable_area_add),
354         (hildon_pannable_area_redraw): Refactored functions.
355
356         (hildon_pannable_area_init),
357         (hildon_pannable_area_get_property),
358         (hildon_pannable_area_set_property):
359         (hildon_pannable_draw_vscroll),
360         (hildon_pannable_draw_hscroll),
361         (hildon_pannable_area_initial_effect),
362         (hildon_pannable_area_expose_event),
363         (hildon_pannable_area_scroll),
364         (hildon_pannable_area_button_press_cb),
365         (hildon_pannable_area_realize): Replaced the names hindicator_mode
366         and vindicator_mode with hscrollbar_policy and
367         vscrollbar_policy. Replaced hscroll and vscroll with
368         hscroll_visible and vscroll_visible.
369
370         (hildon_pannable_area_refresh): Refactor the function, remove
371         variables and check the calls to this function, added resize
372         conditions in case the children change their layout.
373
374         (hildon_pannable_area_size_request): Added more detailed
375         size_request calculation.
376
377
378 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
379
380         * src/hildon-color-chooser.c
381         (init_borders): use the correct gtk_border_free instead of g_free, to
382         avoid a crash when this widget is used (ie: the three color selection
383         examples)
384
385 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
386
387         * src/hildon-check-button.c,
388         (hildon_check_button_set_active): Fixed problem when setting the
389         active value, the widget was not redrawn.
390
391 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
392
393         * src/hildon-pannable-area.c,
394         (hildon_pannable_area_refresh),
395         (hildon_pannable_area_scroll),
396         (hildon_pannable_area_motion_notify_cb): Small code style change.
397
398         (hildon_pannable_area_class_init): Default initial_hint set to
399         FALSE, it is not in the specs.
400
401         (hildon_pannable_area_initial_effect),
402         (hildon_pannable_area_expose_event),
403         (hildon_pannable_area_map),
404         (hildon_pannable_area_init): Moved the launching point of the
405         initial effect, it was in map but the sizes where not correct in
406         that method so we do not know if we have the reproduce it. Now it
407         is placed in the expose_event method and uses a variable to
408         reproduce it just once.
409
410 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
411
412         * src/hildon-pannable-area.c,
413         (hildon_pannable_draw_vscroll),
414         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
415         position allowed for the scrollbars.
416
417         (hildon_pannable_area_size_allocate): Small style change.
418
419 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
420
421         * src/hildon-pannable-area.c,
422         (hildon_pannable_area_scroll_indicator_fade),
423         (hildon_pannable_area_button_press_cb),
424         (hildon_pannable_area_button_release_cb),
425         (hildon_pannable_area_scroll_cb),
426         (hildon_pannable_area_expose_event),
427         (hildon_pannable_area_init): Added the define parameter
428         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
429         and refactor the fade variable.
430
431 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
432
433         * src/hildon-pannable-area.c,
434         (hildon_pannable_area_redraw),
435         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
436         lines, we were reimplemeting the redraw code.
437
438 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
439
440         * src/hildon-pannable-area.c,
441         (hildon_pannable_area_scroll_cb),
442         (hildon_pannable_area_realize),
443         (hildon_pannable_area_class_init): Added scroll_event management
444         for pannable area, now we can scroll the usual desktop method.
445
446         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
447         initialization of the parameters should depend on idle_id.
448
449         (hildon_pannable_area_init),
450         (hildon_pannable_area_map): Small code style modifications
451
452 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
453
454         * src/hildon-pannable-area.c
455         (hildon_pannable_area_button_press_cb),
456         (hildon_pannable_area_motion_notify_cb),
457         (hildon_pannable_area_button_release_cb),
458         (hildon_pannable_area_size_allocate),
459         (hildon_pannable_area_scroll_to): Improved the timeouts
460         management, we avoid creating them each time.
461
462 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
463
464         * src/hildon-pannable-area.c:
465         (hildon_pannable_area_refresh),
466         (hildon_pannable_area_motion_notify_cb),
467         (hildon_pannable_area_class_init):
468         * src/hildon-pannable-area.h:
469         * src/hildon-touch-selector.c
470         (_create_new_column):
471         * examples/hildon-pannable-area-example-4.c:
472         (horizontal_movement),
473         (vertical_movement),
474         (main):
475         Replaced the names of enums in the HildonPannableArea:
476            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
477               HILDON_MOVEMENT_MODE_*
478            -  HILDON_PANNABLE_AREA_MOV_* ->
479               HILDON_MOVEMENT_*
480            - Removed HildonPannableAreaIndicatorMode, now we
481              use GtkPolicyType
482
483 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
484
485         * examples/hildon-pannable-area-touch-grid-example.c
486         * examples/hildon-pannable-area-touch-list-example.c: Fix
487         compilation warnings.
488
489 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
490
491         * src/hildon-gtk.c (hildon_gtk_button_new)
492         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
493         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
494         images overriding the value of the "gtk-button-images" setting.
495
496 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
497
498         * src/hildon-check-button.c (hildon_check_button_new):
499         Instead of using a custom container, display the label and the
500         checkbox using the standard GtkButton API.
501
502         * examples/hildon-check-button-example.c (main): Don't use
503         hildon_check_button_set_label() anymore
504
505         * src/hildon-check-button.h
506         * src/hildon-check-button.c
507         (hildon_check_button_set_label, hildon_check_button_get_label):
508         Set as deprecated, now we're using gtk_button_{get,set}_label()
509
510 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
511
512         * src/hildon-pannable-area.c,
513         (hildon_pannable_area_get_topmost): Fixed bug with click in the
514         GtkTreeview first line we detected it after the inclusion of the
515         GtkWindowImpl in gtk+. We now check if the window is visible, not
516         just if the pointer is over the window.
517         (hildon_pannable_axis_scroll),
518         (hildon_pannable_area_expose_event): Small style changes.
519
520 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
521
522         * src/hildon-button.c: Update documentation.
523
524 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
525
526         * examples/hildon-button-example.c: Add a switch to show images in
527         the buttons.
528
529 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
530
531         * doc/hildon-docs.sgml: Some docs reorganization.
532
533 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
534
535         * examples/hildon-pannable-area-touch-list-example.c
536         (create_tree_view)
537         * examples/hildon-pannable-area-touch-grid-example.c
538         (create_icon_view): Use gtk_{tree,icon}_view_new() and
539         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
540         Fix memory leak when setting the tree model.
541
542 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
543
544         Released 2.1.4
545
546 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
547
548         * doc/hildon.types: Remove duplicated hildon_window_get_type
549         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
550         documentation comment.
551
552 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
553
554         * doc/Makefile.am: Complete list of private headers.
555
556 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
557
558         * doc/hildon-docs.sgml
559         * src/hildon-app-menu.c
560         * src/hildon-bread-crumb.c
561         * src/hildon-button.c
562         * src/hildon-gtk.c
563         * src/hildon-program.c
564         * src/hildon-stackable-window.c
565         * src/hildon-window.c: Lots of documentation updates.
566
567 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
568
569         * debian/control: Depend on Gtk 2:2.12.9-0osso3
570
571         * configure.ac: Require Gtk+ 2.12.9 at least
572
573 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
574
575         * src/hildon-pannable-area.c
576         (hildon_pannable_area_scroll_indicator_fade),
577         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
578         to protect the return of this timeout callbacks, avoiding deadlocks.
579
580 2008-08-12  Christian Dywan  <christian@imendio.com>
581
582         * src/hildon-*.c
583         * src/hildon-*.h: Ensure a consistent include order,
584         include <gtk/gtk.h> instead of particular files and
585         only include the topmost header in the gtk stack. See NB #39857
586
587 2008-08-12  Christian Dywan  <christian@imendio.com>
588
589         * src/hildon-picker-dialog.c
590         * src/hildon-touch-selector.c: Fix warnings about unused and
591         uninitialized variables.
592
593 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
594
595         * examples/Makefile.am
596         * examples/hildon-check-button-example.c: Example of the hildon
597         check button.
598
599 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
600
601         * src/hildon-window.h
602         * src/hildon-window.c (hildon_window_class_init)
603         (hildon_window_unset_program): Don't make
604         hildon_window_unset_program a virtual function anymore.
605
606         * src/hildon-stackable-window.c: Update documentation
607
608 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
609
610         * doc/Makefile.am
611         * doc/hildon-docs.sgml
612         * doc/visual_index.xml
613         * src/hildon-defines.c
614         * src/hildon-gtk.c
615         * src/hildon-helper.c
616         * src/hildon-range-editor.c: Lots of documentation fixes.
617
618 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
619
620         * examples/hildon-picker-button-multicolumn-example.c
621         (create_touch_selector): Fix compilation warning.
622
623 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
624
625         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
626         (hildon_pannable_area_button_release_cb)
627         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
628
629 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
630
631         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
632         assertion.
633
634 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
635
636         * src/hildon-bread-crumb-trail.h
637         * src/hildon-date-editor.c
638         * src/hildon-date-selector.c
639         * src/hildon-pannable-area.c
640         * src/hildon-picker-dialog.c
641         * src/hildon-time-selector.c
642         * src/hildon-touch-selector-entry.c
643         * src/hildon-touch-selector.c
644         * src/hildon-touch-selector.h: Misc documentation fixes
645
646 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
647
648         * examples/hildon-date-editor-example.c (main): Updated date
649         editor example.
650
651         * examples/hildon-note-example.c (on_confirmation_clicked):
652         Updated confirmation note example.
653
654         * src/hildon-date-editor.c
655         * src/hildon-note.c: Updated sample programs in documentation.
656         Fixes: NB#87437
657
658 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
659
660         * src/hildon-date-button.h:
661         * src/hildon-picker-button.h:
662         * src/hildon-time-button.c:
663         * src/hildon-time-button.h:
664
665         Some declarations changes to allow gtk-doc to document the widgets
666         properly.
667
668 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
669
670         * src/hildon-date-button.c: Document the widget.
671         * src/hildon-time-button.c: Document the widget.
672
673 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
674
675         * src/hildon-picker-button.c: Document the widget.
676         * src/hildon-touch-selector-entry.c: Document the widget.
677
678 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
679
680         * doc/hildon-docs.sgml
681         * src/Makefile.am
682         * src/hildon.h
683         * src/hildon-check-button.h
684         * src/hildon-check-button.c: New functions to create the Hildon
685         Touch Checkbox.
686
687         * src/hildon-gtk.h
688         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
689
690 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
691
692         * src/hildon-button.h
693         * src/hildon-button.c
694         (hildon_button_add_title_size_group)
695         (hildon_button_add_value_size_group)
696         (hildon_button_add_image_size_group)
697         (hildon_button_add_size_groups): New functions to set size groups
698         for the button labels and image.
699         (hildon_button_new_full): Removed
700
701 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
702
703         * src/hildon-time-selector.c
704         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
705         in order to avoid a crash if gconf is not available
706
707 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
708
709         * src/hildon-button.c (hildon_button_set_arrangement)
710         (hildon_button_construct_child): Don't construct the button child
711         before setting the arrangement.
712
713 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
714
715         * src/hildon-program-private.h
716         * src/hildon-program.c
717         * src/hildon-program.h
718         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
719         (hildon_program_peek_window_stack)
720         (hildon_program_pop_window_stack)
721         (hildon_program_go_to_root_window): HildonProgram now has a
722         separate list for stackable windows. Functions are provided to
723         manage that list with a stack-like API.
724
725         * src/hildon-stackable-window.c: Stackable window management is
726         now much simpler with the new HildonProgram API. Windows no
727         longer need to be manually added to the program, they're
728         automatically pushed to the top of the stack when shown.
729
730         * examples/hildon-stackable-window-example.c: Updated example to
731         reflect the API changes.
732
733 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
734
735         * src/hildon-touch-selector.c: Comment out unimplemented
736         hildon_touch_selector_insert_column() to avoid a compile warning.
737
738 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
739
740         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
741         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
742         (hildon_touch_selector_set_column_selection_mode),
743         (_hildon_touch_selector_set_model),
744         (hildon_touch_selector_set_model):
745
746         Complete review of HildonTouchSelector documentation.
747
748 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
749
750         * doc/hildon-docs.sgml
751         * src/Makefile.am
752         * src/hildon.h
753         * src/hildon-gtk.h
754         * src/hildon-gtk.c: Convenience functions for standard Gtk
755         widgets, used to easily perform frequent operations.
756
757         * src/hildon-button-helpers.h
758         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
759
760         * src/hildon-helper.h
761         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
762         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
763
764         * src/hildon-button.h
765         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
766
767 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
768
769         * src/hildon-button.c (hildon_button_init)
770         (hildon_button_set_arrangement, hildon_button_construct_child):
771         Pack the image and the labels inside the same GtkAlignment so
772         gtk_button_set_alignment() can be used
773
774 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
775
776         * src/hildon-button.h
777         * src/hildon-button.c
778         (hildon_button_init, hildon_button_set_image)
779         (hildon_button_set_image_position)
780         (hildon_button_construct_child): New functions to add an image to
781         the HildonButton.
782
783 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
784
785         * src/hildon-date-button.c
786         * src/hildon-picker-button.c
787         * src/hildon-time-button.c
788         * src/hildon-button.c:
789         (hildon_button_class_init): "size-flags" renamed to "size"
790         (hildon_button_set_title): Hide the title label if set to NULL.
791
792 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
793
794         HildonButtonFlags split into HildonButtonArrangement (to set the
795         button layout) and HildonSizeType (which can be used for any
796         widget).
797
798         * src/hildon-button.h
799         * src/hildon-button.c
800         (hildon_button_class_init)
801         (hildon_button_set_arrangement)
802         (hildon_button_set_property): New "size-flags"
803         property. "arrangement-flags" renamed to "arrangement".
804         (hildon_button_new, hildon_button_new_with_text)
805         (hildon_button_new_full): Constructors updated to reflect type changes.
806
807         * src/hildon-helper.h
808         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
809         to set the size of a widget.
810
811         * src/Makefile.am
812         * src/hildon.h
813         * src/hildon-button-helpers.c
814         * src/hildon-button-helpers.h: New hildon-button-helpers module.
815
816         * src/hildon-date-button.c
817         * src/hildon-date-button.h
818         * src/hildon-picker-button.c
819         * src/hildon-picker-button.h
820         * src/hildon-time-button.c
821         * src/hildon-time-button.h: Updated widgets to reflect
822         HildonButton API changes.
823
824         * examples/hildon-button-example.c
825         * examples/hildon-date-button-example.c
826         * examples/hildon-picker-button-example.c
827         * examples/hildon-picker-button-multicolumn-example.c
828         * examples/hildon-time-button-example.c
829         * examples/hildon-touch-selector-entry-example.c
830         * examples/hildon-touch-selector-example.c: Updated examples to
831         reflect HildonButton API changes.
832
833 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
834
835         * doc/hildon-docs.sgml:
836         * doc/hildon.types:
837         * examples/Makefile.am:
838         * examples/hildon-touch-selector-entry-example.c:
839         * src/Makefile.am:
840         * src/hildon-touch-selector-entry.c:
841         * src/hildon-touch-selector-entry.h:
842         * src/hildon.h:
843
844         Moved HildonTouchSelectorEntry from sandbox. Added its
845         documentation and examples.
846
847 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
848
849         * src/hildon-touch-selector.h:
850         * examples/hildon-picker-button-multicolumn-example.c:
851         (hildon_touch_selector_append_text_column): Add a gboolean
852         parameter to determine if text must be centered in the column.
853
854         * src/hildon-date-selector.c: (hildon_date_selector_init):
855         * src/hildon-time-selector.c: (hildon_time_selector_init):
856         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
857         (create_touch_selector): Update widgets and example to reflect
858         the API change.
859
860 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
861
862         * src/hildon-touch-selector.c:
863         (hildon_touch_selector_set_active_iter): Set also the cursor in
864         the active row.
865
866 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
867
868         * doc/hildon-docs.sgml
869         * doc/hildon.types
870         * src/Makefile.am
871         * src/hildon-toggle-button.c
872         * src/hildon-toggle-button.h
873         * src/hildon.h: Removed HildonToggleButton widget, a derived
874         class is not necessary for this.
875
876 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
877
878         * src/hildon-pannable-area.c,
879         (hildon_pannable_area_realize),
880         (hildon_pannable_area_size_allocate): Code refactoring, add tests
881         for negative sizes.
882
883 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
884
885         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
886         "done" button the default widget for the dialog.
887
888 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
889
890         * src/hildon-touch-selector.c:
891         (hildon_touch_selector_class_init),
892         (hildon_touch_selector_get_property),
893         (_hildon_touch_selector_set_model),
894         (_hildon_touch_selector_has_multiple_selection),
895         (hildon_touch_selector_has_multiple_selection):
896         Add a "has-multiple-selection" property with a virtual
897         has_multiple_selection() method to allow derived classes to
898         override the default value for it. See the method and property
899         documentation for details.
900
901         * src/hildon-touch-selector.h: Add the new API.
902
903         * src/hildon-picker-dialog.c: (requires_done_button): Call
904         hildon_touch_selector_has_multiple_selection() instead of
905         determining the need for a button itself.
906
907 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
908
909         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
910         (_hildon_touch_selector_set_model),
911         (hildon_touch_selector_set_model): Move working code to
912         _hildon_touch_selector_set_mode(). Call the class method instead.
913
914         * src/hildon-touch-selector.h: Add (*set_model) to
915         HildonTouchSelectorClass.
916
917         Make hildon_touch_selector_set_model() a virtual method, so that
918         derived classes can extend it and do fancy stuff with the model.
919
920 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
921
922         * configure.ac: Set back the tarname in AC_INIT to hildon.
923
924 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
925
926         Release 2.1.3
927
928         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
929         instead of libesd (NB#86876). Volume handling is still an open issue.
930
931         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
932         cleanups.
933
934 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
935
936         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
937         (hildon_touch_selector_append_column): Make the widget a GtkVBox
938         derived class to ease placement of an entry widget in
939         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
940         end, where the selector columns are packed now.
941
942 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
943
944         * src/hildon-picker-button.c: Removed the simple _text() API.
945         * src/hildon-picker-button.h: Likewise.
946
947         * src/hildon-touch-selector.h:
948         * src/hildon-touch-selector.c:
949         (hildon_touch_selector_new_text),
950         (hildon_touch_selector_append_text),
951         (hildon_touch_selector_prepend_text),
952         (hildon_touch_selector_insert_text):
953
954         Moved the simple _text() API from HildonPickerButton to
955         HildonTouchPicker, to provide better escalability and not to tie
956         that API to HildonPickerButton.
957
958         * examples/hildon-picker-button-example.c: (main): Example updated.
959
960 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
961
962         * src/hildon-button.c: Updated documentation.
963
964         * examples/hildon-button-example.c: Add the posibility to create
965         the buttons using horizontal layout for title and value.
966
967 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
968
969         * src/hildon-app-menu-private.h
970         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
971         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
972         GtkSizeGroup for the filters, use the 'homogeneous' property of
973         the box instead.
974
975 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
976
977         * examples/hildon-button-example.c: Updated example.
978
979 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
980
981         * doc/hildon-docs.sgml:
982         * doc/hildon.types:
983
984         Update documentation.
985
986         * examples/Makefile.am: Update renamed examples.
987
988         * examples/hildon-picker-button-multicolumn-example.c:
989         (create_touch_selector), (main): Update after the rename.
990
991         * examples/hildon-touch-picker-example.c: Removed.
992         * examples/hildon-touch-selector-example.c: (value_changed),
993         (create_selector), (get_visible_content), (main): Renamed from
994         hildon-touch-picker-example.c
995
996         * src/Makefile.am: Updated renamed files.
997
998         * src/hildon-date-button.c: (hildon_date_button_init),
999         (hildon_date_button_get_date), (hildon_date_button_set_date):
1000         * src/hildon-date-selector.c: (hildon_date_selector_init),
1001         (_custom_print_func), (_update_day_model),
1002         (_manage_selector_change_cb),
1003         (hildon_date_selector_select_current_date),
1004         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1005         * src/hildon-date-selector.h:
1006         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1007         (hildon_picker_button_set_property),
1008         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1009         (hildon_picker_button_init), (hildon_picker_button_new_text),
1010         (hildon_picker_button_append_text),
1011         (hildon_picker_button_prepend_text),
1012         (hildon_picker_button_insert_text),
1013         (hildon_picker_button_set_selector),
1014         (hildon_picker_button_get_selector):
1015         * src/hildon-picker-button.h:
1016         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1017         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1018         (_update_title_on_selector_changed_cb), (requires_done_button),
1019         (_hildon_picker_dialog_set_selector),
1020         (hildon_picker_dialog_set_selector),
1021         (hildon_picker_dialog_get_selector):
1022         * src/hildon-picker-dialog.h:
1023         * src/hildon-time-button.c: (hildon_time_button_init),
1024         (hildon_time_button_get_time), (hildon_time_button_set_time):
1025         * src/hildon-time-selector.c: (hildon_time_selector_init),
1026         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1027         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1028         * src/hildon-time-selector.h:
1029         * src/hildon.h:
1030
1031         Massive code updates after the rename.
1032
1033         * src/hildon-touch-picker.c: Removed.
1034         * src/hildon-touch-picker.h: Removed.
1035
1036         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1037         (hildon_touch_selector_init), (hildon_touch_selector_map),
1038         (hildon_touch_selector_remove), (_default_print_func),
1039         (_selection_changed_cb), (_create_new_column),
1040         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1041         (hildon_touch_selector_append_text_column),
1042         (hildon_touch_selector_remove_column),
1043         (hildon_touch_selector_set_column_attributes),
1044         (hildon_touch_selector_insert_column),
1045         (hildon_touch_selector_get_num_columns),
1046         (hildon_touch_selector_get_column_selection_mode),
1047         (hildon_touch_selector_set_column_selection_mode),
1048         (hildon_touch_selector_set_print_func),
1049         (hildon_touch_selector_get_print_func),
1050         (hildon_touch_selector_get_active_iter),
1051         (hildon_touch_selector_set_active_iter),
1052         (hildon_touch_selector_get_selected_rows),
1053         (hildon_touch_selector_get_model),
1054         (hildon_touch_selector_set_model),
1055         (hildon_touch_selector_get_current_text),
1056         (_hildon_touch_selector_center_on_selected_items):
1057         * src/hildon-touch-selector.h: Renamed from
1058         hildon-touch-picker.[ch]
1059
1060         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1061         references, code examples, and related documentation.
1062
1063 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
1064
1065         * doc/hildon-docs.sgml
1066         * doc/hildon.types
1067         * src/Makefile.am
1068         * src/hildon-toggle-button.c
1069         * src/hildon-toggle-button.h
1070         * src/hildon.h: New HildonToggleButton widget.
1071
1072 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
1073
1074         * src/hildon-button.c: Add API documentation.
1075         (hildon_button_set_size_groups): Check input parameters
1076
1077 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
1078
1079         * src/hildon-pannable-area.c
1080         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1081         effect after reaching the movement thredshold. This way we start
1082         using the distance after passing the thredshold.
1083
1084 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1085
1086         * src/hildon-button.c: (hildon_button_set_property): Use the
1087         appropriate g_value_get_flags() method.
1088
1089 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1090
1091         * doc/hildon-docs.sgml:
1092         * doc/hildon.types:
1093
1094          Add the touch pickers, picker dialogs, and picker button widgets
1095         to the documentation.
1096
1097 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1098
1099         * src/hildon-button.c: (hildon_button_set_property),
1100         (hildon_button_class_init): Make "arrangement-flags" a proper
1101         G_TYPE_FLAGS derived property.
1102
1103 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1104
1105         * examples/Makefile.am: Add below examples.
1106         * examples/hildon-date-button-example.c:
1107         * examples/hildon-picker-button-example.c:
1108         * examples/hildon-picker-button-multicolumn-example.c:
1109         * examples/hildon-time-button-example.c:
1110         * examples/hildon-touch-picker-example.c:
1111
1112         Add examples for the recently added touch pickers,
1113         picker dialogs, and picker button widgets.
1114
1115 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
1116
1117         * src/hildon-button.c: Add some API documentation
1118
1119 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
1120
1121         * src/hildon-button.h
1122         * src/hildon-button.c
1123         (hildon_button_new)
1124         (hildon_button_new_with_text): New constructor to create a button
1125         with no text at all.
1126         (hildon_button_init, hildon_button_set_arrangement)
1127         (hildon_button_set_title, hildon_button_set_value)
1128         (hildon_button_set_text)
1129         (hildon_button_construct_child): Hide the value when it's not used
1130         so the rest of the text is properly aligned.
1131         Allow creating buttons with arbitrary widgets inside (not just
1132         title/value labels).
1133
1134         * examples/hildon-button-example.c (vertical_buttons_window)
1135         (horizontal_buttons_window): Update example to use new API.
1136
1137 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1138
1139         * src/Makefile.am: Added HildonTimeButton.
1140         * src/hildon-time-button.c: Added missing LGPL header.
1141         * src/hildon-time-button.h: Added missing LGPL header.
1142         * src/hildon.h: Add hildon-time-button.h
1143
1144         Copied HildonTimeButton from sandbox to trunk. Future work on this
1145         widget must take place in trunk.
1146
1147 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1148
1149         * src/Makefile.am: Added HildonDateButton.
1150         * src/hildon-date-button.c: Update includes.
1151         * src/hildon.h: Add hildon-date-button.h
1152
1153         Copied HildonDateButton from sandbox to trunk. Future work on this
1154         widget must take place in trunk.
1155
1156 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1157
1158         * src/Makefile.am: Added HildonPickerButton.
1159         * src/hildon-picker-button.h: Update includes.
1160         * src/hildon.h: Add hildon-picker-button.h
1161
1162         Copied HildonPickerButton from sandbox to trunk. Future work on
1163         this widget must take place in trunk.
1164
1165 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1166
1167         * src/Makefile.am: Added HildonPickerDialog.
1168         * src/hildon-picker-dialog.c: Update includes.
1169         * src/hildon.h: Add hildon-picker-dialog.h
1170
1171         Copied HildonPickerDialog from sandbox to trunk. Future work
1172         on this widget must take place in trunk.
1173
1174 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1175
1176         * src/Makefile.am: Added HildonTimeSelector.
1177         * src/hildon.h: Add hildon-time-selector.h
1178
1179         Copied HildonTimeSelector widget from sandbox to trunk. Future
1180         work on this widget must happen in trunk.
1181
1182 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1183
1184         * src/Makefile.am: Added HildonDateSelector.
1185         * src/hildon.h: Add hildon-date-selector.h
1186
1187         Copied HildonDateSelector widget from sandbox to trunk.  Future
1188         work on this widget must happen in trunk.
1189
1190 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1191
1192         * src/Makefile.am: Added HildonTouchPicker.
1193         * src/hildon-touch-picker.c: Update includes.
1194         * src/hildon.h: Add hildon-touch-picker.h
1195
1196         Copied HildonTouchPicker widget from sandbox to trunk. Future work
1197         on this widget must happen in trunk.
1198
1199 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1200
1201         * src/hildon-pannable-area.c:
1202         (hildon_pannable_area_motion_notify_cb): Fix a typo.
1203
1204 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
1205
1206         * examples/hildon-app-menu-example.c (main): Let the window
1207         destroy the menu.
1208
1209 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
1210
1211         * src/hildon-pannable-area.c
1212         (hildon_pannable_area_class_init): Set the min value of the
1213         overshoot properties to zero, which points out that not
1214         overshooting allowed.
1215
1216 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
1217
1218         Modified the procedure to get the widget at a point inside the
1219         pannable area when using the movement type signals. Now the user
1220         has to call a function to get the child, that way we just
1221         calculate the child in case the user really want to use it and not
1222         all the time.
1223
1224         * src/hildon-marshalers.list: Modified the marshallers, now we do
1225         not have the widget as a parameter.
1226
1227         * src/hildon-pannable-area.c
1228         (hildon_pannable_area_motion_notify_cb),
1229         (hildon_pannable_area_class_init),
1230         (hildon_pannable_get_child_widget_at):  Removed the widget
1231         parameter from the signal callback. We have also refactored the
1232         emission of the signals.
1233
1234         * src/hildon-pannable-area.h: Added a new method to the API to
1235         calculate a widget at a point inside the pannable area,
1236         hildon_pannable_get_child_widget_at.
1237
1238         * examples/hildon-pannable-area-example-4.c
1239         (horizontal_movement): Modified the example to use the new API,
1240         added condition to control which widget is under the event. This
1241         way we can avoid scrolling laterally over other widgets.
1242
1243 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
1244
1245         * src/hildon-pannable-area.c
1246         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1247         modes, we stop getting the pointer events due to returning the
1248         callback without properly calling the get pointer again. Fixed
1249         also an error using the hscroll and vscroll.
1250
1251 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
1252
1253         * src/hildon-app-menu-private.h
1254         * src/hildon-app-menu.c (hildon_app_menu_button_press)
1255         (hildon_app_menu_button_release, hildon_app_menu_init)
1256         (hildon_app_menu_class_init): Don't hide the menu on button
1257         release if the user didn't press outside first.
1258
1259         * src/hildon-window.h
1260         * src/hildon-window.c (hildon_window_toggle_menu)
1261         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1262         hildon_window_toggle_menu a virtual function for the stackable
1263         window to override it.
1264
1265         * src/hildon-stackable-window.h
1266         * src/hildon-stackable-window-private.h
1267         * src/hildon-stackable-window.c
1268         (hildon_stackable_window_realize)
1269         (hildon_stackable_window_finalize)
1270         (hildon_stackable_window_class_init)
1271         (hildon_stackable_window_init)
1272         (hildon_stackable_window_set_main_menu): New function to set the
1273         app menu of a HildonStackableWindow.
1274
1275         * examples/hildon-app-menu-example.c: Remove the button to show
1276         the app menu, now it'll be shown when clicking on the title bar
1277         instead.
1278
1279 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
1280
1281         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1282         set the widget name if the arrangement flags do not specify
1283         a particular size.
1284
1285 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
1286
1287         * src/hildon-button.c: (hildon_button_set_property),
1288         (hildon_button_class_init), (hildon_button_new_full),
1289         (hildon_button_set_arrangement): Added "arrangement-flags"
1290         property.
1291
1292         Make the HildonButtonFlags a construction-only property, to allow
1293         subclasses to set them properly.
1294
1295 2008-07-21 Tim Janik  <timj@imendio.com>
1296
1297         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1298         insertion position after backspace, so additional digits are appended,
1299         fixes Bug #85874.
1300
1301 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
1302
1303         * src/hildon-pannable-area.c,
1304         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1305         TODO list, it was complete and removed the g_debug and g_print
1306         lines.
1307
1308 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
1309
1310         Added the movement modes to the hildon-pannable-area, with this
1311         modes the developers can control in which directions the widget
1312         can scroll. They can also connect to signals in order to do
1313         something when that happens, allowing applications scroll. There
1314         is an example uploaded showing how to use it.
1315
1316         * examples/Makefile.am:
1317         * examples/hildon-pannable-area-example-4.c: Added this example of
1318         an application using the modes.
1319
1320         * src/hildon-marshalers.list: Added a new marshaller for the new
1321         signals.
1322
1323         * src/hildon-pannable-area.h: Added new enumerations and flags in
1324         order to control the movement modes and the new signals to warn
1325         about the movements in the area.
1326
1327         * src/hildon-pannable-area.c:
1328         (hildon_pannable_axis_scroll),
1329         (hildon_pannable_area_scroll),
1330         (hildon_pannable_area_motion_notify_cb),
1331         (hildon_pannable_area_get_property),
1332         (hildon_pannable_area_set_property),
1333         (hildon_pannable_area_map),
1334         (hildon_pannable_area_class_init),
1335         (hildon_pannable_area_init),
1336         (hildon_pannable_area_jump_to): Added the modes to control the
1337         movement in the widget. We have added properties to control it,
1338         signals to warn about the movements and refactored some code.
1339
1340 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
1341
1342         Changes required in order to allow vfast_factor set to zero to
1343         work properly.
1344
1345         * src/hildon-pannable-area.c:
1346         (hildon_pannable_area_button_press_cb): Changed the condition, it
1347         is required for not allowing click when vfast_factor is zero.
1348         (hildon_pannable_area_timeout): Initialized velocity variables
1349         when we stop moving, it was less than 1 but not zero and we need
1350         to check zero in some situations.
1351         (hildon_pannable_area_class_init): Changed the default value of
1352         the speed factor, now the button_press is just sent in case the
1353         speed is 2 per cent of the max speed.
1354         (hildon_pannable_area_init): Initialization with 0.
1355
1356 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
1357
1358         * src/hildon-pannable-area.c,
1359         (hildon_pannable_area_get_topmost): replaced
1360         gdk_window_get_children with gdk_window_peek_children, this way we
1361         do not have to free the list because it is not a copy.
1362
1363         (hildon_pannable_axis_scroll),
1364         (hildon_pannable_area_scroll),
1365         (hildon_pannable_area_timeout),
1366         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1367         two parameters that were only used inside the
1368         hildon_pannable_area_scroll function.
1369
1370         * examples/hildon-pannable-area-example.c,
1371         (get_sawtooth_label): Fixed small memory leak.
1372
1373 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
1374
1375         More checks for the case where the overshoot is bigger than the
1376         size of the widget.
1377
1378         * src/hildon-pannable-area.c:
1379         (hildon_pannable_draw_vscroll),
1380         (hildon_pannable_draw_hscroll): with this new calculation we avoid
1381         to draw the slider of the scrollbar under the other scrollbar.
1382         (hildon_pannable_area_expose_event): added new checks to control
1383         the drawing of the overshooting area rectangle, in case it is too
1384         big for the area of the widget.
1385         (hildon_pannable_area_size_allocate): add more checks to avoid
1386         setting a position to the child widget outside the area.
1387
1388 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
1389
1390         * src/hildon-pannable-area.c
1391         (hildon_pannable_area_size_allocate): Added conditions to control
1392         when overshooting is bigger than the allocated space for the
1393         children, this avoids negative allocations.
1394
1395 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
1396
1397         * doc/hildon-docs.sgml
1398         * doc/hildon.types
1399         * examples/Makefile.am
1400         * examples/hildon-button-example.c
1401         * src/Makefile.am
1402         * src/hildon-button.c
1403         * src/hildon-button.h
1404         * src/hildon.h: Initial version of the new HildonButton widget,
1405         with examples.
1406
1407 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
1408
1409         * src/hildon-pannable-area.c:
1410         (hildon_pannable_area_button_press_cb),
1411         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1412         (hildon_pannable_area_motion_notify_cb),
1413         (hildon_pannable_area_button_release_cb),
1414         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1415         (hildon_pannable_area_jump_to_child):
1416
1417         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1418
1419 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
1420
1421         * examples/Makefile.am
1422         * examples/hildon-pannable-area-touch-grid-example.c
1423         * examples/hildon-pannable-area-touch-list-example.c: Examples of
1424         the Hildon Touch List and Hildon Touch Grid using the
1425         HildonPannableArea widget.
1426
1427 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
1428
1429         * src/hildon-pannable-area.c,
1430         (hildon_pannable_area_button_press_cb),
1431         (hildon_pannable_area_refresh),
1432         (hildon_pannable_area_scroll),
1433         (hildon_pannable_area_motion_notify_cb),
1434         (hildon_pannable_area_button_release_cb),
1435         (hildon_pannable_area_expose_event),
1436         (hildon_pannable_area_add),
1437         (hildon_pannable_area_remove),
1438         (hildon_pannable_area_realize),
1439         (hildon_pannable_area_size_allocate),
1440         (hildon_pannable_area_class_init),
1441         (hildon_pannable_area_init),
1442         (hildon_pannable_area_scroll_to_child),
1443         (hildon_pannable_area_jump_to_child): Fixed the problem of
1444         removing the child from the GtkBin, we have rearranged the widget
1445         hierarchy, now there is no GtkAlignment which was not doing
1446         anything interesting but breaking some of the assumptions of
1447         GtkContainer. Now developers if they want to add a GtkAlignment
1448         they could, but it is not inside the area.
1449
1450         We had to review the whole allocation/expose process, now it is
1451         improved and we save at least three signals which would be saving
1452         some time when rendering the widget. The allocation of the
1453         scrollbars is now made in the allocate method as usual.
1454
1455         We have also added some conditions in order to control when there
1456         is no child of the pannable area. Maybe we will need more work
1457         here.
1458
1459 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
1460
1461         * src/hildon-pannable-area.c,
1462         (hildon_pannable_area_dispose): Released the fade-out timeout when
1463         disposing the widget.
1464
1465 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
1466
1467         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1468         zero, we are going to use that property in order to deactivate the
1469         overshooting
1470         (hildon_pannable_axis_scroll),
1471         (hildon_pannable_area_size_allocate): Added conditions to control
1472         when overshoot_max is zero. Moved the gtk_adjustment_set_value
1473         call, now it is called in all situations and we can remove calls
1474         in the allocate method.
1475         (hildon_pannable_area_map): Control the situation when
1476         overshoot_max is zero, we do not need the timeout.
1477         (hildon_pannable_area_class_init): Added documentation in order to
1478         point out that setting zero to overshoot_max means deactivate
1479         overshooting.
1480
1481         NOTE: removed trailing whitespaces from my previous comments of
1482         the Changelog.
1483
1484 2008-06-26  Claudio Saavedra  <csaavedra@ig\alia.com>
1485
1486         * src/hildon-pannable-area.c
1487         (hildon_pannable_area_get_property),
1488         (hildon_pannable_area_set_property),
1489         (hildon_pannable_area_map),
1490         (hildon_pannable_area_class_init),
1491         (hildon_pannable_area_init): Add a boolean "initial-hint" property
1492         to cause the widget give a hint about its panning abilities upon
1493         realization.
1494
1495 2008-06-26  Claudio Saavedra  <csaavedra@ig\alia.com>
1496
1497         * src/hildon-pannable-area.c: Several documentation improvements.
1498
1499 2008-06-26  Alberto Garcia  <agarcia@ig\alia.com>
1500
1501         * src/hildon-program.c
1502         * src/hildon-stackable-window.c: Update documentation.
1503
1504 2008-06-26  Alberto Garcia  <agarcia@ig\alia.com>
1505
1506         * src/hildon-stackable-window.c (get_previous_window_if_last):
1507         Renamed get_last_window()
1508         (hildon_stackable_window_map, hildon_stackable_window_unmap)
1509         (hildon_stackable_window_unset_program):
1510         Simplified code.
1511         (get_previous_window_if_last):
1512         Detect if the window hasn't been added to a HildonProgram.
1513
1514 2008-06-26  Alejandro G. Castro <alex@ig\alia.com>
1515
1516         contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1517
1518         * src/hildon-pannable-area.c
1519         (hildon_pannable_area_button_press_cb),
1520         (hildon_pannable_axis_scroll),
1521         (hildon_pannable_area_scroll),
1522         (hildon_pannable_area_timeout),
1523         (hildon_pannable_calculate_vel_factor),
1524         (hildon_pannable_area_get_property),
1525         (hildon_pannable_area_set_property),
1526         (hildon_pannable_area_class_init),
1527         (hildon_pannable_area_init),
1528         (hildon_pannable_area_scroll_to),
1529         (hildon_pannable_area_jump_to),
1530         (hildon_pannable_area_scroll_to_child),
1531         (hildon_pannable_area_jump_to_child):
1532         * src/hildon-pannable-area.h: Added the new API functions:
1533         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1534         hildon_pannable_area_scroll_to_child,
1535         hildon_pannable_area_jump_to_child
1536
1537
1538         * examples/Makefile.am
1539         * examples/hildon-pannable-area-example-2.c
1540         * examples/hildon-pannable-area-example-3.c: Added these two new
1541         examples in order to test and show how the new APIs work.
1542
1543 2008-06-25  Alberto Garcia  <agarcia@ig\alia.com>
1544
1545         * examples/hildon-stackable-window-example.c (new_window):
1546         * src/Makefile.am (noinst_HEADERS):
1547         * src/hildon-program.c (hildon_program_go_to_root_window):
1548         * src/hildon-program.h:
1549         * src/hildon-stackable-window-private.h:
1550         * src/hildon-stackable-window.c:
1551         * src/hildon-stackable-window.h:
1552         Create hildon-stackable-window-private.h
1553         Move hildon_stackable_window_go_to_root_window() to HildonProgram
1554
1555         * examples/hildon-app-menu-example.c (create_menu):
1556         * examples/hildon-hvolumebar-insensitive-example.c (main):
1557         * examples/hildon-hvolumebar-timer-example.c (on_idle):
1558         * examples/hildon-toolbar-seekbar-example.c (main):
1559         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1560         * src/hildon-banner.c (hildon_banner_set_property):
1561         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1562         Fix compilation warnings
1563
1564         * src/hildon-window.c:
1565         Fix typo in doc
1566
1567 2008-06-24  Alberto Garcia  <agarcia@ig\alia.com>
1568
1569         * src/hildon-stackable-window.c
1570         (hildon_stackable_window_unset_program):
1571         Calculate correctly whether to show the previous window if the
1572         last one is removed from the stack.
1573         (hildon_stackable_window_go_to_root_window):
1574         Send delete events starting from the topmost window.
1575         Stop if one of the windows is not destroyed.
1576         Update doc.
1577         (hildon_stackable_window_delete_event)
1578         (hildon_stackable_window_class_init):
1579         Ignore the delete event if the window is not the topmost one.
1580
1581 2008-06-24  Alejandro G. Castro <alex@ig\alia.com>
1582
1583         * src/hildon-pannable-area.c
1584         (hildon_pannable_area_expose_event): Fixed a problem when
1585         selecting the background color of the scrollbars.
1586
1587 2008-06-23  Alberto Garcia  <agarcia@ig\alia.com>
1588
1589         * examples/hildon-stackable-window-example.c
1590         * src/hildon-stackable-window.c
1591         * src/hildon-stackable-window.h
1592         hildon_stackable_window_go_home() renamed to
1593         hildon_stackable_window_go_to_root_window()
1594         Send delete events to windows rather than closing them with
1595         gtk_widget_destroy()
1596
1597 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
1598
1599         * src/hildon-pannable-area.c
1600         (hildon_pannable_area_button_release_cb): Fix overshooting in
1601         accel mode.
1602
1603 2008-06-19  Claudio Saavedra  <csaavedra@ig\alia.com>
1604
1605         * src/hildon-pannable-area.c
1606         (hildon_pannable_area_init): Initially show the scroll indicators.
1607         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1608
1609         Add initial effect showing the widget is pannable.
1610
1611 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
1612
1613         * src/hildon-pannable-area.c
1614         (hildon_pannable_area_class_init)
1615         (hildon_pannable_area_set_property)
1616         (hildon_pannable_area_get_property)
1617         (hildon_pannable_area_button_press_cb):
1618         New 'velocity_fast_factor' property to decide which velocity is
1619         considered fast.
1620
1621 2008-06-19  Claudio Saavedra  <csaavedra@ig\alia.com>
1622
1623         * src/hildon-pannable-area.c
1624         (hildon_pannable_draw_hscroll)
1625         (hildon_pannable_draw_vscroll):
1626         Use float variables to calculate the size of the scrollbars to
1627         avoid error propagation and resizing during scrolling.
1628
1629 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
1630
1631         * src/hildon-pannable-area.c
1632         (hildon_pannable_draw_vscroll)
1633         (hildon_pannable_draw_hscroll):
1634         Define a minimum size for the scroll bars
1635
1636         * src/hildon-stackable-window.c
1637         (hildon_stackable_window_go_home): Fix compilation warning
1638         (get_last_window): Minor optimizations
1639         (hildon_stackable_window_class_init): Fix initialization of
1640         private structure.
1641
1642 2008-06-18  Alberto Garcia  <agarcia@ig\alia.com>
1643
1644         * src/hildon-stackable-window.c: Fixed typos in doc
1645
1646 2008-06-18  Claudio Saavedra  <csaavedra@ig\alia.com>
1647
1648         * src/hildon-pannable-area.c
1649         (hildon_pannable_area_scroll):
1650         Calculate here whether we need to scroll instead of using the booleans
1651         that tell us whether to /draw/ the scrolling bars.
1652
1653 2008-06-17  Claudio Saavedra  <csaavedra@ig\alia.com>
1654
1655         * src/hildon-app-menu.h
1656         Update API.
1657         * src/hildon-app-menu.c
1658         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1659         multiple filter groups related code and API. Now we support only
1660         one filter group.
1661         * examples/hildon-app-menu-example.c:
1662         (create_menu):
1663         Update to reflect API changes.
1664
1665 2008-06-16  Claudio Saavedra  <csaavedra@ig\alia.com>
1666
1667         * src/hildon-stackable-window.c
1668         (hildon_stackable_window_class_init):
1669         Add hildon_stackable_window_realize.
1670         (hildon_stackable_window_realize):
1671         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1672         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1673         to apply theming and behavior specific to HildonStackableWindow
1674         windows.
1675
1676 2008-06-12  Alberto Garcia  <agarcia@ig\alia.com>
1677
1678         * src/hildon-note.c (hildon_note_button_release):
1679         Close information notes also when tapping on them
1680
1681 2008-06-12  Alejandro G. Castro <alex@ig\alia.com>
1682
1683         Added BOUNCE_STEPS define to control the overshoot effect. Removed
1684         ELASTICITY, refactor and review, fix some issues with drawing
1685         scrollbars.
1686
1687         * src/hildon-pannable-area.c:
1688         (hildon_pannable_area_button_press_cb): removed the conditions to
1689         avoid clicks when overshooting. It is not required
1690
1691         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1692         define. Refatored and reviewed the code, now we do not need to
1693         manage velocity in motion_notify.
1694
1695         (hildon_pannable_area_motion_notify_cb): We have moved the code
1696         that controls the area_scroll to the axis_scroll function and get
1697         rid of duplicated code.
1698
1699         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1700
1701         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1702
1703         (hildon_pannable_draw_vscroll),
1704         (hildon_pannable_draw_hscroll): Fixed the problems with the
1705         scrollbar drawing, now we do not use two surfaces, it is easier
1706         and saves resources.
1707
1708         (hildon_pannable_area_get_property): Style modification.
1709
1710         (hildon_pannable_area_class_init): Changed some default values.
1711
1712 2008-06-12  Claudio Saavedra  <csaavedra@ig\alia.com>
1713
1714         * src/hildon-stackable-window.c: Fix some typos in the
1715         documentation.
1716
1717 2008-06-12  Alberto Garcia  <agarcia@ig\alia.com>
1718
1719         * src/hildon-dialog.c:
1720         Change indentation style
1721
1722         * src/hildon-note.c
1723         (hildon_note_button_release):
1724         Use root coordinates to check if the release event happened
1725         outside the widget.
1726
1727         * src/hildon-app-menu.c
1728         (hildon_app_menu_button_release):
1729         Remove unnecessary check
1730
1731         * examples/hildon-app-menu-example.c
1732         (button_clicked):
1733         Add cast to fix warning
1734
1735         * src/hildon-app-menu.c
1736         (hildon_app_menu_class_init):
1737         New inner-border style property.
1738         Set all default spacings to 16
1739         (hildon_app_menu_init):
1740         Use vertical-spacing to set the space between filter buttons and
1741         regular menu buttons.
1742         Set the default container border using the inner-border value.
1743
1744         * examples/hildon-app-menu-example.c
1745         (create_menu):
1746         Don't set the menu border explicitly, now we have the inner-border
1747         style property for that.
1748
1749 2008-06-11  Alberto Garcia  <agarcia@ig\alia.com>
1750
1751         * src/hildon-app-menu.c (hildon_app_menu_init):
1752         Make the window modal
1753
1754         * src/hildon-note.c (hildon_note_map)
1755         * src/hildon-app-menu.c (hildon_app_menu_map):
1756         Destroy the grab window if we're unable to grab the pointer
1757
1758         * src/hildon-app-menu-private.h
1759         * src/hildon-app-menu.c
1760         (hildon_app_menu_init, hildon_app_menu_finalize)
1761         (hildon_app_menu_map, hildon_app_menu_unmap)
1762         (hildon_app_menu_button_release)
1763         (grab_transfer_window_get):
1764         Bring back the grab window
1765         (hildon_app_menu_realize):
1766         Decorate the window, set WM hint for Matchbox
1767
1768         * src/hildon-note.c (hildon_note_realize):
1769         * src/hildon-banner.c (hildon_banner_realize):
1770         Add WM hints for Matchbox
1771
1772 2008-06-10  Alberto Garcia  <agarcia@ig\alia.com>
1773
1774         * src/hildon-app-menu-private.h
1775         * src/hildon-app-menu.c
1776         (hildon_app_menu_init, hildon_app_menu_finalize)
1777         (hildon_app_menu_map, hildon_app_menu_unmap)
1778         (hildon_app_menu_button_release):
1779         Remove the grab window, it's not needed anymore
1780
1781         * src/hildon-program.c
1782         Fixed typo in documentation
1783
1784         * src/hildon-app-menu.h
1785         * src/hildon-app-menu.c
1786         * examples/hildon-app-menu-example.c
1787         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1788
1789 2008-06-09  Alberto Garcia  <agarcia@ig\alia.com>
1790
1791         * src/hildon-note.c
1792         Added new transfer_window and close_if_pressed_outside private
1793         attributes.
1794         (hildon_note_rebuild):
1795         Don't add a cancel button to the information note. It will be
1796         closed when tapping outside
1797         Remove the comment about the OK button in the documentation
1798         (hildon_note_realize):
1799         Set the notification type hint
1800         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1801         Grab/ungrab pointer and keyboard if the note has to be closed when
1802         tapping outside
1803         (hildon_note_button_release):
1804         Close the note when tapping outside (if applicable)
1805
1806         * src/hildon-app-menu.c
1807         Grab/ungrab pointer and keyboard on map/unmap
1808         (hildon_app_menu_button_release, hildon_app_menu_class_init):
1809         Close the menu on button release, not button press
1810
1811         * src/hildon-banner.c
1812         (hildon_banner_set_property)
1813         (hildon_banner_check_position):
1814         Make the banner use the full width of the screen
1815         (hildon_banner_show_information)
1816         (hildon_banner_show_information_with_markup):
1817         Don't display an icon by default
1818
1819 2008-06-09  Alejandro G. Castro <alex@ig\alia.com>
1820
1821         Added fading scrollbars and adapted all the overshooting code to
1822         horizontal scrolling. We have also fixed bugs with overshooting
1823         and current fading implementation.
1824
1825         * src/hildon-pannable-area.c
1826         (hildon_pannable_area_scroll_indicator_fade): Time out function
1827         used to change the transparency of the scrollbars.
1828
1829         (hildon_pannable_area_button_press_cb): Added horizontal overshot
1830         control and fixed a problem with fading, we now remove the fade
1831         timeout before adding a new one.
1832
1833         (hildon_pannable_axis_scroll):
1834         (hildon_pannable_area_scroll):
1835         (hildon_pannable_area_timeout): Added this functions so we can use
1836         the scroll code both for vertical and horizontal.
1837
1838         (hildon_pannable_area_motion_notify_cb):
1839         (hildon_pannable_area_button_release_cb): Added the horizontal
1840         scrolling control, fixed a problem with the overshooting timeout.
1841
1842         (rgb_from_gdkcolor): Added this function, it is used in the cairo
1843         painting of the scrolls.
1844
1845         (hildon_pannable_draw_vscroll):
1846         (hildon_pannable_draw_hscroll):
1847         (hildon_pannable_area_expose_event):
1848         Draw both scrollbars and rectangles in the overshooting area.
1849
1850         (hildon_pannable_area_get_property):
1851         (hildon_pannable_area_set_property):
1852         Modified the overshoot property to overshoot_max
1853
1854         (hildon_pannable_area_map):
1855         Replaced the comments symbols.
1856
1857         (hildon_pannable_area_size_allocate):
1858         (hildon_pannable_area_class_init):
1859         (hildon_pannable_area_init): Added horizontal scroll, fading
1860         effect properties, fixed a problem when overshooting in the bottom
1861         of the widget.
1862
1863         * examples/hildon-pannable-area-example.c:
1864         (get_sawtooth_label): Now we use smaller sawtooths, the effect
1865         looks better in the example.
1866
1867 2008-06-03  Alberto Garcia  <agarcia@ig\alia.com>
1868
1869         * src/hildon-window.c
1870         * src/hildon-window.h
1871         (hildon_window_class_init)
1872         (hildon_window_unset_program)
1873         (hildon_window_unset_program_real):
1874         Make unset_program a virtual function
1875
1876         * src/hildon-stackable-window.c
1877         * src/hildon-stackable-window.h
1878         Added hildon_stackable_window_go_home()
1879
1880         * examples/Makefile.am
1881         * examples/hildon-stackable-window-example.c
1882         HildonStackableWindow example
1883
1884 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1885
1886         * hildon-pannable-area.c: Added the overshoot property and removed
1887         the OVERSHOOT define. Fixed an indent style error.
1888         (hildon_pannable_area_motion_notify_cb):
1889         (hildon_pannable_area_get_property):
1890         (hildon_pannable_area_set_property): Add overshoot property.
1891
1892         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1893         overshoot property.
1894
1895         (hildon_pannable_area_class_init): Installed the new property.
1896
1897         * hildon-pannable-area-example.c: Added a sawtooth function, this
1898         way it is easier to check the movement in the pannable.
1899         (get_sawtooth_label): Added this function.
1900         (main): Now we get the labels from the new get_sawtooth_label
1901         function.
1902
1903 2008-05-26  Alberto Garcia  <agarcia@ig\alia.com>
1904
1905         * src/hildon-app-menu.h
1906         * src/hildon-app-menu.c
1907         Renamed API variables for consistency
1908
1909         (hildon_app_menu_popup): Use also the default window size to
1910         decide where to place the menu
1911
1912         (hildon_app_menu_init, hildon_app_menu_class_init): New
1913         external-border style property
1914
1915 2008-05-26  Michael Natterer  <mitch@imendio.com>
1916
1917         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1918         widget_class->tap_and_hold_setup signal slot doesn't exist any
1919         longer, stop overriding it.
1920
1921         (hildon_time_editor_init): g_signal_connect() to the
1922         tap-and-hold-setup signal instead.
1923
1924         (hildon_time_editor_entry_keypress): add cast to fix warning.
1925
1926 2008-05-23  Alberto Garcia  <agarcia@ig\alia.com>
1927
1928         * doc/hildon-docs.sgml
1929         * doc/hildon.types
1930         * examples/Makefile.am
1931         * examples/hildon-app-menu-example.c
1932         * src/Makefile.am
1933         * src/hildon-app-menu-private.h
1934         * src/hildon-app-menu.c
1935         * src/hildon-app-menu.h
1936         * src/hildon.h
1937         New HildonAppMenu widget
1938
1939 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1940
1941         Rearranged the inheritance of the pannable area, now it inherits
1942         from GtkBin. This will allow us to control the event_window and
1943         the allocation process of the widget, required for some effects.
1944
1945         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1946         GtkBin structures.  * src/hildon-pannable-area.c: Added the
1947         event_window variable.
1948         (hildon_pannable_area_button_press_cb):
1949         (hildon_pannable_area_button_release_cb):
1950         (hildon_pannable_area_motion_notify_cb):
1951         Changed the signature of the method, now we override the event
1952         callback instead of connecting to the signal.
1953
1954         (hildon_pannable_area_realize):
1955         (hildon_pannable_area_unrealize):
1956         (hildon_pannable_area_map):
1957         (hildon_pannable_area_unmap):
1958         (hildon_pannable_area_size_allocate):
1959         Added functions to control the widget construction. We add a
1960         INPUT_ONLY window and we put it over the widgets inside the
1961         container, this event_window handles the events.
1962
1963         (hildon_pannable_area_class_init):
1964         Replaced the signal connections with overrides of the event
1965         callbacks.
1966
1967 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1968
1969         Bouncing effect added when touching the borders, you can change
1970         the elasticity of the border changing the ELASTICITY define.
1971
1972         * src/hildon-pannable-area.c: Added ELASTICITY define.
1973         (hildon_pannable_area_timeout): Added inverse velocity when
1974         touching the border of the child widget, that causes a bounce.
1975
1976 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1977
1978         Improved performance, we now do not go to the X server in order to
1979         get the list of window children. Apparently the effect is the
1980         same, we have to be careful and check if this breaks something in
1981         any corner case.
1982
1983         * src/hildon-pannable-area.c:
1984         (get_ordered_children): Removed this function.
1985         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1986         the children windows function with gdk_window_get_children.
1987
1988 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1989
1990         * src/hildon-pannable-area.c:
1991         (hildon_pannable_area_dispose): Fixed a crash when closing the
1992         window and kinetics is activated.
1993
1994 2008-05-19  Alberto Garcia  <agarcia@ig\alia.com>
1995
1996         * src/hildon-pannable-area.h
1997         * src/hildon-pannable-area.c
1998         Changed indentation style to meet the one used in Hildon
1999
2000 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
2001
2002         Reviewed the interaction of the AUTO mode, now we use the time
2003         attribute of the events and calculate the velocity in the motion,
2004         doing a gimp like calculation. The velocity is calculated in each
2005         motion event using the last velocity and the current one, the
2006         SMOOTH_FACTOR controls the percentage of the new velocity we use.
2007
2008         * src/hildon-pannable-area.c: Replaced the time based algorithm
2009         for the AUTO mode.
2010         (hildon_pannable_area_motion_notify_cb): now we do not launch the
2011         timeout for the AUTO mode when we are still moving the cursor. We
2012         added also the velocity calculation in this function.
2013         (hildon_pannable_area_button_release_cb): launch the timeout in
2014         case we are in AUTO mode. There are still some constants here that
2015         come from the old implementation that should be reviewed and
2016         handled properly.
2017
2018 2008-05-15  Alberto Garcia  <agarcia@ig\alia.com>
2019
2020         * doc/hildon-docs.sgml
2021         * doc/hildon.types
2022         * src/Makefile.am
2023         * src/hildon-stackable-window.c
2024         * src/hildon-stackable-window.h
2025         * src/hildon.h
2026         New HildonStackableWindow widget
2027
2028         * examples/hildon-dialog-example.c
2029         * examples/hildon-pannable-area-example.c
2030         Updated copyright
2031
2032 2008-05-14  Alberto Garcia  <agarcia@ig\alia.com>
2033
2034         * src/hildon-dialog.c
2035         (hildon_dialog_new_with_buttons): New constructor.
2036
2037         * examples/hildon-dialog-example.c
2038         (main): Update the example to use the new
2039         hildon_dialog_new_with_buttons().
2040
2041         * examples/hildon-pannable-area-example.c
2042         (main): Update example.
2043
2044 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
2045
2046         * doc/hildon-docs.sgml
2047         * doc/hildon.types
2048         Added HildonPannableArea to the documentation.
2049
2050 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
2051
2052         * doc/visual_index.xml
2053         Fix reference to HildonLoginDialog in documentation
2054
2055         * doc/hildon-docs.sgml
2056         * doc/hildon.types
2057         * examples/Makefile.am
2058         * examples/hildon-dialog-example.c
2059         * src/Makefile.am
2060         * src/hildon-dialog.c
2061         * src/hildon-dialog.h
2062         * src/hildon.h
2063         New HildonDialog widget.
2064
2065 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2066
2067         * src/hildon-pannable-area.c
2068         Merge latest changes (r4318, r4342) from libmokoui trunk
2069
2070 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2071
2072         * examples/Makefile.am
2073         * examples/hildon-pannable-area-example.c
2074         * src/Makefile.am
2075         * src/hildon-pannable-area.c
2076         * src/hildon-pannable-area.h
2077         * src/hildon.h
2078         New HildonPannableArea widget.
2079
2080 2008-04-15 18:05:19    <timj@imendio.com>
2081
2082         * src/hildon-banner.c: revert the recent change, that introduced
2083         gtk_window_present() calls. this reopens:
2084           Bug 78481 - [freetest] information banners are hidden under browser menu
2085         But resolves another variant of:
2086           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2087
2088 2008-04-15 13:21:13    <timj@imendio.com>
2089
2090         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2091         recreated its layout, spotted by Kris. this fixes all remaining
2092         artefacts and stability issues with the banner code. in particular:
2093         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2094
2095 2008-04-14 16:52:59    <timj@imendio.com>
2096
2097         * src/hildon-banner.c: guard force_to_wrap_truncated() against
2098         operating on unrealized widgets, fixes:
2099         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2100
2101         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2102
2103 2008-04-09  Kristian Rietveld  <kris@imendio.com>
2104
2105         Fixes: NB#77775: Media Player, Save Now playing list, too long name
2106         makes banner disappear.
2107         Fixes: NB#79182: info banner flickering with certain message lengts.
2108
2109         * src/hildon-banner.c (hildon_banner_constructor),
2110         (hildon_banner_init), (hildon_banner_set_text),
2111         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2112         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2113         FALSE, reset size requests of label and banner,
2114         (force_to_wrap_truncated): when the text is too wide, always enforce
2115         the maximum possible width instead of recalculating it from the
2116         layout; enforce the maximum banner height of 3 lines,
2117         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2118         nicer wrapping and no truncated chars if space gets tight.
2119
2120         * src/hildon-banner-private.h: add has_been_wrapped and
2121         has_been_truncated fields.
2122
2123 2008-04-07  Sven Herzberg  <sven@imendio.com>
2124
2125         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2126         local values in hildon_date_editor_size_allocate
2127
2128         * src/hildon-date-editor.c: moved the real allocation code into the
2129         if() branch
2130
2131 2008-04-07  Sven Herzberg  <sven@imendio.com>
2132
2133         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2134         local values in hildon_date_editor_size_allocate
2135
2136         * src/hildon-date-editor.c: merged the two if() branches together
2137
2138 2008-04-07  Sven Herzberg  <sven@imendio.com>
2139
2140         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2141         local values in hildon_date_editor_size_allocate
2142
2143         * src/hildon-date-editor.c: changed the arguments of the if()
2144         conditions
2145
2146 2008-04-07  Sven Herzberg  <sven@imendio.com>
2147
2148         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2149         local values in hildon_date_editor_size_allocate
2150
2151         * src/hildon-date-editor.c: split the calculation of the allocation
2152         from the real allocation
2153
2154 2008-03-27  Michael Natterer  <mitch@imendio.com>
2155
2156         Fixes: NB#81696: The passcode is not overwritten even after
2157         selecting
2158
2159         * src/hildon-code-dialog.c
2160         (hildon_code_dialog_button_clicked)
2161         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2162         because that doesn't overwrite selected text. Instead, emit the
2163         "commit" signal on the entry's im_context so the entry's normal
2164         insert logic is triggered. Set the cursor to the end of the entry
2165         after each insert operation so that we *only* insert in the middle
2166         of the text if something was selected.
2167
2168 2008-03-27  Michael Natterer  <mitch@imendio.com>
2169
2170         Enable fixing: NB#79916 and NB#79918: The help topic for Color
2171         selector cannot be opened
2172
2173         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2174         when the popup color selector is created. Please connect to this
2175         signal in order to set the dialog's help ID.
2176
2177 2008-03-25  Sven Herzberg  <sven@imendio.com>
2178
2179         Fixes: MB#1212: Hide info banners (infoprints) on click
2180
2181         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2182         extracted the close event simulation into an extra function
2183         (hildon_banner_button_press_event): simulate a close event and destroy
2184         the widget if the event wasn't handled
2185         (hildon_banner_class_init): added the button_press_event handler
2186         (hildon_banner_init): added button-press events to the widget
2187
2188 2008-03-25  Sven Herzberg  <sven@imendio.com>
2189
2190         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2191         Patch from: Mohammad Anwari  <mdamt@maemo.org>
2192
2193         * src/hildon-banner.c: let the HildonBanners pop up on the left side
2194         instead of the right in RTL mode
2195         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2196         breadcrumb button list in RTL mode
2197         * src/hildon-caption.c: mirror the appearance of the caption widget in
2198         RTL mode
2199         * src/hildon-date-editor.c: mirror appearance of the date editor in
2200         RTL mode
2201         * src/hildon-time-editor.c: mirror appearance of the time editor in
2202         RTL mode
2203         * src/hildon-window.c: fix the position of the popup in RTL mode
2204
2205 2008-03-25  Sven Herzberg  <sven@imendio.com>
2206
2207         Amendment to the fix of NB#22072. Fix compilation.
2208
2209         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2210
2211 2008-03-19  Sven Herzberg  <sven@imendio.com>
2212
2213         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2214         in Info Banner" bug
2215
2216         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2217         timeout id properly when the timeout will disappear this leaves no
2218         artifacts around in the destroy(); there will only be the timeout
2219         created by hildon_banner_ensure_timeout() and adding a new timeout
2220         will also work if the timeout gets removed because the timeout_handler
2221         returned FALSE
2222
2223 2008-03-19  Michael Natterer  <mitch@imendio.com>
2224
2225         Fixes: NB#79791: Cannot set focus to Master volume using stylus
2226
2227         * src/hildon-volumebar.c
2228         * src/hildon-vvolumebar.c
2229         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2230         the widget becomes focussable at all.
2231
2232         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2233         set the focus to wither the mute button or the volumebar.
2234
2235         Remove own "can-focus" property and instead listen to
2236         notify::can-focus in order to update the widget's state.
2237
2238         Implement GtkWidget::focus() and make sure we can also *leave* the
2239         widget, not only enter it, depending on volumebar orientation and
2240         requested focus direction.
2241
2242         Clean up set_mute() to cooperate nicely with all the above.
2243
2244 2008-03-04  Michael Natterer  <mitch@imendio.com>
2245
2246         Fixes: NB#78481: information banners are hidden under browser menu
2247
2248         * src/hildon-banner.c: call gtk_window_present() on the banners so
2249         they are risen if they are already visible.
2250
2251 2008-03-03  Sven Herzberg  <sven@imendio.com>
2252
2253         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2254
2255         * examples/hildon-window-menu-example.c: (main): extended the window
2256         menu example to serve as a testcase for automatically added
2257         accelerator groups, too
2258         * src/hildon-window.c: (hildon_window_add_accel_group),
2259         (hildon_window_set_menu): added patch by Tommi Komulainen
2260
2261 2008-03-03  Sven Herzberg  <sven@imendio.com>
2262
2263         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2264
2265         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2266         knowledge about the border allocators used within GTK+
2267
2268 2008-02-26  Sven Herzberg  <sven@imendio.com>
2269
2270         Fixes: MB#2981: Build with asserts broken
2271
2272         * src/hildon-date-editor.c,
2273         * src/hildon-number-editor.c,
2274         * src/hildon-time-editor.c,
2275         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2276         the proper GType instance check
2277
2278 2008-02-25  Sven Herzberg  <sven@imendio.com>
2279
2280         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2281
2282         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2283         * examples/hildon-window-menu-example.c: (main): explicitly show
2284         the menu item
2285         * src/hildon-window.c:
2286         (hildon_window_set_main_menu): moved most of the code from set_menu()
2287         to this place; skipped the call to gtk_widget_show_all(); also didn't
2288         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2289         (hildon_window_set_menu): removed most of the code, just keep the
2290         questionable gtk_widget_show_all()
2291         * src/hildon-window.h: added the new function and deprecate the old
2292         one
2293
2294 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
2295
2296         [2.0.1-1 release]
2297
2298         * NEWS:
2299         * configure.ac:
2300         * debian/changelog: Updating.
2301
2302 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
2303
2304         * configure.ac:
2305         * pkgconfig/Makefile.am:
2306         * pkgconfig/hildon.pc.in:
2307         * src/Makefile.am:
2308
2309         Do not use PACKAGE_VERSION_MAJOR as the API revision,
2310         use newly created API_MAJOR_VERSION.
2311
2312 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
2313
2314         [2.0.0-1 release]
2315
2316         * NEWS:
2317         * configure.ac:
2318         * debian/changelog: Updating.
2319
2320 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
2321
2322         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2323
2324         Add outer_border style property, we use it but don't define it (!).
2325
2326         Fixes NB#75310
2327
2328 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
2329
2330         * examples/hildon-bread-crumb-trail-example.c (main):
2331
2332         Add clear button.
2333
2334         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2335
2336         Fix logic for the bread crumb trail node removal.
2337
2338         Fixes: NB#78616
2339
2340 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2341
2342         [1.99.1-1 release]
2343
2344         * NEWS:
2345         * configure.ac:
2346         * debian/changelog: Updating.
2347
2348 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2349
2350         Patch by Alejandro to get/set passwords dialogs accesibility.
2351
2352         * hildon-1/src/hildon-get-password-dialog.c:
2353         * hildon-1/src/hildon-set-password-dialog.c:
2354         Set atk_set_name to the passwd entries in order to allow
2355         accessibility by name on this entries.
2356
2357 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2358
2359         [1.99.0-2 release]
2360
2361         * debian/changelog:
2362         * debian/control: Updating gtk dep.
2363
2364 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
2365
2366         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2367         USE_MAEMO_GTK is enabled.
2368
2369 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
2370
2371         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2372         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2373
2374 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2375
2376         [1.99.0-1 release]
2377
2378         * NEWS:
2379         * configure.ac:
2380         * debian/changelog: Updating.
2381
2382 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2383
2384         * examples/Makefile.am:
2385         * examples/hildon-logical-color-example.c:
2386         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2387         applied + adding a test case. Fixes: NB#71660.
2388
2389 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
2390
2391         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2392         to be visible, fixes warning on map for windows without toolbars.
2393
2394 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
2395
2396         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2397         2.11.0, add a check for that besides the MAEMO_GTK check.
2398
2399 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2400
2401         [1.0.17-1 release]
2402
2403         * NEWS:
2404         * configure.ac:
2405         * debian/changelog: Updating.
2406
2407 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2408
2409         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2410         visibility. Fixes: NB#70842 and MB#615.
2411
2412 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
2413
2414         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2415         set the separator as no-show-all so it doesn't unintentionally appear when
2416         someone does a show_all.
2417
2418 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
2419
2420         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2421         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2422         toplevel item. Fixes: NB#62031
2423
2424 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
2425
2426         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2427         fix the name of the function in the docs.
2428
2429 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2430
2431         [1.0.16-1 release]
2432
2433         * NEWS:
2434         * configure.ac:
2435         * debian/changelog: Updating.
2436
2437 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2438
2439         * examples/hildon-banner-long-example.c: Adding a test-case for long
2440         hildon banner.
2441
2442         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2443
2444 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2445
2446         * src/hildon-color-chooser-dialog.c:
2447         * src/hildon-color-chooser.c:
2448         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2449         memory leaks in font selector and color selector. Fixes: NB#70499 and
2450         NB#70474.
2451
2452 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
2453
2454         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2455
2456 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2457
2458         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2459         little bit bigger. Fixes: #NB63694.
2460
2461 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2462
2463         [1.0.15-1 release]
2464
2465         * NEWS:
2466         * configure.ac:
2467         * debian/changelog: Updating.
2468
2469 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2470
2471         * doc/Makefile.am:
2472         * doc/hildon-docs.sgml:
2473         * doc/images/bread-crumb-trail.png:
2474         * doc/images/calendar-popup.png:
2475         * doc/images/caption.png:
2476         * doc/images/code-dialog.png:
2477         * doc/images/color-button.png:
2478         * doc/images/color-chooser-dialog.png:
2479         * doc/images/color-chooser.png:
2480         * doc/images/controlbar.png:
2481         * doc/images/date-editor.png:
2482         * doc/images/font-selection-dialog.png:
2483         * doc/images/get-password-dialog.png:
2484         * doc/images/hvolumebar.png:
2485         * doc/images/login-dialog.png:
2486         * doc/images/note.png:
2487         * doc/images/number-editor.png:
2488         * doc/images/range-editor.png:
2489         * doc/images/seekbar.png:
2490         * doc/images/set-password-dialog.png:
2491         * doc/images/sort-dialog.png:
2492         * doc/images/time-editor.png:
2493         * doc/images/time-picker.png:
2494         * doc/images/vvolumebar.png:
2495         * doc/images/weekday-picker.png: Adding the new generated widget shots.
2496         Adding the bread-crumb-trial and helpers to the documentation.
2497
2498 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2499
2500         * examples/hildon-find-toolbar-example.c:
2501         * src/hildon-find-toolbar.c:
2502         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2503         actually continue firing the other handlers if connected. Adding a new
2504         function:
2505         hildon_find_toolbar_get_last_index that gets the index of the most
2506         recently added (last) item. Fixes: NB#52301.
2507
2508 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2509
2510         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2511         behaviour. Fixes: NB#68610.
2512
2513 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2514
2515         * src/hildon-banner.c: Actually reverting the previous change. It somehow
2516         looks a bit worse.
2517
2518 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2519
2520         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2521         when realizing the banner. Should make the infonbanner effect a bit more
2522         bearable.
2523
2524 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2525
2526         * src/hildon-volumebar.c:
2527         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2528         hildon_volumebar_set_range_insensitive_message and
2529         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2530
2531 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2532
2533         * src/hildon-window.c: Fixing the border freeing on destroy.
2534
2535 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2536
2537         * src/hildon-code-dialog-private.h:
2538         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2539         kw keyboard support in HildonCodeDialog.
2540
2541 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2542
2543         [1.0.14-1 release]
2544
2545         * NEWS:
2546         * configure.ac:
2547         * debian/changelog: Updating.
2548
2549 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2550
2551         * src/hildon-date-editor.c:
2552         * src/hildon-number-editor.c:
2553         * src/hildon-private.c:
2554         * src/hildon-private.h:
2555         * src/hildon-time-editor.c:
2556         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2557         handling in subclassed composite widgets. Fixes: NB#66628.
2558
2559 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2560
2561         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2562         from destroy_ callback as it introduces problems in async dbus signal
2563         handlers. Fixes NB#66673.
2564
2565 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2566
2567         * examples/hildon-hvolumebar-example.c:
2568         * src/hildon-volumebar.c: Improving the focus handling in the
2569         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2570         set_property accessor so that "mute" property can be actually set. I'm
2571         scared that nobody noticed it's totally broken.
2572
2573 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2574
2575         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2576         Fixes NB#66548.
2577
2578 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2579
2580         * src/hildon-calendar.c:
2581         * src/hildon-number-editor.c:
2582         * src/hildon-time-picker.c: Changing the timeout repeat so that it
2583         matches the spec of 6 chars per second. Fixes: NB#60489.
2584
2585 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2586
2587         * src/hildon-helper.c: Really fixing NB#58352. Looks like
2588         gtk_style_lookup_color sometime returns FALSE even though color was
2589         found and values were filled properly. Weird. Removing the warning for the
2590         time being.
2591
2592 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2593
2594         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2595         expand vertically. Adding some extra space to the find toolbar buttons to
2596         make them thumbable. Fixes NB#66060.
2597
2598 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2599
2600         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2601         popup with "Ok" and "Cancel". Fixes NB#59299.
2602
2603 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2604
2605         * src/hildon-calendar.c: Process all window updates before executing next
2606         timeout. Fixes: NB#54146.
2607
2608 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2609
2610         [1.0.13-1 release]
2611
2612         * NEWS:
2613         * configure.ac:
2614         * debian/changelog: Updating.
2615
2616 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
2617
2618         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2619         the client event and ignore it, since we use the delete event to close
2620         after timeouts.
2621
2622 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2623
2624         * src/hildon-helper.c: Remove the bogus warning about color not being
2625         found. Fixes NB#58352.
2626
2627 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2628
2629         * examples/Makefile.am:
2630         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2631         HildonSeekbar widget inside a toolbar.
2632
2633 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
2634
2635         * src/hildon-banner.c (hildon_banner_init): mark the banners as
2636         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2637         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2638         don't want to be closed by non-temporary windows on map.
2639
2640         Also use G_DEFINE_TYPE instead of manually typed code.
2641
2642 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2643
2644         [1.0.12-1 release]
2645
2646         * NEWS:
2647         * configure.ac:
2648         * debian/changelog:
2649         * debian/rules: Updating.
2650
2651 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2652
2653         * examples/Makefile.am:
2654         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2655         bug NB#61128. Strangely it works.
2656
2657 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2658
2659         * src/hildon-date-editor.c: When the date editor entry has been changed
2660         but the numbers of characters < max, turn off the skip validation flag.
2661         Prevents a situation when we enter first a valid year and later re-write
2662         it with an invalid one. Fixes NB#60154.
2663
2664 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2665
2666         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2667         code dialog. Fixes NB#64355.
2668
2669 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2670
2671         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2672         switching the page. Fixes NB#49374.
2673
2674         * examples/Makefile.am:
2675         * examples/hildon-wizard-dialog-example.c: Adding an example for
2676         HildonWizardDialog that shows how to handle manual sensitivity setting on
2677         the wizard dialog.
2678
2679 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2680
2681         * configure.ac:
2682         * src/Makefile.am:
2683         * src/hildon-version.h.in:
2684         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2685
2686 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2687
2688         * src/hildon-volumebar.c: Updating the docs.
2689
2690 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2691
2692         [1.0.11-1 release]
2693
2694         * NEWS:
2695         * configure.ac:
2696         * debian/changelog: Updating.
2697
2698 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2699
2700         * src/hildon-find-toolbar.c:
2701         * src/hildon-find-toolbar.h: Adding a few new functions to control the
2702         selected item: hildon_find_toolbar_set_active,
2703         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2704         hildon_find_toolbar_get_active_iter . They correspond to respective
2705         GtkComboBox functions.
2706
2707         * examples/Makefile.am:
2708         * examples/hildon-find-toolbar-example.c: Adding the example to test the
2709         new functionality.
2710
2711 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2712
2713         * examples/Makefile.am:
2714         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2715         theming easily.
2716
2717         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2718         when font size > 32 and we pack a focusable widget inside. Actually using
2719         the default response would work too, but since we don't show default
2720         response state in any way (no theming) it would not be visible to the
2721         user. Fixes NB#63430.
2722
2723 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2724
2725         * src/hildon-date-editor.c: Adding the missing variable setter in the
2726         set_property handler. Fixes NB#54182.
2727
2728 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2729
2730         * src/hildon-window.h: Changing the long key press time from 1500ms to
2731         800ms as requested in NB#63700. I have a bad feeling about this, let's
2732         see... Fixes NB#63700.
2733
2734 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
2735
2736         * src/hildon-time-picker.c (hildon_time_picker_class_init,
2737         hildon_time_picker_map, hildon_time_picker_realize,
2738         hildon_time_picker_style_set): Split the contents of map to more
2739         appropriate functions; set window decorations on realize and update
2740         arrows' size requisitions on style-set. Avoids unnecessary resizing.
2741
2742 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
2743
2744         [1.0.10-2 release]
2745
2746         * NEWS:
2747         * debian/changelog: Updating.
2748
2749 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
2750
2751         * src/Makefile.am: fixed installation of the header files
2752
2753 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2754
2755         [1.0.10-1 release]
2756
2757         * NEWS:
2758         * configure.ac:
2759         * debian/changelog: Updating.
2760
2761 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2762
2763         * configure.ac: Removing some remaining of --enable-xan.
2764
2765 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
2766
2767         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2768         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2769
2770         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2771         2.10.12-osso6 because the move-focus signal needs to be available in
2772         GtkWidget.
2773
2774 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2775
2776         * examples/Makefile.am:
2777         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2778         that makes a HildonVolumebar insensitive before mapping it. Seems to work
2779         fine. Prolly NB#61128 is fixed now.
2780
2781 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2782
2783         * src/hildon-volumebar.c:
2784         * src/hildon-volumebar.h: Adding the
2785         hildon_volumebar_set_range_insensitive_message and
2786         hildon_volumebar_set_range_insensitive_messagef functions to set
2787         insensitive message on the slider of the volumebar. Fixes NB#61129.
2788
2789         * examples/Makefile.am:
2790         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2791         test the new insensitive messsage functionality on HildonVolumebar.
2792
2793 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
2794
2795         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2796         work again.
2797
2798 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
2799
2800         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2801         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2802         button on after clearing the trail.
2803
2804 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2805
2806         * src/hildon-code-dialog.c: Removing the separator from the dialog.
2807
2808 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
2809
2810         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2811         by splitting the installed headers in generated and non-generated groups. Use
2812         only the non-generated headers to create the hildon-enum-types.h file.
2813
2814         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2815
2816 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2817
2818         * src/hildon-window.c: Hide the window before performing the destroy.
2819         Should make the app closing a little tiny bit more snappy.
2820
2821 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
2822
2823         * src/hildon-seekbar.c: add gtkrange.h header
2824         * src/hildon-caption.c: remove unused variable
2825
2826 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
2827
2828         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2829         Loic Minier.
2830
2831 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2832
2833         [1.0.9-1 release]
2834
2835         * NEWS:
2836         * configure.ac:
2837         * debian/changelog: Updating.
2838
2839 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
2840
2841         * src/hildon-window.c (hildon_window_window_state_event,
2842         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2843         escape timeout on focus-out-event rather than notify::is-topmost; the
2844         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2845
2846 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2847
2848         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2849         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2850
2851 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
2852
2853         * src/hildon-window: actually, you need to use the macro always, there's
2854         no private pointer in the instance structure. We should have cleaned this up
2855         when we had the chance...
2856
2857 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
2858
2859         * src/hildon-window.c: do not get the private date from HildonWindow before
2860         it passes the g_return_if_fail check. Once it's passed the test, there's no
2861         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2862         if you are only going to access the data once. Whitespace cleanups.
2863
2864 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
2865
2866         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2867         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2868
2869 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2870
2871         [1.0.8-1 release]
2872
2873         * NEWS:
2874         * configure.ac:
2875         * debian/changelog: Updating.
2876
2877 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2878
2879         * src/hildon-window.c: When destroying the window, remove (if exists) the
2880         escape timeout handler. Fixes #NB59276.
2881
2882 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2883
2884         * src/hildon-banner.c: When realizing the widget, set the window
2885         transiency. Setting the transiency in the gobject constructor is not
2886         good, as the widget is not realized at that point. Fixes: #NB56624.
2887
2888 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
2889
2890         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2891         Add padding for future expansions.
2892
2893 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
2894
2895         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2896         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2897         will fake an activation on the previous to the last item of the trail, so
2898         the effect can be overrided by the developer as usual.
2899         Also change the callback for the back button to do the same thing, so its
2900         effect can be overrided too. Fixes: NB#58982
2901
2902 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2903
2904         * src/hildon-caption.c: Implementing the proper focus grabbing in the
2905         HildonCaption. Fixes NB#52379.
2906
2907 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
2908
2909         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2910         the internal state of the trail after the user has had the chance of executing
2911         his handler for the signal. Specifically, it may happen that the activated button
2912         is removed and the user still lets the default handler run. This would segfault
2913         previously.
2914
2915 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2916
2917         * src/hildon-font-selection-dialog.c: When the font is really big, add the
2918         scrollbar to the preview dialog. Fixes NB#54147.
2919
2920 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2921
2922         * src/hildon-date-editor.c: Changing the default max year to 2037. The
2923         max/min year properties can be altered, so the client can modify it
2924         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2925
2926 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2927
2928         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2929         hildonlike by default. Fixing a problem with disappearing arrows when
2930         scrolling through months and years. Fixes NB#54127.
2931
2932 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2933
2934         * examples/hildon-date-editor-example.c: Adding error callback to the date
2935         editor example.
2936
2937 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2938
2939         [1.0.7-1 release]
2940
2941         * NEWS:
2942         * debian/changelog:
2943         * configure.ac: Updating.
2944
2945 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2946
2947         * configure.ac: Adding a special '--enable-xan' configure option that
2948         turns off the -Werror compilation setting. Usefull for development.
2949
2950         * src/hildon-calendar.c:
2951         * src/hildon-number-editor.c:
2952         * src/hildon-time-picker.c: Adding the 5* multiplier to
2953         gtk-timeout-update.
2954
2955 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
2956
2957         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2958         instead of g_object_ref + gtk_object_sink.
2959
2960 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2961
2962         [1.0.6-1 release]
2963
2964         * NEWS:
2965         * configure.ac:
2966         * debian/changelog: Updating.
2967
2968 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2969
2970         * src/hildon-color-chooser-dialog.c:
2971         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2972         straight from Tommi labs.
2973
2974 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2975
2976         * examples/hildon-finger-example.c: Correcting the header file path.
2977
2978         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2979         the changed signal. Fixes a small memory leak.
2980
2981 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2982
2983         * autogen.sh:
2984         * debian/rules:
2985         * src/hildon-banner.c: Importing several usefull fixes from the
2986         ubuntu-mobile branch.
2987
2988 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2989
2990         * examples/Makefile.am:
2991         * examples/hildon-finger-example.c: Adding a finger-checking code
2992         example.
2993
2994         * src/hildon-font-selection-dialog.c: Do not allocate the color
2995         structure using the g_new. Fixes NB#54061.
2996
2997 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2998
2999         * src/hildon-helper.c: Correcting tabs in file.
3000
3001 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
3002
3003         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3004         control the visibility of the children.
3005
3006         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3007
3008 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3009
3010         [1.0.5-1 release]
3011
3012         * NEWS:
3013         * configure.ac:
3014         * debian/changelog: Updating.
3015
3016 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
3017
3018         * src/hildon-bread-crumb-trail.c:
3019         (hildon_bread_crumb_trail_size_allocate):
3020
3021         Make the back button always a square.
3022
3023 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
3024
3025         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3026         from the .c file as it's a private file.
3027
3028 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3029
3030         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3031         uses slightly bigger height.
3032
3033         * src/hildon-font-selection-dialog.c: Adding some checks before
3034         freeing memory in the font selection dialog.
3035
3036 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3037
3038         * src/hildon-font-selection-dialog.c: Adding a small check when
3039         freeing memory.
3040
3041         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3042         buttons sensitivity on page switching.
3043
3044 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
3045
3046         * src/hildon-bread-crumb-trail.c: make the add method handle all the
3047         internal details of adding a bread crumb to the trail.
3048
3049 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3050
3051         [1.0.4-1 release]
3052
3053         * README:
3054         * configure.ac:
3055         * debian/changelog: Updating.
3056
3057         * src/hildon-bread-crumb-trail.h:
3058         * src/hildon-bread-crumb.h: Changing the API guard to
3059         HILDON_ENABLE_UNSTABLE_API.
3060
3061 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3062
3063         [1.0.3-1 release]
3064
3065         * NEWS:
3066         * configure.ac:
3067         * debian/changelog:
3068         * debian/rules:
3069         * src/hildon-helper.h: Updating.
3070
3071 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3072
3073         [1.0.2-1 release]
3074
3075         * NEWS:
3076         * configure.ac:
3077         * debian/changelog:
3078
3079 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3080
3081         * README:
3082         * configure.ac:
3083         * src/hildon-helper.h: Small fix to make the package actually compile.
3084
3085 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
3086
3087         * src/hildon-bread-crumb-trail.h:
3088         * src/hildon-bread-crumb.h:
3089
3090         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3091         to define ENABLE_UNSTABLE_API in the code that includes these headers.
3092
3093 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
3094
3095         * examples/hildon-bread-crumb-trail-example.c:
3096         * src/Makefile.am:
3097         * src/hildon-bread-crumb-trail.c:
3098         * src/hildon-bread-crumb-trail.h:
3099         * src/hildon-bread-crumb.c:
3100         * src/hildon-bread-crumb.h:
3101         * src/hildon-marshalers.list:
3102         * src/hildon-bread-crumb-widget.c:
3103         * src/hildon-bread-crumb-widget.h:
3104
3105         Slight change in the widget design. The bread crumb trail API is
3106         unchanged, but HildonBreadCrumb is now an interface. A *private*
3107         implementation, hildon-bread-crumb-widget, is provided and used
3108         internally by the trail for the push_text/push_icon functions.
3109
3110         The generic push API is still available, so anyone can implement
3111         and use its own bread crumb widget.
3112
3113 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3114
3115         * debian/rules: Fixing the shlibs.
3116
3117 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3118
3119         * src/hildon-banner.c: Fixing a problem with timed banners having
3120         their parrent destroyed before they are.
3121
3122 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
3123
3124         * src/hildon-bread-crumb.c:
3125         * src/hildon-bread-crumb.h:
3126
3127         Make the get_natural_size function a vfunc.
3128
3129 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
3130
3131         * src/hildon-bread-crumb.c:
3132         * src/hildon-bread-crumb-trail.c:
3133
3134         Some cleanups.
3135
3136 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3137
3138         [1.0.1-1 release]
3139
3140         * AUTHORS:
3141         * NEWS:
3142         * configure.ac:
3143         * debian/changelog: Updating for release.
3144
3145 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
3146
3147         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3148         don't leak the pango layout.
3149
3150 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
3151
3152         * src/hildon.h:
3153         * examples/hildon-bread-crumb-trail-example.c:
3154
3155         Fix example.
3156
3157 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3158
3159         * debian/changelog: Removing the bug-fixed entries that were actually
3160         resolved as WONTFIX.
3161
3162         * src/hildon-date-editor.c: Removing a redundant check. Fixes
3163         NB#54182.
3164
3165 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
3166
3167         * src/hildon-bread-crumb-trail.c:
3168         * src/hildon-bread-crumb-trail.h:
3169         * src/hildon-bread-crumb.c:
3170         * src/hildon-bread-crumb.h:
3171
3172         Untabify.
3173
3174 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
3175
3176         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3177         until it's passed the type check.
3178
3179 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
3180
3181         * examples/hildon-bread-crumb-trail-example.c
3182
3183         Add license.
3184
3185 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
3186
3187         * examples/Makefile.am
3188         * examples/hildon-bread-crumb-trail-example.c
3189         * src/Makefile.am
3190         * src/hildon-bread-crumb-trail.c
3191         * src/hildon-bread-crumb-trail.h
3192         * src/hildon-bread-crumb.c
3193         * src/hildon-bread-crumb.h
3194
3195         New HildonBreadCrumbTrail widget.
3196
3197 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
3198
3199         * src/hildon-range-editor.c (hildon_range_editor_init),
3200         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3201         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3202         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3203         hildon_time_editor_class_init, hildon_time_editor_init),
3204         src/hildon-get-password-dialog.c (invalid_input,
3205         hildon_get_password_set_property, hildon_get_password_get_property,
3206         create_contents, hildon_get_password_dialog_set_max_characters),
3207         src/hildon-set-password-dialog.c (create_contents),
3208         src/hildon-date-editor.c (hildon_date_editor_init),
3209         src/hildon-login-dialog.c (hildon_login_dialog_init),
3210         src/hildon-number-editor.c (hildon_number_editor_init),
3211         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3212         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3213         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3214          configure option and adding the respective checks in the code.
3215         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3216         hildon_calendar_drag_data_received): fixed some build warnings.
3217
3218 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3219
3220         * debian/changelog: A 1.0.0 release notes.
3221