Commit graph

1558 commits

Author SHA1 Message Date
Benoît Minisini
1bb638c575 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a new background image.
* BUG: Use the "title font" for form editor and image editor toolbars.
* BUG: Fix a typo in tips french translation.


git-svn-id: svn://localhost/gambas/trunk@5913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-21 22:00:12 +00:00
Benoît Minisini
2261e6ef6d [DEVELOPMENT ENVIRONMENT]
* BUG: Add the description of 'gb.memcached' and 'gb.logging' components.
* NEW: Update error messages translation.

[INTERPRETER]
* NEW: Allow some error messages to be untranslatable by using a void macro
  named '$(...)' around the string.

[GB.FORM]
* BUG: The status of FileChooser and DirChooser toolbar icons is correctly
  initialized now.
* BUG: Reading the FileChooser.ShowPreview property does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 21:43:14 +00:00
Benoît Minisini
4f74621ed8 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix language environment when running subversion.


git-svn-id: svn://localhost/gambas/trunk@5910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 13:59:05 +00:00
Benoît Minisini
378cbc3534 [DEVELOPMENT ENVIRONMENT]
* NEW: Locking a form does not hide the "event" menu anymore. But it shows
  the existing event handlers only.


git-svn-id: svn://localhost/gambas/trunk@5909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 13:50:39 +00:00
Radek Fryšták
5c0a93f8a3 [DEVELOPMENT ENVIRONMENT]
* NEW: update czech translation.


git-svn-id: svn://localhost/gambas/trunk@5905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 13:20:56 +00:00
Radek Fryšták
135e11ecfb [DEVELOPMENT ENVIRONMENT]
* NEW: update czech translation.


git-svn-id: svn://localhost/gambas/trunk@5904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 13:15:02 +00:00
Benoît Minisini
9e99bcb4f5 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash if examples are not installed.


git-svn-id: svn://localhost/gambas/trunk@5903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 12:21:41 +00:00
Benoît Minisini
690b7f56ba [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Process.Ignore syntax.


git-svn-id: svn://localhost/gambas/trunk@5892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 18:32:55 +00:00
Benoît Minisini
4f566fa199 [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot the description of gb.opengl.sge.

[INTERPRETER]
* BUG: Propagate the GB_DATE_SERIAL structure changes to all components.


git-svn-id: svn://localhost/gambas/trunk@5879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 12:39:56 +00:00
Benoît Minisini
678921ef40 [WIKI CGI SCRIPT]
* BUG: Fix the "search" link.

[INTERPRETER]
* NEW: Date() and Time() now takes the milliseconds as an extra optional 
  argument.
* BUG: Time() with one argument correctly converts it to a date.
* NEW: Date() and Time() now always check the range validity of their 
  arguments.

[GB.DB.FORM]
* NEW: DataControl does not change the background of mandatory field and 
  the font of primary key fields anymore.
* NEW: DateControl.Control is a new property that returns the underlying
  control used for editing the field data.

[GB.GUI.BASE]
* NEW: HSplit and VSplit have a new Border property that define if the 
  splitter separator is visible or not.
* NEW: HSplit and VSplit now take the Spacing property into account.


git-svn-id: svn://localhost/gambas/trunk@5871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-11 21:06:38 +00:00
Benoît Minisini
96c4303a31 [DEVELOPMENT ENVIRONMENT]
* BUG: Automatically unfold procedures while doing a text search. 
  Consequently, search & replace now works correctly when procedures are
  folded.


git-svn-id: svn://localhost/gambas/trunk@5869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 23:21:31 +00:00
Benoît Minisini
1de5f7f803 [DEVELOPMENT ENVIRONMENT]
* BUG: Always use "svn --force" when deleting a file in a project under
  version control.

[INTERPRETER]
* BUG: Fix a structure alignment for ARM architecture.

[GB.FORM]
* NEW: The image preview background task is now run with a lower priority.


git-svn-id: svn://localhost/gambas/trunk@5868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 21:58:37 +00:00
Benoît Minisini
4416b3b793 [DEVELOPMENT ENVIRONMENT]
* NEW: Use 'script' icon for javascript files.
* NEW: Autocomplete INHERITS keyword with classes.

[EXAMPLES]
* BUG: Fix Wizard example.

[GB.EVAL.HIGHLIGHT]
* BUG: JavaScript: Fix regular expression highlighting.


git-svn-id: svn://localhost/gambas/trunk@5864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 22:06:03 +00:00
Benoît Minisini
28cd200d7b [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: Support for metadata in field and index 
  definitions. Metadata are enabled if the corresponding check-box is 
  checked in the connection properties dialog.
* NEW: Database editor: Some redesign of the sql queries editor.


git-svn-id: svn://localhost/gambas/trunk@5851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-23 00:57:40 +00:00
Benoît Minisini
00ce7c81ad [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash in the project version control dialog if storing 
  passwords is not possible on the current desktop.
* NEW: Database connection editor: SQL request now can be stored with the 
  connection.
* BUG: Fix 'move up', 'move down', 'move left' and 'move right' commands in 
  the menu editor.



git-svn-id: svn://localhost/gambas/trunk@5845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-17 08:53:35 +00:00
Benoît Minisini
8106069ddb [DEVELOPMENT ENVIRONMENT]
* NEW: The name of the database metadata table is "__gb_metadata" now.
* NEW: Add a "display metadata" option in the connection properties.
* NEW: The file creation dialog now can create javascript files.


git-svn-id: svn://localhost/gambas/trunk@5843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-16 22:42:09 +00:00
Fabien Bodard
f1ae3e8d36 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a new description column to the field editor of Database editor.
  This function is not enabled by default. And the option page is not ready.



git-svn-id: svn://localhost/gambas/trunk@5842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-16 20:02:41 +00:00
Benoît Minisini
d305d289ce [DEVELOPMENT ENVIRONMENT]
* NEW: Javascript compressor: between "// <verbatim>" and "// </verbatim>" 
  comments, no symbol is compressed.
* NEW: If a variable beginning with "$" is unknown, it is now declared as a
  private global variable, not a local variable.


git-svn-id: svn://localhost/gambas/trunk@5839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-11 22:30:59 +00:00
Benoît Minisini
0d2256a19d [DEVELOPMENT ENVIRONMEMNT]
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.

[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of 
  models between six different ones.

[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not 
  ready.

[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
  the Abs() function.

[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl 
  directory.
* NEW: The component interface has been redesigned.

[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the 
  area before calling the Draw event handler.


git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 17:15:55 +00:00
Benoît Minisini
812bec445b [DEVELOPMENT ENVIRONMENT]
* NEW: Complete the french translation.

[INTERPRETER]
* BUG: Class reimplementation of Abs() now can return an object or a 
  floating-point number.

[GB.COMPLEX]
* BUG: Abs() on a Complex returns a Float.

[GB.GEOM]
* BUG: Abs() on a Point or a PointF returns a Float.

[GB.GSL]
* BUG: Abs() on a Complex returns a Float.


git-svn-id: svn://localhost/gambas/trunk@5835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 23:09:01 +00:00
Benoît Minisini
fd639b312b [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of icon paths (i.e. strings beginning with 
  "icon:/").
* BUG: The Backspace key now works correctly with autocompletion of project 
  paths (i.e. strings beginning with "./").


git-svn-id: svn://localhost/gambas/trunk@5834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 13:45:16 +00:00
Benoît Minisini
5752d9b20c [DEVELOPMENT ENVIRONMENT]
* BUG: Some file path automatic completion fixes.


git-svn-id: svn://localhost/gambas/trunk@5833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 13:26:31 +00:00
Benoît Minisini
8630ac56d1 [DEVELOPMENT ENVIRONMENT]
* BUG: Use "dpkg-buildpackage -d -rfakeroot" instead of 
  "fakeroot dpkg-buildpackage -d". It seems that the first one sometimes
  does not work for unknown reasons.


git-svn-id: svn://localhost/gambas/trunk@5830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-05 11:34:51 +00:00
Benoît Minisini
787df028a1 [DEVELOPMENT ENVIRONMENT]
* NEW: Name some unnamed components.

[GB.GMP]
* BUG: Forgot to commit some files.
* NEW: Add many methods to the BigInt class.


git-svn-id: svn://localhost/gambas/trunk@5827 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-01 21:50:14 +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
Benoît Minisini
eb63ee1b7a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix menu editor.


git-svn-id: svn://localhost/gambas/trunk@5822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-31 09:19:23 +00:00
Benoît Minisini
cfcb766e93 [DEVELOPMENT ENVIRONMENT]
* BUG: New menu are translatable by default.
* BUG: Image editor: Pasting does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-30 14:23:33 +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
95cc0108e2 [DEVELOPMENT ENVIRONMENT]
* NEW: Add Islandic language.


git-svn-id: svn://localhost/gambas/trunk@5815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-29 19:02:04 +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
6f62f9ae65 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Bug fixes. Clicking on the center button of a selected
  shape now selects the next one whose center is about at the same place.

[GB.CLIPPER]
* BUG: Clipper Offset, Union, Intersection... methods now ensure that they
  return closed polygons.
* NEW: Polygon.Orientation is a new property that returns the polygon 
  orientation.


git-svn-id: svn://localhost/gambas/trunk@5806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 16:17:30 +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
18a3af5ac9 [DEVELOPMENT ENVIRONMENT]
* BUG: CSV Import: Take the charset into account when displaying the file 
  preview.
* BUG: Don't automatically hide the console tab when displaying the 
  database editor.
* BUG: ImageEditor: many fixes everywhere.


git-svn-id: svn://localhost/gambas/trunk@5803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-16 22:33:39 +00:00
Benoît Minisini
ee9b817c6c [DEVELOPMENT ENVIRONMENT]
* NEW: Hitting "[" just after a "." now hides the automatic completion. 
  This is for the new ".[xxx]" syntax.


git-svn-id: svn://localhost/gambas/trunk@5799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-15 14:46:54 +00:00
Benoît Minisini
e05d425979 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Pressing SHIFT with the magic wand substracts to the
  current selection.
* BUG: ImageEditor: Selection handles are correctly updated in all cases.

[GB.CLIPPER]
* NEW: Implementation of the three other boolean operations through the 
  Clipper.Intersection(), Clipper.Difference() and Clipper.ExclusiveOr() 
  methods.


git-svn-id: svn://localhost/gambas/trunk@5795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-13 23:41:50 +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
5203d61969 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: The image size is displayed wen the mouse cursor is 
  outside of the view. Many bug fixes. The magic wand has been implemented.
  JIT compiler is used to speed-up the routine.

[GB.CLIPPER]
* NEW: Clipper.OffsetPolygons has been renamed as Clipper.Offset.
* NEW: Clipper.Simplify and Clipper.Clean methods have been implemented.

[GB.DESKTOP]
* NEW: DesktopFile.Run() method now returns the created process object.

[GB.IMAGE]
* NEW: Color.Distance() is a new method that returns the RGBA distance 
  between two colours as a floating point value between 0.0 and 1.0.


git-svn-id: svn://localhost/gambas/trunk@5792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-13 12:18:32 +00:00
Benoît Minisini
4f48f05047 [GB.CLIPPER]
* BUG: Fix component information file.


git-svn-id: svn://localhost/gambas/trunk@5789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-12 01:53:19 +00:00
Benoît Minisini
c0d038b9f2 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Invert the current selected shape reverses its points 
  order. Selection offset has been implemented on top of the new 
  gb.clipper component. Many bug fixes.

[GB.CLIPPER]
* NEW: This a new component based on the "Clipper" library. At the moment,
  it only allows to offset a group of polygons from a specified pixel 
  delta.


git-svn-id: svn://localhost/gambas/trunk@5788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-12 01:50:46 +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
cafa282104 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Other bug fixes. A new button to duplicate the current 
  selection.


git-svn-id: svn://localhost/gambas/trunk@5785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-11 07:32:03 +00:00
Benoît Minisini
3fe9263a0a [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Fix and enhance magnets management. Add grid. Other bug
  fixes.

[GB.GEOM]
* BUG: Fix signature of RectF.Union and Rect.Intersection methods.


git-svn-id: svn://localhost/gambas/trunk@5784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-11 07:10:41 +00:00
Benoît Minisini
668d920ef3 [DEVELOPMENT ENVIRONMENT]
* BUG: ImageEditor: Use a plain color if the Shape tab is selected.


git-svn-id: svn://localhost/gambas/trunk@5781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-09 22:20:10 +00:00
Benoît Minisini
02bc9ddd03 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Add support for predefined shapes. Not very useful 
  actually, as you cannot resize them indepently of the current selection.


git-svn-id: svn://localhost/gambas/trunk@5780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-09 22:19:06 +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