aboutsummaryrefslogtreecommitdiffstats
path: root/libpyside/dynamicqmetaobject.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Avoid narrowing conversionMatthew Woehlke2014-04-151-8/+8
| | | | | | | | | Add explicit casts when initializing an int[] using {}'s, as required by C++11 to be "well formed". This fixes the only (current) -Wnarrowing warning. Change-Id: I7f190549a8a54a9061678a926d5478256c2084be Reviewed-by: John Ehresman <jpe@wingware.com>
* Replaced Nokia copyrights and contact detailsTeemu Kaukoranta2013-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced Nokia copyrights with correct Digia copyrights. Text in front of copyright is now retained: ** File is part of Foo, Copyright Nokia... -> ** File is part of Foo, Copyright Digia... Replaced Nokia contact details with Digia's. Removing "All Rights Reserved" no longer leaves an empty line. Used the following command: find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*|.*Contact.*' {} \; | tee >(xargs sed -i -r '1,50 { /INdT|copy[a-z]*[ ]*=/ !{ s/(^[ \t:#*]*)([a-z ]*) (Copyright.*Nokia.*)/ \1\2Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I }}') >(xargs sed -i -r '1,50 s/(^[ \t:#*]*)(.*info@qt\.nokia\.com.* |.*INSERT EMAIL ADDRESS.*|.*qt-info@nokia\.com.* |.*qt-label1@nokia\.com.*|.*http:\/\/qt\.nokia\.com\/contact.* |.*qt-sales@nokia\.com.*|.*http:\/\/www\.qt-project\.org\/.*)/ \1Contact: http:\/\/www\.qt-project\.org\/legal/I') >(xargs sed -i -r '1,50{/(^[ \t:#*]*)(all rights reserved.*)/Id}') Command now finds command details that point to qt-project.org and changes them to qt-project.org/legal Also no longer wrongly replaces code snippet "copyright = ..". Need to fix these case-by-case later. Change-Id: I4456c00202c4a2264a400bdc18c19cd097876861 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Bug pyside-35: GIL was not acquired in several important places.Jason McCampbell (Enthought, Inc)2012-04-191-0/+1
| | | | | Change-Id: I876732f90690d9679537611e9a71e33aa3a4e4e3 Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Fix bug 1013 - "connect to QSqlTableModel.primeInsert() causes crash"Hugo Parente Lima2012-03-081-1/+1
|
* Initia QtCore port to python3.Renato Filho2012-03-081-5/+5
|
* Avoid register property twice during the object instaciation.Renato Filho2012-03-081-1/+3
| | | | | Reviewed by: Hugo Parente <hugo.lima@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* DynamicMetaObject optimizations.Renato Filho2012-03-081-58/+149
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Use linked lists instead of lists to speed up a bit.Hugo Parente Lima2012-03-081-7/+7
| | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Small optimizations on libpyside.Hugo Parente Lima2012-03-081-27/+7
|
* Use realloc functions on MetaObject functions.Renato Filho2012-03-081-18/+19
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Implemented DynamicMetaObject optiomizations.Renato Filho2012-03-081-22/+50
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Implemented staticMetaObject property for QObjects.Renato Filho2012-03-081-1/+70
|
* Implemented PySide::ClassInfo Object.Renato Filho2012-03-081-9/+38
| | | | | | | | | | | | This class reproduce the Qt macro Q_CLASSINFO behavior. Eg.: @QtCore.ClassInfo(author='PySide', url='http://www.pyside.org') fixes bug #705. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Uses QMetaObject revision 3.Renato Filho2012-03-081-122/+69
| | | | | | | | | This allow to register signal and slot in any order. Fixes bug #312 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Appended the metaclass data flags value on head.Renato Araujo Oliveira Filho2012-03-081-0/+1
| | | | | | | Fix bug #671. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Add support for extension into PySide properties.Hugo Parente Lima2012-03-081-5/+7
| | | | This is used by PySide implementation of QDeclarativeListProperty.
* Set the object meta object at the declaration time, not instanciation time.Hugo Parente Lima2012-03-081-58/+0
|
* Moved pyside slot attr name do pysideslot_p.h.Hugo Parente Lima2012-03-081-0/+1
|
* Fixed dynamic meta object to avoid empty meta method.Hugo Parente Lima2012-03-081-46/+47
| | | | | | Empty meta methods cause a assert failure on QtDeclarative module. Also removed the scoped pointer to avoid heap allocation when it's not needed, as QByteArray is already implicity shared.
* Fix generated property flags on metaobject.Renato Araujo Oliveira Filho2010-11-221-23/+24
| | | | | | | Fixes bug #478 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Uses QByteArray instead of QString to avoid data copy.Hugo Parente Lima2010-11-181-11/+5
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Remove function deleteDynamicQMetaObject, use ↵Hugo Parente Lima2010-11-181-5/+0
| | | | Shiboken::callCppDestructor<DynamicQMetaObject> instead.
* Fixed slot registration during the meta object constructor.renatofilho2010-11-031-1/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Renamed qsignal, qslot, qproperty files to pyside*.renatofilho2010-11-031-5/+5
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Created Singal/Slot/Property namespace for pure C structures.renatofilho2010-11-031-16/+16
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Put signals register before property registration.renatofilho2010-10-221-4/+12
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Implemented support to notify argument on Properties.renatofilho2010-10-211-28/+51
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Added d-pointer to PySideSignalInstanceData struct.Hugo Parente Lima2010-10-191-3/+3
|
* Don't export symbols that don't need to be exported and rename many functions.Hugo Parente Lima2010-10-071-3/+4
|
* Don't inline function deleteDynamicQMetaObject.Hugo Parente Lima2010-10-071-0/+5
| | | | It's used by address, so inline it is useless.
* Move structs tagged as "export C" outside C++ namespaces.Hugo Parente Lima2010-10-071-1/+1
| | | | Also don't export structs that don't need to be exported.
* Don't export functions not used outsise libpyside and move them to an ↵Hugo Parente Lima2010-10-071-0/+1
| | | | private header.
* Changed name of qproperty functionsHugo Parente Lima2010-10-071-10/+10
|
* Add a d-pointer to DynamicMetaObject.Hugo Parente Lima2010-10-071-48/+63
| | | | This break the ABI.
* Removed old comentary (not necessary anymore).renatofilho2010-09-201-1/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed connection cleanup function.renatofilho2010-09-161-4/+4
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Increased global receiver maximun slots support.renatofilho2010-09-141-8/+39
| | | | | | | Fixes bug #312. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix project name on license boilerplates.Hugo Parente Lima2010-09-091-1/+1
|
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-091-21/+9
| | | | exception.
* Fixed uninitialized value.Renato Filho2010-07-231-0/+4
|
* Implemented support to properties on QMetaObject.Renato Filho2010-07-081-27/+215
| | | | | Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed bug on dynamic metaobject creation.Renato Filho2010-05-261-2/+7
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Used shared pointer on MethodData to allow copy.Renato Filho2010-05-171-12/+29
| | | | | Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Register Signal objects on MetaObject.Renato Filho2010-05-171-13/+23
| | | | | Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed memory leaks.Renato Filho2010-05-171-7/+8
| | | | | | | Used PyObject on attr functions. Code style update. Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Implemented signal name discovery if not setted on constructor.Renato Filho2010-05-171-0/+2
| | | | | Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Implemented support to modify slot return type.Renato Filho2010-05-171-30/+78
| | | | | | | | Included method type in DynamicQMetaObject metadata. Moved Signal/Slot objet to libpyside. Create unittest to signal class. Implemented disconnection function. Fixed emit method on signal object
* Implemented support to slot decoration.Renato Filho2010-05-171-0/+24
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed memory leak on callbacks used on signal connection.Renato Filho2010-02-231-5/+30
| | | | | Now using the 'destroyed()' signal the reference is cleaned after source object destroyed.
* Fixed the number of dynamic signal to 50, to avoid index error onRenato Filho2010-02-181-6/+23
| | | | | | QMetaObject functions. Reviewed by Hugo Parente <hugo.lima@openbossa.org>