1 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4 * examples/hildon-pannable-area-touch-grid-example.c
5 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6 the Hildon Touch List and Hildon Touch Grid using the
7 HildonPannableArea widget.
9 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
11 * src/hildon-pannable-area.c,
12 (hildon_pannable_area_button_press_cb),
13 (hildon_pannable_area_refresh),
14 (hildon_pannable_area_scroll),
15 (hildon_pannable_area_motion_notify_cb),
16 (hildon_pannable_area_button_release_cb),
17 (hildon_pannable_area_expose_event),
18 (hildon_pannable_area_add),
19 (hildon_pannable_area_remove),
20 (hildon_pannable_area_realize),
21 (hildon_pannable_area_size_allocate),
22 (hildon_pannable_area_class_init),
23 (hildon_pannable_area_init),
24 (hildon_pannable_area_scroll_to_child),
25 (hildon_pannable_area_jump_to_child): Fixed the problem of
26 removing the child from the GtkBin, we have rearranged the widget
27 hierarchy, now there is no GtkAlignment which was not doing
28 anything interesting but breaking some of the assumptions of
29 GtkContainer. Now developers if they want to add a GtkAlignment
30 they could, but it is not inside the area.
32 We had to review the whole allocation/expose process, now it is
33 improved and we save at least three signals which would be saving
34 some time when rendering the widget. The allocation of the
35 scrollbars is now made in the allocate method as usual.
37 We have also added some conditions in order to control when there
38 is no child of the pannable area. Maybe we will need more work
41 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
43 * src/hildon-pannable-area.c,
44 (hildon_pannable_area_dispose): Released the fade-out timeout when
47 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
49 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
50 zero, we are going to use that property in order to deactivate the
52 (hildon_pannable_axis_scroll),
53 (hildon_pannable_area_size_allocate): Added conditions to control
54 when overshoot_max is zero. Moved the gtk_adjustment_set_value
55 call, now it is called in all situations and we can remove calls
56 in the allocate method.
57 (hildon_pannable_area_map): Control the situation when
58 overshoot_max is zero, we do not need the timeout.
59 (hildon_pannable_area_class_init): Added documentation in order to
60 point out that setting zero to overshoot_max means deactivate
63 NOTE: removed trailing whitespaces from my previous comments of
66 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
68 * src/hildon-pannable-area.c
69 (hildon_pannable_area_get_property),
70 (hildon_pannable_area_set_property),
71 (hildon_pannable_area_map),
72 (hildon_pannable_area_class_init),
73 (hildon_pannable_area_init): Add a boolean "initial-hint" property
74 to cause the widget give a hint about its panning abilities upon
77 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
79 * src/hildon-pannable-area.c: Several documentation improvements.
81 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
83 * src/hildon-program.c
84 * src/hildon-stackable-window.c: Update documentation.
86 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
88 * src/hildon-stackable-window.c (get_previous_window_if_last):
89 Renamed get_last_window()
90 (hildon_stackable_window_map, hildon_stackable_window_unmap)
91 (hildon_stackable_window_unset_program):
93 (get_previous_window_if_last):
94 Detect if the window hasn't been added to a HildonProgram.
96 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
98 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
100 * src/hildon-pannable-area.c
101 (hildon_pannable_area_button_press_cb),
102 (hildon_pannable_axis_scroll),
103 (hildon_pannable_area_scroll),
104 (hildon_pannable_area_timeout),
105 (hildon_pannable_calculate_vel_factor),
106 (hildon_pannable_area_get_property),
107 (hildon_pannable_area_set_property),
108 (hildon_pannable_area_class_init),
109 (hildon_pannable_area_init),
110 (hildon_pannable_area_scroll_to),
111 (hildon_pannable_area_jump_to),
112 (hildon_pannable_area_scroll_to_child),
113 (hildon_pannable_area_jump_to_child):
114 * src/hildon-pannable-area.h: Added the new API functions:
115 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
116 hildon_pannable_area_scroll_to_child,
117 hildon_pannable_area_jump_to_child
120 * examples/Makefile.am
121 * examples/hildon-pannable-area-example-2.c
122 * examples/hildon-pannable-area-example-3.c: Added these two new
123 examples in order to test and show how the new APIs work.
125 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
127 * examples/hildon-stackable-window-example.c (new_window):
128 * src/Makefile.am (noinst_HEADERS):
129 * src/hildon-program.c (hildon_program_go_to_root_window):
130 * src/hildon-program.h:
131 * src/hildon-stackable-window-private.h:
132 * src/hildon-stackable-window.c:
133 * src/hildon-stackable-window.h:
134 Create hildon-stackable-window-private.h
135 Move hildon_stackable_window_go_to_root_window() to HildonProgram
137 * examples/hildon-app-menu-example.c (create_menu):
138 * examples/hildon-hvolumebar-insensitive-example.c (main):
139 * examples/hildon-hvolumebar-timer-example.c (on_idle):
140 * examples/hildon-toolbar-seekbar-example.c (main):
141 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
142 * src/hildon-banner.c (hildon_banner_set_property):
143 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
144 Fix compilation warnings
146 * src/hildon-window.c:
149 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
151 * src/hildon-stackable-window.c
152 (hildon_stackable_window_unset_program):
153 Calculate correctly whether to show the previous window if the
154 last one is removed from the stack.
155 (hildon_stackable_window_go_to_root_window):
156 Send delete events starting from the topmost window.
157 Stop if one of the windows is not destroyed.
159 (hildon_stackable_window_delete_event)
160 (hildon_stackable_window_class_init):
161 Ignore the delete event if the window is not the topmost one.
163 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
165 * src/hildon-pannable-area.c
166 (hildon_pannable_area_expose_event): Fixed a problem when
167 selecting the background color of the scrollbars.
169 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
171 * examples/hildon-stackable-window-example.c
172 * src/hildon-stackable-window.c
173 * src/hildon-stackable-window.h
174 hildon_stackable_window_go_home() renamed to
175 hildon_stackable_window_go_to_root_window()
176 Send delete events to windows rather than closing them with
179 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
181 * src/hildon-pannable-area.c
182 (hildon_pannable_area_button_release_cb): Fix overshooting in
185 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
187 * src/hildon-pannable-area.c
188 (hildon_pannable_area_init): Initially show the scroll indicators.
189 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
191 Add initial effect showing the widget is pannable.
193 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
195 * src/hildon-pannable-area.c
196 (hildon_pannable_area_class_init)
197 (hildon_pannable_area_set_property)
198 (hildon_pannable_area_get_property)
199 (hildon_pannable_area_button_press_cb):
200 New 'velocity_fast_factor' property to decide which velocity is
203 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
205 * src/hildon-pannable-area.c
206 (hildon_pannable_draw_hscroll)
207 (hildon_pannable_draw_vscroll):
208 Use float variables to calculate the size of the scrollbars to
209 avoid error propagation and resizing during scrolling.
211 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
213 * src/hildon-pannable-area.c
214 (hildon_pannable_draw_vscroll)
215 (hildon_pannable_draw_hscroll):
216 Define a minimum size for the scroll bars
218 * src/hildon-stackable-window.c
219 (hildon_stackable_window_go_home): Fix compilation warning
220 (get_last_window): Minor optimizations
221 (hildon_stackable_window_class_init): Fix initialization of
224 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
226 * src/hildon-stackable-window.c: Fixed typos in doc
228 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
230 * src/hildon-pannable-area.c
231 (hildon_pannable_area_scroll):
232 Calculate here whether we need to scroll instead of using the booleans
233 that tell us whether to /draw/ the scrolling bars.
235 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
237 * src/hildon-app-menu.h
239 * src/hildon-app-menu.c
240 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
241 multiple filter groups related code and API. Now we support only
243 * examples/hildon-app-menu-example.c:
245 Update to reflect API changes.
247 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
249 * src/hildon-stackable-window.c
250 (hildon_stackable_window_class_init):
251 Add hildon_stackable_window_realize.
252 (hildon_stackable_window_realize):
253 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
254 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
255 to apply theming and behavior specific to HildonStackableWindow
258 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
260 * src/hildon-note.c (hildon_note_button_release):
261 Close information notes also when tapping on them
263 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
265 Added BOUNCE_STEPS define to control the overshoot effect. Removed
266 ELASTICITY, refactor and review, fix some issues with drawing
269 * src/hildon-pannable-area.c:
270 (hildon_pannable_area_button_press_cb): removed the conditions to
271 avoid clicks when overshooting. It is not required
273 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
274 define. Refatored and reviewed the code, now we do not need to
275 manage velocity in motion_notify.
277 (hildon_pannable_area_motion_notify_cb): We have moved the code
278 that controls the area_scroll to the axis_scroll function and get
279 rid of duplicated code.
281 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
283 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
285 (hildon_pannable_draw_vscroll),
286 (hildon_pannable_draw_hscroll): Fixed the problems with the
287 scrollbar drawing, now we do not use two surfaces, it is easier
290 (hildon_pannable_area_get_property): Style modification.
292 (hildon_pannable_area_class_init): Changed some default values.
294 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
296 * src/hildon-stackable-window.c: Fix some typos in the
299 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
301 * src/hildon-dialog.c:
302 Change indentation style
305 (hildon_note_button_release):
306 Use root coordinates to check if the release event happened
309 * src/hildon-app-menu.c
310 (hildon_app_menu_button_release):
311 Remove unnecessary check
313 * examples/hildon-app-menu-example.c
315 Add cast to fix warning
317 * src/hildon-app-menu.c
318 (hildon_app_menu_class_init):
319 New inner-border style property.
320 Set all default spacings to 16
321 (hildon_app_menu_init):
322 Use vertical-spacing to set the space between filter buttons and
323 regular menu buttons.
324 Set the default container border using the inner-border value.
326 * examples/hildon-app-menu-example.c
328 Don't set the menu border explicitly, now we have the inner-border
329 style property for that.
331 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
333 * src/hildon-app-menu.c (hildon_app_menu_init):
334 Make the window modal
336 * src/hildon-note.c (hildon_note_map)
337 * src/hildon-app-menu.c (hildon_app_menu_map):
338 Destroy the grab window if we're unable to grab the pointer
340 * src/hildon-app-menu-private.h
341 * src/hildon-app-menu.c
342 (hildon_app_menu_init, hildon_app_menu_finalize)
343 (hildon_app_menu_map, hildon_app_menu_unmap)
344 (hildon_app_menu_button_release)
345 (grab_transfer_window_get):
346 Bring back the grab window
347 (hildon_app_menu_realize):
348 Decorate the window, set WM hint for Matchbox
350 * src/hildon-note.c (hildon_note_realize):
351 * src/hildon-banner.c (hildon_banner_realize):
352 Add WM hints for Matchbox
354 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
356 * src/hildon-app-menu-private.h
357 * src/hildon-app-menu.c
358 (hildon_app_menu_init, hildon_app_menu_finalize)
359 (hildon_app_menu_map, hildon_app_menu_unmap)
360 (hildon_app_menu_button_release):
361 Remove the grab window, it's not needed anymore
363 * src/hildon-program.c
364 Fixed typo in documentation
366 * src/hildon-app-menu.h
367 * src/hildon-app-menu.c
368 * examples/hildon-app-menu-example.c
369 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
371 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
374 Added new transfer_window and close_if_pressed_outside private
376 (hildon_note_rebuild):
377 Don't add a cancel button to the information note. It will be
378 closed when tapping outside
379 Remove the comment about the OK button in the documentation
380 (hildon_note_realize):
381 Set the notification type hint
382 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
383 Grab/ungrab pointer and keyboard if the note has to be closed when
385 (hildon_note_button_release):
386 Close the note when tapping outside (if applicable)
388 * src/hildon-app-menu.c
389 Grab/ungrab pointer and keyboard on map/unmap
390 (hildon_app_menu_button_release, hildon_app_menu_class_init):
391 Close the menu on button release, not button press
393 * src/hildon-banner.c
394 (hildon_banner_set_property)
395 (hildon_banner_check_position):
396 Make the banner use the full width of the screen
397 (hildon_banner_show_information)
398 (hildon_banner_show_information_with_markup):
399 Don't display an icon by default
401 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
403 Added fading scrollbars and adapted all the overshooting code to
404 horizontal scrolling. We have also fixed bugs with overshooting
405 and current fading implementation.
407 * src/hildon-pannable-area.c
408 (hildon_pannable_area_scroll_indicator_fade): Time out function
409 used to change the transparency of the scrollbars.
411 (hildon_pannable_area_button_press_cb): Added horizontal overshot
412 control and fixed a problem with fading, we now remove the fade
413 timeout before adding a new one.
415 (hildon_pannable_axis_scroll):
416 (hildon_pannable_area_scroll):
417 (hildon_pannable_area_timeout): Added this functions so we can use
418 the scroll code both for vertical and horizontal.
420 (hildon_pannable_area_motion_notify_cb):
421 (hildon_pannable_area_button_release_cb): Added the horizontal
422 scrolling control, fixed a problem with the overshooting timeout.
424 (rgb_from_gdkcolor): Added this function, it is used in the cairo
425 painting of the scrolls.
427 (hildon_pannable_draw_vscroll):
428 (hildon_pannable_draw_hscroll):
429 (hildon_pannable_area_expose_event):
430 Draw both scrollbars and rectangles in the overshooting area.
432 (hildon_pannable_area_get_property):
433 (hildon_pannable_area_set_property):
434 Modified the overshoot property to overshoot_max
436 (hildon_pannable_area_map):
437 Replaced the comments symbols.
439 (hildon_pannable_area_size_allocate):
440 (hildon_pannable_area_class_init):
441 (hildon_pannable_area_init): Added horizontal scroll, fading
442 effect properties, fixed a problem when overshooting in the bottom
445 * examples/hildon-pannable-area-example.c:
446 (get_sawtooth_label): Now we use smaller sawtooths, the effect
447 looks better in the example.
449 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
451 * src/hildon-window.c
452 * src/hildon-window.h
453 (hildon_window_class_init)
454 (hildon_window_unset_program)
455 (hildon_window_unset_program_real):
456 Make unset_program a virtual function
458 * src/hildon-stackable-window.c
459 * src/hildon-stackable-window.h
460 Added hildon_stackable_window_go_home()
462 * examples/Makefile.am
463 * examples/hildon-stackable-window-example.c
464 HildonStackableWindow example
466 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
468 * hildon-pannable-area.c: Added the overshoot property and removed
469 the OVERSHOOT define. Fixed an indent style error.
470 (hildon_pannable_area_motion_notify_cb):
471 (hildon_pannable_area_get_property):
472 (hildon_pannable_area_set_property): Add overshoot property.
474 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
477 (hildon_pannable_area_class_init): Installed the new property.
479 * hildon-pannable-area-example.c: Added a sawtooth function, this
480 way it is easier to check the movement in the pannable.
481 (get_sawtooth_label): Added this function.
482 (main): Now we get the labels from the new get_sawtooth_label
485 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
487 * src/hildon-app-menu.h
488 * src/hildon-app-menu.c
489 Renamed API variables for consistency
491 (hildon_app_menu_popup): Use also the default window size to
492 decide where to place the menu
494 (hildon_app_menu_init, hildon_app_menu_class_init): New
495 external-border style property
497 2008-05-26 Michael Natterer <mitch@imendio.com>
499 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
500 widget_class->tap_and_hold_setup signal slot doesn't exist any
501 longer, stop overriding it.
503 (hildon_time_editor_init): g_signal_connect() to the
504 tap-and-hold-setup signal instead.
506 (hildon_time_editor_entry_keypress): add cast to fix warning.
508 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
510 * doc/hildon-docs.sgml
512 * examples/Makefile.am
513 * examples/hildon-app-menu-example.c
515 * src/hildon-app-menu-private.h
516 * src/hildon-app-menu.c
517 * src/hildon-app-menu.h
519 New HildonAppMenu widget
521 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
523 Rearranged the inheritance of the pannable area, now it inherits
524 from GtkBin. This will allow us to control the event_window and
525 the allocation process of the widget, required for some effects.
527 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
528 GtkBin structures. * src/hildon-pannable-area.c: Added the
529 event_window variable.
530 (hildon_pannable_area_button_press_cb):
531 (hildon_pannable_area_button_release_cb):
532 (hildon_pannable_area_motion_notify_cb):
533 Changed the signature of the method, now we override the event
534 callback instead of connecting to the signal.
536 (hildon_pannable_area_realize):
537 (hildon_pannable_area_unrealize):
538 (hildon_pannable_area_map):
539 (hildon_pannable_area_unmap):
540 (hildon_pannable_area_size_allocate):
541 Added functions to control the widget construction. We add a
542 INPUT_ONLY window and we put it over the widgets inside the
543 container, this event_window handles the events.
545 (hildon_pannable_area_class_init):
546 Replaced the signal connections with overrides of the event
549 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
551 Bouncing effect added when touching the borders, you can change
552 the elasticity of the border changing the ELASTICITY define.
554 * src/hildon-pannable-area.c: Added ELASTICITY define.
555 (hildon_pannable_area_timeout): Added inverse velocity when
556 touching the border of the child widget, that causes a bounce.
558 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
560 Improved performance, we now do not go to the X server in order to
561 get the list of window children. Apparently the effect is the
562 same, we have to be careful and check if this breaks something in
565 * src/hildon-pannable-area.c:
566 (get_ordered_children): Removed this function.
567 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
568 the children windows function with gdk_window_get_children.
570 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
572 * src/hildon-pannable-area.c:
573 (hildon_pannable_area_dispose): Fixed a crash when closing the
574 window and kinetics is activated.
576 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
578 * src/hildon-pannable-area.h
579 * src/hildon-pannable-area.c
580 Changed indentation style to meet the one used in Hildon
582 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
584 Reviewed the interaction of the AUTO mode, now we use the time
585 attribute of the events and calculate the velocity in the motion,
586 doing a gimp like calculation. The velocity is calculated in each
587 motion event using the last velocity and the current one, the
588 SMOOTH_FACTOR controls the percentage of the new velocity we use.
590 * src/hildon-pannable-area.c: Replaced the time based algorithm
592 (hildon_pannable_area_motion_notify_cb): now we do not launch the
593 timeout for the AUTO mode when we are still moving the cursor. We
594 added also the velocity calculation in this function.
595 (hildon_pannable_area_button_release_cb): launch the timeout in
596 case we are in AUTO mode. There are still some constants here that
597 come from the old implementation that should be reviewed and
600 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
602 * doc/hildon-docs.sgml
605 * src/hildon-stackable-window.c
606 * src/hildon-stackable-window.h
608 New HildonStackableWindow widget
610 * examples/hildon-dialog-example.c
611 * examples/hildon-pannable-area-example.c
614 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
616 * src/hildon-dialog.c
617 (hildon_dialog_new_with_buttons): New constructor.
619 * examples/hildon-dialog-example.c
620 (main): Update the example to use the new
621 hildon_dialog_new_with_buttons().
623 * examples/hildon-pannable-area-example.c
624 (main): Update example.
626 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
628 * doc/hildon-docs.sgml
630 Added HildonPannableArea to the documentation.
632 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
634 * doc/visual_index.xml
635 Fix reference to HildonLoginDialog in documentation
637 * doc/hildon-docs.sgml
639 * examples/Makefile.am
640 * examples/hildon-dialog-example.c
642 * src/hildon-dialog.c
643 * src/hildon-dialog.h
645 New HildonDialog widget.
647 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
649 * src/hildon-pannable-area.c
650 Merge latest changes (r4318, r4342) from libmokoui trunk
652 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
654 * examples/Makefile.am
655 * examples/hildon-pannable-area-example.c
657 * src/hildon-pannable-area.c
658 * src/hildon-pannable-area.h
660 New HildonPannableArea widget.
662 2008-04-15 18:05:19 <timj@imendio.com>
664 * src/hildon-banner.c: revert the recent change, that introduced
665 gtk_window_present() calls. this reopens:
666 Bug 78481 - [freetest] information banners are hidden under browser menu
667 But resolves another variant of:
668 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
670 2008-04-15 13:21:13 <timj@imendio.com>
672 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
673 recreated its layout, spotted by Kris. this fixes all remaining
674 artefacts and stability issues with the banner code. in particular:
675 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
677 2008-04-14 16:52:59 <timj@imendio.com>
679 * src/hildon-banner.c: guard force_to_wrap_truncated() against
680 operating on unrealized widgets, fixes:
681 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
683 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
685 2008-04-09 Kristian Rietveld <kris@imendio.com>
687 Fixes: NB#77775: Media Player, Save Now playing list, too long name
688 makes banner disappear.
689 Fixes: NB#79182: info banner flickering with certain message lengts.
691 * src/hildon-banner.c (hildon_banner_constructor),
692 (hildon_banner_init), (hildon_banner_set_text),
693 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
694 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
695 FALSE, reset size requests of label and banner,
696 (force_to_wrap_truncated): when the text is too wide, always enforce
697 the maximum possible width instead of recalculating it from the
698 layout; enforce the maximum banner height of 3 lines,
699 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
700 nicer wrapping and no truncated chars if space gets tight.
702 * src/hildon-banner-private.h: add has_been_wrapped and
703 has_been_truncated fields.
705 2008-04-07 Sven Herzberg <sven@imendio.com>
707 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
708 local values in hildon_date_editor_size_allocate
710 * src/hildon-date-editor.c: moved the real allocation code into the
713 2008-04-07 Sven Herzberg <sven@imendio.com>
715 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
716 local values in hildon_date_editor_size_allocate
718 * src/hildon-date-editor.c: merged the two if() branches together
720 2008-04-07 Sven Herzberg <sven@imendio.com>
722 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
723 local values in hildon_date_editor_size_allocate
725 * src/hildon-date-editor.c: changed the arguments of the if()
728 2008-04-07 Sven Herzberg <sven@imendio.com>
730 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
731 local values in hildon_date_editor_size_allocate
733 * src/hildon-date-editor.c: split the calculation of the allocation
734 from the real allocation
736 2008-03-27 Michael Natterer <mitch@imendio.com>
738 Fixes: NB#81696: The passcode is not overwritten even after
741 * src/hildon-code-dialog.c
742 (hildon_code_dialog_button_clicked)
743 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
744 because that doesn't overwrite selected text. Instead, emit the
745 "commit" signal on the entry's im_context so the entry's normal
746 insert logic is triggered. Set the cursor to the end of the entry
747 after each insert operation so that we *only* insert in the middle
748 of the text if something was selected.
750 2008-03-27 Michael Natterer <mitch@imendio.com>
752 Enable fixing: NB#79916 and NB#79918: The help topic for Color
753 selector cannot be opened
755 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
756 when the popup color selector is created. Please connect to this
757 signal in order to set the dialog's help ID.
759 2008-03-25 Sven Herzberg <sven@imendio.com>
761 Fixes: MB#1212: Hide info banners (infoprints) on click
763 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
764 extracted the close event simulation into an extra function
765 (hildon_banner_button_press_event): simulate a close event and destroy
766 the widget if the event wasn't handled
767 (hildon_banner_class_init): added the button_press_event handler
768 (hildon_banner_init): added button-press events to the widget
770 2008-03-25 Sven Herzberg <sven@imendio.com>
772 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
773 Patch from: Mohammad Anwari <mdamt@maemo.org>
775 * src/hildon-banner.c: let the HildonBanners pop up on the left side
776 instead of the right in RTL mode
777 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
778 breadcrumb button list in RTL mode
779 * src/hildon-caption.c: mirror the appearance of the caption widget in
781 * src/hildon-date-editor.c: mirror appearance of the date editor in
783 * src/hildon-time-editor.c: mirror appearance of the time editor in
785 * src/hildon-window.c: fix the position of the popup in RTL mode
787 2008-03-25 Sven Herzberg <sven@imendio.com>
789 Amendment to the fix of NB#22072. Fix compilation.
791 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
793 2008-03-19 Sven Herzberg <sven@imendio.com>
795 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
798 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
799 timeout id properly when the timeout will disappear this leaves no
800 artifacts around in the destroy(); there will only be the timeout
801 created by hildon_banner_ensure_timeout() and adding a new timeout
802 will also work if the timeout gets removed because the timeout_handler
805 2008-03-19 Michael Natterer <mitch@imendio.com>
807 Fixes: NB#79791: Cannot set focus to Master volume using stylus
809 * src/hildon-volumebar.c
810 * src/hildon-vvolumebar.c
811 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
812 the widget becomes focussable at all.
814 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
815 set the focus to wither the mute button or the volumebar.
817 Remove own "can-focus" property and instead listen to
818 notify::can-focus in order to update the widget's state.
820 Implement GtkWidget::focus() and make sure we can also *leave* the
821 widget, not only enter it, depending on volumebar orientation and
822 requested focus direction.
824 Clean up set_mute() to cooperate nicely with all the above.
826 2008-03-04 Michael Natterer <mitch@imendio.com>
828 Fixes: NB#78481: information banners are hidden under browser menu
830 * src/hildon-banner.c: call gtk_window_present() on the banners so
831 they are risen if they are already visible.
833 2008-03-03 Sven Herzberg <sven@imendio.com>
835 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
837 * examples/hildon-window-menu-example.c: (main): extended the window
838 menu example to serve as a testcase for automatically added
839 accelerator groups, too
840 * src/hildon-window.c: (hildon_window_add_accel_group),
841 (hildon_window_set_menu): added patch by Tommi Komulainen
843 2008-03-03 Sven Herzberg <sven@imendio.com>
845 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
847 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
848 knowledge about the border allocators used within GTK+
850 2008-02-26 Sven Herzberg <sven@imendio.com>
852 Fixes: MB#2981: Build with asserts broken
854 * src/hildon-date-editor.c,
855 * src/hildon-number-editor.c,
856 * src/hildon-time-editor.c,
857 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
858 the proper GType instance check
860 2008-02-25 Sven Herzberg <sven@imendio.com>
862 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
864 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
865 * examples/hildon-window-menu-example.c: (main): explicitly show
867 * src/hildon-window.c:
868 (hildon_window_set_main_menu): moved most of the code from set_menu()
869 to this place; skipped the call to gtk_widget_show_all(); also didn't
870 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
871 (hildon_window_set_menu): removed most of the code, just keep the
872 questionable gtk_widget_show_all()
873 * src/hildon-window.h: added the new function and deprecate the old
876 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
882 * debian/changelog: Updating.
884 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
887 * pkgconfig/Makefile.am:
888 * pkgconfig/hildon.pc.in:
891 Do not use PACKAGE_VERSION_MAJOR as the API revision,
892 use newly created API_MAJOR_VERSION.
894 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
900 * debian/changelog: Updating.
902 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
904 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
906 Add outer_border style property, we use it but don't define it (!).
910 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
912 * examples/hildon-bread-crumb-trail-example.c (main):
916 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
918 Fix logic for the bread crumb trail node removal.
922 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
928 * debian/changelog: Updating.
930 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
932 Patch by Alejandro to get/set passwords dialogs accesibility.
934 * hildon-1/src/hildon-get-password-dialog.c:
935 * hildon-1/src/hildon-set-password-dialog.c:
936 Set atk_set_name to the passwd entries in order to allow
937 accessibility by name on this entries.
939 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
944 * debian/control: Updating gtk dep.
946 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
948 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
949 USE_MAEMO_GTK is enabled.
951 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
953 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
954 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
956 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
962 * debian/changelog: Updating.
964 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
966 * examples/Makefile.am:
967 * examples/hildon-logical-color-example.c:
968 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
969 applied + adding a test case. Fixes: NB#71660.
971 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
973 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
974 to be visible, fixes warning on map for windows without toolbars.
976 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
978 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
979 2.11.0, add a check for that besides the MAEMO_GTK check.
981 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
987 * debian/changelog: Updating.
989 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
991 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
992 visibility. Fixes: NB#70842 and MB#615.
994 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
996 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
997 set the separator as no-show-all so it doesn't unintentionally appear when
998 someone does a show_all.
1000 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1002 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1003 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1004 toplevel item. Fixes: NB#62031
1006 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
1008 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1009 fix the name of the function in the docs.
1011 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1017 * debian/changelog: Updating.
1019 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1021 * examples/hildon-banner-long-example.c: Adding a test-case for long
1024 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1026 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1028 * src/hildon-color-chooser-dialog.c:
1029 * src/hildon-color-chooser.c:
1030 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1031 memory leaks in font selector and color selector. Fixes: NB#70499 and
1034 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
1036 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1038 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1040 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1041 little bit bigger. Fixes: #NB63694.
1043 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1049 * debian/changelog: Updating.
1051 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1054 * doc/hildon-docs.sgml:
1055 * doc/images/bread-crumb-trail.png:
1056 * doc/images/calendar-popup.png:
1057 * doc/images/caption.png:
1058 * doc/images/code-dialog.png:
1059 * doc/images/color-button.png:
1060 * doc/images/color-chooser-dialog.png:
1061 * doc/images/color-chooser.png:
1062 * doc/images/controlbar.png:
1063 * doc/images/date-editor.png:
1064 * doc/images/font-selection-dialog.png:
1065 * doc/images/get-password-dialog.png:
1066 * doc/images/hvolumebar.png:
1067 * doc/images/login-dialog.png:
1068 * doc/images/note.png:
1069 * doc/images/number-editor.png:
1070 * doc/images/range-editor.png:
1071 * doc/images/seekbar.png:
1072 * doc/images/set-password-dialog.png:
1073 * doc/images/sort-dialog.png:
1074 * doc/images/time-editor.png:
1075 * doc/images/time-picker.png:
1076 * doc/images/vvolumebar.png:
1077 * doc/images/weekday-picker.png: Adding the new generated widget shots.
1078 Adding the bread-crumb-trial and helpers to the documentation.
1080 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1082 * examples/hildon-find-toolbar-example.c:
1083 * src/hildon-find-toolbar.c:
1084 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1085 actually continue firing the other handlers if connected. Adding a new
1087 hildon_find_toolbar_get_last_index that gets the index of the most
1088 recently added (last) item. Fixes: NB#52301.
1090 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1092 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1093 behaviour. Fixes: NB#68610.
1095 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1097 * src/hildon-banner.c: Actually reverting the previous change. It somehow
1100 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1102 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1103 when realizing the banner. Should make the infonbanner effect a bit more
1106 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1108 * src/hildon-volumebar.c:
1109 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1110 hildon_volumebar_set_range_insensitive_message and
1111 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1113 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1115 * src/hildon-window.c: Fixing the border freeing on destroy.
1117 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1119 * src/hildon-code-dialog-private.h:
1120 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1121 kw keyboard support in HildonCodeDialog.
1123 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1129 * debian/changelog: Updating.
1131 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1133 * src/hildon-date-editor.c:
1134 * src/hildon-number-editor.c:
1135 * src/hildon-private.c:
1136 * src/hildon-private.h:
1137 * src/hildon-time-editor.c:
1138 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1139 handling in subclassed composite widgets. Fixes: NB#66628.
1141 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1143 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1144 from destroy_ callback as it introduces problems in async dbus signal
1145 handlers. Fixes NB#66673.
1147 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1149 * examples/hildon-hvolumebar-example.c:
1150 * src/hildon-volumebar.c: Improving the focus handling in the
1151 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1152 set_property accessor so that "mute" property can be actually set. I'm
1153 scared that nobody noticed it's totally broken.
1155 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1157 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1160 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1162 * src/hildon-calendar.c:
1163 * src/hildon-number-editor.c:
1164 * src/hildon-time-picker.c: Changing the timeout repeat so that it
1165 matches the spec of 6 chars per second. Fixes: NB#60489.
1167 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1169 * src/hildon-helper.c: Really fixing NB#58352. Looks like
1170 gtk_style_lookup_color sometime returns FALSE even though color was
1171 found and values were filled properly. Weird. Removing the warning for the
1174 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1176 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1177 expand vertically. Adding some extra space to the find toolbar buttons to
1178 make them thumbable. Fixes NB#66060.
1180 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1182 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1183 popup with "Ok" and "Cancel". Fixes NB#59299.
1185 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1187 * src/hildon-calendar.c: Process all window updates before executing next
1188 timeout. Fixes: NB#54146.
1190 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1196 * debian/changelog: Updating.
1198 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1200 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1201 the client event and ignore it, since we use the delete event to close
1204 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1206 * src/hildon-helper.c: Remove the bogus warning about color not being
1207 found. Fixes NB#58352.
1209 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1211 * examples/Makefile.am:
1212 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1213 HildonSeekbar widget inside a toolbar.
1215 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1217 * src/hildon-banner.c (hildon_banner_init): mark the banners as
1218 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1219 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1220 don't want to be closed by non-temporary windows on map.
1222 Also use G_DEFINE_TYPE instead of manually typed code.
1224 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1231 * debian/rules: Updating.
1233 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1235 * examples/Makefile.am:
1236 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1237 bug NB#61128. Strangely it works.
1239 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1241 * src/hildon-date-editor.c: When the date editor entry has been changed
1242 but the numbers of characters < max, turn off the skip validation flag.
1243 Prevents a situation when we enter first a valid year and later re-write
1244 it with an invalid one. Fixes NB#60154.
1246 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1248 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1249 code dialog. Fixes NB#64355.
1251 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1253 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1254 switching the page. Fixes NB#49374.
1256 * examples/Makefile.am:
1257 * examples/hildon-wizard-dialog-example.c: Adding an example for
1258 HildonWizardDialog that shows how to handle manual sensitivity setting on
1261 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1265 * src/hildon-version.h.in:
1266 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1268 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1270 * src/hildon-volumebar.c: Updating the docs.
1272 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1278 * debian/changelog: Updating.
1280 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1282 * src/hildon-find-toolbar.c:
1283 * src/hildon-find-toolbar.h: Adding a few new functions to control the
1284 selected item: hildon_find_toolbar_set_active,
1285 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
1286 hildon_find_toolbar_get_active_iter . They correspond to respective
1287 GtkComboBox functions.
1289 * examples/Makefile.am:
1290 * examples/hildon-find-toolbar-example.c: Adding the example to test the
1293 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1295 * examples/Makefile.am:
1296 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1299 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1300 when font size > 32 and we pack a focusable widget inside. Actually using
1301 the default response would work too, but since we don't show default
1302 response state in any way (no theming) it would not be visible to the
1303 user. Fixes NB#63430.
1305 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1307 * src/hildon-date-editor.c: Adding the missing variable setter in the
1308 set_property handler. Fixes NB#54182.
1310 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1312 * src/hildon-window.h: Changing the long key press time from 1500ms to
1313 800ms as requested in NB#63700. I have a bad feeling about this, let's
1314 see... Fixes NB#63700.
1316 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
1318 * src/hildon-time-picker.c (hildon_time_picker_class_init,
1319 hildon_time_picker_map, hildon_time_picker_realize,
1320 hildon_time_picker_style_set): Split the contents of map to more
1321 appropriate functions; set window decorations on realize and update
1322 arrows' size requisitions on style-set. Avoids unnecessary resizing.
1324 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
1329 * debian/changelog: Updating.
1331 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
1333 * src/Makefile.am: fixed installation of the header files
1335 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1341 * debian/changelog: Updating.
1343 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1345 * configure.ac: Removing some remaining of --enable-xan.
1347 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
1349 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1350 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1352 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1353 2.10.12-osso6 because the move-focus signal needs to be available in
1356 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1358 * examples/Makefile.am:
1359 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1360 that makes a HildonVolumebar insensitive before mapping it. Seems to work
1361 fine. Prolly NB#61128 is fixed now.
1363 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1365 * src/hildon-volumebar.c:
1366 * src/hildon-volumebar.h: Adding the
1367 hildon_volumebar_set_range_insensitive_message and
1368 hildon_volumebar_set_range_insensitive_messagef functions to set
1369 insensitive message on the slider of the volumebar. Fixes NB#61129.
1371 * examples/Makefile.am:
1372 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1373 test the new insensitive messsage functionality on HildonVolumebar.
1375 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
1377 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1380 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
1382 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1383 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1384 button on after clearing the trail.
1386 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1388 * src/hildon-code-dialog.c: Removing the separator from the dialog.
1390 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1392 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1393 by splitting the installed headers in generated and non-generated groups. Use
1394 only the non-generated headers to create the hildon-enum-types.h file.
1396 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1398 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1400 * src/hildon-window.c: Hide the window before performing the destroy.
1401 Should make the app closing a little tiny bit more snappy.
1403 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1405 * src/hildon-seekbar.c: add gtkrange.h header
1406 * src/hildon-caption.c: remove unused variable
1408 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
1410 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1413 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1419 * debian/changelog: Updating.
1421 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
1423 * src/hildon-window.c (hildon_window_window_state_event,
1424 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1425 escape timeout on focus-out-event rather than notify::is-topmost; the
1426 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1428 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1430 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1431 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
1433 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1435 * src/hildon-window: actually, you need to use the macro always, there's
1436 no private pointer in the instance structure. We should have cleaned this up
1437 when we had the chance...
1439 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1441 * src/hildon-window.c: do not get the private date from HildonWindow before
1442 it passes the g_return_if_fail check. Once it's passed the test, there's no
1443 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1444 if you are only going to access the data once. Whitespace cleanups.
1446 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
1448 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1449 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1451 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1457 * debian/changelog: Updating.
1459 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1461 * src/hildon-window.c: When destroying the window, remove (if exists) the
1462 escape timeout handler. Fixes #NB59276.
1464 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1466 * src/hildon-banner.c: When realizing the widget, set the window
1467 transiency. Setting the transiency in the gobject constructor is not
1468 good, as the widget is not realized at that point. Fixes: #NB56624.
1470 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1472 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1473 Add padding for future expansions.
1475 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1477 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1478 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1479 will fake an activation on the previous to the last item of the trail, so
1480 the effect can be overrided by the developer as usual.
1481 Also change the callback for the back button to do the same thing, so its
1482 effect can be overrided too. Fixes: NB#58982
1484 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1486 * src/hildon-caption.c: Implementing the proper focus grabbing in the
1487 HildonCaption. Fixes NB#52379.
1489 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1491 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1492 the internal state of the trail after the user has had the chance of executing
1493 his handler for the signal. Specifically, it may happen that the activated button
1494 is removed and the user still lets the default handler run. This would segfault
1497 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1499 * src/hildon-font-selection-dialog.c: When the font is really big, add the
1500 scrollbar to the preview dialog. Fixes NB#54147.
1502 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1504 * src/hildon-date-editor.c: Changing the default max year to 2037. The
1505 max/min year properties can be altered, so the client can modify it
1506 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
1508 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1510 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
1511 hildonlike by default. Fixing a problem with disappearing arrows when
1512 scrolling through months and years. Fixes NB#54127.
1514 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1516 * examples/hildon-date-editor-example.c: Adding error callback to the date
1519 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1525 * configure.ac: Updating.
1527 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1529 * configure.ac: Adding a special '--enable-xan' configure option that
1530 turns off the -Werror compilation setting. Usefull for development.
1532 * src/hildon-calendar.c:
1533 * src/hildon-number-editor.c:
1534 * src/hildon-time-picker.c: Adding the 5* multiplier to
1537 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
1539 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
1540 instead of g_object_ref + gtk_object_sink.
1542 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1548 * debian/changelog: Updating.
1550 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1552 * src/hildon-color-chooser-dialog.c:
1553 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
1554 straight from Tommi labs.
1556 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1558 * examples/hildon-finger-example.c: Correcting the header file path.
1560 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
1561 the changed signal. Fixes a small memory leak.
1563 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1567 * src/hildon-banner.c: Importing several usefull fixes from the
1568 ubuntu-mobile branch.
1570 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1572 * examples/Makefile.am:
1573 * examples/hildon-finger-example.c: Adding a finger-checking code
1576 * src/hildon-font-selection-dialog.c: Do not allocate the color
1577 structure using the g_new. Fixes NB#54061.
1579 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1581 * src/hildon-helper.c: Correcting tabs in file.
1583 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
1585 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
1586 control the visibility of the children.
1588 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
1590 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1596 * debian/changelog: Updating.
1598 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1600 * src/hildon-bread-crumb-trail.c:
1601 (hildon_bread_crumb_trail_size_allocate):
1603 Make the back button always a square.
1605 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1607 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
1608 from the .c file as it's a private file.
1610 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1612 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
1613 uses slightly bigger height.
1615 * src/hildon-font-selection-dialog.c: Adding some checks before
1616 freeing memory in the font selection dialog.
1618 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1620 * src/hildon-font-selection-dialog.c: Adding a small check when
1623 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
1624 buttons sensitivity on page switching.
1626 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
1628 * src/hildon-bread-crumb-trail.c: make the add method handle all the
1629 internal details of adding a bread crumb to the trail.
1631 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1637 * debian/changelog: Updating.
1639 * src/hildon-bread-crumb-trail.h:
1640 * src/hildon-bread-crumb.h: Changing the API guard to
1641 HILDON_ENABLE_UNSTABLE_API.
1643 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1651 * src/hildon-helper.h: Updating.
1653 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1661 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1665 * src/hildon-helper.h: Small fix to make the package actually compile.
1667 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1669 * src/hildon-bread-crumb-trail.h:
1670 * src/hildon-bread-crumb.h:
1672 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
1673 to define ENABLE_UNSTABLE_API in the code that includes these headers.
1675 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1677 * examples/hildon-bread-crumb-trail-example.c:
1679 * src/hildon-bread-crumb-trail.c:
1680 * src/hildon-bread-crumb-trail.h:
1681 * src/hildon-bread-crumb.c:
1682 * src/hildon-bread-crumb.h:
1683 * src/hildon-marshalers.list:
1684 * src/hildon-bread-crumb-widget.c:
1685 * src/hildon-bread-crumb-widget.h:
1687 Slight change in the widget design. The bread crumb trail API is
1688 unchanged, but HildonBreadCrumb is now an interface. A *private*
1689 implementation, hildon-bread-crumb-widget, is provided and used
1690 internally by the trail for the push_text/push_icon functions.
1692 The generic push API is still available, so anyone can implement
1693 and use its own bread crumb widget.
1695 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1697 * debian/rules: Fixing the shlibs.
1699 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1701 * src/hildon-banner.c: Fixing a problem with timed banners having
1702 their parrent destroyed before they are.
1704 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
1706 * src/hildon-bread-crumb.c:
1707 * src/hildon-bread-crumb.h:
1709 Make the get_natural_size function a vfunc.
1711 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1713 * src/hildon-bread-crumb.c:
1714 * src/hildon-bread-crumb-trail.c:
1718 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1725 * debian/changelog: Updating for release.
1727 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1729 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
1730 don't leak the pango layout.
1732 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1735 * examples/hildon-bread-crumb-trail-example.c:
1739 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1741 * debian/changelog: Removing the bug-fixed entries that were actually
1742 resolved as WONTFIX.
1744 * src/hildon-date-editor.c: Removing a redundant check. Fixes
1747 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1749 * src/hildon-bread-crumb-trail.c:
1750 * src/hildon-bread-crumb-trail.h:
1751 * src/hildon-bread-crumb.c:
1752 * src/hildon-bread-crumb.h:
1756 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1758 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
1759 until it's passed the type check.
1761 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1763 * examples/hildon-bread-crumb-trail-example.c
1767 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1769 * examples/Makefile.am
1770 * examples/hildon-bread-crumb-trail-example.c
1772 * src/hildon-bread-crumb-trail.c
1773 * src/hildon-bread-crumb-trail.h
1774 * src/hildon-bread-crumb.c
1775 * src/hildon-bread-crumb.h
1777 New HildonBreadCrumbTrail widget.
1779 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
1781 * src/hildon-range-editor.c (hildon_range_editor_init),
1782 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
1783 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
1784 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
1785 hildon_time_editor_class_init, hildon_time_editor_init),
1786 src/hildon-get-password-dialog.c (invalid_input,
1787 hildon_get_password_set_property, hildon_get_password_get_property,
1788 create_contents, hildon_get_password_dialog_set_max_characters),
1789 src/hildon-set-password-dialog.c (create_contents),
1790 src/hildon-date-editor.c (hildon_date_editor_init),
1791 src/hildon-login-dialog.c (hildon_login_dialog_init),
1792 src/hildon-number-editor.c (hildon_number_editor_init),
1793 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
1794 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
1795 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
1796 configure option and adding the respective checks in the code.
1797 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
1798 hildon_calendar_drag_data_received): fixed some build warnings.
1800 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1802 * debian/changelog: A 1.0.0 release notes.