cl-smoke now supports user conversions for return values. --> to head
Sat Apr 3 21:12:53 CEST 2010 Tobias Rautenkranz <tobias@rautenkranz.ch>
* KDE is split up in kde.ui and kde.core.
hunk ./introduction.xml 106
+ <note>
+ <para>
+ There are also the following repositories: qt.svg qt.dbus kde.core kde.ui kde.tests kde.examples
+ </para>
+ </note>
hunk ./kde.xml 6
-<caution>
hunk ./kde.xml 7
- The KDE bindings are not yet split up in <package>kde.core</package>
- etc. and thus are currently not functional.
+To use the KDE libraries use the <package>:cl-smoke.kde.ui</package>
+(Depends on <package>:cl-smoke.kde.core</package>).
hunk ./kde.xml 10
-</caution>
hunk ./kde.xml 11
-Besides the <package>:kde</package> package there
+Besides these packages there
hunk ./kde.xml 20
-(mb:load <package>:kde.examples</package>)
+(asdf:oos 'asdf:load-op <package>:cl-smoke.kde.examples</package>)
hunk ./qt.xml 64
+<para>
+Custom <methodname>cxx:paint-event</methodname> methods can use <macro>qt:with-painter</macro>
+to ensure that the <classname>qt:painter</classname> is deactivated at the end of the method.
+</para>
+
Sat Apr 3 21:12:32 CEST 2010 Tobias Rautenkranz <tobias@rautenkranz.ch>
* C++ member variable access
hunk ./smoke.xml 215
+<section id="members"><title>Member variables</title>
+<para>
+C++ member variables of an instance can be accessed by using <code>slot-value</code>; e.g.:
+<informalexample>
+<programlisting language="lisp">(slot-value (make-instance 'qt:object) :static-meta-object)</programlisting>
+</informalexample>
+or
+<informalexample>
+<programlisting language="lisp">(slot-value (find-class 'qt:object) :static-meta-object)</programlisting>
+</informalexample>
+Usually they can also be accessed using methods from the <package>:cxx</package> package.
+</para>
+</section>
+
Sun Jan 10 09:57:54 CET 2010 Tobias Rautenkranz <tobias@rautenkranz.ch>
* modular smoke.
hunk ./introduction.xml 27
- <listitem><para>10 seconds startup time<footnote>
+ <listitem><para>6 seconds startup time<footnote>
hunk ./introduction.xml 33
- Pentium M 1.7GHz. (Compilation ~20 seconds)</para></listitem>
+ Pentium M 1.7GHz. </para></listitem>
hunk ./introduction.xml 52
- bindings from svn; r1061660 or later
+ bindings from svn.
hunk ./introduction.xml 62
- <listitem><para>a make program (preferably Gnu Make)</para></listitem>
hunk ./introduction.xml 102
-for r in smoke qt qt.test qt.tests qt.examples qt.uitools qt.webkit qt.phonon; do
+for r in smoke qt.core qt.gui qt.network qt.test qt.tests qt.examples qt.uitools qt.webkit qt.phonon; do
hunk ./introduction.xml 108
- Build and install the <package>:smoke</package> and <package>:qt</package> C wrapper libraries with:
+ Build and install the <package>:smoke</package> and <package>:qt.core</package> C wrapper libraries with:
hunk ./introduction.xml 116
- should be able to load the systems.
+ should be able to load the systems. The system name has a
+ <code>:cl-smoke.</code> prefix. e.g.:
+ <informalexample>
+ <programlisting language="lisp">(asdf:oos 'asdf:load-op :cl-smoke.qt.examples) </programlisting>
+ </informalexample>
hunk ./kde.xml 6
+<caution>
+<para>
+ The KDE bindings are not yet split up in <package>kde.core</package>
+ etc. and thus are currently not functional.
+</para>
+</caution>
hunk ./qt.xml 7
-Besides the <package>:qt</package> there are these modules: with
+Besides the <package>:cl-smoke.qt.gui</package> there are these modules:
hunk ./qt.xml 10
- <package>:qt.uitools</package>
+ <package>:cl-smoke.qt.uitools</package>
hunk ./qt.xml 13
- <listitem><para><package>:qt.test</package>
+ <listitem><para><package>:cl-smoke.qt.test</package>
hunk ./qt.xml 16
- <listitem><para><package>:qt.webkit</package>
+ <listitem><para><package>:cl-smoke.qt.webkit</package>
hunk ./qt.xml 20
- <listitem><para><package>:qt.phonon</package>
+ <listitem><para><package>:cl-smoke.qt.phonon</package>
hunk ./qt.xml 24
+ <listitem><para><package>:cl-smoke.qt.network</package>
+ The network classes of Qt.
+ </para></listitem>
+ <listitem><para><package>:cl-smoke.qt.core</package>
+ the nogui Qt core.
+ </para></listitem>
hunk ./qt.xml 36
-Additionally there is the <package>:qt.tests</package> system, containing
-the unit tests and <package>:qt.examples</package> for various examples.
+Additionally there is the <package>:cl-smoke.qt.tests</package> system, containing
+the unit tests and <package>:cl-smoke.qt.examples</package> for various examples.
hunk ./qt.xml 165
-in the <filename class="directory">src/</filename> directory of <package>:qt.examples</package> on how to do this.
+in the <filename class="directory">src/</filename> directory of <package>:cl-smoke.qt.examples</package> on how to do this.
hunk ./qt.xml 173
-(mb:load <package>:qt.examples</package>)
+(asdf:oos 'asdf:load-op <package>:cl-smoke.qt.examples</package>)
hunk ./qt.xml 198
-<para>Qt Classes browser using <package>:qt.webkit</package> to display the
+<para>Qt Classes browser using <package>:cl-smoke.qt.webkit</package> to display the
Sun Dec 13 14:22:09 CET 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
* remove mudballs
hunk ./chunk.xsl 6
-<xsl:import href="link-apidoc.xsl" />
+<xsl:import href="nonlink-apidoc.xsl" />
hunk ./introduction.xml 52
- bindings from svn; r1015073 or later
+ bindings from svn; r1061660 or later
hunk ./introduction.xml 66
-On the Lisp side you need <ulink url="http://mudballs.com">Mudballs</ulink>
-and <ulink url="http://tobias.rautenkranz.ch/lisp/sysdef.cmake">sysdef.cmake</ulink>.
-</para>
-<para>
-If you prefer to use <ulink url="http://common-lisp.net/project/asdf/">ASDF</ulink> instead of Mudballs, you need these systems:
hunk ./introduction.xml 100
- For loading the systems you can use Mudballs or ASDF. But first get the sources:
-</para>
-<para>
hunk ./introduction.xml 103
-for r in smoke qt qt.test qt.tests qt.examples qt.uitools qt.webkit qt.phonon kde kde.tests kde.examples repl; do
+for r in smoke qt qt.test qt.tests qt.examples qt.uitools qt.webkit qt.phonon; do
hunk ./introduction.xml 108
- <section><title>Mudballs</title>
hunk ./introduction.xml 109
- Then add the directory <userinput>SOME_DIR</userinput> to the mudballs search paths by adding
- <programlisting>
-(push (wildcard-searcher "<userinput>SOME_DIR</userinput>/*/*.mbd")
- *custom-search-modules*)
- </programlisting>
- to <filename>~/.mudballs</filename>.
-</para>
-<note>
-<para>
- Loading the packages with <code>mb:load</code> compiles the C wrapper libraries as needed.
-</para>
-</note>
- </section>
-
- <section><title>ASDF</title>
- <para>
- The <code>.asd</code> files are
- <ulink url="http://tobias.rautenkranz.ch/darcsweb/darcsweb.cgi?r=mudballs-to-asdf;a=summary">generated</ulink>
- from the mudballs files. [_$_]
- <ulink url="http://tobias.rautenkranz.ch/lisp/cl-smoke/cl-smoke-asd.tar.bz2">Get the <code>.asd</code> files</ulink> and
- place them in the corresponding source directories. Then symlink the <code>.asd</code> files in a ASDF search path.
- You can for example run: <code>ln -s <userinput>SOME_DIR/*/*.asd</userinput> <userinput>ASDF_PATH</userinput></code>
- </para>
- <para>
- Now build and install the <package>:smoke</package> and <package>:qt</package> C wrapper libraries with:
+ Build and install the <package>:smoke</package> and <package>:qt</package> C wrapper libraries with:
hunk ./introduction.xml 115
- <note><para>
- Some examples get the paths for the files to load from their Mudballs system (ui and i18n) and thus will not work.
- </para></note>
- </section>
+ <para>
+ When you have symlinked the <filename>.asd</filename> system files, you
+ should be able to load the systems.
+ </para>
hunk ./manual.xsl 6
-<xsl:import href="link-apidoc.xsl"/>
+<xsl:import href="nonlink-apidoc.xsl"/>
addfile ./nonlink-apidoc.xsl
hunk ./nonlink-apidoc.xsl 1
+<?xml version='1.0'?> [_$_]
+<!--
+Copyright 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE. [_$_]
+!-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> [_$_]
+
+
+<xsl:template match="macro">
+ <xsl:call-template name="ulink">
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="genericfunction">
+ <xsl:call-template name="ulink">
+ </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>
hunk ./qt.xml 212
-For OpenGL an binding is needed (e.g.: [_$_]
+For OpenGL a binding is needed (e.g.: [_$_]
hunk ./qt.xml 229
-Because <ulink url="http://common-lisp.net/project/cl-opengl/">cl-opengl</ulink> is need to
-run the example, but is not in mudballs; the origami example is not included in the mudballs system.
-<ulink url="http://axiom-wiki.newsynthesis.org/FrontPage">Axiom</ulink> is needed for building.
+<ulink url="http://axiom-wiki.newsynthesis.org/FrontPage">Axiom</ulink> is needed to generate the lisp source to that
+calculates the vertices.
hunk ./qt.xml 237
-<section id="commonqt"><title>CommonQt</title>
-<para><ulink url="http://tobias.rautenkranz.ch/darcsweb/darcsweb.cgi?r=cl-smoke/commonqt">:cl-smoke.commonqt</ulink>
-is an experimental compatibility layer to run Lisp code using the
-<ulink url="http://common-lisp.net/project/commonqt/">CommonQt</ulink> API with cl-smoke.
-It is incomplete, but implementing the missing pieces should be straight forward.
-</para>
-<screenshot>
-<mediaobject>
-<imageobject>
- <imagedata fileref="commonqt-t14.png" format="PNG"/>
-</imageobject>
-<caption>
-<para>CommonQt tutorial 14
-<filename><ulink url="http://repo.or.cz/w/commonqt.git?a=blob;f=tutorial/t14.lisp;hb=HEAD">t14.lisp</ulink></filename>
-running with <code>:cl-smoke.commonqt</code>.
-</para>
-</caption>
-</mediaobject>
-</screenshot>
-</section>
-
Wed Sep 2 14:08:06 CEST 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
* cl-smoke now supports user conversions for return values.
hunk ./smoke.xml 94
-<para>
-User defined conversions for return values are currently not supported (in <code>defmethods</code>).
-</para>