Commit graph

1439 commits

Author SHA1 Message Date
Benoît Minisini
96082b6e2c [GB.DEBUG]
* NEW: The debugger now prints string values up to 65535 characters.


git-svn-id: svn://localhost/gambas/trunk@3249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-03 19:22:14 +00:00
Benoît Minisini
dd544117b9 [GB.GTK]
* BUG: MouseMove event should be correctly raised in all case now.


git-svn-id: svn://localhost/gambas/trunk@3248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-02 22:28:53 +00:00
Benoît Minisini
cdb3872751 [GB.GTK]
* BUG: Using style functions on a picture does not crash anymore. But it 
  seems use a "default default" style instead of the current one.

[GB.FORM]
* BUG: SidePanel draw its arrows directly when gb.gtk is used, otherwise 
  the style is not respected (see above).


git-svn-id: svn://localhost/gambas/trunk@3247 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-30 23:48:49 +00:00
Benoît Minisini
fc60aacecc [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible when opening the procedure list.

[INTERPRETER]
* NEW: The READ instruction can read arrays and collections with 
  'AS Object' as well as 'AS Variant'.

[GB.QT4]
* BUG: Minimizing modal windows does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@3246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-28 17:05:10 +00:00
Benoît Minisini
4dc396ffe8 [DEVELOPMENT ENVIRONMENT]
* BUG: No error messages should be displayed anymore when refreshing the 
  search list.

[WIKI CGI SCRIPT]
* BUG: Fix formatting characters handling.

[INTERPRETER]
* NEW: WRITE and READ instructions can handle collections and arrays. Call
  that "serialization".

[GB.WEB]
* OPT: Replace session serialization code by the new powers of READ and 
  WRITE instructions.


git-svn-id: svn://localhost/gambas/trunk@3244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-27 19:34:27 +00:00
Benoît Minisini
c9cfcbb666 [DEVELOPMENT ENVIRONMENT]
* BUG: Filtering a project tree that has some files not added to the 
  subversion repository works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3243 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-25 18:22:38 +00:00
Benoît Minisini
677321df65 [INTERPRETER]
* BUG: Handle too long path checks against archives without crashing.


git-svn-id: svn://localhost/gambas/trunk@3242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-25 18:18:48 +00:00
Benoît Minisini
aa32053be3 [DEVELOPMENT ENVIRONMENT]
* BUG: Method signature can be displayed on several lines if needed.


git-svn-id: svn://localhost/gambas/trunk@3241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-25 15:30:23 +00:00
Benoît Minisini
bddbc3a62a [INTERPRETER]
* BUG: Fix a compilation warning on 32 bits systems.

[GB.SDL]
* BUG: Fix a function that was not returning any value.


git-svn-id: svn://localhost/gambas/trunk@3239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-24 13:52:23 +00:00
Benoît Minisini
ab132742d6 [CONFIGURATION]
* NEW: Print a resume after "make install".


git-svn-id: svn://localhost/gambas/trunk@3238 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-24 12:48:08 +00:00
Benoît Minisini
95b95fa8cc [CONFIGURATION]
* NEW: Start trying to display a resume at the end of installation.

[INTERPRETER]
* BUG: Extern functions now can handle up to 16 pointer or string 
  arguments.

[GB.GTK]
* BUG: Fix a infinite recursion in drag and drop management when draging
  TextBox or TextArea contents inside the same application.

[GB.QT]
* BUG: Do not propagate Drop events when there is a drop event handler.


git-svn-id: svn://localhost/gambas/trunk@3237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-24 09:32:46 +00:00
Benoît Minisini
7b99389464 [INTERPRETER]
* BUG: Fix a possible crash in Val().
* BUG: Fix a possible crash when reading a non-existing key in a 
  Collection.


git-svn-id: svn://localhost/gambas/trunk@3234 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-23 01:34:15 +00:00
Benoît Minisini
1417bcfe3e [DEVELOPMENT ENVIRONMENT]
* NEW: You can use keyboard text keys to move inside the procedure list.


git-svn-id: svn://localhost/gambas/trunk@3233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-22 16:38:49 +00:00
Benoît Minisini
c662af4ee8 [INTERPRETER]
* BUG: Format() with a void format string does not crash anymore.

[GB.IMAGE]
* BUG: Image.Colorize() does not invert red and blue anymore.


git-svn-id: svn://localhost/gambas/trunk@3232 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-21 23:49:32 +00:00
Benoît Minisini
4331dca89c [DEVELOPMENT ENVIRONMENT]
* BUG: The search list is updated correctly and almost in real time when 
  edited files are modified.
* NEW: When an editor is splitted, then the unfocused one is darker now.

[GB.QT4.EXT]
* NEW: Do not highlight text when reading the Editor.Text property.
* NEW: When getting the highlight state of a line, do not highlight it if 
  it is currently edited.

[GB.WEB]
* NEW: Request.Get and Request.Post are two array-like properties that 
  return the contents of the "GET" and "POST" parts of a HTTP request.
  Using Request directly is possible. Then the two parts are merged.


git-svn-id: svn://localhost/gambas/trunk@3231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-20 23:49:48 +00:00
Benoît Minisini
943596f8ce [GB.GTK]
* BUG: The Draw class works correctly again on Picture.


git-svn-id: svn://localhost/gambas/trunk@3230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-19 14:59:06 +00:00
Benoît Minisini
e0e0fb1436 [DEVELOPMENT ENVIRONMENT]
* BUG: Circular inheritance should be detected correctly now.

[COMPILER]
* NEW: Change the format of error messages. The full source file path is 
  not printed anymore, only the file name.


git-svn-id: svn://localhost/gambas/trunk@3229 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-18 13:26:19 +00:00
Benoît Minisini
1731a255ac [DEVELOPMENT ENVIRONMENT]
* BUG: Keep the cursor position when splitting or unsplitting a text 
  editor.


git-svn-id: svn://localhost/gambas/trunk@3228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-17 17:41:51 +00:00
Benoît Minisini
71a2ee14bc [GB.QT.EXT]
* NEW: ALT+UP and ALT+DOWN moves the current line or the selection one line 
  up and one line down.


git-svn-id: svn://localhost/gambas/trunk@3227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-17 02:05:56 +00:00
Laurent Carlier
5fd4006167 [GB.SDL]
* BUG: Remove Font.Strikeout property as it's only available in SDL_tff>2.0.9


git-svn-id: svn://localhost/gambas/trunk@3226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-16 12:26:09 +00:00
Benoît Minisini
c0f29f9f90 [DEVELOPMENT ENVIRONMENT]
* NEW: "Save project as" now uses a dialog box that allows to choose the 
  project new name.
* NEW: CSV file import dialog now can ignore the file first lines.
* NEW: CSN file import dialog now saves its contents in the setting file.

[INTERPRETER]
* BUG: Correctly remove '\t' from error messages, as that character is used
  by the debugger as separator.
* BUG: Release invalid automatic instances again.

[GB.DB.FORM]
* OPT: Use a transaction when deleting many rows in DataView.

[GB.DB.POSTGRESQL]
* BUG: Remove a debugging message.

[GB.GTK]
* BUG: Changing the stack order of a control now correctly triggers a
  parent arrangement.

[GB.QT4]
* BUG: Changing the stack order of a control now always triggers a parent 
  arrangement.


git-svn-id: svn://localhost/gambas/trunk@3225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-16 11:27:51 +00:00
Benoît Minisini
1c75607652 [GB.SDL]
* BUG: Temporary fix to let gb.sdl compile with SDL_ttf < 2.0.10.


git-svn-id: svn://localhost/gambas/trunk@3224 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-16 10:51:44 +00:00
Benoît Minisini
40e3647215 [GB.DB]
* BUG: The gb.db API DB.GetCurrentDatabase() should be reliable now, so 
  that database drivers using it do not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@3223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-16 00:57:35 +00:00
Benoît Minisini
0f5e37553a [GB.DB]
* BUG: Table.Indexes.Add() now does not corrupt index fields anymore.


git-svn-id: svn://localhost/gambas/trunk@3222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-16 00:47:07 +00:00
Benoît Minisini
6cb1d823da [GB.QT4]
* BUG: Fix normal, modal and popup windows management.


git-svn-id: svn://localhost/gambas/trunk@3221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-15 22:45:42 +00:00
Fabien Bodard
4cf0f9b022 [GB.REPORT]
* BUG: gb.report begin to work again ... not all is perfect 
  but ... it's a beginning


git-svn-id: svn://localhost/gambas/trunk@3220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-15 13:13:33 +00:00
Laurent Carlier
496d61f955 [GB.SDL]
* NEW: Add Font.Bold, Font.Italic, Font.Underline and Font.Strikeout properties.



git-svn-id: svn://localhost/gambas/trunk@3219 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-15 12:39:31 +00:00
Fabien Bodard
cac73831c9 [GB.CHART]
* BUG: Replace Font.Height() by Font.Height so the component now don't crash.


git-svn-id: svn://localhost/gambas/trunk@3218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-15 06:57:17 +00:00
Benoît Minisini
2fa5d15318 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix procedure list crash.

[GB.IMAGE]
* NEW: Color merge algorithm has changed. Instead of using the middle of 
  RGB values, now it uses the middle of HSV values. It changes the value of
  Color.LightForeground and the color used for drawing Workspace default
  background.

[GB.QT4]
* BUG: Separator and plain borders now use the same color.
* BUG: ShowPopup() now works correctly if used on the same window several 
  times.


git-svn-id: svn://localhost/gambas/trunk@3217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-15 01:49:26 +00:00
Benoît Minisini
25882dd409 [DEVELOPMENT ENVIRONMENT]
* BUG: Find a workaround for a Qt menu crash. The last visible menu must be 
  created last.
* NEW: Fix and enhance the stack backtrace list.

[GB.FORM]
* BUG: Message.Optional() does not crash anymore the first time it is run.


git-svn-id: svn://localhost/gambas/trunk@3216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-14 15:13:25 +00:00
Benoît Minisini
0bec0b25cf [DEVELOPMENT ENVIRONMENT]
* NEW: The search window now can browse in all source files only.
* BUG: The search list is correctly refreshed for project text files.
* NEW: The debug panel has been slightly redesigned. Local and global
  variables lists are always sorted now.

[INTERPRETER]
* BUG: Do not try to run the "_exit" special method if the class load
  has previously failed.
* BUG: Do not release the automatic instance when is it invalid.
* BUG: Check that the automatic instance is valid before using it.


git-svn-id: svn://localhost/gambas/trunk@3215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-14 13:01:47 +00:00
Fabien Bodard
69e4b1dca1 [DEVELOPMENT ENVIRONMENT]
* OPT: Change the position of the Clear history and Sort menu 
  in the recent file menu.


git-svn-id: svn://localhost/gambas/trunk@3214 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-14 10:44:01 +00:00
David Villalobos Cambronero
fb55370a37 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3213 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-13 20:43:39 +00:00
Fabien Bodard
b3725e1542 [GB.FORM]
* BUG: Correct an error in the local path name for icon theme in gnome




git-svn-id: svn://localhost/gambas/trunk@3212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-13 16:02:50 +00:00
Benoît Minisini
01923171b2 [GB.REPORT]
* NEW: An example of how to override Paint to know what is drawn.

git-svn-id: svn://localhost/gambas/trunk@3211 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-13 11:06:24 +00:00
Benoît Minisini
f0fe0de61c [DEVELOPMENT ENVIRONMENT]
* BUG: Conflicting files generated by subversion are now ignored when 
  filling the list of new project files.
* NEW: Controls created dynamically now are detected by automatic 
  completion when completing an event handler.


git-svn-id: svn://localhost/gambas/trunk@3210 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-13 10:20:33 +00:00
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