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