Commit graph

440 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Benoît Minisini
77acecbca7 [DEVELOPMENT ENVIRONMENT]
* BUG: The make executable dialog options are correctly refreshed depending 
  on whether the project is a component or not.
* BUG: Removing a source file removes correctly the translation file from 
  version control too now.

[EXAMPLES]
* BUG: The hour hand follows the minutes now in the Clock example.

[INTERPRETER]
* BUG: The thousand separator is only printed between digits now.

[GB.QT4]
* BUG: Fix the definition of TabStrip properties.

[GB.GTK]
* BUG: Fix the definition of TabStrip properties.


git-svn-id: svn://localhost/gambas/trunk@2420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-15 13:53:37 +00:00
Benoît Minisini
f56c5e6e48 [DEVELOPMENT ENVIRONMENT]
* BUG: Inheritance is correctly detected now when you put comments on the 
  "INHERITS" line.

[WIKI CGI SCRIPT]
* BUG: Fix language flag links for component pages.

[GB.GTK]
* BUG: Control.Reparent() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-14 12:20:35 +00:00
Fabien Bodard
0b0df86bc6 [GB.QT4]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.

[GB.GTK]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.



git-svn-id: svn://localhost/gambas/trunk@2415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-10 13:41:32 +00:00
Benoît Minisini
396c62a94c [DEVELOPMENT ENVIRONMENT]
* NEW: Print the default value of optional arguments in method signatures.


git-svn-id: svn://localhost/gambas/trunk@2410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-04 15:03:08 +00:00
Benoît Minisini
66cc0094a3 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not use the main window for displaying error when a project 
  cannot be opened.


git-svn-id: svn://localhost/gambas/trunk@2407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-02 18:13:58 +00:00
David Villalobos Cambronero
c42af51b8d [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-02 15:35:50 +00:00
Benoît Minisini
21090a933b [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for Ukrainian language.

[GB.FORM]
* NEW: The ColorChooser has a new toggle button to enable the grid when 
  selecting a color. The SHIFT key has the same effect.


git-svn-id: svn://localhost/gambas/trunk@2404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-01 14:20:58 +00:00
Benoît Minisini
b2c058cc8f [DEVELOPMENT ENVIRONMENT]
* NEW: There is now a button to recall the last written description when 
  doing a commit.


git-svn-id: svn://localhost/gambas/trunk@2403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-01 14:18:19 +00:00
Benoît Minisini
653c870e51 * IDE subversion test
git-svn-id: svn://localhost/gambas/trunk@2402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-01 14:10:40 +00:00
Benoît Minisini
ac8e6dcce7 [SCRIPTER]
* BUG: The scripter compiles correctly again.

[GB.GTK]
* BUG: Fix the behaviour of ComboBox, so that it behaves the same way as 
  in gb.qt.
* BUG: TextBox.Insert() correctly deletes the selected text before 
  inserting the new one.


git-svn-id: svn://localhost/gambas/trunk@2396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-19 13:36:56 +00:00
Benoît Minisini
25c43c72c4 [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation updated.

[INTERPRETER]
* BUG: Stopping watching a file descriptor inside a watching callback does 
  not crash the interpreter event loop anymore.

[GB.GTK]
* BUG: Do not crash when there is a keyboard event and no active control.
* BUG: Using the quality argument when saving a picture or an image does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-12 10:38:35 +00:00
David Villalobos Cambronero
feb6561e40 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-05 14:34:47 +00:00
Benoît Minisini
1a73e9a4dd [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation made by Alexandros Prekates.
* BUG: Non-versioned files or directories are not locked anymore so that 
  you can add it to the repository.

[INTERPRETER]
* BUG: Non-integer constants are correctly optimized and keep their 
  datatype.

[COMPILER]
* BUG: Non-integer constants are correctly compiled and keep their 
  datatype.


git-svn-id: svn://localhost/gambas/trunk@2385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-04 23:32:14 +00:00
Benoît Minisini
ba9d887183 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the file information dialog layout.
* BUG: Renaming data files does not crash the IDE anymore.
* BUG: Status of renamed versioned directories is now correctly updated.


git-svn-id: svn://localhost/gambas/trunk@2380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 23:54:14 +00:00
Benoît Minisini
ee3aded03d * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 23:06:09 +00:00
Benoît Minisini
bfcd4c006c * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 23:04:34 +00:00
Benoît Minisini
8a1563018d * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 22:53:58 +00:00
Benoît Minisini
3a30787a75 Subversion test
git-svn-id: svn://localhost/gambas/trunk@2375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-01 22:48:50 +00:00
Benoît Minisini
443f820d38 [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion works again as before.
* BUG: Translation statistics are correctly refreshed if you open the 
  translation dialog twice.
* BUG: French translation of compiler error messages are back.
* NEW: Project files that are not handled by subversion are automatically 
  detected now, and a menu allows to add them manually.

[GB.FORM]
* BUG: DirView works again when displaying the file system root.

[GB.INFO]
* BUG: Fix the use of the old Open syntax.


git-svn-id: svn://localhost/gambas/trunk@2368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-28 22:58:23 +00:00
Benoît Minisini
f9b3db1ca3 * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-27 23:32:15 +00:00
Benoît Minisini
d35c59c763 [COMPILER]
* NEW: The Begins and Ends operator of course.
* BUG: Fix a crash when compiling a line beginning with the Read instruction.


git-svn-id: svn://localhost/gambas/trunk@2366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-27 10:34:39 +00:00
Benoît Minisini
c17951fcd3 [DEVELOPMENT ENVIRONMENT]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[INTERPRETER]
* BUG: The &/ operator keeps only one slash if both the last character of 
  the left string and the first character of the right string is a slash.
* NEW: 'Begins' is a new string operator that checks if the beginning of a 
  string is equal to another string.
* NEW: 'Ends' is a new string operator that checks if the end of a string 
  is equal to another string.
* BUG: Errors raised by Eval() are correctly displayed again.
* NEW: The 'Like' operator has a new pattern: '{x,y,...}' tests if a 
  string matches one of the strings between square brackets, each one being
  separated by a comma.

[GB.DB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.DESKTOP]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.GTK]
* BUG: Modal windows do not block mouse, keyboard, enter and leave events 
  anymore.

[GB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.FORM.MDI]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.WEB]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.


git-svn-id: svn://localhost/gambas/trunk@2365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-27 09:28:52 +00:00
Benoît Minisini
96f8498e5b [DEVELOPMENT ENVIRONMENT]
* BUG: CTRL+V now works correctly in the console.


git-svn-id: svn://localhost/gambas/trunk@2364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-26 20:35:35 +00:00
David Villalobos Cambronero
580d59084a [DEVELOPMENT ENVIROMENT]
* NEW: Spanis translation updated.

git-svn-id: svn://localhost/gambas/trunk@2361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 20:49:18 +00:00
Benoît Minisini
0f7bc5c258 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the interaction between subversion and directory renaming or 
  moving. Now deleted or renamed folders that are not committed are now 
  locked.
* NEW: Some message boxes related to file operations were replaced by 
  balloons.
* BUG: Fix a bug when renaming a source directory.

[INTERPRETER]
* BUG: Errors raised by components are correctly displayed again.


git-svn-id: svn://localhost/gambas/trunk@2360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 19:56:26 +00:00
Benoît Minisini
abef56c70a * Subversion test
git-svn-id: svn://localhost/gambas/trunk@2359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-25 02:13:24 +00:00