[bug] NppParameters need to truly behave as a singleton
-
Jocelyn Legault
(from [6b811a74301ed0b751481ea717f455a4855ce51e]) NppParameters: make it a true singleton.
- The object is now created at the first request, and no longer as a global.
- The
destroyInstance()method is now static (as thegetInstance()is). - Non-static data that was destroyed in the
destroyInstance()method is now destroyed in the destructor.
[#26 [bug] NppParameters need to truly behave as a singleton state:needs_ack responsible:npp-community]
Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
http://github.com/joce/npp-community/commit/6b811a74301ed0b751481ea... -
Jocelyn Legault
(from [b3014bc5379b45a6f1531db86b191b07f398ef35]) NppParameters: make it a true singleton.
- The object is now created at the first request, and no longer as a global.
- The
destroyInstance()method is now static (as thegetInstance()is). - Non-static data that was destroyed in the
destroyInstance()method is now destroyed in the destructor.
[#26 [bug] NppParameters need to truly behave as a singleton state:needs_ack responsible:npp-community]
Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
http://github.com/joce/npp-community/commit/b3014bc5379b45a6f1531db... -
Thell Fowler
- State changed from needs_ack to acked
The name of this ticket needs to be changed.... although I haven't been able to figure out how yet...
The branch name as presented on pu will be jl/LH-26/singleton-transformations.
As you mention above these should not be true singletons, but part of an app object. In order to allow for proper debug output within certain classes this branch && ticket should be used when needed even if it is marked as resolved the new commit should be added to it and the state updated.
-
Thell Fowler
- State changed from acked to proposed
(from [41f02ef31f2c4ad2ff58381a65bac779c5a001d9]) Merge branch 'jl/LH-26/singleton-transformations' into pu
- jl/LH-26/singleton-transformations: WcharMbcsConvertor: fix the singleton. NppParameters: make it a true singleton.
[#26 [bug] NppParameters need to truly behave as a singleton state:proposed]
Acked-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/41f02ef31f2c4a... -
Thell Fowler
(from [9a99063417f49bc4ab8230e655e8aadd9c216e0a]) Merge branch 'jl/LH-26/singleton-transformations' into pu
- jl/LH-26/singleton-transformations: WcharMbcsConvertor: fix the singleton. NppParameters: make it a true singleton.
[#26 [bug] NppParameters need to truly behave as a singleton state:proposed]
Acked-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/9a99063417f49b... -
Jocelyn Legault
(from [855fadd2506cf22853c1c13cb88424b89aaafc76]) FileManager: Make a real singleton.
- Did the same surgery on FileManager as I did on Parameters and WcharMbcsConvertor.
- This also fixes LH ticket #3 [Memory leak] Leak when running unit tests
[#26 [bug] NppParameters need to truly behave as a singleton]
Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
http://github.com/joce/npp-community/commit/855fadd2506cf22853c1c13... -
npp-community
(from [55d585a52cd2a67568191a7d69d14ceabd0a4bc6]) FileManager: Make a real singleton.
- Did the same surgery on FileManager as I did on Parameters and WcharMbcsConvertor.
- This also fixes LH ticket #3 [Memory leak] Leak when running unit tests
[#26 [bug] NppParameters need to truly behave as a singleton]
Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
http://github.com/npp-community/npp-community/commit/55d585a52cd2a6... -
Thell Fowler
- State changed from acked to proposed
-
Jocelyn Legault
- Milestone set to v2.0.0
-
Thell Fowler
(from [ea66473d74e769de60e64b08749551061e5fb10f]) Merge branch 'jl/LH-26/singleton-transformations' into pu
- jl/LH-26/singleton-transformations: FileManager: Make a real singleton. WcharMbcsConvertor: fix the singleton. NppParameters: make it a true singleton.
Conflicts:
PowerEditor/src/Parameters.cpp[#26 [bug] NppParameters need to truly behave as a singleton]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/ea66473d74e7... -
Thell Fowler
(from [b26cbf7e8a2ee350abe296e8d91dee9feae2321b]) Merge branch 'jl/LH-26/singleton-transformations'
- jl/LH-26/singleton-transformations: FileManager: Make a real singleton. WcharMbcsConvertor: fix the singleton. NppParameters: make it a true singleton.
Conflicts:
PowerEditor/src/Parameters.cpp[#26 [bug] NppParameters need to truly behave as a singleton]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/b26cbf7e8a2ee3... -
Thell Fowler
- State changed from proposed to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.