Commit graph

1350 commits

Author SHA1 Message Date
Benoît Minisini
3aac050f86 [GB.FORM.STOCK]
* NEW: New 'script' standard icon.


git-svn-id: svn://localhost/gambas/trunk@5863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 20:57:30 +00:00
Benoît Minisini
4e9ae39cff [GB.FORM]
* NEW: FileView preview is now done from a background task.
* NEW: SVG files are handled by FileView preview now.
* NEW: Add the new 'script' icon to the standard icons list.


git-svn-id: svn://localhost/gambas/trunk@5862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 20:56:49 +00:00
Fabien Bodard
9cdb81e3ab git-svn-id: svn://localhost/gambas/trunk@5850 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2013-09-21 20:24:23 +00:00
Fabien Bodard
f3d231051b [GB.REPORT]
* BUG: Set the last functions static.


git-svn-id: svn://localhost/gambas/trunk@5849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-21 20:21:03 +00:00
Fabien Bodard
d3a77cb742 [GB.REPORT]
* NEW: Now ReportBrush have public method to make a ReportBrush more easily.
  Color, Image, LinearGradient, RadialGradient.




git-svn-id: svn://localhost/gambas/trunk@5848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-21 20:13:34 +00:00
Benoît Minisini
27a8656a74 [CONFIGURATION]
* NEW: Update the README file, and add a copy of the wiki installation 
  instructions in the INSTALL.html file.


git-svn-id: svn://localhost/gambas/trunk@5831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-05 13:35:16 +00:00
Benoît Minisini
67e3478bdb [GB.FORM]
* NEW: DateChooser[].Text is now taken into account. It is displayed as a 
  tooltip when the mouse cursor hovers the associated date.


git-svn-id: svn://localhost/gambas/trunk@5829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-04 10:00:30 +00:00
Benoît Minisini
3a3449c068 [INTERPRETER]
* NEW: Support for inequality operators in the operator interface.
* NEW: The Sgn() function can be implemented by the operator interface.

[GB.GMP]
* NEW: BigInt now supports inequality operators.
* NEW: New methods: Odd(), Even()
* NEW: Logical operators as static methods: And, Or, Xor, Not.
* NEW: Bit manipulation as static methods: BSet, BClr, BChg, BTst.


git-svn-id: svn://localhost/gambas/trunk@5828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-03 21:11:55 +00:00
Benoît Minisini
f41adce9f1 [GB.CLIPPER]
* NEW: Mark the component as stable.

[GB.GUI.BASE]
* BUG: Draw.Picture() and Draw.Image() source arguments now work correctly.
* NEW: Add void constructors to HSplit and VSplit for the documentation.


git-svn-id: svn://localhost/gambas/trunk@5824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-01 14:48:41 +00:00
Fabien Bodard
f71757ade1 [GB.MAP]
* NEW: Begin the support for Web Map Server.
* NEW: Grab Function return an image of the given bounds, with
  the given with and height, with the given margin arround. If
  the zoom is not defined then the better rendering zoom is used.
* NEW: In MapView, there is two new function PixelToMapPointRel     
  and MapPointToPixel that convert the mouse pos in MapPoint
  and the opposite.
* NEW: In _MapTile, a new function SetCoockieFile allow to 
  define the cookie file shared by all the httpsockets.   
  It's usefull for using with some server that query a session.
* NEW: In _MapTile, WMSProjection allow to define the server projection
* NEW: In _MapTile, WMSARgs is a collection that allow to define the 
  static args for the server (build the url)
  It miss the bbox order.




git-svn-id: svn://localhost/gambas/trunk@5823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-31 12:25:17 +00:00
Benoît Minisini
9b4eaf2a47 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a popup menu to the image editor save button that allows to 
  change the image format.
* BUG: Detect structure definition help comments.

[GB.GUI.BASE]
* BUG: Disable automatic shortcuts in popup menus for the moment, it breaks 
  too many things.


git-svn-id: svn://localhost/gambas/trunk@5820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-30 13:58:18 +00:00
Benoît Minisini
a72e92ae47 [INTERPRETER]
* BUG: Fix a possible false error when using LINE INPUT on non-blocking 
  streams.

[GB.FORM]
* NEW: LCDLabel.Value is a new property that is a synonymous of the Text 
  property for numerical values.
 

git-svn-id: svn://localhost/gambas/trunk@5819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-30 07:12:36 +00:00
Benoît Minisini
6d8ce6ac9b [GB.FORM]
* NEW: FileChooser: Add a tool button for displaying file properties.

[GB.GTK]
* BUG: Fix broken popup and modal dialog management.
* BUG: Patch Style properties and methods for 'oxygen-gtk' widget theme.



git-svn-id: svn://localhost/gambas/trunk@5809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-19 01:03:56 +00:00
Benoît Minisini
ddcf6a2cb0 [GB.GUI]
* NEW: Utility method that defines shortcuts for a popup menu.

[GB.GTK]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.

[GB.QT4]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.


git-svn-id: svn://localhost/gambas/trunk@5808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 21:27:56 +00:00
Benoît Minisini
c3905c6c1c [DEVELOPMENT ENVIRONMENT]
* NEW: Allow more possible shortcuts in menu editor.
* NEW: Menu items can be non-translatable.


git-svn-id: svn://localhost/gambas/trunk@5807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 18:59:03 +00:00
Benoît Minisini
ae5f540c3b [DEVELOPMENT ENVIRONMENT]
* OPT: ImageEditor: Optimize the pen and eraser tools.
* NEW: ImageEditor: The popup menu allows to define the magnet grid of the 
  current selected shape.

[GB.CLIPPER]
* BUG: Polygon.Clean() does not close the polygon automatically.
* NEW: Polygon.Add() and Polygon.AddPoint() are two new methods to add a
  point to a polygon.
* NEW: Polygon.Remove() is a new method to remove points from a polygon.

[GB.FORM]
* NEW: The ImageView draws nothing by itself if its Draw event is catched.
  Drawing the image is then entirely up to the Draw event handler.


git-svn-id: svn://localhost/gambas/trunk@5805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 00:47:21 +00:00
Benoît Minisini
9666673ccc [GB.FORM]
* NEW: SliderBox is a new control that displays a Slider and a SpinBox,
  both being synchronized.
* NEW: The SidePanel transparent handle is now smaller when the SidePanel
  is hidden.


git-svn-id: svn://localhost/gambas/trunk@5804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-16 22:35:28 +00:00
Benoît Minisini
9ffdd925ab [GB.DB.FORM]
* NEW: DataCheckBox is a new data control that displays a checkbox for a
  boolean database field.


git-svn-id: svn://localhost/gambas/trunk@5800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-15 15:15:19 +00:00
Benoît Minisini
d452797475 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: the magic wand automatically merge the current 
  selection.

[GB.CLIPPER]
* NEW: Polygon is a new class that represents a polygon. It can be 
  automatically converted to and from PointF[].
* NEW: All methods now use Polygon and Polygon[] instead of PointF[] and
  PointF[][].
* NEW: Clipper.Union() is a new method that returns the union of an array
  of polygons.


git-svn-id: svn://localhost/gambas/trunk@5794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-13 22:28:41 +00:00
Benoît Minisini
e737d66459 [GB.FORM]
* BUG: ButtonBox border is now drawn correctly with QtCurve.

[GB.QT4]
* BUG: Fix focus style routine for QtCurve.


git-svn-id: svn://localhost/gambas/trunk@5793 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-13 14:55:17 +00:00
Benoît Minisini
670d2e3f82 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Effects and painting now acts on the current selected 
  shape only.

[GB.FORM.MDI]
* BUG: ToolBar: Expander and separators are correctly visible again.


git-svn-id: svn://localhost/gambas/trunk@5787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-11 20:03:27 +00:00
Benoît Minisini
a802373d0b [GB.FORM]
* BUG: Fix a possible infinite loop in TabBar layout management.

[GB.FORM.MDI]
* NEW: Horizontal toolbar layout has been redesigned. Now they grow 
  vertically if there is not enough place for all toolbar elements. 
  Vertical toolbars are not done yet.


git-svn-id: svn://localhost/gambas/trunk@5786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-11 19:37:28 +00:00
Benoît Minisini
56c65ddcb4 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Tons of bug fixes. The current selection and the 
  current pasted image can be moved, rotated and shrinked with the mouse.
* NEW: Image rotation tool.

[GB.DRAW]
* BUG: The PaintMatrix class is now really autonomous. It can be used 
  without a current drawing device.
* NEW: PaintMatrix.Copy() is a new method that copies a matrix.
* NEW: PaintMatrix.Map() is a new method that applies a matrix to a point
  and returns the result.

[GB.FORM]
* NEW: ImageView can take the focus.
* BUG: DirChooser should not crash anymore when it cannot access a 
  bookmark.

[GB.GTK]
* NEW: Implementation of the new PaintMatrix design.

[GB.IMAGE]
* BUG: Image.Fuzzy() argument cannot be greater than 254.

[GB.QT4]
* NEW: Implementation of the new PaintMatrix design.


git-svn-id: svn://localhost/gambas/trunk@5779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-09 20:42:38 +00:00
Benoît Minisini
ef1f29700e [DEVELOPMENTE ENVIRONMENT]
* NEW: ImageEditor: List of last recently used gradients has been 
  implemented. Many bug fixes everywhere.
* NEW: ImageEditor: The direction of line, rectangle or ellipse tells if it
  is added or substracted to the current selection.
* OPT: ImageEditor: The refresh of the balance effect on the current 
  selection has been optimized.
* NEW: ImageEditor: A dialog to enlarge or shrink the selection with a
  given number of pixels. Only works on rectangles and ellipses.


git-svn-id: svn://localhost/gambas/trunk@5777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-07 22:35:58 +00:00
Benoît Minisini
3c1353f233 [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Support for gamma, hue, saturation and lightness 
  balance. Read-only mode has been implemented. Many bug fixes everywhere.

[GB.FORM]
* NEW: Remove Brightness and Contrast properties from the ImageView 
  control.

[GB.IMAGE]
* NEW: Image.BrightnessContrast has been removed.
* NEW: New balance methods: Image.Brightness, Image.Contrast, Image.Gamma,
  Image.Hue, Image.Saturation, Image.Lightness.
* NEW: Image.BeginBalance() and Image.EndBalance() are two new methods that
  allow to group calls to the previous methods, so that all the balances
  are done in one shot.


git-svn-id: svn://localhost/gambas/trunk@5776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-07 03:14:27 +00:00
Benoît Minisini
e63e8777a1 [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Image brightness and constrast, clipboard management,
  cut, copy & paste have been implemented. Many fixes everywhere.
* NEW: Image editor: Resize dialog has been enhanced.

[GB.IMAGE]
* BUG: Image.Copy() now checks its arguments better, so that it does not
  generate images with garbage inside.
* NEW: Image.BrightnessContrast() is a new method that allows to change the
  brightness and contrast of an image.
* OPT: Internal routines for color space conversion between HSV and RGB 
  have been optimized.

[GB.FORM]
* NEW: The ImageView Draw event now takes the image that has been drawn as 
  argument.
* NEW: ImageView.Brightness and ImageView.Contrast are two new properties
  that allow to define the corresponding effects applied to the displayed
  image.


git-svn-id: svn://localhost/gambas/trunk@5775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-06 17:28:13 +00:00
Benoît Minisini
723a203185 [DEVELOPMENT ENVIRONMENT]
* NEW: New image editor, not yet finished. Use with care!

[GB.FORM]
* NEW: ImageView now export some of the properties and methods of its inner 
  ScrollArea.
* NEW: ImageView has now two new methods to convert between image 
  coordinates and view coordinates.
* NEW: ImageView.Grid is a new property that defines if the grid should be 
  visible.
* NEW: ImageView.UseMouse is a new property that defines if scrolling the 
  image by using the mouse inside the view is possible.

[GB.GTK]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the 
  actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
  constants that are returned by Key.Code when the corresponding key is 
  pressed or released.

[GB.QT4]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the 
  actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
  constants that are returned by Key.Code when the corresponding key is 
  pressed or released.


git-svn-id: svn://localhost/gambas/trunk@5772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-05 22:18:36 +00:00
Benoît Minisini
c9ca5ab982 [CONFIGURATION]
* NEW: Update copyright year to 2013.

[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a 
  scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
  a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.


git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-03 15:38:01 +00:00
Benoît Minisini
d860a7a53c [DEVELOPMENT ENVIRONMENT]
* NEW: Add a menu item in the "Debug" menu to define ine one click if an 
  embedded HTTP server must be used.
* NEW: The 'gb.httpd' component can be checked explicitely.
* BUG: Fix the local variable view when they are displayed in columns.

[WIKI CGI SCRIPT]
* NEW: The indexes are more compact now.

[INTERPRETER]
* NEW: The option '-H' is assumed if the project depends on the 'gb.httpd' 
  component explicitely.

[GB.FORM]
* BUG: Balloon: Fix the bubble drawing routine.
* NEW: The GB_STOCK_DEBUG environment variable must be used now instead of 
  the GB_STOCK variable.

[GB.HTTPD]
* BUG: Many fixes in CGI handling if the project is in debugging mode.
* NEW: Replace "thttpd" strings by "gb.httpd".
* NEW: Simplify the default HTML error page.
* NEW: If the GB_HTTPD_DEBUG environment variable is set to "1", then all
  HTTP server debugging messages are printed to the standard error. 
  Otherwise, nothing is printed.


git-svn-id: svn://localhost/gambas/trunk@5769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-02 21:57:49 +00:00
Benoît Minisini
eeec97396c [DEVELOPMENT ENVIRONMENT]
* NEW: When the 'gb.web' component is selected, a new option is available 
  in the project property dialog: "Run in an embedded HTTP server".

(INTERPRETER]
* NEW: GB.System.Debug() is a new API that allows to know if the 
  interpreter is run in debugging mode.

[GB.DEBUG]
* NEW: The debugger tells the IDE when its prompt is the first one.

[GB.HTTPD]
* NEW: Reset locale to "C" before running the http server.
* BUG: The CGI "SCRIPT_NAME" variable is set to "/".
* NEW: The default CGI timeout is now 10 minutes.
* NEW: Behave accurately when run in debugging mode : only one CGI script
  at a time is allowed.
* NEW: When run in debugging mode, there is no CGI timeout.


git-svn-id: svn://localhost/gambas/trunk@5765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-27 17:23:04 +00:00
Benoît Minisini
1c34bd7bd5 [GB.IMAGE.IO]
* NEW: Image.Stretch() is a new method that allows to stretch an image 
  without having to use a full GUI component.


git-svn-id: svn://localhost/gambas/trunk@5764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-26 22:14:10 +00:00
Benoît Minisini
a50535d779 [CONFIGURATION]
* NEW: Components can have a new state: "Deprecated".

[DEVELOPMENT ENVIRONMENT]
* NEW: Add a filter to the component tab of the project property dialog.

[WEBSITE MAKER]
* BUG: Translations came back.

[GB.OPTION]
* NEW: This component is now deprecated.

[GB.V4L]
* NEW: This component is now deprecated.


git-svn-id: svn://localhost/gambas/trunk@5761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-23 00:56:01 +00:00
Benoît Minisini
bd3410e80f [INTERPRETER]
* NEW: GB.ReturnSingle() is a new API that allows to return a Single from a 
  method or property implementation routine.

[GB.NET.POP3]
* NEW: Pop3Client has a new Remove() method to delete a message from its 
  index. Pop3Client.Remove(n) is just a synonymous for 
  Pop3Client[n].Delete.

[GB.OPENAL]
* NEW: New component for the OpenAL 3D audio library. Work in progress...

[GB.OPENGL]
* BUG: Fix a possible crash in GL.GenTextures(). I guess that bug will have 
  to be fixed in other equivalent routines.


git-svn-id: svn://localhost/gambas/trunk@5753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-21 16:19:26 +00:00
Benoît Minisini
f8b62a4518 [DEVELOPMENT ENVIRONMENT]
* NEW: The system information dialog searches for more libraries.

[WIKI CGI SCRIPT]
* BUG: Correctly handle boolean constants.

[GB.DESKTOP]
* NEW: DesktopMime.GetIcon() now can stretch installed icons to the
  requested size.

[GB.GTK]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.

[GB.GUI.BASE]
* BUG: Fix IconView item text ellipsization routine.

[GB.QT4]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.
* NEW: TrayIcon now supports ARGB visuals - i.e. icons are really 
  transparent now.


git-svn-id: svn://localhost/gambas/trunk@5747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-20 13:39:38 +00:00
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
Benoît Minisini
2f4d1b7d2e [GB.DRAW]
* BUG: Fix Paint.ZoomImage() method.

[GB.GTK]
* BUG: Paint.Begin() correctly initializes the line width to 1.0.

[GB.GUI.BASE]
* NEW: Draw.Polygon now uses Paint.Polygon.


[GB.QT4]
* BUG: Clipboard.Type correctly returns Clipboard.Image after an image has 
  been copied to the clipboard.


git-svn-id: svn://localhost/gambas/trunk@5386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 23:40:28 +00:00
Benoît Minisini
8bbe87a6d3 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove uses of DrawingArea.Painted.

[GB.FORM]
* BUG: Remove uses of DrawingArea.Painted.

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

[GB.MAP]
* NEW: MapPoint.Distance() is a new method that returns the geodesic 
  distance between two points.
* NEW: Map.From() is a new method that returns the position of a point from
  an initial point, a direction and a distance.
* NEW: Map.Bearing() is a new method that returns the direction from an 
  initial point to a destination point.


git-svn-id: svn://localhost/gambas/trunk@5384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 20:10:39 +00:00
Sebastian Kulesz
94dcc2d56a [GB.MEMCACHED]
* OPT: Hide protocol specific symbols


git-svn-id: svn://localhost/gambas/trunk@5383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 19:34:49 +00:00
Benoît Minisini
520e978feb [DEVELOPMENT ENVIRONMENT]
* NEW: Update error messages.

[GB.DRAW]
* NEW: The Draw class has been removed.
* NEW: Paint.Ellipse() is a new method that paints an ellipse.
* NEW: Paint.TextSize() returns the bounding box of a text like 
  Draw.TextWidth() and Draw.TextHeight() did, which is not the same thing 
  as Paint.TextExtents().
* NEW: Paint.RichTextSize() returns the bounding box of a rich text like 
  Draw.RichTextWidth() and Draw.RichTextHeight() did, which is not the same 
  thing as Paint.RichTextExtents().
* NEW: Paint.FillRect() fills a rectangle with a specific color.
* NEW: Paint.DrawImage() takes an extra 'Source' argument which is a 
  rectangle describing a piece of the source image.
* NEW: Paint.DrawPicture() now replaces the old Draw.Picture() method.
* NEW: Paint.ZoomImage() now replaces the old Draw.Zoom() method.
* NEW: The default line width after a Paint.Begin() is one pixel now.

[GB.GTK]
* NEW: DrawingArea.Painted has been deprecated.
* BUG: Don't use the 'cairo_set_device_offset' method to draw on a 
  DrawingArea, but a matrix translation.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.

[GB.GUI.BASE]
* NEW: Do not highlight the sorted column in GridView, TreeView, ListBox... 
  if there is only one column.
* NEW: Implement a new Draw class that simulates the old one by using the
  Paint class.

[GB.JIT]
* BUG: Fix the argument order of E_NSYMBOL error message.

[GB.QT4]
* NEW: DrawingArea.Painted has been deprecated.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.


git-svn-id: svn://localhost/gambas/trunk@5382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 18:42:24 +00:00
Sebastian Kulesz
d2f042111f [GB.MEMCACHED]
* BUG: Hide the Disconnect function from the user.



git-svn-id: svn://localhost/gambas/trunk@5380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 02:12:25 +00:00
Benoît Minisini
7326cc894b [GB.DRAW]
* NEW: Paint.DrawImage() now takes a source rectangle.
* NEW: Paint.DrawPicture() is a replacement for Draw.Picture().
* NEW: Paint.ZoomImage() is a replacement for Draw.Zoom().

[GB.GTK]
* NEW: Start implementing new Paint methods.

[GB.QT4]
* NEW: Start implementing new Paint methods.


git-svn-id: svn://localhost/gambas/trunk@5376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-26 06:33:49 +00:00
Fabien Bodard
3aa8ced520 [GB.MAP]
* BUG: Truely rename LatLon into MapPoint


git-svn-id: svn://localhost/gambas/trunk@5374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 18:27:14 +00:00
Fabien Bodard
cfd1b9641c [GB.MAP]
* OPT: More optimizations


git-svn-id: svn://localhost/gambas/trunk@5373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:45:30 +00:00
Fabien Bodard
2902e63546 [GB.MAP]
* OPT: Rename MTile in Geo


git-svn-id: svn://localhost/gambas/trunk@5371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:32:51 +00:00
Fabien Bodard
18fb03e718 [GB.MAP]
* BUG: Export MTiles


git-svn-id: svn://localhost/gambas/trunk@5370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:28:42 +00:00
Fabien Bodard
04367baefa [GB.MAP]
* OPT: Remove Unneeded modules


git-svn-id: svn://localhost/gambas/trunk@5369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:26:47 +00:00
Fabien Bodard
65065c6a26 [GB.MAP]
* New: The tiles are loaded from the center to the outside
* New: A new Module centralise the projections transformations.
* New: LatLon is now renamed MapPoint.
* OPT: The classes FRect and FPoint have been removed. Now PointF and RectF
  standart draw types are used(and as well Point and rect)



git-svn-id: svn://localhost/gambas/trunk@5368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 16:31:47 +00:00
Benoît Minisini
7af5ee2344 [GB.DRAW]
* NEW: Paint.BrushOrigin is a new property that allows to define the origin 
  of the brush.
* NEW: Paint.FillRect is a new property equivalent to Draw.FillRect.

[GB.GTK]
* NEW: Support for the new Paint methods.

[GB.GUI.BASE]
* NEW: Start to implement a Draw static class based on the Paint class.
  That class aims at replacing the current Draw class. As it will be based 
  on the Paint class, it will be able to act on Image and Printer, making
  the old Gambas 2 printing code works with Gambas 3 directly.

[GB.QT4]
* NEW: Support for the new Paint methods.


git-svn-id: svn://localhost/gambas/trunk@5365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 01:39:49 +00:00
Fabien Bodard
9de93d510e git-svn-id: svn://localhost/gambas/trunk@5364 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2012-11-24 23:26:59 +00:00
Benoît Minisini
e51fc2d951 [INTERPRETER]
* NEW: The RAISE instruction now can raise events defined in a parent 
  class.
* NEW: Timer: The Trigger method now does nothing if there is an already
  pending trigger. This behaviour is not backward-compatible, so it may be
  removed if problems arise.

[COMPILER]
* NEW: The RAISE instruction now can raise events defined in a parent 
  class.

[GB.DRAW]
* NEW: Implement standard operators in Point and PointF classes.
* NEW: Automatic conversion between Point and PointF.
* NEW: 'CDraw.c' and 'CDraw.h' source files have been renamed as 'cdraw.c' 
  and 'cdraw.h'.
* NEW: Rect.Center() and RectF.Center() are two new methods that return the 
  center of the rectangle.

[GB.FORM]
* NEW: FileChooser: tar archives now can be uncompressed. 


git-svn-id: svn://localhost/gambas/trunk@5359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 18:52:11 +00:00
Fabien Bodard
f1e9becd90 [GB.MAP]
* BUG: Remove files that have defect


git-svn-id: svn://localhost/gambas/trunk@5358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 18:36:52 +00:00
Fabien Bodard
14e7854100 [GB.MAP]
* OPT: Make map loading more faster. Use multiple httpclient (2 by default)



git-svn-id: svn://localhost/gambas/trunk@5357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 18:22:18 +00:00
Fabien Bodard
f675ee75fc [GB.MAP]
* BUG: Don't try to download negative tiles
* BUG: Dont try to load image not finished



git-svn-id: svn://localhost/gambas/trunk@5356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 16:52:23 +00:00
Benoît Minisini
225c6e0b40 [DEVELOPMENT ENVIRONMENT]
* NEW: Use DesltopMime.FromFile() method to handle project data files.
* BUG: Installing the Gambas fonts override the old ones that could be
  already installed.
* NEW: Update the Gambas fonts.

[GB.DESKTOP]
* BUG: DesktopFile.Run() now handle programs that does not specify any
  argument pattern (%u, %f, and so on) in its command description.

[GB.DRAW]
* NEW: Add a RectF class, that is a rectangle with Float coordinates.
* NEW: Add a Point class, that is just a point with two Integer 
  coordinates.
* NEW: Add a PointF class, that is just a point with two Float
  coordinates.

[GB.GUI.BASE]
* BUG: GridView and TreeView controls should not lose any MouseDown event
  anymore.
* BUG: Fix previous TreeView optimizations.

[GB.MAP]
* BUG: Rename the "map" class as "Map".


git-svn-id: svn://localhost/gambas/trunk@5354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 01:16:40 +00:00
Benoît Minisini
5bdcf019af [GB.MAP]
* BUG: Remove .settings file from subversion.


git-svn-id: svn://localhost/gambas/trunk@5353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-23 13:18:10 +00:00
Fabien Bodard
43f6307eba [GB.MAP]
* Bug: Remove occurence to CShape



git-svn-id: svn://localhost/gambas/trunk@5352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-23 13:13:51 +00:00
Fabien Bodard
73e7a56b4e [GB.MAP]
* New: Remove uneeded files


git-svn-id: svn://localhost/gambas/trunk@5351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 19:31:17 +00:00
Fabien Bodard
af1f967243 [GB.MAP]
* BUG: Unactivate Proj classe


git-svn-id: svn://localhost/gambas/trunk@5349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 16:54:27 +00:00
Fabien Bodard
855911aa57 [GB.MAP]
* New: First commit for this new component that allow to display tiled maps.

[EXAMPLES]
* New: A new example on how to use gb.map component.



git-svn-id: svn://localhost/gambas/trunk@5348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 16:29:03 +00:00
Benoît Minisini
9a79fbede4 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a smaller font for help viewer embeeded in automatic completion
  or signature popups.
* NEW: Revamp the option dialog.
* NEW: Add an option to install the Gambas font to the user font folder
  (~/.fonts). That font is a custom version of the Terminus 6x12 bitmap 
  font, with a bold version and more unicode characters.

[GB.GUI.BASE]
* OPT: Start optimizing the TreeView.Add() method which is too slow if a 
  single item has many children.


git-svn-id: svn://localhost/gambas/trunk@5346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-21 00:20:00 +00:00
Benoît Minisini
8b73da0e5f [DEVELOPMENT ENVIRONMENT]
* NEW: In the CSV import dialog: When the import is finished, display the
  message tab and disable the "Import" button so that you don't click on it
  again unexpectedly. The button is enabled again when clicking on the
  first tab.

[GB.GUI.BASE]
* BUG: GridView: Using selection methods now takes the "Single" selection 
  mode into account and refresh the view as expected.


git-svn-id: svn://localhost/gambas/trunk@5343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 10:23:27 +00:00
Benoît Minisini
c0023665f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Integrate the welcome dialog into the main window.

[GB.GUI.BASE]
* BUG: GridView: Resizing a column or a row does not trigger the MouseDrag 
  event anymore.


git-svn-id: svn://localhost/gambas/trunk@5332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-17 16:46:33 +00:00
Matti
46fcf13856 [NEW]
Update of German translation



git-svn-id: svn://localhost/gambas/trunk@5330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-15 20:35:54 +00:00
Benoît Minisini
1b1eae9642 [GB.GUI.BASE]
* BUG: GridView: Revert a stupid change in row height layout.


git-svn-id: svn://localhost/gambas/trunk@5327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-14 22:43:06 +00:00
Benoît Minisini
723fca96d0 [INTERPRETER]
* NEW: Move the '.SubCollection' virtual class to the gb.db. component.

[GB.DB]
* NEW: Move the '.SubCollection' virtual class to the gb.db. component.

[GB.FORM]
* BUG: TabPanel: Fix the algorithm ensuring that the current tab is 
  visible.


git-svn-id: svn://localhost/gambas/trunk@5326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-14 22:24:15 +00:00
Benoît Minisini
13817216c4 [GB.GTK]
* NEW: ComboBox.Border is a new property that tells if the ComboBox control
  should display a border.

[GB.QT4]
* NEW: ComboBox.Border is a new property that tells if the ComboBox control
  should display a border.


git-svn-id: svn://localhost/gambas/trunk@5322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-13 00:43:52 +00:00
Benoît Minisini
564c5bfb27 [GB.GUI.BASE]
* BUG: GridView now raises its Click event correctly, and so calling the
  TableView Edit() method during that event works correctly again.


git-svn-id: svn://localhost/gambas/trunk@5317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 12:15:25 +00:00
Benoît Minisini
8a9c379c70 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the main toolbar through the ToolBar Configure 
  event.

[WIKI CGI SCRIPT]
* BUG: Fix synonymous pages (those whose title begins with '~/').

[GB.GUI.BASE]
* BUG: TreeView: Fix a crash when refreshing a sorted TreeView.


git-svn-id: svn://localhost/gambas/trunk@5316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 11:00:20 +00:00
Benoît Minisini
25b8edfd44 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the help comments integrated into the *.info files by 
  the compiler.
* NEW: Use the help comments stored in libraries and display them in them
  help tooltips.
* BUG: Remove duplicates in the automatic completion list.
* BUG: The symbol syntax displayed in the help now correctly follows the
  "Keywords in uppercase" setting.
* NEW: Class help comments are now help comments located at the beginning
  of the source file that starts with three quotes and a space: `''' `.

[COMPILER]
* NEW: Support for help comments on public symbols. They are automatically 
  integrated into the *.info information files.


git-svn-id: svn://localhost/gambas/trunk@5311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-10 00:19:53 +00:00
Benoît Minisini
4708a63e89 [GB.GUI.BASE]
* BUG: TreeView won't crash anymore by trying to raise its Activate event 
  whereas the current item has been destroyed during the previous mouse 
  events.
* BUG: ScrollArea: DragLeave event can be called whereas there was no 
  DragMove event. So don't assume that.
* BUG: GridView: multiple selection works again.

[GB.QT4]
* BUG: Don't crash if the debugger asks for enabling the grabs back whereas
  the grabber widgets have been destroyed.


git-svn-id: svn://localhost/gambas/trunk@5305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-08 17:28:16 +00:00
Benoît Minisini
f78aa256ca [GB.GUI.BASE]
* BUG: Fix a crash when trying to resize a TreeView item that just has been 
  added.


git-svn-id: svn://localhost/gambas/trunk@5304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-08 15:38:33 +00:00
Benoît Minisini
5d9a781017 [DEVELOPMENT ENVIRONMENT]
* BUG: Right mouse button can select controls again in form editor.

[GB.GTK]
* NEW: DragLeave is a new event raised by any control when the mouse leave
  a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account. 

[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView... now automatically scroll during a
  DnD operation.
* BUG: Remove the overriden MouseDown event from the GridView class.
* BUG: A DnD operation does not eat the next mouse click anymore in 
  GridView, TreeView... controls.

[GB.QT4]
* NEW: DragLeave is a new event raised by any control when the mouse leave
  a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account. 


git-svn-id: svn://localhost/gambas/trunk@5303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-07 22:51:04 +00:00
Benoît Minisini
34de79ef3d [DEVELOMENT ENVIRONMENT]
* BUG: Disable embedded http server.

[INTERPRETER]
* BUG: Fix a crash in String.Comp() when one of the two string is null.

[GB.FORM]
* BUG: Don't show useless menus in the DirView popup menu of a DirChooser 
  or FileChooser control.
* BUG: Do not scroll the TabPanel tab bar if not really necessary.

[GB.GUI.BASE]
* BUG: For backward-compatibility reasons, you can now set the value of 
  any arbitrary positive column index of a ColumnView item.


git-svn-id: svn://localhost/gambas/trunk@5301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-06 20:11:20 +00:00
Benoît Minisini
7c36785b6e [DEVELOPMENT ENVIRONMENT]
* BUG: In form editor, rectangle selection is triggered by the left mouse 
  button only.

[GB.GTK]
* BUG: Fix reparenting when there is a TabStrip in the process.

[GB.GUI.BASE]
* BUG: Fix sizing of TreeView items.
* BUG: Fix a crash when a sorted TreeView is updated.


git-svn-id: svn://localhost/gambas/trunk@5300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-04 23:09:58 +00:00
Benoît Minisini
3254fbbefe [GB.GUI.BASE]
* BUG: Fix TreeView item move methods.


git-svn-id: svn://localhost/gambas/trunk@5298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-03 23:06:48 +00:00
Benoît Minisini
946a8ef2be [DEVELOPMENT ENVIRONMENT]
* NEW: Use a yellow star for marking exported classes.
* NEW: Automatic completion of file paths.
* NEW: Going backward and forward now works in the text editor.
* NEW: The project filter buttons have been replaced by a popup menu that 
  is triggered when you click on the gray magnifying glass.

[GB.DESKTOP]
* NEW: DesktopFile.FindMime() has been deprecated and replaced by 
  Desktop.FromMime().
* NEW: Desktop.GetFileIcon() is a new method that returns the icon 
  associated with a specific file path. DesktopMime is used.

[GB.FORM]
* NEW: TabStrip: support of right-to-left languages.
* NEW: Stock: support for right-to-left icons.

[GB.FORM.STOCK]
* NEW: Support for right-to-left icons.

[GB.GUI.BASE]
* BUG: GridView: support of right-to-left languages.



git-svn-id: svn://localhost/gambas/trunk@5296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-03 21:45:02 +00:00
Benoît Minisini
9f8954c448 [DEVELOPMENT ENVIRONMENT]
* NEW: Add every supported desktop to the icon theme list in the option 
  dialog.

[GB.FORM]
* NEW: DirChooser: add a ShowPreview property.
* NEW: FileChooser: add a ShowPreview property.
* BUG: Fix 'show preview' menu entry in FileChooser and DirChooser.


git-svn-id: svn://localhost/gambas/trunk@5291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 16:38:58 +00:00
Benoît Minisini
0853b396fe [GB.DESKTOP]
* NEW: Use the new '$(mime)' icon virtual directory.

[GB.FORM]
* NEW: FileView: new ShowPreview property to enable or disable image 
  preview.
* BUG: Many fixes in icon retrieving routine.
* NEW: Stock class now can find the mime icon directory if $(mime) is used
  inside the icon name.


git-svn-id: svn://localhost/gambas/trunk@5290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 16:09:58 +00:00
Benoît Minisini
54d789d66e [GB.DESKTOP]
* NEW: DesktopMime: when looking for the icon, try the 'mimes' directory if
  nothing is found in the 'mimetypes' directory.

[GB.FORM]
* OPT: FileView: clean up icon retrieving function.
* NEW: Stock: display warning on load fail only if GB_STOCK is set.

[GB.QT4.EXT]
* NEW: Editor: undo/redo now take the cursor position and the selection 
  into account.


git-svn-id: svn://localhost/gambas/trunk@5286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 14:05:58 +00:00
Fabien Bodard
e5446e3eae [GB.FORM]
* NEW: Stock lose the AllowNull Param and return a Default Picture only if Debug is true

[GB.QT4]
* OPT: Return to the old Stock signature

[GB.GTK]
* OPT: Return to the old Stock signature




git-svn-id: svn://localhost/gambas/trunk@5284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 13:44:27 +00:00
Fabien Bodard
a36f6a7dfc [GB.FORM]
* NEW: New parameter in Stock class :'AllowNull' in _Get function so stock return
  null if ni icon is found

[GB.QT4]
* OPT: Change the signature for _Get detection

[GB.GTK]
* OPT: change the stock _get signature




git-svn-id: svn://localhost/gambas/trunk@5280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 12:05:55 +00:00
Fabien Bodard
3223450699 [GB.FORM]
* BUG: Allow icons with a point in the name



git-svn-id: svn://localhost/gambas/trunk@5277 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-01 22:21:03 +00:00
Fabien Bodard
4414985b24 [GB.FORM]
* NEW: Now FileView use DesktopMime to set the files icon if it is loaded.


git-svn-id: svn://localhost/gambas/trunk@5276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-01 18:49:24 +00:00
Benoît Minisini
6a4079fdd2 [GB.GUI.BASE]
* BUG: TreeView.Item is now correctly set when raising the Activate event.


git-svn-id: svn://localhost/gambas/trunk@5271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-01 13:29:30 +00:00
Benoît Minisini
25ee42b34d [GB.DB.FORM]
* BUG: Correctly handle null values when sorting a DataSource.
* BUG: DataSource.Table contents is automatically trimmed before being sent 
  to the database driver.

git-svn-id: svn://localhost/gambas/trunk@5267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-31 18:05:43 +00:00
Benoît Minisini
588e0f3942 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix scrolling of code editor procedure list.
* BUG: Automatic local variable declaration now works correctly when a 
  method named "Get" is called inside the analyzed expression.

[COMPILER]
* NEW: "[]" now is compiled to return a array with no elements.

[INTERPRETER]
* BUG: Array with no elements can be casted to any other array datatype.

[GB.GUI.BASE]
* BUG: Fix visibility of expanded TreeView items.

[GB.QT4.EXT]
* NEW: When the Editor loses the focus, it does not scroll to the cursor 
  position automatically anymore.


git-svn-id: svn://localhost/gambas/trunk@5266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-30 23:44:24 +00:00
Benoît Minisini
19e3c5c5e4 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor background drawing.

[GB.GUI.BASE]
* NEW: Expanding a TreeView item now automatically scrolls so that child
  items are visible.


git-svn-id: svn://localhost/gambas/trunk@5264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-29 09:20:08 +00:00
Benoît Minisini
3c07aa952a [GB.GTK]
* NEW: Remove useless source files of controls now implemented in the
  gb.gui.base component.

[GB.QT4]
* NEW: Remove useless source files of controls now implemented in the
  gb.gui.base component.


git-svn-id: svn://localhost/gambas/trunk@5259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-29 00:02:39 +00:00
Benoît Minisini
25e6253672 [CONFIGURATION]
* BUG: The default prefix is /usr in component directories too.
* NEW: Uninstall mime handler and mime icons in 'make uninstall'.

[GB.GTK]
* NEW: Replace the old ListBox control by the one in gb.gui.base.

[GB.QT4]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
* OPT: Some little optimizations in ScrollView.
* OPT: Changing the geometry of a control whose Ignore property is set does
  not trigger parent arrangement routine anymore.


git-svn-id: svn://localhost/gambas/trunk@5258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 19:21:59 +00:00
Benoît Minisini
84bcc9052f [CONFIGURATION]
* BUG: Fix compilation of Gambas.

[DEVELOPMENT ENVIRONMENT]
* NEW: Change the proportional font size list in the option dialog. Use a
  5% size increment.

[INFORMER]
* NEW: gbi3 now displays include warning only if the GBI_DEBUG environment
  variable is set to "1".

[GB.FORM]
* NEW: Add a FontChooser Border property.
* BUG: Support for Underline and Strikeout come back in FontChooser.

[GB.GUI.BASE]
* NEW: ScrollArea now raise a Resize event when the client area is resized
  because of changes in scrollbars visibility.
* BUG: Changing a TreeView item property now correctly refreshes the view.
* OPT: The height of TreeView rows is now refreshed correctly.

[GB.QT4]
* BUG: The menu bar height is correctly refreshed if the application font
  changes.



git-svn-id: svn://localhost/gambas/trunk@5257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 14:35:31 +00:00
Benoît Minisini
0de1545f21 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix option dialog layout.

[GB.FORM]
* NEW: New FontChooser control design.

[GB.GTK]
* BUG: Fix gb.gtk compilation.
* NEW: Add Window.Indent arrangement property.

[GB.GUI.BASE]
* BUG: Setting the text of the ColumnView columns now works correctly.
* NEW: The ListBox Gambas implementation is finished, but has not replaced
  the old one yet.

[GB.QT4]
* NEW: Add Window.Indent arrangement property.


git-svn-id: svn://localhost/gambas/trunk@5256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 00:28:26 +00:00
Benoît Minisini
5ab73c7494 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a button to reset the default font in the option dialog.

[GB.FORM]
* NEW: Add an hidden method to the ButtonBox class that allows to insert
  an already existing ToolButton in it.

[GB.GUI.BASE]
* BUG: Fix ScrollArea.EnsureVisible() and GridView.EnsureVisible() methods 
  again.
* BUG: Fix TreeView MoveBelow() and MoveAbove() methods.


git-svn-id: svn://localhost/gambas/trunk@5255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 22:05:49 +00:00
Benoît Minisini
8539a2a02d [DEVELOPMENT ENVIRONMENT]
* NEW: A new option that defines the default application font.
* NEW: The font options have been redesigned.
* BUG: Various fixes implied by the new TreeView control implementation.

[WIKI CGI SCRIPT]
* NEW: Page whose title begins with "~" are class page synonymous.

[INTERPRETER]
* BUG: Calling the _unknown method on an anonymous object reference won't
  crash anymore.
* NEW: Class.Exist() is a new method that returns if a class has a specific
  symbol.

[GB.GTK]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.
* BUG: Fix string to Font conversion for fonts whose name starts with 
  "nan" or other special numeric strings.

[GB.GUI.BASE]
* BUG: ScrollView.EnsureVisible() and GridView.EnsureVisible() methods when 
  there is a frame.
* NEW: MyListBox is the initial implementation of a ListBox control 
  entirely written in Gambas.
* BUG: Renaming a TreeView item now correctly selects it before.

[GB.OPENGL]
* BUG: Fix an error message in deprecated constants handler routine.

[GB.QT4]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.


git-svn-id: svn://localhost/gambas/trunk@5254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 18:59:14 +00:00
Benoît Minisini
fa0cbb8642 [GB.GUI.BASE]
* BUG: The component is correctly installed now.
* OPT: Store the order of each TreeView item, so that tree traversal is 
  faster.


git-svn-id: svn://localhost/gambas/trunk@5253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 10:12:47 +00:00
Benoît Minisini
b07b3e7eb9 [GB.GUI.BASE]
* BUG: Fix TreeView renaming box position.
* BUG: Fix removing of items having children.


git-svn-id: svn://localhost/gambas/trunk@5252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 01:27:18 +00:00
Benoît Minisini
d800d7e136 [INTERPRETER]
* BUG: Fix the order of component exported classes loading after the 
  project has been loaded.
* BUG: Fix GB.CanRaise() API.

[GB.DB.FORM]
* NEW: DataView.Sorted is a new property that tells if the data can be 
  sorted by clicking on the column headers.
* NEW: DataView columns now show sort indicators, and data can be sorted in
  descending order.
* NEW: DataSource.Ascending is a new property that defines the order of the
  sort defined by the DataSource.Sort property.

[GB.FORM]
* NEW: Remove all controls that were moved to gb.gui.base.
* NEW: FileView file size units are translatable now.

[GB.GTK]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.

[GB.GUI.BASE]
* NEW: gb.gui.base is a new hidden component that is automatically loaded 
  by gb.qt4 and gb.gtk. It implements the following controls and classes 
  entirely in Gambas: TreeView, ListView, ColumnView, IconView, Action,
  ScrollArea. These classes were located in gb.form and in the Gambas part
  of GUI components before.

[GB.QT4]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.

[GB.WEB]
* NEW: Request.Query and Request.Path can be modified now.
* BUG: Overriding a CGI variable with Null works now.


git-svn-id: svn://localhost/gambas/trunk@5251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 00:28:55 +00:00
Benoît Minisini
16679fdd5d [DEVELOPMENT ENVIRONMENT]
* BUG: Events of class written in Gambas are correctly detected now.
* BUG: Automatic local variable declaration now correctly analyze 
  expressions like "A.B" in all cases.
* NEW: Use a SidePanel to display the stack backtrace.

[GB.DB]
* BUG: DB.Quote(..., True) now does a table name quoting in all cases.

[GB.DB.FORM]
* BUG: The database controls now can handle table names that are reserved
  SQL keywords.

[GB.FORM]
* NEW: Start implementing TreeView entirely in Gambas.
* BUG: Removing GridView rows correctly resets the row heights.
* NEW: GridView now raises a Draw event that allows to paint a cell with 
  any drawing methods.


git-svn-id: svn://localhost/gambas/trunk@5250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-23 11:21:43 +00:00
Benoît Minisini
53c284099b [DEVELOPMENT ENVIRONMENT]
* BUG: The name of GridView controls is now always visible in the form
  editor.

[INTERPRETER]
* NEW: Support for new QUIT syntax.
* NEW: Do not display overriding prefix in class names.

[COMPILER]
* NEW: QUIT now can takes an optional argument which is the program return 
  value.

[GB.ARGS]
* BUG: The "--version" option is not "----version" anymore
* NEW: If an error occurs, returns 1 as exit value and not 0.

[GB.FORM]
* BUG: GridView is correctly updated now when the Border property is set.


git-svn-id: svn://localhost/gambas/trunk@5246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-19 21:00:35 +00:00
Sebastian Kulesz
0d6acf5787 [GB.NET.POP3]
* BUG: Fixed a bug that prevented reusing a Pop3Client instance after
  executing Close()


git-svn-id: svn://localhost/gambas/trunk@5244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-18 20:44:33 +00:00
Benoît Minisini
d8d03075e6 [GB.FORM]
* BUG: GridView does not crash anymore if all rows are hidden (i.e. if 
  their height is zero).


git-svn-id: svn://localhost/gambas/trunk@5242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-18 20:33:09 +00:00
Benoît Minisini
72ee74e8d4 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw the projet property dialog library list with a GridView.

[INTERPRETER]
* BUG: Fix class overriding routine.

[GB.ARGS]
* NEW: 'gb.args' is a new component that analyzes the command-line options,
  and automatically handles the "--help" option.

[GB.HTTPD]
* BUG: Hide the component.


git-svn-id: svn://localhost/gambas/trunk@5241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-15 10:06:37 +00:00
Benoît Minisini
17a0748815 [CONFIGURATION]
* NEW: Each component installation now generates all information files
  systematically, to fix possible dependencies between components written
  in Gambas.

[DEVELOPMENT ENVIRONMENT]
* NEW: Running a project using the 'gb.web' component now automatically
  starts the embedded HTTP server.

[INTERPRETER]
* NEW: Class overriding is retrospective now.
* NEw: System._Breakpoint() is a new hidden method that raises a 
  breakpoint. Very useful for debugging.

[GB.GTK]
* BUG: The Action.Register() method must not crash when called during class 
  clean-up.

[GB.HTTPD]
* NEW: Define a custom exported HTTP server name.

[GB.JIT]
* BEW: Support for new class overriding (the CLASS structure has lost one 
  field).

[GB.QT4]
* BUG: The Action.Register() method must not crash when called during class 
  clean-up.


git-svn-id: svn://localhost/gambas/trunk@5240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 22:42:53 +00:00
Benoît Minisini
c6b16d6ce2 [GB.FORM]
* BUG: MaskBox and ButtonBox controls with no mask now should act like a 
  normal TextBox for popup menu and focus events.


git-svn-id: svn://localhost/gambas/trunk@5239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 14:46:01 +00:00
Fabien Bodard
9918015264 [GB.REPORT]
* BUG: Reinit the Default Height and Width of the ReportControls to 0 cm. It correct the last seen default display.


git-svn-id: svn://localhost/gambas/trunk@5225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-06 15:32:51 +00:00
Benoît Minisini
a68336da9b [CONFIGURATION]
* NEW: Switch to 3.3.90 version.

[WEBSITE MAKER]
* NEW: Update for 3.3.2 version.

[INTERPRETER]
* NEW: New API for getting information about a file.

[GB.DESKTOP]
* NEW: _Desktop.Time is a new property that returns the last X11 timestamp.
* NEW: _Desktop.ActivateWindow() is a new method that will be removed in a 
  next commit.
* NEW: DesktopWindow.Activate() is a new method to activate a window.

[GB.GTK]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.HTTPD]
* NEW: Reindent source files.

[GB.QT4]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.QT4.WEBKIT]
* BUG: Fix WebHitTest.Editable property declaration.


git-svn-id: svn://localhost/gambas/trunk@5221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-02 08:01:25 +00:00
Radek Fryšták
8e64692047 [DEVELOPMENT ENVIRONMENT]
* NEW: Correct & new czech translate

[WIKI CGI SCRIPT]
* NEW: update czech translate

[WEB SITE MAKER]
* NEW: update czech translate

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

[GB.FORM]
* NEW: update czech translate

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

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

[GB.REPORT]
* NEW: update czech translate

[EXAMPLES]
* NEW: check czech translate for: GNUBoxWorld, 
       WebBrowser, MoviePlayer, Gravity, Painting


git-svn-id: svn://localhost/gambas/trunk@5211 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-28 11:59:25 +00:00
Fabien Bodard
04dca7c6b5 [GB.REPORT]
* BUG: Reactivate OnePiece... some report are lose there arrangement.


git-svn-id: svn://localhost/gambas/trunk@5210 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-28 07:41:51 +00:00
Benoît Minisini
41b6a93cef [EXAMPLES]
* BUG: Fix Embedded window layout.

[INTERPRETER]
* NEW: The '-H' option now runs the interpreted program as a CGI script
  through an embedded HTTP server.

[GB.HTTPD]
* NEW: New hidden component that embeds an HTTP server that runs the 
  project as a CGI script. It is activated by a new interpreter option.
  Warning! This is highly experimental. The HTTP server is based on the
  thttpd source code.

[GB.WEB]
* BUG: As the _init static class is always executed at startup for exported
  classes, delay the intialization of Session class the first time one of 
  its properties is used.
* BUG: If the SCRIPT_NAME CGI variable equals nothing or "/", set it to 
  "/." so that it can be concatenated to any path and still gives a valid
  url.
* BUG: Support for explicit URL ports.
* NEW: Application.Port is a new property that returns the port used by the 
  HTTP request.


git-svn-id: svn://localhost/gambas/trunk@5209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-27 20:52:08 +00:00
Sebastian Kulesz
dcc327e864 [GB.MEMCACHED]
* OPT: Refactored the code.
* NEW: Support other datatypes besides strings.
* NEW: Allow increment and decrement operations.
* BUG: Properly implement Compare-And-Set functions.


git-svn-id: svn://localhost/gambas/trunk@5208 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-26 20:57:56 +00:00
Sebastian Kulesz
7d65c8ff2c [GB.MEMCACHED]
* NEW: memcached client



git-svn-id: svn://localhost/gambas/trunk@5206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-26 04:36:57 +00:00
Benoît Minisini
2b45910f9a [GB.FORM]
* NEW: ScrollArea.Shadow is now a dynamic property. This will be backported 
  to 3.3 as soon as possible because this is a forbidden background 
  compatibility break!


git-svn-id: svn://localhost/gambas/trunk@5200 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 14:10:55 +00:00
Benoît Minisini
7e694b6fc7 [WEBSITE MAKER]
* NEW: Updates for 3.3.0 release.

[GB.WEB]
* NEW: Session.CookiePath is a new property that allows to define the URL 
  path of the session cookie.


git-svn-id: svn://localhost/gambas/trunk@5197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-24 23:37:55 +00:00
Benoît Minisini
0a1f329fdd [CONFIGURATION]
* BUG: Do not distribute '.action' directories in source packages (again).


git-svn-id: svn://localhost/gambas/trunk@5193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-23 15:03:53 +00:00
Benoît Minisini
fd7f08d6d7 [DEVELOPMENT ENVIRONMENT]
* NEW: In the database connection editor, make the table data browser read-
  only by default, and add a button to toggle the editable state.

[GB.DB.FORM]
* BUG: Setting DataView.Editable to FALSE correctly hides the record 
  creation extra line.

[GB.NET.POP3]
* BUG: Hide public constants that should have been private only.


git-svn-id: svn://localhost/gambas/trunk@5190 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-23 14:03:15 +00:00
Benoît Minisini
0d36fabf2a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix loading of component information when the current project is the
  Gambas part of a Gambas component.
* BUG: Opening a project in another window should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@5182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 09:11:06 +00:00
Benoît Minisini
3f8c71a8db [DEVELOPMENT ENVIRONMENT]
* BUG: Handle official components projects like 'gb.web' better.

[GB.WEB]
* BUG: Fix gb.web compilation.


git-svn-id: svn://localhost/gambas/trunk@5179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 14:33:38 +00:00
Benoît Minisini
54150a91e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little redesign of the welcome dialog.
* NEW: Remove the "Alternate" theme color.

[COMPILER]
* NEW: New WebPage syntaxes: <<Include>>, <</Include>>, <%/%>, <<--->>.

[GB.EVAL]
* NEW: Highlight.Alternate has been deprecated.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new WebPage syntaxes.

[GB.QT4.EXT]
* NEW: Editor: The alternate background is automatically computed.
* NEW: Editor: Brace highlighting now works on alternate background.
* NEW: Highlight.Alternate has been deprecated.


git-svn-id: svn://localhost/gambas/trunk@5177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 02:29:37 +00:00
Benoît Minisini
0f985417cf [DEVELOPMENT ENVIRONMENT]
* NEW: Use Terminus as default fixed font if it is installed on the system.
* BUG: Don't load a component description if that component has the same 
  name as the current project. This is a temporary incorrect fix!

[INTERPRETER]
* BUG: Fix Classes enumeration.

[GB.DESKTOP]
* BUG: Fix X11 client message sending routine on 64 bits OS.
* BUG: Fix all DesktopWindow properties that read or change the state of 
  the window.

[GB.GTK]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.

[GB.QT4]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.


git-svn-id: svn://localhost/gambas/trunk@5171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 11:13:32 +00:00
Benoît Minisini
b174b79ada [DEVELOPMENT ENVIRONMENT]
* NEW: Display a PDF icon for PDF files.

[GB.FORM]
* NEW: Add a PDF icon to the stock.

[GB.FORM.STOCK]
* NEW: Add a PDF icon.

[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must 
  be printed.

[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly 
  returns the Printer object to an inactive state.


git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-16 14:54:10 +00:00
Benoît Minisini
7cba8c08e0 [INTERPRETER]
* OPT: Conversion between byte index and UTF-8 character index of the last 
  string has been optimized when that last string is big.

[GB.EVAL.HIGHLIGHT]
* OPT: Optimization of HTML syntax highlighting for big lines. That 
  optimization should be handled by the interpreter automatically.


git-svn-id: svn://localhost/gambas/trunk@5167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-15 02:17:12 +00:00
Benoît Minisini
167a8fa4a6 [GB.GTK]
* OPT: Don't arrange the parent if a move & resize operation actually 
  changes nothing.
* OPT: When showing or hiding a control, check that we actually change the
  visibility of the widget and do nothing if we don't.


git-svn-id: svn://localhost/gambas/trunk@5164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-13 00:45:52 +00:00
Benoît Minisini
56a835a162 [DEVELOPMENT ENVIRONMENT]
* NEW: Small changes in the welcome dialog design.

[GB.FORM]
* NEW: In FileChooser and DirChooser, replace the little arrow that goes 
  up to the parent directory by a normal button.

[GB.GTK]
* BUG: Fix Mouse.ScreenX and Mouse.ScreenY.


git-svn-id: svn://localhost/gambas/trunk@5161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 15:32:26 +00:00
Benoît Minisini
4771826650 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix binary file detection that made file browsing sometimes ignore 
  some text files.
* BUG: When opening a project in another window, try to find the IDE 
  executable with and wuthout the ".gambas" extension.

[GB.GTK]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-11 15:05:08 +00:00
Fabien Bodard
a2bbad79c3 [GBORT]
* BUG: The default Width/Height are now setting in the right way



git-svn-id: svn://localhost/gambas/trunk@5153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-10 20:17:38 +00:00
Benoît Minisini
006eb4dfd1 [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in automatic variable declaration.

[GB.DESKTOP]
* BUG: $XDG_DATA_DIRS is now taken into account when browsing mime cache 
  files.

[GB.FORM]
* BUG: Clicking on a TabPanel tab raises the Click event after taking the 
  focus now.


git-svn-id: svn://localhost/gambas/trunk@5152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-10 13:05:34 +00:00
Benoît Minisini
e3cc0a986d [GB.DESKTOP]
* BUG: Support for LXDE mime application cache.

[GB.WEB]
* NEW: Flush the output before calling Response.End if the response is not 
  buffered.


git-svn-id: svn://localhost/gambas/trunk@5137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-07 01:15:18 +00:00
Benoît Minisini
60a4cee44d [GB.FORM]
* BUG: Fix TabPanel tab closing.


git-svn-id: svn://localhost/gambas/trunk@5136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 17:18:00 +00:00
Benoît Minisini
2d5b69b334 [GB.NET.POP3]
* NEW: Let's be mad and mark the component as "stable".


git-svn-id: svn://localhost/gambas/trunk@5135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 16:21:20 +00:00
Benoît Minisini
3ba6513b6d [INTERPRETER]
* BUG: Fix the enumeration API. GB.ListEnum() has been replaced by 
  GB.BeginEnum() and GB.EndEnum(), that save the state of the internal
  current enumeration.

[GB.MIME]
* BUG: Raise an error when the MimeMessage constructor fails while parsing
  a message.

[GB.NET.POP3]
* BUG: _Pop3Client_Message must not inherit MimeMessage.
* NEW: _Pop3Client_Message has a new Message property that returns the 
  decoded MimeMessage.
* NEW: _Pop3Client_Message has a new Deleted property that returns if the
  message has been deleted.
* NEW: _Pop3Client_Message has a new Id property that returns the 
  message id, which is its index plus one.
* NEW: _Pop3Client_Message has a new Index property that returns the 
  message index, which is its id minus one.
* BUG: Hides protocol dependent routines.
* NEW: The error returned by the Pop3 client is directly used for the error 
  message.
* OPT: Remove duplicated code in TCPClient and SSLCLient. Centralize it in 
  the PopClient parent class.
* BUG: Fix the single line response reading of SSLClient.
* BUG: Fix the multiple line response reading of SSLClient and TCPClient.
* BUG: Do not display password on the standard error in debugging mode, but 
  eight "*" characters instead.
* NEW: Many methods do not return a boolean status, but raise an error 
  instead.
* BUG: Methods that return their result as a boolean status now return TRUE
  if they fail, not if they succeed (this is the Gambas convention).
* BUG: Fix the Pop3CLient.List() method.
* NEW: Rename the Pop3Client UniqueId() method as ListUniqueId().
* BUG: Fix the Pop3Client.ListUniqueId() method.


git-svn-id: svn://localhost/gambas/trunk@5134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 16:20:54 +00:00
Benoît Minisini
5d6a1d14ee [DEVELOPMENT ENVIRONMENT]
* NEW: Display the project description in project items now.

[GB.FORM]
* NEW: Draw the TabPanel focus differently again.


git-svn-id: svn://localhost/gambas/trunk@5133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 13:42:06 +00:00
Sebastian Kulesz
7ce8dcacc7 [GB.NET.POP3]
* BUG: Add gb.mime as dependency
* OPT: Messages now inherit MIMEMessage
* BUG: Comment out debug messages



git-svn-id: svn://localhost/gambas/trunk@5132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 04:46:23 +00:00
Benoît Minisini
cc1c99990b [GB.FORM]
* NEW: Draw the TabPanel focus differently again.
* BUG: For some reason, clicking on a tab didn't give the focus to the tab 
  button on gb.gtk.

[GB.GTK]
* BUG: Fix the Stock class.


git-svn-id: svn://localhost/gambas/trunk@5131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 02:02:01 +00:00
Benoît Minisini
3a0a6f4913 [DEVELOPMENT ENVIRONMENT]
* NEW: "Open with" menu now is based on the *.desktop files of applications
  that are installed on the system.

[GB.DESKTOP]
* NEW: DesktopFile is a new class that load *.desktop application files.
* NEW: DesktopFile.FindMime() is a static method that returns a list of
  DesktopFile that can handle a specific mime type.

[GB.FORM]
* BUG: Some fixes in the stock icon map file.
* NEW: Add a new "program" stock icon.

[GB.FORM.STOCK]
* NEW: Add a "program" stock icon.


git-svn-id: svn://localhost/gambas/trunk@5129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 00:38:04 +00:00
Benoît Minisini
1937a67353 [DEVELOPMENT ENVIRONMENT]
* NEW: Pressing SHIFT with the RETURN key prevents automatic variable 
  declaration.
* BUG: Automatic variable declaration takes TRY into account.
* BUG: Automatic variable declaration now understands more expressions.
* NEW: Add a filter to the example tab of the open project dialog.

[INTERPRETER]
* NEW: String.UCaseFirst() is a new method that capitalize the first letter
  of an UTF-8 string.

[COMPILER]
* NEW: If a function argument is enclosed with braces, then no warning is
  emitted if it overrides a global symbol.

[GB.FORM]
* BUG: Transparent SidePanel controls do not eat one pixel of their 
  contents anymore.
* NEW: TabPanel draws its focus highlight differently.
* NEW: ScrollArea now draws a shadow only if the corresponding scrollbar is
  visible.


git-svn-id: svn://localhost/gambas/trunk@5128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-05 18:36:59 +00:00
Benoît Minisini
28c9d6d59b [COMPILER]
* NEW: Make one warning for each symbol kind that is overridden.

[GB.DB.FORM]
* BUG: Fix warnings.

[GB.DESKTOP]
* BUG: Fix some warnings.

[GB.EVAL.HIGHLIGHT]
* BUG: Correctly rewrite the following keywords with no spurious space 
  after: TRUE, FALSE, NULL, +INF, -INF.

[GB.FORM]
* BUG: Fix warnings.

[GB.FORM.MDI]
* BUG: Fix warnings.

[GB.WEB]
* BUG: Fix warnings.


git-svn-id: svn://localhost/gambas/trunk@5125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 23:11:11 +00:00
Fabien Bodard
ce0339b02a [GB.REPORT]
OPT: Cleanup, remove all the unused variables.


git-svn-id: svn://localhost/gambas/trunk@5123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 15:29:16 +00:00
Benoît Minisini
dde26cb313 [DEVELOPMENT ENVIRONMENT]
* BUG: Moving, renaming or deleting a source file now should correctly
  refresh the search list, the breakpoint list and the task list.

[GB.FORM]
* NEW: ScrollArea draws a focus border when it has focus.

[GB.NET.POP3]
* NEW: Make Pop3Client a virtual control like SmtpClient.


git-svn-id: svn://localhost/gambas/trunk@5121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-03 23:40:59 +00:00
Fabien Bodard
91b5cc2270 [GB.REPORT]
* OPT: Set default value on control Width and Height (10 mm)


git-svn-id: svn://localhost/gambas/trunk@5116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-02 09:30:44 +00:00
Benoît Minisini
3dc4fd909d [DEVELOPMENT ENVIRONMENT]
* BUG: Take the Translatable virtual property into account when saving a
  MultiContainer control.
* NEW: Use a GridView instead of a ListContainer to display components in
  the project property dialog.

[GB.FORM]
* BUG: ScrollArea computes the limits of its scrollbars correctly in all 
  cases now.
* NEW: Mark all controls in test forms untranslatable.


git-svn-id: svn://localhost/gambas/trunk@5111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-01 14:28:48 +00:00
Fabien Bodard
9273b6c800 [GB.REPORT]
* BUG: Now VPanel work well but Experimental OnePiece is desactivated


git-svn-id: svn://localhost/gambas/trunk@5110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-01 13:18:30 +00:00
Sebastian Kulesz
67cafff00c [GB.NET.POP3]
* OPT: Restructured the component into folders.
* NEW: Multipart messages are now parsed into MIMEPart_Message structures.
* BUG: Quote-Encoded strings are handled correctly



git-svn-id: svn://localhost/gambas/trunk@5108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-31 23:41:54 +00:00
Benoît Minisini
1a059ea685 [GB.GTK]
* BUG: FullScreen windows correctly raise the Open event now.

[GB.QT4]
* BUG: Windows do not raise their Resize event if the size didn't actually 
  change.


git-svn-id: svn://localhost/gambas/trunk@5106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-31 19:41:56 +00:00
Benoît Minisini
62c4c78e22 [GB.DB.FORM]
* BUG: DataView and DataBrowser in creation mode now do not display any
  selected row, unless in editing mode. In that case the "new record" last
  row is highlighted.
* NEW: DataBrowser.CanCreate is a new property that hides or shows the 
  create button.
* NEW: DataBrowser.CanDelete is a new property that hides or shows the 
  delete button.


git-svn-id: svn://localhost/gambas/trunk@5104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-31 16:09:52 +00:00
Sebastian Kulesz
dca8739afc [GB.NET.POP3]
* NEW: Add initial MIME (IMF) parsing support. Not yet implemented.



git-svn-id: svn://localhost/gambas/trunk@5103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-31 01:29:14 +00:00
Benoît Minisini
f3f10a4167 [DEVELOPMENT ENVIRONMENT]
* BUG: Notes (TODO:, FIXME:, NOTE:) can be used in comments beginning with
  two quotes.

[INTERPRETER]
* BUG: Fix possible recursion problems while freeing signal handlers.
* BUG: The output of a process is sometimes woke up ready to read whereas 
  there is nothing to read on it. Close the output immediately instead of 
  calling the callback again and again.
* BUG: Try to handle correctly errors raised during the Kill event of a
  background task. It does not work yet. :-(
* NEW: Task.Running is a new property that returns if a background task is
  running.

[GB.NET]
* NEW: Add Net.CannotAuthenticate error constant for gb.net.pop3.

[GB.NET.POP3]
* BUG: Big interface clean-up so that it matches other networking classes.
* NEW: Add a Pop3Client.Debug property. Not all "Debug" instructions have 
  been replaced yet.
* NEW: The default value of the Port property is zero now. It is 
  automatically converted to 110 or 995 according to the encryption method.
* NEW: Use the Net class for Pop3Client.Status instead of specific 
  constants.
* NEW: Rename the _PopMessage virtual class in _Pop3Client_Message to 
  follow the standard naming scheme that the wiki loves.


git-svn-id: svn://localhost/gambas/trunk@5101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-30 22:13:25 +00:00
Benoît Minisini
c2764bc3f8 [COMPILER]
* BUG: Fix compilation of WebPage having UTF-8 characters inside.

[INTERPRETER]
* BUG: A background task automatically closes the file descriptor of every 
  other tasks.
* BUG: A task cannot create sub-tasks.
* NEW: There is an hard limit of simultaneous 256 background tasks now. 
  That should prevent fork bombing.
* BUG: Process.Kill does not try to wait for the task completion, and 
  return immediately.
* BUG: Fix events flushing at task termination.

[GB.EVAL.HIGHLIGHT]
* BUG: Fix WebPage highlighting.

[GB.WEB]
* BUG: The session cookie is now only accessible to the current CGI script.
* NEW: Response.SendFile() can set the content-type according to the file
  extension, if no content-type has been specified.


git-svn-id: svn://localhost/gambas/trunk@5096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-29 00:43:48 +00:00
Sebastian Kulesz
b3c5b7a761 [GB.NET.POP3]
* NEW: Allow enumeration of messages using FOR EACH
* BUG: Free POPClient instances created when using _get
* OPT: Add status codes to report wrong username or password when logging in
* OPT: When reading single lines use Line Input


git-svn-id: svn://localhost/gambas/trunk@5095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-28 22:59:38 +00:00
Sebastian Kulesz
d756207e91 [GB.NET.POP3]
* BUG: Remove obsolete code which was preventing successful compilation



git-svn-id: svn://localhost/gambas/trunk@5092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-28 04:22:04 +00:00
Sebastian Kulesz
d0096ec9b9 [GB.NET.POP3]
* OPT: Document new parts of the component
* BUG: Fix the project name and version


git-svn-id: svn://localhost/gambas/trunk@5091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 23:51:48 +00:00
Benoît Minisini
a55dc434de [GB.NET.POP3]
* BUG: Remove the .settings file, it must not go the the subversion 
  repository.


git-svn-id: svn://localhost/gambas/trunk@5090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 23:32:29 +00:00
Sebastian Kulesz
f9bef18362 [GB.NET.POP3]
* NEW: Update the component to the latest revision. An old one was 
imported instead.


git-svn-id: svn://localhost/gambas/trunk@5089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 23:27:29 +00:00