Commit graph

1230 commits

Author SHA1 Message Date
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
Benoît Minisini
174c2747f2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a circular reference.

[INTERPRETER]
* BUG: Fix error handling when freeing objects.

[GB.FORM]
* BUG: Stock.Themes now correctly checks that ~/.icons exists.


git-svn-id: svn://localhost/gambas/trunk@4996 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-28 12:28:15 +00:00
Benoît Minisini
76c031f1f8 [GB.FORM]
* BUG: Fix LXDE icon theme support.
* BUG: Take "~/.icons" into account in the Stock.Themes property.


git-svn-id: svn://localhost/gambas/trunk@4995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-27 16:15:43 +00:00
Benoît Minisini
3c6c9260cb [GB.FORM]
* NEW: GridView: Support for column titles with multiple lines.


git-svn-id: svn://localhost/gambas/trunk@4994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-27 00:30:16 +00:00
Benoît Minisini
e747473a90 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated spanish translation.
* NEW: Controls having translatable properties (like 'Text') now get a new 
  virtual "Translate" property. If this property is FALSE, then the
  translatable properties will not be translated.
* BUG: Fix some spurious errors when refreshing classes and symbols 
  descriptions.

[GB.FORM]
* BUG: TabPanel buttons are correctly refreshed when their picture change.
* NEW: Remove the Stock.Theme property. Now the Application.Theme property
  is used directly. The content of Application.Theme can be either nothing,
  a desktop name, or a icon theme name.


git-svn-id: svn://localhost/gambas/trunk@4993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-26 08:37:27 +00:00
Benoît Minisini
5b2546816c [DEVELOPMENT ENVIRONMENT]
* NEW: Hide the search list tab when it is not useful.


git-svn-id: svn://localhost/gambas/trunk@4992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-26 00:15:59 +00:00
Benoît Minisini
9fc6b03718 [DEVELOPMENT ENVIRONMENT]
* NEW: Each comment anywhere in the source code beginning with 'TODO:', 
  'FIXME:', or 'NOTE:' is automatically listed in a new tab named 'Tasks' 
  in the bottom debugging panel.

[INTERPRETER]
* BUG: Env[...] does not return a constant string anymore. Anyone can 
  change the environment in the background!


git-svn-id: svn://localhost/gambas/trunk@4989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-25 19:32:57 +00:00
Benoît Minisini
d0069fd324 [GB.FORM]
* BUG: Fix icon theme search for LXDE and XFCE.


git-svn-id: svn://localhost/gambas/trunk@4987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-24 20:11:33 +00:00
Benoît Minisini
4911532f96 [GB.EVAL.HIGHLIGHT]
* BUG: HTML highlighting: Correctly detect <head>,<body> and <html> markups 
  in all cases.

[GB.FORM]
* NEW: Stock: Test more possible configuration files for LXDE.


git-svn-id: svn://localhost/gambas/trunk@4986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-24 18:14:25 +00:00
Benoît Minisini
e8d80f9f76 [GB.FORM]
* NEW: Stock.Icons property now replaces Stock.List property.
* NEW: Stock.Themes is a new property that returns the list of all icon 
  themes stored in '/usr/share/icons'.


git-svn-id: svn://localhost/gambas/trunk@4981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 14:46:19 +00:00
Benoît Minisini
ece7ad1bf5 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little GUI changes.
* BUG: Do not force the focus to the project filter, otherwise the project 
  tree is unusable.

[GB.FORM]
* NEW: Stock.Theme is a new property that allows to define the icon theme
  independently of Application.Theme.
* NEW: Both gnome and kde icon themes should be usable with any desktop 
  now.
* BUG: Icon themes based on svg files only are correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 13:57:19 +00:00
Benoît Minisini
938458a03e [CONFIGURATION]
* NEW: Switch to 3.2.90 version.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion of project classes that reimplements 
  another class.

[WEB SITE MAKER]
* BUG: Fix scrolling frames on Chrome.

[INTERPRETER]
* NEW: Args and Env classes are now shortcuts for Application.Args and 
  Application.Env properties.


git-svn-id: svn://localhost/gambas/trunk@4977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 20:43:10 +00:00
Benoît Minisini
1c96e1dd0d [GB.FORM]
* NEW: The LXDE icon theme is correctly detected now.

[GB.DESKTOP]
* NEW: Better support for the LXDE desktop.


git-svn-id: svn://localhost/gambas/trunk@4973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 02:44:02 +00:00
Benoît Minisini
712fca7970 [GB.FORM]
* NEW: Try to support the Mate desktop in the Stock class.


git-svn-id: svn://localhost/gambas/trunk@4971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-20 13:11:20 +00:00
Benoît Minisini
e9fbb77562 [DEVELOPMENT ENVIRONMENT]
* BUG: In the open project dialog, the project icon on the right pane is 
  correctly refreshed now.

[GB.FORM]
* BUG: The Stock class now detects the Mate desktop, and use it as default 
  application theme if needed.
* NEW: The Stock class now prints debugging message if the environment
  variable GB_STOCK is set.



git-svn-id: svn://localhost/gambas/trunk@4970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-20 01:34:22 +00:00
Benoît Minisini
bbfb58afa4 [GB.WEB]
* NEW: Request.Debug is a new property to activate the debugging mode of 
  the Request class.
* NEW: Request.Post.Contents returns the contents of the last POST request,
  provided that the debugging mode has been activated.


git-svn-id: svn://localhost/gambas/trunk@4899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-05 16:28:16 +00:00
Benoît Minisini
069b5f8707 [GB.QT4]
* OPT: During a mouse event, Mouse.ScreenX and Mouse.ScreenY returns the 
  global position stored in the received event. It does not query the X11 
  server.

[GB.DESKTOP]
* NEW: Support for the Mate desktop in Desktop.Open, Desktop.OpenTerminal
  and Desktop.Passwords.


git-svn-id: svn://localhost/gambas/trunk@4895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-04 19:11:57 +00:00
Benoît Minisini
1393597f4f [CONFIGURATION]
* BUG: When a top-level source directory actually several components, 
  compile the sub-components *after* the main components. This is 
  especially important with gb.xml and gb.xml.rpc.


git-svn-id: svn://localhost/gambas/trunk@4884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 17:51:54 +00:00
Benoît Minisini
cbd4f0d7c4 [GB.FORM]
* NEW: SidePanel: Add a popup menu to show or hide the panel, and to toggle
  the panel transparency.
* NEW: SidePanel: Transparency is stored in SidePanel settings now.


git-svn-id: svn://localhost/gambas/trunk@4865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-27 16:45:19 +00:00
Benoît Minisini
98f4cdbdcc [GB.FORM]
* NEW: Ignore errors when loading the gb.form.stock component. Display a
  warning message on the standard error output and use a dummy icon 
  instead.
* BUG: Movement keys are not eaten by the GridView anymore.


git-svn-id: svn://localhost/gambas/trunk@4854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-22 21:55:46 +00:00
Benoît Minisini
23abebb931 [DEVELOPMENT ENVIRONMENT]
* NEW: The gb.form.stock component now can be explicitely checked in the
  project property dialog.
* NEW: The IDE now depends on gb.form.stock.


git-svn-id: svn://localhost/gambas/trunk@4853 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-22 21:25:46 +00:00
Benoît Minisini
1b53072866 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not set the APPMENU_DISPLAY_BOTH environmental variable anymore.
  It seems to work now.

[EXAMPLES]
* NEW: Fractal: increase the maximum number of iterations when the zoom 
  level is higher.

[GB.GTK]
* BUG: Control.Hovered now works the same way as in gb.qt4.

[GB.FORM]
* NEW: SidePanel handles have a fixed width now (6 pixels).


git-svn-id: svn://localhost/gambas/trunk@4849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-19 09:29:59 +00:00
Benoît Minisini
5e0fdbfe7e [GB.FORM]
* NEW: ButtonBox use the new Style.BoxFrameWidth and Style.BoxFrameHeight
  properties to draw itself.

[GB.GTK]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties 
  that replace Style.TextBoxFrameWidth.
* BUG: The DrawingArea draw event is raised before other internal drawing 
  events now, not after.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
  positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is 
  inside a specific control.

[GB.QT4]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties 
  that replace Style.TextBoxFrameWidth.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
  positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is 
  inside a specific control.


git-svn-id: svn://localhost/gambas/trunk@4836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-16 01:27:32 +00:00
Benoît Minisini
87b828759b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix generation of action and toolbar information so that the IDE 
  does not crash anymore when having no custom toolbar definition.


git-svn-id: svn://localhost/gambas/trunk@4830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-15 00:33:49 +00:00
Benoît Minisini
afdc949545 [GB.FORM.MDI]
* NEW: Toolbar: You can add a space element between buttons now.
* NEW: Toolbar: New layout for the configuration dialog.

[GB.GTK]
* OPT: Optimize GTK+ widget -> gb.gtk control lookup everywhere.
* BUG: Fix drag & drop management again, so that it behaves as in gb.qt4 as
  much as possible. At the moment, disable controls cannot be a drop 
  target, contrary to gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@4828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-13 20:11:32 +00:00
Benoît Minisini
f24d7b1899 [GB.FORM.MDI]
* NEW: Do not disable toolbars when they are configured. Otherwise drag &
  drop does not work with gb.gtk.

[GB.FORM.STOCK]
* NEW: Some icons updates.
* BUG: Add the 'earth' icon in the stock.

[GB.GTK]
* BUG: Fix drag & drop support.
* NEW: Draw.Tile() does not transform pixbufs into a pixmaps anymore.


git-svn-id: svn://localhost/gambas/trunk@4821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 01:50:46 +00:00
Benoît Minisini
64fef6f598 [DEVELOPMENT ENVIRONMENT]
* BUG: If the project is read-only, the profile file is stored in the 
  process temporary directory in /tmp instead of the project directory.
* NEW: The name of profile files now follows this scheme: '.N.prof', where
  'N' is an index incremented each time the project is run.
* BUG: Toolbars and popup-menus are correctly updated at first load form
  text, source and form editors.
* BUG: Do not show or hide toolbars buttons outside of the toolbar 
  'Configure' event.

[INTERPRETER]
* NEW: The '-p' option now takes the profile file path as argument.

[GB.DEBUG]
* NEW: The profile file path can be specified on the command line.

[GB.FORM.MDI]
* NEW: Configured toolbars are drawn with a red frame.

[GB.GTK]
* BUG: Remove warnings displayed by the Control Raise() and Lower() 
  methods.
* BUG: Draw.Style methods now are correctly clipped.


git-svn-id: svn://localhost/gambas/trunk@4820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-10 14:58:45 +00:00
Benoît Minisini
442f8ce70e [CONFIGURATION]
* NEW: Switch version to 3.2.0.

[GB.XML]
* BUG: Fix a 64-bits compilation warning.



git-svn-id: svn://localhost/gambas/trunk@4815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 02:44:17 +00:00
Benoît Minisini
7e3570bfc9 [DEVELOPMENT ENVIRONMENT]
* OPT: Use Application.Busy earlier when opening a project.

[WIKI CGI SCRIPT]
* BUG: Fix links with explicit version.

[INTERPRETER]
* BUG: Setting System.Profile does not crash the interpreter anymore when
  profiling has not been activated by the '-p' command-line flag.

[GB.FORM]
* NEW: FileChooser and DirChooser: It is now possible to move up one 
  directory even if we are on the root of the current bookmark.

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

[GB.XML.RPC]
* BUG: Fix component requirements.


git-svn-id: svn://localhost/gambas/trunk@4806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-03 22:21:24 +00:00
Benoît Minisini
16bc53f245 [GB.FORM]
* NEW: GridView: Setting the height of a row to -1 now makes it fit its
  contents.


git-svn-id: svn://localhost/gambas/trunk@4804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 19:14:33 +00:00
Benoît Minisini
ff93548e41 [DEVELOPMENT ENVIRONMENT]
* BUG: Profile windows correctly display line numbers now.

[GB.FORM]
* NEW: Hidden transparent SidePanel controls now have a large handle.

[GB.QT4.EXT]
* NEW: Editor: Line numbers are not drawn behind a procedure separator.
* NEW: Editor.NoFolding is a new flag to disable procedure folding support.
* NEW: Editor.LineOffset is a new property to define the line number just
  before the first displayed line (zero by default).


git-svn-id: svn://localhost/gambas/trunk@4803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 14:44:00 +00:00
Benoît Minisini
e3ff08a8a6 [GB.FORM]
* NEW: Show trasnaprent SidePanel buttons as soon as the mouse hovers the 
  handle.

[GB.QT4.EXT]
* NEW: Procedures are folded or unfolded on mouse button release now, not 
  on mouse button press.


git-svn-id: svn://localhost/gambas/trunk@4802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 01:01:29 +00:00
Benoît Minisini
c18655158a [GB.FORM]
* NEW: SidePanel has a new Transparent property to define if the SidePanel
  has a border handle or not. By default, SidePanel are not transparent by
  default, as before.


git-svn-id: svn://localhost/gambas/trunk@4800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 15:05:16 +00:00
Benoît Minisini
636387d335 [INTERPRETER]
* BUG: Fix class loading so that circular dependencies between class 
  initialization is possible.
* NEW: Exported classes are now completely initiliazed at startup. It may
  break some things...


git-svn-id: svn://localhost/gambas/trunk@4798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 10:00:35 +00:00
Benoît Minisini
a865d9e227 [INTERPRETER]
* NEW: Support for variable number of arguments in extern functions.
* BUG: Fix use of static classes as extern function argument.

[COMPILER]
* NEW: Support for variable number of arguments in extern functions.

[GB.JIT]
* BUG: The GB_JIT environment variable has really no effect if it is 
  defined but a null string.


git-svn-id: svn://localhost/gambas/trunk@4796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 00:18:38 +00:00
Benoît Minisini
083ed1dd8e [GB.FORM]
* NEW: Hidden SidePanel now has two toggle buttons that appear when the 
  mouse moves on the two ends of the hidden panel.


git-svn-id: svn://localhost/gambas/trunk@4787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-27 22:00:25 +00:00
Benoît Minisini
1b33c5dc1a [DEVELOPMENT ENVIRONMENT]
* BUG: CFlt() is now replaced by CFloat() when converting a Gambas 2 project.

[COMPILER]
* BUG: The token following a CONST keyword is now assumed to always be an 
  identifier.


git-svn-id: svn://localhost/gambas/trunk@4758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 18:59:30 +00:00
Benoît Minisini
1518cff7a6 [DEVELOPMENT ENVIRONMENT]
* NEW: Adapt GUI to the new SidePanel look.

[GB.FORM]
* NEW: SidePanel are invisible now.

[GB.QT4]
* BUG: Control.Hovered does no computation anymore, it returns an internal
  flag set when the Enter event is raised, and unset when the Leave event
  is raised.


git-svn-id: svn://localhost/gambas/trunk@4757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 12:11:14 +00:00
Benoît Minisini
658b01475f [DEVELOPMENT ENVIRONMENT]
* OPT: Use Stream.Lines enumeration instead of LINE INPUT. It is a little bit 
  faster.

[COMPILER]
* BUG: Fix CASE LIKE syntax. Now all CASE LIKE arguments are compared with 
  the LIKE operator. Not just the first one.

[GB.FORM]
* NEW: FileChooser now can handle *.tgz archives.
* NEW: GridView: If the Grid property is FALSE, do not draw row and column
  separators.

[GB.GTK]
* BUG: Fix cached drawing areas.
* BUG: Fix mouse event management for controls having scrollbars.
* BUG: Fix cursor management for DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-22 23:32:38 +00:00
Benoît Minisini
9fa35120a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Profiling: The total function duration is now the same as the sum of 
  each line of code duration.

[WEBSITE MAKER]
* NEW: Add a "Release Notes" link in the menu panel.

[GB.DEBUG]
* NEW: Optimize the profile file format a bit.


git-svn-id: svn://localhost/gambas/trunk@4751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 11:35:13 +00:00
Benoît Minisini
f40a93a398 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatically delete profile files not in used just before running 
  a project.
* BUG: Automatically close profile windows when another project is opened.

[GB.FORM]
* BUG: GridView.AutoResize property now works correctly.
* BUG: GridView: Automatic column widths now take the sorted indicator into 
  account.

[GB.GTK]
* BUG: Automatic pointer grab on mouse events now do not confuse TreeView
  and ColumnView controls anymore.


git-svn-id: svn://localhost/gambas/trunk@4746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 15:04:04 +00:00
Benoît Minisini
f93affd8e9 [DEVELOPMENT ENVIRONMENT]
* NEW: Display callees and callers in the profile window.
* NEW: Display profiling of each line of code.

[INTERPRETER]
* NEW: Activate profiling at the line of code level. Beware, things become
  slower!

[GB.DEBUG]
* NEW: Fix profiling at the line of code level.

[GB.FORM]
* NEW: GridView: Add a Scroll() method.

[GB.QT4.EXT]
* NEW: Editor: Add a ScrollBar property.
* NEW: Editor: Add ScrollX and ScrollY properties.
* NEW: Editor: Add a Scroll method.


git-svn-id: svn://localhost/gambas/trunk@4745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 02:21:43 +00:00
Benoît Minisini
07387ff660 [DEVELOPMENT ENVIRONMENT]
* NEW: Add some debugging options directly in the 'Debug' menu.
* NEW: A new option to activate the profiling of the debugged project.
* NEW: Profiling windows. Not finished yet.

[INTERPRETER]
* BUG: Fix a crash that could occur if a error is raised inside an event 
  handler.
* NEW: Support for profiling.
* BUG: Fix a crash that could occur if a error is raised inside a signal
  callback.

[GB.DEBUG]
* NEW: Support for profiling.

[GB.FORM]
* NEW: GridView now raises a Sort event when the sort properties are 
  changed.
* BUG: Fix a crash when changing the IconPanel Count property.

[GB.GTK]
* BUG: Fix the Font.Copy() method.


git-svn-id: svn://localhost/gambas/trunk@4740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 02:55:05 +00:00
Benoît Minisini
c095cd3f98 [EXAMPLES]
* NEW: PhotoTouch and MediaPlayer examples now use the gb.gui component.

[GB.GTK]
* NEW: Make GTK+ controls borderless, so that they are "transparent" like 
  gb.qt4 controls. This is work in progress! The PhotoTouch example now 
  works correctly with gb.gtk, the brightness dialog excepted.
* BUG: ScrollBars are correctly initalized now.
* BUG: Container.Find() does not take hidden controls into account anymore.

[GB.IMAGE]
* BUG: Image.Opacity() can handle images with premultiplied alpha correctly 
  now.

[GB.FORM]
* BUG: IconView: Item text is ellipsized without printing GTK+ warnings 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@4729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 01:22:45 +00:00
Benoît Minisini
3279134f5e [GB.FORM]
* BUG: GridView: The WordWrap property is now correctly taken into account 
  for cells having normal text.


git-svn-id: svn://localhost/gambas/trunk@4726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-13 02:53:09 +00:00
Benoît Minisini
17f5f0fa0c [GB.MEDIA]
* NEW: MediaControl Tag event now takes a MediaTagList object as argument.
  That object contains all tags received at event time. Not all possible 
  tags are supported yet.

[EXAMPLES]
* NEW: MediaPlayer: Add a panel that displays information about the media
  file get through the Tag event.


git-svn-id: svn://localhost/gambas/trunk@4723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-09 00:47:21 +00:00
Benoît Minisini
06bdf63a4c [GB.SETTINGS]
* NEW: Setting.Clear() without arguments now entirely clears all settings.


git-svn-id: svn://localhost/gambas/trunk@4720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-07 09:20:25 +00:00
Benoît Minisini
8be12f5027 [DEVELOPMENT ENVIRONMENT]
* NEW: Define the 'Exec' preprocessor constant when making an executable.
* BUG: Packager: Replace spaces with underscores when using the vendor name 
  as package name prefix.
* BUG: Packager: Fix "make uninstall" in autoconf packages.

[INTERPRETER]
* BUG: Allow to override native array classes without crashing.

[COMPILER]
* NEW: New '-x' option to define the 'Exec' preprocessor constant.

[EXAMPLES]
* NEW: MediaPlayer: Real-time seeking.
* NEW: MediaPlayer: Use gb.desktop to suspend the screen saver while 
  playing a media file.


git-svn-id: svn://localhost/gambas/trunk@4715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-05 00:39:43 +00:00
Benoît Minisini
9a89d4c65b [GB.FORM]
* BUG: The last column of a GridView with AutoResize set is not frozen 
  anymore when the number of columns grows.


git-svn-id: svn://localhost/gambas/trunk@4694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 00:33:13 +00:00
Benoît Minisini
a6e9f61ee1 [CONFIGURATION]
* NEW: Update *.component files to the new format.
* BUG: Fix component TEMPLATE directory.

[EXAMPLES]
* NEW: PhotoTouch: Display the browsed directory path.

[INTERPRETER]
* NEW: Change the 'main' hook syntax. Add a macro to call the previous 
  'main' hook, so that several hooks can be declared.

[GB.MEDIA]
* NEW: New multimedia component based on GStreamer.

[GB.GTK]
* BUG: Fix timer management so that it is compatible with the GB.Every()
  interpreter API.
* NEW: Allows multiple 'main' hooks.

[GB.QT4]
* NEW: Allows multiple 'main' hooks.


git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 00:04:51 +00:00
Benoît Minisini
6333ee7a1f [EXAMPLES]
* NEW: Some little fixes in PhotoTouch example.


git-svn-id: svn://localhost/gambas/trunk@4684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-27 17:11:18 +00:00
Benoît Minisini
0b09db99b4 [GB.FORM]
* NEW: GridView row and column width now can be set to zero so that they 
  are completely hidden.
* BUG: The GridView headers now use the Button foreground color so that
  they are visible with a dark color theme.


git-svn-id: svn://localhost/gambas/trunk@4671 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 09:42:42 +00:00
Benoît Minisini
3f1bb044cb [EXAMPLES]
* NEW: PhotoTouch example becomes better.

[GB.DB.FORM]
* BUG: Fix use of old GridView property in DataComboView.

[GB.FORM]
* NEW: IconView.Key is now writable, so that we can define the current 
  item.


git-svn-id: svn://localhost/gambas/trunk@4670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 08:39:35 +00:00
Fabien Bodard
01939f5596 [GB.REPORT]
* OPT: Remove a not used function


git-svn-id: svn://localhost/gambas/trunk@4660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-23 06:49:36 +00:00
Benoît Minisini
4a32b1ed51 [WIKI CGI SCRIPT]
* NEW: Add "@since" special keyword.

[GB.FORM]
* BUG: GridView.SelectAll() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@4650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 13:44:35 +00:00
Benoît Minisini
1464b07a0c [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.ncurses to the component list.
* BUG: Prevent Qt from crashing when cancelling a file rename, by not
  reentering the event loop with WAIT.
* BUG: Do not try to refresh a deleted directory in the project tree.

[GB.FORM]
* NEW: DateChooser got an array accessor that returns a virtual object from
  a date. This virtual object allows to define the foreground color,
  background color and the font of any date.

[GB.QT4]
* BUG: Fix some possible use of deleted controls in event management.

[GB.QT4.EXT]
* BUG: Fix some use of uninitialized variables in Editor.


git-svn-id: svn://localhost/gambas/trunk@4624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-14 10:20:39 +00:00
Benoît Minisini
a04d1a9113 [GB.FORM.MDI]
* BUG: ToolBar: Fix separators automatic hiding.


git-svn-id: svn://localhost/gambas/trunk@4620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-13 12:56:39 +00:00
Benoît Minisini
9541a7918c [GB.FORM]
* BUG: GridView: Only the left mouse button click hides the selection and 
  moves the cursor now.
* BUG: GridView: MouseDown events are correctly raised now.


git-svn-id: svn://localhost/gambas/trunk@4619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-12 18:37:27 +00:00
Benoît Minisini
5e9cfc591a [GB.FORM]
* NEW: ScrollArea ScrollW and ScrollH synonymous properties were added.
* BUG: Fix GridView artifacts when there is no rows or if an incorrect 
  value has been set to the Header property.


git-svn-id: svn://localhost/gambas/trunk@4618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-12 18:21:00 +00:00
Benoît Minisini
088ae6e249 [GB.FORM]
* BUG: GridView.RowAt() and GridView.ColumnAt() now correctly take the 
  headers into account.


git-svn-id: svn://localhost/gambas/trunk@4616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-12 00:36:55 +00:00
Benoît Minisini
bc5480568c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the text editor toolbar.
* NEW: Add a close menu entry in code, text and form editors. The default 
  shortcut is CTRL+W.
* NEW: Text editor got a find procedure button like the code editor.

[GB.EVAL.HIGHLIGHT]
* BUG: Add some forgotten CSS properties.

[GB.QT4.EXT]
* NEW: Editor: Support for TAB characters.
* BUG: Editor: Redesign font metrics optimizations.


git-svn-id: svn://localhost/gambas/trunk@4614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-10 00:31:07 +00:00
Benoît Minisini
dc5d539dec [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the contextual menu when a form editor is 
  activated.
* BUG: Hide the error message when the editor scrolls.

[WEBSITE MAKER]
* NEW: New home page design.

[GB.EVAL.HIGHLIGHT]
* NEW: Enhance CSS highlighting.

[GB.FORM.MDI]
* BUG: Remove debugging message.

[GB.QT4.EXT]
* BUG: Editor: Draw text one pixel higher so that underline is visible with
  all fonts.


git-svn-id: svn://localhost/gambas/trunk@4612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-09 14:50:30 +00:00
Benoît Minisini
53a5546a91 [GB.QT4]
* BUG: Fix the Enter/Leave events management so that Enter events are
  correctly generated when a control is destroyed.


git-svn-id: svn://localhost/gambas/trunk@4603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-06 13:24:36 +00:00
Benoît Minisini
d7d8424b37 [GB.DB]
* NEW: Connection.Handle is a new property that returns the 
  database-specific internal handle.

[GB.FORM]
* BUG: GridView: Fix an unexpected error when scrolling with the arrow 
  keys.
* BUG: GridView: Fix the selection painting.


git-svn-id: svn://localhost/gambas/trunk@4592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-03 00:21:32 +00:00
Benoît Minisini
1b151b3e50 [DEVELOPMENT ENVIRONMENT]
* BUG: Autocompletion on ME now works correctly for WebPage.
* NEW: Packager configuration is now saved even for unchecked target 
  systems.
* BUG: Fix package generation for Mageia.
* NEW: Now you can select directories as packager extra files.

[GB.QT4]
* BUG: Enter and Leave events are now correctly generated from a window 
  that has been opened with the ShowPopup() method.

[GB.WEB]
* NEW: WebPage.Buffered is a new property to tell the generated HTML to be 
  buffered  by using the Response.Buffered property.


git-svn-id: svn://localhost/gambas/trunk@4586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-01 01:57:03 +00:00
Benoît Minisini
f434c45f64 [DEVELOPMENT ENVIRONMENT]
* NEW: Packager configuration is now saved with a new format in the 
  ".project" file. The old format is automatically converted.
* BUG: Fix the Slackware packaging routine.
* NEW: Check that packagers extra files really exist in the project
  directory.


git-svn-id: svn://localhost/gambas/trunk@4581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-30 20:46:19 +00:00
Benoît Minisini
34f70bcf7c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix packages version requirements. Minimal version is the current 
  one (3.1) and maximum version is 3.99.0.
* BUG: Fix extra files management in the packager. Workaround a Debian 
  design flaw in packaging tools.
* NEW: Support for both Mageia and Mandriva.

[GB.FORM]
* NEW: Use a mix between Color.LightBackground and Color.TextBackground form
  the Balloon background.


git-svn-id: svn://localhost/gambas/trunk@4579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-30 00:14:46 +00:00
Benoît Minisini
2670b8f0e9 [GB.FORM]
* NEW: You can now find IconView items by directly typing their name while 
  the control has the focus.


git-svn-id: svn://localhost/gambas/trunk@4578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 20:21:10 +00:00
Benoît Minisini
0fa9944088 [DEVELOPMENT ENVIRONMENT]
* BUG: In the open project dialog, setting the recent files sorting mode 
  now correctly takes the filter into account.

[WEBSITE MAKER]
* NEW: Add Randall Morgan in the authors list.

[INTERPRETER]
* BUG: In memory checking routines, take previous SIGSEGV and SIGBUS signal
  handlers into account now.


git-svn-id: svn://localhost/gambas/trunk@4576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 16:43:01 +00:00
Benoît Minisini
219dc74e95 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix file information dialog.

[GB.QT4.EXT]
* BUG: Fix bad interactions between highlighting and undo management.


git-svn-id: svn://localhost/gambas/trunk@4575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 00:24:33 +00:00
Benoît Minisini
7ecc12bfe8 [GB.GTK]
* BUG: Do not try to change the background color of menus. It breaks GTK+
  widget style like Ambiance.

[GB.WEB]
* BUG: Setting a Request value to NULL now works as expected.


git-svn-id: svn://localhost/gambas/trunk@4573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-28 21:55:19 +00:00
Benoît Minisini
e086cced60 [GB.FORM]
* BUG: GridView: All mouse button press events now move the current cell.

[GB.GTK]
* BUG: Try to handle the Menu event the same way as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@4572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-26 09:06:54 +00:00
Benoît Minisini
af5d69a8b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix extra files and extra dependencies tables in the packager.

[GB.GTK]
* BUG: Fix TabStrip management.

[GB.QT4]
* NEW: Do not display translation warning anymore when choosing the "C" 
  translation. Just uninstall the current translation (if any) silently.


git-svn-id: svn://localhost/gambas/trunk@4571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-26 01:19:51 +00:00
Benoît Minisini
dbfb8c320e [GB.FORM.MDI]
* BUG: Fix ToolBar behaviour when none of its children has an action.

[GB.GTK]
* BUG: Fix container children management.

[GB.QT4]
* BUG: Fix ToolButton text and picture alignment.


git-svn-id: svn://localhost/gambas/trunk@4570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-25 20:11:50 +00:00
Benoît Minisini
e72192ec22 [DEVELOPMENT ENVIRONMENT]
* NEW: Update the alternate background color of all themes.

[COMPILER]
* NEW: Support for <%: ... %> and <%! ... %> syntaxes in WebPage.

[GB.EVAL.HIGHLIGHT]
* NEW: Update WebPage highlighting, and handle the new syntaxes.


git-svn-id: svn://localhost/gambas/trunk@4569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-24 12:25:59 +00:00
Benoît Minisini
2c42a71783 [COMPILER]
* NEW: New WebPage syntax for server-side comments: <%-- ... --%>.

[GB.FORM]
* BUG: Clicking inside a GridView now correctly gives it the focus.
* BUG: ButtonBox background is correctly drawn with gb.gtk.

[GB.GTK]
* BUG: Handle GTK+ events, but not Gambas posted routines when setting the
  application busy cursor.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for server-side comment syntax in WebPage highlight routine.


git-svn-id: svn://localhost/gambas/trunk@4568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-23 21:35:24 +00:00
Benoît Minisini
d7114efe9b [GB.DB]
* BUG: Result.Update() now does not emit an incorrect request when the 
  result has not been modified. It just does nothing.

[GB.DB.FORM]
* BUG: DataBrowser: Clicking on the delete button does not delete two 
  records anymore.
* BUG: DataBrowser: Saving a new record now correctly takes into account 
  the currently edited field.

[GB.GTK]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@4567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-23 02:12:40 +00:00
Benoît Minisini
c29798ff3f [DEVELOPMENT ENVIRONMENT]
* NEW: Error messages now can be displayed in normal text editors.

[COMPILER]
* NEW: Initial support of WebPage compilation.


git-svn-id: svn://localhost/gambas/trunk@4561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-18 13:14:17 +00:00
Benoît Minisini
91556cac06 [DEVELOPMENT ENVIRONMENT]
* NEW: The debug window has a button to switch between "normal view" and 
  "symbol view". In "normal view", array and collection contents are
  displayed. If the object is not an array or a collection, then all
  non-hidden symbols are displayed. In "symbol view", all objects symbols 
  are displayed, whatever the object type is.

[INTERPRETER]
* NEW: The debugger now can display collection-like objects. An object can 
  be displayed like a collection if it has a Count property, is enumerable,
  has a _get special method taking a string, and has a Key property that 
  returns the key of the last enumerated element.

[GB.DEBUG]
* NEW: The debugger now can display collection-like objects. An object can 
  be displayed like a collection if it has a Count property, is enumerable,
  has a _get special method taking a string, and has a Key property that 
  returns the key of the last enumerated element.

[GB.FORM]
* BUG: GridView.Clear resets the height of all rows to the default value.


git-svn-id: svn://localhost/gambas/trunk@4558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-17 02:05:31 +00:00
Benoît Minisini
55bbad45cb [GB.FORM]
* NEW: GridView columns have two new properties: Alignment and Background.
* NEW: GridView.Sort and GridView.Ascending are two new properties to 
  define which column shows a sort symbol.
* NEW: GridView.Sorted is a new property to automatically handle column 
  clicks and display the sort symbol.


git-svn-id: svn://localhost/gambas/trunk@4553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-15 09:45:20 +00:00
Benoît Minisini
bd02074fed [GB.FORM]
* NEW: GridView[].EnsureVisible now keeps the left part of the cell always
  visible.
* BUG: The TableView editing field is now never larger than the TableView
  contents.


git-svn-id: svn://localhost/gambas/trunk@4548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 01:34:14 +00:00
Benoît Minisini
f8dfe7d8de [GB.FORM]
* BUG: GridView: allow column width to be set to zero. In that case the 
  actual width is set to one pixel.


git-svn-id: svn://localhost/gambas/trunk@4547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 00:35:13 +00:00
Benoît Minisini
a551594bdc [GB.FORM]
* NEW: Add Left and Top synonymous properties to keep compatibility with 
  the old GridView.


git-svn-id: svn://localhost/gambas/trunk@4546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 00:28:28 +00:00
Benoît Minisini
d584cf1121 [DEVELOPMENT ENVIRONMENT]
* NEW: Font size options has been renamed as "Default font size" and "Small
  font size". The small font size is now used for all toolbars.
* NEW: The help browser proxy can be configured.

[GB.FORM]
* NEW: The stock icon named "earth" has been renamed as "internet".

[GB.QT4]
* BUG: If a form is defined as being not visible, then using it as a 
  startup form won't show it.

[GB.QT4.WEBKIT]
* NEW: WebSettings.DefaultProxy is a new constant for using the default 
  proxy configuration.


git-svn-id: svn://localhost/gambas/trunk@4543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-12 01:48:49 +00:00
Benoît Minisini
9d6b4a0f0d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix version requirements on components in the packager.

[INTERPRETER]
* OPT: A little optimization in LINE INPUT.

[GB.FORM]
* NEW: GridView: Setting the column width to -1 make it fit its contents.
* NEW: GridView: Double-clicking on the right limit of a column make it
  fit its contents.


git-svn-id: svn://localhost/gambas/trunk@4537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-08 01:41:23 +00:00
Benoît Minisini
1b70498e49 [GB.FORM]
* BUG: GridView.Rows[].Selected now works correctly.
* NEW: GridView.Rows.Select and Unselect methods now selects (or unselects)
  one line if their second argument is omitted.


git-svn-id: svn://localhost/gambas/trunk@4535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-06 00:46:45 +00:00
Benoît Minisini
7de65428de [GB.FORM]
* NEW: Implement Title properties as synonymous of Text for row and column 
  headers.
* BUG: GridView.Rows[].Selected now works correctly when multiple selection 
  is enabled.


git-svn-id: svn://localhost/gambas/trunk@4529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-03 12:18:30 +00:00
Benoît Minisini
fb26ef792f [DEVELOPMENT ENVIRONMENT]
* NEW: A new panel in the option dialog that allows to define which files
  must be ignored when creating a source package or an installation 
  package.

[INTERPRETER]
* BUG: Fix String.Mid$() when the third argument goes after the string 
  length.

[GB.FORM]
* NEW: IconPanel now uses a GridView and not an IconView anymore.
* BUG: GridView.Mouse property now works as expected.


git-svn-id: svn://localhost/gambas/trunk@4528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-03 02:17:24 +00:00
Benoît Minisini
df53de0b28 [DEVELOPMENT ENVIRONMENT]
* BUG: Make error message tooltips always visible.
* NEW: Update logos.

[GB.FORM]
* NEW: GridView: The Shift key is taken into account when selecting rows 
  with the mouse.


git-svn-id: svn://localhost/gambas/trunk@4525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-02 22:57:57 +00:00
Benoît Minisini
f3a762060f [GB.FORM]
* BUG: Setting GridView.Rows.Height correctly update the GridView viewport 
  size.


git-svn-id: svn://localhost/gambas/trunk@4522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-02 02:25:52 +00:00
Benoît Minisini
1735a652a2 [GB.FORM]
* BUG: Fix ToolPanel Index value when decreasing the Count property.
* NEW: Less space around GridView row headers text.

[GB.QT4]
* BUG: Do not crash when UserControl or UserContainer container is deleted.
* BUG: Delete the Qt4 application class in component exit routine, 
  otherwise Qt 4.8 seems to crash sometimes.


git-svn-id: svn://localhost/gambas/trunk@4521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-02 01:21:33 +00:00
Benoît Minisini
518868e61a [DEVELOPMENT ENVIRONMENT]
* BUG: Try to fix the spurious error that is raised sometimes when clicking
  on a control in the form editor.

[GB.FORM]
* NEW: GridView.Columns.Width property has been implemented.


git-svn-id: svn://localhost/gambas/trunk@4519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-01 11:42:28 +00:00
Benoît Minisini
b5fd8b4b05 [DEVELOPMENT ENVIRONMENT]
* BUG: Set the focus back to the editor after a paste operation.
* NEW: Less flickering when displaying project items.

[GB.FORM]
* NEW: GridView.Rows.Insert() and GridView.Rows.Remove() methods were
  implemented.

[GB.GTK]
* NEW: Remove the old GridView source code.

[GB.QT4]
* NEW: Remove the old GridView source code.


git-svn-id: svn://localhost/gambas/trunk@4514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-28 01:43:40 +00:00
Benoît Minisini
560ab68481 [GB.FORM]
* NEW: The GridView.Rows.Width property is writable now.
* NEW: Setting the text of a row header now automatically enlarge it.


git-svn-id: svn://localhost/gambas/trunk@4511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-27 00:33:51 +00:00
Benoît Minisini
1a9e66c4b6 [GB.FORM]
* BUG: Fix ListContainer control.


git-svn-id: svn://localhost/gambas/trunk@4510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-27 00:22:54 +00:00
Benoît Minisini
0fcd5bbd44 [GB.DB.FORM]
* BUG: Fix a crash in DataView when it has no current row.


git-svn-id: svn://localhost/gambas/trunk@4508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-26 18:31:54 +00:00
Benoît Minisini
a2a5f45bb8 [GB.FORM]
* BUG: Take the GridView cell RichText property into account.
* BUG: Take the GridView.Enabled property into account.
* BUG: The minimum column width and minimum row height are one pixel now.

[GB.GTK]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
  Align.IsRight() and Align.Center() are new methods that allow to know the
  direction of an alignment according to the current language direction.

[GB.QT4]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
  Align.IsRight() and Align.Center() are new methods that allow to know the
  direction of an alignment according to the current language direction.


git-svn-id: svn://localhost/gambas/trunk@4505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-25 02:59:39 +00:00
Benoît Minisini
0309f98b60 [DEVELOPMENT ENVIRONMENT]
* NEW: Take property synonymous into account.
* BUG: Pasting text as comments correctly converts tabulations into spaces.

[INTERPRETER]
* NEW: GB.RaiseBegin() and GB.RaiseEnd() are two new intepreter APIs that 
  allow to define a callback that will be called if an exception is raised
  during a call to GB.Raise().
* BUG: CATCH and FINALLY correctly restore the stack pointer. Without that,
  it is possible to use more stack than possible and to crash the 
  interpreter.

[COMPILER]
* NEW: A property now can has up to four different names. The syntax is:
  "Property Name [ , Synonymous1, ..., Synonymous3 ] As Datatype".

[GB.DB]
* BUG: Table.Type property now correctly handle null table types.

[GB.DB.FORM]
* NEW: DataBrowser.Grid is a new property to define the grid visibility.
* BUG: The DataBrowser and DataView controls have been fixed. There is only 
  one problem to fix that depends on a gb.gtk bug.

[GB.DRAW]
* BUG: Setting Draw.Font to NULL does not crash anymore, and raise an error
  instead.

[GB.FORM]
* NEW: The new GridView is finished and replaces the old one now.
* NEW: GridView.ShowCursor is a new property that displays a light cursor 
  around the current cell when set.

[GB.GTK]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: GTK+ GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.

[GB.QT4]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: Qt4 GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
* BUG: If the DrawingArea Draw event handler raises an error, then the 
  interpreter should not crash anymore.

[GB.QT4.EXT]
* BUG: Fix an uninitialized field in Editor internal GLine class.


git-svn-id: svn://localhost/gambas/trunk@4503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-25 01:35:55 +00:00
Benoît Minisini
1614dc978d [GB.FORM]
* NEW: Work continues on the new GridView.


git-svn-id: svn://localhost/gambas/trunk@4501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-23 03:59:39 +00:00
Benoît Minisini
6d6a2cb0f4 [GB.FORM]
* NEW: Start to make a GridView control entirely in Gambas. Contrary to 
  its native implementations, it will be able to handle millions of lines
  without eating all memory.


git-svn-id: svn://localhost/gambas/trunk@4498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-22 03:24:48 +00:00
Benoît Minisini
8b11d16ec3 [DEVELOPMENT ENVIRONMENT]
* NEW: Make project creation dialog and project save as dialog less 
  difficult to understand.

[GB.FORM]
* NEW: Wizard: Remove padding around contents when the wizard has no 
  border.


git-svn-id: svn://localhost/gambas/trunk@4491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-20 00:02:11 +00:00
Benoît Minisini
8d3ba2dc15 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when the form editor gets a spurious resize 
  event whereas undo management has been uninitialized.
* NEW: Libraries now can have requirements exactly like components. This is
  taken into account by the project property dialog.

[ARCHIVER]
* NEW: Put the '.component' file inside archives, so that the IDE can 
  extract libraries requirements from the executable.

[GB.FORM]
* NEW: Add two pixels to the height of the TabPanel tabbar.


git-svn-id: svn://localhost/gambas/trunk@4475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 23:29:18 +00:00
Benoît Minisini
985c1a742d [DEVELOPMENT ENVIRONMENT]
* NEW: Traditional Chinese translation made by Timothy Lin.
* BUG: Correctly take the project tabulation size in automatic structure
  completion.
* BUG: Fix the tips of the day language selection.

[EXAMPLES]
* NEW: New MineSweeper example made by Timothy Lin and slightly modified by
  me.

[GB.EVAL.HIGHLIGHT]
* BUG: 'undefined' is a javascript keyword.

[GB.FORM.DIALOG]
* NEW: Take the new Dialog.ShowHidden property into account.

[GB.QT4.EXT]
* BUG: Editor cursor is ensured to be visible when it is visible, not when
  it has just the focus.


git-svn-id: svn://localhost/gambas/trunk@4458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 16:48:24 +00:00
Toni Rosa
6050b49b06 [GB.FORM]
* NEW: Update Catalan translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-03 18:33:57 +00:00
Benoît Minisini
0a9b6abe82 [DEVELOPMENT ENVIRONMENT]
* NEW: More support for WebPage.

[COMPILER]
* NEW: Start supporting WebPage.


git-svn-id: svn://localhost/gambas/trunk@4427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 09:55:55 +00:00
Benoît Minisini
3ad16e0b5d [GB.WEB]
* NEW: URL: Remove the URL dynamic class. It's brain-fucking.
* NEW: URL: Add two new static methods, SetQuery() and UnsetQuery() to set
  and unset a field inside the URL query.


git-svn-id: svn://localhost/gambas/trunk@4426 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 08:52:23 +00:00
Benoît Minisini
5c43a87220 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of null String[] properties.
* NEW: Starting WebPage support.
* BUG: Fix filters in the file creation dialog.

[EXAMPLES]
* BUG: Fix the DragNDrop example.

[WIKI CGI SCRIPT]
* NEW: @index now can sort pages by ignoring a prefix but by displaying the
  full page title anyway in the index.

[GB.FORM]
* NEW: FileChoose got a new Margin property, that adds a margin around the 
  FileChooser controls when set.

[GB.WEB]
* NEW: Url is a new class that aims at handling URLs. Not finished yet!
* NEW: Url.Encode() and Url.Decode() now replace CGI.Encode() and 
  CGI.Decode().


git-svn-id: svn://localhost/gambas/trunk@4421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-26 22:50:19 +00:00
Benoît Minisini
499f25ef56 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Invert arrangement property.
* BUG: Fix background and foreground color buttons order in the icon 
  editor.
* BUG: Do not allow to add source files in the data directory, and data 
  files in the source directory.

[GB.FORM]
* NEW: FileChooser.ShowFile is a new property to hide or show the textbox
  that displays the file name.

[GB.GTK]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.

[GB.QT4]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.


git-svn-id: svn://localhost/gambas/trunk@4420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 17:46:35 +00:00
Benoît Minisini
d161440134 [DEVELOPMENT ENVIRONMENT]
* BUG: Add a limit to the history size.

[GB.FORM.STOCK]
* BUG: Do not require gb.gtk, so that compilation does not fail if gb.gtk 
  is not available.


git-svn-id: svn://localhost/gambas/trunk@4417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-23 19:28:38 +00:00
Benoît Minisini
34f24c3991 [INTERPRETER]
* BUG: Fix the Param array accessor, that returns a specific extra argument
  from its index.

[GB.DBUS]
* BUG: Fix DBus method call when the method returns nothing. If there is an
  error, it is correctly raised.


git-svn-id: svn://localhost/gambas/trunk@4413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-21 03:19:38 +00:00
Benoît Minisini
81d31c9033 [GB.FORM]
* BUG: Fix ValueBox in design mode.

[GB.GTK]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.

[GB.QT4]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.
* BUG: Correctly handle Menu events for proxies.


git-svn-id: svn://localhost/gambas/trunk@4411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 08:17:18 +00:00
Benoît Minisini
53aae2daf5 [DEVELOPMENT ENVIRONMENT]
* BUG: Table chooser works correctly again.
* NEW: The port can be defined now in the connection dialog.

[GB.DB]
* NEW: Support for port in a connection defined in the IDE.

[EXAMPLES]
* NEW: Port can be defined in the Database example.


git-svn-id: svn://localhost/gambas/trunk@4396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-11 02:47:43 +00:00
Benoît Minisini
2b560f91ec [CONFIGURATION]
* NEW: Switch version to 3.0.90.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor undo management.
* BUG: The menu editor changes are now correctly taken into account by the 
  undo management.

[GB.FORM]
* NEW: Little fix in TabPanel button layout.


git-svn-id: svn://localhost/gambas/trunk@4393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-07 02:16:31 +00:00
Benoît Minisini
b99dc2dfc0 [GB.FORM]
* BUG: The last pixels of a TabPanel button are clickable now.


git-svn-id: svn://localhost/gambas/trunk@4390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 23:38:17 +00:00
Benoît Minisini
0544910f30 [DEVELOPMENT ENVIRONMENT]
* BUG: In Report forms, draw ReportImage and ReportSvgImage according to 
  their Stretch property.
* NEW: Use a TabPanel instead of a TabStrip to draw the Report form.
* NEW: Make the grid visible in all form families, and align it correctly 
  even in a Report form.

[WEB SITE MAKER]
* NEW: Remove text shadows.

[INTERPRETER]
* NEW: Define a minimum and maximum bytecode version that the interpreter
  can handle.

[GB.FORM]
* NEW: TabPanel buttons take a bit less space.


git-svn-id: svn://localhost/gambas/trunk@4389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 15:15:49 +00:00
Fabien Bodard
7f3814044e [GB.REPORT]
* OPT: not export Paint Class and mask a variable into Report Class


git-svn-id: svn://localhost/gambas/trunk@4380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:44:08 +00:00
Fabien Bodard
cb699c9f34 [GB.REPORT]
* BUG: Finalize the change between StrechMode and Strech property name


git-svn-id: svn://localhost/gambas/trunk@4379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:37:09 +00:00
Fabien Bodard
28b37c39eb [GB.REPORT]
* BUG: Use the current Painting Resolution to calculate the size of a text


git-svn-id: svn://localhost/gambas/trunk@4378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:21:24 +00:00
Benoît Minisini
a84527352f [GB.REPORT]
* NEW: Rename StretchMode property as just Stretch.
* NEW: Move the Stretch property constant to the Report class.

[EXAMPLES]
* BUG: Fix the main dialog layout.


git-svn-id: svn://localhost/gambas/trunk@4377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:00:48 +00:00
Fabien Bodard
86925cc6d3 [GB.REPORT]
* OPT: Some Cleaning


git-svn-id: svn://localhost/gambas/trunk@4375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:51:09 +00:00
Fabien Bodard
b95f7e712d [GB.REPORT]
* OPT: Make a demo for recurssive calls


git-svn-id: svn://localhost/gambas/trunk@4372 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:41:20 +00:00
Benoît Minisini
ec5182bec1 [DEVELOPMENT ENVIRONMENT]
* BUG: Changing the X or Y property of a form does nothing visually.

[GB.GTK]
* BUG: Setting a control to a null size now make the container arrange its
  children.


git-svn-id: svn://localhost/gambas/trunk@4371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:27:55 +00:00
Fabien Bodard
7016a68336 [GB.REPORT]
* BUG: Remove a really stupid bug. Now all seem to work fine


git-svn-id: svn://localhost/gambas/trunk@4369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 20:40:19 +00:00
Benoît Minisini
ba29f0abc3 [GB.FORM.MDI]
* NEW: Workspace.Picture is a new property that allows to define a tile 
  picture that will be drawn in the workspace background when it has no 
  windows.


git-svn-id: svn://localhost/gambas/trunk@4368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 17:26:26 +00:00
Benoît Minisini
5a0849c692 [WEB SITE MAKER]
* NEW: Changes for Gambas 3 release.

[INTERPRETER]
* BUG: No more than 15 digits for Floating point values.


git-svn-id: svn://localhost/gambas/trunk@4367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 17:03:20 +00:00
Benoît Minisini
546bc7a4f4 [INTERPRETER]
* BUG: Calling native methods on an anonymous reference now correctly casts 
  the return value to a Variant.
* BUG: Remove all Array class methods that break the inheritance rules.

[GB.GTK]
* BUG: Fix initial position of windows so that window manager constraints 
  are not overrided.

[GB.SETTINGS]
* BUG: Fix the use of Array class.


git-svn-id: svn://localhost/gambas/trunk@4361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 21:47:41 +00:00
Jordi Sayol
f08332c8f2 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.

[WIKI CGI SCRIPT]
* NEW: Updated Catalan translation.

[GB.REPORT]
* NEW: Updated Catalan translation.

[GB.DB.FORM]
* NEW: Updated Catalan translation.

[GB.DB.FORM.MDI]
* NEW: Updated Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 13:41:51 +00:00
Benoît Minisini
023f457a34 [GB.FORM]
* BUG: The DirView root picture is correctly initialized.

[GB.GTK]
* BUG: Really find a workaround for an oxygen-gtk bug^W feature on TreeView 
  controls.


git-svn-id: svn://localhost/gambas/trunk@4356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 00:51:50 +00:00
Fabien Bodard
78432a726f [GB.REPORT]
* OPT: some cleanup and adding the index to the current layout objet 
  in Horizontal, column, full, and none arrangement


git-svn-id: svn://localhost/gambas/trunk@4355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:42:57 +00:00
Fabien Bodard
294f7c00cf [GB.REPORT]
* BUG: Fix a bug on the fixed elements calculation (int/float again)
* BUG: Allow really the multiple recurtions of containers.
  Take into account the current repeat state


git-svn-id: svn://localhost/gambas/trunk@4354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:28:45 +00:00
Benoît Minisini
0c32986d4a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix property sheet error message position.

[GB.FORM]
* NEW: Do not use a control for tab close buttons, but just an image. That
  way it draws nicely with gb.gtk, that does not have transparent controls 
  yet.
* BUG: Fix a crash when decreasing the Count property.

[GB.GTK]
* BUG: Found a workaround for the "bug" in gtk-oxygen style that sets
  the border of TreeView controls without being asked.


git-svn-id: svn://localhost/gambas/trunk@4353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:11:53 +00:00
Fabien Bodard
2b13de7a60 [GB.REPORT]
* BUG: Make the report refresh really reset all values and clear 
  all computed pages


git-svn-id: svn://localhost/gambas/trunk@4352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 21:58:31 +00:00
Benoît Minisini
801ca65cb0 [CONFIGURATION]
* BUG: Really use "get version from file" option everywhere.

[GB.FORM]
* BUG: Make highlighted TabPanel more visible.

[GB.FORM.MDI]
* NEW: Add a Workspace.Border property to set if the Workspace has a border
  or not.

[GB.GTK]
* BUG: Fix a GTK+ warning in Draw.Style.Arrow().
* BUG: Client properties now work correctly for containers that inherit 
  UserContainer.

[GB.QT4]
* BUG: Now changing Panel.Border correctly arranges the control.


git-svn-id: svn://localhost/gambas/trunk@4351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 20:43:03 +00:00
Benoît Minisini
88a213486b [CONFIGURATION]
* NEW: Use the "get version from file" option everywhere.

[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
  as soon as the program is compiled.

[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.


git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 18:56:41 +00:00
Benoît Minisini
03caf23353 [DEVELOPMENT ENVIRONMENT]
* NEW: Database properties now can be editer even if there is no connection
  property defined in the form.

[GB.FORM]
* BUG: TabPanel now should not crash if there is no tab visible.
* BUG: The first visible TabPanel button is now drawn correctly if its 
  index is not zero.


git-svn-id: svn://localhost/gambas/trunk@4348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 16:12:18 +00:00
Fabien Bodard
27de98a239 [GB.REPORT]
* NEW: Property OnePiece that tell the container to change page if it is more taller
  than the remaining space


git-svn-id: svn://localhost/gambas/trunk@4346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 14:13:46 +00:00
Fabien Bodard
be9279d61b [GB.REPORT]
* BUG: Correct a shame bug that block all reports


git-svn-id: svn://localhost/gambas/trunk@4345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 10:48:42 +00:00
Benoît Minisini
bee6e69ad1 [DEVELOPMENT ENVIRONMENT]
* NEW: A button to show or hide the system tables in the database editor.
* BUG: Copying button is enabled now in the SQL editor.
* NEW: SQL highlighting.

[GB.EVAL.HIGHLIGHT]
* NEW: SQL highlighting routine.

[GB.FORM]
* BUG: Fix an arrangement bug in TabPanel.

[GB.QT4.EXT]
* NEW: Editor.HighlightCurrent flag has been renamed HighlightImmediately.
* BUG: Braces are now highlighted even if they are not on the same line.
* NEW: Editor.HideMargin is a new flag to hide the editor left margin.


git-svn-id: svn://localhost/gambas/trunk@4344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 03:04:46 +00:00
Benoît Minisini
6bf2367881 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix connection renaming.
* BUG: Fix report border dialog synchronisation detection.

[GB.FORM]
* BUG: Fix TabPanel layout when adding a new tab.
* BUG: Remove the useless _TabPanelContainer.Container property.


git-svn-id: svn://localhost/gambas/trunk@4343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 17:20:01 +00:00
Benoît Minisini
e8f2747c1a [DEVELOPMENT ENVIRONMENT]
* BUG: The "Browse again" button in the search list now does nothing if 
  there is no search string defined.

[INTERPRETER]
* NEW: Object[].FindByRef and Object[].ExistByRef are two new methods that
  do not take the _compare special method into account. They compare 
  objects by reference only.

[GB.DB.FORM]
* NEW: DataBrowser.Border is a new property to define if a border should be
  displayed or not.
* BUG: Fix DataBrowser layout for all orientations.

[GB.DB.MYSQL]
* BUG: Try to make connection timeout work as expected, without success.
  It seems sticked to be at least one minute. :-(

[GB.FORM]
* BUG: IconView now behaves correctly when an item has no text. It uses there
  new array methods that search items by reference only.
* NEW: TabPanel.Highlight is a new property that highlight the current 
  selected tab button.
* NEW: TabPanel.Closable is a new property that works exactly like 
  TabStrip.Closable.
* BUG: TabPanel.Remove() now works correctly.
* NEW: ScrollArea is more clever with mouse wheel events.

[GB.FORM.MDI]
* NEW: Workspace now uses a TabPanel instead of a TabStrip.


git-svn-id: svn://localhost/gambas/trunk@4342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 13:39:23 +00:00
Benoît Minisini
c6ba3dac6b [CONFIGURATION]
* NEW: Switch to 3.0 version.

[DEVELOPMENT ENVIRONMENT]
* NEW: Some little look changes.


git-svn-id: svn://localhost/gambas/trunk@4340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 01:54:12 +00:00
Benoît Minisini
5e93a00359 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little look changes based on TabPanel.

[GB.DBUS]
* BUG: Do not use ffprinf(), it is useless.

[GB.FORM]
* BUG: Fix borderless TabPanel.
* NEW: TabPanel tabs now have a Visible property.
* BUG: The SidePanel separator is now visible in all orientations.

[GB.FORM.DIALOG]
* BUG: Dialog.OpenFile() does not return anymore when no file is selected.

[GB.QT4]
* BUG: Separator now really uses the Color.LightBackground color.


git-svn-id: svn://localhost/gambas/trunk@4338 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 22:52:25 +00:00
Fabien Bodard
4d989e16b4 [GB.REPORT]
* OPT: Allow recursive containers call


git-svn-id: svn://localhost/gambas/trunk@4335 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 10:54:58 +00:00
Radek Fryšták
0d92a0d5d3 [WEB SITE MAKER]
* NEW: Update Czech translation.

[WIKI CGI SCRIPT]
* NEW: Update Czech translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Czech translation.

[GB.FORM.MDI]
* NEW: Update in Czech translation.

[GB.REPORT]
* NEW: Update in Czech translation.

[GB.FORM]
* NEW: Update in Czech translation.

[GB.DB.FORM]
* NEW: Update in Czech translation.

[EXAMPLES]
* NEW: Revision Czech translations for all examples.


git-svn-id: svn://localhost/gambas/trunk@4334 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 21:14:27 +00:00
Benoît Minisini
9bdd2299c0 [GB.FORM]
* NEW: Wizard title look changed.
* NEW: Wizard.TextFont is a new property to define the font of the wizard 
  titles.


git-svn-id: svn://localhost/gambas/trunk@4332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 14:24:44 +00:00
Benoît Minisini
7f7af4efd4 [GB.FORM]
* BUG: Fix initial TabPanel layout.


git-svn-id: svn://localhost/gambas/trunk@4331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 14:08:33 +00:00
Benoît Minisini
079cd4428e [GB.FORM]
* BUG: TabPanel now can deal with tab buttons larger than the available 
  width.
* NEW: TabPanel.Remove() and TabPanel.Current were implemented.


git-svn-id: svn://localhost/gambas/trunk@4329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 13:50:29 +00:00
Fabien Bodard
80c7413099 [GB.REPORT]
* BUG: Really resolve the problem of cutted row at the bottom of the page


git-svn-id: svn://localhost/gambas/trunk@4328 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 12:23:32 +00:00
Benoît Minisini
29495fead4 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new _DefaultArrangement constant.
* NEw: Use TabPanel instead of TabStrip is a few places.

[GB.FORM]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.
* NEW: DirChooser.Border is a new property that defines if the DirChooser
  control has a plain border or no border at all.
* NEW: FileChooser.Border is a new property that defines if the FileChooser
  control has a plain border or no border at all.
* NEW: TabPanel is new container that behaves like a TabStrip, but with a 
  thin removable border.

[GB.FORM.MDI]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.GTK]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.QT4]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.REPORT]
* BUG: Define the _DefaultArrangement property for containers.


git-svn-id: svn://localhost/gambas/trunk@4327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 04:08:37 +00:00
Fabien Bodard
43ba7d5c9e [GB.REPORT]
* OPT: restore DataIndex Property


git-svn-id: svn://localhost/gambas/trunk@4326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 00:04:47 +00:00
Fabien Bodard
c1792610b7 [GB.REPORT]
* NEW: _Data event now have a parameter Index. The DataIndex 
  propety have been removed
* BUG: Correction on the clip size


git-svn-id: svn://localhost/gambas/trunk@4325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 23:47:12 +00:00
Benoît Minisini
32fb67e8e2 [DEVELOPMENT ENVIRONMENT]
* NEW: Use space instead of slash as separator inside ReportBorder property 
  values.
* NEW: Handle synchronize button for round corners in the ReportBorder 
  chooser dialog.
* BUG: Fix the round rectangle drawing function.

[GB.REPORT]
* NEW: Use space instead of slash as separator inside ReportBorder property 
  values.
* BUG: Fix the round rectangle drawing function.


git-svn-id: svn://localhost/gambas/trunk@4324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 22:09:45 +00:00
Benoît Minisini
60ccd64a51 [DEVELOPMENT ENVIRONMENT]
* BUG: Use editor colors to display editor tooltip or errors, so that they
  are always visible.

[GB.FORM]
* NEW: Some design changes in the FileChooser and DirChooser controls
* BUG: IconView.Clear correctly resets the inner view dimension.


git-svn-id: svn://localhost/gambas/trunk@4322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 01:36:14 +00:00
Benoît Minisini
2819ca8122 [DEVELOPMENT ENVIRONMENT]
* NEW: In the report border chooser dialog, round borders can be 
  synchonized like normal borders. This is not taken into account by the
  implementation at the moment.

[GB.QT4]
* NEW: Paint.Reset() works like gb.gtk.
* BUG: Printer.PaperWidth and Printer.PaperHeight values are rounded now.


git-svn-id: svn://localhost/gambas/trunk@4320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 00:35:46 +00:00
Benoît Minisini
4cd4b4a766 [GB.GTK]
* BUG: Fix Printer paper and orientation management.
* BUG: Paint.Reset() now resets the matrix to its initial value, that is 
  not necessarily the identity when painting on a Printer!


git-svn-id: svn://localhost/gambas/trunk@4319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 22:54:10 +00:00
Fabien Bodard
805e8c3ad9 [GB.REPORT]
* NEW: ReportSvgImage have the same properties than 
  ReportImage (StretchMode, Alignment)


git-svn-id: svn://localhost/gambas/trunk@4318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 19:44:49 +00:00
Benoît Minisini
9b1f2cce98 [GB.REPORT]
* BUG: Fix preview so that no useless scrollbar is displayed in "fit to 
  page" mode.


git-svn-id: svn://localhost/gambas/trunk@4314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 14:05:50 +00:00
Fabien Bodard
ade026fd48 [GB.REPORT]
* OPT: debug messages on preview to see the gtk problem



git-svn-id: svn://localhost/gambas/trunk@4308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 20:04:00 +00:00
Fabien Bodard
67662421ff [GB.REPORT]
* BUG: Some minor bugs corrected


git-svn-id: svn://localhost/gambas/trunk@4306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 10:51:13 +00:00
Fabien Bodard
8171ad905f [GB.REPORT]
* BUG: Now the full layout really reset all sections


git-svn-id: svn://localhost/gambas/trunk@4305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 08:38:19 +00:00
Benoît Minisini
2cb3f5f92c [GB.REPORT]
* BUG: Remove the Report11.report file that was alone, without any class 
  file.


git-svn-id: svn://localhost/gambas/trunk@4304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 01:56:19 +00:00
Fabien Bodard
bfa7037499 [GB.REPORT]
* BUG: Correct the problem on font size by use paint.resolution on font.height


git-svn-id: svn://localhost/gambas/trunk@4301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 23:42:59 +00:00
Fabien Bodard
580bf993d5 [GB.REPORT]
* BUG: Don't use the printer resolution for the layout... font.heigth return
  a size that depend of the current device resolution. I must to change the size compute
  for label and texlabel.


git-svn-id: svn://localhost/gambas/trunk@4300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 23:33:57 +00:00
Fabien Bodard
e48d87c03f [GB.REPORT]
* BUG: Resolve all resolution problems by calculate the render size at the drawing time.
* OPT: Report manage internally the paper size


git-svn-id: svn://localhost/gambas/trunk@4298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 22:42:37 +00:00
Benoît Minisini
dd53f62f23 [GB.DBUS]
* NEW: DBus.Name is a new property that allows to define the name used for
  registering the application on the bus. You must define this property 
  before registering any object.


git-svn-id: svn://localhost/gambas/trunk@4292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 00:44:53 +00:00
Fabien Bodard
c66ec7e0fd git-svn-id: svn://localhost/gambas/trunk@4289 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2011-12-18 21:10:28 +00:00
Fabien Bodard
081678b47e [GB.REPORT]
* NEW: Print function that allow to bypass the preview window and just show the 
printer config window



git-svn-id: svn://localhost/gambas/trunk@4288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 21:08:41 +00:00
Benoît Minisini
59e1c9cee0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix management of forms that are multicontainers, like Report.
* BUG: Convert Draw.BackColor and Draw.ForeColor from Gambas 2 to Gambas 3.


git-svn-id: svn://localhost/gambas/trunk@4287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 21:00:01 +00:00
Fabien Bodard
29e760b7c0 [GB.REPORT]
* NEW: New properties Paper and Orientation allow to setup the printer size, and
  so the preview size.


git-svn-id: svn://localhost/gambas/trunk@4286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 18:49:31 +00:00
Benoît Minisini
3d934b455c [DEVELOPMENT ENVIRONMENT]
* OPT: The project file creation dialog initalizes its file browser later.

[INTERPRETER]
* BUG: Use sigsetjmp() instead of setjmp() as expected by the memory check 
  functions.

[GB.FORM.MDI]
* BUG: Do not use symbolic links, but real image files for action icons.

[GB.SIGNAL]
* BUG: Fix some warnings on BSD.


git-svn-id: svn://localhost/gambas/trunk@4284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 03:03:07 +00:00
Fabien Bodard
9921f8e114 [GB.REPORT]
* BUG: Change the SizeInt for column


git-svn-id: svn://localhost/gambas/trunk@4283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-17 20:41:50 +00:00
Fabien Bodard
63e7d518bc [GB.REPORT]
* NEW: ReportVPanel widget and arrange.Column arrange controls in columns
* BUG: Layout now correctly reset dataindex



git-svn-id: svn://localhost/gambas/trunk@4282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-17 20:25:27 +00:00
Fabien Bodard
7fc02a9d07 [GB.REPORT]
* NEW: A new property on reportLabel "Rotate" allow to give an angle to the text.
  The text is forced to align center if an angle is given.
  


git-svn-id: svn://localhost/gambas/trunk@4281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-17 15:39:31 +00:00
Fabien Bodard
e10ed38184 [GB.REPORT]
* BUG: MTool.PixelToUnit now take a Float


git-svn-id: svn://localhost/gambas/trunk@4276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-12 21:45:34 +00:00
Fabien Bodard
e5c9e17b6c [GB.REPORT]
* NEW: The clipping is active so now text, picture can't be drawn outside
  of there containers
* BUG: some change in the containers size computing.
* BUG: Padding is now taked ino account in reportimage in stretchmode fill.


git-svn-id: svn://localhost/gambas/trunk@4274 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 20:59:48 +00:00
Benoît Minisini
200a429afc [DEVELOPMENT ENVIRONMENT]
* NEW: New "Gamabs" highlight theme.
* BUG: When showing the search dialog, the search text is correctly 
  selected in all cases now.
* BUG: Importing a report (or any form that is not a GUI form) now 
  correctly imports the class file.

[EXAMPLES]
* NEW: Add a text clipping example in the 'Painting' example.

[INTERPRETER]
* OPT: Replace() is now faster when the search string and the replace
  string are both one character length strings.

[COMPILER]
* NEW: The string escape character '\v' was added.

[GB.GTK]
* BUG: Paint.Text() now works correctly when the alignment is not 
  specified.

[GB.NET]
* BUG: Correctly check system errors when using a asynchronous DnsClient.

[GB.QT4]
* BUG: Paint.Save() and Paint.Restore() take the clipping path into account 
  now.

[GB.SETTINGS]
* NEW: Use a temporary file when saving a settings file, and always make a
  backup.

[GB.WEB]
* NEW: The Session.Modify() method was replaced by a read/write Modified 
  property.


git-svn-id: svn://localhost/gambas/trunk@4273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 19:14:04 +00:00
Fabien Bodard
f173a43bba [GB.REPORT]
* NEW: ReportTextLabel have now a Data event and a Data Property
* BUG: ReportTextLabel now use RichTextExtend
* OPT: I've removed the wordwrap property
* NEW: Begin To implement ReportDrawingArea widget
  It's a simple widget with a draw event.


git-svn-id: svn://localhost/gambas/trunk@4272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 15:45:38 +00:00
Fabien Bodard
d28e770be9 [GB.REPORT]
* NEW: Round corner are activated but you can only access from code
  ex: label.border.roundcorner.TopLeft="2mm/4mm"
  If round corner are used all the borders are the same color and 
  the same size. for this time.
 


git-svn-id: svn://localhost/gambas/trunk@4271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-10 21:04:03 +00:00
Fabien Bodard
5df307ead0 [GB.REPORT]
* NEW: Now use ctrl key+ wheel to zoom on preview
* BUG: The section are not repeated


git-svn-id: svn://localhost/gambas/trunk@4270 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-10 09:10:45 +00:00
Fabien Bodard
ba2bfa8487 [GB.REPORT]
* NEW: Big change in the data event, now the index is not given by the procedure
  you need to use Last.DataIndex instead. You need to change all the _data(Index as integer)
  signatures by _Data().
* BUG: replace full by fill.
* NEW: ReportControl have new property DataIndex that give the current data index



git-svn-id: svn://localhost/gambas/trunk@4269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-09 22:07:40 +00:00
Fabien Bodard
378a10d830 git-svn-id: svn://localhost/gambas/trunk@4268 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2011-12-09 21:25:09 +00:00
Fabien Bodard
7d26cdd072 [GB.REPORT]
* NEW: The boolean Strech property of reportimage become StrechMode property 
  and can have 3 different mode (default=None, Proportional, Fill)
* NEW: A new property Alignment in reportimage that can take value from the ALign
  class, and set the alignment of the picture in the Reportimage.
* OPT: some hidden properties added to ReportPadding.



git-svn-id: svn://localhost/gambas/trunk@4267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-09 21:24:24 +00:00
Fabien Bodard
3cc0a0a80b [GB.REPORT]
* OPT: Many changes in the code layout. All the reportcontrole use now 
  common routines, so they act strictly on the same way with less codes lines.
* NEW: ReportTextLabel and ReportSvgImage work


git-svn-id: svn://localhost/gambas/trunk@4266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-09 13:34:34 +00:00
Fabien Bodard
4cb015bfde [GB.REPORT]
* OPT: Set all object with same react to arrangement


git-svn-id: svn://localhost/gambas/trunk@4265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-08 21:57:25 +00:00
Fabien Bodard
90652600e4 [GB.REPORT]
* BUG: Label keep it's size if not expanded


git-svn-id: svn://localhost/gambas/trunk@4264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-04 20:51:20 +00:00
Fabien Bodard
35d55adee5 [GB.REPORT]
* BUG: Allow void image


git-svn-id: svn://localhost/gambas/trunk@4263 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-30 22:41:19 +00:00
Fabien Bodard
466bab50c5 [GB.REPORT]
* BUG: Now the ReportImage layout work well
* NEW: The Autoresize is active


git-svn-id: svn://localhost/gambas/trunk@4262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-30 22:12:22 +00:00
Fabien Bodard
4da1b1813b [GB.REPORT]
* OPT: Changes in the label layout
* NEW: The ReportImage have now a data event and a data property


git-svn-id: svn://localhost/gambas/trunk@4261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-30 21:11:10 +00:00
Fabien Bodard
dd5a982bb1 [GB.REPORT]
* BUG: Correct the HBox and Label layout


git-svn-id: svn://localhost/gambas/trunk@4260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-29 22:25:30 +00:00
Fabien Bodard
817982c990 [GB.REPORT]
* NEW: a new property DataCount in ReportContainer that repeat the container 
  n time, and increment the internal index
* NEW: a new Event Data in ReportLabel
* NEW: a new Data property to return the data during the Data event.
* BUG: Some changes in the VSizeInt.


git-svn-id: svn://localhost/gambas/trunk@4259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-28 23:16:11 +00:00
Fabien Bodard
e57e77690f [GB.REPORT]
* BUG: All the fixed, objects are correctly taked into account during the sizehint.


git-svn-id: svn://localhost/gambas/trunk@4258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-27 11:20:34 +00:00
Benoît Minisini
251e172f60 [GB.EVAL.HIGHLIGHT]
* NEW: Some little enhancements in CSS highlighting.

[GB.QT4.EXT]
* BUG: A little fix in undo management during an highlighting process.

[GB.WEB]
* NEW: Session.Modify() is a new method to mark the session as modified so 
  that it is automatically saved.


git-svn-id: svn://localhost/gambas/trunk@4256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-25 00:43:57 +00:00
Benoît Minisini
877e447860 [GB.FORM]
* BUG: Popup menu is now disabled in MaskBox control.

[GB.GTK]
* BUG: Stop Event correctly cancels Menu events.


git-svn-id: svn://localhost/gambas/trunk@4245 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-13 22:22:22 +00:00
Benoît Minisini
29a44809e1 [GB.FORM]
* BUG: Make gb.form compile correctly.


git-svn-id: svn://localhost/gambas/trunk@4240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-10 20:31:17 +00:00
Benoît Minisini
8163a28003 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly translate numerals inside error messages.

[COMPILER]
* BUG: Raise an error when the default case of a SELECT statement is not 
  the last one.
* BUG: Raise an error when the default case of a SELECT statement is 
  defined twice.


git-svn-id: svn://localhost/gambas/trunk@4239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-10 10:09:25 +00:00
Benoît Minisini
32db90034c [GB.FORM]
* BUG: IconPanel.Count property can be decremented without crashing now.


git-svn-id: svn://localhost/gambas/trunk@4237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-09 23:11:03 +00:00
Benoît Minisini
c700ef04ed [WEB SITE MAKER]
* NEW: Design changes.

[GB.GTK]
* BUG: Fix ColumnView column width management.
* BUG: Fix the relation between a modal dialog and its parent window.

[GB.QT4]
* BUG: Fix ColumnView AutoResize property management.


git-svn-id: svn://localhost/gambas/trunk@4236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-06 20:12:51 +00:00
Benoît Minisini
55ee088b16 [GB.EVAL.HIGHLIGHT]
* BUG: Fix HTML highlighting routine.


git-svn-id: svn://localhost/gambas/trunk@4228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-01 01:56:19 +00:00
Benoît Minisini
868fa6cda9 [CONFIGURATION]
* NEW: Switch version to 2.99.6.

[DEVELOPMENT ENVIRONMENT]
* BUG: Ignore labels in code editor's control structure automatic 
  completion.

[GB.GTK]
* BUG: Fix popup management for some widget styles.


git-svn-id: svn://localhost/gambas/trunk@4225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-30 17:47:29 +00:00
Benoît Minisini
1648dc4803 [GB.FORM]
* BUG: Fix a possible crash in the IconView.Key property.



git-svn-id: svn://localhost/gambas/trunk@4209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-23 17:20:17 +00:00
Benoît Minisini
e680d4fe9b [DEVELOPMENT ENVIRONMENT]
* BUG: The form editor now embeds controls in a container that depens on 
  the form family (a Panel for a Form, a ReportPanel for a Report).

[INTERPRETER]
* BUG: Fix loop management when big negative values are used.

[GB.REPORT]
* NEW: Add an icon for the ReportPanel control.


git-svn-id: svn://localhost/gambas/trunk@4206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-20 00:03:25 +00:00
Fabien Bodard
0a6e293d6f [GB.REPORT]
* OPT: Hide Key and Data properties, they are not usable for now



git-svn-id: svn://localhost/gambas/trunk@4204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-17 10:06:11 +00:00
Fabien Bodard
dd3b7e9967 [GB.REPORT]
* NEW: Now an ignored control can be fixed ... welcome to the watermark !


git-svn-id: svn://localhost/gambas/trunk@4198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 15:16:19 +00:00
Fabien Bodard
bf32589f4f [GB.REPORT]
* BUG: Some other arrange bug corrected ... now the pages match with elements to show.
* OPT: Some Code cleanning


git-svn-id: svn://localhost/gambas/trunk@4197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 15:08:15 +00:00
Fabien Bodard
fb69096c63 [GB.REPORT]
* BUG: Now Horizontal arrangement really work and take ignored control into account


git-svn-id: svn://localhost/gambas/trunk@4196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 13:59:05 +00:00
Fabien Bodard
e90e31e1ad [GB.REPORT]
* NEW: ReportPanel come back, it have 4 arrangement possibility (None, Vertical, Horizontal, Fill)
  Only the vertical arrangement allow to depoy new pages automatiquely.
* NEW: The Left and TOP properties now allow free placement on arrange.none or when the controle 
  have ignored property set to true. They support relative placement too.
* NEW: The ignore property now work well.




git-svn-id: svn://localhost/gambas/trunk@4195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 12:37:19 +00:00
Fabien Bodard
6015d80967 [GB.REPORT]
* BUG: The arrangement really work now
* NEW: Left and Top properties allow relative position for ignored elements
* NEW: Fixed elements can be expanded



git-svn-id: svn://localhost/gambas/trunk@4194 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 07:58:39 +00:00
Fabien Bodard
efbabb65ca [GB.REPORT]
* BUG: Begin arrangement algorytm  correction



git-svn-id: svn://localhost/gambas/trunk@4193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-13 17:23:12 +00:00
Benoît Minisini
07e8a246f0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix arrangement of translation dialog.

[WEB SITE MAKER]
* NEW: Update for Gambas 3 RC5.

[GB.FORM]
* BUG: Fix compilation of gb.form.


git-svn-id: svn://localhost/gambas/trunk@4192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-10 19:35:34 +00:00
Benoît Minisini
7e704c0ba7 [GB.GTK]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
  properties that return the color used by tooltips.

[GB.QT4]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
  properties that return the color used by tooltips.


git-svn-id: svn://localhost/gambas/trunk@4189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-09 20:27:10 +00:00
Benoît Minisini
f1e042543d [INTERPRETER]
* BUG: Try to not lose the value of 'errno' if the select() system call 
  fails inside the event loop.

[GB.GTK]
* BUG: Fix arrangement when there is no place for expanded controls.

[GB.QT4]
* BUG: Fix arrangement when there is no place for expanded controls.


git-svn-id: svn://localhost/gambas/trunk@4182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-09 02:05:07 +00:00
Benoît Minisini
7466e544db [DEVELOPMENT ENVIRONMENT]
* NEW: Use Key.Escape instead of Key.Esc. Key.Esc will be removed sooner 
  or later.
* NEW: In the form editor, a control being created now has its handles.
* NEW: The form editor selection frame is transparent now.

[EXAMPLE]
* BUG: Fix Puzzle1To8 example key handling.

[GB.FORM]
* NEW: Use Key.Escape instead of Key.Esc.

[GB.GTK]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
  you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.

[GB.QT4]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
  you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.


git-svn-id: svn://localhost/gambas/trunk@4169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-02 14:09:39 +00:00
Benoît Minisini
1bbcb751de [GB.QT4]
* BUG: Remove an apparently now useless trick in GridView Change event
  management.


git-svn-id: svn://localhost/gambas/trunk@4168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-02 02:28:33 +00:00
Benoît Minisini
15e0dbc8bc [GB.WEB]
* BUG: Be robust against malformed cookies.


git-svn-id: svn://localhost/gambas/trunk@4161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-28 13:05:30 +00:00
Benoît Minisini
7a445217f2 [DEVELOPMENT ENVIRONMENT]
* NEW: Javascript compression now compress local variable names.
* BUG: Fix database manager field creation.

[GB.FORM.STOCK]
* BUG: Fix icons again.

[GB.QT4]
* BUG: Fix GridView Row and Column property.
* BUG: Fix GridView Change event in single selection mode.


git-svn-id: svn://localhost/gambas/trunk@4158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-27 12:36:33 +00:00
Benoît Minisini
2f8719ce28 [GB.FORM.STOCK]
* NEW: Use elementary icons instead of ubuntu ones.


git-svn-id: svn://localhost/gambas/trunk@4157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-26 11:55:11 +00:00
Benoît Minisini
a4402b48bc [DEVELOPMENT ENVIRONMENT]
* NEW: Support for "Gambas" icon theme.

[WEB SITE MAKER]
* NEW: Update for Gambas 3 RC4.

[GB.FORM]
* NEW: Some little clean-up in stock icons management.


git-svn-id: svn://localhost/gambas/trunk@4155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-26 02:19:38 +00:00
Benoît Minisini
84f8f0fa88 [GB.FORM.STOCK]
* NEW: Some missing icons again.


git-svn-id: svn://localhost/gambas/trunk@4152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-25 21:06:25 +00:00
Benoît Minisini
c64ae11354 [GB.FORM.STOCK]
* NEW: some missing icons.


git-svn-id: svn://localhost/gambas/trunk@4151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-25 20:15:56 +00:00
Benoît Minisini
b3185d9e0d [GB.FORM.STOCK]
* NEW: Remove "modem" icon.


git-svn-id: svn://localhost/gambas/trunk@4150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-25 19:52:32 +00:00
Benoît Minisini
ad3fc503a4 [GB.FORM.STOCK]
* NEW: "heart" stock icon.


git-svn-id: svn://localhost/gambas/trunk@4149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-25 19:45:44 +00:00
Benoît Minisini
95430e59e0 [GB.FORM.STOCK]
* NEW: "hardware" stock icon.


git-svn-id: svn://localhost/gambas/trunk@4148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-25 19:12:26 +00:00
Radek Fryšták
1a08dc94c3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech translation

[WEB SITE MAKER]
* NEW: Update czech translation

[GB.FORM.MDI]
* NEW: Update czech translation

[GB.REPORT]
* NEW: Update czech translation

[GB.FORM.DIALOG]
* NEW: Update czech translation

[GB.FORM]
* NEW: Update czech translation

[GB.DB.FORM]
* NEW: Update czech translation

[EXAMPLES]
* NEW: Update czech translation for GNUBoxWorld
* NEW: Update czech translation for CDPlayer
* BUG: Fix create CD-ROM class a to netbook without CD-ROM.



git-svn-id: svn://localhost/gambas/trunk@4147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-24 19:14:42 +00:00
Benoît Minisini
990180be34 [INTERPRETER]
* OPT: Internal conversions between unicode and utf-8 have been optimized.
* OPT: String.UCase(), String.LCase() and String.Chr() have been optimized.
* BUG: Arrays of classes exported from a component or a library are now
  automatically exported too.
* NEW: Param.All is a new property that returns all extra arguments as an
  array.


git-svn-id: svn://localhost/gambas/trunk@4143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-21 09:42:19 +00:00
Benoît Minisini
ee80fb4118 [INTERPRETER]
* BUG: Fix String.Pos(), and String.InStr() with a third argument.

[GB.QT4]
* BUG: GridView: Fix how the Change event is raised in single selection 
  mode.


git-svn-id: svn://localhost/gambas/trunk@4140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-19 01:16:29 +00:00
Benoît Minisini
5ba145d20e [GB.FORM.MDI]
* BUG: Fix the shortcut editor dialog.

[GB.GTK]
* NEW: Setting the current GridView row to a valid value now automatically 
  set the current column to zero if there is no current column.

[GB.QT4]
* NEW: Setting the current GridView row to a valid value now automatically 
  set the current column to zero if there is no current column.


git-svn-id: svn://localhost/gambas/trunk@4139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 20:37:51 +00:00
Benoît Minisini
b51126a160 [GB.WEB]
* BUG: Support for posted requests whose charset is specified in the 
  "Content-Type" header.


git-svn-id: svn://localhost/gambas/trunk@4138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 20:17:43 +00:00
Benoît Minisini
25cd30df20 [GB.FORM]
* BUG: Fix InputBox layout.

[GB.GTK]
* BUG: Fix initial window position.


git-svn-id: svn://localhost/gambas/trunk@4137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 20:04:14 +00:00
Benoît Minisini
c900daba16 [EXAMPLES]
* NEW: Fix video examples according to the last changes in gb.v4l.


git-svn-id: svn://localhost/gambas/trunk@4128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-14 15:30:30 +00:00
Benoît Minisini
8eb1a35189 [EXAMPLES]
* NEW: Apply the gb.pdf changes to the PDFViewer example.

[GB.PDF]
* BUG: Remove a debugging message and fix the return value of the Find() 
  method.

[GB.FORM]
* NEW: Add a Click and a Change event to the DateBox control. The Click
  event is raised when the popup is closed.


git-svn-id: svn://localhost/gambas/trunk@4120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-12 14:20:45 +00:00
Benoît Minisini
68a234649f [GB.SETTINGS]
* NEW: Remove the useless Settings.Array() method.


git-svn-id: svn://localhost/gambas/trunk@4118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 22:45:12 +00:00
Benoît Minisini
9ea298d688 [GB.DB.SQLITE3]
* BUG: Fix some error messages.

[GB.SETTINGS]
* BUG: Settings.ReadWindow() and Settings.WriteWindow() are now private.

[GB.WEB]
* BUG: WebPage class is not exported anymore.


git-svn-id: svn://localhost/gambas/trunk@4117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 22:05:53 +00:00
Benoît Minisini
0ab71b28bf [INTERPRETER]
* OPT: Don't use glibc memcmp() to compare strings. My own routine is a 
  little faster according to valgrind.
* OPT: The UTF-8 String class routines Left(), Mid() and Right() have been 
  optimized. The positions of the first 256 characters of the last string 
  processed by the String class are cached.
* OPT: Some native methods can be called like any other native subroutines.
  But that can be used only inside the interpreter, not in a component.
* OPT: The '&' operator is faster now when it takes two arguments only (the
  most frequent case).


git-svn-id: svn://localhost/gambas/trunk@4106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-08 16:01:36 +00:00
Benoît Minisini
1ab9a64c99 [DEVELOPMENT ENVIRONMENT]
* NEW: When inserting an existing module, class, form... the file view
  automatically show hidden files so that the ".src" directory inside 
  Gambas projects is always visible.

[GB.FORM]
* NEW: DirView.Settings is a new property that allows the Settings class to
  automatically save or restore settings through its Read and Write 
  methods.
* BUG: Fix the management of the ShowHidden property in FileView.
* BUG: Fix how FileView settings are saved and restored.


git-svn-id: svn://localhost/gambas/trunk@4103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 01:58:03 +00:00
Benoît Minisini
070f4dff00 [GB.FORM.MDI]
* BUG: Workspace with bottom orientation correclty shows its tabbar again.


git-svn-id: svn://localhost/gambas/trunk@4102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 00:34:28 +00:00
Benoît Minisini
19d536a912 [DEVELOPMENT ENVIRONMENT]
* OPT: Project items contents is loaded from disk only if the project items
  is visible.

[WIKI CGI SCRIPT]
* BUG: Symbol syntax for array writing has been fixed.

[EXAMPLES]
* NEW: Update example project titles.
* NEW: AnalogWatch has been rewritten with the Paint class.

[GB.FORM]
* BUG: FileView works correctly again.


git-svn-id: svn://localhost/gambas/trunk@4099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 18:31:30 +00:00
Benoît Minisini
7a03d0ebfb [DEVELOPMENT ENVIRONMENT]
* BUG: Fix desktop detection in the system information dialog.
* BUG: Recent projects are correctly filtered now the second time the 'open
  project dialog' is opened.

[WIKI CGI SCRIPT]
* BUG: Fix the TODO page when showing which symbols have no documentation.

[GB.FORM]
* BUG: FileView now ignores unreadable directories.

[GB.FORM.MDI]
* NEW: Action.ConfigureToolbar has been hidden as Action._ConfigureToolbar.

[GB.GTK]
* NEW: Action.Register has been hidden as Action._Register.

[GB.QT4]
* NEW: Action.Register has been hidden as Action._Register.


git-svn-id: svn://localhost/gambas/trunk@4092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:57:05 +00:00
Jordi Sayol
54c5fdcbe8 [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Updated Catalan translation.

[GB.REPORT]
* NEW: Updated Catalan translation.

[GB.DB.FORM]
* NEW: Updated Catalan translation.

[EXAMPLES]
* NEW: Updated WebBrowser Catalan translation.
* NEW: Updated TreeView Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:12:20 +00:00
Benoît Minisini
db816a04e2 [WIKI CGI SCRIPT]
* NEW: Do not use the cache anymore.

[EXAMPLES]
* BUG: Fix some form layout in the Database example.

[GB.DB.FORM]
* BUG: DataBrowser is correctly updated now when its DataSource changes.


git-svn-id: svn://localhost/gambas/trunk@4081 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 02:08:04 +00:00
Benoît Minisini
5b853ba5f3 [INTERPRETER]
* NEW: Quote comma in Html$().

[GB.WEB]
* NEW: Response.SetCookie() has a new optional argument to set if the 
  cookie is "HttpOnly".
* NEW: Session cookies are now automatically "HttpOnly".


git-svn-id: svn://localhost/gambas/trunk@4079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-03 09:52:28 +00:00
Benoît Minisini
2afe7d8f6b [DEVELOPMENT ENVIRONMENT]
* NEW: Some cosmetic changes in system information dialog and tips dialog.


git-svn-id: svn://localhost/gambas/trunk@4076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-02 16:44:20 +00:00
Benoît Minisini
0c6a0e39c5 [GB.QT4]
* OPT: Optimizations in the Action property management.

[GB.GTK]
* OPT: Optimizations in the Action property management.


git-svn-id: svn://localhost/gambas/trunk@4073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 14:19:34 +00:00
Benoît Minisini
52552bd548 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a project filter in the recent project list of the welcome 
  dialog.

[GB.REPORT]
* BUG: Fix a typo mistake in ReportVBox class.


git-svn-id: svn://localhost/gambas/trunk@4070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 00:39:54 +00:00
Benoît Minisini
b452559b5d [INTERPRETER]
* BUG: When checking inheritance, ignore the case of the "_new" special 
  method name.

[GB.REPORT]
* BUG: Fix some bad method overrides.


git-svn-id: svn://localhost/gambas/trunk@4067 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-31 02:35:54 +00:00
Benoît Minisini
252895cdc6 [WEB SITE MAKER]
* BUG: Fix PayPal link.
* BUG: Fix default font in style sheets.

[INTERPRETER]
* BUG: Now an inherited method checks that it has the same signature as the
  parent method. This check is not done for a native class inherting 
  another native class. C/C++ programmers are supposed to know what they 
  are doing. :-)

[GB.DB.FORM]
* BUG: Rename all Refresh() methods as Update() in all controls, so that 
  the Refresh() method inherited from Control is not badly overridden.
* NEW: Change the way DataView chooses the height of a row.

[GB.GTK]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments 
  describing the sub-rectangle to refresh.

[GB.QT4]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments 
  describing the sub-rectangle to refresh.


git-svn-id: svn://localhost/gambas/trunk@4064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 23:50:38 +00:00
Benoît Minisini
8f356103af [DEVELOPMENT ENVIRONMENT]
* BUG: The help browser is always refreshed when its treeview is clicked.

[EXAMPLES]
* NEW: Some little changes in TreeView example.
* BUG: Some fixes in WebCam example.

[GB.FORM.STOCK]
* BUG: Add a missing svg stock icon for "bookmark".

[GB.QT4]
* BUG: TrayIcon comes back as a virtual control.

[GB.GTK]
* BUG: TrayIcon comes back as a virtual control.


git-svn-id: svn://localhost/gambas/trunk@4057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:02:36 +00:00
Benoît Minisini
63bc149a14 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a MenuButton instead of a ComboBox to edit list properties.
* BUG: Inserting a new menu in the menu editor correctly selects it.
* BUG: The component property dialog does not crash anymore if there is no
  exported class in the project.

[GB.FORM]
* BUG: Fix mouse events handling in MenuButton controls whose MenuOnly 
  property is TRUE.

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


git-svn-id: svn://localhost/gambas/trunk@4052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 01:07:50 +00:00
Fabien Bodard
6c52565a8b [GB.REPORT]
* NEW: the auto filling system is reactivated, and is near to work perfectly.
* NEW: The report label have now a key property.
* BUG: %any arrangement bugs corrected



git-svn-id: svn://localhost/gambas/trunk@4051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 21:22:38 +00:00
Benoît Minisini
866c681682 [DEVELOPMENT ENVIRONMENT]
* NEW: Fix and enhance the Report brush chooser dialog.
* NEW: Use Color.Gradient instead of Color.Merge.

[GB.FORM.STOCK]
* BUG: Add two missing SVG files for stock icons.

[GB.IMAGE]
* NEW: Color.Gradient() is a new method that creates an intermediate color 
  between two others colors by using a RGB gradient.


git-svn-id: svn://localhost/gambas/trunk@4049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 17:31:51 +00:00
Fabien Bodard
5b68aff097 [GB.REPORT]
*NEW: The Ignore property is now available. It allow to place an object anywhere
      relative to its parent container.
*BUG: The top padding/border and bottom are correctly taked into account for the autoresize computing
*BUG: Now the text is clipped




git-svn-id: svn://localhost/gambas/trunk@4047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 14:49:54 +00:00
Benoît Minisini
fa0dd2c956 [WIKI CGI SCRIPT]
* BUG: Fixes in OpenGL automatic documentation.

[GB.DB.FORM]
* NEW: DataView.Labels and DataBrowser.Labels are two new properties that
  define the column labels. If they are not set, the field names are used.

[GB.FORM]
* NEW: MenuButton.MenuOnly is a new property that makes the MenuButton only
  pop up its menu, and never raise its Click event.


git-svn-id: svn://localhost/gambas/trunk@4041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-26 00:00:47 +00:00
Benoît Minisini
567ba1bb1d [EXAMPLES]
* NEW: WebBrowser: Use the 'document.execCommand' JavaScript DOM method to
  make the web browser editable.

[GB.QT4.WEBKIT]
* NEW: WebView.Eval() and WebFrame.Eval() are two new methods that can run
  any piece of JavaScript in the context of a frame.


git-svn-id: svn://localhost/gambas/trunk@4037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-25 01:24:14 +00:00
Benoît Minisini
05cdbfaf61 [DEVELOPMENT ENVIRONMENT]
* NEW: Fix some theme colors.

[EXAMPLES]
* NEW: WebBrowser example: Handle new WebView.Fonts.xxx properties.

[GB.EVAL.HIGHLIGHT]
* NEW: Use alternate background when highlighting scripts and styles inside 
  an HTML document.

[GB.FORM]
* BUG: FileView now correctly ignores errors raised during the Icon event.

[GB.QT4.EXT]
* NEW: Some little changes in the way Editor paint background of lines.

[GB.QT4.WEBKIT]
* NEW: Remove WebView.Cached property, and add a WebSettings.Cache.Enabled 
  property to replace it globally.
* NEW: Replace WebView.Font[] by many WebView.Fonts.xxx properties.
* NEW: Add other WebView.Fonts.xxx properties to define default font sizes.


git-svn-id: svn://localhost/gambas/trunk@4036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-24 07:26:09 +00:00
Benoît Minisini
c00ce9a3fe [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the system information window and its contents.

[INTERPRETER]
* BUG: Do not leak object reference when an error is raised during an event
  handler.
* BUG: When a broken symbolic link is encountered, Dir() now assumes it is
  a file.

[GB.FORM]
* BUG: DirView now correctly ignores errors raised during the Icon event.


git-svn-id: svn://localhost/gambas/trunk@4035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-23 12:51:25 +00:00
Benoît Minisini
5ba33379e6 [GB.FORM]
* NEW: Some updates in stock icons maps.

[GB.FORM.STOCK]
* NEW: Update icons.


git-svn-id: svn://localhost/gambas/trunk@4034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 20:28:00 +00:00
Benoît Minisini
bb90705517 [WIKI CGI SCRIPT]
* NEW: Tons of new changes to make a better automatic documentation of
  virtual classes.
* NEW: Support for indonesian translation.
* NEW: Page renaming has a new option to do a copy instead.

[GB.FORM]
* BUG: Replace an old _IconViewItem reference by the new _IconView_Item.


git-svn-id: svn://localhost/gambas/trunk@4031 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 01:46:18 +00:00
Benoît Minisini
9488c7aff7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion now displays hidden symbols if the class is 
  part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
  anymore.

[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
  easily extract the property name of the parent class from the virtual
  class name. For example, ".ApplicationArgs" is now ".Application.Args".


git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 21:46:20 +00:00
Benoît Minisini
583d2fc31e [GB.FORM]
* BUG: Setting DirChooser (or FileChooser) Root property correctly updates
  the bookmark button.
* BUG: DirChooser (or FileChooser) parent directory button is drawn 
  correctly with gb.gtk now.

[GB.GTK]
* BUG: Fix Picture.Fill() method with GTK+ >= 2.24.
* BUG: Remove window resize grips with GTK+ >= 2.24.



git-svn-id: svn://localhost/gambas/trunk@4025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 13:22:52 +00:00
Benoît Minisini
3407013046 [DEVELOPMENT ENVIRONMENT]
* NEW: In the library tab of the project property dialog, display the
  dependencies of the libraries.
* NEW: Add a button to only display exported classes in the project tree.

[INTERPRETER]
* NEW: Loading a user library now automatically loads the other libraries
  it depends on, as well as the components.

[GB.FORM]
* BUG: Fix orientation of "clear" stock icon for KDE4.


git-svn-id: svn://localhost/gambas/trunk@4024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 02:27:16 +00:00
Benoît Minisini
da7d1f8305 [DEVELOPMENT ENVIRONMENT]
* BUG: Display recursive error messages sent by the debugger correctly.

[GB.REPORT]
* BUG: Fix incorrect inheritances.


git-svn-id: svn://localhost/gambas/trunk@4017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 01:31:42 +00:00
Benoît Minisini
93137105d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The startup class icon is now just drawn with a dark outline.
* NEW: Error messages updated.
* NEW: French translation updated.

[INTERPRETER]
* NEW: Inheritance is stricter now: the child symbol must have exactly the
  same kind than the parent symbol.
* BUG: A child method must return the same datatype as its parent method 
  now.
* NEW: Gambas 3 executable mime description file and icon have been renamed
  so that they do not conflict with Gambas 2 files.

[GB.FORM]
* BUG: IconView.Find() has been renamed as IconView.FindAt(), to avoid the
  conflict with the inherited UserControl.Find() method.

[GB.FORM.MDI]
* BUG: Workspace.Children has been renamed as Workspace.Windows, because 
  the Workspace.Children property was in conflict with the inherited
  Container.Children property.

[GB.GTK]
* NEW: ListView, TreeView and ColumnView Find() method has been renamed as
  'FindAt' to match the IconView class.

[GB.IMAGE]
* NEW: Color.SetRGB() and Color.SetHSV() are two new methods that takes a
  color as an integer, modifies one of its component, and returns it. They
  are faster than using the ColorInfo class.
* NEW: Color.GetAlpha() returns the alpha component of a color from its
  integer value.

[GB.QT4]
* NEW: ListView, TreeView and ColumnView Find() method has been renamed as
  'FindAt' to match the IconView class.


git-svn-id: svn://localhost/gambas/trunk@4015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 00:33:36 +00:00
Benoît Minisini
6e6d9fd916 [CONFIGURATION]
* BUG: Remove generated ltmain.sh files.


git-svn-id: svn://localhost/gambas/trunk@4007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-10 22:18:30 +00:00
Benoît Minisini
6334bc4a50 [WIKI CGI SCRIPT]
* NEW: Automatic OpenGL documentation.

[GB.DB.FORM]
* NEW: Do not resize automatically the rows in DataView.
* NEW: In Dataview, only resize the current row.

[GB.FORM]
* BUG: IconView MoveFirst(), MoveNext(), MovePrevious() and MoveTo() 
  methods now correctly return TRUE when no item is available.


git-svn-id: svn://localhost/gambas/trunk@3999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 11:51:06 +00:00
Benoît Minisini
5bf9fd613d [EXAMPLES]
* NEW: Use the new OpenGL constants names in OpenGL examples.
* NEW: Add the forgotten TunnelSDL example.

[GB.FORM]
* NEW: IconPanel takes the mouse wheel into account now.


git-svn-id: svn://localhost/gambas/trunk@3990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 19:58:47 +00:00
Benoît Minisini
513c079f15 [DEVELOPMENT ENVIRONMENT]
* NEW: "Pretty print" is now "Format code".
* NEW: New option tab the code formatter in the option dialog.

[GB.FORM]
* NEW: The IconPanel left panel now correctly resizes itself to fit its
  contents.

[GB.GTK]
* NEW: Remove the Window.Type property and the WindowType class.

[GB.QT4]
* NEW: Remove the Window.Type property and the WindowType class.


git-svn-id: svn://localhost/gambas/trunk@3979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 11:22:09 +00:00
Benoît Minisini
cd83028ccd [DEVELOPPEMENT ENVIRONMENT]
* BUG: Modifying table fields and indexes many times now works correctly.
* BUG: Fix drag & drop between two IDE windows.
* NEW: Pretty printer now acts on selected text.
* NEW: CSV import and automatic field conversion now can deal with both
  localized and non-localized data (i.e. floating point numbers with point
  or comma).

[GB.DB]
* BUG: Type mismatch error is correctly raised now when setting the value
  of a Result field.

[GB.DB.FORM]
* BUG: Some fixes in DataComboView.

[GB.FORM]
* NEW: IconPanel now automatically resizes the left panel to fit its 
  contents.


git-svn-id: svn://localhost/gambas/trunk@3971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 16:03:59 +00:00
Benoît Minisini
ecc5e010b5 [DEVELOPMENT ENVIRONMENT]
* BUG: Starting a new search automatically resets the search list.

[EXAMPLES]
* NEW: New OpenGL examples from NeHe tutorials.
* BUG: Remove printing from BarCode example, it does not work anymore.

[GB.DB.FORM]
* NEW: Replace the DataComboMulti control by a DataComboView control. It is
  not completely well tested, but it works better than its predecessor.
* NEW: Data controls icons were redesigned.

[GB.GTK]
* BUG: Fix two crashes in GridView control.

[GB.SDL]
* BUG: Key[x] works correctly with letter keys now.


git-svn-id: svn://localhost/gambas/trunk@3967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-03 19:39:41 +00:00
Benoît Minisini
354ccb681a [GB.WEB]
* BUG: JSON.Decode() now returns NULL if there is no token in the input 
  string.


git-svn-id: svn://localhost/gambas/trunk@3945 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-22 12:35:25 +00:00
Benoît Minisini
5b7b4e72ea [GB.FORM]
* BUG: Really fix the problem with ScrollArea having the Painted property
  set.


git-svn-id: svn://localhost/gambas/trunk@3932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-12 15:39:47 +00:00
Benoît Minisini
5177d66b87 [GB.DB.FORM]
* NEW: DataSource.Count is a new property that returns the number of 
  records of the DataSource.

[GB.FORM]
* BUG: Setting the ScrollArea.Painted property works correctly now.

[GB.GTK]
* BUG: Clean up the MovieBox implementation.
* NEW: MovieBox.Alignment is a new property that defines the alignment of 
  the movie inside the MovieBox frame.
* BUG: Clean up the PictureBox implementation.
* BUG: Fix the PictureBox aligment property.

[GB.QT4]
* NEW: MovieBox.Alignment is a new property that defines the alignment of 
  the movie inside the MovieBox frame.


git-svn-id: svn://localhost/gambas/trunk@3931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-11 20:44:42 +00:00
Jordi Sayol
52875ff96d [GB.REPORT]
* NEW: Add Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@3914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-02 14:04:40 +00:00
Jordi Sayol
20c2961a1f [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.

[WIKI CGI SCRIPT]
* NEW: Update Catalan translation.

[GB.FORM.DIALOG]
* NEW: Update Catalan translation.

[GB.FORM]
* NEW: Update Catalan translation.

[EXAMPLES]
* NEW: Update Catalan translation of few examples.



git-svn-id: svn://localhost/gambas/trunk@3913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-02 13:47:38 +00:00
Benoît Minisini
c70ca687eb [DEVELOPMENT ENVIRONMENT]
* BUG: Circular inheritance does not freeze the automatic completion 
  anymore.
* BUG: Do not hide balloon message displayed on the project tree 
  immediately.

git-svn-id: svn://localhost/gambas/trunk@3901 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-26 22:15:34 +00:00
Benoît Minisini
b831031745 [DEVELOPMENT ENVIRONMENT]
* NEW: Lithuanian translation made by Regimantas Baublys.
* BUG: Fix loading of old Gambas 3 projects without ".src" directory.
* BUG: Multi-dimensional arrays are now correctly displayed by the 
  debugger.

[SCRIPTER]
* BUG: Running a script now correctly returns the value specified by
  the Application.Return property.

[GB.QT4.EXT]
* BUG: Some fixes in the undo/redo management of the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-24 22:33:26 +00:00
Benoît Minisini
bb11cbc696 [SCRIPTER]
* BUG: Don't require /tmp to allow executable files.
* NEW: The name of a cached compile script is now the name of the original 
  script stored in a directory whose name is the MD5 sum.


git-svn-id: svn://localhost/gambas/trunk@3879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-11 01:46:42 +00:00
Benoît Minisini
cf4c8cccad [DEVELOPMENT ENVIRONMENT]
* BUG: Fix Autotools project packaging.
* BUG: Autotools project packaging cannot handle extra packages 
  dependencies.
* BUG: Autotools project packaging does not handle extra files 
  dependencies yet. It will be fixed later.

[GB.FORM]
* BUG: Wizard containers is now an exported hidden class, so that
  automatic completion works in the IDE.


git-svn-id: svn://localhost/gambas/trunk@3874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-08 23:39:22 +00:00
Benoît Minisini
6c182f4472 [GB.FORM]
* BUG: Fix drawing of colorized dates in the DateChooser control.


git-svn-id: svn://localhost/gambas/trunk@3873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-08 13:19:52 +00:00
Benoît Minisini
e376955f63 [DEVELOPMENT ENVIRONMENT]
* BUG: Classes coming from libraries are correctly taken into account in
  automatic completion now.
* BUG: Fix the layout of the help window the first time it is shown.
* NEW: The recent files list should be correctly refreshed now if another 
  Gambas instance updates it.

[WEB SITE MAKER]
* NEW: Update for Gambas 2.23.1.

[WIKI CGI SCRIPT]
* BUG: The front page now is correctly version dependant.
* BUG: Do not add "v3" at the end of a link that has "v2" explicitely.

[INTEPRETER]
* NEW: Stream.Lines is a new property that allows to enumerate a stream 
  line by line until end of stream is reached.

[GB.SETTINGS]
* NEW: The Settings.Path property has been renamed as Settings.DefaultDir.
* NEW: Now Settings.Path returns the path of the settings file on the disk.
* BUG: Use a lock to prevent simultaneous writings of the same settings 
  file.

[GB.QT4.EXT]
* BUG: Fix how the cursor is ensured to be visible in the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-27 18:46:56 +00:00
Radek Fryšták
39ad971855 [WEB SITE MAKER]
* NEW: Czech translation update

[GB.REPORT]
* NEW: Czech translation update

[GB.FORM.DIALOG]
* NEW: Czech translation update

[GB.FORM]
* NEW: Czech translation update


git-svn-id: svn://localhost/gambas/trunk@3859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-25 18:21:45 +00:00
Benoît Minisini
08b88056cf [EXAMPLES]
* NEW: A new example based on the GNU Scientific Library, made by Juergen 
  Zdero and modified by me.


git-svn-id: svn://localhost/gambas/trunk@3857 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-22 18:10:53 +00:00
Benoît Minisini
085f879256 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix keyboard handling in editor procedure list.

[WEB SITE MAKER]
* NEW: Activate the Gambas 3 download button.

[WIKI CGI SCRIPT]
* NEW: Use a combo-box now for selecting the current version.

[GB.GTK]
* BUG: Remove some debugging stuff in the Printer class.

[GB.FORM]
* NEW: Add an "open in file manager" action in FileChooser and DirChooser
  controls, when the gb.desktop component is loaded.


git-svn-id: svn://localhost/gambas/trunk@3856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-22 15:07:53 +00:00
Benoît Minisini
968df3d531 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix focus problem with FileChooser controls.
* BUG: Symbolic links can be deleted from the project tree now.

[GB.FORM]
* BUG: FileChooser control does not force focus anymore.
* NEW: Setting the focus on FileChooser explicitely gives the focus to 
  the file name textbox.


git-svn-id: svn://localhost/gambas/trunk@3854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-21 01:48:43 +00:00
Benoît Minisini
a3198eeb09 [DEVELOPMENT ENVIRONMENT]
* NEW: Disable kill buttons correctly in database editor window.

[GB.FORM]
* BUG: Fix a possible crash in TableView when the editor control is moved.

[GB.QT4]
* NEW: The GridView Change event is raised when there is no current row 
  now.


git-svn-id: svn://localhost/gambas/trunk@3843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 22:21:23 +00:00
Benoît Minisini
7ead23fc59 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix property sheet editor position.
* BUG: Table properties can be cleared with the DELETE or BACKSPACE key.
* BUG: Do not use natural sort to sort the procedure list, so that special
  methods come first.
* BUG: The current procedure should be visible now when opening the 
  procedure list.
* NEW: New IDE logo, with some orange inside. :-)

[GB.DB.FORM]
* BUG: Fix the "Bad Row index" error when there is no current row in the 
  DataView control.

[GB.QT4]
* BUG: GridView now raise the Scroll event immediately and correctly.

[GB.QT4.EXT]
* BUG: Try to fix the Editor method ensuring that the current position is 
  visible.


git-svn-id: svn://localhost/gambas/trunk@3839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 14:28:07 +00:00
Benoît Minisini
bad51945c1 [GB.FORM]
* BUG: ScrollArea and IconView controls now take the Enabled property into 
  account.

[GB.GTK]
* BUG: gb.gtk compiles with older version of GTK+ again.

[GB.IMAGE]
* NEW: Color.Desaturate() is a new method that desaturates a color.


git-svn-id: svn://localhost/gambas/trunk@3837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-09 08:39:46 +00:00
Benoît Minisini
c0f0c292ff [GB.GTK]
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new 
  properties that return the GridView contents size.
* BUG: Fix TextBox minimum height.
* BUG: Keyboard support of GridView is the same as in gb.qt4 now.
* BUG: Remove a warning message in GridView code.

[GB.QT4]
* BUG: Fix GridView ClientWidth and ClientHeight properties, so that they
  return the GridView visible size.
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new 
  properties that return the GridView contents size.


git-svn-id: svn://localhost/gambas/trunk@3836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-07 00:54:21 +00:00
Radek Fryšták
502c2926e6 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Czech translation

[GB.FORM]
* NEW: Update Czech translation

[GB.REPORT]
* NEW: Czech translation


git-svn-id: svn://localhost/gambas/trunk@3835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-06 07:16:54 +00:00
Benoît Minisini
5eab844287 [GB.DB.FORM]
* BUG: Fix the initial scrolling position of the DataView control.

[GB.FORM]
* NEW: TableView behaviour takes into account the new way of getting the 
  GridView cell coordinates.

[GB.GTK]
* NEW: GridView ClientX and ClientY properties have been fixed.
* NEW: GridView cells X and Y properties now return the coordinates of the 
  cell relative to the full client area.
* BUG: The GridView row header width is correctly updated now.

[GB.QT4]
* NEW: GridView cells X and Y properties now return the coordinates of the 
  cell relative to the full client area.


git-svn-id: svn://localhost/gambas/trunk@3834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-06 01:55:48 +00:00
Benoît Minisini
d68809630f [INTERPRETER]
* BUG: Always translate the True and False string dynamically.

[GB.DB.FORM]
* OPT: Try to minimize refresh when DataSource.Connection is set.
* BUG: DataView editor font is correct now.

[GB.QT4]
* OPT: Changing the number of rows or columns of a GridView does not 
  trigger a useless refresh anymore.
* OPT: Moving the cursor of a GridView in multiple selection mode does not
  trigger a full update anymore.


git-svn-id: svn://localhost/gambas/trunk@3833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-05 08:54:21 +00:00
Matti
2f14315d70 [EXAMPLES]
* NEW: German translation of some more examples, a few small changes



git-svn-id: svn://localhost/gambas/trunk@3828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-03 18:41:29 +00:00
Benoît Minisini
170443ca1e [GB.FORM]
* NEW: In FileChooser, ask for overwriting existing files when 
  uncompressing an archive.
* BUG: Don't display the uncompress menu in DirChooser.


git-svn-id: svn://localhost/gambas/trunk@3827 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-03 08:57:07 +00:00
Benoît Minisini
d433b0172d [EXAMPLES]
* NEW: Some little fixes (icons mainly) in several examples.

[INTERPRETER]
* NEW: Two new interpreter APIs to set and get the value of an object
  property.

[GB.DEBUG]
* BUG: Fix a warning message.

[GB.FORM]
* BUG: Setting FileView Foreground and Background properties now work as
  expected.
* BUG: IconView takes its Background and Foreground properties into 
  account now.

[GB.GTK]
* NEW: Control Background and Foreground properties are now automatically
  applied to the proxy.

[GB.QT4]
* NEW: Control Background and Foreground properties are now automatically
  applied to the proxy.


git-svn-id: svn://localhost/gambas/trunk@3826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-02 00:46:00 +00:00
Benoît Minisini
c682e455db [DEVELOPMENT ENVIRONMENT]
* BUG: Found a workaround for the buggy Ubuntu global menu.

[EXAMPLES]
* NEW: Some little changes there and there.

[GB.QT4.WEBKIT]
* BUG: The Auth event works again.
* BUG: Website icon downloading and Icon events are more reliable.


git-svn-id: svn://localhost/gambas/trunk@3824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 15:25:31 +00:00
Benoît Minisini
a096aa1670 [DEVELOPMENT ENVIRONMENT]
* NEW: Text editor now tries to detect HTML files with no HTML extension.
* BUG: Closing the translation dialog when displaying a file having no
  translated strings yet does not incorrectly remove the translation file 
  anymore.

[EXAMPLES]
* NEW: ReportExample has been redesigned. It got a combo-box to select 
  which database driver to use.

[GB.GTK]
* BUG: MouseWheel events can be cancelled now.
* BUG: Setting the ComboBox.List property of a read-only ComboBox now
  automatically selects the first element as in gb.qt4.

[GB.REPORT]
* NEW: gb.report is translatable now.
* NEW: The preview window has been redesigned and enhanced.

[GB.QT4]
* BUG: MouseWheel events can be cancelled now.

[GB.QT4.EXT]
* NEW: In Editor, [Alt]+[Home] and [Alt]+[End] now moves to the previous or 
  next line having the same indentation. This is useful to search the 
  beginning or the end of a structure control, as soon as the code is 
  correctly indented of course!
* BUG: Setting Editor.Highlight property now correctly updates the Editor
  margin.


git-svn-id: svn://localhost/gambas/trunk@3820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 00:59:45 +00:00
Fabien Bodard
bb6c67caaf [GB.REPORT]
* BUG: Correct the Size int procedure of images
* NEW: Add a button to compute all the page on Preview form


git-svn-id: svn://localhost/gambas/trunk@3819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 22:34:54 +00:00
Fabien Bodard
fd46efdac8 [GB.REPORT]
* NEW: The report viewer use a progressive layout that speed up the display 
  of the viewer windows.
* NEW: ReportSvgImage have new property Stretch. If true the image take the
  Width/Height size else it have a proportional size
* NEW: ReportImage have new property Stretch. If true the image take the
  Width/Height size else it have a proportional size


git-svn-id: svn://localhost/gambas/trunk@3818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 21:32:54 +00:00
Benoît Minisini
2293d2fb2f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix drawing of void ReportSvgImage and other painted custom 
  controls.

[EXAMPLES]
* BUG: Fix ReportExample example.


git-svn-id: svn://localhost/gambas/trunk@3815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 12:48:05 +00:00
Benoît Minisini
443077a44f [DEVELOPMENT ENVIRONMENT]
* NEW: Support for ReportSvgImage.
* NEW: Support for "SvgImage" property kind.

[GB.REPORT]
* NEW: ReportSvgImage Path property has been replaced by the Image 
  property, which takes a SvgImage object directly.


git-svn-id: svn://localhost/gambas/trunk@3814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 01:16:37 +00:00