Commit graph

1459 commits

Author SHA1 Message Date
Benoît Minisini
583fcf419d [DEVELOPMENT ENVIRONMENT]
* NEW: Change the project tree background color when a filter is active.
* BUG: Do not display false circular inheritance errors when a filter is 
  active.
* NEW: Hide the debug panel when a database connection window is active.


git-svn-id: svn://localhost/gambas/trunk@3271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 19:36:29 +00:00
Benoît Minisini
aa1fe3bb1a [INTERPRETER]
* BUG: Variants can be constant strings (in database drivers for example). 
  So keep the constant string datatype when undoing the variant. 
  Otherwise, the constant string will be assumed to be a Gambas string, and 
  will be  deallocated, which leads to a crash.


git-svn-id: svn://localhost/gambas/trunk@3270 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 16:21:24 +00:00
Benoît Minisini
6ca7977d5b [DEVELOPMENT ENVIRONMENT]
* BUG: Code pretty printer does not eat comment lines anymore.


git-svn-id: svn://localhost/gambas/trunk@3269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 13:07:56 +00:00
David Villalobos Cambronero
2de9d7843e [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3268 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-15 22:10:40 +00:00
Benoît Minisini
23dd0b0299 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not search text inside form anymore.

[INTERPRETER]
* BUG: The startup class is not global anymore, so that it does not 
  conflict with anythign having the same name in components. The 
  interpreter API that was returning the startup class has been updated
  to reflect that change.
* BUG: File.Name("/a/b/") now returns a void string instead of returning 
  "b", to be coherent with File.Dir().

[GB.DESKTOP]
* NEW: Use the new API returning the startup class.

[GB.FORM]
* BUG: Setting DirView.Root with a path ending with a slash does not crash
  anymore.

[GB.GTK]
* NEW: Use the new API returning the startup class.

[GB.QT4]
* NEW: Use the new API returning the startup class.

[GB.SIGNAL]
* NEW: Use the new API returning the startup class.


git-svn-id: svn://localhost/gambas/trunk@3267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-15 00:23:11 +00:00
Matti
a6449ed0fb git-svn-id: svn://localhost/gambas/trunk@3266 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-10-14 19:31:38 +00:00
Benoît Minisini
0439b6524e [GB.QT4]
* BUG: Enable shortcuts again.


git-svn-id: svn://localhost/gambas/trunk@3265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-11 00:59:37 +00:00
Benoît Minisini
d36f964e82 [GB.DESKTOP]
* NEW: Update the xdg-utils scripts to the latest ones from the CVS.


git-svn-id: svn://localhost/gambas/trunk@3264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-09 13:56:49 +00:00
Benoît Minisini
f00f1c6c43 [GB.FORM]
* NEW: ListContainer now handles keyboard navigation and activation of its 
  items.


git-svn-id: svn://localhost/gambas/trunk@3263 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-08 21:51:28 +00:00
Benoît Minisini
8a67b56e60 [DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog buttons now can handle keyboard focus navigation.

[WIKI CGI SCRIPT]
* BUG: Don't show hidden classes in todo page.

[GB.GTK]
* NEW: DrawingArea got all arrangement properties.

[GB.QT4]
* NEW: DrawingArea got all arrangement properties.


git-svn-id: svn://localhost/gambas/trunk@3262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-08 21:27:53 +00:00
Benoît Minisini
ba70da2041 [GB.GTK]
* BUG: Key.Code is not case sensitive for keys 'A' up to 'Z'.


git-svn-id: svn://localhost/gambas/trunk@3261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-08 01:18:17 +00:00
Benoît Minisini
4e28d06b76 [DEVELOPMENT ENVIRONMENT]
* BUG: The completion list should not crash anymore when displaying help.

[EXAMPLES]
* BUG: Fix the way Lighttable displays recent directory selection.


git-svn-id: svn://localhost/gambas/trunk@3260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-07 20:39:47 +00:00
Benoît Minisini
404e10b0f1 [EXAMPLES]
* NEW: Move the ImageViewer example into the Image directory.


git-svn-id: svn://localhost/gambas/trunk@3259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-07 20:24:12 +00:00
Benoît Minisini
c42f54b210 [EXAMPLES]
* NEW: Rename 'Picture' directory as 'Image'.


git-svn-id: svn://localhost/gambas/trunk@3258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-07 20:07:04 +00:00
Benoît Minisini
51f0404f35 [EXAMPLES]
* NEW: Add a new example made by Mathias Ebermann. Put it in a new example 
  folder named "Picture".


git-svn-id: svn://localhost/gambas/trunk@3257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-07 20:03:16 +00:00
Benoît Minisini
7c7d65612c [DEVELOPMENT ENVIRONMENT]
* BUG: Filter project tree view by files that need to be added to the 
  version control repository now works.
* BUG: Reset project tree view filter at project opening.

[GB.DEBUG]
* BUG: Use the reentrant collection enumeration API correctly.


git-svn-id: svn://localhost/gambas/trunk@3256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-07 01:29:54 +00:00
Benoît Minisini
68ede3cb8b [INTERPRETER]
* BUG: Interpreter API for enumerating collections is now reentrant.

[GB.DBUS]
* NEW: Use the new collection enumerator function.


git-svn-id: svn://localhost/gambas/trunk@3255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-06 12:03:27 +00:00
Benoît Minisini
cc71f184ee [CONFIGURATION]
* BUG: Forgot to add the new *.m4 file.


git-svn-id: svn://localhost/gambas/trunk@3254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-06 11:33:08 +00:00
Benoît Minisini
ad2114ee88 [CONFIGURATION]
* BUG: Found a workaround for the AX_CFLAGS_GCC_OPTION macro bug in 
  autoconf 2.67.

[DEVELOPMENT ENVIRONMENT]
* BUG: Do not try to display wiki help for symbols located in libraries.
* NEW: A new project tree filter that shows files that must be added to the
  version control system.

[WIKI CGI SCRIPT]
* BUG: Use the correct language code for czech language.
* BUG: Be more clever with formatting characters having a space before or 
  after them.

[INTERPRETER]
* NEW: Serialization now detects circular references and raises an error.


git-svn-id: svn://localhost/gambas/trunk@3253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-06 11:29:31 +00:00
Benoît Minisini
e986930e86 [GB.GTK]
* BUG: Remove a debugging message.
* BUG: Menu bar now follows the window font and colors. Only the menu items 
  do not care and keep their default foreground colors at the moment.


git-svn-id: svn://localhost/gambas/trunk@3252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-04 23:46:49 +00:00
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