lazarus/components/datadict
maxim 684c367b8a IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts.
Reasons:
1. .pot is 'industry standard' extension for PO template files. As a consequence, PO editors can now open our templates 'out of the box' and automate creation of translations.
2. It is now much simpler to detect template files now that dotted unit names are allowed.

git-svn-id: trunk@60208 -
2019-01-24 23:02:37 +00:00
..
languages IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts. 2019-01-24 23:02:37 +00:00
fpcodegenerator.pp LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus. 2015-07-04 23:08:00 +00:00
frmbaseconfigcodegenerator.lfm
frmbaseconfigcodegenerator.pp lazdatadict: use IDEBuildOptions 2014-06-05 20:12:39 +00:00
frmconfdatadict.lfm
frmconfdatadict.pp LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus. 2015-07-04 23:08:00 +00:00
frmconfprojdatadict.lfm
frmconfprojdatadict.pp LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus. 2015-07-04 23:08:00 +00:00
frmgeneratedcode.lfm
frmgeneratedcode.pp LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus. 2015-07-04 23:08:00 +00:00
frmselectcodegenerator.lfm
frmselectcodegenerator.pp
idedatadict.pp LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus. 2015-07-04 23:08:00 +00:00
lazdatadict.lpk lazdatadict: use IDEBuildOptions 2014-06-05 20:12:39 +00:00
lazdatadict.pas components: less hints 2016-03-01 15:31:26 +00:00
ldd_consts.pas general: Updated address of the Free Software Foundation in copyright messages 2017-01-29 21:04:32 +00:00
README.txt
reglazdatadict.pp * Fieldmap and typesafe data access 2018-08-15 17:41:18 +00:00
reglazdatadict.res
testdatadict.lpi
testdatadict.lpr
tfpcodegenerator.xpm

This package contains data dictionary support for the Lazarus IDE.

When installed in the IDE, several things happen:

- A 'Data Dictionary' item appears under the 'Project' menu. 
  This has a submenu with 3 items:
  + 'Set...'
    This will set the data dictionary for the current application
  + 'Open'
    This will open the selected data dictionary in the database desktop.
  + 'Configure'
    This will show the data dictionary configuration dialog:
    - It allows one to set the path where data dictionaries are stored
    - It allows one to select the location of the database desktop

- A 'Database desktop' menu item is registered under 'Tools'. It will start
  the 'database desktop'.

- A context menu item is created in the Form Designer: 'Data Dictionary'
  with 3 items:
  - Apply DD. This will apply the data dictionary to all selected datasets.
  - Edit SQL. Starts a visual Query editor with tables from the data
    dictionary. (to be implemented)
  - Create code: allows one to create Object Pascal code based on the TDataset.
    - Create a SQL constant (only if a SQL property is found)
    - Create code to create a DBF file with the same structure as the dataset.
    - Create a class and code to load this class from the dataset.
    - Create a TiOPF class and visitors to load the class from the dataset.
    (see fcl-db/src/codegen for more information)

The code generator component is registered on the component palette, under
"Data Access"

This needs a recent version of FPC (rev. 9389 or higher) to compile.

Enjoy!