Commit graph

4972 commits

Author SHA1 Message Date
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
Benoît Minisini
f2277feba4 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the procedure list instead of
  drawing a frame. It's better.
  

git-svn-id: svn://localhost/gambas/trunk@6978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-11 21:13:29 +00:00
Benoît Minisini
76b0d73d92 [DEVELOPMENT ENVIRONMENT]
* NEW: Make the current procedure more visible in the editor procedure 
  list.


git-svn-id: svn://localhost/gambas/trunk@6977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-11 21:10:29 +00:00
Benoît Minisini
678d793000 [GB.JIT]
* BUG: Ensure that llvm version is between 3.1 and 3.5, as llvm 3.6 JIT has 
  been replaced by a new one that is not compatible.


git-svn-id: svn://localhost/gambas/trunk@6976 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-11 01:30:55 +00:00
Benoît Minisini
9a8c4e961a [GB.FORM.STOCK]
* BUG: Fix 'development.svg' that had unknown SVG urls, and consequently 
  the "Could not resolve property" warnings displayed by the IDE.


git-svn-id: svn://localhost/gambas/trunk@6974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 14:48:32 +00:00
Benoît Minisini
e4ca1fe27c [GB.REPORT2]
* BUG: Fabien, stop deleting the '.component' file!


git-svn-id: svn://localhost/gambas/trunk@6972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 13:58:08 +00:00
Benoît Minisini
62cea47128 [DEVELOPMENT ENVIRONMENT]
* NEW: Make the IDE window maximized by default.
* NEW: Use the tawhid background in the about dialog.


git-svn-id: svn://localhost/gambas/trunk@6970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 13:28:43 +00:00
Benoît Minisini
789deb8b65 [CONFIGURATION]
* BUG: Forgot to package 'main/lib/gb.component' file.


git-svn-id: svn://localhost/gambas/trunk@6968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 12:27:08 +00:00
Benoît Minisini
97b2778fe1 [DEVELOPMENT ENVIRONMENT]
* BUG: Replace "Click there" by "Click here" in the welcome dialog.


git-svn-id: svn://localhost/gambas/trunk@6967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 12:08:18 +00:00
Benoît Minisini
6f513a2dac [GB.FORM]
* BUG: Completion: Don't crash when no row is selected in the completion 
  list.


git-svn-id: svn://localhost/gambas/trunk@6966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 10:38:08 +00:00
Fabien Bodard
ba4807828b [GB.REPORT2]
* OPT: Reduce the pages spacing


git-svn-id: svn://localhost/gambas/trunk@6965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-10 08:55:03 +00:00
Benoît Minisini
7d514ba286 [GB.FORM]
* NEW: ValueBox now raises a Change event when its content changes.
* OPT: DocumentView: Don't scale the document image before drawing it! It 
  is slow with gb.qt4, and slow as hell with gb.gtk. Use the scaling 
  feature of Paint.DrawImage().
* NEW: DocumentView: Use a lighter page shadow.

[GB.GTK3]
* BUG: SpinBox: Use a larger minimum width.


git-svn-id: svn://localhost/gambas/trunk@6963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 18:50:40 +00:00
Fabien Bodard
acf8d418d0 [EXAMPLES]
* OPT: Update google map version on MapView


git-svn-id: svn://localhost/gambas/trunk@6962 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 16:55:11 +00:00
Benoît Minisini
438800a393 [GB.GTK3]
* BUG: Correctly handle widget grabs, i.e. popups, modal dialogs...
* BUG: Read-only combo-boxes do not prevent windows to shrink vertically.
* NEW: ComboBox height can be smaller.
* BUG: SpinBox does not expand horizontally up to the right border of its 
  parent anymore.


git-svn-id: svn://localhost/gambas/trunk@6961 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 10:00:20 +00:00
Fabien Bodard
c4527ed63f [GB.SCANNER]
* NEW: In SCanners class the Search procedure replace the refresh and the 
  initscannerlist one.  It take an optional argument to wait or not the 
  search end. In ascyncronous mode the class raise a "Found Event" at the 
  end of the search. 
  


git-svn-id: svn://localhost/gambas/trunk@6960 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 21:12:44 +00:00
Benoît Minisini
c32912ff0e [GB.REPORT2]
* NEW: A few design changes in the preview dialog.


git-svn-id: svn://localhost/gambas/trunk@6959 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 17:01:36 +00:00
Fabien Bodard
35b34b7347 [GB.SCANNER]
* NEW: New function InitDeviceList to query explicitely a background
  initialisation.


git-svn-id: svn://localhost/gambas/trunk@6958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 16:47:09 +00:00