Commit graph

1653 commits

Author SHA1 Message Date
Benoît Minisini
9d941c56d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Let the MessageView control use its default colors.

[GB.FORM]
* NEW: MessageView default colors are now default text background and 
  foreground.


git-svn-id: svn://localhost/gambas/trunk@7294 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-08 23:54:00 +00:00
Benoît Minisini
d47c1c4ccf [GB.FORM.EDITOR]
* NEW: TextEditor: SHIFT key + mouse click now selects text.


git-svn-id: svn://localhost/gambas/trunk@7287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-07 10:41:15 +00:00
Benoît Minisini
0704ce8f70 [DEVELOPMENT ENVIRONMENT]
* OPT: Code formatting is faster now by working on a temporary line buffer.

[WEBSITE MAKER]
* NEW: Update to 3.8.1 version.

[GB.GTK]
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.GTK3]
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.QT4]
* BUG: Continue fixing modal dialog initial screen.
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.QT5]
* BUG: Continue fixing modal dialog initial screen.
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.


git-svn-id: svn://localhost/gambas/trunk@7281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 15:12:38 +00:00
Benoît Minisini
ea1fa9704e [GB.REPORT2]
* BUG: Preview: Fix the printer combo initial value.


git-svn-id: svn://localhost/gambas/trunk@7257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 14:38:23 +00:00
Fabien Bodard
e845dc1e3b [GB.REPORT2]
* BUG: Now the printer resolution is always 1200 dpi.
* NEW: The report preview dialog layout is changed to be more readable
  with less info. Feel free to tell me your opinions.
  


git-svn-id: svn://localhost/gambas/trunk@7254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 12:10:41 +00:00
Benoît Minisini
e909d1ea5a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix behaviour of shortcut text properties having ampersands inside.

[GB.GUI.BASE]
* BUG: Fix behaviour of shortcut text properties having ampersands inside.


git-svn-id: svn://localhost/gambas/trunk@7253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 02:02:20 +00:00
Benoît Minisini
f9cfb6884e [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix pen and eraser tool drawing.
* NEW: Image editor: Information is now displayed on top of the image.
* NEW: Image editor: The property panel got a close button.

[WEBSITE MAKER]
* NEW: Link to the new bugtracker.

[GB.FORM]
* BUG: MessageView: Custom background color is now taken into account.


git-svn-id: svn://localhost/gambas/trunk@7246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-29 13:24:06 +00:00
Benoît Minisini
e6efb33ffa [GB.NET.SMTP]
* NEW: SmtpClient.MessageId is a new property that allows to define the 
  'Message-ID' header of the mail.
* NEW: SmtpClient.InReplyTo is a new property that allows to define the 
  'In-Reply-To' header of the mail. It defines the 'References' header as
  well with the same value.
* NEW: SmtpClient.AddHeader() is a new method to add a custom specific
  header to the mail.


git-svn-id: svn://localhost/gambas/trunk@7239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-25 16:44:39 +00:00
Benoît Minisini
e37683ccf5 [CONFIGURATION]
* NEW: Switch to 3.8.90 version.


git-svn-id: svn://localhost/gambas/trunk@7238 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-25 13:24:08 +00:00
Benoît Minisini
dfcb60106e [DEVELOPMENT ENVIRONMENT]
* BUG: Some HiDPI fixes.

[GB.FORM]
* NEW: Stock icon default sizes ("small", "medium"...) are now proportional
  to Desktop.Scale by steps of 8 pixels. This is for HiDPI support.
* NEW: Wizard BeforeChange event can be cancelled now.

[GB.FORM.MDI]
* NEW: Toolbar tries to update the size of its icons when the font changes.

[GB.GTK]
* NEW: Window now raises a Font event when its font changes.

[GB.GTK3]
* NEW: Window now raises a Font event when its font changes.

[GB.GUI.BASE]
* NEW: TreeView items height padding is now proportional to Desktop.Scale.

[GB.QT4]
* NEW: Window now raises a Font event when its font changes.

[GB.QT5]
* NEW: Window now raises a Font event when its font changes.


git-svn-id: svn://localhost/gambas/trunk@7228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-18 15:19:22 +00:00
Adrien Prokopowicz
ffc6e254c2 [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Do not mark a file as unsaved when refactoring is triggered
  by saving this same file.

[GB.FORM.EDITOR]
* BUG: TextEditor: Only change the contents of a line if the provided new
  content is different from the current one.

git-svn-id: svn://localhost/gambas/trunk@7225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-15 16:06:39 +00:00
Adrien Prokopowicz
67a1a73817 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix tab ('\t') character printing.

git-svn-id: svn://localhost/gambas/trunk@7220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-13 10:35:31 +00:00
Adrien Prokopowicz
7001f424cb [GB.DB.FORM]
* BUG: The application busy state is now correctly reset when an 
  SQL error occurs.
* BUG: Fix the queries requesting the data after the 256th entry.

git-svn-id: svn://localhost/gambas/trunk@7219 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-04 19:13:48 +00:00
Adrien Prokopowicz
3ca6267a3c [GB.GUI.BASE]
* BUG: IconView: Fix item drawing when in horizontal orientation.

git-svn-id: svn://localhost/gambas/trunk@7218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-03 23:48:28 +00:00
Benoît Minisini
a0ee7de173 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix project property dialog layout.

[GB.GUI.BASE]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7208 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 11:12:22 +00:00
Benoît Minisini
ce3be2a1ab [DEVELOPMENT ENVIRONMENT]
* NEW: Fix many dialog layouts.

[GB.FORM]
* BUG: FileChooser does not display an error message anymore if the 
  selected path does not exist. Only if the parent directory is not found.
* NEW: IconPanel.Border property behaviour has changed. When set now, the
  only the left panel gains a border, and a space to its right. When not 
  set, the old behaviour is maintained, i.e. no border but a separator
  between the left panel and the contents.
* NEW: Fix file properties dialog layout.

[GB.FORM.MDI]
* NEW: Fix shortcut configuration dialog layout.
  
[GB.GUI.BASE]
* BUG: GridView: The contents is not shifted anymore when the Border 
  property is set.
* BUG: GridView: Take the Design property into account.


git-svn-id: svn://localhost/gambas/trunk@7207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 10:54:58 +00:00
Benoît Minisini
08c0e1037e [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Always draw software icon to the left.

[GB.DB.MYSQL]
* NEW: Use the a void database name by default, instead of explicitly 
  connecting to the "mysql" database.

[GB.GTK]
* BUG: Window.NoTakeFocus works correctly now.

[GB.GTK3]
* BUG: Window.NoTakeFocus works correctly now.

[GB.QT4]
* BUG: Non modal windows opened on top of modal windows now are correctly 
  closable now.
* BUG: Default window title is correctly initialized now.

[GB.QT5]
* BUG: Non modal windows opened on top of modal windows now are correctly 
  closable now.
* BUG: Window.NoTakeFocus should work in all cases now.
* BUG: Default window title is correctly initialized now.


git-svn-id: svn://localhost/gambas/trunk@7205 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 09:13:03 +00:00
Benoît Minisini
0649088547 [GB.QT5.OPENGL]
* BUG: Fix Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@7199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-31 23:34:00 +00:00
Benoît Minisini
1b420fbf43 [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Cleaner way of drawing software information.
* BUG: Farm client: Software URL works correctly now.

[WIKI CGI SCRIPT]
* NEW: Remove custom font in style sheet.

[GB.FORM]
* NEW: ImageView.Alignment is a new property that allows to define how the
  image is aligned when it is smaller than the view.
* NEW: UrlLabel: Display the link URL if the Text property is not set.

[GB.GTK]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.GTK3]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.QT4]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.QT5]
* NEW: Font.H is now a synonymous of Font.Height.


git-svn-id: svn://localhost/gambas/trunk@7196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-31 03:00:41 +00:00
Fabien Bodard
240071902a [GB.REPORT]
* NEW: Now the resolution can be set on printing and on file generation.
* BUG: All the classes are exported. So now shadows can work.


git-svn-id: svn://localhost/gambas/trunk@7195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-30 20:49:54 +00:00
Benoît Minisini
b4c575b6ed [GB.DB.FORM]
* NEW: DataComboView: Draw current selected record with the same layout as
  the popup DataView uses.


git-svn-id: svn://localhost/gambas/trunk@7193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-30 03:14:06 +00:00
Benoît Minisini
bc0a813092 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the edition of DataComboView.Columns property and any other "
  field" property that takes its table in another property of the same 
  object.

[WIKI CGI SCRIPT]
* NEW: Update wiki style sheet.

[GB.FORM]
* BUG: Balloon won't crash anymore if the control it is associated with 
  becomes invalid.

[GB.DB.FORM]
* BUG: Fix blob editor current byte highlighting.


git-svn-id: svn://localhost/gambas/trunk@7192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-30 02:54:47 +00:00
Benoît Minisini
9d6820dd88 [DEVELOPMENT ENVIRONMENT]
* NEW: The system colors of the color choose dialog are now dynamically 
  filled from the Color class information. Consequently, you can add new 
  colors by extending and adding new color constants or properties to the 
  Color class in your project.
* BUG: Prevent a possible crash in the farm client request manager.

[GB.GTK]
* BUG: The color properties of the Color class are now correctly read-only.
* BUG: Add a forgotten source file header symbolic link.

[GB.GTK3]
* BUG: The color properties of the Color class are now correctly read-only.
* BUG: Add a forgotten source file header symbolic link.

[GB.QT4]
* BUG: The color properties of the Color class are now correctly read-only.

[GB.QT5]
* BUG: The color properties of the Color class are now correctly read-only.


git-svn-id: svn://localhost/gambas/trunk@7189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-29 12:59:14 +00:00
Benoît Minisini
5ecb973af4 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Don't load the image twice.
* NEW: Do not open the welcome dialog if a project directory has been 
  specified in program arguments.
* NEW: Farm client: Paint the software names the same way everywhere.
* BUG: If the workspace was filled before
  the main window is visible, then the QT5 backing store starts displaying
  garbage. The workaround was to always show the main window before trying 
  to load any file.
* NEW: Add the environment variables to the system information.

[WIKI CGI SCRIPT]
* BUG: Fix some HTML syntax errors.

[INTERPRETER]
* BUG: Add the Rand() syntax description.

[GB.DB.POSTGRESQL]
* BUG: If PostgreSQL version is greater than 9.0, then force the bytea 
  output format to 'escape', as it was before.

[GB.EVAL.HIGHLIGHT]
* NEW: The TextHighlighter.ToHtml() method now takes the 'Alternate' style
  flag into account, and the generated HTML is less verbose.
* BUG: The WebPage highlighting has been fixed.

[GB.FORM]
* BUG: Completion: Fix a possible crash.
* BUG: TabPanel: Fix a possible crash.

[GB.SDL2]
* NEW: Window.Handle is a new property that returns the window handle.


git-svn-id: svn://localhost/gambas/trunk@7188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-27 03:54:57 +00:00
Benoît Minisini
cadb97d06a [GB.FORM.EDITOR]
* BUG: TextEditor: Correctly update line heights in all cases when a line 
  is inserted or removed.


git-svn-id: svn://localhost/gambas/trunk@7187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-27 03:45:21 +00:00
Benoît Minisini
6b5790f7f9 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager wizard: When creating a package from a component project,
  warn the user if the project name is not prefixed by a vendor name and
  a dot, and stop the process.

[GB.GUI.BASE]
* NEW: IconView: Draw is a new event that is raised when just after a 
  specific IconView item has been drawn.
* NEW: IconView: Draw the hovered item differently.
* BUG: IconView: Fix bad detection of hovered item.
* NEW: IconView: Take the icon shape into account when doing a rectangle
  selection.

[GB.DRAW]
* NEW: Paint.Zoom now draws its grid with a dashed line using the specified 
  grid color and its inverse.


git-svn-id: svn://localhost/gambas/trunk@7186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-15 02:09:42 +00:00
Benoît Minisini
e4ecf99c28 [GB.UTIL]
* NEW: String.Distance() is a new method that returns the Damerau-
  Levensthein distance between two UTF-8 strings. It's the minimum number 
  of operations needed to transform one string into the other, where an 
  operation is defined as an insertion, deletion, or substitution of a 
  single character, or a transposition of two adjacent characters.


git-svn-id: svn://localhost/gambas/trunk@7185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-13 13:20:42 +00:00
Adrien Prokopowicz
3d6e91a1ca [GB.FORM]
* BUG: Balloon now works correctly across screens.

git-svn-id: svn://localhost/gambas/trunk@7184 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-13 10:58:07 +00:00
Fabien Bodard
401b05bfa9 [GB.FORM.TERMINAL]
* NEW: Adding some new classes, now I can begin the developement
  of the screen part.


git-svn-id: svn://localhost/gambas/trunk@7182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-12 20:19:19 +00:00
Fabien Bodard
84b7875611 [GB.FORM.TERMINAL]
* NEW: First commit, nothing usable for now, I just started to write the emulator,
  which already represents a large number of lines of code, but the most complex work 
  was to understand how the entire virtual terminal. Thank you to all available sources,
  Xterm, Rxvt, Konsole. I hope to arrive at the end to implement all the functions of VT102.


git-svn-id: svn://localhost/gambas/trunk@7178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-11 20:59:45 +00:00
Benoît Minisini
cb679e9505 [GB.FORM.EDITOR]
* NEW: TextEditor: Disable highlighting between Begin() and End(), and do 
  it later, just after the last End() has been called. That makes the IDE 
  "replace all" tool work correctly!


git-svn-id: svn://localhost/gambas/trunk@7177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-10 22:38:35 +00:00
Benoît Minisini
1a804d1e45 [DEVELOPMENT ENVIRONMENT]
* NEW: The "Show search window" button in the search list does not reset
  the searching context to the current procedure anymore. It keeps the
  current context unchanged instead.

[GB.DRAW]
* NEW: Paint.ZoomImage used dash pattern to draw the zoom grid.

[GB.FORM]
* NEW: ImageView uses #808080 as grid color.

[GB.FORM.EDITOR]
* BUG: TextEditor: Don't reset an editor getting the focus. Do it only if 
  needed.


git-svn-id: svn://localhost/gambas/trunk@7175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-07 20:51:57 +00:00
Fabien Bodard
15b5ed13ef [GB.FORM.EDITOR]
* BUG: TextEditor: Do not toggle to overwrite mode when inserting a line.


git-svn-id: svn://localhost/gambas/trunk@7173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-05 13:52:48 +00:00
Benoît Minisini
d4146dfcd0 [DEVELOPMENT ENVIRONMENT]
* NEW: Add compression driver components descriptions.
* BUG: The packager now generates packages for QT5 and GTK+3 for project 
  using gb.gui.
* NEW: The button to show deprecated components is now embedded into the 
  component chooser.

[EXAMPLES]
* BUG: WebBrowser: Fix a bug in text search.

[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting lines effectively insert lines in overwrite 
  mode.


git-svn-id: svn://localhost/gambas/trunk@7172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-04 21:26:20 +00:00
Benoît Minisini
417bfb8685 [INTERPRETER]
* NEW: GB.GetReturnValue() is a new interpreter API that returns a pointer
  to the internal GB_VALUE slot where GB.ReturnXXX() functions store the
  return value.
* NEW: Allow a component to declare a GB_AFTER_INIT() exported method that
  is called just after all the components declared in the project are 
  completely loaded.
  
[GB.DBUS]
* NEW: DBus._HasSystemTray() is a new method that returns if the DBus 
  system tray is present. That method is used by the 'gb.gui.trayicon'
  component to know if 'gb.dbus.trayicon' must be loaded.
* BUG: Fix xml introspection analysis.

[GB.DBUS.TRAYICON]
* BUG: Remove debugging messages.
* BUG: TrayIcon icon data is sent correctly now.

[GB.GUI.TRAYICON]
* NEW: New component that you must check if you want to have system tray
  icons. It loads 'gb.dbus', use DBus._HasSystemTray() to know if it can
  load 'gb.dbus.trayicon'. Otherwise it tells the current GUI component to
  declare the old system tray implementation classes.

[GB.GTK]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.GTK3]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.QT4]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.QT5]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.


git-svn-id: svn://localhost/gambas/trunk@7170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-03 22:18:58 +00:00
Benoît Minisini
eb2b172425 [GB.DBUS.TRAYICON]
* NEW: Add TrayIcon MiddleClick event.

[GB.QT4]
* NEW: Add TrayIcon MiddleClick event.

[GB.QT5]
* NEW: Add TrayIcon MiddleClick event.

[GB.GTK]
* NEW: Add TrayIcon MiddleClick event.

[GB.GTK3]
* NEW: Add TrayIcon MiddleClick event.


git-svn-id: svn://localhost/gambas/trunk@7169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 23:05:52 +00:00
Benoît Minisini
27cf0ca10a [GB.DBUS.TRAYICON]
* BUG: Setting the Picture of an hidden "Unity" TrayIcon keeps it hidden.

[GB.GTK]
* NEW: Remove TrayIcon Menu event.

[GB.GTK3]
* NEW: Remove TrayIcon Menu event.

[GB.QT4]
* NEW: Remove TrayIcon Menu event.

[GB.QT5]
* NEW: Remove TrayIcon Menu event.


git-svn-id: svn://localhost/gambas/trunk@7168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 23:00:46 +00:00
Benoît Minisini
47fd153ba0 [GB.DBUS]
* NEW: A class inheriting DBusVariant can be used a DBus method return 
  value.
* BUG: unregistering an object correctly removes it from the children list
  of its parent.
* NEW: DBus.SplitSignature has been renamed as DBus._SplitSignature.

[GB.DBUS.TRAYICON]
* BUG: Correctly unregister KDE-style trayicons.


git-svn-id: svn://localhost/gambas/trunk@7167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 22:26:05 +00:00
Benoît Minisini
7403b03a0b [GB.DBUS]
* BUG: DBus methods that return nothing now send a void reply, otherwise 
  the caller waits for nothing.

[GB.DBUS.TRAYICON]
* NEW: Update DBusMenu protocol documentation file.
* BUG: Make the menu export work with Unity.



git-svn-id: svn://localhost/gambas/trunk@7166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 21:20:08 +00:00
Benoît Minisini
005c733d8d [INTERPRETER]
* BUG: Fix Object.Raise() method.

[DEVELOPMENT ENVIRONMENT]
* BUG: Replace a possible error while filling the toolbox by a warning 
  message.

[GB.DBUS]
* NEW: DBusValues is a new class that must be used when a DBus method canonical
  return several values. It works like DBusVariant.
* NEW: DBus.SplitSignature is new method that allows to split a DBus signature.
* NEW: DBusNull class is renamed as _DBusNull.
  
[GB.DBUS.TRAYICON]
* NEW: TrayIcon popup menu is now exported through the DBusMenu protocol,
  so that it becomes usable on Unity. Consequently, the Menu event will be
  removed.

[GB.DESKTOP]
* NEW: Remove the Desktop.Type property.
* NEW: Add support for Unity.

[GB.GTK]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.GTK3]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.QT]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.QT5]
* NEW: Desktop.Type is now implemented in the GUI components.


git-svn-id: svn://localhost/gambas/trunk@7164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 14:26:10 +00:00
Benoît Minisini
5203e45ff0 [GB.DBUS]
* BUG: Fix org.freedesktop.DBus.Introspectable interface declaration.

[GB.DBUS.TRAYICON]
* NEW: The KDE protocol works again.
* BUG: The default icon works again.

[GB.DESKTOP]
* NEW: Desktop.Type returns "UNITY" now on Unity.


git-svn-id: svn://localhost/gambas/trunk@7162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-01 01:28:52 +00:00
Benoît Minisini
a4f196f644 [GB.DBUS]
* BUG: Null arguments of DBusObserver are correctly interpreted now.
* BUG: The org.freedesktop.Properties GetAll() method now effectively send
  all properties, even those being null.
* NEW: More debugging messages if DBus.Debug is set to TRUE.
* NEW: The DBusObject is now marshalled to a DBus object path.

[GB.DBUS.TRAYICON]
* NEW: Support of the Unity appindicator protocol. The icon is visible, but
  that's all. No popup menu, and the only event that Unity sends is the
  middle click. Reverse-engeneering when the sun is hot is a pleasure, so
  thanks again to Ubuntu guys for not documenting their custom protocol 
  anywhere!



git-svn-id: svn://localhost/gambas/trunk@7161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-01 01:01:04 +00:00
Benoît Minisini
d6f0143e9a [CONFIGURATION]
* BUG: Fix compilation of gb.dbus.trayicon.


git-svn-id: svn://localhost/gambas/trunk@7160 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-30 00:28:12 +00:00
Benoît Minisini
f590155cab [GB.DBUS.TRAYICON]
* NEW: TrayIcon: Implement the tooltip property.


git-svn-id: svn://localhost/gambas/trunk@7159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 21:12:29 +00:00
Benoît Minisini
3fda289f8c [GB.FORM.EDITOR]
* NEW: TextEditor: Ctrl+Delete now deletes the word right to the cursor.


git-svn-id: svn://localhost/gambas/trunk@7158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 19:24:19 +00:00
Benoît Minisini
aff968ac00 [GB.DBUS.TRAYICON]
* NEW: Hide the component.

[GB.GTK]
* NEW: Implement the TrayIcons.DeleteAll() method.
* NEW: Call TrayIcons.DeleteAll() at exit.

[GB.GTK3]
* NEW: Implement the TrayIcons.DeleteAll() method.
* NEW: Call TrayIcons.DeleteAll() at exit.

[GB.QT4]
* NEW: Call TrayIcons.DeleteAll() at exit.
* NEW: TrayIcon: Add support for Scroll event.

[GB.QT5]
* NEW: Call TrayIcons.DeleteAll() at exit.
* NEW: TrayIcon: Add support for Scroll event.


git-svn-id: svn://localhost/gambas/trunk@7155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 02:26:23 +00:00
Benoît Minisini
930c7549d1 [INTERPRETER]
* NEW: Add a new GB.Component.Declare() API, that allows a component to
  dynamically register a class description.

[INFORMER]
* NEW: A component now can declare classes through a GB_OPTIONAL_CLASSES 
  public symbol. Theses classes are included into the information file,
  but are not automatically loaded as the ones defined through the 
  GB_CLASSES symbol.

[GB.FORM.STATUSICON]
* NEW: This component has been removed and replaced by gb.dbus.trayicon.
* NEW: This component now provide TrayIcon and TrayIcons classes that have
  exactly the same interface as the old ones.

[GB.DBUS]
* NEW: Remove the now useless DBusConnection.Raise(). The DBusConnection
  Register() and Unregister() are kept for backward-compatibility reason.
* NEW: Add DBus.Raise() and DBus[].Raise() to raise signals. At the moment,
  there is no difference between the two methods, as there no mean to
  indicate the sender raising a signal. I don't know yet how DBus decides
  which service sends a signal!

[GB.DBUS.TRAYICON]
* NEW: This component implements the tray icon DBus protocol. It is 
  automatically loaded by the GUI components.

[GB.GTK]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.

[GB.GTK3]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the component name in deprecation warning messages.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.

[GB.QT4]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.

[GB.QT5]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.


git-svn-id: svn://localhost/gambas/trunk@7154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 01:46:51 +00:00
Benoît Minisini
6683d62420 [GB.DBUS]
* NEW: DBus.Register() and DBus.Unregister() are now the two methods to 
  register and unregister a DBusObject under the DBus.Name service.
* NEW: DBus[service].Register() and DBus[service].Unregister() are two new 
  methods to register and unregister a DBusObject under a specific service
  name.
* BUG: Remove support for calling methods and properties directly from the
  DBusApplication class. Why did I do that?

[GB.FORM.STATUSICON]
* NEW: Use the new registering methods.


git-svn-id: svn://localhost/gambas/trunk@7153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-28 01:23:57 +00:00
Benoît Minisini
cbfcaa569c [GB.DBUS]
* NEW: DBus.Session.Register() now can register an object under a specific
  service name. If the object path does not start with a slash, then its 
  first element is assumed to  be that service name.

[GB.FORM.STATUSICON]
* NEW: Hide the exported _DBusStatusIconPixmap class.
* BUG: An application can have more than one StatusIcon now.


git-svn-id: svn://localhost/gambas/trunk@7152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-28 00:49:04 +00:00
Benoît Minisini
90b40fc6b9 [CONFIGURATION]
* BUG: Forgot to add gb.form.statusicon to the list of components written 
  in Gambas.


git-svn-id: svn://localhost/gambas/trunk@7151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-27 21:27:31 +00:00