Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js

pas2js · 2019-08

  1. Pas2js 1.4.14

    I uploaded the release of pas2js 1.4.14. Changes: http://wiki.freepascal.org/Pas2JS_Version_Changes#Version_1.4.14 Snapshots:…

    Mattias Gaertner
    0
  2. missing definitions

    I remember I had to include some missing definitions at the external classses (JS unit) to compile my test project. ------------------- { TJSObject } TJSObject = class…

    warleyalex, Michael Van Canneyt
    5
  3. Project DBNavigator using TObjectList - pas2js

    live preview: https://pas2js.github.io/master/projDBNavigator/index.html project download: https://pas2js.github.io/master/projDBNavigator.rar Sent from:…

    warleyalex
    0
  4. Pas2js 1.4.12

    I uploaded the release of pas2js 1.4.12. Changes: http://wiki.freepascal.org/Pas2JS_Version_Changes#Version_1.4.12 Snapshots:…

    Mattias Gaertner
    0
  5. How can i use IndexedDB in pas2js?

    I tryed IndexedDB but i dont understand types needed forma...any guide ? -------------- next part -------------- An HTML attachment was scrubbed... URL:…

    Pedro Pablo Oviedo Vera
    0
  6. dataTransfer has a rare performance!??

    Hello people,...yes, me again....look: ..if in a function like : function Arrastrar(aEvent:TJSDragEvent): Boolean; begin aEvent.dataTransfer.setData('Text','<img src="'+…

    Pedro Pablo Oviedo Vera, Michael Van Canneyt
    2
  7. ProjZipSprite for pas2js

    I've been thinking this directive, including (linking/embedding) resources to pas2js units. {$R projZipSprite.res} Of course it is a blue dream, after the .RES file is…

    warleyalex, Michael Van Canneyt
    1
  8. The definition of 'Attr' interface

    Ref: https://dom.spec.whatwg.org/#interface-attr (* [Exposed=Window] interface Attr : Node { readonly attribute DOMString? namespaceURI; readonly attribute DOMString?…

    warleyalex, Michael Van Canneyt
    3
  9. submit??

    Hello ...iit is me again...perhaps it is a stupid question but .... I Trying traslate from Javascript to Pas2JS this: document.informacion1,submit() but I not find…

    Pedro Pablo Oviedo Vera, Mattias Gaertner, Michael Van Canneyt
    4
  10. Change in event handler

    Based on a recent remark on the list, and after careful checking of the documentation, the TEventListenerEvent class has been made an alias of TJSEvent:…

    Michael Van Canneyt
    0
  11. The definition HTMLOutputElement interface

    {A DOMSettableTokenList object is equivalent to a DOMTokenList object without an associated attribute.} type TJSDOMSettableTokenList = class external name…

    warleyalex, Michael Van Canneyt
    1
  12. external class with property modifier - feature request

    This definition code works in pas2js ========= function END_RCDATA: JSValue; external name '});' property; ========= hum, pas2js accepts the modifier property! but when…

    warleyalex, Mattias Gaertner, Michael Van Canneyt
    3
  13. is it a bug fro pas2js?

    Hello, I have a problem: I writing an event handler for invalid input from a html form element in order to get a validation on real time: FFormulario1 :=…

    Pedro Pablo Oviedo Vera, Mattias Gaertner, Michael Van Canneyt
    4
  14. CreateObject

    Hey, I'd like to create an instance of this class/interface definition: ----------------------------------------------------------------------------- TGoogleMapOptions =…

    warleyalex, Michael Van Canneyt
    1
  15. not TJSHTMLMediaElement or TJSHTMLVieoElement?

    I'm trying catch <video id="media"> from my project1.html in my project1.pas with medio1:= TJSHTMLElement(document.getElementById("medio")); but this way not allow to me…

    Pedro Pablo Oviedo Vera, Michael Van Canneyt
    6
  16. project Google Maps for pas2js

    live preview: https://pas2js.github.io/master/projGMaps/ project download: https://pas2js.github.io/master/projGMaps.rar Sent from: http://pas2js.38893.n8.nabble.com/

    warleyalex, Michael Van Canneyt
    2
  17. Project CryptoJS for pas2js

    live preview: https://pas2js.github.io/master/projCrypto/ download project: https://pas2js.github.io/master/projCryptoJS.rar Sent from: http://pas2js.38893.n8.nabble.com/

    warleyalex
    1
  18. TJSCrypto name minor error

    Please correct the definition TJSCrypto class (Web.pas), the correct is 'crypto' TJSCrypto = class external name 'crypto' (TJSObject) Sent from:…

    warleyalex, Mattias Gaertner, Michael Van Canneyt
    8
  19. TJSString >> substring() Method

    minor type into Web.pas >> TJSString Class >> subString method the correct is "substring" instead of "subString" Sent from: http://pas2js.38893.n8.nabble.com/

    warleyalex, Michael Van Canneyt
    1
  20. GetTickCount and TStopWatch implementation

    unit System.Diagnostics; { ╔══════════════════════════════════════════════…

    warleyalex
    0
  21. sluggish Trunc

    I've made a little test 4x using this code in both pas2js and dwscript/sms: ------- try for I := 0 to 999999999 do begin Aux := Trunc(I / 2); end; finally…

    warleyalex
    0
  22. Sorry for the red herring

    I had assumed that these GTK or QT browser widgets do not need either cef4delphi or cef3fpc.  As your suggested WebKit version is GTK based I thought it helpful to…

    Stephen Wright
    0
  23. Project SJCL

    Stanford Javascript Crypto Library - SJCL ---------------------------------------------- live preview: https://pas2js.github.io/master/projSJCL/ download project:…

    warleyalex, Michael Van Canneyt
    2
  24. The way forward: Exit the VCL/LCL, enter the DOM

    I have just committed some proof of concept that I have been working on lately. Please bear with me for a long mail ! Current attempts at widget sets focus on getting…

    Michael Van Canneyt, cbsistem, Stephen Wright
    4
  25. resourcestrings structure

    Creating my own alternative mechanism, of course, to translations strings. Just curious, I can't find a way to generate similar JSON structure when using resourcestrings.

    warleyalex, Michael Van Canneyt
    9
  26. Missing property in TJSHTMLButtonElement

    The value property is missing in TJSHTMLButtonElement <input type = "button" class = "form-control" id = "btn1" value = "Pas 2 JS" />

    Gabriele Cappelletto, Michael Van Canneyt
    1
  27. Help Please

    Which is the Unit where GetElement is declared?...I try: FEdtUserName:=TJSHTMLInputElement(GetElement('usuario')) but the compiler answer : Indentifier not…

    Pedro Pablo Oviedo Vera
    1
  28. Lazarus Release 2.0.4

    The Lazarus team is glad to announce the release of Lazarus 2.0.4. This release was built with FPC 3.0.4. The previous release Lazarus 2.0.2 was built with FPC 3.0.4 as…

    Mattias Gaertner
    0
  29. CrossMonkey: Build native desktop, mobile and web app with same UI and same codebase

    I just want to share this new project. https://gitlab.com/CrossMaker/CrossMonkey <https://gitlab.com/CrossMaker/CrossMonkey> The goal is to be able create a native…

    Renaud GHIA, Michael Van Canneyt
    2
  30. Nice!

    I just work on console script for now......Really nice work this pas2js....congratulations and tkank.... pp MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y…

    Pedro Pablo Oviedo Vera
    0
  31. ExtractFileName function

    There are an issue on the ExtractFileName function | win64 platform ...an workaround would be: function ExtractFileName(str: String): String; begin asm Result =…

    warleyalex, Michael Van Canneyt, Sven Barth
    7