Commit graph

3601 commits

Author SHA1 Message Date
Benoît Minisini
84f819541a [GB.GUI.BASE]
* BUG: The default ColumnView sorting now correctly takes the column into 
  account.


git-svn-id: svn://localhost/gambas/trunk@5568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-02 15:31:17 +00:00
Benoît Minisini
33bf1fb500 [INTERPRETER]
* BUG: When the parent of an observer is detected invalid while raising an 
  event, detach the observer and not the observed object!


git-svn-id: svn://localhost/gambas/trunk@5567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-02 02:11:17 +00:00
Benoît Minisini
1649f86d86 [GB.DRAW]
* BUG: Fix a stupid typo. Now PointF now works correctly!


git-svn-id: svn://localhost/gambas/trunk@5566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-25 17:25:56 +00:00
Adrien Prokopowicz
7c84222a5a * BUG: The XmlExplorer.ReadFlags._get() method now returns a valid value if the flag ID is out of bounds
* BUG: Fixes a few memory leaks when freeing an XmlExplorer
* BUG: Fixes a crash when creating Attributes without values
* BUG: The XmlExplorer.Node property does not raises a Null Object error when reaching the end of the document
* BUG: XmlReader now raises an appropriate error if an lt sign is inside a tag
* OPT: The XmlExplorer.Open() method now directly calls the XmlDocument constructor instead of using an intermediate buffer

git-svn-id: svn://localhost/gambas/trunk@5565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-25 00:55:30 +00:00
Adrien Prokopowicz
e4a6208b16 [GB.XML]
* BUG: The XML parser does not complain anymore when encountering a PI.
* BUG: Error positions now start from 1 instead of 0.

git-svn-id: svn://localhost/gambas/trunk@5564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-24 23:26:01 +00:00
Matti
06477a9e9d [EXAMPLES]
* BUG: Lighttable: Correct renaming of files if ScrollView is expanded
* OPT: Lighttable: Allow double-click on DirChooser



git-svn-id: svn://localhost/gambas/trunk@5563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-24 17:57:00 +00:00
Benoît Minisini
c9d70b9301 [DEVELOPMENT ENVIRONMENT]
* NEW: The subversion dialog is not closed automatically anymore when 
  hitting ENTER.


git-svn-id: svn://localhost/gambas/trunk@5562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-24 17:13:07 +00:00
Benoît Minisini
035eb084f3 [GB.PCRE]
* BUG: Make gb.pcre compile with old versions of libpcre.


git-svn-id: svn://localhost/gambas/trunk@5561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-24 16:48:32 +00:00
Benoît Minisini
9eabb5772b [GB.NET.CURL]
* NEW: HttpClient.PostFile() is a new method that sends a POST request, 
  taking the data from a file and not from a string.


git-svn-id: svn://localhost/gambas/trunk@5560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-23 23:21:01 +00:00
Benoît Minisini
02a5e3341d [GB.GTK]
* BUG: Scrollbar and Slider correctly raise their Change event when their 
  Value property is set manually.


git-svn-id: svn://localhost/gambas/trunk@5559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-23 20:35:14 +00:00
Benoît Minisini
371eaf9d4f [GB.PCRE]
* BUG: Try to not use new libpcre error constants.
* NEW: RegExp.Error is a new property that returns the last error code 
  returned by the libpcre library.


git-svn-id: svn://localhost/gambas/trunk@5558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-23 18:16:30 +00:00
Laurent Carlier
9797312c12 Fix typos
git-svn-id: svn://localhost/gambas/trunk@5557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-21 15:53:06 +00:00
Laurent Carlier
eae892152f [CONFIGURATION]
* BUG: Uninstall should honor XDG_UTILS variable during 'make uninstall'.

This fix building in ArchLinux.



git-svn-id: svn://localhost/gambas/trunk@5556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-21 15:37:19 +00:00
Benoît Minisini
7c244c0434 [GB.PCRE]
* BUG: Accurate error management and error messages.
* NEW: The number of matches is not limited to 66 anymore. The internal
  buffer is automatically increased as needed, so the number of matches
  should be limited by the memory only.


git-svn-id: svn://localhost/gambas/trunk@5555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-17 16:26:08 +00:00
Benoît Minisini
f79bde1d6a [INTERPRETER]
* NEW: GB.Stream.Eof() is a new API that returns if there is something to 
  read on a stream, by taking the 'Line Input' internal buffer into 
  account.

[GB.NET.CURL]
* NEW: Now the Read event is raised again and again while there is 
  something to read.


git-svn-id: svn://localhost/gambas/trunk@5554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-17 11:05:34 +00:00
Benoît Minisini
9c829d258e [INTERPRETER]
* NEW: A new interpreter API that allows a component to tell that its 
  custom stream data is immediately available.
* BUG: GB.Stream.SetBytesRead() now increments the internal number of read
  bytes, so that the 'Line Input' buffer is taken into account.

[GB.NET.CURL]
* NEW: The FtpClient or HttpClient Read event is now called as long as 
  there is something to read *and* the event handler actually read at least
  one byte.
* BUG: The handle of a curl object is now -1 (i.e. it is not available).
* BUG: The data received by a curl object is immediately available to the
  READ instruction.


git-svn-id: svn://localhost/gambas/trunk@5553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-17 00:44:48 +00:00
Tobias Boege
9cd573f4ef [GB.NET.CURL]
* BUG: Don't crash when FtpClient.Exec() gets an array with empty strings



git-svn-id: svn://localhost/gambas/trunk@5552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-16 18:57:16 +00:00
Benoît Minisini
3a4caa35ab [GB.NET.CURL]
* BUG: Don't crash if FtpClient.Exec() gets a void array as commands array.


git-svn-id: svn://localhost/gambas/trunk@5551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-16 17:08:10 +00:00
Benoît Minisini
7752fa8cfd [EXAMPLES]
* BUG: Fix PdfPresentation example.

[GB.DESKTOP]
* NEW: Try to use gnome keyring on XFCE.


git-svn-id: svn://localhost/gambas/trunk@5550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-13 00:20:28 +00:00
Tobias Boege
763d21cd45 [EXAMPLES]
* NEW: Pong: Make ball fly faster with every paddle hit
* NEW: Adopt example version scheme



git-svn-id: svn://localhost/gambas/trunk@5549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-12 21:19:38 +00:00
Benoît Minisini
793156546b [GB.DB.SQLITE3]
* BUG: Oops. Compiles again.


git-svn-id: svn://localhost/gambas/trunk@5548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-12 11:30:37 +00:00
Benoît Minisini
0e3b2868e9 [GB.DB.SQLITE3]
* NEW: Connection.Timeout is now the maximum duration of request retries
  when the database is busy. By default, this is 120 seconds.


git-svn-id: svn://localhost/gambas/trunk@5547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-12 11:29:54 +00:00
Benoît Minisini
0e2a43921f [GB.DB.SQLITE3]
* NEW: Retry busy request during 2 minutes max. instead of 30 seconds.


git-svn-id: svn://localhost/gambas/trunk@5546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-12 10:45:58 +00:00
Benoît Minisini
d446e2453f [GB.DB.SQLITE3]
* BUG: Fix a crash introduced by the previous fix.


git-svn-id: svn://localhost/gambas/trunk@5545 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-12 01:45:54 +00:00
Benoît Minisini
a8915f2700 [GB.DB.SQLITE3]
* BUG: Handle SQLITE_BUSY error for all requests, even SELECT queries.


git-svn-id: svn://localhost/gambas/trunk@5544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-12 01:33:38 +00:00
Tobias Boege
cf20462abc [GB.NCURSES]
* BUG: Input: Comment all NoDelay related stuff out
* BUG: Window: PrintCenter() handles empty lines now
* NEW: Pair: Allocate all pairs at initialisation and inhibit any change to
  them. Array accessors can be used to get the pair number for a given
  fore-/background combination
* NEW: Window: Rewrite the Window class
* NEW: Remove the Insert() method
* NEW: Remove .Window.Attrs' Color property
* NEW: BorderFrame is an optional argument to the constructor (default True)
  to specify if there shall be a border frame around the window setting the
  border apart from the content
* NEW: Ask() returns the choice number to ease translation
* NEW: Ask() supports a default choice in upper case
* NEW: Make Read event work
* NEW: Screen: Rewrite it mostly (is a static class again)
* NEW: Remove Read event
* NEW: Make Resize event work
* NEW: Rename .Cols and .Lines to .Width resp. .Height
* NEW: Declare gb.ncurses "Unfinished"
* OPT: Tidy up sources
* OPT: Window: Use werase() instead of wclear() to clear

[EXAMPLES]
* NEW: Add 'Pong' in the Games section



git-svn-id: svn://localhost/gambas/trunk@5543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-10 20:06:36 +00:00
Benoît Minisini
ff507f5dde [GB.NET.CURL]
* BUG: HttpClient: Allows null data when using the Post() or Put() method.


git-svn-id: svn://localhost/gambas/trunk@5542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-10 16:06:56 +00:00
Benoît Minisini
af5bdc6f45 [GB.DB.MYSQL]
* BUG: Database charset is correctly reset when an automatic reconnect 
  occurs.

[GB.FORM]
* OPT: LCDLabel highlight is now drawn with the Image.Fuzzy() method.

[GB.QT4]
* NEW: The drag & drop frame is now transparent.
* BUG: The drag & drop frame is now correctly hidden in all cases when dnd 
  operation is finished.


git-svn-id: svn://localhost/gambas/trunk@5539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-09 23:41:41 +00:00
Benoît Minisini
5e95a83b1d [GB.WEB]
* NEW: Increase the response packet size to 64 Kb instead of 4 Kb.

git-svn-id: svn://localhost/gambas/trunk@5538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-08 02:51:34 +00:00
Sebastian Kulesz
d2573a192e [GB.DESKTOP]
* BUG: Opening a terminal now works again for xfce4 users. It was 
    renamed from Terminal -> xfce4-terminal


git-svn-id: svn://localhost/gambas/trunk@5537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-04 04:16:03 +00:00
Sebastian Kulesz
e76dbf60ae [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation.



git-svn-id: svn://localhost/gambas/trunk@5536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-04 03:50:31 +00:00
Benoît Minisini
15feb5ef99 [DEVELOPMENT ENVIRONMENT]
* BUG: The 'clean up' action of the subversion management dialog is now run 
  on the repository root, not just on the parent directory of the project.
* NEW: When dragging a control from the toolbox to the form editor, a 
  target frame is drawn now.


git-svn-id: svn://localhost/gambas/trunk@5533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-03 18:17:52 +00:00
Tobias Boege
9e8d88ad41 [GB.EVAL.HIGHLIGHT]
* NEW: Diff: Separate hunks by their @@ lines to (un)expand them.



git-svn-id: svn://localhost/gambas/trunk@5532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-02 15:08:08 +00:00
Benoît Minisini
65e8c03a7a [DEVELOPMENT ENVIRONMENT]
* NEW: Clean up and fix the patch dialogs.
* NEW: Put the patch actions in their own sub-menu.
* NEW: Add an option in the patch wizard to automatically generate the 
  patch file name.


git-svn-id: svn://localhost/gambas/trunk@5531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-02 03:09:55 +00:00
Benoît Minisini
8cc0ae62b4 [GB.DB.SQLITE3]
* NEW: Requests are automatically retried during 30 seconds if the database 
  is busy.


git-svn-id: svn://localhost/gambas/trunk@5530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-30 19:43:31 +00:00
Tobias Boege
aef159a67d [GB.PCRE]
* BUG: Display an error when trying to compile an empty pattern



git-svn-id: svn://localhost/gambas/trunk@5529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-30 13:49:59 +00:00
Benoît Minisini
55d0e29eec [GB.DB.SQLITE2]
* BUG: Quote index name and primary key fields.


git-svn-id: svn://localhost/gambas/trunk@5528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-29 22:24:28 +00:00
Benoît Minisini
00c989eb44 [GB.DB.SQLITE3]
* BUG: Quote index name and primary key fields.


git-svn-id: svn://localhost/gambas/trunk@5527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-29 22:23:49 +00:00
Tobias Boege
41cf42c003 [DEVELOPMENT ENVIRONMENT]
* NEW: Patch: Use more wide-spread a/ and b/ as old and new source names
* NEW: FMakePatch: Enhance wizard
* OPT: Struct destructor problem was fixed



git-svn-id: svn://localhost/gambas/trunk@5526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-29 21:15:16 +00:00
Benoît Minisini
acea48d851 [INTERPRETER]
* BUG: Display an accurate error message if the project cannot be started.


git-svn-id: svn://localhost/gambas/trunk@5525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-29 00:53:21 +00:00
Benoît Minisini
29bb7544ea [DEVELOPMENT ENVIRONMENT]
* BUG: Double-clicking a project in the project open dialog opens it again.


git-svn-id: svn://localhost/gambas/trunk@5524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 20:53:01 +00:00
Benoît Minisini
1170daa9d7 [DEVELOPMENT ENVIRONMENT]
* NEW: Create a ProjectChooser control that can be shared between the 
  project open dialog and the patch wizard (for example).


git-svn-id: svn://localhost/gambas/trunk@5523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 19:28:31 +00:00
Tobias Boege
3ee9d91054 [DEVELOPMENT ENVIRONMENT]
* NEW: Show FPatch modal
* NEW: FMakePatch: Use Activate() events to go to next Wizard step
* BUG: FPatch: Fix SidePanel collapse
* BUG: FPatch: Enlarge buttons
* BUG: Patch: Ignore more generated files (now necessary without CleanUp()).
  Use temporary file to not pollute the diff command with them
* BUG: Mark a string translatable
* OPT: Patch: Use "tar" other options instead of --transform



git-svn-id: svn://localhost/gambas/trunk@5522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 16:45:40 +00:00
Benoît Minisini
3bdc61c9f5 [DEVELOPMENT ENVIRONMENT]
* NEW: Move the patch source files into their own directory.
* NEW: Little design changes in the patch wizard.
* NEW: Change the icons used for the patch actions.

[GB.FORM]
* BUG: SidePanel does not crash anymore when clicking on a side button.
* BUG: FileView.Filter does not "eat" the filter array affected to the 
  property anymore.


git-svn-id: svn://localhost/gambas/trunk@5521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 15:00:13 +00:00
Tobias Boege
96eeedee94 [DEVELOPMENT ENVIRONMENT]
* NEW: The "Patch..." menu item opens a Wizard now.
* NEW: Support all kinds of source archives and a project directory as old
  source for a patch
* NEW: Ignore .settings and all files configured to be ignored
* NEW: Add titles and icons to the new forms
* BUG: Move the "Patch project..." menu item under "Project"
* BUG: FPatch does not crash anymore when a hunk does not carry a filename
* BUG: Don't try to copy contents of an empty backup directory
* BUG: Don't make archives of arbitrary directories anymore
* OPT: Copy old and new source to temporary directory before calling "patch"
* OPT: Don't clean the current project up unnecessarily
* NEW: Add Project.MakeSourceArchiveFromTo() method



git-svn-id: svn://localhost/gambas/trunk@5520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 14:09:55 +00:00
Benoît Minisini
98c2ec299b [INTERPRETER]
* BUG: Fix structure field alignment mismatch that led to memory leaks.


git-svn-id: svn://localhost/gambas/trunk@5519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-27 08:32:01 +00:00
Benoît Minisini
cee6e90273 [GB.WEB]
* BUG: JSON.Encode() can encode arrays again.


git-svn-id: svn://localhost/gambas/trunk@5518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-26 11:09:40 +00:00
Tobias Boege
aaa33dc68f [DEVELOPMENT ENVIRONMENT]
* NEW: Add patch management
* NEW: Patches can be generated for old source archives to be patched to the
  currently opened project
* NEW: Patches can be applied/reverted to/from the current project
* NEW: Each patch hunk can individually be inspected and (de)selected before
  committing the operation
* NEW: Multiple patches can be queued in the dialog



git-svn-id: svn://localhost/gambas/trunk@5517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-25 23:14:42 +00:00
Benoît Minisini
b21341ec7c [INTERPRETER]
* BUG: Collection cannot be converted to an array.


git-svn-id: svn://localhost/gambas/trunk@5516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-24 22:29:27 +00:00
Tobias Boege
28d47a84bb [GB.EVAL.HIGHLIGHT]
* NEW: Make the HighlightDiff class recognise hunks separated by the current
  `diff` command being echoed into the header. These can be (un)expanded in
  Editor now.



git-svn-id: svn://localhost/gambas/trunk@5515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-24 19:38:13 +00:00