Jump to content


  • Content Count

  • Joined

  • Last visited

About AB

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. AB


    If you enable CORS on the server side, you will be able to do such downloads. See https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS For instance, a mORMot server can easily do CORS by setting aHttpServer.AccessControlAllowOrigin := '*';
  2. AB

    SMS lose weight

    Perhaps it is time to make some Open Source alternative to the SCL? SCL has its strenghts, but I guess that interfacing some most widely used frameworks, like Ionic, may help opening SMS to new levels. We could easily use the SMS compiler and IDE to write and debug business logic in its powerful SmartPascal. But let the UI be handled with regular frameworks like Ionic. You would focus on your logic, provide a first draft of the UI, then let the UI part be polished by true designers...
  3. It does make sense that this function only returned only 6 types (including varEmpty and varVariant), since this is what JavaScript supports. Perhaps returning varNull = 1 would make sense in addition to those 6 types. My guess is that VarType() is here for compatibility with Delphi when working with variants, which supports much more types (as the var* constants extracted from Delphi System.pas unit). See http://docwiki.embarcadero.com/RADStudio/Berlin/en/Variant_Types_(Delphi) and http://www.delphibasics.co.uk/RTL.asp?Name=VarType
  4. ... and under JS you could count on 53-bit precision for integers, not the full 64-bit integer range...
  5. At last, a new beta! http://smartmobilestudio.com/2016/01/24/smart-mobile-studio-2-2-beta-5 And it seems very stable to me. Just the ECMA.* new name spaces which broke existing code... But easy to do.
  6. Still one month later... and no sign of activity! Are really some people working full time on the project?
  7. No news about the Release Candidate to be eventually released?
  8. Still no news... I'm still feeling like a poor abandoned marmot.
  9. Thanks for the input. We are waiting for next release.
  10. Hello, I'm a bit worried about SmartMobileStudio future. I have renewed by annual subscription, but the development seems very very very quite. There is still a lot to do on SMS, both the IDE and the visual library, for instance. How is the team going? Do you have enough time working on it? From our customer side, it is difficult to invest time on a technology which is very promising, but seems not to be very active. I spent months writing code targeting SMS, in addition to FPC and Delphi. The logical part is almost finished, with proper regression tests. The SMS compiler i
  11. I suspect this method is incorrect: procedure JDateHelper.SetAsDateTime(dt : TDateTime); begin Self.setTime((dt - 25569) * 864e5); end; It should be written: procedure JDateHelper.SetAsDateTime(dt : TDateTime); begin Self.setTime(round((dt - 25569) * 864e5)); end; Otherwise the returned value is incorrect.
  12. A separated System.Types unit is a good point. The more targets SMS support, the better! The more code we can share among platforms, the better!
  13. Why not open source the tool, and publish it e.g. on github? So that others may contribute to it, and use it at their own risk. And support may be done by users.
  • Create New...