summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-10Make ErrorContext includers happier.Michael Meeks
Unclear that it's a great plan to have a circular tools <-> vcl dependency like this, but it pre-dates history apparently. Change-Id: I7a666dbde9ec7cc29a4e260e2012cca4a26b0b29
2015-04-10More calc fixing.Michael Meeks
Change-Id: I35e8a6e5ef7944e937c0b73ebc9986c0eaec2df4
2015-04-10Lost more cleanup and fixing post re-basing.Michael Meeks
Change-Id: Ia5317b93484d31af978a5276bc6697848130225d
2015-04-10Lots more small re-basing issues fixed.Michael Meeks
Change-Id: I621567c4596e01092c55d868403910386fa14058
2015-04-10convert ScopedVclPtr to ScopedVclPtrInstanceNoel Grandin
Change-Id: I22a9d9c313a81ccee885b9c8785d4b008a6f2058
2015-04-10dialogs lifetimes should be wrapped in ScopedVclPtrNoel Grandin
Change-Id: Ica8467af599fb3f9313bfa916fec8b7792a6000f
2015-04-10More misc. cleanup.Michael Meeks
Change-Id: I91d2c45a7082fd989f440fff9e1322e4571dc2b2
2015-04-10vcl cleanup post re-base.Michael Meeks
Change-Id: I2500a2079cd029505f404f34c9b3d9ec1961afbd
2015-04-10Fixup toolkit's printer code.Michael Meeks
Change-Id: I1d9b0cee1c04e853d38135b84c5c8db24538176e
2015-04-10loplugin:vclwidgets workaroundNoel Grandin
workaround "OutputDevice subclass should have nothing in it's destructor but a call to disposeOnce()." Change-Id: Icc7e09ea4dec3292b62d1aba4dc881220c115414
2015-04-10wrap vcl::Window* in VclPtrNoel Grandin
Change-Id: Ia0c259a4518e91b3dac50927812bef717bce5273
2015-04-10Cleanup layout and window merge.Michael Meeks
Change-Id: Ic61f85ef159981721420ebc5157bcf09cf09ec51
2015-04-10Fix NotifyEvent and IntroWindow bits.Michael Meeks
Change-Id: Id12dbb9219a9581dd52d1f820c47f3da47b62187
2015-04-10loplugin:redundantcastNoel Grandin
Change-Id: I62aa8ca0f07dce9a820527ac1aef9c44cd70223a
2015-04-10Remove OpenGLContext GC window.Michael Meeks
Change-Id: I1468fc94aa0c709528a767b96bc26eefdb7ed08f
2015-04-10Remove erroneous disposeAndClear.Michael Meeks
Change-Id: Ibc091cefab7fb0b628db0896af077a03fcda4094
2015-04-10missing nullptr.Michael Meeks
Change-Id: Iea2124d0b485e051df1136f63ba4113b2dbc6f84
2015-04-10Manual cleanup of misc. issues.Michael Meeks
Change-Id: Ib0b9b17010f7c1b0814b48f6fb0144e5296418df
2015-04-10Automated conversion of VclPtr construction to use Instance template.Michael Meeks
Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
2015-04-10second half of non-scriptable, Instance constructor conversion.Michael Meeks
Change-Id: I616c8c28255e0d90ae90033a128bd34d7570530c
2015-04-10first half of non-scriptable, Instance constructor conversion.Michael Meeks
Change-Id: If73bb41bfa805e22609748f25971724b4778edb3
2015-04-10Fix misc. issues in lifecycle unit tests.Michael Meeks
Change-Id: I667852d1c854259ed698541b868a49322c6fbe64
2015-04-10vcl: stop vcl::Window clobbering mnRefCnt itself.Michael Meeks
Change-Id: If1926c8ecc94c3b9786a3f255371b440c482a155
2015-04-10automated VclPtrInstance conversion.Michael Meeks
Change-Id: I9a1d47202e2794461f6ec44f3e72ee1dd2fde09d
2015-04-10Convert more sites to VclPtrInstance.Michael Meeks
Change-Id: I364c5eb176d5003deb1938810cccf4f2aaedbd59
2015-04-10Revert part of "Unwind mpDialogParent oddness."Michael Meeks
Now its ok to reference / un-reference ourself during construction. Change-Id: Ib3b302719c7d40d7a42272f93db5e4c437859cad
2015-04-10vclptr: create Instance helpers, and set initial ref-count to 1.Michael Meeks
Document that in README.lifecycle; the problem is that our constructors currently take and release references left/right on the object being created, which ... means we need an initial reference. Change-Id: I5de952b73ac67888c3fbb150d4a7cde2a7bc9abf
2015-04-10Encourage disposed toolbox items to play nicely.Michael Meeks
Change-Id: I4a28ba4740e9c84666cd85c046598862f20a7a96
2015-04-10Unwind mpDialogParent oddness.Michael Meeks
This pointer is used to pass extra information through dialog constructors, and (as such) if implemented with a VclPtr it causes us to take and then release a reference on our in-construction object, before it can return it's 'this' into the safety of its calling VclPtr<> constructor; not good. cf. Dialog::doDeferredInit vs. SystemWindow::loadUI. Change-Id: Idcab40cedcdebed560077cfaa1a14395e6e01cd6
2015-04-10repair dialog related lifecycle bits.Michael Meeks
Change-Id: I33ec0318a257929583aa4bb0d107f16d1f8edbcd
2015-04-10get messagebox dispose ordering right.Michael Meeks
Change-Id: Ia7085cf98141fdbd50cf9cc9ed45e2e0c09e448e
2015-04-10no need to free mpButtonData in dispose.Michael Meeks
Change-Id: Ie6f135d9e91d0831717c2a0726161825d0a06665
2015-04-10Fix unintended destruction of adjacent printers.Michael Meeks
also audit commit: "start wrapping OutputDevice in VclPtr" Change-Id: I6e018d7c3e3c8f941c184ad1aaa8593f7750c620
2015-04-10Fix LazyDelete crasher, and add & test more post-dispose robustness.Michael Meeks
Change-Id: I0e9460cb33b7cb5da9ddb950ff27bac8cbf7fed8
2015-04-10vcl: remove curious self referential OutputDevice ptr.Michael Meeks
No need to pay a per-instance cost for this, also avoid a self reference for every Window sub-class. Change-Id: I040a0ede9481229e43a39bc23297969e90b95f5e
2015-04-10unwind LazyDelete issues - deleting VclPtr types.Michael Meeks
Change-Id: Iffdc9f73520a97ccc284ecba1b2468dc229506c1
2015-04-10correct debugging assertions.Michael Meeks
Change-Id: I2437b4d3c532be6cbb31dccfa9e267498111c183
2015-04-10Nothing really that wrong with acquiring a disposed reference, for now.Michael Meeks
Emitting events acquires and passes references conservatively, and the VCLEVENT_OBJECT_DYING event hit this hard. Change-Id: If86991ead63b05425a237bf213583c020ba4e582
2015-04-10vclwidget: some small fixesNoel Grandin
Change-Id: I094163c894ff9accf70050d5a4fab83e905a282b
2015-04-10vclwidget: add some safety net assertsNoel Grandin
Change-Id: I5fa19ec6161ab97eb7df8b52a268917f41ae2205
2015-04-10calling delete on VclPtrNoel Grandin
Change-Id: I25346435d2129086281783636624b1bb430d0096
2015-04-10vclptr: add isDisposed method - and assert for it here & there.Michael Meeks
Change-Id: I2b154e0ed9eee0a45900ada7f805a1d444a31bc0
2015-04-10protect more printer code-paths.Michael Meeks
Change-Id: Ic5bc5c3325b460cba0d95484454c9bb826684890
2015-04-10splash: de-confuse mixed VCL and UNO reference counting.Michael Meeks
Change-Id: I1c8ded2e5c5e8072111d3e1480ba7086db135810
2015-04-10malingering delete.Michael Meeks
Change-Id: I954c6b0db3ae69146763fa6c54e2d8015b00ee4e
2015-04-10cure a lot of unfortunate ScopedVclPtrs.Michael Meeks
Change-Id: I2149511f958ba75e81dc41b10b01eb9d19610037
2015-04-10ScopedVclPtr: needs an = operator to make life flow.Michael Meeks
Without this, assigning to a ScopedVclPtr instance thus: pScopedVclPtr = new Foo(); constructed a new intermediate ScopedVCLPtr, used a default assignment operator, unhelpfully disposing the new Foo before it could make it to pScopedVclPtr => add operator, and hide problematic constructors. Change-Id: Icc0da962938bf115eac0c24a6a76cfeb66ddf23a
2015-04-10re-insert erroneously converted delete calls.Michael Meeks
Change-Id: Iebdf2af3866d884289f6913646106fe3f2d4dde5
2015-04-10wrap more stuff in VclPtrNoel Grandin
Change-Id: I2f0d8a4fe426d8ee1ac55a05ae8dd0b44f9aab2b
2015-04-10Cleanup a few issues with stack VirtualDevice conversion.Michael Meeks