Commit graph

5158 commits

Author SHA1 Message Date
Benoît Minisini
f40a9f1054 [GB.QT4]
* BUG: Continue fixing modal dialog initial screen...

[GB.QT5]
* BUG: Continue fixing modal dialog initial screen...


git-svn-id: svn://localhost/gambas/trunk@7283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 22:34:17 +00:00
Benoît Minisini
e2dd8969a3 [GB.GTK]
* BUG: Remove the Screens.Primary property, it is useless (it is always 0).

[GB.GTK3]
* BUG: Remove the Screens.Primary property, it is useless (it is always 0).


[GB.QT4]
* BUG: Continue fixing modal dialog initial screen.
* BUG: Remove the Screens.Primary property, it is useless (it is always 0).

[GB.QT5]
* BUG: Continue fixing modal dialog initial screen.
* BUG: Remove the Screens.Primary property, it is useless (it is always 0).


git-svn-id: svn://localhost/gambas/trunk@7282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 18:16:12 +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
2429c746c0 [GB.QT4]
* BUG: Raise an error when calling Screen[] with an incorrect index.
* BUG: Fix modal dialog initial screen again.

[GB.QT5]
* BUG: Raise an error when calling Screen[] with an incorrect index.
* BUG: Fix modal dialog initial screen again.


git-svn-id: svn://localhost/gambas/trunk@7280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 14:10:57 +00:00
Benoît Minisini
29306e8476 [GB.QT4]
* BUG: Modal dialogs now should be centered in the screen of their parent 
  window, not always in the main screen anymore.

[GB.QT5]
* BUG: Modal dialogs now should be centered in the screen of their parent 
  window, not always in the main screen anymore.


git-svn-id: svn://localhost/gambas/trunk@7279 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 13:19:46 +00:00
Benoît Minisini
c284885cb9 [GB.EVAL]
* BUG: Now lines of any length can be highlighted.


git-svn-id: svn://localhost/gambas/trunk@7278 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 12:36:33 +00:00
Benoît Minisini
1fc74bd056 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix dutch translation.
* BUG: The search result list should be correctly hidden and shown when
  being refreshed now.


git-svn-id: svn://localhost/gambas/trunk@7277 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-05 19:55:15 +00:00
Benoît Minisini
631c2477f6 [GB.GTK]
* BUG: No GTK+ warning message anymore when a TextArea or TextBox gets the 
  focus using some input methods.

[GB.GTK3]
* BUG: No GTK+ warning message anymore when a TextArea or TextBox gets the 
  focus using some input methods.


git-svn-id: svn://localhost/gambas/trunk@7273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-05 16:00:54 +00:00
Benoît Minisini
29ce64375f [GB.GTK]
* BUG: TextArea.Paste() and CTRL+V works correctly now.

[GB.GTK3]
* BUG: TextArea.Paste() and CTRL+V works correctly now.



git-svn-id: svn://localhost/gambas/trunk@7272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-05 15:45:31 +00:00
Benoît Minisini
dd102da9b6 [WEBSITE MAKER]
* NEW: Finally update the Gambas developer list.


git-svn-id: svn://localhost/gambas/trunk@7268 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-03 12:35:45 +00:00
Benoît Minisini
dc2f6ad99a [GB.DB.ODBC]
* BUG: Allow the Connection Host and User properties to be NULL.
* BUG: Some other little fixes.

git-svn-id: svn://localhost/gambas/trunk@7267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-03 12:18:11 +00:00
Benoît Minisini
8c063cd280 [GB.DB.ODBC]
* NEW: Allow the Connection.Host property to be a full ODBC connection 
  string.


git-svn-id: svn://localhost/gambas/trunk@7266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-03 12:05:49 +00:00
Benoît Minisini
0e01e97c33 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Fix autotools packager.


git-svn-id: svn://localhost/gambas/trunk@7265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-03 11:43:38 +00:00
Benoît Minisini
8d5317452a * Fake commit for r7251.
[INTERPRETER]
* BUG: GB.SubstString() API now can take a void substitution string. It 
  returns NULL instead of doing a segfault. Consequently, 
  RegExp.Replace() from gb.pcre can take a null replace string without 
  crashing.


git-svn-id: svn://localhost/gambas/trunk@7261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-01 23:25:20 +00:00
Benoît Minisini
8ad98f6207 [GB.QT4]
* NEW: Breeze widget theme patch to fix its bugs on small TextBox, ComboBox 
  and SpinBox controls.

[GB.QT5]
* NEW: Breeze widget theme patch to fix its bugs on small TextBox, ComboBox 
  and SpinBox controls.


git-svn-id: svn://localhost/gambas/trunk@7259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-01 02:47:09 +00:00
Benoît Minisini
9c04684084 [INTERPRETER]
* BUG: Debugger: Displaying a dynamic variable in a static context does not
  crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 14:39: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
Benoît Minisini
41657b6e30 [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@7256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 13:18:03 +00:00
Benoît Minisini
467fcc820b [DEVELOPMENT ENVIROMENT]
* NEW: Packager: Support for a vendor prefix shortcut, that is used in the 
  package name instead of the vendor full name.
* NEW: Packager: Now package names are normalized for each distribution.
  Now all non alphanumeric characters are replaced by an hyphen, but this
  can be changed independently of the distribution if needed.


git-svn-id: svn://localhost/gambas/trunk@7255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 13:17:13 +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
9fd5ea4ad7 [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: The image information label is now 50% transparent.
* BUG: Image editor: The information label is correctly refreshed when 
  zooming in or zooming out.


git-svn-id: svn://localhost/gambas/trunk@7252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-30 00:58:16 +00:00
Benoît Minisini
b8eaa08cf3 git-svn-id: svn://localhost/gambas/trunk@7251 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2015-08-30 00:56:56 +00:00
Benoît Minisini
28267f5cde [DEVELOPMENT ENVIRONMENT]
* NEW: Better trust the interpreter instead of the compiler for getting the 
  full version with the SVN revision.
* NEW: Do not display the SVN revision anymore in the welcome dialog. Only 
  in the system information.


git-svn-id: svn://localhost/gambas/trunk@7250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-29 23:50:50 +00:00
Charlie Reinl
1d3f035c38 [DEVELOPMENT ENVIRONMENT]
* BUG: bad comparison, now make the good one


git-svn-id: svn://localhost/gambas/trunk@7249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-29 18:23:04 +00:00
Charlie Reinl
efa38ac0d3 [DEVELOPMENT ENVIRONMENT]
* BUG: missed a comparison


git-svn-id: svn://localhost/gambas/trunk@7248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-29 17:50:07 +00:00
Charlie Reinl
9a1e1a4191 [DEVELOPMENT ENVIRONMENT]
* OPT: InitVersion : getting whole Version infos from the Compiler, it knows about the real used revision, if any



git-svn-id: svn://localhost/gambas/trunk@7247 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-29 17:38:40 +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
e8bf3d7b39 [DEVELOPMENT ENVIRONMENT]
* NEW: The packager now can create a package for a component project 
  whatever the name of the project. It will internally prefix the project 
  name with the vendor name if needed.


git-svn-id: svn://localhost/gambas/trunk@7245 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-28 22:59:07 +00:00
Benoît Minisini
98a31d1bc6 [INTERPRETER]
* BUG: New routine to compute the localized time/date formats and 
  separators.


git-svn-id: svn://localhost/gambas/trunk@7244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-27 17:18:59 +00:00
Benoît Minisini
e05dffd530 [DEVELOPMENT ENVIRONMENT]
* BUG: Color chooser does not crash anymore when the project does not use
  any GUI component.


git-svn-id: svn://localhost/gambas/trunk@7243 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-26 22:24:42 +00:00
Benoît Minisini
d46004d1fe [DEVELOPMENT ENVIRONMENT]
* BUG: Comment, uncomment, indent and unindent now work as expected if the
  text has been selected from bottom to top.


git-svn-id: svn://localhost/gambas/trunk@7242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-26 16:30:06 +00:00
Benoît Minisini
2c312b8551 [GB.QT4]
* BUG: Correctly initialize window properties when showing it in all cases.


git-svn-id: svn://localhost/gambas/trunk@7241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-25 23:17:38 +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
9c033b4860 [GB.GTK]
* BUG: Fix a uninitialized variable that can lead to a crash when creating
  a window.

[GB.GTK3]
* BUG: Fix a uninitialized variable that can lead to a crash when creating
  a window.


git-svn-id: svn://localhost/gambas/trunk@7237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-25 12:57:03 +00:00
Benoît Minisini
0ed5209b0b [GB.QT4]
* BUG: Revert change from r7227 to see if it fixes Karl Reinl's problems.


git-svn-id: svn://localhost/gambas/trunk@7236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-24 20:56:20 +00:00
Benoît Minisini
af9ea5dd82 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the welcome dialog fix.
* BUG: Fix the welcome dialog layout.
* NEW: System information is now always anonymous.


git-svn-id: svn://localhost/gambas/trunk@7235 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-24 17:37:14 +00:00
Charlie Reinl
fab11f0653 [DEVELOPMENT ENVIRONMENT]
* BUG: Recent Projects use the saved sort order now
* NEW: SystemInfo can be make anonymous 
* ADD: Revision to Gambas Version (if found in gba3)



git-svn-id: svn://localhost/gambas/trunk@7234 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-24 11:34:02 +00:00
Benoît Minisini
5a99bd0f7b [INTERPRETER]
* BUG: Fix multi-dimensional arrays size check.


git-svn-id: svn://localhost/gambas/trunk@7233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-22 11:04:14 +00:00
Benoît Minisini
eaf08bce5e [INTERPRETER]
* BUG: Correctly detect too large arrays.
* BUG: Array allocation incrementation now cannot be larger then 256 slots.


git-svn-id: svn://localhost/gambas/trunk@7232 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-21 18:49:33 +00:00
Benoît Minisini
48615ab311 [INTERPRETER]
* BUG: Array.Resize() now correctly raises an error if its argument is
  negative.


git-svn-id: svn://localhost/gambas/trunk@7231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-21 00:40:14 +00:00
Benoît Minisini
a9e1b8eb48 [GB.DB.SQLITE3]
* BUG: Interpret unknown SQL datatypes as "String" instead of using 
  garbage.


git-svn-id: svn://localhost/gambas/trunk@7230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-20 13:36:17 +00:00
Benoît Minisini
3818ea749e [GB.DB.MYSQL]
* BUG: USe the MySQL documentation trick to make the difference between a
  blob field and a text field. This should work far better than using the
  "max_length" value returned by the MySQL API that seems to randomly 
  change between MySQL versions.


git-svn-id: svn://localhost/gambas/trunk@7229 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-19 22:33:20 +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
3b82e9aaf1 [GB.QT4]
* BUG: Workaround a race condition in X11 which prevents window attributes
  from being correctly set when setting a child DrawingArea's background
  color right afterwards.

git-svn-id: svn://localhost/gambas/trunk@7227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-16 19:31:41 +00:00
Adrien Prokopowicz
784047e199 [GB.XML]
* BUG: Fix attribute initialization method.

git-svn-id: svn://localhost/gambas/trunk@7226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-15 21:32:33 +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
0a8f1d9072 [INTERPRETER]
* BUG: Fix DateDiff() day comparison when comparing two dates with 
  different times.

git-svn-id: svn://localhost/gambas/trunk@7224 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-14 09:57:54 +00:00
Adrien Prokopowicz
a327fcb807 [GB.XML]
* BUG: Document: Fixed a memory leak when the instanciation failed due to
  a parsing exception.
* BUG: XmlElement: Internally setting an attribute with a NULL value does
  not crash anymore.
* BUG: Encountering a never-ended attribute does not crash the parser 
  anymore.
* OPT: Optimized parser cleanup when an exception is thrown.

[GB.XML.HTML]
* BUG: Encountering a never-ended attribute does not crash the parser 
  anymore.

git-svn-id: svn://localhost/gambas/trunk@7223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-14 08:34:56 +00:00