Commit graph

3480 commits

Author SHA1 Message Date
Benoît Minisini
892b814f54 [GB.MEDIA]
* NEW: Do not raise an error if a tag has an unsupported format. Just 
  display a warning message.


git-svn-id: svn://localhost/gambas/trunk@5439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-15 22:09:14 +00:00
Benoît Minisini
7802e56a7b [INTERPRETER]
* BUG: Ensure that the interpreter temporary directory is owned by the 
  current user and that its rights are accurate. Otherwise abort.


git-svn-id: svn://localhost/gambas/trunk@5438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-15 02:27:42 +00:00
Benoît Minisini
79918d1b59 [EXAMPLES]
* NEW: MediaPlayer: Support for media tags that are arrays.


git-svn-id: svn://localhost/gambas/trunk@5437 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-15 02:08:34 +00:00
Benoît Minisini
23f4d823e9 [GB.MEDIA]
* BUG: Fix retrieving of media tags that are arrays of values.


git-svn-id: svn://localhost/gambas/trunk@5436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-15 02:07:54 +00:00
Benoît Minisini
acbd6bd8a1 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix how documentation pages of code and libraries written in Gambas 
  are generated.
* NEW: Some little fixes in Gambas terminal fonts.

[GB.COMPRESS.ZLIB]
* BUG: Fix the driver that was not working anymore.

[GB.COMPRESS.BZLIB2]
* BUG: Fix the driver that was not working anymore.


git-svn-id: svn://localhost/gambas/trunk@5435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-14 01:47:32 +00:00
Benoît Minisini
effc601413 [GB.V4L]
* BUG: Close and reopen the device when resizing the camera image.


git-svn-id: svn://localhost/gambas/trunk@5434 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-14 00:59:55 +00:00
Benoît Minisini
72c16712f6 [GB.GTK]
* BUG: Fix Desktop.Screenshot() method.


git-svn-id: svn://localhost/gambas/trunk@5433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-13 08:25:37 +00:00
Benoît Minisini
bc2945181e [GB.GTK]
* NEW: A Separator whose width or height is one pixel, is now drawn with 
  its foreground color.

[GB.QT4]
* NEW: A Separator whose width or height is one pixel, is now drawn with 
  its foreground color.


git-svn-id: svn://localhost/gambas/trunk@5432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-12 00:02:15 +00:00
Benoît Minisini
ec042bac1f [GB.GTK]
* BUG: Correctly close the path when drawing an arc or an ellipse.

[GB.GUI.BASE]
* BUG: Draw.Ellipse() now does not draw outiline artifacts anymore when
  drawing an almost closed pie.


git-svn-id: svn://localhost/gambas/trunk@5431 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-11 23:47:59 +00:00
Benoît Minisini
2c2a80af20 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix two background textures.


git-svn-id: svn://localhost/gambas/trunk@5430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-10 23:17:56 +00:00
Benoît Minisini
14c3e8203c [DEVELOPMENT ENVIRONMENT]
* NEW: More background textures.


git-svn-id: svn://localhost/gambas/trunk@5429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-10 22:41:00 +00:00
Benoît Minisini
33d10b79d1 [EXAMPLES]
* NEW: Chart: Add a button to fill the chart value randomly.

[GB.GTK]
* NEW: Remove the 'gDraw' class source code that implemented X11 drawing. 
  It is not used anymore.
* NEW: Slider control now used the tick marks implemented by GTK+.

[GB.GUI.BASE]
* BUG: Fix Draw.Line() for horizontal and vertical lines with a line width
  greater than one.


git-svn-id: svn://localhost/gambas/trunk@5428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-10 17:08:28 +00:00
Fabien Bodard
57e7194b98 [EXAMPLES]
BUG: Give the right name to OpenStreetMap Layer



git-svn-id: svn://localhost/gambas/trunk@5427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-10 08:50:56 +00:00
Fabien Bodard
8347d89009 [GB.MAP]
* New: Now Layers suppor copyrights sentences, and show them on the map.


git-svn-id: svn://localhost/gambas/trunk@5426 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-10 08:21:50 +00:00
Benoît Minisini
fbdae479e7 [DEVELOPMENT ENVIRONMENT]
* BUG: Many dialogs and windows now use colors that are visible with a dark 
  color theme.
* BUG: Fix the 'next' and 'previous' translation button in the translation 
  dialog.

[GB.FORM]
* NEW: FileChooser: If the file text field contains a directory when the 
  OK button is  clicked, the directory is changed accordingly, and the 
  Select event is not raised. This prevents the user of FileChooser from
  receiving an unexpected directory in its file name.


git-svn-id: svn://localhost/gambas/trunk@5425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-10 02:39:10 +00:00
Benoît Minisini
469d415e70 [DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to choose the workspace background between predefined
  textures. A solid background is possible now for slow computers.
* BUG: Help of not documented project classes having a parent class works 
  as expected now.


git-svn-id: svn://localhost/gambas/trunk@5424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-10 01:25:03 +00:00
Sebastian Kulesz
f6a6ad0982 [DEVELOPMENT ENVIRONMENT]
* NEW: Update of German translation

[GB.NET.POP3]
* NEW: Update of German translation

[GB.REPORT]
* NEW: Update of German translation

[EXAMPLES]
* NEW: Update of German translation of some examples

Original commit made by mattitux, imported to the new repository.



git-svn-id: svn://localhost/gambas/trunk@5423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-09 19:50:47 +00:00
Benoît Minisini
75ae55f730 [EXAMPLES]
* BUG: MyWebCam: Fix form layout for small screens.
* NEW: MyWebCam: Use a combo-box for the webcam screen size.


git-svn-id: svn://localhost/gambas/trunk@5422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-09 18:36:27 +00:00
Benoît Minisini
77e9c754d0 [GB.GTK]
* BUG: Fix a possible crash if a menu is destroyed while being popped up.
* BUG: Fix a possible crash if the control getting the focus is destroyed
  during the activation of its window.


git-svn-id: svn://localhost/gambas/trunk@5421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-09 16:30:20 +00:00
Benoît Minisini
03d4c3edcd [GB.DESKTOP]
* BUG: Desktop.OpenTerminal() now works on Gnome and Mate desktops.

[GB.GTK]
* BUG: Drawing on a DrawingArea with a background color set to 
  Color.Default means drawing with the DrawingArea background color.

[GB.GUI.BASE]
* BUG: Fix Draw.Rect() method.

[GB.QT4]
* BUG: Drawing on a DrawingArea with a background color set to 
  Color.Default means drawing with the DrawingArea background color.


git-svn-id: svn://localhost/gambas/trunk@5420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-09 15:00:57 +00:00
Fabien Bodard
a9900d211a [EXAMPLES]
* BUG: Adapt to the new map class


git-svn-id: svn://localhost/gambas/trunk@5419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-08 21:03:09 +00:00
Fabien Bodard
e9d9ee46c2 [GB.MAP]
* NEW: Full rewriting of the tile layer. Now Tile layer
  have a preload system, and tiles manage internally 3 states
  Normal, Loading, Error.
  The Cache have been mixed in the layer class.
  The loading process is dissociated from the drawing one



git-svn-id: svn://localhost/gambas/trunk@5418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-08 21:00:18 +00:00
Benoît Minisini
9f8dbc2f7d [GB.IMAGE]
* NEW: New API to return the image format as a string.

[GB.IMAGE.EFFECT]
* BUG: Fix the histogram inversion, and inversion in other effects with 
  GTK+ images.


git-svn-id: svn://localhost/gambas/trunk@5417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-08 02:17:49 +00:00
Benoît Minisini
7236dad76a [GB.NET]
* BUG: The type of the socket returned by SocketServer.Accept() method has
  now the same type than the server socket. Consequently, the RemoteHost, 
  RemotePort, LocalHost and LocalPort properties return the expected 
  values.


git-svn-id: svn://localhost/gambas/trunk@5416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-07 02:27:42 +00:00
Benoît Minisini
c6167e0785 [GB.FORM]
* BUG: LCDLabel drwas its border even if there is no text.

[GB.GUI.BASE]
* BUG: Fix Draw.Circle() and Draw.Ellipse() end angle argument.


git-svn-id: svn://localhost/gambas/trunk@5415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-07 01:40:44 +00:00
Benoît Minisini
9274cabcc0 [GB.QT4]
* BUG: gb.qt4 now should compile again with Qt version < 4.8.


git-svn-id: svn://localhost/gambas/trunk@5414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-06 00:42:37 +00:00
Benoît Minisini
5a547fbb10 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a big font for displaying cursor position in editors.

[GB.DRAW]
* NEW: Paint.Arc() and Paint.Ellipse() take a new optional boolean argument
  that tells if a pie must be drawn instead of a chord.

[GB.FORM]
* NEW: LCDLabel now has an HighlightColor property that allows to define 
  the color of the glow. By default, no glow is drawn.

[GB.GTK]
* BUG: Fix control background drawing routine.
* NEW: Implement the new "Pie" argument of Paint.Arc() and Paint.Ellipse().

[GB.GUI.BASE]
* BUG: Draw.Ellipse() and Draw.Circle() now draw a pie instead of a chord.

[GB.QT4]
* NEW: Implement the new "Pie" argument of Paint.Arc() and Paint.Ellipse().


git-svn-id: svn://localhost/gambas/trunk@5413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-06 00:21:16 +00:00
Benoît Minisini
2476e0a2a2 [DEVELOPMENT ENVIRONMENT]
* BUG: The project tree control now uses the same icons as the main project 
  tree view.
* NEW: Support for LCDLabel.

[EXAMPLES]
* BUG: MediaPlayer: Remove uses of the DrawingArea.Painted property.

[INTERPRETER]
* BUG: The GB.GetProperty() API has been fixed, and now use the datatype of 
  the property for the return value.
* OPT: Remove some useless table symbol class at class loading for native 
  classes that do not raise events.

[GB.DRAW]
* NEW: PaintMatrix is now creatable.

[GB.FORM]
* NEW: LCDLabel is a new control that displays its contents with sixteen 
  segments LCD digits.

[GB.MEDIA]
* BUG: Remove the useless MediaPlayer.Visualisation property.


git-svn-id: svn://localhost/gambas/trunk@5412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-05 03:36:44 +00:00
Benoît Minisini
c613e84f7b [GB.GUI.BASE]
* BUG: ColumnView: Accessing the text of a specific column with a 
  non-existing index does not raise an error anymore, but returns a null 
  string instead.


git-svn-id: svn://localhost/gambas/trunk@5411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-03 16:15:15 +00:00
Benoît Minisini
9fcc50b488 [DEVELOPMENT ENVIRONMENT]
* NEW: Update markup syntax with support for indexes.

[WIKI CGI SCRIPT]
* NEW: Support for component help written in *.info files.
* BUG: Automatic links work again.

[GB.DRAW]
* BUG: Fix Point and PointF InRect() method signature.

[GB.GUI.BASE]
* BUG: TreeView Click event correctly sets the Item property.
* BUG: Remove the useless GridView.Data.Draw property.
* BUG: Remove the GridView KeyPress event override.
* BUG: Fix the GridView Draw event signature.

[GB.QT4.WEBKIT]
* NEW: WebElement.Paint() now takes an optional clipping rectangle 
  argument.


git-svn-id: svn://localhost/gambas/trunk@5410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-03 12:56:41 +00:00
Fabien Bodard
fd474740d7 [GB.REPORT]
* BUG: Remove the occurence to Painted


git-svn-id: svn://localhost/gambas/trunk@5409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-01 20:15:43 +00:00
Fabien Bodard
319f8725f9 [GB.MAP]
* OPT: Reduce the copyright size


git-svn-id: svn://localhost/gambas/trunk@5408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 23:41:00 +00:00
Fabien Bodard
0857ddcf71 [EXAMPLES]
* NEW: Add copyright on OpenStreetMap Layer.
* NEW: Add a "padding" on lens mapp


git-svn-id: svn://localhost/gambas/trunk@5407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 23:34:21 +00:00
Fabien Bodard
054cd7dbb3 [GB.MAP]
* BUG: Don't try to load the same picture more than 4 time if it fail
* BUG: Padding calls are now working fine ... but i think padding is 
  not the good name for that property. If someone have an idea.
* NEW: Support for copyright sentence on layers



git-svn-id: svn://localhost/gambas/trunk@5406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 23:24:08 +00:00
Benoît Minisini
3d2523dd08 [GB.QT4.WEBKIT]
* BUG: Forgot to add the new files... Sigh.


git-svn-id: svn://localhost/gambas/trunk@5405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 22:31:58 +00:00
Benoît Minisini
021f8b2814 [GB.QT4.WEBKIT]
* NEW: WebElement is a new class that represents a DOM node. It allows to
  traverse, modify and search the entire document, and run any JavaScript 
  code on any document element.
* NEW: WebHitTest.XMLElement has been renamed as WebHitTest.HTML.
* NEW: WebHitTest.Element is a new property that returns the hit 
  WebElement.
* NEW: WebFrame.Document returns the top DOM element of a frame.
* NEW: WebView.Document returns the top DOM element of the view main frame.


git-svn-id: svn://localhost/gambas/trunk@5404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 21:56:58 +00:00
Tobias Boege
24386639bf [GB.DATA]
* NEW: Finish the List class
* NEW: Add List.Clear(). How could I go without since now?
* OPT: FYI, Current and enumerators remain relative to the _beginning_ of
  the list if they're removed in order to can access all elements in an
  enumeration.
* NEW: Return NULL for an invalid List.Current instead of raising an error.
  However, the attempt to remove an invalid Current still results in that
  error.



git-svn-id: svn://localhost/gambas/trunk@5403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 20:34:11 +00:00
Benoît Minisini
98371e31fd [GB.GTK]
* NEW: Go on replacing the old GDK drawing API by Cairo.
* BUG: Fix a memory leak with Cairo in the border drawing routine.
* BUG: Fix a memory leak with Cairo in the image drawing routine.


git-svn-id: svn://localhost/gambas/trunk@5402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 17:07:18 +00:00
Benoît Minisini
76f1faa577 [EXAMPLES]
* NEW: Rename 'Maps' example as 'MapView'.


git-svn-id: svn://localhost/gambas/trunk@5401 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 13:55:26 +00:00
Benoît Minisini
c31fdffc32 [CONFIGURATION]
* NEW: Redraw some control icons again.

[GB.GTK]
* NEW: Go on replacing the old GDK drawing API by Cairo.


git-svn-id: svn://localhost/gambas/trunk@5400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 13:20:57 +00:00
Bruce Bruen
57cb8494e9 nomsg
git-svn-id: svn://localhost/gambas/trunk@5399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 11:23:25 +00:00
Benoît Minisini
c409668bfb [CONFIGURATION]
* NEW: Redraw most of the control icons.

[DEVELOPMENT ENVIRONMENT]
* BUG: A few fixes in the Gambas fixed font.

[GB.GTK]
* NEW: Replace some uses of the deprecated Gdk drawing API by cairo.



git-svn-id: svn://localhost/gambas/trunk@5398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 23:10:16 +00:00
Fabien Bodard
9a4149cdc7 [GB.MAP]
* NEW: Padding is a new property of Map class that define a trigger zone in pixel
* NEW: if Copyright is set it is shown in the map view.


git-svn-id: svn://localhost/gambas/trunk@5397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 22:25:54 +00:00
Benoît Minisini
3507637a45 [DEVELOPMENT ENVIRONMENT]
* BUG: Get rid of the last use of the deprecated DrawingArea.Painted 
  property.

[INTERPRETER]
* NEW: The deprecated API message now displays the current code position.

[GB.FORM]
* NEW: The FileChooser and DirChooser label that displays the current 
  directory now "ellipsized" it if there is not enough room.

[GB.GTK]
* BUG: All style drawing methods now draw at the correct position.
* NEW: Start replacing old GDK drawing methods by Cairo methods.

[GB.MAP]
* NEW: Rename the MapViewer control as MapView.
* BUG: Don't redefine standard events. Use a proxy instead.


git-svn-id: svn://localhost/gambas/trunk@5396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 12:43:29 +00:00
Benoît Minisini
6d6977f6e1 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't loop endlessly if a class inherits itself.


git-svn-id: svn://localhost/gambas/trunk@5395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 11:42:35 +00:00
Benoît Minisini
f131eb6060 [COMPILER]
* BUG: Prevent self-inheritance.


git-svn-id: svn://localhost/gambas/trunk@5394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 11:41:42 +00:00
Benoît Minisini
fcaaff08dd [DEVELOPMENT ENVIRONMENT]
* OPT: Saving a form now refreshes the stack window only once.

[GB.FORM]
* NEW: IconPanel now is flat.


git-svn-id: svn://localhost/gambas/trunk@5393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-28 23:38:19 +00:00
Benoît Minisini
4512fa0c1d [GB.NET.CURL]
* BUG: Fix memory leaks when asynchronous clients are pending when quitting
  the program.


git-svn-id: svn://localhost/gambas/trunk@5392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-28 22:55:23 +00:00
Benoît Minisini
76709ee739 [GB.MAP]
* NEW: Use four Http clients by default.
* BUG: Use all available clients when the timer is triggered, otherwise 
  only one is used.
* BUG: Do not call Trigger several times, it is useless.


git-svn-id: svn://localhost/gambas/trunk@5391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-28 22:55:13 +00:00
Fabien Bodard
cb2de0a2f9 [GB.MAP]
* OPT: Some changes on the map cache like using timer trigger.


git-svn-id: svn://localhost/gambas/trunk@5390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-28 19:32:57 +00:00