Permalink
Switch branches/tags
Nothing to show
Commits on Mar 28, 2013
  1. Merge pull request #52 from gogoprog/patch-1

    Update BUILD
    committed Mar 28, 2013
  2. Update BUILD

    I just followed that file and the generated libraries don't start with "lib".
    I also added quote around LUA_CPATH for zsh users.
    gogoprog committed Mar 28, 2013
Commits on Jan 5, 2013
  1. Re-enable access to protected functions

    This change enables the ability to emit protected signals. This is a
    little controversial, because it makes protected methods public.
    
    Features the infamous ugly C++ hack: #define protected public
    committed Jan 5, 2013
Commits on Dec 19, 2012
  1. Better logging

    committed Dec 19, 2012
  2. First attempt at safe virtual overrides

    Virtual methods implemented in Lua are not called
    until a flag is set in the bitset hasOverride in
    the shell class. This bitfield is updated in the
    __newindex by checking if the value is a function
    and key is a name known at compile time.
    
    The overhead at __newindex is lower lower than
    actually checking for overrides at runtime, and
    also possibly safer - no Lua calls are made (apart
    from lua_gettop) when the override is not present.
    committed Dec 19, 2012
Commits on Feb 7, 2012
Commits on Feb 6, 2012
  1. Fix default argument assignment.

    This was needed because QApplication constructor in Qt 4.8.0 now
    has an optional parameter with default value of 'ApplicationFlags'
    which is an enum from QCoreApplication, and this was not properly
    handled in the Lqt generator. Enum lookup in class base was added.
    committed Feb 6, 2012
Commits on Feb 5, 2012
  1. Fix infinite recursion introduced in Qt 4.8.0

    I hope this does not cause any other problems...
    committed Feb 5, 2012
Commits on Jan 22, 2012
Commits on Dec 8, 2011
  1. Changed default memory management model

    From now, when you call the class, you are creating a Lua-managed
    object, the same as calling new_local() previously. You can still
    use new() to create unmanaged objects, suitable for parent/child
    mechanism of Qt. This makes it behave more like C++ - you can use
    QObject() to create a temporary object and QObject.new() to create
    an unmanaged object, which you can free using delete().
    
    The new_local() function is removed, which may break some scripts.
    committed Dec 8, 2011
Commits on Nov 28, 2011
Commits on Nov 21, 2011
Commits on Nov 20, 2011
Commits on Oct 23, 2011
  1. Changed download link in readme

    committed Oct 23, 2011
Commits on Sep 13, 2011
Commits on Sep 10, 2011
  1. Fixes a bug involving calling the base class via 'error(SUPER)'.

    Consider the following:
    
    local edit = QTextEdit.new_local()
    function edit:keyPressEvent(e)
    	-- do something
    	error(SUPER)
    end
    
    This causes the base class QTextEdit::keyPressEvent(e) to be called twice since
    the generated virtual method has the following form:
    
    void lqt_shell_QTextEdit::keyPressEvent (QKeyEvent* arg1) {
      // ...
      if (lua_isfunction(L, -1)) {
        // ...
        if (!lqtL_pcall(L, 2, 0, 0)) {
          // ...
        } else {
          if (lqtL_is_super(L, lua_gettop(L))) {
            // ...
            this->QTextEdit::keyPressEvent(arg1);
          } else
             lua_error(L);
        }
      }
      // ...
      this->QTextEdit::keyPressEvent(arg1);
    }
    henux committed Sep 10, 2011
Commits on Aug 22, 2011
Commits on Aug 18, 2011
  1. [hack] Workaround for QVariant - QByteArray

    When a QVariant is constructed from Lua string, a QByteArray-QVariant
    is created instead of QString-QVariant
    committed Aug 18, 2011
Commits on Jun 13, 2011
Commits on Apr 24, 2011
  1. Removed QEasingCurve from QVariant support

    It is blacklisted anyway, because of parsing problems.
    committed Apr 24, 2011
Commits on Apr 12, 2011
Commits on Apr 11, 2011
  1. Getting ready for a release...

    committed Apr 11, 2011
  2. Added the original style of implementing custom Lua slots.

    Now, instead of having to use __addmethod(), you can use the original
    style as obj:connect('2signal()', function() ... end). You can also use
    the previous way using __addmethod() if necessary, because the new style
    still uses it.
    committed Apr 11, 2011
Commits on Apr 10, 2011
  1. Fix for a rather obscure bug in implicit conversion

    This happens when there is no metatable for "to_type" in
    lqtL_canconvert and lqtL_convert. This problem should be
    regarded as a FIXME, because this shoudln't happen.
    committed Apr 10, 2011
Commits on Feb 23, 2011
  1. Fixed previous commit for gcc

    committed Feb 23, 2011
Commits on Feb 20, 2011
Commits on Feb 10, 2011
  1. Added documentation

    committed Feb 10, 2011
Commits on Feb 9, 2011
  1. Repository cleanup

    committed Feb 9, 2011
Commits on Feb 2, 2011
  1. Added support for properties/public variables.

    Currently only public variables work, so you can use stuff like QStyleOption.rect
    to not only get the value, but also set it. Properties (Q_PROPERTY) are not (yet)
    supported.
    committed Feb 2, 2011
  2. Fixed the implicit constructor conversion.

    Now, enums are checked last, so that they cannot interfere with numerical
    parameters (the problem was with QVariant).
    committed Feb 2, 2011
Commits on Jan 19, 2011
  1. Fixed an obscure bug with abstracting virtuals implemented as private…

    … in superclass.
    
    When looking for virtual methods in superclasses, private methods were ignored,
    when in fact they should be accounted for as implemented. Now the generator
    only skips private virtual methods when directly in the bounded class.
    committed Jan 19, 2011
Commits on Jan 11, 2011