Commit graph

3701 commits

Author SHA1 Message Date
Benoît Minisini
31f0d78532 [DEVELOPMENT ENVIRONMENT]
* NEW: Theme configuration was redesigned and enhanced.
* NEW: New option for setting the tabstrip title font size.
* NEW: The file information dialog was redesigned again.
* NEW: Some option names were changed.
* NEW: A new "Project" virtual folder in the project treeview. It is 
  exactly like the "Data" folder, except that the files and directories 
  stored inside are not included in the generated executable.
* NEW: As keywords are now displayed in lowercase by default, there is a 
  new option for displaying them in uppercase as before.
  
[INTERPRETER]
* NEW: Object.GetProperty() can return the value of a constant.
* NEW: Keywords are in lowercase by default, the first letter of the words 
  staying in uppercase.

[GB.EVAL]
* NEW: The Highlight.Analyze() method always return keywords in uppercase, 
  so that you can continue to easily do non case-sensitive comparisons.

[GB.QT]
* BUG: Changing the font of a TabStrip correctly refreshes its layout now.

[GB.QT.EXT]
* NEW: The Editor can force highlighted keywords to uppercase. It is only 
  done when drawing the keyword. The internal text is not changed.


git-svn-id: svn://localhost/gambas/trunk@1265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-27 16:27:24 +00:00
Laurent Carlier
f90cad6285 [GB.DB.FIREBIRD]
* BUG: Fixed building with gcc 4.3.



git-svn-id: svn://localhost/gambas/trunk@1264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-26 23:16:22 +00:00
Benoît Minisini
ec93789aaf [DEVELOPMENT ENVIRONMENT]
* NEW: Save and restore which procedures are folded.

[INTERPRETER]
* BUG: Creates a new GB.SubstStringAdd() API for making a difference 
  between substitution callbacks that return a string and those who call
  GB.SubstAdd() directly.

[GB.DB]
* BUG: Use the new GB.StringSubstAdd() API.

[GB.FORM]
* NEW: FileChooser and DirChooser got a new Reload() method that refreshes
  their contents.
  
[GB.QT.EXT]
* BUG: In Editor, a line must be colorized before knowing if it is a 
  "procedure" limit.


git-svn-id: svn://localhost/gambas/trunk@1261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-26 16:28:18 +00:00
Benoît Minisini
a6630961bd [GB.FORM]
* BUG: Do not stop if searching the current desktop fails.
  
[GB.SETTINGS]
* BUG: If you store a void array in a setting file, then reading it will
  return NULL, and not an error.


git-svn-id: svn://localhost/gambas/trunk@1260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-26 01:45:42 +00:00
Benoît Minisini
252692f140 [INFORMER]
* NEW: Do not abort if a component information file cannot be written.


git-svn-id: svn://localhost/gambas/trunk@1259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-26 01:31:20 +00:00
Benoît Minisini
909ce3f531 [DEVELOPMENT ENVIRONMENT]
* BUG: Use a relative font size in the workspace, toolbox and property 
  sheet.
* NEW: The file information dialog was synchronized with Gambas 2.
* BUG: UTF-8 fixes in the code editor.
* BUG: Help pages on special method are opened correctly now.
* BUG: Breakpoint list is not filled with impossible breakpoints anymore.
* BUG: The procedure combo-box now always displays the correct current 
  procedure name.

[GB.QT.EXT]
* BUG: Some fixes in Editor procedure folding.


git-svn-id: svn://localhost/gambas/trunk@1257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-25 23:10:47 +00:00
Benoît Minisini
ab3e3d5146 [DEVELOPMENT ENVIRONMENT]
* NEW: Procedure folding is usable now. Use CTRL+ENTER and CTRL+SHIT+ENTER 
  to expand or collapse a procedure in the IDE editor.

[GB.GTK]
* BUG: Fix the Key.Enter keyboard constant value.
* BUG: The AutoResize property of containers now takes the Padding 
  property into account in all cases.

[GB.QT]
* BUG: The AutoResize property of containers now takes the Padding 
  property into account in all cases.

[GB.QT.EXT]
* NEW: Procedure folding fixes and enhancements in Editor.
* NEW: Editor interface has changed.
* NEW: Editor highlight styles got a new Background property for defining 
  the background color of a token. It can be Color.Transparent: then no
  background is drawn in that case.


git-svn-id: svn://localhost/gambas/trunk@1254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-25 17:19:59 +00:00
Benoît Minisini
225c7dee9e [GB.QT.EXT]
* NEW: Initial implementation of procedure folding.


git-svn-id: svn://localhost/gambas/trunk@1249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-25 01:48:26 +00:00
Benoît Minisini
bddfea0fce [DEVELOPMENT ENVIRONMENT]
* NEW: Synchronization with Gambas 2.


git-svn-id: svn://localhost/gambas/trunk@1248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-24 22:54:33 +00:00
Benoît Minisini
928386b1e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Synchronization with the current Gambas 2 IDE.


git-svn-id: svn://localhost/gambas/trunk@1244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-23 20:23:10 +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
46a573b710 [INTERPRETER]
* BUG: Fix debugging memory management code.


git-svn-id: svn://localhost/gambas/trunk@1231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-23 01:02:27 +00:00
Benoît Minisini
8dc0172592 [INTERPRETER]
* BUG: Fixed an optimization in variants that was not 64-bits aware.


git-svn-id: svn://localhost/gambas/trunk@1230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-23 00:51:50 +00:00
Benoît Minisini
32ae591a4c [INTERPRETER]
* BUG: Some values structures padding.


git-svn-id: svn://localhost/gambas/trunk@1229 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-22 23:52:49 +00:00
Benoît Minisini
fb43110a10 [INTERPRETER]
* BUG: NEW Observer(NULL) now raises an error, and does not crash anymore.
* BUG: Padding of values structures.


git-svn-id: svn://localhost/gambas/trunk@1228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-22 21:34:50 +00:00
Benoît Minisini
a4707d329f [DEVELOPMENT ENVIRONMENT]
* BUG: Importing a form now correctly associates the imported pictures.

[INTERPRETER]
* BUG: Fixed some structure alignment issues.


git-svn-id: svn://localhost/gambas/trunk@1226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 15:39:46 +00:00
Benoît Minisini
d75dc33c9a [COMPILER]
* NEW: Be more verbose if a component list file is not found.


git-svn-id: svn://localhost/gambas/trunk@1223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 03:07:04 +00:00
Benoît Minisini
652824dd35 [INTERPRETER]
* BUG: Automatically disable preloading on systems that do not support it.


git-svn-id: svn://localhost/gambas/trunk@1221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 02:43:16 +00:00
Benoît Minisini
79e3644902 [INTERPRETER]
* NEW: Removes some warnings with uid_t on some systems.

[GB.EVAL]
* BUG: Removes the use of a non existing function.

[GB.DESKTOP]
* BUG: Try to enhance the detection of libXtst.


git-svn-id: svn://localhost/gambas/trunk@1220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 02:05:59 +00:00
Benoît Minisini
f22ead1b20 * Forgot this file
git-svn-id: svn://localhost/gambas/trunk@1219 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 01:39:32 +00:00
Benoît Minisini
02aa33396f [INTERPRETER]
* BUG: Creates a replacement implementation of cfmakeraw().


git-svn-id: svn://localhost/gambas/trunk@1218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 01:36:11 +00:00
Benoît Minisini
b693e43d44 [INTERPRETER]
* BUG: Manages correctly missing flags in localeconv()


git-svn-id: svn://localhost/gambas/trunk@1217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 01:28:13 +00:00
Benoît Minisini
de9ea5223d [INTERPRETER]
* BUG: Other non-defined mathematical function management.


git-svn-id: svn://localhost/gambas/trunk@1216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 01:25:37 +00:00
Benoît Minisini
7053cc0b25 [INTERPRETER]
* BUG: Do not use long double mathematic functions if they do not exist. A
  workaround must be found!


git-svn-id: svn://localhost/gambas/trunk@1215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 01:15:44 +00:00
Benoît Minisini
7643ace3f5 [INTERPRETER]
* NEW: Don't use lockf and F_TLOCK if it does not exist. A workaround will 
  have to be found!
  


git-svn-id: svn://localhost/gambas/trunk@1214 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 01:04:18 +00:00
Benoît Minisini
ac3111a9eb [INTERPRETER]
* BUG: Don't use FIONREAD if it does not exist. A workaround will have to 
  be found!


git-svn-id: svn://localhost/gambas/trunk@1213 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 00:55:43 +00:00
Benoît Minisini
7759900148 [INTERPRETER]
* BUG: Defines sighandler_t when it is not defined by the system includes.


git-svn-id: svn://localhost/gambas/trunk@1212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-21 00:35:39 +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
2e3187b667 [DEVELOPMENT ENVIRONMENT]
* BUG: The busy cursor is now correctly reset in all cases when clearing 
  the recent file history.
  
[GB.FORM]
* BUG: The SidePanel.Border works correctly now.

[GB.GTK]
* BUG: Correctly handles mouse button events in the GridView control.
* BUG: Setting GridView.Rows.Count to zero does not make rows too small
  anymore.


git-svn-id: svn://localhost/gambas/trunk@1209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-20 22:35:01 +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
3d80d44a4a [WIKI CGI SCRIPT]
* BUG: Some little layout fixes.

[INTERPRETER]
* OPT: Read the user home directory only if the current uid has changed. 
  Otherwise, cache it into memory.
* OPT: String memory management has been optimized.
* OPT: Some little optimizations there and there.
* NEW: A new interpreter option, "-k", that prevents shared library to be
  unloaded until the process terminates. That can be useful when 
  debugging with valgrind.
* OPT: System.Language property was optimized.
* OPT: The gb_error.c file is now compiled with -O3.

[GB.GTK]
* BUG: Disable the management of input methods in TextBox and TextArea
  controls, so that the input methods are not disturbed. Consequently;
  SCIM and Bridged SCIM work again.
* BUG: You can read keyboard events properties in a Form KeyPress or 
  KeyRelease event handler correctly now.



git-svn-id: svn://localhost/gambas/trunk@1199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-19 14:32:30 +00:00
Benoît Minisini
12674940f2 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove .settings file from the svn repository.


git-svn-id: svn://localhost/gambas/trunk@1193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-18 16:52:59 +00:00
Benoît Minisini
2752a989ed [COMPILER]
* BUG: Removed the ability to compile property access without having to use
  the ME keyword. This is too disturbing.

[GB.FORM]
* NEW: Uses the Draw.Style API for drawing SidePanel arrows.

[GB.FORM.MDI]
* NEW: Uses the Draw.Style API for drawing Toolbar handles.

[GB.QT]
* BUG: The style drawing methods really work.


git-svn-id: svn://localhost/gambas/trunk@1192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-18 12:47:12 +00:00
Benoît Minisini
e6b94a0a86 [INTERPRETER]
* NEW: A new API that returns if the current language is right-to-left 
  written.

[GB.DRAW]
* NEW: New Draw.Style.* style drawing methods for drawing arrows, 
  check-boxes, option buttons, separators, focus rectangles, push buttons,
  panels, and splitter handles.
* NEW: Draw.Save() and Draw.Restore() are two new methods that save and
  restore the state of the current drawing properties.

[GB.GTK]
* NEW: Support for the style drawing methods.
* NEW: Support for Draw.Save() and Draw.Restore().

[GB.QT]
* NEW: Support for the style drawing methods.
* NEW: Support for Draw.Save() and Draw.Restore().


git-svn-id: svn://localhost/gambas/trunk@1191 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-18 10:04:10 +00:00
Benoît Minisini
ce5392adce [GB.GTK]
* BUG: Using stock pictures work correctly again, and does not crash the
  interpreter anymore.
* BUG: Fixes memory leaks with font and picture management.


git-svn-id: svn://localhost/gambas/trunk@1188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-17 15:04:36 +00:00
Benoît Minisini
9ccbaac697 [INTERPRETER]
* NEW: New API for returning the parent (event observer) of an object.

[COMPILER]
* BUG: Setting a property without having to use ME is possible now, if the
  property is defined in the same file of course.
* NEW: Mid$() can be used on the left side of an assignment.

[GB.FORM]
* BUG: ValueBox now reformats its contents after its Value property has 
  been set.

[GB.GTK]
* BUG: Composed keys are correctly handled again by KeyPress events, but
  the SCIM input method does not work yet.
* BUG: Form are their own event observer only if no event observer is 
  defined at form instanciation.
* BUG: The default tray icon is the same as gb.qt now.

[GB.QT]
* BUG: TrayIcon objects are correctly destroyed at program exit.
* BUG: Form are their own event observer only if no event observer is 
  defined at form instanciation.
* BUG: TrayIcon Width, Height, ScreenX and ScreenY properties do not crash
  anymore when the tray icon is hidden. They return zero instead.
  

git-svn-id: svn://localhost/gambas/trunk@1187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-17 14:54:17 +00:00
Peter Landgren
a07eada21b [WIKI CGI SCRIPT]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1184 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-16 17:44:52 +00:00
Peter Landgren
f04ed62d46 git-svn-id: svn://localhost/gambas/trunk@1179 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 18:01:52 +00:00
Peter Landgren
d8ed1ae37f git-svn-id: svn://localhost/gambas/trunk@1178 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 18:01:15 +00:00
Peter Landgren
25ef1e9f2c git-svn-id: svn://localhost/gambas/trunk@1177 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 18:00:17 +00:00
Peter Landgren
4c88094daa git-svn-id: svn://localhost/gambas/trunk@1176 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 17:59:30 +00:00
Peter Landgren
1afa9a3e75 git-svn-id: svn://localhost/gambas/trunk@1175 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 17:58:47 +00:00
Peter Landgren
9a4656d2be git-svn-id: svn://localhost/gambas/trunk@1174 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 17:57:53 +00:00
Peter Landgren
8dfcd10a4c git-svn-id: svn://localhost/gambas/trunk@1173 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 17:56:45 +00:00
Peter Landgren
7fe531ef32 git-svn-id: svn://localhost/gambas/trunk@1172 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 17:55:24 +00:00
Peter Landgren
fe81ae87a0 git-svn-id: svn://localhost/gambas/trunk@1171 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 17:54:43 +00:00
Peter Landgren
4a6b321852 git-svn-id: svn://localhost/gambas/trunk@1170 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-03-15 17:53:55 +00:00
David Villalobos Cambronero
d10cc90fc0 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.
* NEW: Tips' Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-15 15:58:34 +00:00
Benoît Minisini
fe09aef64b [GB.QT]
* BUG: Removed some memory leaks.

[GB.GTK]
* BUG: Removed some memory leaks.


git-svn-id: svn://localhost/gambas/trunk@1166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-13 22:35:22 +00:00
Benoît Minisini
0a7ba84a28 [DEVELOPMENT ENVIRONMENT]
* BUG: Ensure that the property panel is correctly shown or hidden when the
  project is opened.
* NEW: Automatic completion is automatically inserted in all cases when
  pressing one of the following keys: '.','(','[','!'.

[INTERPRETER]
* BUG: Mid$("", 0) returns an error now.

[GB.GTK]
* BUG: The Font property management was fixed.
* BUG: The icon text alignment was fixed in the IconView control.

[GB.FORM]
* NEW: The FileChooser bookmark list was redesigned.

[GB.QT]
* BUG: Control.Handle returns a Pointer now.


git-svn-id: svn://localhost/gambas/trunk@1164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-13 21:38:43 +00:00