Commit graph

1957 commits

Author SHA1 Message Date
Benoît Minisini
521b2c933c [COMPILER]
* NEW: Remove the MkPtr$() synonymous.


git-svn-id: svn://localhost/gambas/trunk@3331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 10:05:50 +00:00
Benoît Minisini
ebc7714e3f [DEVELOPMENT ENVIRONMENT]
* BUG: Search hihghlighting is correctly refreshed now when a new project
  is opened.


git-svn-id: svn://localhost/gambas/trunk@3330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 09:55:48 +00:00
Benoît Minisini
6a15492e9c [INTERPRETER]
* NEW: The scaring change. IsByte(), IsShort(), IsSingle(), IsString(), 
  IsPointer(), IsObject() and IsVariant() have been removed. IsNull() has
  been kept unchanged.
* NEW: IsInteger() now returns if a string can be converted to an Integer
  number.
* NEW: IsLong() now returns if a string can be converted to an Integer or a
  Long number.
* NEW: IsFloat() now returns if a string can be converted to a Float, but
  not an Integer or a Long.
* NEW: IsNumber() now returns if a string can be converted to an Integer, a
  Long or a Float.
* NEW: IsDate() now returns if a string can be converted to a Date.
* NEW: Str(True) and Str(False) now use the translation of the "True" and
  "False" string, if they exist in the current project.
* NEW: Val() now uses the translation of the "True" and "False" string, if 
  they exist in the current project.


git-svn-id: svn://localhost/gambas/trunk@3329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-27 23:00:08 +00:00
Benoît Minisini
9d11c85ef4 [COMPILER]
* BUG: Correctly read long constants whose value is the lower possible Long 
  value.


git-svn-id: svn://localhost/gambas/trunk@3327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-27 14:46:25 +00:00
Benoît Minisini
122e8ee9c9 [INTERPRETER]
* BUG: Fix the array conversion routine.


git-svn-id: svn://localhost/gambas/trunk@3326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-27 01:40:19 +00:00
Benoît Minisini
d997caf779 [INTERPRETER]
* NEW: Automatic conversion between all array classes.


git-svn-id: svn://localhost/gambas/trunk@3325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-27 01:27:23 +00:00
Benoît Minisini
0c1e5e1dbf [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display control name inside virtual control.
* BUG: Do not display control name inside buttons having a picture and no 
  text.


git-svn-id: svn://localhost/gambas/trunk@3324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-27 00:48:43 +00:00
Benoît Minisini
697a40a046 [INTERPRETER]
* NEW: WRITE writes structures in one shot, by using an internal buffer. 
  This is useful for UDP socket, when the message size is the size of the 
  data sent in one shot.


git-svn-id: svn://localhost/gambas/trunk@3323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-27 00:06:43 +00:00
Benoît Minisini
662e4282bf [INTERPRETER]
* NEW: The argument of Byte@(), Short@()... functions now can be a string.
  Then the address of the string in memory is used.
* BUG: Structures allocated with the NEW operator are correctly freed now.
* NEW: READ and WRITE now can deal with structures and embedded arrays.
* NEW: Dir?() synonymous has been removed.


git-svn-id: svn://localhost/gambas/trunk@3322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-26 20:30:58 +00:00
Benoît Minisini
ab38b98a1c [COMPILER]
* NEW: Remove MkPtr$() and Ptr@().


git-svn-id: svn://localhost/gambas/trunk@3321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-24 16:03:18 +00:00
Benoît Minisini
f7a157204b [INTERPRETER]
* NEW: Mem$() was replaced by MkBool$(), MkByte$(), and so on.

[COMPILER]
* NEW: Mem$() was replaced by MkBool$(), MkByte$(), and so on.
* NEW: CLng(), CSng(), CVar(), CPtr() abbreviations were removed.
* NEW: CBoolean() was added.


git-svn-id: svn://localhost/gambas/trunk@3320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-24 16:00:39 +00:00
Benoît Minisini
8aacf23491 [COMPILER]
* BUG: Use the right symbol table.


git-svn-id: svn://localhost/gambas/trunk@3319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-24 02:22:50 +00:00
Benoît Minisini
030523326f [INTERPRETER]
* NEW: Mem$() is a new function that returns a string from the internal 
  memory representation of a value.
* NEW: BoolPtr() has been replaced by Bool@(), BytePtr() has been replaced 
  by Byte@(), and so on...
* NEW: StrPtr() has been replaced by String@().

[EXAMPLES]
* NEW: Search support in the WebBrowser example.


git-svn-id: svn://localhost/gambas/trunk@3318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-24 01:30:36 +00:00
Benoît Minisini
45edd9fcdd [CONFIGURATION]
* NEw: Remove the now useless database manager project.


git-svn-id: svn://localhost/gambas/trunk@3317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-23 23:24:35 +00:00
Benoît Minisini
6535acd5c7 [GB.QT4.WEBKIT]
* NEW: Remove WebView.FindText() highlight argument. It is not supported 
  on older version of Qt4.


git-svn-id: svn://localhost/gambas/trunk@3316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-23 22:10:09 +00:00
Benoît Minisini
a631ecf0e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Help browser does not skip taskbar anymore when not being an utility 
  window.


git-svn-id: svn://localhost/gambas/trunk@3311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-23 17:56:47 +00:00
Benoît Minisini
42368157d7 [GB.QT4.WEBKIT]
* BUG: Correctly close the downloaded file at download end.
* NEW: WebView.FindText() is a new method to search text inside the page.
* NEW: WebView.Cookies is writable now.


git-svn-id: svn://localhost/gambas/trunk@3310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 23:50:37 +00:00
Benoît Minisini
394964119c [DEVELOPMENT ENVIRONMENT]
* NEW: When creating an executable, keep debugging symbols by default.


git-svn-id: svn://localhost/gambas/trunk@3309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 12:01:58 +00:00
Benoît Minisini
d22be159d5 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display control names inside ToolButton and ToggleButton 
  controls.
* BUG: Correctly remove bytecode file when renaming a source file.


git-svn-id: svn://localhost/gambas/trunk@3308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 11:57:54 +00:00
Benoît Minisini
b9e53e58c4 [INTERPRETER]
* BUG: VarPtr() now correctly works on Date and Pointer variables.
* BUG: Addition works again on Date.
* NEW: Object.Address() is a new method that returns the memory address of 
  an object.


git-svn-id: svn://localhost/gambas/trunk@3307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 10:10:56 +00:00
Benoît Minisini
25bcec55ef [GB.FORM]
* BUG: Use the right tool to get the current Gnome Icon theme!


git-svn-id: svn://localhost/gambas/trunk@3306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 09:58:26 +00:00
Benoît Minisini
b9f0b10c58 [GB.DB.POSTGRESQL]
* BUG: Correctly ignore fields deleted with the "DROP COLUMN" command.


git-svn-id: svn://localhost/gambas/trunk@3305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 09:49:54 +00:00
Fabien Bodard
1624f9d281 [GB.WEB]
* OPT: oups


git-svn-id: svn://localhost/gambas/trunk@3304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-21 12:27:41 +00:00
Fabien Bodard
478370e478 [GB.WEB]
* BUG: The post property was commented


git-svn-id: svn://localhost/gambas/trunk@3303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-21 12:25:34 +00:00
Fabien Bodard
7436071810 [DEVELOPMENT ENVIRONMENT]
* OPT: Add the _attach entry in the FCompletion special method array


git-svn-id: svn://localhost/gambas/trunk@3302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-19 08:20:14 +00:00
Benoît Minisini
ef6c42df8c [GB.QT4.WEBKIT]
* BUG: The component now compiles correctly with older versions of Qt.


git-svn-id: svn://localhost/gambas/trunk@3301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-18 23:04:48 +00:00
Matti
f6d634845d [DEVELOPMENT ENVIRONMENT]
* OPT: Update of German Translation

[MAKEWEBSITE]
* OPT: Update of German Translation

[GB.DB.FORM]
* OPT: Update of German Translation

[GB.FORM]
* OPT: Update of German Translation

[GB.FORM.MDI]
* OPT: Update of German Translation

[DOC.CGI]
* OPT: Update of German Translation

[TEXTEDIT EXAMPLE]
* OPT: Update of German Translation

[TREEVIEV EXAMPLE]
* NEW: German Translation

[CONCENT EXAMPLE]
* NEW: German Translation

[TIPS OF THE DAY]
* OPT: Update of German Translation



git-svn-id: svn://localhost/gambas/trunk@3300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 19:29:27 +00:00
Benoît Minisini
e65391a4ce [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly refresh the ComboBox name in the form editor.


git-svn-id: svn://localhost/gambas/trunk@3299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 15:11:22 +00:00
Benoît Minisini
79c2777bb4 [DEVELOPMENT ENVIRONMENT]
* NEW: In the form editor, display the name inside controls only if the 
  Text property is not defined.


git-svn-id: svn://localhost/gambas/trunk@3298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 15:07:08 +00:00
Benoît Minisini
3f15248208 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash when trying to fill the help window of a control.


git-svn-id: svn://localhost/gambas/trunk@3297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-17 10:22:07 +00:00
Benoît Minisini
8873a0e1cc [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle all compiler error messages.

[INTERPRETER]
* NEW: Full management of the Single datatype.
* BUG: VarPtr() now works on Single local variables.
* BUG: Remove useless Tag property. It is defined in the Stream class now.
* BUG: Correctly free the Tag property in the Stream class.

[GB.GTK]
* BUG: Rich-text string management has been fixed. The ampersand character, 
  the "&", ">" and "<" entites are correctly interpreted now.

[GB.NET.CURL]
* BUG: Remove useless Tag property. It is defined in the Stream class now.

[EXAMPLES]
* NEW: The WebBrowser example has a download manager now.


git-svn-id: svn://localhost/gambas/trunk@3296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-16 01:49:18 +00:00
Benoît Minisini
6dca374ff0 [DEVELOPMENT ENVIRONMENT]
* BUG: Variable help comments are now taken into account when displaying 
  contextual help.


git-svn-id: svn://localhost/gambas/trunk@3293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-13 01:14:26 +00:00
Benoît Minisini
fb18ddd598 [GB.QT4.WEBKIT]
* NEW: WebDownload is a new class that represents a file being downloaded 
  by the browser.
* NEW: WebDownloads is an array-like static class that returns all current 
  WebDownload objects.
* NEW: WebView now raises a Download event when there is something to
  download. A WebDownload object is created and passed to the event. If the
  Path property of the WebDownload object is set, the download is started.
  Otherwise, it is aborted.

[EXAMPLES]
* NEW: The WebBrowser example now has a download manager window.


git-svn-id: svn://localhost/gambas/trunk@3292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-12 23:42:01 +00:00
Benoît Minisini
b01be33dfb [GB.QT4.WEBKIT]
* BUG: Forgot to commit two source files.


git-svn-id: svn://localhost/gambas/trunk@3291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-12 15:29:55 +00:00
Benoît Minisini
982b9ad52d [DEVELOPMENT ENVIRONMENT]
* NEW: A search field in the menu editor.

[EXAMPLES]
* NEW: The WebBrowser example has been modified to use the new features of
  the gb.qt4.webkit component.

[GB.QT4.WEBKIT]
* NEW: Cookie is a new class that represents a cookie.
* NEW: WebView.Cookies is a new property for returning all cookies in the 
  browser cookie jar. Setting that property has to be done yet.
* NEW: WebView.HitTest() is a new method that tests what is located at the
  specified position of the web page. The result of the is test is returned
  as a WebHitTest object.
* NEW: WebHitTest is new class that represents the result of a hit test on
  a web page. YOu can know if you are on a link, an image, or something 
  else, and if that content is selected or editable.


git-svn-id: svn://localhost/gambas/trunk@3290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-11 17:43:14 +00:00
Benoît Minisini
6b689a8955 [DEVELOPMENT ENVIRONMENT]
* NEW: Computes the number of lines of code in the project information 
  dialog.

[GB.FORM]
* NEW: the name of the "m-player" icon is now "media-player".


git-svn-id: svn://localhost/gambas/trunk@3289 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-08 22:11:33 +00:00
Benoît Minisini
9ce9756973 [DEVELOPMENT ENVIRONMENT]
* NEW: The component properties of the project has now its own 
  configuration dialog.


git-svn-id: svn://localhost/gambas/trunk@3288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-08 21:56:40 +00:00
Benoît Minisini
03692503ef [DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog tries its best to automatically check 
  dependencies when a component is selected. Dependencies automatically
  added but not explicitely checked by the user are displayed with a gray 
  check mark instead of a black one.


git-svn-id: svn://localhost/gambas/trunk@3287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-08 18:06:52 +00:00
Benoît Minisini
453236f17f [DEVELOPMENTE ENVIRONMENT]
* BUG: A "=" character was missing in the menu file generated by the 
  Debian/Ubuntu packager.

[INTERPRETER]
* BUG: Fix two incorrect optional function declarations.


git-svn-id: svn://localhost/gambas/trunk@3286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-08 15:57:25 +00:00
Benoît Minisini
61e2103bb6 [DEVELOPMENT ENVIRONMENT]
* NEW: Polish the new search list.
* NEW: Hide the search window when a line is selected in the search list.
* BUG: The search list correctly follow file modifications again.


git-svn-id: svn://localhost/gambas/trunk@3283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 23:46:41 +00:00
Benoît Minisini
9f53c73d5e [DEVELOPMENT ENVIRONMENT]
* NEW: The browse project search list is now located in the debug panel.


git-svn-id: svn://localhost/gambas/trunk@3282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 22:17:49 +00:00
Benoît Minisini
df22763cfe [DEVELOPMENT ENVIRONMENT]
* BUG: Using the left or right key on the search browse list does not 
  crash anymore.
* BUG: When cleaning up the project, remove "core" files too.


git-svn-id: svn://localhost/gambas/trunk@3281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 14:57:03 +00:00
Benoît Minisini
5ecb5203d1 [GB.FORM.MDI]
* BUG: Many clean-ups in the MDI management.

[GB.GTK]
* BUG: The Index argument of the TabStrip.Close event handler is now 
  correct.
* NEW: The Arrange event is raised even if the container has no child.
* BUG: Reparenting a top-level window works correctly now.
* BUG: Reparenting a top-level window does not show hidden children 
  controls anymore.

[GB.QT4]
* NEW: The Arrange event is raised even if the container has no child.

[GB.WEB]
* BUG: Better detection of accepted HTTP compressions.


git-svn-id: svn://localhost/gambas/trunk@3280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 11:41:59 +00:00
Benoît Minisini
63eefd927c [INTERPRETER]
* BUG: File.Load() now can read special files (like those in /proc) whose 
  size is zero even if they are not void.
* BUG: The native method error flag is not incorrectly propagated anymore
  when an error is raised.


git-svn-id: svn://localhost/gambas/trunk@3277 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-06 03:27:58 +00:00
Benoît Minisini
1a8c82215c [INTERPRETER]
* BUG: Fix startup current directory detection when running an archive.
* BUG: Using a Variant where a stream is requested does not crash the 
  interpreter anymore.


git-svn-id: svn://localhost/gambas/trunk@3276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-03 20:28:54 +00:00
Benoît Minisini
bcd8f6ff1f [GB.DESKTOP]
* NEW: Desktop.Open() takes a new argument that tells if we should open the
  URL in background or not. By default the URL is opened in background.


git-svn-id: svn://localhost/gambas/trunk@3275 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-01 12:56:27 +00:00
Benoît Minisini
6715fc3d5e [DEVELOPMENT ENVIRONMENT]
* BUG: Handle compiler error messages with no line number correctly again.


git-svn-id: svn://localhost/gambas/trunk@3274 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-01 12:43:03 +00:00
Benoît Minisini
8aac47f84d [EXAMPLES]
* BUG: Fix the Database example.

[INTERPRETER]
* BUG: Fix unchecked system calls.

[ARCHIVER]
* BUG: Prevent the archiver from putting the executable file into itself, 
  leading to a endless growing generated file.
* NEW: Files having the ".gambas" extension are now excluded from 
  executable archives.

[GB.DB.FORM]
* BUG: Remove the DataBrowser.Adjust property.


git-svn-id: svn://localhost/gambas/trunk@3272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 22:05:29 +00:00
Benoît Minisini
583fcf419d [DEVELOPMENT ENVIRONMENT]
* NEW: Change the project tree background color when a filter is active.
* BUG: Do not display false circular inheritance errors when a filter is 
  active.
* NEW: Hide the debug panel when a database connection window is active.


git-svn-id: svn://localhost/gambas/trunk@3271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 19:36:29 +00:00
Benoît Minisini
aa1fe3bb1a [INTERPRETER]
* BUG: Variants can be constant strings (in database drivers for example). 
  So keep the constant string datatype when undoing the variant. 
  Otherwise, the constant string will be assumed to be a Gambas string, and 
  will be  deallocated, which leads to a crash.


git-svn-id: svn://localhost/gambas/trunk@3270 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 16:21:24 +00:00