Commit graph

774 commits

Author SHA1 Message Date
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
Benoît Minisini
abef56c70a * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 02:13:24 +00:00
Benoît Minisini
43f892d7e5 * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 01:55:21 +00:00
Benoît Minisini
7b268567bd * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 01:25:31 +00:00
Benoît Minisini
94b00a418c * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 01:24:04 +00:00
Benoît Minisini
ee7c8ceb7f * Subversion tests
git-svn-id: svn://localhost/gambas/trunk@2355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 01:12:50 +00:00
Benoît Minisini
0007553ca4 * Subversion tests
git-svn-id: svn://localhost/gambas/trunk@2354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 23:05:09 +00:00
Benoît Minisini
384268e3b5 * Subversion tests
git-svn-id: svn://localhost/gambas/trunk@2353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 23:04:23 +00:00
David Villalobos Cambronero
630dc8fd68 [GB.MYSQL]
* NEW: Added the Add sub to the _Event class.
* NEW: Added the Modify sub to the _Event class.
* NEW: Added the Delete sub to the _Event class.
* NEW: Try to optimize some lines.

git-svn-id: svn://localhost/gambas/trunk@2352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 21:11:41 +00:00
David Villalobos Cambronero
1cc3e4a24e [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 19:46:17 +00:00
David Villalobos Cambronero
8f83480228 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 15:07:43 +00:00
Benoît Minisini
5d3b569eff [GB.QT4]
* BUG: Fix the DrawingArea control when the Cached property is set.


git-svn-id: svn://localhost/gambas/trunk@2349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-23 23:21:08 +00:00
David Villalobos Cambronero
bdddeaf76e [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-22 22:50:53 +00:00
Benoît Minisini
f3df1daa86 [DEVELOPMENT ENVIRONMENT]
* NEW: Runtime error messages are now translatable. At least those that
  have an error code. Custom error messages coming from component are not
  translatable yet.
* NEW: French translation of runtime error messages.

[INTERPRETER]
* NEW: When running in debugging mode, error messages are formatted to be
  easily translatable.


git-svn-id: svn://localhost/gambas/trunk@2347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-22 22:10:38 +00:00
Benoît Minisini
916c559a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for translated compiler error messages.
* NEW: French translatio of compiler error messages.

[COMPILER]
* BUG: Fix many error messages so that they are easily translatable.
* NEW: A new option, "-e", to output translatable error messages instead of 
  full ones.


git-svn-id: svn://localhost/gambas/trunk@2346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-21 16:57:21 +00:00
Benoît Minisini
f5d698f1ec [COMPILER]
* NEW: The option "--no-old-read-write-syntax" allows to easily detect 
  where Read and Write instructions should be rewritten.


git-svn-id: svn://localhost/gambas/trunk@2345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-20 18:04:04 +00:00
Benoît Minisini
26ab06c228 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Read/Write syntax.

[INTERPRETER]
* NEW: New Read/Write syntax.
* NEW: IsVariant() returns if its argument is a Variant.

[COMPILER]
* NEW: New Read/Write syntax.
* NEW: Support for the old read syntax.

[WIKI CGI SCRIPT]
* NEW: Allow query arguments ("?v3" for example) inside wiki links.
* NEW: New look for the table of contents.
* BUG: Non-translated pages display again.

[GB.WEB]
* NEW: Use the new Read/Write syntax.


git-svn-id: svn://localhost/gambas/trunk@2344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-20 17:32:12 +00:00
David Villalobos Cambronero
668cb89c57 [GB.MYSQL]
* NEW: Added the KillProcess to the MySQL class.

git-svn-id: svn://localhost/gambas/trunk@2343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-18 19:41:57 +00:00
Benoît Minisini
4ac4e570c9 [DEVELOPMENT ENVIRONMENT]
* BUG: Renaming a edited form works correctly now.
* NEW: Project are now locked with the LOCK instruction, not with files.
  Consequently, if the IDE crashes, the edited project is automatically 
  unlocked.


git-svn-id: svn://localhost/gambas/trunk@2342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:59:11 +00:00
David Villalobos Cambronero
083eaf8f6a [DEVELOPMENTE ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2341 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:55:37 +00:00
Benoît Minisini
429b36408e [CONFIGURATION]
* BUG: Forgot to recursively compile gb.image.imlib in the top-level 
  Makefile.am file.

[DEVELOPMENT ENVIRONMENT]
* NEW: All controls have a new "Public" property that tells the compiler 
  to declare this control public.
* NEW: Runtime and compilation errors are now display inside a balloon.
* BUG: Fix the use of old Gambas 2 Open syntax.

[WIKI CGI SCRIPT]
* NEW: New look. No blue anymore!
* NEW: All pages under the '/comp' path now can be switched between 2.0 and 
  3.0 version.
* BUG: Many fixes in links including the version number.
* NEW: An administration button to force a refresh of all pages the next 
  time they are requested.
* NEW: Alt+Shift+S is a shortcut for saving page on Firefox.
* NEW: Inherited symbols are now displayed before other symbols in a class 
  description.

[GB.GTK]
* BUG: Changing the value of the Sorted property in TreeView, ColumnView,
  ListView and ListBox does not crash anymore.

[GB.QT4]
* BUG: Do not use the menu focus hack when showing a window. The current 
  active control loses its focus otherwise.
* BUG: Enumerating Window.Controls works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:32:55 +00:00
Benoît Minisini
e91a676559 [INTERPRETER]
* NEW: VarPtr() now works on a string variable. It returns the address of 
  the string.
* NEW: TypeOf("") now returns gb.String. "" is equal to NULL yet, but now its 
  string datatype is kept.
* NEW: Memory is new instruction like Open that opens a memory stream from 
  a Pointer.
* NEW: A Pointer can not be used as a stream directly. You must use the new
  Memory instruction for that.
* NEW: The [...] array constructor now checks the datatype of all its 
  argument to decide the type of the new array.
* BUG: The ["key":value] collection constructor now does not leak memory 
  anymore if it fails.
* NEW: A new error, "void key", whose code is 64.
* NEW: TypeOf(Null) now returns gb.Null and not gb.Object anymore.
* BUG: IIf() now returns a Variant only if needed. It uses the same 
  algorithm as the array constructor.

[COMPILER]
* NEW: Memory is new instruction like Open that opens a memory stream from 
  a Pointer. The syntax is: hStream = Memory pPonter For Read | Write.
* NEW: Support for form controls being individually public.
* BUG: VarPtr() is compiled correctly again.


git-svn-id: svn://localhost/gambas/trunk@2339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 20:58:27 +00:00
David Villalobos Cambronero
97ad035273 [DEVELOPMENT ENVIROMENT]
NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-14 15:32:09 +00:00