summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Manuel Bachmann [Thu, 29 Jan 2015 18:00:15 +0000 (19:00 +0100)]
Handle up to 6 buttons
All backends (Wayland and X11) now handle up to 6 buttons,
aligned and centered at the bottom of the window.
Change-Id: I7985b5246653a7fe95e5e8a1b34252d0cd861536
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Sun, 23 Nov 2014 17:48:09 +0000 (18:48 +0100)]
X11 backend: implement the new progressbar API
The 3 new progressbar-related functions are now implemented
in the X11 backend.
Change-Id: Ie66dbe04c44dda12243c22fe42bc52c9c16f8a27
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Sun, 23 Nov 2014 16:33:17 +0000 (17:33 +0100)]
Clean the code, fix warnings
We clean the code (style and logic) in both backends, and
remove as much warnings as we are able to.
Change-Id: I42b8151302ae04fd4b87df0c97e190bc6cc54b8d
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Fri, 21 Nov 2014 13:58:35 +0000 (14:58 +0100)]
Add a progressbar feature and the corresponding APIs
We now support a new set of APIs :
- set_progress () will create a progressbar, which status
will be determined by a float value (0.0=0%, 1.0=100%) ;
- get_progress () will retrieve the current float value ;
- set_progress_callback () takes a callback function and
a non-mandatory user-supplied pointer as arguments. This
function will be called as often as possible, and is
supposed to modify the progressbar state after blocking
wlmessage_show() has been issued, and call
wlmessage_destroy () when it is finished.
If a callback is given, the textfield and buttons will not
be shown, as the window is then supposed non-interactive.
X11 does not support these APIs for now ; they will have no
effect. Next commit will fix that.
Change-Id: I2ac4cab9b4bb0ed63fdd15baa50ec04b1c8ca769
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Wed, 19 Nov 2014 14:31:38 +0000 (15:31 +0100)]
Wayland backend: upgrade to XDG-Shell 1.6.0
Allow the WLMESSAGE_USE_XDG_SHELL environment variable
to work with the latest Weston 1.6.0 release.
Tizen does not want backwards compatibility with 1.5.0,
so do not commit this part of the code here.
Change-Id: I00724a54a7e45ae42072506e099ebe7f3da530d9
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Fri, 5 Sep 2014 10:04:46 +0000 (12:04 +0200)]
X11 backend: global improvements (timeout, textfield...)
This commit does the following for the X11 backend :
- support the "set_timeout()" function ;
- make sure the returned text string never gets
truncated if it is not edited before validation ;
- realign the buttons when the window gets resized ;
- have a mininal size for the window ;
- fix 2 obvious memory leaks ;
- fix a core dump when there was no textfield.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Thu, 4 Sep 2014 12:52:44 +0000 (14:52 +0200)]
Add a configurable X11 backend
If libwlmessage is built with "--enable-x11", it will now
use its fresh-new X11 backend to display popups.
Just like the Wayland one, the X11 backend uses no toolkit
(few dependencies). It looks similar, too.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Thu, 4 Sep 2014 06:46:03 +0000 (08:46 +0200)]
Improve autoconf help messages
Create a help string for "--enable-xdg-shell" and "--disable-egl",
and have some syntax and position improvements.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Wed, 27 Aug 2014 10:15:08 +0000 (12:15 +0200)]
Add configurable support for wl_shell and xdg-shell
If libwlmessage is built with the "--enable-xdg-shell"
configure flag AND the "WLMESSAGE_USE_XDG_SHELL"
environment variable is defined, then xdg-shell will be
used. Otherwise, fall back to wl_shell.
Change-Id: I65bd32315e0cadd1ebcf50464ffb1ea7eb3e053c
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Tue, 19 Aug 2014 06:04:07 +0000 (08:04 +0200)]
Little syntax and style fixes to the Tizen packaging.
Change-Id: I932a58d5cad59acbf4897811dfeef60adfec8c55
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Tue, 19 Aug 2014 05:52:21 +0000 (07:52 +0200)]
Activate the window when it gets focused
Use the keyboard focus handler to trigger a redraw, and set the "active" window border each time the window gets focused (and not only when the pointer activates a widget).
Change-Id: I1ebf81d07e109fc19d20c53f14ae605d77860f0b
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Philippe Coval [Mon, 11 Aug 2014 12:56:21 +0000 (14:56 +0200)]
fix: prevent crash
when started as:
wlmessage -titlebuttons Min
Change-Id: I75c9d9cf0953205a5b61f8aae7baa77341f0c5a6
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Author: Philippe Coval <philippe.coval@open.eurogiciel.org>
Philippe Coval [Mon, 11 Aug 2014 12:50:23 +0000 (14:50 +0200)]
cleanup: rm generated file
Change-Id: I90a8c84c79f8f2be77b5e3fb35544aba7d232527
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Author: Philippe Coval <philippe.coval@open.eurogiciel.org>
Manuel Bachmann [Wed, 2 Jul 2014 10:06:58 +0000 (12:06 +0200)]
Workaround: do not iterate through input devices when destroying
TEMPORARY FIX ! In some cases, when destroying a widget or a window,
toytoolkit tries to get the input device which is "focused" to this
widget or window ; but it may try if the input device list is
empty or incorrectly filled. *TODO* proper check
Change-Id: Ibf100bde3842b5e8dd8e10cbaeb81f0a12545374
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Thu, 5 Jun 2014 10:17:00 +0000 (12:17 +0200)]
Clarify API for error handling with the show() function
Make the API clearer in terms of returning errors from the show()
function.
Fix minor typo.
Change-Id: I035a553337baf7cd486a09672b54269bf3daf72b
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Thu, 5 Jun 2014 07:53:57 +0000 (09:53 +0200)]
Do not core dump when destroying a non-fucntional "wlmessage"
If libwlmessage cannot run because a Wayland compositor has not been
found, and so the message window has not been completely initialized,
destroy it safely.
Change-Id: Iecf9ee0ba3c860ea9961b0b80cf2c3ceb007f5bf
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Sat, 31 May 2014 19:45:40 +0000 (21:45 +0200)]
Fix the Tizen packaging, third try, add a .pc file.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Sat, 31 May 2014 17:42:19 +0000 (19:42 +0200)]
Fix the Tizen packaging, second try.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Sat, 31 May 2014 17:35:26 +0000 (19:35 +0200)]
Fix the Tizen packaging.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Sat, 31 May 2014 16:01:29 +0000 (18:01 +0200)]
Return selected button and entered text, as intended.
Remove dead code.
Suppress annoying warning message.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Fri, 30 May 2014 21:58:13 +0000 (23:58 +0200)]
Activate the virtual keyboard.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Manuel Bachmann [Fri, 30 May 2014 17:29:09 +0000 (19:29 +0200)]
Initial commit.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>