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