Search found 1895 matches

by Ultibo
Thu Jun 21, 2018 12:41 am
Forum: Graphics
Topic: Pure OpenVG app
Replies: 2
Views: 64

Re: Pure OpenVG app

Hi, Three good questions and each of them have a few different options, I'll outline your choices below. As always if you are not clear which method would be best for your use then simply post a bit of a description of what you are wanting to achieve and we'll try to recommend one. I have an app whi...
by Ultibo
Wed Jun 20, 2018 7:21 am
Forum: Discussion
Topic: JQ Issues
Replies: 6
Views: 70

Re: JQ Issues

When I open the html page as a file from my windows machine all is good, but when I serve it from my PI all the styles are lost. The Browser Console in Firefox was reporting that the CSS files were being returned as text/html instead of text/css, your custom class is missing the lines that determin...
by Ultibo
Wed Jun 20, 2018 6:37 am
Forum: Discussion
Topic: JQ Issues
Replies: 6
Views: 70

Re: JQ Issues

pjde wrote:Let us know when you have a copy as I will delete it off the repo.

Ok got it, let me have a look.
by Ultibo
Wed Jun 20, 2018 5:38 am
Forum: Discussion
Topic: JQ Issues
Replies: 6
Views: 70

Re: JQ Issues

When I open the html page as a file from my windows machine all is good, but when I serve it from my PI all the styles are lost. Have you tested serving HTML pages with large css and js files or should I be hunting through my code. The css and js files should just appear as a URL and the browser sh...
by Ultibo
Tue Jun 19, 2018 12:05 pm
Forum: General
Topic: unit initialization
Replies: 1
Views: 34

Re: unit initialization

should I add a ThreadHalt(0); No, that would halt the system during startup, see below for more details. More general: is the start-code of all the units started in one thread or single threads? Just for interrest. All unit initialization code is executed by the main thread during startup, at the p...
by Ultibo
Tue Jun 19, 2018 12:14 am
Forum: General
Topic: send binary data to javascript
Replies: 4
Views: 72

Re: send binary data to javascript

The new problem is the response type is string as I found out by using typeof(xmlhttp.response) in the script. I do set xmlhttp.responceType = 'arraybuffer' in the script. I took a look at the HTTP unit and line 2366, wich sets the header for a stream content, is SetHeader(HTTP_ENTITY_HEADER_CONTEN...
by Ultibo
Mon Jun 18, 2018 6:17 am
Forum: General
Topic: send binary data to javascript
Replies: 4
Views: 72

Re: send binary data to javascript

I don't know if the error is in the pascal code or in the script. Script is mostly copy/paste. Code included. RPI 2B Any advice? I had a look at your DoGet function, the use of the TMemoryStream seems to be the main cause of the problem. You have StreamResponse: TMemoryStream declared as a global v...
by Ultibo
Mon Jun 18, 2018 5:35 am
Forum: General
Topic: Synapse send stream issue
Replies: 7
Views: 223

Re: Synapse send stream issue

Some testing shows that FileZilla does not wait for an intermediate response from the server when uploading a file in passive mode and begins the transfer immediately after sending the ftp STOR command. When I compile my test server for linux or windows the transfers always complete. I can not unde...
by Ultibo
Mon Jun 18, 2018 2:09 am
Forum: General
Topic: IR Touch screen
Replies: 18
Views: 574

Re: IR Touch screen

I tried, but nothing has changed at all, the values of the Offsets is still from 0 to 32766. Sorry, I probably should have made that clearer. The offset values displayed will still be between 0 and 32767 but the calculated cursor X and Y position should now be scaled to the size of the screen (and ...
by Ultibo
Sat Jun 16, 2018 11:08 am
Forum: Bug reports
Topic: Hash Functions (Ultibo)
Replies: 1
Views: 85

Re: Hash Functions (Ultibo)

Should it not be switched? I think the Uppercase function makes GeneratePasswordHash "Case Insensitive". Yes I think you are correct. The GenerateNameHash function does a very simple uppercase conversion (by subtracting decimal 32 from the character value) whereas the GeneratePasswordHash...

Go to advanced search