Commit graph

2861 commits

Author SHA1 Message Date
Benoît Minisini
96615a348b [GB.NET]
* BUG: ServerSocket: Do not use the static string returned by inet_ntoa() 
  for the Connection event argument. It can be erased by ohter calls to
  inet_ntoa()!


git-svn-id: svn://localhost/gambas/trunk@4728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-13 14:52:21 +00:00
Benoît Minisini
0852b3d4ab [GB.MEDIA]
* BUG: Add some include to try fix compilation error on old distributions.


git-svn-id: svn://localhost/gambas/trunk@4727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-13 14:40:24 +00:00
Benoît Minisini
3279134f5e [GB.FORM]
* BUG: GridView: The WordWrap property is now correctly taken into account 
  for cells having normal text.


git-svn-id: svn://localhost/gambas/trunk@4726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-13 02:53:09 +00:00
Benoît Minisini
5917f3b3fe [INTERPRETER]
* BUG: Fix a crash in the &/ operator.


git-svn-id: svn://localhost/gambas/trunk@4725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-12 23:49:07 +00:00
Benoît Minisini
659f1bf51f [INTERPRETER]
* BUG: Fix a crash when using 'gb.Like' comparison flag.


git-svn-id: svn://localhost/gambas/trunk@4724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-12 12:04:20 +00:00
Benoît Minisini
17f5f0fa0c [GB.MEDIA]
* NEW: MediaControl Tag event now takes a MediaTagList object as argument.
  That object contains all tags received at event time. Not all possible 
  tags are supported yet.

[EXAMPLES]
* NEW: MediaPlayer: Add a panel that displays information about the media
  file get through the Tag event.


git-svn-id: svn://localhost/gambas/trunk@4723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-09 00:47:21 +00:00
Benoît Minisini
4afe7caf6b [INTERPRETER]
* BUG: Disable debugging messages from signal management routines.

[GB.SIGNAL]
* NEW: Call previous signal handlers automatically when a specific signal 
  is catched.


git-svn-id: svn://localhost/gambas/trunk@4722 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-08 17:15:54 +00:00
Benoît Minisini
30f9a40f2b [INTERPRETER]
* NEW: Rename all API related to components, and fix components using them.
* NEW: New signal API that allows to catch signals from the event loop.

[GB.GTK]
* BUG: Use g_object_unref() instead of rsvg_handle_free() now.


git-svn-id: svn://localhost/gambas/trunk@4721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-08 15:32:33 +00:00
Benoît Minisini
06bdf63a4c [GB.SETTINGS]
* NEW: Setting.Clear() without arguments now entirely clears all settings.


git-svn-id: svn://localhost/gambas/trunk@4720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-07 09:20:25 +00:00
Benoît Minisini
8acbd755a2 [GB.GUI.OPENGL]
* NEW: That new switcher component chooses between gb.gtk.opengl and 
  gb.qt4.opengl according to the current desktop in use.


git-svn-id: svn://localhost/gambas/trunk@4719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 21:09:42 +00:00
Benoît Minisini
be3f9198e5 [GB.OPENGL]
* BUG: Fix gb.opengl compilation.


git-svn-id: svn://localhost/gambas/trunk@4718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 18:46:18 +00:00
Benoît Minisini
409f3ed4d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if there is a compilation error in a form file.
* BUG: Autotools packager "make uninstall" should be definitely fixed.

[GB.GTK]
* NEW: A new interface to allow gb.gtk.opengl to create its GLArea widget.

[GB.GTK.OPENGL]
* NEW: New component that allows to do OpenGL with GTK+. It is based on there
  gtkglext library.

[GB.OPENGL]
* BUG: Initialize GLEW once.

[GB.QT4.OPENGL]
* NEW: Remove the Update() and the Select() methods.

[GB.XML.HTML]
* BUG: Don't link against gb.xml anymore as it seems to break on some 
  systems. Wait for a better solution...


git-svn-id: svn://localhost/gambas/trunk@4717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 01:14:57 +00:00
Benoît Minisini
ea6c5f9688 [GB.XML.HTML]
* BUG: Try to bribe libtool so that we can link against gb.xml.


git-svn-id: svn://localhost/gambas/trunk@4716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-05 20:52:42 +00:00
Benoît Minisini
8be12f5027 [DEVELOPMENT ENVIRONMENT]
* NEW: Define the 'Exec' preprocessor constant when making an executable.
* BUG: Packager: Replace spaces with underscores when using the vendor name 
  as package name prefix.
* BUG: Packager: Fix "make uninstall" in autoconf packages.

[INTERPRETER]
* BUG: Allow to override native array classes without crashing.

[COMPILER]
* NEW: New '-x' option to define the 'Exec' preprocessor constant.

[EXAMPLES]
* NEW: MediaPlayer: Real-time seeking.
* NEW: MediaPlayer: Use gb.desktop to suspend the screen saver while 
  playing a media file.


git-svn-id: svn://localhost/gambas/trunk@4715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-05 00:39:43 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
55604a096d [GB.XML.HTML]
* NEW: Make gb.xml.html compile against gb.xml.


git-svn-id: svn://localhost/gambas/trunk@4713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 12:14:32 +00:00
Adrien Prokopowicz
d3cdbcfdde [GB.XML.XSLT]
* BUG : Solved a 'undefined symbol' error.

git-svn-id: svn://localhost/gambas/trunk@4712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-03 11:26:36 +00:00
Benoît Minisini
826fd20bfb [EXAMPLES]
* BUG: MediaPlayer: Forgot to add a picture.


git-svn-id: svn://localhost/gambas/trunk@4711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-03 09:35:31 +00:00
Benoît Minisini
bb46919337 [EXAMPLES]
* NEW: MediaPlayer: Add volume support.
* NEW: MediaPlayer: Add many visualisation plugins.

[GB.MEDIA]
* BUG: MediaPlayer: Fix Audio.Current, Video.Current and Subtitle.Current
  properties.
* BUG: MediaPlayer: Fix Audio.Mute property.
* NEW: MediaControl: Add a Tag property.


git-svn-id: svn://localhost/gambas/trunk@4710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 23:22:13 +00:00
Adrien Prokopowicz
fc59f111f2 [GB.XML.HTML]
BUG : the output parser now takes into account HTML tags that must be self-closed (<br />, <meta />, <base />, <link /> ...).

git-svn-id: svn://localhost/gambas/trunk@4709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 14:08:31 +00:00
Benoît Minisini
15c6faaa0c [EXAMPLES]
* NEW: Use "wavescope" plugin to visualize audio files.


git-svn-id: svn://localhost/gambas/trunk@4708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 11:47:04 +00:00
Benoît Minisini
1bf7b3c62e [GB.QT4]
* BUG: Fix Makefile.am.


git-svn-id: svn://localhost/gambas/trunk@4707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 11:34:38 +00:00
Benoît Minisini
88c69c85ba [EXAMPLES]
* NEW: New MediaPlayer example based on the new gb.media GStreamer 
  component.

[GB.GTK]
* BUG: Utility windows are make transient the same way as in gb.qt4.

[GB.MEDIA]
* NEW: MediaControl.SetWindow() is a new method to associate a GUI control
  to a GStreamer plugin implementing the 'X overlay' interface.


git-svn-id: svn://localhost/gambas/trunk@4706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 11:34:03 +00:00
Benoît Minisini
c253df3862 [EXAMPLES]
* NEW: Remove Sound and Video folders.


git-svn-id: svn://localhost/gambas/trunk@4705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-01 21:16:46 +00:00
Benoît Minisini
2ed966336b [EXAMPLES]
* NEW: Move Sound and Video examples to a new Multimedia folder.


git-svn-id: svn://localhost/gambas/trunk@4704 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-01 21:12:06 +00:00
Benoît Minisini
913b379270 [GB.MEDIA]
* NEW: Invert the argument order (again) in MediaControl constructor. The
  parent comes first, the control type next.
* NEW: Now the MediaControl link methods are LinkTo() and LinkLaterTo().
  LinkTo() has two optional arguments that allows to link specific inputs 
  and outputs by name. LinkLaterTo() link to another control just after a
  new pad has been internally added.
* NEW: MediaContainer got two new methods, AddInput() and AddOutput(), to
  create ghost pads, i.e. symbolic links on child inputs or outputs. By
  default a MediaContainer has no input and no output.
* NEW: Media.URL() is a new method that returns a GStreamer URL from a file
  path. If the file path is relative (i.e. a file inside the project), a
  temporary copy of the project file is made and returned.
* NEW: MediaPlayer got new properties to redefine its input, video output, 
  audio output and subtitle output.
* NEW: MediaPlayer.Video.Visualisation is a new property that defines an
  optional visualisation plugin used when there is no video to play.
* BUG: The MediaPlayer SourceSetup event has been removed, because the
  underlying signal must be handled immediately in thread context, 
  otherwise it is useless.


git-svn-id: svn://localhost/gambas/trunk@4703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-01 20:49:32 +00:00
Benoît Minisini
048bfca9b5 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not handle Data event of controls in the form editor, because the
  signature of the event handler depends on the control type.
* BUG: Handle errors when loading a new project file correctly again.


git-svn-id: svn://localhost/gambas/trunk@4702 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-01 00:49:01 +00:00
Benoît Minisini
4c727cc4fd [GB.MEDIA]
* NEW: A new MediaPlayer control that encapsulates the "playbin2" 
  gstreamer plugin inside a nice interface.
* NEW: MediaControl.Inputs and MediaControl.Outputs are two new properties 
  that return the list of sinks and sources of the control.


git-svn-id: svn://localhost/gambas/trunk@4701 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-01 00:42:37 +00:00
Tobias Boege
492de27fda [GB.NCURSES]
* NEW: Window class now inherits Stream
* NEW: Renamed Window.Flush() to Window.Drain() to not have it confused
  with the stream Flush instruction
* NEW: Window.Background and .Foreground properties now work
* NEW: Window.Attributes.Color changed internal behaviour to interoperate
  with .Background and .Foreground properties
* NEW: Now using ncurses extensions to colour support
* BUG: Corrected typo in ContainerW property name



git-svn-id: svn://localhost/gambas/trunk@4700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 20:31:35 +00:00
Adrien Prokopowicz
d76e97be7d [GB.XML.HTML]
* BUG : XmlElement inherited methods and properties now works correctly.

git-svn-id: svn://localhost/gambas/trunk@4699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 14:01:03 +00:00
Benoît Minisini
5e35089241 [DEVELOPMENT ENVIRONMENT]
* BUG: Making executable works again.


git-svn-id: svn://localhost/gambas/trunk@4698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 11:33:15 +00:00
Adrien Prokopowicz
d9b20c0948 [GB.XML]
* BUG : XmlDocument.Content (and similar) now works correctly.

git-svn-id: svn://localhost/gambas/trunk@4697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 11:12:34 +00:00
Benoît Minisini
513015d055 [GB.MEDIA]
* BUG: Several fixes in message management, state management.
* BUG: MediaControl.Type works as expected.
* BUG: Don't query in Position and Duration properties if an error message
  has been received.


git-svn-id: svn://localhost/gambas/trunk@4696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 10:46:36 +00:00
Benoît Minisini
c2eff61c72 [GB.MEDIA]
* NEW: Update component and commit source files.


git-svn-id: svn://localhost/gambas/trunk@4695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 09:48:38 +00:00
Benoît Minisini
9a89d4c65b [GB.FORM]
* BUG: The last column of a GridView with AutoResize set is not frozen 
  anymore when the number of columns grows.


git-svn-id: svn://localhost/gambas/trunk@4694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 00:33:13 +00:00
Benoît Minisini
a6e9f61ee1 [CONFIGURATION]
* NEW: Update *.component files to the new format.
* BUG: Fix component TEMPLATE directory.

[EXAMPLES]
* NEW: PhotoTouch: Display the browsed directory path.

[INTERPRETER]
* NEW: Change the 'main' hook syntax. Add a macro to call the previous 
  'main' hook, so that several hooks can be declared.

[GB.MEDIA]
* NEW: New multimedia component based on GStreamer.

[GB.GTK]
* BUG: Fix timer management so that it is compatible with the GB.Every()
  interpreter API.
* NEW: Allows multiple 'main' hooks.

[GB.QT4]
* NEW: Allows multiple 'main' hooks.


git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 00:04:51 +00:00
Adrien Prokopowicz
5241ca29f0 [GB.XML]
* NEW : Two consecutives whitespaces (spaces, line-breaks ans tabulations) are now ignored.
* OPT : Parser now proceeds faster, and so parsing raw text is very faster.
* OPT : For input text, does not uses std::string anymore.
* OPT : For object instanciation, does not uses GB.FindClass() anymore (keeps results at component initialization).

git-svn-id: svn://localhost/gambas/trunk@4692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-29 23:51:39 +00:00
Adrien Prokopowicz
a976fc3266 [GB.XML]
* BUG : Solved a few bugs in UTF8 characters management.

git-svn-id: svn://localhost/gambas/trunk@4691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-29 19:31:18 +00:00
Adrien Prokopowicz
c23b8fab9f [GB.XML]
* OPT : Optimized memory management when converting input UTF-8 strings. The parser (i.e. Open(), FromString(), FromText() and similar methods) is now 15 times faster than before !

git-svn-id: svn://localhost/gambas/trunk@4690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-29 16:46:18 +00:00
Benoît Minisini
9a4019ba1e [INTERPRETER]
* BUG: The byte position to utf-8 position caching routine now works in all 
  cases.


git-svn-id: svn://localhost/gambas/trunk@4689 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-29 00:24:14 +00:00
Benoît Minisini
8fc3cb2d90 [INTERPRETER]
* BUG: Fix precision in both string to Float and Float to string 
  conversions.


git-svn-id: svn://localhost/gambas/trunk@4688 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-28 15:08:24 +00:00
Benoît Minisini
b8ab46d135 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a "project type" option in the project properties dialog. It 
  makes the difference between a normal project, a library project, and a
  component project.
* NEW: The packager takes the project type into account. A library and a
  component do not install a *.desktop file, has no icon and has no menu 
  entry. But a library has the same package name than a normal project.


git-svn-id: svn://localhost/gambas/trunk@4687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-28 13:09:21 +00:00
Benoît Minisini
f3645e57f7 [INTERPRETER]
* BUG: Fix string to Float parser again.


git-svn-id: svn://localhost/gambas/trunk@4686 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-28 02:53:51 +00:00
Benoît Minisini
3521ec2b25 [INTERPRETER]
* BUG: Ignore non-significant decimal digits when converting a String to a 
  Float. In other words, now 2.0 = 2.


git-svn-id: svn://localhost/gambas/trunk@4685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-28 02:31:48 +00:00
Benoît Minisini
6333ee7a1f [EXAMPLES]
* NEW: Some little fixes in PhotoTouch example.


git-svn-id: svn://localhost/gambas/trunk@4684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-27 17:11:18 +00:00
Benoît Minisini
2ac8f35356 [EXAMPLES]
* NEW: Some fixes and new keyboard shortcuts in the PhotoTouch example.


git-svn-id: svn://localhost/gambas/trunk@4683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-27 12:56:47 +00:00
Benoît Minisini
ff16e33c73 [DEVELOPMENT ENVIRONMENT]
* BUG: When creating dependencies on libraries, the packager now takes into 
  account if the library package name is prefixed with the vendor name.
* BUG: Now always use the release version number in the package name, 
  otherwise the Debian/Ubuntu packager cannot compare versions reliably.
* BUG: Fix XML component names.


git-svn-id: svn://localhost/gambas/trunk@4682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-27 02:56:41 +00:00
Benoît Minisini
1789fd1045 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix dependencies on libraries in the packager.


git-svn-id: svn://localhost/gambas/trunk@4681 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-27 02:40:27 +00:00
Adrien Prokopowicz
830375e4db [GB.XML.HTML]
* BUG : Using an HtmlDocument raised a segfault.

git-svn-id: svn://localhost/gambas/trunk@4680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 23:53:21 +00:00
Benoît Minisini
fe80c39a69 [INTERPRETER]
* BUG: Remove the use and the definition of long double mathematic 
  functions. They are not used anymore.


git-svn-id: svn://localhost/gambas/trunk@4679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 21:12:03 +00:00