Commit graph

301 commits

Author SHA1 Message Date
Benoît Minisini
2a096fea20 [INTERPRETER]
* BUG: Fix a memory leak in the READ instruction when reading a string 
  with a negative length parameter.


git-svn-id: svn://localhost/gambas/trunk@1355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-03 15:07:55 +00:00
Benoît Minisini
95b18f983a [DEVELOPMENT ENVIRONMENT]
* NEW: The translation dialog import function has been redesigned. Now
  it fill untranslated strings with the translations found in a *.po file.


git-svn-id: svn://localhost/gambas/trunk@1354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-01 22:05:40 +00:00
Benoît Minisini
6f2a871070 [DEVELOPMENT ENVIRONMENT]
* BUG: The menu editor does not crash anymore when all menus are deleted 
  at once.

[GB.FORM]
* NEW: Simplify the DateChooser.

[GB.FORM.MDI]
* BUG: Remove a useless Watcher in the Toolbar class.

[GB.QT]
* BUG: TabStrip[].Count now always returns the correct number of child 
  controls in a tab.

[GB.QT4]
* NEW: gb.qt4 is almost usable.


git-svn-id: svn://localhost/gambas/trunk@1345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-30 23:08:02 +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
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
seraf1
5f72d2bc87 [GB.FORM]
* BUG: DatePicker and ValueBox Event handler bug
* NEW: New DatePicker and ValueBox Visual Aspect


git-svn-id: svn://localhost/gambas/trunk@1330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-21 14:35:14 +00:00
seraf1
07245f04a7 [GB.FORM]
* NEW: DatePicker and ValueBox : new visual aspect
* BUG: DatePicker and ValueBox : new form.type and form.border API adaptation


git-svn-id: svn://localhost/gambas/trunk@1329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-21 08:22:06 +00:00
seraf1
f51960f7a6 [GB.DB.FORM]
* BUG: new form.type and form.border adaptation


git-svn-id: svn://localhost/gambas/trunk@1328 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-21 08:06:52 +00:00
Fabien Bodard
cc737eae7b I've forget some little things
git-svn-id: svn://localhost/gambas/trunk@1327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-20 07:55:10 +00:00
Fabien Bodard
7e706b17b9 [GB.CHART]
* NEW: Fonts settings on axes, legend, title and toggle
  on proportional font mode. In proportional mode the fonts
  are in the real size when the chart have 2/3 of the desktop size.
  


git-svn-id: svn://localhost/gambas/trunk@1326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-19 23:32:28 +00:00
Fabien Bodard
15d3e589bb [GB.CHART]
* NEW: Many things on color management as BackColor and Custom color
  for the sets.
* NEW: I've done a work on the demo form so you can see what is 
  possible or not actually on this component. To run it go to the 
  GAMBASDIR/comp/src path and open gb.chart... then just run it !



git-svn-id: svn://localhost/gambas/trunk@1325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-19 22:32:23 +00:00
Fabien Bodard
588da149fd [GB.CHART]
* NEW: A new Chart style named Bars.
* NEW: X and Y axes inherits a Global Axes class.
* NEW: Now the Y ans X labels can be hidden



git-svn-id: svn://localhost/gambas/trunk@1324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-19 20:58:23 +00:00
Fabien Bodard
65b059a37a [GB.FORM]
* BUG: Some lines with old windows properties use have been removed.


git-svn-id: svn://localhost/gambas/trunk@1323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-19 16:56:55 +00:00
Fabien Bodard
028b9681cb git-svn-id: svn://localhost/gambas/trunk@1322 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-04-19 12:41:38 +00:00
Benoît Minisini
1bb3f3a509 [CONFIGURATION]
* BUG: Libraries and include files are automatically searched inside 
  64 bits specific directories.

[DEVELOPMENT ENVIRONMENT]
* NEW: Automatically convert old Border property to the new Border and
  Resizable properties.
* BUG: The "Theme" tab of the option dialog is correctly initialized the 
  first time Gambas is run.
* BUG: Going to a non-existing line number in the editor does not crash the
  IDE anymore.
* NEW: The IDE forms now use the new Border, Resizable and Type properties
  of the Window class.

[COMPILER]
* BUG: Do not print error messages on unexpected strings with newline 
  inside. Just claim that an unexpected string has been encountered.

[GB.EVAL]
* BUG: Do not print error messages on unexpected strings with newline 
  inside. Just claim that an unexpected string has been encountered.

[GB.GTK]
* NEW: The old Border property of the Window class has been replaced by a 
  two boolean properties: Border and Resizable.
* NEW: Window.Type is a new property to set the window manager type of a 
  window: Normal, ToolBar, Splash...
* NEW: The Window.ToolBox property has been removed.
* NEW: A newly opened non-modal window stays automatically on top of the
  application main window.

[GB.QT]
* NEW: The old Border property of the Window class has been replaced by a 
  two boolean properties: Border and Resizable.
* NEW: Window.Type is a new property to set the window manager type of a 
  window: Normal, ToolBar, Splash...
* NEW: The Window.ToolBox property has been removed.
* NEW: A newly opened non-modal window stays automatically on top of the
  application main window.


git-svn-id: svn://localhost/gambas/trunk@1321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-18 23:43:38 +00:00
Benoît Minisini
80f53ee771 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little fixes in the hall of fame animations.
* BUG: Fix the layout of the property sheet text edit dialog.
* NEW: A new highlighting theme, named 'Quick'.
* NEW: The '(Scaled)' virtual property has been renamed as 'Scaled'.
* BUG: Fix the "quit" icon in the quit dialog.
* BUG: Correctly raise an error when making an executable fails for any 
  reason.
* BUG: Extract the property help better.

[WIKI CGI SCRIPT]
* BUG: Auto link now really makes one identical link between two titles.

[INTERPRETER]
* OPT: Optimization of additions of small integers.
* BUG: INC and DEC now toggle boolean values.
* NEW: Use the new '.startup' file to run a project. The old '.project' 
  file can be used for older projects. But its support will be removed in
  the final version.

[COMPILER]
* NEW: A '.startup' file is now created at each compilation. It contains an
  extract of the '.project' file with just what the interpreter needs to
  run the application.

[GB.GTK]
* BUG: Void items are correctly handled by ComboBox without crashing now.

[GB.EVAL]
* BUG: Quoted symbols, i.e. symbols between braces, are now correctly 
  colorized by using the identifier colors.

[GB.FORM]
* BUG: Removed the useless Tag property from the DatePicker control.
* BUG: Fix the height of the DateChooser toolbar.
* NEW: Wizard.ShowIndex is a new property that makes the wizard control
  automatically display the index of the current step. This index takes
  into account if some steps are disabled.

[GB.FORM.DIALOG]
* NEW: Dialog.SelectDate() is a new method that allows the user to select a
  date in a dialog box having a date chooser.

[GB.QT]
* BUG: You can now resize a non resizable window without having to change 
  its Border property first.

[GB.QT.EXT]
* BUG: Editor correctly goes to the end of file when pressing CTRL+END.
  Consequently, SelectAll() works correctly too now.
* NEW: Comments just before a procedure are now never folded.


git-svn-id: svn://localhost/gambas/trunk@1317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-17 10:18:25 +00:00
seraf1
8904b74282 [GB.FORM]
* NEW: ValueBox now uses a DatePicker when editing a date value.


git-svn-id: svn://localhost/gambas/trunk@1316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-16 09:30:17 +00:00
seraf1
3c7450fe2b [GB.DB.FORM]
NEW: Add DataComboMulti.class


git-svn-id: svn://localhost/gambas/trunk@1313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-15 12:17:39 +00:00
seraf1
472d81fd5d git-svn-id: svn://localhost/gambas/trunk@1312 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2008-04-15 12:12:19 +00:00
seraf1
a3ecc80509 [GB.FORM]
* BUG: correct icon


git-svn-id: svn://localhost/gambas/trunk@1311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-15 11:57:45 +00:00
seraf1
4baa336cdd [GB.DB.FORM]
* BUG: .component error for DataComboMulti


git-svn-id: svn://localhost/gambas/trunk@1310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-15 08:01:49 +00:00
seraf1
847554bfaa [GB.FORM]
*  NEW: Add DatePicker control
[GB.DB.FORM]
* NEW: Add DataMultiCombo control


git-svn-id: svn://localhost/gambas/trunk@1309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-15 06:07:35 +00:00
Benoît Minisini
61ddf77277 [CONFIGURATION]
* BUG: Link with libgettextlib only with OpenBSD. Otherwise, on Linux, 
  there is a symbol comflict with the libxml used by fontconfig, and you
  get spurious fontconfig warnings, and weird fonts or no font at all!

[DEVELOPMENT ENVIRONMENT]
* NEW: Use the new image methods for the hall of fame animation.
* BUG: Text editor does not flash anymore when being resized.
* BUG: The virtual control are now drawn bigger in Dekstop.Scale is too 
  small.

[EXAMPLES]
* BUG: Fix many examples according to the new way of calculating 
  Desktop.Scale.

[INTERPRETER]
* BUG: Symbol polymorphism is now correctly handled when the inheritance 
  depth is greater than two!

[GB.GTK]
* NEW: Image.MakeGray() is a new method that makes an image use gray 
  colors only.
* NEW: Image.MakeTransparent() is a new method that intelligently replace
  a color by transparency.

[GB.FORM]
* NEW: Add a slider for setting the alpha color component.
* BUG: Correctly cancel an impossible rename operation in the DirView 
  control.

[GB.QT]
* NEW: Image.MakeGray() is a new method that makes an image use gray 
  colors only.
* NEW: Image.MakeTransparent() is a new method that intelligently replace
  a color by transparency.

[GB.QT.EXT]
* BUG: In Editor, always draw function expanders with the foreground color.


git-svn-id: svn://localhost/gambas/trunk@1308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-11 22:36:53 +00:00
David Villalobos Cambronero
9f4fdc79ab [EXAMPLES]
* NEW: Spanish translation updated.

[DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-10 19:02:57 +00:00
Benoît Minisini
f275928af5 [CONFIGURATION]
* NEW: Makes better configuration warning messages when detecting libintl 
  and libiconv libraries.

[DEVELOPMENT ENVIRONMENT]
* NEW: The About dialog box was redesigned. The Hall Of Fame is now 
  displayed with a cool animation.
* NEW: The entire project was adapted to the new way of calculating
  Desktop.Scale.
* NEW: When loading a Gambas 2 form, the form editor tries to adapt to the
  new way of calculating Desktop.Scale automatically.

[COMPILER]
* BUG: Adds many error messages when a compiler limit is reached: too many 
  static symbols in a same class, too many dynamic symbols, too many 
  functions, and so on.

[GB.GTK]
* NEW: Desktop.Scale is now half the font ascent, not half the font height.
* NEW: Color.Medium() method was replaced by Color.Mix(), that takes a new
  optional argument indicating the relative weight of the second color.
  
[GB.QT]
* NEW: Desktop.Scale is now half the font ascent, not half the font height.
* NEW: Color.Medium() method was replaced by Color.Mix(), that takes a new
  optional argument indicating the relative weight of the second color.

[GB.QT.EXT]
* BUG: Editor now correctly highlight its frame according to the focus 
  change on styles that have use of that.


git-svn-id: svn://localhost/gambas/trunk@1304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-10 12:06:14 +00:00
Benoît Minisini
e2e0c5b52e [DEVELOPMENT ENVIRONMENT]
* BUG: The "Show help property" option works correctly now.
* BUG: The splitter position of the debug window is correctly restored now.

[GB.DESKTOP]
* NEW: Many methods for dealing with windows properties, for watching them,
  for watching window changes... All are defined in the internal _Desktop
  class. They won't be public.

[GB.FORM]
* NEW: The Space key now raises the Activate event in the DateChooser 
  control.


git-svn-id: svn://localhost/gambas/trunk@1282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-02 01:15:31 +00:00
Benoît Minisini
145de0854b [DEVELOPMENT ENVIRONMENT]
* NEW: You can open a terminal in the project directory now.
* NEW: The IDE now marks projects as Gambas 3 projects.
* NEW: Port Gambas2 fixes.

(INTERPRETER]
* NEW: New API for returning the type of a Gambas array.

[GB.DESKTOP]
* NEW: New internal methods for reading or writing a windows property, and
  for sending a client message to the root window.
* NEW: Desktop.Find() has been renamed to Desktop.FindWindow().
* NEW: Desktop.OpenTerminal() opens a terminal on a specified directory 
  according to the current desktop in use.

[GB.QT]
* BUG: Window id are really integers, not pointers.

[GB.GTK]
* BUG: Window id are really integers, not pointers.


git-svn-id: svn://localhost/gambas/trunk@1276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-31 19:04:28 +00:00
David Villalobos Cambronero
7674e17cbc [EXAMPLES]
* NEW: Spanish translation added/updated for all translatable projects.

[GB.GB.FORM]
* NEW: Spanish translation updated.

[GB.FORM]
* NEW: Spanish translation updated.

[GB.FORM.DIALOG]
* NEW: Spanish translation updated.

[GB.FORM.MDI]
* NEW: Spanish translation updated.

[WIKI CGI SCRIPT]
* NEW: Spanish translation updated.

[DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-27 19:06:01 +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
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
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
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
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
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
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
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
Benoît Minisini
5f900c0b68 [DEVELOPMENT ENVIRONMENT]
* NEW: English and french tips were updated. A new tip was added.
* NEW: Files that were opened at project close are automatically reopened
  when the project is loaded again.
* NEW: A warning message is displayed when the GNU translation tools are
  not installed.
* BUG: The code editor method combo-box is correctly updated now.
* BUG: Some fixes in the automatic completion.
* BUG: Replace points by dash in the name of packages generated by the IDE
  packager.
* NEW: Updated russian translation
* NEW: Updated french translation

[DATABASE MANAGER]
* NEW: Updated russian translation

[EXAMPLES]
* BUG: Fixed the Gravity and the GameOfLife examples so that they do not
  use public form controls anymore.

[INTERPRETER]
* OPT: Many optimizations in the string substitution routines, the 
  internal datatype conversions, the INPUT and LINE INPUT instructions, the 
  error messages generation, the object and string reference counting, and
  the memory allocation routines.
* NEW: Opening a device file in direct mode (FOR READ/WRITE) is now 
  automatically non blocking.
* OPT: Lof() now only tries its different methods (ioctl and lseek) once.
* BUG: Val() now ignores thousand separators characters at the end of the 
  number.
* NEW: A new flag for enabling the stack trace generation at each error.

[GB.DEBUG]
* BUG: The gb.debug component interface declaration was not 64-bits aware.

[GB.EVAL]
* BUG: The Highlight.Purge() method now correctly deals with non-ASCII 
 characters.

[GB.FORM]
* BUG: TableView.Edit() does not raise a "read-only combo-box" error 
  anymore.
  
[GB.FORM.DIALOG]
* BUG: Dialog buttons now are never cut.

[GB.GTK]
* BUG: Cached drawing areas are correctly redrawn now.
* BUG: Loading big images now works correctly. There is apparently a bug 
  in the GTK+ image loader, and I found a workaround.
* BUG: Message boxes correctly display the text of their buttons now.

[GB.QT]
* BUG: The Open, and initial Move and Resize event of embedded forms are 
  now always raised when you call the Show method or if you set the Visible
  property. Before, it was raised when the embedded form was actually 
  shown.

[GB.SETTINGS]
* NEW: Settings are now stored in ~/.config/gambasX, where X is the 
  gambas version number.
* BUG: Strings are correctly quoted inside the settings file now.

[GB.WEB]
* NEW: Application.Protocol is a new property that allows to tell the 
  component that the protocol is not necessarily "http".


git-svn-id: svn://localhost/gambas/trunk@1153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-11 13:29:47 +00:00
Benoît Minisini
39ca9e0a69 [CONFIGURATION]
* BUG: Pass the -fsigned-char option to gcc so that gambas compiles on
  architectures where char is unsigned by default.

[INTERPRETER]
* BUG: Fixed the conversion from negative integer to string.


git-svn-id: svn://localhost/gambas/trunk@1110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-02-25 15:34:04 +00:00
Benoît Minisini
a631253a53 [CONFIGURATION]
* NEW: Configuration is aborted if libffi library and headers are not 
  installed.

[WIKI CGI SCRIPT]
* NEW: New section for version-specific documentation.

[INTERPRETER]
* BUG: The gb.info file was wrong: Min() and Max() take only two arguments.
* NEW: New LastEventName property in the Object class that returns the 
  event name used by the last created object.

[GB.DB.FORM]
* NEW: DataControl raises the event of its internal editing control by 
  using the new Object class property defined above.

[GB.GTK]
* BUG: The X and Y properties of the Window class now return the same
  values as gb.qt.

[GB.QT]
* BUG: Prevents a crash when a trayicon is destroyed or hidden during a
  trayicon event handler.


git-svn-id: svn://localhost/gambas/trunk@1090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-02-21 13:14:16 +00:00
Benoît Minisini
bd322efa9c [DEVELOPMENT ENVIRONMENT]
* BUG: Use TextEdit.RichText insted of TextEdit.Text.
* BUG: END SUB can be the end of a method. The class analyze now takes 
  that into account.

[HELP]
* BUG: Fixed the generated treeview.

[COMPILER]
* OPT: The NOT operator used just at the beginning of a conditional 
  expression is optimized. Consequently, an expression like 'IF NOT 2' is 
  now equivalent to 'IF 2 = 0' and not to 'IF (NOT 2) <> 0' as before. In
  other words, the boolean conversion is now done before the NOT, and not 
  after. The following instructions are concerned: IF, WHILE, UNTIL.
* NEW: BYREF is new keyword that is a more readable synonymous of '@'.

[GB.DB.FORM]
* BUG: Correctly manage data controls inside TabStrip-like containers.
* BUG: Setting the focus on a non-initialized DataControl does not raise 
  an error anymore.

[GB.GTK]
* BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a 
  list of children widths, hidden children having a zero width.
* BUG: Window arrangement is done before the Open event is raised, as in 
  gb.qt.
* BUG: Keyboard, focus and mouse events now work correctly on Window and 
  DrawingArea controls.

[GB.QT]
* BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a 
  list of children widths, hidden children having a zero width.
* BUG: Many warning fixes.
* BUG: Now the Control.Visible property works like in gb.gtk, i.e. it 
  returns if the control was not explicitely hidden.


git-svn-id: svn://localhost/gambas/trunk@1060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-02-06 00:25:48 +00:00
Benoît Minisini
7b01d12f31 [INTERPRETER]
* OPT: Optimizations in string comparison operators.
* OPT: Optimizations in string allocations.
* OPT: Optimizations in Left$(), Mid$(), Right$() and Len().
* OPT: Optimizations of calls to native methods when the number of 
  arguments is fixed, and when no argument conversion is needed.
* OPT: Optimizations of INPUT and LINE INPUT, by using an internal buffer
  instead of reading the stream one byte at a time.
* BUG: Fixed the new error management.
* BUG: Fixed a possible spurious error when reading a file from an archive.

[GB.EVAL]
* BUG: Use the same new error management than the interpreter.

[GB.QT]
* BUG: The DrawingArea control now should draw its border correctly without
  erasing its contents.


git-svn-id: svn://localhost/gambas/trunk@1041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-27 14:00:04 +00:00
Benoît Minisini
7cc9986bda [INTERPRETER]
* OPT: Native array optimizations are better. For arrays with one 
  dimension, reading is about 70% faster than gambas2, and writing 40% 
  faster.
* OPT: Collection array accessors were optimized too. Reading is about 50%
  faster and writing 60% faster. Be careful: only the array accessors were
  optimized, not the full hash table access, which is the slower part of 
  the process.


git-svn-id: svn://localhost/gambas/trunk@1036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-24 10:42:42 +00:00
Benoît Minisini
ec7ab0c811 [CONFIGURATION]
* NEW: Support for installing control icons in native components.

[64 BITS]
* BUG: Fixed some uses of long datatype in the gb.qt.ext component, the 
  Splitter and the Container class of gb.qt.
* BUG: Fixed some declarations in the gb.net.curl component.
* NEW: Pointer[] is a new class that represents an array of Pointer values.
* BUG: All gb.qt, gb.gtk and gb.desktop methods that deal with X11 Window 
  identifiers now use Pointer and Pointer[] datatypes instead of Integer 
  and Integer[].
* BUG: The Embedder example was updated according to the change above.

[INTERPRETER]
* BUG: Fixed the static array management that was broken by the 64 bits
  changes.

[GB.DEBUG]
* BUG: Debug.Write now does nothing if Debug.Start has not been called.

[GB.GTK]
* BUG: Fixed the implementation of the Message class that was broken.
* BUG: Fixed a crash in the Watcher class.
* BUG: Fixed the Image.Flip() and Image.Mirror() methods.
* BUG: Fixed a potential crash in timer management.
* NEW: The GridView Select event was implemented.


git-svn-id: svn://localhost/gambas/trunk@1033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-23 19:56:18 +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
Jordi Sayol
6a5cc927f9 [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[DATABASE MANAGER]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Catalan translation updated.

[GB.FORM]
* NEW: Catalan translation updated.

[GB.FORM.MDI]
* NEW: Catalan translation updated.

[GB.FORM.DIALOG]
* NEW: Catalan translation updated.

[GB.DB.FORM]
* NEW: Catalan translation updated.



git-svn-id: svn://localhost/gambas/trunk@902 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-31 21:27:53 +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