pas2js · 2019-07
- ExtractFileName function7
There are an issue on the ExtractFileName function | win64 platform ...an workaround would be: function ExtractFileName(str: String): String; begin asm Result =…
- Translating using resource strings5
I've added a unit that presents you with an API to translate the resource strings in your program. The unit is called rstranslate. You can 1. Load a translation for a…
- pas2js help todo3
https://pas2js.github.io/index.html todo: converting dwscript tests to pas2js you can search for keyword index (1077 keywords base). Sent from:…
- Pas2JS-Widgets with LFM streaming5
Hello together! I've experimented a bit with Pas2JS and the Pas2JS-Widgets by heliosroots ( https://github.com/heliosroots/Pas2JS_Widget/tree/master ) and implemented…
- window.fetch API2
I'd like to contribute the bindings for the Fetch API as documented here: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API The methods in TWindowHelper may be…
- Context Sensitive Help for pas2js0
let's suppose, select the keyword "for" in Lazarus environment and press CTRL+F1 to ask quick Context Sentive Help. When I press CTRL+F1, it takes a long time to call,…
- missing rtl.js2
oba, I've built today pas2js directly from the trunk! a) One strange thing is the missing rtls.js from the trunk…
- += notation in pas2js 1.5.12
I've got an fatal error when compiling the function Add (Error: Identifier expected) using the compiler Pas2JS Compiler version 1.5.1 [2019/07/24] for Win32 i386 The…
- Resource strings, part 29
The compiler now can generate (as FPC itself does) a file with all the resource strings in your unit or program. The generating of this file is controlled by the new -Jr…
- lazarus color unit0
I used to define this color unit at pas2js graphic projects. ***** unit pas2js.Color; {$mode objfpc} interface uses Classes, SysUtils; type TColor = Integer; Const { 18…
- New demo added1
I added a pas2js demo which uses the new HTML Media external class definitions: (probably showing my age with this one :/ )…
- PushJS support1
Silvio Clecio donated an import unit for pushjs, a notification framework for Javascript: https://pushjs.org/ The unit is called 'pushjs' (no surprise there) and the…
- TStringStream added0
As part of the binary-to-string stream testing (now added) I also added TStringStream to the classes unit. It currently only supports UTF16 strings, but I still plan UTF8
- Show Files feature2
When opening a pas2js project, I'm used to put the project inspector permanently visible on screen. It's a lot easier when all files are showed. I do not normally make a…
- Small tetris demo added1
Because we all want to have fun programming from time to time, I added a simple tetris game to the pas2js demos. You can find it in svn under demos/tetris. I put it also…
- Pas2js 1.4.100
I uploaded the release of pas2js 1.4.10. Changes: http://wiki.freepascal.org/Pas2JS_Version_Changes#Version_1.4.10 Snapshots:…
- Component Streaming implemented3
It's with great pleasure that I can announce that streaming of components now works in the classes unit. It has been committed to SVN. The binary format is not 100%…
- Proposal: Improved error messages and handling0
Look at the class TFormatSettings (sysutils), we can improve it [code] type { TFormatSettings } TFormatSettings = class private FTranslations: TStrings; procedure…
- TStream implementation committed3
I have implemented TStream. The latest delphis (and FPC) have added methods to TStream which read/write TBytes instead of a memory buffer. It is possible to implement…
