1 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable-area.c,
4 (hildon_pannable_area_get_topmost): replaced
5 gdk_window_get_children with gdk_window_peek_children, this way we
6 do not have to free the list because it is not a copy.
8 (hildon_pannable_axis_scroll),
9 (hildon_pannable_area_scroll),
10 (hildon_pannable_area_timeout),
11 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
12 two parameters that were only used inside the
13 hildon_pannable_area_scroll function.
15 * examples/hildon-pannable-area-example.c,
16 (get_sawtooth_label): Fixed small memory leak.
18 2008-07-03 Alejandro G. Castro <alex@igalia.com>
20 More checks for the case where the overshoot is bigger than the
23 * src/hildon-pannable-area.c:
24 (hildon_pannable_draw_vscroll),
25 (hildon_pannable_draw_hscroll): with this new calculation we avoid
26 to draw the slider of the scrollbar under the other scrollbar.
27 (hildon_pannable_area_expose_event): added new checks to control
28 the drawing of the overshooting area rectangle, in case it is too
29 big for the area of the widget.
30 (hildon_pannable_area_size_allocate): add more checks to avoid
31 setting a position to the child widget outside the area.
33 2008-07-03 Alejandro G. Castro <alex@igalia.com>
35 * src/hildon-pannable-area.c
36 (hildon_pannable_area_size_allocate): Added conditions to control
37 when overshooting is bigger than the allocated space for the
38 children, this avoids negative allocations.
40 2008-07-02 Alberto Garcia <agarcia@igalia.com>
42 * doc/hildon-docs.sgml
44 * examples/Makefile.am
45 * examples/hildon-button-example.c
49 * src/hildon.h: Initial version of the new HildonButton widget,
52 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
54 * src/hildon-pannable-area.c:
55 (hildon_pannable_area_button_press_cb),
56 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
57 (hildon_pannable_area_motion_notify_cb),
58 (hildon_pannable_area_button_release_cb),
59 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
60 (hildon_pannable_area_jump_to_child):
62 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
64 2008-07-01 Alberto Garcia <agarcia@igalia.com>
66 * examples/Makefile.am
67 * examples/hildon-pannable-area-touch-grid-example.c
68 * examples/hildon-pannable-area-touch-list-example.c: Examples of
69 the Hildon Touch List and Hildon Touch Grid using the
70 HildonPannableArea widget.
72 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
74 * src/hildon-pannable-area.c,
75 (hildon_pannable_area_button_press_cb),
76 (hildon_pannable_area_refresh),
77 (hildon_pannable_area_scroll),
78 (hildon_pannable_area_motion_notify_cb),
79 (hildon_pannable_area_button_release_cb),
80 (hildon_pannable_area_expose_event),
81 (hildon_pannable_area_add),
82 (hildon_pannable_area_remove),
83 (hildon_pannable_area_realize),
84 (hildon_pannable_area_size_allocate),
85 (hildon_pannable_area_class_init),
86 (hildon_pannable_area_init),
87 (hildon_pannable_area_scroll_to_child),
88 (hildon_pannable_area_jump_to_child): Fixed the problem of
89 removing the child from the GtkBin, we have rearranged the widget
90 hierarchy, now there is no GtkAlignment which was not doing
91 anything interesting but breaking some of the assumptions of
92 GtkContainer. Now developers if they want to add a GtkAlignment
93 they could, but it is not inside the area.
95 We had to review the whole allocation/expose process, now it is
96 improved and we save at least three signals which would be saving
97 some time when rendering the widget. The allocation of the
98 scrollbars is now made in the allocate method as usual.
100 We have also added some conditions in order to control when there
101 is no child of the pannable area. Maybe we will need more work
104 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
106 * src/hildon-pannable-area.c,
107 (hildon_pannable_area_dispose): Released the fade-out timeout when
108 disposing the widget.
110 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
112 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
113 zero, we are going to use that property in order to deactivate the
115 (hildon_pannable_axis_scroll),
116 (hildon_pannable_area_size_allocate): Added conditions to control
117 when overshoot_max is zero. Moved the gtk_adjustment_set_value
118 call, now it is called in all situations and we can remove calls
119 in the allocate method.
120 (hildon_pannable_area_map): Control the situation when
121 overshoot_max is zero, we do not need the timeout.
122 (hildon_pannable_area_class_init): Added documentation in order to
123 point out that setting zero to overshoot_max means deactivate
126 NOTE: removed trailing whitespaces from my previous comments of
129 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
131 * src/hildon-pannable-area.c
132 (hildon_pannable_area_get_property),
133 (hildon_pannable_area_set_property),
134 (hildon_pannable_area_map),
135 (hildon_pannable_area_class_init),
136 (hildon_pannable_area_init): Add a boolean "initial-hint" property
137 to cause the widget give a hint about its panning abilities upon
140 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
142 * src/hildon-pannable-area.c: Several documentation improvements.
144 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
146 * src/hildon-program.c
147 * src/hildon-stackable-window.c: Update documentation.
149 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
151 * src/hildon-stackable-window.c (get_previous_window_if_last):
152 Renamed get_last_window()
153 (hildon_stackable_window_map, hildon_stackable_window_unmap)
154 (hildon_stackable_window_unset_program):
156 (get_previous_window_if_last):
157 Detect if the window hasn't been added to a HildonProgram.
159 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
161 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
163 * src/hildon-pannable-area.c
164 (hildon_pannable_area_button_press_cb),
165 (hildon_pannable_axis_scroll),
166 (hildon_pannable_area_scroll),
167 (hildon_pannable_area_timeout),
168 (hildon_pannable_calculate_vel_factor),
169 (hildon_pannable_area_get_property),
170 (hildon_pannable_area_set_property),
171 (hildon_pannable_area_class_init),
172 (hildon_pannable_area_init),
173 (hildon_pannable_area_scroll_to),
174 (hildon_pannable_area_jump_to),
175 (hildon_pannable_area_scroll_to_child),
176 (hildon_pannable_area_jump_to_child):
177 * src/hildon-pannable-area.h: Added the new API functions:
178 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
179 hildon_pannable_area_scroll_to_child,
180 hildon_pannable_area_jump_to_child
183 * examples/Makefile.am
184 * examples/hildon-pannable-area-example-2.c
185 * examples/hildon-pannable-area-example-3.c: Added these two new
186 examples in order to test and show how the new APIs work.
188 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
190 * examples/hildon-stackable-window-example.c (new_window):
191 * src/Makefile.am (noinst_HEADERS):
192 * src/hildon-program.c (hildon_program_go_to_root_window):
193 * src/hildon-program.h:
194 * src/hildon-stackable-window-private.h:
195 * src/hildon-stackable-window.c:
196 * src/hildon-stackable-window.h:
197 Create hildon-stackable-window-private.h
198 Move hildon_stackable_window_go_to_root_window() to HildonProgram
200 * examples/hildon-app-menu-example.c (create_menu):
201 * examples/hildon-hvolumebar-insensitive-example.c (main):
202 * examples/hildon-hvolumebar-timer-example.c (on_idle):
203 * examples/hildon-toolbar-seekbar-example.c (main):
204 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
205 * src/hildon-banner.c (hildon_banner_set_property):
206 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
207 Fix compilation warnings
209 * src/hildon-window.c:
212 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
214 * src/hildon-stackable-window.c
215 (hildon_stackable_window_unset_program):
216 Calculate correctly whether to show the previous window if the
217 last one is removed from the stack.
218 (hildon_stackable_window_go_to_root_window):
219 Send delete events starting from the topmost window.
220 Stop if one of the windows is not destroyed.
222 (hildon_stackable_window_delete_event)
223 (hildon_stackable_window_class_init):
224 Ignore the delete event if the window is not the topmost one.
226 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
228 * src/hildon-pannable-area.c
229 (hildon_pannable_area_expose_event): Fixed a problem when
230 selecting the background color of the scrollbars.
232 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
234 * examples/hildon-stackable-window-example.c
235 * src/hildon-stackable-window.c
236 * src/hildon-stackable-window.h
237 hildon_stackable_window_go_home() renamed to
238 hildon_stackable_window_go_to_root_window()
239 Send delete events to windows rather than closing them with
242 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
244 * src/hildon-pannable-area.c
245 (hildon_pannable_area_button_release_cb): Fix overshooting in
248 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
250 * src/hildon-pannable-area.c
251 (hildon_pannable_area_init): Initially show the scroll indicators.
252 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
254 Add initial effect showing the widget is pannable.
256 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
258 * src/hildon-pannable-area.c
259 (hildon_pannable_area_class_init)
260 (hildon_pannable_area_set_property)
261 (hildon_pannable_area_get_property)
262 (hildon_pannable_area_button_press_cb):
263 New 'velocity_fast_factor' property to decide which velocity is
266 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
268 * src/hildon-pannable-area.c
269 (hildon_pannable_draw_hscroll)
270 (hildon_pannable_draw_vscroll):
271 Use float variables to calculate the size of the scrollbars to
272 avoid error propagation and resizing during scrolling.
274 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
276 * src/hildon-pannable-area.c
277 (hildon_pannable_draw_vscroll)
278 (hildon_pannable_draw_hscroll):
279 Define a minimum size for the scroll bars
281 * src/hildon-stackable-window.c
282 (hildon_stackable_window_go_home): Fix compilation warning
283 (get_last_window): Minor optimizations
284 (hildon_stackable_window_class_init): Fix initialization of
287 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
289 * src/hildon-stackable-window.c: Fixed typos in doc
291 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
293 * src/hildon-pannable-area.c
294 (hildon_pannable_area_scroll):
295 Calculate here whether we need to scroll instead of using the booleans
296 that tell us whether to /draw/ the scrolling bars.
298 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
300 * src/hildon-app-menu.h
302 * src/hildon-app-menu.c
303 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
304 multiple filter groups related code and API. Now we support only
306 * examples/hildon-app-menu-example.c:
308 Update to reflect API changes.
310 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
312 * src/hildon-stackable-window.c
313 (hildon_stackable_window_class_init):
314 Add hildon_stackable_window_realize.
315 (hildon_stackable_window_realize):
316 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
317 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
318 to apply theming and behavior specific to HildonStackableWindow
321 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
323 * src/hildon-note.c (hildon_note_button_release):
324 Close information notes also when tapping on them
326 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
328 Added BOUNCE_STEPS define to control the overshoot effect. Removed
329 ELASTICITY, refactor and review, fix some issues with drawing
332 * src/hildon-pannable-area.c:
333 (hildon_pannable_area_button_press_cb): removed the conditions to
334 avoid clicks when overshooting. It is not required
336 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
337 define. Refatored and reviewed the code, now we do not need to
338 manage velocity in motion_notify.
340 (hildon_pannable_area_motion_notify_cb): We have moved the code
341 that controls the area_scroll to the axis_scroll function and get
342 rid of duplicated code.
344 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
346 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
348 (hildon_pannable_draw_vscroll),
349 (hildon_pannable_draw_hscroll): Fixed the problems with the
350 scrollbar drawing, now we do not use two surfaces, it is easier
353 (hildon_pannable_area_get_property): Style modification.
355 (hildon_pannable_area_class_init): Changed some default values.
357 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
359 * src/hildon-stackable-window.c: Fix some typos in the
362 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
364 * src/hildon-dialog.c:
365 Change indentation style
368 (hildon_note_button_release):
369 Use root coordinates to check if the release event happened
372 * src/hildon-app-menu.c
373 (hildon_app_menu_button_release):
374 Remove unnecessary check
376 * examples/hildon-app-menu-example.c
378 Add cast to fix warning
380 * src/hildon-app-menu.c
381 (hildon_app_menu_class_init):
382 New inner-border style property.
383 Set all default spacings to 16
384 (hildon_app_menu_init):
385 Use vertical-spacing to set the space between filter buttons and
386 regular menu buttons.
387 Set the default container border using the inner-border value.
389 * examples/hildon-app-menu-example.c
391 Don't set the menu border explicitly, now we have the inner-border
392 style property for that.
394 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
396 * src/hildon-app-menu.c (hildon_app_menu_init):
397 Make the window modal
399 * src/hildon-note.c (hildon_note_map)
400 * src/hildon-app-menu.c (hildon_app_menu_map):
401 Destroy the grab window if we're unable to grab the pointer
403 * src/hildon-app-menu-private.h
404 * src/hildon-app-menu.c
405 (hildon_app_menu_init, hildon_app_menu_finalize)
406 (hildon_app_menu_map, hildon_app_menu_unmap)
407 (hildon_app_menu_button_release)
408 (grab_transfer_window_get):
409 Bring back the grab window
410 (hildon_app_menu_realize):
411 Decorate the window, set WM hint for Matchbox
413 * src/hildon-note.c (hildon_note_realize):
414 * src/hildon-banner.c (hildon_banner_realize):
415 Add WM hints for Matchbox
417 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
419 * src/hildon-app-menu-private.h
420 * src/hildon-app-menu.c
421 (hildon_app_menu_init, hildon_app_menu_finalize)
422 (hildon_app_menu_map, hildon_app_menu_unmap)
423 (hildon_app_menu_button_release):
424 Remove the grab window, it's not needed anymore
426 * src/hildon-program.c
427 Fixed typo in documentation
429 * src/hildon-app-menu.h
430 * src/hildon-app-menu.c
431 * examples/hildon-app-menu-example.c
432 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
434 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
437 Added new transfer_window and close_if_pressed_outside private
439 (hildon_note_rebuild):
440 Don't add a cancel button to the information note. It will be
441 closed when tapping outside
442 Remove the comment about the OK button in the documentation
443 (hildon_note_realize):
444 Set the notification type hint
445 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
446 Grab/ungrab pointer and keyboard if the note has to be closed when
448 (hildon_note_button_release):
449 Close the note when tapping outside (if applicable)
451 * src/hildon-app-menu.c
452 Grab/ungrab pointer and keyboard on map/unmap
453 (hildon_app_menu_button_release, hildon_app_menu_class_init):
454 Close the menu on button release, not button press
456 * src/hildon-banner.c
457 (hildon_banner_set_property)
458 (hildon_banner_check_position):
459 Make the banner use the full width of the screen
460 (hildon_banner_show_information)
461 (hildon_banner_show_information_with_markup):
462 Don't display an icon by default
464 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
466 Added fading scrollbars and adapted all the overshooting code to
467 horizontal scrolling. We have also fixed bugs with overshooting
468 and current fading implementation.
470 * src/hildon-pannable-area.c
471 (hildon_pannable_area_scroll_indicator_fade): Time out function
472 used to change the transparency of the scrollbars.
474 (hildon_pannable_area_button_press_cb): Added horizontal overshot
475 control and fixed a problem with fading, we now remove the fade
476 timeout before adding a new one.
478 (hildon_pannable_axis_scroll):
479 (hildon_pannable_area_scroll):
480 (hildon_pannable_area_timeout): Added this functions so we can use
481 the scroll code both for vertical and horizontal.
483 (hildon_pannable_area_motion_notify_cb):
484 (hildon_pannable_area_button_release_cb): Added the horizontal
485 scrolling control, fixed a problem with the overshooting timeout.
487 (rgb_from_gdkcolor): Added this function, it is used in the cairo
488 painting of the scrolls.
490 (hildon_pannable_draw_vscroll):
491 (hildon_pannable_draw_hscroll):
492 (hildon_pannable_area_expose_event):
493 Draw both scrollbars and rectangles in the overshooting area.
495 (hildon_pannable_area_get_property):
496 (hildon_pannable_area_set_property):
497 Modified the overshoot property to overshoot_max
499 (hildon_pannable_area_map):
500 Replaced the comments symbols.
502 (hildon_pannable_area_size_allocate):
503 (hildon_pannable_area_class_init):
504 (hildon_pannable_area_init): Added horizontal scroll, fading
505 effect properties, fixed a problem when overshooting in the bottom
508 * examples/hildon-pannable-area-example.c:
509 (get_sawtooth_label): Now we use smaller sawtooths, the effect
510 looks better in the example.
512 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
514 * src/hildon-window.c
515 * src/hildon-window.h
516 (hildon_window_class_init)
517 (hildon_window_unset_program)
518 (hildon_window_unset_program_real):
519 Make unset_program a virtual function
521 * src/hildon-stackable-window.c
522 * src/hildon-stackable-window.h
523 Added hildon_stackable_window_go_home()
525 * examples/Makefile.am
526 * examples/hildon-stackable-window-example.c
527 HildonStackableWindow example
529 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
531 * hildon-pannable-area.c: Added the overshoot property and removed
532 the OVERSHOOT define. Fixed an indent style error.
533 (hildon_pannable_area_motion_notify_cb):
534 (hildon_pannable_area_get_property):
535 (hildon_pannable_area_set_property): Add overshoot property.
537 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
540 (hildon_pannable_area_class_init): Installed the new property.
542 * hildon-pannable-area-example.c: Added a sawtooth function, this
543 way it is easier to check the movement in the pannable.
544 (get_sawtooth_label): Added this function.
545 (main): Now we get the labels from the new get_sawtooth_label
548 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
550 * src/hildon-app-menu.h
551 * src/hildon-app-menu.c
552 Renamed API variables for consistency
554 (hildon_app_menu_popup): Use also the default window size to
555 decide where to place the menu
557 (hildon_app_menu_init, hildon_app_menu_class_init): New
558 external-border style property
560 2008-05-26 Michael Natterer <mitch@imendio.com>
562 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
563 widget_class->tap_and_hold_setup signal slot doesn't exist any
564 longer, stop overriding it.
566 (hildon_time_editor_init): g_signal_connect() to the
567 tap-and-hold-setup signal instead.
569 (hildon_time_editor_entry_keypress): add cast to fix warning.
571 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
573 * doc/hildon-docs.sgml
575 * examples/Makefile.am
576 * examples/hildon-app-menu-example.c
578 * src/hildon-app-menu-private.h
579 * src/hildon-app-menu.c
580 * src/hildon-app-menu.h
582 New HildonAppMenu widget
584 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
586 Rearranged the inheritance of the pannable area, now it inherits
587 from GtkBin. This will allow us to control the event_window and
588 the allocation process of the widget, required for some effects.
590 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
591 GtkBin structures. * src/hildon-pannable-area.c: Added the
592 event_window variable.
593 (hildon_pannable_area_button_press_cb):
594 (hildon_pannable_area_button_release_cb):
595 (hildon_pannable_area_motion_notify_cb):
596 Changed the signature of the method, now we override the event
597 callback instead of connecting to the signal.
599 (hildon_pannable_area_realize):
600 (hildon_pannable_area_unrealize):
601 (hildon_pannable_area_map):
602 (hildon_pannable_area_unmap):
603 (hildon_pannable_area_size_allocate):
604 Added functions to control the widget construction. We add a
605 INPUT_ONLY window and we put it over the widgets inside the
606 container, this event_window handles the events.
608 (hildon_pannable_area_class_init):
609 Replaced the signal connections with overrides of the event
612 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
614 Bouncing effect added when touching the borders, you can change
615 the elasticity of the border changing the ELASTICITY define.
617 * src/hildon-pannable-area.c: Added ELASTICITY define.
618 (hildon_pannable_area_timeout): Added inverse velocity when
619 touching the border of the child widget, that causes a bounce.
621 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
623 Improved performance, we now do not go to the X server in order to
624 get the list of window children. Apparently the effect is the
625 same, we have to be careful and check if this breaks something in
628 * src/hildon-pannable-area.c:
629 (get_ordered_children): Removed this function.
630 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
631 the children windows function with gdk_window_get_children.
633 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
635 * src/hildon-pannable-area.c:
636 (hildon_pannable_area_dispose): Fixed a crash when closing the
637 window and kinetics is activated.
639 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
641 * src/hildon-pannable-area.h
642 * src/hildon-pannable-area.c
643 Changed indentation style to meet the one used in Hildon
645 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
647 Reviewed the interaction of the AUTO mode, now we use the time
648 attribute of the events and calculate the velocity in the motion,
649 doing a gimp like calculation. The velocity is calculated in each
650 motion event using the last velocity and the current one, the
651 SMOOTH_FACTOR controls the percentage of the new velocity we use.
653 * src/hildon-pannable-area.c: Replaced the time based algorithm
655 (hildon_pannable_area_motion_notify_cb): now we do not launch the
656 timeout for the AUTO mode when we are still moving the cursor. We
657 added also the velocity calculation in this function.
658 (hildon_pannable_area_button_release_cb): launch the timeout in
659 case we are in AUTO mode. There are still some constants here that
660 come from the old implementation that should be reviewed and
663 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
665 * doc/hildon-docs.sgml
668 * src/hildon-stackable-window.c
669 * src/hildon-stackable-window.h
671 New HildonStackableWindow widget
673 * examples/hildon-dialog-example.c
674 * examples/hildon-pannable-area-example.c
677 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
679 * src/hildon-dialog.c
680 (hildon_dialog_new_with_buttons): New constructor.
682 * examples/hildon-dialog-example.c
683 (main): Update the example to use the new
684 hildon_dialog_new_with_buttons().
686 * examples/hildon-pannable-area-example.c
687 (main): Update example.
689 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
691 * doc/hildon-docs.sgml
693 Added HildonPannableArea to the documentation.
695 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
697 * doc/visual_index.xml
698 Fix reference to HildonLoginDialog in documentation
700 * doc/hildon-docs.sgml
702 * examples/Makefile.am
703 * examples/hildon-dialog-example.c
705 * src/hildon-dialog.c
706 * src/hildon-dialog.h
708 New HildonDialog widget.
710 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
712 * src/hildon-pannable-area.c
713 Merge latest changes (r4318, r4342) from libmokoui trunk
715 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
717 * examples/Makefile.am
718 * examples/hildon-pannable-area-example.c
720 * src/hildon-pannable-area.c
721 * src/hildon-pannable-area.h
723 New HildonPannableArea widget.
725 2008-04-15 18:05:19 <timj@imendio.com>
727 * src/hildon-banner.c: revert the recent change, that introduced
728 gtk_window_present() calls. this reopens:
729 Bug 78481 - [freetest] information banners are hidden under browser menu
730 But resolves another variant of:
731 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
733 2008-04-15 13:21:13 <timj@imendio.com>
735 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
736 recreated its layout, spotted by Kris. this fixes all remaining
737 artefacts and stability issues with the banner code. in particular:
738 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
740 2008-04-14 16:52:59 <timj@imendio.com>
742 * src/hildon-banner.c: guard force_to_wrap_truncated() against
743 operating on unrealized widgets, fixes:
744 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
746 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
748 2008-04-09 Kristian Rietveld <kris@imendio.com>
750 Fixes: NB#77775: Media Player, Save Now playing list, too long name
751 makes banner disappear.
752 Fixes: NB#79182: info banner flickering with certain message lengts.
754 * src/hildon-banner.c (hildon_banner_constructor),
755 (hildon_banner_init), (hildon_banner_set_text),
756 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
757 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
758 FALSE, reset size requests of label and banner,
759 (force_to_wrap_truncated): when the text is too wide, always enforce
760 the maximum possible width instead of recalculating it from the
761 layout; enforce the maximum banner height of 3 lines,
762 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
763 nicer wrapping and no truncated chars if space gets tight.
765 * src/hildon-banner-private.h: add has_been_wrapped and
766 has_been_truncated fields.
768 2008-04-07 Sven Herzberg <sven@imendio.com>
770 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
771 local values in hildon_date_editor_size_allocate
773 * src/hildon-date-editor.c: moved the real allocation code into the
776 2008-04-07 Sven Herzberg <sven@imendio.com>
778 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
779 local values in hildon_date_editor_size_allocate
781 * src/hildon-date-editor.c: merged the two if() branches together
783 2008-04-07 Sven Herzberg <sven@imendio.com>
785 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
786 local values in hildon_date_editor_size_allocate
788 * src/hildon-date-editor.c: changed the arguments of the if()
791 2008-04-07 Sven Herzberg <sven@imendio.com>
793 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
794 local values in hildon_date_editor_size_allocate
796 * src/hildon-date-editor.c: split the calculation of the allocation
797 from the real allocation
799 2008-03-27 Michael Natterer <mitch@imendio.com>
801 Fixes: NB#81696: The passcode is not overwritten even after
804 * src/hildon-code-dialog.c
805 (hildon_code_dialog_button_clicked)
806 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
807 because that doesn't overwrite selected text. Instead, emit the
808 "commit" signal on the entry's im_context so the entry's normal
809 insert logic is triggered. Set the cursor to the end of the entry
810 after each insert operation so that we *only* insert in the middle
811 of the text if something was selected.
813 2008-03-27 Michael Natterer <mitch@imendio.com>
815 Enable fixing: NB#79916 and NB#79918: The help topic for Color
816 selector cannot be opened
818 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
819 when the popup color selector is created. Please connect to this
820 signal in order to set the dialog's help ID.
822 2008-03-25 Sven Herzberg <sven@imendio.com>
824 Fixes: MB#1212: Hide info banners (infoprints) on click
826 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
827 extracted the close event simulation into an extra function
828 (hildon_banner_button_press_event): simulate a close event and destroy
829 the widget if the event wasn't handled
830 (hildon_banner_class_init): added the button_press_event handler
831 (hildon_banner_init): added button-press events to the widget
833 2008-03-25 Sven Herzberg <sven@imendio.com>
835 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
836 Patch from: Mohammad Anwari <mdamt@maemo.org>
838 * src/hildon-banner.c: let the HildonBanners pop up on the left side
839 instead of the right in RTL mode
840 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
841 breadcrumb button list in RTL mode
842 * src/hildon-caption.c: mirror the appearance of the caption widget in
844 * src/hildon-date-editor.c: mirror appearance of the date editor in
846 * src/hildon-time-editor.c: mirror appearance of the time editor in
848 * src/hildon-window.c: fix the position of the popup in RTL mode
850 2008-03-25 Sven Herzberg <sven@imendio.com>
852 Amendment to the fix of NB#22072. Fix compilation.
854 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
856 2008-03-19 Sven Herzberg <sven@imendio.com>
858 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
861 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
862 timeout id properly when the timeout will disappear this leaves no
863 artifacts around in the destroy(); there will only be the timeout
864 created by hildon_banner_ensure_timeout() and adding a new timeout
865 will also work if the timeout gets removed because the timeout_handler
868 2008-03-19 Michael Natterer <mitch@imendio.com>
870 Fixes: NB#79791: Cannot set focus to Master volume using stylus
872 * src/hildon-volumebar.c
873 * src/hildon-vvolumebar.c
874 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
875 the widget becomes focussable at all.
877 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
878 set the focus to wither the mute button or the volumebar.
880 Remove own "can-focus" property and instead listen to
881 notify::can-focus in order to update the widget's state.
883 Implement GtkWidget::focus() and make sure we can also *leave* the
884 widget, not only enter it, depending on volumebar orientation and
885 requested focus direction.
887 Clean up set_mute() to cooperate nicely with all the above.
889 2008-03-04 Michael Natterer <mitch@imendio.com>
891 Fixes: NB#78481: information banners are hidden under browser menu
893 * src/hildon-banner.c: call gtk_window_present() on the banners so
894 they are risen if they are already visible.
896 2008-03-03 Sven Herzberg <sven@imendio.com>
898 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
900 * examples/hildon-window-menu-example.c: (main): extended the window
901 menu example to serve as a testcase for automatically added
902 accelerator groups, too
903 * src/hildon-window.c: (hildon_window_add_accel_group),
904 (hildon_window_set_menu): added patch by Tommi Komulainen
906 2008-03-03 Sven Herzberg <sven@imendio.com>
908 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
910 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
911 knowledge about the border allocators used within GTK+
913 2008-02-26 Sven Herzberg <sven@imendio.com>
915 Fixes: MB#2981: Build with asserts broken
917 * src/hildon-date-editor.c,
918 * src/hildon-number-editor.c,
919 * src/hildon-time-editor.c,
920 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
921 the proper GType instance check
923 2008-02-25 Sven Herzberg <sven@imendio.com>
925 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
927 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
928 * examples/hildon-window-menu-example.c: (main): explicitly show
930 * src/hildon-window.c:
931 (hildon_window_set_main_menu): moved most of the code from set_menu()
932 to this place; skipped the call to gtk_widget_show_all(); also didn't
933 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
934 (hildon_window_set_menu): removed most of the code, just keep the
935 questionable gtk_widget_show_all()
936 * src/hildon-window.h: added the new function and deprecate the old
939 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
945 * debian/changelog: Updating.
947 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
950 * pkgconfig/Makefile.am:
951 * pkgconfig/hildon.pc.in:
954 Do not use PACKAGE_VERSION_MAJOR as the API revision,
955 use newly created API_MAJOR_VERSION.
957 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
963 * debian/changelog: Updating.
965 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
967 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
969 Add outer_border style property, we use it but don't define it (!).
973 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
975 * examples/hildon-bread-crumb-trail-example.c (main):
979 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
981 Fix logic for the bread crumb trail node removal.
985 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
991 * debian/changelog: Updating.
993 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
995 Patch by Alejandro to get/set passwords dialogs accesibility.
997 * hildon-1/src/hildon-get-password-dialog.c:
998 * hildon-1/src/hildon-set-password-dialog.c:
999 Set atk_set_name to the passwd entries in order to allow
1000 accessibility by name on this entries.
1002 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1007 * debian/control: Updating gtk dep.
1009 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
1011 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
1012 USE_MAEMO_GTK is enabled.
1014 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
1016 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
1017 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
1019 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1025 * debian/changelog: Updating.
1027 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1029 * examples/Makefile.am:
1030 * examples/hildon-logical-color-example.c:
1031 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
1032 applied + adding a test case. Fixes: NB#71660.
1034 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
1036 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
1037 to be visible, fixes warning on map for windows without toolbars.
1039 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
1041 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
1042 2.11.0, add a check for that besides the MAEMO_GTK check.
1044 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1050 * debian/changelog: Updating.
1052 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1054 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
1055 visibility. Fixes: NB#70842 and MB#615.
1057 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1059 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
1060 set the separator as no-show-all so it doesn't unintentionally appear when
1061 someone does a show_all.
1063 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1065 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1066 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1067 toplevel item. Fixes: NB#62031
1069 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
1071 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1072 fix the name of the function in the docs.
1074 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1080 * debian/changelog: Updating.
1082 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1084 * examples/hildon-banner-long-example.c: Adding a test-case for long
1087 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1089 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1091 * src/hildon-color-chooser-dialog.c:
1092 * src/hildon-color-chooser.c:
1093 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1094 memory leaks in font selector and color selector. Fixes: NB#70499 and
1097 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
1099 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1101 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1103 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1104 little bit bigger. Fixes: #NB63694.
1106 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1112 * debian/changelog: Updating.
1114 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1117 * doc/hildon-docs.sgml:
1118 * doc/images/bread-crumb-trail.png:
1119 * doc/images/calendar-popup.png:
1120 * doc/images/caption.png:
1121 * doc/images/code-dialog.png:
1122 * doc/images/color-button.png:
1123 * doc/images/color-chooser-dialog.png:
1124 * doc/images/color-chooser.png:
1125 * doc/images/controlbar.png:
1126 * doc/images/date-editor.png:
1127 * doc/images/font-selection-dialog.png:
1128 * doc/images/get-password-dialog.png:
1129 * doc/images/hvolumebar.png:
1130 * doc/images/login-dialog.png:
1131 * doc/images/note.png:
1132 * doc/images/number-editor.png:
1133 * doc/images/range-editor.png:
1134 * doc/images/seekbar.png:
1135 * doc/images/set-password-dialog.png:
1136 * doc/images/sort-dialog.png:
1137 * doc/images/time-editor.png:
1138 * doc/images/time-picker.png:
1139 * doc/images/vvolumebar.png:
1140 * doc/images/weekday-picker.png: Adding the new generated widget shots.
1141 Adding the bread-crumb-trial and helpers to the documentation.
1143 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1145 * examples/hildon-find-toolbar-example.c:
1146 * src/hildon-find-toolbar.c:
1147 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1148 actually continue firing the other handlers if connected. Adding a new
1150 hildon_find_toolbar_get_last_index that gets the index of the most
1151 recently added (last) item. Fixes: NB#52301.
1153 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1155 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1156 behaviour. Fixes: NB#68610.
1158 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1160 * src/hildon-banner.c: Actually reverting the previous change. It somehow
1163 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1165 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1166 when realizing the banner. Should make the infonbanner effect a bit more
1169 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1171 * src/hildon-volumebar.c:
1172 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1173 hildon_volumebar_set_range_insensitive_message and
1174 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1176 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1178 * src/hildon-window.c: Fixing the border freeing on destroy.
1180 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1182 * src/hildon-code-dialog-private.h:
1183 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1184 kw keyboard support in HildonCodeDialog.
1186 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1192 * debian/changelog: Updating.
1194 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1196 * src/hildon-date-editor.c:
1197 * src/hildon-number-editor.c:
1198 * src/hildon-private.c:
1199 * src/hildon-private.h:
1200 * src/hildon-time-editor.c:
1201 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1202 handling in subclassed composite widgets. Fixes: NB#66628.
1204 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1206 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1207 from destroy_ callback as it introduces problems in async dbus signal
1208 handlers. Fixes NB#66673.
1210 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1212 * examples/hildon-hvolumebar-example.c:
1213 * src/hildon-volumebar.c: Improving the focus handling in the
1214 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1215 set_property accessor so that "mute" property can be actually set. I'm
1216 scared that nobody noticed it's totally broken.
1218 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1220 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1223 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1225 * src/hildon-calendar.c:
1226 * src/hildon-number-editor.c:
1227 * src/hildon-time-picker.c: Changing the timeout repeat so that it
1228 matches the spec of 6 chars per second. Fixes: NB#60489.
1230 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1232 * src/hildon-helper.c: Really fixing NB#58352. Looks like
1233 gtk_style_lookup_color sometime returns FALSE even though color was
1234 found and values were filled properly. Weird. Removing the warning for the
1237 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1239 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1240 expand vertically. Adding some extra space to the find toolbar buttons to
1241 make them thumbable. Fixes NB#66060.
1243 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1245 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1246 popup with "Ok" and "Cancel". Fixes NB#59299.
1248 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1250 * src/hildon-calendar.c: Process all window updates before executing next
1251 timeout. Fixes: NB#54146.
1253 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1259 * debian/changelog: Updating.
1261 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1263 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1264 the client event and ignore it, since we use the delete event to close
1267 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1269 * src/hildon-helper.c: Remove the bogus warning about color not being
1270 found. Fixes NB#58352.
1272 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1274 * examples/Makefile.am:
1275 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1276 HildonSeekbar widget inside a toolbar.
1278 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1280 * src/hildon-banner.c (hildon_banner_init): mark the banners as
1281 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1282 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1283 don't want to be closed by non-temporary windows on map.
1285 Also use G_DEFINE_TYPE instead of manually typed code.
1287 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1294 * debian/rules: Updating.
1296 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1298 * examples/Makefile.am:
1299 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1300 bug NB#61128. Strangely it works.
1302 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1304 * src/hildon-date-editor.c: When the date editor entry has been changed
1305 but the numbers of characters < max, turn off the skip validation flag.
1306 Prevents a situation when we enter first a valid year and later re-write
1307 it with an invalid one. Fixes NB#60154.
1309 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1311 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1312 code dialog. Fixes NB#64355.
1314 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1316 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1317 switching the page. Fixes NB#49374.
1319 * examples/Makefile.am:
1320 * examples/hildon-wizard-dialog-example.c: Adding an example for
1321 HildonWizardDialog that shows how to handle manual sensitivity setting on
1324 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1328 * src/hildon-version.h.in:
1329 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1331 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1333 * src/hildon-volumebar.c: Updating the docs.
1335 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1341 * debian/changelog: Updating.
1343 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1345 * src/hildon-find-toolbar.c:
1346 * src/hildon-find-toolbar.h: Adding a few new functions to control the
1347 selected item: hildon_find_toolbar_set_active,
1348 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
1349 hildon_find_toolbar_get_active_iter . They correspond to respective
1350 GtkComboBox functions.
1352 * examples/Makefile.am:
1353 * examples/hildon-find-toolbar-example.c: Adding the example to test the
1356 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1358 * examples/Makefile.am:
1359 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1362 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1363 when font size > 32 and we pack a focusable widget inside. Actually using
1364 the default response would work too, but since we don't show default
1365 response state in any way (no theming) it would not be visible to the
1366 user. Fixes NB#63430.
1368 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1370 * src/hildon-date-editor.c: Adding the missing variable setter in the
1371 set_property handler. Fixes NB#54182.
1373 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1375 * src/hildon-window.h: Changing the long key press time from 1500ms to
1376 800ms as requested in NB#63700. I have a bad feeling about this, let's
1377 see... Fixes NB#63700.
1379 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
1381 * src/hildon-time-picker.c (hildon_time_picker_class_init,
1382 hildon_time_picker_map, hildon_time_picker_realize,
1383 hildon_time_picker_style_set): Split the contents of map to more
1384 appropriate functions; set window decorations on realize and update
1385 arrows' size requisitions on style-set. Avoids unnecessary resizing.
1387 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
1392 * debian/changelog: Updating.
1394 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
1396 * src/Makefile.am: fixed installation of the header files
1398 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1404 * debian/changelog: Updating.
1406 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1408 * configure.ac: Removing some remaining of --enable-xan.
1410 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
1412 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1413 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1415 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1416 2.10.12-osso6 because the move-focus signal needs to be available in
1419 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1421 * examples/Makefile.am:
1422 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1423 that makes a HildonVolumebar insensitive before mapping it. Seems to work
1424 fine. Prolly NB#61128 is fixed now.
1426 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1428 * src/hildon-volumebar.c:
1429 * src/hildon-volumebar.h: Adding the
1430 hildon_volumebar_set_range_insensitive_message and
1431 hildon_volumebar_set_range_insensitive_messagef functions to set
1432 insensitive message on the slider of the volumebar. Fixes NB#61129.
1434 * examples/Makefile.am:
1435 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1436 test the new insensitive messsage functionality on HildonVolumebar.
1438 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
1440 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1443 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
1445 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1446 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1447 button on after clearing the trail.
1449 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1451 * src/hildon-code-dialog.c: Removing the separator from the dialog.
1453 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1455 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1456 by splitting the installed headers in generated and non-generated groups. Use
1457 only the non-generated headers to create the hildon-enum-types.h file.
1459 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1461 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1463 * src/hildon-window.c: Hide the window before performing the destroy.
1464 Should make the app closing a little tiny bit more snappy.
1466 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1468 * src/hildon-seekbar.c: add gtkrange.h header
1469 * src/hildon-caption.c: remove unused variable
1471 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
1473 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1476 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1482 * debian/changelog: Updating.
1484 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
1486 * src/hildon-window.c (hildon_window_window_state_event,
1487 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1488 escape timeout on focus-out-event rather than notify::is-topmost; the
1489 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1491 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1493 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1494 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
1496 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1498 * src/hildon-window: actually, you need to use the macro always, there's
1499 no private pointer in the instance structure. We should have cleaned this up
1500 when we had the chance...
1502 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1504 * src/hildon-window.c: do not get the private date from HildonWindow before
1505 it passes the g_return_if_fail check. Once it's passed the test, there's no
1506 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1507 if you are only going to access the data once. Whitespace cleanups.
1509 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
1511 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1512 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1514 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1520 * debian/changelog: Updating.
1522 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1524 * src/hildon-window.c: When destroying the window, remove (if exists) the
1525 escape timeout handler. Fixes #NB59276.
1527 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1529 * src/hildon-banner.c: When realizing the widget, set the window
1530 transiency. Setting the transiency in the gobject constructor is not
1531 good, as the widget is not realized at that point. Fixes: #NB56624.
1533 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1535 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1536 Add padding for future expansions.
1538 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1540 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1541 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1542 will fake an activation on the previous to the last item of the trail, so
1543 the effect can be overrided by the developer as usual.
1544 Also change the callback for the back button to do the same thing, so its
1545 effect can be overrided too. Fixes: NB#58982
1547 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1549 * src/hildon-caption.c: Implementing the proper focus grabbing in the
1550 HildonCaption. Fixes NB#52379.
1552 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1554 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1555 the internal state of the trail after the user has had the chance of executing
1556 his handler for the signal. Specifically, it may happen that the activated button
1557 is removed and the user still lets the default handler run. This would segfault
1560 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1562 * src/hildon-font-selection-dialog.c: When the font is really big, add the
1563 scrollbar to the preview dialog. Fixes NB#54147.
1565 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1567 * src/hildon-date-editor.c: Changing the default max year to 2037. The
1568 max/min year properties can be altered, so the client can modify it
1569 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
1571 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1573 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
1574 hildonlike by default. Fixing a problem with disappearing arrows when
1575 scrolling through months and years. Fixes NB#54127.
1577 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1579 * examples/hildon-date-editor-example.c: Adding error callback to the date
1582 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1588 * configure.ac: Updating.
1590 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1592 * configure.ac: Adding a special '--enable-xan' configure option that
1593 turns off the -Werror compilation setting. Usefull for development.
1595 * src/hildon-calendar.c:
1596 * src/hildon-number-editor.c:
1597 * src/hildon-time-picker.c: Adding the 5* multiplier to
1600 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
1602 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
1603 instead of g_object_ref + gtk_object_sink.
1605 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1611 * debian/changelog: Updating.
1613 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1615 * src/hildon-color-chooser-dialog.c:
1616 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
1617 straight from Tommi labs.
1619 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1621 * examples/hildon-finger-example.c: Correcting the header file path.
1623 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
1624 the changed signal. Fixes a small memory leak.
1626 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1630 * src/hildon-banner.c: Importing several usefull fixes from the
1631 ubuntu-mobile branch.
1633 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1635 * examples/Makefile.am:
1636 * examples/hildon-finger-example.c: Adding a finger-checking code
1639 * src/hildon-font-selection-dialog.c: Do not allocate the color
1640 structure using the g_new. Fixes NB#54061.
1642 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1644 * src/hildon-helper.c: Correcting tabs in file.
1646 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
1648 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
1649 control the visibility of the children.
1651 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
1653 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1659 * debian/changelog: Updating.
1661 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1663 * src/hildon-bread-crumb-trail.c:
1664 (hildon_bread_crumb_trail_size_allocate):
1666 Make the back button always a square.
1668 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1670 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
1671 from the .c file as it's a private file.
1673 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1675 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
1676 uses slightly bigger height.
1678 * src/hildon-font-selection-dialog.c: Adding some checks before
1679 freeing memory in the font selection dialog.
1681 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1683 * src/hildon-font-selection-dialog.c: Adding a small check when
1686 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
1687 buttons sensitivity on page switching.
1689 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
1691 * src/hildon-bread-crumb-trail.c: make the add method handle all the
1692 internal details of adding a bread crumb to the trail.
1694 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1700 * debian/changelog: Updating.
1702 * src/hildon-bread-crumb-trail.h:
1703 * src/hildon-bread-crumb.h: Changing the API guard to
1704 HILDON_ENABLE_UNSTABLE_API.
1706 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1714 * src/hildon-helper.h: Updating.
1716 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1724 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1728 * src/hildon-helper.h: Small fix to make the package actually compile.
1730 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1732 * src/hildon-bread-crumb-trail.h:
1733 * src/hildon-bread-crumb.h:
1735 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
1736 to define ENABLE_UNSTABLE_API in the code that includes these headers.
1738 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1740 * examples/hildon-bread-crumb-trail-example.c:
1742 * src/hildon-bread-crumb-trail.c:
1743 * src/hildon-bread-crumb-trail.h:
1744 * src/hildon-bread-crumb.c:
1745 * src/hildon-bread-crumb.h:
1746 * src/hildon-marshalers.list:
1747 * src/hildon-bread-crumb-widget.c:
1748 * src/hildon-bread-crumb-widget.h:
1750 Slight change in the widget design. The bread crumb trail API is
1751 unchanged, but HildonBreadCrumb is now an interface. A *private*
1752 implementation, hildon-bread-crumb-widget, is provided and used
1753 internally by the trail for the push_text/push_icon functions.
1755 The generic push API is still available, so anyone can implement
1756 and use its own bread crumb widget.
1758 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1760 * debian/rules: Fixing the shlibs.
1762 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1764 * src/hildon-banner.c: Fixing a problem with timed banners having
1765 their parrent destroyed before they are.
1767 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
1769 * src/hildon-bread-crumb.c:
1770 * src/hildon-bread-crumb.h:
1772 Make the get_natural_size function a vfunc.
1774 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1776 * src/hildon-bread-crumb.c:
1777 * src/hildon-bread-crumb-trail.c:
1781 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1788 * debian/changelog: Updating for release.
1790 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1792 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
1793 don't leak the pango layout.
1795 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1798 * examples/hildon-bread-crumb-trail-example.c:
1802 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1804 * debian/changelog: Removing the bug-fixed entries that were actually
1805 resolved as WONTFIX.
1807 * src/hildon-date-editor.c: Removing a redundant check. Fixes
1810 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1812 * src/hildon-bread-crumb-trail.c:
1813 * src/hildon-bread-crumb-trail.h:
1814 * src/hildon-bread-crumb.c:
1815 * src/hildon-bread-crumb.h:
1819 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1821 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
1822 until it's passed the type check.
1824 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1826 * examples/hildon-bread-crumb-trail-example.c
1830 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1832 * examples/Makefile.am
1833 * examples/hildon-bread-crumb-trail-example.c
1835 * src/hildon-bread-crumb-trail.c
1836 * src/hildon-bread-crumb-trail.h
1837 * src/hildon-bread-crumb.c
1838 * src/hildon-bread-crumb.h
1840 New HildonBreadCrumbTrail widget.
1842 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
1844 * src/hildon-range-editor.c (hildon_range_editor_init),
1845 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
1846 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
1847 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
1848 hildon_time_editor_class_init, hildon_time_editor_init),
1849 src/hildon-get-password-dialog.c (invalid_input,
1850 hildon_get_password_set_property, hildon_get_password_get_property,
1851 create_contents, hildon_get_password_dialog_set_max_characters),
1852 src/hildon-set-password-dialog.c (create_contents),
1853 src/hildon-date-editor.c (hildon_date_editor_init),
1854 src/hildon-login-dialog.c (hildon_login_dialog_init),
1855 src/hildon-number-editor.c (hildon_number_editor_init),
1856 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
1857 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
1858 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
1859 configure option and adding the respective checks in the code.
1860 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
1861 hildon_calendar_drag_data_received): fixed some build warnings.
1863 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1865 * debian/changelog: A 1.0.0 release notes.