Commit graph

2196 commits

Author SHA1 Message Date
Benoît Minisini
669820173b [INTERPRETER]
* NEW: The constructor arguments must follow the inheritance order from top 
  to bottom, and not from bottom to top as before. This way, the 
  constructor of the bottom class can have optional arguments.


git-svn-id: svn://localhost/gambas/trunk@2448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 04:25:48 +00:00
Benoît Minisini
09ab2cb862 [DEVELOPMENT ENVIRONMENT]
* NEW: Display tables having a schema in a treeview.


git-svn-id: svn://localhost/gambas/trunk@2444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-28 02:17:54 +00:00
Benoît Minisini
71db2b5689 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix table creation and renaming dialog when checking if a table name 
  already exists.

[GB.DB]
* BUG: Table quoting works as expected now.

[GB.DB.POSTGRESQL]
* NEW: Now, if no schema is specified in a table name, the "public" schema 
  is used. Consequently, the schema must be specified, unless the table is
  in the "public" schema.


git-svn-id: svn://localhost/gambas/trunk@2443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-28 02:05:10 +00:00
Benoît Minisini
83d84d7ee5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the Index class interface changes.
* BUG: CSV import does not crash anymore when the imported file size is 
  lower than 64K.
* BUG: Do not crash if a component is not installed.

[INTERPRETER]
* BUG: Error.Text does not split the error message and its argument in 
  debug mode.
* BUG: Fix many breaks in strict aliasing rules.

[SCRIPTER]
* BUG: Do not crash if a component is not installed.

[GB.DB]
* NEW: Better support for postgresql schemas.
* NEW: Connection.Quote() takes one more optional boolean argument that 
  tells if we want to quote a table name. In that case, schemas are taken 
  into account.
* NEW: Connection.FormatBlob() is a new function that returns a string that 
  can be used as a blob contents in a SQL expression.
* NEW: Index.Fields now returns a string array of index fields.
* NEW: Index.Add() second argument is now a string array of index fields.


git-svn-id: svn://localhost/gambas/trunk@2442 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-28 01:22:00 +00:00
Benoît Minisini
8e49eeca38 [DEVELOPMENT ENVIRONMENT]
* BUG: Start dealing correctly with non-installed components.

[SCRIPTER]
* BUG: Start dealing correctly with non-installed components.


git-svn-id: svn://localhost/gambas/trunk@2439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-27 17:01:38 +00:00
Benoît Minisini
ab390c3410 [DEVELOPMENT ENVIRONMENT]
* BUG: Running a request now supports non-SELECT requests.
* BUG: Workaround for the DB.Quote() function that does not support 
  PostgreSQL schemas.

[GB.DB.FORM]
* BUG: The DataSource request is now really case unsensitive.
* NEW: Writing DataSource.Table property now raises an error when the 
  request fails.

[GB.DB.POSTGRESQL]
* NEW: Support for PostgreSQL schemas.


git-svn-id: svn://localhost/gambas/trunk@2438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 02:38:13 +00:00
Benoît Minisini
f85ba4aa52 [GB.DB]
* NEW: Allow points both in table and index names.


git-svn-id: svn://localhost/gambas/trunk@2437 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 00:26:26 +00:00
Benoît Minisini
eac6be9727 [GB.DB]
* NEW: Allow points in table names, so that postgresql schemas can be used.


git-svn-id: svn://localhost/gambas/trunk@2436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 00:21:37 +00:00
Benoît Minisini
26d402dc2a [COMPILER]
* BUG: A line was deleted by mistake in the previous commit.


git-svn-id: svn://localhost/gambas/trunk@2435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 19:18:38 +00:00
Benoît Minisini
4377e25e8d [COMPILER]
* BUG: Ensure that the .action project sub-directory is owned by the user 
  owning the project directory.


git-svn-id: svn://localhost/gambas/trunk@2434 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 19:16:39 +00:00
Benoît Minisini
c20f6d27cf [GB.NET.SMTP]
* BUG: ...and add a new one that is the LGPL 2.1.


git-svn-id: svn://localhost/gambas/trunk@2433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 19:09:32 +00:00
Benoît Minisini
bf5fdd8287 [GB.NET.SMTP]
* BUG: The COPYING file is actually the license. Remove it...


git-svn-id: svn://localhost/gambas/trunk@2432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 19:08:46 +00:00
Benoît Minisini
e2d2a26ab2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the look of big buttons in the welcome dialog.
* BUG: The IDE does not crash anymore in some cases when renaming a child 
  control, then its parent just after.


git-svn-id: svn://localhost/gambas/trunk@2430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 17:41:24 +00:00
Benoît Minisini
7404c88dda [DEVELOPMENT ENVIRONMENT]
* BUG: Handle the ByRef keyword correctly in method signatures.


git-svn-id: svn://localhost/gambas/trunk@2424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-16 22:11:03 +00:00
Benoît Minisini
b73debd6b9 [GB.GTK]
* BUG: Frame label inherits foreground color correctly.


git-svn-id: svn://localhost/gambas/trunk@2423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-15 14:47:28 +00:00
Benoît Minisini
585c82b49b [INTERPRETER]
* NEW: System.Error is a new property that returns the contents of the 
  "errno" variable, which is the error code returned by the last system 
  call.


git-svn-id: svn://localhost/gambas/trunk@2421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-15 14:13:52 +00:00
Benoît Minisini
77acecbca7 [DEVELOPMENT ENVIRONMENT]
* BUG: The make executable dialog options are correctly refreshed depending 
  on whether the project is a component or not.
* BUG: Removing a source file removes correctly the translation file from 
  version control too now.

[EXAMPLES]
* BUG: The hour hand follows the minutes now in the Clock example.

[INTERPRETER]
* BUG: The thousand separator is only printed between digits now.

[GB.QT4]
* BUG: Fix the definition of TabStrip properties.

[GB.GTK]
* BUG: Fix the definition of TabStrip properties.


git-svn-id: svn://localhost/gambas/trunk@2420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-15 13:53:37 +00:00
Benoît Minisini
f56c5e6e48 [DEVELOPMENT ENVIRONMENT]
* BUG: Inheritance is correctly detected now when you put comments on the 
  "INHERITS" line.

[WIKI CGI SCRIPT]
* BUG: Fix language flag links for component pages.

[GB.GTK]
* BUG: Control.Reparent() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-14 12:20:35 +00:00
Fabien Bodard
e922f76f32 [GB.CHART]
* BUG: Now the gb.chart is structured as a gambas3 source.
 It does not make gbi3 crash anymore, neither IDE


git-svn-id: svn://localhost/gambas/trunk@2417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-13 21:22:12 +00:00
Fabien Bodard
1c58eac6af [GB.REPORT]
* BUG: Now the gb.report is structured as a gambas3 source.
 It does not make gbi3 crash anymore, neither IDE


git-svn-id: svn://localhost/gambas/trunk@2416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-13 15:16:44 +00:00
Fabien Bodard
0b0df86bc6 [GB.QT4]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.

[GB.GTK]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.



git-svn-id: svn://localhost/gambas/trunk@2415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-10 13:41:32 +00:00
Benoît Minisini
21ae742c1d [GB.GTK]
* BUG: Disable GDK native windows on GTK+ 2.18. It makes gb.gtk fail in 
  many places.


git-svn-id: svn://localhost/gambas/trunk@2411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-04 18:16:35 +00:00
Benoît Minisini
396c62a94c [DEVELOPMENT ENVIRONMENT]
* NEW: Print the default value of optional arguments in method signatures.


git-svn-id: svn://localhost/gambas/trunk@2410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-04 15:03:08 +00:00
Benoît Minisini
66cc0094a3 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not use the main window for displaying error when a project 
  cannot be opened.


git-svn-id: svn://localhost/gambas/trunk@2407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-02 18:13:58 +00:00
David Villalobos Cambronero
c42af51b8d [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-02 15:35:50 +00:00
Benoît Minisini
21090a933b [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for Ukrainian language.

[GB.FORM]
* NEW: The ColorChooser has a new toggle button to enable the grid when 
  selecting a color. The SHIFT key has the same effect.


git-svn-id: svn://localhost/gambas/trunk@2404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-01 14:20:58 +00:00
Benoît Minisini
b2c058cc8f [DEVELOPMENT ENVIRONMENT]
* NEW: There is now a button to recall the last written description when 
  doing a commit.


git-svn-id: svn://localhost/gambas/trunk@2403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-01 14:18:19 +00:00
Benoît Minisini
653c870e51 * IDE subversion test
git-svn-id: svn://localhost/gambas/trunk@2402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-01 14:10:40 +00:00
Benoît Minisini
ac8e6dcce7 [SCRIPTER]
* BUG: The scripter compiles correctly again.

[GB.GTK]
* BUG: Fix the behaviour of ComboBox, so that it behaves the same way as 
  in gb.qt.
* BUG: TextBox.Insert() correctly deletes the selected text before 
  inserting the new one.


git-svn-id: svn://localhost/gambas/trunk@2396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-19 13:36:56 +00:00
Benoît Minisini
afef1f3472 [GB.QT4]
* BUG: Fix the crash after menu deletion.
* BUG: The menu bar is visible in all cases now the first time it is shown.


git-svn-id: svn://localhost/gambas/trunk@2395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-19 13:34:21 +00:00
Benoît Minisini
25c43c72c4 [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation updated.

[INTERPRETER]
* BUG: Stopping watching a file descriptor inside a watching callback does 
  not crash the interpreter event loop anymore.

[GB.GTK]
* BUG: Do not crash when there is a keyboard event and no active control.
* BUG: Using the quality argument when saving a picture or an image does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-12 10:38:35 +00:00
David Villalobos Cambronero
4cd6305871 [GB.MYSQL]
* NEW: Raise an error when the set is empty in the _Result.Create method.

git-svn-id: svn://localhost/gambas/trunk@2387 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-05 17:12:52 +00:00
David Villalobos Cambronero
feb6561e40 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-05 14:34:47 +00:00
Benoît Minisini
1a73e9a4dd [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation made by Alexandros Prekates.
* BUG: Non-versioned files or directories are not locked anymore so that 
  you can add it to the repository.

[INTERPRETER]
* BUG: Non-integer constants are correctly optimized and keep their 
  datatype.

[COMPILER]
* BUG: Non-integer constants are correctly compiled and keep their 
  datatype.


git-svn-id: svn://localhost/gambas/trunk@2385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-04 23:32:14 +00:00
Laurent Carlier
91f3527a2c [GB.SDL]
* BUG: Fix potential problem in storage with the window title.



git-svn-id: svn://localhost/gambas/trunk@2382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-04 14:11:41 +00:00
David Villalobos Cambronero
342b4ce5c5 [GB.MYSQL]
* NEW: Added the _Result class to handle some resultsets.

git-svn-id: svn://localhost/gambas/trunk@2381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-02 19:22:42 +00:00
Benoît Minisini
ba9d887183 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the file information dialog layout.
* BUG: Renaming data files does not crash the IDE anymore.
* BUG: Status of renamed versioned directories is now correctly updated.


git-svn-id: svn://localhost/gambas/trunk@2380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 23:54:14 +00:00
Benoît Minisini
ee3aded03d * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 23:06:09 +00:00
Benoît Minisini
bfcd4c006c * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 23:04:34 +00:00
Benoît Minisini
8a1563018d * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 22:53:58 +00:00
Benoît Minisini
14feeaf203 * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 22:51:03 +00:00
Benoît Minisini
3a30787a75 Subversion test
git-svn-id: svn://localhost/gambas/trunk@2375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 22:48:50 +00:00
Benoît Minisini
57a1329721 Subversion test
git-svn-id: svn://localhost/gambas/trunk@2374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 22:45:08 +00:00
Benoît Minisini
443f820d38 [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion works again as before.
* BUG: Translation statistics are correctly refreshed if you open the 
  translation dialog twice.
* BUG: French translation of compiler error messages are back.
* NEW: Project files that are not handled by subversion are automatically 
  detected now, and a menu allows to add them manually.

[GB.FORM]
* BUG: DirView works again when displaying the file system root.

[GB.INFO]
* BUG: Fix the use of the old Open syntax.


git-svn-id: svn://localhost/gambas/trunk@2368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-28 22:58:23 +00:00
Benoît Minisini
f9b3db1ca3 * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-27 23:32:15 +00:00
Benoît Minisini
d35c59c763 [COMPILER]
* NEW: The Begins and Ends operator of course.
* BUG: Fix a crash when compiling a line beginning with the Read instruction.


git-svn-id: svn://localhost/gambas/trunk@2366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-27 10:34:39 +00:00
Benoît Minisini
c17951fcd3 [DEVELOPMENT ENVIRONMENT]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[INTERPRETER]
* BUG: The &/ operator keeps only one slash if both the last character of 
  the left string and the first character of the right string is a slash.
* NEW: 'Begins' is a new string operator that checks if the beginning of a 
  string is equal to another string.
* NEW: 'Ends' is a new string operator that checks if the end of a string 
  is equal to another string.
* BUG: Errors raised by Eval() are correctly displayed again.
* NEW: The 'Like' operator has a new pattern: '{x,y,...}' tests if a 
  string matches one of the strings between square brackets, each one being
  separated by a comma.

[GB.DB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.DESKTOP]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.GTK]
* BUG: Modal windows do not block mouse, keyboard, enter and leave events 
  anymore.

[GB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.FORM.MDI]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.WEB]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.


git-svn-id: svn://localhost/gambas/trunk@2365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-27 09:28:52 +00:00
Benoît Minisini
96f8498e5b [DEVELOPMENT ENVIRONMENT]
* BUG: CTRL+V now works correctly in the console.


git-svn-id: svn://localhost/gambas/trunk@2364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-26 20:35:35 +00:00
David Villalobos Cambronero
580d59084a [DEVELOPMENT ENVIROMENT]
* NEW: Spanis translation updated.

git-svn-id: svn://localhost/gambas/trunk@2361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 20:49:18 +00:00
Benoît Minisini
0f7bc5c258 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the interaction between subversion and directory renaming or 
  moving. Now deleted or renamed folders that are not committed are now 
  locked.
* NEW: Some message boxes related to file operations were replaced by 
  balloons.
* BUG: Fix a bug when renaming a source directory.

[INTERPRETER]
* BUG: Errors raised by components are correctly displayed again.


git-svn-id: svn://localhost/gambas/trunk@2360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 19:56:26 +00:00