Commit graph

1817 commits

Author SHA1 Message Date
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
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