Commit graph

1356 commits

Author SHA1 Message Date
Fabien Bodard
0d97cd6716 [GB.REPORT]
* NEW: A new widget ReportDrawingArea allow to draw freely on
  the report page. It have an event draw that provide the size of 
  the drawing (depending on the paint device resolution too.
  Sometime you  can use ReportUnits.DesktopScale ratio to fix 
  the size). 
  A cached property, allow to call the event only when the device
  resolution change, it is usefull when a draw need a lot of
  computing.
* NEW: MTool and Units have been merged to create a new shared 
  module: ReportUnits. It provide functions for unit convertions
 depended on paint resolution (for pixel convertion use it in a
 paint session)
 A property DesktopScale provide a ratio between Desktop pixel
 size and printer size.
* BUG: Add again forgotten files.



git-svn-id: svn://localhost/gambas/trunk@6142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 07:21:49 +00:00
Fabien Bodard
db51ba6c2d [GB.REPORT]
BUG: Remove an accidentaly forgotten debug line.


git-svn-id: svn://localhost/gambas/trunk@6141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-08 06:20:06 +00:00
Fabien Bodard
67f41e9b3c [GB.REPORT]
BUG: Add missing files


git-svn-id: svn://localhost/gambas/trunk@6137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 20:35:45 +00:00
Fabien Bodard
d7ae458ba6 [GB.REPORT]
* NEW: A new widget ReportView (Need polish for external use)
* NEW: A new report preview windows. It embedd all the printing tools
  and can reflect all the printing options in real time 
  Page size, Gray scale and a range property like in the known text 
  editors (1;3;8-9)
* OPT: many other improvement like the possibility now to a 
  report to be initialised with an or more arguments.
* BUG: the report custom size bug is solved.
* OPT: I need more and more user to debug and share ideas on this component.



git-svn-id: svn://localhost/gambas/trunk@6136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 14:21:05 +00:00
Benoît Minisini
ba56007672 [CONFIGURATION]
* BUG: Add gb.markdown to the 'order' file that lists all components 
  written in Gambas.


git-svn-id: svn://localhost/gambas/trunk@6125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-02 14:14:02 +00:00
Benoît Minisini
193cbdca1d [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.markdown component.

[EXAMPLES]
* NEW: SmallWiki: Add support for images.
* BUG: SmallWiki: Many bug fixes and better style sheet.
* NEW: SmallWiki: Use the new gb.markdown component.

[GB.MARKDOWN]
* NEW: This is a new component that implements the Gambas Markdown markup 
  syntax.

[GB.WEB]
* NEW: Response.GetContentTypeFrom() is a new method that returns a MIME 
  type from a path.


git-svn-id: svn://localhost/gambas/trunk@6122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-02 03:43:57 +00:00
Benoît Minisini
2d11aab2db [DEVELOPMENT ENVIRONMENT]
* BUG: Fix word separators in text editor automatic completion.

[EXAMPLES]
* NEW: Start a new Web application example.

[GB.FORM]
* NEW: DateChooser.MinValue is a new property that allows to define the 
  minimum date that can be selected.
* NEW: DateChooser.MaxValue is a new property that allows to define the 
  maximum date that can be selected.
* NEW: DateChooser: The mouse wheel allows to scroll months and days now.
* NEW: LCDLabel: Add support for some new characters.

[GB.GUI.BASE]
* BUG: Draw.End() now resets antialiasing to TRUE.


git-svn-id: svn://localhost/gambas/trunk@6118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-01 14:25:26 +00:00
Benoît Minisini
b596527086 [GB.GUI.BASE]
* BUG: GridView: Dnd now works as expected even in multiple selection mode.


git-svn-id: svn://localhost/gambas/trunk@6106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-26 23:24:21 +00:00
Benoît Minisini
e4dc284c55 [GB.GUI.BASE]
* NEW: ProgressBar: Add a Pulse property, that makes the control display a 
  pulsing frame instead of the normal progress bar.


git-svn-id: svn://localhost/gambas/trunk@6102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-25 02:58:12 +00:00
Fabien Bodard
8bfa98f865 [GB.REPORT]
* BUG: The ReportBrush.Color function really return a ReportBrush class.


git-svn-id: svn://localhost/gambas/trunk@6099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-23 10:32:48 +00:00
Benoît Minisini
1a8485e3a6 [GB.GTK]
* NEW: TextArea: Remove extra margin around text.
* BUG: TextArea: Border is drawn as expected now.

[GB.GTK3]
* BUG: Style.FrameWidth is correctly computed now.
* BUG: Borderless TextBox are drawn as expected now.
* BUG: TextArea: Border is drawn as expected now.


git-svn-id: svn://localhost/gambas/trunk@6093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-21 01:58:49 +00:00
Sebastian Kulesz
a760506fa0 [GB.LOGGING]
* BUG: Fix out-of-bounds error when using the formatter.


git-svn-id: svn://localhost/gambas/trunk@6092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-20 19:55:06 +00:00
Benoît Minisini
1b018f7bf1 [GB.FORM]
* NEW: TabPanel: Using the mouse wheel on the tab buttons does not steal 
  the focus anymore.

[GB.GTK]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.

[GB.GTK3]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.

[GB.QT4]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.


git-svn-id: svn://localhost/gambas/trunk@6091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-20 19:32:24 +00:00
Fabien Bodard
5dfef252d5 [GB.REPORT]
* NEW: A New widget ReportPageBreak allow to break a page when you need
* NEW: Report.Print take now an optional argument Printer that allow
  to give an externally initialised printer. In tis case the dialog is not
  shown.
* BUG: Now ReportLabel rotation work fine and the angle is given in Rad
* BUG: You can now add an argument to the _New sub. Be carrefull the _New 
  event is called one time only at the report loading.
* BUG: The custom size work but there is some bugs with the printer.configure
  that setup the page size to A4 :-/



git-svn-id: svn://localhost/gambas/trunk@6089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-19 21:44:48 +00:00
Benoît Minisini
35062bb200 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix background of CoordBox controls.
* BUG: Image editor: Fix text tool.
* NEW: Image editor: Text alignment.
* BUG: Image editor: Scaling selection is done from the top left corner by 
  default, and from the selection center only if you press the SHIFT key.
* NEW: Image editor: The mouse wheel now zooms the image.
* BUG: Project property dialog: Fix component list layout.
* NEW: Some new backgrounds.

[GB.FORM]
* NEW: TabPanel: Now there are a left and a right arrow to navigate through 
  the tabs.


git-svn-id: svn://localhost/gambas/trunk@6088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-19 20:25:16 +00:00
Benoît Minisini
27694b5925 [GB.FORM]
* BUG: gb.form should compile correctly again

[GB.FORM.MDI]
* OPT: Workspace: Make the background flickering less.


git-svn-id: svn://localhost/gambas/trunk@6082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-14 19:54:49 +00:00
Benoît Minisini
8c6cf71838 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: A text tool has been added.
* BUG: The "open terminal" and "open file browser" toolbar icons now work 
  as expected.

[WEBSITE MAKER]
* NEW: Update for 3.5.2 release.

[INTERPRETER]
* NEW: Successives spaces in a regular expression pattern now acts like a 
  single space.

[GB.DRAW]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.

[GB.FORM]
* NEW: FontBox is a new control that allows to select a font from a text 
  field.
* NEW: The FontChooser control now adapts its interface if its height is 
  too small.

[GB.GTK]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.

[GB.GUI.BASE]
* NEW: Add a little left and right padding to GridView cells.
* NEW: ListBox now uses the default selected background color.

[GB.QT4]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.


git-svn-id: svn://localhost/gambas/trunk@6080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-12 01:59:49 +00:00
Fabien Bodard
cf7da09a46 [GB.REPORT]
* BUG: The fixed elements at the end of the page are now computing correctly
  theire size.
* BUG: ReportLabel now use Paint.TextSize instead of Paint.TextExtend to get
  the text size.


git-svn-id: svn://localhost/gambas/trunk@6076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-08 21:17:44 +00:00
Fabien Bodard
7c5aecff77 [GB.REPORT]
* BUG: Now ReportLabel take multiline text into account
  for it height computing.


git-svn-id: svn://localhost/gambas/trunk@6075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-08 20:52:23 +00:00
Benoît Minisini
a7afee1bb8 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: When double-clicking on a control, don't crash if a 
  there is a mistake in its default event declaration. Just display a 
  warning message on the standard error output.
* NEW: Option dialog: Use SwitchButton instead of ComboBox.
* NEW: Some new backgrounds.

[GB.FORM]
* BUG: SwitchButton now raises its Click event.


git-svn-id: svn://localhost/gambas/trunk@6060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 09:22:11 +00:00
Benoît Minisini
9da017f719 [GB.FORM]
* NEW: SwitchButton is a new control that displays an ON/OFF button.

[GB.GTK]
* NEW: Rework Style.PaintBox() method.
* NEW: Style.StateOf() is a new method that returns the state flags of a 
  specific control.
* NEW: Style.BackgroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: Style.ForegroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: All state flag constants of the Draw class are now implemented in 
  the Style class.

[GB.GTK3]
* NEW: GTK3+ support continues! By te way, GTK3+ theming support is a 
  fucking nightmare.

[GB.QT4]
* NEW: Rework Style.PaintBox() method.
* NEW: Style.StateOf() is a new method that returns the state flags of a 
  specific control.
* NEW: Style.BackgroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: Style.ForegroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: All state flag constants of the Draw class are now implemented in 
  the Style class.

[GB.WEB]
* NEW: Session.Exist() is a new method that returns if a specific key is 
  stored in the session.


git-svn-id: svn://localhost/gambas/trunk@6058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 00:08:06 +00:00
Benoît Minisini
1dcb5a3ddc [GB.GUI.AREA]
* BUG: ProgressBar: Correctly draws the right part of the label.


git-svn-id: svn://localhost/gambas/trunk@6054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 12:57:29 +00:00
Benoît Minisini
55d7b00615 [GB.FORM]
* NEW: Add Spinner control icon.
* NEW: Spinner.Label is a new property that tell if the spinner must 
  display a label.
* NEW: Spinner.Value is the percentage value to display as a label, between 
  0 and 1.

[GB.GUI.AREA]
* NEW: ProgressBar: Take the Enabled state into account when drawing the 
  control.

git-svn-id: svn://localhost/gambas/trunk@6053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 12:53:40 +00:00
Benoît Minisini
e298d6a927 [GB.FORM]
* BUG: DateChooser: Remove a debugging message.
* NEW: Spinner is a new control that displays a rotating spinner.


git-svn-id: svn://localhost/gambas/trunk@6052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 10:38:51 +00:00
Benoît Minisini
24a62cff83 [INTERPRETER]
* NEW: When a void string is sent to an extern function argument expecting 
  a string, it is converted to a zero-length string instead of a null 
  pointer.

[GB.FORM]
* NEW: DateChooser: Replace the month ComboBox by a MenuButton.
* BUG: DateChooser: Better management of the month menu button width.

[GB.GUI.BASE]
* NEW: The ProgressBar control is now written in Gambas.


git-svn-id: svn://localhost/gambas/trunk@6050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 09:31:32 +00:00
Benoît Minisini
36d1a8a70c [DEVELOPMENT ENVIRONMENT]
* NEW: Check the current GUI component in its popup menu.
* BUG: Use '/etc/os-release' to know the SuSE version, instead of 
  '/etc/SuSE-release' which is deprecated.

[GB.FORM]
* BUG: ButtonBox: Some drawing fixes for other themes than Oxygen.

[GB.QT4]
* BUG: The control borders are drawn the same way everywhere.


git-svn-id: svn://localhost/gambas/trunk@6043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-31 16:09:53 +00:00
Benoît Minisini
547636a68b [GB.GUI.BASE]
* BUG: Clicking on GridView/ColumnView headers now should work correctly 
  again.


git-svn-id: svn://localhost/gambas/trunk@6034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-29 23:10:59 +00:00
Benoît Minisini
493f651f20 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Update component list.
* NEW: Add a toolbar button to define the GB_GUI environment variable in 
  one click. This button is visible only if the project uses the gb.gui
  component (and if it has been added to the toolbar of course!).
* BUG: Use the same icon for the option dialog and its corresponding 
  toolbar icon.

[GB.FORM.MDI]
* NEW: Shrink the toolbar height a bit.

[GB.GUI]
* NEW: Support for the gb.gtk3 component.


git-svn-id: svn://localhost/gambas/trunk@6028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-29 15:17:40 +00:00
Benoît Minisini
ae979d6206 [GB.FORM]
* BUG: FileChooser: The Paths property now returns the selected path in 
  single mode and not a void array anymore.

[GB.FORM.DIALOG]
* BUG: Dialog.Open() in multiple mode works now.

[GB.FORM.MDI]
* BUG: Toolbar configuration dialog: the toolbar elements with a short text 
  are correctly displayed now.


git-svn-id: svn://localhost/gambas/trunk@6012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-21 09:38:09 +00:00
Sebastian Kulesz
ca5b87fed3 [GB.LOGGING]
* BUG: Fix the detection of the call location.



git-svn-id: svn://localhost/gambas/trunk@6010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-17 03:47:00 +00:00
Benoît Minisini
42a089eda6 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Project converter: try to not crash if the Gambas 2 project has been 
  partially converted.

[GB.QT4]
* BUG: Mouse.Translate() now has an absolute effect, as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 22:23:13 +00:00
Sebastian Kulesz
92ed8dc2f0 [GB.LOGGING]
* NEW: Allow custom debug levels.
* BUG: Allow the user to change the output if using the hidden instance.
* NEW: A call to Begin() is needed again so that the user can change the
  parameters if using the hidden instance. Sorry about that. 
  


git-svn-id: svn://localhost/gambas/trunk@6008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 13:06:31 +00:00
Sebastian Kulesz
34c0fe3353 [GB.LOGGING]
* NEW: Added some more tags to the Formatter



git-svn-id: svn://localhost/gambas/trunk@6007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 03:48:54 +00:00
Sebastian Kulesz
8b0606a157 [GB.LOGGING]
* NEW: Output can now be redirected to stderr ;)
* OPT: A call to Begin() is no longer necesary. The log file
  is automatically opened when creating the logger.
  


git-svn-id: svn://localhost/gambas/trunk@6006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 03:07:54 +00:00
Sebastian Kulesz
afdd5bc44a [GB.LOGGING]
* BUG: Removed translatable errors.
 * NEW: Allow a logger to programatically ignore calls.
 * OPT: Marked the component as finished and stable.
 * NEW: Allow to use a static instance created on demand.
 


git-svn-id: svn://localhost/gambas/trunk@5998 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-13 20:47:44 +00:00
Benoît Minisini
7133686c3d [GB.GUI.BASE]
* BUG: Fix a crash in GridView.ColumnAt() method.


git-svn-id: svn://localhost/gambas/trunk@5995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-10 23:12:28 +00:00
Benoît Minisini
8e23a347ea [CONFIGURATION]
* NEW: Chinese translations updated everywhere.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: In the menu editor, the last menu can be move up now.
* NEW: Add "GB_REVERSE=1" in the environment variable list of the project 
  properties dialog.

[GB.DB.FORM]
* NEW: The DataCheckBox control now raises its Click event as expected.

[GB.FORM]
* BUG: The icon of the FileProperties control now correctly adapts its 
  size.

[GB.FORM.MDI]
* NEW: ToolBar now inverts its layout if the current language is right-to-
  left written.

[GB.GTK]
* NEW: Mouse.Translate() is a new method that allows to translate the 
  current mouse event.
* BUG: The rtl layout is correctly initialized at startup.

[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView and its friends now invert their 
  layout if the current language is right-to-left written.

[GB.NET.POP3]
* BUG: Error messages must not be translatable.

[GB.QT4]
* NEW: Mouse.Translate() is a new method that allows to translate the 
  current mouse event.


git-svn-id: svn://localhost/gambas/trunk@5993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:42:30 +00:00
Benoît Minisini
428a8524b8 [GB.DB.FORM]
* BUG: DataCheckBox correctly defines its internal TriState property 
  depending on whether its database field is mandatory or not.
* BUG: Editable DataBrowser and DataView do not create a spurious extra 
  line anymore.


git-svn-id: svn://localhost/gambas/trunk@5988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-07 13:00:25 +00:00
Benoît Minisini
378d9a9534 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: Fix HTML compression so that everything is not put on the same line.

[GB.FORM]
* BUG: The FileProperties does not crash anymore if the directory size 
  calculation task returns rubbish.

[GB.FORM.MDI]
* NEW: Raise an error if the Toolbar.Configure() method is called whereas
  the toolbar Key property is not defined.


git-svn-id: svn://localhost/gambas/trunk@5978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-05 18:47:36 +00:00
Benoît Minisini
770042a260 [GB.SB.SQLITE3]
* BUG: Fix specific implementation of sqlite3_exec. Prevent some crashes 
  and make database creation work again (among other things).

[GB.WEB]
* BUG: CGI.Error() now correctly sends an UTF-8 HTML page.
* NEW: Response.EndOfLine is now taken into account if the response is 
  buffered.
* BUG: Buffered responses now use "Window" end-of-line by default instead 
  of "Unix" end-of-line, like unbuffered responses. *WARNING!* This bug fix 
  is not backward-compatible!


git-svn-id: svn://localhost/gambas/trunk@5975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-26 16:00:23 +00:00
Benoît Minisini
b703065963 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: Fix the mail address in the message displayed when a program 
  segfaults: it should be the mailing-list address, not my own one.
* NEW: Implement automatic completion in text editors.
* BUG: Splitting view shortcuts now act like toggles.

[GB.EVAL.HIGHLIGHT]
* NEW: Add an hidden method to provide list of keywords to the IDE 
  according to the highlighting style.
* NEW: Add a list of all values of CSS 2.1 properties.

[GB.QT4.EXT]
* NEW: Ctrl+Enter and Ctrl+Shift+Enter editor shortcuts are now directly
  implemented in the editor.

[GB.WEB]
* NEW: Response.EndOfLine is a new property that allows to explicitely
  define the EndOfLine property of the underlying stream.


git-svn-id: svn://localhost/gambas/trunk@5973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-26 03:01:11 +00:00
Benoît Minisini
6bcbeb9406 [DEVELOPMENT ENVIRONMENT]
* NEW: '&' shortcuts are automatically removed from the translatable 
  captions of the following controls: Menu, Button, CheckBox, RadioButton, 
  ToolButton, ToggleButton, DataCheckBox. The leading "..." are removed
  too. Now, for example, "&About..." and "About" lead to the same 
  translated string. Consequently the number of translatable strings of the
  IDE project is 7% lower.
* NEW: All translations were updated according to the previous change. 
* NEW: Gambas fonts have been updated.
* BUG: The property help WebView now uses the same default font size (80%) 
  than the help window.
* NEW: A menu entry in the "Tools" menu allows to update all forms, so that
  the previous features can be tested easily. Save your projects before!
* NEW: Translation imports now automatically extracts translations from 
  strings having "&" shortcuts inside and leading dots ("...").

[WIKI CGI SCRIPT]
* BUG: Handle the new "XML" component requirement.

[GB.FORM]
* NEW: TabPanel[] got a new RichText property, that allows to define the 
  title of a tab as rich text.

[GB.FORM.MDI]
* NEW: If a window embedded in a Workspace has a public RichText property, 
  it will be used instead of the normal Text property as window title. This
  is some sort of dirty hack, so don't use it at the moment.

[GB.GTK]
* NEW: When a popup menu is shown, underscore shortcuts are automatically 
  assigned. This feature is a based on a new hidden property of the Menu 
  class named "_Text". So don't use this new property for your own needs!

[GB.GUI.AREA]
* NEW: The Shortcut class is a new class that allows to remove '&' 
  shortcuts from the translatable caption of the following controls: Menu, 
  Button, CheckBox, RadioButton, ToolButton, ToggleButton, DataCheckBox.

[GB.QT4]
* NEW: When a popup menu is shown, underscore shortcuts are automatically 
  assigned. This feature is a based on a new hidden property of the Menu 
  class named "_Text". So don't use this new property for your own needs!


git-svn-id: svn://localhost/gambas/trunk@5964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-18 00:10:40 +00:00
Fabien Bodard
1305413ff7 [GB.REPORT]
OPT: Test


git-svn-id: svn://localhost/gambas/trunk@5962 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-16 21:27:31 +00:00
Fabien Bodard
432bba576b [GB.REPORT]
* OPT: Remove backup files


git-svn-id: svn://localhost/gambas/trunk@5957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-15 21:45:00 +00:00
Fabien Bodard
a455160cbe [GB.REPORT]
OPT: All and nothing


git-svn-id: svn://localhost/gambas/trunk@5956 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-15 21:31:36 +00:00
Fabien Bodard
3d86eb4042 git-svn-id: svn://localhost/gambas/trunk@5955 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2013-11-15 21:24:15 +00:00
Fabien Bodard
7ff28c7f3d [GB.REPORT]
* BUG: Many correction on object indexation. Now multiple level of 
  repeated contaoner are possible.
* NEW: And not new but now it work... the ForceNewPage property of an object force 
  the repeater the make only one display of this object by pages.



git-svn-id: svn://localhost/gambas/trunk@5954 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-15 21:22:58 +00:00
Tobias Boege
b1d1b3b0d7 [GB.FORM]
* BUG: DirChooser.ShowPreview used FDirChooser.GetPreview which does not
  exist. The correct symbol is FDirChooser.GetShowPreview.



git-svn-id: svn://localhost/gambas/trunk@5944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-06 15:21:24 +00:00
Benoît Minisini
f5593b64d6 [GB.WEB]
* NEW: JSON.Decode() now takes an extra optional argument indicating that 
  keys having a null value are taken into account inside objects.
* NEW: JSONCollection is a new class that represents a JSON object whose 
  some keys are associated with a 'null' value.


git-svn-id: svn://localhost/gambas/trunk@5936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-03 13:33:04 +00:00
Benoît Minisini
6bd131719b [CONFIGURATION]
* NEW: Switch to version 3.5.90.

[GB.SDL]
* NEW: Rename the default SDL font file as "_default.ttf" to prevent 
  packaging conflicts.

[GB.QT4.OPENGL]
* BUG: Clear the GLArea widget with the control background color just before 
  raising the Draw event.

git-svn-id: svn://localhost/gambas/trunk@5933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 23:16:53 +00:00
Benoît Minisini
2daa845c7e [GB.WEB]
* BUG: JSON.Encode() correctly encodes ASCII control characters.


git-svn-id: svn://localhost/gambas/trunk@5930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 22:05:18 +00:00
Benoît Minisini
46ee39c5a1 [GB.FORM]
* NEW: FileChooser now has support for uncompressing 'zip' files, provided 
  that the 'zip' utility is installed on the system.


git-svn-id: svn://localhost/gambas/trunk@5924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 00:34:19 +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
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
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
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