summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-09vcl: more double dispose protection.Michael Meeks
Change-Id: Ib5c4ca5747cd55d7ea0f8c59b5aaa1f84c2a8fdc
2015-04-09more double dispose protection.Michael Meeks
Change-Id: I61ecf1561393959bc9a3647d515c4c9ce5119752
2015-04-09vclref: protect vs. double disposes.Michael Meeks
Change-Id: I86fe17ad9afba7ee1e87aaa732bebee1746c140f
2015-04-09vcl: new lifecycle test.Michael Meeks
Change-Id: I05500c136839877db5c4a215b15e24a8444d3c16
2015-04-09vcl lifecycle: delete children in dispose.Michael Meeks
We can no longer rely on smart ptr members getting destroyed and tearing down children before parents in the new order. Change-Id: Ib22df93443d98f53543d3a8ac322e965623148d0
2015-04-09vcl: add assert and improve lifecycle test.Michael Meeks
Change-Id: Ic70a890dae41b04d6dd1f19cbea419fe5a794af3
2015-04-09vcl: more double-dispose protection, and survival after dispose.Michael Meeks
Change-Id: I271f9bcb85d07a28abef2d97ef3c31287878324d
2015-04-09vcl: don't emit events on disposed objects & handle some method calls.Michael Meeks
Change-Id: If8940edceb379025e322553c4b011e348e2d79d4
2015-04-09protect against double dispose.Michael Meeks
Change-Id: Ib168188f7cfd8d4e0e6fe0617c5c9b7de840016b
2015-04-09vclref: re-work mbInDtor handling, add IsDisposed method and more.Michael Meeks
Change-Id: I4b522e0df372d61d8bb7bbcd4b0629c4412cae06
2015-04-09vcl:fixes towards unit test happinessNoel Grandin
Change-Id: Ic0a3075c7616f604b93228dff149931cf25a5ed8
2015-04-09vclwidget: add some dispose() checkingNoel Grandin
to catch code that accidentally recursively calls dispose() Change-Id: I647434c76cfbbf4df32c6cef15381ecfd8b4977d
2015-04-09vclwidgets: wrap all vcl::Window subclasses allocated on stack in VclPtrNoel Grandin
Change-Id: Ia8b0d84bbf69f9d8f85505d019acdded14e25133 Conflicts: sw/qa/tiledrendering/tiledrendering.cxx
2015-04-09vcl: some VclPtr fixes found by the new plugin codeNoel Grandin
Change-Id: Ib4f591aaa88d8710fdb9b672533cfa8bb024160f
2015-04-09vcl: VclPtr conversion in xmlsecurityNoel Grandin
Change-Id: I90ab1b6a9474169bb2e328518527cad6afd9ec48
2015-04-09vcl: VclPtr conversion in swNoel Grandin
Change-Id: Ie084a4b14f8371ff81fe6a95e73660e38cd376f2
2015-04-09vcl: VclPtr conversion in starmathNoel Grandin
Change-Id: I5d43afd893802db44d9d08d8acb64307c63b7eac
2015-04-09vcl: VclPtr conversion in sdNoel Grandin
Change-Id: I3cde57acfeec194968a639f8557b17177a94d37f
2015-04-09vcl: VclPtr conversion in scNoel Grandin
Change-Id: I9cbc8beff7172c1ec69ae1124b16de0c0d722334 Conflicts: sc/source/ui/view/gridwin.cxx sc/source/ui/view/tabview.cxx
2015-04-09vcl: VclPtr conversion in reportdesignNoel Grandin
Change-Id: Iadbd90bfe2cdf6afff3d745ac488036c3d031963
2015-04-09vcl: VclPtr conversion in fpickerNoel Grandin
Change-Id: I1510b67ee2d2019b65d5248c3ee36c5ec3def13f
2015-04-09vcl: VclPtr conversion in filterNoel Grandin
Change-Id: I355315e19545610c1f26c94abe4e7d3fe19af867
2015-04-09vcl: VclPtr conversion in formulaNoel Grandin
Change-Id: I6f9571a3ef1fbe5bb42ef665d85425b9902c1925
2015-04-09vcl: VclPtr conversion in extensionsNoel Grandin
Change-Id: Ie10e8fcb2bf413606063d4f1caab17bea1bb4d95
2015-04-09loplugin: vclwidgets: ensure that all VclPtr fields are cleared in dispose()Noel Grandin
Change-Id: Ie4937e1ae0d79b59ed5d74d4f3d1d135b09270bf
2015-04-09loplugin: vclwidgets: make the dispose/destructor checking more robustNoel Grandin
Change-Id: I94500963fb28550d664d3547e8f12b7f6fb681ca
2015-04-09vcl: VclPtr conversion in variousNoel Grandin
Change-Id: Id4f0cc26e4f5bda345f41130c9838fc44312e98e
2015-04-09vcl: VclPtr conversion in formsNoel Grandin
Change-Id: Ib6a84b5d52a695aca69e1fcfde6390d1059a3745
2015-04-09vcl: VclPtr conversion in formsNoel Grandin
Change-Id: I141cbe218fec31f2e6428b1d8c56c00557134a36
2015-04-09vcl: VclPtr conversion in dbaccessNoel Grandin
Change-Id: I85fce0403121ffe55204d78445e4809960ec404a
2015-04-09loplugin: vclwidget: add check that dispose is calling superclass disposeNoel Grandin
and fix up the places it finds Change-Id: Ie1decd5cb14415ace423fc7a0609cc62044e19ff
2015-04-09vcl: VclPtr conversion in cuiNoel Grandin
Change-Id: I8597247296645fe72d5306e35b2ea3c0866d147a
2015-04-09vcl: VclPtr conversion in chart2Noel Grandin
Change-Id: Iae82331e812836ff4c97617227d316bfe15b23df
2015-04-09vcl: VclPtr conversion in basctlNoel Grandin
Change-Id: Ieea1ab9426ed025d7d0f8baba8a6d10cb454e93e
2015-04-09vcl: VclPtr conversion in svx.Noel Grandin
Change-Id: I3a1000baa049b11728c46efbc2f0af0d8f34cf2b Conflicts: include/svx/charmap.hxx include/svx/float3d.hxx include/svx/fontwork.hxx include/svx/galctrl.hxx svx/inc/svdibrow.hxx svx/source/dialog/dlgctl3d.cxx svx/source/dialog/fontwork.cxx svx/source/engine3d/float3d.cxx svx/source/fmcomp/gridctrl.cxx svx/source/gallery2/galbrws1.cxx svx/source/inc/docrecovery.hxx
2015-04-09vcl: VclPtr conversion in frameworkNoel Grandin
Change-Id: I82df2d0ed6f40de40099537f982541480af16630
2015-04-09vcl: VclPtr conversion in basicNoel Grandin
Change-Id: Ia0330d596b696f914a8ee2f81f0399e9456ff87c
2015-04-09vcl: VclPtr conversion in avmediaNoel Grandin
Change-Id: I6eba828f6d443802361417397cdf643fbd8755c3
2015-04-09vcl: VclPtr conversion in sfx2Noel Grandin
Change-Id: I78ea3f4304ace27c6db0e3d0651bd65043dcbc68
2015-04-09svtools: apply vcl::window refcounting changesNoel Grandin
Change-Id: I308f045eaf5c50de26175a2f00f8b0791cdd8ab9 Conflicts: svtools/source/control/tabbar.cxx
2015-04-09vcl: window destructors calling disposeNoel Grandin
Extend plugin to warn on any vcl::Window subclass that has a destructor and does not implement dispose. Apply this provision to the necessary classes in vcl/ Change-Id: I05189f8df02568131d59fc44fea904c87733c8c7
2015-04-09vcl: dispose of more Window sub-classes, particularly top-level windows.Michael Meeks
Change-Id: If8311e5cf3193fd1434c3af5225367ca8e91fc6d
2015-04-09vcl: add dispose implementations & destructor calls.Michael Meeks
Change-Id: Iefeaf81d4f7463440a6c5a8abb4d68aa85190698
2015-04-09vcl:compilerplugin: new rule, no passing of vcl::Window by VclPtrNoel Grandin
to prevent problems with accidentally deleting an object by doing this: Button *pButton = new Button(NULL); ... pButton->callAMethodThatTakesARef(pButton); Since we take a ref as we construct a temporary VclReference<> - but this will dispose & delete the pButton as we return to the frame doing the callAMethod Change-Id: I60fc211b27fe7ff463aa58f1da106f430fc65529
2015-04-09compilerplugin: check that necessary Window subclasses have a dispose methodNoel Grandin
i.e. the ones that declare any VclPtr fields Change-Id: I7adfc3b3b190a2ede60bfccd08f85a269fae33ca
2015-04-09clang plugin: check return types for vcl::Window* that should be wrappedNoel Grandin
Change-Id: I7121c1727d1374a955fbccb6554aede468d4977f
2015-04-09vcl: plugin: check that VclPtr is passed by referenceNoel Grandin
to avoid unnecessary increment/decrement traffic Change-Id: Ice4e08df002b815105aa0b1c9430511c0cec3d28 Conflicts: compilerplugins/clang/passstuffbyref.cxx
2015-04-09vcl: a couple more places that shouldn't be stack-allocating Window objectsNoel Grandin
Change-Id: I773fb5ed066db2c22b3d50198dff350b755ab24a
2015-04-09vcl: make VclPtr<T>(T*) constructor explicitNoel Grandin
to make it obvious in the code when we are translating between the reference-counted type and raw pointers, since that is the danger-point Change-Id: I32822432325fa34969e78cccf937e2ccbe1bfb70
2015-04-09vcl: vclwidget plugin should look for raw vcl::Window usageNoel Grandin
teach the vclwidget plugin to look for places where we need to use VclPtr<T> instead of raw pointers Change-Id: I444836bf8e3d05fca0f30380c91a8ce24d1e9d1c