Skip to content

Commit

Permalink
An updated version of Uncollected Objects plugin for Gramps50
Browse files Browse the repository at this point in the history
Automatically finds reference cycles (loops)
Can display only objects in cycles (loops)
Can search for only objects in a particular cycle (loop)
Can switch from diagnostic to normal gc mode
garbage collection status is printed to STDERR when installed
  • Loading branch information
prculley committed May 9, 2018
1 parent aff168b commit 37a2ec4
Show file tree
Hide file tree
Showing 2 changed files with 480 additions and 0 deletions.
56 changes: 56 additions & 0 deletions Leakv2/leakv2.gpr.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# encoding:utf-8
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2009 Benny Malengier
# Copyright (C) 2011 Nick Hall
# Copyright (C) 2011 Tim G L Lyons
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
from gramps.gen.plug._pluginreg import register, STABLE, UNSTABLE, GRAMPLET
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext

MODULE_VERSION="5.0"

#------------------------------------------------------------------------
#
# Gramps modules
#
#------------------------------------------------------------------------

from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.sgettext

#------------------------------------------------------------------------
#
# Register Gramplet
#
#------------------------------------------------------------------------

register(GRAMPLET,
id="Uncollected Objects V2",
name="Uncollected Objects V2",
description = "Gramplet showing uncollected objects",
version="2.0.0",
gramps_target_version=MODULE_VERSION,
status = UNSTABLE,
fname="leakv2.py",
height=400,
gramplet = 'Leakv2',
gramplet_title="Uncollected Objects V2",
include_in_listing = False,
)
Loading

0 comments on commit 37a2ec4

Please sign in to comment.