* * *

Recent Posts

Pages: [1] 2 3 ... 10
General / Re: Secure Checkout of Source
« Last post by marcov on Today at 07:03:18 am »
Bulding is currently pretty decentral, so that would first have to change.
Third party / Re: Fpcupdeluxe
« Last post by DonAlfredo on Today at 07:02:01 am »
The instructions are: copy the needed files towards the fpcupdeluxe binary !

As you are using 64bit, it would be the easiest to use wget from:

Edit: rename wget64.exe into wget.exe !!!

See the included screenshot of the directory structure I use myself:
every FPC/Laz install on my system has its own version of fpcupdeluxe !

The screenshot:
create directory fpctrunk2.
inside fpctrunk2, create directory fpcupdeluxe.
copy fpcupdeluxe binary into this directory.
start fpcupdeluxe and point it towards fpctrunk2 (or whatever name you have chosen).

Important notice:
During some of your previous messages, fpcupdeluxe was not even able to download the openssl files themselves.
Your screenshot shows something different: these files are now downloaded.
This could means that enabling wget/libcurl would be no longer necessary !!
Something has changed.
General / Re: Secure Checkout of Source
« Last post by R0b0t1 on Today at 05:36:44 am »
Does any place exist where it would be appropriate to request those things?
FPC development / Re: AVX and SSE support question
« Last post by BeanzMaster on Today at 12:54:40 am »
Hi to all, thanks for the explanations

I've made a little test app with 3 clones of the same record. One for Pure Pascal, One for SSE, and the 3rd for AVX
I've included the basic vectors functions (Length, Distance, DotProduct, CrossProduct, Normalize,....
I've putted some comment
I'll suggest you to see specialy the SSE DotProduct function in comment you'll find 3 others versions (SSE1, SSE2, SSE3 and SS4 tests)
This is just a test so some functions are not optimized yet  ;D
The App compile without any exceptions or compilater's warnings  8-)

In order to make a comparison between our pc and configuration

- CPU                            : AMD A10-7870K Radeon R7, 12 Compute Cores 4C+8G
- Supported Instructions : MMX (+), SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4A, AMD 64, NX, VMX, AES, AVX, FMA3, FMA4
- OS                              : Windows 10 64-bit
- DEV                            : Lazarus 1.8rc4 / FPC 3.0.2

All suggestions are welcome.

Notice : the unit is for 64-bit and Windows, for others see the comment on the top of the unit

The modern way would be to have a build server in the cloud that builds everything on every commit
Third party / Re: Fpcupdeluxe
« Last post by TheEditor on Today at 12:24:00 am »
Ok, so I gave this a try, making sure to enable wget/libcurl on the Setup+ screen before starting. It failed, though the error messages are different. I've attached a screenshot.

What I don't understand is why, if I've already followed the instructions to download from indy.fulgan.com, fpcupdeluxe doesn't see that the needed files are in c:\fpcupdeluxe and refrain from downloading a 2nd time. Though it doesn't appear to be the issue because as the screenshot shows, these files were at least seemingly downloaded properly. But then, I downloaded the i386 version and not the 64 version, per your instructions.

If you are in for an experiment, do the following.

Get yourself a libcurl.dll with SSL.

get yourself openssl.

If you enable the use of wget/libcurl in setup+ of fpcupdeluxe 1.6.0i, it will use libcurl. Perhaps with more success on your system !

You can also get yourself wget, and copy wget.exe towards the fpcupdeluxe binary.
General / Re: Trunc function
« Last post by jamie on Today at 12:07:52 am »
Yes, rounding is always better if you are interchanging the types back and forth..

I ran into that not to long ago where I was converting Currency type being used for Inches
but had to convert it to Pixels and back again. The values would change as a results.

 Rounding fixes that.. Have a good Turkey day if you're in the states!
Build a string table of all the G commands.

make a parser that searches this table for the command and the found index will be a command

Use another procedure to execute this command where it could have several case statements that
examines this command..

 The Constant string table looks like this.

Const GCMD:Arrary[0..NumberOfCmds-1] of String = ('GD1',GD2','XYZ5','And happy thanks Giving', 'And A better New Year');

The search function is simple of course.

 Result :=0;
While (Result < NumberOfCmds)and(CompareStr(InputStr,GCMD[Result])<>0) do Inc(Result);
 If Result > NumberOfCmds Then result := -1;

---- Later On ---

Case Result of

You should use a parser because that will capture the Text for the Cmd and also can be used to capture the
parameters after the command etc.

General / Re: Can't find error in unit/form
« Last post by madref on November 22, 2017, 11:01:01 pm »
I finally solved it.

I had the UpdateMode set to upWhereKeyOnly and it had to be set to upWhereChanged
General / Re: Exception or error flag?
« Last post by glorfin on November 22, 2017, 10:38:26 pm »
Yes, thank you for this third possibility  :)
One approach is to code all your routines as boolean functions (which may then need var or out parameters, and an errMsg parameter).
If the function returns false you know immediately there is an error and that the resulting parameters are invalid.
Pages: [1] 2 3 ... 10


Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus