Commit graph

1691 commits

Author SHA1 Message Date
Benoît Minisini
6ff4783e31 [DEVELOPMENT ENVIRONMENT]
* BUG: Any menu having children can be assigned to a Menu property. Not 
  just top-level menus.
* NEW: A new option to force the display of optional messages.

[GB.FORM]
* NEW: Message.Optional() now takes one more optional argument that allows 
  to force the optional message display.
* BUG: MenuButton menu can be any menu, not just a top-level one.


git-svn-id: svn://localhost/gambas/trunk@3196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 19:02:19 +00:00
Benoît Minisini
eab3905085 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a true popup now to display the editor procedure list.

[GB.FORM.MDI]
* NEW: Slightly change the look of the toolbar configuration dialog.

[GB.QT4]
* BUG: Popups are correctly activated when shown now.


git-svn-id: svn://localhost/gambas/trunk@3195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 15:38:42 +00:00
Benoît Minisini
6f9f082a2d [GB.FORM]
* BUG: Really correctly detect icon directories organization.


git-svn-id: svn://localhost/gambas/trunk@3194 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 14:18:17 +00:00
Benoît Minisini
83a86ff33c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when scanning project class header.

[GB.FORM]
* NEW: Add svg files for "linux" and "gambas" icons.
* NEW: Stock.Debug is a new property that makes the Stock class print 
  debugging message when set.
* NEW: The Stock debugging messages are also activated if the environmental
  variable named "GB_STOCK_DEBUG" is set.
* BUG: Better detection of how icons are stored inside themes.
* NEW: Icons directories are browsed theme by theme instead of theme being
  browsed directory by directory. That follows the freedesktop 
  specifications.

[GB.QT4.EXT]
* BUG: Highlight.Add() now correctly handles when more than 1024 
  successive characters have the same highlight pattern.


git-svn-id: svn://localhost/gambas/trunk@3193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 10:30:09 +00:00
Fabien Bodard
651cccbf12 [SCRIPTER]
* OPT: Remove a debug message


git-svn-id: svn://localhost/gambas/trunk@3192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 08:13:25 +00:00
Fabien Bodard
ca4c16a38b [SCRIPTER]
* BUG: Gambas scripter work again on gambas3.
* BUG: If a function is already implemented by a given library then don't
  try to add a new one.
* BUG: Main sub is correctly detected now


git-svn-id: svn://localhost/gambas/trunk@3191 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 07:43:08 +00:00
Benoît Minisini
850d9febf9 [INTERPRETER]
* BUG: The Object[].Add() method signature is now correctly declared.


git-svn-id: svn://localhost/gambas/trunk@3190 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 01:18:04 +00:00
Benoît Minisini
86751ff950 [DEVELOPMENT ENVIRONMENT]
* BUG: Refresh the search browse list when the search window is activated 
  and if one of the file included in the search list has been modified 
  since the last refresh. That way, the browse list contents should always
  be accurate.


git-svn-id: svn://localhost/gambas/trunk@3189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 01:16:25 +00:00
Benoît Minisini
be4f2108d5 [DEVELOPMENT ENVIRONMENT]
* BUG: Closing the search window while browsing the project now cancels the 
  search.
* BUG: Pretty printing the code now works correctly with IF ... THEN ...
  lines ending with comments.


git-svn-id: svn://localhost/gambas/trunk@3188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 19:49:33 +00:00
Benoît Minisini
d91eed4be4 [GB.QT4]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@3187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 18:41:06 +00:00
Benoît Minisini
ddeb618316 [GB.QT4]
* BUG: Fix the GridView.Columns[].Width property.


git-svn-id: svn://localhost/gambas/trunk@3186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 18:35:32 +00:00
Fabien Bodard
4cfe909fc1 [GB.FORM]
* BUG: Now special empty theme can be used


git-svn-id: svn://localhost/gambas/trunk@3185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 18:33:31 +00:00
Fabien Bodard
be91b4c7fe [GB.FORM]
* NEW: Now the icon theme in userpath can be used


git-svn-id: svn://localhost/gambas/trunk@3184 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 18:23:49 +00:00
Benoît Minisini
e9b2cd19b9 [WIKI CGI SCIRPT]
* NEW: Support for czech language.

[GB.GTK]
* BUG: Fix behaviour of autoresize Label and TextLabel.


git-svn-id: svn://localhost/gambas/trunk@3183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 17:38:57 +00:00
Fabien Bodard
48212b979c [SCRIPTER]
* BUG: Change the content of .project file to fit with the new gb3 pattern


git-svn-id: svn://localhost/gambas/trunk@3180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-05 20:53:42 +00:00
Fabien Bodard
b68274e984 [SCRIPTER]
* BUG: Now, the component loader work again by using the new ide routine.


git-svn-id: svn://localhost/gambas/trunk@3179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-05 20:44:47 +00:00
Benoît Minisini
0a659f3a9d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the help browser for classes whose name begins with an 
  underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing 
  classes.

[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.

[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the file.

[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the expression.

[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.

[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.


git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-04 13:21:11 +00:00
Fabien Bodard
db8f9e57fc [GB.FORM]
*OPT: New routine that allow the use of svg icons when it is possible. It follow
 the theme inheritance too.
 


git-svn-id: svn://localhost/gambas/trunk@3177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-03 21:26:12 +00:00
Benoît Minisini
bc8a80e853 [GB.SETTINGS]
* NEW: Allow Settings to read values as a whole string if it cannot be 
  interpreted as anything else.


git-svn-id: svn://localhost/gambas/trunk@3176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-01 20:55:56 +00:00
Benoît Minisini
de73b5ff5c [GB.FORM]
* BUG: TableView keyboard navigation behave better with gb.gtk.

[GB.GTK]
* BUG: Read-only ComboBox controls do not lost focus events anymore.


git-svn-id: svn://localhost/gambas/trunk@3175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-01 20:46:09 +00:00
Benoît Minisini
53b887f1e6 [GB.FORM.MDI]
* NEW: Toolbar configuration menu opens even on disable items now. It does 
  not open anymore on textbox items.


git-svn-id: svn://localhost/gambas/trunk@3173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 18:29:58 +00:00
Benoît Minisini
262d9d6bc5 [GB.FORM]
* BUG: MenuButton best size should be computed correctly now.

[GB.GTK]
* BUG: ColumnView, TreeView and ListView are correctly refreshed when an 
  item icon is changed.


git-svn-id: svn://localhost/gambas/trunk@3172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 18:29:05 +00:00
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