Commit graph

2833 commits

Author SHA1 Message Date
Benoît Minisini
9fa35120a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Profiling: The total function duration is now the same as the sum of 
  each line of code duration.

[WEBSITE MAKER]
* NEW: Add a "Release Notes" link in the menu panel.

[GB.DEBUG]
* NEW: Optimize the profile file format a bit.


git-svn-id: svn://localhost/gambas/trunk@4751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 11:35:13 +00:00
Fabien Bodard
1a9e4d94ca [DEVELOPMENT ENVIRONMENT]
* BUG: Another bug removed, on the ReportBOrder dialog, about the sync.


git-svn-id: svn://localhost/gambas/trunk@4750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 09:02:51 +00:00
Fabien Bodard
d9c4408f7c [DEVELOPMENT ENVIRONMENT]
* BUG: The report border dialog work well now


git-svn-id: svn://localhost/gambas/trunk@4749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 08:06:32 +00:00
Benoît Minisini
70afe05d8d [DEVELOPMENT ENVIRONMENT]
* NEW: Handle new format of profile files.

[INTERPRETER]
* NEW: ON ... GOTO and ON ... GOSUB instructions.

[WEBSITE MAKER]
* NEW: An explicit link button that displays the 'news' page.

[COMPILER]
* NEW: ON ... GOTO and ON ... GOSUB instructions.

[GB.DEBUG]
* NEW: New format for profile, more compact and faster to read.


git-svn-id: svn://localhost/gambas/trunk@4748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-21 01:09:35 +00:00
Benoît Minisini
b5c6820986 [INTERPRETER]
* NEW: Allow to profile time spent waiting for events.

[GB.DEBUG]
* BUG: New profile file format that allows to profile lines of code that
  are function calls.

[GB.GTK]
* NEW: Profile time spent waiting for events.

[GB.QT4]
* NEW: Profile time spent waiting for events.


git-svn-id: svn://localhost/gambas/trunk@4747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 17:58:34 +00:00
Benoît Minisini
f40a93a398 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatically delete profile files not in used just before running 
  a project.
* BUG: Automatically close profile windows when another project is opened.

[GB.FORM]
* BUG: GridView.AutoResize property now works correctly.
* BUG: GridView: Automatic column widths now take the sorted indicator into 
  account.

[GB.GTK]
* BUG: Automatic pointer grab on mouse events now do not confuse TreeView
  and ColumnView controls anymore.


git-svn-id: svn://localhost/gambas/trunk@4746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 15:04:04 +00:00
Benoît Minisini
f93affd8e9 [DEVELOPMENT ENVIRONMENT]
* NEW: Display callees and callers in the profile window.
* NEW: Display profiling of each line of code.

[INTERPRETER]
* NEW: Activate profiling at the line of code level. Beware, things become
  slower!

[GB.DEBUG]
* NEW: Fix profiling at the line of code level.

[GB.FORM]
* NEW: GridView: Add a Scroll() method.

[GB.QT4.EXT]
* NEW: Editor: Add a ScrollBar property.
* NEW: Editor: Add ScrollX and ScrollY properties.
* NEW: Editor: Add a Scroll method.


git-svn-id: svn://localhost/gambas/trunk@4745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 02:21:43 +00:00
Benoît Minisini
be04525e53 [INTERPRETER]
* BUG: Html$() works correctly again.


git-svn-id: svn://localhost/gambas/trunk@4744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 23:10:12 +00:00
Benoît Minisini
e95ebcae24 [INTERPRETER]
* NEW: Base64() is a new function to encode a string in Base64.
* NEW: UnBase64() is a new function to decode a Base64 string.
* BUG: Eval() is correctly profiled now.

[COMPILER]
* NEW: Base64() is a new function to encode a string in Base64.
* NEW: UnBase64() is a new function to decode a Base64 string.


git-svn-id: svn://localhost/gambas/trunk@4743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 21:35:26 +00:00
Benoît Minisini
f4e30d90a9 [DEVELOPMENT ENVIRONMENT]
* NEW: History has been implemented in profiling windows.

[GB.GTK]
* NEW: Desktop.HasSystemTray is a new property that returns if a system 
  tray has been detected.

[GB.QT4]
* NEW: Desktop.HasSystemTray is a new property that returns if a system 
  tray has been detected.
* BUG: If there is no system tray, showing a TrayIcon now raises an error
  instead of crashing.


git-svn-id: svn://localhost/gambas/trunk@4742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 12:54:48 +00:00
Benoît Minisini
8b6cf089ae [INTERPRETER]
* NEW: gb.ShortDate and gb.MediumDate predefined date formats now always 
  display years with four digits.


git-svn-id: svn://localhost/gambas/trunk@4741 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 12:15:51 +00:00
Benoît Minisini
07387ff660 [DEVELOPMENT ENVIRONMENT]
* NEW: Add some debugging options directly in the 'Debug' menu.
* NEW: A new option to activate the profiling of the debugged project.
* NEW: Profiling windows. Not finished yet.

[INTERPRETER]
* BUG: Fix a crash that could occur if a error is raised inside an event 
  handler.
* NEW: Support for profiling.
* BUG: Fix a crash that could occur if a error is raised inside a signal
  callback.

[GB.DEBUG]
* NEW: Support for profiling.

[GB.FORM]
* NEW: GridView now raises a Sort event when the sort properties are 
  changed.
* BUG: Fix a crash when changing the IconPanel Count property.

[GB.GTK]
* BUG: Fix the Font.Copy() method.


git-svn-id: svn://localhost/gambas/trunk@4740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 02:55:05 +00:00
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Benoît Minisini
d1fb3b885e [GB.GTK]
* BUG: Fix ScreenX and ScreenY properties for Window controls.
* BUG: Consequently, windows with a menu bar work correctly again.
* NEW: MovieBox is not opaque anymore.


git-svn-id: svn://localhost/gambas/trunk@4738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-17 21:31:18 +00:00
Adrien Prokopowicz
95f477ead0 [GB.XML]
OPT : A few compilation optimizations in headers inclusions.
OPT : Use of separated internal classes of gambas objects. This might prevent from a lot of problems.
OPT : Strings are not stored as wchar_t* anymore, but as simple char*, and are converted only when necessary (like UTF8 characters verification).
OPT : Does not use STL classes anymore. They are too slow.  Uses now handmade classes.
OPT : Nodes are now internally linked to their brothers, so it makes find them really fasters, and allows no longer use of external linked list.
OPT : When creating new nodes, linked Gambas objects are created only when necessary, so it makes internals instanciations very faster (such as the parser).
OPT : Handmade string/memory classes and functions are now separated from the main.cpp component file.
OPT : Use specialized memory management functions (like memcpy, memchr ...) into the parser. They are really faster than C loops, and speeds up the parser for documents that have a lot of plain text.
OPT : Internally, the stream parser (XmlReader) takes only one char, not a unuseful wole string object.
OPT : Does not updates debugging data when parsing a file. They will be generated only if an error is raised (not implemented yet). It will allow a speedier parser and more precise informations.
BUG : When loading a document from a file, now correctly releases the file data.
BUG : Solved a few XmlReader uninitialized variables, that could make the stream parser crash or returns strange results.

git-svn-id: svn://localhost/gambas/trunk@4737 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-17 20:49:54 +00:00
Benoît Minisini
3f26a4e538 [INTERPRETER]
* BUG: Disable debugging messages in signals management routines.


git-svn-id: svn://localhost/gambas/trunk@4736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-16 22:47:16 +00:00
Benoît Minisini
217c3d9f94 [INTERPRETER]
* BUG: Activate debugging messages in signal management routines.

[GB.GTK]
* NEW: Implement the _NET_MOVERESIZE_WINDOW way of moving windows.
* BUG: Window state (Minimized, Maximized and FullScreen properties) is now 
  accurately returned.


git-svn-id: svn://localhost/gambas/trunk@4735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-16 21:42:28 +00:00
Benoît Minisini
4a52486b1d [INTEPRETER]
* BUG: Fix race conditions in signals management routines.


git-svn-id: svn://localhost/gambas/trunk@4734 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-16 18:05:57 +00:00
Laurent Carlier
4a91059623 ...and another typo from #4730... sorry!!!!
git-svn-id: svn://localhost/gambas/trunk@4732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 08:17:51 +00:00
Laurent Carlier
6cb7591fad Fix Copy&Paste error from #4730
git-svn-id: svn://localhost/gambas/trunk@4731 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 07:56:55 +00:00
Laurent Carlier
9b235b37a4 [GB.PDF]
* BUG: Fix building with poppler-0.20.x

/!\ this changes are not yet tested /!\


git-svn-id: svn://localhost/gambas/trunk@4730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 07:32:03 +00:00
Benoît Minisini
c095cd3f98 [EXAMPLES]
* NEW: PhotoTouch and MediaPlayer examples now use the gb.gui component.

[GB.GTK]
* NEW: Make GTK+ controls borderless, so that they are "transparent" like 
  gb.qt4 controls. This is work in progress! The PhotoTouch example now 
  works correctly with gb.gtk, the brightness dialog excepted.
* BUG: ScrollBars are correctly initalized now.
* BUG: Container.Find() does not take hidden controls into account anymore.

[GB.IMAGE]
* BUG: Image.Opacity() can handle images with premultiplied alpha correctly 
  now.

[GB.FORM]
* BUG: IconView: Item text is ellipsized without printing GTK+ warnings 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@4729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 01:22:45 +00:00
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