Commit graph

4548 commits

Author SHA1 Message Date
Benoît Minisini
9fdb68ffbe [INTERPRETER]
* BUG: Fix the 'Class' class declaration, so that is not virtual.


git-svn-id: svn://localhost/gambas/trunk@6455 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-06 16:53:40 +00:00
Benoît Minisini
765ed23eb6 [INTERPRETER]
* BUG: Take the "GB_VIRTUAL_CLASS()" declaration into account to decide if
  a native class is virtual or not. Don't just check the dot prefix in the 
  name.


git-svn-id: svn://localhost/gambas/trunk@6454 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-06 15:38:40 +00:00
Benoît Minisini
57ef95d9e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initialize ProjectChooser control.

[GB.FORM]
* NEW: DirView.HideRoot is a new property that hides the root row of the 
  DirView.
* NEW: Some design changes in the FileChooser and DirChooser controls.

[GB.GUI.BASE]
* BUG: IconView rubberband is now only active if the left moust button is 
  pressed.


git-svn-id: svn://localhost/gambas/trunk@6453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-06 13:19:12 +00:00
Benoît Minisini
b90b6061b8 [DEVELOPMENT ENVIRONMENT]
* NEW: Changes in project open dialog design.

[GB.GTK]
* BUG: Fix auto-resized labels layout.

[GB.QT4]
* BUG: Auto-resized labels correctly update their size when their border 
  property is modified.


git-svn-id: svn://localhost/gambas/trunk@6452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-06 09:34:34 +00:00
Tobias Boege
309d854317 [GB.DATA]
* NEW: Tweak Graph interface (still not finished)
* NEW: Add a GraphMatrix class which represents a Graph in a (non-sparse)
  adjacency matrix (not working)



git-svn-id: svn://localhost/gambas/trunk@6451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-05 19:12:06 +00:00
Benoît Minisini
bb8636ea0b [GB.QT4.WEBKIT]
* NEW: WebView.Reload() now takes an optional boolean argument, that tells 
  if the cache must be bypassed when reloading the page, or not as before.


git-svn-id: svn://localhost/gambas/trunk@6450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-05 12:21:13 +00:00
Benoît Minisini
30b1ea9cd9 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Magic wand finally works as expected.


git-svn-id: svn://localhost/gambas/trunk@6449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-04 19:41:11 +00:00
Benoît Minisini
24cc2648a9 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix magic wand tool. The result is not perfect, as the
  clipper library seems to not be able to simplify paths completely.
* NEW: Add a little "open in another window" transient button in all items
  of the project list.

[GB.CLIPPER]
* NEW: Upgrade to clipper 6.1.3a.


git-svn-id: svn://localhost/gambas/trunk@6448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-04 15:55:50 +00:00
Benoît Minisini
7962dad8e5 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new WebSettings.Cache.Clear() method.
* BUG: Fix project lists layout when they are filtered.

[WIKI CGI SCRIPT]
* BUG: Workaround the thttpd cgi interface bug.

[INTERPRETER]
* NEW: A new API for browsing a directory recursively.
* NEW: Js$() is a new function that quotes javascript strings.

[GB.FORM]
* BUG: ColorChooser: Don't memorize custom colors spuriously.

[GB.GUI.BASE]
* BUG: GridView: Don't take hidden columns into account when layouting 
  expanded columns.


git-svn-id: svn://localhost/gambas/trunk@6447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-03 14:33:18 +00:00
Benoît Minisini
e5f26eb0d4 [GB.QT4.WEBKIT]
* BUG: Better error messages in WebSettings.Cache.Clear() method.


git-svn-id: svn://localhost/gambas/trunk@6446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-03 12:16:50 +00:00
Benoît Minisini
04f054c93e [GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path now must be located inside the '~/.cache' 
  directory.
* NEW: WebSettings.Cache.Clear() is a new method to clear the cache.


git-svn-id: svn://localhost/gambas/trunk@6445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-03 11:57:06 +00:00
Benoît Minisini
3438c89f85 [GB.QT4.WEBKIT]
* BUG: Fix WebElement.Paint() declaration.


git-svn-id: svn://localhost/gambas/trunk@6444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-02 16:34:02 +00:00
Benoît Minisini
234b591d2a [GB.QT4]
* BUG: Remove debugging breakpoint. ARM cannot compile with them!


git-svn-id: svn://localhost/gambas/trunk@6443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-02 09:35:04 +00:00
Benoît Minisini
eeddb4a9e7 [GB.WEB]
* BUG: Workaround a thttpd bug that does not set the SCRIPT_NAME correctly 
  when the URL ends with a slash.


git-svn-id: svn://localhost/gambas/trunk@6441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-01 21:46:24 +00:00
Benoît Minisini
c7551443e8 [DEVELOPMENT ENVIRONMENT]
* BUG: Try to fix the position history management.
* NEW: Add a menu entry to open the current project tree directory in the 
  system file manager.


git-svn-id: svn://localhost/gambas/trunk@6440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-31 14:03:14 +00:00
Benoît Minisini
07e51e8d3c [GB.JIT]
* BUG: Compile `jit_codegen.cpp` with rtti enabled, and 
  `jit_gambas_pass.cpp` without.


git-svn-id: svn://localhost/gambas/trunk@6439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-31 01:42:01 +00:00
Benoît Minisini
7ab4f4a3ec [GB.QT4]
* BUG: Fix ScrollView viewport size computation when there is no 
  arrangement set.


git-svn-id: svn://localhost/gambas/trunk@6438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-29 23:16:08 +00:00
Benoît Minisini
51389e5e24 [DEVELOPMENT ENVIRONMENT]
* NEW: Profiler: Format data with the thousand separator.
* NEW: Allow to choose the prefix characters when inserting a color.


git-svn-id: svn://localhost/gambas/trunk@6437 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 23:39:57 +00:00
Benoît Minisini
60adaafa16 [GB.QT4]
* OPT: Optimize ScrollView arrangement when its size changes.
* BUG: The ScrollView does not flicker anymore when its size changes.


git-svn-id: svn://localhost/gambas/trunk@6436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 20:03:15 +00:00
Nigel Gerrard
e0b9fc1eac [CONFIGURATION]
* BUG: Set Cygwin Shared Library Extension to dll

[GB.JIT]
* NEW: Add conditional defines for Cygwin to allow compile:
  Use finite in place of _finite, __isnand in place of __isnan
  and __isinfd in place of __isinf.

* NEW: Remove jit_gambas_pass_dummy.cpp as this is no longer
  required to compile with later versions of llvm. Also fixes
  issue with Cygwin compile.

[GB.NET]
* NEW: Redefine TIOCOUTQ for Cygwin

[GB.SDL.SOUND]
* NEW: -lSDL needed for Cygwin linker

[INTERPRETER]
* NEW: Redefine FIONREAD for Cygwin

* NEW: Cygwin needs <strings.h> to avoid compiler issues when
  redefining strcasecmp etc.
 
[DEVELOPMENT ENVIRONMENT]
* NEW: Make the environment Cygwin aware



git-svn-id: svn://localhost/gambas/trunk@6435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 13:50:09 +00:00
Benoît Minisini
4c264fad52 [GB.GUI.BASE]
* BUG: Correctly draw GridView headers, especially when right alignment is 
  used.


git-svn-id: svn://localhost/gambas/trunk@6434 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 09:44:53 +00:00
Benoît Minisini
ec396db53d [GB.GUI.BASE]
* BUG: Fix Paint.DrawRichTextShadow().
* BUG: GridView: Automatic scroll now should work as expected.
* BUG: ListBox: Selection is correctly drawn in multiple selection mode.


git-svn-id: svn://localhost/gambas/trunk@6433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 00:41:56 +00:00
Benoît Minisini
63cba1003e [DEVELOPMENT ENVIRONMENT]
* NEW: Use text shadow to draw project titles.

[GB.GUI.AREA]
* BUG: IconView: Clicking inside the selection now keeps it unchanged.
* BUG: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() now work as 
  expected in all cases.

[GB.DRAW]
* BUG: Setting Paint.Background now resets Paint.Brush to NULL.


git-svn-id: svn://localhost/gambas/trunk@6432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 00:16:06 +00:00
Benoît Minisini
f0c1464ff2 [GB.GTK]
* NEW: Remove useless gb.gtk exported functions.
* OPT: Prevent an unneeded image conversion in Paint.DrawImage().

[GB.GTK3]
* NEW: Remove useless gb.gtk3 exported functions.
* OPT: Prevent an unneeded image conversion in Paint.DrawImage().


git-svn-id: svn://localhost/gambas/trunk@6431 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-27 11:53:37 +00:00
Benoît Minisini
a6840047db [GB.NET.CURL]
* BUG: Disable debugging messages.


git-svn-id: svn://localhost/gambas/trunk@6430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-27 08:59:19 +00:00
Benoît Minisini
bbafcf41fc [GB.NET.CURL]
* BUG: HttpClient: Set timeout even in asynchronous mode.
* BUG: FtpClient: Set timeout even in asynchronous mode.


git-svn-id: svn://localhost/gambas/trunk@6429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-26 18:53:39 +00:00
Benoît Minisini
07a4e58a86 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.media.form' to the list of components.
* NEW: Support for the new GridView.Padding property.
* NEW: Change the way GridView and TableView are represented in the form 
  editor.

[GB.GUI.BASE]
* NEW: GridView.Padding is a new property that defines the default cell 
  padding. Its default value is 2 pixels.
* NEW: Paint.DrawTextShadow() is a new method that draws the shadow of a 
  text. Note that you must call Paint.DrawText() to draw the real text 
  below the shadow.
* NEW: Paint.DrawRichTextShadow() is a new method that draws the shadow of 
  a piece of rich text. Note that you must call Paint.DrawRichText() to 
  draw the real text below the shadow.

[GB.IMAGE]
* NEW: Allows a component that supports the Image class to have a 
  premultiplied default image format. Beware that some images methods do 
  not support premultiplied formats yet.
* NEW: Color.Transparent now is &HFF000000& and not &HFFFFFFFF anymore.

[GB.QT4]
* NEW: Use a premultiplied RGBA default format for images. 


git-svn-id: svn://localhost/gambas/trunk@6428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-26 10:46:10 +00:00
Benoît Minisini
e5e9e513ed [DEVELOPMENT ENVIRONMENT]
* NEW: Support for classes defined twice in a component: once in the native 
  part, once in the gambas part.
* NEW: Use the new Paint.TrimText() method.

[INFORMER]
* NEW: Support for classes defined twice in a component: once in the native 
  part, once in the gambas part.

[GB.GUI.BASE]
* NEW: Paint.TrimText() is a new API that trim a text according to a 
  specified rectangle, adding an ellipsis character at the end if needed.

[GB.NET.SMTP]
* BUG: Fix a circular reference when using a normal SMTP TCP session.

[GB.QT4]
* OPT: A little optimization when drawing rich text.


git-svn-id: svn://localhost/gambas/trunk@6427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-24 22:38:58 +00:00
Benoît Minisini
c3609f3de3 [INTERPRETER]
* BUG: Fix Swap$() function.


git-svn-id: svn://localhost/gambas/trunk@6426 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-23 15:10:11 +00:00
Benoît Minisini
e308783327 [DEVELOPMENT ENVIRONMENT]
* OPT: Optimize project box control drawing routine.
* BUG: Correctly handle truncated profile files when the debugged project 
  has been suddenly stopped.


git-svn-id: svn://localhost/gambas/trunk@6425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-23 14:54:10 +00:00
Benoît Minisini
059a61ff3f [GB.GTK]
* BUG: Try to fix GTK+ keyboard events handling, whatever the input method 
  does with them.

[GB.GTK3]
* BUG: Try to fix GTK+ keyboard events handling, whatever the input method 
  does with them. Some problems specific to GTK+3 yet.


git-svn-id: svn://localhost/gambas/trunk@6424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-23 12:21:03 +00:00
Benoît Minisini
4341abc468 [GB.NET.CURL]
* BUG: HttpClient.Put() method should send its data correctly now.
* NEW: HttpClient.PutFile() is a new method to send a PUT request by taking
  the data from a file.


git-svn-id: svn://localhost/gambas/trunk@6423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-22 20:22:54 +00:00
Benoît Minisini
2e1e13e036 [GB.GUI.BASE]
* BUG: TreeView, ColumnView and ListView now correctly manage the selection 
  when items are removed, or when the view is cleared.
* BUG: GridView: Setting the width of a column now should work in all 
  cases.


git-svn-id: svn://localhost/gambas/trunk@6422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-22 20:07:31 +00:00
Benoît Minisini
705f96cdde [INTERPRETER]
* BUG: Disable profiling for forked tasks.


git-svn-id: svn://localhost/gambas/trunk@6421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-22 19:31:51 +00:00
Benoît Minisini
6afea7421a [GB.GTK]
* NEW: Add an environment variable to debug keypress events.


git-svn-id: svn://localhost/gambas/trunk@6420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-22 11:16:35 +00:00
Benoît Minisini
e018791f2d [GB.QT4.WEBKIT]
* BUG: WebElement.FindAll() method correctly builds the returned array.


git-svn-id: svn://localhost/gambas/trunk@6419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-21 22:48:36 +00:00
Benoît Minisini
b06f03e69f [DEVELOPMENT ENVIRONMENT]
* BUG: Online help: Fix display of symbol tables.
* BUG: Console echo command now works as expected when the project is 
  running.
* BUG: Some fixes in the new open recent project dialog.
* OPT: ProjectBox now uses an internal image cache instead of painting a
  gradient at each draw event.


git-svn-id: svn://localhost/gambas/trunk@6418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-20 21:23:12 +00:00
Benoît Minisini
3aa9d07edd [GB.FORM]
* BUG: TableView now hides its editor when it is resized.
* BUG: FileChooser: Do not display a spurious error message when saving a 
  file.


git-svn-id: svn://localhost/gambas/trunk@6417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-20 20:45:27 +00:00
Adrien Prokopowicz
c41939ed3b [GB.XML]
* NEW: Added a new Document property to XMLExplorer.
* NEW: Added the Name and Value properties to XMLReader.Node.Attributes and
  XMLNode.Attributes, to get the name and value of the enumerated attribute.
* BUG: Fixed the XMLNode.Attributes enumeration.
* BUG: Fixed XMLExplorer taking the document itself as a node.
* OPT: Rewrote internal exception handling.

[GB.XML.XSLT]
* NEW: Added a new method XSLT.TransformToString() that returns a string 
  instead of an XML document.
* BUG: Fixed internal error management.

git-svn-id: svn://localhost/gambas/trunk@6416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-05 02:02:56 +00:00
Benoît Minisini
3dbf3ca320 [GB.NET]
* BUG: Fix a missing symbol lookup error.


git-svn-id: svn://localhost/gambas/trunk@6415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-03 15:01:00 +00:00
Benoît Minisini
1a1f6047e3 [DEVELOPMENT ENVIRONMENT]
* BUG: The offline wiki routines do not override the symbol information on 
  events anymore.
* NEW: New design of recent projects and examples choosers in the welcome
  dialog and the project open dialog.

[GB.FORM]
* NEW: ListContainer has been deprecated. It has design problems.

[GB.NET.SMTP]
* BUG: No circular references anymore when using SSL or TLS.

[GB.QT4]
* OPT: Do not arrange a container while destroying its children.
* BUG: Style.PaintBox now works correctly with QtCurve.
* BUG: Style.PaintBox now works better with QGtk.


git-svn-id: svn://localhost/gambas/trunk@6414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-02 22:50:08 +00:00
Benoît Minisini
c9d541a8db [INTERPRETER]
* BUG: The stream available length function now correctly returns zero when 
  it fails.


git-svn-id: svn://localhost/gambas/trunk@6413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-02 21:37:49 +00:00
Benoît Minisini
22f53573c0 [INTERPRETER]
* BUG: A new Task now resets the state of its standard output stream to 
  avoid side effects from its parent.


git-svn-id: svn://localhost/gambas/trunk@6412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 20:29:01 +00:00
Benoît Minisini
ca0c1db682 [GB.NET.SMTP]
* BUG: Fix test mail.


git-svn-id: svn://localhost/gambas/trunk@6411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 14:08:10 +00:00
Benoît Minisini
278e18a698 [GB.NET.SMTP]
* BUG: Wait for openssl process death after disconnecting from the SMTP 
  server.


git-svn-id: svn://localhost/gambas/trunk@6410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 12:56:58 +00:00
Benoît Minisini
00ed123d18 [GB.NET.SMTP]
* BUG: Fix the badly overriden class error.


git-svn-id: svn://localhost/gambas/trunk@6409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 12:08:15 +00:00
Benoît Minisini
73b2d0dd75 [GB.FORM]
* BUG: FileChooser: Fix an infinite loop when trying to initialize the path 
  with an unknown file.

[GB.MEDIA.FORM]
* NEW: New component based on gb.media that includes a full media player 
  widget with controls.

[GB.NET.SMTP]
* NEW: SmtpClient is now a virtual control.


git-svn-id: svn://localhost/gambas/trunk@6408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 01:37:56 +00:00
Tobias Boege
27007f708b [GB.DATA]
* NEW: Deque: Add a Copy() method to return a deep copy of a Deque. Stack
  and Queue "inherit" this method.



git-svn-id: svn://localhost/gambas/trunk@6407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-29 11:26:46 +00:00
Benoît Minisini
1c98e81c6e [GB.NET.SMTP]
* BUG: Explicitely load the 'gb.net' component to be backward compatible 
  with the old gb.net.smtp that didn't require it.
* NEW: Fix error messages.
* NEW: Add a 10 seconds timeout to the TCP socket.


git-svn-id: svn://localhost/gambas/trunk@6405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 12:26:39 +00:00
Benoît Minisini
0340d2e569 [CONFIGURATION]
* BUG: Forgot to add the gambas3 appdata file.


git-svn-id: svn://localhost/gambas/trunk@6404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 10:28:42 +00:00