Commit graph

1032 commits

Author SHA1 Message Date
Benoît Minisini
fb73954f71 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the signature of project symbols in the popup help.

[GB.WEB]
* BUG: Remove the Response.Cache property. HTTP caching headers are more 
  complex than I thought first.

[GB.QT4]
* BUG: Background and Foreground colors should now be handled correctly in 
  all controls.

[GB.QT4.EXT]
* BUG: The background color of the Editor control has been fixed, but it 
  has the same problem as the TextBox control one: the frame is not drawn 
  differently from the inside.


git-svn-id: svn://localhost/gambas/trunk@2492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 15:17:03 +00:00
Fabien Bodard
72d312c97e [INTERPRETER]
* BUG: Now the stack spliter is correcly set in all case.
  The entry in conf file must be corrected or conf file removed.


git-svn-id: svn://localhost/gambas/trunk@2491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 14:03:00 +00:00
Fabien Bodard
80352aab2f [DEVELOPMENT ENVIRONMENT]
* BUG: Now in DebugInfo the Setting default value is correctly set, 
  so we can see the stack backtrace.


git-svn-id: svn://localhost/gambas/trunk@2490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 08:32:11 +00:00
Benoît Minisini
2eba40e822 [CONFIGURATION]
* NEW: The online help has been removed.


git-svn-id: svn://localhost/gambas/trunk@2488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 11:45:36 +00:00
Benoît Minisini
0c332870af [DEVELOPMENT ENVIRONMENT]
* BUG: Use gb.qt4 instead of gb.qt when creating a new Qt project.


git-svn-id: svn://localhost/gambas/trunk@2487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 11:41:40 +00:00
Benoît Minisini
50f9daa29d [DEVELOPMENT ENVIRONMENT]
* NEW: Use the class or symbol title as link to their definition in the 
  source code.


git-svn-id: svn://localhost/gambas/trunk@2486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 11:24:12 +00:00
Fabien Bodard
310bebcd77 [DEVELOPMENT ENVIRONMENT]
* NEW: Now they are links in the local symbols doc that lead
  to the symbol definition. and same for classes


git-svn-id: svn://localhost/gambas/trunk@2485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 09:47:49 +00:00
Fabien Bodard
26846122d7 [DEVELOPMENT ENVIRONMENT]
* NEW: The local classes have now theire own help too.
* BUG: Fixed little things in the symbols help detection.


git-svn-id: svn://localhost/gambas/trunk@2484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 09:04:26 +00:00
Benoît Minisini
23db05d0f2 [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in help on project symbols.
* BUG: F2 (Find definition) now uses the help browser to display help on 
  classes and symbols.
* NEW: A new button in the help browser to modify the current 
  documentation page, by opening an external web browser for that.

[GB.EVAL]
* NEW: System.Datatypes is a new property that return a list of all native 
  datatypes.

[GB.WEB]
* NEW: Start implementing some HTTP cache management in the Response class.


git-svn-id: svn://localhost/gambas/trunk@2483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 02:58:12 +00:00
Benoît Minisini
1718c90a0e [DEVELOPMENT ENVIRONMENT]
* BUG: The CSymbolInfo.HelpLineNumber was removed, so remove the code that 
  uses it.


git-svn-id: svn://localhost/gambas/trunk@2482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 23:10:34 +00:00
Fabien Bodard
6bd8cee3d3 git-svn-id: svn://localhost/gambas/trunk@2481 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2009-12-11 21:31:36 +00:00
Fabien Bodard
2afade1a70 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the help show local symbols information and user help.
  User help can be set by adding comment with double '' on
  the declaration line or on the previous lines.


git-svn-id: svn://localhost/gambas/trunk@2480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 19:14:10 +00:00
Benoît Minisini
20bfee43f4 [DEVELOPMENT ENVIRONMENT]
* OPT: Use a TextLabel to represent a WebView in the form editor.
* BUG: Fix help browser zoom.

[WIKI CGI SCRIPT]
* NEW: A new Url option (nocache) to prevent HTML caching.
* NEW: gb.qt4 documentation is automatically redirected to the old gb.qt 
  one. And the gb.gtk and gb.gui documentation are redirected to gb.qt4, 
  then gb.qt. Links are correctly converted too.

[GB.DB.FORM]
* BUG: The Color.Mix method has been renamed as Color.Merge. Fix that.

[GB.QT4.WEBKIT]
* NEW: NewFrame is a new event raised by the WebView control when it 
  creates a new frame.
* BUG: The Click event now works, and has one argument that indicates which 
  frame changes its URL.


git-svn-id: svn://localhost/gambas/trunk@2479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 17:45:23 +00:00
Laurent Carlier
757ca2b65d [CONFIGURATION]
* BUG: Forgot to add 'install' flag to libtoolize. Removed m4/ltversion.m4 as it's refreshed by aclocal.


git-svn-id: svn://localhost/gambas/trunk@2478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 13:10:31 +00:00
Laurent Carlier
ccef0025eb [CONFIGURATION]
* NEW: Add flags 'copy' and 'force' to libtoolize, now files config.guess, config.sub, ltmain.sh
       and install-sh are automagicly installed when running 'reconf', so remove them from root tree.



git-svn-id: svn://localhost/gambas/trunk@2477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 13:03:50 +00:00
Fabien Bodard
3da45fff7f [DEVELOPMENT ENVIRONMENT]
* NEW: The popup help is removed from the debug tab.


git-svn-id: svn://localhost/gambas/trunk@2476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 12:38:57 +00:00
Fabien Bodard
e60cca87f9 [GB.FORM]
* BUG: Now some of the mouse events are fired 
  (down, up, drag, wheel)


git-svn-id: svn://localhost/gambas/trunk@2475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 10:26:02 +00:00
Benoît Minisini
68741c58a9 [GB.WEB]
* BUG: Manage Response.Begin and Response.End recursively when the reponse 
  is buffered.


git-svn-id: svn://localhost/gambas/trunk@2474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 15:38:01 +00:00
Benoît Minisini
2c859d6a9a [WIKI CGI SCRIPT]
* NEW: Make pages correctly cachable. Cache expiration is set to one day.
* NEW: New URL flags to hide the title (notitle) or images (noimage).


git-svn-id: svn://localhost/gambas/trunk@2473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 14:28:10 +00:00
Benoît Minisini
9a29cd2043 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the help browser when the embedded property help is hidden.
* NEW: Do not display page title in the embedded property help.
* NEW: Disable the old Fabien's help.


git-svn-id: svn://localhost/gambas/trunk@2472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 14:26:17 +00:00
Benoît Minisini
adeeb68063 [DEVELOPMENT ENVIRONMENT]
* NEW: Implement the property help with a WebView control.
* NEW: Add a button in the option dialog to clear the documentation cache.
* BUG: Correctly display online help on special methods.

[COMPILER]
* BUG: Long integer constants are now compiled correctly in all cases.


git-svn-id: svn://localhost/gambas/trunk@2471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 02:48:25 +00:00
Benoît Minisini
4f3f7a6291 [DEVELOPMENT ENVIRONMENT]
* BUG: The signature popup does not steal the focus anymore.
* BUG: The table chooser dialog has been fixed.
* BUG: The ".connection" directory is now put under version control when 
  created.

[GB.DB.FORM]
* BUG: Clicking on the first row of a DataView in creation state now works 
  correctly.
* BUG: Serial fields are now correctly managed by DataControl controls.


git-svn-id: svn://localhost/gambas/trunk@2469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 23:48:55 +00:00
Benoît Minisini
df61d7457b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion and signature popups.
* NEW: Implement an help browser in an utility window.

[WIKI CGI SCRIPT]
* NEW: Better support for the IDE online help


git-svn-id: svn://localhost/gambas/trunk@2468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 17:34:13 +00:00
Laurent Carlier
7d8c065a8c [CONFIGURATION]
* NEW: Add 'libtoolize --force' to reconf script. It's useful in case of libtool upgrading.

Perhaps it will be good to remove m4/ltversion.m4 as it's updated by libtoolize.


git-svn-id: svn://localhost/gambas/trunk@2467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 15:30:46 +00:00
Benoît Minisini
a20cd6a85f [DEVELOPMENT ENVIRONMENT]
* NEW: Display online help for event handlers.


git-svn-id: svn://localhost/gambas/trunk@2466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 10:37:58 +00:00
Benoît Minisini
e2d716a530 [DEVELOPMENT ENVIRONMENT]
* NEW: Add online help to the signature popup.
* NEW: CLeanup and centralize the online help code.


git-svn-id: svn://localhost/gambas/trunk@2465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 10:17:57 +00:00
Benoît Minisini
08c79e2a09 [DEVELOPMENT ENVIRONMENT]
* NEW: Display online help for all automatic completion contexts.
* BUG: Display online help correctly for language keywords and native 
  datatypes.


git-svn-id: svn://localhost/gambas/trunk@2464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 04:30:56 +00:00
Benoît Minisini
7c290f5c06 [DEVELOPMENT ENVIRONMENT]
* OPT: Share the same completion and signature window between all opened 
  editors.
* BUG: Correctly displays the native datatype help in automatic completion.
* NEW: A new option for enabling the display of online help in automatic 
  completion.
* NEW: A new option not used yet, for defining the default image editor.


git-svn-id: svn://localhost/gambas/trunk@2463 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-08 22:19:03 +00:00
David Villalobos Cambronero
48eb48908b [WIKI CGI SCRIPT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-07 18:55:22 +00:00
David Villalobos Cambronero
e374084531 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-07 18:52:20 +00:00
Benoît Minisini
76275850fb [DEVELOPMENT ENVIRONMENT]
* NEW: The IDE now uses the WebKit component to display an online help 
  directly into the automatic completion popup. The online help management
  is quick and dirty at the moment.
* NEW: The option dialog is being redesigned. Not finished yet...
* NEW: Some cosmetic changes in the user control that displays the 
  information about a project. Not perfect yet.

[WIKI CGI SCRIPT]
* NEW: The wiki now sends the "Last-Modified", "Expires" and 
  "Cache-Control: max-age" headers with the HTML pages.
* NEW: Adding "?help" to an URL returns the page for the IDE online help.

[INTERPRETER]
* BUG: Try to stop breaking strict aliasing rules. This way the interpreter 
  should behave better on ARM architecture.
* BUG: Remove a possible crash when calling a constructor.

[GB.DRAW]
* NEW: The deprecated properties Draw.ForeColor and Draw.BackColor have 
  been removed.

[GB.NET]
* BUG: Do not watch the SerialPort file descriptor for reading if there is 
  no Read event handler.

[GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path is a new property to define the directory 
  used for storing the disk cache contents. If this property is not 
  defined, no cache will be used.
* NEW: WebView.Cached is a new property to tell if the web browser will use
  the disk cache. The WebSettings.Cache.Path *must* be defined before 
  setting that property.
* NEW: WebView.HTML is not read-only anymore.


git-svn-id: svn://localhost/gambas/trunk@2460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-07 17:14:32 +00:00
Benoît Minisini
37af285bba [GB.NET]
* NEW: Port the changes from Gambas 2 and try to clean up the SerialPort 
  source code.
* BUG: Fix a breaking of aliasing rules in DnsClient.

git-svn-id: svn://localhost/gambas/trunk@2458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-06 00:13:05 +00:00
Benoît Minisini
afe086185e [DEVELOPMENT ENVIRONMENT]
* NEW: Take the new organization of constructor arguments into account.

[INTERPRETER]
* NEW: Change the way arguments are consumed by inherited constructors 
  again. Now mandatory and optional arguments are consumed separately.
  Mandatory arguments of all constructors are consumed first, and then
  optional arguments if possible.

[GB.FORM]
* NEW: Take the new organization of constructor arguments into account.


git-svn-id: svn://localhost/gambas/trunk@2453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-01 04:06:21 +00:00
Benoît Minisini
96b97d9f16 [EXAMPLES]
* BUG: Fix the use of Dialog.Filter in the Picture Database example.

[GB.GTK]
* BUG: Splitter works again.

[GB.QT4]
* BUG: The Dialog.Filter property works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 20:56:56 +00:00
Benoît Minisini
c29934025e [DEVELOPMENT ENVIRONMENT]
* BUG: Revert constructor arguments where it is needed in two other places.


git-svn-id: svn://localhost/gambas/trunk@2450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 12:40:44 +00:00
Benoît Minisini
056094e27e [DEVELOPMENT ENVIRONMENT]
* BUG: Revert constructor arguments where it is needed.

[WIKI CGI SCRIPT]
* NEW: Display the CC-BY-SA logo on all pages.

[GB.FORM]
* BUG: Revert constructor arguments where it is needed.

[GB.GTK]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox.

[GB.QT4]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox. Beware that most of Qt4 style do not implement them!


git-svn-id: svn://localhost/gambas/trunk@2449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 04:30:37 +00:00
Benoît Minisini
669820173b [INTERPRETER]
* NEW: The constructor arguments must follow the inheritance order from top 
  to bottom, and not from bottom to top as before. This way, the 
  constructor of the bottom class can have optional arguments.


git-svn-id: svn://localhost/gambas/trunk@2448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 04:25:48 +00:00
Benoît Minisini
09ab2cb862 [DEVELOPMENT ENVIRONMENT]
* NEW: Display tables having a schema in a treeview.


git-svn-id: svn://localhost/gambas/trunk@2444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-28 02:17:54 +00:00
Benoît Minisini
71db2b5689 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix table creation and renaming dialog when checking if a table name 
  already exists.

[GB.DB]
* BUG: Table quoting works as expected now.

[GB.DB.POSTGRESQL]
* NEW: Now, if no schema is specified in a table name, the "public" schema 
  is used. Consequently, the schema must be specified, unless the table is
  in the "public" schema.


git-svn-id: svn://localhost/gambas/trunk@2443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-28 02:05:10 +00:00
Benoît Minisini
83d84d7ee5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the Index class interface changes.
* BUG: CSV import does not crash anymore when the imported file size is 
  lower than 64K.
* BUG: Do not crash if a component is not installed.

[INTERPRETER]
* BUG: Error.Text does not split the error message and its argument in 
  debug mode.
* BUG: Fix many breaks in strict aliasing rules.

[SCRIPTER]
* BUG: Do not crash if a component is not installed.

[GB.DB]
* NEW: Better support for postgresql schemas.
* NEW: Connection.Quote() takes one more optional boolean argument that 
  tells if we want to quote a table name. In that case, schemas are taken 
  into account.
* NEW: Connection.FormatBlob() is a new function that returns a string that 
  can be used as a blob contents in a SQL expression.
* NEW: Index.Fields now returns a string array of index fields.
* NEW: Index.Add() second argument is now a string array of index fields.


git-svn-id: svn://localhost/gambas/trunk@2442 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-28 01:22:00 +00:00
Benoît Minisini
8e49eeca38 [DEVELOPMENT ENVIRONMENT]
* BUG: Start dealing correctly with non-installed components.

[SCRIPTER]
* BUG: Start dealing correctly with non-installed components.


git-svn-id: svn://localhost/gambas/trunk@2439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-27 17:01:38 +00:00
Benoît Minisini
ab390c3410 [DEVELOPMENT ENVIRONMENT]
* BUG: Running a request now supports non-SELECT requests.
* BUG: Workaround for the DB.Quote() function that does not support 
  PostgreSQL schemas.

[GB.DB.FORM]
* BUG: The DataSource request is now really case unsensitive.
* NEW: Writing DataSource.Table property now raises an error when the 
  request fails.

[GB.DB.POSTGRESQL]
* NEW: Support for PostgreSQL schemas.


git-svn-id: svn://localhost/gambas/trunk@2438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 02:38:13 +00:00
Benoît Minisini
f85ba4aa52 [GB.DB]
* NEW: Allow points both in table and index names.


git-svn-id: svn://localhost/gambas/trunk@2437 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 00:26:26 +00:00
Benoît Minisini
eac6be9727 [GB.DB]
* NEW: Allow points in table names, so that postgresql schemas can be used.


git-svn-id: svn://localhost/gambas/trunk@2436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 00:21:37 +00:00
Benoît Minisini
26d402dc2a [COMPILER]
* BUG: A line was deleted by mistake in the previous commit.


git-svn-id: svn://localhost/gambas/trunk@2435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 19:18:38 +00:00
Benoît Minisini
4377e25e8d [COMPILER]
* BUG: Ensure that the .action project sub-directory is owned by the user 
  owning the project directory.


git-svn-id: svn://localhost/gambas/trunk@2434 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 19:16:39 +00:00
Benoît Minisini
c20f6d27cf [GB.NET.SMTP]
* BUG: ...and add a new one that is the LGPL 2.1.


git-svn-id: svn://localhost/gambas/trunk@2433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 19:09:32 +00:00
Benoît Minisini
bf5fdd8287 [GB.NET.SMTP]
* BUG: The COPYING file is actually the license. Remove it...


git-svn-id: svn://localhost/gambas/trunk@2432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 19:08:46 +00:00
Benoît Minisini
e2d2a26ab2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the look of big buttons in the welcome dialog.
* BUG: The IDE does not crash anymore in some cases when renaming a child 
  control, then its parent just after.


git-svn-id: svn://localhost/gambas/trunk@2430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-22 17:41:24 +00:00
Benoît Minisini
7404c88dda [DEVELOPMENT ENVIRONMENT]
* BUG: Handle the ByRef keyword correctly in method signatures.


git-svn-id: svn://localhost/gambas/trunk@2424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-16 22:11:03 +00:00