Commit graph

3748 commits

Author SHA1 Message Date
Benoît Minisini
020fda58bc [GB.XML.RPC]
* BUG: Fixes of the miniServer class from issue 449


git-svn-id: svn://localhost/gambas/trunk@5720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-04 19:52:24 +00:00
Benoît Minisini
9f393356a4 [GB.WEB]
* BUG: Once the session is saved, mark it as not modified.


git-svn-id: svn://localhost/gambas/trunk@5719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-04 19:39:38 +00:00
Benoît Minisini
ab78dd8c9a [GB.MEDIA]
* BUG: Correctly handle GStreamer dates with year but no month and no day.


git-svn-id: svn://localhost/gambas/trunk@5718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-30 22:45:30 +00:00
Benoît Minisini
02234a267e [GB.MEDIA]
* NEW: Support for properties that are enumerations. Use them like string 
  properties that can only take some specific values.
* NEW: GStreamer element not created explicitely are now managed through 
  the MediaControl class.
* NEW: MediaFilter is a new MediaControl that implements the 'capsfilter'
  element. It has a Filter property that understands the same syntax as the
  'gst-launch' GStreamer tool.
* NEW: MediaContaienr.Children is a new virtual property that allows to
  enumerate its children elements.


git-svn-id: svn://localhost/gambas/trunk@5717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-30 21:57:47 +00:00
Adrien Prokopowicz
005d1e1603 * BUG: The XML DOM parser doesn't go beyond the string limits when looking
for an XML prolog anymore.

git-svn-id: svn://localhost/gambas/trunk@5716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-30 11:23:42 +00:00
Adrien Prokopowicz
ac20bff9c7 * BUG: XmlWriter now correctly normalizes attribute values
git-svn-id: svn://localhost/gambas/trunk@5715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-30 00:37:36 +00:00
Benoît Minisini
2c3cdf51b3 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly save profiling preferences when closing the project 
  property dialog.


git-svn-id: svn://localhost/gambas/trunk@5714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 16:37:10 +00:00
Benoît Minisini
63fdf03e0d [GB.XML.RPC]
* BUG: Try to fix the RpcServer class.


git-svn-id: svn://localhost/gambas/trunk@5713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 16:33:30 +00:00
Benoît Minisini
74fb91552e [EXAMPLES]
* NEW: MediaPlayer: Display the name of the device, not just its system 
  path.

[INTERPRETER]
* BUG: In File.Load(), workaround virtual files (like those located in 
  '/sys') whose official size is not their real size.


git-svn-id: svn://localhost/gambas/trunk@5712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 16:11:32 +00:00
Benoît Minisini
d6857e2926 [DEVELOPMENT ENVIRONMENT]
* BUG: The '.lang' directory should be correctly put under version control 
  when a project become translatable.

[EXAMPLES]
* NEW: MediaPlayer: Allow to choose the video device.


git-svn-id: svn://localhost/gambas/trunk@5711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 14:22:09 +00:00
Benoît Minisini
0be0b8caf8 [DEVELOPMENT ENVIRONMENT]
* NEW: When installing the Gambas font, don't use the deprecated 
  '~/.fonts.conf' file anymore.

[EXAMPLES]
* NEW: The MediaPlayer example now has a panel to configure the image
  balance.

[GB.MEDIA]
* NEW: MediaPlayer.Balance is a new property that allows to configure the
  image brightness, contrast, hue, saturation... It actually returns a
  virtual array of balance "channels", each one having a minimum value, a
  maximum value, a current value and a name.

[GB.WEB]
* NEW: When Request.Debug is set, only the first 4K of a POST request is 
  stored in the Request.Contents property.


git-svn-id: svn://localhost/gambas/trunk@5710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 12:42:52 +00:00
Benoît Minisini
9e769dc9ed [GB.NET.SMTP]
* BUG: Fix a memory leak when specifying the mimetype charset.
* BUG: Quote the space character at the beginning of a line when sending 
  quoted-printable data.


git-svn-id: svn://localhost/gambas/trunk@5709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-25 23:46:40 +00:00
Benoît Minisini
ecbdca325d [GB.GTK]
* BUG: Drawing text alignment is taken into account when the width or 
  height is specified, not only when both are. Now, the drawing text 
  methods behave like in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@5708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-22 16:26:28 +00:00
Benoît Minisini
2973820c70 [INTERPRETER]
* BUG: Don't crash when calling a dynamic _call special method in a static 
  context. Raise an error instead.


git-svn-id: svn://localhost/gambas/trunk@5707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-19 02:48:34 +00:00
Benoît Minisini
57a77280a1 [COMPILER]
* BUG: Generate correct information files for components having string 
  constants with newline inside.


git-svn-id: svn://localhost/gambas/trunk@5706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-19 02:01:08 +00:00
Radek Fryšták
de58e0cad0 [EXAMPLES]
* NEW: update czech translate.

[GB.ARGS]
* NEW: update czech translate.

[GB.FORM.DIALOG]
* NEW: update czech translate.

[GB.FORM.MDI]
* NEW: update czech translate.

[GB.DB.FORM]
* NEW: update czech translate.

[GB.REPORT]
* NEW: update czech translate.

[GB.NET.POP3]
* NEW: update czech translate.


git-svn-id: svn://localhost/gambas/trunk@5705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-15 15:47:32 +00:00
Radek Fryšták
a55b9d3910 [GB.FORM]
* NEW: update chzech translation.


git-svn-id: svn://localhost/gambas/trunk@5704 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-15 14:30:21 +00:00
Radek Fryšták
7aabc4cb2b [DEVELOPMENT ENVIRONMENT]
* NEW: update czech translation.


git-svn-id: svn://localhost/gambas/trunk@5703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-15 14:01:25 +00:00
Laurent Carlier
f2cdcd54cc [GB.JIT]
* BUG: Try to restore building of component with llvm 3.1


git-svn-id: svn://localhost/gambas/trunk@5702 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-15 08:15:10 +00:00
Fabien Bodard
db66a1412e [EXAMPLES]
* BUG: Temporaly disable map effects because they are too unstable



git-svn-id: svn://localhost/gambas/trunk@5701 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-14 21:15:56 +00:00
Laurent Carlier
922b32a89c [GB.JIT]
* BUG: Fix building with llvm 3.3

It should still build with llvm-3.2 (not tested)


git-svn-id: svn://localhost/gambas/trunk@5700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-13 11:55:04 +00:00
Laurent Carlier
8ca73977d0 [GB.JIT]
BUG: Use another header file for configure step that is available from v3.1 to v3.3+,
so proper include path is choosed


git-svn-id: svn://localhost/gambas/trunk@5699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-13 11:35:45 +00:00
Laurent Carlier
1dac375aa8 [GB.JIT]
BUG: Fix configure with llvm 3.3


git-svn-id: svn://localhost/gambas/trunk@5698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-13 11:25:24 +00:00
Benoît Minisini
70eca15fb4 [INTERPRETER]
* BUG: Do not search for Application_Error if the project startup class 
  has not be loaded yet.

[GB.GUI.BASE]
* NEW: Typing keys inside an IconView should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-09 21:30:43 +00:00
Benoît Minisini
fb673982d7 [GB.NET]
* BUG: SocketServer: Reinitialize the timeout each time the blocking mode 
  changes.


git-svn-id: svn://localhost/gambas/trunk@5696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-03 19:13:22 +00:00
Benoît Minisini
88ef7b2f0b [GB.NET]
* BUG: Socket: Reinitialize the timeout each time the blocking mode 
  changes.


git-svn-id: svn://localhost/gambas/trunk@5695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-03 19:10:30 +00:00
Benoît Minisini
3e76b4d958 [EXAMPLE]
* NEW: MediaPlayer: Add a button to take a screenshot of the current video
  frame.

[GB.MEDIA]
* NEW: gb.media now depends on gb.image.
* NEW: MediaPlayer.Video.Image is a new property that returns a screenshot
  of the current video frame.


git-svn-id: svn://localhost/gambas/trunk@5694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-03 17:51:14 +00:00
Benoît Minisini
60adb14b26 [EXAMPLES]
* NEW: MediaPlayer: Display error messages in the interface.

[GB.MEDIA]
* BUG: MediaPlayer.ConnectionSpeed will not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-02 14:34:48 +00:00
Benoît Minisini
0a97949f19 [GB.MEDIA]
* BUG: Do not crash while receiving a message associated with a GStreamer 
  plugin unknown to Gambas.
* BUG: Hide warnings when reading a GStreamer date/time value.


git-svn-id: svn://localhost/gambas/trunk@5692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-02 14:18:31 +00:00
Benoît Minisini
ecffcb1a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the background of special methods in the code editor 
  procedure list.

[EXAMPLES]
* NEW: MediaPlayer: Add a button to display the contents of the first video
  device (/dev/video0).

[GB.MEDIA]
* BUG: The MediaPlayer.Input property is actually read-only.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 16:57:34 +00:00
Benoît Minisini
c9dc4085c2 [GB.MEDIA]
* NEW: Use GStreamer 1.0 instead of GStreamer 0.10 that is now deprecated.


git-svn-id: svn://localhost/gambas/trunk@5690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 15:45:17 +00:00
Benoît Minisini
c404f04bb4 [GB.NET]
* BUG: Socket connection is not blocking anymore, like it was in Gambas 2.
* BUG: Fix DnsClient defaut event declaration.


git-svn-id: svn://localhost/gambas/trunk@5689 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 13:37:38 +00:00
Benoît Minisini
063cf446e7 [DEVELOPMENT ENVIRONMENT]
* BUG: Subversion support now correctly handles project directories that
  have symbolic links in it.

[EXAMPLES]
* BUG: Fractal: commit a missing new file.

[WIKI CGI SCRIPT]
* BUG: Fix an english mistake without altering the translations.


git-svn-id: svn://localhost/gambas/trunk@5688 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-31 13:22:26 +00:00
Benoît Minisini
45c481c1b4 [EXAMPLES]
* NEW: The Fractal example now uses eight background tasks to draw the 
  fractal.

[GB.IMAGE]
* NEW: Image.Pixels is a new property that allows to return the image 
  pixels as an integer array, and to set the image pixels from an integer
  array.


git-svn-id: svn://localhost/gambas/trunk@5687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-30 21:16:09 +00:00
Benoît Minisini
21f0837572 [INTERPRETER]
* BUG: Correctly handle functions with a variable number of arguments when
  an array conversion occurs during argument parsing.
* BUG: The debugger now correctly displays and modifies arguments of 
  functions having a variable number of arguments.

[GB.DEBUG]
* BUG: The debugger now correctly displays and modifies arguments of 
  functions having a variable number of arguments.


git-svn-id: svn://localhost/gambas/trunk@5686 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-30 01:10:59 +00:00
Benoît Minisini
dce61b765b [GB.DB.ODBC]
* NEW: Retrieve row count just after running the query.


git-svn-id: svn://localhost/gambas/trunk@5685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-28 23:17:32 +00:00
Benoît Minisini
0812020209 [CONFIGURATION]
* NEW: Update VERSION file.

[DEVELOPMENT ENVIRONMENT]
* BUG: If the desktop password wallet is not available, do not crash 
  anymore, but display an error message instead.

[INTERPRETER]
* BUG: Some fixes in Application_Error method management.

[GB.EVAL.HIGHLIGHT]
* BUG: Some fixes in HTML highlighting.

[GB.QT.4.EXT]
* NEW: Editor: jumping to the next procedure from the current one now goes 
  to the end of the file.


git-svn-id: svn://localhost/gambas/trunk@5684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-28 20:48:43 +00:00
Benoît Minisini
1601ba5519 [DEVELOPMENT ENVIRONMENT]
* BUG: If the master of the form editor selection is removed, select a new
  master in the renaming selection if possible. Otherwise, the selection is
  not in a coherent state, which makes undo/redo crash.


git-svn-id: svn://localhost/gambas/trunk@5683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-27 08:16:30 +00:00
Benoît Minisini
9684c17a96 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix Undo/Redo of newly created controls having a Text property.


git-svn-id: svn://localhost/gambas/trunk@5682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 11:40:25 +00:00
Benoît Minisini
08a1345950 [INTERPRETER]
* BUG: Prevent Application_Error from being called recursively.


git-svn-id: svn://localhost/gambas/trunk@5681 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 11:18:55 +00:00
Tobias Boege
8fbbf67c59 [CONFIGURATION]
* BUG: Revert rev#5679 as it was unneeded.



git-svn-id: svn://localhost/gambas/trunk@5680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 10:20:25 +00:00
Tobias Boege
0bb521e279 [CONFIGURATION]
* BUG: Make {gba,gbc,gbi,gbx}.c depend on trunk_version.h so that they are
  rebuilt when it changes in order to always show the correct version.



git-svn-id: svn://localhost/gambas/trunk@5679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 09:14:51 +00:00
Benoît Minisini
daaf410362 [DEVELOPMENT ENVIRONMENT]
* NEW: If the IDE throws an uncatched error, try to save all modified files
  before aborting.

[INTERPRETER]
* NEW: If a static public method named Application_Error() is defined in 
  the startup class, then this method will be called when an unhandled 
  error is thrown, just before the program is aborted.


git-svn-id: svn://localhost/gambas/trunk@5678 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-25 14:00:40 +00:00
Benoît Minisini
47d9021e13 [CONFIGURATION]
* BUG: Forgot to make the 'trunk_version.h' rule phony.


git-svn-id: svn://localhost/gambas/trunk@5677 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-25 13:30:06 +00:00
Benoît Minisini
26a85ce106 [CONFIGURATION]
* NEW: The trunk version is now generated at compilation time through 
  custom rules and a generated include in the Makefile.am file.

[EXAMPLES]
* NEW: Use the new HttpClient Progress event and its properties in the 
  HttpGet networking example.


git-svn-id: svn://localhost/gambas/trunk@5676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-25 13:23:39 +00:00
Benoît Minisini
4e5099500a [GB.NET.CURL]
* NEW: HttpClient Progress event is raised now.
* BUG: FtpClient and HttpClient Progress event work as expected now.


git-svn-id: svn://localhost/gambas/trunk@5675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-24 22:23:22 +00:00
Benoît Minisini
1da147d6e5 [CONFIGURATION]
* NEW: The trunk version is now put in the 'config.h' file of the /main 
  source directory. No compilation flag is used anymore.
* NEW: All Gambad executables return the trunk revision number when they 
  are called with the '-V' option.

[GB.WEB]
* BUG: The Request.Fields property now can be read without reading the 
  value of a request field first.


git-svn-id: svn://localhost/gambas/trunk@5674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-22 23:03:48 +00:00
Tobias Boege
947c357489 [CONFIGURATION]
* BUG: Execute the svn command for TRUNK_VERSION within the C locale to
  avoid surprises when grepping the output.



git-svn-id: svn://localhost/gambas/trunk@5673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-22 17:33:17 +00:00
Tobias Boege
2217b3d6f0 [CONFIGURATION]
* BUG: Define the TRUNK_VERSION macro in gbx's Makefile.am which is less
  error-prone and other parts of the build process won't use it anyway.
  automake thinks that the $(shell ...) call shall a variable and warns but
  that can safely be ignored I think.



git-svn-id: svn://localhost/gambas/trunk@5672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-22 14:29:01 +00:00
Tobias Boege
ee1e208d52 [CONFIGURATION]
* BUG: Try to remove whitespace before TRUNK_VERSION once for all.



git-svn-id: svn://localhost/gambas/trunk@5671 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-21 15:54:26 +00:00