Commit graph

33 commits

Author SHA1 Message Date
Benoît Minisini
3054690743 [CONFIGURATION]
* NEW: Print a summary of warning messages after each component 
  compilation.

[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an 
  internal closure is created with the libffi library. The pointer then can 
  be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 01:50:18 +00:00
Benoît Minisini
b3db598050 [DEVELOPMENT ENVIRONMENT]
* BUG: Breakpoints are correctly reset when opening a new project.

[INTERPRETER]
* BUG: The GB.NewString(), GB.NewZeroString() and GB.TempString() API 
  signature has changed. All components have been updated accordingly.
* OPT: Many optimizations to speed up the interpreter.

[GB.EVAL]
* NEW: During syntax highlighting, the first character of class names is
  automatically converted to uppercase.


git-svn-id: svn://localhost/gambas/trunk@2992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-04 23:48:53 +00:00
Benoît Minisini
d4f7952f5b [GB.NET.SMTP]
* BUG: Adds a newline between MIME part headers and MIME part body.


git-svn-id: svn://localhost/gambas/trunk@2981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-30 11:18:17 +00:00
Benoît Minisini
17a6f7ebed [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore incorrect paths when loading recent file list.

[INTERPRETER]
* OPT: Compute stack backtrace only when needed.


git-svn-id: svn://localhost/gambas/trunk@2975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-28 07:47:49 +00:00
Benoît Minisini
85576a5871 [GB.DB.MYSQL]
* BUG: Fix the use of GB.NewString() API.

[GB.NET.SMTP]
* BUG: Send a CR+LF and not just a LF before sending mime part body.


git-svn-id: svn://localhost/gambas/trunk@2966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-25 13:49:17 +00:00
Benoît Minisini
ca37913578 [DEVELOPMENT ENVIRONMENT]
* BUG: Search string is correctly highlighted in all cases now.

[WEB SITE MAKER]
* NEW: German translation made by Stefan Lang.

[COMPILER]
* NEW: The 'New' keyword is now mandatory when declaring array variables 
  with dimensions. The IDE and component source code were modified 
  according to that change.

[GB.QT4.EXT]
* BUG: Search strings are correctly highlighted in editors with no syntax 
  highlighting.


git-svn-id: svn://localhost/gambas/trunk@2944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-14 21:17:04 +00:00
Benoît Minisini
932253491b [DEVELOPMENT ENVIRONMENT]
* NEW: New search & replace dialog that replaces the old one. Browsing the 
  entire project and searching inside forms are not implemented yet.
* NEW: Remove the search feature inside the console window, as now the new
  search & replace dialog can do the job.

[GB.FORM]
* NEW: MenuButton.Arrow is a new property to define if the little arrow
  button has to be shown. If Arrow is FALSE, then clicking on the 
  MenuButton automatically opens the menu.


[GB.GTK]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.

[GB.QT4]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.


git-svn-id: svn://localhost/gambas/trunk@2885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 01:27:33 +00:00
Benoît Minisini
5ab6741683 [GB.NET.SMTP]
* NEW: The old SmtpClient class has been renamed to "_SmtpClass", so that 
  it is hidden.
* NEW: Add a gambas part to the component that implements the real 
  SmtpClass, by adding to _SmtpClass support for encryption (TLS or SSL).


git-svn-id: svn://localhost/gambas/trunk@2866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-06 21:09:59 +00:00
Benoît Minisini
a8c6cd99a3 [INTERPRETER]
* BUG: Process stream correctly detects when something has been really read
  during a Read event.

[GB.NET.SMTP]
* NEW: SmtpClient._NoGreeting is a new property that tells not to read the 
  SMTP server greeting. This is needed, because with TLS authentication, 
  openssl does not print it.


git-svn-id: svn://localhost/gambas/trunk@2865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-06 18:03:37 +00:00
Benoît Minisini
1a905d7cab [INTERPRETER]
* NEW: The GB.Stream.Read API reads up to a defined number of bytes when 
  its length argument is negative (like the READ instruction).
* NEW: Reading a stream up to a defined number of bytes blocks for the 
  first byte to read.

[GB.NET.SMTP]
* BUG: The SmtpClient now works when it is piped with a stream coming from 
  the openssl command, either with TLS or SSL.
* BUG: All SMTP commands are sent in lower case, because uppercase can 
  confuse openssl.


git-svn-id: svn://localhost/gambas/trunk@2864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-06 17:00:25 +00:00
Benoît Minisini
c15a7461aa [INTERPRETER]
* NEW: New APIs to get a Gambas stream from a stream object 
  (GB.Stream.Get), to read data from a stream (GB.Stream.Read) and to write
  date to a stream (GB.Steam.Write).

[GB.NET.SMTP]
* BUG: The _Socket property has been replaced by the _Stream property, that
  takes a Gambas stream.
* BUG: Correctly release the user and password strings when the SmtpClient 
  is freed.


git-svn-id: svn://localhost/gambas/trunk@2863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-05 17:02:16 +00:00
Benoît Minisini
95d5a1216a [GB.NET.SMTP]
* NEW: SmtpClient.Debug is a new property that makes the component print 
  the SMTP dialogue on the standard error.
* NEW: SmtpClient.User and SmtpClient.Password are two new properties to
  define the user and password used for authorization.
* NEW: Support for the AUTH PLAIN command: if SmtpClient.User and 
  SmtpClient.Password are set, an AUTH PLAIN command is emitted.
* NEW: SmtpClient._Socket is a new hidden property that allows to define 
  the socket used for talking to the SMTP server. In that case, the 
  component will not close that socket after the mail has been sent.


git-svn-id: svn://localhost/gambas/trunk@2862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-05 14:02:46 +00:00
Benoît Minisini
7790bd8e1e [CONFIGURATION]
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.

[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component 
  requirements.

[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas 
  version string, with major and minor numbers.


git-svn-id: svn://localhost/gambas/trunk@2781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 00:14:54 +00:00
Benoît Minisini
eba1d9c405 [DEVELOPMENT ENVIRONMENT]
* OPT: Cache the welcome Gambas SVG logo in an image for faster redrawing.
* NEW: Start defining new control hidden properties in all components: 
  _IsControl, _Group, _Family, _IsVirtual, _IsContainer, _IsMultiContainer.

[EXAMPLES]
* NEW: Use new Paint methods in the Painting example.

[INTERPRETER]
* BUG: Instr() and RInstr() correctly handle non-ASCII characters.

[GB.DRAW]
* NEW: Support for Paint.RichText and Paint.RichTextExtents.

[GB.GTK]
* BUG: Rich text relative font sizes are now correctly handled.
* NEW: Implement Paint.RichText and Paint.RichTextExtents.

[GB.QT4]
* NEW: Implement Paint.RichText and Paint.RichTextExtents.


git-svn-id: svn://localhost/gambas/trunk@2698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-14 01:16:27 +00:00
Benoît Minisini
6bfa9b5fe2 [CONFIGURATION]
* NEW: Remove the gb.qt and gb.qt.kde components.

[DEVELOPMENT ENVIRONMENT]
* NEW: Work on report form support continues.
* BUG: Do not crash if there is a compilation error and the IDE cannot open 
  the source file.

[GB.DB]
* NEW: The Find() and Edit() methods of the Connection class now works 
  correctly if the ORDER BY clause is used alone in the request argument.

[GB.QT]
* NEW: This component has been removed.

[GB.QT.EXT]
* NEW: This component has been removed.

[GB.QT.OPENGL]
* NEW: This component has been removed.

[GB.QT.KDE]
* NEW: This component has been removed.

[GB.QT.KDE.HTML]
* NEW: This component has been removed.


git-svn-id: svn://localhost/gambas/trunk@2683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:58:50 +00:00
Benoît Minisini
0665d5f720 [CONFIGURATION]
* BUG: Configuration summary should be printed correctly again.
* NEW: README file was updated.

[INTERPRETER]
* BUG: The Error information should not be lost anymore during error 
  propagation through constructors.
* NEW: Natural comparison is now always language-aware.

[GB.QT4]
* BUG: TextArea selection methods work correctly now.
* BUG: TreeView.Count and ColumnView.Count now return the number of items 
  in the view like in gb.gtk, not just the number of root items.


git-svn-id: svn://localhost/gambas/trunk@2643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-27 03:28:06 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* BUG: Add --install glag to autoreconf, that fix creation of config files,
  also add build-dist script to create a lighter tar.bz2 archive of the
  repository.



git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 21:30:35 +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
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
8dbb8a1e2a [CONFIGURATION]
* BUG: Forgot to commit symbolic links to the "m4" directory.


git-svn-id: svn://localhost/gambas/trunk@2237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:51:28 +00:00
Benoît Minisini
96550473f7 [CONFIGURATION]
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.

[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.

[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.


git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:07:48 +00:00
Benoît Minisini
e8e807ee2b [CONFIGURATION]
* BUG: Fix the gb.qt4 configure.ac file so that it works with stupid 
  pkg-config configuration files.

[DEVELOPMENT ENVIRONMENT]
* NEW: An option to define the terminal emulator used by the IDE.
* NEW: Some unused icons were removed from the project.
* BUG: The project tree does not steal the focus anymore after a project 
  compilation.

[GB.NET.SMTP]
* BUG: Fix the UTF-8 encoding of mail subjects having a '?' character 
  inside.

[GB.QT4]
* BUG: Fix the global event filter so that setting Application.Tooltip to 
  False does not interfer with the global key event handler.


git-svn-id: svn://localhost/gambas/trunk@2174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-26 12:38:20 +00:00
Benoît Minisini
7df43ef0f2 [DEVELOPMENT ENVIRONMENT]
* NEW: The connection editor now uses the new DataSource Connection 
  property.
* NEW: A button to copy the field names of a table in the clipboard.
* NEW: Change the layout of the connection editor.
* NEW: Enhance the list property editor.
* NEW: Use the new logo made by Fabien Bodard.
* NEW: Support for editing properties whose type is "Table" and 
  "Connection".
* NEW: Scroll the form editor when using the rectangular selection.
* BUG: Fix the project information displayed in the open project dialog.

[INTERPRETER]
* BUG: Fix a stupid bug that made the interpreter crash when a class was
  allocated at a negative memory address.
* BUG: Fix the conversion of strings into numbers, especially when 
  converting Long values.

[GB.DB.FORM]
* NEW: Redesign the controls so that DataSource can be assigned a specific
  connection.
* NEW: DataSource.Connection is a new property that allows to assign a
  specific Connection object to a DataSource. If a DataSource has no 
  connection assigned, it will use the connection of its parent DataSource.
  By default, the current connection (DB.Current) is used.
* NEW: Remove the DataSource.CacheSize property. Is it really useful?

[GB.NET.SMTP]
* NEW: Send the "Date:" header with any mail.


git-svn-id: svn://localhost/gambas/trunk@2137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-20 01:10:50 +00:00
Benoît Minisini
9343dd059d [DEVELOPMENT ENVIRONMENT]
* BUG: Shift+Delete now works correctly in the editor. It does not cut an 
  extra character anymore.
* BUG: The selected control name on top of the property sheet is now 
  correctly displayed.

[EXAMPLES]
* NEW: The AnalogWatch example now displays the time.

[GB.GTK]
* BUG: The Form.Load() method works correctly now.
* BUG: Draw.Begin() and DrawingArea Draw event correctly initialize the 
  background and foreground colors now.

[GB.NET.CURL]
* BUG: Fix some bad uses of interpreter API.

[GB.NET.SMTP]
* BUG: Fix some bugs in quoted-printable encoding and the sending of body 
  data.
* BUG: Apparently, a point at the beginning of a quoted-printable line is
  not allowed. So encode the point in that specific case.

[GB.QT]
* BUG: DrawingArea whose Background property has been changed does not 
  flicker anymore.


git-svn-id: svn://localhost/gambas/trunk@1425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-20 18:14:02 +00:00
Benoît Minisini
9b46a269c7 [DEVELOPMENT ENVIRONMENT]
* NEW: Adds a popup menu to the console window.

[WIKI CGI SCRIPT]
* BUG: Display a message when accessing a symbol page that does not exist 
  in the current version.

[EXAMPLES]
* NEW: New Barcode example made by Charles Guerin and modified by me.

[INTERPRETER]
* NEW: New API for returning the fully-qualified domain name.
* BUG: Fix a bug in DateAdd() that made this function corrupt the next 
  date to string conversion, which then lead to other bad weird things.

[GB.DRAW]
* BUG: Fix Draw.Circle center that was shifted one pixel to the top left.

[GB.GTK]
* BUG: Window.Reparent() now works correctly when embedding or unembedding 
  a top-level window.
  
[GB.NET.SMTP]
* NEW: Do not use MIME parts when it is useless.
* BUG: Try to use the fully-qualified domain name when sending the EHLO 
  command to the SMTP server. That actually works only if the system domain
  name has been set to the DNS domain name.

[GB.PCRE]
* BUG: Fix crashes due to bad uses of interpreter API.

[GB.QT]
* BUG: Fix the drawing of the frame of cached DrawingArea controls.


git-svn-id: svn://localhost/gambas/trunk@1404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-11 10:44:50 +00:00
Benoît Minisini
09369edfd1 [DEVELOPMENT ENVIRONMENT]
* NEW: Automically edit the 'Name' property when inserting a new control in
  a form.
* BUG: Defining the startup class correctly updates the .startup file.
* BUG: The form editor takes into account the new Border and Resizable 
  Window properties correctly now.
* BUG: Form editor window frame is drawn in a more polished way.
* NEW: Automatically focus on the last edited property when the form editor
  selection changes.
* BUG: Do not hide the debug window anymore when undocking the console.

[INTERPRETER]
* BUG: Getting information on a not yet loaded class does not crash the 
  debugger anymore.
  
[GB.FORM]
* NEW: Workspace.Orientation is a new property that allows to define the 
  orientation of the Workspace tabstrip.
* BUG: Fix the DatePicker button drawing routine in ValueBox.
  
[GB.GTK]
* BUG: Windows cannot get focus anymore.

[GB.NET.SMTP]
* NEW: Write a Content-Length header inside MIME parts.

[GB.QT]
* NEW: Do not automatically transform non catched key events into 
  accelator events.
* BUG: Draw.Style.Panel() works correctly now.

[GB.SETTINGS]
* NEW: Settings.Read and Settings.Write now always store control settings 
  in a slot based on the parent Window name, not the top-level one.


git-svn-id: svn://localhost/gambas/trunk@1332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-21 23:15:48 +00:00
Benoît Minisini
f9aee465a3 [CONFIGURATION]
* BUG: config.h.in files were removed from repository.

[DEVELOPMENT ENVIRONMENT]
* BUG: The initial stack backtrace list width is correct now.


git-svn-id: svn://localhost/gambas/trunk@1233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-23 01:07:33 +00:00
Benoît Minisini
c9dd8bcefe [INTERPRETER]
* BUG: Fixes the string management optimizations.
* OPT: Optimization of the string search function (InStr, RInstr).
* OPT: Optimization of the Split() function.
* OPT: Optimization of local variables initialization when entering a
  method.

[GB.NET.SMTP]
* BUG: Fixes the Makefile.am file so that the component compiles if the 
  glib library is installed in a non-standard directory.

[GB.QTE.EXT]
* BUG: Fixes the gb.qte.ext.component file.



git-svn-id: svn://localhost/gambas/trunk@1203 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-19 23:50:34 +00:00
Benoît Minisini
e4d7400aa3 [CONFIGURATION]
* NEW: Removed the out-of-date README.FEDORA and README.REDHAT files.

[EXAMPLES]
* BUG: Fixed the MoviePlayer example.
* BUG: Fixed the Clock example.

[WIKI CGI SCRIPT]
* NEW: More titles and less borders.

[INTERPRETER]
* BUG: Uses the accurate method prototypes for Byte, Short and Single array
  classes.
* BUG: Many fixes in the error management.

[GB.DB]
* BUG: Fixed many warnings and some 64 bits stuff in all database drivers.

[GB.DEBUG]
* NEW: More explicit error messages when the creation of debugger fifos 
  fails.

[GB.COMPRESS.ZLIB]
* BUG: Fixed the compilation on 64 bits OS.

[GB.CORBA]
* NEW: Fixed some warnings.

[GB.GTK]
* NEW: Fixed some warnings.

[GB.IMAGE]
* NEW: Fixed some warnings.

[GB.NET.SMTP]
* NEW: Fixed some warnings.

[GB.PDF]
* NEW: Fixed some warnings.

[GB.QT.KDE]
* NEW: Fixed some warnings.

[GB.SDL]
* NEW: Fixed some warnings.

[GB.SDL.SOUND]
* NEW: Fixed some warnings.

[GB.XML]
* NEW: Fixed some warnings.

[GB.XML.XLST]
* NEW: Fixed some warnings.



git-svn-id: svn://localhost/gambas/trunk@1055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-02-02 10:54:13 +00:00
Benoît Minisini
4c02c6d338 ******** Merged /branches/64bits r918:1003 into /trunk
[CONFIGURATION]
* NEW: 64 bits port.

[EXAMPLES]
* BUG: Fixed the AnalogWatch example.

[WIKI CGI SCRIPT]
* NEW: Some little cosmetic changes.

[INTERPRETER]
* NEW: The extern function implementation has been redesigned and is now
  based on libffi, so that it works on 64 bits system. Because of a flaw in
  the compiler design, projects that use the Pointer datatype must be
  recompiled to be used on a 64 bits system. This flaw will be fixed in
  Gambas 3.
* OPT: Put some tables into read-only memory. About 1000 bytes are saved
  for each running interpreter, except the first one.
* BUG: Does not crash anymore if a component cannot be loaded.
* NEW: Spanish translation updated.
* NEW: A new interpreter API for returning a pointer.

[COMPILER]
* BUG: Correctly compiles LONG constants inside code.

[GB.DEBUG]
* BUG: Compiles and links the gb.debug components with the thread
  libraries.

[GB.DB.SQLITE3]
* BUG: Getting the primary index of a table without primary index is safe
  now.

[GB.GTK]
* BUG: Modified the GLib priority of watched descriptors, as the main loop 
  could enter in a loop in which user interface events were not managed.
* BUG: Message boxes use application title without crashing now.

[GB.OPENGL]
* BUG: Disable dead code.

[GB.QT.EXT]
* BUG: TextEdit.TextWidth and TextEdit.TextHeight were not declared as
  read-only properties.

[GB.XML.XSLT]
* BUG: XSLT class is now declared as being not creatable.


git-svn-id: svn://localhost/gambas/trunk@1006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-17 21:39:26 +00:00
Benoît Minisini
72aabf1920 [CONFIGURATION]
* BUG: Try to detect correctly all X11 linking paramters.

[64 BITS]
* NEW: Start to remove all ambiguous datatypes.

[DEVELOPMENT ENVIRONMENT]
* NEW: The gambas2 project was renamed to gambas3.
* BUG: The completion and signature font sizes are now the default one.
* NEW: Add support for Basque language.

[WIKI CGI SCRIPT]
* BUG: The symbol pages work again, and inheritance between class belonging
  to different components now is taken into account correctly.

[SCRIPTER]
* NEW: The gbs2 project was renamed to gbs3.


git-svn-id: svn://localhost/gambas/trunk@914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-05 14:07:21 +00:00
Benoît Minisini
ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00