封面LZF Lazarus+Zeosdbo+Firebird 开发者指南
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Renamer User Manual
ReNamer User Manual www.den4b.com PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information. PDF generated at: Thu, 31 Mar 2016 23:44:52 CEST Contents Articles Basics 1 ReNamer 1 Introduction 2 Quick Guide 3 Step-by-step 4 Adding files and folders 4 Managing Rules 8 Previewing Files 11 Renaming Files 12 Rules 14 Using the Rules 14 Overview of Rules 14 Insert Rule 15 Delete Rule 17 Remove Rule 18 Replace Rule 20 Rearrange Rule 22 Extension Rule 24 Strip Rule 25 Case Rule 26 Serialize Rule 28 CleanUp Rule 30 Translit Rule 31 RegEx Rule 35 PascalScript Rule 37 UserInput Rule 40 ReformatDate Rule 42 Pascal Script 44 Pascal Script 44 Quick Guide 46 Types 49 Functions 51 User Scripts 65 Appendices 67 Using Presets 67 Manual Editing 73 Analyze 75 Program settings 76 Main Menu and Keyboard Shortcuts 82 Menus for the Files Pane 84 Context Menus 91 Date and Time Format 93 Binary Signatures 94 Meta Tags 97 Analyze 98 Regular Expressions 100 Command Line Mode 107 Sorting Files 110 Using Masks 111 Renaming Folders 111 Renaming to Another Folder 112 Failed Renaming 114 Validation of New Names 115 Examples of rules 115 Examples of Rearrange rule 117 References Article Sources and Contributors 128 Image Sources, Licenses and Contributors 130 Article Licenses License 132 1 Basics ReNamer ReNamer is a very powerful and flexible file renaming tool. ReNamer offers all the standard renaming procedures, including prefixes, suffixes, replacements, case changes, removing the content inside brackets, adding number sequences, changing file extensions, etc. -
The New String Unicode Type
The new string unicode type Marco van de Voort December 3, 2010 Version: 0.06 1 Contents 0.1 Introduction . 3 0.1.1 Tiburón . 3 0.1.2 The encodings . 5 0.1.3 Economics of the encodings . 5 0.1.4 Granularity of [] . 6 0.1.4.1 Meaning 1: index means codepoints . 6 0.1.4.2 Meaning II: index means granularity of the en- coding . 6 0.1.4.3 Meaning III: index means character . 6 0.1.4.4 Granularity conclusion . 6 0.2 Requirements . 7 0.2.1 Required new functions. 8 0.2.2 The Windows W problem . 8 0.3 The proposals . 9 0.3.1 Felipe's proposal. 9 0.3.2 Marco's proposal . 10 0.3.2.1 Aliases . 10 0.3.3 Florian's proposal. 11 0.3.3.1 The biggest problem: can't declare what type to expect. 12 0.3.3.2 Existing code . 12 0.3.3.3 The granularity . 12 0.3.3.4 Performance . 13 0.3.3.5 Alternate encodings. 14 0.3.3.6 Florian's response . 14 0.3.3.7 The good points . 15 0.3.4 Yury's proposal . 15 0.3.5 The hybrid model . 15 0.3.5.1 Problems of hybrid: var . 17 2 0.1 Introduction Lately there has been some discussion about a new unicode type, mostly due to a request from the Lazarus team to support unicode in le operations (for lenames, not handling of unicode les). A few proposals were made on the fpc-pascal maillist, abd some discussion followed, but it died out, and there a lot of details of the proposals were only discussed on subthreads. -
What Is Inno Setup? Inno Setup Version 5.5.6 Copyright © 1997-2015 Jordan Russell
What is Inno Setup? Inno Setup version 5.5.6 Copyright © 1997-2015 Jordan Russell. All rights reserved. Portions Copyright © 2000-2015 Martijn Laan. All rights reserved. Inno Setup home page Inno Setup is a free installer for Windows programs. First introduced in 1997, Inno Setup today rivals and even surpasses many commercial installers in feature set and stability. Key features: Support for every Windows release since 2000, including: Windows 10, Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2008, Windows XP, Windows Server 2003, and Windows 2000. (No service packs are required.) Extensive support for installation of 64-bit applications on the 64-bit editions of Windows. Both the x64 and Itanium architectures are supported. (On the Itanium architecture, Service Pack 1 or later is required on Windows Server 2003 to install in 64-bit mode.) Supports creation of a single EXE to install your program for easy online distribution. Disk spanning is also supported. Standard Windows wizard interface. Customizable setup types, e.g. Full, Minimal, Custom. Complete uninstall capabilities. Installation of files: Includes integrated support for "deflate", bzip2, and 7-Zip LZMA/LZMA2 file compression. The installer has the ability to compare file version info, replace in-use files, use shared file counting, register DLL/OCX's and type libraries, and install fonts. Creation of shortcuts anywhere, including in the Start Menu and on the desktop. Creation of registry and .INI entries. Running other programs before, during or after install. Support for multilingual installs, including right-to-left language support. Support for passworded and encrypted installs. -
TMS Scripter Documentation
Overview TMS Scripter is a set of Delphi/C++Builder components that add scripting capabilities to your applications. With TMS Scripter your end-user can write his own scripts using visual tools and then execute the scripts with scripter component. Main components available are: • TatScripter: Non-visual component with cross-language support. Executes scripts in both Pascal and Basic syntax. • TatPascalScripter: Non-visual component that executes scripts written in Pascal syntax. • TatBasicScripter: Non-visual component that executes scripts written in Basic syntax. • TScrMemo: Lightweight syntax highlight memo, that can be used to edit scripts at run- time. TatScripter, TatPascalScripter, TatBasicScripter and TIDEScripter (in this document, all of these componentes are just called Scripter) descend from TatCustomScripter component, which has common properties and methods for scripting execution. The scripter has the following main features: • Run-time Pascal and Basic language interpreter; • Access any Delphi object in script, including properties and methods; • Supports try..except and try..finally blocks in script; • Allows reading/writing of Delphi variables and reading constants in script; • Allows access (reading/writing) script variables from Delphi code; • You can build (from Delphi code) your own classes, with properties and methods, to be used in script; • Most of Delphi system procedures (conversion, date, formatting, string-manipulation) are already included (IntToStr, FormatDateTime, Copy, Delete, etc.); • You can save/load compiled code, so you don't need to recompile source code every time you want to execute it; • Debugging capabilities (breakpoint, step into, run to cursor, pause, halt, and so on); • Thread-safe; • COM (Microsoft Common Object Model) Support; • DLL functions calls. -
Pascalscript 3.0 Von Remobjects
kleiner kommunikation [email protected] 1 PascalScript 3.0 von RemObjects Wie man mit wirksamen Mitteln eine Applikation mit einer Scripting Engine ausstatten kann, zeigt der Einsatz von PascalScript (PS). Man erhält eine flexible und ausbaufähige Technik die bspw. ein Programm zur Laufzeit beim Kunden erweitert, ganz ohne Neukompilieren oder Installation des Systems. Anhand des mitgelieferten Skripteditor für Ausbildung, Industrie oder Prototyping, welcher Skript und Ausgabebereich auf einen Blick erlaubt, lässt sich die PS Engine im Folgenden erklären. 1.1 Pascal Power zum Nulltarif Pascal Script ist eine freie und kostenlose Scripting Engine, die den Aufruf der meisten ObjectPascal Sprachkonstrukte zur Laufzeit in einem Delphi Projekt ermöglicht. PS wurde von Carlo Kok komplett in Delphi entwickelt, der mittlerweile eine Zusammenarbeit mit RemObjects i eingegangen ist. RemObjects treibt mit Freude und Freunden die Weiterentwicklung von PS voran. Diese Bibliothek, die sich in die Komponentenpalette von Delphi integrieren lässt, ist als Komponentensammlung strukturiert und durchdacht aufgebaut, da ein Helpsystem, ein eigenes Forum (remobjects.public.pascalscript) und zusätzliche Beispiele das Paket nützlich ergänzen. PS bietet folgende Merkmale: • Variablen, Konstanten und Standardkonstrukte • Funktionen, Rekursion und Standardtypen • Import von Delphi Funktionen und Klassen • Zuweisung von Scriptfunktionen zu Delphi Ereignissen • Kompilieren eines Byte Code Files zum späteren Einsatz • Einfacher Gebrauch der Design Komponenten Die Installation ist bequem als Package organisiert. Nach dem Herunterladen der komprimierten Datei (Version 3.0.3.45 vom 12.7.04) erhält man eine Verzeichnisstruktur, worin sich auch Pakete und Sourcen für Delphi 6,7 und Kylix 3 befinden. Für Kylix 2 Entwickler habe ich eine eigene inoffizielle Migration mit zugehörigem Paket erstellt (PascalScript_kylix2.zip). -
Infinite Loop Syntax Support for a Pascal-Family Language
Infinite loop syntax support for a Pascal-family language http://coderesearchlabs.com/articles/ILP.pdf Code Research Laboratories www.coderesearchlabs.com Javier Santo Domingo [email protected] Buenos Aires, Argentina started - April 9th, 2010 published - July 9th, 2010 last revision - May 4th, 2011 copyright is held by the author all trademarks and logos are the property of their respective owners 1. Introduction Infinite loops are a basic logic flow need that is supported by conventional processors and virtual machines (see table A), but there is always a valid solution to avoid them in High Level Languages. In any case, the discussion if it is or not a good practice will never end. There is no code (operative system, service daemon, command line, real-time system, message loop, etc) that can not avoid an infinite loop, that's a fact: you can always write loops with an exit condition. Besides that, and nowadays that code readability is very important (and that goto has been totally removed from good practices), there are many developers that prefer to implement an infinite loop and break it's execution in the middle [1], or that coding a program "designed to never stop" come to solutions with an infinite loop. x86's assembly ARM's assembly .NET's ilasm Java's bytecode Llvm's assembly label: label label: label: Loop: ; something ; something // something ; something ; something jmp label B label br label goto label br label %Loop Infinite Loops (unconditional jumps/branches) in Some Low/Mid Level Of Abstraction Languages table A 2. Different Kind of Loops Usually, how you order the logic for the solution you are writing determines where you will be testing the exit condition for a loop: at the top or at the bottom [2]. -
Pure Code Coding with Maxbox
Pure Code Coding with maXbox 1.1 maXbox or Hex in the Box maXbox is a free scripter tool with an inbuilt Delphi engine of Pascal Script in one exe! 1 It is designed for teaching, develop, test and analyzing apps and algorithms and runs under Win and Linux (CLX) to set Delphi in a box without installation or administration. The tool is based on an educational program with examples and exercises (from biorhythm, form builder to how encryption works). Units are precompiled and objects invokable! With a 26 part tutorial for coders or say it Pure Code for the Pascal Community (PC^2). 1.2 Get the Code So let’s get a real example, the box has o lot of it. The tool is split up into the toolbar across the top, the editor or code part in the centre and the output window at the bottom. Change that in the menu /view at our own style. We will start with an extract of a http-server demo, just to show you several objects and a form in maXbox. In maXbox you will start the web server example as a script, so the web server IS the script that starts the Indy objects, configuration from ini-file and a browser too; on board is also an add- on or more: Options/Add_ons/Easy_Browser/ . Before this starter code will work you will need to download maXbox from a website. It can be down-loaded from http://sourceforge.net/projects/maxbox (you’ll find the download to maxbox3.zip on the top of the page). -
Book of Vaadin Vaadin 6 Book of Vaadin: Vaadin 6 Oy IT Mill Ltd Marko Grönroos Vaadin 6.1.0
Book of Vaadin Vaadin 6 Book of Vaadin: Vaadin 6 Oy IT Mill Ltd Marko Grönroos Vaadin 6.1.0 Published: 2009-09-09 Copyright © 2000-2009 Oy IT Mill Ltd. Abstract Vaadin is a server-side AJAX web application development framework that enables developers to build high-quality user interfaces with Java. It provides a library of ready-to-use user interface components and a clean framework for creating your own components. The focus is on ease-of-use, re-usability, extensibility, and meeting the requirements of large enterprise applications. Vaadin has been used in production since 2001 and it has proven to be suitable for building demanding business applications. All rights reserved. Table of Contents Preface ............................................................................................................................ ix 1. Introduction ................................................................................................................. 1 1.1. Overview ............................................................................................................ 1 1.2. Example Application Walkthrough ........................................................................ 3 1.3. Support for the Eclipse IDE ................................................................................. 4 1.4. Goals and Philosophy ......................................................................................... 4 1.5. Background ....................................................................................................... -
Creating a Portable Pascal Codebase
Creating a portable Pascal codebase. Marco van de Voort March 2, 2012 Current version: 0.04 Versioning I’ve had comments on my (continued) use of the name “Borland”. Let me take this oppurtunity to explain that when I say “Borlanbd” I mean Borland/Inprise/Devco/Codegear/Embarcadero, since I (still) use products that were release under all these names. A lot has happened since the original version. Kylix can be considered dead for all practical purposes nowadays, but with XE2 Borland ventures again into multi-platform land. Tiburon will have a gigantic impact on anything that handles string. The new 2.6.x series is much more Delphi compatible, and the 2.7.x series (trunk) is absorbing Unicode Delphi features. v0.01 The original (2005) version without a version number. v0.02 Updated in 2008 v0.02b minor updates in September 2009 v0.03 Additions during summer 2010 v0.04 Small updates february 2012 1 Introduction There is a lot of (Object) Pascal code available on the web, usually for Turbo Pascal and Delphi. Since Free Pascal supports both these dialects, most code should in theory be recompilable with FPC (and to a lesser degree with other compilers with the appropiate Borland mode). The main showstopper problems are a too big dependancy on dos and 16-bit functionality (TP/BP), or on the Visual part of the VCL (Delphi ). A lot of Delphi code is also too Windows dependant for use on other platforms, but this (the Windows dependance) is no real long term problem for FPC/win32. -
Web Application for Interoperability Testing of Web Services
Master's Degree in Informatics Engineering Thesis Final Report Web application for interoperability testing of web services Bruno Miguel Filipe Martins [email protected] Supervisor: Prof. Nuno Laranjeiro Date: January 29th, 2016 Master's Degree in Informatics Engineering Thesis Final Report Web application for interoperability testing of web services Author: Bruno Miguel Filipe Martins [email protected] Jury: Prof. Marco Vieira Prof. Carlos Bento Supervisor: Prof. Nuno Laranjeiro Date: January 29th, 2016 WitWS - Web application for interoperability testing of web services Acknowledgments I would like to start by thanking my supervisor, Professor Carlos Nuno Laranjeiro. Without his immeasurable help and guidance this thesis would have been a shadow of itself. To this day I still cannot comprehend how can someone not be completely fed up with me after three meetings a day. His resilience is admirable. To Ivano Elia, for putting up with my endless questions about his previous work. His input throughout the thesis, especially in the testing phase, was invaluable. To Paulo Martins. After a day’s work, after taking care of his own company and after looking for his own family, still having the time to provide me with some tips is nothing short of incredible. To Catarina Lopes, because a long-distance relationship is hard enough without one of the members always complaining about his day. For always having the patience to hear me out even when going through some tough times herself. For understanding that this thesis took a lot more of my time than I expected. And last but definitely not least, to my parents. -
Android in Lazarus
Custom Drawn Interface/Android Contents 1 Architecture 2 Roadmap 3 Using the Android SDK, Emulator and Phones 4 Android Programming 5 Configuring the Free Pascal Compiler for Android o 5.1 Use the ready Virtual Box Image with FPC and Lazarus o 5.2 Building the compiler yourself in Windows o 5.3 Using the pre-compiled compiler in Windows o 5.4 Building the compiler yourself in Linux o 5.5 Using the pre-compiled compiler in Linux 6 Install the Java JDK and the Android SDK and NDK 7 Compiling the example LCL Android Application 8 How to create an LCL Android Application o 8.1 Step 1 - Creating the LPI o 8.2 Step 2 - Building the library o 8.3 Step 3 - Create the Android project structure o 8.4 Step 4 - Creating the APK package . 8.4.1 Step 4 - Creating the APK package in Linux . 8.4.2 Step 4 - Creating the APK package in Windows o 8.5 Building an LCL Android application with debug info 9 Oh no! My LCL Android application doesn't work o 9.1 The Pascal executable was compiled for a wrong architecture, operating system and/or widgetset o 9.2 My Pascal application crashed. How to get a stacktrace? o 9.3 The indispensable build options o 9.4 Wrong package name 10 Free Pascal Bugs on Android Support o 10.1 FPC4Android Branches . 10.1.1 FPC4Android 2.5.1 . 10.1.2 FPC4Android 2.6.1 11 Android SDK and NDK bugs o 11.1 Android NDK for Windows broken linker o 11.2 Error while calling DX: Trouble processing: bad class file magic (cafebabe) 12 Development Notes o 12.1 The mysterious JNI Crash o 12.2 NDK Libraries available in Android 2.2 (API level 8) o 12.3 Native text drawing o 12.4 Flood of garbage collector messages when the caret is visible o 12.5 Why the caret of a TEdit keeps blinking after clicking on the form o 12.6 Android ComboBox o 12.7 Using the Native ListView Dialog o 12.8 LazDeviceAPIs Architecture LCL-CustomDrawn-Android utilizes a minimal Java application which communicates with our Pascal library and sends all events to it and also obeys commands from it. -
Declaring Value in Pascal
Declaring Value In Pascal Mediocre Engelbert hoovers reprovingly. Olivier is musaceous and amasses pharmacologically while corporal Angel pad and prelects. Zarathustric and admittable Graeme deoxidizing helter-skelter and wedgings his assayer despondently and calamitously. This he only holding an effect in thread main program. UTILITY remove the compilation. These value compatible data types for download it call or value in this optional argument is an. Scope Visual Basic Microsoft Docs. The argument is a file variable representing the file to be rewritten. Array in pascal graphics library in a declared with this feature is declaring variables are transformed into steps are! The declarations in v axeln pascal is declaring a list declares a difference between an. Pascal supports a cute range of functions and procedures that manipulate strings. The subrange values are not attached to the type under which makes named subrange types declared with a typedef useless The subrange. Therefore you where need a compiler to program in Pascal. About this procedure and procedure are addressed by value in many files are not mark locations in detail in. Rizes the rules for declaring and calling procedures. We will be used in the previous operation. Mute x in pascal graphics library depends on value in which one. Nodebug means that pascal programmers and values where you have seen in string constant, your project structure. It is advantageous to be naked to specify sections of arrays as values in expression. If the routine body terminates normally, control returns to the summon of invocation and normal statement sequencing or expression evaluation continues.