Commit graph

5195 commits

Author SHA1 Message Date
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
8f0de5ec88 [CONFIGURATION]
* NEW: Switch to 3.8 version.


git-svn-id: svn://localhost/gambas/trunk@7194 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-30 16:27:04 +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
7a18201aa5 [INTERPRETER]
* BUG: Don't close an external library if requesting an unknown symbol on 
  it. Why having done that?


git-svn-id: svn://localhost/gambas/trunk@7191 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-29 19:43:16 +00:00
Tobias Boege
1afd7010c6 [GB.NCURSES]
* NEW: Screen.Beep() is a new method which makes an audible beep
* NEW: Screen.Flash() produces a visual flash on the screen
* BUG: Fix Window.ReadLine(): getnstr() doesn't return the input length



git-svn-id: svn://localhost/gambas/trunk@7190 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-29 19:32:45 +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
Adrien Prokopowicz
bbcb258df4 [GB.XML]
* NEW: XmlWriter: Added a new Close() method to close the attached stream.
* BUG: Fixed CDATAs and PIs not correctly handling indentation. 
* BUG: XmlWriter now correctly uses the newline separator of the stream
  when indenting, instead of always using '\n'.
* OPT: XmlWriter now uses a string stream as internal buffer, when needed.

git-svn-id: svn://localhost/gambas/trunk@7183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-13 02:08:45 +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
Benoît Minisini
fdc7aa5b9f [INTERPRETER]
* BUG: Forgot to commit some files.


git-svn-id: svn://localhost/gambas/trunk@7181 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-12 09:40:57 +00:00
Benoît Minisini
f616f67bc1 [INTERPRETER]
* BUG: Support for UTF-8 date and time separators, used by Chinese for 
  example.


git-svn-id: svn://localhost/gambas/trunk@7180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-11 22:44:09 +00:00
Adrien Prokopowicz
90ce0adbba [GB.XML]
* BUG: XmlWriter: Buffers are now correctly flushed when ending a document.

git-svn-id: svn://localhost/gambas/trunk@7179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-11 22:36:36 +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
5dc1e1d4c6 [INTERPRETER]
* BUG: Finally fixed! LINE INPUT internal buffer is now correctly reset 
  when SEEK is used.


git-svn-id: svn://localhost/gambas/trunk@7176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-09 14:39:38 +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
Benoît Minisini
e18fa97821 [GB.DBUS]
* BUG: Oops, forgot the TRY instruction when checking for a DBus 
  StatusNotifierHost.


git-svn-id: svn://localhost/gambas/trunk@7174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-05 20:56:03 +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
348a105769 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.gui.trayicon' description.


git-svn-id: svn://localhost/gambas/trunk@7171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-03 22:51:03 +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
Adrien Prokopowicz
88e1b5b6c5 [DEVELOPMENT ENVIRONMENT]
* BUG: The connection properties dialog now correctly uses the
  provided password to list the available databases.

git-svn-id: svn://localhost/gambas/trunk@7165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 15:19:51 +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
758c102283 [INTERPRETER]
* NEW: Object.Raise() is a new method that tells an object to raise one of 
  its events. You should have no use of that for real applications. :-)


git-svn-id: svn://localhost/gambas/trunk@7163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-01 12:26:23 +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
566e06abfe [INTERPRETER]
* BUG: Correctly fix the bug of revision #7147 in UTF-8 string management.


git-svn-id: svn://localhost/gambas/trunk@7157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 15:30:00 +00:00
Benoît Minisini
d3f35cf7c8 [GB.QT4]
* BUG: TrayIcon: Correctly raise Scroll event.

[GB.QT5]
* BUG: TrayIcon: Correctly raise Scroll event.


git-svn-id: svn://localhost/gambas/trunk@7156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 02:34:46 +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
Benoît Minisini
29fe0bc6a6 [INTERPRETER]
* NEW: GB.GetProperty() API now returns the property value as a GB_VALUE 
  pointer, or NULL if the property could not be read.

[GB.DB.POSTGRESQL]
* BUG: Fix a compilation warning.

[GB.DBUS]
* NEW: DBusVariant.Signature is now a constant, not a property anymore.
* NEW: DBusVariant() static method has been removed.
* NEW: DBusVariant.Value is now writable.
* NEW: DBusVariant now can be inherited. Use the value of the Signature 
  constant for introspection of methods and properties using a child class
  of DBusVariant.
* BUG: Show the org.freedesktop.DBus.Peer interface in introspection.
* BUG: The org.freedesktop.DBus.Properties.GetAll method now works 
  correctly.
* BUG: Correctly handle array datatypes.
* BUG: Correctly marshall DBus structures and arrays.
* BUG: Correctly handle NULL values.

[GB.FORM.EDITOR]
* BUG: TextEditor: Better detect cursor position when clicking in the 
  editor with the mouse.

[GB.FORM.STATUSICON]
* NEW: New component that provides a StatusIcon that is a TrayIcon using 
  the Status Notifier DBus specification (i.e. the new protocol). It should
  only works with KDE at the moment.

[GB.IMAGE]
* NEW: Implement all possible image format conversions.


git-svn-id: svn://localhost/gambas/trunk@7150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-27 21:26:32 +00:00
Tobias Boege
f2a163beb0 [DEVELOPMENT ENVIRONMENT]
* BUG: Update Patch dialogs to new TextEditor highlighting.



git-svn-id: svn://localhost/gambas/trunk@7149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-27 15:11:39 +00:00
Benoît Minisini
fac11ebcef [INTERPRETER]
* BUG: Fix an infinite loop when a signal is catched and the signal pipe 
  has been closed.


git-svn-id: svn://localhost/gambas/trunk@7148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-27 14:07:34 +00:00