Commit graph

1526 commits

Author SHA1 Message Date
Benoît Minisini
278b393018 [DEVELOPMENT ENVIRONMENT]
* NEW: Exported project classes that are controls are now automatically 
  visible in the control toolbar.
* NEW: Compiling the project now automatically refreshes the control 
  toolbar when needed.

[INTERPRETER]
* BUG: File.SetExt() now works correctly with files whose name begins with
  a dot.

[GB.QT4]
* BUG: The frame width of raised or sunken borders used by some Container 
  classes now should correctly follow the style.


git-svn-id: svn://localhost/gambas/trunk@3352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-09 03:15:42 +00:00
Benoît Minisini
634b584ae3 [GB.NET]
* BUG: Make gb.net compile correctly on FreeBSD.


git-svn-id: svn://localhost/gambas/trunk@3351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-08 17:21:36 +00:00
Benoît Minisini
a1c697eb93 [GB.SIGNAL]
* BUG: That component should be compiled correctly on FreeBSD now.


git-svn-id: svn://localhost/gambas/trunk@3350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-08 17:15:18 +00:00
Benoît Minisini
34bb499ae7 [DEVELOPMENT ENVIRONMENT]
* BUG: Hide the menu entry "add a project link".

[GB.GTK]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred 
  default size of a scrollbar.

[GB.QT4]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred 
  default size of a scrollbar.


git-svn-id: svn://localhost/gambas/trunk@3349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 22:13:02 +00:00
Benoît Minisini
6d26022111 [GB.QT4]
* BUG: Apply the patch to the previous Qt bug only to PDF and PS paint 
  engines.


git-svn-id: svn://localhost/gambas/trunk@3348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 01:26:05 +00:00
Benoît Minisini
1354ca2af7 [GB.DB.ODBC]
* BUG: Table existence should be checked correctly now.

[GB.DRAW]
* NEW: Paint.DrawImage() is a new utility function to paint an image 
  easily.

[GB.QT4]
* BUG: Printer.Count is now 1 by default.
* BUG: Found a workaround to the Qt bug #5114. Now the brush matrix is 
  taken into account when painting on a Printer object.


git-svn-id: svn://localhost/gambas/trunk@3347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 01:20:40 +00:00
Benoît Minisini
26b363c96f [WIKI CGI SCRIPT]
* NEW: Button to "flattr" Gambas.

[INTERPRETER]
* BUG: Fix some possible uses of unitialized values.

[COMPILER]
* BUG: Fix a possible crash when having 63 arguments passed by reference 
  to a function.

[GB.DB.SQLITE3]
* BUG: Detect integer primary key whatever the case used to write 
  "integer".

[GB.GTK]
* BUG: Page setup is enabled in printer configuration dialog now.

[GB.QT4]
* BUG: The font size of printed texts is now correct.


git-svn-id: svn://localhost/gambas/trunk@3344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-05 20:17:24 +00:00
Benoît Minisini
cf16f17a91 [INTERPRETER]
* BUG: Use isfinite() instead of deprecated finitef() functions.
* BUG: Replace "Static array" error message by "Embedded array".


git-svn-id: svn://localhost/gambas/trunk@3343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-05 11:33:22 +00:00
Benoît Minisini
ac01b8fc64 [GB.GTK]
* BUG: Fix a bad code path in event management, which leads to warnings 
  from the GTK+ library when displaying the printer configuration dialog.


git-svn-id: svn://localhost/gambas/trunk@3342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-04 16:07:53 +00:00
Benoît Minisini
018ea0ebb1 [EXAMPLES]
* NEW: Remove the Printing example that works on Gambas 2 only.


git-svn-id: svn://localhost/gambas/trunk@3341 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-04 15:39:48 +00:00
Laurent Carlier
3821669aab [GB.SDL]
* BUG: Removed support for system font, as it'snt really stable and working well.
* NEW: Now Font class use a default TTF font, DejaVuSans.ttf



git-svn-id: svn://localhost/gambas/trunk@3340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-30 20:02:42 +00:00
Laurent Carlier
ccfa32566a [CONFIGURATION]
* BUG: Fix installation of extra datas files



git-svn-id: svn://localhost/gambas/trunk@3339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-30 15:48:26 +00:00
Benoît Minisini
0f031c5741 [COMPILER]
* BUG: Define LLONG_MAX constant when it is not defined.


git-svn-id: svn://localhost/gambas/trunk@3338 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-30 15:03:47 +00:00
Laurent Carlier
2555d51dfc [CONFIGURATION]
* NEW: Add the possibility for a component in C/C++ to install custom data files.

These files must be provided into a "data" folder created in the component source directory.
Also this line must be added in the Makefile.am file:
EXTRA_DIST = data

Datas are installed in the $(DESTDIR)$(gbdatadir)/$(COMPONENT) dir
eg : /usr/local/share/gambas3/gb.sdl



git-svn-id: svn://localhost/gambas/trunk@3337 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-30 14:16:43 +00:00
Benoît Minisini
b61b72ca10 [DEVELOPMENT ENVIRONMENT]
* BUG: Project files that are symbolic links are always read-only now.


git-svn-id: svn://localhost/gambas/trunk@3336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-30 14:04:39 +00:00
David Villalobos Cambronero
e0fdfd2fdc [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3335 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-29 16:11:25 +00:00
Benoît Minisini
2a252a9d4e [DEVELOPMENT ENVIRONMENT]
* BUG: Replace IsBoolean(x) by TypeOf(x) = gb.Boolean.


git-svn-id: svn://localhost/gambas/trunk@3334 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-29 10:50:46 +00:00
Benoît Minisini
76208aea23 [WIKI CGI SCRIPT]
* NEW: Version support for all wiki pages.
* NEW: Adding "#X" behind a title page make indexes ignore that page when 
  version X is requested.
* NEW: Version 2 is blue and version 3 is red.

[GB.DB.FORM]
* BUG: IsObject() has been removed, so do differently now.

[GB.GTK]
* BUG: Cursor is correctly updated with the value of Application.Busy now.


git-svn-id: svn://localhost/gambas/trunk@3333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 19:08:51 +00:00
Benoît Minisini
088aa594b2 [DEVELOPMENT ENVIRONMENT]
* NEW: In a red mood...


git-svn-id: svn://localhost/gambas/trunk@3332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 10:31:10 +00:00
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