Commit graph

2263 commits

Author SHA1 Message Date
Radek Fryšták
1a08dc94c3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech translation

[WEB SITE MAKER]
* NEW: Update czech translation

[GB.FORM.MDI]
* NEW: Update czech translation

[GB.REPORT]
* NEW: Update czech translation

[GB.FORM.DIALOG]
* NEW: Update czech translation

[GB.FORM]
* NEW: Update czech translation

[GB.DB.FORM]
* NEW: Update czech translation

[EXAMPLES]
* NEW: Update czech translation for GNUBoxWorld
* NEW: Update czech translation for CDPlayer
* BUG: Fix create CD-ROM class a to netbook without CD-ROM.



git-svn-id: svn://localhost/gambas/trunk@4147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-24 19:14:42 +00:00
Benoît Minisini
12997b15f3 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if a library cannot be found.
* NEW: Display a big message in the library tab of the project property
  dialog to tell that library must be stored in the same directory as the
  project using them.

[INTERPRETER]
* OPT: Some little optimization in natural comparison routine.

[GB.GTK]
* BUG: Do not crash if a null key is used for a stock picture. Just return
  a null reference.


git-svn-id: svn://localhost/gambas/trunk@4145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-23 20:17:57 +00:00
Benoît Minisini
a807a57983 [INTERPRETER]
* OPT: Some optimizations in date formatting.
* OPT: Now() has been optimized when run multiple times during the same 
  second.


git-svn-id: svn://localhost/gambas/trunk@4144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-21 12:42:56 +00:00
Benoît Minisini
990180be34 [INTERPRETER]
* OPT: Internal conversions between unicode and utf-8 have been optimized.
* OPT: String.UCase(), String.LCase() and String.Chr() have been optimized.
* BUG: Arrays of classes exported from a component or a library are now
  automatically exported too.
* NEW: Param.All is a new property that returns all extra arguments as an
  array.


git-svn-id: svn://localhost/gambas/trunk@4143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-21 09:42:19 +00:00
Benoît Minisini
7f644b3f39 [GB.QT4]
* BUG: Fix TextArea Foreground property.


git-svn-id: svn://localhost/gambas/trunk@4142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-20 23:40:57 +00:00
Benoît Minisini
56d1cf1104 [GB.QT4]
* BUG: GridView: Fix automatic column resizing when the Resizable property
  is TRUE.


git-svn-id: svn://localhost/gambas/trunk@4141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-19 02:15:39 +00:00
Benoît Minisini
ee80fb4118 [INTERPRETER]
* BUG: Fix String.Pos(), and String.InStr() with a third argument.

[GB.QT4]
* BUG: GridView: Fix how the Change event is raised in single selection 
  mode.


git-svn-id: svn://localhost/gambas/trunk@4140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-19 01:16:29 +00:00
Benoît Minisini
5ba145d20e [GB.FORM.MDI]
* BUG: Fix the shortcut editor dialog.

[GB.GTK]
* NEW: Setting the current GridView row to a valid value now automatically 
  set the current column to zero if there is no current column.

[GB.QT4]
* NEW: Setting the current GridView row to a valid value now automatically 
  set the current column to zero if there is no current column.


git-svn-id: svn://localhost/gambas/trunk@4139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 20:37:51 +00:00
Benoît Minisini
b51126a160 [GB.WEB]
* BUG: Support for posted requests whose charset is specified in the 
  "Content-Type" header.


git-svn-id: svn://localhost/gambas/trunk@4138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 20:17:43 +00:00
Benoît Minisini
25cd30df20 [GB.FORM]
* BUG: Fix InputBox layout.

[GB.GTK]
* BUG: Fix initial window position.


git-svn-id: svn://localhost/gambas/trunk@4137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 20:04:14 +00:00
Benoît Minisini
d93f4cf610 [DEVELOPMENT ENVIRONMENT]
* BUG: TRY is taken into account now when converting a Gambas 2 OPEN 
  instruction.


git-svn-id: svn://localhost/gambas/trunk@4136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 19:39:13 +00:00
Benoît Minisini
15f01d67ed [INTERPRETER]
* BUG: When opening an existing file descriptor, correctly check the mode
  compatibility.


git-svn-id: svn://localhost/gambas/trunk@4135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 16:27:23 +00:00
Benoît Minisini
9071bf9a59 [INTERPRETER]
* NEW: When opening an existing file descriptor, check its validity 
  immediately.


git-svn-id: svn://localhost/gambas/trunk@4134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 15:38:43 +00:00
Benoît Minisini
a3c4a852e3 [INTERPRETER]
* NEW: When opening an existing file descriptor, check that it is opened 
  with a compatible mode. Otherwise raise an "Access forbidden" error.


git-svn-id: svn://localhost/gambas/trunk@4133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 15:36:30 +00:00
Benoît Minisini
3b5b881d5e [INTERPRETER]
* NEW: Split System and Application class implementation in tow different
  source files.
* NEW: A trick to watch existing file descriptors: opening ".XX" in direct
  mode, where "XX" is the file descritor value.


git-svn-id: svn://localhost/gambas/trunk@4132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 15:21:11 +00:00
Benoît Minisini
f315e8e717 [GB.DB.MYSQL]
* NEW: If the connection host starts with a slash, then we supposed that we
  are connecting to localhost, and that the host is actually the path of
  the socket to use.


git-svn-id: svn://localhost/gambas/trunk@4130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-16 13:15:12 +00:00
Benoît Minisini
61f9bb4db6 [DEVELOPMENT ENVIRONMENT]
* BUG: Selecting the movie of a MovieBox control only allows to select a
  path located in the project.
* NEW: Languages are sorted in the help browser's language menu.
* NEW: The help browser now shows an animation while loading a page.
* BUG: Selecting a virtual class in the help browser tree now correctly
  shows its documentation page.
* NEW: Add support for LXDE terminal in option dialog.


git-svn-id: svn://localhost/gambas/trunk@4129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-15 10:11:38 +00:00
Benoît Minisini
c900daba16 [EXAMPLES]
* NEW: Fix video examples according to the last changes in gb.v4l.


git-svn-id: svn://localhost/gambas/trunk@4128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-14 15:30:30 +00:00
Benoît Minisini
a75432661a [GB.V4L]
* BUG: Fix all Contrast, Hue, Bright, Color and Whiteness properties in 
  VideoDevice.
* BUG: Remove the VideoDevice.Features property.


git-svn-id: svn://localhost/gambas/trunk@4127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-14 15:22:35 +00:00
Benoît Minisini
f7338f544f [GB.QT4.EXT]
* NEW: Change the keyboard shortcuts for moving between lines having the 
  same indentation. Now they are CTRL+ALT+UP and CTRL+ALT+DOWN.


git-svn-id: svn://localhost/gambas/trunk@4126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-14 01:27:42 +00:00
Benoît Minisini
6ad8880c78 [GB.QT4.EXT]
* BUG: Fix a crash in folding procedure, by strictly folding between 
  procedure limits, and by not trying to be clever with comments.


git-svn-id: svn://localhost/gambas/trunk@4125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-13 23:37:48 +00:00
Benoît Minisini
2e398f2a63 [INTERPRETER]
* BUG: Fix the declaration of SizeOf() syntax.


git-svn-id: svn://localhost/gambas/trunk@4124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-13 02:31:56 +00:00
Benoît Minisini
db575749b4 [INTERPRETER]
* BUG: Now incrementing or decrementing a boolean raises an error.


git-svn-id: svn://localhost/gambas/trunk@4123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-13 00:04:40 +00:00
Benoît Minisini
04eff64e18 [INTERPRETER]
* BUG: Remove the deprecated Object.LastEventName property.


git-svn-id: svn://localhost/gambas/trunk@4122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-13 00:02:33 +00:00
Benoît Minisini
043c6300b3 [DEVELOPMENT ENVIRONMENT]
* BUG: In the menu editor, pasting menus works correctly now.


git-svn-id: svn://localhost/gambas/trunk@4121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-12 22:26:10 +00:00
Benoît Minisini
8eb1a35189 [EXAMPLES]
* NEW: Apply the gb.pdf changes to the PDFViewer example.

[GB.PDF]
* BUG: Remove a debugging message and fix the return value of the Find() 
  method.

[GB.FORM]
* NEW: Add a Click and a Change event to the DateBox control. The Click
  event is raised when the popup is closed.


git-svn-id: svn://localhost/gambas/trunk@4120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-12 14:20:45 +00:00
Benoît Minisini
33d0f6a217 [GB.PDF]
* NEW: Add a PdfRect class systematically used for returning the 
  coordinates of page elements or search results.
* BUG: Fix the retrieveing of index titles.
* BUG: Some fixes in classes description.

git-svn-id: svn://localhost/gambas/trunk@4119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-12 01:42:00 +00:00
Benoît Minisini
68a234649f [GB.SETTINGS]
* NEW: Remove the useless Settings.Array() method.


git-svn-id: svn://localhost/gambas/trunk@4118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 22:45:12 +00:00
Benoît Minisini
9ea298d688 [GB.DB.SQLITE3]
* BUG: Fix some error messages.

[GB.SETTINGS]
* BUG: Settings.ReadWindow() and Settings.WriteWindow() are now private.

[GB.WEB]
* BUG: WebPage class is not exported anymore.


git-svn-id: svn://localhost/gambas/trunk@4117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 22:05:53 +00:00
Benoît Minisini
212f6e1b96 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not use Editor.ShowCursorPosition flag anymore.


git-svn-id: svn://localhost/gambas/trunk@4116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 19:07:49 +00:00
Benoît Minisini
b7188834e5 [GB.QT4.EXT]
* BUG: Remove unused Editor.ShowWord() method and two unused flag 
  constants.


git-svn-id: svn://localhost/gambas/trunk@4115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 18:54:06 +00:00
Benoît Minisini
868ca76fdc [INTERPRETER]
* BUG: Fix Byte[].FromString() method.


git-svn-id: svn://localhost/gambas/trunk@4114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 16:31:51 +00:00
Benoît Minisini
aae2aee181 [INTERPRETER]
* OPT: Optimize the inequality comparison operators by putting them into
  the gbx_exec_loop.c source file.


git-svn-id: svn://localhost/gambas/trunk@4113 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-09 01:50:57 +00:00
Benoît Minisini
ca5fb092df [GB.EVAL]
* BUG: Eval() correctly returns a value again.


git-svn-id: svn://localhost/gambas/trunk@4112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-09 00:29:06 +00:00
David Villalobos Cambronero
00716c0a9d [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@4111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-09 00:06:11 +00:00
Benoît Minisini
2232c61703 [INTERPRETER]
* BUG: Fix a crash in stack backtrace management.


git-svn-id: svn://localhost/gambas/trunk@4110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-08 22:04:52 +00:00
Benoît Minisini
f17878075b [CONFIGURATION]
* NEW: Switch version to 2.99.4.

[INTERPRETER]
* OPT: Optimize a little case insensitive string comparison. Hash table
  code is consequently faster.

[GB.SDL]
* NEW: Comment old Cursor class implementation.


git-svn-id: svn://localhost/gambas/trunk@4109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-08 20:23:15 +00:00
Benoît Minisini
7923377850 [INTERPRETER]
* OPT: A little optimization in string allocation.
* OPT: Optimize returning from a function.
* OPT: A little optimization in conditonal jump.


git-svn-id: svn://localhost/gambas/trunk@4108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-08 20:08:33 +00:00
Laurent Carlier
f15115ca84 [GB.SDL]
* BUG: Disable Cursor handling, ad it's buggy and incomplete. Only default cursor is available.


git-svn-id: svn://localhost/gambas/trunk@4107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-08 19:20:50 +00:00
Benoît Minisini
0ab71b28bf [INTERPRETER]
* OPT: Don't use glibc memcmp() to compare strings. My own routine is a 
  little faster according to valgrind.
* OPT: The UTF-8 String class routines Left(), Mid() and Right() have been 
  optimized. The positions of the first 256 characters of the last string 
  processed by the String class are cached.
* OPT: Some native methods can be called like any other native subroutines.
  But that can be used only inside the interpreter, not in a component.
* OPT: The '&' operator is faster now when it takes two arguments only (the
  most frequent case).


git-svn-id: svn://localhost/gambas/trunk@4106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-08 16:01:36 +00:00
Benoît Minisini
67ecd4b00a [INTERPRETER]
* NEW: New syntax for GB.AddString() and GB.ExtendString() interpreter API.
  Do not pass the string by reference anymore.
* NEW: GB.AddChar() is a new API for adding just a char to a string.

[GB.DB.SQLITE2]
* BUG: Fix ignored system call return values.

[GB.DB.SQLITE3]
* BUG: Fix ignored system call return values.

[GB.DB.NET]
* BUG: Fix ignored system call return values.

[GB.V4L]
* BUG: Remove some unused local variables.


git-svn-id: svn://localhost/gambas/trunk@4105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 19:43:11 +00:00
Benoît Minisini
3840aa7985 [INTERPRETER]
* OPT: Optimize some string functions by not using arguments passed by 
  reference.
* OPT: Integrate the "=" operator function into the main execution loop to
  save one function call.
* OPT: Optimize string comparison functions on x86 and x64_64 architectures
  by comparing eight bytes in one shot.


git-svn-id: svn://localhost/gambas/trunk@4104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 12:38:29 +00:00
Benoît Minisini
1ab9a64c99 [DEVELOPMENT ENVIRONMENT]
* NEW: When inserting an existing module, class, form... the file view
  automatically show hidden files so that the ".src" directory inside 
  Gambas projects is always visible.

[GB.FORM]
* NEW: DirView.Settings is a new property that allows the Settings class to
  automatically save or restore settings through its Read and Write 
  methods.
* BUG: Fix the management of the ShowHidden property in FileView.
* BUG: Fix how FileView settings are saved and restored.


git-svn-id: svn://localhost/gambas/trunk@4103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 01:58:03 +00:00
Benoît Minisini
070f4dff00 [GB.FORM.MDI]
* BUG: Workspace with bottom orientation correclty shows its tabbar again.


git-svn-id: svn://localhost/gambas/trunk@4102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 00:34:28 +00:00
Benoît Minisini
2b2d3e448f [DEVELOPMENT ENVIRONMENT]
* BUG: When converting a Gambas 2 project, do not try to convert symbolic
  links.


git-svn-id: svn://localhost/gambas/trunk@4101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 21:07:55 +00:00
Benoît Minisini
bf1c0c2cda [INTERPRETER]
* BUG: Really fix the way Trim() handle null strings. Now there is no 
  memory leaks anymore.


git-svn-id: svn://localhost/gambas/trunk@4100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 20:47:26 +00:00
Benoît Minisini
19d536a912 [DEVELOPMENT ENVIRONMENT]
* OPT: Project items contents is loaded from disk only if the project items
  is visible.

[WIKI CGI SCRIPT]
* BUG: Symbol syntax for array writing has been fixed.

[EXAMPLES]
* NEW: Update example project titles.
* NEW: AnalogWatch has been rewritten with the Paint class.

[GB.FORM]
* BUG: FileView works correctly again.


git-svn-id: svn://localhost/gambas/trunk@4099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 18:31:30 +00:00
Benoît Minisini
acae4c3277 [DEVELOPMENT ENVIRONMENT]
* BUG: Now just print a warning when creating the project directory icon is
  impossible.
* BUG: Fix the other warning messages so that they are printed the same 
  way.


git-svn-id: svn://localhost/gambas/trunk@4098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 13:58:21 +00:00
Benoît Minisini
455dafa639 [INTERPRETER]
* BUG: DateAdd() does not raise an overflow error anymore when used on a
  time value.


git-svn-id: svn://localhost/gambas/trunk@4096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 11:05:01 +00:00
Benoît Minisini
37894ac0db [INTERPRETER]
* BUG: Fix a bug in type transitivity in Trim().


git-svn-id: svn://localhost/gambas/trunk@4095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 02:32:34 +00:00