├── InitCode.pas ├── LICENSE ├── Unit1.fmx ├── Unit1.pas ├── Unit2.fmx ├── Unit2.pas ├── changes.txt ├── cls_xtool.dpr ├── cls_xtool.dproj ├── cls_xtool.res ├── common ├── CLS.pas ├── DStorage.pas ├── LibImport.pas ├── Threading.pas └── Utils.pas ├── contrib ├── Delphi_MemoryModule │ ├── Demo │ │ ├── Project2.dpr │ │ └── Project2.dproj │ ├── FuncHook.pas │ ├── MemoryModule.pas │ ├── MemoryModuleHook.pas │ └── README.md ├── FastMM4-AVX │ ├── .gitignore │ ├── CPP Builder Support │ │ └── FastMM4BCB.cpp │ ├── Compile_FastMM4_AVX512.cmd │ ├── Demos │ │ ├── Dynamically Loaded DLL │ │ │ ├── ApplicationForm.dfm │ │ │ ├── ApplicationForm.pas │ │ │ ├── DLLForm.dfm │ │ │ ├── DLLForm.pas │ │ │ ├── DynamicallyLoadedDLLDemo.groupproj │ │ │ ├── TestApplication.dpr │ │ │ ├── TestApplication.dproj │ │ │ ├── TestDLL.dpr │ │ │ └── TestDLL.dproj │ │ ├── Replacement borlndmm DLL │ │ │ ├── DemoForm.dfm │ │ │ ├── DemoForm.pas │ │ │ └── FullDebugModeDemo.dpr │ │ └── Usage Tracker │ │ │ ├── DemoForm.dfm │ │ │ ├── DemoForm.pas │ │ │ ├── FastMMUsageTracker.dfm │ │ │ ├── FastMMUsageTracker.pas │ │ │ ├── UsageTrackerDemo.dpr │ │ │ └── UsageTrackerDemo.dproj │ ├── FastMM4.pas │ ├── FastMM4DataCollector.pas │ ├── FastMM4LockFreeStack.pas │ ├── FastMM4Messages.pas │ ├── FastMM4Options.inc │ ├── FastMM4_AVX512.asm │ ├── FastMM4_FAQ.txt │ ├── FastMM4_Readme.txt │ ├── FastMM_OSXUtil.pas │ ├── FullDebugMode DLL │ │ ├── CPP Builder Support │ │ │ └── Readme.txt │ │ ├── FastMM_FullDebugMode.deployproj │ │ ├── FastMM_FullDebugMode.dpr │ │ ├── FastMM_FullDebugMode.dproj │ │ ├── FastMM_FullDebugMode.info.plist │ │ ├── FastMM_FullDebugMode_Icon.ico │ │ ├── FullDebugMode_DLL_TestApp.dpr │ │ ├── FullDebugMode_DLL_TestApp.dproj │ │ └── Precompiled │ │ │ └── libFastMM_FullDebugMode.dylib │ ├── README.md │ ├── Replacement BorlndMM DLL │ │ ├── BCB5 │ │ │ ├── BorlndMM.bpf │ │ │ ├── BorlndMM.bpr │ │ │ ├── BorlndMM_.pas │ │ │ ├── DLLEntry.cpp │ │ │ └── Export.def │ │ ├── BCB6 │ │ │ ├── BorlndMM.bpf │ │ │ ├── BorlndMM.bpr │ │ │ ├── BorlndMM_.pas │ │ │ ├── DLLEntry.cpp │ │ │ └── Export.def │ │ ├── CB2006 │ │ │ ├── BorlndMM.bdsproj │ │ │ ├── BorlndMM.bpf │ │ │ ├── BorlndMM.pas │ │ │ ├── DLLEntry.cpp │ │ │ ├── Export.def │ │ │ └── Readme.txt │ │ ├── CB2007 │ │ │ ├── BorlndMM.cbproj │ │ │ ├── BorlndMM.pas │ │ │ ├── DLLEntry.cpp │ │ │ ├── Export.def │ │ │ └── Readme.txt │ │ └── Delphi │ │ │ ├── BorlndMM.dpr │ │ │ ├── BorlndMM.dproj │ │ │ └── FastMMDebugSupport.pas │ ├── Translations │ │ ├── Afrikaans │ │ │ └── FastMM4Messages.pas │ │ ├── Belarussian │ │ │ └── FastMM4Messages.pas │ │ ├── Chinese (Simplified) │ │ │ ├── FastMM4Messages.pas │ │ │ └── FastMM4Options.inc │ │ ├── Czech │ │ │ └── FastMM4Messages.pas │ │ ├── English │ │ │ └── FastMM4Messages.pas │ │ ├── French │ │ │ └── FastMM4Messages.pas │ │ ├── German │ │ │ ├── by Thomas Speck │ │ │ │ └── FastMM4Messages.pas │ │ │ └── by Uwe Queisser │ │ │ │ └── FastMM4Messages.pas │ │ ├── Indonesian │ │ │ └── FastMM4Messages.pas │ │ ├── Italian │ │ │ └── FastMM4Messages.pas │ │ ├── Polish │ │ │ └── FastMM4Messages.pas │ │ ├── Portuguese (Brazil) │ │ │ └── FastMM4Messages.pas │ │ ├── Portuguese │ │ │ └── FastMM4Messages.pas │ │ ├── Romanian │ │ │ └── FastMM4Messages.pas │ │ ├── Russian │ │ │ └── FastMM4Messages.pas │ │ ├── Spanish │ │ │ └── FastMM4Messages.pas │ │ └── Ukrainian │ │ │ └── FastMM4Messages.pas │ ├── images │ │ ├── FastMM-Title.jpg │ │ ├── FastMM-simple.jpg │ │ ├── FastMM-square-title.jpg │ │ ├── FastMM-square.jpg │ │ ├── FastMM.jpg │ │ ├── FastMM.png │ │ └── readme.md │ ├── license_gpl.txt │ └── license_lgpl.txt ├── LIBC │ ├── .gitignore │ ├── README.md │ ├── _chkstk.x86.o │ ├── chkstk.x64.o │ ├── chkstk.x86.o │ ├── chkstk_ms.x64.o │ ├── chkstk_ms.x86.o │ ├── cpu_disp.x64.o │ ├── cpu_disp.x86.o │ ├── ctzdi2.x86.o │ ├── ctzti2.x86.o │ ├── divdi3.x86.o │ ├── int_util.x86.o │ ├── libc.pas │ ├── libgcc.pas │ ├── libmsvcrt.pas │ ├── libucrt.pas │ ├── libvcruntime140.pas │ ├── llmul.x86.o │ ├── memcmp.x64.o │ ├── memcmp.x86.o │ ├── memcpy.x64.o │ ├── memcpy.x86.o │ ├── memmove.x86.o │ ├── memset.x64.o │ ├── memset.x86.o │ ├── pkglibc.bpi │ ├── pkglibc.dpk │ ├── pkglibc.dproj │ ├── pkglibc.dproj.local │ ├── pkglibc.identcache │ ├── pkglibc.res │ ├── pkglibc_nonshared.a │ ├── testlibgcc.pas │ ├── testlibmsvcrt.pas │ ├── testlibucrt.pas │ ├── testlibvcruntime140.pas │ ├── testucrt.dpr │ ├── testucrt.dproj │ ├── testucrt.dproj.local │ ├── testucrt.identcache │ ├── testucrt.res │ ├── udivdi3.x86.o │ ├── ulldiv.x86.o │ └── ullshr.x86.o ├── LZ4Delphi │ ├── .gitignore │ ├── LZ4.pas │ ├── PKGLZ4.dpk │ ├── PKGLZ4.dproj │ ├── PKGLZ4.res │ ├── README.md │ ├── lz4delphi.avx2.x64.obj │ ├── lz4delphi.avx2.x86.obj │ ├── lz4delphi.c │ ├── lz4delphi.sse2.x64.obj │ ├── lz4delphi.sse2.x86.obj │ └── lz4lib.pas ├── ParseExpression │ ├── FormExpr.pas │ ├── ParseClass.pas │ ├── ParseExpr.pas │ ├── oObjects.pas │ └── readme.txt ├── XXHASH4Delphi │ ├── .gitattributes │ ├── .gitignore │ ├── README.md │ ├── XXHASH.pas │ ├── XXHASHLIB.pas │ ├── XXHash.groupproj │ ├── xxhash081.dpk │ ├── xxhash081.dproj │ ├── xxhash081.res │ ├── xxhash4delphi.SSE2.c │ └── xxhash4delphi.avx2.c ├── ZSTD4Delphi │ ├── .gitattributes │ ├── .gitignore │ ├── README.MD │ ├── ZSTD.pas │ ├── ZSTD4Delphi.dpk │ ├── ZSTD4Delphi.dproj │ ├── ZSTD4Delphi.dproj.local │ ├── ZSTD4Delphi.identcache │ ├── ZSTD4Delphi.res │ ├── ZSTDLib.pas │ ├── zstd4delphi.avx2.x64.o │ ├── zstd4delphi.avx2.x86.o │ ├── zstd4delphi.c │ ├── zstd4delphi.sse2.x64.o │ └── zstd4delphi.sse2.x86.o ├── grittibanzli │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── grittibanzli.cc │ ├── grittibanzli.h │ ├── grittibanzli_dll │ │ ├── dllmain.cpp │ │ ├── framework.h │ │ ├── grittibanzli_dll.sln │ │ ├── grittibanzli_dll.vcxproj │ │ ├── grittibanzli_dll.vcxproj.filters │ │ ├── grittibanzli_dll.vcxproj.user │ │ ├── pch.cpp │ │ └── pch.h │ └── main.cc ├── mORMot │ ├── .gitattributes │ ├── .github │ │ └── FUNDING.yml │ ├── .gitignore │ ├── CrossPlatform │ │ ├── CopySynCrossPlatformUnits.bat │ │ ├── SynCrossPlatform.inc │ │ ├── SynCrossPlatformCrypto.pas │ │ ├── SynCrossPlatformJSON.pas │ │ ├── SynCrossPlatformREST.pas │ │ ├── SynCrossPlatformSpecific.pas │ │ ├── SynCrossPlatformSynLZ.pas │ │ ├── SynCrossPlatformTests.pas │ │ └── templates │ │ │ ├── API.adoc.mustache │ │ │ ├── CrossPlatform.pas.mustache │ │ │ ├── Delphi.pas.mustache │ │ │ ├── FPC-mORMotInterfaces.pas.mustache │ │ │ ├── FPCServer-mORMotServer.pas.mustache │ │ │ ├── SmartMobileStudio.pas.mustache │ │ │ └── Swagger.json.mustache │ ├── Delphinus.Info.json │ ├── Delphinus.Install.json │ ├── Packages │ │ ├── .gitignore │ │ ├── README.md │ │ ├── mormot_base.lpk │ │ └── mormot_cross.lpk │ ├── PasZip.pas │ ├── RTL7 │ │ ├── FastMM4.pas │ │ ├── FastMM4Messages.pas │ │ ├── FastMM4Options.inc │ │ └── FastMM4_AVX512.obj │ ├── SQLite3 │ │ ├── DDD │ │ │ ├── dom │ │ │ │ ├── asynch.pas.mustache │ │ │ │ ├── dddDomAuthInterfaces.pas │ │ │ │ ├── dddDomCountry.pas │ │ │ │ ├── dddDomEmailInterfaces.pas │ │ │ │ ├── dddDomUserCQRS.pas │ │ │ │ ├── dddDomUserInterfaces.pas │ │ │ │ └── dddDomUserTypes.pas │ │ │ ├── infra │ │ │ │ ├── dddInfraApps.pas │ │ │ │ ├── dddInfraAuthRest.pas │ │ │ │ ├── dddInfraEmail.pas │ │ │ │ ├── dddInfraEmailer.pas │ │ │ │ ├── dddInfraRepoUser.pas │ │ │ │ └── dddInfraSettings.pas │ │ │ └── tools │ │ │ │ ├── dddToolsAdminDB.dfm │ │ │ │ ├── dddToolsAdminDB.pas │ │ │ │ ├── dddToolsAdminLog.dfm │ │ │ │ ├── dddToolsAdminLog.pas │ │ │ │ ├── dddToolsAdminMain.dfm │ │ │ │ └── dddToolsAdminMain.pas │ │ ├── Documentation │ │ │ ├── IamLost.png │ │ │ ├── Release │ │ │ │ ├── Release.dpr │ │ │ │ ├── ReleaseForm.dfm │ │ │ │ └── ReleaseForm.pas │ │ │ ├── SmartCalculator.png │ │ │ ├── SourceCodeRep │ │ │ │ ├── FossilCommit.bat │ │ │ │ ├── FossilCommit.sh │ │ │ │ ├── FossilStatus.bat │ │ │ │ ├── FossilStatus.sh │ │ │ │ ├── FossilUpdate.bat │ │ │ │ ├── FossilUpdate.sh │ │ │ │ ├── GitCommit.bat │ │ │ │ ├── GitCommit.sh │ │ │ │ ├── GitCommitAll.bat │ │ │ │ ├── GitCommitAll.sh │ │ │ │ ├── GitCommitDMustache.bat │ │ │ │ ├── GitCommitDMustache.sh │ │ │ │ ├── GitCommitLVCL.bat │ │ │ │ ├── GitCommitLVCL.sh │ │ │ │ ├── GitCommitSynPdf.bat │ │ │ │ ├── GitCommitSynPdf.sh │ │ │ │ ├── GitCommitSynProject.bat │ │ │ │ ├── GitCommitSynProject.sh │ │ │ │ ├── GitShell.bat │ │ │ │ ├── SourceCodeRep.dpr │ │ │ │ ├── SourceCodeRep.ico │ │ │ │ ├── SourceCodeRep.lpi │ │ │ │ ├── SourceCodeRep.res │ │ │ │ ├── SourceCodeRepMain.dfm │ │ │ │ ├── SourceCodeRepMain.lfm │ │ │ │ └── SourceCodeRepMain.pas │ │ │ ├── Synopse SQLite3 Framework.pro │ │ │ ├── cartoon01.png │ │ │ ├── cartoon02.png │ │ │ ├── cartoon03.png │ │ │ ├── cartoon04.png │ │ │ ├── cartoon05.png │ │ │ ├── cartoon06.png │ │ │ ├── cartoon07.png │ │ │ ├── cartoon08.png │ │ │ ├── logo.png │ │ │ ├── mORMot128.png │ │ │ ├── synfiletms.png │ │ │ └── synfilevcl.png │ │ ├── SQLite3BtnArrow.bmp │ │ ├── SQLite3BtnClose.bmp │ │ ├── SQLite3BtnMax.bmp │ │ ├── SQLite3BtnMin.bmp │ │ ├── SQLite3BtnOk.bmp │ │ ├── SQLite3UI.RES │ │ ├── SQLite3UI.rc │ │ ├── SQLite3UILogin.RES │ │ ├── SQLite3UILogin.png │ │ ├── SQLite3UILogin.rc │ │ ├── Samples │ │ │ ├── 01 - In Memory ORM │ │ │ │ ├── Project01.dpr │ │ │ │ ├── Project01.lpi │ │ │ │ ├── Project01.lpr │ │ │ │ ├── Project01.res │ │ │ │ ├── SampleData.pas │ │ │ │ ├── Unit1.dfm │ │ │ │ ├── Unit1.lfm │ │ │ │ └── Unit1.pas │ │ │ ├── 02 - Embedded SQLite3 ORM │ │ │ │ ├── Project02.dpr │ │ │ │ ├── Project02.lpi │ │ │ │ └── Project02.lpr │ │ │ ├── 03 - NamedPipe Client-Server │ │ │ │ ├── Project03Client.dpr │ │ │ │ ├── Project03Client.res │ │ │ │ ├── Project03Server.dpr │ │ │ │ ├── Project03Server.res │ │ │ │ ├── Unit2.dfm │ │ │ │ └── Unit2.pas │ │ │ ├── 04 - HTTP Client-Server │ │ │ │ ├── Project04Client.dpr │ │ │ │ ├── Project04Client.lpi │ │ │ │ ├── Project04Client.lpr │ │ │ │ ├── Project04Client.res │ │ │ │ ├── Project04Server.dpr │ │ │ │ ├── Project04Server.lpi │ │ │ │ ├── Project04Server.lpr │ │ │ │ ├── Project04Server.res │ │ │ │ ├── Project04ServerRegister.dpr │ │ │ │ ├── Project04ServerStatic.dpr │ │ │ │ ├── Project04ServerStatic.res │ │ │ │ ├── Unit2.dfm │ │ │ │ ├── Unit2.lfm │ │ │ │ ├── Unit2.pas │ │ │ │ ├── Unit2Static.dfm │ │ │ │ └── Unit2Static.pas │ │ │ ├── 05 - Report created from code │ │ │ │ ├── SynPdfFormCanvas.dpr │ │ │ │ ├── SynPdfLayers.dpr │ │ │ │ ├── TestSQLite3Pages.dpr │ │ │ │ ├── TestSQLite3Pages.res │ │ │ │ ├── Unit1.dfm │ │ │ │ └── Unit1.pas │ │ │ ├── 06 - Remote JSON REST Service │ │ │ │ ├── Project06Client.dpr │ │ │ │ ├── Project06Client.res │ │ │ │ ├── Project06ClientMain.dfm │ │ │ │ ├── Project06ClientMain.pas │ │ │ │ └── Project06Server.dpr │ │ │ ├── 07 - SynTest │ │ │ │ ├── SynTest.dpr │ │ │ │ └── SynTestTest.pas │ │ │ ├── 08 - TaskDialog │ │ │ │ ├── TaskDialogTest.dpr │ │ │ │ └── TaskDialogTest.res │ │ │ ├── 09 - HttpApi web server │ │ │ │ ├── HttpApiServer.dpr │ │ │ │ └── HttpApiServer.lpi │ │ │ ├── 10 - Background Http service │ │ │ │ ├── httpservice.dpr │ │ │ │ ├── httpservice.lpi │ │ │ │ ├── httpserviceSetup.dpr │ │ │ │ └── httpserviceSetup.lpi │ │ │ ├── 11 - Exception logging │ │ │ │ ├── LibraryTest.dpr │ │ │ │ ├── LogView.dpr │ │ │ │ ├── LogView.ico │ │ │ │ ├── LogView.lpi │ │ │ │ ├── LogView.lpr │ │ │ │ ├── LogView.res │ │ │ │ ├── LogViewMain.dfm │ │ │ │ ├── LogViewMain.lfm │ │ │ │ ├── LogViewMain.pas │ │ │ │ ├── LoggingTest.dpr │ │ │ │ ├── Map2Mab.dpr │ │ │ │ ├── MyLibrary.dpr │ │ │ │ ├── MyLibrary.res │ │ │ │ ├── RemoteLogMain.dfm │ │ │ │ ├── RemoteLogMain.pas │ │ │ │ ├── RemoteLoggingTest.dpr │ │ │ │ ├── RemoteLoggingTest.res │ │ │ │ ├── UnSynLz.dpr │ │ │ │ └── thread512.dpr │ │ │ ├── 12 - SynDB Explorer │ │ │ │ ├── DBSynLZ.dpr │ │ │ │ ├── SynDB.ico │ │ │ │ ├── SynDBExplorer.dpr │ │ │ │ ├── SynDBExplorer.res │ │ │ │ ├── SynDBExplorerClasses.pas │ │ │ │ ├── SynDBExplorerExportTables.dfm │ │ │ │ ├── SynDBExplorerExportTables.pas │ │ │ │ ├── SynDBExplorerFrame.dfm │ │ │ │ ├── SynDBExplorerFrame.pas │ │ │ │ ├── SynDBExplorerMain.dfm │ │ │ │ ├── SynDBExplorerMain.pas │ │ │ │ ├── SynDBExplorerQueryBuilder.dfm │ │ │ │ ├── SynDBExplorerQueryBuilder.pas │ │ │ │ ├── SynDBExplorerServer.dfm │ │ │ │ └── SynDBExplorerServer.pas │ │ │ ├── 13 - StandAlone JSON SQL server │ │ │ │ ├── JSONSQLClient.dpr │ │ │ │ └── JSONSQLServer.dpr │ │ │ ├── 14 - Interface based services │ │ │ │ ├── Project14Client.dpr │ │ │ │ ├── Project14Client.lpi │ │ │ │ ├── Project14Client.res │ │ │ │ ├── Project14ClientMain.dfm │ │ │ │ ├── Project14ClientMain.pas │ │ │ │ ├── Project14Interface.pas │ │ │ │ ├── Project14Server.dpr │ │ │ │ ├── Project14ServerExternal.dpr │ │ │ │ ├── Project14ServerHttp.dpr │ │ │ │ ├── Project14ServerHttp.lpi │ │ │ │ ├── Project14ServerHttpWeak.dpr │ │ │ │ └── Project14ServerInMemory.dpr │ │ │ ├── 15 - External DB performance │ │ │ │ ├── PerfMain.dfm │ │ │ │ ├── PerfMain.pas │ │ │ │ ├── PerfTest.dpr │ │ │ │ ├── PerfTest.res │ │ │ │ ├── PerfTestCases.pas │ │ │ │ ├── PerfTestConsole.dpr │ │ │ │ └── mORMotBatchInsert.dpr │ │ │ ├── 16 - Execute SQL via services │ │ │ │ ├── Project16Client.dpr │ │ │ │ ├── Project16Client.res │ │ │ │ ├── Project16ClientMain.dfm │ │ │ │ ├── Project16ClientMain.pas │ │ │ │ ├── Project16Interface.pas │ │ │ │ └── Project16ServerHttp.dpr │ │ │ ├── 17 - TClientDataset use │ │ │ │ ├── mORMotVCLTest.dpr │ │ │ │ ├── mORMotVCLUnit.dfm │ │ │ │ └── mORMotVCLUnit.pas │ │ │ ├── 18 - AJAX ExtJS Grid │ │ │ │ ├── Project18Server.dpr │ │ │ │ ├── Project18Server.res │ │ │ │ ├── SampleRecordInit.json │ │ │ │ ├── Unit2.dfm │ │ │ │ ├── Unit2.pas │ │ │ │ └── html5 │ │ │ │ │ ├── MyApp.html │ │ │ │ │ ├── app.js │ │ │ │ │ ├── app │ │ │ │ │ ├── controller │ │ │ │ │ │ └── Contacts.js │ │ │ │ │ ├── model │ │ │ │ │ │ └── Contact.js │ │ │ │ │ ├── store │ │ │ │ │ │ └── Contacts.js │ │ │ │ │ └── view │ │ │ │ │ │ ├── Viewport.js │ │ │ │ │ │ └── contact │ │ │ │ │ │ ├── Edit.js │ │ │ │ │ │ ├── Filtro.js │ │ │ │ │ │ ├── Filtrod.js │ │ │ │ │ │ └── Grid.js │ │ │ │ │ └── resources │ │ │ │ │ ├── css │ │ │ │ │ └── app.css │ │ │ │ │ └── images │ │ │ │ │ ├── add.png │ │ │ │ │ ├── default.gif │ │ │ │ │ ├── delete.png │ │ │ │ │ ├── error.gif │ │ │ │ │ ├── error.png │ │ │ │ │ ├── filter.gif │ │ │ │ │ ├── grid.png │ │ │ │ │ ├── save.gif │ │ │ │ │ ├── search.gif │ │ │ │ │ ├── stop.png │ │ │ │ │ ├── user.png │ │ │ │ │ └── user_add.gif │ │ │ ├── 19 - AJAX ExtJS FishFacts │ │ │ │ ├── Project19Server.dpr │ │ │ │ ├── Project19Server.res │ │ │ │ ├── Unit2.dfm │ │ │ │ ├── Unit2.pas │ │ │ │ └── html5 │ │ │ │ │ ├── css │ │ │ │ │ └── main.css │ │ │ │ │ ├── images │ │ │ │ │ ├── down.png │ │ │ │ │ ├── fishfacts.JPG │ │ │ │ │ └── up.png │ │ │ │ │ ├── index.html │ │ │ │ │ └── jquery.min.js │ │ │ ├── 20 - DTO interface based service │ │ │ │ ├── Project20Client.dpr │ │ │ │ ├── Project20Client.res │ │ │ │ ├── Project20ClientMain.dfm │ │ │ │ ├── Project20ClientMain.pas │ │ │ │ ├── Project20Interface.pas │ │ │ │ └── Project20ServerInMemory.dpr │ │ │ ├── 21 - HTTP Client-Server performance │ │ │ │ ├── Project21HttpClient.dpr │ │ │ │ ├── Project21HttpClient.res │ │ │ │ ├── Project21HttpClientMain.dfm │ │ │ │ ├── Project21HttpClientMain.pas │ │ │ │ └── Project21HttpServer.dpr │ │ │ ├── 22 - JavaScript HTTPApi web server │ │ │ │ ├── JSHttpApiServer.dpr │ │ │ │ ├── mustache.md │ │ │ │ ├── readme.md │ │ │ │ ├── showDownRunner.js │ │ │ │ └── showdown.js │ │ │ ├── 23 - JavaScript Tests │ │ │ │ ├── SynSMSelfTest.pas │ │ │ │ ├── TestMustache.dpr │ │ │ │ ├── TestMustache.res │ │ │ │ ├── TestMustacheUnit.dfm │ │ │ │ ├── TestMustacheUnit.pas │ │ │ │ ├── TestSynSM.dpr │ │ │ │ └── js │ │ │ │ │ ├── testCompileUTF8.js │ │ │ │ │ └── testCompileUnicode.js │ │ │ ├── 24 - MongoDB │ │ │ │ ├── MongoDBTestCases.pas │ │ │ │ └── MongoDBTests.dpr │ │ │ ├── 25 - JSON performance │ │ │ │ ├── JSONPerfTestCases.pas │ │ │ │ └── JSONPerfTests.dpr │ │ │ ├── 26 - RESTful ORM │ │ │ │ ├── RESTClient.dpr │ │ │ │ ├── RESTClient.res │ │ │ │ ├── RESTData.pas │ │ │ │ ├── RESTServerClass.pas │ │ │ │ ├── RESTserver.dpr │ │ │ │ ├── RestClientMain.dfm │ │ │ │ └── RestClientMain.pas │ │ │ ├── 27 - CrossPlatform Clients │ │ │ │ ├── FMClient.dpr │ │ │ │ ├── FMMain.fmx │ │ │ │ ├── FMMain.pas │ │ │ │ ├── MobileClient.dpr │ │ │ │ ├── MobileMain.fmx │ │ │ │ ├── MobileMain.pas │ │ │ │ ├── People.json │ │ │ │ ├── PeopleServer.pas │ │ │ │ ├── Project14ServerHttpWrapper.dpr │ │ │ │ ├── RegressionTests.dpr │ │ │ │ ├── RegressionTestsServer.dpr │ │ │ │ ├── SmartMobileStudio │ │ │ │ │ ├── Form1.pas │ │ │ │ │ ├── Form1.sfm │ │ │ │ │ ├── Project14Client.spr │ │ │ │ │ ├── Project14Client.sproj │ │ │ │ │ ├── Unit1.pas │ │ │ │ │ ├── mORMotClient.pas │ │ │ │ │ └── www │ │ │ │ │ │ ├── app.manifest │ │ │ │ │ │ └── index.html │ │ │ │ ├── VCLClient.dpr │ │ │ │ ├── VCLMain.dfm │ │ │ │ ├── VCLMain.pas │ │ │ │ └── mORMotClient.pas │ │ │ ├── 28 - Simple RESTful ORM Server │ │ │ │ ├── RESTModel.pas │ │ │ │ ├── RESTclient.dpr │ │ │ │ ├── RESTserver.dpr │ │ │ │ └── RESTserver_wrappers.dpr │ │ │ ├── 29 - SmartMobileStudio Client │ │ │ │ ├── CopySynCrossPlatformUnits.bat │ │ │ │ ├── CopySynCrossPlatformUnitsBACK.bat │ │ │ │ ├── LoginForm.pas │ │ │ │ ├── LoginForm.sfm │ │ │ │ ├── MainUnit.pas │ │ │ │ ├── ReadMe.md │ │ │ │ ├── SmartTests.pas │ │ │ │ ├── WebForm.sproj │ │ │ │ ├── WebFormApplication.spr │ │ │ │ └── mORMotClient.pas │ │ │ ├── 30 - MVC Server │ │ │ │ ├── MVCModel.pas │ │ │ │ ├── MVCServer.dpr │ │ │ │ ├── MVCServerFirebird.dpr │ │ │ │ ├── MVCServerMongoDB.dpr │ │ │ │ ├── MVCServerPostgreSQL.dpr │ │ │ │ ├── MVCViewModel.pas │ │ │ │ └── Views │ │ │ │ │ ├── .static │ │ │ │ │ ├── blog.css │ │ │ │ │ └── blog.ico │ │ │ │ │ ├── ArticleEdit.html │ │ │ │ │ ├── ArticleView.html │ │ │ │ │ ├── AuthorView.html │ │ │ │ │ ├── Default.html │ │ │ │ │ ├── Error.html │ │ │ │ │ ├── articlerow.partial │ │ │ │ │ ├── footer.partial │ │ │ │ │ ├── header.partial │ │ │ │ │ └── masthead.partial │ │ │ ├── 31 - WebSockets │ │ │ │ ├── Project31ChatCallbackInterface.pas │ │ │ │ ├── Project31ChatClient.dpr │ │ │ │ ├── Project31ChatServer.dpr │ │ │ │ ├── Project31LongWorkCallbackInterface.pas │ │ │ │ ├── Project31LongWorkClient.dpr │ │ │ │ ├── Project31LongWorkServer.dpr │ │ │ │ ├── Project31SimpleEchoServer.dpr │ │ │ │ ├── Project31SimpleEchoServer.html │ │ │ │ ├── Project31WinHTTPEchoServer.dpr │ │ │ │ └── Project31WinHTTPEchoServer.lpi │ │ │ ├── 33 - ECC │ │ │ │ ├── ECC.dpr │ │ │ │ ├── ECC.ico │ │ │ │ ├── ECC.lpi │ │ │ │ ├── ECC.res │ │ │ │ └── ECCProcess.pas │ │ │ ├── 34 - Socket Polling │ │ │ │ └── Project34RTSPproxy.dpr │ │ │ ├── 35 - Practical DDD │ │ │ │ ├── 01 │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── dom │ │ │ │ │ │ ├── DomConferenceDepend.pas │ │ │ │ │ │ ├── DomConferenceInterfaces.pas │ │ │ │ │ │ ├── DomConferenceServices.pas │ │ │ │ │ │ ├── DomConferenceTest.pas │ │ │ │ │ │ └── DomConferenceTypes.pas │ │ │ │ │ ├── infra │ │ │ │ │ │ └── InfraConferenceRepository.pas │ │ │ │ │ ├── serv │ │ │ │ │ │ ├── ServBook.dpr │ │ │ │ │ │ ├── ServBookMain.pas │ │ │ │ │ │ └── ServBookTest.pas │ │ │ │ │ └── test │ │ │ │ │ │ ├── TestAll.dpr │ │ │ │ │ │ └── TestAllMain.pas │ │ │ │ ├── 02 │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── dom │ │ │ │ │ │ ├── DomConferenceDepend.pas │ │ │ │ │ │ ├── DomConferenceInterfaces.pas │ │ │ │ │ │ ├── DomConferenceServices.pas │ │ │ │ │ │ ├── DomConferenceTest.pas │ │ │ │ │ │ └── DomConferenceTypes.pas │ │ │ │ │ ├── infra │ │ │ │ │ │ └── InfraConferenceRepository.pas │ │ │ │ │ ├── serv │ │ │ │ │ │ ├── ServBook.dpr │ │ │ │ │ │ ├── ServBookMain.pas │ │ │ │ │ │ └── ServBookTest.pas │ │ │ │ │ └── test │ │ │ │ │ │ ├── TestAll.dpr │ │ │ │ │ │ └── TestAllMain.pas │ │ │ │ ├── 03 │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── dom │ │ │ │ │ │ ├── DomConferenceDepend.pas │ │ │ │ │ │ ├── DomConferenceInterfaces.pas │ │ │ │ │ │ ├── DomConferenceServices.pas │ │ │ │ │ │ ├── DomConferenceTest.pas │ │ │ │ │ │ └── DomConferenceTypes.pas │ │ │ │ │ ├── infra │ │ │ │ │ │ └── InfraConferenceRepository.pas │ │ │ │ │ ├── serv │ │ │ │ │ │ ├── ServBook.dpr │ │ │ │ │ │ ├── ServBookMain.pas │ │ │ │ │ │ └── ServBookTest.pas │ │ │ │ │ └── test │ │ │ │ │ │ ├── TestAll.dpr │ │ │ │ │ │ └── TestAllMain.pas │ │ │ │ ├── 04 │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── dom │ │ │ │ │ │ ├── DomConferenceDepend.pas │ │ │ │ │ │ ├── DomConferenceInterfaces.pas │ │ │ │ │ │ ├── DomConferenceServices.pas │ │ │ │ │ │ ├── DomConferenceTest.pas │ │ │ │ │ │ └── DomConferenceTypes.pas │ │ │ │ │ ├── infra │ │ │ │ │ │ └── InfraConferenceRepository.pas │ │ │ │ │ ├── serv │ │ │ │ │ │ ├── ServBook.dpr │ │ │ │ │ │ ├── ServBookMain.pas │ │ │ │ │ │ └── ServBookTest.pas │ │ │ │ │ └── test │ │ │ │ │ │ ├── TestAll.dpr │ │ │ │ │ │ └── TestAllMain.pas │ │ │ │ ├── 05 │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── dom │ │ │ │ │ │ ├── DomConferenceDepend.pas │ │ │ │ │ │ ├── DomConferenceInterfaces.pas │ │ │ │ │ │ ├── DomConferenceServices.pas │ │ │ │ │ │ ├── DomConferenceTest.pas │ │ │ │ │ │ └── DomConferenceTypes.pas │ │ │ │ │ ├── infra │ │ │ │ │ │ └── InfraConferenceRepository.pas │ │ │ │ │ ├── serv │ │ │ │ │ │ ├── ServBook.dpr │ │ │ │ │ │ ├── ServBook.dproj │ │ │ │ │ │ ├── ServBookMain.pas │ │ │ │ │ │ └── ServBookTest.pas │ │ │ │ │ └── test │ │ │ │ │ │ ├── TestAll.dpr │ │ │ │ │ │ ├── TestAll.dproj │ │ │ │ │ │ └── TestAllMain.pas │ │ │ │ └── ReadMe.md │ │ │ ├── 36 - Simple REST Benchmark │ │ │ │ ├── README.md │ │ │ │ ├── RESTBenchmark.dpr │ │ │ │ ├── RESTBenchmark.lpi │ │ │ │ ├── RESTModel.pas │ │ │ │ ├── installSystemSocket.sh │ │ │ │ ├── mormot-rest-nginx.conf │ │ │ │ ├── rest_benchmark.service │ │ │ │ └── rest_benchmark.socket │ │ │ ├── 37 - FishShop Service │ │ │ │ ├── FishShopDaemon.dpr │ │ │ │ ├── FishShopDaemon.lpi │ │ │ │ ├── ServFishShopMain.pas │ │ │ │ ├── ServFishShopTests.pas │ │ │ │ ├── ServFishShopTypes.pas │ │ │ │ ├── TestFishShop.dpr │ │ │ │ └── TestFishShop.lpi │ │ │ ├── MainDemo │ │ │ │ ├── BannerData.png │ │ │ │ ├── BannerSafe.png │ │ │ │ ├── FileClient.pas │ │ │ │ ├── FileEdit.dfm │ │ │ │ ├── FileEdit.pas │ │ │ │ ├── FileMain.dfm │ │ │ │ ├── FileMain.pas │ │ │ │ ├── FileMain.rc │ │ │ │ ├── FileMain.zip │ │ │ │ ├── FileMainRes.bat │ │ │ │ ├── FileServer.pas │ │ │ │ ├── FileTables.pas │ │ │ │ ├── SynFile.dpr │ │ │ │ └── SynFile.res │ │ │ └── ThirdPartyDemos │ │ │ │ ├── Alfred │ │ │ │ └── mORMot4Android │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── ant.properties │ │ │ │ │ ├── assets │ │ │ │ │ ├── Synopse.png │ │ │ │ │ ├── mormot.jpg │ │ │ │ │ └── mormotbw.jpg │ │ │ │ │ ├── bin │ │ │ │ │ └── --hereWillBeTheAppBuilt-- │ │ │ │ │ ├── build.bat │ │ │ │ │ ├── build.xml │ │ │ │ │ ├── build_release.bat │ │ │ │ │ ├── gen │ │ │ │ │ ├── R.java.d │ │ │ │ │ └── com │ │ │ │ │ │ └── kredix │ │ │ │ │ │ ├── BuildConfig.java │ │ │ │ │ │ └── R.java │ │ │ │ │ ├── install.bat │ │ │ │ │ ├── jni │ │ │ │ │ ├── And_Controls │ │ │ │ │ │ ├── And_Controls.pas │ │ │ │ │ │ ├── And_Controls_Types.pas │ │ │ │ │ │ ├── And_Jni.pas │ │ │ │ │ │ ├── And_Jni_Bridge.pas │ │ │ │ │ │ └── Deprecated │ │ │ │ │ │ │ ├── And_lib_Image.pas │ │ │ │ │ │ │ └── And_lib_Unzip.pas │ │ │ │ │ ├── Form_Splash.pas │ │ │ │ │ ├── Form_main.pas │ │ │ │ │ ├── SampleData.pas │ │ │ │ │ ├── mORMotOnAndroid.lpi │ │ │ │ │ ├── mORMotOnAndroid.pas │ │ │ │ │ ├── mORMotOnAndroid.res │ │ │ │ │ ├── main.pas │ │ │ │ │ └── main.res │ │ │ │ │ ├── libs │ │ │ │ │ └── armeabi-v7a │ │ │ │ │ │ └── --hereWillBeTheLibBuilt-- │ │ │ │ │ ├── mORMot │ │ │ │ │ └── --putmORMotSourceHere-- │ │ │ │ │ ├── my-release-key.keystore │ │ │ │ │ ├── res │ │ │ │ │ ├── drawable-hdpi │ │ │ │ │ │ └── icon.png │ │ │ │ │ ├── drawable-ldpi │ │ │ │ │ │ └── icon.png │ │ │ │ │ ├── drawable-mdpi │ │ │ │ │ │ └── icon.png │ │ │ │ │ ├── drawable-xhdpi │ │ │ │ │ │ └── icon.png │ │ │ │ │ ├── drawable-xxhdpi │ │ │ │ │ │ └── icon.png │ │ │ │ │ └── values │ │ │ │ │ │ └── strings.xml │ │ │ │ │ ├── src │ │ │ │ │ ├── App.java │ │ │ │ │ └── Controls.java │ │ │ │ │ └── uninstall.bat │ │ │ │ ├── AntonE │ │ │ │ ├── CSV2ORM │ │ │ │ │ ├── CSV2ORM.dpr │ │ │ │ │ ├── Device.csv │ │ │ │ │ ├── MAinFormU.dfm │ │ │ │ │ ├── MAinFormU.pas │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ └── Templates.cds │ │ │ │ └── ORMCDS │ │ │ │ │ ├── DataModU.dfm │ │ │ │ │ ├── MAinFormU.dfm │ │ │ │ │ ├── MAinFormU.pas │ │ │ │ │ ├── ORMCDS.pas │ │ │ │ │ ├── ORMCDS_Test.dpr │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── SampleForm1U.dfm │ │ │ │ │ ├── SampleForm1U.pas │ │ │ │ │ ├── SampleForm2U.dfm │ │ │ │ │ └── SampleForm2U.pas │ │ │ │ ├── Chaa │ │ │ │ ├── ReadMe.md │ │ │ │ └── WindowsAuth.dpr │ │ │ │ ├── ChinaPeng │ │ │ │ ├── ReadMe.md │ │ │ │ └── clientcode.java │ │ │ │ ├── DigDiver │ │ │ │ └── AngularJS │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── index.html │ │ │ │ │ ├── js │ │ │ │ │ ├── app.js │ │ │ │ │ ├── controllers.js │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── contacts.js │ │ │ │ │ │ ├── drafts.js │ │ │ │ │ │ ├── editor.js │ │ │ │ │ │ ├── emails.js │ │ │ │ │ │ └── templates.js │ │ │ │ │ ├── custom_config.js │ │ │ │ │ ├── em-utils.js │ │ │ │ │ └── syn-auth.js │ │ │ │ │ └── partials │ │ │ │ │ ├── console.html │ │ │ │ │ ├── contacts-blank.html │ │ │ │ │ ├── contacts-sidebar.html │ │ │ │ │ ├── contacts.html │ │ │ │ │ ├── content-sidebar.html │ │ │ │ │ ├── drafts.html │ │ │ │ │ ├── editor-draft.html │ │ │ │ │ ├── editor-template.html │ │ │ │ │ ├── editor.html │ │ │ │ │ ├── email-item-details.html │ │ │ │ │ ├── gt-dropdown.html │ │ │ │ │ ├── gt-select.html │ │ │ │ │ ├── login.html │ │ │ │ │ ├── modal-upload-attachment.html │ │ │ │ │ ├── multiselect.tmpl.html │ │ │ │ │ ├── outbox.html │ │ │ │ │ ├── sidebar-main-layuot.html │ │ │ │ │ ├── templates.html │ │ │ │ │ ├── topbar │ │ │ │ │ ├── console.html │ │ │ │ │ ├── contacts.html │ │ │ │ │ ├── editor.html │ │ │ │ │ ├── search.html │ │ │ │ │ └── sending-search.html │ │ │ │ │ ├── workplaces.html │ │ │ │ │ └── wp-base.html │ │ │ │ ├── EMartin │ │ │ │ ├── SynJSONTreeview │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── Sample.json │ │ │ │ │ ├── SynJSONTVEditor.dpr │ │ │ │ │ ├── SynJSONTVEditor.res │ │ │ │ │ ├── SynJSONTreeView.pas │ │ │ │ │ ├── SynJSONTreeView.res │ │ │ │ │ ├── fLevel.dfm │ │ │ │ │ ├── fLevel.pas │ │ │ │ │ ├── fMain.dfm │ │ │ │ │ └── fMain.pas │ │ │ │ └── TSynRestDataset │ │ │ │ │ ├── Demo.bpg │ │ │ │ │ ├── FishFactSyn │ │ │ │ │ ├── Ffactwin.dfm │ │ │ │ │ ├── Ffactwin.pas │ │ │ │ │ └── FishFactSyn.dpr │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── SampleData.pas │ │ │ │ │ ├── Server.dpr │ │ │ │ │ ├── SynRestMidasVCL.pas │ │ │ │ │ ├── SynRestVCL.pas │ │ │ │ │ ├── fMain.dfm │ │ │ │ │ └── fMain.pas │ │ │ │ ├── George │ │ │ │ └── REST-tester │ │ │ │ │ ├── JMeterTestPlan_NoAuthentication.jmx │ │ │ │ │ ├── README.md │ │ │ │ │ ├── RestClientFormUnit.dfm │ │ │ │ │ ├── RestClientFormUnit.lfm │ │ │ │ │ ├── RestClientFormUnit.pas │ │ │ │ │ ├── RestClientUnit.pas │ │ │ │ │ ├── RestMethodsInterfaceUnit.pas │ │ │ │ │ ├── RestServerFormUnit.dfm │ │ │ │ │ ├── RestServerFormUnit.lfm │ │ │ │ │ ├── RestServerFormUnit.lrs │ │ │ │ │ ├── RestServerFormUnit.pas │ │ │ │ │ ├── RestServerMethodsUnit.pas │ │ │ │ │ ├── RestServerUnit.pas │ │ │ │ │ ├── generics-collections │ │ │ │ │ └── src │ │ │ │ │ │ ├── generics.collections.pas │ │ │ │ │ │ ├── generics.defaults.pas │ │ │ │ │ │ ├── generics.hashes.pas │ │ │ │ │ │ ├── generics.helpers.pas │ │ │ │ │ │ ├── generics.memoryexpanders.pas │ │ │ │ │ │ ├── generics.strings.pas │ │ │ │ │ │ └── inc │ │ │ │ │ │ ├── generics.dictionaries.inc │ │ │ │ │ │ └── generics.dictionariesh.inc │ │ │ │ │ ├── mORMotRESTFPCInterfaces.pas │ │ │ │ │ ├── mORMotRESTcl.dpr │ │ │ │ │ ├── mORMotRESTcl.lpi │ │ │ │ │ ├── mORMotRESTsrv.dpr │ │ │ │ │ ├── mORMotRESTsrv.lpi │ │ │ │ │ └── screenshot.png │ │ │ │ ├── KroKodil │ │ │ │ ├── README.md │ │ │ │ ├── moRMOt.iml │ │ │ │ ├── pom.xml │ │ │ │ ├── server.png │ │ │ │ └── src │ │ │ │ │ ├── delphi │ │ │ │ │ ├── CalcInterface.pas │ │ │ │ │ ├── Client.dpr │ │ │ │ │ ├── Client.res │ │ │ │ │ ├── ClientForm.dfm │ │ │ │ │ ├── ClientForm.pas │ │ │ │ │ ├── FileCollect.pas │ │ │ │ │ ├── REST.bdsgroup │ │ │ │ │ ├── REST.bpg │ │ │ │ │ ├── SampleData.pas │ │ │ │ │ ├── Server.dpr │ │ │ │ │ ├── Server.res │ │ │ │ │ ├── ServerForm.dfm │ │ │ │ │ ├── ServerForm.pas │ │ │ │ │ ├── bin │ │ │ │ │ │ ├── SHA Client.lnk │ │ │ │ │ │ ├── SHA Server.lnk │ │ │ │ │ │ ├── SSL Client.lnk │ │ │ │ │ │ ├── SSL Server.lnk │ │ │ │ │ │ ├── server.db3 │ │ │ │ │ │ └── users.json │ │ │ │ │ └── ssl │ │ │ │ │ │ ├── SignRoot.pvk │ │ │ │ │ │ ├── signroot.cer │ │ │ │ │ │ └── ssl.bat │ │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ ├── CRC32.java │ │ │ │ │ ├── RESTClient.java │ │ │ │ │ ├── SynClient.java │ │ │ │ │ └── SynTest.java │ │ │ │ ├── Migajek │ │ │ │ ├── synopse-sqlite-demo │ │ │ │ │ ├── Project1.dpr │ │ │ │ │ ├── Project1.res │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── Unit1.dfm │ │ │ │ │ ├── Unit1.pas │ │ │ │ │ ├── uCustomer.pas │ │ │ │ │ ├── uLoginForm.dfm │ │ │ │ │ ├── uLoginForm.pas │ │ │ │ │ └── uQueryHistory.pas │ │ │ │ └── synopse-sqlite-generator │ │ │ │ │ ├── Project2.dpr │ │ │ │ │ ├── Project2.res │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── RegExpr.pas │ │ │ │ │ ├── Unit1.dfm │ │ │ │ │ └── Unit1.pas │ │ │ │ ├── Ondrej │ │ │ │ └── SynTaskDialog4Lazarus │ │ │ │ │ ├── FMXUtil.inc.pas │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── SynTaskDialog.RES │ │ │ │ │ ├── SynTaskDialog.pas │ │ │ │ │ ├── res │ │ │ │ │ ├── blank.png.pas │ │ │ │ │ ├── error.png.pas │ │ │ │ │ ├── help.png.pas │ │ │ │ │ ├── info.png.pas │ │ │ │ │ ├── std_lazarrow.lrs │ │ │ │ │ ├── std_lazicons.lrs │ │ │ │ │ └── warning.png.pas │ │ │ │ │ ├── std_lazarrow.lrs │ │ │ │ │ └── std_lazicons.lrs │ │ │ │ ├── ReadMe.md │ │ │ │ ├── StackOverflow │ │ │ │ ├── BinarySearchFastMultiInsert.dpr │ │ │ │ └── ORMFastMultiInsertWithIndex.dpr │ │ │ │ ├── TPrami │ │ │ │ └── mORMotDebuggerVisualizer │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── TimeLogVisualizer.pas │ │ │ │ │ ├── mORMotDebugVisualizerTestAppdproj.dpr │ │ │ │ │ ├── mORMotDebuggerVisualizer.dpk │ │ │ │ │ ├── mORMotDebuggerVisualizer.res │ │ │ │ │ ├── mORMotVisualizerTesterMainForm.dfm │ │ │ │ │ └── mORMotVisualizerTesterMainForm.pas │ │ │ │ ├── WarleyAlex │ │ │ │ └── MongoProj │ │ │ │ │ ├── DB │ │ │ │ │ └── wine.json │ │ │ │ │ ├── Form2.dfm │ │ │ │ │ ├── Form2.pas │ │ │ │ │ ├── Formulario.dfm │ │ │ │ │ ├── Formulario.pas │ │ │ │ │ ├── ReadMe.md │ │ │ │ │ ├── Servidor.res │ │ │ │ │ ├── btn.RES │ │ │ │ │ ├── mongoproj.dpr │ │ │ │ │ ├── mongoproj.res │ │ │ │ │ ├── mormotMongo.dfm │ │ │ │ │ ├── mormotMongo.pas │ │ │ │ │ └── pics │ │ │ │ │ ├── argiano.jpg │ │ │ │ │ ├── block_nine.jpg │ │ │ │ │ ├── bodega_lurton.jpg │ │ │ │ │ ├── bouscat.jpg │ │ │ │ │ ├── calera.jpg │ │ │ │ │ ├── capineto.png │ │ │ │ │ ├── caronne.jpg │ │ │ │ │ ├── dinastia.jpg │ │ │ │ │ ├── domaine_serene.jpg │ │ │ │ │ ├── ex_umbris.jpg │ │ │ │ │ ├── fourvines.jpg │ │ │ │ │ ├── generic.jpg │ │ │ │ │ ├── hugel.jpg │ │ │ │ │ ├── lan_rioja.jpg │ │ │ │ │ ├── le_doyenne.jpg │ │ │ │ │ ├── margerum.jpg │ │ │ │ │ ├── momo.jpg │ │ │ │ │ ├── morizottes.jpg │ │ │ │ │ ├── petalos.jpg │ │ │ │ │ ├── ponzi.jpg │ │ │ │ │ ├── quivira.jpg │ │ │ │ │ ├── rex_hill.jpg │ │ │ │ │ ├── saint_cosme.jpg │ │ │ │ │ ├── shafer.jpg │ │ │ │ │ ├── viticcio.jpg │ │ │ │ │ ├── warley.jpg │ │ │ │ │ └── waterbrook.jpg │ │ │ │ └── uian2000 │ │ │ │ └── DDDPersistence │ │ │ │ ├── DDDPersistence.dpr │ │ │ │ ├── DDDPersistenceMain.pas │ │ │ │ └── ReadMe.md │ │ ├── ServiceTestForm.dfm │ │ ├── ServiceTestForm.pas │ │ ├── ServiceTestSQL3.dpr │ │ ├── ServiceTestSQL3.res │ │ ├── TestOleDB.dpr │ │ ├── TestSQL3.dpr │ │ ├── TestSQL3.lpi │ │ ├── TestSQL3.res │ │ ├── TestSQL3FPCInterfaces.pas │ │ ├── TestSQL3Register.dpr │ │ ├── amalgamation │ │ │ ├── ReadMe.md │ │ │ ├── android │ │ │ │ ├── jni │ │ │ │ │ ├── Android.mk │ │ │ │ │ ├── Application.mk │ │ │ │ │ └── ApplicationWin32.mk │ │ │ │ ├── ndk-linux.sh │ │ │ │ └── ndk-windows.bat │ │ │ ├── ciphers │ │ │ │ ├── cipher_common.c │ │ │ │ └── cipher_common.h │ │ │ ├── codecext.c │ │ │ ├── compile-delphi-win32.bat │ │ │ ├── compile-delphi-win64.bat │ │ │ ├── compile-fpc-aarch64-android.sh │ │ │ ├── compile-fpc-aarch64-linux.sh │ │ │ ├── compile-fpc-arm-android.sh │ │ │ ├── compile-fpc-arm-linux.sh │ │ │ ├── compile-fpc-i386-android.sh │ │ │ ├── compile-fpc-i386-darwin.sh │ │ │ ├── compile-fpc-i386-freebsd.sh │ │ │ ├── compile-fpc-i386-linux.bat │ │ │ ├── compile-fpc-i386-linux.sh │ │ │ ├── compile-fpc-i386-openbsd.sh │ │ │ ├── compile-fpc-i386-win32.sh │ │ │ ├── compile-fpc-x86_64-android.sh │ │ │ ├── compile-fpc-x86_64-darwin.sh │ │ │ ├── compile-fpc-x86_64-freebsd.sh │ │ │ ├── compile-fpc-x86_64-linux.bat │ │ │ ├── compile-fpc-x86_64-linux.sh │ │ │ ├── compile-fpc-x86_64-openbsd.sh │ │ │ ├── compile-fpc-x86_64-win64.sh │ │ │ ├── patch-and-compile.sh │ │ │ ├── patchsqlite3.sh │ │ │ ├── regexp.c │ │ │ ├── sqlite3mc.c │ │ │ ├── sqlite3mc_vfs.c │ │ │ └── sqlite3mc_vfs.h │ │ ├── build-fpc-linux64.sh │ │ ├── c-fpc64gcclin.sh │ │ ├── c-fpcgcclin.sh │ │ ├── mORMot.pas │ │ ├── mORMotBigTable.pas │ │ ├── mORMotDB.pas │ │ ├── mORMotDDD.pas │ │ ├── mORMotFastCgiServer.pas │ │ ├── mORMotHttpClient.pas │ │ ├── mORMotHttpServer.pas │ │ ├── mORMotMVC.pas │ │ ├── mORMotMidasVCL.pas │ │ ├── mORMotMongoDB.pas │ │ ├── mORMotReport.pas │ │ ├── mORMotSQLite3.pas │ │ ├── mORMotSelfTests.pas │ │ ├── mORMotService.pas │ │ ├── mORMotToolBar.pas │ │ ├── mORMotUI.pas │ │ ├── mORMotUIEdit.dfm │ │ ├── mORMotUIEdit.pas │ │ ├── mORMotUILogin.dfm │ │ ├── mORMotUILogin.pas │ │ ├── mORMotUIOptions.dfm │ │ ├── mORMotUIOptions.pas │ │ ├── mORMotUIQuery.dfm │ │ ├── mORMotUIQuery.pas │ │ ├── mORMotVCL.pas │ │ ├── mORMotWrappers.pas │ │ ├── mORMoti18n.pas │ │ └── sqlite3.obj │ ├── SyNode │ │ ├── .gitignore │ │ ├── NSPRAPI.pas │ │ ├── README.md │ │ ├── Samples │ │ │ ├── 01 - Dll Modules │ │ │ │ └── math-module │ │ │ │ │ ├── package.json │ │ │ │ │ └── src │ │ │ │ │ ├── mathModule.dpr │ │ │ │ │ ├── mathModule.res │ │ │ │ │ └── uMathModule.pas │ │ │ ├── 02 - Bindings │ │ │ │ ├── .gitignore │ │ │ │ ├── ExtendDebuggerConsole.js │ │ │ │ ├── SpiderMonkey45Binding.dpr │ │ │ │ ├── SpiderMonkey45Binding.dproj │ │ │ │ ├── SpiderMonkey45Binding.lpi │ │ │ │ ├── SpiderMonkey45Binding.lpr │ │ │ │ ├── SpiderMonkey45Binding.otares │ │ │ │ ├── SpiderMonkey45Binding.res │ │ │ │ ├── SpiderMonkey45Binding_Icon.ico │ │ │ │ ├── SpiderMonkey45Binding_Icon1.ico │ │ │ │ ├── ufrmSM45Demo.dfm │ │ │ │ └── ufrmSM45Demo.pas │ │ │ ├── 03 - HelloSpiderMonkey52 │ │ │ │ ├── HelloSpiderMonkey52.dpr │ │ │ │ ├── HelloSpiderMonkey52.lpi │ │ │ │ └── HelloSpiderMonkey52.lpr │ │ │ └── AllSamples.bpg │ │ ├── SpiderMonkey.pas │ │ ├── SyNode.inc │ │ ├── SyNode.pas │ │ ├── SyNodeBinding_HTTPClient.pas │ │ ├── SyNodeBinding_buffer.pas │ │ ├── SyNodeBinding_const.pas │ │ ├── SyNodeBinding_fs.pas │ │ ├── SyNodeBinding_util.pas │ │ ├── SyNodeBinding_uv.pas │ │ ├── SyNodeBinding_worker.pas │ │ ├── SyNodeNewProto.pas │ │ ├── SyNodePluginIntf.pas │ │ ├── SyNodeProto.pas │ │ ├── SyNodeReadWrite.pas │ │ ├── SyNodeRemoteDebugger.pas │ │ ├── SyNodeSimpleProto.pas │ │ ├── _SynodePluginTemplate.dpr │ │ ├── build_res.sh │ │ ├── core_modules.res │ │ ├── core_modules │ │ │ ├── DevTools │ │ │ │ ├── Debugger.js │ │ │ │ ├── DevToolsUtils.js │ │ │ │ ├── ObjectActorPreviewers.js │ │ │ │ ├── js-property-provider.js │ │ │ │ └── stringify.js │ │ │ ├── ModuleLoader.js │ │ │ ├── core_modules │ │ │ ├── node_modules │ │ │ │ ├── _stream_duplex.js │ │ │ │ ├── _stream_passthrough.js │ │ │ │ ├── _stream_readable.js │ │ │ │ ├── _stream_transform.js │ │ │ │ ├── _stream_writable.js │ │ │ │ ├── assert.js │ │ │ │ ├── buffer.js │ │ │ │ ├── child_process.js │ │ │ │ ├── console.js │ │ │ │ ├── crypto.js │ │ │ │ ├── dns.js │ │ │ │ ├── events.js │ │ │ │ ├── fs.js │ │ │ │ ├── http.js │ │ │ │ ├── https.js │ │ │ │ ├── internal │ │ │ │ │ ├── errors.js │ │ │ │ │ ├── fs.js │ │ │ │ │ ├── module.js │ │ │ │ │ ├── net.js │ │ │ │ │ ├── process │ │ │ │ │ │ └── stdio.js │ │ │ │ │ ├── querystring.js │ │ │ │ │ ├── streams │ │ │ │ │ │ ├── BufferList.js │ │ │ │ │ │ └── lazy_transform.js │ │ │ │ │ └── util.js │ │ │ │ ├── module.js │ │ │ │ ├── net.js │ │ │ │ ├── os.js │ │ │ │ ├── path.js │ │ │ │ ├── polyfill │ │ │ │ │ └── WindowTimer.js │ │ │ │ ├── punycode.js │ │ │ │ ├── querystring.js │ │ │ │ ├── stream.js │ │ │ │ ├── string_decoder.js │ │ │ │ ├── timers.js │ │ │ │ ├── tty.js │ │ │ │ ├── url.js │ │ │ │ ├── util.js │ │ │ │ ├── vm.js │ │ │ │ └── zlib.js │ │ │ └── synode.js │ │ ├── mozjs │ │ │ ├── BuildInstruction.md │ │ │ ├── BuildInstructionSM52-linux.md │ │ │ ├── BuildInstructionSM52.md │ │ │ ├── Delphi patch 52.patch │ │ │ └── esr52-git.patch │ │ ├── synodebinding_os.pas │ │ └── tools │ │ │ ├── core_res.lpi │ │ │ └── core_res.lpr │ ├── SynBidirSock.pas │ ├── SynBigTable.pas │ ├── SynBz.pas │ ├── SynBzPas.pas │ ├── SynCommons.pas │ ├── SynCrtSock.pas │ ├── SynCrypto.pas │ ├── SynCurl.pas │ ├── SynDB.pas │ ├── SynDBDataset.pas │ ├── SynDBDataset │ │ ├── SynDBBDE.pas │ │ ├── SynDBFireDAC.pas │ │ ├── SynDBNexusDB.pas │ │ └── SynDBUniDAC.pas │ ├── SynDBFirebird.pas │ ├── SynDBMidasVCL.pas │ ├── SynDBODBC.pas │ ├── SynDBOracle.pas │ ├── SynDBPostgres.pas │ ├── SynDBRemote.pas │ ├── SynDBSQLite3.pas │ ├── SynDBVCL.pas │ ├── SynDBZeos.pas │ ├── SynDoubleToText.inc │ ├── SynDprUses.inc │ ├── SynEcc.pas │ ├── SynEcc32O2.obj │ ├── SynEcc32asm.inc │ ├── SynFPCCMemAligned.pas │ ├── SynFPCLinux.pas │ ├── SynFPCMetaFile.pas │ ├── SynFPCSock.pas │ ├── SynFPCSockLIBC.inc │ ├── SynFPCTypInfo.pas │ ├── SynFPCx64MM.pas │ ├── SynFastWideString.pas │ ├── SynGSSAPI.pas │ ├── SynGSSAPIAuth.pas │ ├── SynGdiPlus.pas │ ├── SynKylix.pas │ ├── SynLZ.pas │ ├── SynLZO.pas │ ├── SynLizard.pas │ ├── SynLog.pas │ ├── SynMemoEx.pas │ ├── SynMongoDB.pas │ ├── SynMustache.pas │ ├── SynOleDB.pas │ ├── SynOpenSSL.pas │ ├── SynPdf.pas │ ├── SynProtoRTSPHTTP.pas │ ├── SynProtoRelay.pas │ ├── SynSM.inc │ ├── SynSM.pas │ ├── SynSMAPI.pas │ ├── SynSQLite3.pas │ ├── SynSQLite3RegEx.pas │ ├── SynSQLite3Static.pas │ ├── SynSSPI.pas │ ├── SynSSPIAuth.pas │ ├── SynScaleMM.pas │ ├── SynSelfTests.pas │ ├── SynTBB.pas │ ├── SynTable.pas │ ├── SynTaskDialog.RES │ ├── SynTaskDialog.pas │ ├── SynTaskDialog.rc │ ├── SynTests.pas │ ├── SynVirtualDataSet.pas │ ├── SynWinSock.pas │ ├── SynZLibSSE.pas │ ├── SynZip.pas │ ├── SynZipFiles.pas │ ├── Synopse.inc │ ├── SynopseCommit.inc │ ├── build-fpc-linux64.sh │ ├── bunzipasm.inc │ ├── compil.bat │ ├── compilFPC.bat │ ├── compilpil.bat │ ├── crc32c64.obj │ ├── deflate.obj │ ├── lizard.dpr │ ├── lizard.lpi │ ├── sha512-x64sse4.obj │ ├── sha512-x86.obj │ ├── trees.obj │ ├── vista.RES │ ├── vista.manifest │ ├── vista.rc │ ├── vistaAdm.RES │ ├── vistaAdm.manifest │ └── vistaAdm.rc └── preflate │ ├── dllmain.cpp │ ├── framework.h │ ├── pch.cpp │ ├── pch.h │ ├── preflate.h │ ├── preflate_block_decoder.cpp │ ├── preflate_block_decoder.h │ ├── preflate_block_reencoder.cpp │ ├── preflate_block_reencoder.h │ ├── preflate_block_trees.cpp │ ├── preflate_block_trees.h │ ├── preflate_checker.cpp │ ├── preflate_checker.h │ ├── preflate_complevel_estimator.cpp │ ├── preflate_complevel_estimator.h │ ├── preflate_constants.cpp │ ├── preflate_constants.h │ ├── preflate_decoder.cpp │ ├── preflate_decoder.h │ ├── preflate_dll.sln │ ├── preflate_dll.vcxproj │ ├── preflate_dll.vcxproj.filters │ ├── preflate_dll.vcxproj.user │ ├── preflate_hash_chain.cpp │ ├── preflate_hash_chain.h │ ├── preflate_info.cpp │ ├── preflate_info.h │ ├── preflate_input.h │ ├── preflate_parameter_estimator.cpp │ ├── preflate_parameter_estimator.h │ ├── preflate_parser_config.cpp │ ├── preflate_parser_config.h │ ├── preflate_predictor_state.cpp │ ├── preflate_predictor_state.h │ ├── preflate_reencoder.cpp │ ├── preflate_reencoder.h │ ├── preflate_seq_chain.cpp │ ├── preflate_seq_chain.h │ ├── preflate_statistical_codec.cpp │ ├── preflate_statistical_codec.h │ ├── preflate_statistical_debug.cpp │ ├── preflate_statistical_model.cpp │ ├── preflate_statistical_model.h │ ├── preflate_token.cpp │ ├── preflate_token.h │ ├── preflate_token_predictor.cpp │ ├── preflate_token_predictor.h │ ├── preflate_tree_predictor.cpp │ ├── preflate_tree_predictor.h │ └── support │ ├── arithmetic_coder.cpp │ ├── arithmetic_coder.h │ ├── array_helper.cpp │ ├── array_helper.h │ ├── bit_helper.cpp │ ├── bit_helper.h │ ├── bitstream.cpp │ ├── bitstream.h │ ├── const_division.cpp │ ├── const_division.h │ ├── filestream.cpp │ ├── filestream.h │ ├── huffman_decoder.cpp │ ├── huffman_decoder.h │ ├── huffman_encoder.cpp │ ├── huffman_encoder.h │ ├── huffman_helper.cpp │ ├── huffman_helper.h │ ├── memstream.cpp │ ├── memstream.h │ ├── outputcachestream.cpp │ ├── outputcachestream.h │ ├── stream.h │ ├── support_tests.cpp │ ├── support_tests.h │ ├── task_pool.cpp │ └── task_pool.h ├── dbgenerator ├── DbgMain.pas └── DbgUtils.pas ├── imports ├── BrunsliDLL.pas ├── FLACDLL.pas ├── FLZMA2DLL.pas ├── JoJpegDLL.pas ├── LZ4DLL.pas ├── LZODLL.pas ├── OodleDLL.pas ├── PackJPGDLL.pas ├── PreflateDLL.pas ├── ReflateDLL.pas ├── ZLibDLL.pas └── ZSTDDLL.pas ├── io ├── IODecode.pas ├── IOErase.pas ├── IOExecute.pas ├── IOFind.pas ├── IOPatch.pas ├── IOReplace.pas └── IOUtils.pas ├── precompressor ├── PrecompCrypto.pas ├── PrecompDLL.pas ├── PrecompDStorage.pas ├── PrecompEXE.pas ├── PrecompINI.pas ├── PrecompINIEx.pas ├── PrecompLZ4.pas ├── PrecompLZO.pas ├── PrecompMain.pas ├── PrecompMedia.pas ├── PrecompOodle.pas ├── PrecompSearch.pas ├── PrecompUtils.pas ├── PrecompZLib.pas └── PrecompZSTD.pas ├── sources └── lz4.pas ├── ui └── UIMain.pas ├── xtool.dpr ├── xtool.dproj ├── xtool.res ├── xtoolui.dpr ├── xtoolui.dproj └── xtoolui.res /cls_xtool.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/cls_xtool.res -------------------------------------------------------------------------------- /contrib/Delphi_MemoryModule/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/Delphi_MemoryModule/README.md -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Compile_FastMM4_AVX512.cmd: -------------------------------------------------------------------------------- 1 | nasm.exe -Ox -Ov -f win64 FastMM4_AVX512.asm 2 | -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Demos/Dynamically Loaded DLL/DLLForm.pas: -------------------------------------------------------------------------------- 1 | unit DLLForm; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 | Dialogs, StdCtrls; 8 | 9 | type 10 | TfDLLMain = class(TForm) 11 | Button1: TButton; 12 | Memo1: TMemo; 13 | Button2: TButton; 14 | procedure Button1Click(Sender: TObject); 15 | procedure Button2Click(Sender: TObject); 16 | private 17 | { Private declarations } 18 | public 19 | { Public declarations } 20 | end; 21 | 22 | var 23 | fDLLMain: TfDLLMain; 24 | 25 | implementation 26 | 27 | {$R *.dfm} 28 | 29 | procedure TfDLLMain.Button1Click(Sender: TObject); 30 | begin 31 | TObject.Create; 32 | end; 33 | 34 | procedure TfDLLMain.Button2Click(Sender: TObject); 35 | begin 36 | Close; 37 | end; 38 | 39 | end. 40 | -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Demos/Dynamically Loaded DLL/TestApplication.dpr: -------------------------------------------------------------------------------- 1 | program TestApplication; 2 | 3 | uses 4 | FastMM4, 5 | Forms, 6 | ApplicationForm in 'ApplicationForm.pas' {fAppMain}; 7 | 8 | {$R *.res} 9 | 10 | begin 11 | Application.Initialize; 12 | Application.CreateForm(TfAppMain, fAppMain); 13 | Application.Run; 14 | end. 15 | -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Demos/Dynamically Loaded DLL/TestDLL.dpr: -------------------------------------------------------------------------------- 1 | library TestDLL; 2 | 3 | uses 4 | FastMM4, 5 | SysUtils, 6 | Classes, 7 | DLLForm in 'DLLForm.pas' {fDLLMain}; 8 | 9 | {$R *.res} 10 | 11 | procedure ShowDLLForm; 12 | begin 13 | with TfDLLMain.Create(nil) do 14 | begin 15 | try 16 | ShowModal; 17 | finally 18 | Free; 19 | end; 20 | end; 21 | end; 22 | 23 | exports ShowDllForm; 24 | 25 | begin 26 | end. 27 | -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Demos/Replacement borlndmm DLL/FullDebugModeDemo.dpr: -------------------------------------------------------------------------------- 1 | program FullDebugModeDemo; 2 | 3 | uses 4 | ShareMem, 5 | Forms, 6 | DemoForm in 'DemoForm.pas' {Form1}, 7 | FastMMDebugSupport in '..\..\Replacement BorlndMM DLL\Delphi\FastMMDebugSupport.pas'; 8 | 9 | {$R *.res} 10 | 11 | begin 12 | Application.Initialize; 13 | Application.CreateForm(TForm1, Form1); 14 | Application.Run; 15 | end. 16 | -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Demos/Usage Tracker/DemoForm.dfm: -------------------------------------------------------------------------------- 1 | object fDemo: TfDemo 2 | Left = 199 3 | Top = 114 4 | BorderIcons = [biSystemMenu] 5 | BorderStyle = bsSingle 6 | Caption = 'Usage Tracker Demo' 7 | ClientHeight = 53 8 | ClientWidth = 239 9 | Color = clBtnFace 10 | Font.Charset = DEFAULT_CHARSET 11 | Font.Color = clWindowText 12 | Font.Height = -11 13 | Font.Name = 'MS Sans Serif' 14 | Font.Style = [] 15 | OldCreateOrder = False 16 | Position = poScreenCenter 17 | PixelsPerInch = 96 18 | TextHeight = 13 19 | object bShowTracker: TButton 20 | Left = 8 21 | Top = 8 22 | Width = 221 23 | Height = 37 24 | Caption = 'Show Usage Tracker' 25 | TabOrder = 0 26 | OnClick = bShowTrackerClick 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Demos/Usage Tracker/DemoForm.pas: -------------------------------------------------------------------------------- 1 | unit DemoForm; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 | Dialogs, StdCtrls, FastMMUsageTracker; 8 | 9 | type 10 | TfDemo = class(TForm) 11 | bShowTracker: TButton; 12 | procedure bShowTrackerClick(Sender: TObject); 13 | private 14 | { Private declarations } 15 | public 16 | { Public declarations } 17 | end; 18 | 19 | var 20 | fDemo: TfDemo; 21 | 22 | implementation 23 | 24 | {$R *.dfm} 25 | 26 | procedure TfDemo.bShowTrackerClick(Sender: TObject); 27 | begin 28 | ShowFastMMUsageTracker; 29 | end; 30 | 31 | end. 32 | -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Demos/Usage Tracker/UsageTrackerDemo.dpr: -------------------------------------------------------------------------------- 1 | program UsageTrackerDemo; 2 | 3 | uses 4 | FastMM4, 5 | Forms, 6 | DemoForm in 'DemoForm.pas' {fDemo}; 7 | 8 | {$R *.res} 9 | 10 | {Enable large address space support for this demo} 11 | {$SetPEFlags $20} 12 | 13 | begin 14 | Application.Initialize; 15 | Application.CreateForm(TfDemo, fDemo); 16 | Application.Run; 17 | end. 18 | -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/FullDebugMode DLL/CPP Builder Support/Readme.txt: -------------------------------------------------------------------------------- 1 | C++ Builder projects can statically link to FastMM_FullDebugMode.dll. For that FastMM_FullDebugMode.lib is needed. 2 | 3 | - JiYuan Xie -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/FullDebugMode DLL/FastMM_FullDebugMode.info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/FullDebugMode DLL/FastMM_FullDebugMode.info.plist -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/FullDebugMode DLL/FastMM_FullDebugMode_Icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/FullDebugMode DLL/FastMM_FullDebugMode_Icon.ico -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/FullDebugMode DLL/Precompiled/libFastMM_FullDebugMode.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/FullDebugMode DLL/Precompiled/libFastMM_FullDebugMode.dylib -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Replacement BorlndMM DLL/BCB5/BorlndMM.bpf: -------------------------------------------------------------------------------- 1 | USEUNIT("DLLEntry.cpp"); 2 | USEUNIT("FastMM4BCB.cpp"); 3 | USEUNIT("FastMM4.pas"); 4 | USEUNIT("BorlndMM_.pas"); 5 | USEDEF("Export.def"); 6 | //--------------------------------------------------------------------------- 7 | This file is used by the project manager only and should be treated like the project file 8 | 9 | DllEntryPoint -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Replacement BorlndMM DLL/BCB6/BorlndMM.bpf: -------------------------------------------------------------------------------- 1 | This file is used by the project manager only and should be treated like the project file 2 | 3 | DllEntryPoint -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Replacement BorlndMM DLL/CB2006/BorlndMM.bpf: -------------------------------------------------------------------------------- 1 | This file is used by the project manager only and should be treated like the project file 2 | 3 | To add a file to this project use the Project menu 'Add to Project' 4 | 5 | DllEntryPoint -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Replacement BorlndMM DLL/CB2006/Readme.txt: -------------------------------------------------------------------------------- 1 | LoadDebugDLLDynamically must be defined. -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Replacement BorlndMM DLL/CB2007/Readme.txt: -------------------------------------------------------------------------------- 1 | LoadDebugDLLDynamically must be defined. -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Afrikaans/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Afrikaans/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Belarussian/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Belarussian/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Chinese (Simplified)/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Chinese (Simplified)/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Chinese (Simplified)/FastMM4Options.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Chinese (Simplified)/FastMM4Options.inc -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Czech/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Czech/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/French/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/French/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/German/by Thomas Speck/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/German/by Thomas Speck/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/German/by Uwe Queisser/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/German/by Uwe Queisser/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Italian/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Italian/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Polish/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Polish/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Portuguese (Brazil)/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Portuguese (Brazil)/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Portuguese/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Portuguese/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Russian/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Russian/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Spanish/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Spanish/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/Translations/Ukrainian/FastMM4Messages.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/Translations/Ukrainian/FastMM4Messages.pas -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/images/FastMM-Title.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/images/FastMM-Title.jpg -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/images/FastMM-simple.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/images/FastMM-simple.jpg -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/images/FastMM-square-title.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/images/FastMM-square-title.jpg -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/images/FastMM-square.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/images/FastMM-square.jpg -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/images/FastMM.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/images/FastMM.jpg -------------------------------------------------------------------------------- /contrib/FastMM4-AVX/images/FastMM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/FastMM4-AVX/images/FastMM.png -------------------------------------------------------------------------------- /contrib/LIBC/README.md: -------------------------------------------------------------------------------- 1 | # LIBC 2 | a C Run Time library for Delphi, helps link with other C object files 3 | 4 | Delphi come up a build in unit named System.Win.Crtl do the same job. How ever, this build in Unit didn't cover enough C functions. 5 | I just copy paste this Unit, and Appends any functions I found when linking other C object files into it. 6 | So, it is a better way to use this unit than the buildin one. 7 | 8 | 系统自带单元System.Win.Crtl的复制粘贴+扩展版本,覆盖更多的C标准库和一些特定编译器的内建函数,当你想链接的C目标文件调用到这些函数时,添加一句uses libc可能可以帮助你成功链接。 9 | -------------------------------------------------------------------------------- /contrib/LIBC/_chkstk.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/_chkstk.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/chkstk.x64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/chkstk.x64.o -------------------------------------------------------------------------------- /contrib/LIBC/chkstk.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/chkstk.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/chkstk_ms.x64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/chkstk_ms.x64.o -------------------------------------------------------------------------------- /contrib/LIBC/chkstk_ms.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/chkstk_ms.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/cpu_disp.x64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/cpu_disp.x64.o -------------------------------------------------------------------------------- /contrib/LIBC/cpu_disp.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/cpu_disp.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/ctzdi2.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/ctzdi2.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/ctzti2.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/ctzti2.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/divdi3.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/divdi3.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/int_util.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/int_util.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/llmul.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/llmul.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/memcmp.x64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/memcmp.x64.o -------------------------------------------------------------------------------- /contrib/LIBC/memcmp.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/memcmp.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/memcpy.x64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/memcpy.x64.o -------------------------------------------------------------------------------- /contrib/LIBC/memcpy.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/memcpy.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/memmove.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/memmove.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/memset.x64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/memset.x64.o -------------------------------------------------------------------------------- /contrib/LIBC/memset.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/memset.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/pkglibc.bpi: -------------------------------------------------------------------------------- 1 | /* 'pkglibc' Package */ 2 | OUTPUT_FORMAT(elf64-x86-64) 3 | GROUP ( bplpkglibc.so pkglibc_nonshared.a ) 4 | -------------------------------------------------------------------------------- /contrib/LIBC/pkglibc.dpk: -------------------------------------------------------------------------------- 1 | package pkglibc; 2 | 3 | {$R *.res} 4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} 5 | {$ALIGN 8} 6 | {$ASSERTIONS ON} 7 | {$BOOLEVAL OFF} 8 | {$DEBUGINFO OFF} 9 | {$EXTENDEDSYNTAX ON} 10 | {$IMPORTEDDATA ON} 11 | {$IOCHECKS ON} 12 | {$LOCALSYMBOLS OFF} 13 | {$LONGSTRINGS ON} 14 | {$OPENSTRINGS ON} 15 | {$OPTIMIZATION ON} 16 | {$OVERFLOWCHECKS OFF} 17 | {$RANGECHECKS OFF} 18 | {$REFERENCEINFO OFF} 19 | {$SAFEDIVIDE OFF} 20 | {$STACKFRAMES OFF} 21 | {$TYPEDADDRESS OFF} 22 | {$VARSTRINGCHECKS ON} 23 | {$WRITEABLECONST OFF} 24 | {$MINENUMSIZE 1} 25 | {$IMAGEBASE $400000} 26 | {$DEFINE RELEASE} 27 | {$ENDIF IMPLICITBUILDING} 28 | {$IMPLICITBUILD ON} 29 | 30 | requires 31 | rtl; 32 | 33 | contains 34 | libc in 'libc.pas'; 35 | 36 | end. 37 | -------------------------------------------------------------------------------- /contrib/LIBC/pkglibc.identcache: -------------------------------------------------------------------------------- 1 | ED:\Users\YW\Documents\Embarcadero\Studio\Projects\YWLIB\libc\libc.pas -------------------------------------------------------------------------------- /contrib/LIBC/pkglibc.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/pkglibc.res -------------------------------------------------------------------------------- /contrib/LIBC/pkglibc_nonshared.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/pkglibc_nonshared.a -------------------------------------------------------------------------------- /contrib/LIBC/testucrt.dpr: -------------------------------------------------------------------------------- 1 | program testucrt; 2 | 3 | {$APPTYPE CONSOLE} 4 | 5 | {$R *.res} 6 | 7 | uses 8 | System.SysUtils, 9 | libgcc in 'libgcc.pas', 10 | testlibgcc in 'testlibgcc.pas'; 11 | 12 | begin 13 | try 14 | { TODO -oUser -cConsole Main : Insert code here } 15 | test_libgcc; 16 | readln; 17 | except 18 | on E: Exception do 19 | Writeln(E.ClassName, ': ', E.Message); 20 | end; 21 | end. 22 | -------------------------------------------------------------------------------- /contrib/LIBC/testucrt.identcache: -------------------------------------------------------------------------------- 1 | KD:\Users\YW\Documents\Embarcadero\Studio\Projects\YWLIB\LIBC\testlibgcc.pasID:\Users\YW\Documents\Embarcadero\Studio\Projects\YWLIB\LIBC\testucrt.dprGD:\Users\YW\Documents\Embarcadero\Studio\Projects\YWLIB\LIBC\libgcc.pas -------------------------------------------------------------------------------- /contrib/LIBC/testucrt.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/testucrt.res -------------------------------------------------------------------------------- /contrib/LIBC/udivdi3.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/udivdi3.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/ulldiv.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/ulldiv.x86.o -------------------------------------------------------------------------------- /contrib/LIBC/ullshr.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LIBC/ullshr.x86.o -------------------------------------------------------------------------------- /contrib/LZ4Delphi/PKGLZ4.dpk: -------------------------------------------------------------------------------- 1 | package PKGLZ4; 2 | 3 | {$R *.res} 4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} 5 | {$ALIGN 8} 6 | {$ASSERTIONS ON} 7 | {$BOOLEVAL OFF} 8 | {$DEBUGINFO OFF} 9 | {$EXTENDEDSYNTAX ON} 10 | {$IMPORTEDDATA ON} 11 | {$IOCHECKS ON} 12 | {$LOCALSYMBOLS OFF} 13 | {$LONGSTRINGS ON} 14 | {$OPENSTRINGS ON} 15 | {$OPTIMIZATION ON} 16 | {$OVERFLOWCHECKS OFF} 17 | {$RANGECHECKS OFF} 18 | {$REFERENCEINFO OFF} 19 | {$SAFEDIVIDE OFF} 20 | {$STACKFRAMES OFF} 21 | {$TYPEDADDRESS OFF} 22 | {$VARSTRINGCHECKS ON} 23 | {$WRITEABLECONST OFF} 24 | {$MINENUMSIZE 1} 25 | {$IMAGEBASE $400000} 26 | {$DEFINE RELEASE} 27 | {$ENDIF IMPLICITBUILDING} 28 | {$IMPLICITBUILD ON} 29 | 30 | requires 31 | rtl; 32 | 33 | contains 34 | lz4lib in 'lz4lib.pas', 35 | LZ4 in 'LZ4.pas'; 36 | 37 | end. 38 | -------------------------------------------------------------------------------- /contrib/LZ4Delphi/PKGLZ4.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LZ4Delphi/PKGLZ4.res -------------------------------------------------------------------------------- /contrib/LZ4Delphi/README.md: -------------------------------------------------------------------------------- 1 | # LZ4Delphi 2 | LZ4 Static Link Library for Delphi 3 | For Demos Check [YW_DEMOS](https://github.com/YWtheGod/YW_DEMOS) 4 | 5 | LZ4压缩静态链接库 6 | LZ4算法速度很快,但是压缩率不高,但一个很大的优点是即使设置到最高压缩率,其解压速度依然是极端的快,所以适合单次压缩,频繁高速解压的应用场景。 7 | 示范程序,参看 [YW_DEMOS](https://gitee.com/YWtheGod/YW_DEMOS) 8 | -------------------------------------------------------------------------------- /contrib/LZ4Delphi/lz4delphi.avx2.x64.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LZ4Delphi/lz4delphi.avx2.x64.obj -------------------------------------------------------------------------------- /contrib/LZ4Delphi/lz4delphi.avx2.x86.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LZ4Delphi/lz4delphi.avx2.x86.obj -------------------------------------------------------------------------------- /contrib/LZ4Delphi/lz4delphi.c: -------------------------------------------------------------------------------- 1 | #include "..\..\..\lib\lz4.c" 2 | #include "..\..\..\lib\lz4hc.c" 3 | #include "..\..\..\lib\lz4frame.c" -------------------------------------------------------------------------------- /contrib/LZ4Delphi/lz4delphi.sse2.x64.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LZ4Delphi/lz4delphi.sse2.x64.obj -------------------------------------------------------------------------------- /contrib/LZ4Delphi/lz4delphi.sse2.x86.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/LZ4Delphi/lz4delphi.sse2.x86.obj -------------------------------------------------------------------------------- /contrib/XXHASH4Delphi/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /contrib/XXHASH4Delphi/xxhash081.dpk: -------------------------------------------------------------------------------- 1 | package xxhash081; 2 | 3 | {$R *.res} 4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} 5 | {$ALIGN 8} 6 | {$ASSERTIONS ON} 7 | {$BOOLEVAL OFF} 8 | {$DEBUGINFO OFF} 9 | {$EXTENDEDSYNTAX ON} 10 | {$IMPORTEDDATA ON} 11 | {$IOCHECKS ON} 12 | {$LOCALSYMBOLS OFF} 13 | {$LONGSTRINGS ON} 14 | {$OPENSTRINGS ON} 15 | {$OPTIMIZATION ON} 16 | {$OVERFLOWCHECKS OFF} 17 | {$RANGECHECKS OFF} 18 | {$REFERENCEINFO OFF} 19 | {$SAFEDIVIDE OFF} 20 | {$STACKFRAMES OFF} 21 | {$TYPEDADDRESS OFF} 22 | {$VARSTRINGCHECKS ON} 23 | {$WRITEABLECONST OFF} 24 | {$MINENUMSIZE 1} 25 | {$IMAGEBASE $400000} 26 | {$DEFINE RELEASE} 27 | {$ENDIF IMPLICITBUILDING} 28 | {$IMPLICITBUILD ON} 29 | 30 | requires 31 | rtl; 32 | 33 | contains 34 | XXHASHLIB in 'XXHASHLIB.pas', 35 | XXHASH in 'XXHASH.pas'; 36 | 37 | end. 38 | -------------------------------------------------------------------------------- /contrib/XXHASH4Delphi/xxhash081.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/XXHASH4Delphi/xxhash081.res -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/.gitattributes: -------------------------------------------------------------------------------- 1 | *.tar filter=lfs diff=lfs merge=lfs -text 2 | -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | *.~* 3 | -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/ZSTD4Delphi.dpk: -------------------------------------------------------------------------------- 1 | package ZSTD4Delphi; 2 | 3 | {$R *.res} 4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} 5 | {$ALIGN 8} 6 | {$ASSERTIONS ON} 7 | {$BOOLEVAL OFF} 8 | {$DEBUGINFO OFF} 9 | {$EXTENDEDSYNTAX ON} 10 | {$IMPORTEDDATA ON} 11 | {$IOCHECKS ON} 12 | {$LOCALSYMBOLS OFF} 13 | {$LONGSTRINGS ON} 14 | {$OPENSTRINGS ON} 15 | {$OPTIMIZATION ON} 16 | {$OVERFLOWCHECKS OFF} 17 | {$RANGECHECKS OFF} 18 | {$REFERENCEINFO OFF} 19 | {$SAFEDIVIDE OFF} 20 | {$STACKFRAMES OFF} 21 | {$TYPEDADDRESS OFF} 22 | {$VARSTRINGCHECKS ON} 23 | {$WRITEABLECONST OFF} 24 | {$MINENUMSIZE 1} 25 | {$IMAGEBASE $400000} 26 | {$DEFINE RELEASE} 27 | {$ENDIF IMPLICITBUILDING} 28 | {$IMPLICITBUILD ON} 29 | 30 | requires 31 | rtl, 32 | pkglibc; 33 | 34 | contains 35 | ZSTDLib in 'ZSTDLib.pas', 36 | ZSTD in 'ZSTD.pas'; 37 | 38 | end. 39 | -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/ZSTD4Delphi.identcache: -------------------------------------------------------------------------------- 1 | LD:\Users\YW\Documents\Embarcadero\Studio\Projects\YWLIB\ZSTD4Delphi\ZSTD.pasOD:\Users\YW\Documents\Embarcadero\Studio\Projects\YWLIB\ZSTD4Delphi\ZSTDLib.pas -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/ZSTD4Delphi.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/ZSTD4Delphi/ZSTD4Delphi.res -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/zstd4delphi.avx2.x64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/ZSTD4Delphi/zstd4delphi.avx2.x64.o -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/zstd4delphi.avx2.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/ZSTD4Delphi/zstd4delphi.avx2.x86.o -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/zstd4delphi.sse2.x64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/ZSTD4Delphi/zstd4delphi.sse2.x64.o -------------------------------------------------------------------------------- /contrib/ZSTD4Delphi/zstd4delphi.sse2.x86.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/ZSTD4Delphi/zstd4delphi.sse2.x86.o -------------------------------------------------------------------------------- /contrib/grittibanzli/Makefile: -------------------------------------------------------------------------------- 1 | CXX = g++ 2 | 3 | CXXFLAGS := -std=c++11 -W -Wall -Wextra -O2 $(CXXFLAGS) 4 | 5 | .PHONY: grittibanzli 6 | 7 | # grittibanzli binary tool 8 | grittibanzli: 9 | $(CXX) main.cc grittibanzli.cc $(CXXFLAGS) -o grittibanzli 10 | -------------------------------------------------------------------------------- /contrib/grittibanzli/grittibanzli_dll/framework.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 4 | // Windows Header Files 5 | #include 6 | -------------------------------------------------------------------------------- /contrib/grittibanzli/grittibanzli_dll/grittibanzli_dll.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /contrib/grittibanzli/grittibanzli_dll/pch.cpp: -------------------------------------------------------------------------------- 1 | // pch.cpp: source file corresponding to the pre-compiled header 2 | 3 | #include "pch.h" 4 | 5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed. 6 | -------------------------------------------------------------------------------- /contrib/grittibanzli/grittibanzli_dll/pch.h: -------------------------------------------------------------------------------- 1 | // pch.h: This is a precompiled header file. 2 | // Files listed below are compiled only once, improving build performance for future builds. 3 | // This also affects IntelliSense performance, including code completion and many code browsing features. 4 | // However, files listed here are ALL re-compiled if any one of them is updated between builds. 5 | // Do not add files here that you will be updating frequently as this negates the performance advantage. 6 | 7 | #ifndef PCH_H 8 | #define PCH_H 9 | 10 | // add headers that you want to pre-compile here 11 | #include "framework.h" 12 | 13 | #endif //PCH_H 14 | -------------------------------------------------------------------------------- /contrib/mORMot/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/.gitattributes -------------------------------------------------------------------------------- /contrib/mORMot/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [synopse] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /contrib/mORMot/CrossPlatform/CopySynCrossPlatformUnits.bat: -------------------------------------------------------------------------------- 1 | xcopy SynCrossPlatformSpecific.pas "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries" /Y 2 | xcopy SynCrossPlatformCrypto.pas "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries" /Y 3 | xcopy SynCrossPlatformREST.pas "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries" /Y 4 | pause 5 | -------------------------------------------------------------------------------- /contrib/mORMot/Delphinus.Info.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "{58455621-E9CB-4DDC-8812-7FF096576B21}", 3 | "name": "mORMot", 4 | "picture": ".\\SQLite3\\Documentation\\mORMot128.png", 5 | "package_compiler_min": 14, 6 | "compiler_min": 14 7 | } 8 | -------------------------------------------------------------------------------- /contrib/mORMot/Delphinus.Install.json: -------------------------------------------------------------------------------- 1 | { 2 | "search_pathes": 3 | [ 4 | { 5 | "pathes": ".;.\\SQLite3;.\\CrossPlatform;.\\SynDBDataSet;.\\SQlite3\\DDD\\dom;.\\SQlite3\\DDD\\infra;.\\SQlite3\\DDD\\tools", 6 | "platforms": "Win32;Win64" 7 | } 8 | ], 9 | 10 | "browsing_pathes": 11 | [ 12 | { 13 | "pathes": ".;.\\SQLite3;.\\CrossPlatform;.\\SynDBDataSet;.\\SQlite3\\DDD\\dom;.\\SQlite3\\DDD\\infra;.\\SQlite3\\DDD\\tools", 14 | "platforms": "Win32;Win64" 15 | } 16 | ], 17 | 18 | "source_folders": 19 | [ 20 | { 21 | "folder": ".", 22 | "recursive": true, 23 | "filter": "*.*;*" 24 | } 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /contrib/mORMot/Packages/.gitignore: -------------------------------------------------------------------------------- 1 | *.pas 2 | -------------------------------------------------------------------------------- /contrib/mORMot/RTL7/FastMM4Options.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/RTL7/FastMM4Options.inc -------------------------------------------------------------------------------- /contrib/mORMot/RTL7/FastMM4_AVX512.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/RTL7/FastMM4_AVX512.obj -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/DDD/tools/dddToolsAdminMain.dfm: -------------------------------------------------------------------------------- 1 | object AdminForm: TAdminForm 2 | Left = 379 3 | Top = 162 4 | Width = 697 5 | Height = 478 6 | Caption = ' Tools Administrator' 7 | Color = clBtnFace 8 | Font.Charset = DEFAULT_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -11 11 | Font.Name = 'Tahoma' 12 | Font.Style = [] 13 | KeyPreview = True 14 | OldCreateOrder = False 15 | Position = poDefaultSizeOnly 16 | OnCreate = FormCreate 17 | OnShow = FormShow 18 | PixelsPerInch = 96 19 | TextHeight = 13 20 | end 21 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/IamLost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/IamLost.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/Release/Release.dpr: -------------------------------------------------------------------------------- 1 | program Release; 2 | 3 | uses 4 | {$I SynDprUses.inc} 5 | Forms, 6 | ReleaseForm in 'ReleaseForm.pas' {Form1}; 7 | 8 | {$R *.res} 9 | 10 | begin 11 | Application.Initialize; 12 | Application.CreateForm(TForm1, Form1); 13 | Application.Run; 14 | end. 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SmartCalculator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/SmartCalculator.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/FossilCommit.bat: -------------------------------------------------------------------------------- 1 | del *.bak /s> nul 2 | 3 | fossil ci -M %1 4 | 5 | rem push if chkFossilPush checked in SourceCodeRep tool 6 | if %2==1 ( 7 | fossil push 8 | ) 9 | 10 | @echo. 11 | @pause -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/FossilCommit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo DescFile=$1 4 | echo Push=$2 5 | echo FossilRepository=$3 6 | 7 | 8 | cd $3 9 | fossil ci -M $1 10 | 11 | # push if chkFossilPush checked in SourceCodeRep tool 12 | if [ $2 -eq 1 ] 13 | then 14 | fossil push 15 | fi -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/FossilStatus.bat: -------------------------------------------------------------------------------- 1 | fossil status>%1 -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/FossilStatus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | fossil status > $1 -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/FossilUpdate.bat: -------------------------------------------------------------------------------- 1 | fossil pull 2 | fossil update 3 | 4 | @echo. 5 | @pause -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/FossilUpdate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | fossil pull 4 | fossil update -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommit.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | @echo FossilRepository=%1 3 | @echo GitRepository=%2 4 | @echo GitExe=%3 5 | @echo DescFile=%4 6 | @echo DevPath=%5 7 | 8 | @echo. 9 | @echo. 10 | @echo mORMot repository 11 | @echo ----------------- 12 | 13 | rem %3 pull 14 | 15 | del /q /s %2\*.bak %2\*.bk2 > nul 2> nul 16 | 17 | %3 add . 18 | %3 commit -a --file=%4 19 | %3 push 20 | 21 | echo. 22 | pause 23 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo FossilRepository=$1 4 | echo GitRepository=$2 5 | echo GitExe=$3 6 | echo DescFile=$4 7 | echo DevPath=$5 8 | 9 | echo 10 | echo 11 | echo mORMot repository 12 | echo ----------------- 13 | 14 | cd $2 15 | $3 add . 16 | $3 commit -a --file=$4 17 | $3 push 18 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitAll.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | GitCommit.sh 4 | GitCommitDMustache.sh 5 | GitCommitLVCL.sh 6 | GitCommitSynPdf.sh 7 | GitCommitSynProject.sh 8 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitDMustache.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | @echo FossilRepository=%1 3 | @echo GitRepository=%2 4 | @echo GitExe=%3 5 | @echo DescFile=%4 6 | 7 | @echo. 8 | @echo. 9 | @echo dmustache repository 10 | @echo -------------------- 11 | 12 | @cd ..\dmustache 13 | 14 | %3 add . 15 | %3 commit -a --file=%4 16 | %3 push 17 | 18 | @echo. 19 | @pause 20 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitDMustache.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo FossilRepository=$1 4 | echo GitRepository=$2 5 | echo GitExe=$3 6 | echo DescFile=$4 7 | #echo DevPath=$5 8 | echo 9 | echo 10 | echo dmustache repository 11 | echo -------------------- 12 | 13 | cd $2 14 | cd ../dmustache 15 | $3 add . 16 | $3 commit -a --file=$4 17 | $3 push 18 | 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitLVCL.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | @echo FossilRepository=%1 3 | @echo GitRepository=%2 4 | @echo GitExe=%3 5 | @echo DescFile=%4 6 | 7 | @echo. 8 | @echo. 9 | @echo LVCL repository 10 | @echo --------------- 11 | 12 | @cd ..\LVCL 13 | %3 add . 14 | %3 commit -a --file=%4 15 | %3 push 16 | 17 | @echo. 18 | @pause 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitLVCL.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo FossilRepository=$1 4 | echo GitRepository=$2 5 | echo GitExe=$3 6 | echo DescFile=$4 7 | #echo DevPath=$5 8 | echo 9 | echo 10 | echo LVCL repository 11 | echo --------------- 12 | 13 | cd $2 14 | cd ../LVCL 15 | $3 add . 16 | $3 commit -a --file=$4 17 | $3 push 18 | 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitSynPdf.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | @echo FossilRepository=%1 3 | @echo GitRepository=%2 4 | @echo GitExe=%3 5 | @echo DescFile=%4 6 | 7 | @echo. 8 | @echo. 9 | @echo SynPDF repository 10 | @echo ----------------- 11 | 12 | @cd ..\SynPDF 13 | %3 add . 14 | %3 commit -a --file=%4 15 | %3 push 16 | 17 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitSynPdf.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo FossilRepository=$1 4 | echo GitRepository=$2 5 | echo GitExe=$3 6 | echo DescFile=$4 7 | #echo DevPath=$5 8 | echo 9 | echo 10 | echo SynPDF repository 11 | echo ----------------- 12 | 13 | cd $2 14 | cd ../SynPDF 15 | $3 add . 16 | $3 commit -a --file=$4 17 | $3 push 18 | 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitSynProject.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | @echo FossilRepository=%1 3 | @echo GitRepository=%2 4 | @echo GitExe=%3 5 | @echo DescFile=%4 6 | 7 | @echo. 8 | @echo. 9 | @echo SynProject repository 10 | @echo --------------------- 11 | 12 | @cd ..\SynProject 13 | 14 | %3 add . 15 | %3 commit -a --file=%4 16 | %3 push 17 | 18 | @echo. 19 | @pause 20 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitCommitSynProject.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo FossilRepository=$1 4 | echo GitRepository=$2 5 | echo GitExe=$3 6 | echo DescFile=$4 7 | #echo DevPath=$5 8 | echo 9 | echo 10 | echo SynProject repository 11 | echo --------------------- 12 | 13 | cd $2 14 | cd ../SynProject 15 | $3 commit -a --file=$4 16 | $3 push 17 | 18 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/GitShell.bat: -------------------------------------------------------------------------------- 1 | @echo GitPath=%1 2 | @echo. 3 | 4 | @set path=%1;%path% 5 | 6 | @cmd -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/SourceCodeRep.dpr: -------------------------------------------------------------------------------- 1 | program SourceCodeRep; 2 | 3 | {$ifndef MSWINDOWS} 4 | {$AppType console} 5 | {$endif} 6 | 7 | {$I ../../../Synopse.inc} 8 | 9 | uses 10 | {$I ../../../SynDprUses.inc} // includes FastMM4 11 | {$ifdef FPC} 12 | Interfaces, // set appropriate LCL CreateWidgetset() 13 | {$endif FPC} 14 | Forms, 15 | SourceCodeRepMain in 'SourceCodeRepMain.pas' {MainForm}; 16 | 17 | {$R *.res} 18 | 19 | begin 20 | Application.Initialize; 21 | Application.CreateForm(TMainForm, MainForm); 22 | Application.Run; 23 | end. 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/SourceCodeRep.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/SourceCodeRep/SourceCodeRep.ico -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/SourceCodeRep/SourceCodeRep.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/SourceCodeRep/SourceCodeRep.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/Synopse SQLite3 Framework.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/Synopse SQLite3 Framework.pro -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/cartoon01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/cartoon01.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/cartoon02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/cartoon02.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/cartoon03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/cartoon03.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/cartoon04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/cartoon04.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/cartoon05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/cartoon05.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/cartoon06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/cartoon06.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/cartoon07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/cartoon07.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/cartoon08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/cartoon08.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/logo.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/mORMot128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/mORMot128.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/synfiletms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/synfiletms.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Documentation/synfilevcl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Documentation/synfilevcl.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3BtnArrow.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/SQLite3BtnArrow.bmp -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3BtnClose.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/SQLite3BtnClose.bmp -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3BtnMax.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/SQLite3BtnMax.bmp -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3BtnMin.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/SQLite3BtnMin.bmp -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3BtnOk.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/SQLite3BtnOk.bmp -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3UI.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/SQLite3UI.RES -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3UI.rc: -------------------------------------------------------------------------------- 1 | butClose 2 SQLite3btnClose.bmp 2 | butMax 2 SQLite3btnMax.bmp 3 | butMin 2 SQLite3btnMin.bmp -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3UILogin.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/SQLite3UILogin.RES -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3UILogin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/SQLite3UILogin.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/SQLite3UILogin.rc: -------------------------------------------------------------------------------- 1 | uilogin RCDATA SQLite3uilogin.png 2 | 3 | 4 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/01 - In Memory ORM/Project01.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/01 - In Memory ORM/Project01.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/03 - NamedPipe Client-Server/Project03Client.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/03 - NamedPipe Client-Server/Project03Client.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/03 - NamedPipe Client-Server/Project03Server.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/03 - NamedPipe Client-Server/Project03Server.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/04 - HTTP Client-Server/Project04Client.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/04 - HTTP Client-Server/Project04Client.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/04 - HTTP Client-Server/Project04Server.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/04 - HTTP Client-Server/Project04Server.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/04 - HTTP Client-Server/Project04ServerStatic.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/04 - HTTP Client-Server/Project04ServerStatic.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/05 - Report created from code/TestSQLite3Pages.dpr: -------------------------------------------------------------------------------- 1 | program TestSQLite3Pages; 2 | 3 | uses 4 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 5 | Forms, 6 | Unit1 in 'Unit1.pas' {Form1}; 7 | 8 | {$R *.res} 9 | 10 | begin 11 | Application.Initialize; 12 | Application.CreateForm(TForm1, Form1); 13 | Application.Run; 14 | end. 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/05 - Report created from code/TestSQLite3Pages.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/05 - Report created from code/TestSQLite3Pages.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/06 - Remote JSON REST Service/Project06Client.dpr: -------------------------------------------------------------------------------- 1 | program Project06Client; 2 | 3 | uses 4 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 5 | Forms, 6 | {$ifdef FPC} 7 | Interfaces, 8 | {$endif} 9 | Project06ClientMain in 'Project06ClientMain.pas' {Form1}; 10 | 11 | {$ifndef FPC} 12 | {$R *.res} 13 | {$endif FPC} 14 | 15 | begin 16 | Application.Initialize; 17 | Application.CreateForm(TForm1, Form1); 18 | Application.Run; 19 | end. 20 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/06 - Remote JSON REST Service/Project06Client.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/06 - Remote JSON REST Service/Project06Client.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/07 - SynTest/SynTest.dpr: -------------------------------------------------------------------------------- 1 | program SynTest; 2 | 3 | {$APPTYPE CONSOLE} 4 | 5 | uses 6 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 7 | SynTestTest; 8 | 9 | begin 10 | with TTestSuit.Create do 11 | try 12 | Run; 13 | readln; 14 | finally 15 | Free; 16 | end; 17 | end. 18 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/08 - TaskDialog/TaskDialogTest.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/08 - TaskDialog/TaskDialogTest.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/LibraryTest.dpr: -------------------------------------------------------------------------------- 1 | program LibraryTest; 2 | 3 | {$APPTYPE CONSOLE} 4 | 5 | uses 6 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 7 | SysUtils; 8 | 9 | procedure Test; external 'MyLibrary.dll'; 10 | 11 | begin 12 | Test; 13 | end. 14 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/LogView.dpr: -------------------------------------------------------------------------------- 1 | /// sample program able to visualize .log files as created by TSynLog 2 | program LogView; 3 | 4 | { Revision History: 5 | 6 | Version 1.18 7 | - Introducing thread identification 8 | - Added "Search Previous" button 9 | - Incremental search will now remain on the same line if it matches the entry 10 | - "Server Launch" button allow the tool to run as a HTTP server, ready to 11 | display remote logs, echoed from mORMot HTTP clients 12 | 13 | } 14 | uses 15 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 16 | Forms, 17 | LogViewMain in 'LogViewMain.pas' {MainLogView}; 18 | 19 | {$R *.res} 20 | {$R Vista.res} 21 | 22 | begin 23 | Application.Initialize; 24 | Application.CreateForm(TMainLogView, MainLogView); 25 | Application.Run; 26 | end. 27 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/LogView.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/11 - Exception logging/LogView.ico -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/LogView.lpr: -------------------------------------------------------------------------------- 1 | program LogView; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | uses 6 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 7 | Interfaces, // this includes the LCL widgetset 8 | Forms, 9 | SynTaskDialog in '..\..\Samples\ThirdPartyDemos\Ondrej\SynTaskDialog4Lazarus\SynTaskDialog.pas', 10 | LogViewMain in 'LogViewMain.pas' {MainLogView}; 11 | 12 | {$R *.res} 13 | 14 | begin 15 | RequireDerivedFormResource:=True; 16 | Application.Initialize; 17 | Application.CreateForm(TMainLogView, MainLogView); 18 | Application.Run; 19 | end. 20 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/LogView.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/11 - Exception logging/LogView.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/MyLibrary.dpr: -------------------------------------------------------------------------------- 1 | /// library sample code, which makes use of the logging feature 2 | library MyLibrary; 3 | 4 | { 5 | In the Project / Options / Linker tab, the Map files option should be set 6 | to detailed, in order to demonstrate how libraries can have their own 7 | symbols file (we need a .map to have this information and create its .mab) 8 | 9 | } 10 | uses 11 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 12 | SynCommons, 13 | SynLog; 14 | 15 | {$R *.res} 16 | 17 | procedure Test; 18 | begin 19 | TSynLog.Family.Level := LOG_VERBOSE; 20 | TSynLog.Enter.Log(sllDebug, 'Called from Test exported procedure'); 21 | end; 22 | 23 | exports Test; 24 | 25 | end. 26 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/MyLibrary.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/11 - Exception logging/MyLibrary.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/RemoteLoggingTest.dpr: -------------------------------------------------------------------------------- 1 | program RemoteLoggingTest; 2 | 3 | uses 4 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 5 | Forms, 6 | RemoteLogMain in 'RemoteLogMain.pas' {MainForm}; 7 | 8 | {$R *.res} 9 | 10 | begin 11 | Application.Initialize; 12 | Application.CreateForm(TMainForm, MainForm); 13 | Application.Run; 14 | end. 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/11 - Exception logging/RemoteLoggingTest.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/11 - Exception logging/RemoteLoggingTest.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/12 - SynDB Explorer/SynDB.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/12 - SynDB Explorer/SynDB.ico -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/12 - SynDB Explorer/SynDBExplorer.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/12 - SynDB Explorer/SynDBExplorer.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/12 - SynDB Explorer/SynDBExplorerMain.dfm: -------------------------------------------------------------------------------- 1 | object DbExplorerMain: TDbExplorerMain 2 | Left = 225 3 | Top = 210 4 | Width = 879 5 | Height = 623 6 | Caption = ' SynDB Explorer' 7 | Color = clBtnFace 8 | Font.Charset = DEFAULT_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -11 11 | Font.Name = 'Tahoma' 12 | Font.Style = [] 13 | KeyPreview = True 14 | OldCreateOrder = False 15 | Position = poScreenCenter 16 | Scaled = False 17 | OnCreate = FormCreate 18 | OnDestroy = FormDestroy 19 | OnKeyDown = FormKeyDown 20 | OnShow = FormShow 21 | PixelsPerInch = 96 22 | TextHeight = 13 23 | end 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/13 - StandAlone JSON SQL server/JSONSQLClient.dpr: -------------------------------------------------------------------------------- 1 | /// receive SQLite3 results from JSON/SQL HTTP server 2 | program JSONSQLClient; 3 | 4 | {$APPTYPE CONSOLE} 5 | 6 | uses 7 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 8 | SysUtils, 9 | SynCrtSock, 10 | SynCommons; 11 | 12 | function Client(const SQL: RawUTF8): RawUTF8; 13 | var Http: THttpClientSocket; 14 | URI: AnsiString; 15 | begin 16 | if ParamCount<>0 then 17 | URI := AnsiString(ParamStr(1)) else 18 | URI := 'localhost'; 19 | Http := OpenHttp(URI,'888'); 20 | if Http<>nil then 21 | try 22 | Http.Post('root',SQL,TEXT_CONTENT_TYPE); 23 | result := Http.Content; 24 | finally 25 | Http.Free; 26 | end else 27 | result := ''; 28 | end; 29 | 30 | begin 31 | writeln(Client('select * from People where LastName=''Schubert''')); 32 | readln; 33 | end. 34 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/14 - Interface based services/Project14Client.dpr: -------------------------------------------------------------------------------- 1 | program Project14Client; 2 | 3 | {$ifdef Linux} 4 | {$ifdef FPC_CROSSCOMPILING} 5 | {$linklib libc_nonshared.a} 6 | {$endif} 7 | {$endif} 8 | 9 | {$I Synopse.inc} 10 | 11 | uses 12 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 13 | Forms, 14 | {$ifdef FPC} 15 | Interfaces, 16 | {$endif} 17 | Project14ClientMain in 'Project14ClientMain.pas' {Form1}, 18 | Project14Interface in 'Project14Interface.pas'; 19 | 20 | {$ifndef FPC} 21 | {$R *.res} 22 | {$endif} 23 | 24 | begin 25 | Application.Initialize; 26 | Application.CreateForm(TForm1, Form1); 27 | Application.Run; 28 | end. 29 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/14 - Interface based services/Project14Client.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/14 - Interface based services/Project14Client.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/14 - Interface based services/Project14Interface.pas: -------------------------------------------------------------------------------- 1 | /// some common definitions shared by both client and server side 2 | unit Project14Interface; 3 | 4 | interface 5 | 6 | type 7 | ICalculator = interface(IInvokable) 8 | ['{9A60C8ED-CEB2-4E09-87D4-4A16F496E5FE}'] 9 | function Add(n1,n2: integer): integer; 10 | end; 11 | 12 | const 13 | ROOT_NAME = 'root'; 14 | PORT_NAME = '8888'; 15 | APPLICATION_NAME = 'RestService'; 16 | 17 | implementation 18 | 19 | uses 20 | mORMot; 21 | 22 | initialization 23 | // so that we could use directly ICalculator instead of TypeInfo(ICalculator) 24 | TInterfaceFactory.RegisterInterfaces([TypeInfo(ICalculator)]); 25 | end. 26 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/15 - External DB performance/PerfTest.dpr: -------------------------------------------------------------------------------- 1 | program PerfTest; 2 | 3 | // first line of uses clause must be {$I SynDprUses.inc} 4 | uses 5 | {$I SynDprUses.inc} 6 | // SynFastWideString, // still works with fast WideString, and slightly faster 7 | Forms, 8 | {$ifdef FPC} 9 | Interfaces, 10 | {$endif} 11 | PerfMain in 'PerfMain.pas' {MainForm}; 12 | 13 | {$ifndef FPC} 14 | {$R *.res} 15 | {$endif} 16 | 17 | begin 18 | Application.Initialize; 19 | Application.CreateForm(TMainForm, MainForm); 20 | Application.Run; 21 | end. 22 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/15 - External DB performance/PerfTest.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/15 - External DB performance/PerfTest.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/15 - External DB performance/PerfTestConsole.dpr: -------------------------------------------------------------------------------- 1 | program PerfTestConsole; 2 | 3 | {$I Synopse.inc} // define HASINLINE CPU32 CPU64 OWNNORMTOUPPER 4 | 5 | uses 6 | {$I SynDprUses.inc} 7 | SynCommons, 8 | SynLog, 9 | mORMot, 10 | PerfTestCases in '.\PerfTestCases.pas'; 11 | 12 | begin 13 | TTestDatabaseBenchmark.RunAsConsole( 14 | 'mORMot Framework Database Benchmark'{, LOG_VERBOSE}); 15 | end. 16 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/16 - Execute SQL via services/Project16Client.dpr: -------------------------------------------------------------------------------- 1 | program Project16Client; 2 | 3 | // first line of uses clause must be {$I SynDprUses.inc} 4 | uses 5 | {$I SynDprUses.inc} 6 | Forms, 7 | {$ifdef FPC} 8 | Interfaces, 9 | {$endif} 10 | Project16ClientMain in 'Project16ClientMain.pas' {MainForm}, 11 | Project16Interface in 'Project16Interface.pas'; 12 | 13 | {$ifndef FPC} 14 | {$R *.res} 15 | {$endif} 16 | 17 | 18 | begin 19 | Application.Initialize; 20 | Application.CreateForm(TMainForm, MainForm); 21 | Application.Run; 22 | end. 23 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/16 - Execute SQL via services/Project16Client.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/16 - Execute SQL via services/Project16Client.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/16 - Execute SQL via services/Project16Interface.pas: -------------------------------------------------------------------------------- 1 | /// some common definitions shared by both client and server side 2 | unit Project16Interface; 3 | 4 | interface 5 | 6 | uses 7 | SynCommons, 8 | mORMot; 9 | 10 | type 11 | TRemoteSQLEngine = (rseOleDB, rseODBC, rseOracle, rseSQlite3, rseJet, rseMSSQL); 12 | 13 | IRemoteSQL = interface(IInvokable) 14 | ['{9A60C8ED-CEB2-4E09-87D4-4A16F496E5FE}'] 15 | procedure Connect(aEngine: TRemoteSQLEngine; const aServerName, aDatabaseName, 16 | aUserID, aPassWord: RawUTF8); 17 | function GetTableNames: TRawUTF8DynArray; 18 | function Execute(const aSQL: RawUTF8; aExpectResults, aExpanded: Boolean): RawJSON; 19 | end; 20 | 21 | const 22 | ROOT_NAME = 'root'; 23 | PORT_NAME = '888'; 24 | 25 | implementation 26 | 27 | end. 28 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/17 - TClientDataset use/mORMotVCLTest.dpr: -------------------------------------------------------------------------------- 1 | program mORMotVCLTest; 2 | 3 | uses 4 | {$I SynDprUses.inc} // will enable FastMM4 prior to Delphi 2006 5 | // SynFastWideString, // no real performance impact 6 | Forms, 7 | mORMotVCLUnit in 'mORMotVCLUnit.pas' {Form1}; 8 | 9 | {$R *.res} 10 | 11 | begin 12 | Application.Initialize; 13 | Application.CreateForm(TForm1, Form1); 14 | Application.Run; 15 | end. 16 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/Project18Server.dpr: -------------------------------------------------------------------------------- 1 | { 2 | Synopse mORMot framework 3 | 4 | Sample 18 - HTTP Server for ExtJS queries 5 | 6 | } 7 | 8 | program Project18Server; 9 | 10 | // first line of uses clause must be {$I SynDprUses.inc} 11 | uses 12 | {$I SynDprUses.inc} 13 | Forms, 14 | {$ifdef FPC} 15 | Interfaces, 16 | {$endif} 17 | Unit2 in 'Unit2.pas' {Form1}; 18 | 19 | {$ifndef FPC} 20 | {$R *.res} 21 | {$endif} 22 | 23 | begin 24 | Application.Initialize; 25 | Application.CreateForm(TForm1, Form1); 26 | Application.Run; 27 | end. 28 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/Project18Server.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/Project18Server.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/MyApp.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Using mORMot with ExtJS >> by warleyalex 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |

14 | 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/app.js: -------------------------------------------------------------------------------- 1 | Ext.Ajax.useDefaultXhrHeader = false; 2 | Ext.Ajax.cors = true; 3 | 4 | Ext.Loader.setConfig({ 5 | enabled : true 6 | }); 7 | 8 | Ext.application({ 9 | autoCreateViewport : true, 10 | name : 'ExtMVC', 11 | controllers : [ 12 | 'Contacts' 13 | ] 14 | }); -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/app/model/Contact.js: -------------------------------------------------------------------------------- 1 | Ext.define('ExtMVC.model.Contact', { 2 | extend : 'Ext.data.Model', 3 | idProperty : 'ID', 4 | totalproperty : 'total', 5 | fields : [{ 6 | name : 'ID', 7 | type : 'int' 8 | }, { 9 | name : 'TimeD', 10 | type : 'datetime' 11 | }, { 12 | name : 'Name', 13 | type : 'string' 14 | }, { 15 | name : 'Question', 16 | type : 'string' 17 | } 18 | ] 19 | }); -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/app/view/Viewport.js: -------------------------------------------------------------------------------- 1 | Ext.define('ExtMVC.view.Viewport', { 2 | extend : 'ExtMVC.view.contact.Grid', 3 | renderTo : Ext.getBody(), 4 | requires : [ 5 | 'ExtMVC.view.contact.Grid', 6 | 'ExtMVC.view.contact.Edit', 7 | 'ExtMVC.view.contact.Filtro', 8 | 'ExtMVC.view.contact.Filtrod' 9 | ] 10 | }); -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/add.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/default.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/default.gif -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/delete.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/error.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/error.gif -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/error.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/filter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/filter.gif -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/grid.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/save.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/save.gif -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/search.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/search.gif -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/stop.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/user.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/user_add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/18 - AJAX ExtJS Grid/html5/resources/images/user_add.gif -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/Project19Server.dpr: -------------------------------------------------------------------------------- 1 | { 2 | Synopse mORMot framework 3 | 4 | Sample 19 - HTTP Server for FishFacts ExtJS queries 5 | 6 | Version 1.18 7 | - download and unzip the FishFacts SQLite3 database if not available 8 | - added button to open the Browser on the AJAX application page 9 | } 10 | 11 | program Project19Server; 12 | 13 | // first line of uses clause must be {$I SynDprUses.inc} 14 | uses 15 | {$I SynDprUses.inc} 16 | Forms, 17 | {$ifdef FPC} 18 | Interfaces, 19 | {$endif} 20 | Unit2 in 'Unit2.pas' {Form1}; 21 | 22 | {$ifndef FPC} 23 | {$R *.res} 24 | {$endif} 25 | 26 | begin 27 | Application.Initialize; 28 | Application.CreateForm(TForm1, Form1); 29 | Application.Run; 30 | end. 31 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/Project19Server.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/Project19Server.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/html5/images/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/html5/images/down.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/html5/images/fishfacts.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/html5/images/fishfacts.JPG -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/html5/images/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/19 - AJAX ExtJS FishFacts/html5/images/up.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/20 - DTO interface based service/Project20Client.dpr: -------------------------------------------------------------------------------- 1 | program Project20Client; 2 | 3 | // first line of uses clause must be {$I SynDprUses.inc} 4 | uses 5 | {$I SynDprUses.inc} 6 | Forms, 7 | {$ifdef FPC} 8 | Interfaces, 9 | {$endif} 10 | Project20ClientMain in 'Project20ClientMain.pas' {Form1}, 11 | Project20Interface in 'Project20Interface.pas'; 12 | 13 | {$ifndef FPC} 14 | {$R *.res} 15 | {$endif} 16 | 17 | begin 18 | Application.Initialize; 19 | Application.CreateForm(TForm1, Form1); 20 | Application.Run; 21 | end. 22 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/20 - DTO interface based service/Project20Client.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/20 - DTO interface based service/Project20Client.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/21 - HTTP Client-Server performance/Project21HttpClient.dpr: -------------------------------------------------------------------------------- 1 | /// this client will stress a remote TSQLRestServerDB over HTTP 2 | program Project21HttpClient; 3 | 4 | // first line of uses clause must be {$I SynDprUses.inc} 5 | uses 6 | {$I SynDprUses.inc} 7 | Forms, 8 | {$ifdef FPC} 9 | Interfaces, 10 | {$endif} 11 | ECCProcess in '..\33 - ECC\ECCProcess.pas', 12 | Project21HttpClientMain in 'Project21HttpClientMain.pas' {MainForm}; 13 | 14 | {$ifndef FPC} 15 | {$R *.res} 16 | {$R Vista.res} 17 | {$endif} 18 | 19 | begin 20 | Application.Initialize; 21 | Application.CreateForm(TMainForm, MainForm); 22 | Application.Run; 23 | end. 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/21 - HTTP Client-Server performance/Project21HttpClient.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/21 - HTTP Client-Server performance/Project21HttpClient.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/22 - JavaScript HTTPApi web server/readme.md: -------------------------------------------------------------------------------- 1 | SpiderMonkey execution sample 2 | ============================= 3 | Point your browser to and see the *Markdown* 4 | template rendered using *SpiderMonkey*. 5 | 6 | This is not a production HTTP server, just a sample of *SpiderMonkey* usage within 7 | *mORMot*. 8 | 9 | # Features shown: 10 | * `TSMEngineManager` for thread-safe engine creation; 11 | * Add external JavaScript libs to engine (`showdown.js` - javascript port of the *Markdown* 12 | library); 13 | * Add native function to engine (`loadFile`); 14 | * Garbage collection management. 15 | 16 | Take a look at the following methods: 17 | 18 | procedure TTestServer.DoOnNewEngine(const Engine: TSMEngine); 19 | function TTestServer.Process(Ctxt: THttpServerRequest): cardinal; (last lines) 20 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/22 - JavaScript HTTPApi web server/showDownRunner.js: -------------------------------------------------------------------------------- 1 | /** 2 | * this function is called from TTestServer.Process method in case we point to *.md file 3 | * loadFile here is a NATIVE (realisation in Delphi) function 4 | * @param {String} pathToFile file to process 5 | */ 6 | function showDownRunner(pathToFile){ 7 | var src = loadFile(pathToFile); 8 | var converter = new Showdown.converter(); 9 | return converter.makeHtml(src); 10 | } -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/23 - JavaScript Tests/SynSMSelfTest.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/23 - JavaScript Tests/SynSMSelfTest.pas -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/23 - JavaScript Tests/TestMustache.dpr: -------------------------------------------------------------------------------- 1 | /// test Mustache libraries: native SynMustache vs JavaScript/SpiderMonkey 2 | program TestMustache; 3 | 4 | { 5 | ------------------------------------------------------------------------- 6 | Download the SpiderMonkey library at https://synopse.info/files/synsm.7z 7 | and put mozjs-24.dll and libnspr4.dll files with your TestMustache.exe 8 | ------------------------------------------------------------------------- 9 | } 10 | 11 | // first line of uses clause must be {$I SynDprUses.inc} 12 | uses 13 | {$I SynDprUses.inc} 14 | Forms, 15 | {$ifdef FPC} 16 | Interfaces, 17 | {$endif} 18 | TestMustacheUnit in 'TestMustacheUnit.pas' {MainForm}; 19 | 20 | {$ifndef FPC} 21 | {$R *.res} 22 | {$endif} 23 | 24 | begin 25 | Application.Initialize; 26 | Application.CreateForm(TMainForm, MainForm); 27 | Application.Run; 28 | end. 29 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/23 - JavaScript Tests/TestMustache.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/23 - JavaScript Tests/TestMustache.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/23 - JavaScript Tests/TestSynSM.dpr: -------------------------------------------------------------------------------- 1 | /// test JavaScript execution using the SpiderMonkey library 2 | program TestSynSM; 3 | 4 | { 5 | ------------------------------------------------------------------------- 6 | Download the SpiderMonkey library at https://synopse.info/files/synsm.7z 7 | and put mozjs-24.dll and libnspr4.dll files with your TestSynSM.exe 8 | ------------------------------------------------------------------------- 9 | } 10 | 11 | {$APPTYPE CONSOLE} 12 | 13 | {$ifdef WIN64} 14 | begin 15 | writeln('SpiderMonkey is not handled in 64 bit mode yet'); 16 | 17 | {$else} 18 | // first line of uses clause must be {$I SynDprUses.inc} 19 | uses 20 | {$I SynDprUses.inc} 21 | SynSMSelfTest in 'SynSMSelfTest.pas'; 22 | 23 | begin 24 | SynSMConsoleTests; 25 | {$endif WIN64} 26 | end. 27 | 28 | 29 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/23 - JavaScript Tests/js/testCompileUTF8.js: -------------------------------------------------------------------------------- 1 | var a=1 -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/23 - JavaScript Tests/js/testCompileUnicode.js: -------------------------------------------------------------------------------- 1 | var a=1 -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/24 - MongoDB/MongoDBTests.dpr: -------------------------------------------------------------------------------- 1 | /// test access to a local MongoDB instance 2 | program MongoDBTests; 3 | 4 | {$ifdef MSWINDOWS} 5 | {$APPTYPE CONSOLE} 6 | {$endif} 7 | 8 | {$I Synopse.inc} // define HASINLINE CPU32 CPU64 OWNNORMTOUPPER 9 | 10 | uses 11 | {$I SynDprUses.inc} 12 | SynCommons, 13 | SynLog, 14 | mORMot, 15 | MongoDBTestCases; 16 | 17 | begin 18 | {$ifdef WITHLOG} 19 | // SQLite3Log.Family.Level := LOG_VERBOSE; 20 | TSynLogTestLog := SQLite3Log; 21 | {$endif} 22 | with TTestMongoDB.Create do 23 | try 24 | Run; 25 | {$ifdef MSWINDOWS} 26 | readln; 27 | {$endif} 28 | finally 29 | Free; 30 | end; 31 | {$ifdef FPC_X64MM} 32 | WriteHeapStatus(#13#10'Memory Usage Report:', 16, 12, {flags=}true); 33 | {$endif FPC_X64MM} 34 | end. 35 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/25 - JSON performance/JSONPerfTests.dpr: -------------------------------------------------------------------------------- 1 | /// benchmarking of JSON process: mORMot vs SuperObject/dwsJSON/DBXJSON 2 | program JSONPerfTests; 3 | 4 | {$APPTYPE CONSOLE} 5 | 6 | uses 7 | {$I SynDprUses.inc} 8 | SynCommons, 9 | SynCrossPlatformJSON in '..\..\..\CrossPlatform\SynCrossPlatformJSON.pas', 10 | JSONPerfTestCases; 11 | 12 | begin 13 | with TTestJSONBenchmarking.Create do 14 | try 15 | Run; 16 | readln; 17 | finally 18 | Free; 19 | end; 20 | end. 21 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/26 - RESTful ORM/RESTClient.dpr: -------------------------------------------------------------------------------- 1 | program RESTClient; 2 | 3 | uses 4 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 5 | Forms, 6 | {$ifdef FPC} 7 | Interfaces, 8 | {$endif} 9 | RestClientMain in 'RestClientMain.pas' {MainForm}; 10 | 11 | {$ifndef FPC} 12 | {$R *.res} 13 | {$endif FPC} 14 | 15 | begin 16 | Application.Initialize; 17 | Application.CreateForm(TMainForm, MainForm); 18 | Application.Run; 19 | end. 20 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/26 - RESTful ORM/RESTClient.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/26 - RESTful ORM/RESTClient.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/27 - CrossPlatform Clients/FMClient.dpr: -------------------------------------------------------------------------------- 1 | program FMClient; 2 | 3 | uses 4 | FMX.Forms, 5 | FMMain in 'FMMain.pas' {Form1}; 6 | 7 | {$R *.res} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/27 - CrossPlatform Clients/MobileClient.dpr: -------------------------------------------------------------------------------- 1 | program MobileClient; 2 | 3 | uses 4 | System.StartUpCopy, 5 | FMX.MobilePreview, 6 | FMX.Forms, 7 | MobileMain in 'MobileMain.pas' {Form1}; 8 | 9 | {$R *.res} 10 | 11 | begin 12 | Application.Initialize; 13 | Application.CreateForm(TForm1, Form1); 14 | Application.Run; 15 | end. 16 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/27 - CrossPlatform Clients/RegressionTestsServer.dpr: -------------------------------------------------------------------------------- 1 | program RegressionTestsServer; 2 | 3 | {$i Synopse.inc} // define e.g. HASINLINE 4 | 5 | {$APPTYPE CONSOLE} 6 | 7 | uses 8 | {$I SynDprUses.inc} 9 | PeopleServer, 10 | SynCommons, 11 | SynLog, 12 | mORMot, 13 | SysUtils; 14 | 15 | begin 16 | // define the log level 17 | if false then 18 | with TSQLLog.Family do begin 19 | Level := LOG_VERBOSE; // LOG_STACKTRACE; 20 | //EchoToConsole := LOG_VERBOSE; // events to the console 21 | PerThreadLog := ptIdentifiedInOnFile; 22 | end; 23 | Writeln('Running Cross-Platform mORMot Server on port 888'#13#10+ 24 | 'Using TSQLRestServerAuthenticationDefault'#13#10#10+ 25 | 'You can now run FPC or SMS client applications'#13#10':)'); 26 | StartServer(psaDefault); 27 | writeln(#13#10'Press [Enter] to quit'); 28 | readln; 29 | StopServer; 30 | end. 31 | 32 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/27 - CrossPlatform Clients/SmartMobileStudio/Project14Client.spr: -------------------------------------------------------------------------------- 1 | uses Unit1; 2 | 3 | {$IFDEF SMART_INTERNAL_AUTO_REFRESH} 4 | uses SmartCL.AutoRefresh; 5 | TW3AutoRefresh.Create.Start; 6 | {$ENDIF} 7 | 8 | var Application: TApplication; 9 | 10 | {$IFDEF SMART_INTERNAL_HANDLE_EXCEPTIONS} 11 | uses SmartCL.System; 12 | try 13 | {$ENDIF} 14 | Application := TApplication.Create; 15 | Application.RunApp; 16 | {$IFDEF SMART_INTERNAL_HANDLE_EXCEPTIONS} 17 | except 18 | on e: Exception do 19 | ShowMessage(e.Message); 20 | end; 21 | {$ENDIF} -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/27 - CrossPlatform Clients/SmartMobileStudio/Unit1.pas: -------------------------------------------------------------------------------- 1 | unit Unit1; 2 | 3 | interface 4 | 5 | uses 6 | Pseudo.CreateForms, // auto-generated unit that creates forms during startup 7 | System.Types, SmartCL.System, SmartCL.Components, SmartCL.Forms, 8 | SmartCL.Application, Form1; 9 | 10 | type 11 | TApplication = class(TW3CustomApplication) 12 | end; 13 | 14 | implementation 15 | 16 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/27 - CrossPlatform Clients/SmartMobileStudio/www/app.manifest: -------------------------------------------------------------------------------- 1 | CACHE MANIFEST 2 | # Offline cache version 0.0.1 3 | # id:69550 4 | 5 | CACHE: 6 | index.html 7 | res/app.css 8 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/27 - CrossPlatform Clients/VCLClient.dpr: -------------------------------------------------------------------------------- 1 | program VCLClient; 2 | 3 | uses 4 | Forms, 5 | VCLMain in 'VCLMain.pas' {Form1}; 6 | 7 | {$R *.res} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/28 - Simple RESTful ORM Server/RESTModel.pas: -------------------------------------------------------------------------------- 1 | unit RESTModel; 2 | 3 | interface 4 | 5 | uses 6 | SynCommons, 7 | SynTable, // for TSynValidateText 8 | mORMot; 9 | 10 | type 11 | TPerson = class(TSQLRecord) // TSQLRecord has already ID: integer primary key 12 | private 13 | fName: RawUTF8; 14 | published 15 | /// ORM will create a NAME VARCHAR(80) column 16 | property Name: RawUTF8 index 80 read fName write fName; 17 | end; 18 | 19 | function DataModel: TSQLModel; 20 | 21 | const 22 | SERVER_ROOT = 'root'; 23 | SERVER_PORT = '888'; 24 | 25 | 26 | implementation 27 | 28 | function DataModel: TSQLModel; 29 | begin 30 | result := TSQLModel.Create([TPerson],SERVER_ROOT); 31 | TPerson.AddFilterOrValidate('Name',TSynValidateText.Create); // ensure exists 32 | end; 33 | 34 | 35 | end. 36 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/29 - SmartMobileStudio Client/CopySynCrossPlatformUnits.bat: -------------------------------------------------------------------------------- 1 | xcopy ..\..\..\CrossPlatform\SynCrossPlatformSpecific.pas "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries" /Y 2 | xcopy ..\..\..\CrossPlatform\SynCrossPlatformCrypto.pas "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries" /Y 3 | xcopy ..\..\..\CrossPlatform\SynCrossPlatformREST.pas "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries" /Y 4 | pause 5 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/29 - SmartMobileStudio Client/CopySynCrossPlatformUnitsBACK.bat: -------------------------------------------------------------------------------- 1 | rem To be used to synchronize units modified within SMS IDE 2 | xcopy "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries\SynCrossPlatformSpecific.pas" ..\..\..\CrossPlatform /Y 3 | xcopy "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries\SynCrossPlatformCrypto.pas" ..\..\..\CrossPlatform /Y 4 | xcopy "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\Libraries\SynCrossPlatformREST.pas" ..\..\..\CrossPlatform /Y 5 | pause 6 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/29 - SmartMobileStudio Client/MainUnit.pas: -------------------------------------------------------------------------------- 1 | unit MainUnit; 2 | 3 | interface 4 | 5 | uses 6 | SmartCL.System, SmartCL.Components, SmartCL.Forms, SmartCL.Application, 7 | SynCrossPlatformCrypto, SynCrossPlatformSpecific, SynCrossPlatformREST, 8 | SmartTests, 9 | LoginForm; 10 | 11 | type 12 | TApplication = class(TW3CustomApplication) 13 | private 14 | FForm1: TLoginForm; 15 | protected 16 | procedure ApplicationStarting; override; 17 | public 18 | 19 | end; 20 | 21 | implementation 22 | 23 | { TApplication} 24 | 25 | procedure TApplication.ApplicationStarting; 26 | begin 27 | FForm1 := TLoginForm.Create(Display.View); 28 | FForm1.Name := 'Form1'; 29 | RegisterFormInstance(FForm1, True); 30 | // register other forms here 31 | 32 | inherited; 33 | end; 34 | 35 | 36 | end. 37 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/29 - SmartMobileStudio Client/WebFormApplication.spr: -------------------------------------------------------------------------------- 1 | uses MainUnit; 2 | 3 | {$IFDEF SMART_INTERNAL_HANDLE_EXCEPTIONS} 4 | uses W3System; 5 | {$ENDIF} 6 | 7 | {$IFDEF SMART_INTERNAL_AUTO_REFRESH} 8 | uses W3AutoRefresh; 9 | TW3AutoRefresh.Create.Start; 10 | {$ENDIF} 11 | 12 | var Application: TApplication; 13 | 14 | {$IFDEF SMART_INTERNAL_HANDLE_EXCEPTIONS} 15 | try 16 | {$ENDIF} 17 | 18 | Application := TApplication.Create; 19 | Application.RunApp; 20 | 21 | {$IFDEF SMART_INTERNAL_HANDLE_EXCEPTIONS} 22 | except 23 | on e: Exception do 24 | ShowMessage(e.Message); 25 | end; 26 | {$ENDIF} 27 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/30 - MVC Server/Views/.static/blog.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/30 - MVC Server/Views/.static/blog.ico -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/30 - MVC Server/Views/ArticleEdit.html: -------------------------------------------------------------------------------- 1 | {{! void template created for the IBlogApplication.ArticleEdit View: 2 | defined as 3 | procedure ArticleEdit(const ID: integer; const Title: RawUTF8; const Content: RawUTF8; out Article: TSQLArticle); 4 | with the following data context: 5 | * Main: variant 6 | * Article: TSQLArticle 7 | }} 8 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/30 - MVC Server/Views/Default.html: -------------------------------------------------------------------------------- 1 | {{>header}} 2 | {{>masthead}} 3 |
4 |

{{main.blog.title}}

5 |

{{main.blog.description}}

6 |
7 |
8 |
9 | {{#Scope}} 10 | {{>articlerow}} 11 | {{#lastID}} 12 |

Previous Articles

13 | {{/lastID}} 14 | {{#lastrank}} 15 |

Previous Articles

16 | {{/lastrank}} 17 | {{/Scope}} 18 | {{>footer}} -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/30 - MVC Server/Views/Error.html: -------------------------------------------------------------------------------- 1 | {{>header}} 2 | {{>masthead}} 3 |
4 |

Error Page

5 |
6 |
7 |

{{#errorCode}}Low-level #{{errorCode}}{{/errorCode}} Error occurred with the following message:

8 |
{{msg}}
9 | {{#exception}} 10 |

The following Exception did occur:

11 |
{{exception}}
12 | {{/exception}} 13 |

Error context:

{{originalErrorContext}}
14 |
15 | {{>footer}} -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/30 - MVC Server/Views/articlerow.partial: -------------------------------------------------------------------------------- 1 | {{#articles}} 2 |
3 |

{{Title}}

4 | 8 | {{#ContentHtml}}{{{Abstract}}}{{/ContentHtml}}{{^ContentHtml}}{{{WikiToHtml Abstract}}}{{/ContentHtml}} 9 |

Read More

10 |
11 | {{/articles}} 12 | {{^articles}} 13 |
14 |

There is no more article corresponding to this research criteria.

15 |
16 | {{/articles}} 17 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/30 - MVC Server/Views/header.partial: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | {{pageTitle}}{{^pageTitle}}{{main.blog.title}} {{pageName}}{{/pageTitle}} 13 | 14 | 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/31 - WebSockets/Project31ChatCallbackInterface.pas: -------------------------------------------------------------------------------- 1 | unit Project31ChatCallbackInterface; 2 | 3 | interface 4 | 5 | uses 6 | SysUtils, 7 | SynCommons, 8 | mORMot; 9 | 10 | type 11 | IChatCallback = interface(IInvokable) 12 | ['{EA7EFE51-3EBA-4047-A356-253374518D1D}'] 13 | procedure NotifyBlaBla(const pseudo, msg: string); 14 | end; 15 | 16 | IChatService = interface(IServiceWithCallbackReleased) 17 | ['{C92DCBEA-C680-40BD-8D9C-3E6F2ED9C9CF}'] 18 | procedure Join(const pseudo: string; const callback: IChatCallback); 19 | procedure BlaBla(const pseudo, msg: string); 20 | end; 21 | 22 | const 23 | PROJECT31_TRANSMISSION_KEY = 'meow_privatekey'; 24 | 25 | 26 | implementation 27 | 28 | initialization 29 | TInterfaceFactory.RegisterInterfaces([ 30 | TypeInfo(IChatService),TypeInfo(IChatCallback)]); 31 | end. 32 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/33 - ECC/ECC.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/33 - ECC/ECC.ico -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/33 - ECC/ECC.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/33 - ECC/ECC.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/ReadMe.md: -------------------------------------------------------------------------------- 1 | 2 | Practical Domain Driven Design 3 | ================================ 4 | 5 | Welcome to the Progressive samples folders! 6 | 7 | In the sub-folders, we will write a almost-complete DDD sample, using TDD. 8 | Folders are enumerated to follow the iterations on the project: 01, 02, 03... 9 | 10 | Since it was started during EKON 21 conferences, it will modelize a conference booking system. 11 | 12 | Don't forget to check out the associated Slides from https://synopse.info/files/ekon21 13 | 14 | 15 | 01 iteration 16 | ------------ 17 | 18 | Contains the core units, following the "Clean Architecture" patterns. 19 | 20 | Implements 21 | * TestAll.dpr to run the regression tests; 22 | * ServBook.dpr to run a Booking service, using the Conference Domain objects. 23 | 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/dom/DomConferenceDepend.pas: -------------------------------------------------------------------------------- 1 | /// Conference Domain dependencies interface definition 2 | unit DomConferenceDepend; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes; 12 | 13 | 14 | implementation 15 | 16 | initialization 17 | TJSONSerializer.RegisterObjArrayForJSON([ 18 | ]); 19 | TInterfaceFactory.RegisterInterfaces([ 20 | ]); 21 | end. 22 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/dom/DomConferenceInterfaces.pas: -------------------------------------------------------------------------------- 1 | /// Conference Domain services interfaces definition 2 | unit DomConferenceInterfaces; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes; 12 | 13 | 14 | implementation 15 | 16 | initialization 17 | TJSONSerializer.RegisterObjArrayForJSON([ 18 | ]); 19 | TInterfaceFactory.RegisterInterfaces([ 20 | ]); 21 | end. 22 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/dom/DomConferenceServices.pas: -------------------------------------------------------------------------------- 1 | /// Conference Domain services implementation 2 | unit DomConferenceServices; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes, 12 | DomConferenceInterfaces; 13 | 14 | 15 | implementation 16 | 17 | initialization 18 | end. 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/dom/DomConferenceTest.pas: -------------------------------------------------------------------------------- 1 | /// Conference Domain unit tests 2 | unit DomConferenceTest; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | SynTests, 11 | mORMot, 12 | DomConferenceTypes, 13 | DomConferenceInterfaces, 14 | DomConferenceServices; 15 | 16 | type 17 | TTestConference = class(TSynTestCase) 18 | protected 19 | published 20 | procedure DomainTypes; 21 | procedure DomainBooking; 22 | end; 23 | 24 | 25 | implementation 26 | 27 | { TConferenceTest } 28 | 29 | procedure TTestConference.DomainTypes; 30 | begin 31 | 32 | end; 33 | 34 | procedure TTestConference.DomainBooking; 35 | begin 36 | 37 | end; 38 | 39 | initialization 40 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/dom/DomConferenceTypes.pas: -------------------------------------------------------------------------------- 1 | /// entities, values, aggregates for the Conference domain 2 | unit DomConferenceTypes; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot; 11 | 12 | 13 | implementation 14 | 15 | initialization 16 | TJSONSerializer.RegisterObjArrayForJSON([ 17 | ]); 18 | end. 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/infra/InfraConferenceRepository.pas: -------------------------------------------------------------------------------- 1 | /// Conference Repository implementation 2 | unit InfraConferenceRepository; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes, 12 | DomConferenceDepend; 13 | 14 | 15 | implementation 16 | 17 | initialization 18 | // TDDDRepositoryRestFactory.ComputeSQLRecord(); from mORMotDDD 19 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/serv/ServBookTest.pas: -------------------------------------------------------------------------------- 1 | /// unit tests for the Booking server 2 | unit ServBookTest; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | SynTests, 11 | mORMot, 12 | DomConferenceTypes, 13 | DomConferenceInterfaces, 14 | DomConferenceServices, 15 | InfraConferenceRepository, 16 | ServBookMain; 17 | 18 | type 19 | TTestBookingApplication = class(TSynTestCase) 20 | published 21 | procedure RunService; 22 | procedure ApplicationTest; 23 | procedure ShutdownService; 24 | end; 25 | 26 | implementation 27 | 28 | { TTestBookingApplication } 29 | 30 | procedure TTestBookingApplication.RunService; 31 | begin 32 | 33 | end; 34 | 35 | procedure TTestBookingApplication.ApplicationTest; 36 | begin 37 | 38 | end; 39 | 40 | procedure TTestBookingApplication.ShutdownService; 41 | begin 42 | 43 | end; 44 | 45 | initialization 46 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/01/test/TestAllMain.pas: -------------------------------------------------------------------------------- 1 | unit TestAllMain; 2 | 3 | interface 4 | 5 | uses 6 | SynCommons, 7 | SynTests, 8 | DomConferenceTest, 9 | ServBookTest; 10 | 11 | type 12 | TTestEkon = class(TSynTestsLogged) 13 | published 14 | procedure Infrastructure; 15 | procedure Domain; 16 | procedure Applications; 17 | end; 18 | 19 | implementation 20 | 21 | { TTestEkon } 22 | 23 | procedure TTestEkon.Infrastructure; 24 | begin 25 | 26 | end; 27 | 28 | procedure TTestEkon.Domain; 29 | begin 30 | AddCase([TTestConference]); 31 | end; 32 | 33 | procedure TTestEkon.Applications; 34 | begin 35 | AddCase([TTestBookingApplication]); 36 | end; 37 | 38 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/02/dom/DomConferenceInterfaces.pas: -------------------------------------------------------------------------------- 1 | /// Conference Domain services interfaces definition 2 | unit DomConferenceInterfaces; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes; 12 | 13 | { Conference Domain Services } 14 | 15 | type 16 | TRegisterAttendee = (raSuccess, raMissingField, raInvalidField, 17 | raAlreadyRegistered, raPersistenceError); 18 | 19 | IConferenceBooking = interface(IInvokable) 20 | ['{0A128982-38E3-406E-B7B4-7FE212552BBF}'] 21 | function RegisterAttendee(var Attendee: TAttendee; 22 | const Days: TSessionDays): TRegisterAttendee; 23 | end; 24 | 25 | 26 | implementation 27 | 28 | initialization 29 | TJSONSerializer.RegisterObjArrayForJSON([ 30 | ]); 31 | TInterfaceFactory.RegisterInterfaces([ 32 | ]); 33 | end. 34 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/02/infra/InfraConferenceRepository.pas: -------------------------------------------------------------------------------- 1 | /// Conference Repository implementation 2 | unit InfraConferenceRepository; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes, 12 | DomConferenceDepend; 13 | 14 | 15 | implementation 16 | 17 | initialization 18 | // TDDDRepositoryRestFactory.ComputeSQLRecord(); from mORMotDDD 19 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/02/serv/ServBookTest.pas: -------------------------------------------------------------------------------- 1 | /// unit tests for the Booking server 2 | unit ServBookTest; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | SynTests, 11 | mORMot, 12 | DomConferenceTypes, 13 | DomConferenceInterfaces, 14 | DomConferenceServices, 15 | InfraConferenceRepository, 16 | ServBookMain; 17 | 18 | type 19 | TTestBookingApplication = class(TSynTestCase) 20 | published 21 | procedure RunService; 22 | procedure ApplicationTest; 23 | procedure ShutdownService; 24 | end; 25 | 26 | implementation 27 | 28 | { TTestBookingApplication } 29 | 30 | procedure TTestBookingApplication.RunService; 31 | begin 32 | 33 | end; 34 | 35 | procedure TTestBookingApplication.ApplicationTest; 36 | begin 37 | 38 | end; 39 | 40 | procedure TTestBookingApplication.ShutdownService; 41 | begin 42 | 43 | end; 44 | 45 | initialization 46 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/02/test/TestAllMain.pas: -------------------------------------------------------------------------------- 1 | unit TestAllMain; 2 | 3 | interface 4 | 5 | uses 6 | SynCommons, 7 | SynTests, 8 | DomConferenceTest, 9 | ServBookTest; 10 | 11 | type 12 | TTestEkon = class(TSynTestsLogged) 13 | published 14 | procedure Infrastructure; 15 | procedure Domain; 16 | procedure Applications; 17 | end; 18 | 19 | implementation 20 | 21 | { TTestEkon } 22 | 23 | procedure TTestEkon.Infrastructure; 24 | begin 25 | 26 | end; 27 | 28 | procedure TTestEkon.Domain; 29 | begin 30 | AddCase([TTestConference]); 31 | end; 32 | 33 | procedure TTestEkon.Applications; 34 | begin 35 | AddCase([TTestBookingApplication]); 36 | end; 37 | 38 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/03/dom/DomConferenceDepend.pas: -------------------------------------------------------------------------------- 1 | /// Conference Domain dependencies interface definition 2 | unit DomConferenceDepend; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes; 12 | 13 | type 14 | TBookingRepositoryError = ( 15 | brSuccess, brDuplicatedInfo, brWriteFailure); 16 | 17 | IBookingRepository = interface(IInvokable) 18 | ['{8E121C97-7E53-4208-BE05-1660EAD8AB43}'] 19 | function SaveNewRegistration(const Attendee: TAttendee; 20 | out RegistrationNumber: TAttendeeRegistrationNumber): TBookingRepositoryError; 21 | end; 22 | 23 | implementation 24 | 25 | initialization 26 | TJSONSerializer.RegisterObjArrayForJSON([ 27 | ]); 28 | TInterfaceFactory.RegisterInterfaces([ 29 | TypeInfo(IBookingRepository) 30 | ]); 31 | end. 32 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/03/infra/InfraConferenceRepository.pas: -------------------------------------------------------------------------------- 1 | /// Conference Repository implementation 2 | unit InfraConferenceRepository; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes, 12 | DomConferenceDepend; 13 | 14 | 15 | implementation 16 | 17 | initialization 18 | // TDDDRepositoryRestFactory.ComputeSQLRecord(); from mORMotDDD 19 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/03/serv/ServBookTest.pas: -------------------------------------------------------------------------------- 1 | /// unit tests for the Booking server 2 | unit ServBookTest; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | SynTests, 11 | mORMot, 12 | DomConferenceTypes, 13 | DomConferenceInterfaces, 14 | DomConferenceServices, 15 | InfraConferenceRepository, 16 | ServBookMain; 17 | 18 | type 19 | TTestBookingApplication = class(TSynTestCase) 20 | published 21 | procedure RunService; 22 | procedure ApplicationTest; 23 | procedure ShutdownService; 24 | end; 25 | 26 | implementation 27 | 28 | { TTestBookingApplication } 29 | 30 | procedure TTestBookingApplication.RunService; 31 | begin 32 | 33 | end; 34 | 35 | procedure TTestBookingApplication.ApplicationTest; 36 | begin 37 | 38 | end; 39 | 40 | procedure TTestBookingApplication.ShutdownService; 41 | begin 42 | 43 | end; 44 | 45 | initialization 46 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/03/test/TestAllMain.pas: -------------------------------------------------------------------------------- 1 | unit TestAllMain; 2 | 3 | interface 4 | 5 | uses 6 | SynCommons, 7 | SynTests, 8 | DomConferenceTest, 9 | ServBookTest; 10 | 11 | type 12 | TTestEkon = class(TSynTestsLogged) 13 | published 14 | procedure Infrastructure; 15 | procedure Domain; 16 | procedure Applications; 17 | end; 18 | 19 | implementation 20 | 21 | { TTestEkon } 22 | 23 | procedure TTestEkon.Infrastructure; 24 | begin 25 | 26 | end; 27 | 28 | procedure TTestEkon.Domain; 29 | begin 30 | AddCase([TTestConference]); 31 | end; 32 | 33 | procedure TTestEkon.Applications; 34 | begin 35 | AddCase([TTestBookingApplication]); 36 | end; 37 | 38 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/04/dom/DomConferenceDepend.pas: -------------------------------------------------------------------------------- 1 | /// Conference Domain dependencies interface definition 2 | unit DomConferenceDepend; 3 | 4 | interface 5 | 6 | uses 7 | SysUtils, 8 | Classes, 9 | SynCommons, 10 | mORMot, 11 | DomConferenceTypes; 12 | 13 | type 14 | TBookingRepositoryError = ( 15 | brSuccess, brDuplicatedInfo, brWriteFailure); 16 | 17 | IBookingRepository = interface(IInvokable) 18 | ['{8E121C97-7E53-4208-BE05-1660EAD8AB43}'] 19 | function SaveNewRegistration(const Attendee: TAttendee; const Days: TSessionDays; 20 | out RegistrationNumber: TAttendeeRegistrationNumber): TBookingRepositoryError; 21 | end; 22 | 23 | implementation 24 | 25 | initialization 26 | TJSONSerializer.RegisterObjArrayForJSON([ 27 | ]); 28 | TInterfaceFactory.RegisterInterfaces([ 29 | TypeInfo(IBookingRepository) 30 | ]); 31 | end. 32 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/04/test/TestAllMain.pas: -------------------------------------------------------------------------------- 1 | unit TestAllMain; 2 | 3 | interface 4 | 5 | uses 6 | SynCommons, 7 | SynTests, 8 | DomConferenceTest, 9 | ServBookTest; 10 | 11 | type 12 | TTestEkon = class(TSynTestsLogged) 13 | published 14 | procedure Infrastructure; 15 | procedure Domain; 16 | procedure Applications; 17 | end; 18 | 19 | implementation 20 | 21 | { TTestEkon } 22 | 23 | procedure TTestEkon.Infrastructure; 24 | begin 25 | 26 | end; 27 | 28 | procedure TTestEkon.Domain; 29 | begin 30 | AddCase([TTestConference]); 31 | end; 32 | 33 | procedure TTestEkon.Applications; 34 | begin 35 | AddCase([TTestBookingApplication]); 36 | end; 37 | 38 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/35 - Practical DDD/05/test/TestAllMain.pas: -------------------------------------------------------------------------------- 1 | unit TestAllMain; 2 | 3 | interface 4 | 5 | uses 6 | SynCommons, 7 | SynTests, 8 | DomConferenceTest, 9 | ServBookTest; 10 | 11 | type 12 | TTestEkon = class(TSynTestsLogged) 13 | published 14 | procedure Infrastructure; 15 | procedure Domain; 16 | procedure Applications; 17 | end; 18 | 19 | implementation 20 | 21 | { TTestEkon } 22 | 23 | procedure TTestEkon.Infrastructure; 24 | begin 25 | 26 | end; 27 | 28 | procedure TTestEkon.Domain; 29 | begin 30 | AddCase([TTestConference]); 31 | end; 32 | 33 | procedure TTestEkon.Applications; 34 | begin 35 | AddCase([TTestBookingApplication]); 36 | end; 37 | 38 | end. -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/36 - Simple REST Benchmark/RESTModel.pas: -------------------------------------------------------------------------------- 1 | unit RESTModel; 2 | 3 | interface 4 | 5 | uses 6 | SynCommons, 7 | SynTable, // for TSynValidateText 8 | mORMot; 9 | 10 | type 11 | TPerson = class(TSQLRecord) // TSQLRecord has already ID: integer primary key 12 | private 13 | fName: RawUTF8; 14 | published 15 | /// ORM will create a NAME VARCHAR(80) column 16 | property Name: RawUTF8 index 80 read fName write fName; 17 | end; 18 | 19 | const 20 | SERVER_ROOT = 'root'; 21 | SERVER_PORT = '888'; 22 | 23 | 24 | implementation 25 | 26 | 27 | 28 | end. 29 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/36 - Simple REST Benchmark/installSystemSocket.sh: -------------------------------------------------------------------------------- 1 | ln -s "`pwd`/rest_benchmark.socket" /etc/systemd/system 2 | ln -s "`pwd`/rest_benchmark.service" /etc/systemd/system 3 | systemctl enable rest_benchmark.socket 4 | systemctl start rest_benchmark.socket 5 | systemctl status rest_benchmark.socket #output status to console -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/36 - Simple REST Benchmark/rest_benchmark.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=mORMot socket activation demo 3 | Documentation=https://synopse.info 4 | RefuseManualStart=true 5 | 6 | [Service] 7 | Restart=on-failure 8 | ExecStart="/home/pavelmash/dev/tmp/crypto_ssl/mORMot/SQLite3/Samples/36 - Simple REST Benchmark/RESTBenchmark" 9 | # starting from systemd v244 is possible to configure log limits per service as below 10 | # befote - only inside journald.conf 11 | # LogRateLimitIntervalSec=1s 12 | # LogRateLimitBurst=50000 # ~10 000 req / sec 13 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/36 - Simple REST Benchmark/rest_benchmark.socket: -------------------------------------------------------------------------------- 1 | [Socket] 2 | ListenStream=127.0.0.1:8889 3 | NoDelay=true 4 | KeepAlive=true 5 | 6 | [Install] 7 | WantedBy=sockets.target -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/37 - FishShop Service/ServFishShopTests.pas: -------------------------------------------------------------------------------- 1 | unit ServFishShopTests; 2 | 3 | {$I Synopse.inc} // define HASINLINE CPU32 CPU64 OWNNORMTOUPPER 4 | 5 | interface 6 | 7 | uses 8 | SynCommons, 9 | mORMot, 10 | SynTests, 11 | ServFishShopTypes, 12 | ServFishShopMain; 13 | 14 | type 15 | TFishShopTests = class(TSynTestsLogged) 16 | published 17 | end; 18 | 19 | implementation 20 | 21 | 22 | end. 23 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/MainDemo/BannerData.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/MainDemo/BannerData.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/MainDemo/BannerSafe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/MainDemo/BannerSafe.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/MainDemo/FileMain.dfm: -------------------------------------------------------------------------------- 1 | object MainForm: TMainForm 2 | Left = 180 3 | Top = 235 4 | Width = 1015 5 | Height = 735 6 | Caption = ' Synopse mORMot Framework demo - SynFile' 7 | Color = clBtnFace 8 | Constraints.MinHeight = 240 9 | Constraints.MinWidth = 132 10 | Font.Charset = DEFAULT_CHARSET 11 | Font.Color = clWindowText 12 | Font.Height = -11 13 | Font.Name = 'Tahoma' 14 | Font.Style = [] 15 | OldCreateOrder = True 16 | Position = poScreenCenter 17 | OnCreate = FormCreate 18 | OnShow = FormShow 19 | PixelsPerInch = 96 20 | TextHeight = 13 21 | object ImageList32: TImageList 22 | Height = 32 23 | Width = 32 24 | Left = 224 25 | Top = 72 26 | end 27 | object ImageList16: TImageList 28 | Left = 264 29 | Top = 72 30 | end 31 | end 32 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/MainDemo/FileMain.rc: -------------------------------------------------------------------------------- 1 | Zip ZIP "FileMain.zip" 2 | BannerData 10 "BannerData.png" 3 | BannerSafe 10 "BannerSafe.png" 4 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/MainDemo/FileMain.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/MainDemo/FileMain.zip -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/MainDemo/FileMainRes.bat: -------------------------------------------------------------------------------- 1 | brcc32 FileMain.rc 2 | rem pause -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/MainDemo/SynFile.dpr: -------------------------------------------------------------------------------- 1 | program SynFile; 2 | 3 | {$I Synopse.inc} // define HASINLINE CPU32 CPU64 OWNNORMTOUPPER 4 | 5 | // first line of uses clause must be {$I SynDprUses.inc} 6 | uses 7 | {$I SynDprUses.inc} 8 | Forms, 9 | FileTables in 'FileTables.pas', 10 | FileMain in 'FileMain.pas' {MainForm}, 11 | FileClient in 'FileClient.pas', 12 | FileEdit in 'FileEdit.pas' {EditForm}; 13 | 14 | {$R *.res} 15 | {$R Vista.res} 16 | 17 | begin 18 | Application.Initialize; 19 | Application.CreateForm(TMainForm, MainForm); 20 | Application.CreateForm(TEditForm, EditForm); 21 | Application.Run; 22 | end. 23 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/MainDemo/SynFile.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/MainDemo/SynFile.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/ant.properties: -------------------------------------------------------------------------------- 1 | key.store=my-release-key.keystore 2 | key.alias=alias_name 3 | key.store.password=likjes69 4 | key.alias.password=likjes69 -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/assets/Synopse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/assets/Synopse.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/assets/mormot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/assets/mormot.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/assets/mormotbw.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/assets/mormotbw.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/bin/--hereWillBeTheAppBuilt--: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/bin/--hereWillBeTheAppBuilt-- -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/build.bat: -------------------------------------------------------------------------------- 1 | set path=C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\apache-ant-1.9.4\bin;C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\adt-bundle-windows-x86-20131030\sdk\platform-tools; 2 | set JAVA_HOME=C:\Progra~1\Java\jdk1.7.0_25 3 | ant debug 4 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/build_release.bat: -------------------------------------------------------------------------------- 1 | set path=C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\apache-ant-1.9.4\bin;C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\adt-bundle-windows-x86-20131030\sdk\platform-tools; 2 | set JAVA_HOME=C:\Progra~1\Java\jdk1.7.0_25 3 | ant release 4 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/gen/com/kredix/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.kredix; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/gen/com/kredix/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.kredix; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class drawable { 14 | public static final int icon=0x7f020000; 15 | } 16 | public static final class string { 17 | public static final int app_name=0x7f030000; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/install.bat: -------------------------------------------------------------------------------- 1 | set path=C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\adt-bundle-windows-x86-20131030\sdk\platform-tools; 2 | adb.exe install bin\mORMot-debug.apk 3 | 4 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/jni/And_Controls/Deprecated/And_lib_Unzip.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/jni/And_Controls/Deprecated/And_lib_Unzip.pas -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/jni/mORMotOnAndroid.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/jni/mORMotOnAndroid.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/jni/main.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/jni/main.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/libs/armeabi-v7a/--hereWillBeTheLibBuilt--: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/libs/armeabi-v7a/--hereWillBeTheLibBuilt-- -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/mORMot/--putmORMotSourceHere--: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/mORMot/--putmORMotSourceHere-- -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/my-release-key.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/my-release-key.keystore -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | mORMot 4 | 5 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Alfred/mORMot4Android/uninstall.bat: -------------------------------------------------------------------------------- 1 | set path=C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\adt-bundle-windows-x86-20131030\sdk\platform-tools; 2 | adb.exe uninstall com.kredix 3 | 4 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/AntonE/CSV2ORM/CSV2ORM.dpr: -------------------------------------------------------------------------------- 1 | program CSV2ORM; 2 | 3 | uses 4 | MidasLib, 5 | Vcl.Forms, 6 | MAinFormU in 'MAinFormU.pas' {MainForm}; 7 | 8 | {$R *.res} 9 | 10 | begin 11 | Application.Initialize; 12 | Application.MainFormOnTaskbar := True; 13 | Application.CreateForm(TMainForm, MainForm); 14 | Application.Run; 15 | end. 16 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/AntonE/CSV2ORM/Device.csv: -------------------------------------------------------------------------------- 1 | Desc,RawUTF8,Edit,50 2 | Make,RawUTF8,ComboBox,30 3 | Model,RawUTF8,ComboBox,30 4 | Highsite,Integer,ComboBox 5 | IP,RawUTF8,Edit,15 6 | Software,RawUTF8,Edit,30 7 | Username,RawUTF8,Edit,30 8 | SkipMap,Boolean,Checkbox 9 | Created,TDateTime,DateEdit 10 | LastLogin,TDateTime,DateEdit 11 | GPSlat,Double,Edit 12 | GPSLon,Double,Edit 13 | Active,Boolean,Checkbox 14 | SiteType,Integer,RadioGroup 15 | CapUsed,Int64,Edit 16 | Throttle,RawUTF8,Edit,30 17 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/AntonE/CSV2ORM/Templates.cds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/AntonE/CSV2ORM/Templates.cds -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/AntonE/ORMCDS/ORMCDS_Test.dpr: -------------------------------------------------------------------------------- 1 | program ORMCDS_Test; 2 | 3 | uses 4 | FastMM4, 5 | Vcl.Forms, 6 | MAinFormU in 'MAinFormU.pas' {MainForm}, 7 | ORMCDS in 'ORMCDS.pas', 8 | SampleForm1U in 'SampleForm1U.pas' {SampleForm1}, 9 | SampleForm2U in 'SampleForm2U.pas' {SampleForm2}; 10 | 11 | {$R *.res} 12 | 13 | begin 14 | Application.Initialize; 15 | Application.MainFormOnTaskbar := True; 16 | Application.CreateForm(TMainForm, MainForm); 17 | Application.Run; 18 | end. 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Chaa/ReadMe.md: -------------------------------------------------------------------------------- 1 | SSPI / Windows Authentication Test App for *mORMot* 2 | =================================================== 3 | 4 | *by Chaa* 5 | 6 | 7 | This is some code shared in our forum, at http://synopse.info/forum/viewtopic.php?pid=17358#p17358 8 | 9 | Could be used to validate that the SSPI authentication works as expected on your platform. 10 | 11 | Thanks Chaa for sharing! -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/ChinaPeng/ReadMe.md: -------------------------------------------------------------------------------- 1 | Android Java Client for *mORMot* 2 | ================================ 3 | 4 | *by ChinaPeng* 5 | 6 | 7 | This is some code shared in our forum, at http://synopse.info/forum/viewtopic.php?pid=13115#p13115 8 | 9 | Could be used as reference or start point for accessing a *mORMot* server from a Java client - especially an Android client. 10 | 11 | Any further input (e.g. writing a simple Java library and a mustache template) is welcome, to allow easy Java client code wrappers generation, just as we do for Cross-Platform Delphi, FPC and SmartMobileStudio. 12 | 13 | Thanks ChinaPeng for sharing! -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/DigDiver/AngularJS/ReadMe.md: -------------------------------------------------------------------------------- 1 | # Scope 2 | 3 | Some part of an *AngularJS* client to a *mORMot* server. 4 | 5 | It features login, with full authentication via a pure JavaScript / AngularJS client. 6 | 7 | It is not a working demo, just some sources to get implementation ideas, and working code for authentication on a *mORMot* server. 8 | 9 | To understand how it works is better to download Software (*G-Lock EasyMail*) as presented in topic http://synopse.info/forum/viewtopic.php?id=1954 10 | 11 | # Forum Thread 12 | 13 | See http://synopse.info/forum/viewtopic.php?pid=12547#p12547 14 | 15 | 16 | **enjoy!** 17 | 18 | DigDiver 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/DigDiver/AngularJS/partials/contacts-sidebar.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/DigDiver/AngularJS/partials/sidebar-main-layuot.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 |
6 | 7 |
8 |
9 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/DigDiver/AngularJS/partials/topbar/console.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | 8 | 13 |
14 |
15 |
16 |
17 |
18 |
19 |
-------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/DigDiver/AngularJS/partials/topbar/editor.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |

6 | 11 |

12 |
13 |
14 | {{alert.msg}} 15 |
16 |
17 | 18 |
19 |
20 |
-------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/DigDiver/AngularJS/partials/workplaces.html: -------------------------------------------------------------------------------- 1 |
2 | 3 |

Select workplace

4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
Workplace nameDescriptionCreated
{{wp.WPName}}{{wp.Description}}{{wp.Created}}
21 |
22 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/DigDiver/AngularJS/partials/wp-base.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 | 6 | 7 |
-------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/SynJSONTreeview/ReadMe.md: -------------------------------------------------------------------------------- 1 | TSynJSONTreeView 2 | ================ 3 | 4 | By *EMartin* (Esteban Martin). 5 | 6 | 7 | # Presentation 8 | 9 | `TSynJSONTreeView` is a treeview supporting mORMot's JSON document, the allowed tasks are: 10 | 11 | - edit a node 12 | - delete a node 13 | - add a node 14 | - save to file 15 | - load from file 16 | - generate JSON to string variable 17 | - implement a custom input for edit/insert node 18 | 19 | # Forum Thread 20 | 21 | See http://synopse.info/forum/viewtopic.php?id=3451 22 | 23 | # TODO 24 | 25 | - FPC support (I just use Windows) 26 | - Developed with Delphi 7, not tested with any other Delphi version. 27 | 28 | # License 29 | 30 | Feel free to use and/or append to Lib and extend if needed. 31 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/SynJSONTreeview/Sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/SynJSONTreeview/Sample.json -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/SynJSONTreeview/SynJSONTVEditor.dpr: -------------------------------------------------------------------------------- 1 | program SynJSONTVEditor; 2 | 3 | uses 4 | Forms, 5 | fMain in 'fMain.pas' {frmJSONEditor}, 6 | SynJSONTreeView in 'SynJSONTreeView.pas', 7 | fLevel in 'fLevel.pas' {frmLevel}; 8 | 9 | {$R *.res} 10 | 11 | begin 12 | Application.Initialize; 13 | Application.CreateForm(TfrmJSONEditor, frmJSONEditor); 14 | Application.Run; 15 | end. 16 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/SynJSONTreeview/SynJSONTVEditor.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/SynJSONTreeview/SynJSONTVEditor.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/SynJSONTreeview/SynJSONTreeView.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/SynJSONTreeview/SynJSONTreeView.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/EMartin/TSynRestDataset/FishFactSyn/FishFactSyn.dpr: -------------------------------------------------------------------------------- 1 | program FishFactSyn; 2 | 3 | uses 4 | {$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads 5 | Forms, 6 | Ffactwin in 'Ffactwin.pas' {Form1}, 7 | SynRestVCL in '..\SynRestVCL.pas', 8 | SynRestMidasVCL in '..\SynRestMidasVCL.pas', 9 | SampleData in '..\SampleData.pas'; 10 | 11 | {$R *.RES} 12 | 13 | begin 14 | Application.Initialize; 15 | Application.CreateForm(TForm1, Form1); 16 | Application.Run; 17 | end. 18 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/George/REST-tester/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/George/REST-tester/screenshot.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/README.md: -------------------------------------------------------------------------------- 1 | # mORMot 2 | Java client for Synopse mORMot server 3 | 4 | Java REST client for fantastic Synopse API. This client is focused to Interface based services. 5 | 6 | 7 | Example usage: 8 |
 9 | SynClient client = new SynClient("127.0.0.1", 8080, "service", false);
10 | if (client.login("User", "synopse")) {
11 |         JSONArray params = new JSONArray().put(2).put(3);  // Add(2, 3)
12 |         JSONObject response = client.call("Calculator.Add", params);
13 |         System.out.println("Summ: " + response);
14 |         client.logout();
15 | }
16 | 
17 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/server.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/CalcInterface.pas: -------------------------------------------------------------------------------- 1 | unit CalcInterface; 2 | 3 | interface 4 | 5 | uses FileCollect; 6 | 7 | /// some common definitions shared by both client and server side 8 | 9 | type 10 | ICalculator = interface(IInvokable) 11 | ['{9A60C8ED-CEB2-4E09-87D4-4A16F496E5FE}'] 12 | function Add(n1,n2: integer): integer; 13 | function GetFileList(path: String; out lst: TFlileCollection): Boolean; 14 | end; 15 | 16 | const 17 | ROOT_NAME = 'root'; 18 | PORT_HTTP = '8080'; 19 | PORT_HTTPS = '8443'; 20 | APPLICATION_NAME = 'RestService'; 21 | SERVICE_NAME = 'service'; 22 | 23 | implementation 24 | 25 | uses 26 | mORMot; 27 | 28 | initialization 29 | // so that we could use directly ICalculator instead of TypeInfo(ICalculator) 30 | TInterfaceFactory.RegisterInterfaces([TypeInfo(ICalculator)]); 31 | end. 32 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/Client.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/Client.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/REST.bdsgroup: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Project04ServerStatic.bdsproj 15 | Project04Client.bdsproj 16 | Project04ServerStatic.exe Project04Client.exe 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/REST.bpg: -------------------------------------------------------------------------------- 1 | #------------------------------------------------------------------------------ 2 | VERSION = BWS.01 3 | #------------------------------------------------------------------------------ 4 | !ifndef ROOT 5 | ROOT = $(MAKEDIR)\.. 6 | !endif 7 | #------------------------------------------------------------------------------ 8 | MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$** 9 | DCC = $(ROOT)\bin\dcc32.exe $** 10 | BRCC = $(ROOT)\bin\brcc32.exe $** 11 | #------------------------------------------------------------------------------ 12 | PROJECTS = Server.exe Client.exe 13 | #------------------------------------------------------------------------------ 14 | default: $(PROJECTS) 15 | #------------------------------------------------------------------------------ 16 | 17 | Server.exe: Server.dpr 18 | $(DCC) 19 | 20 | Client.exe: Client.dpr 21 | $(DCC) 22 | 23 | 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/Server.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/Server.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/SHA Client.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/SHA Client.lnk -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/SHA Server.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/SHA Server.lnk -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/SSL Client.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/SSL Client.lnk -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/SSL Server.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/SSL Server.lnk -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/server.db3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/bin/server.db3 -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/ssl/SignRoot.pvk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/ssl/SignRoot.pvk -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/ssl/signroot.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/ssl/signroot.cer -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/KroKodil/src/delphi/ssl/ssl.bat: -------------------------------------------------------------------------------- 1 | makecert -sv SignRoot.pvk -cy authority -r signroot.cer -a sha1 -n "CN=Dev Certification Authority" -ss my -sr localmachine 2 | makecert -iv SignRoot.pvk -ic signroot.cer -cy end -pe -n CN="rest.server.com" -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localmachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 3 | 4 | rem netsh http delete sslcert ipport=0.0.0.0:8443 5 | 6 | netsh http add sslcert ipport=0.0.0.0:8443 1600ccafee284bdeec7622ad5534881310b2e0f0 appid={00112233-4455-6677-8899-AABBCCDDEEFF} 7 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Migajek/synopse-sqlite-demo/Project1.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Migajek/synopse-sqlite-demo/Project1.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Migajek/synopse-sqlite-generator/Project2.dpr: -------------------------------------------------------------------------------- 1 | // JCL_DEBUG_EXPERT_GENERATEJDBG OFF 2 | // JCL_DEBUG_EXPERT_INSERTJDBG OFF 3 | // JCL_DEBUG_EXPERT_DELETEMAPFILE OFF 4 | program Project2; 5 | 6 | uses 7 | Forms, 8 | Unit1 in 'Unit1.pas' {Form1}; 9 | 10 | {$R *.res} 11 | 12 | begin 13 | Application.Initialize; 14 | Application.CreateForm(TForm1, Form1); 15 | Application.Run; 16 | end. 17 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Migajek/synopse-sqlite-generator/Project2.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Migajek/synopse-sqlite-generator/Project2.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Migajek/synopse-sqlite-generator/RegExpr.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Migajek/synopse-sqlite-generator/RegExpr.pas -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Ondrej/SynTaskDialog4Lazarus/SynTaskDialog.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/Ondrej/SynTaskDialog4Lazarus/SynTaskDialog.RES -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/TPrami/mORMotDebuggerVisualizer/ReadMe.md: -------------------------------------------------------------------------------- 1 | TTimeLog Vizualizer for Delphi IDE debugger 2 | =========================================== 3 | 4 | By TPrami. 5 | 6 | # Presentation 7 | 8 | It'll visualize 9 | * TTimeLog 10 | * TModTime 11 | * TCreateTime 12 | 13 | C++ support isn't there (Just code structure to write the Support later). 14 | 15 | Helped me to track some bugs in my project. 16 | 17 | -Tee- 18 | 19 | # Installation 20 | 21 | Ensure your *mORMot* source code folders is in your general IDE settings, or add them in package `mORMotDebuggerVisualizer.dpk`, compile and install. 22 | 23 | # Forum Thread 24 | 25 | See http://synopse.info/forum/viewtopic.php?id=2642 26 | 27 | # License 28 | 29 | Feel free to use and/or append to Lib and extend if needed. 30 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/TPrami/mORMotDebuggerVisualizer/mORMotDebugVisualizerTestAppdproj.dpr: -------------------------------------------------------------------------------- 1 | program mORMotDebugVisualizerTestAppdproj; 2 | 3 | uses 4 | Vcl.Forms, 5 | mORMotVisualizerTesterMainForm in 'mORMotVisualizerTesterMainForm.pas' {MainForm}; 6 | 7 | {$R *.res} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.MainFormOnTaskbar := True; 12 | Application.CreateForm(TMainForm, MainForm); 13 | Application.Run; 14 | end. 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/TPrami/mORMotDebuggerVisualizer/mORMotDebuggerVisualizer.dpk: -------------------------------------------------------------------------------- 1 | package mORMotDebuggerVisualizer; 2 | 3 | {$R *.res} 4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} 5 | {$ALIGN 8} 6 | {$ASSERTIONS ON} 7 | {$BOOLEVAL OFF} 8 | {$DEBUGINFO OFF} 9 | {$EXTENDEDSYNTAX ON} 10 | {$IMPORTEDDATA ON} 11 | {$IOCHECKS ON} 12 | {$LOCALSYMBOLS ON} 13 | {$LONGSTRINGS ON} 14 | {$OPENSTRINGS ON} 15 | {$OPTIMIZATION OFF} 16 | {$OVERFLOWCHECKS OFF} 17 | {$RANGECHECKS OFF} 18 | {$REFERENCEINFO ON} 19 | {$SAFEDIVIDE OFF} 20 | {$STACKFRAMES ON} 21 | {$TYPEDADDRESS OFF} 22 | {$VARSTRINGCHECKS ON} 23 | {$WRITEABLECONST OFF} 24 | {$MINENUMSIZE 1} 25 | {$IMAGEBASE $400000} 26 | {$DEFINE DEBUG} 27 | {$ENDIF IMPLICITBUILDING} 28 | {$IMPLICITBUILD ON} 29 | 30 | requires 31 | rtl, 32 | designide; 33 | 34 | contains 35 | TimeLogVisualizer in 'TimeLogVisualizer.pas'; 36 | 37 | end. 38 | 39 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/TPrami/mORMotDebuggerVisualizer/mORMotDebuggerVisualizer.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/TPrami/mORMotDebuggerVisualizer/mORMotDebuggerVisualizer.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/TPrami/mORMotDebuggerVisualizer/mORMotVisualizerTesterMainForm.dfm: -------------------------------------------------------------------------------- 1 | object MainForm: TMainForm 2 | Left = 0 3 | Top = 0 4 | Caption = 'mORMot Debug Vizualizer Test app' 5 | ClientHeight = 165 6 | ClientWidth = 291 7 | Color = clBtnFace 8 | Font.Charset = DEFAULT_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -11 11 | Font.Name = 'Tahoma' 12 | Font.Style = [] 13 | OldCreateOrder = False 14 | PixelsPerInch = 96 15 | TextHeight = 13 16 | object Button1: TButton 17 | Left = 25 18 | Top = 20 19 | Width = 230 20 | Height = 25 21 | Caption = 'Button1' 22 | TabOrder = 0 23 | OnClick = Button1Click 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/ReadMe.md: -------------------------------------------------------------------------------- 1 | Wine Cellar Application 2 | ======================= 3 | 4 | powered by Delphi mORMot and MongoDB 5 | ------------------------------------ 6 | 7 | *by warleyalex* 8 | 9 | Bye, bye Chile. After a tense match, Brazil breathes giant siggt of relief, defeats Chile on penaults. 10 | If you don't know Chile is fortunate to have climate conditions that are ideal for good wine grapes. 11 | 12 | Guess what? I've created an Wine Cellar application powered by Delphi *mORMot* and *MongoDB*. 13 | http://mormot.net 14 | http://mongodb.org 15 | 16 | You can take a look at the introduction video: 17 | http://youtu.be/qiFq7-Kp6X8 18 | 19 | http://synopse.info/forum/viewtopic.php?pid=11293#p11293 -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/Servidor.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/Servidor.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/btn.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/btn.RES -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/mongoproj.dpr: -------------------------------------------------------------------------------- 1 | program mongoproj; 2 | 3 | uses 4 | Forms, 5 | mormotMongo in 'mormotMongo.pas'{FrmServidor}, 6 | Form2 in 'Form2.pas'; 7 | 8 | {$R *.res} 9 | {$R 'btn.res'} 10 | begin 11 | Application.Initialize; 12 | Application.CreateForm(TFrmServidor, FrmServidor); 13 | Application.CreateForm(TItems, Items); 14 | Application.Run; 15 | end. 16 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/mongoproj.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/mongoproj.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/argiano.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/argiano.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/block_nine.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/block_nine.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/bodega_lurton.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/bodega_lurton.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/bouscat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/bouscat.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/calera.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/calera.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/capineto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/capineto.png -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/caronne.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/caronne.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/dinastia.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/dinastia.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/domaine_serene.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/domaine_serene.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/ex_umbris.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/ex_umbris.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/fourvines.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/fourvines.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/generic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/generic.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/hugel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/hugel.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/lan_rioja.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/lan_rioja.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/le_doyenne.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/le_doyenne.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/margerum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/margerum.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/momo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/momo.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/morizottes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/morizottes.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/petalos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/petalos.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/ponzi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/ponzi.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/quivira.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/quivira.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/rex_hill.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/rex_hill.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/saint_cosme.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/saint_cosme.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/shafer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/shafer.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/viticcio.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/viticcio.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/warley.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/warley.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/waterbrook.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/WarleyAlex/MongoProj/pics/waterbrook.jpg -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/uian2000/DDDPersistence/DDDPersistence.dpr: -------------------------------------------------------------------------------- 1 | program DDDPersistence; 2 | 3 | {$APPTYPE CONSOLE} 4 | 5 | uses 6 | {$I SynDprUses.inc} // includes FastMM4 7 | SynLog, 8 | mORMot, 9 | SysUtils, 10 | SynCommons, 11 | DDDPersistenceMain; 12 | 13 | begin 14 | TSynLogTestLog := SQLite3Log; // share the same log file with the whole mORMot 15 | SQLite3Log.Family.HighResolutionTimeStamp := true; 16 | TTestSuit.RunAsConsole('Automated Tests',LOG_VERBOSE); 17 | end. 18 | 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/Samples/ThirdPartyDemos/uian2000/DDDPersistence/ReadMe.md: -------------------------------------------------------------------------------- 1 | Simple DDD persistence sample using ORM 2 | ======================================= 3 | 4 | By uian2000. 5 | 6 | # Presentation 7 | 8 | This is a simple project which shows how to define a DDD persistence factory. 9 | 10 | It was first published on the forum to identify an issue with TSynFilterTrim (which has therefore been fixed since). 11 | 12 | # Forum Thread 13 | 14 | See http://synopse.info/forum/viewtopic.php?id=3183 15 | 16 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/ServiceTestSQL3.dpr: -------------------------------------------------------------------------------- 1 | /// test the service remote control of the mORMotService unit 2 | program ServiceTestSQL3; 3 | 4 | uses 5 | Forms, 6 | ServiceTestForm in 'ServiceTestForm.pas' {MainServiceTest}; 7 | 8 | {$R *.res} 9 | 10 | begin 11 | Application.Initialize; 12 | Application.CreateForm(TMainServiceTest, MainServiceTest); 13 | Application.Run; 14 | end. 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/ServiceTestSQL3.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/ServiceTestSQL3.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/TestSQL3.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/TestSQL3.res -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/android/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | 4 | # 5 | # Statically Linked 6 | # 7 | 8 | include $(CLEAR_VARS) 9 | LOCAL_MODULE := sqlite3-a 10 | LOCAL_MODULE_FILENAME := libsqlite3 11 | LOCAL_SRC_FILES := ../../sqlite3mc.c 12 | LOCAL_CFLAGS += -w -Wno-error -DSQLITE_ENABLE_FTS3 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -DSQLITE_TEMP_STORE=1 13 | # LOCAL_ALLOW_UNDEFINED_SYMBOLS :=true 14 | include $(BUILD_STATIC_LIBRARY) 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/android/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 2 | APP_PLATFORM := android-21 3 | APP_CPPFLAGS += -fexceptions -frtti 4 | APP_STL := c++_shared -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/android/jni/ApplicationWin32.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 2 | APP_PLATFORM := android-21 3 | APP_CPPFLAGS += -fexceptions -frtti 4 | APP_STL := c++_shared 5 | HOST_TAG64 := windows 6 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-delphi-win32.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set DST2=..\..\..\lib2\static\delphi\sqlite3.obj 4 | 5 | attrib -r ..\sqlite3.obj 6 | del ..\sqlite3.obj 7 | del %DST2% 8 | 9 | set bcc=d:\dev\DelphiXE7 10 | rem set bcc=d:\dev\bcc 11 | 12 | echo --------------------------------------------------- 13 | echo Compiling for Delphi Win32 using %bcc% 14 | 15 | %bcc%\bin\bcc32 -6 -Oi -O2 -c -d -u- sqlite3mc.c 16 | 17 | copy sqlite3mc.obj ..\sqlite3.obj 18 | copy sqlite3mc.obj %DST2% 19 | attrib +r ..\sqlite3.obj 20 | 21 | rem pause 22 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-delphi-win64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set DST2=..\..\..\lib2\static\delphi\sqlite3.o 4 | 5 | attrib -r ..\sqlite3.o 6 | del ..\sqlite3.o 7 | del %DST2% 8 | 9 | set bcc=d:\dev\DelphiXE7 10 | rem set bcc=d:\Dev\bcc\bcc64ce 11 | 12 | echo --------------------------------------------------- 13 | echo Compiling for Delphi Win64 using %bcc% 14 | 15 | %bcc%\bin\bcc64 -Wno-pointer-sign -isystem "%bcc%\include" -isystem "%bcc%\include\windows\sdk" -isystem "%bcc%\include\dinkumware64" -isystem "%bcc%\include\windows\crtl" -O2 -c -DWIN64 sqlite3mc.c 16 | 17 | copy sqlite3mc.o ..\sqlite3.o 18 | copy sqlite3mc.o %DST2% 19 | attrib +r ..\sqlite3.o 20 | 21 | rem pause 22 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-aarch64-android.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ARCH=aarch64-android 4 | 5 | CROSS=/home/ab/fpcup/cross/bin/all-android/bin 6 | GCC=$CROSS/clang 7 | DST=../../static/$ARCH/sqlite3.o 8 | DST2=../../../lib2/static/$ARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$ARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $ARCH using $GCC 17 | $GCC --target=aarch64-linux-android21 -static -fPIC -Wno-pointer-sign -O2 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$ARCH.o 18 | # -fPIC is needed for proper linking 19 | 20 | #$CROSS/llvm-strip sqlite3-$ARCH.o 21 | # striping remove all exported symbols :( 22 | 23 | cp sqlite3-$ARCH.o $DST 24 | cp sqlite3-$ARCH.o $DST2 25 | 26 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-aarch64-linux.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ARCH=aarch64-linux 4 | 5 | CROSS=/home/ab/fpcup/cross/bin/$ARCH 6 | GCC=$CROSS/$ARCH-gcc 7 | DST=../../static/$ARCH/sqlite3.o 8 | DST2=../../../lib2/static/$ARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$ARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $ARCH using $GCC 17 | $GCC -static -O1 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$ARCH.o 18 | 19 | $CROSS/$ARCH-strip -d -x sqlite3-$ARCH.o 20 | 21 | cp sqlite3-$ARCH.o $DST 22 | cp sqlite3-$ARCH.o $DST2 23 | 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-arm-android.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ARCH=arm-android 4 | 5 | CROSS=/home/ab/fpcup/cross/bin/all-android 6 | GCC=$CROSS/bin/clang 7 | DST=../../static/$ARCH/sqlite3.o 8 | DST2=../../../lib2/static/$ARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$ARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $ARCH using $GCC 17 | $GCC --target=armv7a-linux-androideabi21 -static -O2 -Wno-pointer-sign -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -D__ARM_PCS_VFP -c sqlite3mc.c -o sqlite3-$ARCH.o 18 | 19 | #$CROSS/bin/llvm-strip sqlite3-$ARCH.o 20 | # striping remove all exported symbols :( 21 | 22 | cp sqlite3-$ARCH.o $DST 23 | cp sqlite3-$ARCH.o $DST2 24 | 25 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-arm-linux.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ARCH=arm-linux 4 | 5 | CROSS=/home/ab/fpcup/cross/bin/$ARCH 6 | GCC=$CROSS/arm-linux-gnueabihf-gcc 7 | DST=../../static/$ARCH/sqlite3.o 8 | DST2=../../../lib2/static/$ARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$ARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $ARCH using $GCC 17 | $GCC -static -O1 -marm -march=armv7-a+fp -I$CROSS/include -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -D__ARM_PCS_VFP -mfloat-abi=hard -c sqlite3mc.c -o sqlite3-$ARCH.o 18 | 19 | $CROSS/arm-linux-gnueabihf-strip -d -x sqlite3-$ARCH.o 20 | 21 | cp sqlite3-$ARCH.o $DST 22 | cp sqlite3-$ARCH.o $DST2 23 | 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-i386-android.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ARCH=i386-android 4 | 5 | CROSS=/home/ab/fpcup/cross/bin/all-android 6 | GCC=$CROSS/bin/clang 7 | DST=../../static/$ARCH/sqlite3.o 8 | DST2=../../../lib2/static/$ARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$ARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $ARCH using $GCC 17 | $GCC --target=i686-linux-androideabi21 -static -Wno-pointer-sign -O2 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -D__ARM_PCS_VFP -c sqlite3mc.c -o sqlite3-$ARCH.o 18 | 19 | #$CROSS/bin/llvm-strip sqlite3-$ARCH.o 20 | # strip blows all external symbols 21 | 22 | cp sqlite3-$ARCH.o $DST 23 | cp sqlite3-$ARCH.o $DST2 24 | 25 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-i386-freebsd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | FPCARCH=i386-freebsd 4 | FPCARCHVERSION=12 5 | CROSS=/home/ab/fpcup/cross/bin/$FPCARCH 6 | GCC=$CROSS/$FPCARCH$FPCARCHVERSION-gcc 7 | DST=../../static/$FPCARCH/sqlite3.o 8 | DST2=../../../lib2/static/$FPCARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$FPCARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $FPCARCH using $GCC 17 | $GCC -static -O2 -m32 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$FPCARCH.o 18 | 19 | $CROSS/$FPCARCH$FPCARCHVERSION-strip -d -x sqlite3-$FPCARCH.o 20 | 21 | cp sqlite3-$FPCARCH.o $DST 22 | cp sqlite3-$FPCARCH.o $DST2 23 | 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-i386-linux.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem Use FpcUpDeluxe cross-compiler toolchain since native GCC generates dependency on newer libc version (e.g. compiled on Ubuntu 20.04 can't link on Ubuntu 18.04). 3 | 4 | set FPCARCH=i386-linux 5 | set GCCPATH=d:\fpcup\__win\bin\%FPCARCH% 6 | 7 | set GCC=%FPCARCH%-gcc 8 | set DST=..\..\static\%FPCARCH%\sqlite3.o 9 | set DST2=..\..\..\lib2\static\%FPCARCH%\sqlite3.o 10 | set path=%path%;%GCCPATH% 11 | 12 | del %DST% 13 | del %DST2% 14 | del sqlite3-%FPCARCH%.o 15 | 16 | echo. 17 | echo --------------------------------------------------- 18 | echo Compiling for FPC on %FPCARCH% using %GCC% 19 | %GCC% -static -w -O2 -m32 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-%FPCARCH%.o 20 | 21 | copy sqlite3-%FPCARCH%.o %DST% 22 | copy sqlite3-%FPCARCH%.o %DST2% 23 | 24 | rem pause -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-i386-linux.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | FPCARCH=i386-linux 4 | GCC=gcc-7 5 | DST=../../static/$FPCARCH/sqlite3.o 6 | DST2=../../../lib2/static/$FPCARCH/sqlite3.o 7 | 8 | rm $DST 9 | rm $DST2 10 | rm sqlite3-$FPCARCH.o 11 | 12 | echo 13 | echo --------------------------------------------------- 14 | echo Compiling for FPC on $FPCARCH using $GCC 15 | $GCC -static -O2 -m32 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$FPCARCH.o 16 | 17 | strip -d -x sqlite3-$FPCARCH.o 18 | 19 | cp sqlite3-$FPCARCH.o $DST 20 | cp sqlite3-$FPCARCH.o $DST2 21 | 22 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-i386-openbsd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | FPCARCH=i386-openbsd 4 | FPCARCHVERSION= 5 | CROSS=/home/ab/fpcup/cross/bin/$FPCARCH 6 | GCC=$CROSS/$FPCARCH$FPCARCHVERSION-gcc 7 | DST=../../static/$FPCARCH/sqlite3.o 8 | DST2=../../../lib2/static/$FPCARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$FPCARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $FPCARCH using $GCC 17 | $GCC -static -O2 -m32 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$FPCARCH.o 18 | 19 | $CROSS/$FPCARCH$FPCARCHVERSION-strip -d -x sqlite3-$FPCARCH.o 20 | 21 | cp sqlite3-$FPCARCH.o $DST 22 | cp sqlite3-$FPCARCH.o $DST2 23 | 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-i386-win32.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ARCH=i386-win32 4 | GCC=i686-w64-mingw32-gcc 5 | DST=../../static/$ARCH/sqlite3.o 6 | DST2=../../../lib2/static/$ARCH/sqlite3.o 7 | 8 | rm $DST 9 | rm $DST2 10 | rm sqlite3-$ARCH.o 11 | 12 | echo 13 | echo --------------------------------------------------- 14 | echo Compiling for FPC on $ARCH using $GCC 15 | $GCC -O2 -m32 -DWIN32 -DNDEBUG -D_WINDOWS -c sqlite3mc.c -o sqlite3-$ARCH.o 16 | 17 | i686-w64-mingw32-strip -d -x sqlite3-$ARCH.o 18 | 19 | cp sqlite3-$ARCH.o $DST 20 | cp sqlite3-$ARCH.o $DST2 21 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-x86_64-android.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ARCH=x86_64-android 4 | 5 | CROSS=/home/ab/fpcup/cross/bin/all-android/bin 6 | GCC=$CROSS/clang 7 | DST=../../static/$ARCH/sqlite3.o 8 | DST2=../../../lib2/static/$ARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$ARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $ARCH using $GCC 17 | $GCC --target=x86_64-linux-android21 -static -O2 -Wno-pointer-sign -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$ARCH.o 18 | 19 | #$CROSS/llvm-strip sqlite3-$ARCH.o 20 | # striping remove all exported symbols :( 21 | 22 | cp sqlite3-$ARCH.o $DST 23 | cp sqlite3-$ARCH.o $DST2 24 | 25 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-x86_64-freebsd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | FPCARCH=x86_64-freebsd 4 | FPCARCHVERSION=12 5 | CROSS=/home/ab/fpcup/cross/bin/$FPCARCH 6 | GCC=$CROSS/$FPCARCH$FPCARCHVERSION-gcc 7 | DST=../../static/$FPCARCH/sqlite3.o 8 | DST2=../../../lib2/static/$FPCARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$FPCARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $FPCARCH using $GCC 17 | $GCC -static -O2 -m64 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$FPCARCH.o 18 | 19 | $CROSS/$FPCARCH$FPCARCHVERSION-strip -d -x sqlite3-$FPCARCH.o 20 | 21 | cp sqlite3-$FPCARCH.o $DST 22 | cp sqlite3-$FPCARCH.o $DST2 23 | 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-x86_64-linux.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | FPCARCH=x86_64-linux 4 | GCC=gcc-7 5 | DST=../../static/$FPCARCH/sqlite3.o 6 | DST2=../../../lib2/static/$FPCARCH/sqlite3.o 7 | 8 | rm $DST 9 | rm $DST2 10 | rm sqlite3-$FPCARCH.o 11 | 12 | echo 13 | echo --------------------------------------------------- 14 | echo Compiling for FPC on $FPCARCH using $GCC 15 | $GCC -static -fno-pic -fno-stack-protector -O2 -m64 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$FPCARCH.o 16 | 17 | strip -d -x sqlite3-$FPCARCH.o 18 | 19 | cp sqlite3-$FPCARCH.o $DST 20 | cp sqlite3-$FPCARCH.o $DST2 21 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/compile-fpc-x86_64-openbsd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | FPCARCH=x86_64-openbsd 4 | FPCARCHVERSION= 5 | CROSS=/home/ab/fpcup/cross/bin/$FPCARCH 6 | GCC=$CROSS/$FPCARCH$FPCARCHVERSION-gcc 7 | DST=../../static/$FPCARCH/sqlite3.o 8 | DST2=../../../lib2/static/$FPCARCH/sqlite3.o 9 | 10 | rm $DST 11 | rm $DST2 12 | rm sqlite3-$FPCARCH.o 13 | 14 | echo 15 | echo --------------------------------------------------- 16 | echo Compiling for FPC on $FPCARCH using $GCC 17 | $GCC -static -O2 -m64 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -c sqlite3mc.c -o sqlite3-$FPCARCH.o 18 | 19 | $CROSS/$FPCARCH$FPCARCHVERSION-strip -d -x sqlite3-$FPCARCH.o 20 | 21 | cp sqlite3-$FPCARCH.o $DST 22 | cp sqlite3-$FPCARCH.o $DST2 23 | 24 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/amalgamation/sqlite3mc_vfs.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** Name: sqlite3mc_vfs.h 3 | ** Purpose: Header file for VFS of SQLite3 Multiple Ciphers support 4 | ** Author: Ulrich Telle 5 | ** Created: 2020-03-01 6 | ** Copyright: (c) 2020 Ulrich Telle 7 | ** License: MIT 8 | */ 9 | 10 | #ifndef SQLITE3MC_VFS_H_ 11 | 12 | #include 13 | #include 14 | 15 | SQLITE_API const char* sqlite3mc_vfs_name(); 16 | SQLITE_API void sqlite3mc_vfs_terminate(); 17 | SQLITE_API int sqlite3mc_vfs_initialize(sqlite3_vfs* vfsDefault, int makeDefault); 18 | 19 | 20 | #endif /* SQLITE3MC_VFS_H_ */ 21 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/build-fpc-linux64.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm -rf ./fpc/* 4 | mkdir -p ./fpc/lib/x86_64-linux 5 | mkdir -p ./fpc/bin/x86_64-linux 6 | 7 | fpc -B -MObjFPC -Scagi -Cg -Cirot -gw2 -gl -l -dFPCSQLITE3STATIC -dUseCThreads -Fi -Fifpc/lib/x86_64-linux -Fl./fpc-linux64 -Fu./SQLite3 -Fu./SQLite3/DDD/dom -Fu./SQLite3/DDD/infra "-Fu./SQLite3/Samples/33 - ECC" -Fu. -FUfpc/lib/x86_64-linux -FEfpc/bin/x86_64-linux/ ./SQLite3/TestSQL3.dpr 8 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/c-fpc64gcclin.sh: -------------------------------------------------------------------------------- 1 | # To compile our version of sqlite3.c amalgation file for FPC compatibility 2 | 3 | # need to create the destination folder only once 4 | mkdir ../fpc-linux64 5 | # need to copy this file only once (use the right source path depending on your system) 6 | cp /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a ../fpc-linux64 7 | 8 | cd ../fpc-linux64 9 | 10 | rm sqlite3-64.o 11 | 12 | gcc -c ../SQLite3/sqlite3.c -o sqlite3-64.o -O1 -ldl -lpthread -lc -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_FTS3 -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -DTHREADSAFE=1 -DTEMP_STORE=1 13 | 14 | echo "Done !" 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/c-fpcgcclin.sh: -------------------------------------------------------------------------------- 1 | # To compile our version of sqlite3.c amalgation file for FPC compatibility 2 | 3 | # need to create the destination folder only once 4 | mkdir ../fpc-linux32 5 | # need to copy this file only once (use the right source path depending on your system) 6 | cp /usr/lib/gcc/i686-linux-gnu/4.8/libgcc.a ../fpc-linux32 7 | 8 | cd ../fpc-linux32 9 | 10 | rm sqlite3.o 11 | 12 | # gcc -c sqlite3.c -O2 -ldl -lpthread -lc -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE 13 | # to get 32 bit on 64 bit systems 14 | #gcc -c sqlite3.c -O2 -ldl -lpthread -lc 15 | 16 | gcc -c ../SQLite3/sqlite3.c -O2 -m32 -ldl -lpthread -lc -DSQLITE_ENABLE_FTS3 17 | 18 | # to get 32 bit on 64 bit systems 19 | # gcc -c sqlite3.c -O2 -m32 -ldl -lpthread -lc 20 | echo "Done !" 21 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/mORMotHttpServer.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/mORMotHttpServer.pas -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/mORMotReport.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/mORMotReport.pas -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/mORMotUIEdit.dfm: -------------------------------------------------------------------------------- 1 | object RecordEditForm: TRecordEditForm 2 | Left = 314 3 | Top = 204 4 | BorderStyle = bsDialog 5 | ClientHeight = 510 6 | ClientWidth = 529 7 | Color = clBtnFace 8 | Font.Charset = DEFAULT_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -11 11 | Font.Name = 'Tahoma' 12 | Font.Style = [] 13 | OldCreateOrder = False 14 | Position = poScreenCenter 15 | Scaled = False 16 | OnCreate = FormCreate 17 | OnShow = FormShow 18 | PixelsPerInch = 96 19 | TextHeight = 13 20 | object BottomPanel: TPanel 21 | Left = 0 22 | Top = 453 23 | Width = 529 24 | Height = 57 25 | Align = alBottom 26 | TabOrder = 0 27 | end 28 | object Scroll: TScrollBox 29 | Left = 0 30 | Top = 0 31 | Width = 529 32 | Height = 453 33 | Align = alClient 34 | TabOrder = 1 35 | end 36 | end 37 | -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/mORMoti18n.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/mORMoti18n.pas -------------------------------------------------------------------------------- /contrib/mORMot/SQLite3/sqlite3.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SQLite3/sqlite3.obj -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/.gitignore: -------------------------------------------------------------------------------- 1 | .resources/ 2 | tools/core_res -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/Samples/01 - Dll Modules/math-module/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "math-module", 3 | "version": "1.0.0", 4 | "description": "Native (dll) module sample for SyNode", 5 | "main": "./build/mathModule.dll", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "SyNode" 11 | ], 12 | "author": "pavel.mash (https://unitybase.info)", 13 | "license": "MIT" 14 | } 15 | -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/Samples/01 - Dll Modules/math-module/src/mathModule.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SyNode/Samples/01 - Dll Modules/math-module/src/mathModule.res -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/Samples/02 - Bindings/.gitignore: -------------------------------------------------------------------------------- 1 | lib/ -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/Samples/02 - Bindings/SpiderMonkey45Binding.otares: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SyNode/Samples/02 - Bindings/SpiderMonkey45Binding.otares -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/Samples/02 - Bindings/SpiderMonkey45Binding.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SyNode/Samples/02 - Bindings/SpiderMonkey45Binding.res -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/Samples/02 - Bindings/SpiderMonkey45Binding_Icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SyNode/Samples/02 - Bindings/SpiderMonkey45Binding_Icon.ico -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/Samples/02 - Bindings/SpiderMonkey45Binding_Icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SyNode/Samples/02 - Bindings/SpiderMonkey45Binding_Icon1.ico -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/Samples/03 - HelloSpiderMonkey52/HelloSpiderMonkey52.dpr: -------------------------------------------------------------------------------- 1 | program HelloSpiderMonkey52; 2 | uses 3 | SpiderMonkey; 4 | begin 5 | // TODO: implementation for Delphi 6 | end. 7 | -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/build_res.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf ./.resources 4 | ./tools/core_res -i ./core_modules/ -o ./.resources/ 5 | x86_64-w64-mingw32-windres ./.resources/core_res.rc ./core_modules.res -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SyNode/core_modules.res -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/core_modules: -------------------------------------------------------------------------------- 1 | ../../../../../libs/Synopse/SyNode/core_modules -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/_stream_passthrough.js: -------------------------------------------------------------------------------- 1 | // a passthrough stream. 2 | // basically just the most minimal sort of Transform stream. 3 | // Every written chunk gets output as-is. 4 | 5 | 'use strict'; 6 | 7 | module.exports = PassThrough; 8 | 9 | const Transform = require('_stream_transform'); 10 | const util = require('util'); 11 | util.inherits(PassThrough, Transform); 12 | 13 | function PassThrough(options) { 14 | if (!(this instanceof PassThrough)) 15 | return new PassThrough(options); 16 | 17 | Transform.call(this, options); 18 | } 19 | 20 | PassThrough.prototype._transform = function(chunk, encoding, cb) { 21 | cb(null, chunk); 22 | }; 23 | -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/child_process.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Fake implementation of nodejs child_process 3 | * Throw on spawn 4 | */ 5 | module.exports.spawn = function(){ 6 | throw new Error('Not implemented in SyNode'); 7 | } -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/crypto.js: -------------------------------------------------------------------------------- 1 | //fake module 2 | 3 | exports.createHash = exports.Hash = Hash; 4 | function Hash(algorithm, options) { 5 | if (!(this instanceof Hash)) 6 | return new Hash(algorithm, options); 7 | /* this._binding = new binding.Hash(algorithm); 8 | LazyTransform.call(this, options);*/ 9 | this.fake = true; 10 | } 11 | 12 | exports.randomBytes = randomBytes; 13 | function randomBytes(size, callback) { 14 | return 'zzzzz'; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/https.js: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTPS client. 3 | * @module https 4 | * @memberOf module:buildin 5 | */ 6 | 7 | let http = require('http'); 8 | 9 | exports.request = function request(options) { 10 | options.useHTTPS = true; 11 | return http.request(options); 12 | } 13 | exports.get = function request(options) { 14 | options.useHTTPS = true; 15 | return http.get(options); 16 | } 17 | 18 | -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/internal/net.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { isLegalPort, assertPort }; 4 | 5 | // Check that the port number is not NaN when coerced to a number, 6 | // is an integer and that it falls within the legal range of port numbers. 7 | function isLegalPort(port) { 8 | if ((typeof port !== 'number' && typeof port !== 'string') || 9 | (typeof port === 'string' && port.trim().length === 0)) 10 | return false; 11 | return +port === (+port >>> 0) && port <= 0xFFFF; 12 | } 13 | 14 | 15 | function assertPort(port) { 16 | if (typeof port !== 'undefined' && !isLegalPort(port)) 17 | throw new RangeError('"port" argument must be >= 0 and < 65536'); 18 | } 19 | -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/net.js: -------------------------------------------------------------------------------- 1 | /** 2 | * MPV - pure fake!!!!!! 3 | */ 4 | 5 | module.exports = {} -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/timers.js: -------------------------------------------------------------------------------- 1 | /** 2 | * MPV - fake implementation of node.js timer 3 | * Just for xml2js work 4 | */ 5 | module.exports = { 6 | setImmediate: global.setImmediate 7 | } -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/tty.js: -------------------------------------------------------------------------------- 1 | /** 2 | * MPV - Fake implementation of nodejs tty 3 | * Always return `false` to isatty() call 4 | * @module tty 5 | * @memberOf module:buildin 6 | */ 7 | exports.isatty = function(fd) { 8 | return false; 9 | }; -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/vm.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Fake vm 3 | * @module vm 4 | * @memberOf module:buildin 5 | */ 6 | 7 | const {runInThisContext, loadDll} = process.binding('modules'); 8 | /** 9 | * Node expect this config 10 | { 11 | filename: filename, 12 | lineOffset: 0, 13 | displayErrors: true 14 | } 15 | */ 16 | exports.runInThisContext = function(code, config){ 17 | return runInThisContext(code, config.filename) 18 | } 19 | exports.runInDebugContext = function(){}; -------------------------------------------------------------------------------- /contrib/mORMot/SyNode/core_modules/node_modules/zlib.js: -------------------------------------------------------------------------------- 1 | // fake zlib -------------------------------------------------------------------------------- /contrib/mORMot/SynEcc32O2.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SynEcc32O2.obj -------------------------------------------------------------------------------- /contrib/mORMot/SynSMAPI.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SynSMAPI.pas -------------------------------------------------------------------------------- /contrib/mORMot/SynScaleMM.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SynScaleMM.pas -------------------------------------------------------------------------------- /contrib/mORMot/SynTaskDialog.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/SynTaskDialog.RES -------------------------------------------------------------------------------- /contrib/mORMot/SynTaskDialog.rc: -------------------------------------------------------------------------------- 1 | btnok 2 SQlite3\SQLite3btnok.bmp 2 | btnarrow 2 SQlite3\SQLite3btnarrow.bmp 3 | -------------------------------------------------------------------------------- /contrib/mORMot/SynopseCommit.inc: -------------------------------------------------------------------------------- 1 | '1.18.6385' 2 | -------------------------------------------------------------------------------- /contrib/mORMot/build-fpc-linux64.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm -rf ./fpc/* 4 | mkdir -p ./fpc/lib/x86_64-linux 5 | mkdir -p ./fpc/bin/x86_64-linux 6 | 7 | fpc.sh -B -MObjFPC -Scagi -Cg -Cirot -gw2 -gl -l -dFPCSQLITE3STATIC -dUseCThreads -Fi -Fifpc/lib/x86_64-linux -Fl./fpc-linux64 -Fu./SQLite3 -Fu./SQLite3/DDD/dom -Fu./SQLite3/DDD/infra "-Fu./SQLite3/Samples/33 - ECC" -Fu. -FUfpc/lib/x86_64-linux -FEfpc/bin/x86_64-linux/ ./SQLite3/TestSQL3.dpr 8 | -------------------------------------------------------------------------------- /contrib/mORMot/crc32c64.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/crc32c64.obj -------------------------------------------------------------------------------- /contrib/mORMot/deflate.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/deflate.obj -------------------------------------------------------------------------------- /contrib/mORMot/lizard.dpr: -------------------------------------------------------------------------------- 1 | /// compiled under FPC to have working lizard1-32.dll/lizard1-64.dll files for Delphi 2 | library lizard; 3 | 4 | uses 5 | SynLizard; // LIZARD_STANDALONE should be defined in the Lazarus Projects Options 6 | 7 | {$ifndef FPC} 8 | FPC-only library - not compilable under Delphi 9 | {$endif} 10 | 11 | exports 12 | Lizard_versionNumber, Lizard_compressBound, Lizard_compress, 13 | Lizard_sizeofState, Lizard_compress_extState, 14 | Lizard_decompress_safe, Lizard_decompress_safe_partial; 15 | 16 | begin 17 | end. 18 | -------------------------------------------------------------------------------- /contrib/mORMot/sha512-x64sse4.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/sha512-x64sse4.obj -------------------------------------------------------------------------------- /contrib/mORMot/sha512-x86.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/sha512-x86.obj -------------------------------------------------------------------------------- /contrib/mORMot/trees.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/trees.obj -------------------------------------------------------------------------------- /contrib/mORMot/vista.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/vista.RES -------------------------------------------------------------------------------- /contrib/mORMot/vista.rc: -------------------------------------------------------------------------------- 1 | 1 24 "vista.manifest" -------------------------------------------------------------------------------- /contrib/mORMot/vistaAdm.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/contrib/mORMot/vistaAdm.RES -------------------------------------------------------------------------------- /contrib/mORMot/vistaAdm.rc: -------------------------------------------------------------------------------- 1 | 1 24 "vistaAdm.manifest" -------------------------------------------------------------------------------- /contrib/preflate/framework.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 4 | // Windows Header Files 5 | #include 6 | -------------------------------------------------------------------------------- /contrib/preflate/pch.cpp: -------------------------------------------------------------------------------- 1 | // pch.cpp: source file corresponding to the pre-compiled header 2 | 3 | #include "pch.h" 4 | 5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed. 6 | -------------------------------------------------------------------------------- /contrib/preflate/pch.h: -------------------------------------------------------------------------------- 1 | // pch.h: This is a precompiled header file. 2 | // Files listed below are compiled only once, improving build performance for future builds. 3 | // This also affects IntelliSense performance, including code completion and many code browsing features. 4 | // However, files listed here are ALL re-compiled if any one of them is updated between builds. 5 | // Do not add files here that you will be updating frequently as this negates the performance advantage. 6 | 7 | #ifndef PCH_H 8 | #define PCH_H 9 | 10 | // add headers that you want to pre-compile here 11 | #include "framework.h" 12 | 13 | #endif //PCH_H 14 | -------------------------------------------------------------------------------- /contrib/preflate/preflate.h: -------------------------------------------------------------------------------- 1 | /* Copyright 2018 Dirk Steinke 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. */ 14 | 15 | #ifndef PREFLATE_H 16 | #define PREFLATE_H 17 | 18 | #include "preflate_decoder.h" 19 | #include "preflate_reencoder.h" 20 | 21 | #endif /* PREFLATE_H */ 22 | -------------------------------------------------------------------------------- /contrib/preflate/preflate_checker.h: -------------------------------------------------------------------------------- 1 | /* Copyright 2018 Dirk Steinke 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. */ 14 | 15 | #ifndef PREFLATE_CHECKER_H 16 | #define PREFLATE_CHECKER_H 17 | 18 | #include 19 | 20 | bool preflate_checker(const std::vector& deflate_raw); 21 | 22 | #endif /* PREFLATE_CHECKER_H */ 23 | -------------------------------------------------------------------------------- /contrib/preflate/preflate_dll.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /contrib/preflate/support/array_helper.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright 2018 Dirk Steinke 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. */ 14 | 15 | #include "pch.h" 16 | #include "array_helper.h" 17 | 18 | unsigned sumArray(const unsigned* data, const unsigned n) { 19 | unsigned sum = 0; 20 | for (unsigned i = 0; i < n; ++i) { 21 | sum += data[i]; 22 | } 23 | return sum; 24 | } 25 | -------------------------------------------------------------------------------- /contrib/preflate/support/support_tests.h: -------------------------------------------------------------------------------- 1 | /* Copyright 2018 Dirk Steinke 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. */ 14 | 15 | #ifndef SUPPORT_TESTS_H 16 | #define SUPPORT_TESTS_H 17 | 18 | bool support_self_tests(); 19 | 20 | #endif /* SUPPORT_TESTS_H */ 21 | -------------------------------------------------------------------------------- /xtool.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/xtool.res -------------------------------------------------------------------------------- /xtoolui.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Razor12911/xtool/9a1d5fafcfd93be25967e6e20734ee05fed07b72/xtoolui.res --------------------------------------------------------------------------------