Commit graph

3055 commits

Author SHA1 Message Date
Christof Thalhofer
81f17d712c gb.test executes all tests with "*" 2020-05-14 14:20:08 +02:00
Christof Thalhofer
fa933ee86f small changes FTestSuite
Gambas3 did not compile, tests did not occur if not compiled
2020-05-14 14:12:10 +02:00
Christof Thalhofer
b445a7e859 gb.test integration to the IDE. TestSuites
[DEVELOPMENT ENVIRONMENT]
* NEW: FTestSuite to configure testsuites and store in project in .tests
[GB.TEST]
* NEW: testsuites
2020-05-14 13:15:54 +02:00
Christof Thalhofer
769b611362 gb.test some changes for integration to IDE et al
[GB.TEST]
* NEW: TestRunner.List returns all tests as TestCommand[]
* NEW: Test.Main can be triggered to report all tests as string
* NEW: TestCommand FromString and ToString to convert TestCopmmands into objects and vice versa
2020-05-14 13:08:03 +02:00
Tobias Boege
05d9fdf865 Make TestRunner.Run return its result
[GB.TEST]
* BUG: TestRunner.Run returns its result TestStats now.
2020-05-14 12:53:17 +02:00
gambas
ef32c2e7a2 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-14 09:39:11 +02:00
gambas
7b30f81ab2 Add a project icon.
[GB.TEST]
* NEW: Add a project icon.
* BUG: Fix an english word in 'README.md'.
2020-05-14 09:38:23 +02:00
Christof Thalhofer
427ed14d2e gb.test: Rename TestHarness to TestRunner, TestRunner.List 2020-05-13 14:20:57 +02:00
Christof Thalhofer
cbefcd7660 gb.test: new function Test.AllTestsJson
[GB.TEST]
* NEW: New function Test.AllTestsJson
2020-05-13 11:14:19 +02:00
gambas
fc79447baa Update a few icons.
[GB.FORM.STOCK]
* NEW: Update a few icons.
2020-05-12 09:42:39 +02:00
gambas
c681983e01 Use the Unity protocol on all desktops.
[GB.DBUS.TRAYICON]
* BUG: Use the Unity protocol on all desktops.
2020-05-12 09:41:46 +02:00
Christof Thalhofer
afd35b4517 Refactoring and further tasks to do
Rename container and testcase to the more gambassy names testmodule and
testmethod. started plan selftests.
2020-05-12 00:49:33 +02:00
Christof Thalhofer
e3c8df5568 gb.test: new function Test.GetAllTests
[GB.TEST]
* New: Test.GetAllTests returns a collection of all testmodules and their testmethods
2020-05-11 23:28:42 +02:00
Christof Thalhofer
2d2c545576 gb.test: Assert documentation
[GB.TEST]
* New: Assert is an instruction which is extended by gb.test. It's original functionality is now documented in the Assert.module.
2020-05-11 22:31:08 +02:00
Christof Thalhofer
77436fd06d gb.test Setup and Teardown methods hidden 2020-05-11 22:26:08 +02:00
gambas
492dccc28f Make the component visible again.
[GB.TEST]
* NEW: Make the component visible again.
* BUG: Fix two typos in comments.
2020-05-11 21:02:39 +02:00
Christof Thalhofer
31b519d733 gb.test updated unittesthelloworld
[GB.TEST]
* NEW: example unittesthelloworld does not load component gb.test
2020-05-10 09:06:43 +02:00
gambas
db95af0cb2 Make 'gb.test' component hidden, as it is now loaded automatically.
[GB.TEST]
* NEW: Raise the component to the 'Stable but not finished' state.
* NEW: Make the component hidden, as it is now loaded automatically.
2020-05-07 15:15:57 +02:00
Tobias Boege
fa27ff8204 gb.test: Tidy up TestHarness
[GB.TEST]
* OPT: Remove cruft from TestHarness. Use the new `gbx3 -T` mode. Make it a module.
2020-05-07 13:15:57 +02:00
Tobias Boege
e3a9ac58e8 gb.test: Exit with appropriate status code
[GB.TEST]
* BUG: Test.Main() now `Quit`s with 0 or 1 indicating whether tests passed or failed.
2020-05-07 13:15:54 +02:00
Tobias Boege
a965afa0e5 gb.test: Hide more classes and symbols
[GB.TEST]
* OPT: Hide more classes and symbols.

TapPrinter, TapParser and TapContext are not exported anymore. The Tap
constants are moved into other classes. Some public methods/properties
that expose printer, parser or context are hidden.
2020-05-07 12:57:55 +02:00
gambas
3c510ed644 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-04 21:31:04 +02:00
gambas
7612fb0268 Stock: Better support of some icon themes. Add 'share' stock icon.
[GB.FORM]
* BUG: Stock: Better support of some icon themes.
* NEW: New stock icon 'share'.

[GB.FORM.STOCK]
* NEW: New stock icon 'share'.
2020-05-04 21:27:23 +02:00
gambas
5cfd01f3c1 WebListBox: Fix read of Index property.
[GB.WEB.GUI]
* BUG: WebListBox: Fix read of Index property.
2020-05-04 21:26:03 +02:00
Christof Thalhofer
f36281a694 Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-05-04 12:51:03 +02:00
Christof Thalhofer
de4fc3c4cf gb.test README documentation
[GB.TEST]
* NEW: Update documentation in README
2020-05-04 12:47:03 +02:00
gambas
5675853767 WebListBox: Fix behaviour in multiple selection mode.
[GB.WEB.GUI]
* BUG: WebListBox: Fix behaviour in multiple selection mode.
* BUG: Fix how the executable path is forged.
2020-05-04 02:14:04 +02:00
Christof Thalhofer
c733083a32 gbt3 install and task 2020-05-03 11:26:05 +02:00
Christof Thalhofer
ed8f5b73ad gbt3: some fixes and tasks done
Returns exit code.

Doesn't print a summary any more as this is provided by gb.test.

Doesn't print blank line at the beginning any more. Plan has to be in
the first line.

Works fine with tappy (python TAP consumer)

Kills temporary startup file
2020-05-03 10:35:29 +02:00
Christof Thalhofer
fc2ad34525 README small fix 2020-05-03 07:42:45 +02:00
Christof Thalhofer
645f972bdf README and tasks updated 2020-05-03 07:36:31 +02:00
Christof Thalhofer
08d798c186 hide Test.Finish and documentation 2020-05-02 18:35:48 +02:00
Christof Thalhofer
36b2e39ebe Test Assert.Like 2020-05-02 17:22:58 +02:00
Christof Thalhofer
2c111a14c3 Assert documentation – not fully done
Left descrition of Approximate and RelativeApproximate to a mathematician.
;-)
2020-05-02 17:20:42 +02:00
Christof Thalhofer
178ce9c26c Remove TestSetupTeardown in TestMe also 2020-05-02 15:28:30 +02:00
Christof Thalhofer
6b2f8ec1b2 delete redundant TestSetupTeardown.test 2020-05-02 15:27:35 +02:00
Christof Thalhofer
91c4ce2638 started documentation and task hide symbols 2020-05-02 11:53:30 +02:00
Christof Thalhofer
3cf670ef85 Test.PrintSummary: Result in the last line 2020-05-01 18:59:20 +02:00
Tobias Boege
4c2a4f47f5 Show TODOs and SKIPs in summary
[GB.TEST]
* BUG: Do not trim whitespace from diagnostic lines.
* NEW: Show TODOs (failed and bonus) and SKIPs in summary.

Previously, TapPrinter.Diagnostic would Trim$ its argument before
splitting it by line. This would remove any indentation that may
be useful for formatted diagnostics output, so it has to go.
Additionally I special-case Null and gb.Lf to print exactly "#\n",
which is a common use case as a visual separator.
2020-05-01 15:57:53 +02:00
Christof Thalhofer
7d480229e0 Rewrite TestSummary and TestMe
TestSummary.DoSomeAsserts, DoTodo and DoSkip succeed
2020-05-01 10:42:29 +02:00
Christof Thalhofer
098c5915a5 New Bug: Directives are never stored.
This must be fixed before Summary can be created.
2020-04-28 12:17:02 +02:00
Christof Thalhofer
0943f349eb taskell updated: Todo exists 2020-04-28 09:36:44 +02:00
Christof Thalhofer
c306e9a5fc Fix: Free Assert from non-assertions
Assert free from non-assertions. Also Assert and Test now are
modules.
2020-04-27 12:01:47 +02:00
Christof Thalhofer
7712c62e47 taskell better explanation 2020-04-26 13:07:31 +02:00
Christof Thalhofer
750a6057d1 Taskell next task todo and skip
Both are not implemented well but necessary for summary
2020-04-26 12:49:06 +02:00
Christof Thalhofer
127eb07385 Merge remote-tracking branch 'upstream/master' into testing-system 2020-04-26 12:07:56 +02:00
Christof Thalhofer
d7a478cc81 Fix: Test bails out if testmodule doesn't exist 2020-04-26 11:23:01 +02:00
Christof Thalhofer
d02c023e67 TestFailures and TestSummary updated 2020-04-26 11:03:53 +02:00
Christof Thalhofer
f36f656110 selftests: get rid of old plans 2020-04-26 10:48:30 +02:00
Christof Thalhofer
7d55499305 Better readability of TAP output for humans
... I mean elder humans, like me
2020-04-26 10:44:59 +02:00
Christof Thalhofer
24ef4c8c07 Fix: BailOut stops all tests 2020-04-26 10:41:35 +02:00
Christof Thalhofer
b640e5116b Tasks to do until gb.test is done so far 2020-04-25 21:28:51 +02:00
Christof Thalhofer
e5c9b3c1c2 gb.test and gbt3 some refactoring and future tasks 2020-04-25 21:28:51 +02:00
Tobias Boege
acc8f11040 gb.test: Rename ReverseNext to IntendedFailure
IMHO a more descriptive name. One can "reverse" so many things.
2020-04-25 05:48:28 +02:00
Tobias Boege
35cac9053f Refactor TapPrinter and Assert
This is a big refactor of the TapPrinter and Assert interaction with
the goal of enabling gb.test to print a self-summary after a TAP session
(without storing the TAP we printed and parsing it afterwards). The main
feature addition is a new class representing an assertion (together with
its subtests). Objects of this type are now produced by TapPrinter when
it prints an assertion and by TapParser alike when it parses TAP.
This allows more uniform and more detailed reporting of failures, too.

For organizational reasons, subtest support was moved into the printer.

[GB.TEST]
* NEW: Expose the TapContext class which holds the current TAP session's state.
* NEW: Represent assertions (and entire subtests) by TestAssertion objects in both TapPrinter and TapParser.
* NEW: Coalesce the four TapParser events for assertions into one.
* OPT: Move subtest support into TapPrinter, removing the need to create multiple TapPrinter objects.
* OPT: Remove the need for buffering the TAP to print a self-summary.
* BUG: Fix the buffering issue that would lose TAP when the process crashes.
2020-04-25 05:45:42 +02:00
gambas
53865b1822 Top-level menus of embedded forms are not inserted in the top-level form anymore.
[GB.WEB.GUI]
* BUG: Top-level menus of embedded forms are not inserted in the top-level form anymore.
2020-04-23 01:31:23 +02:00
gambas
a53acf81c7 TextEditor: Do not use Application.Busy in Load() and Save() methods and fix TextEditor[].Purge() method.
[GB.FORM.EDITOR]
* NEW: TextEditor: Do not use Application.Busy in Load() and Save() methods.
* BUG: TextEditor: TextEditor[].Purge() works as expected now.
2020-04-21 07:32:52 +02:00
gambas
fae4d5df83 Spinner: Add a Padding property.
[GB.FORM]
* NEW: Spinner: Add a Padding property.
2020-04-21 07:32:27 +02:00
gambas
b77de38fdf Stock: Analyze icon directories in alphabetic order, so that numeric directory names are always identified first.
[GB.FORM]
* BUG: Stock: Analyze icon directories in alphabetic order, so that numeric directory names are always identified first.
2020-04-16 09:49:21 +02:00
Christof Thalhofer
25fbe40ea6 Taskell Kanboard
Taskell is a somewhat bulky kanboard for the commandline, but for me
seems to be sufficient to organize the few things we have to do until
3.15.
2020-04-12 10:38:02 +02:00
Christof Thalhofer
2e9e94903b unittesthelloworld update neue tests 2020-04-10 15:43:46 +02:00
Christof Thalhofer
294194557b gbtest.Test FIXME comment 2020-04-10 13:52:56 +02:00
Christof Thalhofer
254251b2f7 refact 2020-04-10 11:15:17 +02:00
gambas
d6cf0e8fb4 Fix the tab order of the control toolbox.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the tab order of the control toolbox.

[GB.WEB.GUI]
* NEW: WebListBox is a new listbox control.
2020-04-09 10:53:31 +02:00
Christof Thalhofer
72c2c1e158 TestFailures report ok now, new TestCrashes
Tests in TestCrashes fail and must be reported as failed
2020-04-09 08:13:09 +02:00
Christof Thalhofer
dfcfac6172 Assert.ReverseNext
Turns the result of the following assertion the other way round
2020-04-09 08:09:53 +02:00
gambas
171c11c523 Update some project versions and icons. 2020-04-08 14:03:59 +02:00
gambas
8a9e30e1be Redraw 'upload' and 'download' stock icons.
[GB.FORM.STOCK]
* NEW: Redraw 'upload' and 'download' stock icons.
2020-04-08 14:01:53 +02:00
gambas
2c3d7c069f WebFileButton is a new control that provides a button that can upload file to the server.
[GB.WEB.GUI]
* NEW: WebFileButton is a new control that provides a button that can upload file to the server.
2020-04-08 13:58:35 +02:00
gambas
a00862b681 CGI.All is a new property that returns a collection of all CGI environment variables.
[GB.WEB]
* NEW: CGI.All is a new property that returns a collection of all CGI environment variables.
2020-04-08 13:57:37 +02:00
Christof Thalhofer
815a1ddcf2 TestCommand parsing done, but system still buggy
Without "Debug oTest.Name" in TestSuite.class:39 it would silently crash anywhere
after TestNoMessage is done without printing any single character. Reason is
"Assert.BailOut" in TestSuite:51 which miraculously does nothing.

If the testsystem itself crashes, ist must print "BailOut ..."

But here also can be seen, why the system has to print every assertion immediately.
Any bufferíng is bad because if the testsystem crashes the buffered results are gone.

So we must get rid of the buffered stream thing and go back to Print scattered all over ;-)
2020-04-08 12:39:55 +02:00
Christof Thalhofer
ce56c1ddb4 New signature of Test.Main(), not really functional
I'm goin to bed, just to backup my work to Gitlab
2020-04-08 00:46:09 +02:00
Christof Thalhofer
33641cac1b TestCommand Parser
Parses the string that containes testmodules and -methods. The parser is tested in TestInternals.
2020-04-08 00:40:14 +02:00
Christof Thalhofer
728194b3da Rename Unittest to Test 2020-04-07 16:48:46 +02:00
Tobias Boege
84e9792043 gb.test: remove self-test concept
[GB.TEST]
* OPT: Remove the concept of self-tests. Since ".../.test" exists there is no need to distinguish their tests and ours anymore.
2020-04-07 15:08:54 +02:00
Tobias Boege
6144a78829 gb.test: fix Assert.ErrorCode and Teardown spelling
[GB.TEST]
* BUG: Forward Description in Assert.ErrorCode.
* BUG: Fix spelling of TearDown -> Teardown special test method.
* OPT: Use Assert.Note() instead of Print in tests.
2020-04-07 15:08:54 +02:00
Tobias Boege
2489001ca4 gb.test: restore failing self-tests
[GB.TEST]
* NEW: Errors in tests are caught again.
* OPT: Shorten StringEquals diagnostics.
2020-04-07 15:08:46 +02:00
gambas
3891af0d62 Take anchors into account correctly when generating links and fix a crash when parsing lines starting with a '#'.
[GB.MARKDOWN]
* BUG: Take anchors into account correctly when generating links.
* BUG: Lines beginning with '#' without a space after do not make the parser crash anymore.
2020-04-07 14:51:01 +02:00
Tobias Boege
a4e233d4be Move gb.test.tap into gb.test
[GB.TEST]
* NEW: Merge gb.test.tap classes.

[DEVELOPMENT ENVIRONMENT]
* NEW: Remove mention of gb.test.tap.

[CONFIGURATION]
* NEW: Remove gb.test.tap.
2020-04-07 12:32:48 +02:00
gambas
2165ececd5 JIT optimization of '&=' has been implemented.
[INTERPRETER]
* NEW: Support for JIT '&=' optimization.
* BUG: Fix '&=' optimization on argument variables.
* OPT: Strings greater than 4096 bytes are allocated by 4096 bytes steps.

[GB.JIT]
* NEW: JIT optimization of '&=' has been implemented.
2020-04-06 04:43:12 +02:00
gambas
c2794f536c Add and update some stock icons.
[GB.FORM]
* NEW: Add 'layout', 'new-tag' and 'tag' stock icons.

[GB.FORM.STOCK]
* NEW: Add 'layout', 'new-tag' and 'tag' stock icons.
* NEW: Update 'jump', 'make' and 'make-all' icons.
2020-03-27 02:20:30 +01:00
gambas
fb1ee7d923 Fix a typo in WebMenu properties declaration.
[GB.WEB.FORM]
* BUG: Fix a typo in WebMenu properties declaration.
2020-03-21 04:36:49 +01:00
gambas
66f2b07c1f Response.SendFile() now correctly deals with relative paths.
[GB.WEB]
* NEW: Response.SendFile() now correctly deals with relative paths.
2020-03-21 04:29:46 +01:00
gambas
37db818d3d The 'gb.web.form2' component has been renamed as 'gb.web.gui'. Support for popup menus and stock icons were added.
[GB.WEB.GUI]
* NEW: This is the new name of 'gb.web.form2'.
* NEW: Support for popup menus.
* NEW: Support for stock icons.

[GB.WEB.FORM2]
* NEW: Rename the component as 'gb.web.gui'.
2020-03-21 04:27:05 +01:00
gambas
a59dfb169c CSVFile: Charset now can be specified.
[GB.UTIL]
* NEW: CSVFile: Charset now can be specified. If not specified, the first line of the files is used to guess if it could be WINDOWS-1252, or otherwise UTF-8.
2020-03-13 21:36:11 +01:00
gambas
8e241d9888 Fix WebTabPanel.Count and add WebTabPanel.Remove().
[GB.WEB.FORM2]
* BUG: WebTabPanel: Count property can be made smaller.
* NEW: WebTabPanel: Remove() is a new method that removes a tab from its index.
2020-03-10 15:22:21 +01:00
gambas
7933e4ed4a Support for debugger.
[GB.WEB.FORM2]
* BUG: Use SIGUSR2 for synchronizing session process with CGI process, as SIGUSR1 is used by the debugger.
* NEW: Support for debugger.
* NEW: THe HTML body now uses sans-serif font by default.
2020-03-09 02:23:09 +01:00
gambas
42a3da7510 Use version stored in VERSION file.
[GB.TEST.TAP]
* NEW: Use version stored in VERSION file.
2020-03-07 23:18:37 +01:00
gambas
2e02a644c2 Support for switching the main form.
[GB.WEB.FORM2]
* NEW: WebForm: Current is a new static property that return or set the main form.
* NEW: WebForm: Goto() is a new static method that switch the Current property.
* NEW: WebForm: Reload() is a new method that reload the form if it is the main one. Otherwise it calls Refresh().
2020-03-07 14:40:26 +01:00
gambas
550900d8f2 Fix compatibility with replaced Session class.
[GB.WEB.FORM2]
* NEW: Session: Fix compatibility with replaced Session class, with support for array accessor, Exist method and Prefix property.
* NEW: Session: Remove Dir property. Session.Path was done for that.
* BUG: Calling Session.Abandon now quits the session process immediately.
* BUG: WebTimer: The Refresh() method now does nothing.
2020-03-07 13:25:44 +01:00
gambas
bfc455070e Support for the Session class, and add WebForm.Current property to allow to change the application main form.
[GB.WEB.FORM2]
* NEW: DateBox: Open calendar popup on mouse down.
* NEW: Override the Session class, so that its methods that do not have any sense with 'gb.web.form2' do nothing anymore.
* NEW: WebForm.Current is a new property that allows to define the main form of the application that fills its HTML page.
* NEW: Session.Dir is a new property that returns the session directory. It is now '/tmp/gambas.<userid>/session/gb.web.form2'.
* NEW: Session.Timeout is taken into account by session processes.
* BUG: Window titles do not wrap anymore.
2020-03-07 01:30:44 +01:00
Benoît Minisini
d0650b8de2 Merge branch 'gb.test.tap' into 'master'
gb.test.tap

See merge request gambas/gambas!137
2020-03-06 01:10:48 +00:00
gambas
7cc8a1d41f Forgot the moved XTerm files.
[GB.FORM.TERMINAL]
* BUG: Forgot the moved XTerm files.
2020-03-06 00:27:59 +01:00
gambas
1e4b387a2a TerminalView: Terminal output processing is now delayed until the control is visible and has been arranged, so that the terminal width is accurate.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Terminal output processing is now delayed until the control is visible and has been arranged, so that the terminal width is accurate.
* BUG: Move XTerm files to the hidden project directory.
* NEW: TerminalView: Automatic scrolling is disabled when the last terminal line is hidden.
* OPT: TerminalView: Automatic scrolling is not smooth anymore.
2020-03-06 00:26:53 +01:00
gambas
b7c933227c Date.ToISO8601() is a new function that converts a date to ISO-8601 format.
[GB.UTIL]
* NEW: Date.ToISO8601() is a new function that converts a date to ISO-8601 format.
2020-03-06 00:21:33 +01:00
gambas
0d720dc608 Add 'gb.signal' as component dependency.
[GB.WEB.FORM2]
* BUG: Add 'gb.signal' as component dependency.
2020-03-04 01:39:07 +01:00
gambas
066f919a04 Add WebSlider control.
[GB.WEB.FORM2]
* NEW: Add WebSlider control.
2020-03-03 23:54:52 +01:00
gambas
c4db969cb6 Redraw the coloured 'halt' icon.
[GB.FORM.STOCK]
* NEW: Redraw the coloured 'halt' icon.
2020-03-03 23:34:37 +01:00
gambas
58046bcfad TerminalView: Add the ReadOnly property, and add a 2 pixels margin around the terminal contents.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Add a new popup menu entry to select all the text.
* NEW: TerminalView: Add a 2 pixels margin around the terminal contents.
* NEW: TerminalView: ReadOnly is a new property that makes the TerminalView ignore keyboard input.
2020-03-03 23:29:12 +01:00
gambas
1f9364d131 Update project titles.
[GB.WEB.FORM]
* NEW: Update project title.

[GB.WEB.FORM2]
* NEW: Update project title.
2020-03-03 23:28:10 +01:00
Christof Thalhofer
3c09d70986 gb.test: Mv Flowchart into projects .hidden folder
[GB.TEST]
* BUG: Mv Flowchart into the projects hidden folder, alter flowchart a bit
2020-03-01 22:26:14 +01:00
gambas
401b04f5fc String.LeftPad() and String.RightPad() now align the padding pattern respectively to the left and to the right.
[GB.UTIL]
* NEW: String.LeftPad() and String.RightPad() now align the padding pattern respectively to the left and to the right.
2020-03-01 00:49:17 +01:00
gambas
7a377ebabc TextEditor: Add F3 and SHIFT+F3 shortcuts for searching forward and backward in the text search popup.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add F3 and SHIFT+F3 shortcuts for searching forward and backward in the text search popup.
2020-03-01 00:05:59 +01:00
gambas
e1fbc01f12 ScrollArea: Do not show the shadows in some cases when they should not be visible.
[GB.GUI.BASE]
* BUG: ScrollArea: Do not show the shadows in some cases when they should not be visible.
2020-03-01 00:04:46 +01:00
gambas
342096ae0a Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-29 20:23:20 +01:00
gambas
48e1929831 FileProperties: Adding a tab does not raise the Click event anymore.
[GB.FORM]
* BUG: FileProperties: Adding a tab does not raise the Click event anymore.
2020-02-29 20:22:50 +01:00
gambas
71d9c85887 String.PadLeft() and String.PadRight() are not inverted anymore when padding with one byte strings.
[GB.UTIL]
* BUG: String.PadLeft() and String.PadRight() are not inverted anymore when padding with one byte strings.
2020-02-29 20:16:56 +01:00
gambas
622c25101a Redraw some icons.
[GB.FORM.STOCK]
* NEW: Redraw some icons.
* NEW: Add a 128 pixels version of the colored 'directory' icon.
2020-02-29 20:07:12 +01:00
gambas
639ca4833c TextEditor: CTRL+F opens a simple text search field inside the editor.
[GB.FORM.EDITOR]
* NEW: TextEditor: CTRL+F opens a simple text search field inside the editor.
2020-02-29 20:06:27 +01:00
gambas
b865fa737f Reserve one pixel less between characters for bold text.
[GB.FORM.TERMINAL]
* BUG: Reserve one pixel less between characters for bold text.
2020-02-29 20:05:16 +01:00
gambas
a703c7f2ea Add String.PadLeft() and String.PadRight() methods.
[GB.UTIL]
* NEW: String.PadLeft() is a new method that pad a string to the left up to a specified length using a string pattern.
* NEW: String.PadRight() is a new method that pad a string to the right up to a specified length using a string pattern.
2020-02-29 19:39:40 +01:00
Christof Thalhofer
583a0c872d gb.test: Flowchart
[GB.TEST]
* NEW: Flowchart made by libre office draw and exported as svg

This is a first try to show the interplay between gbt3, gb.test and
gb.test.tap.
2020-02-29 13:15:55 +01:00
gambas
9e33023518 FileProperties: Add Click event and Index property so that tab changes can be handled.
[GB.FORM]
* NEW: FileProperties: Add() now returns the index of the added tab.
* NEW: FileProperties: Index is a new property that returns or sets the current tab index.
* NEW: FileProperties: Click is a new event that is raised when a tab is selected.
2020-02-28 18:38:16 +01:00
gambas
cc70ae4f83 Redraw many icons.
[GB.FORM.STOCK]
* NEW: Redraw many icons.
2020-02-28 18:37:31 +01:00
Tobias Boege
548d7da1cb gb.test: Remove ITest, ITestCase leftovers
[GB.TEST]
* OPT: Remove the inheritance hierarchy of ITest and ITestCase.

They are no longer needed to identify tests.
2020-02-27 20:58:27 +01:00
Tobias Boege
350d61cd85 gb.test: Restore BailOut on uncaught errors
[GB.TEST.TAP]
* NEW: Assert.SubtestLevel is a new property that returns the number of nested subtests.
* NEW: Assert.BailOut always unwinds the subtest stack and bails out of the entire TAP session.
* BUG: Tests can bail out even if Finished was called.

[GB.TEST]
* NEW: Bail out again if errors from test methods are caught.
* BUG: Don't call Finish on a subtest when it was already finished.

After the Bail out message, we Quit with non-zero exit status to signal
an abnormal termination to the harness.
2020-02-27 20:38:55 +01:00
Tobias Boege
c9c99c0050 gb.test: Use gb.test.tap
[GB.TEST]
* NEW: Use gb.test.

This removes the Assert and Track classes and uses gb.test.tap instead.
Test methods are now executed inside subtests, plan lines are auto-
matically emitted by the harness.

Differences between gb.tests's and gb.test.tap's Assert module:

  - Instead of Assert.True and Assert.False, use Assert.Ok.
  - Instead of Assert.Equals* for every type, there is a generic
    Assert.Equals for Variants and a specific Assert.StringEquals
    for strings which prints diagnostics when the test fails.
  - Assert.BailOut does not terminate the entire program, just
    the TAP stream.
  - Assert.ErrorWithCode is called Assert.ErrorCode.

All TAP printing is done through Assert now. Errors happening in the
test code are not caught and spoofed in the TAP stream anymore, they
cause a test failure. The system would be more robust if the testee
would be in a different process from the tester.
2020-02-27 20:38:55 +01:00
Tobias Boege
679cb64554 gb.test.tap: Add more diagnostics
[GB.TEST.TAP]
* NEW: Add more diagnostics when Assert methods fail.
2020-02-27 20:38:55 +01:00
Tobias Boege
6c82b48abc gb.test.tap: Add SkipAll and don't lose stderr
[GB.TEST.TAP]
* NEW: Support skipping all tests.
* BUG: DO intercept a test process' stderr but forward it verbatim to the TAP stream.
2020-02-27 20:38:55 +01:00
Tobias Boege
27cc0504ac gb.test.tap: Fix subtest summary
[GB.TEST.TAP]
* BUG: Correctly summarize subtest. In particular empty tests fail.
2020-02-27 20:38:55 +01:00
Tobias Boege
3fdfbe3b15 gb.test.tap: Allow Assert to be reset
[GB.TEST.TAP]
* NEW: Add Reset() method to Assert. Useful if you use the same (automatic) instance for multiple TAP streams.
* BUG: Fix state handling in TapPrinter.Finished.
2020-02-27 20:38:55 +01:00
Tobias Boege
73eafee853 gb.test.tap: Don't set ExitCode when reading from a Stream
[GB.TEST.TAP]
* BUG: TestHarness cannot set ExitCode when there is no Process involved.
2020-02-27 20:38:55 +01:00
Tobias Boege
13dd1d252b gb.test.tap: Fix output stream handling
[GB.TEST.TAP]
* NEW: Allow to set the output stream of Assert.
* BUG: Subtests inherit their parent's output stream.
2020-02-27 20:38:55 +01:00
Tobias Boege
65da83b374 gb.test.tap: Forgot Assert.BailOut
[GB.TEST.TAP]
* NEW: Add Assert.BailOut wrapper for the internal TapPrinter.
2020-02-27 20:38:55 +01:00
Tobias Boege
185bbf5745 gb.test.tap: TestStats class and don't capture stderr
[GB.TEST.TAP]
* NEW: Turn TestStats into a class.
* NEW: Store TestStats.Failures as an Integer[].
* BUG: Do NOT intercept test's stderr and convert it to diagnostics.
2020-02-27 20:38:55 +01:00
Tobias Boege
622bd35522 gb.test.tap: Support Stream input in TestHarness
[GB.TEST.TAP]
* NEW: Allow TestHarness to read from just a Stream. Unlike reading from a Process, this is eager instead of event-driven.
2020-02-27 20:38:55 +01:00
Tobias Boege
4d285e8ac5 gb.test.tap: Fix "Expected" diagnostic in StringEquals
[GB.TEST.TAP]
* BUG: Fix "Expected" diagnostic in StringEquals.
2020-02-27 20:38:55 +01:00
Tobias Boege
b583aeaeed gb.test.tap: Support multiline diagnostics
[GB.TEST.TAP]
* NEW: Support multiline diagnostics.
2020-02-27 20:38:55 +01:00
Tobias Boege
235169553c gb.test.tap: More Assert methods
[GB.TEST.TAP]
* NEW: More Assert methods for compatibility with gb.test.
2020-02-27 20:38:55 +01:00
Tobias Boege
787674f188 gb.test.tap: New component for reading and writing TAP
[GB.TEST.TAP]
* NEW: Add new component based on an old fork of gb.test.
2020-02-27 20:38:55 +01:00
gambas
0a63c13676 Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-25 03:19:34 +01:00
gambas
b8923a2b93 Update many icons.
[GB.FORM.STOCK]
* NEW: Update many icons.
2020-02-25 03:19:16 +01:00
Christof Thalhofer
3752088d37 gbt3: Fix cherrypicking
[GBT3]
* BUG: Fix selection of testmodule and testmethod
2020-02-24 14:08:40 +01:00
Christof Thalhofer
06b405f22d gb.test: BailOut if a testmodule is empty
[GB.TEST]
* NEW: BailOut if a testmodule is empty
2020-02-23 22:31:28 +01:00
Christof Thalhofer
f3413f1533 gb.test: example unittesthelloworld with test module 2020-02-23 12:52:57 +01:00
Christof Thalhofer
e4f06f6674 gb.test refactoring for use of test modules
[GB.TEST]
* NEW: Add support for test modules.
2020-02-23 12:38:53 +01:00
gambas
26b4327f52 DataView: Add SelectAll() and UnselectAll() methods.
[GB.DB.FORM]
* NEW: DataView: Add SelectAll() and UnselectAll() methods.
2020-02-21 02:52:31 +01:00
gambas
ba39f8ff72 TextEditor: Correctly handle the drawing of the difference before the first line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly handle the drawing of the difference before the first line.
* BUG: TextEditor: Correctly relayout differences when the Wrap property changes.
2020-02-20 16:28:47 +01:00
gambas
8a91545f11 CsvFile: Support for creating CSV files, not just reading them.
[GB.UTIL]
* NEW: CsvFile: Open() is a new method for opening a CSV file for reading.
* NEW: CsvFile: Create() is a new method for opening a CSV file for writing.
2020-02-19 03:00:45 +01:00
gambas
6793fbeadb Fix a typo in the icon map file.
[GB.FORM]
* BUG: Fix a typo in the icon map file.
2020-02-14 01:24:19 +01:00
gambas
4cbe937d04 Add 'view-tree' stock icon.
[GB.FORM]
* NEW: Add 'view-tree' stock icon.

[GB.FORM.STOCK]
* NEW: Add 'view-tree' stock icon.
* NEW: Redraw 'terminal' icon.
2020-02-14 00:46:54 +01:00
gambas
166231e89f Process: The answer to an expected prompt is correctly sent now.
[GB.UTIL]
* BUG: Process: The answer to an expected prompt is correctly sent now.
2020-02-12 17:28:57 +01:00
gambas
311d05d473 The Terminal class has been removed, and replace by an extension of the Process class.
[GB.UTIL]
* NEW: The Terminal class has been removed, and replace by an extension of the Process class. In other word the Expect() method is now directly a method of the Process class.
2020-02-12 02:26:10 +01:00
gambas
ee6b43ca21 Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-11 01:53:47 +01:00
gambas
37b29a2191 Terminal: A new class that allows to answer the prompts of interactive commands running in a virtual terminal easily (think about ssh, scp...).
[GB.UTIL]
* NEW: Terminal: A new class that allows to answer the prompts of interactive commands running in a virtual terminal easily (think about ssh, scp...).
2020-02-11 01:53:07 +01:00
gambas
bade7e53dd Converting a collection into JSON is a now a bit faster.
[GB.UTIL.WEB]
* OPT: Converting a collection into JSON is a now a bit faster.
2020-02-11 01:50:18 +01:00
gambas
fc463e5f18 FontChooser: Initializing the font tree is now a lot faster.
[GB.FORM]
* OPT: FontChooser: Initializing the font tree is now a lot faster.
2020-02-11 01:48:45 +01:00
Christof Thalhofer
2fbfa495fc gb.test: Minimal change to test gitlab notification 2020-02-10 13:58:51 +01:00
Christof Thalhofer
d9fff7c380 gb.test Assert.Error clears error 2020-02-10 11:18:29 +01:00
gambas
7475109afe Fix component metadata so that it is usable from the outside.
[GB.WEB.FORM2]
* BUG: Fix component metadata.
* BUG: Don't make test forms exported. They can conflict with other forms with the same name.
* NEW: The Window Close event can be cancelled.
2020-02-05 22:47:23 +01:00
Christof Thalhofer
313ef71b0f gb.test Assert.Note complains about Null value
[GB.TEST]
    * NEW: Assert.Note complains about Null value
2020-02-01 23:54:01 +01:00
Christof Thalhofer
466aec07bb gb.test Assert returns result as boolean
[GB.TEST]
    * NEW: Assertions return test results as boolean. This can be used
    to print out an Assert.Note on failure.
2020-01-28 15:58:13 +01:00
Christof Thalhofer
550c56b596 gb.test: Fix plan if just one testmethod called
[GB.TEST]
    * BUG: Fix plan that counted all testmethods in a container even if just one was called
2020-01-24 10:10:39 +01:00
gambas
0fa6323186 Add Toolbar properties and methods needed to implement global save/restore of toolbar layouts.
[GB.FORM.MDI]
* NEW: Toolbar: Settings is a new property that allows to return or set the toolbar layout as a string.
* NEW: Toolbar: GetLayout() is a new static method that returns the saved layout of a toolbar from its key.
* NEW: Toolbar: SetLayout() is a new static method that defines the saved layout of a toolbar from its key.
2020-01-24 08:25:06 +01:00
gambas
6798771a6e IconPanel: Scale the panel icons so that each panel title has the same height.
[GB.FORM]
* NEW: IconPanel: Scale the panel icons so that each panel title has the same height.
2020-01-24 08:23:44 +01:00
gambas
95ee02ef3f IconView: Do not use rounded rectangles anymore for selection frames.
[GB.GUI.BASE]
* NEW: IconView: Do not use rounded rectangles anymore for selection frames.
2020-01-24 08:22:33 +01:00
gambas
f1780045e8 Use the KDE SVG version of Tux that is a lot smaller.
[GB.FORM]
* OPT: Use the KDE SVG version of Tux that is a lot smaller.
2020-01-24 08:13:05 +01:00
gambas
ccf1491037 Fix Drag() that was returning the drag frame instead of the target control.
[GB.GTK]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.GTK3]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.GUI.BASE]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.QT4]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.QT5]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.
2020-01-24 08:12:01 +01:00
Christof Thalhofer
bae7204720 gb.test: Track errors with Error.Code 0 2020-01-22 09:13:41 +01:00
GianluigiOr
269a87ade6 Contains new Italian translations and a new author
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE Italian translations are now complete.

[GB.WEB.FORM2]
* NEW: The Italian translation.

[AUTHORS]
* NEW: Added a new italian translator
2020-01-21 14:27:36 +01:00
gambas
44256b0c65 TextEditor: Add support for integrated diff mode.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add support for integrated diff mode.
2020-01-20 13:01:05 +01:00
gambas
436039635b IconView: Fix grid height computation.
[GB.GUI.BASE]
* BUG: IconView: Fix grid height computation.
2020-01-20 12:58:58 +01:00
gambas
2deeab7410 Fix how Picture[] interprets relative paths.
[GB.GUI.BASE]
* BUG: Fix how Picture[] interprets relative paths.
2020-01-14 14:19:41 +01:00
gambas
0e46715855 TabPanel: TabBarSize is a new property that returns the height of the tab bar.
[GB.FORM]
* NEW: TabPanel: TabBarSize is a new property that returns the height of the tab bar.
* NEW: TabPanel: The "close all" button is now drawn after the right padding.
* NEW: ButtonBox: Custom buttons added with _AddButton() are now always between the clear button, and the standard button.
2020-01-09 18:33:36 +01:00
gambas
6d859430e3 Update 'sort-ascent' and 'sort-descent' icons.
[GB.FORM.STOCK]
* NEW: Update 'sort-ascent' and 'sort-descent' icons.
2020-01-09 18:32:56 +01:00
gambas
bf72ff3e68 Add WebTable control.
[GB.WEB.FORM2]
* NEW: Add WebTable control.
* BUG: Fix WebTable column headers layout when sorting is enabled.
* NEW: Use big icons for sorted WebTable columns headers.
2020-01-08 14:02:30 +01:00
gambas
9aee4a0d04 Workspace: Add a TabPanel property that returns the inner workspace tab panel.
[GB.FORM.MDI]
* NEW: Workspace: Add a TabPanel property that returns the inner workspace tab panel.
2020-01-08 14:01:21 +01:00
gambas
980aff24d4 TabPanel: Fix tab bar layout routine.
[GB.FORM]
* BUG: TabPanel: Fix tab bar layout routine.
2020-01-08 13:57:26 +01:00
gambas
9512d2bf26 Class.Stat() now understands the ".../" syntax to look for classes in the current project.
[GB.UTIL]
* NEW: Class.Stat() now understands the ".../" syntax to look for classes in the current project.
2020-01-08 13:55:37 +01:00
gambas
efa1771b4f TextEditor: Highlight the entire current line when it is wrapped.
[GB.FORM.EDITOR]
* NEW: TextEditor: Highlight the entire current line when it is wrapped.
2020-01-07 20:29:56 +01:00
gambas
f7e9724126 Workspace: Add TabBarPaddingStart and TabBarPaddingEnd properties.
[GB.FORM.MDI]
* NEW: Workspace: Add TabBarPaddingStart and TabBarPaddingEnd properties. They allow to define space on the left and the right of the tab bar, so that you can put some widgets on top.
2020-01-07 20:29:00 +01:00
gambas
6586d508ec TabPanel: Add TabBarPaddingStart and TabBarPaddingEnd properties.
[GB.FORM]
* NEW: TabPanel: Add TabBarPaddingStart and TabBarPaddingEnd properties. They allow to define space on the left and the right of the tab bar, so that you can put some widgets on top.
* BUG: ButtonBox: Settings the Filter property to FALSE correctly destroy the internal associated button, and prevent the control to crash if you set the property again.
2020-01-07 20:26:15 +01:00
gambas
813e16fe76 Development in progress...
[GB.WEB.FORM2]
* BUG: Fix refresh of WebForm and WebTimer.
* BUG: Restart timeout timer correctly when a request has been processed.
* NEW: Add WebProgressBar control.
* NEW: If unity is not specified in WebForm.Move() coordinates, use 'px'.
2020-01-06 23:07:04 +01:00
gambas
23db6f9507 Merge branch 'master' of gitlab.com:gambas/gambas 2020-01-04 22:21:22 +01:00
gambas
053579dbc8 Development in progress...
[GB.WEB.FORM2]
* NEW: Add WebDateBox and WebDateChooser controls.
* NEW: Using embedded HTTP server is possible now.
* NEW: Add WebComboBox control.
* NEW: WebControl objects become invalid if they are deleted.
* NEW: WebForm.ShowModal() and WebForm.ShowPopup() work, and they are really modal.
* NEW: Modal forms can be persistent.
* NEW: Add WebForm Width and Height properties.
* NEW: Add WebScrollView control.
* NEW: Add WebSeparator control.
* NEW: Add WebSpinBox control.
* NEW: Add WebTextArea control.
2020-01-04 22:20:53 +01:00
Christof Thalhofer
386f76e9fe gb.test UnitTest now scans .../.gambas for testclasses 2020-01-04 14:48:51 +01:00
Benoît Minisini
2cc1c26b04 Merge branch 'master' into 'master'
gb.test: Always report Track.Plan <> Track.Counter

See merge request gambas/gambas!122
2020-01-04 09:31:59 +00:00
gambas
ce9e936e32 Add WebTabPanel control, WebImage Aligment and Mode properties.
[GB.WEB.FORM2]
* NEW: Add vertical alignment constants, and alignment test methods.
* BUG: Fix container arrangement properties.
* NEW: WebImage: Add Alignment property.
* NEW: WebImage: Add Mode property, that defines how the image is stretched inside the control.
* NEW: Add WebTabPanel container.
* NEW: Remove round borders from default style sheet.
2020-01-04 03:20:16 +01:00
gambas
e1ac5eb6d9 Add 'gb.web.form2' to the list of components written in Gambas.
[CONFIGURATION]
* NEW: Add 'gb.web.form2' to the list of components written in Gambas.
2020-01-04 01:59:10 +01:00
gambas
13245b40a0 New web form component that allows to make web applications like 'gb.web.form', but faster and more like desktop applications.
[GB.WEB.FORM2]
* NEW: New web form component that allows to make web applications like 'gb.web.form', but faster and more like desktop applications.
2020-01-04 01:51:37 +01:00
gambas
08c8402714 Allows requests and responses to be processed several times in the same process.
[GB.WEB]
* NEW: CGI.Reset() is a new method that resets CGI variables to their initial values.
* NEW: Request.Reset() is a new method that reads the request contents again.
* BUG: Use System.Language if the 'Accept-Language' HTTP header is void.
* NEW: Response.Begin() now takes the content-type as optional argument.
* NEW: Response.Reset() allows to send the response again.
* NEW: Compress text responses if its size is greater than 512 bytes, not 128.
2020-01-04 01:50:06 +01:00
gambas
ed25f184f0 Default message icons are now visible when 'gb.form' component is not used.
[GB.GUI.BASE]
* BUG: Default message icons are now visible when 'gb.form' component is not used.
2020-01-02 13:07:44 +01:00
Christof Thalhofer
c0fcfe0e5b gb.test: Always report Track.Plan <> Track.Counter
[GB.TEST]
*FIX: Always report Track.Plan <> Track.Counter even if no success
2019-12-31 01:51:24 +01:00
Christof Thalhofer
f9495607cf gb.test: Refactoring and improvements
[GB.TEST]
* NEW: Assert some reworking, skip, todo and body removed
* NEW: in a testcontainer in _new the count of tests can be defined by Me.Plan and differences between assertions counted and planned lead to No success
* NEW: Unittest.Bailout
2019-12-30 22:10:37 +01:00
gambas
1afcd229f8 Allow special commands to be inserted anywhere in the line, except the '@{index}' one.
[GB.MARKDOWN]
* NEW: Allow special commands to be inserted anywhere in the line, except the '@{index}' one.
2019-12-30 19:46:06 +01:00
gambas
65ccb4094c Fix session abandon.
[GB.WEB]
* BUG: Fix session abandon.
2019-12-30 19:45:16 +01:00
gambas
5e907c649b Change the order of compilation of components made in Gambas, so that 'gb.scanner' is compiled after 'gb.form.print', as the project uses it.
[CONFIGURATION]
* NEW: Change the order of compilation of components made in Gambas, so that 'gb.scanner' is compiled after 'gb.form.print', as the project uses it.
2019-12-07 12:16:59 +01:00
Benoît Minisini
cd55a805c9 Merge branch 'italian-translations' into 'master'
Contains new Italian translations

See merge request gambas/gambas!119
2019-12-07 11:12:03 +00:00
gambix
365d3e0371 Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-07 09:31:57 +01:00
gambix
e38d83d418 Renamme all 'Finished' events to 'End' (ex: PageFinished to PageEnd)
[GB.SCANNER]
* New: Renamme all 'Finished' events to 'End' (ex: PageFinished to PageEnd)
* BUG: Now the ScannerOption Class is exported
2019-12-07 09:30:34 +01:00
gambas
038d9d632a Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-06 21:23:04 +01:00
gambas
60e3e79500 Make SmtpClient able to send multiple mails correctly.
[GB.NET.SMTP]
* BUG: Make SmtpClient able to send multiple mails correctly.
* NEW: Clear() is a new method that clears all attachments.
2019-12-06 21:22:28 +01:00
gambix
1d550d2d87 Support for multiple scan from the feeder./PageBegin and PageFinished event to manage actions between each page.
[GB.SCANNER]
* NEW: Support for multiple scan from the feeder.
* NEW: PageBegin and PageFinished event to manage actions between each page.
* NEW: Better error management with an Error event
* NEW: An example in the source that use the gb.scanner abilities.
2019-12-06 21:11:36 +01:00
gambas
27a0499b48 Markdown commands now can be anywhere in the text, except '@{index}' that still must be alone on its line.
[GB.MARKDOWN]
* NEW: Markdown commands now can be anywhere in the text, except '@{index}' that still must be alone on its line.
2019-12-06 00:32:16 +01:00
gambas
0f24434285 Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-06 00:31:29 +01:00
gambas
7d86079f34 Fix window buttons and make table headers sticky.
[GB.WEB.FORM]
* NEW: Document the component.
* BUG: Fix window buttons.
* NEW: Make table headers sticky.
2019-12-06 00:29:25 +01:00
gambas
ece3da3909 * Add default margin properties to the Printer class.
[GB.FORM.PRINT]
* NEW: Add default margin properties to the Printer class (MarginTop, MarginBottom, MarginLeft and MarginRight).
2019-12-06 00:27:35 +01:00
GianluigiOr
bfe9ac2cf4 Contains new Italian translations
[GAMBAS-WIKI]
* NEW: The Italian translations are now complete.

[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE Italian translations are now complete.

[GB.WIKI]
* NEW: The complete Italian translations.

[GB.TEST]
* NEW: The Italian translation.
2019-12-03 16:31:13 +01:00
gambix
328e86d67e Fixed bugs again on the scanimage parser to take into account various configurations.
[GB.SCANNER]
* BUG: Fixed bugs again on the scanimage parser to take into account various configurations.
2019-12-01 18:53:08 +01:00
gambix
19b6d4845d Fixed bug on the scanimage parser to take into account various configurations.
[GB.SCANNER]
* BUG: Fixed bug on the scanimage parser to take into account various configurations.
2019-12-01 18:35:19 +01:00
gambas
77af836895 Fix management of dynamically created popups.
[GB.WEB.FORM]
* BUG: Fix management of dynamically created popups.
2019-11-26 00:10:36 +01:00
gambas
5bd12ffeae JSONCollection.Copy() now correctly returns a JSONCollection object.
[GB.UTIL.WEB]
* BUG: JSONCollection.Copy() now correctly returns a JSONCollection object.
2019-11-24 22:09:25 +01:00
gambas
0c9461d974 Correctly deal with '&' in bookmark names and MenuButton shortcuts.
[GB.FORM]
* BUG: MenuButton: Correctly deal with '&' shortcut character.
* BUG: FileChooser: Correctly deal with '&' in bookmark names.
2019-11-21 18:37:48 +01:00
gambas
9e07819719 Fix quoted-printable encoding of headers and mime part boundaries.
[GB.NET.SMTP]
* BUG: Fix quoted-printable encoding of headers containing e-mail addresses.
* BUG: Add '_=' sequence in mime part boundaries, as this sequence should not be present in encoded data.
2019-11-19 22:31:48 +01:00
gambas
3bbb4c4b8d Use the VERSION file for component version.
[GB.TEST]
* NEW: Use the VERSION file for component version.
2019-11-16 00:00:33 +01:00
gambas
410d8e8b5b Document the component with help comments.
[GB.FORM.TERMINAL]
* NEW: Document the component with help comments.
2019-11-15 23:59:32 +01:00
gambas
575bdb30d7 Add 'gb.test' to the 'comp/src/order' component list file.
[CONFIGURATION]
* Add 'gb.test' to the 'comp/src/order' component list file.
2019-11-15 23:51:53 +01:00
Christof Thalhofer
6beaefbe1c new component gb.test
[GB.TEST]
* NEW: component for unittesting
2019-11-15 21:33:54 +00:00
gambas
20443dad24 Message: The ENTER key now selects the button having the focus, not the default one, so that message boxes behave the same with GTK+ and Qt.
[GB.GUI.BASE]
* NEW: Message: The ENTER key now selects the button having the focus, not the default one, so that message boxes behave the same with GTK+ and Qt.
2019-11-10 23:29:42 +01:00
gambas
f60243ef96 Some fixes in Drag & drop frame management.
[DEVELOPMENT ENVIRONMENT]
* NEW: Draw the frame of control dropped from the toolbox bigger.
* BUG: The frame of control dropped from the toolbox should correctly disappear in all cases.

[GB.GUI.BASE]
* BUG: The DragLeave event is now emitted reliably when the mouse leaves the drag and drop frame.
2019-10-28 20:49:08 +01:00
gambas
bebcc2f36d Prevent possible flickering of drag & drop frame.
[GB.GUI.BASE]
* BUG: Prevent possible flickering of drag & drop frame.
2019-10-28 19:09:54 +01:00
gambas
44cf32eb9f Fix drag & drop frame management.
[GB.GUI.BASE]
* BUG: Fix drag & drop frame management.
2019-10-26 18:25:22 +02:00
gambas
9aca5f2379 Update project configuration files. 2019-10-26 01:17:02 +02:00
gambas
54742ab8b4 Redraw the 'menu' and 'new-dir' icon.
[GB.FORM.STOCK]
* NEW: Redraw the 'menu' and 'new-dir' icon.
2019-10-26 01:15:47 +02:00
gambas
7adf2f0f29 Fix mouse wheel zoom and paper size refresh.
[GB.FORM.PRINT]
* BUG: The paper size is correctly refreshed when the orientation is changed.
* BUG: You can continue to freely zoom with the mouse wheel when current zoom is at 100%.
2019-10-26 01:13:41 +02:00
gambas
230a42956c DocumentView: Some little design changes.
[GB.FORM]
* NEW: DocumentView: Some little design changes.
2019-10-26 01:12:27 +02:00
gambas
4a6031e49f Message boxes now correctly handle multi-line text in buttons.
[GB.GUI.BASE]
* BUG: Message boxes now correctly handle multi-line text in buttons.
2019-10-21 09:37:04 +02:00
gambas
a75610924a Bookmarks is a new static class that allows to define global bookmarks for all FileChooser and DirChooser controls.
[GB.FORM]
* NEW: Bookmarks is a new static class that allows to define global bookmarks for all FileChooser and DirChooser controls.
* NEW: Add separators between the different kind of bookmarks in the bookmark menu.
2019-09-12 03:37:07 +02:00
GianluigiOr
6a0540a700 Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now fix and complete.

[GB.UTIL]
* NEW: The translation is now complete.
2019-08-27 18:01:24 +02:00
gambas
1cc44adf79 Update component version.
[GB.NET.SMTP]
* NEW: Update component version.

[GB.SETTINGS]
* NEW: Update component version.
2019-08-27 13:00:03 +02:00
gambas
cf5be5b63d Some minus signs reformatting.
[GB.REPORT2]
* NEW: Some minus signs reformatting.
2019-08-27 12:57:25 +02:00
gambas
7ad9db74c4 TextEditor: Draw multi-line markers darker.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw multi-line markers darker.
2019-08-27 12:55:07 +02:00
gambas
d194837339 Update French translation.
[GB.UTIL]
* NEW: Update French translation.
2019-08-26 00:27:29 +02:00
gambas
445784e820 Take the window menu bar into account when drawing drag and drop frame.
[GB.GUI.BASE]
* BUG: Take the window menu bar into account when drawing drag and drop frame.
2019-08-22 03:19:40 +02:00
gambas
791ca46db6 WebForm: Forms embedded into other forms work correctly now.
[GB.WEB.FORM]
* BUG: WebForm: Forms embedded into other forms work correctly now.
* BUG: WebForm: An error is raised now when trying to show an embedded form.
* BUG: WebForm: Fix message box icons pre-loading.
2019-08-21 21:18:34 +02:00
gambas
57d9196c90 The defaut country of language collection has been replaced by a string, faster to initialize.
[GB.WEB]
* OPT: The defaut country of language collection has been replaced by a string, faster to initialize.
2019-08-03 00:25:57 +02:00
gambas
c8d94ef9b1 Request: Fix Language property and add ContentType and ContentLength properties.
[GB.WEB]
* NEW: Request.ContentType is a new property that returns the Content-Type HTTP header.
* NEW: Request.ContentLength is a new property that returns the Content-Length HTTP header, or -1 if the header is not present.
* BUG: Request.Language now uses an internal dictionary to convert the Accept-Language HTTP header to a correct system language.
* BUG: Request.Language now takes the priority of languages specified in the Accept-Language HTTP header into account.
* BUG: If the request exceeds the maximum size defined by Request.MaxFileSize, a "Request too big" error is raised instead of "Response too big".
2019-08-02 02:36:16 +02:00
gambas
11bd8ccac9 GridView: Rich-text in centered cells with no text wrapping is correctly drawn now.
[GB.GUI.BASE]
* BUG: GridView: Rich-text in centered cells with no text wrapping is correctly drawn now.
2019-08-01 01:12:25 +02:00
gambas
43fa62e0d1 [GB.DESKTOP]
* NEW: Desktop.Types is a new property that returns a read-only array of each desktop defined in Desktop.Type.
* NEW: Desktop.Passwords: Work correctly now when multiple desktops are included in the Desktop.Type property.
* OPT: DesktopFiles: Remove some useless array copies.
2019-07-31 00:23:49 +02:00
gambas
27f89780f9 IconView: Draw selected icons with a rectangular frame.
[GB.GUI.BASE]
* NEW: IconView: Draw selected icons with a rectangular frame.
2019-07-24 21:19:56 +02:00
gambas
a3b06b8aad Merge branch 'master' of gitlab.com:gambas/gambas 2019-07-24 20:04:32 +02:00
gambas
eba52aee12 CSS highlighter: Support for CSS escaped characters.
[GB.EVAL.HIGHLIGHT]
* BUG: CSS highlighter: Support for CSS escaped characters.
2019-07-24 20:03:18 +02:00
Benoît Minisini
6c79771631 Merge branch 'master' into 'master'
update Russian translation

See merge request gambas/gambas!106
2019-07-16 20:19:05 +00:00
Benoît Minisini
8e54671d1b Merge branch 'italian-translations' into 'master'
Contains new Italian translations

See merge request gambas/gambas!105
2019-07-16 20:18:32 +00:00
glixx
3af4212149 update Russian translation 2019-07-16 09:07:34 +03:00
gambas
f1a86eb687 Merge branch 'master' of gitlab.com:gambas/gambas 2019-07-16 00:30:41 +02:00
gambas
6902893ddb DataSource: IgnoreParent is a new parent that tells the DataSource not to filter its contents with any parent DataSource.
[GB.DB.FORM]
* NEW: DataSource: IgnoreParent is a new parent that tells the DataSource not to filter its contents with any parent DataSource.
2019-07-16 00:29:14 +02:00
gambas
eb5172f4e5 FileView: Add information about each file next to the icon in icon view mode.
[GB.FORM]
* NEW: FileView: Add information about each file next to the icon in icon view mode.
* BUG: DocumentView: Remove erroneous public constant written in French.
2019-07-15 23:47:00 +02:00
Tobias Boege
77fdca9282 DataComboView: Add parameter to signature of Event Validate
[GB.DB.FORM]
* BUG: DataComboView: Add parameter to signature of Event Validate
2019-07-15 18:03:31 +02:00
GianluigiOr
72cb22f00b Contains new Italian translations
[GB.FORM.PRINT]
* NEW: The complete translation.
2019-07-13 16:05:55 +02:00
gambas
f82a67a4f3 TextEditor: Draw wrapped lines with a normal background, but with a gray hook to its right.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw wrapped lines with a normal background, but with a gray hook to its right.
* BUG: TextEditor: Now we can set up to 32 style colors without crashing.
2019-07-12 00:40:13 +02:00
gambas
99a72c01b6 TabPanel: Use the TabPanel foreground color to draw the titles of the tabs.
[GB.FORM]
* NEW: Spinner: Use the foreground color to draw the spinner and its label.
* NEW: TabPanel: Use the TabPanel foreground color to draw the titles of the tabs.
2019-07-12 00:16:29 +02:00
gambas
d186bf852a Add a Scroll event to TreeView, ColumnView and ListView.
[GB.GUI.BASE]
* BUG: GridView: Border padding is now applied inside the cell, not outside like the margin.
* NEW: TreeView: A Scroll event is raised now then the TreeView, the ListView or the ColumnView scrolls.
* BUG: TreeView: Setting the item Font property to NULL does not crash anymore.
2019-07-12 00:10:45 +02:00
gambas
0c0b2b64fa DesktopMime: Correctly identify executables as "application/x-executable".
[GB.DESKTOP]
* BUG: DesktopMime: Correctly identify executables as "application/x-executable".
2019-07-10 22:38:47 +02:00
gambas
9dfcfccb6a Don't depend on 'gb.form', it breaks the compilation!
[GB.GUI.BASE]
* BUG: Don't depend on 'gb.form', it breaks the compilation!
2019-07-10 13:23:56 +02:00
gambas
52950c37ee Enhance and fix the interface of the preview dialog.
[GB.FORM.PRINT]
* NEW: Enhance and fix the interface of the preview dialog.
2019-07-10 04:27:06 +02:00
gambas
0310b58414 TextEditor: TextEditor[].Paint() is a new method that paint the contents of a line, without the margin.
[GB.FORM.EDITOR]
* NEW: TextEditor: TextEditor[].Paint() is a new method that paint the contents of a line, without the margin.
2019-07-10 04:25:18 +02:00
gambas
b0801ec749 DocumentView: Correctly reset the scroll position when setting Arrangement to Arrange.Fill.
[GB.FORM]
* BUG: DocumentView: Correctly reset the scroll position when setting Arrangement to Arrange.Fill.
* OPT: DocumentView: Desaturate is faster now as it is done only once per page drawing.
2019-07-10 04:23:10 +02:00
gambas
be96ff02bc 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.
[GB.FORM.PRINT]
* NEW: 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.
2019-07-09 19:48:41 +02:00
gambas
f44b12f14b DocumentView: Fix some bugs and add ShowPage and Desaturate properties.
[GB.FORM]
* NEW: DocumentView: The default background color is now a mix of the default text foreground and background colors.
* BUG: DocumentView: Use Paint.Begin() instead of Draw.Begin(), so that preview uses anti-aliasing.
* BUG: DocumentView: Fix some cases of page drawing not correctly triggered.
* NEW: DocumentView: ShowPage is new property that displays the current page and the number of pages inside the preview.
* NEW: DocumentView: Desaturate is a new property that desaturates the preview. It's slow when the zoom is huge.
* NEW: DocumentView: Allow zoom up to 800%.
2019-07-09 19:43:15 +02:00
gambas
63b503ca24 Make the TreeView arrows a little bit thinner and darker
[GB.GUI.BASE]
* NEW: Make the TreeView arrows a little bit thinner and darker.
2019-07-09 19:41:10 +02:00
gambas
8479b7f608 Message: Workaround a text layout bug when computing the size of the message box.
[GB.GUI.BASE]
* BUG: Message: Workaround a text layout bug when computing the size of the message box.
2019-07-05 00:15:19 +02:00
Benoît Minisini
820c8cf9bb Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!104
2019-07-03 20:06:51 +00:00
gambas
d58e3c15dd Add 128 pixels versions of stock icons used by mimetypes.
[GB.FORM.STOCK]
* NEW: Add 128 pixels versions of stock icons used by mimetypes.
2019-07-03 21:39:55 +02:00
GianluigiOr
a9bd2fe844 Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now fix and complete.

[GB.FORM.TERMINAL]
* NEW: The complete translation.

[GB.TERM.FORM]
* NEW: The translation is now complete.

[GB.UTIL]
* New: The translation is now fix
2019-07-03 19:20:38 +02:00
gambas
a0fd6a99b7 TerminalView: Update colors so that they are readable both on a light and a dark background.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Update colors so that they are readable both on a light and a dark background.
2019-07-03 19:18:02 +02:00
gambas
03d704c092 New stock icon named 'call'.
[GB.FORM]
* NEW: New stock icon named 'call'.

[GB.FORM.STOCK]
* NEW: Add 'call' stock icon and redraw 'archive' icon.
2019-07-03 19:16:32 +02:00
gambas
6ef1ef4a6e ShowLines is a new property that makes the tree views draw tree lines.
[GB.GUI.BASE]
* NEW: Paint.Arrow() is a new method that draws an arrow.
* NEW: TreeView & ColumnView: ShowLines is a new property that makes the control draw tree lines.
* NEW: TreeView & ColumnView: The arrow size now follows the font size.
2019-07-03 11:49:32 +02:00
gambas
68e085bb10 Don't crash when seeking if no media is played and emit standard control events from the inner DrawingArea.
[GB.MEDIA.FORM]
* BUG: Don't crash when seeking if no media is played.
* NEW: Emit standard control events from the inner DrawingArea.
2019-06-30 20:32:01 +02:00
gambas
2e2c1c3b51 Try to enhance language detection in Request.Language property.
[GB.WEB]
* NEW: Try to enhance language detection in Request.Language property.
2019-06-29 16:19:12 +02:00
gambas
8294c6a81a New 'new-tab' stock icon and redraw a few icons.
[GB.FORM]
* NEW: New 'new-tab' stock icon.

[GB.FORM.STOCK]
* NEW: New 'new-tab' stock icon.
* NEW: Redraw a few icons.
2019-06-29 16:15:49 +02:00
gambas
01a3106d20 New Highlight.Alternate style, and make the matching braces blink with the cursor.
[GB.EVAL]
* NEW: Highlight.Alternate is a new constant that represents the background style used for coloring code embedded into webpages.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for new Highlight.Alternate style.

[GB.FORM.EDITOR]
* NEW: Support for new Highlight.Alternate style.
* NEW: Matching braces now blink with the cursor.
* BUG: When the cursor moves, the blinking timer is reset so that the cursor blinks only when it is not moving.
2019-06-29 16:11:51 +02:00
gambas
932fbb19f1 TextEditor: Undo now groups successive single character insertions, and successive single character deletions as well.
[GB.FORM.EDITOR]
* NEW: TextEditor: Don't enclose selection with quotes anymore, it is more annoying than anything else.
* NEW: TextEditor: Undo now groups successive single character insertions, and successive single character deletions as well.
2019-06-26 00:26:11 +02:00
gambas
860260802d Fix translation strings in some components.
[GB.FORM.EDITOR]
* BUG: Translate popup menu.

[GB.NET.CURL]
* BUG: DownloadManager: Remove useless Message event.
* NEW: DownloadManager: Add a Connect event raised when the distant server is connected.

[GB.WEB]
* BUG: CGI error message is not translatable.

[GB.XML]
* BUG: Error messages must not be translatable.
2019-06-22 07:45:29 +02:00
gambas
0179eb5936 Enhance language detection done by the Request.Language property.
[GB.WEB]
* NEW: Enhance language detection done by the Request.Language property.
2019-06-21 20:00:58 +02:00
gambas
64a13bfab4 MenuButton: Fix possible crashes with focus management.
[GB.FORM]
* BUG: MenuButton: Fix possible crashes with focus management.
2019-06-21 19:56:48 +02:00
gambas
4f027d250f Fix drag & drop on drop targets that are children of another drop target.
[GB.GUI.BASE]
* BUG: Fix drag & drop on drop targets that are children of another drop target.
2019-06-19 13:09:06 +02:00
gambas
59431f13cf TabPanel: Fix drawing of tab header contents.
[GB.FORM]
* BUG: TabPanel: Fix drawing of tab header contents.
* NEW: TabPanel: Draw tab focus like hovered buttons.
* NEW: ListEditor: Use the 'remove' icon instead of the 'delete' one.
2019-06-14 01:23:43 +02:00
gambas
d9858d07af Compute prefered column width correctly and fix top-level menus initialization routine.
[GB.GUI.BASE]
* BUG: Top-level menus initialization routine takes invalid menus into account now.
* BUG: GridView: Compute prefered column width correctly.
2019-06-14 00:55:22 +02:00
gambas
a1d9ffc57d Message: Temporarily restore the default mouse cursor when displaying a message box.
[GB.GUI.BASE]
* BUG: Message: Temporarily restore the default mouse cursor when displaying a message box.
2019-06-06 01:59:22 +02:00
gambas
dd121d669f Replace the message box native implementation by a Gambas implementation.
[GB.FORM.STOCK]
* NEW: Add a 128 pixel version of the 'delete' stock icon.

[GB.GTK]
* NEW: Message: Remove the message box native implementation.

[GB.GTK3]
* NEW: Message: Remove the message box native implementation.

[GB.GUI.BASE]
* NEW: Message: Implement the message boxes entirely in Gambas.

[GB.QT4]
* NEW: Message: Remove the message box native implementation.

[GB.QT5]
* NEW: Message: Remove the message box native implementation.
2019-06-05 03:08:22 +02:00
gambas
3b2d832fd5 IconPanel: Fix cursor keys management, so that hidden tabs cannot be selected by keyboard.
[GB.FORM]
* BUG: IconPanel: Fix cursor keys management, so that hidden tabs cannot be selected by keyboard.
2019-06-04 20:57:10 +02:00
gambas
f1ac2f553b Implement Drag.Show() in Gambas, and consequently fix it in 'gb.gtk3'.
[GB.GTK]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.

[GB.GTK3]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.
* BUG: Finishing a drag & drop now correclty releases the button grab.

[GB.GUI.BASE]
* NEW: GridView: The padding of column headers is at least half of Desktop.Scale.
* NEW: ScrollArea: The Scroll() method returns TRUE now if no scrolling actually occured.
* BUG: TreeView: Item X property now correctly takes the TreeView padding into account.
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.

[GB.QT4]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.

[GB.QT5]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.
2019-06-01 04:52:25 +02:00
-
6706900ddf comp: gb.report: add more space for text 2019-05-30 09:49:10 +03:00
glixx
5024b3d6f5 update Russian translation 2019-05-28 09:06:07 +03:00
gambas
760d1be356 MenuButton: Focus should not be stolen anymore when clicking on a menu-only MenuButton.
[GB.FORM]
* NEW: MenuButton: Focus should not be stolen anymore when clicking on a menu-only MenuButton.
2019-05-27 18:49:53 +02:00
gambas
0ab84aa34a Disable top-level menus shortcuts when the window menu bar is hidden.
[GB.FORM]
* BUG: MenuButton: Use selected background color when the MenuOnly property is set and the MenuButton has the focus.

[GB.GTK]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.GTK3]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.GUI.BASE]
* NEW: Add helper function for disabling/enabling top-level menu shortcuts.

[GB.QT4]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.QT5]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.
2019-05-25 22:25:13 +02:00
Benoît Minisini
cd23bae03f Merge branch 'master' into 'master'
Russian translation and examples fixes

See merge request gambas/gambas!96
2019-05-24 01:04:57 +00:00
Benoît Minisini
19932f409a Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!95
2019-05-24 00:15:10 +00:00
W. Raets
615c5e89ed Updated all Dutch translations and dutch translator e-mail address
[DEVELOPMENT ENVIRONMENT]
* NEW: Updated Dutch translations

[WIKI CGI SCRIPT]
* NEW: Updated Dutch translations

[WEB SITE MAKER]
* NEW: Updated Dutch translations

[GB.ARGS]
* NEW: Updated Dutch translations

[GB.DB.FORM]
* NEW: Updated Dutch translations

[GB.FORM]
* NEW: Updated Dutch translations

[GB.FORM.DIALOG]
* NEW: Updated Dutch translations

[GB.FORM.MIDI]
* NEW: Updated Dutch translations

[GB.NET.POP3]
* NEW: Updated Dutch translations

[GB.REPORT]
* NEW: Updated Dutch translations

[GB.REPORT2]
* NEW: Updated Dutch translations

[GB.TERM.FORM]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FEED]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FORM]
* NEW: Updated Dutch translator e-mail
2019-05-24 00:14:36 +00:00
glixx
2d2bb373c2 Update Russian translation 2019-05-23 07:15:00 +03:00
GianluigiOr
94c00feb6c Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete.

[GB.TERM.FORM]
* NEW: The complete new translation.
2019-05-21 16:04:57 +02:00
gambas
0732689800 About dialog: Wrap license text so that it is not truncated.
[DEVELOPMENT ENVIRONMENT]
* BUG: About dialog: Wrap license text so that it is not truncated.

[GB.GUI.BASE]
* BUG: Paint.DrawRichTextShadow() default radius is now the same as Paint.DrawTextShadow().
2019-05-18 19:26:11 +02:00
gambas
6f63a70ef3 GridView: GridView.Rows[].TextAlign is a new property that allows to define the alignment of the row header text.
[GB.GUI.BASE]
* NEW: GridView: GridView.Rows[].TextAlign is a new property that allows to define the alignment of the row header text.
2019-05-18 17:45:14 +02:00
gambas
0064a9a253 Fix '.project' and '.component' files that incorrectly had conflict marks in it.
[GB.NET.POP3]
* BUG: Fix '.project' and '.component' files that incorrectly had conflict marks in it.
2019-05-18 17:43:40 +02:00
gambas
1f018b8404 Reallt remove every 'nl.mo' files still present in the repository. 2019-05-18 17:36:30 +02:00
gambas
85fb0743e2 Revert "Remove every 'nl.mo' files still present in the repository."
This reverts commit a142c76b28.
2019-05-18 17:32:25 +02:00
gambas
a142c76b28 Remove every 'nl.mo' files still present in the repository. 2019-05-18 17:29:34 +02:00
gambas
bbda6921af Request: Posted field request using 'multipart/form-data' and having initial void lines were incorrectly trimmed.
[GB.WEB]
* BUG: Request: Posted field request using 'multipart/form-data' and having initial void lines were incorrectly trimmed. Posted files were not affected.
2019-05-16 23:39:00 +02:00
gambas
b15564086f Remove useless void translation files.
[GB.TERM.FORM]
* BUG: Remove useless void translation files.
2019-05-14 08:13:32 +02:00
Benoît Minisini
b073a75363 Merge branch 'master' into 'master'
Some fixes

See merge request gambas/gambas!92
2019-05-14 05:38:12 +00:00
gambas
f65bd6ebfc SpinBox: Hitting the ENTER or RETURN key triggers the Change event if needed.
[GB.GUI.BASE]
* NEW: SpinBox: Hitting the ENTER or RETURN key triggers the Change event if needed.
2019-05-13 21:16:08 +02:00
gambas
fefea3a647 Little changes in MenuBox, Expander and SliderBox.
[GB.FORM]
* NEW: MenuButton: Handle right-to-left written language correctly.
* NEW: Expander: Redesign the Expander title.
* NEW: SliderBox: Hitting the ESC key in the SpinBox resets the SliderBox to its default value.
2019-05-13 21:12:56 +02:00
glixx
8e0bf99ce1 fix typos 2019-05-13 04:54:50 +03:00
gambas
7ffe5ff169 Date.IsWeekEnd() is a new method that returns if a date is a week end.
[GB.UTIL]
* NEW: Date.IsWeekEnd() is a new method that returns if a date is a week end.
2019-05-07 23:11:23 +02:00
Benoît Minisini
0617136258 Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!88
2019-05-01 11:47:20 +00:00
gambas
92a54677b5 SpinBox: Forgot to implement the ReadOnly property.
[GB.GUI.BASE]
* BUG: SpinBox: Forgot to implement the ReadOnly property.
2019-04-29 18:37:49 +02:00
gambas
7c0a6730cd Complete support for project extra references.
[CONFIGURATION]
* NEW: Update version to 3.13.90.

[DEVELOPMENT ENVIRONMENT]
* NEW: Redone extra references support.

[COMPILER]
* NEW: Take project extra references into account.

[GB.TERM.FORM]
* BUG: Fix project description.
2019-04-23 12:31:10 +02:00
GianluigiOr
5fdb22660a Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete.

[GB.FORM]
* NEW: Italian translations improvements

[GB.WEB.FEED]
* NEW: The translations is now complete.
2019-04-22 17:52:07 +02:00
gambas
2f4095922b Enhance ListEditor control.
[GB.FORM]
* NEW: ListEditor: ReadOnly is a new property that makes ListEditor enter read-only mode.
* NEW: ListEditor: Add is new event that is raised when the add button is clicked.
* NEW: ListEditor: Add() is a new method that insert a new element in the list.
* NEW: ListEditor: Exist() is a new method that returns if an item exists in the list.
* NEW: Update some translations.
2019-04-22 03:25:56 +02:00
gambas
f282b868d6 Fix Dutch translation file which had conflict markers inside.
[GB.TERM.FORM]
* BUG: Fix Dutch translation file which had conflict markers inside.
2019-04-11 12:20:20 +02:00
Gen Braga
1b6733349c [GP.MAP]
* BUG: Small bug fixes.
2019-04-10 22:53:02 +00:00
W. Raets
01d21cb0a5 Updated all Dutch translations and dutch translator e-mail address
[DEVELOPMENT ENVIRONMENT]
* NEW: Updated Dutch translations

[WIKI CGI SCRIPT]
* NEW: Updated Dutch translations

[WEB SITE MAKER]
* NEW: Updated Dutch translations

[GB.ARGS]
* NEW: Updated Dutch translations

[GB.DB.FORM]
* NEW: Updated Dutch translations

[GB.FORM]
* NEW: Updated Dutch translations

[GB.FORM.DIALOG]
* NEW: Updated Dutch translations

[GB.FORM.MIDI]
* NEW: Updated Dutch translations

[GB.NET.POP3]
* NEW: Updated Dutch translations

[GB.REPORT]
* NEW: Updated Dutch translations

[GB.REPORT2]
* NEW: Updated Dutch translations

[GB.TERM.FORM]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FEED]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FORM]
* NEW: Updated Dutch translator e-mail
2019-04-10 22:52:07 +00:00
gambas
c1db77f31b Some unary operator syntax rewrite in source code. 2019-04-04 23:04:51 +02:00
gambas
663e0a4347 Speed is a new property that allows to define the media playing speed. A negative speed moves backward.
[GB.MEDIA.FORM]
* NEW: MediaView: Speed is a new property that allows to define the media playing speed. A negative speed moves backward.
* NEW: MediaView: Resizing the control while the media is paused correctly resizes the displayed frame.
2019-03-25 03:58:35 +01:00
gambas
d7867cb7cd Changes in testing code. 2019-03-21 23:20:00 +01:00
gambas
3c9a861618 TerminalView: the minimal screen height is now 2 lines.
[GB.FORM.TERMINAL]
* NEW: TerminalView: the minimal screen height is now 2 lines.
2019-03-21 23:18:54 +01:00
gambas
92cde5326e Fix case typo in source code.
[GB.FORM.MDI]
* BUG: Fix case typo in source code.
2019-03-21 23:17:26 +01:00
gambas
dfdbd3bd14 Correctly normalize SQLite session file names.
[GB.WEB]
* BUG: Correctly normalize SQLite session file names.
2019-03-21 23:16:01 +01:00
Benoît Minisini
4605b57760 Merge branch 'master' into 'master'
Workspace: Add CloseButton property.

See merge request gambas/gambas!81
2019-03-19 16:02:42 +00:00
gambas
d26bb8594d GridView: Make selected color less transparent.
[GB.GUI.BASE]
* NEW: GridView: Make selected color less transparent.
2019-03-13 21:36:30 +01:00
Jorge Carrión Molpeceres
263d5660c8 Update Workspace.class 2019-03-11 20:35:57 +00:00
Jorge Carrión Molpeceres
d144a76cee Update FWorkspace.class 2019-03-11 20:34:44 +00:00
Gen Braga
02fe868274 [GP.MAP]
* BUG: Small bug fixes.
2019-03-11 18:48:37 +00:00
Jorge Carrión Molpeceres
2c6944c285 Update FWorkspace.class 2019-03-11 18:34:11 +00:00
Jorge Carrión Molpeceres
523effc9fe Update Workspace.class 2019-03-11 18:30:59 +00:00
gambix
f585889987 [GB.GUI.BASE]
* OPT: Set the ScrollArea Shade more smooth.
2019-03-05 19:11:25 +01:00
gambas
f2de1bc271 Fix some icons.
[GB.FORM.STOCK]
* NEW: Fix some icons.
2019-03-04 01:38:57 +01:00
gambas
6eedf18811 FileView: Sometimes the contents was not correctly refreshed.
[GB.FORM]
* BUG: FileView: Sometimes the contents was not correctly refreshed.
2019-02-28 17:46:53 +01:00
Gen Braga
757af8c19c Map.Proxy is a new property that allows to define the proxy used by all HTTP requests made to retrieve the map tiles.
[GB.MAP]
* NEW: Map.Proxy is a new property that allows to define the proxy used by all HTTP requests made to retrieve the map tiles.
2019-02-14 22:26:05 +00:00
gambas
315eb81d0f TextEditor: The inner shadow now covers the margin.
[GB.FORM.EDITOR]
* BUG: TextEditor: The inner shadow now covers the margin.
2019-02-14 23:21:18 +01:00
gambas
1bf58ddd35 WebTextArea: The Text property works correctly again.
[GB.WEB.FORM]
* BUG: WebTextArea: The Text property works correctly again.
2019-02-14 18:08:31 +01:00
gambas
8ab745c21a Fix corrupted test form.
[GB.FORM]
* BUG: Fix corrupted test form.
2019-02-09 16:07:17 +01:00
gambas
24c2f184f0 URLLabel: Rewrite the control as a child of Label.
[GB.FORM]
* NEW: URLLabel: Rewrite the control as a child of Label.
2019-02-09 14:26:47 +01:00
gambix
3482e7dda0 Add the require of gb.eval and force the gb.eval componant loading if not done
[GB.REPORT]
* BUG: Add the require for gb.eval in component info and force the loading of it.
2019-02-02 18:06:31 +01:00
gambas
5bb2f41b21 Remove '*.mo' files now automatically generated by the compiler, and other filed that should be ignored too. 2019-02-02 01:07:37 +01:00
gambas
3a8b687376 Merge branch 'master' of gitlab.com:gambas/gambas 2019-02-02 00:49:44 +01:00
gambas
f812d81274 Enhance the SpinBox control.
[GB.GUI.BASE]
* NEW: SpinBox: Alignment is a new property that allows to define the alignment of the control inner text.
* NEW: SpinBox: ShowZero is a new property that tells to pad the displayed number with zeros.
* NEW: SpinBox: Limit is a new event that is raised when the user tries to move past the maximum value, or beofre the minimum value.
* BUG: SpinBox: The value entered with the keyboard is now always taken into account by the next use of the mouse.
2019-02-02 00:41:36 +01:00
gambas
c875f00a44 TimeBox is a new control that allows to enter a duration. Maybe the name of the control is not very good.
[GB.FORM]
* NEW: TimeBox is a new control that allows to enter a duration. Maybe the name of the control is not very good.
2019-02-02 00:40:30 +01:00
gambas
92a09ad185 Workspace: Sometimes closing a tab with the middle button is triggered twice, leading to a crash. Made a workaround.
[GB.FORM.MDI]
* BUG: Workspace: Sometimes closing a tab with the middle button is triggered twice, leading to a crash. Made a workaround.
2019-02-02 00:37:54 +01:00
gambix
0a6b9ff342 Circle mapItem now really have the good radius and MapPoint.Distance is now a static function
[GB.MAP]
* BUG: Circle map item now a really the good radius
* OPT: MapPoint.Distance is now a static public Function
2019-02-01 22:23:52 +01:00
gambas
8f09b68254 MediaView: Merge the play and pause button and remove the big white pause symbol.
[GB.MEDIA.FORM]
* NEW: MediaView: Merge the play and pause button.
* NEW: MediaView: Remove the big white pause symbol.
2019-01-26 18:28:05 +01:00
gambas
e5b5487a13 Search dialog: text highlight now works correctly whatever the editor font is.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: text highlight now works correctly whatever the editor font is.

[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter: Paint() is a new method that paints the highlighted text.

[GB.GUI.BASE]
* NEW: Paint: Add an hidden undocumented method that computes the character width of a fixed font.
2019-01-24 00:57:54 +01:00
gambas
1181b78443 Spinner: Enable the spinner timer only if needed, and not permanently!
[GB.FORM]
* BUG: Spinner: Enable the spinner timer only if needed, and not permanently!
2019-01-19 02:58:48 +01:00
Gianluigi Gradaschi
0d98926605 Italian translations 2019-01-15 22:17:03 +00:00
gambas
ed8864cef2 Fix badly committed files.
[GB.MAP]
* BUG: Fix badly committed files.
2019-01-10 18:03:10 +01:00
gambas
802349aab4 TerminalView: Implement "ESC <N> b" sequence.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Implement "ESC <N> b" sequence.
2019-01-08 02:44:26 +01:00
Tobias Boege
69c2ec0658 Introduce RssDate for date+timezone handling
[GB.WEB.FEED]
* NEW: Introduce RssDate class for date+timezone handling and update documentation.
* NEW: Mark component as "Stable".
2019-01-05 21:53:28 +01:00
Tobias Boege
e6ceee0673 RssGuid: do not set IsPermaLink by default when parsing
[GB.WEB.FEED]
* BUG: RssGuid: do not set IsPermaLink by default when parsing.
2019-01-05 21:53:28 +01:00
Tobias Boege
360b46f482 Depend on gb.util for RFC822 date conversions
[GB.WEB.FEED]
* OPT: Depend on gb.util for RFC822 date conversions.
2019-01-05 21:53:28 +01:00
gambas
ebf5443182 Update some test forms and version numbers. 2019-01-05 18:28:32 +01:00
Tobias Boege
3a16b32add Fix timezone bug in Date.FromRFC822()
[GB.UTIL]
* NEW: Add Date.FromUTC() as inverse to Date.ToUTC().
* BUG: Fix timezone bug in Date.FromRFC822() and pass all tests.

See the thread "gb.web.feed not stable yet?" [1] for explanations
of the bug and fix.

[1] https://lists.gambas-basic.org/pipermail/user/2018-December/066103.html
2019-01-05 17:31:35 +01:00
Tobias Boege
38ca01684e Improve error message from Date.GetRFC822Zone()
[GB.UTIL]
* OPT: Improve error message from Date.GetRFC822Zone() by showing what couldn't be recognized as a timezone.
2019-01-05 15:58:40 +01:00
Tobias Boege
f11054de74 Propgate internal errors from Date.FromRFC822()
[GB.UTIL]
* NEW: Propagte internal errors from Date.FromRFC822() instead of shadowing them with a Catch block.
2019-01-05 14:48:46 +01:00
Tobias Boege
92e86cff2b Allow to retrieve timezone from Date.FromRFC822()
[GB.UTIL]
* NEW: Allow to retrieve timezone from Date.FromRFC822().
2019-01-05 13:10:53 +01:00
gambix
f223d11f8f Map is now well located on the mouse when zooming out on MapView
[GB.MAP]
* BUG: Map is now well located on the mouse when zooming out on MapView.
2019-01-03 22:01:07 +01:00
gambix
9dab549cf7 Merge branch 'master' of gitlab.com:gambas/gambas 2019-01-03 21:59:13 +01:00
gambix
f6994008d8 Map is now well located on the mouse when zooming out on MapView
[GB.MAP]
* BUG: Map is now well located on the mouse when zooming out on MapView.
2019-01-03 21:52:40 +01:00
gambas
e61175c939 Update some component, project and test files. 2019-01-03 10:56:37 +01:00
gambas
26e14d343d ToolPanel does not crash anymore.
[GB.FORM]
* BUG: ToolPanel does not crash anymore.
2019-01-03 10:55:45 +01:00
gambas
a489590b0d URL is a now a dynamic class that can be used for analyzing and modifying the contents of an URL.
[GB.UTIL.WEB]
* NEW: URL is a now a dynamic class that can be used for analyzing and modifying the contents of an URL.
* NEW: URLQuery is a new class that represents the query part of an URL.
2019-01-03 10:55:06 +01:00
gambas
12136b7b0e Remove some useless void lines.
[GB.UTIL]
* BUG: Remove some useless void lines.
2019-01-03 10:31:07 +01:00
gambas
18fc41b7c7 Update two icons.
[GB.FORM.STOCK]
* NEW: Update two icons.
2019-01-01 16:41:07 +01:00
gambas
f80173621b Entering a string delimiter while text is selected correctly encloses it again.
[GB.FORM.EDITOR]
* BUG: Entering a string delimiter while text is selected correctly encloses it again.
2019-01-01 15:17:35 +01:00
gambas
76a15e14ff WebTextBox: Correctly synchronize text before raising Activate event.
[GB.WEB.FORM]
* BUG: WebTextBox: Correctly synchronize text before raising Activate event.
2018-12-23 19:37:56 +01:00
gambas
ffbacc3cee WebTextBox and WebTextArea Change event is now raised at each change, and WebButton.Immediate is a new property that allows the javascript code emitted by the Click event handler to be run by the 'onclick' event immediately.
[GB.WEB.FORM]
* NEW: WebButton: Add the Immediate property. If set, the Javascript code emitted by the Click event handler is executed immediately by the 'onclick' button event. Use this feature when some DOM method (like clipboard copy) works only in the context of a user interaction.
* BUG: WebTextBox: Optimize Change event.
* BUG: WebTextArea: Optimize Change event.
* NEW: WebTextBox: The Change event is now emitted a few milliseconds after each text change.
* NEW: WebTextArea: The Change event is now emitted  a few milliseconds after each text change.
2018-12-22 15:54:24 +01:00
gambas
da11a82b63 Add Copy() method to WebTextBox and WebTextArea, and fix margins of WebContainer using Row or Column arrangement.
[GB.WEB.FORM]
* BUG: Fix margins of WebContainer using Row or Column arrangement.
* NEW: The '~dump' request now displays the environment variables too.
* NEW: WebTextBox.Copy() is a new method that copies the control text to the clipboard. Works only with https.
* NEW: WebTextArea.Clear() is a new method that clears the control text.
* NEW: WebTextArea.Copy() is a new method that copies the control text to the clipboard. Works only with https.
2018-12-19 10:30:39 +01:00
gambas
22577f48ae Fix compilation by not using global variables as loop variables.
[GB.MYSQL]
* BUG: Fix compilation by not using global variables as loop variables.
2018-12-14 05:19:58 +01:00
gambas
cc2b05a4c9 Desktop.OpenTerminal now handles "Ubuntu:Gnome" desktop type.
[GB.DESKTOP]
* NEW: Desktop.OpenTerminal now handles "Ubuntu:Gnome" desktop type.
2018-12-11 02:23:16 +01:00
gambas
eb36e0e17a TextEditor.CloseStrings is a new property that tells if strings should be automatically closed.
[GB.FORM.EDITOR]
* NEW: TextEditor.CloseStrings is a new property that tells if strings should be automatically closed.
2018-12-11 02:18:38 +01:00
gambas
6d9ba50c60 SpinBox: Setting the Border property now correctly refreshes the control.
[GB.GUI.BASE]
* BUG: SpinBox: Setting the Border property now correctly refreshes the control.
2018-12-09 03:49:41 +01:00
gambas
1d639e4b27 String.Left() sometimes fails. Print a warning if such a case is detected.
[GB.FORM.TERMINAL]
* BUG: String.Left() sometimes fails. Print a warning if such a case is detected.
2018-12-07 01:02:49 +01:00
gambas
f420eaaff1 TextEditor: Add LastLine and LastColumn properties.
[GB.FORM.EDITOR]
* NEW: TextEditor.LastLine is a new property that returns the line position just before a cursor move.
* NEW: TextEditor.LastColumn is a new property that returns the column position just before a cursor move.
2018-11-27 03:01:00 +01:00
gambas
1ba102c453 PictureBox: Setting the Picture or Image property now correctly refreshes the control.
[GB.GUI.BASE]
* BUG: PictureBox: Setting the Picture or Image property now correctly refreshes the control.
2018-11-20 23:12:11 +01:00
gambas
83c39796eb Toolbar: Drag & drop should not crash anymore because of the previous change in the Parent property.
[GB.FORM.MDI]
* BUG: Toolbar: Drag & drop should not crash anymore because of the previous change in the Parent property.
2018-11-20 12:14:18 +01:00
gambas
3eaa0098d4 TextEditor: Make the automatic insertion of string delimiters more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Make the automatic insertion of string delimiters more clever.
2018-11-19 23:19:33 +01:00
gambas
6303762ff7 ScrollView: Automatic layout is now done before and after arrangement.
[GB.GUI.BASE]
* BUG: ScrollView: Automatic layout is now done before and after arrangement.
2018-11-16 01:35:59 +01:00
gambas
a66ce09e79 TerminalView: Fix a possible crash when inserting a line longer than the terminal width.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix a possible crash when inserting a line longer than the terminal width.
2018-11-15 00:26:24 +01:00
gambas
507f2d2b3c TextEditor: Syntax highlihgting of lines including tab characters has been fixed.
[GB.FORM.EDITOR]
* BUG: TextEditor: Syntax highlihgting of lines including tab characters has been fixed.
2018-11-14 23:53:38 +01:00
gambas
f30edfa302 ProgressBar: Pulsing is now visible as soon as the ProgressBar is twice large as high, and the animation is smoother.
[GB.GUI.BASE]
* NEW: ProgressBar: Pulsing is now visible as soon as the ProgressBar is twice large as high, and the animation is smoother.
2018-11-14 23:52:22 +01:00
gambas
8fe11c046d Shell.MkDir() now handles paths starting with "~/", and Shell.Move() can automatically erase the destination.
[GB.UTIL]
* NEW: Shell.MkDir() now handles paths starting with "~/", and raises an error if creating the directory is impossible.
* NEW: Shell.Move() got a new optional 'Force' argument, that erases the destination path The erase and the move are atomic if possible.
2018-11-14 23:48:49 +01:00
gambix
38da5ea0f7 Change Timer delay for a trigger loop in ReportView layout
[GB.REPORT]
* BUG: Change Timer delay for a trigger loop in ReportView layout lookup. Now the processor will not
  have any over use any more.
2018-11-08 15:05:49 +01:00
gambas
6ffa483e4f TreeView: The space between the icon and the item text is now bigger, and proportional to the desktop font size.
[GB.GUI.BASE]
* NEW: TreeView: The space between the icon and the item text is now bigger, and proportional to the desktop font size.
2018-11-07 17:20:39 +01:00
gambas
a0af45675e DocumentView: Use Timer.Trigger() method to prevent 100% CPU usage with QT4.
[GB.FORM]
* BUG: DocumentView: Use Timer.Trigger() method to prevent 100% CPU usage with QT4.
2018-11-07 17:03:36 +01:00
gambix
56f68cf840 Now if the layer in not existing return null and do nothing if .remove(shape) not exist.
[GB.MAP]
* BUG: return null if the required layer not exist
* BUG: Remove function of Shape Layer do nothing if the Layer did not exist
* BUG: All the object can be removed in all order now.
2018-11-06 11:32:14 +01:00
gambas
86c1836003 [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.ToHTML() replaces all space by '&nbsp;'.
* NEW: TextHighlighter.ToRichText() returns an highlighted text in rich text format.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic insertion of string delimiters.

[GB.FORM.MDI]
* NEW: Toolbar: Redraw expander icon.

[GB.FORM.STOCK]
* NEW: Redraw 'spell-check' icon.
2018-10-25 23:28:46 +02:00
gambas
901b84a36c Update xdg-utils to 1.1.3 version.
[GB.DESKTOP]
* NEW: Update xdg-utils to 1.1.3 version.
2018-10-11 00:03:41 +02:00
gambas
0dc57ad4ad ScrollView: Fix layout routine and correctly propagate focus events.
[GB.GUI.BASE]
* BUG: ScrollView: Fix layout routine.
* BUG: ScrollView: Correctly propagate focus events.
2018-10-10 10:32:20 +02:00
gambas
0cafd5dab9 Remove a public variable declared in a parent and in a child class.
[GB.MAP]
* BUG: Remove a public variable declared in a parent and in a child class.
2018-10-10 02:04:48 +02:00
gambas
f89186d6a8 SpinBox: Fix keyboard management when entering a value.
[GB.GUI.BASE]
* BUG: SpinBox: Fix keyboard management when entering a value.
2018-10-09 22:00:41 +02:00
gambix
6b7a879232 Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-04 14:27:00 +02:00
gambix
2475f36477 Now if the layer in not existing return null and do nothing if .remove(shape) not exist.
[GB.MAP]
* BUG: return null if the required layer not exist
* BUG: Remove function of Shape Layer do nothing if the Layer id not exist
2018-10-04 14:25:46 +02:00
gambas
f67b8ab307 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2018-10-04 12:26:11 +02:00
gambas
ddf3275bdc Optimize FileView refresh, and fix SidePanel buttons that sometimes were created twice.
[GB.FORM]
* OPT: FileView: Optimize view refresh.
* BUG: SidePanel: Side buttons were sometimes created twice.
* BUG: SidePanel: Side buttons tooltips are now always correct.
2018-10-04 12:24:08 +02:00
gambas
d46368f276 IconView items highglight is correctly drawn now, and some TreeView optimizations.
[GB.GUI.BASE]
* BUG: IconView: Items highglight is correctly drawn now.
* OPT: TreeView: Allows the view to be locked while a lot of items are added.
* NEW: TreeView: BeforeSort is a new event that allows a caller to prepare its custom view sort.
2018-10-04 12:19:03 +02:00
gambas
65b0fb986f DataView: Clicking on the creation row now works correctly again.
[GB.DB.FORM]
* BUG: DataView: Clicking on the creation row now works correctly again.
2018-10-03 16:14:08 +02:00
gambas
261697ae44 Fix ColorPalette, optimize FileView refresh, make the TableView editor position nicer.
[GB.FORM]
* BUG: ColorPalette: Handle mouse wheel events correctly.
* BUG: ColorPalette: Ensure that the current color is visible.
* NEW: ColorChooser: The value slider now handles mouse wheel events.
* OPT: FileView: Sort the files once when the view is reloaded.
* NEW: TableView: Move the editor so that the cell border is correctly visible.
2018-10-03 16:10:03 +02:00
gambas
a7ddfbe0cf Fix ScrollView arrangement, and optimize TreeView items adding.
[GB.GUI.BASE]
* NEW: GridView: Draw last column and last rows separators even if Grid is not set when the GridView is actually a TableView.
* BUG: ScrollView: Fix arrangement.
* OPT: TreeView: Define the default row size, so that adding items is faster.
2018-10-03 16:07:04 +02:00
gambas
1bf70e1e75 PictureBox is now implemented in Gambas.
[GB.GTK]
* NEW: Remove PictureBox control.

[GB.GTK3]
* NEW: Remove PictureBox control.

[GB.GUI.BASE]
* NEW: PictureBox is now implemented in Gambas.
* NEW: PictureBox: Image is a new property that allows to display an Image instead of a Picture.
* NEW: PictureBox: Mode is a new property that defines how the image fills the control.

[GB.QT4]
* NEW: Remove PictureBox control.

[GB.QT5]
* NEW: Remove PictureBox control.
2018-10-03 16:06:54 +02:00
gambas
7e2ccb7cce TextEditor: Prevent a possible infinite looping on displaying an incorrectly highlighted text line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Prevent a possible infinite looping on displaying an incorrectly highlighted text line.
2018-10-01 23:20:43 +02:00
gambas
8adc54015b ImageView: Fix view to image coordinates conversion.
[GB.FORM]
* BUG: ImageView: Fix view to image coordinates conversion.
2018-10-01 23:19:49 +02:00
gambas
5c6423eedb Update some versions. 2018-09-29 13:26:18 +02:00
gambas
51c80eba92 Allow to add actions at runtime to the static list created by the compiler.
[GB.FORM.MDI]
* NEW: Action.Add() is a new method that allows to declare a new action.
* NEW: Action.AddFrom() is a new method that declare a new action from a control.
2018-09-29 13:23:36 +02:00
gambas
c2469623bf Add Action.Keys and Action[].HasShortcut properties.
[GB.GUI.BASE]
* NEW: Action.Keys is new static property that returns the list of all action keys.
* NEW: Action[].HasShortcut is a new property that returs if an action can have a shortcut.
2018-09-29 13:20:33 +02:00
gambas
35d20604b1 TextEditor: Try to make automatic insertion of quotes more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Try to make automatic insertion of quotes more clever.
2018-09-29 04:42:42 +02:00
gambas
5ae2f48bd5 Make 128 pixels versions of message box icons.
[GB.FORM.STOCK]
* NEW: Make 128 pixels versions of message box icons.
2018-09-28 18:58:46 +02:00
gambas
4239ddbaf0 SpinBox: Allow the wheel event handler to be overrided, so that SliderBox works as expected again.
[GB.GUI.BASE]
* BUG: SpinBox: Allow the wheel event handler to be overrided, so that SliderBox works as expected again.
2018-09-28 18:55:19 +02:00
gambas
9f0ca8d8d5 IconView: Keys is a new property that returns an array of all item keys.
[GB.GUI.BASE]
* NEW: IconView: Keys is a new property that returns an array of all item keys.
2018-09-26 18:54:06 +02:00
gambas
2d978ed99f Matching braces are now just underlined and Setting styles multiple times now triggers only one highlight update.
[GB.FORM.EDITOR]
* OPT: TextEditor: Setting styles multiple times now triggers only one highlight update.
* NEW: TextEditor: Matching braces are now just underlined. I find that more readable.
2018-09-26 18:48:24 +02:00
gambas
acafa3f219 SidePanel: Setting the Hidden property now takes the current animation into account.
[GB.FORM]
* BUG: SidePanel: Setting the Hidden property now takes the current animation into account.
2018-09-26 18:46:55 +02:00