summaryrefslogtreecommitdiff
path: root/src/corelib/fpg_utils.pas
AgeCommit message (Collapse)Author
2015-03-09Adds new functions to fpg_utilsGraeme Geldenhuys
* fpgGitBit() - queries bit values * fpgSetBit() - sets bit values * fpgIntToBin() - outputs bit valuse as a string
2013-12-28uidesigner: completed string constants to resource string for vfdforms.pas unitGraeme Geldenhuys
2013-05-13code formatting: fixes the camel case of a function name.Graeme Geldenhuys
2013-04-19Another file system encoding fix for TfpgINIFileGraeme Geldenhuys
- fpgApplicationName() wrapper for SyUtils.ApplicationName - TfpgINIFile reference ApplicationName, instead of fpgApplicationName - In TfpgINIFile we forgot to encode the file name back to the system encoding before we called Create().
2013-03-18utils: Adds a new RTL wrapper to handle UTF-8 path names correctly.Graeme Geldenhuys
2012-10-12Creates a fpGUI wrapper for RTL's RenameFile() function.Graeme Geldenhuys
2011-09-13new utility function to get the current executable nameGraeme Geldenhuys
2011-06-17minor code formatting changesGraeme Geldenhuys
2010-10-01Fix compilation under Windows. Force DeleteFile() from Sysutils, not Windows ↵Graeme Geldenhuys
API.
2010-09-30fpg_utils: new fpgDeleteFile() wrapper for the RTL DeleteFile() procedureGraeme Geldenhuys
2010-09-23adds new utility function fpgIsBitSet() to check if a specific Bit is set in ↵Graeme Geldenhuys
a value.
2010-09-04fpg_utils: Added a new function that returns a config directory for fpGUI ↵Graeme Geldenhuys
framework itself. This will be used by the File Dialog and Font Select dialog.
2010-09-04fpg_utils: Added two new RTL wrapper functions.Graeme Geldenhuys
2010-09-04Rearranged some constants and moved fpgAddColon() to fpg_utils unit.Graeme Geldenhuys
* Also added some new constants for future use.
2010-08-24New wrapper (fpgChangeFileExt) created for fpGUI.Graeme Geldenhuys
This handles the OS encoding correctly, like the other wrapper functions.
2010-08-23Fix compilation error under Windows.Graeme Geldenhuys
2010-08-22Introduced a new cross-platform fpgFileSize() helper function.Graeme Geldenhuys
2010-05-12overridden fpgForceDirectories() method implemented which handles OS encoding.Graeme Geldenhuys
2010-04-22New Unicode wrapper function added: fpgExtractFileExt()Graeme Geldenhuys
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2010-02-22Removed IFDEF's in fpg_utils by using AllFilesMask.Graeme Geldenhuys
AllFilesMask was introduced into the RTL in FPC 2.2.2. Seeing than fpGUI always only supports the latest released FPC (in this case 2.4.0), we can get rid of the IFDEF.
2009-11-23Added implementation of fpgExtractFileName()Graeme Geldenhuys
2009-10-21Add OS encoding friendly fpgExtractFilePath function.Graeme Geldenhuys
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
2009-06-08DebugLn() improvementsGraeme Geldenhuys
* Moved DebugLn() implementations from fpg_pofiles to fpg_main * DebugLn() should now work even on Windows GUI applications without throwing IO errors. * Implemented 3 new UTF-8 file methods in fpg_utils.
2009-01-14* new methods added to fpg_utils unit.graemeg
* Select Dir Dialog can already display some directories, but still far from complete.
2009-01-12* Added two new functions to fpg_utils unit.graemeg
* More work on the Select Directory dialog.
2008-09-27* Rename all corelib units to the new naming convention.graemeg
* Updated the UI Designer to use the new unit names.