Commit graph

5258 commits

Author SHA1 Message Date
Benoît Minisini
adae12a790 [GB.FORM.EDITOR]
* BUG: TextEditor: Deleting one collapsed line correctly expands it and 
  does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 19:37:16 +00:00
Benoît Minisini
8a1d5903e0 [GB.QT4]
* BUG: Remove a debugging message.

[GB.QT5]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 19:08:37 +00:00
Benoît Minisini
fb6e7383d6 [GB.FORM]
* BUG: ValueBox: Setting the Type property does not hide the control 
  contents anymore.


git-svn-id: svn://localhost/gambas/trunk@7331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 18:49:45 +00:00
Fabien Bodard
5a3c15f5e4 [GB.REPORT2]
* BUG: ReportImage: Remove an old size convertion and replace it by the Report Class One.
* BUG: ReportImage: Change the Matrix manipulation by the Print.DrawImage Function.
  It resolve resolution problem on printing.


git-svn-id: svn://localhost/gambas/trunk@7330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 08:32:12 +00:00
Tobias Boege
70e9f96aa7 [DEVELOPMENT ENVIRONMENT]
* NEW: Update German translation
* BUG: Fix RichText in a message



git-svn-id: svn://localhost/gambas/trunk@7329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-22 21:08:56 +00:00
Jesus Guardon
425b887e5a [DEVELOPMENT ENVIRONMENT]
* NEW: Corrected some typos in Spanish translation



git-svn-id: svn://localhost/gambas/trunk@7328 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-22 13:46:41 +00:00
Jesus Guardon
aefa52591d [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation



git-svn-id: svn://localhost/gambas/trunk@7327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-20 18:10:00 +00:00
Benoît Minisini
dc46e9d20b [INTERPRETER]
* BUG: Val() correctly detect dates now, when the date or the time 
  separator is a space character.


git-svn-id: svn://localhost/gambas/trunk@7326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-19 22:55:43 +00:00
Benoît Minisini
0a2fc05ba5 [GB.FORM.DIALOG]
* BUG: Dialog.SelectFont() now takes Dialog.Title into account.


git-svn-id: svn://localhost/gambas/trunk@7325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-19 18:47:40 +00:00
Benoît Minisini
495703cb68 [DEVELOPMENT ENVIRONMENT]
* NEW: Don't crash if the template global directory has not been correctly 
  installed.


git-svn-id: svn://localhost/gambas/trunk@7324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-18 20:21:52 +00:00
Benoît Minisini
8cc489787c [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.

[TEMPLATES]
* NEW: Some new templates.


git-svn-id: svn://localhost/gambas/trunk@7323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-18 02:47:43 +00:00
Benoît Minisini
32941bc047 [TEMPLATES]
* NEW: Commit template project. '~subversion' is a false template, it's 
  just there for allowing the project creation dialog to create a project
  from a subversion repository.


git-svn-id: svn://localhost/gambas/trunk@7322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-18 00:49:57 +00:00
Benoît Minisini
abf1ba8cbf [DEVELOPMENT ENVIRONMENT]
* NEW: New project creation dialog based on template projects located in
  '/usr/share/gambas3/template' and in '~/.local/share/gambas3/template'.
  These are default directories, they may change according to your gambas
  installation prefix and home directory configuration.

[TEMPLATES]
* NEW: Project templates. There are only two at the moment, others will
  come.

git-svn-id: svn://localhost/gambas/trunk@7321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-18 00:41:43 +00:00
Benoît Minisini
614e483598 [INTERPRETER]
* BUG: Task now ends with by calling _exit() instead of exit(). Because
  exit() calls the terminator of each loaded shared libraries, and that
  sometimes crashes.


git-svn-id: svn://localhost/gambas/trunk@7320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-18 00:37:15 +00:00
Benoît Minisini
957e31dea8 [GB.QT4]
* BUG: Window.TakeFocus works again.

[GB.QT5]
* BUG: Window.TakeFocus works again.


git-svn-id: svn://localhost/gambas/trunk@7319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-17 22:13:38 +00:00
Benoît Minisini
2395af1a33 [INTERPRETER]
* BUG: Fix thousand separator for locales like norwegian that return an 
  UTF-8 non-breaking space. Replace it by a normal space.


git-svn-id: svn://localhost/gambas/trunk@7318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-16 22:51:31 +00:00
Benoît Minisini
8665f8766d [DEVELOPMENT ENVIRONMENT]
* NEW: More dark theme icons.
* NEW: Fabien's version of the new logo.
* BUG: Image editor: Pasted images are not one pixel too big anymore.

[GB.DBUS.TRAYICON]
* BUG: Toggle menus triggered from the trayicon menu correctly raise the
  Click event
  
[GB.FORM]
* NEW: TabPanel: Clicking with the middle mouse button on a tab button now 
  closes it.


git-svn-id: svn://localhost/gambas/trunk@7317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-16 21:37:04 +00:00
Benoît Minisini
03fd5166f1 [GB.DB.ODBC]
* NEW: Support for "forward only" query result.


git-svn-id: svn://localhost/gambas/trunk@7316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-16 19:50:55 +00:00
Benoît Minisini
fe4f8c5e7a [GB.DB]
* NEW: Support for "forward only" Result.


git-svn-id: svn://localhost/gambas/trunk@7315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-16 19:49:34 +00:00
Benoît Minisini
464f88e1fd [INTERPRETER]
* BUG: Debugger: Breakpoints now work correctly when some global variables 
  are declared after a function.


git-svn-id: svn://localhost/gambas/trunk@7314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-16 00:10:14 +00:00
Benoît Minisini
ac93f40a40 [COMPILER]
* BUG: Correctly set '.startup' file owner.


git-svn-id: svn://localhost/gambas/trunk@7313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-15 15:04:22 +00:00
Benoît Minisini
5779f4d76c [DEVELOPMENT ENVIRONMENT]
* NEW: New breeze default project icon.


git-svn-id: svn://localhost/gambas/trunk@7312 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 18:52:32 +00:00
Benoît Minisini
07657caec9 [GB.FORM]
* NEW: ButtonBox: Dark theme version of default select icon.


git-svn-id: svn://localhost/gambas/trunk@7311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 18:30:18 +00:00
Benoît Minisini
0ae08d5271 [CONFIGURATION]
* BUG: Fix gambas server page mimetype file.
* NEW: New breeze-like icons for mimetypes.

[GB.GUI.BASE]
* NEW: Picture: Use Color[].Luminance on default background color to detect 
  dark themes.

[GB.DBUS.TRAYICON]
* NEW: New breeze default tray icon.


git-svn-id: svn://localhost/gambas/trunk@7310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 18:22:28 +00:00
Benoît Minisini
991f685a3c [INTERPRETER]
* NEW: Component.FindFromPath() is a new method that returns the name of 
  the component a relative path belongs to.
* BUG: Fix the internal method that returns the component a relative path 
  belongs to.

[ARCHIVER]
* NEW: Better verbose mode.

[GB.GUI.BASE]
* NEW: Use the new Component.FindFromPath() method.

[GB.IMAGE]
* NEW: Color[].Luminance returns the luminance information of a color.


git-svn-id: svn://localhost/gambas/trunk@7309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 10:53:02 +00:00
Benoît Minisini
2f14f6c452 [DEVELOPMENT ENVIRONMENT]
* BUG: Catch missing emblem to try to fix the current problem with Picture 
  class.


git-svn-id: svn://localhost/gambas/trunk@7308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 02:27:50 +00:00
Benoît Minisini
c4287b0901 [DEVELOPMENT ENVIRONMENT]
* NEW: Editor color themes better adapt to desktop dark themes.
* NEW: Dark version of drawing icons.


git-svn-id: svn://localhost/gambas/trunk@7307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 02:25:00 +00:00
Benoît Minisini
5edc798e2f [DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to invert an editor theme so that it is usable with a 
  GUI dark theme.
* NEW: Fix some default themes so that it is more usable inverted.

[GB.FORM.MDI]
* BUG: Don't load 'gb.form.mdi' action files. What for?


git-svn-id: svn://localhost/gambas/trunk@7306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-13 18:43:10 +00:00
Benoît Minisini
4349d4b5bb [INTERPRETER]
* BUG: Fix interpretation of "../abc" paths.


git-svn-id: svn://localhost/gambas/trunk@7305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-13 07:54:00 +00:00
Benoît Minisini
bdd864f41a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix windows using icons not existing anymore.
* NEW: Add dark theme versions of some icons.

[INTERPRETER]
* NEW: "../xxx" now refers to a file located in the parent archive, not
  necessarily the main project archive. "../../xxx" refers to the 
  grand-parent archive, and so on. A component written in Gambas that 
  receives a relative path is supposed to prefix it with "../" if he wants 
  to access it. Please report any incompatibility!
* NEW: File.IsRelative() is a new method that returns if a file is 
  relative, i.e. if it does not starts with '/' or '~'.
  
[GB.FORM]
* NEW: The Stock class does not use the Picture cache anymore. It is 
  useless as normally the Stock class is accessed from the Picture[]
  method.

[GB.FORM.MDI]
* BUG: When browsing actions, do not try to load an icon for actions that
  do not have one.

[GB.GTK]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
  
[GB.GTK3]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
  
[GB.GUI.BASE]
* NEW: The Picture[] array accessor and the Picture.Flush() method are now 
  implemented in that component.
* NEW: Remove support for theme specific icons.
* NEW: Add support for right-to-left specific icons. For example, if an
  icon is named 'abc-ltr.png', then it will be considered as a 
  'left-to-right' icon, and the 'abc-rtl.png' icon will be used if the 
  current langauge is right-to-left written.
* NEW: Add support for dark theme specific icons. An icon named 
  'abc-dark.png' will be the dark theme version of the 'abc.png' icon.

[GB.QT4]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically 
  anymore.
  
[GB.QT5]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@7304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 23:21:44 +00:00
Tobias Boege
24e542b4c5 [GB.INOTIFY]
* BUG: (Bug 730) Don't pass NULL key and zero length to GB.HashTable.Remove()
* OPT: Use GB.StringLength() where possible



git-svn-id: svn://localhost/gambas/trunk@7303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 19:52:38 +00:00
Benoît Minisini
083e138e9f [DEVELOPMENT ENVIRONMENT]
* BUG: "F2" now correctly finds the definition of classes used as method or 
  array.


git-svn-id: svn://localhost/gambas/trunk@7302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 18:37:46 +00:00
Benoît Minisini
4c26b8485c [GB.FORM.EDITOR]
* BUG: TextEditor: Reset the cursor position before actually setting the 
  Text property, to avoid a possible crash.
  
[GB.GUI.BASE]
* NEW: ScrollArea: Ignore Style.ScrollBarSpacing when layouting scrollbars.


git-svn-id: svn://localhost/gambas/trunk@7301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 17:37:31 +00:00
Tobias Boege
360a13ddc9 [GB.INOTIFY]
* BUG: (Bug 730) Don't rely on GB.NewString() to NUL-terminate the string



git-svn-id: svn://localhost/gambas/trunk@7300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 17:09:08 +00:00
Benoît Minisini
57b1daf05d [GB.FORM.EDITOR]
* NEW: TextEditor: Some ANSI codes are taken into account by the Print() 
  method.
* OPT: TextEditor: Print() modifications are not put in the undo buffer.

[GB.QT4]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current 
  value.

[GB.QT5]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current 
  value.


git-svn-id: svn://localhost/gambas/trunk@7299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 15:57:55 +00:00
Benoît Minisini
8ecb0c50be [DEVELOPMENT ENVIRONMENT]
* BUG: Profile windows should not crash anymore when displaying percentage 
  values.


git-svn-id: svn://localhost/gambas/trunk@7298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-11 20:35:57 +00:00
Benoît Minisini
99c8a1a7c7 [DEVELOPMENT ENVIRONMENT]
* BUG: Code formating when saving does not prevent modification flag to 
  work anymore.
* NEW: Option dialog: Change the order of panels.
  
[GB.FORM.EDITOR]
* NEW: TextEditor: The Save() and Reset() methods now cancel any pending
  Change event.


git-svn-id: svn://localhost/gambas/trunk@7297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-11 03:02:58 +00:00
Benoît Minisini
1a36138620 [DEVELOPMENT ENVIRONMENT]
* BUG: The label of the check-box that adds the vendor prefix to the 
  package names is clearer now.


git-svn-id: svn://localhost/gambas/trunk@7296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-10 21:46:56 +00:00
Benoît Minisini
d8527fbfbf [GB.DBUS]
* NEW: DBus.IsRegistered() is a new method that returns if a specific 
  DBusObject has been registered to a bus.

[GB.DBUS.TRAYICON]
* BUG: Correctly export menus that are not visible.


git-svn-id: svn://localhost/gambas/trunk@7295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-10 21:38:52 +00:00
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
419a887d09 [GB.DBUS]
* BUG: Replace hyphens by dots in the entire interface names.


git-svn-id: svn://localhost/gambas/trunk@7293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-08 23:00:43 +00:00
Benoît Minisini
e1a17dfa09 [GB.DB.SQLITE3]
* BUG: Fix debug message printed when DB.Debug is set.


git-svn-id: svn://localhost/gambas/trunk@7292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-08 13:40:19 +00:00
Benoît Minisini
9c006fd0df [GB.DB.ODBC]
* NEW: Internal query routine is now similar to other database drivers.
  DB.Debug is taken into account, and prints all queries sent, and the 
  number of rows returned.


git-svn-id: svn://localhost/gambas/trunk@7291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-08 13:39:42 +00:00
Benoît Minisini
764a7a3960 [GB.DB.ODBC]
* NEW: Rewrite result allocation.


git-svn-id: svn://localhost/gambas/trunk@7290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-08 13:24:13 +00:00
Benoît Minisini
211054e73f [GB.DBUS]
* BUG: Replace hyphens by dots in normalized interface names. But allow 
  them in application names (as well as underscores).


git-svn-id: svn://localhost/gambas/trunk@7289 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-08 01:50:05 +00:00
Benoît Minisini
8304ddf53f [COMPILER]
* NEW: Take into account the "Use 'VERSION' file" project option to compute
  the actual version in the .startup file.


git-svn-id: svn://localhost/gambas/trunk@7288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-07 22:03:43 +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
807893eed8 [GB.QT4]
* BUG: Fix initial window screen again.

[GB.QT5]
* BUG: Fix initial window screen again.


git-svn-id: svn://localhost/gambas/trunk@7286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-07 00:30:33 +00:00
Benoît Minisini
70c569d138 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't define an initial position to the tips window.

[GB.QT4]
* BUG: Yes, initial screen of new windows needs to be fixed again.

[GB.QT5]
* BUG: Yes, initial screen of new windows needs to be fixed again.


git-svn-id: svn://localhost/gambas/trunk@7285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-07 00:01:00 +00:00
Benoît Minisini
ad812ae32e [GB.QT4]
* BUG: Guess what: continue fixing modal dialog initial screen...

[GB.QT5]
* BUG: Guess what: continue fixing modal dialog initial screen...


git-svn-id: svn://localhost/gambas/trunk@7284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 22:54:56 +00:00