Commit graph

1767 commits

Author SHA1 Message Date
Benoît Minisini
cf3ac47267 [GB.FORM.EDITOR]
* BUG: Never jump to the beginning of the line when clicking on the text.

git-svn-id: svn://localhost/gambas/trunk@7641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-17 02:14:20 +00:00
Benoît Minisini
e83b8c2db8 [GB.FORM.EDITOR]
* BUG: TextEditor[].Limit correctly returns the real limit state, not the visible one.

git-svn-id: svn://localhost/gambas/trunk@7640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-16 16:12:42 +00:00
Benoît Minisini
e258598187 [GB.FORM.EDITOR]
* NEW: TextEditor: Nicer indent vertical lines.


git-svn-id: svn://localhost/gambas/trunk@7639 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-16 03:00:35 +00:00
Benoît Minisini
66c1e5c69a [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter: Comment is a new flag that tells if a ln highlighted line is only a comment.

[GB.FORM.EDITOR]
* NEW: TextEditor: Draw the procedure separator before its previous comments.
* NEW: TextEditor: ShowIndent is a new property that make the editor draw a thin vertical line to emphasize corresponding indentations.


git-svn-id: svn://localhost/gambas/trunk@7635 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-15 14:55:35 +00:00
Tobias Boege
c3d8fb5e7e [GB.MARKDOWN]
* NEW: Markdown.Reinterpret is a new property to say if the next return of Command() should be reinterpreted as markdown or not. It is True by default for backwards compatibility.



git-svn-id: svn://localhost/gambas/trunk@7634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-14 12:36:03 +00:00
Benoît Minisini
f458fd15be [GB.FORM]
* BUG: FileChooser: ShowHidden property is correctly restored in all cases now.
* NEW: ListEditor: Editor is a new property that returns the underlying text editor.
* NEW: ListEditor: Add keyboard arrows shortcuts to move across the list.
* NEW: ListEditor: The text editor is now the proxy of the control.


git-svn-id: svn://localhost/gambas/trunk@7629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 12:01:25 +00:00
Fabien Bodard
0944141a51 [GB.REPORT2]
* BUG: ReportImage and ReportSvgImage was not able to use Autoresize.
* NEW: Begin to implement ReportGridView. Not available yet.



git-svn-id: svn://localhost/gambas/trunk@7626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-08 20:41:17 +00:00
Benoît Minisini
7a2a1bdace [GB.FORM]
* BUG: MessageView: Successive messages work correctly now.

git-svn-id: svn://localhost/gambas/trunk@7616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-01 00:36:59 +00:00
Benoît Minisini
66d3607dde [GB.NET.SMTP]
* NEW: SmtpClient.Authentication is a new property that allows to define the authentication method explicitly.


git-svn-id: svn://localhost/gambas/trunk@7614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-29 18:20:04 +00:00
Benoît Minisini
88d193a4ff [GB.SETTINGS]
* NEW: Settings.ToString() and Settings.FromString() are two internal methods now made public. They convert a value to its string representation, and the contray.


git-svn-id: svn://localhost/gambas/trunk@7599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-02 08:24:45 +00:00
Benoît Minisini
c700a93916 [GB.DBUS.TRAYICON]
* BUG: TrayIcon: Forgot to implement the Tag property!

git-svn-id: svn://localhost/gambas/trunk@7596 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 19:43:49 +00:00
Benoît Minisini
e838904258 [GB.GUI.BASE]
* BUG: GridView: Best row height computation now correctly takes the borders into account.


git-svn-id: svn://localhost/gambas/trunk@7591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:17:15 +00:00
Benoît Minisini
d362153256 [GB.EVAL.HGIHLIGHT]
* BUG: Javascript: Take all space characters into account.
* NEW: Javascript: Try to detect functions declared inside objects.


git-svn-id: svn://localhost/gambas/trunk@7590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:15:46 +00:00
Tobias Boege
364753e3f4 [GB.WEB.FORM]
* BUG: WebExpander: Raise Show and Hide events



git-svn-id: svn://localhost/gambas/trunk@7588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-27 11:46:38 +00:00
Fabien Bodard
e69a19e3e6 [GB.REPORT2]
* NEW: Use the gambas internal Expression class to evaluate the ReportLabel Formulas.


git-svn-id: svn://localhost/gambas/trunk@7577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-13 20:10:44 +00:00
Benoît Minisini
1eec2fb59b [GB.WEB]
* NEW: Add SVG file mime type.
* BUG: Remove automatic session removal when creating a session.


git-svn-id: svn://localhost/gambas/trunk@7575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-13 14:57:31 +00:00
Benoît Minisini
520b805bad [GB.WEB.FORM]
* BUG: WebWindow: Use bigger button images for bigger fonts.
* BUG: WebWindow: Maximized windows always use the full window even if it is resized.


git-svn-id: svn://localhost/gambas/trunk@7572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 14:13:53 +00:00
Benoît Minisini
3eb39cad1e [GB.WEB.FORM]
* NEW: WebWindow: Implement window maximimization.
* NEW: WebWindow: Fix window button style.


git-svn-id: svn://localhost/gambas/trunk@7570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 11:38:58 +00:00
Benoît Minisini
b81363e15d [GB.WEB.FORM]
* BUG: Fix control images symbolic links.


git-svn-id: svn://localhost/gambas/trunk@7569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 10:03:19 +00:00
Benoît Minisini
fffe08e1e7 [GB.WEB.FORM]
* NEW: WebControl: Add the Tooltip property.


git-svn-id: svn://localhost/gambas/trunk@7568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 09:55:24 +00:00
Benoît Minisini
2631259fa1 [GB.EVAL.HIGHLIGHT]
* NEW: More CSS properties

[GB.WEB.FORM]
* OPT: WebTable: When scrolling, add new elements to the table instead of refreshing it entirely. It's far faster!


git-svn-id: svn://localhost/gambas/trunk@7565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-08 14:50:48 +00:00
Fabien Bodard
a354e12cf8 [GB.MAP]
* BUG: SexToDec now now convert float value with a dot


git-svn-id: svn://localhost/gambas/trunk@7563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-07 20:28:22 +00:00
Benoît Minisini
b978b34f12 [GB.WEB.FORM]
* NEW: WebScrollView: Add ScrollX and ScrollY properties.
* BUG: WebTable: Correctly initialize the Display property to 100 rows.


git-svn-id: svn://localhost/gambas/trunk@7562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 22:32:20 +00:00
Benoît Minisini
421fdaa2cd [GB.WEB.FORM]
* BUG: WebTable: Don't display progress animation if there is no rows to load.


git-svn-id: svn://localhost/gambas/trunk@7561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 02:00:05 +00:00
Benoît Minisini
7d4bd2ed1b [GB.WEB.FORM]
* BUG: WebTabPanel: Fix syntax error is generated HTML.


git-svn-id: svn://localhost/gambas/trunk@7560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 00:20:09 +00:00
Benoît Minisini
56a60ed7c8 [GB.WEB.FORM]
* NEW: WebScrollView: A new container that just add scrollbars if its contents is too wide.
* BUG: WebTable: Clear() also resets the horizontal scroll position.
* BUG: Remove some debugging messages in the js library.


git-svn-id: svn://localhost/gambas/trunk@7559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 23:53:12 +00:00
Benoît Minisini
0d7923c836 [GB.WEB.FORM]
* NEW: WebTable: Clear() is a new method that sets the row count and the scrolling position to zero.
* NEW: WebTable: If a scrolling request fails, send back to the server the scrolling position.


git-svn-id: svn://localhost/gambas/trunk@7557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 15:45:35 +00:00
Benoît Minisini
00b494d313 [GB.WEB.FORM]
* NEW: WebTable: Add a little animation when the table loads its contents.
* BUG: WebTable: Settings the Count property resets scrolling.
* BUG: WebTable: Remove scrolling debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 15:24:51 +00:00
Benoît Minisini
0b12686804 [GB.WEB.FORM]
* NEW: WebTable: ScrollX and ScrollY are two new properties that store the scrolling state of the table.
* NEW: WebTable: Scrolling is preserved between refresh.
* NEW: WebTable: Missing rows are now automatically added when the scrolling bar reaches the end of the table.


git-svn-id: svn://localhost/gambas/trunk@7553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 03:36:21 +00:00
Benoît Minisini
ab5628b57d [GB.WEB.FORM]
* BUG: WebTable: Cell foreground color is correctly taken into account.


git-svn-id: svn://localhost/gambas/trunk@7552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 01:29:13 +00:00
Benoît Minisini
8dd59f2717 [GB.WEB.FORM]
* BUG: WebForm: Set the window container Ignore property.
* BUG: WebContainer: Correctly take the Ignore property into account.


git-svn-id: svn://localhost/gambas/trunk@7551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 00:30:48 +00:00
Benoît Minisini
747f1219a2 [GB.WEB.FORM]
* OPT: Compress style sheet and javascript library.
* OPT: Put popup windows inside an intermediate container, so that refreshing a window does not refresh the entire page.


git-svn-id: svn://localhost/gambas/trunk@7550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 00:14:03 +00:00
Benoît Minisini
60d2c8c697 [GB.WEB.FORM]
* NEW: WebForm: Width and Height properties now act as minimal dimensions if the form is used as a resizable dialog.
* BUG: WebWindow: Remove the mozilla specific style sheet of window close button.


git-svn-id: svn://localhost/gambas/trunk@7549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-04 18:19:43 +00:00
Benoît Minisini
4b8d0d97e9 [GB.WEB.FORM]
* NEW: WebTable: New default style.


git-svn-id: svn://localhost/gambas/trunk@7548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-04 01:29:32 +00:00
Benoît Minisini
c0894c291f [GB.WEB.FORM]
* BUG: WebButton: Remove all padding for buttons with no border.


git-svn-id: svn://localhost/gambas/trunk@7547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-03 18:24:13 +00:00
Benoît Minisini
d336e8ec9d [GB.WEB.FORM]
* BUG: Try to fix WebLabel style behaviour.


git-svn-id: svn://localhost/gambas/trunk@7544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-02 17:17:07 +00:00
Benoît Minisini
f5b820db71 [GB.WEB.FORM]
* NEW: WebControl: If Expand is FALSE, then prevent the control from shrinking.
* NEW: WebTable: Columns now have a Width property, which defines its minimum width.
* NEW: WebLabel: Allow wrapping, but align vertically to the baseline and hides overflowing text. Not perfect yet... :-(


git-svn-id: svn://localhost/gambas/trunk@7543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-02 15:24:06 +00:00
Benoît Minisini
a6f458e05c [INTERPRETER]
* NEW: _ready() is new special method that is called when an object construction is completly finished.

[COMPILER]
* NEW: Remove the call to _load() method in form constructors.

[GB.WEB.FORM]
* BUG: WebExpander: Remove a debugging message.
* NEW: WebForm.Debug is a new static property that, if set, dumps all exchanges between the server and the client in the browser console.
* NEW: Use the new _ready special method.
* NEW: WebLabel: Add the Border property.
* NEW: WebLabel: Alignment is a new property that defines the label horizontal alignment.
* NEW: A few changes in default style sheet.


git-svn-id: svn://localhost/gambas/trunk@7541 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 18:11:01 +00:00
Fabien Bodard
c255863403 [GB.REPORT2]
* BUG: Remove unneeded variable initialization.


git-svn-id: svn://localhost/gambas/trunk@7538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 13:58:23 +00:00
Benoît Minisini
b9b46f3873 [CONFIGURATION]
* NEW: Add "-march=native" to the compilation flags. Maybe it could speed up then interpretrer a bit?

[DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: Update layout.
* NEW: Form editor: Clicking on the master selection selects the parent control.

[WEB SITE MAKER]
* NEW: Update for 3.8.4 version.

[GB.DB]
* BUG: Default values are now correctly taken into account by database templates.

[GB.DB.SQLITE3]
* BUG: Fix a possible uninitialized allocation of columns names.

[GB.UTIL]
* NEW: Class.Stat() class name argument now allows "../" in the name to search for classes in parent components.

[GB.WEB]
* NEW: Request.Language returns the main language requested by the HTTP client. This value can be directly assigned to System.Language.
* NEW: Session.Size returns the size of the session file in bytes.

[GB.WEB.FORM]
* NEW: Automatic management of favicon. The application favicon must be a file named "favicon.png" in the ".public" directory.
* NEW: The Align class for alignment constants.
* NEW: WebControl: Any control can raise a Message event now.
* NEW: The Message boxes now raise the "Message" event of the WebControl that opened the message box. If the event is not handled, then the event is raised by the WebForm of the control.
* NEW: The Select class for selection mode constants.
* BUG: WebComboBox: Define the default event.
* NEW: WebContainer: Indent is a new property that allows to add a left padding to the container.
* NEW: WebContainer: Extra children (those created after initialization) are now recreated with their event observer and event name, provided that the event observer is another WebControl.
* NEW: WebContainer: DeleteChildren() is a new method that deletes all container children.
* NEW: WebExpander: New container that implements an expander.
* NEW: WebForm: Teh application language now automatically switches to the language requested by the HTTP client.
* BUG: WebForm: Show() and ShowModal() method now raise the Open event.
* NEW: WebLabel: Add the Border property to the property list.
* NEW: WebLabel: Newlines in label text are automatically replaced by "<br>".
* NEW: WebTable: New control that implements an HTML table with automatic scrollbars. It gets its data through a Data event, and only displays the first hundred elements by default. A button allows to increase the number of displayed elements.
  The 'Mode' property allows to define the selection mode. When rows are selectable, an extra columns is added, with radion buttons on single selection mode, and checkboxes on multiple selection mode. The indexes of selected rows is returned by
  the 'Selection' property.
* BUG: Many fixes in the default stylesheet.


git-svn-id: svn://localhost/gambas/trunk@7536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-27 18:16:32 +00:00
Fabien Bodard
c2fb96c345 [GB.REPORT2]
* BUG: Finally , after 10 years, I managed to solve the numbering problem of cloned elements.
  This will allow to manage data groups.
* NEW: Two new variable are supported in the expression evaluator
  Page for the page number, and Index for the cloned element index.
  ex: =Page
  


git-svn-id: svn://localhost/gambas/trunk@7533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-17 20:51:10 +00:00
Fabien Bodard
a2290a6d79 [GB.REPORT]
* BUG: Adding a forgotten file.


git-svn-id: svn://localhost/gambas/trunk@7532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-16 11:20:34 +00:00
Fabien Bodard
7b3b2ee0c7 [GB.REPORT]
NEW: Start to implement an external formula evaluator. This will allow to manage data and format more easily 
     and at a widget level.
     


git-svn-id: svn://localhost/gambas/trunk@7531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-16 11:17:56 +00:00
Fabien Bodard
23058fcc2d [GB.REPORT2]
* NEW: A new class ReportSizeParser to replace TSizeParse. 
  TSizeParse is maintained but deprecated.
* NEW: The ReportViewer is updated when the report layout is finished.



git-svn-id: svn://localhost/gambas/trunk@7509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 14:35:51 +00:00
Benoît Minisini
fca1fb8e0e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix image selection when the allowed image root directory is the
  '.public' special directory.
* NEW: Replace 'WebformImage' property kind by 'WebImage'.
* BUG: Form editor: Fix automatic arrangement.
* NEW: Form editor: Allow background and foreground toolbar buttons for
  WebForms.
* BUG: WebImage can display SVG files too.

[GB.WEB.FORM]
* NEW: Add some new color constants to the Color class.

[GB.GEOM]
* NEW: Move the declaration of alignment constants there.
* NEW: Rect.Stretch() is a new method that stretches a rectangle so that it
  fits inside another rectangle frame while keeping its proportions.
* NEW: RectF.Stretch() is a new method that stretches a rectangle so that
  it fits inside another rectangle frame while keeping its proportions.


git-svn-id: svn://localhost/gambas/trunk@7505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 18:44:58 +00:00
Benoît Minisini
055096a304 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'WebCoord' property kind.
* NEW: WebForm family: Draw WebImage controls.
* NEW: CoordBox.Units is a new property that allows to define the units
  list.
* NEW: CoordBox.DefaultUnit is a new property that allows to define the
  default unit.
* BUG: CoordBox is now correctly not localized.

[GB.DB.FORM]
* BUG: Correctly define the default size of controls.

[GB.FORM.EDITOR]
* NEW: The Margin event is now raised on double click only.
* NEW: The line cache is now based on Picture, not on Image.

[GB.GTK]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GTK3]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GUI.BASE]
* NEW: Paint.StretchImage() is a new method that scales an image to fit a
  rectangle, keeping the image proportions.

[GB.QT4]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.QT5]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.WEB.FORM]
* NEW: WebControl: Width and Height properties now have the 'WebCoord'
  kind.


git-svn-id: svn://localhost/gambas/trunk@7503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 11:14:30 +00:00
Benoît Minisini
da9e37f4c0 [GB.DESKTOP]
* NEW: Update xdg-utils scripts to the last version (1.1.1).


git-svn-id: svn://localhost/gambas/trunk@7502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 01:04:40 +00:00
Benoît Minisini
145edbfec5 [GB.REPORT2]
* BUG: ReportView: Initialize the temporary image buffer contents when
  grayscale is enabled. Otherwise uninitialized pixels are painted.


git-svn-id: svn://localhost/gambas/trunk@7501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 00:46:12 +00:00
Benoît Minisini
1e32bb79dd [GB.DESKTOP.X11]
* BUG: Do not crash when some desktop properties are not defined by the
  window manager.

[GB.GTK]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.

[GB.GTK3]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.


git-svn-id: svn://localhost/gambas/trunk@7497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 19:57:17 +00:00
Benoît Minisini
52cdf4f324 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix automatic arrangement support.
* BUG: Form editor: Moving child controls should be easier now in automatic
  arrangement support. But still far from perfect for row and  column
  arrangements.
* NEW: Form editor: Paint expanded void containers in web forms like in GUI
  forms.

[GB.WEB.FORM]
* BUG: Render hidden children with "display:none" style.
* BUG: Fix rendering of WebTabPanel with no border.
* NEW: Add support for web site "favicon".


git-svn-id: svn://localhost/gambas/trunk@7496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-02 19:36:46 +00:00