Commit graph

684 commits

Author SHA1 Message Date
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