rejetto forum

version 2.4

rejetto · 474 · 309865

0 Members and 1 Guest are viewing this topic.

Offline TEA-Time

  • Occasional poster
  • *
    • Posts: 76
    • View Profile
No issues here with Add to HFS or drag & drop with 2.4.0 RC7 on Windows 7.


Offline danny

  • Tireless poster
  • ****
    • Posts: 281
    • View Profile
...a second instance of the program is started concurrently with the first, when the "only 1 instance" option is not checked.
I thought that only 1 instance was the default setting? If not, then that could made default easily. 

Therefore, Housekeeping:  {.set ini|use-system-icons=no.}  {.set ini|only-1-instance=yes.}

Mainly, I'm very pleased with RC7! 
« Last Edit: September 04, 2020, 09:59:21 PM by danny »


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
Unfortunately, the 2.4 template doesn't work correctly on older browsers.
...
The template of 2.3m works correctly, tested down to Opera 8.54 on Windows 95.

I forgot to say a problem after posting this, sth about dual-core browsers.

That is, while many ones (most ones in China) are using commercial dual-core browsers, which use IE core by default, webpages provided by the 2.4 default tpl will not work properly as expected unless they switch core -- the page is broken in old browsers.

And we should know, users who are tricked to use these browsers have no ability to do something "high-tech" like switching core or switching browser.
And again, those browser makers, saying that a programmer that cannot do IE-compatible codes are stupid. I'm angry. Maybe you too.

Neither requesting users to change browsers nor requesting browser makers to switch core is possible. Made my head ache.

Btw adapting 2.3 tpl to 2.4 seems easy. Let's do this?
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline danny

  • Tireless poster
  • ****
    • Posts: 281
    • View Profile
I forgot to say a problem after posting this, sth about dual-core browsers.

That is, while many ones (most ones in China) are using commercial dual-core browsers, which use IE core by default, webpages provided by the 2.4 default tpl will not work properly as expected unless they switch core -- the page is broken in old browsers.

And we should know, users who are tricked to use these browsers have no ability to do something "high-tech" like switching core or switching browser.
And again, those browser makers, saying that a programmer that cannot do IE-compatible codes are stupid. I'm angry. Maybe you too.

Neither requesting users to change browsers nor requesting browser makers to switch core is possible. Made my head ache.

Btw adapting 2.3 tpl to 2.4 seems easy. Let's do this?
Likewise, I've identified an overage of javascript reliance for drawing the page. 
Mobil-Light and the Standard/Default template fail to list a quarter million files on a single page.
But, both Throwback and Takeback can do it routinely.  So, why are the others unable? 

P.S. What is the ususal browser-level support needed?   
« Last Edit: September 06, 2020, 11:10:43 PM by danny »


Offline ivominchev

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
TO REJETTO:
the problem with using "Add to HFS" is that a second instance of the program is started concurrently with the first, when the "only 1 instance" option is not checked.

when multiple instances are active from different directories, "Add to HFS" can only work for exe from one directory but appears installed for all instances

I suggest this modification so that it is possible to know the exe and therefore the directory which is actually attached to "Add to HFS"
Sorry but this is not my case. My option "only 1 instance" is checked. But the problem is solved in 2.4 RC07.
« Last Edit: September 25, 2020, 03:33:54 PM by ivominchev »


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
I'd like there to be more features! :D Such as:

A kind of {.load.} that can deal with binary files (as this),
and a kind of {.load.} that can load a macro file without executing macros inside.

A macro that can pop up an input box, and get inputted values. (like {.prompt.})

It will be better if more mathematical macros are being introduced.

{.notify.} seems doesn't work in Windows 10. Fix it?

HFS automatically mirrors a shortcut (.lnk) to real address. It works for a file, or a folder, but doesn't work for a file "inside" a shortcut folder. Also fix this?

Maybe also a macro for adding files/links to VFS.
{.exec|hfs.exe file.txt.} works, but seems "multi-threaded", macros after it are executed before file.txt really added into VFS.
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline danny

  • Tireless poster
  • ****
    • Posts: 281
    • View Profile
...a kind of {.load.} that can load a macro file without executing macros inside...
[sym.mysymbol]
{wahoo.macro.which.is.not.run.until.section.call}

Doesn't run until %sym.mysymbol% calls it.


Newer method (on the fly compiler)
[special:alias|cache]
dmy={.time|format=dd/mm/yyyy|when=%item-modified-dt%.}

Doesn't run until {.dmy.} calls it. 
It is diy macro.


These methods don't cost separate cover additional http request; and, for both, they are 'memorized' quite like cached, because they are read into memory when the template is first loaded.  The diy %symbol% is for mixed content (markup, macro, java).  However, the diy {.macro.} is good to shrink a multi-step macro into a single macro which operates as efficiently as if it were compiled into the .exe. 

How does the feature request differ from these?
« Last Edit: September 29, 2020, 08:31:57 PM by danny »


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
How does the feature request differ from these?

I'm planning to introduce more file previewing functions. If one of them needs {.load.}, then if a file contains macro, whether by accident(a special file contains macro) or on purpose(by uploading a file contains macro), it's not good for server.
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
and a kind of {.load.} that can load a macro file without executing macros inside.
store the content in a variable
{.load|document.txt|var=mytext.}


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
store the content in a variable
{.load|document.txt|var=mytext.}

So we can use this:

Code: [Select]
{.load|{.^filepath.}|var=filecontent.}
{.replace|<|&lt;|>|&gt;|{|& #123;|}|& #125;|var=filecontent.}

Great! :D
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
in  scriptlib.pas
   if name = 'any macro marker' then
      trueIf(anyMacroMarkerIn(first(loadfile(uri2diskMaybe(p)), p)));


by including those line we make sure not to load a file containing macros

{.if not|{.any macro marker|{.^filepath.}.}|{.load|{.^filepath.}|var=filecontent.}.}

thus the file will only be read if it does not contain a macro marker


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs

Offline DeAmon

  • Occasional poster
  • *
    • Posts: 3
    • View Profile

Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs

Offline jaideejung007

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Bug v2.4-rc07

When to Enable Anyone Upload Feature, and test files upload, not show upload progress bar.

But, I using v2.4-rc06 to v2.4-rc01, It works.


Enable Anyone Upload Feature


Not show upload progress bar.



I using v2.4-rc06 to v2.4-rc01, It works.