# This file contains metadata for your plugin.

# This file should be included when you package your plugin.

# Mandatory items:

[general]
name=GPKG Editor
qgisMinimumVersion=4.0
qgisMaximumVersion=4.99
description=View and edit GeoPackage (GPKG) layer attributes with plan management and GPKG/CSV export.
description[en]=View and edit GeoPackage (GPKG) layer attributes with plan management and GPKG/CSV export.
description[es]=Visualice y edite atributos de capas GeoPackage (GPKG) con gestión de planes y exportación GPKG/CSV.
description[pt]=Visualize e edite atributos de camadas GeoPackage (GPKG) com gestão de planos e exportação GPKG/CSV.
description[ja]=GeoPackage（GPKG）レイヤー属性の閲覧・編集、計画管理、GPKG/CSV出力を行います。
version=1.0.1
author=Hideharu Masai
email=hideharumasai@void.mints.ne.jp

about=Manage multiple named plans against a single GPKG — switch and compare them instantly without duplicating files. All plans and attribute edits are stored in one companion file ({name}_data.sqlite), leaving the original GPKG untouched. Each plan holds a feature set with column configuration; edits are merged only at export time (GPKG/CSV). Also features expression-based status rows and a lock mode that freezes the canvas for spatial comparison. Support: https://paypal.me/rawslnc
about[es]=Gestione múltiples planes sobre un único GPKG: cámbielos y compárelos al instante sin duplicar archivos. Todos los planes y ediciones de atributos se almacenan en un único archivo complementario ({name}_data.sqlite), dejando el GPKG original intacto. Cada plan contiene un conjunto de entidades con configuración de columnas; las ediciones se fusionan solo al exportar (GPKG/CSV). También incluye filas de estado basadas en expresiones y un modo de bloqueo que congela el lienzo para comparación espacial. Soporte: https://paypal.me/rawslnc
about[pt]=Gerencie múltiplos planos sobre um único GPKG — alterne e compare-os instantaneamente sem duplicar arquivos. Todos os planos e edições de atributos são armazenados em um único arquivo complementar ({name}_data.sqlite), mantendo o GPKG original intacto. Cada plano contém um conjunto de feições com configuração de colunas; as edições são mescladas somente na exportação (GPKG/CSV). Também inclui linhas de status baseadas em expressão e um modo de bloqueio que congela o canvas para comparação espacial. Suporte: https://paypal.me/rawslnc
about[ja]=1つのGPKGに対して複数の計画を管理し、ファイルを複製せずに即座に切り替えて比較できます。すべての計画と属性編集は1つの管理ファイル（{name}_data.sqlite）に保存され、元のGPKGは一切変更されません。各計画はフィーチャーセットとカラム設定を保持し、編集はエクスポート時（GPKG/CSV）にのみ統合されます。式ベースのステータス表示、空間比較のためのキャンバス固定ロックモードにも対応しています。開発を応援していただけると嬉しいです。 https://paypal.me/rawslnc

tracker=https://github.com/raw-slnc/gpkg_editor/issues
repository=https://github.com/raw-slnc/gpkg_editor
# End of mandatory metadata

# Recommended items:

hasProcessingProvider=no
changelog=
    1.0.1 - Fix Separate Window mode not clearing the active plan's temp layer when the window was closed with the close button; recreate the temp layer automatically when the dock/window is shown again after being hidden; [CRITICAL FIX] fix a project-save crash in QgsSnappingConfig::writeProject caused by orphaned per-layer snapping settings from removed temp layers; orphaned snapping settings from earlier sessions are now cleaned up automatically during project load
    1.0.0 - QGIS 4.x support: PyQt6 migration (scoped Qt/QEvent/Qgis/Qgs* enums, sip import via qgis.PyQt, exec_() to exec()); add a "Separate Window" toggle as an alternative to the floating dock — switches the editor into a genuine independent top-level window (visible in Alt+Tab, geometry remembered across sessions) instead of trying to make QDockWidget's own floating window behave like one, which was fragile and could leave the window stuck/unresponsive on redock; complete missing English/Spanish/Portuguese/German translations; remove export history panel (author/memo tracking, soft-delete, old-filename migration) — redundant now that non-destructive editing means exports rarely need browsing, and export files already serve as their own backup; GPKG export (non-overwrite) now auto-adds the exported file as a translucent 20%% comparison layer, inserted directly below the source GPKG layer in the layer tree, named "{plan_name}_{timestamp}"; drop unused resources.py (PyQt5-only scaffold, never imported); remove .flake8 suppression file entirely, fixing all ~124 line-length violations and a duplicate-dict-key bug in the translation build scripts (so the QGIS repository scan reports "Validated" instead of "Validated (configured)")
    0.3.2 - Final QGIS 3.x compatible release; improve floating dock behavior on Windows so the detached plugin window appears in Alt+Tab as a normal top-level window; keep fullscreen toggle limited to floating mode for more stable docked operation
    0.3.1 - Fix bandit security scan warnings: replace xml.etree.ElementTree with defusedxml in tools scripts (B405/B314); suppress false-positive SQL injection audits on parameterized/whitelisted queries with nosec B608; suppress intentional bare-except patterns with nosec B110
    0.3.0 - [CRITICAL FIX] edit values are now stored independently per plan — previously all plans shared the same edits, causing cross-plan data contamination when copying plans; existing databases are automatically migrated at load time; this is a fundamental spec change that makes each plan a fully self-contained, independently editable unit; dramatically improves switching between copy-related plans (7+ seconds reduced to under 0.1s by resetting header resize mode before cell population); reuse temp layer when switching plans on the same GPKG source (eliminates duplicate layer events); clean up orphan plan data on GPKG load
    0.2.1 - Insert plan layer directly above source GPKG layer in layer tree; refresh history panel when switching plans; load history layers into a "[plan name] Group" group above the plan layer (reuse existing group); remove layer name from export filename (new pattern: {plan_name}_{serial}_{date}_{time}.{ext}); auto-migrate old filename pattern on GPKG load (rename files + update DB records + update loaded layer sources and names); history layer name shows only serial+timestamp portion; apply 20%% fill opacity style to history-loaded layers
    0.2.0 - Add export history panel: every GPKG/CSV export is recorded with filename, timestamp, feature count, editable column count, author, and memo; exported GPKGs can be reloaded as layers; CSVs can be opened in the file manager; records persist after deletion, showing removal status; auto-save exports to GPKG_Editor_exports folder with 4-digit serial + timestamp filename (no save dialog); add German (de) translation; fix incorrect layer loaded from multi-layer GPKG (layername now passed to OGR provider); fix SQL error when plan has no features (fid IN () replaced with fid IN (-1)); fix export writer error not detected (check hasError() after create); fix feature count in export history for full export; fix source identity check to include layername (prevents FID mismatch across layers in same GPKG); fix CSV open button to use QDesktopServices for cross-platform compatibility
    0.1.10 - Update icon; add plan copy feature (duplicate a plan from combo box); rename save button to "Confirm Plan" to clarify its role; highlight "Confirm Plan" button when unsaved changes exist
    0.1.9 - Fix lock mode to block only pan/zoom tools (not selection tools); add lock checkbox to status bar; single table-row selection shows rubber band instead of layer selection in plan mode; point layers use crosshair markers (skip temp layer); two-layer line symbology (black+yellow, point units); pan to selection for all geometry types; fix map-to-table sync when plan active; fix NoneType error when temp layer absent; fix temp layer source URI and CRS assignment; zoom to plan extent on activation
    0.1.8 - Redesign lock mode to freeze canvas movement; add crosshair highlight (point layers and locked mode); mutually exclusive thumbnail/shortcuts accordion; point layer thumbnail notice; fix canvas centering for point layers; sync table selection to QGIS layer; optimize thumbnail rendering
    0.1.7 - Clear map selection and rubber bands when dock widget is closed; add Map Thumbnail section title translations (EN/ES/PT)
    0.1.6 - Show "Start creating a plan" button on GPKG load to guide column setup; auto-open column config dialog when no visible columns are set on save
    0.1.5 - Add translations for English, Spanish, and Portuguese; fix untranslatable CSS style strings in UI
    0.1.4 - Update icon and restore screenshot in README
    0.1.3 - Fix feature selection: remove spatial re-search that caused mass selection with MultiPolygon data; fix table-to-map navigation with CRS-aware coordinate transform
    0.1.2 - Migrate UI from independent window to dock widget; replace Ctrl+F/Ctrl+S shortcuts with checkbox-based fullscreen toggle; fix splitter drag lock; clean up shortcuts display
    0.1.1 - Fix qgisMinimumVersion: corrected to 3.16 (QWidget.screen() requirement); remove KEY1-specific logic for generic usability
    0.1 - Initial release

tags=gpkg,geopackage,editor,vector,attribute,plan,table

homepage=https://github.com/raw-slnc/gpkg_editor
category=Vector
icon=icon.png
experimental=False
deprecated=False
server=False
