Sign in Join

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

Mailing lists / pas2js

pas2js · 2019-07

  1. 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
  2. Translating using resource strings

    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…

    Michael Van Canneyt, Pedro Pablo Oviedo Vera
    5
  3. pas2js help todo

    https://pas2js.github.io/index.html todo: converting dwscript tests to pas2js you can search for keyword index (1077 keywords base). Sent from:…

    warleyalex, Michael Van Canneyt
    3
  4. Pas2JS-Widgets with LFM streaming

    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…

    Sven Barth, Michael Van Canneyt
    5
  5. window.fetch API

    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…

    Simon Ameis, Michael Van Canneyt
    2
  6. Context Sensitive Help for pas2js

    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,…

    warleyalex
    0
  7. missing rtl.js

    oba, I've built today pas2js directly from the trunk! a) One strange thing is the missing rtls.js from the trunk…

    warleyalex, Michael Van Canneyt
    2
  8. += notation in pas2js 1.5.1

    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…

    warleyalex, Mattias Gaertner
    2
  9. Resource strings, part 2

    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…

    Michael Van Canneyt, Mattias Gaertner, warleyalex
    9
  10. lazarus color unit

    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…

    warleyalex
    0
  11. New demo added

    I added a pas2js demo which uses the new HTML Media external class definitions: (probably showing my age with this one :/ )…

    Michael Van Canneyt, silvioprog
    1
  12. PushJS support

    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…

    Michael Van Canneyt, silvioprog
    1
  13. TStringStream added

    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

    Michael Van Canneyt
    0
  14. Show Files feature

    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…

    warleyalex, Mattias Gaertner
    2
  15. Small tetris demo added

    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…

    Michael Van Canneyt, Marcos Douglas B. Santos
    1
  16. Pas2js 1.4.10

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

    Mattias Gaertner
    0
  17. Component Streaming implemented

    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%…

    Michael Van Canneyt, silvioprog, warleyalex
    3
  18. Proposal: Improved error messages and handling

    Look at the class TFormatSettings (sysutils), we can improve it [code] type { TFormatSettings } TFormatSettings = class private FTranslations: TStrings; procedure…

    warleyalex
    0
  19. TStream implementation committed

    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…

    Michael Van Canneyt, Mattias Gaertner, silvioprog
    3