Commit graph

1525 commits

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