Commit graph

20 commits

Author SHA1 Message Date
gambas
b39377f1d5 Many fixes in X11 system tray management.
[GB.DESKTOP.X11]
* NEW: X11Systray: The tray now creates its own window.
* NEW: X11Systray: Show() now should take the handle of a top-level window.
* NEW: X11Systray: Move() and Resize() are two new methods that define the geometry of the tray inside the window specified by the Show() method.
* NEW: X11Systray: The Arrange event is raised immediately after the end of the Show() method.
2021-03-16 02:10:16 +01:00
gambas
432a05d1d2 Fix stack overflow when using X11.RootWindow property.
[GB.DESKTOP.X11]
* BUG: Fix stack overflow when using X11.RootWindow property.
2021-01-25 19:03:19 +01:00
gambas
e5f1462c02 Support for desktop component plugins. Unsupported APIs (on wayland) now raise an error.
[GB.DESKTOP]
* NEW: Support for desktop component plugins. Unsupported APIs (on wayland) now raise an error.
2021-01-17 00:13:03 +01:00
gambas
b62b931d50 This component is a now a X11 plugin for 'gb.desktop'.
[GB.DESKTOP.X11]
* NEW: This component is a now a X11 plugin for 'gb.desktop'.
2021-01-16 23:38:59 +01:00
gambas
78a969ea0c X11Systray.Show() now takes the icon background color as second optional argument.
[GB.DESKTOP.X11]
* NEW: X11Systray.Show() now takes the icon background color as second optional argument. The default color is black.
2020-05-12 09:43:47 +02:00
gambas
4ffe077529 System tray now works with QT5. Drawing on a cached DrawingArea does not display a warning message anymore.
[GB.DESKTOP.X11]
* BUG: System tray now works with QT5. A display glitch remains.

[GB.QT4]
* BUG: Drawing on a cached DrawingArea does not display a warning message anymore.

[GB.QT5]
* BUG: Drawing on a cached DrawingArea does not display a warning message anymore.
* BUG: X11 event filter correctly handle ClientMessage events now.
2020-05-11 18:37:21 +02:00
gambas
09a0573e61 Replace my old sourceforge mail address by the new one.
[CONFIGURATION]
Replace my old sourceforge mail address by the new one.
2018-02-12 02:53:46 +01:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
b225eba20f [CONFIGURATION]
* NEW: Update copyright year in all source files.


git-svn-id: svn://localhost/gambas/trunk@8056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:29:42 +00:00
Benoît Minisini
1e32bb79dd [GB.DESKTOP.X11]
* BUG: Do not crash when some desktop properties are not defined by the
  window manager.

[GB.GTK]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.

[GB.GTK3]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.


git-svn-id: svn://localhost/gambas/trunk@7497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 19:57:17 +00:00
Benoît Minisini
f2f3401926 [DEVELOPMENT ENVIRONMENT]
* BUG: Code prettyfier should not move the cursor anymore.

[GB.DBUS]
* NEW: Support for sending signals.

[GB.QT4]
* NEW: Detect system tray with the Qt routine.

[GB.QT5]
* NEW: Detect system tray with the Qt routine.

[GB.GTK]
* NEW: Actually try to detect the system tray. Only the old protocol is 
  supported.

[GB.GTK3]
* NEW: Actually try to detect the system tray. Only the old protocol is 
  supported.


git-svn-id: svn://localhost/gambas/trunk@7145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-25 23:09:39 +00:00
Benoît Minisini
4c38879e22 [DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Compression correctly marks the file as modified.
* NEW: Take gb.qt5 into account in the help system.

[WIKI CGI SCRIPT]
* NEW: Take gb.qt5 into account.

[INTERPRETER]
* NEW: GB.Component.IsLoaded() is new interpreter API that returns if a
  specific component has been loaded.
* BUG: Running executables from an absolute path works again.

[GB.DESKTOP]
* BUG: DesktopWatcher: Use Desktop.Windows.FromHandle() instead of 
  Desktop.Windows[].

[GB.DESKTOP.X11]
* NEW: Support for gb.qt5.
  
[GB.FORM.EDITOR]
* BUG: TextEditor.Save() highlights the current line before saving.

[GB.QT5]
* NEW: Support for X11 event filter by translating xcb event into xlib 
  events.
* BUG: Cached DrawingArea works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-27 01:00:39 +00:00
Benoît Minisini
e2a2762f15 [GB.DESKTOP.X11]
* NEW: Embed icons directly in the specified window.


git-svn-id: svn://localhost/gambas/trunk@6352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-30 22:08:22 +00:00
Benoît Minisini
22977a4d50 [DEVELOPMENT ENVIRONMENT]
* NEW: Color chooser in forms now allows to select a transparent color.

[GB.DESKTOP.X11]
* NEW: The Arrange event is now delayed.
* BUG: Do not display X11 errors anymore.
* BUG: Disable the X11 event filter if the system tray has been closed.
* BUG: Don't crash when closing the system tray and freeing the internal 
  data.
* NEW: Support for the _NET_SYSTEM_TRAY_VISUAL protocol. Now the system 
  tray can be a transparent window, but embedded icons keeps being opaque.

[GB.GTK]
* NEW: Support for X11 event filter has been implemented.
* BUG: Wait 10 ms after showing a tray icon. Apparently you must not be too
  fast when creating several tray icons.


git-svn-id: svn://localhost/gambas/trunk@6347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-28 15:25:12 +00:00
Benoît Minisini
90e7f54bcd [DEVELOPMENT ENVIRONMENT]
* NEW: Shrink the welcome window a bit if the window is too small.

[EXAMPLES]
* NEW: SystemTray is a new example that shows how to use the system tray 
  support of the gb.desktop.x11 component.

[GB.DESKTOP.X11]
* BUG: A lot of clean up in the system tray support.
* NEW: X11SystrayIcon.Handle is a new property that returns the X11 window 
  id of a systray icon.

[GB.GUI.BASE]
* BUG: Draw: Use Paint.LineJoinRound by default.

[GB.QT4]
* NEW: TrayIcon: Provide the icon size to the system tray.

[GB.GTK]
* NEW: TrayIcon: Try to provide the icon size to the system tray, but it is
  apparently overriden by the GTK+ library with the default small size.


git-svn-id: svn://localhost/gambas/trunk@6301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-03 21:02:01 +00:00
Benoît Minisini
37b6796c7f [GB.DESKTOP.X11]
* BUG: Make component compila again.
* BUG: Start cleaning up the system tray sources.


git-svn-id: svn://localhost/gambas/trunk@6300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-02 12:18:12 +00:00
Benoît Minisini
fb1b6a762a [CONFIGURATION]
* NEW: Add an automake init flag to prevent warnings with recent versions 
  of automake.

[DEVELOPMENT ENVIRONMENT]
* NEW: A Gambas project directory is now identify by a ".project" file that
  actually begins with the expected header.

[GB.DESKTOP.X11]
* NEW: X11Systray is a new static class that implements a system tray 
  inside an already existing DrawingArea of your project. Beware, this it 
  the initial experimental version. That class is based on the 'stalone'
  project source code.

[GB.GTK]
* BUG: Default tray icon is correctly visible now.

[GB.GTK3]
* BUG: Default tray icon is correctly visible now.

[GB.QT4]
* BUG: Tray icons are now scaled, like with GTK+.


git-svn-id: svn://localhost/gambas/trunk@6299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-02 00:39:44 +00:00
Benoît Minisini
3253cf2ced [GB.DESKTOP]
* NEW: Update with the new gb.desktop.x11 syntax.

[GB.DESKTOP.X11]
* NEW: X11.SetProperty and X11.GetProperty window argument is now first, 
  and is not optional anymore. You have to specify X11.RootWindow 
  explicitely.
* NEW: The global X11 event handler 'Desktop_Change' is now named 
  'X11_PropertyNotify'.
* NEW: The global X11 event handler 'Desktop_Window' is now named 
  'X11_ConfigureNotify'.

[GB.QT4]
* NEW: The Frame container now has all arrangement properties.

[GB.GTK]
* NEW: The Frame container now has all arrangement properties.


git-svn-id: svn://localhost/gambas/trunk@6269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 23:43:36 +00:00
Benoît Minisini
510d501efa [GB.DESKTOP.X11]
* BUG: Forgot to add some header files.


git-svn-id: svn://localhost/gambas/trunk@6261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-13 10:29:22 +00:00
Benoît Minisini
eb9e30e1ac [GB.DESKTOP]
* NEW: 'gb.desktop' is now a pure Gambas component that relies on 
  'gb.desktop.x11' and 'gb.desktop.gnome.keyring'.

[GB.DESKTOP.X11]
* NEW: This new component offers a bunch of helper functions that allows to
  deal with the low-level X11 library.

[GB.DESKTOP.GNOME]
* NEW: This component has been renamed as 'gb.desktop.gnome.keyring'.

[GB.DESKTOP.GNOME.KEYRING]
* NEW: This component was named 'gb.desktop.gnome' before. It allows to 
  store and retrieve passwords from the GNOME 2 keyring.

[GB.FORM]
* OPT: A little optimization in the DirChooser control.


git-svn-id: svn://localhost/gambas/trunk@6260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-12 23:38:46 +00:00