Commit graph

1166 commits

Author SHA1 Message Date
Benoît Minisini
b814f368c5 [GB.DB.FORM]
* NEW: DataControl can handle blob fields now.
* NEW: Highlight the byte under the mouse in blob editor.

[GB.FORM]
* NEW: ButtonBox.Pos is a new property that returns the cursor position of 
  its inner TextBox.


git-svn-id: svn://localhost/gambas/trunk@5741 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-19 18:16:55 +00:00
Benoît Minisini
1d2cbc60da [GB.GUI.AREA]
* BUG: GridView: Don't hide selection when setting the Mode property with 
  its current value.


git-svn-id: svn://localhost/gambas/trunk@5740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-19 18:15:32 +00:00
Benoît Minisini
9332afbbea [DEVELOPMENT ENVIRONMENT]
* NEW: Add a file properties view in the CSV import dialog.

[INFORMER]
* BUG: Write boolean constants in information files as "T" and "", not 
  "True" and "False". It breaks things.

[GB.FORM]
* NEW: The file properties dialog has an automatic preview tab for image 
  files.

[GB.DB.FORM]
* NEW: The DataView control can edit blob fields now.


git-svn-id: svn://localhost/gambas/trunk@5736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-19 11:02:32 +00:00
Benoît Minisini
0139ee4b99 [INTERPRETER]
* NEW: MATCH is a new operator that automatically load the gb.pcre 
  component to implement PCRE pattern matching. The syntax is the same as
  the LIKE operator.

[COMPILER]
* NEW: Add a new MATCH operator.

[GB.FORM]
* BUG: The directory contents size task does not abort anymore when 
  accessing an unreadable files or directory. It now ignore them.
* NEW: When errors are raised while browsing the contents of a directory,
  the file properties dialog display them is a new tab.

[GB.PCRE]
* NEW: Create an API interface for allowing other components to use PCRE
  regular expressions.


git-svn-id: svn://localhost/gambas/trunk@5730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-12 23:57:53 +00:00
Benoît Minisini
aaf6e45351 [DEVELOPMENT ENVIRONMENT]
* NEW: Project statistics came back in the file property dialog.

[GB.DESKTOP]
* BUG: Correctly use the XDG data directories in DesktopFile and DesktopMime 
  classes.
* BUG: Correctly search mime icons in DesktopMime.GetIcon().

[GB.FORM]
* NEW: Add a detailed view toggle button to the FileChooser and DirChooser 
  controls.


git-svn-id: svn://localhost/gambas/trunk@5726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-11 09:41:39 +00:00
Benoît Minisini
29ab774c1c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the frame position when dragging a control from the toolbar on 
  a container.
* NEW: The project file properties dialog is now based on the new 
  FileProperties control.

[INTERPRETER]
* NEW: GB.OnErrorBegin() and GB.OnErrorEnd() are two new APIs that allow to
  register cleanup routines that are called when an error is raised between
  the GB.OnErrorBegin() call and the GB.OnErrorEnd() call.

[INFORMER]
* BUG: The value of  Float constants is now correctly dumped in *.info 
  files.

[GB.COMPLEX]
* NEW: Implement the same Complex.ToString() method as in gb.gsl.

[GB.DESKTOP]
* NEW: Desktop.DataDir is a new property that returns the directory where 
  the application must store its user-specific data.
* NEW: Desktop.ConfigDir is a new property that returns the directory where 
  the application must store its user-specific configuration.
* NEW: Desktop.CacheDir is a new property that returns the directory where 
  the application must store its user-specific cached data.
* NEW: Desktop.RuntimeDir is a new property that returns the directory 
  where the application must store its temporary runtime files.
* BUG: Fix a possible crash when searching a mimetype from the file 
  extension.

[GB.FORM]
* NEW: FileProperties is a new control that displays the properties of a 
  specific file or directory. It automatically computes the size of 
  directory contents through a background task.
* BUG: Setting the TabPanel.Border property now correctly refreshes its 
  layout.
* NEW: The stock icon map now can declare specific icons for specific 
  widget themes.

[GB.FORM.STOCK]
* NEW: Fix the 'tools' icon for elementary icon theme.

[GB.GSL]
* BUG: Fix the Vector.ToString() declaration.

[GB.QT4.EXT]
* NEW: The Editor.LineOffset property has been renamed as 
  Editor.LineNumberOffset.


git-svn-id: svn://localhost/gambas/trunk@5725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-10 22:17:27 +00:00
Benoît Minisini
9f393356a4 [GB.WEB]
* BUG: Once the session is saved, mark it as not modified.


git-svn-id: svn://localhost/gambas/trunk@5719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-04 19:39:38 +00:00
Benoît Minisini
0be0b8caf8 [DEVELOPMENT ENVIRONMENT]
* NEW: When installing the Gambas font, don't use the deprecated 
  '~/.fonts.conf' file anymore.

[EXAMPLES]
* NEW: The MediaPlayer example now has a panel to configure the image
  balance.

[GB.MEDIA]
* NEW: MediaPlayer.Balance is a new property that allows to configure the
  image brightness, contrast, hue, saturation... It actually returns a
  virtual array of balance "channels", each one having a minimum value, a
  maximum value, a current value and a name.

[GB.WEB]
* NEW: When Request.Debug is set, only the first 4K of a POST request is 
  stored in the Request.Contents property.


git-svn-id: svn://localhost/gambas/trunk@5710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 12:42:52 +00:00
Radek Fryšták
de58e0cad0 [EXAMPLES]
* NEW: update czech translate.

[GB.ARGS]
* NEW: update czech translate.

[GB.FORM.DIALOG]
* NEW: update czech translate.

[GB.FORM.MDI]
* NEW: update czech translate.

[GB.DB.FORM]
* NEW: update czech translate.

[GB.REPORT]
* NEW: update czech translate.

[GB.NET.POP3]
* NEW: update czech translate.


git-svn-id: svn://localhost/gambas/trunk@5705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-15 15:47:32 +00:00
Radek Fryšták
a55b9d3910 [GB.FORM]
* NEW: update chzech translation.


git-svn-id: svn://localhost/gambas/trunk@5704 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-15 14:30:21 +00:00
Benoît Minisini
70eca15fb4 [INTERPRETER]
* BUG: Do not search for Application_Error if the project startup class 
  has not be loaded yet.

[GB.GUI.BASE]
* NEW: Typing keys inside an IconView should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-09 21:30:43 +00:00
Benoît Minisini
ecffcb1a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the background of special methods in the code editor 
  procedure list.

[EXAMPLES]
* NEW: MediaPlayer: Add a button to display the contents of the first video
  device (/dev/video0).

[GB.MEDIA]
* BUG: The MediaPlayer.Input property is actually read-only.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 16:57:34 +00:00
Benoît Minisini
0812020209 [CONFIGURATION]
* NEW: Update VERSION file.

[DEVELOPMENT ENVIRONMENT]
* BUG: If the desktop password wallet is not available, do not crash 
  anymore, but display an error message instead.

[INTERPRETER]
* BUG: Some fixes in Application_Error method management.

[GB.EVAL.HIGHLIGHT]
* BUG: Some fixes in HTML highlighting.

[GB.QT.4.EXT]
* NEW: Editor: jumping to the next procedure from the current one now goes 
  to the end of the file.


git-svn-id: svn://localhost/gambas/trunk@5684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-28 20:48:43 +00:00
Benoît Minisini
1da147d6e5 [CONFIGURATION]
* NEW: The trunk version is now put in the 'config.h' file of the /main 
  source directory. No compilation flag is used anymore.
* NEW: All Gambad executables return the trunk revision number when they 
  are called with the '-V' option.

[GB.WEB]
* BUG: The Request.Fields property now can be read without reading the 
  value of a request field first.


git-svn-id: svn://localhost/gambas/trunk@5674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-22 23:03:48 +00:00
Sebastian Kulesz
1566ace202 [GB.LOGGING]
* BUG: Add the component to the installation list.



git-svn-id: svn://localhost/gambas/trunk@5669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-21 01:44:57 +00:00
Sebastian Kulesz
cf4c1f0372 [GB.LOGGING]
* NEW: New component to provide an easy logging interface.



git-svn-id: svn://localhost/gambas/trunk@5665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-20 02:15:56 +00:00
Benoît Minisini
66b1881d91 [GB.WEB]
* BUG: Request.Post.Contents is correctly updated if the content type is
  'application/x-www-form-urlencoded'.


git-svn-id: svn://localhost/gambas/trunk@5657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-15 09:51:38 +00:00
Fabien Bodard
d60e6882a8 [GB.MAP]
* BUG: Some little corrections
* NEW: Add a Max property to ShapeLayer


git-svn-id: svn://localhost/gambas/trunk@5652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-09 21:37:53 +00:00
Fabien Bodard
2634a0d54f [GB.MAP]
* OPT: Cleaning


git-svn-id: svn://localhost/gambas/trunk@5651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-09 20:56:48 +00:00
Fabien Bodard
ad7b517f5f [GB.MAP]
* NEW: Now ShapeItem have a property Color so each shape on a layer can have its 
  own color
* BUG: Shape stroke is correctly drawed


git-svn-id: svn://localhost/gambas/trunk@5650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-09 20:44:03 +00:00
Fabien Bodard
17978a3f38 [GB.MAP]
* NEW: a new function Grab allow to get an image of a given zone at the given
  size and at the better zoom level.
  ex: PictureBox1.Picture = $Map.Grab($Map!MyShape!zone1.Bounds, PictureBox1.Width,
   PictureBox1.Height, 0).Picture
* NEW: Map Class have an event Draw()
* NEW: Map have a property Loading that allow to control if the layers have finished 
  to get theire datas
* NEW: I've replaced the _ShapeItem box (RectF) by Bounds (MapBounds)



git-svn-id: svn://localhost/gambas/trunk@5649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-09 20:12:24 +00:00
Fabien Bodard
abc5bd861c [GB.MAP]
* BUG: Now the property AllowEffect really stop effect
* NEW: Now you can define a different point image for each Shape of
  type Point
* BUG: The property ShowControls is now visible in the property windows


git-svn-id: svn://localhost/gambas/trunk@5648 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-08 19:35:50 +00:00
Fabien Bodard
118528a1d5 [GB.MAP]
* NEW: ShapeItem.Data become _ShapeItem.Points
* NEW: A new function refresh in _ShapeLayer allow to update the Shapes box and center value
  when points value have been changed.



git-svn-id: svn://localhost/gambas/trunk@5647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-08 12:50:37 +00:00
Fabien Bodard
8d4b633244 [GB.MAP]
* OPT: Improve the slide inertia
* BUG: correct detection of the mouse in the Viewer controls



git-svn-id: svn://localhost/gambas/trunk@5646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-08 10:16:58 +00:00
Fabien Bodard
a184c9fa41 [GB.MAP]
* NEW: A new static layer in the MapView give user control.
       It have just the zoom control for now. It can be disabled with the property ShowControls.
* NEW: A new property Bounds in Map Class give the lat/lon coord at the limits of the drawed
       map.
* NEW: Now shapes are stored directly in the ShapeLayer. It act like a collection.
       ex: Map!Shape.AddPoint("Home", MapPoint(0.05, 45))
       You can access to it with Map!Shape!Home.Data
* BUG: Many change in the zoom effect. I hope it is good



git-svn-id: svn://localhost/gambas/trunk@5645 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-07 15:24:13 +00:00
Benoît Minisini
93ef47f06e [CONFIGURATION]
* NEW: Switch to version 3.4.90.

[GB.EVAL.HIGHLIGHT]
* BUG: In HTML highlighting, highlighting inside <script> and <style> 
  markups works correctly now.


git-svn-id: svn://localhost/gambas/trunk@5643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-05 00:05:27 +00:00
Benoît Minisini
9d6ba888b3 [GB.DESKTOP]
* BUG: Fix the dependencies of the component project.


git-svn-id: svn://localhost/gambas/trunk@5639 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-04 14:17:15 +00:00
Fabien Bodard
c100a91d95 [GB.MAP]
* OPT: Remove some test files


git-svn-id: svn://localhost/gambas/trunk@5629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-30 14:27:28 +00:00
Fabien Bodard
552692ba94 oups
git-svn-id: svn://localhost/gambas/trunk@5628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-30 14:25:24 +00:00
Fabien Bodard
dd5903122e [GB.MAP]
* NEW: Now shapes are usables, you can use, point, multipoints,
  polylines, and polygons.
  Data Position are defined in lat/lon value.
  
  ex: Map["MyShape"].AddPoint(MapPoint(lat,lon))

* NEW: _MapShape.Color is a property to define the shape color on the layer



git-svn-id: svn://localhost/gambas/trunk@5627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-30 14:23:41 +00:00
Benoît Minisini
b913263661 [GB.FORM]
* BUG: Fix compilation.


git-svn-id: svn://localhost/gambas/trunk@5624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-29 22:46:05 +00:00
Benoît Minisini
a7855016ca [DEVELOPMENT ENVIRONMENT]
* NEW: "Compress all" and "Uncompress all" action on project sub-
  directories.
* BUG: Do not crash when checking for completion in text editor.

[INTERPRETER]
* BUG: Void string contants work correctly now.

[COMPILER]
* BUG: Functions now can have up to 65536 bytecode operations instead of
  32768.
* NEW: Support for the Parent property of WebPage.
* NEW: WebPage markups attributes can use the <%...%> syntax.

[GB.EVAL.HIGHLIGHT]
* NEW: HTML highlighting has be rewritten. <%...%> markups are taken into
  account inside <style> and <script> markups.

[GB.FORM]
* NEW: FileView and DirView now display hidden files lightly, and symbolic
  links in italic.
* NEW: File properties dialog in FileChooser and DirChooser.

[GB.FORM.STOCK]
* NEW: Default icons for some mime types.

[GB.GTK]
* BUG: Menu click event is now triggered the same way as in gb.qt4.
* BUG: Control.HasFocus() works correctly now.
* BUG: Modal windows cannot be shrinked less then their initial size 
  anymore.

[GB.GUI.BASE]
* NEW: IconView, TreeView, ListView and ColumnView items now have a 
  RichText property.

[GB.WEB]
* NEW: WebPage.Parent property returns the parent webpage that includes the
  current webpage with the <<...>> markup.



git-svn-id: svn://localhost/gambas/trunk@5623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-29 21:27:11 +00:00
Benoît Minisini
9d5fbfa84d [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly raise an error when opening a void form file.


git-svn-id: svn://localhost/gambas/trunk@5616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:41:13 +00:00
Benoît Minisini
f3bfb12e5b [GB.FORM]
* NEW: Add text fields to enter the time in the calendar popup. Add an 
  apply button too.


git-svn-id: svn://localhost/gambas/trunk@5606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 19:19:42 +00:00
Benoît Minisini
ca7856bf80 [INTERPRETER]
* NEW: Clean up allocation macros.

{GB.EVAL.HIGHLIGHT]
* NEW: Add 'transition' to the CSS keywords.


git-svn-id: svn://localhost/gambas/trunk@5599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-29 23:33:01 +00:00
Benoît Minisini
da707d38a4 [DEVELOPMENT ENVIRONMENT]
* NEW: Search result list now displays the procedure name.
* NEW: System information now tells libcurl version.


git-svn-id: svn://localhost/gambas/trunk@5587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-23 18:38:23 +00:00
Benoît Minisini
9f696c8352 [GB.GUI.BASE]
* BUG: Draw.FillStyle has been implemented.

[GB.QT4]
* BUG: Paint.Image() works correctly with temporary images now.


git-svn-id: svn://localhost/gambas/trunk@5582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-18 00:48:55 +00:00
Benoît Minisini
c339c2b626 [GB.GUI.BASE]
* OPT: IconView items refresh is delayed if the IconView is locked.

[GB.FORM]
* BUG: Regular expressions of a file filter are splitted by the ";" 
  character only now. Not the comma anymore.
* NEW: FileView: The IconView grid size takes the icon size into account
  automatically now.

[GB.WEB]
* BUG: The Session timeout is correctly computed now.


git-svn-id: svn://localhost/gambas/trunk@5576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-09 15:10:10 +00:00
Benoît Minisini
45d8058159 [GB.GUI.BASE]
* NEW: Common renaming routine for TextView, ListView, ColumnView and 
  IconView.
* NEW: IconView.Renaming is a new property that returns if an item is being
  renamed.
* BUG: Renaming an IconView item now correctly works if the IconView is 
  sorted.
* NEW: FileChooser and DirChooser now can rename or delete files.

[GB.QT4]
* NEW: TextArea inner margin is now two pixels when there is a border, and
  zero pixels when there is no border.


git-svn-id: svn://localhost/gambas/trunk@5571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-03 22:34:30 +00:00
Benoît Minisini
9d8ea10115 [GB.WEB]
* OPT: Use the gb.compress component to compress responses instead of 
  running an external 'gzip' process.


git-svn-id: svn://localhost/gambas/trunk@5570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-03 00:51:21 +00:00
Benoît Minisini
84f819541a [GB.GUI.BASE]
* BUG: The default ColumnView sorting now correctly takes the column into 
  account.


git-svn-id: svn://localhost/gambas/trunk@5568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-02 15:31:17 +00:00
Benoît Minisini
7752fa8cfd [EXAMPLES]
* BUG: Fix PdfPresentation example.

[GB.DESKTOP]
* NEW: Try to use gnome keyring on XFCE.


git-svn-id: svn://localhost/gambas/trunk@5550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-13 00:20:28 +00:00
Benoît Minisini
af5bdc6f45 [GB.DB.MYSQL]
* BUG: Database charset is correctly reset when an automatic reconnect 
  occurs.

[GB.FORM]
* OPT: LCDLabel highlight is now drawn with the Image.Fuzzy() method.

[GB.QT4]
* NEW: The drag & drop frame is now transparent.
* BUG: The drag & drop frame is now correctly hidden in all cases when dnd 
  operation is finished.


git-svn-id: svn://localhost/gambas/trunk@5539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-09 23:41:41 +00:00
Benoît Minisini
5e95a83b1d [GB.WEB]
* NEW: Increase the response packet size to 64 Kb instead of 4 Kb.

git-svn-id: svn://localhost/gambas/trunk@5538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-08 02:51:34 +00:00
Tobias Boege
9e8d88ad41 [GB.EVAL.HIGHLIGHT]
* NEW: Diff: Separate hunks by their @@ lines to (un)expand them.



git-svn-id: svn://localhost/gambas/trunk@5532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-02 15:08:08 +00:00
Benoît Minisini
3bdc61c9f5 [DEVELOPMENT ENVIRONMENT]
* NEW: Move the patch source files into their own directory.
* NEW: Little design changes in the patch wizard.
* NEW: Change the icons used for the patch actions.

[GB.FORM]
* BUG: SidePanel does not crash anymore when clicking on a side button.
* BUG: FileView.Filter does not "eat" the filter array affected to the 
  property anymore.


git-svn-id: svn://localhost/gambas/trunk@5521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 15:00:13 +00:00
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
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
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
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
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
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
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
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
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
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
Fabien Bodard
ad71dc85bf [GB.MAP]
* NEW: Add effect on zooming



git-svn-id: svn://localhost/gambas/trunk@5466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-23 13:10:17 +00:00
Benoît Minisini
c61a906431 [DEVELOPMENT ENVIROMNENT]
* BUG: Do 'svn cleanup' in the parent directory of the project.

[COMPILER]
* BUG: Do not emit inaccurate line number information for forms and global
  variables with no initialization.

[INTERPRETER]
* BUG: When creating the process temporary directory, check the permissions
  of both the top directory (gambas.<userid>) and the process directory 
  inside.


git-svn-id: svn://localhost/gambas/trunk@5461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-22 00:23:51 +00:00
Matti
eb684e2929 [EXAMPLES]
* NEW: Update of German translation of the rest of the examples

[IDE]
* NEW: Update of German translation

[GB.ARGS]
* NEW: German translation

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

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

[GB.REPORT]
* NEW: German translation



git-svn-id: svn://localhost/gambas/trunk@5451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-19 18:54:01 +00:00
Benoît Minisini
75c892de3f [DEVELOPMENT ENVIRONMENT]
* NEW: A maximum compatibility version can be specified for library 
  projects. That maximum version is used for the pakcage dependencies of a
  project using that library.

[GB.DESKTOP]
* BUG: Fix the redirection of 'qdbus' that hides its debugging messages.


git-svn-id: svn://localhost/gambas/trunk@5448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-19 02:25:54 +00:00
Benoît Minisini
44b11b8845 [DEVELOPMENT ENVIRONMENT]
* NEW: The subversion support has now its own dedicated dialog. It can now 
  store the password in the user keyring, and is better at sending that 
  password to the capricious 'svn' program.

[GB.DESKTOP]
* BUG: Get rid of a 'qdbus' spurious debug message.

[GB.GUI.BASE]
* BUG: GridView does not raise some key events twice.


git-svn-id: svn://localhost/gambas/trunk@5445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-18 23:02:56 +00:00
Fabien Bodard
3a3b382dd4 [GB.MAP]
* NEW: Now Layers have an opacity property
* NEW: Tiles are showed with an opacity effect in the MapView.



git-svn-id: svn://localhost/gambas/trunk@5444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-18 21:10:41 +00:00
Fabien Bodard
d949dda019 [GB.MAP]
* NEW: Add support for QuadKeys.



git-svn-id: svn://localhost/gambas/trunk@5443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-18 18:51:35 +00:00
Benoît Minisini
cca6d952f7 [GB.FORM]
* BUG: A disabled Expander does not react to mouse events anymore.


git-svn-id: svn://localhost/gambas/trunk@5441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-16 22:01:38 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Fabien Bodard
0fd26e97c6 git-svn-id: svn://localhost/gambas/trunk@5389 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2012-11-28 17:43:18 +00:00
Fabien Bodard
a919821ec3 [GB.MAP]
* OPT: Rewrite a cache class more clean.
* NEW: New type MapBounds that represent a rect with lat lon limits.


git-svn-id: svn://localhost/gambas/trunk@5388 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-28 17:42:28 +00:00
Benoît Minisini
e04e38e170 [GB.DRAW]
* BUG: Fix the '_call_ special methods of Rect, RectF, Point and PointF, 
  that must be static.

[GB.GUI.BASE]
* BUG: Fix Rect symbol clash in Draw.Zoom.
* NEW: ScrollArea.Painted property is now deprecated.


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