Commit graph

1419 commits

Author SHA1 Message Date
Benoît Minisini
2a60608474 [WIKI CGI SCRIPT]
* BUg: Fix the handle of formatting characters.

[INTERPRETER]
* NEW: Sizeof() now takes a datatype constant (like gb.Integer) as 
  argument, and not an expression anymore.
* NEW: Object.Sizeof() returns the memory used by an object in bytes.


git-svn-id: svn://localhost/gambas/trunk@3170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 12:02:08 +00:00
Benoît Minisini
85771d38e3 [CONFIGURATION]
* BUG: Detect x86_64 architecture better.


git-svn-id: svn://localhost/gambas/trunk@3169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 09:05:18 +00:00
Benoît Minisini
3fbd60c233 [CONFIGURATION]
* NEW: Check for missing mathematical function directly instead of relying 
  on operating system detection.


git-svn-id: svn://localhost/gambas/trunk@3166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 08:54:51 +00:00
Benoît Minisini
93a7daf44e [DEVELOPMENT ENVIRONMENT]
* NEW: Reload menu in text editor.
* NEw: Inserting colors works even if there is no syntax highlighting.
* NEW: The main toolbar has one button for each main menu. That way, the 
  user can put the menus inside the main toolbar so that eveything fit on 
  one line.
* NEW: Hiding the menu now displays a removable warning message.

[WIKI CGI SCRIPT]
* NEW: Formatting characters ('*','/','_','=') are not taken into account 
  inside a word.

[GB.FORM]
* NEW: ButtonBox has an Action property now.
* NEW: Message.Optional() is new method to display an optional message, 
  i.e. a message the user can decide to not display anymore.
* BUG: TableView handle arrow keys better now.

[GB.FORM.MDI]
* NEW: One can put expanders inside a toolbar.

[GB.GTK]
* BUG: TabStrip now uses its own window, so that it is not partially 
  visible when covering other widgets.
* NEW: Action[].Controls is new property that returns the list of all 
  controls and menus associated with an action.

[GB.QT4]
* NEW: Action[].Controls is new property that returns the list of all 
  controls and menus associated with an action.


git-svn-id: svn://localhost/gambas/trunk@3165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 00:58:35 +00:00
Benoît Minisini
7daf6e49bc [GB.QT4]
* BUG: The last fix is better without crashing.


git-svn-id: svn://localhost/gambas/trunk@3164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-30 14:46:58 +00:00
Benoît Minisini
aa2fbbb4d4 [GB.QT4]
* BUG: ComboBox does not lose focus when its ReadOnly property is set.


git-svn-id: svn://localhost/gambas/trunk@3163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-30 14:42:18 +00:00
Benoît Minisini
967a26bd68 [GB.FORM]
* BUG: Display a debugging message for each searched svg file.

git-svn-id: svn://localhost/gambas/trunk@3160 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 21:45:52 +00:00
Benoît Minisini
9a265c4201 [INTERPRETER]
* BUG: Last optimization was a bad idea.


git-svn-id: svn://localhost/gambas/trunk@3159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 21:35:34 +00:00
Benoît Minisini
5bc8ac1a8d [GB.FORM]
* BUG: Some little fixes in Stock class.

git-svn-id: svn://localhost/gambas/trunk@3158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 21:05:52 +00:00
Benoît Minisini
db20edec3e [INTERPRETER]
* OPT: Do not reset the native method error flag before calling a native 
  method, as it is reset just after. Maybe it works, maybe not...


git-svn-id: svn://localhost/gambas/trunk@3157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 20:53:23 +00:00
Benoît Minisini
62c381c2f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Handle compiler errors having column information.

[INTERPRETER]
* BUG: Manage errors from native methods differently.

[COMPILER]
* NEW: Return the column in error messages generated by the parser.

[GB.GTK]
* BUG: Make TabStrip behave like in gb.qt when inserting a new tab.


git-svn-id: svn://localhost/gambas/trunk@3156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 20:51:10 +00:00
Fabien Bodard
07abeb3351 [GB.FORM]
* NEW: Now stock use svg icons and take freedesktop theme inheritance 
  into account for gnome in a first time.


git-svn-id: svn://localhost/gambas/trunk@3155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 17:35:36 +00:00
Benoît Minisini
6fa248850c [GB.FORM]
* NEW: Some new icons.

[GB.GTK]
* BUG: Fix the error message when the SvgImage.Load() method fails.

[GB.QT4]
* BUG: Fix the error message when the SvgImage.Load() method fails.


git-svn-id: svn://localhost/gambas/trunk@3153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 01:39:59 +00:00
Benoît Minisini
df9646d42a [INTERPRETER]
* BUG: Remove file descriptor watch optimization, it does not work.


git-svn-id: svn://localhost/gambas/trunk@3152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-28 15:00:39 +00:00
Benoît Minisini
84aa516fa4 [INTERPRETER]
* NEW: System.FirstDayOfWeek is a new property that allows to define the 
  first day of the week if the default is not accurate. The default value
  is gb.Sunday for english countries and gb.Monday otherwise.
* NEW: The Week() function now use the default first day of the week.

[GB.FORM]
* NEW: DateChooser now takes System.FirstDayOfWeek into account.


git-svn-id: svn://localhost/gambas/trunk@3151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-28 12:33:05 +00:00
Benoît Minisini
21008d01b9 [DEVELOPMENT ENVIRONMENT]
* BUG: Oops. Fix a forgotten bug in the last commit.


git-svn-id: svn://localhost/gambas/trunk@3150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-28 01:04:08 +00:00
Benoît Minisini
e9419adbf7 [DEVELOPMENT ENVIRONMENT]
* BUG: The file combo-box in the translation dialog is correctly 
  initialized again.
* BUG: Fix many many bugs in the function that generates the project 
  classes help.


git-svn-id: svn://localhost/gambas/trunk@3149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-28 01:01:27 +00:00
Benoît Minisini
2cba68053e [DEVELOPMENT ENVIRONMENT]
* NEW: You can choose the language used by the help browser and the help 
  popups from the help browser window.

[GB.FORM]
* NEW: Somme little cosmetic changes in the Expander container.


git-svn-id: svn://localhost/gambas/trunk@3148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 23:33:07 +00:00
Benoît Minisini
a81fdbc669 [COMPILER]
* NEW: Support for CASE LIKE that compare the SELECT value with a regular 
  expression.


git-svn-id: svn://localhost/gambas/trunk@3147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 22:02:51 +00:00
Benoît Minisini
6db743fc12 [GB.FORM]
* NEW: Polish the DirChooser/FileChooser bookmark button.

[GB.QT4]
* BUG: Send expected Leave and Enter events when a popup is closed.


git-svn-id: svn://localhost/gambas/trunk@3146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 21:09:34 +00:00
Fabien Bodard
22629c8493 [GB.FORM]
* NEW: Changing the gnome map to make it working with freedesktop standart for
  icons name (so the same as kde4)

[GB.FORM.STOCK]
* NEW: Begin to add some icon in 32x32 to have a better render when the
  toolbar is large.





git-svn-id: svn://localhost/gambas/trunk@3145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 20:22:17 +00:00
Benoît Minisini
cfaeb4fc90 [GB.FORM]
* BUG: Fix the DirView behaviour when creating a new folder.
* NEW: Replace the DirView directory combo by a label.


git-svn-id: svn://localhost/gambas/trunk@3144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 13:50:53 +00:00
Benoît Minisini
7ab4ba3041 [GB.QT4]
* BUG: Try to load translations better.


git-svn-id: svn://localhost/gambas/trunk@3143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 01:13:41 +00:00
Benoît Minisini
5ac608f3ef [GB.QT4]
* BUG: Hardcode some translations directories when searching for Qt 
  translation files: '/usr/lib/qt4/translations' and 
  '/usr/share/qt4/translations'.


git-svn-id: svn://localhost/gambas/trunk@3142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 01:04:28 +00:00
Benoît Minisini
27ce882d1e [GB.FORM]
* NEW: DateChooser use Sunday as first day of the week when the current 
  language is 'C' or 'en_US'.


git-svn-id: svn://localhost/gambas/trunk@3140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 15:51:25 +00:00
Benoît Minisini
b61b4a108b [INTERPRETER]
* BUG: Prevent Process objects to try to raise their Read event when 
  they were killed.


git-svn-id: svn://localhost/gambas/trunk@3139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 14:45:10 +00:00
Benoît Minisini
93faf536ae [GB.DBUS]
* BUG: Handle NULL as method argument without crashing.


git-svn-id: svn://localhost/gambas/trunk@3138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 12:09:16 +00:00
Benoît Minisini
2fc24c7513 [EXAMPLES]
* NEW: In DBusExplorer, handle all native DBus datatypes in signatures.


git-svn-id: svn://localhost/gambas/trunk@3137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:35:17 +00:00
Benoît Minisini
377a146a9a [EXAMPLES]
* NEW: Output signatures are more readable now.
* BUG: Objects on system bus are correctly browsed now.


git-svn-id: svn://localhost/gambas/trunk@3136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:26:47 +00:00
Benoît Minisini
0a79862457 [GB.GTK]
* BUG: Splitter layout is initialized so that all new panes are visible.
* BUG: Separators whose width or height is one pixel are correctly drawn 
  now.
* BUG: Control.MoveScaled() and Control.ResizeScaled() work correctly now 
  when their width or height argument is zero.
* BUG: Buttons autoresize works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:14:27 +00:00
Benoît Minisini
e389bcfa9a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when closing the procedure list with F6.

[EXAMPLES]
* BUG: Fix the display of method signatures in the DBusExplorer example.

[GB.WEB]
* NEW: Disable HTTP compression if 'gzip' is not installed.


git-svn-id: svn://localhost/gambas/trunk@3134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 20:56:29 +00:00
Benoît Minisini
c1a2603c70 [INTERPRETER]
* BUG: Remove debugging message.


git-svn-id: svn://localhost/gambas/trunk@3133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 11:35:34 +00:00
Benoît Minisini
19a21789e6 [INTERPRETER]
* OPT: Association between file descriptors and callbacks use a direct 
  index now.


git-svn-id: svn://localhost/gambas/trunk@3132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 11:23:19 +00:00
Benoît Minisini
85b08d28ba [INTERPRETER]
* BUG: ARRAY_add_void() function now correctly adds a void element in the 
  array after an element has been previously removed. That bug made the 
  event loop mad in some cases!


git-svn-id: svn://localhost/gambas/trunk@3131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 09:18:33 +00:00
Benoît Minisini
9307500dcb [GB.NET]
* BUG: Use the target port correctly when writing to an UdpSocket.
* BUG: Zero is a possible file descriptor for an UdpSocket.


git-svn-id: svn://localhost/gambas/trunk@3130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-24 15:27:47 +00:00
Benoît Minisini
e60daf35b1 [GB.NET]
* BUG: Make the component compile on 32 bits OS.


git-svn-id: svn://localhost/gambas/trunk@3129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-24 10:59:05 +00:00
Benoît Minisini
eb94949c92 [DEVELOPMENT ENVIRONMENT]
* NEW: More snippets for declaring local variables: "di" declares an 
  integer variable, "ds" a string variable...

[GB.IMAGE]
* NEW: Image.FillRect() ignores transparency. But a new Image.DrawRect() 
  method takes it into account now.

[GB.QT4]
* BUG: Mouse event properties are enabled now during a double click event 
  handler.

[GB.WEB]
* NEW: HTTP compression is automatically enabled if the response is 
  buffered, and if the HTTP client can handle it of course.


git-svn-id: svn://localhost/gambas/trunk@3128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-24 10:56:55 +00:00
Benoît Minisini
012c31e8fd [GB.NET]
* BUG: Fix an apparently useless referencement in DnsClient.


git-svn-id: svn://localhost/gambas/trunk@3127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-23 21:33:24 +00:00
Benoît Minisini
808cafc1cc [DEVELOPMENT ENVIRONMENT]
* BUG: Main window layout follows main toolbar size correctly again.

[GB.FORM.MDI]
* NEW: Toolbar are now configured through a popup menu. The toolbar handle
  has been removed.

[GB.QT4]
* BUG: AutoResize property now works in both dimensions for horizontal and 
  vertical arrangements.


git-svn-id: svn://localhost/gambas/trunk@3126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-23 14:46:43 +00:00
Charlie Reinl
cb5549e320 BUG : MPrettyCode , "End If" was not taken into cClose list
git-svn-id: svn://localhost/gambas/trunk@3125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-18 22:04:15 +00:00
Benoît Minisini
f673289045 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a pretty printer button in the code editor.


git-svn-id: svn://localhost/gambas/trunk@3124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-16 14:34:37 +00:00
Benoît Minisini
a7bbd9ac90 [DEVELOPMENT ENVIRONMENT]
* BUG: Redesign the main window toolbar so that it does not bug anymore 
  when being configured.


git-svn-id: svn://localhost/gambas/trunk@3123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-16 11:34:21 +00:00
David Villalobos Cambronero
01b024d77d [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 22:17:40 +00:00
Benoît Minisini
b2e5a3979f [DEVELOPMENT ENVIRONMENT]
* NEW: Add a filter to the project tree view.

[GB.GTK]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.

[GB.QT4]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.


git-svn-id: svn://localhost/gambas/trunk@3120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 21:56:11 +00:00
Benoît Minisini
9b7aa9c650 [INTERPRETER]
* BUG: Fix an unitialized structure field in extern functions management.


git-svn-id: svn://localhost/gambas/trunk@3119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 14:47:18 +00:00
Benoît Minisini
2fbab44da9 [DEVELOPMENT ENVIRONMENT]
* NEW: New project files not added to the subversion repository are now 
  always visible when refreshing the project tree.


git-svn-id: svn://localhost/gambas/trunk@3118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 12:18:50 +00:00
Benoît Minisini
82206cf4c9 [DEVELOPMENT ENVIRONMENT]
* NEW: Chaning the case of class names is allowed now.

git-svn-id: svn://localhost/gambas/trunk@3117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 11:54:02 +00:00
Benoît Minisini
9152169c0b [EXAMPLES]
* BUG: The MoviePlayer example works again.

[GB.GTK]
* BUG: Setting DrawingArea.Enabled property to FALSE does not display a
  warning message anymore.


git-svn-id: svn://localhost/gambas/trunk@3116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 11:02:11 +00:00
Benoît Minisini
40ae8310f2 [GB.FORM]
* BUG: MenuButton behaves more like a normal button.

[GB.QT4]
* BUG: Fix style drawing methods.


git-svn-id: svn://localhost/gambas/trunk@3115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 09:58:39 +00:00
David Villalobos Cambronero
5de667b8fa [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 02:46:17 +00:00