Commit graph

5067 commits

Author SHA1 Message Date
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
Benoît Minisini
41fd170dee [INTERPRETER]
* BUG: The UTF-8 character to byte position conversion routine now should 
  work in all cases. Fix a corner case in String.Left(), String.Mid$(), 
  String.Right() that sometimes could return an incorrect result.


git-svn-id: svn://localhost/gambas/trunk@7147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-26 13:18:39 +00:00
Benoît Minisini
0271f54897 [GB.GTK]
* BUG: Fix compilation error.

[GB.GTK3]
* BUG: Fix compilation error.



git-svn-id: svn://localhost/gambas/trunk@7146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-26 11:22:40 +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
e5db05b186 [COMPILER]
* BUG: Don't crash when a constant is the void string.


git-svn-id: svn://localhost/gambas/trunk@7144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-19 08:19:54 +00:00
Benoît Minisini
46e7b95477 [DEVELOPMENT ENVIRONMNET]
* NEW: The "Show spaces at end of line with dots" option came back.


git-svn-id: svn://localhost/gambas/trunk@7143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-19 07:18:28 +00:00
Benoît Minisini
4121439611 [COMPILER]
* BUG: Allow string constants longer than 255 characters when generating 
  *.info files.

[GB.FORM.EDITOR]
* NEW: TextEditor: Draw line ending spaces with dots.
* NEW: TextEditor.ShowSpaces is a new property that toggles the drawing of 
  spaces at the end of line.
* BUG: TextEditor: Don't crash anymore when calling the Clear method 
  (again).


git-svn-id: svn://localhost/gambas/trunk@7142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-19 07:10:05 +00:00
Benoît Minisini
fcd2e45007 [GB.FORM]
* NEW: SidePanel.MinSize is a new property to define the minimum size of a 
  SidePanel before it hides. This property may be removed soon, don't use 
  it yet.
  
[GB.FORM.EDITOR]
* BUG: TextEditor: Clicking past the end of a line having a single 
  character correctly moves the cursor to the end of line.


git-svn-id: svn://localhost/gambas/trunk@7141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-19 00:06:46 +00:00
Benoît Minisini
044be25e9e [GB.CLIPPER]
* BUG: Polygon.AddPoint() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@7140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-18 23:53:23 +00:00
Tobias Boege
ba3251c890 [GB.CLIPPER]
* BUG: Put arguments to Polygon._put() in the correct order.



git-svn-id: svn://localhost/gambas/trunk@7139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-18 09:59:26 +00:00
Benoît Minisini
fd60cd1bec [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: The import CSV dialog is now a wizard.

[GB.DB]
* BUG: Fix a crash when creating twice the same table with the same
  connection.

[GB.FORM]
* NEW: Spinner: Display the label below the rotating spinner.
* NEW: Spinner.Wait() is a new method that calls the event loop, and 
  ensures that it is not called more than every 200 milliseconds.
* BUG: Wizard: Animation is correct now when the Border property is set.

[GB.QT4]
* BUG: Showing a window now automatically raises it.

[GB.QT5]
* BUG: Showing a window now automatically raises it.


git-svn-id: svn://localhost/gambas/trunk@7138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-17 21:25:02 +00:00
Benoît Minisini
00e83980de [GB.FORM.EDITOR]
* BUG: TextEditor: Correctly draw the margin background when scrolling.


git-svn-id: svn://localhost/gambas/trunk@7137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-16 23:35:19 +00:00
Benoît Minisini
624c8ab205 [GB.FORM.EDITOR]
* BUG: Fix a crash when moving or clicking on a void line.


git-svn-id: svn://localhost/gambas/trunk@7136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-16 11:58:42 +00:00
Benoît Minisini
cde4a1168f [WIKI CGI SCRIPT]
* BUG: Ignore gb.gui.qt and gb.gui.qt.webkit when generating the TODO page.

[GB.FORM.EDITOR]
* BUG: TextEditor: Moving up and down with the arrow keys now work 
  correctly in wrap mode.
* OPT: TextEditor: Don't update line widths until the first Draw event.


git-svn-id: svn://localhost/gambas/trunk@7135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-16 11:55:11 +00:00
Benoît Minisini
ed2a0c978a [WIKI CGI SCRIPT]
* NEW: Command for generating the package dependencies table.

[GB.COMPRESS.BZLIB2]
* NEW: Make that compress driver an explicit component.

[GB.COMPRESS.ZLIB]
* NEW: Make that compress driver an explicit component.

[GB.FORM.EDITOR]
* BUG: TextEditor: The right mouse button now has no effect to allow the
  popup menu to act on the current selection or cursor position.


git-svn-id: svn://localhost/gambas/trunk@7134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-14 22:10:16 +00:00
Benoît Minisini
1246bb63cb [GB.FORM.EDITOR]
* NEW: TextEditor: CTRL+BACKSPACE deletes the word on the left of the 
  cursor.


git-svn-id: svn://localhost/gambas/trunk@7133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-14 17:41:49 +00:00
Benoît Minisini
ebc02e7a2d [GB.FORM]
* BUG: TabPanel: Fix a temporary debugging feature that sometimes could 
  lead to a crash.


git-svn-id: svn://localhost/gambas/trunk@7132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-14 15:45:53 +00:00
Benoît Minisini
0838c2a193 [GB.FORM.EDITOR]
* BUG: TextEditor: The Clear() method should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-14 15:42:07 +00:00
Benoît Minisini
db4d4afce6 [GB.FORM.EDITOR]
* NEW: TextEditor: Any selected text now goes to the selection clipboard
  automatically.
* NEW: TextEditor: The middle mouse button now pastes the selection 
  clipboard.

[GB.GTK]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.GTK3]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.GUI.BASE]
* NEW: ScrollArea: Draw the border around the scrollbars now.

[GB.QT4]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.QT5]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.


git-svn-id: svn://localhost/gambas/trunk@7130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-13 08:14:40 +00:00
Benoît Minisini
b52fe807b9 [DEVELOPMENT ENVIRONMENT]
* BUG: Current highlighting theme is now part of the configuration.
* NEW: Use the new CloseButton property of the TabPanel control.

[GB.FORM]
* NEW: TabPanel.CloseButton is a new property that displays a global close
  button inside the tab bar. That button raises the CloseAll event.

[GB.FORM.EDITOR]
* NEW: The Margin event is now raised when the user clicks inside the 
  margin, not when it clicks twice.

[GB.FORM.MDI]
* NEW: Workspace.CloseAll() is new method that closes all workspace 
  windows.
* NEW: Workspace has now a global close button.
* BUG: Workspace: fix layout routine when the Border property is set.


git-svn-id: svn://localhost/gambas/trunk@7129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-11 23:53:52 +00:00
Benoît Minisini
acc5dfb4ba [GB.GUI.BASE]
* BUG: ScrollArea: The corner widget is now correctly hidden in all cases.
* BUG: GridView: Picture alignment inside cells is now correct.

git-svn-id: svn://localhost/gambas/trunk@7128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-11 21:22:57 +00:00
Benoît Minisini
ad1a19d35a [GB.FORM.EDITOR]
* BUG: Changing a style now correctly refreshes the editor.
* NEW: Highlight the margin.

[GB.GUI.BASE]
* BUG: ScrollArea is now correctly selectable in the IDE.


git-svn-id: svn://localhost/gambas/trunk@7127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 21:17:03 +00:00
Benoît Minisini
d64fbae8c7 [GB.GTK3]
* BUG: Dialog.SelectFont() does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 20:49:34 +00:00
Benoît Minisini
a8b8ca57bc [GB.GTK3]
* BUG: Explicit call to gtk_printer_option_widget_get_type(), otherwise 
  printing crashes. But why???


git-svn-id: svn://localhost/gambas/trunk@7125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 20:22:35 +00:00
Benoît Minisini
8d2e4c5262 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix initial cursor position at file loading.

[GB.FORM.EDITOR]
* BUG: Wrapping is correctly updated now when the margin width changes.
* NEW: The line indent is used for drawing all the wrapped lines of a text 
  line.
* NEW: The HOME and END keys take the wrapping into accoutn now.

[GB.GTK]
* BUG: Drawing text on an image now has the same result as drawing text on 
  the screen. They use the same hinting options.

[GB.GTK3]
* BUG: Drawing text on an image now has the same result as drawing text on 
  the screen. They use the same hinting options.


git-svn-id: svn://localhost/gambas/trunk@7124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 11:27:13 +00:00
Benoît Minisini
5bd7b96a66 [DEVELOPMENT ENVIRONMENT]
* NEW: Profiler window: Add a new column for the average self time.

[INTERPRETER]
* OPT: Make faster implementations of the Find() and Exist() methods of the
  native array classes. Only Date[] and Variant[] use the old implementations.

[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting and removing lines now work correctly when 
  wrap mode is enabled.
* OPT: TextEditor: Drawing and layouting optimizations.


git-svn-id: svn://localhost/gambas/trunk@7123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-08 15:52:18 +00:00
Benoît Minisini
6ec02aa5f7 [GB.GTK]
* BUG: Fix keyboard events handling.
* BUG: Fix enter and leave events handling.


git-svn-id: svn://localhost/gambas/trunk@7122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-08 15:47:16 +00:00
Benoît Minisini
68bf3f77cf [GB.FORM.EDITOR]
* BUG: TextEditor: Don't use bold fonts, the text width computation routine 
  does not handle them.


git-svn-id: svn://localhost/gambas/trunk@7121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-07 11:42:57 +00:00
Benoît Minisini
700680c4f7 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix completion popup position.

[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly clear position cache when wrap mode is 
  changed.
* NEW: TextEditor: Changing wrap mode and relayouting lines now try to keep
  the current line visually at the same position.


git-svn-id: svn://localhost/gambas/trunk@7120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-07 02:43:57 +00:00