Commit graph

5388 commits

Author SHA1 Message Date
Benoît Minisini
3164e3010c [GB.FORM]
* BUG: DateBox now works correctly with countries using the same separator 
  for date and time, like Finnish.


git-svn-id: svn://localhost/gambas/trunk@7040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-17 22:08:31 +00:00
Benoît Minisini
9180e0b643 [GB.SIGNAL]
* BUG: Raise an error instead of panicking when trying to catch the SIGKILL 
  or SIGSTOP signal.


git-svn-id: svn://localhost/gambas/trunk@7039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-15 17:17:50 +00:00
Benoît Minisini
5005639874 [GB.FORM]
* BUG: ValueBox: The Change event is now raised correctly for numeric type.
* NEW: Balloon: Do not take focus when being shown.
* BUG: IconPanel: When the Count property is increased, new tabs are 
  correctly visible.


git-svn-id: svn://localhost/gambas/trunk@7038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-15 17:06:45 +00:00
Benoît Minisini
69bce4459d [GB.GUI.BASE]
* BUG: Action: Support for CheckBox controls.
* BUG: GridView: Prevent a possible crash while drawing.


git-svn-id: svn://localhost/gambas/trunk@7037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-15 05:24:24 +00:00
Benoît Minisini
d87c0668cb [INTERPRETER]
* BUG: Don't crash if a regular expression has a missing closing '}'.


git-svn-id: svn://localhost/gambas/trunk@7036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-13 17:04:43 +00:00
Benoît Minisini
3f408736c7 [GB.FORM]
* NEW: Some little changes in DateChooser look.


git-svn-id: svn://localhost/gambas/trunk@7035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:36:36 +00:00
Benoît Minisini
334e22f829 [GB.QT4]
* BUG: ComboBox background and foreground are now correctly taken into 
  account both in read-only and editable modes.


git-svn-id: svn://localhost/gambas/trunk@7034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:35:10 +00:00
Benoît Minisini
49d73625d5 [GB.QT4.EXT]
* NEW: Fixes and enhancements in the ANSI escape sequences management of 
  the Editor.Print() method.


git-svn-id: svn://localhost/gambas/trunk@7033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:33:42 +00:00
Benoît Minisini
a572c6b9d1 [GB.GTK]
* NEW: The local Stock class has been deprecated. GTK+ stock icons are not 
  accessible anymore.

[GB.GTK3]
* NEW: The local Stock class has been deprecated. Deprecated GTK+ stock 
  icons are not accessible anymore.
* BUG: Fix warnings by not using deprecated functions. Only 
  GtkImageMenuItem is kept, because I didn't found a workaround yet of 
  GTK+3 dropping icons in menus!


git-svn-id: svn://localhost/gambas/trunk@7032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:29:18 +00:00
Benoît Minisini
5baccc0ea6 [GB.CAIRO]
* BUG: Release the drawing pattern after destroying the drawing context, 
  because finishing the drawing may need it.


git-svn-id: svn://localhost/gambas/trunk@7031 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 21:47:40 +00:00
Benoît Minisini
cdb66560d8 [GB.UTIL]
* BUG: Fix the signature of public methods.
* NEW: Shell.RmDir() now prevents the deletion of the home and any top-
  level directories. A new 'Force' optional argument allows to bypass that 
  security.


git-svn-id: svn://localhost/gambas/trunk@7030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:43:43 +00:00
Benoît Minisini
79a28bfc26 [WIKI CGI SCRIPT]
* BUG: Correctly handle class reimplementation thorugh different 
  components.
* BUG: Fix singature of '_new' methods.
* NEW: Add tooltips for all special methods.


git-svn-id: svn://localhost/gambas/trunk@7029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:41:38 +00:00
Benoît Minisini
68b44320b8 [DEVELOPMENT ENVIRONMENT]
* NEW: The output console now uses overwrite editor mode, and always 
  displays its cursor.


git-svn-id: svn://localhost/gambas/trunk@7028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:38:57 +00:00
Benoît Minisini
38c2a48fc7 [GB.DB]
* BUG: Fix a memory leak in the Connection.Delete() method.


git-svn-id: svn://localhost/gambas/trunk@7027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:37:24 +00:00
Benoît Minisini
cb940b1879 [GB.QT4.EXT]
* NEW: Editor.Print() now supports some ANSI escape sequences.
* NEW: Editor.Overwrite is a new property that defines the editor insertion 
  mode.


git-svn-id: svn://localhost/gambas/trunk@7026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:35:35 +00:00
Fabien Bodard
59d844ef5e [GB.REPORT2]
* BUG: Add gb.gui.base in the requirement. And remove gb.gui


git-svn-id: svn://localhost/gambas/trunk@7025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-08 17:47:23 +00:00
Benoît Minisini
c1b219286d [GB.DB.POSTGRESQL]
* NEW: Support for materialized views.


git-svn-id: svn://localhost/gambas/trunk@7024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-08 10:33:10 +00:00
Benoît Minisini
0f0f6ece42 [DEVELOPMENT ENVIRONMENT]
* BUG: Hide the help panel in automatic completion when we are not editing 
  source code.


git-svn-id: svn://localhost/gambas/trunk@7023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-06 22:15:24 +00:00
Fabien Bodard
c76a3d7b48 [GB.REPORT2]
* BUG: Correct the bug on Align.none alignment mode.



git-svn-id: svn://localhost/gambas/trunk@7022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-06 21:53:19 +00:00
Benoît Minisini
f1f3ae71c5 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a "Remember database structure" checkbox in the connection 
  properties dialog. The IDE will dump the database structure into a 
  template file only if this checkbox is checked. It won't do that all the
  time anymore.

[WIKI CGI SCRIPT]
* NEW: Add tooltips on class symbols list.

[GB.FORM]
* BUG: ButtonBox: Setting the Button property now correctly refreshes the
  control.


git-svn-id: svn://localhost/gambas/trunk@7021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-06 18:36:39 +00:00
Benoît Minisini
706648c7c8 [WEBSITE MAKER]
* NEW: Upgrade to 3.7.1 version.

[GB.DB]
* NEW: Connection.SQL is a new property that returns a new SQLRequest 
  object that can be used for forging a SQL request whose syntax is adapted
  to the target connection.
* NEW: SQLRequest is a new class that helps to build a SQL request whose 
  syntax is adapted to a specific connection. The name of table fields are 
  always quoted so that they can include reserved characters.

[GB.DB.FORM]
* NEW: Use the new SQL property of the Connection object to build request.
* BUG: Fields with special characters in their name are now correctly
  quoted, thanks to the new SQL forgin mechanism.

[GB.DB]
* BUG: Don't crash when a SQLite database is not found and if the hostname 
  is null.
* NEW: GB_DB_DEBUG is a new environmental variable that allows to 
  externally set the DB.Debug property.
  
[GB.EVAL.HIGHLIGHT]
* NEW: SQL higlighting: the '`' quote character is taken into account now.


git-svn-id: svn://localhost/gambas/trunk@7020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-03 21:11:18 +00:00
Fabien Bodard
1684557643 [GB.FORM]
* NEW: Add support for RightToLeft mode in DocumentView.



git-svn-id: svn://localhost/gambas/trunk@7019 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-03 08:25:13 +00:00
Benoît Minisini
ffff20444b [GB.DB.MYSQL]
* BUG: Blob fields and unlimited text fields should be detected correctly 
  in all cases now.


git-svn-id: svn://localhost/gambas/trunk@7018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-03 01:30:54 +00:00
Benoît Minisini
2f3bccafe2 [GB.DB.SQLITE3]
* BUG: Forgot to add two files.


git-svn-id: svn://localhost/gambas/trunk@7017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-30 00:06:57 +00:00
Benoît Minisini
5b5bb093e7 [GB.DB.SQLITE3]
* NEW: Rewrite the SQLite 3 driver. Get rid of all that brain-fucking C++ 
  code. Things should consume less memory, and may be a little bit faster.


git-svn-id: svn://localhost/gambas/trunk@7016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-29 23:22:11 +00:00
Benoît Minisini
6b5030a2f1 [DEVELOPMENT ENVIRONMENT]
* BUG: Replace "run that ..." by "run this ...".


git-svn-id: svn://localhost/gambas/trunk@7015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-29 14:21:20 +00:00
Benoît Minisini
40983f5346 [DEVELOPMENT ENVIRONMENT]
* BUG: Software is always a singular word.


git-svn-id: svn://localhost/gambas/trunk@7014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-29 14:18:00 +00:00
Fabien Bodard
9bf81abae2 [GB.REPORT2]
* NEW: Setup component requirement.


git-svn-id: svn://localhost/gambas/trunk@7010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-29 11:29:59 +00:00
Benoît Minisini
1b82ffd2b8 [DEVELOPMENT ENVIRONMENT]
* NEW: Always center the farm client window.
* BUG: Removing a connection now removes the template file too.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-28 21:03:00 +00:00
Benoît Minisini
85329c4663 [GB.REPORT2]
* BUG: Refresh the print button icon correctly.


git-svn-id: svn://localhost/gambas/trunk@7008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-28 21:00:40 +00:00
Benoît Minisini
7dae6298bc [GB.GTK]
* BUG: Fix a crash when calling Dialog.SaveFile() with a void Dialog.Path.
* BUG: TextBox: Setting the Pos property during a KeyPress event now works
  in all cases.

[GB.GTK3]
* BUG: Fix a crash when calling Dialog.SaveFile() with a void Dialog.Path.
* BUG: TextBox: Setting the Pos property during a KeyPress event now works
  in all cases.


git-svn-id: svn://localhost/gambas/trunk@7007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-28 20:42:30 +00:00
Benoît Minisini
cc36567d59 [GB.DB.SQLITE3]
* BUG: Detect primary key only with 'table_info' pragma. Consequently, 
  fields declared as "INTEGER" will not be incorreclty taken as a default 
  primary key anymore.


git-svn-id: svn://localhost/gambas/trunk@7003 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-28 11:37:10 +00:00
Fabien Bodard
a9652ac90f [GB.REPORT2]
* BUG: Change Image.Gray() deprecated for Image.Desaturate()


git-svn-id: svn://localhost/gambas/trunk@7002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-26 21:49:27 +00:00
Fabien Bodard
e7894e5795 [GB.REPORT2]
* BUG: Restore the report scaling after drawing in the DocumentView. 


git-svn-id: svn://localhost/gambas/trunk@7001 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-26 21:33:57 +00:00
Benoît Minisini
980d9cc8e9 [GB.DB.MYSQL]
* BUG: Don't crash when removing something from the metadata cache.


git-svn-id: svn://localhost/gambas/trunk@7000 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-25 20:53:20 +00:00
Benoît Minisini
5e61920b65 [DEVELOPMENT ENVIRONMENT]
* NEW: Add an 'Installed softwares' button in the welcome dialog.


git-svn-id: svn://localhost/gambas/trunk@6999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-24 15:45:36 +00:00
Benoît Minisini
94b7f54943 [DEVELOPMENT ENVIRONMENT]
* BUG: Create the example directory if it does not exist when installing a 
  non-example software having the 'example' tag.


git-svn-id: svn://localhost/gambas/trunk@6998 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-24 15:26:01 +00:00
Benoît Minisini
6db6ea879a [INTERPRETER]
* BUG: Shell$() now quotes quotes correctly.


git-svn-id: svn://localhost/gambas/trunk@6997 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-22 12:12:23 +00:00
Fabien Bodard
7423a6908f [GB.REPORT2]
* BUG: Remove a bug on drawing grayscale preview in ReportView.


git-svn-id: svn://localhost/gambas/trunk@6996 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-21 17:19:12 +00:00
Benoît Minisini
bd4f4931af [INTERPRETER]
* BUG: Do not read ahead file descriptors ready to read opened using the 
  ".xx" special name.


git-svn-id: svn://localhost/gambas/trunk@6995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-20 06:48:04 +00:00
Benoît Minisini
3de004cff2 [INTERPRETER]
* BUG: Do not read ahead a ready to read file descriptor if we are in 
  direct mode and if the file is a not a regular file.


git-svn-id: svn://localhost/gambas/trunk@6994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-19 23:23:47 +00:00
Benoît Minisini
0fbfdf5757 [INTERPRETER]
* BUG: Stream read ahead does not have to wait for the descriptor to be 
  ready for reading.


git-svn-id: svn://localhost/gambas/trunk@6993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-19 13:50:35 +00:00
Benoît Minisini
855cd1218c [GB.DRAW]
* BUG: Fix Paint text method signatures.


git-svn-id: svn://localhost/gambas/trunk@6990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-15 15:17:31 +00:00
Benoît Minisini
9dad02d668 [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Add rectangle roundness option.
* BUG: Image editor: Text selection does not anchor to itself anymore.
* BUG: Image editor: Text is now really centered.
* NEW: Image editor: Hide options that are useless to the current tool.


git-svn-id: svn://localhost/gambas/trunk@6989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-15 15:16:52 +00:00
Benoît Minisini
edd0eb77f1 [CONFIGURATION]
* NEW: Switch to version 3.7.90.


git-svn-id: svn://localhost/gambas/trunk@6988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-15 04:28:57 +00:00
Benoît Minisini
c81e550df2 [CONFIGURATION]
* BUG: Do not use the AC_LIBLTDL_CONVENIENCE macro. It is deprecated and
  now useless.

[DEVELOPMENT ENVIRONMENT]
* OPT: Farm client: Load the SoftwareBox information only when it is 
  actually displayed.
  
[WEBSITE MAKER]
* NEW: Switch to 3.7.0 version.

[GB.FORM]
* NEW: Completion: The poup list now follows its top-level window when it 
  moves.


git-svn-id: svn://localhost/gambas/trunk@6987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-14 20:10:05 +00:00
Benoît Minisini
6325d9a766 [GB.FORM]
* BUG: MaskBox: Setting the Mask property now clears the text only if it 
  does not match the new mask. That allows the IDE to define the initial
  value of the Text property.
* NEW: MaskBox: The Clear() method now takes the focus into account.

git-svn-id: svn://localhost/gambas/trunk@6984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-13 23:59:04 +00:00
Benoît Minisini
04c165250d [DEVELOPMENT ENVIRONMENT]
* BUG: Default IDE window size should be big enough now.


git-svn-id: svn://localhost/gambas/trunk@6983 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-13 21:24:51 +00:00
Benoît Minisini
59f1c91db0 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Don't show the name of the control in buttons if a 
  picture is defined.
* BUG: Correctly refresh the icons everywhere when the startup class is 
  changed.


git-svn-id: svn://localhost/gambas/trunk@6981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-12 08:47:57 +00:00
Benoît Minisini
f56439725e [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: When inserting a control, show the name of the control 
  without setting the Text property.
* BUG: Form editor: Undo is not broken anymore by the popup menu capturing 
  the MouseUp event.
* BUG: Form editor: when dropping a control from the toolbox, the position
  of the mouse cursor now gives the center of the control, not its top-left
  corner. It prevents the drop to be ignored when it occurs on the gray
  d&d frame!
* BUG: Don't maximize the IDE window by default anymore.


git-svn-id: svn://localhost/gambas/trunk@6980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-12 07:32:32 +00:00