Re: [Firebird-devel] Firebird.pas for the windows build

2016-04-25 Thread Alex Peshkoff
On 04/25/2016 01:57 PM, Simonov Denis wrote:
> Alex Peshkoff  писал(а) в своём письме Mon, 28 Mar 2016
> 12:46:02 +0300:
>
>> On 03/25/2016 03:51 PM, Alex Peshkoff wrote:
>>> On 03/25/2016 12:48 PM, preeves wrote:
 On Thu, 24 Mar 2016 12:35:25 +0300
 Alex Peshkoff  wrote:

> On 03/23/2016 06:39 PM, preeves wrote:
>> Firebird.pas is generated in the posix builds but it is not
>> generated in the windows builds. Posix builds generate it via this
>> target:
>>
>> $(API_PAS_FILE): $(IDL_FILE) $(PASCAL_SOURCES) $(TMP_FUNCS)
>> $(CLOOP) $(IDL_FILE) pascal $@ Firebird --uses SysUtils \
>> --interfaceFile $(PAS_ROOT)/Pascal.interface.pas \
>> --implementationFile $(PAS_ROOT)/Pascal.implementation.pas
>> \ --exceptionClass FbException \
>> --functionsFile $(TMP_FUNCS) \
>> --prefix I
>>
>> There seems to be more going on here than simple file
>> concatenation.
> Much more.
>
 AFAICT a
 git push will pick up a changed Firebird.pas each time it is rebuilt on
 a posix host, so it won't be too difficult to keep it up-to-date.
>>> Well, if nobody will provide strong arguments against this I will commit
>>> the generated file on Monday.
>>>
>> Added to B3_0, still hope on correct approach in fb4.
>>
> In Firebird 3.0 release under windows again absent Firebird.pas file. It
> is not available in the snapshot too.

Denis, unfortunately 'Added' means here that generated Firebird.pas was 
placed into git tree.
Please get it from linux binaries or source tarball (src/include/gen) or 
from github (B3_0_Release).



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird.pas for the windows build

2016-04-25 Thread Simonov Denis
Adriano dos Santos Fernandes  wrote Thu, 24 Mar 2016  
13:36:27 +0300:

> On 24/03/2016 06:35, Alex Peshkoff wrote:
>> How are we meant to do this in the windows build?
>> Paul, I see 2 alternatives.
>> 1. (correct) Build cloop and execute same command.
>>
>
> Is the Windows guys doing manual editing of the generated file after API
> changes?
>

In principle, you can not include in Firebird.pas snapshots, if it is  
difficult to collect each time. But then
1. cloop tool must be compiled and included in the kit Firebird utilities.
2. It should be documented. At a minimum, the instrument itself must  
provide help for the options with the /? or --help. Now to find out you  
have to read the source code.
3. The release archives and distribution Firebird.pas file should be  
included. Release and subrelease comes not so often.

>
> Adriano
>
>
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
> Firebird-Devel mailing list, web interface at  
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>


-- 
Simonov Denis


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird.pas for the windows build

2016-03-28 Thread Alex Peshkoff
On 03/25/2016 03:51 PM, Alex Peshkoff wrote:
> On 03/25/2016 12:48 PM, preeves wrote:
>> On Thu, 24 Mar 2016 12:35:25 +0300
>> Alex Peshkoff  wrote:
>>
>>> On 03/23/2016 06:39 PM, preeves wrote:
 Firebird.pas is generated in the posix builds but it is not
 generated in the windows builds. Posix builds generate it via this
 target:

 $(API_PAS_FILE): $(IDL_FILE) $(PASCAL_SOURCES) $(TMP_FUNCS)
$(CLOOP) $(IDL_FILE) pascal $@ Firebird --uses SysUtils \
--interfaceFile $(PAS_ROOT)/Pascal.interface.pas \
--implementationFile $(PAS_ROOT)/Pascal.implementation.pas
 \ --exceptionClass FbException \
--functionsFile $(TMP_FUNCS) \
--prefix I

 There seems to be more going on here than simple file
 concatenation.
>>> Much more.
>>>
 How are we meant to do this in the windows build?
>>> Paul, I see 2 alternatives.
>>> 1. (correct) Build cloop and execute same command.
>>> 2. (simple) We can add firebird.pas to git and keep in sync with
>>> firebird.idl (like now happens with IdlFbInterfaces.h).
>> I think it might be easier to do simple instead of correct.
> Simple is by definition easier ;)
> Unfortunately it does not mean better...
>
>> AFAICT a
>> git push will pick up a changed Firebird.pas each time it is rebuilt on
>> a posix host, so it won't be too difficult to keep it up-to-date.
> Well, if nobody will provide strong arguments against this I will commit
> the generated file on Monday.
>

Added to B3_0, still hope on correct approach in fb4.


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird.pas for the windows build

2016-03-25 Thread Alex Peshkoff
On 03/25/2016 12:48 PM, preeves wrote:
> On Thu, 24 Mar 2016 12:35:25 +0300
> Alex Peshkoff  wrote:
>
>> On 03/23/2016 06:39 PM, preeves wrote:
>>> Firebird.pas is generated in the posix builds but it is not
>>> generated in the windows builds. Posix builds generate it via this
>>> target:
>>>
>>> $(API_PAS_FILE): $(IDL_FILE) $(PASCAL_SOURCES) $(TMP_FUNCS)
>>>   $(CLOOP) $(IDL_FILE) pascal $@ Firebird --uses SysUtils \
>>>   --interfaceFile $(PAS_ROOT)/Pascal.interface.pas \
>>>   --implementationFile $(PAS_ROOT)/Pascal.implementation.pas
>>> \ --exceptionClass FbException \
>>>   --functionsFile $(TMP_FUNCS) \
>>>   --prefix I
>>>
>>> There seems to be more going on here than simple file
>>> concatenation.
>> Much more.
>>
>>> How are we meant to do this in the windows build?
>> Paul, I see 2 alternatives.
>> 1. (correct) Build cloop and execute same command.
>> 2. (simple) We can add firebird.pas to git and keep in sync with
>> firebird.idl (like now happens with IdlFbInterfaces.h).
> I think it might be easier to do simple instead of correct.

Simple is by definition easier ;)
Unfortunately it does not mean better...

> AFAICT a
> git push will pick up a changed Firebird.pas each time it is rebuilt on
> a posix host, so it won't be too difficult to keep it up-to-date.

Well, if nobody will provide strong arguments against this I will commit 
the generated file on Monday.


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird.pas for the windows build

2016-03-25 Thread Alex Peshkoff
On 03/24/2016 01:36 PM, Adriano dos Santos Fernandes wrote:
> On 24/03/2016 06:35, Alex Peshkoff wrote:
>> How are we meant to do this in the windows build?
>> Paul, I see 2 alternatives.
>> 1. (correct) Build cloop and execute same command.
>>
> Is the Windows guys doing manual editing of the generated file after API
> changes?

Being not absolutely sure what do they do I will answer - sooner of all not.
After RC2 two guys used to ask me - where is firebird.pas? They were 
both windows users. I had to suggest them to download linux binary 
package and take file from it. That file did not require any manual 
editing when put into linux package and looks like was OK for that users.



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird.pas for the windows build

2016-03-24 Thread Adriano dos Santos Fernandes
On 24/03/2016 06:35, Alex Peshkoff wrote:
> How are we meant to do this in the windows build?
> Paul, I see 2 alternatives.
> 1. (correct) Build cloop and execute same command.
>

Is the Windows guys doing manual editing of the generated file after API
changes?


Adriano


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird.pas for the windows build

2016-03-24 Thread Alex Peshkoff
On 03/23/2016 06:39 PM, preeves wrote:
> Firebird.pas is generated in the posix builds but it is not generated
> in the windows builds. Posix builds generate it via this target:
>
> $(API_PAS_FILE): $(IDL_FILE) $(PASCAL_SOURCES) $(TMP_FUNCS)
>  $(CLOOP) $(IDL_FILE) pascal $@ Firebird --uses SysUtils \
>  --interfaceFile $(PAS_ROOT)/Pascal.interface.pas \
>  --implementationFile $(PAS_ROOT)/Pascal.implementation.pas \
>  --exceptionClass FbException \
>  --functionsFile $(TMP_FUNCS) \
>  --prefix I
>
> There seems to be more going on here than simple file concatenation.

Much more.

>
> How are we meant to do this in the windows build?

Paul, I see 2 alternatives.
1. (correct) Build cloop and execute same command.
2. (simple) We can add firebird.pas to git and keep in sync with 
firebird.idl (like now happens with IdlFbInterfaces.h).




--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Firebird.pas for the windows build

2016-03-23 Thread preeves

Firebird.pas is generated in the posix builds but it is not generated
in the windows builds. Posix builds generate it via this target:

$(API_PAS_FILE): $(IDL_FILE) $(PASCAL_SOURCES) $(TMP_FUNCS)
$(CLOOP) $(IDL_FILE) pascal $@ Firebird --uses SysUtils \
--interfaceFile $(PAS_ROOT)/Pascal.interface.pas \
--implementationFile $(PAS_ROOT)/Pascal.implementation.pas \
--exceptionClass FbException \
--functionsFile $(TMP_FUNCS) \
--prefix I

There seems to be more going on here than simple file concatenation.

How are we meant to do this in the windows build?



Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel