* BUG: Correctly handle null values when sorting a DataSource.
* BUG: DataSource.Table contents is automatically trimmed before being sent
to the database driver.
git-svn-id: svn://localhost/gambas/trunk@5267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix scrolling of code editor procedure list.
* BUG: Automatic local variable declaration now works correctly when a
method named "Get" is called inside the analyzed expression.
[COMPILER]
* NEW: "[]" now is compiled to return a array with no elements.
[INTERPRETER]
* BUG: Array with no elements can be casted to any other array datatype.
[GB.GUI.BASE]
* BUG: Fix visibility of expanded TreeView items.
[GB.QT4.EXT]
* NEW: When the Editor loses the focus, it does not scroll to the cursor
position automatically anymore.
git-svn-id: svn://localhost/gambas/trunk@5266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix form editor background drawing.
[GB.GUI.BASE]
* NEW: Expanding a TreeView item now automatically scrolls so that child
items are visible.
git-svn-id: svn://localhost/gambas/trunk@5264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove useless source files of controls now implemented in the
gb.gui.base component.
[GB.QT4]
* NEW: Remove useless source files of controls now implemented in the
gb.gui.base component.
git-svn-id: svn://localhost/gambas/trunk@5259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The default prefix is /usr in component directories too.
* NEW: Uninstall mime handler and mime icons in 'make uninstall'.
[GB.GTK]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
[GB.QT4]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
* OPT: Some little optimizations in ScrollView.
* OPT: Changing the geometry of a control whose Ignore property is set does
not trigger parent arrangement routine anymore.
git-svn-id: svn://localhost/gambas/trunk@5258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix compilation of Gambas.
[DEVELOPMENT ENVIRONMENT]
* NEW: Change the proportional font size list in the option dialog. Use a
5% size increment.
[INFORMER]
* NEW: gbi3 now displays include warning only if the GBI_DEBUG environment
variable is set to "1".
[GB.FORM]
* NEW: Add a FontChooser Border property.
* BUG: Support for Underline and Strikeout come back in FontChooser.
[GB.GUI.BASE]
* NEW: ScrollArea now raise a Resize event when the client area is resized
because of changes in scrollbars visibility.
* BUG: Changing a TreeView item property now correctly refreshes the view.
* OPT: The height of TreeView rows is now refreshed correctly.
[GB.QT4]
* BUG: The menu bar height is correctly refreshed if the application font
changes.
git-svn-id: svn://localhost/gambas/trunk@5257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix option dialog layout.
[GB.FORM]
* NEW: New FontChooser control design.
[GB.GTK]
* BUG: Fix gb.gtk compilation.
* NEW: Add Window.Indent arrangement property.
[GB.GUI.BASE]
* BUG: Setting the text of the ColumnView columns now works correctly.
* NEW: The ListBox Gambas implementation is finished, but has not replaced
the old one yet.
[GB.QT4]
* NEW: Add Window.Indent arrangement property.
git-svn-id: svn://localhost/gambas/trunk@5256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a button to reset the default font in the option dialog.
[GB.FORM]
* NEW: Add an hidden method to the ButtonBox class that allows to insert
an already existing ToolButton in it.
[GB.GUI.BASE]
* BUG: Fix ScrollArea.EnsureVisible() and GridView.EnsureVisible() methods
again.
* BUG: Fix TreeView MoveBelow() and MoveAbove() methods.
git-svn-id: svn://localhost/gambas/trunk@5255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new option that defines the default application font.
* NEW: The font options have been redesigned.
* BUG: Various fixes implied by the new TreeView control implementation.
[WIKI CGI SCRIPT]
* NEW: Page whose title begins with "~" are class page synonymous.
[INTERPRETER]
* BUG: Calling the _unknown method on an anonymous object reference won't
crash anymore.
* NEW: Class.Exist() is a new method that returns if a class has a specific
symbol.
[GB.GTK]
* NEW: The Container Find() method has been renamed as FindChild(). The
_unknown method has been implemented to handle backward compatibility.
* BUG: Fix string to Font conversion for fonts whose name starts with
"nan" or other special numeric strings.
[GB.GUI.BASE]
* BUG: ScrollView.EnsureVisible() and GridView.EnsureVisible() methods when
there is a frame.
* NEW: MyListBox is the initial implementation of a ListBox control
entirely written in Gambas.
* BUG: Renaming a TreeView item now correctly selects it before.
[GB.OPENGL]
* BUG: Fix an error message in deprecated constants handler routine.
[GB.QT4]
* NEW: The Container Find() method has been renamed as FindChild(). The
_unknown method has been implemented to handle backward compatibility.
git-svn-id: svn://localhost/gambas/trunk@5254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The component is correctly installed now.
* OPT: Store the order of each TreeView item, so that tree traversal is
faster.
git-svn-id: svn://localhost/gambas/trunk@5253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the order of component exported classes loading after the
project has been loaded.
* BUG: Fix GB.CanRaise() API.
[GB.DB.FORM]
* NEW: DataView.Sorted is a new property that tells if the data can be
sorted by clicking on the column headers.
* NEW: DataView columns now show sort indicators, and data can be sorted in
descending order.
* NEW: DataSource.Ascending is a new property that defines the order of the
sort defined by the DataSource.Sort property.
[GB.FORM]
* NEW: Remove all controls that were moved to gb.gui.base.
* NEW: FileView file size units are translatable now.
[GB.GTK]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.
[GB.GUI.BASE]
* NEW: gb.gui.base is a new hidden component that is automatically loaded
by gb.qt4 and gb.gtk. It implements the following controls and classes
entirely in Gambas: TreeView, ListView, ColumnView, IconView, Action,
ScrollArea. These classes were located in gb.form and in the Gambas part
of GUI components before.
[GB.QT4]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.
[GB.WEB]
* NEW: Request.Query and Request.Path can be modified now.
* BUG: Overriding a CGI variable with Null works now.
git-svn-id: svn://localhost/gambas/trunk@5251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Events of class written in Gambas are correctly detected now.
* BUG: Automatic local variable declaration now correctly analyze
expressions like "A.B" in all cases.
* NEW: Use a SidePanel to display the stack backtrace.
[GB.DB]
* BUG: DB.Quote(..., True) now does a table name quoting in all cases.
[GB.DB.FORM]
* BUG: The database controls now can handle table names that are reserved
SQL keywords.
[GB.FORM]
* NEW: Start implementing TreeView entirely in Gambas.
* BUG: Removing GridView rows correctly resets the row heights.
* NEW: GridView now raises a Draw event that allows to paint a cell with
any drawing methods.
git-svn-id: svn://localhost/gambas/trunk@5250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The name of GridView controls is now always visible in the form
editor.
[INTERPRETER]
* NEW: Support for new QUIT syntax.
* NEW: Do not display overriding prefix in class names.
[COMPILER]
* NEW: QUIT now can takes an optional argument which is the program return
value.
[GB.ARGS]
* BUG: The "--version" option is not "----version" anymore
* NEW: If an error occurs, returns 1 as exit value and not 0.
[GB.FORM]
* BUG: GridView is correctly updated now when the Border property is set.
git-svn-id: svn://localhost/gambas/trunk@5246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixed a bug that prevented reusing a Pop3Client instance after
executing Close()
git-svn-id: svn://localhost/gambas/trunk@5244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: GridView does not crash anymore if all rows are hidden (i.e. if
their height is zero).
git-svn-id: svn://localhost/gambas/trunk@5242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Draw the projet property dialog library list with a GridView.
[INTERPRETER]
* BUG: Fix class overriding routine.
[GB.ARGS]
* NEW: 'gb.args' is a new component that analyzes the command-line options,
and automatically handles the "--help" option.
[GB.HTTPD]
* BUG: Hide the component.
git-svn-id: svn://localhost/gambas/trunk@5241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Each component installation now generates all information files
systematically, to fix possible dependencies between components written
in Gambas.
[DEVELOPMENT ENVIRONMENT]
* NEW: Running a project using the 'gb.web' component now automatically
starts the embedded HTTP server.
[INTERPRETER]
* NEW: Class overriding is retrospective now.
* NEw: System._Breakpoint() is a new hidden method that raises a
breakpoint. Very useful for debugging.
[GB.GTK]
* BUG: The Action.Register() method must not crash when called during class
clean-up.
[GB.HTTPD]
* NEW: Define a custom exported HTTP server name.
[GB.JIT]
* BEW: Support for new class overriding (the CLASS structure has lost one
field).
[GB.QT4]
* BUG: The Action.Register() method must not crash when called during class
clean-up.
git-svn-id: svn://localhost/gambas/trunk@5240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: MaskBox and ButtonBox controls with no mask now should act like a
normal TextBox for popup menu and focus events.
git-svn-id: svn://localhost/gambas/trunk@5239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Reinit the Default Height and Width of the ReportControls to 0 cm. It correct the last seen default display.
git-svn-id: svn://localhost/gambas/trunk@5225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Switch to 3.3.90 version.
[WEBSITE MAKER]
* NEW: Update for 3.3.2 version.
[INTERPRETER]
* NEW: New API for getting information about a file.
[GB.DESKTOP]
* NEW: _Desktop.Time is a new property that returns the last X11 timestamp.
* NEW: _Desktop.ActivateWindow() is a new method that will be removed in a
next commit.
* NEW: DesktopWindow.Activate() is a new method to activate a window.
[GB.GTK]
* NEW: New GB_INFO constant to return the last X11 timestamp to other
components.
[GB.HTTPD]
* NEW: Reindent source files.
[GB.QT4]
* NEW: New GB_INFO constant to return the last X11 timestamp to other
components.
[GB.QT4.WEBKIT]
* BUG: Fix WebHitTest.Editable property declaration.
git-svn-id: svn://localhost/gambas/trunk@5221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Reactivate OnePiece... some report are lose there arrangement.
git-svn-id: svn://localhost/gambas/trunk@5210 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Embedded window layout.
[INTERPRETER]
* NEW: The '-H' option now runs the interpreted program as a CGI script
through an embedded HTTP server.
[GB.HTTPD]
* NEW: New hidden component that embeds an HTTP server that runs the
project as a CGI script. It is activated by a new interpreter option.
Warning! This is highly experimental. The HTTP server is based on the
thttpd source code.
[GB.WEB]
* BUG: As the _init static class is always executed at startup for exported
classes, delay the intialization of Session class the first time one of
its properties is used.
* BUG: If the SCRIPT_NAME CGI variable equals nothing or "/", set it to
"/." so that it can be concatenated to any path and still gives a valid
url.
* BUG: Support for explicit URL ports.
* NEW: Application.Port is a new property that returns the port used by the
HTTP request.
git-svn-id: svn://localhost/gambas/trunk@5209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ScrollArea.Shadow is now a dynamic property. This will be backported
to 3.3 as soon as possible because this is a forbidden background
compatibility break!
git-svn-id: svn://localhost/gambas/trunk@5200 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Updates for 3.3.0 release.
[GB.WEB]
* NEW: Session.CookiePath is a new property that allows to define the URL
path of the session cookie.
git-svn-id: svn://localhost/gambas/trunk@5197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not distribute '.action' directories in source packages (again).
git-svn-id: svn://localhost/gambas/trunk@5193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: In the database connection editor, make the table data browser read-
only by default, and add a button to toggle the editable state.
[GB.DB.FORM]
* BUG: Setting DataView.Editable to FALSE correctly hides the record
creation extra line.
[GB.NET.POP3]
* BUG: Hide public constants that should have been private only.
git-svn-id: svn://localhost/gambas/trunk@5190 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix loading of component information when the current project is the
Gambas part of a Gambas component.
* BUG: Opening a project in another window should work in all cases now.
git-svn-id: svn://localhost/gambas/trunk@5182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some little redesign of the welcome dialog.
* NEW: Remove the "Alternate" theme color.
[COMPILER]
* NEW: New WebPage syntaxes: <<Include>>, <</Include>>, <%/%>, <<--->>.
[GB.EVAL]
* NEW: Highlight.Alternate has been deprecated.
[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new WebPage syntaxes.
[GB.QT4.EXT]
* NEW: Editor: The alternate background is automatically computed.
* NEW: Editor: Brace highlighting now works on alternate background.
* NEW: Highlight.Alternate has been deprecated.
git-svn-id: svn://localhost/gambas/trunk@5177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use Terminus as default fixed font if it is installed on the system.
* BUG: Don't load a component description if that component has the same
name as the current project. This is a temporary incorrect fix!
[INTERPRETER]
* BUG: Fix Classes enumeration.
[GB.DESKTOP]
* BUG: Fix X11 client message sending routine on 64 bits OS.
* BUG: Fix all DesktopWindow properties that read or change the state of
the window.
[GB.GTK]
* NEW: Fonts.Exist() is a new method that returns if a specific font family
exists.
[GB.QT4]
* NEW: Fonts.Exist() is a new method that returns if a specific font family
exists.
git-svn-id: svn://localhost/gambas/trunk@5171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Display a PDF icon for PDF files.
[GB.FORM]
* NEW: Add a PDF icon to the stock.
[GB.FORM.STOCK]
* NEW: Add a PDF icon.
[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must
be printed.
[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly
returns the Printer object to an inactive state.
git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Conversion between byte index and UTF-8 character index of the last
string has been optimized when that last string is big.
[GB.EVAL.HIGHLIGHT]
* OPT: Optimization of HTML syntax highlighting for big lines. That
optimization should be handled by the interpreter automatically.
git-svn-id: svn://localhost/gambas/trunk@5167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Don't arrange the parent if a move & resize operation actually
changes nothing.
* OPT: When showing or hiding a control, check that we actually change the
visibility of the widget and do nothing if we don't.
git-svn-id: svn://localhost/gambas/trunk@5164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Small changes in the welcome dialog design.
[GB.FORM]
* NEW: In FileChooser and DirChooser, replace the little arrow that goes
up to the parent directory by a normal button.
[GB.GTK]
* BUG: Fix Mouse.ScreenX and Mouse.ScreenY.
git-svn-id: svn://localhost/gambas/trunk@5161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix binary file detection that made file browsing sometimes ignore
some text files.
* BUG: When opening a project in another window, try to find the IDE
executable with and wuthout the ".gambas" extension.
[GB.GTK]
* BUG: Remove a debugging message.
git-svn-id: svn://localhost/gambas/trunk@5156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some fixes in automatic variable declaration.
[GB.DESKTOP]
* BUG: $XDG_DATA_DIRS is now taken into account when browsing mime cache
files.
[GB.FORM]
* BUG: Clicking on a TabPanel tab raises the Click event after taking the
focus now.
git-svn-id: svn://localhost/gambas/trunk@5152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Support for LXDE mime application cache.
[GB.WEB]
* NEW: Flush the output before calling Response.End if the response is not
buffered.
git-svn-id: svn://localhost/gambas/trunk@5137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the enumeration API. GB.ListEnum() has been replaced by
GB.BeginEnum() and GB.EndEnum(), that save the state of the internal
current enumeration.
[GB.MIME]
* BUG: Raise an error when the MimeMessage constructor fails while parsing
a message.
[GB.NET.POP3]
* BUG: _Pop3Client_Message must not inherit MimeMessage.
* NEW: _Pop3Client_Message has a new Message property that returns the
decoded MimeMessage.
* NEW: _Pop3Client_Message has a new Deleted property that returns if the
message has been deleted.
* NEW: _Pop3Client_Message has a new Id property that returns the
message id, which is its index plus one.
* NEW: _Pop3Client_Message has a new Index property that returns the
message index, which is its id minus one.
* BUG: Hides protocol dependent routines.
* NEW: The error returned by the Pop3 client is directly used for the error
message.
* OPT: Remove duplicated code in TCPClient and SSLCLient. Centralize it in
the PopClient parent class.
* BUG: Fix the single line response reading of SSLClient.
* BUG: Fix the multiple line response reading of SSLClient and TCPClient.
* BUG: Do not display password on the standard error in debugging mode, but
eight "*" characters instead.
* NEW: Many methods do not return a boolean status, but raise an error
instead.
* BUG: Methods that return their result as a boolean status now return TRUE
if they fail, not if they succeed (this is the Gambas convention).
* BUG: Fix the Pop3CLient.List() method.
* NEW: Rename the Pop3Client UniqueId() method as ListUniqueId().
* BUG: Fix the Pop3Client.ListUniqueId() method.
git-svn-id: svn://localhost/gambas/trunk@5134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Draw the TabPanel focus differently again.
* BUG: For some reason, clicking on a tab didn't give the focus to the tab
button on gb.gtk.
[GB.GTK]
* BUG: Fix the Stock class.
git-svn-id: svn://localhost/gambas/trunk@5131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: "Open with" menu now is based on the *.desktop files of applications
that are installed on the system.
[GB.DESKTOP]
* NEW: DesktopFile is a new class that load *.desktop application files.
* NEW: DesktopFile.FindMime() is a static method that returns a list of
DesktopFile that can handle a specific mime type.
[GB.FORM]
* BUG: Some fixes in the stock icon map file.
* NEW: Add a new "program" stock icon.
[GB.FORM.STOCK]
* NEW: Add a "program" stock icon.
git-svn-id: svn://localhost/gambas/trunk@5129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Pressing SHIFT with the RETURN key prevents automatic variable
declaration.
* BUG: Automatic variable declaration takes TRY into account.
* BUG: Automatic variable declaration now understands more expressions.
* NEW: Add a filter to the example tab of the open project dialog.
[INTERPRETER]
* NEW: String.UCaseFirst() is a new method that capitalize the first letter
of an UTF-8 string.
[COMPILER]
* NEW: If a function argument is enclosed with braces, then no warning is
emitted if it overrides a global symbol.
[GB.FORM]
* BUG: Transparent SidePanel controls do not eat one pixel of their
contents anymore.
* NEW: TabPanel draws its focus highlight differently.
* NEW: ScrollArea now draws a shadow only if the corresponding scrollbar is
visible.
git-svn-id: svn://localhost/gambas/trunk@5128 867c0c6c-44f3-4631-809d-bfa615b0a4ec