Commit graph

1603 commits

Author SHA1 Message Date
Laurent Carlier
bf26131baa [GB.SDL]
* BUG: Fix a typo that result in a segfault, optimize code a little bit.


git-svn-id: svn://localhost/gambas/trunk@3209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-13 09:28:24 +00:00
Laurent Carlier
2af3c28de8 [GB.SDL]
* NEW: System fonts are now displayed with SDL_ttf library.


git-svn-id: svn://localhost/gambas/trunk@3208 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-12 18:36:22 +00:00
Laurent Carlier
14faff737a [EXAMPLES]
* NEW: Show frames per seconds in BeastScroll


git-svn-id: svn://localhost/gambas/trunk@3207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-12 18:32:35 +00:00
Benoît Minisini
210a396888 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not store the svn revision in the .project file.
* NEW: Create a clever menu hierarchy when sorting recent files by path.

[INTERPRETER]
* BUG: Replace() correctly returns its first argument when its second
  argument is a void string.

[COMPILER]
* BUG: Remove a useless test.

[GB.FORM]
* NEW: Add a svg version of the GNU logo.
* BUG: Fix some stock icons in the Gnome map.

[GB.GTK]
* BUG: Fix possible crashes in three utility routines.
* BUG: Fix a crash in GridView.Rows[].Text property.

[GB.NET.SMTP]
* BUG: Fix an always true test.


git-svn-id: svn://localhost/gambas/trunk@3206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-11 10:23:36 +00:00
Fabien Bodard
acd4e3093b [SCRIPTER]
* BUG: Correct an array overflow in ReportContainer


git-svn-id: svn://localhost/gambas/trunk@3205 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-11 08:57:36 +00:00
Benoît Minisini
f513199932 [GB.GTK]
* BUG: Try to make gb.gtk compile with GTK+ version < 2.18.


git-svn-id: svn://localhost/gambas/trunk@3204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-09 22:58:46 +00:00
Benoît Minisini
aef9bfe60d [DEVELOPMENT ENVIRONMENT]
* NEW: Two menu entries in the text editor to compress or uncompress 
  javascript and style sheet files. Uncompressed files are save in the
  project '.hidden' directory (named 'Project' in the project tree).
* BUG: Searching in the console does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@3203 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-09 13:53:59 +00:00
Fabien Bodard
ab6f6ccc6d [SCRIPTER]
* NEW: Now gbs can get code from the standard input


git-svn-id: svn://localhost/gambas/trunk@3202 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-09 11:19:30 +00:00
Fabien Bodard
5c184f88d7 [SCRIPTER]
* NEW: A new option that allow to execute one line code gived by args -e
  To use it, replace line return  by ":".


git-svn-id: svn://localhost/gambas/trunk@3201 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-09 09:55:57 +00:00
Benoît Minisini
2e6f74a570 [GB.FORM]
* BUG: Default icons should be correctly detected now.
* NEW: Somme little layout change in Expander.


git-svn-id: svn://localhost/gambas/trunk@3199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-08 12:50:42 +00:00
Benoît Minisini
48cdef96b4 [GB.QT4]
* BUG: Dialog.SelectFont() and Dialog.SelectColor() now honor the 
  Dialog.Title property.


git-svn-id: svn://localhost/gambas/trunk@3198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-08 11:56:05 +00:00
Benoît Minisini
906839bf56 [GB.QT4]
* BUG: Utility windows now get the focus back after having shown a modal 
  window.


git-svn-id: svn://localhost/gambas/trunk@3197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 21:24:03 +00:00
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