Commit graph

4617 commits

Author SHA1 Message Date
Benoît Minisini
8079623a4d [DEVELOPMENT ENVIRONMENT]
* NEW: Create file dialog: Replace the deprecated ListContainer control by 
  a ListView.


git-svn-id: svn://localhost/gambas/trunk@6524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-09 21:33:29 +00:00
Benoît Minisini
4285255ff0 [DEVELOPMENT ENVIRONMENT]
* NEW: New module type icons.


git-svn-id: svn://localhost/gambas/trunk@6523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-09 00:24:14 +00:00
Benoît Minisini
4baace3a82 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the behaviour of the file creation dialog. The filter of the 
  "existing" tab is now always set according to the type of file selected 
  in the first tab.


git-svn-id: svn://localhost/gambas/trunk@6522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-08 23:41:53 +00:00
Benoît Minisini
42eebd91f9 [DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Mark class as creatable if they don't have a 
  constructor but have dynamic variables.


git-svn-id: svn://localhost/gambas/trunk@6521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-07 21:33:24 +00:00
Benoît Minisini
c6d37cf4b8 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the FontBox control in the option dialog.

[WIKI CGI SCRIPT]
* NEW: Add a preview button in editing mode.

[GB.DB]
* NEW: Database driver now have a flag to tell if they support collation or 
  not.

[GB.DB.POSTGRESQL]
* BUG: Use collation only if database version is greater or equal than 9.1.

[GB.FORM]
* NEW: Little design changes in the FontChooser control.
* BUG: Fix the FontBox control.
* NEW: FontBox.Default is a new property that defines which text is 
  displayed in the control when no font is set. By default, the application 
  default font name is used.

[GB.FORM.DIALOG]
* NEW: Add a custom font chooser dialog for Dialog.SelectFont().


git-svn-id: svn://localhost/gambas/trunk@6520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-07 00:01:13 +00:00
Benoît Minisini
05f20c33e4 [GB.GTK]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.

[GB.GTK3]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.

[GB.QT4]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.


git-svn-id: svn://localhost/gambas/trunk@6519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-04 12:56:02 +00:00
Benoît Minisini
97913aa329 [CONFIGURATION]
* NEW: Switch to version 3.6.0.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly reset position buttons when a project is loaded.
* BUG: Text editor: Fix word delimiter characters for automatic completion.

[GB.GUI.BASE]
* BUG: ScrollArea: Prevent a possible crash.

[GB.NET.SMTP]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@6518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-02 21:38:50 +00:00
Willy Raets
fb1911cc53 [EXAMPLES}
* NEW: Ducth translations for ArrayOfControls example
* NEW: Ducth translations for Embedder example
* NEW: Ducth translations for HighLightEditor example
* NEW: Ducth translations for TextEdit example



git-svn-id: svn://localhost/gambas/trunk@6517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-02 15:33:36 +00:00
Benoît Minisini
e4689149c2 [GB.JIT]
* BUG: gb.jit should now compile with LLVM 3.5.


git-svn-id: svn://localhost/gambas/trunk@6516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-29 12:18:32 +00:00
Tobias Boege
2d81f8dff0 [GB.DATA]
* BUG: The 256 values of an input byte were mapped to just 128 bits of the
  trie children mask, so corruption could have happened with non-ASCII keys.
* BUG: Add a special case when using GB.AddString() on an empty key
* BUG: Fix a memory error from Trie.Complete()'s return value
* OPT: Use the Gambas API in trie.c to manage memory and thus remove error
  recovery since the interpreter will crash anyway
* OPT: Remove checks for "unsupported" characters as all 256 values of a
  byte are supported in this version of the code



git-svn-id: svn://localhost/gambas/trunk@6515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-28 20:01:52 +00:00
Benoît Minisini
35834a61ce [GB.FORM]
* NEW: TabPanel: Use text shadow for highlighting tab captions.

[GB.GUI.BASE]
* NEW: Default text shadow radius is now proportional to the font height.


git-svn-id: svn://localhost/gambas/trunk@6514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-28 12:49:07 +00:00
Benoît Minisini
87377fdb56 [DEVELOPMENT ENVIRONMENT]
* NEW: The default shortcut for deleting is the DELETE key alone again.
* NEW: When renaming an item in the project treeview, the file extension 
  is not selected.
* BUG: Activating the form editor property sheet now disable the form 
  editor poup menu. Consequently, the delete shortcut is not triggered
  unexpectedly anymore.

[GB.GUI.BASE]
* BUG: TreeView: A column resize does not automatically cancel the current 
  renaming.


git-svn-id: svn://localhost/gambas/trunk@6513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-27 21:44:36 +00:00
Benoît Minisini
065e2c48b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Clicking on the paste button correctly set the focus back to the 
  editor.

[WEBSITE MAKER]
* BUG: Fix pages not located in the wiki.

[EXAMPLES]
* BUG: PhotoTouch: Fix the example.

[COMPILER]
* NEW: Remove the Js$() function. Maybe it's not where it should be.

[INTERPRETER]
* NEW: Remove the Js$() function. Maybe it's not where it should be.
* BUG: Displaying a Result object in the debugger does not crash anymore.
* NEW: The GB.Realloc() API now calls GB.Alloc() if the pointer to 
  reallocate is null.

[GB.FORM]
* NEW: DateChooser: Make the time font size a little bit smaller.


git-svn-id: svn://localhost/gambas/trunk@6512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-26 21:52:42 +00:00
Willy Raets
eae32d3389 [EXAMPLES}
* NEW: Ducth translations for ImageViewer example
* NEW: Ducth translations for LightTable example
* NEW: Ducth translations for PhotoTouch example



git-svn-id: svn://localhost/gambas/trunk@6511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-25 22:05:42 +00:00
Willy Raets
568c41dff2 [EXAMPLES]
* NEW: Ducth translations for MySQL example
* NEW: Ducth translations for PictureDatabase example



git-svn-id: svn://localhost/gambas/trunk@6510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-25 21:12:05 +00:00
Willy Raets
516d8e1116 [WEB SITE MAKER]
* OPT: Some minor corrections to Dutch translations



git-svn-id: svn://localhost/gambas/trunk@6509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-25 00:14:51 +00:00
Willy Raets
233e687766 [EXAMPLES]
* NEW: Ducth translations for Database example



git-svn-id: svn://localhost/gambas/trunk@6508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-24 16:05:20 +00:00
Tobias Boege
c237307fff [GB.DATA]
* BUG: Trie: Fix Complete() method where the completion would be empty
  and a memory leak there



git-svn-id: svn://localhost/gambas/trunk@6507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-23 19:37:58 +00:00
Tobias Boege
87c0ee3b3a [GB.DATA]
* NEW: Trie and TriePrefix are new classes which implement a Patricia Trie



git-svn-id: svn://localhost/gambas/trunk@6506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-23 19:15:25 +00:00
Willy Raets
0d5c539fa1 [DEVELOPMENT ENVIRONMENT]
* NEW: Dutch translations corrected and updated



git-svn-id: svn://localhost/gambas/trunk@6505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-23 14:29:50 +00:00
Benoît Minisini
2d3bd49194 [WEBSITE MAKER]
* NEW: Support for dutch language.


git-svn-id: svn://localhost/gambas/trunk@6504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-23 00:45:14 +00:00
Benoît Minisini
2f871f3a02 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a typo in an offline help message.
* NEW: The option dialog was reorganized so that user identity information 
  has itw own panel.
* NEW: The user identity is now written inside translation files.

[COMPILER]
* NEW: Write meaningful information in generated translation files.

[GB.FORM]
* BUG: Wizard: Fix the layout of wizard step titles.
* NEW: Add a new icon named 'identity'.

[GB.FORM.STOCK]
* NEW: Add a new icon named 'identity'.

[GB.WEB]
* BUG: The deprecated URL.Encode() and URL.Decode() functions now correctly 
  call URL.Quote() and URL.Unquote().


git-svn-id: svn://localhost/gambas/trunk@6503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-23 00:27:31 +00:00
Willy Raets
66b2dad36b [EXAMPLES]
* NEW: Dutch translations for Blights example (retry)
* NEW: Dutch translations for Collection example (retry)
* NEW: Dutch translations for Object example (retry)
* NEW: Dutch translations for Timer example (retry)



git-svn-id: svn://localhost/gambas/trunk@6502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 23:32:09 +00:00
Willy Raets
474689efd4 [DEVELOPMENT ENVIRONMENT]
* NEW: One more correction to Dutch translation
[EXAMPLES}
* NEW: Dutch translations for Blights example
* NEW: Dutch translations for Collection example
* NEW: Dutch translations for Object example
* NEW: Dutch translations for Timer example



git-svn-id: svn://localhost/gambas/trunk@6501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 23:24:47 +00:00
Willy Raets
3a2d98181c [DEVELOPMENT ENVIRONMENT]
* NEW: Some minor corrections to Dutch translations



git-svn-id: svn://localhost/gambas/trunk@6500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 23:11:46 +00:00
Willy Raets
7b6b6c4f06 [GB.NET.POP3]
* NEW: Dutch translations corrected and updated
[GB.REPORT]
* NEW: Dutch translations corrected and updated



git-svn-id: svn://localhost/gambas/trunk@6499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 22:48:49 +00:00
Willy Raets
faa9fc72e1 [GB.ARGS]
* NEW: Dutch translations corrected and updated
[GB.DB.FORM]
* NEW: Dutch translations corrected and updated
[GB.FORM]
* NEW: Dutch translations corrected and updated
[GB.FORM.DIALOG]
* NEW: Dutch translations corrected and updated
[GB.FORM.MDI]
* NEW: Dutch translations corrected and updated
[GB.NET.POP3]
* NEW: Dutch translations corrected and updated
[GB.REPORT]
* NEW: Dutch translations corrected and updated



git-svn-id: svn://localhost/gambas/trunk@6498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 22:46:31 +00:00
Willy Raets
cada6c74a1 [WEB SITE MAKER]
* NEW: Dutch translations



git-svn-id: svn://localhost/gambas/trunk@6497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 22:05:36 +00:00
Willy Raets
0c6d4f7f9b [WIKI CGI SCRIPT]
* NEW: Dutch translation corrected and updated for doc.cgi
* NEW: Dutch translation corrected and updated for gambas-wiki
* NEW: Dutch translation corrected and updated fo gb.wiki


git-svn-id: svn://localhost/gambas/trunk@6496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 21:46:06 +00:00
Willy Raets
d776f2deb7 [EXAMPLES]
* NEW Dutch translations of HTTPGet example (again)


git-svn-id: svn://localhost/gambas/trunk@6495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 11:14:50 +00:00
Benoît Minisini
7fa6cd0569 [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: Support for the new Collation field property.

[EXAMPLES]
* BUG: PdfViewer: Some little fixes.

[GB.DB]
* NEW: Table.Fields.Add() method takes a new optional argument to define
  the field collation.
* NEW: Connection.Collations is a new property that returns the list of
  available collations as a String array.
* NEW: Field.Collation is a new property that returns the collation of a
  specific table field.

[GB.DB.MYSQL]
* NEW: Support for field collations.

[GB.DB.ODBC]
* NEW: Raise an error when trying to use collations. It is not supported.

[GB.DB.POSTGRESQL]
* NEW: Support for field collations.

[GB.DB.SQLITE2]
* NEW: Raise an error when trying to use collations. It is not supported.

[GB.DB.SQLITE3]
* NEW: Support for field collations.

[GB.QT4]
* BUG: ComboBox.Border property can be set even if it is in read-only mode.


git-svn-id: svn://localhost/gambas/trunk@6494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 02:52:05 +00:00
Willy Raets
8a7dcbf1a9 [DEVELOPMENT ENVIRONMENT]
* NEW: Dutch translation corrected and updated



git-svn-id: svn://localhost/gambas/trunk@6493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 01:36:50 +00:00
Willy Raets
c9e55aec8d [Examples]
* NEW: Dutch translations for ClientSocket example
* NEW: Dutch translations for DnsClient example
* NEW: Dutch translations for HTTPGet example
* NEW: Dutch translations for HTTPPost example



git-svn-id: svn://localhost/gambas/trunk@6492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-21 22:38:24 +00:00
Willy Raets
2b71c06bac [Examples]
* NEW: Dutch translations for ServerSocket example
* NEW: Dutch translations for UDPServerClient example
* NEW: Dutch translations for WebBrowser example



git-svn-id: svn://localhost/gambas/trunk@6491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-21 22:04:43 +00:00
Benoît Minisini
aebea281ad [DEVELOPMENT ENVIRONMENT]
* BUG: Don't say that the class is creatable when displaying help from 
  comments, if the class has no '_new' public method.


git-svn-id: svn://localhost/gambas/trunk@6490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-19 23:12:16 +00:00
Benoît Minisini
5d95312b76 [GB.PDF]
* BUG: Search result now takes the orientation into account.


git-svn-id: svn://localhost/gambas/trunk@6489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-18 22:34:23 +00:00
Benoît Minisini
f9c1e12191 [GB.PDF]
* BUG: The initial rotation of the PDF document is now taken into account.


git-svn-id: svn://localhost/gambas/trunk@6488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-18 20:47:31 +00:00
Benoît Minisini
af991b1e8d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix ArchLinux package creation when a vendor prefix is used.
* BUG: Fix Slackware package creation too.
* NEW: Use SHIFT+DEL as project file remove shortcut.

[OLD WIKI CGI SCRIPT]
* NEW: Add a deprecation message in all wiki pages.

[GB.FORM]
* BUG: Balloon: Don't save the balloon image in the home directory anymore.
  This was for debugging purpose.
* NEW: TableView editor background is used by its container now.

[GB.FORM.MDI]
* NEW: Shortcut editor: Use the standard background for the shortcut 
  TableView editor.


git-svn-id: svn://localhost/gambas/trunk@6487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-18 15:14:25 +00:00
Benoît Minisini
35005c14cf [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash at startup if there is no IDE configuration file.


git-svn-id: svn://localhost/gambas/trunk@6486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-17 02:39:42 +00:00
Benoît Minisini
ca3ba191a3 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: The delete shortcut is now [SHIFT]+[DEL], so that 
  pressing [DEL] in the property sheet does not unexpectedly delete the 
  control.


git-svn-id: svn://localhost/gambas/trunk@6485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-16 23:44:56 +00:00
Benoît Minisini
fe8cbc3d0b [GB.FORM]
* BUG: FileProperties: Try again to really prevent it from crashing when 
  no mimetype is available.


git-svn-id: svn://localhost/gambas/trunk@6484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-16 13:26:48 +00:00
Benoît Minisini
fdb7b01003 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove a debugging message when downloading the documentation.
* BUG: Fix the layout of the new project dialog.
* BUG: The component description file is now correctly updated when the 
  project properties change.
* BUG: Create an initial component description file when needed.

[GB.FORM]
* BUG: FileProperties: Do not crash if file mime type is not available.


git-svn-id: svn://localhost/gambas/trunk@6483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-16 13:08:22 +00:00
Tobias Boege
3418849cd0 [DEVELOPMENT ENVIRONMENT]
* BUG: FMakePatch: Don't require a destination file name to view the patch



git-svn-id: svn://localhost/gambas/trunk@6482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-16 07:36:08 +00:00
Benoît Minisini
a3c59253f6 [INTERPRETER]
* BUG: The PUSH CHAR byte code now works correctly with ASCII code greater 
  than 127.


git-svn-id: svn://localhost/gambas/trunk@6481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-16 01:10:58 +00:00
Benoît Minisini
5b6e0d2b82 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the routine that checks for program availability.


git-svn-id: svn://localhost/gambas/trunk@6480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 21:38:21 +00:00
Benoît Minisini
db2cb04d55 [DEVELOPMENT ENVIRONMENT]
* BUG: Use System.Exist() to check that 'wget' is installed before trying 
  to download the documentation.

[INTERPRETER]
* NEW: System.Exist() is a new method that returns if a specific program 
  can be found in the PATH environment variable.
* NEW: System.Find() is a new method that returns the absolute path of a 
  specific program according to the PATH environment variable.

[GB.GUI.BASE]
* NEW: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() default radius 
  is now Desktop.Scale divided by three.
* NEW: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() now take a new
  default argument to define the shadow opacity. The default value is 50%.


git-svn-id: svn://localhost/gambas/trunk@6479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 20:05:43 +00:00
Benoît Minisini
efc902a82a [GB.GTK]
* BUG: Fix menu item drawing again.

[GB.GTK3]
* BUG: Fix menu item drawing again.


git-svn-id: svn://localhost/gambas/trunk@6478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 03:40:50 +00:00
Benoît Minisini
3067da6c5d [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Menu.Radio property.

[GB.DB]
* BUG: Add an explicit warning message when a connection password must be 
  retrieved and the 'gb.desktop' component is not loaded.

[GB.GTK]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.GTK3]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.QT4]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.


git-svn-id: svn://localhost/gambas/trunk@6477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 03:28:41 +00:00
Benoît Minisini
3a0a4abc8c [DEVELOPMENT ENVIRONMENT]
* BUG: If the build directory does not exist, make the executable inside 
  the project directory in all cases.


git-svn-id: svn://localhost/gambas/trunk@6476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-14 18:43:33 +00:00
Tobias Boege
1086562f9e [EXAMPLES]
* BUG: Database: Remove Firebird as option for connection type.



git-svn-id: svn://localhost/gambas/trunk@6475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-14 15:31:32 +00:00