Commit graph

4410 commits

Author SHA1 Message Date
Adrien Prokopowicz
c41939ed3b [GB.XML]
* NEW: Added a new Document property to XMLExplorer.
* NEW: Added the Name and Value properties to XMLReader.Node.Attributes and
  XMLNode.Attributes, to get the name and value of the enumerated attribute.
* BUG: Fixed the XMLNode.Attributes enumeration.
* BUG: Fixed XMLExplorer taking the document itself as a node.
* OPT: Rewrote internal exception handling.

[GB.XML.XSLT]
* NEW: Added a new method XSLT.TransformToString() that returns a string 
  instead of an XML document.
* BUG: Fixed internal error management.

git-svn-id: svn://localhost/gambas/trunk@6416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-05 02:02:56 +00:00
Benoît Minisini
3dbf3ca320 [GB.NET]
* BUG: Fix a missing symbol lookup error.


git-svn-id: svn://localhost/gambas/trunk@6415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-03 15:01:00 +00:00
Benoît Minisini
1a1f6047e3 [DEVELOPMENT ENVIRONMENT]
* BUG: The offline wiki routines do not override the symbol information on 
  events anymore.
* NEW: New design of recent projects and examples choosers in the welcome
  dialog and the project open dialog.

[GB.FORM]
* NEW: ListContainer has been deprecated. It has design problems.

[GB.NET.SMTP]
* BUG: No circular references anymore when using SSL or TLS.

[GB.QT4]
* OPT: Do not arrange a container while destroying its children.
* BUG: Style.PaintBox now works correctly with QtCurve.
* BUG: Style.PaintBox now works better with QGtk.


git-svn-id: svn://localhost/gambas/trunk@6414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-02 22:50:08 +00:00
Benoît Minisini
c9d541a8db [INTERPRETER]
* BUG: The stream available length function now correctly returns zero when 
  it fails.


git-svn-id: svn://localhost/gambas/trunk@6413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-02 21:37:49 +00:00
Benoît Minisini
22f53573c0 [INTERPRETER]
* BUG: A new Task now resets the state of its standard output stream to 
  avoid side effects from its parent.


git-svn-id: svn://localhost/gambas/trunk@6412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 20:29:01 +00:00
Benoît Minisini
ca0c1db682 [GB.NET.SMTP]
* BUG: Fix test mail.


git-svn-id: svn://localhost/gambas/trunk@6411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 14:08:10 +00:00
Benoît Minisini
278e18a698 [GB.NET.SMTP]
* BUG: Wait for openssl process death after disconnecting from the SMTP 
  server.


git-svn-id: svn://localhost/gambas/trunk@6410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 12:56:58 +00:00
Benoît Minisini
00ed123d18 [GB.NET.SMTP]
* BUG: Fix the badly overriden class error.


git-svn-id: svn://localhost/gambas/trunk@6409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 12:08:15 +00:00
Benoît Minisini
73b2d0dd75 [GB.FORM]
* BUG: FileChooser: Fix an infinite loop when trying to initialize the path 
  with an unknown file.

[GB.MEDIA.FORM]
* NEW: New component based on gb.media that includes a full media player 
  widget with controls.

[GB.NET.SMTP]
* NEW: SmtpClient is now a virtual control.


git-svn-id: svn://localhost/gambas/trunk@6408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 01:37:56 +00:00
Tobias Boege
27007f708b [GB.DATA]
* NEW: Deque: Add a Copy() method to return a deep copy of a Deque. Stack
  and Queue "inherit" this method.



git-svn-id: svn://localhost/gambas/trunk@6407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-29 11:26:46 +00:00
Benoît Minisini
1c98e81c6e [GB.NET.SMTP]
* BUG: Explicitely load the 'gb.net' component to be backward compatible 
  with the old gb.net.smtp that didn't require it.
* NEW: Fix error messages.
* NEW: Add a 10 seconds timeout to the TCP socket.


git-svn-id: svn://localhost/gambas/trunk@6405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 12:26:39 +00:00
Benoît Minisini
0340d2e569 [CONFIGURATION]
* BUG: Forgot to add the gambas3 appdata file.


git-svn-id: svn://localhost/gambas/trunk@6404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 10:28:42 +00:00
Benoît Minisini
6b89a4fb69 [CONFIGURATION]
* NEW: Add an gambas appdata file and install it in /usr/share/appdata.

[DEVELOPMENT ENVIRONMENT]
* BUG: ImageEditor: Fix a possible crash when pasting an image.
* BUG: Correctly detect if a project is handled by subversion or not.

[INTERPRETER]
* NEW: Replace the internal `class->state` variable by two boolean flags:
  `class->loaded` and `class->ready`.
* NEW: Overriding a class that is the parent of other classes is possible
  again. I don't remember what prevented that to work, so I want to see.

[GB.DEBUG]
* NEW: Propagate the changes in the interpreter class structure.

[GB.EVAL]
* NEW: Propagate the changes in the interpreter class structure.

[GB.GUI.AREA]
* BUG: GridView: Setting the background color correctly refreshes the 
  control.

[GB.JIT]
* NEW: Propagate the changes in the interpreter class structure.

[GB.NET.SMTP]
* NEW: Replace the old gb.net.smtp component written in C and Gambas by a
  new component with the same name entirely written in Gambas.
* BUG: Fix the authentication process.
* BUG: Fix how the result of the EHLO command is read.

[GB.QT4.EXT]
* NEW: LCDNumber control is now put in a "Deprecated" tab in the IDE 
  control toolbar.


git-svn-id: svn://localhost/gambas/trunk@6403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 05:35:58 +00:00
Tobias Boege
60e7c3e7ba [GB.DATA]
* NEW: Heap is a new class that implements a Min- or MaxHeap, depending upon
  a mode parameter to its constructor. It supports some advanced ways to
  manipulate the contained data -- beyond the first entry.



git-svn-id: svn://localhost/gambas/trunk@6402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 03:34:24 +00:00
Tobias Boege
70cbbe1879 [EXAMPLES]
* NEW: WatchGambasDirectory: gb.inotify example to demonstrate basic usage.



git-svn-id: svn://localhost/gambas/trunk@6401 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 03:10:33 +00:00
Tobias Boege
d3ec79a214 [GB.INOTIFY]
* NEW: Add Pause() and Resume() methods to pause and resume a watch.
  IsPaused can be used to read/set/toggle the "paused" state.



git-svn-id: svn://localhost/gambas/trunk@6400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 02:14:37 +00:00
Tobias Boege
f18e3d9403 [GB.OPENSSL]
* NEW: Make CipherText creatable so that data from external sources can be
  deciphered.



git-svn-id: svn://localhost/gambas/trunk@6399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 01:02:46 +00:00
Benoît Minisini
4963ce37d2 [INTERPRETER]
* BUG: When reading lines ending with a "Window" end-of-line sequence 
  (CR+LF), the LINE INPUT instruction could sometimes forget to remove the 
  first end-of-line character from the end of the line (CR).


git-svn-id: svn://localhost/gambas/trunk@6398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-27 21:04:29 +00:00
Tobias Boege
218cfadb9b [GB.NET]
* NEW: DnsClient: defer async setup to when a query is made and release
  the pipe watch afterwards as soon as possible so that Gambas processes
  don't wait on non-active but existent watches.
* NEW: One can change the Async property of DnsClient now while it is
  active; the change applies to subsequent queries.

[EXAMPLES]
* BUG: DnsClient: Don't use the special _free() method.



git-svn-id: svn://localhost/gambas/trunk@6397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-24 19:03:08 +00:00
Benoît Minisini
2f203fef44 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix an unknown symbol error in offline documentation generation.

[SCRIPTER]
* BUG: Don't be case sensitive when searching for the "USE" keyword.


git-svn-id: svn://localhost/gambas/trunk@6396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-23 20:49:56 +00:00
Benoît Minisini
55f76b9209 [GB.FORM]
* BUG: Stock.Themes property does not crash anymore if an 'index.theme' 
  file is not readable.


git-svn-id: svn://localhost/gambas/trunk@6395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-22 18:56:52 +00:00
Benoît Minisini
95d0f89346 [GB.GTK]
* BUG: Fix session management compilation.

[GB.GTK3]
* BUG: Fix session management compilation.



git-svn-id: svn://localhost/gambas/trunk@6394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-21 22:49:03 +00:00
Benoît Minisini
ae23faf1a3 [GB.GTK]
* NEW: Support for automatic session management.

[GB.GTK3]
* NEW: Support for automatic session management.


git-svn-id: svn://localhost/gambas/trunk@6393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-21 04:18:55 +00:00
Benoît Minisini
86c06592c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the offline help on component symbols should be displayed 
  correctly in any case.
* NEW: Support for automatic session management.
* BUG: Some fixes in single file editing mode.

[INTERPRETER]
* NEW: Args.All is a new property that returns all the command-line 
  arguments as a string array. Not definitive: it may be removed in the
  future.

[GB.GTK]
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager. Beware that it has
  no effect at the moment!

[GB.QT4]
* NEW: Support for automatic session management. Only gb.qt4 implements it
  at the moment.
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager.



git-svn-id: svn://localhost/gambas/trunk@6392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 14:41:54 +00:00
Benoît Minisini
af40ba73be [EXAMPLES]
* NEW: BeastScroll: Add a keyboard shortcut that takes a screenshot, and
  add more text to the screen.


git-svn-id: svn://localhost/gambas/trunk@6391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 02:49:32 +00:00
Benoît Minisini
503211568d [GB.SDL]
* NEW: The default font is now embedded in the library.
* BUG: The default font rendering has been fixed.
* NEW: Window.Screenshot() now can take four optional arguments to define 
  a rectangular sub-part of the window to retrieve.


git-svn-id: svn://localhost/gambas/trunk@6390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 02:46:17 +00:00
Benoît Minisini
e2c7abf46d [GB.SDL]
* NEW: Window.Screenshot() is a new method that returns a screenshot of the 
  window contents by reading the OpenGL color buffer.


git-svn-id: svn://localhost/gambas/trunk@6389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-19 19:00:30 +00:00
Henrique
39ebedf66c [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translation.


git-svn-id: svn://localhost/gambas/trunk@6388 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-18 12:33:11 +00:00
Benoît Minisini
076e53d577 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when opening the translation dialog whereas no project 
  string is translatable.


git-svn-id: svn://localhost/gambas/trunk@6386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 23:44:32 +00:00
Benoît Minisini
fbb0571940 [GB.QT4]
* BUG: Reading the Printer.GrayScale property now returns the correct 
  value.


git-svn-id: svn://localhost/gambas/trunk@6385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 22:49:20 +00:00
Benoît Minisini
29d06fb0d1 [DEVELOPMENT ENVIRONMENT]
* NEW: The project tree view popup menu now has an entry for opening 
  recently closed files.
* NEW: Now comment automatic insertion is triggered only if SHIFT+RETURN 
  is pressed. Not if just RETURN is pressed.

[GB.FORM.MDI]
* NEW: Workspace.Exist() is a new method that tells if a specific window is 
  embedded inside the Workspace.


git-svn-id: svn://localhost/gambas/trunk@6384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 18:51:21 +00:00
Benoît Minisini
8b61ab1e65 [INTERPRETER]
* BUG: Fix a crash when the first use of a class symbol recursively calls 
  the current function being executed.


git-svn-id: svn://localhost/gambas/trunk@6383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 00:57:45 +00:00
Benoît Minisini
08b5987282 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix offline documentation detection and download.


git-svn-id: svn://localhost/gambas/trunk@6382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-15 23:59:13 +00:00
Benoît Minisini
799d6cf106 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix stylesheet of offline documentation.
* BUG: IDE shortcuts help window now works with offline documentation.
* BUG: Webkit seems to not like encoded square brackets in 'file://' URLs. 
  So don't encode them.

[GB.QT4.WEBKIT]
* OPT: WebView: Raise the Progress event only if the progress value has 
  actually changed.


git-svn-id: svn://localhost/gambas/trunk@6381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-14 23:06:27 +00:00
Benoît Minisini
d20c313560 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when opening the help browser after the F2 key has been 
  hit.

[INTERPRETER]
* BUG: Fix a crash when running the Application_Error global error handler.

[GB.FORM]
* NEW: DirBox is a new control that allows to choose a directory from a 
  ButtonBox.
* NEW: DirBox, FontBox and DateBox are now put in the "Chooser" tab of the
  IDE control toolbar.


git-svn-id: svn://localhost/gambas/trunk@6380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-14 17:23:05 +00:00
Benoît Minisini
950a5fefce [DEVELOPMENT ENVIRONMENT]
* NEW: Update translations by using the gambas.wiki project translations.
* NEW: Centralize the help browser in a custom control.
* NEW: Automatic completion and signature help browsers now support the 
  offline documentation.


git-svn-id: svn://localhost/gambas/trunk@6379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-14 02:43:26 +00:00
Benoît Minisini
010d44402b [GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now tries to use the 'ip' command if 
 'ifconfig' is not available.


git-svn-id: svn://localhost/gambas/trunk@6378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 21:31:14 +00:00
Benoît Minisini
3e701eafdb [GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now works with another 'ifconfig' output 
  syntax.


git-svn-id: svn://localhost/gambas/trunk@6377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 19:51:38 +00:00
Benoît Minisini
a808579937 [GB.QT4]
* BUG: The Printer.NumCopies property now works as expected.


git-svn-id: svn://localhost/gambas/trunk@6376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 19:48:24 +00:00
Benoît Minisini
cf4f1b9a72 [DEVELOPMENT ENVIRONMENT]
* NEW: Help browser: Language support in the offline help.


git-svn-id: svn://localhost/gambas/trunk@6375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 19:04:51 +00:00
Benoît Minisini
fa907cb38a [DEVELOPMENT ENVIRONMENT]
* NEW: Initial support for offline documentation!
* BUG: Correctly hide compress & uncompress actions.

[WIKI]
* BUG: Fix a typo.
* NEW: Use the '<%/%>' syntax wherever possible.

[GB.DESKTOP]
* NEW: Desktop.NetworkAvailable is a new property that returns if the 
  network is available. It just use 'ifconfig' to search for a network 
  interface having an IP address different from '127.0.0.1'

[GB.GUI.BASE]
* BUG: If Actoni_Activate() does not return a value as expected, ignore it 
  instead of crashing.

[GB.MARKDOWN]
* NEW: MarkdownLink now has a CheckURL() method to check URL inside <img> 
  and <a> markups.
* NEW: MarkdownLink has a new 'Blank' property. You now have to set this 
  property to TRUE if you want the link to be opened in a new window.


git-svn-id: svn://localhost/gambas/trunk@6374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 17:33:16 +00:00
Fabien Bodard
fe6a711f48 [GB.REPORT]
* BUG: Try to resolve the setting problem in report preview box.
* NEW: Begin shadow implementation, it is partially scaled on css3 one.



git-svn-id: svn://localhost/gambas/trunk@6373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 15:40:52 +00:00
Tobias Boege
46ebc2acb4 [GB.DATA]
* NEW: First attempt to define a Graph class interface



git-svn-id: svn://localhost/gambas/trunk@6372 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-12 00:20:35 +00:00
Benoît Minisini
a7a73cf3a4 [DEVELOPMENT ENVIRONMENT]
* NEW: All files can be "locked". This is implemented by using the file 
  write permissions. The old form locking mechanism has been removed.


git-svn-id: svn://localhost/gambas/trunk@6371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-11 11:51:47 +00:00
Benoît Minisini
7cf19b5dde [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Selecting a control ensures that it is visible if one 
  of its parent is a multi-container.


git-svn-id: svn://localhost/gambas/trunk@6370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-10 22:28:45 +00:00
Benoît Minisini
fbce0d0077 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Add a "Select parent" menu entry that selects the 
  parent of the master control of the current selection.


git-svn-id: svn://localhost/gambas/trunk@6369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-10 21:31:32 +00:00
Benoît Minisini
3d38df43bd [GB.SETTINGS]
* BUG: Enumerating `Settings.Keys[Slot]` (the keys of a specific slot) does 
  not break anymore the enumeration of `Settings.Key` (the slot names).


git-svn-id: svn://localhost/gambas/trunk@6365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 15:40:16 +00:00
Benoît Minisini
058bf169c8 [DEVELOPMENT ENVIRONMENT]
* NEW: When adding new project files, now you can insert several existing 
  files in one shot.

[GB.FORM]
* BUG: FileChooser: Multiple file selection works correctly again.


git-svn-id: svn://localhost/gambas/trunk@6364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 12:36:24 +00:00
Benoît Minisini
7992fbab91 [WIKI]
* NEW: Use explicit black on white colors.

[GB.GUI.BASE]
* BUG: The GridView, TreeView (and all its cousins) background correctly
  reacts to system color theme changes.

[GB.QT4.WEBKIT]
* NEW: WebView: Try to interpret the control background and foreground 
  colors as default web page colors.


git-svn-id: svn://localhost/gambas/trunk@6363 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 02:38:46 +00:00
Benoît Minisini
fb088ab291 [DEVELOPMENT ENVIRONMENT]
* BUG: The close menu now works for all editors in single file mode.

[GB.FORM.MDI]
* BUG: Workspace: Fix the new Remove() method and the old Add() method.


git-svn-id: svn://localhost/gambas/trunk@6362 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 00:07:52 +00:00