Commit graph

486 commits

Author SHA1 Message Date
Benoît Minisini
283a5c3e78 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for Hindi language.

[INTERPRETER]
* BUG: The Atnh() function has been fixed.


git-svn-id: svn://localhost/gambas/trunk@1931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-22 08:50:40 +00:00
David Villalobos Cambronero
404429750f [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated

git-svn-id: svn://localhost/gambas/trunk@1929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-13 14:42:00 +00:00
Benoît Minisini
8641a81db2 [DEVELOPMENT ENVIRONMENT]
* NEW: Make better module icons.


git-svn-id: svn://localhost/gambas/trunk@1928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-11 23:20:57 +00:00
Benoît Minisini
5b6b908f2b [DEVELOPMENT ENVIRONMENT]
* NEW: New way of making source file icons.

[GB.DB.*]
* BUG: Forgot to add *.component files.


git-svn-id: svn://localhost/gambas/trunk@1927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-11 07:12:16 +00:00
Benoît Minisini
d48356d59d [DEVELOPMENT ENVIRONMENT]
* NEW: Now each database driver has its own component, so that you can 
  explicitely check it. This way, these dependencies are taken into account
  when making a binary package.
* NEW: Starting support for WebPage classes, and other kind of forms.

[WIKI CGI SCRIPT]
* BUG: Symbol pages are never cached, so that refreshing a 2.0 symbol page 
  does not break a 3.0 symbol page.

[INTERPRETER]
* NEW: gb.IgnoreCase is a new property that is a synonymous of gb.Text.
* NEW: gb.UseLanguage is a new property that is a synonymous of gb.Language.

[GB.DB.*]
* NEW: All database drivers now have a *.component file, and is visible in 
  the IDE project property dialog.


git-svn-id: svn://localhost/gambas/trunk@1926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-10 21:19:32 +00:00
Benoît Minisini
ed62e2dc78 [DEVELOPMENT ENVIRONMENT]
* BUG: Store autoconf extra tests in the .project file, not in its own 
  hidden file anymore.
* NEW: Add KDE4 as possible icon theme.
* BUG: The packager wizard logic has been fixed.

[INTERPRETER]
* NEW: The Array class has now almost all standard array methods. They all 
  use Variant as array contents datatype, internally converting values to
  the real array datatype.
* NEW: Quote$() now keeps characters whose code is greater as 126 unquoted.

[COMPILER]
* NEW: '\b' and '\f' are two new escaped sequences in strings.
* BUG: Move some debugging breakpoint instructions so that the debugger 
  breaks at the right line when there is an error during an IF or a CASE 
  instruction.

[GB.EVAL]
* NEW: '\b' and '\f' are two new escaped sequences in strings.

[GB.FORM]
* NEW: Some new stock icons.

[GB.QT.EXT]
* NEW: Editor.Lines[].GetInitialState() fills the Highlight properties
  (State, Tag and AlternateState) with the initial state of a line.

[GB.WEB]
* NEW: JSON is a new class that can encode and decode the JSON format.


git-svn-id: svn://localhost/gambas/trunk@1925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-08 10:11:16 +00:00
Benoît Minisini
9136624913 [GB.FORM]
* BUG: TableView now handle the Return/Enter key by raising the Click 
  event instead of automatically editing the cell, so that non-editable
  cells are not editer by mistake.
* BUG: The same fix was applied to the way TableView handles arrow keys.
* NEW: Some new icons in the KDE4 stock map.
* BUG: The TableView editor now has the same font as the master TableView.


git-svn-id: svn://localhost/gambas/trunk@1922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-05 18:52:07 +00:00
Benoît Minisini
e0939bcf57 [DEVELOPMENT ENVIRONMENT]
* BUG: Replace some specific icons by stock icons.
* NEW: Support for the new alternate background style in themes.
* NEW: Support for server web pages syntax highlighting.

[GB.EVAL]
* NEW: Highlight.Alternate is a new constant for the new alternate 
  background style.
* BUG: Highlight.Analyze() should now deal correctly with UTF-8 patterns.
* NEW: Highlight.Analyze() now takes a new optional argument. If this 
  argument is set to TRUE, then the Gambas code line will be rewritten.
* NEW: Highlight.TextAfter is a new property that returns Highlight.Text 
  after is has been rewritten.

[GB.QT.EXT]
* NEW: Highlight.Alternate is a new constant for the new alternate 
  background style.
* NEW: Highlight.AlternateState tells the custom highlighter if the 
  alternate background must be used by the next Highlight.Add() call.
* NEW: Support for the new alternate background style in Editor.


git-svn-id: svn://localhost/gambas/trunk@1921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-04 23:52:47 +00:00
Benoît Minisini
ada661c058 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the useless toolbars in the search panel.

[GB.DESKTOP]
* NEW: Support for KDE4.

[GB.FORM]
* NEW: Support for KDE4 icon theme.


git-svn-id: svn://localhost/gambas/trunk@1920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-04 14:33:47 +00:00
Benoît Minisini
6afb40993e [GB.GTK]
* BUG: Fix the corruption of the Text property in editable combo-boxes.
* BUG: Fix again the Font property for non-control classes.


git-svn-id: svn://localhost/gambas/trunk@1919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-03 23:06:45 +00:00
Benoît Minisini
238da73bb3 [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for extra package dependencies.
* BUG: The right column of the property sheet is not too wide anymore.

[GB.GTK]
* BUG: Fix the ComboBox.Add() method slowness.

[GB.QT]
* BUG: Borderless modal windows do not show any border anymore with 
  Metacity.

[GB.XML.RPC]
* BUG: Event management was fixed, thanks to Ron.
* BUG: RcpArray.Copy() now returns an RpcArray object.


git-svn-id: svn://localhost/gambas/trunk@1918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-03 22:29:51 +00:00
Fabien Bodard
bb5422df8e [GB.REPORT]
* BUG: Change the old BackColor reference so the component is usable.


git-svn-id: svn://localhost/gambas/trunk@1917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-27 12:48:54 +00:00
Peter Landgren
f79aecb703 [GB.FORM]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-22 12:26:36 +00:00
Peter Landgren
44fb8f2275 [GB.FORM.MDI]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-22 12:23:44 +00:00
Peter Landgren
8ea35ff026 [WIKI CGI SCRIPT]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-22 12:12:01 +00:00
Peter Landgren
07cc7c3dcb [DEVELOPMENT ENVIRONMENT]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-22 12:09:38 +00:00
David Villalobos Cambronero
10e6ac91c1 [GB.FROM]
* BUG: Commented line 99 in ValueBox.Class since Form.Combo is not a valid Form.Type.

git-svn-id: svn://localhost/gambas/trunk@1905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-16 18:20:10 +00:00
Benoît Minisini
50381b667a [GB.GTK]
* BUG: Dialog.SaveFile() now correctly initializes the file name in the 
  file chooser dialog.
* BUG: Disabled controls correctly honor the Background property.
* BUG: The Foreground and Background properties of TabStrip, CheckBox, 
  RadioButton and other Button controls work as expected.
* BUG: Setting the Font property does not create a memory leak anymore.
* BUG: The menu bar of a reparented window does not disappear anymore.


git-svn-id: svn://localhost/gambas/trunk@1904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-15 11:32:01 +00:00
Fabien Bodard
5da5fbc924 [GB.CHART]
* BUG: An error on the line and bar type is now corrected.



git-svn-id: svn://localhost/gambas/trunk@1902 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-08 21:08:49 +00:00
Benoît Minisini
f90da327a9 [GB.PDF]
* BUG: PdfDocument.HasIndex does not return TRUE anymore when there is an 
  index whose length is null.
* BUG: Fix PdfIndex.HasChildren that sometimes returned TRUE when there was 
  no children.
* BUG: Fix PdfIndex.MoveChild() accordingly.


git-svn-id: svn://localhost/gambas/trunk@1900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-05 13:19:37 +00:00
Fabien Bodard
cebcffdeff [GB.CHART]
* BUG: i've change some little things to resolve a problem 
  of allocation non freed.


git-svn-id: svn://localhost/gambas/trunk@1898 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-05 09:32:26 +00:00
Fabien Bodard
53385f5a69 [GB.CHART]
* NEW: Now the chart component is instanciable, so you can use use
  multiple chart in one form or one drawingarea.


git-svn-id: svn://localhost/gambas/trunk@1897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-05 08:48:01 +00:00
Benoît Minisini
d1e6da0715 [GB.GTK]
* NEW: GridView.AutoResize is a new property, set by default. The last 
  column of the GridView is automatically stretched only if this property 
  is set.


git-svn-id: svn://localhost/gambas/trunk@1896 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-04 18:22:20 +00:00
Benoît Minisini
ff6862adb6 [DEVELOPMENT ENVIRONMENT]
* NEW: The toolbox now remembers if it is opened or closed.

[GB.QT]
* BUG: The Control.Tracking property is now visible in the IDE.
* NEW: GridView.AutoResize is a new property, set by default. The last 
  column of the GridView is automatically stretched only if this property 
  is set.

[GB.GTK]
* NEW: Control.Tracking has been implemented.

[GB.XML.RPC]
* BUG: RpcStruct.Value() should work as expected now.


git-svn-id: svn://localhost/gambas/trunk@1895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-04 17:42:11 +00:00
David Villalobos Cambronero
7ff423db9b [DEVELOPMENT ENVIROMENTO]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-02 16:25:01 +00:00
Benoît Minisini
eb4ed0212c [INTERPRETER]
* BUG: Array.Clear() now does not crash anymore on multi-dimensional 
  arrays. It just voids the array contents. Array.Clear() behaviour on 
  single dimensional arrays did not change: it removes all elements from
  the array.

[GB.GTK]
* BUG: TextLabel.Adjust() now works as expected.


git-svn-id: svn://localhost/gambas/trunk@1892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-02 11:36:42 +00:00
Benoît Minisini
879fb39a4d [CONFIGURATION]
* NEW: Disable preloading by default.

[WIKI CGI SCRIPT]
* NEW: Enable turkish language.


git-svn-id: svn://localhost/gambas/trunk@1889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-01 16:38:44 +00:00
Benoît Minisini
c7858ce56d [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the Malayalam language.

[GB.DB]
* BUG: Fix a bug that sometimes truncates the query sent to the database 
  driver.

[GB.QT]
* NEW: Control.Tracking is a new property that enables MouseMove events
  in a control even when no mouse button is pressed.
* NEW: The DrawingArea.Tracking property has been replaced by the new
  property above.


git-svn-id: svn://localhost/gambas/trunk@1888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-01 15:12:51 +00:00
David Villalobos Cambronero
1199e7c8e9 [GB.FROM.MDI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-27 20:44:02 +00:00
David Villalobos Cambronero
5e1fd1bd76 [GB.FORM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-27 20:28:52 +00:00
Benoît Minisini
3362aafbf1 [DEVELOPMENT ENVIRONMENT]
* BUG: Make the property project dialog larger for large fonts.

[INFORMER]
* BUG: Correctly initialize an uninitialized variable

[GB.DB.MYSQL]
* BUG: Remove the gb.db.mysql.component file, as gb.db.mysql is not a
  component anymore.

[GB.NET]
* BUG: ServerSocket.Accept() does not create a Socket that takes 100% CPU 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@1885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-21 23:03:36 +00:00
Benoît Minisini
26aa5729d5 [INFORMER]
* NEW: Enable temporarily verbose mode for debugging purpose.


git-svn-id: svn://localhost/gambas/trunk@1884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-21 00:00:35 +00:00
Benoît Minisini
7b37f88229 [CONFIGURATION]
* BUG: Run the informer twice before compiling the components written in 
  Gambas. That should solve some problems.


git-svn-id: svn://localhost/gambas/trunk@1883 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-20 00:59:24 +00:00
Benoît Minisini
dc859bf40e [GB.MYSQL]
* NEW: This component is now the MySQL specific database component.
  It is not included anymore inside the gb.db.mysql driver.


git-svn-id: svn://localhost/gambas/trunk@1882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-19 00:11:04 +00:00
Benoît Minisini
f30bfdba02 [GB.MYSQL]
* NEW: Rename /comp/src/gb.db.mysql to /comp/src/gb.mysql.


git-svn-id: svn://localhost/gambas/trunk@1881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-18 22:44:59 +00:00
Benoît Minisini
2be41f2b0f [GB.DB.MYSQL]
* NEW: Remove the gb.db.mysql gambas part, and move it to /comp/src, so
  that it becomes a component on its own.


git-svn-id: svn://localhost/gambas/trunk@1880 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-18 22:36:44 +00:00
Benoît Minisini
96902d90ec [GB.FORM.MDI]
* BUG: Fix the toolbar initialization.


git-svn-id: svn://localhost/gambas/trunk@1878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-18 02:56:35 +00:00
Benoît Minisini
dadd0b9ef2 [DEVELOPMENT ENVIRONMENT]
* NEW: You can paste the clipboard contents as a multi-line string.
* NEW: Toolbar buttons for quick special pasting.

[GB.QT]
* BUG: Fix a crash in the Splitter control arrangement.

[GB.QT4]
* BUG: Fix a crash in the Splitter control arrangement.


git-svn-id: svn://localhost/gambas/trunk@1877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-17 23:50:39 +00:00
Benoît Minisini
a4350d1047 [GB.QT4]
* BUG: Label and TextLabel autoresize routine has been fixed.
* BUG: ScrollView now arrange its contents again when one of its scrollbars 
  is shown or hidden.
* BUG: Minimum size of window dialogs works again.
* BUG: Top-level windows now arrange its contents on resize events in all
  cases as expected.


git-svn-id: svn://localhost/gambas/trunk@1876 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-17 02:13:33 +00:00
Benoît Minisini
e1712973c2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the arrangement of the welcome dialog and the project property 
  component list.
* BUG: Undo now works on procedure declaration automatically inserted.

[INTERPRETER]
* BUG: Object.Lock(), Object.Unlock() and Object.IsLocked() now work as
  expected on Observer objects.

[GB.QT]
* BUG: Label and TextLabel autoresize routine has been fixed.
* BUG: ScrollView now arrange its contents again when one of its scrollbars 
  is shown or hidden.
* BUG: Minimum size of window dialogs works again.
* BUG: Top-level windows now arrange its contents on resize events in all
  cases as expected.


git-svn-id: svn://localhost/gambas/trunk@1875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-17 01:51:25 +00:00
Benoît Minisini
50d190496d [INTERPRETER]
* BUG: Printing a debugging expression with an array class name only 
  inside does not crash the interpreter anymore.
* OPT: Object[].Find() and Object[].Exist() were optimized. They do not 
  check and use the _compare special method anymore. They use the object
  address directly.

[GB.QT4]
* BUG: Clipboard.Format does not crash anymore if there is nothing in the
  clipboard.
* BUG: Do not process events just after a menu popup has been hidden.


git-svn-id: svn://localhost/gambas/trunk@1874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-16 21:39:07 +00:00
Benoît Minisini
4401efa276 [GB.FORM]
* NEW: The Balloon shape has been redesigned.
* BUG: The Balloon should not flicker anymore.

[GB.GTK]
* BUG: Image.Draw() now works correctly if X or Y are negative.
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.

[GB.NET]
* BUG: UdpSocket.TargetPort returns the accurate value now.

[GB.QT]
* BUG: The Window.Mask property works correctly now.
* BUG: Draw.Image() and Draw.Picture() now work correctly on transparent 
  pictures.
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs 
  were fixed by the way.

[GB.QT4]
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs 
  were fixed by the way.


git-svn-id: svn://localhost/gambas/trunk@1873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-15 23:49:07 +00:00
Benoît Minisini
6a8595a2cc [GB.QT.EXT]
* BUG: When an Editor gets the focus, it does not scroll its contents to 
  make the cursor visible anymore.

[GB.QT4.EXT]
* BUG: When an Editor gets the focus, it does not scroll its contents to 
  make the cursor visible anymore.


git-svn-id: svn://localhost/gambas/trunk@1871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-14 22:19:31 +00:00
Benoît Minisini
bc20cf9982 [GB.NET]
* NEW: UdpSocket can use the local domain now.
* NEW: UdpSocket.Bind now takes no argument. It uses the new Port property 
  to bind to an internet address, or the new Path property to bind to a 
  local path.
* NEW: UdpSocket.TargetPath is a new property that must be set instead of 
  TargetPort and TargetHost to define the local path address of the 
  destination message.
* NEW: UdpSocket.SourcePath is a new property that returns the path of the 
  local socket that sent the message.


git-svn-id: svn://localhost/gambas/trunk@1870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-14 22:17:48 +00:00
Benoît Minisini
114d4b3211 [GB.IMAGE]
* NEW: Image.Colorize() is a new method for colorizing an image.


git-svn-id: svn://localhost/gambas/trunk@1869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-13 00:12:07 +00:00
Benoît Minisini
e2c952c375 [DEVELOPMENT ENVIRONMENT]
* BUG: UTF-8 characters are allowed in project data file names now.

[INTEPRETER]
* NEW: Allocation debugging messages can be redirected to a log file.

[GB.DB.FORM]
* BUG: DataBrowser FBrowser form does not incorrectly override Form.Panel 
  anymore.

[GB.GTK]
* BUG: TabStrip.Font now behaves as expected.
* BUG: GridView Row and Column properties can be set independently.
* BUG: Fix the container arrangement and the ClientX / ClientY properties.

[GB.FORM]
* OPT: FileView redraws were delayed so that they are optimized.
* BUG: Balloon tried to not take the focus.

[GB.QT]
* BUG: Fix the GridView last column stretching.

[GB.QT4]
* NEW: The AutoResize property of Button, ToolButton and ToggleButton 
  controls were implemented.
* BUG: Button, ToolButton and ToggleButton now behave correctly when their
  font change.
* OPT: Arrangement was optimized.
* BUG: TabStrip ClientX, ClientY, ClientWidth and ClientHeight properties 
  now return accurate values.

[GB.QT4.EXT]
* BUG: Editor now draws non-highlighted lines correctly.


git-svn-id: svn://localhost/gambas/trunk@1868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-12 16:43:25 +00:00
Benoît Minisini
a9788faff4 [GB.CAIRO]
* BUG: Cairo.Restore really restores.


git-svn-id: svn://localhost/gambas/trunk@1867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-12 16:23:37 +00:00
Benoît Minisini
30c9618d6b [INTERPRETER]
* BUG: Fix a string memory leak.


git-svn-id: svn://localhost/gambas/trunk@1863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-06 17:40:15 +00:00
Benoît Minisini
264a4f1cbd [INTERPRETER]
* BUG: Remove stderr redirection.


git-svn-id: svn://localhost/gambas/trunk@1862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-06 12:07:52 +00:00
Benoît Minisini
d6b1f777da [INTERPRETER]
* NEW: Temporarily disable memory leak warning message.


git-svn-id: svn://localhost/gambas/trunk@1861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-06 12:05:39 +00:00