mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 23:12:42 +02:00
LazUtils: Add, fix and unify header comments of many units.
git-svn-id: trunk@52518 -
This commit is contained in:
parent
801f392c8d
commit
920c072f0e
@ -1,16 +1,14 @@
|
||||
{%MainUnit ../lconvencoding.pp}
|
||||
|
||||
{******************************************************************************
|
||||
Asian Unicode Functions
|
||||
******************************************************************************
|
||||
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
|
||||
Asian Unicode Functions.
|
||||
The clipboard is able to work with the windows and gtk behaviour/features.
|
||||
}
|
||||
|
||||
|
@ -1,15 +1,14 @@
|
||||
{%MainUnit ../lconvencoding.pp}
|
||||
|
||||
{******************************************************************************
|
||||
Asian Unicode Conversion Tables
|
||||
******************************************************************************
|
||||
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
|
||||
Asian Unicode Conversion Tables
|
||||
}
|
||||
type
|
||||
CP936Arr = array[0..22046] of word;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,17 +1,25 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
|
||||
Bug list :
|
||||
|
||||
- Characters parts may not be well translated, for example i with accent.
|
||||
- Encoding is ok for ASCII but is mixed up for extended characters
|
||||
|
||||
to do :
|
||||
|
||||
- multiple font loading
|
||||
- font face cache
|
||||
- font style
|
||||
- text rotation
|
||||
}
|
||||
unit EasyLazFreeType;
|
||||
|
||||
{ bug list :
|
||||
|
||||
- Characters parts may not be well translated, for example i with accent.
|
||||
- Encoding is ok for ASCII but is mixed up for extended characters
|
||||
|
||||
to do :
|
||||
|
||||
- multiple font loading
|
||||
- font face cache
|
||||
- font style
|
||||
- text rotation }
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
interface
|
||||
|
@ -1,12 +1,6 @@
|
||||
{
|
||||
/***************************************************************************
|
||||
fileutil.pas
|
||||
------------
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
*****************************************************************************
|
||||
This file is part of the LazUtils package.
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,12 +1,6 @@
|
||||
{
|
||||
/***************************************************************************
|
||||
FPCAdds.pas
|
||||
-----------
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,10 +1,8 @@
|
||||
{
|
||||
This file is based on the FCL unit dom svn revision 15251.
|
||||
Converted to use UTF8 instead of widestrings by Mattias Gaertner.
|
||||
}
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of the Free Component Library
|
||||
This file is part of LazUtils.
|
||||
It is copied from FCL unit dom svn revision 15251 and adapted to use
|
||||
UTF8 instead of widestrings by Mattias Gaertner.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of the Free Component Library
|
||||
This file is part of LazUtils.
|
||||
It is copied and modified from a file in Free Component Library.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,6 +1,8 @@
|
||||
{
|
||||
This file was part of the Free Component Library and was adapted to use UTF8
|
||||
strings instead of widestrings.
|
||||
**********************************************************************
|
||||
This file is part of LazUtils.
|
||||
It is copied from Free Component Library and adapted to use
|
||||
UTF8 strings instead of widestrings.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,10 +1,8 @@
|
||||
{
|
||||
This file is based on the FCL unit xmlread svn revision 15251.
|
||||
Converted to use UTF8 instead of widestrings by Mattias Gaertner.
|
||||
}
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of the Free Component Library
|
||||
This file is part of LazUtils.
|
||||
It is copied from FCL unit xmlread svn revision 15251 and adapted to use
|
||||
UTF8 instead of widestrings by Mattias Gaertner.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of the Free Component Library
|
||||
This file is part of LazUtils.
|
||||
It is copied and modified from a file in Free Component Library.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is based on the FCL unit xmlwrite svn revision 15251.
|
||||
This file is part of LazUtils.
|
||||
It is based on the FCL unit xmlwrite svn revision 15251.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is based on the xpath unit of the Free Component Library.
|
||||
This file is part of LazUtils.
|
||||
It is based on the xpath unit of the Free Component Library.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,3 +1,14 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of LazUtils.
|
||||
It is copied from Free Component Library.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
**********************************************************************
|
||||
|
||||
}
|
||||
|
||||
unit Laz_DOM;
|
||||
|
||||
{$MODE objfpc}{$H+}
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file was part of the Free Component Library and was adapted to use UTF8
|
||||
strings instead of widestrings.
|
||||
This file is part of LazUtils.
|
||||
It is copied from Free Component Library and was adapted to use
|
||||
UTF8 strings instead of widestrings.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,3 +1,14 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of LazUtils.
|
||||
It is copied from Free Component Library.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
**********************************************************************
|
||||
|
||||
}
|
||||
|
||||
unit Laz_XMLRead;
|
||||
|
||||
{$MODE objfpc}{$H+}
|
||||
|
@ -1,9 +1,10 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of the Free Component Library
|
||||
This file is part of LazUtils.
|
||||
It is copied from Free Component Library.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
**********************************************************************
|
||||
|
||||
XML serialisation driver
|
||||
|
@ -1,3 +1,14 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of LazUtils.
|
||||
It is copied from Free Component Library.
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the license.
|
||||
**********************************************************************
|
||||
|
||||
}
|
||||
|
||||
unit Laz_XMLWrite;
|
||||
|
||||
{$MODE objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazClasses;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit lazCollections;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,5 +1,7 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
**********************************************************************
|
||||
}
|
||||
unit LazDbgLog;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit lazfglhash;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
**********************************************************************
|
||||
}
|
||||
unit LazFileCache;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,5 +1,11 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of LazUtils.
|
||||
All functions are thread safe unless explicitely stated
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
**********************************************************************
|
||||
}
|
||||
unit LazFileUtils;
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazFreeTypeFontCollection;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazFreeTypeFPImageDrawer;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,18 +1,12 @@
|
||||
{
|
||||
/***************************************************************************
|
||||
LazListClasses.pas
|
||||
---------------
|
||||
Initial Revision : May 2015
|
||||
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
|
||||
Initial Revision : May 2015
|
||||
}
|
||||
|
||||
unit LazListClasses;
|
||||
|
@ -1,4 +1,13 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazLogger;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
interface
|
||||
|
@ -1,4 +1,13 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazLoggerBase;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
(*
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazLoggerDummy;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazLoggerProfiling;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazMethodList;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,10 +1,6 @@
|
||||
{
|
||||
/***************************************************************************
|
||||
lazutf16.pas
|
||||
***************************************************************************/
|
||||
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
@ -14,11 +10,10 @@
|
||||
although it might also include routines for other encodings.
|
||||
|
||||
A UTF-16 based implementation for LowerCase, for example, is faster in WideString
|
||||
and UnicodeString then the default UTF-8 implementation
|
||||
and UnicodeString then the default UTF-8 implementation.
|
||||
|
||||
Currently this unit includes only UTF8LowerCaseViaTables which is based on a
|
||||
UTF-16 table, but it might be extended to include various UTF-16 routines
|
||||
|
||||
UTF-16 table, but it might be extended to include various UTF-16 routines.
|
||||
}
|
||||
unit lazutf16;
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
**********************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
**********************************************************************
|
||||
}
|
||||
unit LazUTF8Classes;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazUTF8SysUtils;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit LazUtilities;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,18 +1,12 @@
|
||||
{
|
||||
/***************************************************************************
|
||||
LazUtilsStrConsts.pas
|
||||
----------------
|
||||
This unit contains all resource strings from LazUtils
|
||||
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
|
||||
This unit contains all resource strings from LazUtils.
|
||||
}
|
||||
unit LazUtilsStrConsts;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,3 +1,11 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
}
|
||||
unit lcsvutils;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,12 +1,6 @@
|
||||
{
|
||||
/***************************************************************************
|
||||
masks.pas
|
||||
---------
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
|
@ -1,16 +1,13 @@
|
||||
{
|
||||
*****************************************************************************
|
||||
paswstring.pas
|
||||
|
||||
A widestring manager written in Pascal
|
||||
and optimized for DefaultSystemCodePage CP_UTF8.
|
||||
|
||||
*****************************************************************************
|
||||
This file is part of the LazUtils package
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
|
||||
A widestring manager written in Pascal
|
||||
and optimized for DefaultSystemCodePage CP_UTF8.
|
||||
}
|
||||
unit PasWString;
|
||||
|
||||
|
@ -50,17 +50,6 @@
|
||||
* zero its main fields (essentially the pointers and array
|
||||
* sizes found in the root fields).
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
******************************************************************)
|
||||
|
||||
unit TTCache;
|
||||
|
@ -1,18 +1,12 @@
|
||||
{
|
||||
/***************************************************************************
|
||||
UTF8Process.pp
|
||||
---------------
|
||||
Initial Revision : Tue Dec 06 09:00:00 CET 2005
|
||||
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
*****************************************************************************
|
||||
This file is part of the Lazarus Component Library (LCL)
|
||||
This file is part of LazUtils.
|
||||
|
||||
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
||||
for details about the license.
|
||||
*****************************************************************************
|
||||
|
||||
Initial Revision : Tue Dec 06 09:00:00 CET 2005
|
||||
}
|
||||
|
||||
unit UTF8Process;
|
||||
|
@ -1,7 +1,6 @@
|
||||
{%MainUnit lazfileutils.pas}
|
||||
|
||||
|
||||
|
||||
function ReadAllLinks(const Filename: string;
|
||||
ExceptionOnError: boolean): string;
|
||||
begin
|
||||
@ -17,7 +16,6 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
|
||||
// ******** Start of WideString specific implementations ************
|
||||
|
||||
const
|
||||
|
Loading…
Reference in New Issue
Block a user