Commit graph

24 commits

Author SHA1 Message Date
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
47d0aa711c [CONFIGURATION]
* NEW: Architecture detection.
* NEW: Updated libtool macros.

[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.

[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.

[GB.DRAW]
* NEW: Start implementing the new Paint interface.

[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 02:02:05 +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
d3501bf140 [DEVELOPMENT ENVIRONMENT]
* NEW: Work continues on integrating the database manager.
* NEW: Some cosmetic changes in the way controls are drawing on the form
  editor.
* NEW: Panels with Border property set to None are now drawn with a light 
  border.
* BUG: Fix the "Show tab" button and menu.

[INTERPRETER]
* NEW: _attach is a new dynamic special method that is called when an 
  object is attached to or detached from its event observer. The first 
  argument of this method is the event observer, and the second argument 
  the event handler prefix.

[COMPILER]
* NEW: An expression can be a NEW instruction now. Beware that it does not 
  work inside braces.

[GB.DB]
* BUG: Fix an error message in the sqlite handler.

[GB.DB.FORM]
* NEW: DataSource.Table can now be any SQL query. The Filter property is 
  ignored in that case.
* BUG: Setting DataSource.Table to NULL correctly resets the DataSource and
  its children.
* NEW: DataView automatically adjusts the height of its rows to the 
  contents.
* NEW: DataSource.CacheSize is a new property to set the number of rows 
  stored in the internal DataSource cache. When this property is set to 
  zero, the cache size takes its default value (64 rows).

[GB.DB.SQLITE2]
* BUG: Fix a crash in datatype mapping.

[GB.DB.SQLITE3]
* BUG: Fix a crash in datatype mapping.

[GB.QT4]
* BUG: Window.AutoResize property works as expected now.
* OPT: Some optimizations in GridView.
* NEW: GridView.Rows[].Visible returns if a specific row is visible.
* NEW: GridView.Rows[].EnsureVisible ensures that a specific row is 
  visible.
* BUG: Draw.Style.Panel draws the same thing as a panel border now.
* BUG: Window.Closed always returns the accurate value now.


git-svn-id: svn://localhost/gambas/trunk@2108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-12 21:49:13 +00:00
Laurent Carlier
6b81473f65 [GB.DB.SQLITE2]
* BUG: Fix some casting with gcc version 4.4.0 20090630 (prerelease)

[GB.DB.SQLITE3]
* BUG: Fix some casting with gcc version 4.4.0 20090630 (prerelease)



git-svn-id: svn://localhost/gambas/trunk@2097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 12:25:11 +00:00
Benoît Minisini
29820c4624 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when refreshing the breakpoint list.

[GB.DB.SQLITE3]
* BUG: Oops. SQLite3 driver should not use the SQLite2 sources.


git-svn-id: svn://localhost/gambas/trunk@2089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 21:37:16 +00:00
Benoît Minisini
075fbab8fc [GB.DB]
* BUG: Correctly release field information when freeing a Result object.
* NEW: New unquoting function in the component API.

[GB.DB.SQLITE2]
* BUG: Prevent possible case mismatches when mapping SQLite datatypes.

[GB.DB.SQLITE3]
* BUG: Prevent possible case mismatches when mapping SQLite datatypes.
* BUG: Field default values are correctly returned now.


git-svn-id: svn://localhost/gambas/trunk@2084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 09:17:48 +00:00
Benoît Minisini
5e79f7228e [CONFIGURATION]
* BUG: Fix the GB_COMPONENT() macro so that it defines XXX_LDFLAGS and 
  XXX_LIB variables as in the GB_COMPONENT_PKG_CONFIG() macro. The 
  Makefile.am files of components were fixed accordingly.

[GB.DB.FIREBIRD]
* NEW: Switch to ibpp 2.5.3.1.
* BUG: Link the driver to the fbclient library.

[GB.GTK]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented.

[GB.QT]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented.

[GB.QT4]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented. The previous change incorrectly talked about 
  TreeView.ParentKey and ColumnView.ParentKey.


git-svn-id: svn://localhost/gambas/trunk@2066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-03 23:41:55 +00:00
Laurent Carlier
fc3df55372 [GB.DB.SQLITE2]
* BUG: Fix strchr() casting with next gcc 4.4 release.

[GB.DB.SQLITE3]
* BUG: Fix strchr() casting with next gcc 4.4 release.



git-svn-id: svn://localhost/gambas/trunk@2029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-19 14:51:09 +00:00
Laurent Carlier
3adda5e73f [GB.DB.SQLITE3]
* BUG: Fix building with gcc 4.4.0



git-svn-id: svn://localhost/gambas/trunk@1941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-03 14:15:47 +00:00
Benoît Minisini
5b6b908f2b [DEVELOPMENT ENVIRONMENT]
* NEW: New way of making source file icons.

[GB.DB.*]
* BUG: Forgot to add *.component files.


git-svn-id: svn://localhost/gambas/trunk@1927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-11 07:12:16 +00:00
Benoît Minisini
d48356d59d [DEVELOPMENT ENVIRONMENT]
* NEW: Now each database driver has its own component, so that you can 
  explicitely check it. This way, these dependencies are taken into account
  when making a binary package.
* NEW: Starting support for WebPage classes, and other kind of forms.

[WIKI CGI SCRIPT]
* BUG: Symbol pages are never cached, so that refreshing a 2.0 symbol page 
  does not break a 3.0 symbol page.

[INTERPRETER]
* NEW: gb.IgnoreCase is a new property that is a synonymous of gb.Text.
* NEW: gb.UseLanguage is a new property that is a synonymous of gb.Language.

[GB.DB.*]
* NEW: All database drivers now have a *.component file, and is visible in 
  the IDE project property dialog.


git-svn-id: svn://localhost/gambas/trunk@1926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-10 21:19:32 +00:00
Benoît Minisini
7f12844128 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for template array classes in automatic completion.

[INTERPRETER]
* BUG: LIE INPUT and INPUT work correctly on tty streams.

[GB.DB]
* NEW: Add an API that allows a driver function to get the current 
  database when it does not get it from its arguments.

[GB.DB.POSTGRESQL]
* BUG: Fix blob support for some encodings, and when PostgreSQL version is
  greater or equal than 8.2.

[GB.DB.SQLITE3]
* BUG: Field values are not truncated anymore.

[GB.FORM]
* NEW: MessageLabel is a new control made by David Villalobos Cambronero.
  It is a TextLabel that changes its background color for indicating a 
  warning, an error, and so on.

[GB.FORM.MDI]
* NEW: Workspace.ButtonPosition is a new property that allows to put the 
  tab close button on the left or on the right.

[GB.GTK]
* BUG: Speeds up the combo-box control as much as I can. Slowness seems to 
  be a GTK+ feature. :-/

[GB.QT]
* BUG: Fix crash when setting a shortcut on a top-level menu.


git-svn-id: svn://localhost/gambas/trunk@1548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-09 11:03:47 +00:00
Benoît Minisini
2b88985b34 [DEVELOPMENT ENVIRONMENT]
* OPT: Do not set Project ColumnView AutoResize property to TRUE. Use a 
  very wide column instead to optimize redrawing.
* BUG: Fix a tooltip in the subversion conflict dialog.
* NEW: The component tab of the project property dialog has been 
  redesigned. Now you have to double click on a component to get 
  information on it.
* NEW: Property editing is now locked only if a specific toggle button is 
  pressed. This button is located on the right top of the property sheet.

[INTERPRETER]
* BUG: Handle the evaluation of Eval() expressions the same way as any 
  other code. Otherwise, stack can be leaked when there is an exception 
  inside.
* NEW: The foreign function interface is now optional.
* BUG: The use of array accessors is now correctly checked.

[GB.DB.SQLITE2]
* BUG: Reading floating point values and other values do not depend on the 
 locale anymore.
* NEW: Remove useless code.

[GB.DB.SQLITE3]
* BUG: Reading floating point values and other values do not depend on the 
  locale anymore.
* NEW: Remove useless code.

[GB.GTK]
* BUG: Fix uninitialized variables in ggridview.cpp and gmainwindow.cpp.

[GB.QT]
* OPT: ScrollView layout process is delayed.

[GB.SETTINGS]
* BUG: Do not use Array datatype incorrectly anymore.


git-svn-id: svn://localhost/gambas/trunk@1368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-10 15:17:07 +00:00
Benoît Minisini
3df72165af [CONFIGURATION]
* NEW: The syntax of pkg-config detection macro has changed to better use 
  the pkg-config possibilities.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update .startup file when closing the project property 
  dialog.
* BUG: Don't crash when the debugger stops inside the form generated code.
* BUG: Update the project templates to the 3.0 syntax.

[GB.QTE]
* BUG: Make this component compile correctly.
* BUG: Remove the automake warning.

[GB.QT4]
* NEW: Upgrade to the new QT 4 syntax in many places.
* NEW: Menu class has been redesigned to use the new QAction class. Not 
  tested yet.
* NEW: Standard controls work better.


git-svn-id: svn://localhost/gambas/trunk@1344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-29 13:40:55 +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
94b347f461 [CONFIGURATION]
* NEW: A new macro, GB_COMPONENT_SEARCH, that uses pkg-config first, and if
  it fails, then tries to find the libraries and headers with a file 
  search.
* NEW: The GB_CHECK_XWINDOW macro is more clever.

[DEVELOPMENT ENVIRONMENT]
* NEW: The editor in the commit window has been enhanced. It has a little 
  toolbar and displays the cursor position now.

[GB.DB.SQLITE3]
* NEW: Uses the new GB_COMPONENT_SEARCH macro.

[GB.QT]
* NEW: Uses the new GB_COMPONENT_SEARCH macro.

[GB.QT.EXT]
* BUG: Removed a non-implemented method in the CEditor class.


git-svn-id: svn://localhost/gambas/trunk@1211 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 00:14:37 +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
9f4ee9e75e [EXAMPLES]
* BUG: The Scripting example was fixed.

[INTERPRETER]
* NEW: The error management was redesigned.

[GB.DB]
* NEW: Database driver can declare a set of character that are allowed in a
  database name.
  
[GB.DB.SQLITE2]
* NEW: '.' is allowed in database names now.

[GB.DB.SQLITE3]
* NEW: '.' is allowed in database names now.



git-svn-id: svn://localhost/gambas/trunk@1038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-25 15:01:02 +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