Commit graph

3555 commits

Author SHA1 Message Date
Benoît Minisini
cee6e90273 [GB.WEB]
* BUG: JSON.Encode() can encode arrays again.


git-svn-id: svn://localhost/gambas/trunk@5518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-26 11:09:40 +00:00
Tobias Boege
aaa33dc68f [DEVELOPMENT ENVIRONMENT]
* NEW: Add patch management
* NEW: Patches can be generated for old source archives to be patched to the
  currently opened project
* NEW: Patches can be applied/reverted to/from the current project
* NEW: Each patch hunk can individually be inspected and (de)selected before
  committing the operation
* NEW: Multiple patches can be queued in the dialog



git-svn-id: svn://localhost/gambas/trunk@5517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-25 23:14:42 +00:00
Benoît Minisini
b21341ec7c [INTERPRETER]
* BUG: Collection cannot be converted to an array.


git-svn-id: svn://localhost/gambas/trunk@5516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-24 22:29:27 +00:00
Tobias Boege
28d47a84bb [GB.EVAL.HIGHLIGHT]
* NEW: Make the HighlightDiff class recognise hunks separated by the current
  `diff` command being echoed into the header. These can be (un)expanded in
  Editor now.



git-svn-id: svn://localhost/gambas/trunk@5515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-24 19:38:13 +00:00
Benoît Minisini
51223bab13 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a project source archive works correctly again.


git-svn-id: svn://localhost/gambas/trunk@5514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-22 02:13:23 +00:00
Benoît Minisini
aebd42822d [DEVELOPMENT ENVIRONMENT]
* NEW: Enhance Gambas 2 -> Gambas 3 project conversion.
* BUG: Correctly refresh the window titile if the project conversion fails.


git-svn-id: svn://localhost/gambas/trunk@5513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-20 16:16:09 +00:00
Benoît Minisini
3e0fd780fe [DEVELOPMENT ENVIRONMENT]
* NEW: Remove 'PUBLIC' keyword from 'PUBLIC PROPERTY' in Gambas2 to Gambas3 
  project conversion.


git-svn-id: svn://localhost/gambas/trunk@5512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-20 00:42:16 +00:00
Benoît Minisini
746b155d65 [INTERPRETER]
* BUG: Ending a process was removing the watched file descriptors twice in 
  some cases.


git-svn-id: svn://localhost/gambas/trunk@5511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-19 17:42:09 +00:00
Benoît Minisini
699268efeb [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a source archive now uses a temporary intermediate file and
  displays an error message if something fails.


git-svn-id: svn://localhost/gambas/trunk@5510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-19 15:13:18 +00:00
Fabien Bodard
367110840c [GB.MAP]
* NEW: Begin to implement shapes


git-svn-id: svn://localhost/gambas/trunk@5509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-18 17:22:55 +00:00
Benoît Minisini
9f3fbd8280 [DEVELOPMENT ENVIRONMENT]
* BUG: Sort profile by descending duration again.

[GB.DB.FORM]
* BUG: Fix possible crash in DataView and DataBrowser.

[GB.GUI.BASE]
* BUG: ScrollArea.EnsureVisible() now takes the scrollbars into account.
* BUG: ScrollArea now correctly takes the Style.ScrollBarSpacing property 
  into account when computing the ClientWidth and ClientHeight properties.


git-svn-id: svn://localhost/gambas/trunk@5508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-18 01:53:53 +00:00
Sebastian Kulesz
3732d4e1d8 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation



git-svn-id: svn://localhost/gambas/trunk@5507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-16 23:38:31 +00:00
Benoît Minisini
4f9bedfb51 [COMPILER]
* BUG: Correctly raise an error if we use the New keyword inside an 
  embedded array declaration.


git-svn-id: svn://localhost/gambas/trunk@5506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-14 01:26:16 +00:00
Benoît Minisini
a523452bc4 [DEVELOPMENT ENVIRONMENT]
* BUG: Profiler: Take recursitivity into account. Consequently, the 
  duration of a function call in the line by line report does not include
  the duration of the called function anymore.


git-svn-id: svn://localhost/gambas/trunk@5505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-13 21:36:07 +00:00
Benoît Minisini
93966c3d5d [GB.FORM]
* NEW: TableView: Editing mode keyboard management now raises the Activate 
  event if the Click  event is not implemented.


git-svn-id: svn://localhost/gambas/trunk@5504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-13 12:52:32 +00:00
Benoît Minisini
dca578ebab [GB.XML.RPC]
* BUG: RpcClient works again.


git-svn-id: svn://localhost/gambas/trunk@5503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-12 23:17:13 +00:00
Benoît Minisini
302d0c8fe3 [INTERPRETER]
* BUG: Fix memory leak in Class[].Signature property.


git-svn-id: svn://localhost/gambas/trunk@5502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-12 22:44:52 +00:00
Benoît Minisini
66feaf57be [GB.XML.RPC]
* BUG: Fix RpcClient hang while interpreting data.


git-svn-id: svn://localhost/gambas/trunk@5501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-12 22:39:38 +00:00
Benoît Minisini
5577a3eb37 [GB.XML.RPC]
* BUG: The built-in HTTP server now send its data in one shot, by using the
  Begin and Send methods of the Stream class.


git-svn-id: svn://localhost/gambas/trunk@5500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-12 22:35:50 +00:00
Adrien Prokopowicz
ed9e19991a [GB.XML]
* NEW: Adding a new XmlElement.RemoveAttribute() method.
* BUG: The XmlElement.AppendChild does not crash anymore if a null element is sent.
* BUG: The XmlReader.FromString() now raises an error if the input buffer is empty.
* BUG: Fix some compilation warnings on XMLWriter.
* BUG: Fix the XmlNode.GetChildrenByAttributeValue() search method.

git-svn-id: svn://localhost/gambas/trunk@5499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-11 13:00:21 +00:00
Benoît Minisini
1f71712fe9 [GB.XML.RPC]
* BUG: Ensure that the RpcClient adds a newline at the end of the data it 
  sends, and that the "windows" newline sequence is used.


git-svn-id: svn://localhost/gambas/trunk@5498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-09 23:41:54 +00:00
Benoît Minisini
ed4eba49ff [DEVELOPMENT ENVIRONMENT]
* BUG: Fix help on project classes and project property synonymous.


git-svn-id: svn://localhost/gambas/trunk@5497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-08 02:14:13 +00:00
Benoît Minisini
7c67dac713 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if svn program is not installed.


git-svn-id: svn://localhost/gambas/trunk@5496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-08 01:49:05 +00:00
Benoît Minisini
99cc87f588 [DEVELOPMENT ENVIRONMENT]
* NEW: The selection color of the Gambas theme is lighter now.

[GB.FORM]
* NEW: Use shadows in FileChooser and DirChooser.

[GB.GUI.BASE]
* BUG: Fix behaviour of splitters when the visibility of one child is 
  toggled.


git-svn-id: svn://localhost/gambas/trunk@5495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-07 12:02:23 +00:00
Benoît Minisini
a480098f92 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't close the project version control dialog after a commit.

[GB.GUI.BASE]
* BUG: Fix the layout algorithm of HSplit and VSplit controls.


git-svn-id: svn://localhost/gambas/trunk@5494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-06 23:33:28 +00:00
Benoît Minisini
53d4d9c752 [INTERPRETER]
* BUG: Fixes of bugs detected by Coverity Scan.
* BUG: Process output is correctly flushed at process exit now.

[COMPILER]
* BUG: Fixes of bugs detected by Coverity Scan.

[ARCHIVER]
* BUG: Fixes of bugs detected by Coverity Scan.

[INFORMER]
* BUG: Fixes of bugs detected by Coverity Scan.

[GB.COMPRESS]
* BUG: Fixes of bugs detected by Coverity Scan.

[GB.DEBUG]
* BUG: Fixes of bugs detected by Coverity Scan.

[GB.EVAL]
* BUG: Fixes of bugs detected by Coverity Scan.

[GB.IMAGE]
* BUG: Fixes of bugs detected by Coverity Scan.

[GB.IMAGE.EFFECT]
* BUG: Fixes of bugs detected by Coverity Scan.

[GB.VB]
* BUG: Fixes of bugs detected by Coverity Scan.


git-svn-id: svn://localhost/gambas/trunk@5493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-06 16:13:31 +00:00
Benoît Minisini
e7097c7402 [SCRIPTER]
* BUG: Correctly deal with 'END' followed by a comment

git-svn-id: svn://localhost/gambas/trunk@5492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-05 20:50:57 +00:00
Tobias Boege
446ca03396 [GB.DATA]
* OPT: Remove unused function (reported by Coverity Scan/Emil Lenngren)



git-svn-id: svn://localhost/gambas/trunk@5491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-05 14:28:37 +00:00
Benoît Minisini
b8260e2aba [INTERPRETER]
* BUG: Some fixes of bugs detected by Coverity Scan.
* NEW: Raise a 'Filename too long' error now when a too long file path is
  detected inside a file management function.
* NEW: System.TimeZone is a new property that returns the current timezone
  as an offset in seconds that must be added to a local time to get UTC.

[COMPILER]
* BUG: Some fixes of bugs detected by Coverity Scan.

[GB.IMAGE]
* BUG: Some fixes of bugs detected by Coverity Scan.


git-svn-id: svn://localhost/gambas/trunk@5490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-04 23:24:37 +00:00
Benoît Minisini
13dd04d5a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initalize the help browser layout.
* NEW: Use the new Image.Fuzzy() method to draw a drop shadow in the 
  welcome screen text.

[COMPILER]
* NEW: The GB_PCODE_VERSION environment variable can take 'X.YY' as version 
  instead of 'X.YY.ZZZZ', which is actually useless.

[GB.COMPRESS]
* BUG: Remove useless code never compiled.

[GB.DBUS]
* BUG: Fix a possible memory leak in a debugging routine.

[GB.GSL]
* BUG: Remove useless code never compiled.

[GB.GTK]
* NEW: Implement a cairo surface cache in the Image class, so that drawing
  the same image several times trigger a GdkPixbuf -> Cairo surface 
  conversion once.
* BUG: Slider and Scrollbar controls now raise the Change event only if the
  value has really changed.

[GB.NET]
* BUG: Remove useless code never compiled.

[GB.NET.CURL]
* BUG: Remove useless code never compiled.

[GB.NET.SMTP]
* BUG: Remove useless code never compiled.

[GB.V4L]
* BUG: Remove useless code never compiled.


git-svn-id: svn://localhost/gambas/trunk@5489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-03 22:06:35 +00:00
Benoît Minisini
1e086db43d [COMPILER]
* NEW: The GB_PCODE_VERSION environment variable tells the compiler to use
  a different bytecode version that the current one. Use that hack only if
  you know exactly what you are doing.


git-svn-id: svn://localhost/gambas/trunk@5488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-03 11:01:05 +00:00
Benoît Minisini
f0d6f1a256 [GB.GTK]
* NEW: Remove old GDK / X11 drawing code.

[GB.IMAGE]
* NEW: Image.Fuzzy() is a new blur method based on the 'StackBlur'
  algorithm made by Mario Klingemann.


git-svn-id: svn://localhost/gambas/trunk@5487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-02 15:56:24 +00:00
Benoît Minisini
2a4b27cf51 [EXAMPLES]
* NEW: Remove environment variables defined in all examples projects at 
  installation.


git-svn-id: svn://localhost/gambas/trunk@5486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-02 00:43:22 +00:00
Benoît Minisini
e4477ce3b8 [CONFIGURATION]
* NEW: Switch to 3.4 version.

[GB.COMPRESS.ZLIB]
* BUG: Fix a file handle mistake.

[GB.GUI.BASE]
* NEW: Remove again the MyHSplit.class file. No idea how it came back into
  the repository...

[GB.JIT]
* BUG: Fix some warnings by using 'llvm-config.h' instead of 'config.h'.


git-svn-id: svn://localhost/gambas/trunk@5485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-01 18:37:42 +00:00
Fabien Bodard
b2b47a4123 [GB.MAP]
* NEW: Add an inertia effect on the MapView



git-svn-id: svn://localhost/gambas/trunk@5484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-01 17:19:06 +00:00
Benoît Minisini
05fac7e267 [GB.GTK]
* BUG: Don't crash if Paint.End() is called whereas the paint device has 
  been destroyed.


git-svn-id: svn://localhost/gambas/trunk@5483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-01 14:40:39 +00:00
Benoît Minisini
6b91e27a00 [DEVELOPMENT ENVIRONMENT]
* NEW: System information window does not use a shell script anymore.


git-svn-id: svn://localhost/gambas/trunk@5482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-01 14:31:13 +00:00
Benoît Minisini
dbf5689f9a [INTERPRETER]
* BUG: Check process stack pointer with a bigger margin so that we get 
  'Stack overflow' errors instead of segfaults.

[GB.GTK]
* BUG: Fix menu bar layout when the window is shown for the first time.

[GB.GUI.BASE]
* BUG: Don't set the background color of ScrollArea scrollbars.

[GB.QT4]
* NEW: Remove any useless reference to Q3ScrollView.
* OPT: Paint.ClipRect is now optimized when the clipping region is a single
  rectangle.


git-svn-id: svn://localhost/gambas/trunk@5481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-01 11:55:40 +00:00
Benoît Minisini
1c940acd0c [WIKI CGI SCRIPT]
* BUG: Fix history page.

[GB.GUI.BASE]
* OPT: ScrollArea scrollbars should not flicker anymore during a resizing
  operation.
* BUG: Fix HSPlit and VSplit  behaviour when the visibility of a child
  changes.
* NEW: HSplit.Layout and VSplit.Layout now return the width of an hidden 
  child as zero.

[GB.QT4]
* OPT: Optimize clipping when the clipping area is a rectangle.


git-svn-id: svn://localhost/gambas/trunk@5480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-31 03:13:04 +00:00
Laurent Carlier
077dd9071d [CONFIGURATION]
* BUG: Replace AM_CONFIG_HEADER with AC_CONFIG_HEADER, obsolete and removed with automake-1.13


git-svn-id: svn://localhost/gambas/trunk@5479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 23:30:29 +00:00
Benoît Minisini
d76ae3b004 [INTERPRETER]
* NEW: Pointer to string conversion now uses hexadecimal numbers.

[GB.QT4]
* BUG: Clipping now works when drawing pictures or images.


git-svn-id: svn://localhost/gambas/trunk@5478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 14:34:43 +00:00
Benoît Minisini
3f530258fe [DEVELOPMENT ENVIROMNENT]
* NEW: ADd a background and foreground color button to the form editor 
  format toolbar.

[GB.FORM]
* BUG: Remove a debugging message in DateChooser.


git-svn-id: svn://localhost/gambas/trunk@5477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 02:48:28 +00:00
Benoît Minisini
826b6b11d3 [GB.GUI.BASE]
* New Splitter file were not added. A bas side effect of upgrade to svn
  version 1.7?


git-svn-id: svn://localhost/gambas/trunk@5476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 01:29:15 +00:00
Benoît Minisini
e149b21e32 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for subversion 1.7.

[GB.FORM]
* BUG: ColorChooser with a border has an inner margin now.

[GB.QT4]
* BUG: Fix drawing or plain and etched borders.


git-svn-id: svn://localhost/gambas/trunk@5475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 01:22:23 +00:00
Benoît Minisini
2c88e76fd3 [INTERPRETER]
* BUG: Fix compilation on 32 bits systems.

[GB.FORM]
* NEW: DateChooser got a boolean Border property.
* NEW: ColorChooser got a boolean Border property.

[GB.GTK]
* BUG: Style drawing methods should be correctly clipped now.
* BUG: Compilation with older versions of librsvg should work now.
* BUG: Setting the Paint.Font property with a control font has no side 
  effects anymore.
* BUG: Drawing richt text and getting rich text size now wrap the text the
  same way.


git-svn-id: svn://localhost/gambas/trunk@5474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-29 23:19:20 +00:00
Benoît Minisini
3206720671 [GB.GTK]
* BUG: Should compile again with older version of librsvg.


git-svn-id: svn://localhost/gambas/trunk@5473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-29 13:22:30 +00:00
Benoît Minisini
d8d9e98961 [INTERPRETER]
* NEW: Pointer can be converted to String like Integer or Long.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the '~/.fonts.conf' file when installing the Gambas 
  font.

[GB.GTK]
* NEW: Remove HSplit and VSplit controls.

[GB.GUI.BASE]
* NEW: HSplit and VSplit controls are now implemented with Gambas.
* BUG: Fix scrollbar layout of ScrollArea and all its descendants.

[GB.QT4]
* NEW: Remove HSplit and VSplit controls.


git-svn-id: svn://localhost/gambas/trunk@5472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-29 10:17:38 +00:00
Benoît Minisini
10052fdedb [DEVELOPMENT ENVIRONMENT]
* NEW: Start making property toolbars in the form editor.

[GB.GTK]
* BUG: Fix some warnings with gcc 4.7.

[GB.GUI.BASE]
* NEW: Start writing a custom HSplit container in Gambas.

[GB.QT4]
* BUG: The Container NewChild event is now raised after the new child 
  control has been shown, like in gb.gtk.



git-svn-id: svn://localhost/gambas/trunk@5471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-28 01:47:17 +00:00
Benoît Minisini
4513050c81 [INTERPRETER]
* BUG: Do not leak memory if System.Shell is used.


git-svn-id: svn://localhost/gambas/trunk@5470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-27 15:18:16 +00:00
Benoît Minisini
1e58b08fa6 [GB.FORM]
* NEW: Take the DateChooser[].Font property into account.


git-svn-id: svn://localhost/gambas/trunk@5469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-24 13:39:15 +00:00