Commit graph

759 commits

Author SHA1 Message Date
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
Benoît Minisini
a309dffd70 [GB.GTK]
* BUG: Fix input method handling.
* NEW: Application_KeyPress global event handler has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2335 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-14 01:50:48 +00:00
Benoît Minisini
550ead384c [GB.GTK]
* NEW: Remove useless old basic event handlers.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@2334 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-12 23:49:09 +00:00
Benoît Minisini
b73c99d385 [GB.GTK]
* NEW: Thanks to an hack based on a global event handler, disabled controls 
  now answer events like in gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-12 23:42:11 +00:00
Benoît Minisini
2bdd0617d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Saving and renaming tables having indexes works in all cases now.
* BUG: The "..." button of the property sheet works again.
* BUG: The IDE title is correctly updated when the project version changes.

[GB.DB.FORM]
* BUG: The DataView control now is correctly refreshed when its underlying 
  connection is changed.

[GB.GTK]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.

[GB.QT4]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.


git-svn-id: svn://localhost/gambas/trunk@2331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-11 23:56:56 +00:00
Benoît Minisini
11906ba89a [DEVELOPMENT ENVIRONMENT]
* NEW: Renaming a control now automatically renames the identifier in the 
  source code.

[INTERPRETER]
* NEW: Split() now takes a 5th optional argument that tells if escape 
  characters should be kept in the returned strings.
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[COMPILER]
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[GB.FORM]
* NEW: SidePanel, DirChooser, FileChooser and FileView Settings property
  now use the new Settings storage facilities and return a Variant[].

[GB.GTK]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.
* BUG: The name property of newly created menus is correctly initialized
  now.

[GB.QT4]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.

[GB.SETTINGS]
* NEW: The settings file format has changed. Now collections and arrays can
  be stored and retrieved.


git-svn-id: svn://localhost/gambas/trunk@2329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-10 19:30:41 +00:00
Benoît Minisini
d30be2735e [CONFIGURATION]
* NEW: Make the ./reconf script verbose.


git-svn-id: svn://localhost/gambas/trunk@2321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-09 10:22:34 +00:00
Benoît Minisini
a32c845caa [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in the interaction between the hierarchy tree and the 
  property sheet in the form editor.


git-svn-id: svn://localhost/gambas/trunk@2320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-09 10:20:09 +00:00
Benoît Minisini
026c739f3d [DEVELOPMENT ENVIRONMENT]
* NEW: New control property type "Menu", for properties that receive a 
  popup menu name.
* NEW: New paste button with a menu in the code editor.

[GB.FORM]
* NEW: A new control, MenuButton, that is a ToolButton with a little arrow
  and a popup menu attached.

[GB.FORM.MDI]
* BUG: Some fixes in shortcut editing in the shortcut configuration dialog.
* BUG: The toolbar configuration works correctly again.

[GB.IMAGE.IMLIB]
* BUG: Image.Blur() and Image.Sharpen() now have the same signature as 
  their counterpart in gb.image.effect.
* BUG: Image.Draw() works correctly now.

[GB.QT4]
* BUG: Do not quit the application while a message box is displayed.
* BUG: Window.Center() works correctly now.
* BUG: Do not delay ScrollView contents layouting, otherwise it is done 
  when the widget is visible, which is not pretty.


git-svn-id: svn://localhost/gambas/trunk@2319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-08 12:22:03 +00:00
David Villalobos Cambronero
f6f0147fd4 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-07 21:55:32 +00:00
Benoît Minisini
d189a2031f [GB.FORM]
* NEW: The ColorChooser control has a working color picker now.

[GB.GTK]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.

[GB.QT4]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.


git-svn-id: svn://localhost/gambas/trunk@2317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 15:57:54 +00:00
Benoît Minisini
9d85501cad [DEVELOPMENT ENVIRONMENT]
* NEW: The Toolbox toggle shortcut is now SHIFT+F4.
* NEW: F6 now shows the procedure list in the code editor.

[GB.IMAGE]
* BUG: ColorInfo is back. Otherwise component properties hides default 
  color constants!



git-svn-id: svn://localhost/gambas/trunk@2316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 09:25:18 +00:00
Benoît Minisini
33b1d29dfa [DEVELOPMENT ENVIRONMENT]
* NEW: New procedure list popup in the code editor.
* BUG: Keep case of "Exclude" and "Requires" component properties.
* BUG: Images edited by an external program are correctly watched again.

[GB.IMAGE]
* NEW: Color is a now a true class that replaced the old ColorInfo class.
* NEW: Color class component properties are both readable and writable now.
* NEW: Color.Color is a property that returns the color value from the
  color components defined in the Color object.


git-svn-id: svn://localhost/gambas/trunk@2315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 01:21:35 +00:00
Benoît Minisini
4aefbacb48 [DEVELOPMENT ENVIRONMENT]
* BUG: In the "Requires" tab of the project property dialog, requirements 
  are not incorrectly converted to lower case anymore.

[COMPILER]
* BUG: Fix symbol tables that sometimes didn't work correctly when storing 
  symbols having non-ASCII characters.

[GB.FORM]
* BUG: ButtonBox.Length property now returns the length of the ButtonBox 
  text. That fixes the crash in the ColorChooser control.
* BUG: Balloon corners are correctly drawn again.
* NEW: Some cosmetic changes in the ColorChooser control.

[GB.IMAGE.IMLIB]
* BUG: Images now always have an alpha channel.


git-svn-id: svn://localhost/gambas/trunk@2313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-05 20:54:36 +00:00
Benoît Minisini
77b331fc34 [EXAMPLES]
* BUG: Remove the DBusExplorer example from its old place.


git-svn-id: svn://localhost/gambas/trunk@2310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-04 01:02:47 +00:00
Benoît Minisini
211fb9681f [EXAMPLES]
* BUG: Copy the DBusExplorer example to the Automation directory.


git-svn-id: svn://localhost/gambas/trunk@2309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-04 01:00:27 +00:00