Commit graph

677 commits

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