Re: [fpc-pascal] Math.MinExtended value

2017-12-14 Thread Vojtěch Čihák
Hi, it seems you are right:  https://en.wikipedia.org/wiki/Extended_precision#Working_range   V. __ Od: Bart Komu: FPC-Pascal users discussions Datum: 14.12.2017 23:51 Předmět:

[fpc-pascal] Math.MinExtended value

2017-12-14 Thread Bart
Hi, I was playing a bit with floating point types when I noticed this discrepancy: From math.pp {$ifdef FPC_HAS_TYPE_EXTENDED} const MinExtended = 3.4e-4932; MaxExtended = 1.1e+4932; {$endif FPC_HAS_TYPE_EXTENDED} From fpc reference guide: Extended 1.9E-4932 .. 1.1E4932

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Bo Berglund
On Thu, 14 Dec 2017 19:54:49 +0100, Bo Berglund wrote: > if AProcess.RunCommand(Command, Parameters.Strings, sTmp) then > begin > SvnData.Text := sTmp); > Result := true; > end; > It works when this is changed to: var Params: array of string; ... begin

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Giuliano Colla
Il 14/12/2017 18:02, Bo Berglund ha scritto: But*sending email* is not the problem, I have done this in many applications using Indy TIdSMTP. Instead it is getting data out oof svn and formatting these in a friendly looking email to be sent You might find useful guidelines in the fpcup

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Bo Berglund
On Thu, 14 Dec 2017 19:37:55 +0100 (CET), mar...@stack.nl (Marco van de Voort) wrote: >In our previous episode, Bo Berglund said: >> But *sending email* is not the problem, I have done this in many >> applications using Indy TIdSMTP. Instead it is getting data out oof >> svn and formatting these

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Marco van de Voort
In our previous episode, Bo Berglund said: > But *sending email* is not the problem, I have done this in many > applications using Indy TIdSMTP. Instead it is getting data out oof > svn and formatting these in a friendly looking email to be sent Actually process.runcommand was developed to

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Paul Breneman
On 12/14/2017 12:02 PM, Bo Berglund wrote: On Thu, 14 Dec 2017 10:26:22 +, Mark Morgan Lloyd wrote: On 14/12/17 10:00, Adriaan van Os wrote: Bo Berglund wrote: Now I am looking at the same problem for svn and this time I need it> to be cross-platform,

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Bo Berglund
On Thu, 14 Dec 2017 10:26:22 +, Mark Morgan Lloyd wrote: >On 14/12/17 10:00, Adriaan van Os wrote: >> Bo Berglund wrote: >>> Now I am looking at the same problem for svn and this time I need it> >>> to be cross-platform, hence using FPC.> Before I start

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Mark Morgan Lloyd
On 14/12/17 10:00, Adriaan van Os wrote: Bo Berglund wrote: Now I am looking at the same problem for svn and this time I need it> to be cross-platform, hence using FPC.> Before I start on it myself I wonder if someone here has already> written such a program for svn and if so, if it is

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Bo Berglund
On Thu, 14 Dec 2017 10:49:32 +0100, Adriaan van Os wrote: >Bo Berglund wrote: > >> Now I am looking at the same problem for svn and this time I need it >> to be cross-platform, hence using FPC. >> Before I start on it myself I wonder if someone here has already >> written such

Re: [fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Adriaan van Os
Bo Berglund wrote: Now I am looking at the same problem for svn and this time I need it to be cross-platform, hence using FPC. Before I start on it myself I wonder if someone here has already written such a program for svn and if so, if it is available as open source? I use sendmail

[fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

2017-12-14 Thread Bo Berglund
I am looking at switching from CVS to SVN as version control at my company. We have used CVS(nt) since 16 years back, but it is no longer working properly on new Windows versions (server side) so I am planning to go to subversion instead. For CVS I wrote a Delphi mailer program (CVSMailer) a long