Commit graph

1027 commits

Author SHA1 Message Date
Benoît Minisini
3254fbbefe [GB.GUI.BASE]
* BUG: Fix TreeView item move methods.


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

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

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

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

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



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

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


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

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


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

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

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


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

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

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




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

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

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




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



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


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


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

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

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

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

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

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


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

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


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

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


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

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

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


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

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

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

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

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

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



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

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

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

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

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


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

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

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


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

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

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

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

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

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

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


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


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


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

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

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

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

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

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

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


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

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

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

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


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

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

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

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

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


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


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


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

[INTERPRETER]
* BUG: Fix class overriding routine.

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

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


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

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

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

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

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

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

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


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


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


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

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

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

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

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

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

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

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


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

[WIKI CGI SCRIPT]
* NEW: update czech translate

[WEB SITE MAKER]
* NEW: update czech translate

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

[GB.FORM]
* NEW: update czech translate

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

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

[GB.REPORT]
* NEW: update czech translate

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


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


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

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

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

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


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


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



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


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

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


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


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

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

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


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


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

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


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

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

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

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

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


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

[INTERPRETER]
* BUG: Fix Classes enumeration.

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

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

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


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

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

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

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

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


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

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


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


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

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

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


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

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


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



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

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

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


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

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


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


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


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

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

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


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

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


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



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

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


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

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

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

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


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

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

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

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


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

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

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

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

[GB.FORM]
* BUG: Fix warnings.

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

[GB.WEB]
* BUG: Fix warnings.


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


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

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

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


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


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

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


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


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



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

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


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


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



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

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

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

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


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

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

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

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


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


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



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


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


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


git-svn-id: svn://localhost/gambas/trunk@5089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 23:27:29 +00:00
Benoît Minisini
47752f6610 [GB.NET.POP3]
* NEW: Initial implementation of a POP3 client.


git-svn-id: svn://localhost/gambas/trunk@5088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 22:55:45 +00:00
Benoît Minisini
796f6b023d [INTERPRETER]
* NEW: GB.Serialize() is a new API that serializes a Gambas value to a 
  file.
* NEW: GB.UnSerialize() is a new API that serializes a Gambas value from
  a file.

[GB.FORM]
* BUG: Stock.Icons works correctly in all cases now.

[GB.TASK]
* NEW: Task is not a stream anymore.
* NEW: The Task Read event now takes an argument, which is the data printed
  on the task standard output. Normally, the data will come line by line.
* NEW: The Task Main method now can return any serializable value to its 
  parent.
* NEW: Task.Value is a new property that return the value returned by the
  background task once it has terminated.


git-svn-id: svn://localhost/gambas/trunk@5079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-26 01:54:57 +00:00
Benoît Minisini
091b94b1ed [INTERPRETER]
* NEW: Allow components to access the interpreter API through a pointer and 
  not a full structure. It is a little bit slower (one more indirection),
  but it uses less memory: one pointer instead of about 180.

[GB.GTK]
* NEW: Use the indirect API access.

[GB.QT4]
* NEW: Use the indirect API access.

[GB.TASK]
* NEW: Use the indirect API access.
* NEW: Task now is now a stream that can read the standard output of the 
  background task.
* NEW: Task now raises the Read event when the background task has printed
  something on its standard output.
* NEW: Task now raises the Error event when the background task has printed
  something on its standard error output. The event handler receives the
  data in its first argument.

[GB.XML.RPC]
* BUG: Some english fixes in some error messages.


git-svn-id: svn://localhost/gambas/trunk@5077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-25 15:13:39 +00:00
Benoît Minisini
4ab382159a [GB.FORM]
* NEW: ScrollArea.Shadow is a new static property to define if inner 
  shadows are visible or not. By default they are not.

[GB.GTK]
* BUG: Try to make gb.gtk works with old versions of GTK+ again.


git-svn-id: svn://localhost/gambas/trunk@5075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-24 15:01:17 +00:00
Benoît Minisini
659d187034 [INTERPRETER]
* BUG: Fix how the event raising routine handle exceptions.


git-svn-id: svn://localhost/gambas/trunk@5074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-24 02:32:23 +00:00
Sebastian Kulesz
49a8e682bc [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

[GB.FORM.MDI]
* NEW: Spanish translation updated.

[GB.DB.FORM]
* NEW: Spanish translation updated.

[GB.FORM.DIALOG]
* NEW: Spanish translation updated.



git-svn-id: svn://localhost/gambas/trunk@5073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-23 20:38:50 +00:00
Benoît Minisini
88700a1b37 [GB.FORM]
* NEW: New inner shadows for ScrollingArea.

[GB.QT4]
* BUG: Nothing is drawn now when the clipping rectangle has a negative 
  width or height.



git-svn-id: svn://localhost/gambas/trunk@5072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-23 19:52:50 +00:00
Benoît Minisini
f2abd7c95f [DEVELOPMENT ENVIRONMENT]
* OPT: Browsing the project is faster now.
* NEW: Display the number of matches after a project browse.

[GB.DB.FORM]
* NEW: DataSource now raises the BeforeSave event just before writing a 
  Result object to the database. The event handler receives the Result as 
  argument so that you can modify it.
* BUG: When inserting a new record in a DataView, serial fields are not
  editable anymore.
* BUG: Correctly go to the last line of a DataView when its DataSource 
  enters creation mode.

[GB.GTK]
* NEW: Style.Name is a new property that returns the name of the current 
  widget theme.
* BUG: MouseDrag events are correctly raised in all cases now.
* BUG: Activate the window correctly after a debugger restart.

[GB.QT4]
* NEW: Style.Name is a new property that returns the name of the current 
  widget theme.


git-svn-id: svn://localhost/gambas/trunk@5070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-22 22:12:35 +00:00
Benoît Minisini
5133ebfb7f [GB.DB]
* BUG: Correctly handle null dates.

[GB.DB.FORM]
* NEW: DataControl now uses a DateBox to edit date values.

[GB.FORM]
* NEW: DateBox handles null dates now.
* NEW: MaskBox hides its contents now when it is the default one and it 
  does not have the focus.
* NEW: DateChooser displays a little cursor following the mouse inside the
  calendar and the time panel.

[GB.GTK]
* BUG: Fix popup management.
* BUG: Editable ComboBox  controls now have the right background.
* NEW: Automatically temporarily release the keyboard and the mouse when 
  the debugger stops the program.


git-svn-id: svn://localhost/gambas/trunk@5066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-21 23:24:22 +00:00
Fabien Bodard
864d8de98f [GB.FORM]
BUG: Correct a mistake


git-svn-id: svn://localhost/gambas/trunk@5065 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-21 16:05:53 +00:00
Fabien Bodard
8eef01134f [GB.FORM]
* OPT: Now DateBox can take a Null Value and return a Null Value if not mofified



git-svn-id: svn://localhost/gambas/trunk@5062 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-21 08:26:01 +00:00
Benoît Minisini
9d1c8225dc [CONFIGURATION]
* NEW: Standardize the help text of all command-line tools.

[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: library executables are installed with the '.gambas' 
  extension, but not the standard executables, where the extension is 
  removed.
* BUG: Packager: ArchLinux packager now compiles the project correctly.

[GB.FORM]
* NEW: Draw SidePanel little arrows differently.


git-svn-id: svn://localhost/gambas/trunk@5061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-21 01:03:52 +00:00
Benoît Minisini
e678e914f3 [INTERPRETER]
* NEW: Object.CanRaise() is a new method that returns if a specific object 
  event has an event handler.

[GB.DB.FORM]
* NEW: DataView now raises a new Data event that allows to format the 
  contents of a cell just before it is displayed. The event receives three
  arguments: the row, the column, and the cell value directly from the
  underlying database.
* NEW: DataBrowser propagates the Data event of its inner DataView.

[GB.FORM]
* BUG: TableView: Apply a white background behind the currently edited 
  cell.
* BUG: ScrollArea: Draw the inner shadow correctly in all cases.

[GB.GTK]
* BUG: The Font object returned by Control.Font is now correctly updated 
  when the font of any of its parent changes.
* BUG: Ensure that when a mouse button is pressed, the same control 
  receives the mouse button release event.

[GB.QT4]
* BUG: The Font object returned by Control.Font is now correctly updated 
  when the font of any of its parent changes.


git-svn-id: svn://localhost/gambas/trunk@5059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-20 18:05:25 +00:00
Benoît Minisini
52b3040e07 [DEVELOPMENT ENVIRONMENT]
* NEW: Try to avoir Application.Busy flickering in some dialogs.

[EXAMPLES]
* NEW: New Tablet event inspired by a project made by Ricardo Díaz Martín.

[GB.DRAW]
* NEW: Paint.DrawImage() takes a new optional argument that defines the 
  opacity of the drawing, between 0 and 1.

[GB.FORM]
* NEW: ScrollArea.Tablet is a new property that allows it to catch tablet 
  events.

[GB.GTK]
* BUG: Support for tablet events.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse 
  buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered 
  the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
* BUG: DrawingArea.Tablet now works correctly when the DrawingArea is not
  cached.

[GB.QT4]
* BUG: Mouse events from tablet now get accurate button information.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse 
  buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered 
  the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.


git-svn-id: svn://localhost/gambas/trunk@5057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-19 13:01:57 +00:00
Benoît Minisini
52929cd0e6 [GB.FORM]
* NEW: ScrollArea, GridView and IconView got an automatic inner shadow 
  where the view area can be scrolled.

[GB.FORM.MDI]
* NEW: Some little redesign of the toolbar configuration dialog.


git-svn-id: svn://localhost/gambas/trunk@5050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-17 00:55:31 +00:00
Benoît Minisini
e9edef72fd [CONFIGURATION]
* NEW: Enable silent compilation.

[DEVELOPMENT ENVIRONMENT]
* NEW: When opening the startup class for the first time, go directly to
  the Main function.
* NEW: Support for READ and LINE INPUT instructions in the automatic local 
  variable declaration.

[GB.FORM]
* NEW: TabPanel can get focus now, and handle keyboard shortcuts.

[GB.QT4]
* BUG: Get rid of an old compilation warning.


git-svn-id: svn://localhost/gambas/trunk@5047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-16 16:37:03 +00:00
Benoît Minisini
edf8b8f34a [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display a thumbnail for images too large or too high.
* NEW: Implement bookmarks for code editor only.
* NEW: Automatic local variable declaration is disabled by default.

[INTERPRETER]
* NEW: GB.Deprecated() is a new interpreter API that displays a warning
  message for deprecated functions at runtime. When the project is 
  debugged, an error is raised instead.

[GB.FORM]
* NEW: Deprecate Stock.List which has been replaced by Stock.Icons.

[GB.QT4]
* BUG: Fix the case of Action.Tooltip property name.

[GB.QT4.EXT]
* NEW: Editor: Support for bookmarks.
* OPT: Editor: Do not compute the character width table each time the font
  changes. Use a cache instead.
* NEW: Editor.BookmarkPicture is a new property for defining the picture 
  used for displaying bookmarks.
* NEW: Editor.FindNextBreakpoint() has been deprecated and replaced by the
  Editor.Breakpoints property, that returns an integer array of all lines
  having a breakpoint.
* NEW: Editor.Bookmars is a new property that returns an integer array of 
  all lines having a bookmark.
* NEW: Editor.CurrentLine is a new property for defining the current 
  executed line. It replaces Editor[].Current.
* NEW: Editor[].Bookmark is a new boolean property that defines if a 
  specific line has a bookmark.


git-svn-id: svn://localhost/gambas/trunk@5044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-15 17:02:22 +00:00
Benoît Minisini
147983a533 [GB.FORM]
* NEW: Replace GridView.Rows.GetSelected() method by GridView.Rows.
  Selection property.


git-svn-id: svn://localhost/gambas/trunk@5031 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 16:26:34 +00:00
Benoît Minisini
361f89dd57 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a directory in the project treeview should not segfault 
  anymore.
* BUG: Moving a source file now correctly refreshes the project treeview.
* BUG: Project treeview popup menu now is correctly filled on directories.

[GB.QT4]
* BUG: TreeView does not raise keyboard events anymore during renaming 
  mode.


git-svn-id: svn://localhost/gambas/trunk@5030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 15:08:23 +00:00
Fabien Bodard
6125fa92ea [GB.FORM]
* NEW: New function in GridView Rows, GetSelected, that return an integer array with the selected rows.




git-svn-id: svn://localhost/gambas/trunk@5028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 14:30:43 +00:00
Benoît Minisini
de959789e0 [GB.FORM.MDI]
* NEW: Little design fix in the shortcut configuration dialog.

[GB.GTK]
* NEW: Management of tablet events. At the moment only the DrawingArea 
  control can catch them if its UseTablet property is TRUE. In that case,
  standard mouse events are raised, and the properties of the tablet event 
  are stored in the new Pointer class. All that is not definitive.

[GB.QT4]
* NEW: Management of tablet events. At the moment only the DrawingArea 
  control can catch them if its UseTablet property is TRUE. In that case,
  standard mouse events are raised, and the properties of the tablet event 
  are stored in the new Pointer class. All that is not definitive.


git-svn-id: svn://localhost/gambas/trunk@5024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 23:39:29 +00:00
Benoît Minisini
f1cacc6caa [GB.QT4.EXT]
* NEW: Editor: Highlight saved modified lines and unsaved modified lines 
  differently.


git-svn-id: svn://localhost/gambas/trunk@5021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 09:04:41 +00:00
Benoît Minisini
f457c9608c [CONFIGURATION]
* BUG: Fix the component template script.

[GB.FORM]
* BUG: SidePanel controls now behave correctly when they are put inside a 
  TabStrip.

[GB.GMP]
* NEW: Skeleton for a new component based on the GNU "big numbers" GMP 
  library.

[GB.GTK]
* NEW: TabStrip.FindIndex() is a new method that returns the index of 
  parent tab of a specific child.
* BUG: Fix Control.Raise() and Control.Lower() method when the parent is a
  TabStrip.

[GB.QT4]
* NEW: TabStrip.FindIndex() is a new method that returns the index of 
  parent tab of a specific child.

[GB.QT4.EXT]
* NEW: Editor: The current line is now visible when using a dark highlight 
  theme.


git-svn-id: svn://localhost/gambas/trunk@5016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-07 14:04:55 +00:00