* src/hildon-pannable-area.c: Fixed problem when overshoot_max is zero, we are going...
[hildon] / ChangeLog
1 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2
3         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4         zero, we are going to use that property in order to deactivate the
5         overshooting
6         (hildon_pannable_axis_scroll),
7         (hildon_pannable_area_size_allocate): Added conditions to control
8         when overshoot_max is zero. Moved the gtk_adjustment_set_value
9         call, now it is called in all situations and we can remove calls
10         in the allocate method.
11         (hildon_pannable_area_map): Control the situation when
12         overshoot_max is zero, we do not need the timeout.
13         (hildon_pannable_area_class_init): Added documentation in order to
14         point out that setting zero to overshoot_max means deactivate
15         overshooting.
16
17         NOTE: removed trailing whitespaces from my previous comments of
18         the Changelog.
19
20 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
21
22         * src/hildon-pannable-area.c
23         (hildon_pannable_area_get_property),
24         (hildon_pannable_area_set_property),
25         (hildon_pannable_area_map),
26         (hildon_pannable_area_class_init),
27         (hildon_pannable_area_init): Add a boolean "initial-hint" property
28         to cause the widget give a hint about its panning abilities upon
29         realization.
30
31 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
32
33         * src/hildon-pannable-area.c: Several documentation improvements.
34
35 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
36
37         * src/hildon-program.c
38         * src/hildon-stackable-window.c: Update documentation.
39
40 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
41
42         * src/hildon-stackable-window.c (get_previous_window_if_last):
43         Renamed get_last_window()
44         (hildon_stackable_window_map, hildon_stackable_window_unmap)
45         (hildon_stackable_window_unset_program):
46         Simplified code.
47         (get_previous_window_if_last):
48         Detect if the window hasn't been added to a HildonProgram.
49
50 2008-06-26  Alejandro G. Castro <alex@igalia.com>
51
52         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
53
54         * src/hildon-pannable-area.c
55         (hildon_pannable_area_button_press_cb),
56         (hildon_pannable_axis_scroll),
57         (hildon_pannable_area_scroll),
58         (hildon_pannable_area_timeout),
59         (hildon_pannable_calculate_vel_factor),
60         (hildon_pannable_area_get_property),
61         (hildon_pannable_area_set_property),
62         (hildon_pannable_area_class_init),
63         (hildon_pannable_area_init),
64         (hildon_pannable_area_scroll_to),
65         (hildon_pannable_area_jump_to),
66         (hildon_pannable_area_scroll_to_child),
67         (hildon_pannable_area_jump_to_child):
68         * src/hildon-pannable-area.h: Added the new API functions:
69         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
70         hildon_pannable_area_scroll_to_child,
71         hildon_pannable_area_jump_to_child
72
73
74         * examples/Makefile.am
75         * examples/hildon-pannable-area-example-2.c
76         * examples/hildon-pannable-area-example-3.c: Added these two new
77         examples in order to test and show how the new APIs work.
78
79 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
80
81         * examples/hildon-stackable-window-example.c (new_window):
82         * src/Makefile.am (noinst_HEADERS):
83         * src/hildon-program.c (hildon_program_go_to_root_window):
84         * src/hildon-program.h:
85         * src/hildon-stackable-window-private.h:
86         * src/hildon-stackable-window.c:
87         * src/hildon-stackable-window.h:
88         Create hildon-stackable-window-private.h
89         Move hildon_stackable_window_go_to_root_window() to HildonProgram
90
91         * examples/hildon-app-menu-example.c (create_menu):
92         * examples/hildon-hvolumebar-insensitive-example.c (main):
93         * examples/hildon-hvolumebar-timer-example.c (on_idle):
94         * examples/hildon-toolbar-seekbar-example.c (main):
95         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
96         * src/hildon-banner.c (hildon_banner_set_property):
97         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
98         Fix compilation warnings
99
100         * src/hildon-window.c:
101         Fix typo in doc
102
103 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
104
105         * src/hildon-stackable-window.c
106         (hildon_stackable_window_unset_program):
107         Calculate correctly whether to show the previous window if the
108         last one is removed from the stack.
109         (hildon_stackable_window_go_to_root_window):
110         Send delete events starting from the topmost window.
111         Stop if one of the windows is not destroyed.
112         Update doc.
113         (hildon_stackable_window_delete_event)
114         (hildon_stackable_window_class_init):
115         Ignore the delete event if the window is not the topmost one.
116
117 2008-06-24  Alejandro G. Castro <alex@igalia.com>
118
119         * src/hildon-pannable-area.c
120         (hildon_pannable_area_expose_event): Fixed a problem when
121         selecting the background color of the scrollbars.
122
123 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
124
125         * examples/hildon-stackable-window-example.c
126         * src/hildon-stackable-window.c
127         * src/hildon-stackable-window.h
128         hildon_stackable_window_go_home() renamed to
129         hildon_stackable_window_go_to_root_window()
130         Send delete events to windows rather than closing them with
131         gtk_widget_destroy()
132
133 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
134
135         * src/hildon-pannable-area.c
136         (hildon_pannable_area_button_release_cb): Fix overshooting in
137         accel mode.
138
139 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
140
141         * src/hildon-pannable-area.c
142         (hildon_pannable_area_init): Initially show the scroll indicators.
143         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
144
145         Add initial effect showing the widget is pannable.
146
147 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
148
149         * src/hildon-pannable-area.c
150         (hildon_pannable_area_class_init)
151         (hildon_pannable_area_set_property)
152         (hildon_pannable_area_get_property)
153         (hildon_pannable_area_button_press_cb):
154         New 'velocity_fast_factor' property to decide which velocity is
155         considered fast.
156
157 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
158
159         * src/hildon-pannable-area.c
160         (hildon_pannable_draw_hscroll)
161         (hildon_pannable_draw_vscroll):
162         Use float variables to calculate the size of the scrollbars to
163         avoid error propagation and resizing during scrolling.
164
165 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
166
167         * src/hildon-pannable-area.c
168         (hildon_pannable_draw_vscroll)
169         (hildon_pannable_draw_hscroll):
170         Define a minimum size for the scroll bars
171
172         * src/hildon-stackable-window.c
173         (hildon_stackable_window_go_home): Fix compilation warning
174         (get_last_window): Minor optimizations
175         (hildon_stackable_window_class_init): Fix initialization of
176         private structure.
177
178 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
179
180         * src/hildon-stackable-window.c: Fixed typos in doc
181
182 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
183
184         * src/hildon-pannable-area.c
185         (hildon_pannable_area_scroll):
186         Calculate here whether we need to scroll instead of using the booleans
187         that tell us whether to /draw/ the scrolling bars.
188
189 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
190
191         * src/hildon-app-menu.h
192         Update API.
193         * src/hildon-app-menu.c
194         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
195         multiple filter groups related code and API. Now we support only
196         one filter group.
197         * examples/hildon-app-menu-example.c:
198         (create_menu):
199         Update to reflect API changes.
200
201 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
202
203         * src/hildon-stackable-window.c
204         (hildon_stackable_window_class_init):
205         Add hildon_stackable_window_realize.
206         (hildon_stackable_window_realize):
207         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
208         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
209         to apply theming and behavior specific to HildonStackableWindow
210         windows.
211
212 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
213
214         * src/hildon-note.c (hildon_note_button_release):
215         Close information notes also when tapping on them
216
217 2008-06-12  Alejandro G. Castro <alex@igalia.com>
218
219         Added BOUNCE_STEPS define to control the overshoot effect. Removed
220         ELASTICITY, refactor and review, fix some issues with drawing
221         scrollbars.
222
223         * src/hildon-pannable-area.c:
224         (hildon_pannable_area_button_press_cb): removed the conditions to
225         avoid clicks when overshooting. It is not required
226
227         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
228         define. Refatored and reviewed the code, now we do not need to
229         manage velocity in motion_notify.
230
231         (hildon_pannable_area_motion_notify_cb): We have moved the code
232         that controls the area_scroll to the axis_scroll function and get
233         rid of duplicated code.
234
235         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
236
237         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
238
239         (hildon_pannable_draw_vscroll),
240         (hildon_pannable_draw_hscroll): Fixed the problems with the
241         scrollbar drawing, now we do not use two surfaces, it is easier
242         and saves resources.
243
244         (hildon_pannable_area_get_property): Style modification.
245
246         (hildon_pannable_area_class_init): Changed some default values.
247
248 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
249
250         * src/hildon-stackable-window.c: Fix some typos in the
251         documentation.
252
253 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
254
255         * src/hildon-dialog.c:
256         Change indentation style
257
258         * src/hildon-note.c
259         (hildon_note_button_release):
260         Use root coordinates to check if the release event happened
261         outside the widget.
262
263         * src/hildon-app-menu.c
264         (hildon_app_menu_button_release):
265         Remove unnecessary check
266
267         * examples/hildon-app-menu-example.c
268         (button_clicked):
269         Add cast to fix warning
270
271         * src/hildon-app-menu.c
272         (hildon_app_menu_class_init):
273         New inner-border style property.
274         Set all default spacings to 16
275         (hildon_app_menu_init):
276         Use vertical-spacing to set the space between filter buttons and
277         regular menu buttons.
278         Set the default container border using the inner-border value.
279
280         * examples/hildon-app-menu-example.c
281         (create_menu):
282         Don't set the menu border explicitly, now we have the inner-border
283         style property for that.
284
285 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
286
287         * src/hildon-app-menu.c (hildon_app_menu_init):
288         Make the window modal
289
290         * src/hildon-note.c (hildon_note_map)
291         * src/hildon-app-menu.c (hildon_app_menu_map):
292         Destroy the grab window if we're unable to grab the pointer
293
294         * src/hildon-app-menu-private.h
295         * src/hildon-app-menu.c
296         (hildon_app_menu_init, hildon_app_menu_finalize)
297         (hildon_app_menu_map, hildon_app_menu_unmap)
298         (hildon_app_menu_button_release)
299         (grab_transfer_window_get):
300         Bring back the grab window
301         (hildon_app_menu_realize):
302         Decorate the window, set WM hint for Matchbox
303
304         * src/hildon-note.c (hildon_note_realize):
305         * src/hildon-banner.c (hildon_banner_realize):
306         Add WM hints for Matchbox
307
308 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
309
310         * src/hildon-app-menu-private.h
311         * src/hildon-app-menu.c
312         (hildon_app_menu_init, hildon_app_menu_finalize)
313         (hildon_app_menu_map, hildon_app_menu_unmap)
314         (hildon_app_menu_button_release):
315         Remove the grab window, it's not needed anymore
316
317         * src/hildon-program.c
318         Fixed typo in documentation
319
320         * src/hildon-app-menu.h
321         * src/hildon-app-menu.c
322         * examples/hildon-app-menu-example.c
323         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
324
325 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
326
327         * src/hildon-note.c
328         Added new transfer_window and close_if_pressed_outside private
329         attributes.
330         (hildon_note_rebuild):
331         Don't add a cancel button to the information note. It will be
332         closed when tapping outside
333         Remove the comment about the OK button in the documentation
334         (hildon_note_realize):
335         Set the notification type hint
336         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
337         Grab/ungrab pointer and keyboard if the note has to be closed when
338         tapping outside
339         (hildon_note_button_release):
340         Close the note when tapping outside (if applicable)
341
342         * src/hildon-app-menu.c
343         Grab/ungrab pointer and keyboard on map/unmap
344         (hildon_app_menu_button_release, hildon_app_menu_class_init):
345         Close the menu on button release, not button press
346
347         * src/hildon-banner.c
348         (hildon_banner_set_property)
349         (hildon_banner_check_position):
350         Make the banner use the full width of the screen
351         (hildon_banner_show_information)
352         (hildon_banner_show_information_with_markup):
353         Don't display an icon by default
354
355 2008-06-09  Alejandro G. Castro <alex@igalia.com>
356
357         Added fading scrollbars and adapted all the overshooting code to
358         horizontal scrolling. We have also fixed bugs with overshooting
359         and current fading implementation.
360
361         * src/hildon-pannable-area.c
362         (hildon_pannable_area_scroll_indicator_fade): Time out function
363         used to change the transparency of the scrollbars.
364
365         (hildon_pannable_area_button_press_cb): Added horizontal overshot
366         control and fixed a problem with fading, we now remove the fade
367         timeout before adding a new one.
368
369         (hildon_pannable_axis_scroll):
370         (hildon_pannable_area_scroll):
371         (hildon_pannable_area_timeout): Added this functions so we can use
372         the scroll code both for vertical and horizontal.
373
374         (hildon_pannable_area_motion_notify_cb):
375         (hildon_pannable_area_button_release_cb): Added the horizontal
376         scrolling control, fixed a problem with the overshooting timeout.
377
378         (rgb_from_gdkcolor): Added this function, it is used in the cairo
379         painting of the scrolls.
380
381         (hildon_pannable_draw_vscroll):
382         (hildon_pannable_draw_hscroll):
383         (hildon_pannable_area_expose_event):
384         Draw both scrollbars and rectangles in the overshooting area.
385
386         (hildon_pannable_area_get_property):
387         (hildon_pannable_area_set_property):
388         Modified the overshoot property to overshoot_max
389
390         (hildon_pannable_area_map):
391         Replaced the comments symbols.
392
393         (hildon_pannable_area_size_allocate):
394         (hildon_pannable_area_class_init):
395         (hildon_pannable_area_init): Added horizontal scroll, fading
396         effect properties, fixed a problem when overshooting in the bottom
397         of the widget.
398
399         * examples/hildon-pannable-area-example.c:
400         (get_sawtooth_label): Now we use smaller sawtooths, the effect
401         looks better in the example.
402
403 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
404
405         * src/hildon-window.c
406         * src/hildon-window.h
407         (hildon_window_class_init)
408         (hildon_window_unset_program)
409         (hildon_window_unset_program_real):
410         Make unset_program a virtual function
411
412         * src/hildon-stackable-window.c
413         * src/hildon-stackable-window.h
414         Added hildon_stackable_window_go_home()
415
416         * examples/Makefile.am
417         * examples/hildon-stackable-window-example.c
418         HildonStackableWindow example
419
420 2008-06-03 Alejandro G. Castro <alex@igalia.com>
421
422         * hildon-pannable-area.c: Added the overshoot property and removed
423         the OVERSHOOT define. Fixed an indent style error.
424         (hildon_pannable_area_motion_notify_cb):
425         (hildon_pannable_area_get_property):
426         (hildon_pannable_area_set_property): Add overshoot property.
427
428         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
429         overshoot property.
430
431         (hildon_pannable_area_class_init): Installed the new property.
432
433         * hildon-pannable-area-example.c: Added a sawtooth function, this
434         way it is easier to check the movement in the pannable.
435         (get_sawtooth_label): Added this function.
436         (main): Now we get the labels from the new get_sawtooth_label
437         function.
438
439 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
440
441         * src/hildon-app-menu.h
442         * src/hildon-app-menu.c
443         Renamed API variables for consistency
444
445         (hildon_app_menu_popup): Use also the default window size to
446         decide where to place the menu
447
448         (hildon_app_menu_init, hildon_app_menu_class_init): New
449         external-border style property
450
451 2008-05-26  Michael Natterer  <mitch@imendio.com>
452
453         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
454         widget_class->tap_and_hold_setup signal slot doesn't exist any
455         longer, stop overriding it.
456
457         (hildon_time_editor_init): g_signal_connect() to the
458         tap-and-hold-setup signal instead.
459
460         (hildon_time_editor_entry_keypress): add cast to fix warning.
461
462 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
463
464         * doc/hildon-docs.sgml
465         * doc/hildon.types
466         * examples/Makefile.am
467         * examples/hildon-app-menu-example.c
468         * src/Makefile.am
469         * src/hildon-app-menu-private.h
470         * src/hildon-app-menu.c
471         * src/hildon-app-menu.h
472         * src/hildon.h
473         New HildonAppMenu widget
474
475 2008-05-21 Alejandro G. Castro <alex@igalia.com>
476
477         Rearranged the inheritance of the pannable area, now it inherits
478         from GtkBin. This will allow us to control the event_window and
479         the allocation process of the widget, required for some effects.
480
481         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
482         GtkBin structures.  * src/hildon-pannable-area.c: Added the
483         event_window variable.
484         (hildon_pannable_area_button_press_cb):
485         (hildon_pannable_area_button_release_cb):
486         (hildon_pannable_area_motion_notify_cb):
487         Changed the signature of the method, now we override the event
488         callback instead of connecting to the signal.
489
490         (hildon_pannable_area_realize):
491         (hildon_pannable_area_unrealize):
492         (hildon_pannable_area_map):
493         (hildon_pannable_area_unmap):
494         (hildon_pannable_area_size_allocate):
495         Added functions to control the widget construction. We add a
496         INPUT_ONLY window and we put it over the widgets inside the
497         container, this event_window handles the events.
498
499         (hildon_pannable_area_class_init):
500         Replaced the signal connections with overrides of the event
501         callbacks.
502
503 2008-05-20 Alejandro G. Castro <alex@igalia.com>
504
505         Bouncing effect added when touching the borders, you can change
506         the elasticity of the border changing the ELASTICITY define.
507
508         * src/hildon-pannable-area.c: Added ELASTICITY define.
509         (hildon_pannable_area_timeout): Added inverse velocity when
510         touching the border of the child widget, that causes a bounce.
511
512 2008-05-20 Alejandro G. Castro <alex@igalia.com>
513
514         Improved performance, we now do not go to the X server in order to
515         get the list of window children. Apparently the effect is the
516         same, we have to be careful and check if this breaks something in
517         any corner case.
518
519         * src/hildon-pannable-area.c:
520         (get_ordered_children): Removed this function.
521         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
522         the children windows function with gdk_window_get_children.
523
524 2008-05-20 Alejandro G. Castro <alex@igalia.com>
525
526         * src/hildon-pannable-area.c:
527         (hildon_pannable_area_dispose): Fixed a crash when closing the
528         window and kinetics is activated.
529
530 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
531
532         * src/hildon-pannable-area.h
533         * src/hildon-pannable-area.c
534         Changed indentation style to meet the one used in Hildon
535
536 2008-05-19 Alejandro G. Castro <alex@igalia.com>
537
538         Reviewed the interaction of the AUTO mode, now we use the time
539         attribute of the events and calculate the velocity in the motion,
540         doing a gimp like calculation. The velocity is calculated in each
541         motion event using the last velocity and the current one, the
542         SMOOTH_FACTOR controls the percentage of the new velocity we use.
543
544         * src/hildon-pannable-area.c: Replaced the time based algorithm
545         for the AUTO mode.
546         (hildon_pannable_area_motion_notify_cb): now we do not launch the
547         timeout for the AUTO mode when we are still moving the cursor. We
548         added also the velocity calculation in this function.
549         (hildon_pannable_area_button_release_cb): launch the timeout in
550         case we are in AUTO mode. There are still some constants here that
551         come from the old implementation that should be reviewed and
552         handled properly.
553
554 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
555
556         * doc/hildon-docs.sgml
557         * doc/hildon.types
558         * src/Makefile.am
559         * src/hildon-stackable-window.c
560         * src/hildon-stackable-window.h
561         * src/hildon.h
562         New HildonStackableWindow widget
563
564         * examples/hildon-dialog-example.c
565         * examples/hildon-pannable-area-example.c
566         Updated copyright
567
568 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
569
570         * src/hildon-dialog.c
571         (hildon_dialog_new_with_buttons): New constructor.
572
573         * examples/hildon-dialog-example.c
574         (main): Update the example to use the new
575         hildon_dialog_new_with_buttons().
576
577         * examples/hildon-pannable-area-example.c
578         (main): Update example.
579
580 2008-05-13 Alberto Garcia <agarcia@igalia.com>
581
582         * doc/hildon-docs.sgml
583         * doc/hildon.types
584         Added HildonPannableArea to the documentation.
585
586 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
587
588         * doc/visual_index.xml
589         Fix reference to HildonLoginDialog in documentation
590
591         * doc/hildon-docs.sgml
592         * doc/hildon.types
593         * examples/Makefile.am
594         * examples/hildon-dialog-example.c
595         * src/Makefile.am
596         * src/hildon-dialog.c
597         * src/hildon-dialog.h
598         * src/hildon.h
599         New HildonDialog widget.
600
601 2008-05-09 Alberto Garcia <agarcia@igalia.com>
602
603         * src/hildon-pannable-area.c
604         Merge latest changes (r4318, r4342) from libmokoui trunk
605
606 2008-05-09 Alberto Garcia <agarcia@igalia.com>
607
608         * examples/Makefile.am
609         * examples/hildon-pannable-area-example.c
610         * src/Makefile.am
611         * src/hildon-pannable-area.c
612         * src/hildon-pannable-area.h
613         * src/hildon.h
614         New HildonPannableArea widget.
615
616 2008-04-15 18:05:19    <timj@imendio.com>
617
618         * src/hildon-banner.c: revert the recent change, that introduced
619         gtk_window_present() calls. this reopens:
620           Bug 78481 - [freetest] information banners are hidden under browser menu
621         But resolves another variant of:
622           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
623
624 2008-04-15 13:21:13    <timj@imendio.com>
625
626         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
627         recreated its layout, spotted by Kris. this fixes all remaining
628         artefacts and stability issues with the banner code. in particular:
629         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
630
631 2008-04-14 16:52:59    <timj@imendio.com>
632
633         * src/hildon-banner.c: guard force_to_wrap_truncated() against
634         operating on unrealized widgets, fixes:
635         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
636
637         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
638
639 2008-04-09  Kristian Rietveld  <kris@imendio.com>
640
641         Fixes: NB#77775: Media Player, Save Now playing list, too long name
642         makes banner disappear.
643         Fixes: NB#79182: info banner flickering with certain message lengts.
644
645         * src/hildon-banner.c (hildon_banner_constructor),
646         (hildon_banner_init), (hildon_banner_set_text),
647         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
648         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
649         FALSE, reset size requests of label and banner,
650         (force_to_wrap_truncated): when the text is too wide, always enforce
651         the maximum possible width instead of recalculating it from the
652         layout; enforce the maximum banner height of 3 lines,
653         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
654         nicer wrapping and no truncated chars if space gets tight.
655
656         * src/hildon-banner-private.h: add has_been_wrapped and
657         has_been_truncated fields.
658
659 2008-04-07  Sven Herzberg  <sven@imendio.com>
660
661         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
662         local values in hildon_date_editor_size_allocate
663
664         * src/hildon-date-editor.c: moved the real allocation code into the
665         if() branch
666
667 2008-04-07  Sven Herzberg  <sven@imendio.com>
668
669         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
670         local values in hildon_date_editor_size_allocate
671
672         * src/hildon-date-editor.c: merged the two if() branches together
673
674 2008-04-07  Sven Herzberg  <sven@imendio.com>
675
676         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
677         local values in hildon_date_editor_size_allocate
678
679         * src/hildon-date-editor.c: changed the arguments of the if()
680         conditions
681
682 2008-04-07  Sven Herzberg  <sven@imendio.com>
683
684         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
685         local values in hildon_date_editor_size_allocate
686
687         * src/hildon-date-editor.c: split the calculation of the allocation
688         from the real allocation
689
690 2008-03-27  Michael Natterer  <mitch@imendio.com>
691
692         Fixes: NB#81696: The passcode is not overwritten even after
693         selecting
694
695         * src/hildon-code-dialog.c
696         (hildon_code_dialog_button_clicked)
697         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
698         because that doesn't overwrite selected text. Instead, emit the
699         "commit" signal on the entry's im_context so the entry's normal
700         insert logic is triggered. Set the cursor to the end of the entry
701         after each insert operation so that we *only* insert in the middle
702         of the text if something was selected.
703
704 2008-03-27  Michael Natterer  <mitch@imendio.com>
705
706         Enable fixing: NB#79916 and NB#79918: The help topic for Color
707         selector cannot be opened
708
709         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
710         when the popup color selector is created. Please connect to this
711         signal in order to set the dialog's help ID.
712
713 2008-03-25  Sven Herzberg  <sven@imendio.com>
714
715         Fixes: MB#1212: Hide info banners (infoprints) on click
716
717         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
718         extracted the close event simulation into an extra function
719         (hildon_banner_button_press_event): simulate a close event and destroy
720         the widget if the event wasn't handled
721         (hildon_banner_class_init): added the button_press_event handler
722         (hildon_banner_init): added button-press events to the widget
723
724 2008-03-25  Sven Herzberg  <sven@imendio.com>
725
726         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
727         Patch from: Mohammad Anwari  <mdamt@maemo.org>
728
729         * src/hildon-banner.c: let the HildonBanners pop up on the left side
730         instead of the right in RTL mode
731         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
732         breadcrumb button list in RTL mode
733         * src/hildon-caption.c: mirror the appearance of the caption widget in
734         RTL mode
735         * src/hildon-date-editor.c: mirror appearance of the date editor in
736         RTL mode
737         * src/hildon-time-editor.c: mirror appearance of the time editor in
738         RTL mode
739         * src/hildon-window.c: fix the position of the popup in RTL mode
740
741 2008-03-25  Sven Herzberg  <sven@imendio.com>
742
743         Amendment to the fix of NB#22072. Fix compilation.
744
745         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
746
747 2008-03-19  Sven Herzberg  <sven@imendio.com>
748
749         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
750         in Info Banner" bug
751
752         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
753         timeout id properly when the timeout will disappear this leaves no
754         artifacts around in the destroy(); there will only be the timeout
755         created by hildon_banner_ensure_timeout() and adding a new timeout
756         will also work if the timeout gets removed because the timeout_handler
757         returned FALSE
758
759 2008-03-19  Michael Natterer  <mitch@imendio.com>
760
761         Fixes: NB#79791: Cannot set focus to Master volume using stylus
762
763         * src/hildon-volumebar.c
764         * src/hildon-vvolumebar.c
765         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
766         the widget becomes focussable at all.
767
768         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
769         set the focus to wither the mute button or the volumebar.
770
771         Remove own "can-focus" property and instead listen to
772         notify::can-focus in order to update the widget's state.
773
774         Implement GtkWidget::focus() and make sure we can also *leave* the
775         widget, not only enter it, depending on volumebar orientation and
776         requested focus direction.
777
778         Clean up set_mute() to cooperate nicely with all the above.
779
780 2008-03-04  Michael Natterer  <mitch@imendio.com>
781
782         Fixes: NB#78481: information banners are hidden under browser menu
783
784         * src/hildon-banner.c: call gtk_window_present() on the banners so
785         they are risen if they are already visible.
786
787 2008-03-03  Sven Herzberg  <sven@imendio.com>
788
789         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
790
791         * examples/hildon-window-menu-example.c: (main): extended the window
792         menu example to serve as a testcase for automatically added
793         accelerator groups, too
794         * src/hildon-window.c: (hildon_window_add_accel_group),
795         (hildon_window_set_menu): added patch by Tommi Komulainen
796
797 2008-03-03  Sven Herzberg  <sven@imendio.com>
798
799         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
800
801         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
802         knowledge about the border allocators used within GTK+
803
804 2008-02-26  Sven Herzberg  <sven@imendio.com>
805
806         Fixes: MB#2981: Build with asserts broken
807
808         * src/hildon-date-editor.c,
809         * src/hildon-number-editor.c,
810         * src/hildon-time-editor.c,
811         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
812         the proper GType instance check
813
814 2008-02-25  Sven Herzberg  <sven@imendio.com>
815
816         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
817
818         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
819         * examples/hildon-window-menu-example.c: (main): explicitly show
820         the menu item
821         * src/hildon-window.c:
822         (hildon_window_set_main_menu): moved most of the code from set_menu()
823         to this place; skipped the call to gtk_widget_show_all(); also didn't
824         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
825         (hildon_window_set_menu): removed most of the code, just keep the
826         questionable gtk_widget_show_all()
827         * src/hildon-window.h: added the new function and deprecate the old
828         one
829
830 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
831
832         [2.0.1-1 release]
833
834         * NEWS:
835         * configure.ac:
836         * debian/changelog: Updating.
837
838 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
839
840         * configure.ac:
841         * pkgconfig/Makefile.am:
842         * pkgconfig/hildon.pc.in:
843         * src/Makefile.am:
844
845         Do not use PACKAGE_VERSION_MAJOR as the API revision,
846         use newly created API_MAJOR_VERSION.
847         
848 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
849
850         [2.0.0-1 release]
851
852         * NEWS:
853         * configure.ac:
854         * debian/changelog: Updating.
855
856 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
857
858         * src/hildon-color-chooser.c (hildon_color_chooser_class_init): 
859
860         Add outer_border style property, we use it but don't define it (!).
861
862         Fixes NB#75310
863
864 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
865
866         * examples/hildon-bread-crumb-trail-example.c (main): 
867
868         Add clear button.
869
870         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove): 
871
872         Fix logic for the bread crumb trail node removal.
873
874         Fixes: NB#78616
875
876 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
877
878         [1.99.1-1 release]
879
880         * NEWS:
881         * configure.ac:
882         * debian/changelog: Updating.
883
884 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
885
886         Patch by Alejandro to get/set passwords dialogs accesibility.
887
888         * hildon-1/src/hildon-get-password-dialog.c:
889         * hildon-1/src/hildon-set-password-dialog.c: 
890         Set atk_set_name to the passwd entries in order to allow 
891         accessibility by name on this entries.
892         
893 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
894
895         [1.99.0-2 release]
896
897         * debian/changelog:
898         * debian/control: Updating gtk dep.
899
900 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
901
902         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
903         USE_MAEMO_GTK is enabled.
904
905 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
906
907         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
908         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
909
910 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
911
912         [1.99.0-1 release]
913
914         * NEWS:
915         * configure.ac:
916         * debian/changelog: Updating.
917
918 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
919
920         * examples/Makefile.am:
921         * examples/hildon-logical-color-example.c:
922         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
923         applied + adding a test case. Fixes: NB#71660.
924
925 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
926
927         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
928         to be visible, fixes warning on map for windows without toolbars.
929
930 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
931
932         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
933         2.11.0, add a check for that besides the MAEMO_GTK check.
934
935 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
936
937         [1.0.17-1 release]
938
939         * NEWS:
940         * configure.ac:
941         * debian/changelog: Updating.
942
943 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
944
945         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
946         visibility. Fixes: NB#70842 and MB#615.
947
948 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
949
950         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
951         set the separator as no-show-all so it doesn't unintentionally appear when
952         someone does a show_all.
953
954 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
955
956         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
957         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
958         toplevel item. Fixes: NB#62031
959
960 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
961
962         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
963         fix the name of the function in the docs.
964
965 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
966
967         [1.0.16-1 release]
968
969         * NEWS:
970         * configure.ac:
971         * debian/changelog: Updating.
972
973 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
974
975         * examples/hildon-banner-long-example.c: Adding a test-case for long
976         hildon banner.
977
978         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
979
980 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
981
982         * src/hildon-color-chooser-dialog.c:
983         * src/hildon-color-chooser.c:
984         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
985         memory leaks in font selector and color selector. Fixes: NB#70499 and
986         NB#70474.
987
988 2007-09-20  Johan Bilien  <johan.bilien@nokia.com> 
989
990         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
991
992 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
993
994         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
995         little bit bigger. Fixes: #NB63694.
996
997 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
998
999         [1.0.15-1 release]
1000
1001         * NEWS:
1002         * configure.ac:
1003         * debian/changelog: Updating.
1004
1005 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1006
1007         * doc/Makefile.am:
1008         * doc/hildon-docs.sgml:
1009         * doc/images/bread-crumb-trail.png:
1010         * doc/images/calendar-popup.png:
1011         * doc/images/caption.png:
1012         * doc/images/code-dialog.png:
1013         * doc/images/color-button.png:
1014         * doc/images/color-chooser-dialog.png:
1015         * doc/images/color-chooser.png:
1016         * doc/images/controlbar.png:
1017         * doc/images/date-editor.png:
1018         * doc/images/font-selection-dialog.png:
1019         * doc/images/get-password-dialog.png:
1020         * doc/images/hvolumebar.png:
1021         * doc/images/login-dialog.png:
1022         * doc/images/note.png:
1023         * doc/images/number-editor.png:
1024         * doc/images/range-editor.png:
1025         * doc/images/seekbar.png:
1026         * doc/images/set-password-dialog.png:
1027         * doc/images/sort-dialog.png:
1028         * doc/images/time-editor.png:
1029         * doc/images/time-picker.png:
1030         * doc/images/vvolumebar.png:
1031         * doc/images/weekday-picker.png: Adding the new generated widget shots.
1032         Adding the bread-crumb-trial and helpers to the documentation.
1033
1034 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1035
1036         * examples/hildon-find-toolbar-example.c:
1037         * src/hildon-find-toolbar.c:
1038         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1039         actually continue firing the other handlers if connected. Adding a new
1040         function:
1041         hildon_find_toolbar_get_last_index that gets the index of the most
1042         recently added (last) item. Fixes: NB#52301.
1043
1044 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1045
1046         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1047         behaviour. Fixes: NB#68610. 
1048
1049 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1050
1051         * src/hildon-banner.c: Actually reverting the previous change. It somehow
1052         looks a bit worse.
1053
1054 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1055
1056         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1057         when realizing the banner. Should make the infonbanner effect a bit more
1058         bearable.
1059
1060 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1061
1062         * src/hildon-volumebar.c:
1063         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1064         hildon_volumebar_set_range_insensitive_message and
1065         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1066
1067 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1068
1069         * src/hildon-window.c: Fixing the border freeing on destroy.
1070
1071 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1072
1073         * src/hildon-code-dialog-private.h:
1074         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1075         kw keyboard support in HildonCodeDialog.
1076
1077 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1078
1079         [1.0.14-1 release]
1080
1081         * NEWS:
1082         * configure.ac:
1083         * debian/changelog: Updating.
1084
1085 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1086
1087         * src/hildon-date-editor.c:
1088         * src/hildon-number-editor.c:
1089         * src/hildon-private.c:
1090         * src/hildon-private.h:
1091         * src/hildon-time-editor.c:
1092         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1093         handling in subclassed composite widgets. Fixes: NB#66628.
1094
1095 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1096
1097         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1098         from destroy_ callback as it introduces problems in async dbus signal
1099         handlers. Fixes NB#66673.
1100
1101 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1102
1103         * examples/hildon-hvolumebar-example.c:
1104         * src/hildon-volumebar.c: Improving the focus handling in the
1105         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1106         set_property accessor so that "mute" property can be actually set. I'm
1107         scared that nobody noticed it's totally broken.
1108
1109 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1110
1111         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1112         Fixes NB#66548.
1113
1114 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1115
1116         * src/hildon-calendar.c:
1117         * src/hildon-number-editor.c:
1118         * src/hildon-time-picker.c: Changing the timeout repeat so that it
1119         matches the spec of 6 chars per second. Fixes: NB#60489.
1120
1121 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1122
1123         * src/hildon-helper.c: Really fixing NB#58352. Looks like
1124         gtk_style_lookup_color sometime returns FALSE even though color was
1125         found and values were filled properly. Weird. Removing the warning for the
1126         time being.
1127
1128 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1129
1130         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1131         expand vertically. Adding some extra space to the find toolbar buttons to
1132         make them thumbable. Fixes NB#66060.
1133
1134 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1135
1136         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1137         popup with "Ok" and "Cancel". Fixes NB#59299.
1138
1139 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1140
1141         * src/hildon-calendar.c: Process all window updates before executing next
1142         timeout. Fixes: NB#54146.
1143
1144 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1145
1146         [1.0.13-1 release]
1147
1148         * NEWS:
1149         * configure.ac:
1150         * debian/changelog: Updating.
1151
1152 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
1153
1154         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1155         the client event and ignore it, since we use the delete event to close
1156         after timeouts.
1157
1158 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1159
1160         * src/hildon-helper.c: Remove the bogus warning about color not being
1161         found. Fixes NB#58352.
1162
1163 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1164
1165         * examples/Makefile.am:
1166         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1167         HildonSeekbar widget inside a toolbar.
1168
1169 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
1170
1171         * src/hildon-banner.c (hildon_banner_init): mark the banners as
1172         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1173         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1174         don't want to be closed by non-temporary windows on map.
1175
1176         Also use G_DEFINE_TYPE instead of manually typed code.
1177
1178 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1179
1180         [1.0.12-1 release]
1181
1182         * NEWS:
1183         * configure.ac:
1184         * debian/changelog:
1185         * debian/rules: Updating.
1186
1187 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1188
1189         * examples/Makefile.am:
1190         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1191         bug NB#61128. Strangely it works.
1192
1193 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1194
1195         * src/hildon-date-editor.c: When the date editor entry has been changed
1196         but the numbers of characters < max, turn off the skip validation flag.
1197         Prevents a situation when we enter first a valid year and later re-write
1198         it with an invalid one. Fixes NB#60154.
1199
1200 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1201
1202         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1203         code dialog. Fixes NB#64355.
1204
1205 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1206
1207         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1208         switching the page. Fixes NB#49374.
1209
1210         * examples/Makefile.am:
1211         * examples/hildon-wizard-dialog-example.c: Adding an example for
1212         HildonWizardDialog that shows how to handle manual sensitivity setting on
1213         the wizard dialog.
1214
1215 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1216
1217         * configure.ac:
1218         * src/Makefile.am:
1219         * src/hildon-version.h.in:
1220         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1221
1222 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1223
1224         * src/hildon-volumebar.c: Updating the docs.
1225
1226 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1227
1228         [1.0.11-1 release]
1229
1230         * NEWS:
1231         * configure.ac:
1232         * debian/changelog: Updating.
1233
1234 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1235
1236         * src/hildon-find-toolbar.c:
1237         * src/hildon-find-toolbar.h: Adding a few new functions to control the
1238         selected item: hildon_find_toolbar_set_active,
1239         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active, 
1240         hildon_find_toolbar_get_active_iter . They correspond to respective
1241         GtkComboBox functions. 
1242
1243         * examples/Makefile.am:
1244         * examples/hildon-find-toolbar-example.c: Adding the example to test the
1245         new functionality.
1246
1247 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1248
1249         * examples/Makefile.am:
1250         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1251         theming easily.
1252
1253         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1254         when font size > 32 and we pack a focusable widget inside. Actually using
1255         the default response would work too, but since we don't show default
1256         response state in any way (no theming) it would not be visible to the
1257         user. Fixes NB#63430.
1258
1259 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1260
1261         * src/hildon-date-editor.c: Adding the missing variable setter in the
1262         set_property handler. Fixes NB#54182.
1263
1264 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1265
1266         * src/hildon-window.h: Changing the long key press time from 1500ms to
1267         800ms as requested in NB#63700. I have a bad feeling about this, let's
1268         see... Fixes NB#63700.
1269
1270 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
1271
1272         * src/hildon-time-picker.c (hildon_time_picker_class_init,
1273         hildon_time_picker_map, hildon_time_picker_realize,
1274         hildon_time_picker_style_set): Split the contents of map to more
1275         appropriate functions; set window decorations on realize and update
1276         arrows' size requisitions on style-set. Avoids unnecessary resizing.
1277
1278 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
1279
1280         [1.0.10-2 release]
1281
1282         * NEWS:
1283         * debian/changelog: Updating.
1284
1285 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
1286
1287         * src/Makefile.am: fixed installation of the header files
1288
1289 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1290
1291         [1.0.10-1 release]
1292
1293         * NEWS:
1294         * configure.ac:
1295         * debian/changelog: Updating.
1296
1297 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1298
1299         * configure.ac: Removing some remaining of --enable-xan.
1300
1301 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
1302
1303         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1304         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1305
1306         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1307         2.10.12-osso6 because the move-focus signal needs to be available in
1308         GtkWidget.
1309
1310 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1311
1312         * examples/Makefile.am:
1313         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1314         that makes a HildonVolumebar insensitive before mapping it. Seems to work
1315         fine. Prolly NB#61128 is fixed now.
1316
1317 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1318
1319         * src/hildon-volumebar.c:
1320         * src/hildon-volumebar.h: Adding the
1321         hildon_volumebar_set_range_insensitive_message and
1322         hildon_volumebar_set_range_insensitive_messagef functions to set
1323         insensitive message on the slider of the volumebar. Fixes NB#61129.
1324
1325         * examples/Makefile.am:
1326         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1327         test the new insensitive messsage functionality on HildonVolumebar.
1328
1329 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
1330
1331         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1332         work again.
1333
1334 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
1335
1336         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1337         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1338         button on after clearing the trail.
1339
1340 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1341
1342         * src/hildon-code-dialog.c: Removing the separator from the dialog.
1343
1344 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
1345
1346         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1347         by splitting the installed headers in generated and non-generated groups. Use
1348         only the non-generated headers to create the hildon-enum-types.h file.
1349
1350         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1351
1352 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1353
1354         * src/hildon-window.c: Hide the window before performing the destroy.
1355         Should make the app closing a little tiny bit more snappy. 
1356
1357 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
1358
1359         * src/hildon-seekbar.c: add gtkrange.h header
1360         * src/hildon-caption.c: remove unused variable
1361
1362 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
1363
1364         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1365         Loic Minier.
1366
1367 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1368
1369         [1.0.9-1 release]
1370
1371         * NEWS:
1372         * configure.ac:
1373         * debian/changelog: Updating.
1374
1375 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
1376
1377         * src/hildon-window.c (hildon_window_window_state_event,
1378         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1379         escape timeout on focus-out-event rather than notify::is-topmost; the
1380         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1381
1382 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1383
1384         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1385         correct timestamp and button to gtk_menu_popup. Fixes MB#1466. 
1386
1387 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
1388
1389         * src/hildon-window: actually, you need to use the macro always, there's
1390         no private pointer in the instance structure. We should have cleaned this up
1391         when we had the chance...
1392         
1393 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
1394
1395         * src/hildon-window.c: do not get the private date from HildonWindow before
1396         it passes the g_return_if_fail check. Once it's passed the test, there's no
1397         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1398         if you are only going to access the data once. Whitespace cleanups.
1399
1400 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
1401
1402         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1403         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1404
1405 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1406
1407         [1.0.8-1 release]
1408
1409         * NEWS:
1410         * configure.ac:
1411         * debian/changelog: Updating.
1412
1413 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1414
1415         * src/hildon-window.c: When destroying the window, remove (if exists) the
1416         escape timeout handler. Fixes #NB59276.
1417
1418 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1419
1420         * src/hildon-banner.c: When realizing the widget, set the window
1421         transiency. Setting the transiency in the gobject constructor is not
1422         good, as the widget is not realized at that point. Fixes: #NB56624.
1423
1424 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1425
1426         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1427         Add padding for future expansions.
1428
1429 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1430
1431         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1432         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1433         will fake an activation on the previous to the last item of the trail, so
1434         the effect can be overrided by the developer as usual.
1435         Also change the callback for the back button to do the same thing, so its
1436         effect can be overrided too. Fixes: NB#58982
1437
1438 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1439
1440         * src/hildon-caption.c: Implementing the proper focus grabbing in the
1441         HildonCaption. Fixes NB#52379. 
1442
1443 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1444
1445         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1446         the internal state of the trail after the user has had the chance of executing
1447         his handler for the signal. Specifically, it may happen that the activated button
1448         is removed and the user still lets the default handler run. This would segfault
1449         previously.
1450
1451 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1452
1453         * src/hildon-font-selection-dialog.c: When the font is really big, add the
1454         scrollbar to the preview dialog. Fixes NB#54147.
1455
1456 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1457
1458         * src/hildon-date-editor.c: Changing the default max year to 2037. The
1459         max/min year properties can be altered, so the client can modify it
1460         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
1461
1462 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1463
1464         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
1465         hildonlike by default. Fixing a problem with disappearing arrows when
1466         scrolling through months and years. Fixes NB#54127. 
1467
1468 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1469
1470         * examples/hildon-date-editor-example.c: Adding error callback to the date
1471         editor example. 
1472
1473 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1474
1475         [1.0.7-1 release]
1476
1477         * NEWS:
1478         * debian/changelog:
1479         * configure.ac: Updating.
1480
1481 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1482
1483         * configure.ac: Adding a special '--enable-xan' configure option that
1484         turns off the -Werror compilation setting. Usefull for development.
1485
1486         * src/hildon-calendar.c:
1487         * src/hildon-number-editor.c:
1488         * src/hildon-time-picker.c: Adding the 5* multiplier to
1489         gtk-timeout-update.
1490
1491 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
1492
1493         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
1494         instead of g_object_ref + gtk_object_sink.
1495
1496 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1497
1498         [1.0.6-1 release]
1499
1500         * NEWS:
1501         * configure.ac:
1502         * debian/changelog: Updating.
1503
1504 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1505
1506         * src/hildon-color-chooser-dialog.c:
1507         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
1508         straight from Tommi labs.
1509
1510 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1511
1512         * examples/hildon-finger-example.c: Correcting the header file path.
1513
1514         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for 
1515         the changed signal. Fixes a small memory leak.
1516
1517 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1518
1519         * autogen.sh:
1520         * debian/rules:
1521         * src/hildon-banner.c: Importing several usefull fixes from the
1522         ubuntu-mobile branch.
1523
1524 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1525
1526         * examples/Makefile.am:
1527         * examples/hildon-finger-example.c: Adding a finger-checking code
1528         example. 
1529
1530         * src/hildon-font-selection-dialog.c: Do not allocate the color
1531         structure using the g_new. Fixes NB#54061.
1532
1533 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1534
1535         * src/hildon-helper.c: Correcting tabs in file.
1536
1537 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
1538
1539         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
1540         control the visibility of the children.
1541
1542         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
1543
1544 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1545
1546         [1.0.5-1 release]
1547
1548         * NEWS:
1549         * configure.ac:
1550         * debian/changelog: Updating.
1551
1552 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
1553
1554         * src/hildon-bread-crumb-trail.c:
1555         (hildon_bread_crumb_trail_size_allocate): 
1556
1557         Make the back button always a square.
1558
1559 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
1560
1561         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
1562         from the .c file as it's a private file. 
1563
1564 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1565
1566         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
1567         uses slightly bigger height.
1568
1569         * src/hildon-font-selection-dialog.c: Adding some checks before
1570         freeing memory in the font selection dialog.
1571
1572 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1573
1574         * src/hildon-font-selection-dialog.c: Adding a small check when
1575         freeing memory. 
1576
1577         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
1578         buttons sensitivity on page switching.
1579
1580 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
1581
1582         * src/hildon-bread-crumb-trail.c: make the add method handle all the
1583         internal details of adding a bread crumb to the trail.
1584
1585 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1586
1587         [1.0.4-1 release]
1588
1589         * README:
1590         * configure.ac:
1591         * debian/changelog: Updating.
1592
1593         * src/hildon-bread-crumb-trail.h:
1594         * src/hildon-bread-crumb.h: Changing the API guard to
1595         HILDON_ENABLE_UNSTABLE_API.
1596
1597 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1598
1599         [1.0.3-1 release]
1600
1601         * NEWS:
1602         * configure.ac:
1603         * debian/changelog:
1604         * debian/rules:
1605         * src/hildon-helper.h: Updating.
1606
1607 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1608
1609         [1.0.2-1 release]
1610
1611         * NEWS:
1612         * configure.ac:
1613         * debian/changelog:
1614
1615 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1616
1617         * README:
1618         * configure.ac:
1619         * src/hildon-helper.h: Small fix to make the package actually compile.
1620
1621 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
1622
1623         * src/hildon-bread-crumb-trail.h:
1624         * src/hildon-bread-crumb.h:
1625
1626         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
1627         to define ENABLE_UNSTABLE_API in the code that includes these headers.
1628         
1629 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
1630         
1631         * examples/hildon-bread-crumb-trail-example.c:
1632         * src/Makefile.am:
1633         * src/hildon-bread-crumb-trail.c:
1634         * src/hildon-bread-crumb-trail.h:
1635         * src/hildon-bread-crumb.c:
1636         * src/hildon-bread-crumb.h:
1637         * src/hildon-marshalers.list:
1638         * src/hildon-bread-crumb-widget.c:
1639         * src/hildon-bread-crumb-widget.h:
1640
1641         Slight change in the widget design. The bread crumb trail API is
1642         unchanged, but HildonBreadCrumb is now an interface. A *private*
1643         implementation, hildon-bread-crumb-widget, is provided and used
1644         internally by the trail for the push_text/push_icon functions.
1645
1646         The generic push API is still available, so anyone can implement
1647         and use its own bread crumb widget.
1648         
1649 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1650
1651         * debian/rules: Fixing the shlibs.
1652
1653 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1654
1655         * src/hildon-banner.c: Fixing a problem with timed banners having
1656         their parrent destroyed before they are.
1657
1658 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
1659
1660         * src/hildon-bread-crumb.c:
1661         * src/hildon-bread-crumb.h:
1662
1663         Make the get_natural_size function a vfunc.
1664
1665 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
1666
1667         * src/hildon-bread-crumb.c:
1668         * src/hildon-bread-crumb-trail.c:
1669
1670         Some cleanups.
1671
1672 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1673
1674         [1.0.1-1 release]
1675
1676         * AUTHORS:
1677         * NEWS:
1678         * configure.ac:
1679         * debian/changelog: Updating for release.
1680
1681 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
1682
1683         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
1684         don't leak the pango layout.
1685
1686 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
1687
1688         * src/hildon.h:
1689         * examples/hildon-bread-crumb-trail-example.c:
1690
1691         Fix example.
1692
1693 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1694
1695         * debian/changelog: Removing the bug-fixed entries that were actually
1696         resolved as WONTFIX.
1697
1698         * src/hildon-date-editor.c: Removing a redundant check. Fixes
1699         NB#54182.
1700
1701 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
1702
1703         * src/hildon-bread-crumb-trail.c:
1704         * src/hildon-bread-crumb-trail.h:
1705         * src/hildon-bread-crumb.c:
1706         * src/hildon-bread-crumb.h:
1707
1708         Untabify.
1709         
1710 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
1711
1712         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
1713         until it's passed the type check.
1714
1715 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
1716
1717         * examples/hildon-bread-crumb-trail-example.c
1718
1719         Add license.
1720         
1721 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
1722
1723         * examples/Makefile.am
1724         * examples/hildon-bread-crumb-trail-example.c
1725         * src/Makefile.am
1726         * src/hildon-bread-crumb-trail.c
1727         * src/hildon-bread-crumb-trail.h
1728         * src/hildon-bread-crumb.c
1729         * src/hildon-bread-crumb.h
1730
1731         New HildonBreadCrumbTrail widget.
1732
1733 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
1734
1735         * src/hildon-range-editor.c (hildon_range_editor_init),
1736         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
1737         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
1738         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
1739         hildon_time_editor_class_init, hildon_time_editor_init),
1740         src/hildon-get-password-dialog.c (invalid_input,
1741         hildon_get_password_set_property, hildon_get_password_get_property,
1742         create_contents, hildon_get_password_dialog_set_max_characters),
1743         src/hildon-set-password-dialog.c (create_contents),
1744         src/hildon-date-editor.c (hildon_date_editor_init),
1745         src/hildon-login-dialog.c (hildon_login_dialog_init),
1746         src/hildon-number-editor.c (hildon_number_editor_init),
1747         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
1748         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
1749         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
1750          configure option and adding the respective checks in the code.
1751         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
1752         hildon_calendar_drag_data_received): fixed some build warnings.
1753
1754 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1755
1756         * debian/changelog: A 1.0.0 release notes.
1757