Commit graph

845 commits

Author SHA1 Message Date
Laurent Carlier
fe929cce9e [GB.OPENGL]
* NEW: Add dependency to glew library.
* NEW: New method Gl.GetString() for Gl.GL_VENDOR, ....

[GB.OPENGL.GLSL]
* NEW: New component to use shaders.

- Some code cleanup, add add more constants support for Gl.GetXXXX
- Still missing some features to plainly use shaders, not fully tested
  but it's building fine :-p 


git-svn-id: svn://localhost/gambas/trunk@2510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 11:34:17 +00:00
Laurent Carlier
0f259a6c28 [GB.QT.OPENGL]
* NEW: Add dependency to libglew, needed for gb.opengl component.



git-svn-id: svn://localhost/gambas/trunk@2509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 10:03:16 +00:00
Laurent Carlier
63d43018fa [GB.QT4.OPENGL]
* NEW: Add dependency to libglew, needed for gb.opengl component.



git-svn-id: svn://localhost/gambas/trunk@2508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:56:17 +00:00
Laurent Carlier
aaeaf5e5bc [GB.SDL]
* NEW: Add dependency to libglew, needed for gb.opengl component.

libglew : http://glew.sourceforge.net/



git-svn-id: svn://localhost/gambas/trunk@2507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:23:24 +00:00
Benoît Minisini
93969ee0b3 [GB.QT4]
* BUG: Fix Error signal management in Embedded control.


git-svn-id: svn://localhost/gambas/trunk@2506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:19:51 +00:00
Benoît Minisini
47d0aa711c [CONFIGURATION]
* NEW: Architecture detection.
* NEW: Updated libtool macros.

[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.

[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.

[GB.DRAW]
* NEW: Start implementing the new Paint interface.

[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 02:02:05 +00:00
Fabien Bodard
3bc2b33d1b [GB.CHART]
* BUG: Replace the obsolete BackColor ans ForeColor by BackGround ans ForeGround


git-svn-id: svn://localhost/gambas/trunk@2502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-23 18:41:44 +00:00
Fabien Bodard
268ef0d6bd [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to add a tree in the help explorer
  not finished yet


git-svn-id: svn://localhost/gambas/trunk@2498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-17 11:34:54 +00:00
Laurent Carlier
88163aa9de [GB.OPENGL]
* BUG: Fix gluPickMatrix typo.


git-svn-id: svn://localhost/gambas/trunk@2497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-15 23:37:06 +00:00
Fabien Bodard
8e2f604110 [DEVELOPMENT ENVIRONMENT]
* BUG: The help on the line of declarations is correctly detected again


git-svn-id: svn://localhost/gambas/trunk@2496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-15 08:03:06 +00:00
Benoît Minisini
f4139e1c7b [DEVELOPMENT ENVIRONMENT]
* NEW: Display help on local variables in automatic completion.
* NEW: Enhance the help wiki syntax. Links in uppercase are supposed to be 
  language keywords. And lines beginning with "+" are titles.

[WIKI CGI SCRIPT]
* NEW: Online help pages now stay in the cache during one week.

[EXAMPLES]
* BUG: The HighlightEditor example now uses Qt4.

[GB.EVAL]
* BUG: Help comments are correctly highlighted in all cases now.

[GB.FORM]
* BUG: Balloons are drawn correctly again.

[GB.QT4.EXT]
* BUG: Many bug fixes in Editor rendering.


git-svn-id: svn://localhost/gambas/trunk@2495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-15 00:06:54 +00:00
Benoît Minisini
0c1b17316e [DEVELOPMENT ENVIRONMENT]
* NEW: Syntax highlighting for help comments.
* NEW: Implement a wiki-like syntax inside help comments.

[GB.EVAL]
* NEW: Syntax highlighting for help comments.

[GB.QT4]
* NEW: The TextArea.Line and TextArea.Column properties has been 
  implemented.

[GB.QT4.EXT]
* NEW: Syntax highlighting for help comments in Editor.
* OPT: Editor view has been redesigned to inherit directly Q3ScrollView 
  instead of Q3GridView.
* BUG: The editor background color has no impact anymore on the editor 
  frame.


git-svn-id: svn://localhost/gambas/trunk@2494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-14 03:45:22 +00:00
Benoît Minisini
d7879986d8 [DEVELOPMENT ENVIRONMENT]
* NEW: Document a method for Fabien.


git-svn-id: svn://localhost/gambas/trunk@2493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 15:50:45 +00:00
Benoît Minisini
fb73954f71 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the signature of project symbols in the popup help.

[GB.WEB]
* BUG: Remove the Response.Cache property. HTTP caching headers are more 
  complex than I thought first.

[GB.QT4]
* BUG: Background and Foreground colors should now be handled correctly in 
  all controls.

[GB.QT4.EXT]
* BUG: The background color of the Editor control has been fixed, but it 
  has the same problem as the TextBox control one: the frame is not drawn 
  differently from the inside.


git-svn-id: svn://localhost/gambas/trunk@2492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 15:17:03 +00:00
Fabien Bodard
72d312c97e [INTERPRETER]
* BUG: Now the stack spliter is correcly set in all case.
  The entry in conf file must be corrected or conf file removed.


git-svn-id: svn://localhost/gambas/trunk@2491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 14:03:00 +00:00
Fabien Bodard
80352aab2f [DEVELOPMENT ENVIRONMENT]
* BUG: Now in DebugInfo the Setting default value is correctly set, 
  so we can see the stack backtrace.


git-svn-id: svn://localhost/gambas/trunk@2490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 08:32:11 +00:00
Benoît Minisini
2eba40e822 [CONFIGURATION]
* NEW: The online help has been removed.


git-svn-id: svn://localhost/gambas/trunk@2488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 11:45:36 +00:00
Benoît Minisini
0c332870af [DEVELOPMENT ENVIRONMENT]
* BUG: Use gb.qt4 instead of gb.qt when creating a new Qt project.


git-svn-id: svn://localhost/gambas/trunk@2487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 11:41:40 +00:00
Benoît Minisini
50f9daa29d [DEVELOPMENT ENVIRONMENT]
* NEW: Use the class or symbol title as link to their definition in the 
  source code.


git-svn-id: svn://localhost/gambas/trunk@2486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 11:24:12 +00:00
Fabien Bodard
310bebcd77 [DEVELOPMENT ENVIRONMENT]
* NEW: Now they are links in the local symbols doc that lead
  to the symbol definition. and same for classes


git-svn-id: svn://localhost/gambas/trunk@2485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 09:47:49 +00:00
Fabien Bodard
26846122d7 [DEVELOPMENT ENVIRONMENT]
* NEW: The local classes have now theire own help too.
* BUG: Fixed little things in the symbols help detection.


git-svn-id: svn://localhost/gambas/trunk@2484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 09:04:26 +00:00
Benoît Minisini
23db05d0f2 [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in help on project symbols.
* BUG: F2 (Find definition) now uses the help browser to display help on 
  classes and symbols.
* NEW: A new button in the help browser to modify the current 
  documentation page, by opening an external web browser for that.

[GB.EVAL]
* NEW: System.Datatypes is a new property that return a list of all native 
  datatypes.

[GB.WEB]
* NEW: Start implementing some HTTP cache management in the Response class.


git-svn-id: svn://localhost/gambas/trunk@2483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 02:58:12 +00:00
Benoît Minisini
1718c90a0e [DEVELOPMENT ENVIRONMENT]
* BUG: The CSymbolInfo.HelpLineNumber was removed, so remove the code that 
  uses it.


git-svn-id: svn://localhost/gambas/trunk@2482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 23:10:34 +00:00
Fabien Bodard
6bd8cee3d3 git-svn-id: svn://localhost/gambas/trunk@2481 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2009-12-11 21:31:36 +00:00
Fabien Bodard
2afade1a70 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the help show local symbols information and user help.
  User help can be set by adding comment with double '' on
  the declaration line or on the previous lines.


git-svn-id: svn://localhost/gambas/trunk@2480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 19:14:10 +00:00
Benoît Minisini
20bfee43f4 [DEVELOPMENT ENVIRONMENT]
* OPT: Use a TextLabel to represent a WebView in the form editor.
* BUG: Fix help browser zoom.

[WIKI CGI SCRIPT]
* NEW: A new Url option (nocache) to prevent HTML caching.
* NEW: gb.qt4 documentation is automatically redirected to the old gb.qt 
  one. And the gb.gtk and gb.gui documentation are redirected to gb.qt4, 
  then gb.qt. Links are correctly converted too.

[GB.DB.FORM]
* BUG: The Color.Mix method has been renamed as Color.Merge. Fix that.

[GB.QT4.WEBKIT]
* NEW: NewFrame is a new event raised by the WebView control when it 
  creates a new frame.
* BUG: The Click event now works, and has one argument that indicates which 
  frame changes its URL.


git-svn-id: svn://localhost/gambas/trunk@2479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 17:45:23 +00:00
Laurent Carlier
757ca2b65d [CONFIGURATION]
* BUG: Forgot to add 'install' flag to libtoolize. Removed m4/ltversion.m4 as it's refreshed by aclocal.


git-svn-id: svn://localhost/gambas/trunk@2478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 13:10:31 +00:00
Laurent Carlier
ccef0025eb [CONFIGURATION]
* NEW: Add flags 'copy' and 'force' to libtoolize, now files config.guess, config.sub, ltmain.sh
       and install-sh are automagicly installed when running 'reconf', so remove them from root tree.



git-svn-id: svn://localhost/gambas/trunk@2477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 13:03:50 +00:00
Fabien Bodard
3da45fff7f [DEVELOPMENT ENVIRONMENT]
* NEW: The popup help is removed from the debug tab.


git-svn-id: svn://localhost/gambas/trunk@2476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 12:38:57 +00:00
Fabien Bodard
e60cca87f9 [GB.FORM]
* BUG: Now some of the mouse events are fired 
  (down, up, drag, wheel)


git-svn-id: svn://localhost/gambas/trunk@2475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 10:26:02 +00:00
Benoît Minisini
68741c58a9 [GB.WEB]
* BUG: Manage Response.Begin and Response.End recursively when the reponse 
  is buffered.


git-svn-id: svn://localhost/gambas/trunk@2474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 15:38:01 +00:00
Benoît Minisini
2c859d6a9a [WIKI CGI SCRIPT]
* NEW: Make pages correctly cachable. Cache expiration is set to one day.
* NEW: New URL flags to hide the title (notitle) or images (noimage).


git-svn-id: svn://localhost/gambas/trunk@2473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 14:28:10 +00:00
Benoît Minisini
9a29cd2043 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the help browser when the embedded property help is hidden.
* NEW: Do not display page title in the embedded property help.
* NEW: Disable the old Fabien's help.


git-svn-id: svn://localhost/gambas/trunk@2472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 14:26:17 +00:00
Benoît Minisini
adeeb68063 [DEVELOPMENT ENVIRONMENT]
* NEW: Implement the property help with a WebView control.
* NEW: Add a button in the option dialog to clear the documentation cache.
* BUG: Correctly display online help on special methods.

[COMPILER]
* BUG: Long integer constants are now compiled correctly in all cases.


git-svn-id: svn://localhost/gambas/trunk@2471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 02:48:25 +00:00
Benoît Minisini
4f3f7a6291 [DEVELOPMENT ENVIRONMENT]
* BUG: The signature popup does not steal the focus anymore.
* BUG: The table chooser dialog has been fixed.
* BUG: The ".connection" directory is now put under version control when 
  created.

[GB.DB.FORM]
* BUG: Clicking on the first row of a DataView in creation state now works 
  correctly.
* BUG: Serial fields are now correctly managed by DataControl controls.


git-svn-id: svn://localhost/gambas/trunk@2469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 23:48:55 +00:00
Benoît Minisini
df61d7457b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion and signature popups.
* NEW: Implement an help browser in an utility window.

[WIKI CGI SCRIPT]
* NEW: Better support for the IDE online help


git-svn-id: svn://localhost/gambas/trunk@2468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 17:34:13 +00:00
Laurent Carlier
7d8c065a8c [CONFIGURATION]
* NEW: Add 'libtoolize --force' to reconf script. It's useful in case of libtool upgrading.

Perhaps it will be good to remove m4/ltversion.m4 as it's updated by libtoolize.


git-svn-id: svn://localhost/gambas/trunk@2467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 15:30:46 +00:00
Benoît Minisini
a20cd6a85f [DEVELOPMENT ENVIRONMENT]
* NEW: Display online help for event handlers.


git-svn-id: svn://localhost/gambas/trunk@2466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 10:37:58 +00:00
Benoît Minisini
e2d716a530 [DEVELOPMENT ENVIRONMENT]
* NEW: Add online help to the signature popup.
* NEW: CLeanup and centralize the online help code.


git-svn-id: svn://localhost/gambas/trunk@2465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 10:17:57 +00:00
Benoît Minisini
08c79e2a09 [DEVELOPMENT ENVIRONMENT]
* NEW: Display online help for all automatic completion contexts.
* BUG: Display online help correctly for language keywords and native 
  datatypes.


git-svn-id: svn://localhost/gambas/trunk@2464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 04:30:56 +00:00
Benoît Minisini
7c290f5c06 [DEVELOPMENT ENVIRONMENT]
* OPT: Share the same completion and signature window between all opened 
  editors.
* BUG: Correctly displays the native datatype help in automatic completion.
* NEW: A new option for enabling the display of online help in automatic 
  completion.
* NEW: A new option not used yet, for defining the default image editor.


git-svn-id: svn://localhost/gambas/trunk@2463 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-08 22:19:03 +00:00
David Villalobos Cambronero
48eb48908b [WIKI CGI SCRIPT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-07 18:55:22 +00:00
David Villalobos Cambronero
e374084531 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-07 18:52:20 +00:00
Benoît Minisini
76275850fb [DEVELOPMENT ENVIRONMENT]
* NEW: The IDE now uses the WebKit component to display an online help 
  directly into the automatic completion popup. The online help management
  is quick and dirty at the moment.
* NEW: The option dialog is being redesigned. Not finished yet...
* NEW: Some cosmetic changes in the user control that displays the 
  information about a project. Not perfect yet.

[WIKI CGI SCRIPT]
* NEW: The wiki now sends the "Last-Modified", "Expires" and 
  "Cache-Control: max-age" headers with the HTML pages.
* NEW: Adding "?help" to an URL returns the page for the IDE online help.

[INTERPRETER]
* BUG: Try to stop breaking strict aliasing rules. This way the interpreter 
  should behave better on ARM architecture.
* BUG: Remove a possible crash when calling a constructor.

[GB.DRAW]
* NEW: The deprecated properties Draw.ForeColor and Draw.BackColor have 
  been removed.

[GB.NET]
* BUG: Do not watch the SerialPort file descriptor for reading if there is 
  no Read event handler.

[GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path is a new property to define the directory 
  used for storing the disk cache contents. If this property is not 
  defined, no cache will be used.
* NEW: WebView.Cached is a new property to tell if the web browser will use
  the disk cache. The WebSettings.Cache.Path *must* be defined before 
  setting that property.
* NEW: WebView.HTML is not read-only anymore.


git-svn-id: svn://localhost/gambas/trunk@2460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-07 17:14:32 +00:00
Benoît Minisini
37af285bba [GB.NET]
* NEW: Port the changes from Gambas 2 and try to clean up the SerialPort 
  source code.
* BUG: Fix a breaking of aliasing rules in DnsClient.

git-svn-id: svn://localhost/gambas/trunk@2458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-06 00:13:05 +00:00
Benoît Minisini
afe086185e [DEVELOPMENT ENVIRONMENT]
* NEW: Take the new organization of constructor arguments into account.

[INTERPRETER]
* NEW: Change the way arguments are consumed by inherited constructors 
  again. Now mandatory and optional arguments are consumed separately.
  Mandatory arguments of all constructors are consumed first, and then
  optional arguments if possible.

[GB.FORM]
* NEW: Take the new organization of constructor arguments into account.


git-svn-id: svn://localhost/gambas/trunk@2453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-01 04:06:21 +00:00
Benoît Minisini
96b97d9f16 [EXAMPLES]
* BUG: Fix the use of Dialog.Filter in the Picture Database example.

[GB.GTK]
* BUG: Splitter works again.

[GB.QT4]
* BUG: The Dialog.Filter property works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 20:56:56 +00:00
Benoît Minisini
c29934025e [DEVELOPMENT ENVIRONMENT]
* BUG: Revert constructor arguments where it is needed in two other places.


git-svn-id: svn://localhost/gambas/trunk@2450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 12:40:44 +00:00
Benoît Minisini
056094e27e [DEVELOPMENT ENVIRONMENT]
* BUG: Revert constructor arguments where it is needed.

[WIKI CGI SCRIPT]
* NEW: Display the CC-BY-SA logo on all pages.

[GB.FORM]
* BUG: Revert constructor arguments where it is needed.

[GB.GTK]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox.

[GB.QT4]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox. Beware that most of Qt4 style do not implement them!


git-svn-id: svn://localhost/gambas/trunk@2449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 04:30:37 +00:00
Benoît Minisini
669820173b [INTERPRETER]
* NEW: The constructor arguments must follow the inheritance order from top 
  to bottom, and not from bottom to top as before. This way, the 
  constructor of the bottom class can have optional arguments.


git-svn-id: svn://localhost/gambas/trunk@2448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 04:25:48 +00:00