Re: [Firebird-devel] Present state of cmake build system

2017-12-02 Thread Egor Pugin
Hi,

See this PR https://github.com/FirebirdSQL/firebird/pull/133
which fixes all present issues for Windows and Ubuntu (possibly other
linux systems too).
Macos build is needed in additional fixes in code.

On 16 November 2017 at 19:12, William L. Thomson Jr. <wlt...@o-sinc.com> wrote:
> Greetings,
>
> I noticed a bit ago Firebird has a cmake build system in addition to
> autotools. I am not sure as to the present state of that. I have been
> messing around with it a bit with 4.x. Also looking to use the Ninja
> cmake generator rather than make/autotools for faster builds.
>
> I would like to explore improving the cmake build system, so that is an
> option. Maybe replacing autotools, but that is not my intention. Though
> maintaining two build systems can be a burden.
>
> At the moment I am not able to build via cmake. Pretty sure both
> make/autotools and ninja fails. I need to confirm on autotools but for
> sure does on ninja. Not sure why but I think maybe related to the
> external projects shipped within Firebird that it builds.
>
> Anyone have any information on this or interest in improving cmake
> build system? Faster builds via ninja would be nice. Speeds up pretty
> considerably, I think worth the effort.
>
> --
> William L. Thomson Jr.
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>



-- 
Egor Pugin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Android x86/arm64/x86_64 scripts and ports

2016-10-27 Thread Egor Pugin
See this message posted almost 2y ago:
https://sourceforge.net/p/firebird/mailman/message/33272622/

You can still find android, ios instructions in corresponding sections
on that bitbucket link.
( https://bitbucket.org/egor_pugin/firebird_cmake/wiki/Home )

On 27 October 2016 at 12:08, marius adrian popa <map...@gmail.com> wrote:
> If you have Android build example with cmake please add a Readme
>
> On Tue, Oct 25, 2016 at 6:32 PM, Egor Pugin <egor.pu...@gmail.com> wrote:
>>
>> Why not cmake? It handles everything for you.
>>
>> On 25 October 2016 at 16:55, marius adrian popa <map...@gmail.com> wrote:
>> > I have added the makefile needed for Android x86/arm64/x86_64
>> >
>> > Please review and merge
>> >
>> > https://github.com/FirebirdSQL/firebird/pull/59
>> >
>> > I will add them to master also
>> >
>> >
>> > --
>> > The Command Line: Reinvented for Modern Developers
>> > Did the resurgence of CLI tooling catch you by surprise?
>> > Reconnect with the command line and become more productive.
>> > Learn the new .NET and ASP.NET CLI. Get your free copy!
>> > http://sdm.link/telerik
>> > Firebird-Devel mailing list, web interface at
>> > https://lists.sourceforge.net/lists/listinfo/firebird-devel
>> >
>>
>>
>>
>> --
>> Egor Pugin
>>
>>
>> --
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive.
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik
>> Firebird-Devel mailing list, web interface at
>> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
>
>
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>



-- 
Egor Pugin

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Coroutines

2016-10-26 Thread Egor Pugin
Why not callbacks?

On 26 October 2016 at 15:51, Roman Simakov <roman.sima...@red-soft.ru> wrote:
> 2016-10-26 15:24 GMT+03:00 Dimitry Sibiryakov <s...@ibphoenix.com>:
>>  It must be more than just nice to add gigabyte of boost sources or 30 
>> megabytes library
>> to Firebird
>
> I guess it's not about boost but about approach. I thought about the
> same approach in SciDB to provide nice way to implement new operators
> in one peace of well readable code but keep a pipeline processing of
> data.
>
> --
> Roman Simakov
>
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Android x86/arm64/x86_64 scripts and ports

2016-10-25 Thread Egor Pugin
Why not cmake? It handles everything for you.

On 25 October 2016 at 16:55, marius adrian popa <map...@gmail.com> wrote:
> I have added the makefile needed for Android x86/arm64/x86_64
>
> Please review and merge
>
> https://github.com/FirebirdSQL/firebird/pull/59
>
> I will add them to master also
>
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>



-- 
Egor Pugin

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] HEAD failed to build on Windows

2016-06-02 Thread Egor Pugin
VS2015 shows tons of warnings about inlined global deletes (and also
many others):
9>g:\dev\firebird\src\jrd\../common/classes/alloc.h(352): warning
C4595: 'operator delete': non-member operator new or delete functions
may not be declared inline (compiling source file
G:\dev\firebird\win32\src\jrd\grant.epp.boot.cpp)
9>g:\dev\firebird\src\jrd\../common/classes/alloc.h(356): warning
C4595: 'operator delete[]': non-member operator new or delete
functions may not be declared inline (compiling source file
G:\dev\firebird\win32\src\jrd\grant.epp.boot.cpp)

But compiles fine. Issues with new function were fixed when initial
VS2015 support was added.
== Build: 47 succeeded, 0 failed, 14 up-to-date, 2 skipped ==

Someone tried to fix those warnings (and maybe errors) for clang, but
forget about VS.
https://github.com/FirebirdSQL/firebird/blob/master/src/common/classes/alloc.h#L352

On 2 June 2016 at 17:00, Dimitry Sibiryakov <s...@ibphoenix.com> wrote:
>Hello, All.
>
>Am I alone who get following error trying to build current HEAD?
>
>> -- Build started: Project: build_msg, Configuration: Debug x64 --
>> Build started 02.06.2016 15:54:13.
>> InitializeBuildStatus:
>>   Creating 
>> "..\..\..\temp\x64\Debug\build_msg\build_msg.tlog\unsuccessfulbuild" because 
>> "AlwaysCreate" was specified.
>> ClCompile:
>>   build_file.cpp
>> ..\..\..\gen\msgs\build_file.cpp(798): warning C4267: '=' : conversion from 
>> 'size_t' to 'USHORT', possible loss of data
>> ..\..\..\gen\msgs\build_file.cpp(806): warning C4267: '=' : conversion from 
>> 'size_t' to 'USHORT', possible loss of data
>> common.lib(alloc.obj) : error LNK2005: "void * __cdecl operator new(unsigned 
>> __int64)" (??2@YAPEAX_K@Z) already defined in build_fil e.obj
>> build_file.obj : error LNK2019: unresolved external symbol "public: void * 
>> __cdecl Firebird::MemoryPool::allocate(unsigned __int64)"
>>  (?allocate@MemoryPool@Firebird@@QEAAPEAX_K@Z) referenced in function 
>> "public: static void * __cdecl Firebird::MemoryPool::globalAll oc(unsigned 
>> __int64)" (?globalAlloc@MemoryPool@Firebird@@SAPEAX_K@Z)
>> ..\..\..\temp\x64\Debug\firebird\build_msg.exe : fatal error LNK1120: 1 
>> unresolved externals
>>
>> Build FAILED.
>
> --
>WBR, SD.
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Move semantic

2016-05-31 Thread Egor Pugin
> AIX or HPUX with native compilers ...

Do these platforms have gcc/clang?
If yes why some native old compilers should be taken into account?
It's obvious that those compilers almost always will be behind gcc/clang/vc.

On 31 May 2016 at 22:53, Adriano dos Santos Fernandes
<adrian...@gmail.com> wrote:
> On 31/05/2016 11:00, Alex Peshkoff wrote:
>> On 05/31/2016 04:53 PM, Dimitry Sibiryakov wrote:
>>> 31.05.2016 15:27, Alex Peshkoff wrote:
>>>> But what about AIX or HPUX with native compilers - probably you need to
>>>> google carefully re compilers compatibility and tell us how does it look
>>>> like to use this feature on them. I understand it's close to unreal to
>>>> test all platforms but docs should be available in the net.
>>> According to http://en.cppreference.com/w/cpp/compiler_support both Sun 
>>> Studio and HP
>>> aCC support R-value reference.
>>>
>> I.e. it's supported by everything except Digital Mars. I think we can
>> live w/o it.
>>
>>
> The same for lambda expressions... Could we also use (not abuse) them?
>
>
> Adriano
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Non-copyable objects

2016-05-15 Thread Egor Pugin
My vote is for explicit '= delete' solution too. Without any base
classes like NonCopyable.
Maybe sometimes you want allow copy init (clone members) and deny copy
assignment (deny following clones).

On 15 May 2016 at 13:17, Dimitry Sibiryakov <s...@ibphoenix.com> wrote:
> 14.05.2016 23:59, Adriano dos Santos Fernandes wrote:
>> Instead of write private copy constructor and operator=, what about
>> start using a mixing at least for new code?
>>
>> It makes easier and much more clear.
>
>Even easier and clearer explicitly deleted constructor and operator:
>
>Car(const Car&) = delete;
>Car& operator=(const Car&) = delete;
>
>And yes, you can do it at any point in hierarchy.
>
> --
>WBR, SD.
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Non-copyable objects

2016-05-14 Thread Egor Pugin
If you set C++11 policy for FB v4, you can use deleted constructors.
It's method 3 from your link.
(There were some discussions about C++11 s in the ML.)

On 15 May 2016 at 00:59, Adriano dos Santos Fernandes
<adrian...@gmail.com> wrote:
> Hi!
>
> Instead of write private copy constructor and operator=, what about
> start using a mixing at least for new code?
>
> It makes easier and much more clear.
>
> Example taken from
> http://ariya.ofilabs.com/2015/01/c-class-and-preventing-object-copy.html
>
> class NonCopyable
> {
>   protected:
> NonCopyable() {}
> ~NonCopyable() {}
>
>   private:
> NonCopyable(const NonCopyable &);
> NonCopyable& operator=(const NonCopyable &);
> };
>
> class Car : private NonCopyable {
> public:
>   Car(): owner(0) {}
>   void setOwner(Person *o) { owner = o; }
>   Person *getOwner() const { return owner; }
> private:
>   Person *owner;
> };
>
>
> Adriano
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] byacc bitness

2016-03-09 Thread Egor Pugin
Hi,

You can run 'parse' step from cmake-generated solution (for every VS
you'd like).
Also you can build whole firebird with one click: build solution.

On 9 March 2016 at 17:42, Dimitry Sibiryakov <s...@ibphoenix.com> wrote:
> 09.03.2016 15:33, Vlad Khorsun wrote:
>> Compare it with v2.5 build system.
>
>2.5 build is about two times faster.
>
>> Also, tell to yourself how much faster it could be
>> if you apply patch you are talking about.
>
>According to VS build timing, it should save me about 10 minutes on every 
> run which
> means ~20% speed up.
>
> --
>WBR, SD.
>
> --
> 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=278785111=/4140
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
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=278785111=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] GitHub

2016-03-02 Thread Egor Pugin
One more reason is that you do not have 'core' word in svn address.
You have 'firebird/trunk/...' and not 'core/trunk/...'.

On 2 March 2016 at 21:27, Dmitry Yemanov <firebi...@yandex.ru> wrote:
> 02.03.2016 16:16, Egor Pugin wrote:
>
>> What about just 'firebird'? 'core' is misleading.
>> It does not matter that the same word repeats in address. See:
>> https://github.com/git/git
>> https://github.com/FFmpeg/FFmpeg
>> https://github.com/openssl/openssl
>> and many others...
>
> Personally, I don't have any preference. "core" was chosen to
> distinguish from other repos: jaybird, python, docs, QA, etc.
>
>
> Dmitry
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] GitHub

2016-03-02 Thread Egor Pugin
>  It matches component name in tracker.

If tracker will be reconfigured for github, maybe 'core' can be renamed too?

On 2 March 2016 at 18:47, Arno Brinkman <fbsupp...@abvisie.nl> wrote:
> I understand i need to create a GitHub account then.
> When will the transistion start?
>
>
> Kind Regards,
> Arno Brinkman
>
>
>
> -Oorspronkelijk bericht-
> From: Dmitry Yemanov
> Sent: Wednesday, March 2, 2016 12:18 PM
> To: For discussion among Firebird Developers
> Subject: [Firebird-devel] GitHub
>
> All,
>
> Firebird Project will be moving its repositories to GitHub soon.
>
> I'm asking present contributors to create accounts there. If anyone
> (including past contributors) wants your past commits to be
> automatically linked to your GitHub account and be shown in the
> statistics, please report your account name in this thread, or make sure
> that your *.users.sourceforge.net email is added as a secondary one at
> GitHub.
>
>
> Dmitry
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] GitHub

2016-03-02 Thread Egor Pugin
What about just 'firebird'? 'core' is misleading.
It does not matter that the same word repeats in address. See:
https://github.com/git/git
https://github.com/FFmpeg/FFmpeg
https://github.com/openssl/openssl
and many others...

On 2 March 2016 at 15:57, Dmitry Yemanov <firebi...@yandex.ru> wrote:
> 02.03.2016 15:53, Dimitry Sibiryakov wrote:
>
>> Am I alone who has no idea what the name is?..
>
> https://github.com/FirebirdSQL/core
>
>
> Dmitry
>
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Compiler for official Firebird 4 release on Windows

2016-03-01 Thread Egor Pugin
> Personally, I'm sticking with Visual Studio 2010 until I find a compelling 
> reason to pay Microsoft big bucks to upgrade.

VS2015 Community (and probably VS2013 Comm.) is free for open source
development. And since we're talking about firebird - no fees required
to use it.

On 1 March 2016 at 18:21, Dimitry Sibiryakov <s...@ibphoenix.com> wrote:
> 01.03.2016 16:14, Jim Starkey wrote:
>>   Dropping support for platforms so you can use new C++
>> features that really don't add anything to the language.
>
>More readable and error-prone code worth that, IMHO.
>
> --
>WBR, SD.
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Compiler for official Firebird 4 release on Windows

2016-03-01 Thread Egor Pugin
I'm not saying opposite. Use IDE, but do project configuration using
text files (in any editor or IDE) and not using IDE features like
drag-n-gropping files from disk to project or solution dirs.

On 1 March 2016 at 17:28, Dimitry Sibiryakov <s...@ibphoenix.com> wrote:
> 01.03.2016 15:21, Egor Pugin wrote:
>> You (fb devs) should consider higher level build system (CMake) that
>> can generate all stuff for you.
>
>Build system cannot substitute IDE.
>
> --
>WBR, SD.
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Compiler for official Firebird 4 release on Windows

2016-03-01 Thread Egor Pugin
You (fb devs) should consider higher level build system (CMake) that
can generate all stuff for you.
It can generate projects for any VS version. See
https://cmake.org/cmake/help/v3.5/manual/cmake-generators.7.html#visual-studio-generators
Maintaining different build systems (makefiles + VS projects for
several versions) is not worth it.
And other big projects confirm that cmake is suitable for use. (LLVM
completely removed their autotools buils system and now it's cmake
only.)

> For example, if I add a new module to sources, I'll have to include it into 
> project for
> official compiler. Changing of non-official projects/makefiles are up to 
> their maintainers.

With cmake developer adds source file to cmake conf file and get it
building on any toolchain he uses.
Or even with globbing expressions (regex) files are added
automatically when you put them in correct folder.


On 1 March 2016 at 16:20, Dmitry Yemanov <firebi...@yandex.ru> wrote:
> 01.03.2016 16:08, Dimitry Sibiryakov wrote:
>
>> So, is usage of VS 2013 as a main build for Windows decided?
>> If so, I'd suggest to delete VS 2010 and lesser projects from build dir.
>
> They may be maintained by someone else. We don't require our sources to
> be built using VS 2013 exclusively.
>
> That said, I'd agree with removing VS 7.1 (contributed by RedSoft but
> outdated for a while) and maybe VS 8/9 projects (if nobody here
> objects). I'd keep the VS 2010 support though.
>
>
> Dmitry
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] [Firebird-checkins] SF.net SVN: firebird:[62991] firebird/trunk

2016-02-20 Thread Egor Pugin
And how do you describe your changes in relation to cmake?

воскресенье, 21 февраля 2016 г. пользователь Dimitry Sibiryakov написал:

> 20.02.2016 22:58, Egor Pugin wrote:
> > In other words you replaced autogenerated file with hand-written one.
>
>No, I didn't.
>
> --
>WBR, SD.
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>


-- 
Egor Pugin
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] [Firebird-checkins] SF.net SVN: firebird:[62991] firebird/trunk

2016-02-20 Thread Egor Pugin
In other words you replaced autogenerated file with hand-written one. What
is not so good.

воскресенье, 21 февраля 2016 г. пользователь Dimitry Sibiryakov написал:

> 20.02.2016 22:42, Egor Pugin wrote:
> > So, cmake+msvc is broken, isn't it?
>
>I guess it still work fine.
>
> --
>WBR, SD.
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>


-- 
Egor Pugin
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] [Firebird-checkins] SF.net SVN: firebird:[62991] firebird/trunk

2016-02-20 Thread Egor Pugin
So, cmake+msvc is broken, isn't it?

воскресенье, 21 февраля 2016 г. пользователь Dimitry Sibiryakov написал:

> 20.02.2016 21:52, Egor Pugin wrote:
> > The original commit also breaks cmake build  as it generates
> autoconfig.h and not
> > autoconfig_msvc.h.
>
>If you didn't notice that, build still use autoconfig.h with any
> compiler except MS VC.
>
> --
>WBR, SD.
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>


-- 
Egor Pugin
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] [Firebird-checkins] SF.net SVN: firebird:[62991] firebird/trunk

2016-02-20 Thread Egor Pugin
The original commit also breaks cmake build  as it generates autoconfig.h
and not autoconfig_msvc.h.

суббота, 20 февраля 2016 г. пользователь Dimitry Sibiryakov написал:

> 20.02.2016 17:57, Adriano dos Santos Fernandes wrote:
> > Do you want me to say "put a space, remove a space, trim trailing
> spaces"?
>
>No, I don't. For me that's perfectly ok, but it is Vlad who insisted on
> commit comments
> explaining what issues they address.
>BTW, following commit was not about spaces:
>
> >  2016-02-15 02:53  asfernandes
> >M src/msgs/facilities2.sql
> > Correction.
>
> --
>WBR, SD.
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>


-- 
Egor Pugin
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Travis CI Firebird

2015-06-16 Thread Egor Pugin
Hi,

Adriano and I added support for CI on the https://travis-ci.org/. It's
free for open source projects.
The link to the testing page is on a github mirror of firebird (click
on build... icon at the top of readme)
https://github.com/asfernandes/firebird
or direct links
https://travis-ci.org/asfernandes/firebird
https://travis-ci.org/asfernandes/firebird/builds

I didn't announce this ci because there is some instability during ci
process, but in the neighbor thread Marius asked about it.

At the moment there is only linux testing (Ubuntu 12.04). OS X can be
added there. And there is no windows builds on travis, but Marius
suggested 'appveyor' so I'll try it.

Here are some notes for dev- and QA-teams:
1. Please, check CI scripts, build and test environment.
https://github.com/asfernandes/firebird/blob/master/.travis.yml
Several tests produce errors, maybe because of misconfigured
environment. For example, there is no 'make install' step.
2. One test is very long, so I disabled it (bugs.core_0870).
3. We need somehow to compare test results with QA team results in
order to have similar results. How many tests are failing? etc...
4. Do you need such tool (ci) at all? Are you interested?
5. Do you need email notifications on failed builds? You can write
privately to me, so I'll add your address.
6. CMake build on travis' ubuntu fails, so at the moment the default
build is user. This will be fixed later. Other OSes will be tested
first with CMake, if possible.

-- 
Egor Pugin

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Regular Expression Library

2015-06-11 Thread Egor Pugin
By the way C++11 has native regex support.

On 10 June 2015 at 21:03, Adriano dos Santos Fernandes
adrian...@gmail.com wrote:
 Hi!

 When I created SIMILAR TO predicate, I research for libraries to do the
 real work and found no good alternative.

 PgSQL were using (AFAIR) Henry Spencer library, but its (PgSQL) SIMILAR
 TO were definitively non SQL standard.

 We needed a library to work with 1, 2 or 4 byte-length characters,
 actually their canonical representations of collations.

 So as no suitable library was found, I wrote myself one based on a
 CodeProject library.

 This library was simple and recursive, hence it had problems with BLOBs.
 Then I managed to recreate it with non-recursive code.

 This library is trick. First of all, I'm not experienced in regex
 matching. Bugs on it are difficult to fix, and there are cases which
 it's really slow (I didn't compared with others libraries, which may
 also be slow with bomb expressions).

 I'd want to replace it with something capable of working as we need,
 when customized (not editing their code).

 At a first look, boost.regex is the library who can do it. It's
 templatized and works with iterators and traits for customization. It
 has integration with ICU and MFC strings, so this is useful to
 understand how to customize it.

 Understand and customize it will require time, however.

 And I do not want to lost time if it's going to be objected because:
 - It's external code
 - It's boost
 - It's a library which uses C++ as C++, i.e., uses the std library
 - Not only it's internal (like ICU) uses C++, but its interface too

 So what do you think on include such type of library in Firebird?


 Adriano


 --
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] cmake build on linux

2015-04-06 Thread Egor Pugin
I don't use ninja.
If you use it, you probably should better know how to do it. Or you
can search in the internet.

ninja copy_files

On 6 April 2015 at 21:37, Treeve Jelbert tre...@scarlet.be wrote:
 On Mon, 6 Apr 2015 17:51:01 +0300, Egor Pugin wrote:
 make copy_files


 thanks, this works when using 'cmake -G make' but not when using 'cmake
 -G Ninja'

 Any suggestions?



 On 6 April 2015 at 16:54, Treeve Jelbert tre...@scarlet.be wrote:
 as a fan of cmake, I was keen to try the cmake build with firebird.

 It all runs smoothly, but some of the targets are not processed.

 It appears that all targets marked as POST_BUILD are not executed.

 In particular, makeHeader  and ibase.h are not created. Nor is
 security3.fdb.

 Is this because there are no references to these targets and they
 are
 optimised out?

 I use cmake=3.2.1

 Regards, Treeve


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_

 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 Firebird-Devel mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] cmake build on linux

2015-04-06 Thread Egor Pugin
make copy_files

On 6 April 2015 at 16:54, Treeve Jelbert tre...@scarlet.be wrote:
 as a fan of cmake, I was keen to try the cmake build with firebird.

 It all runs smoothly, but some of the targets are not processed.

 It appears that all targets marked as POST_BUILD are not executed.

 In particular, makeHeader  and ibase.h are not created. Nor is
 security3.fdb.

 Is this because there are no references to these targets and they are
 optimised out?

 I use cmake=3.2.1

 Regards, Treeve

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Egor Pugin
I built 64-bit version of Firebird (OS X 10.10, AppleClang 6.0.0, Xcode 6.2).
The symbol O_CLOEXEC is present, but as you see it has negative effect
on socket() call.

By the way the build is broken on the latest trunk . I used older
revision to test with Xcode (61006).
Trunk build log - http://pastebin.com/6eLBXVnK

On 30 March 2015 at 11:26, Michal Kubecek m...@mk-sys.cz wrote:
 On Mon, Mar 30, 2015 at 10:33:16AM +0300, Alex Peshkoff wrote:
 On 03/29/15 21:56, Egor Pugin wrote:
  I ran fbserver from Xcode and the standard socket() function cannot
  create socket.
  remote/inet.cpp:3060
  fd = ::socket(domain, type | O_CLOEXEC, protocol);
  (The execution does not go into the next if statement. It seems errno
  has other value than specified in the condition.)
 
  Without the 'O_CLOEXEC' flag the server starts well.
  fd = ::socket(domain, type, protocol);

 O_CLOEXEC was added in FB3 in order to better support fork() in user code.

 According to my socket(2), it should be SOCK_CLOEXEC rather than
 O_CLOEXEC (but these constants seem to be equal on most architectures).

 Michal


 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Egor Pugin
Don't try to guess the right flag.
FD_CLOEXEC is defined as 1 which is SOCK_STREAM also.

Better solution is to write ifdef for OS X near the flag or to remove
the errno check at the next if statement, so the execution always
tries to call second socket() without any tricky flags in case when
first socket() call is failed.

On 30 March 2015 at 11:43, Paul Beach pbe...@ibphoenix.com wrote:
 I built 64-bit version of Firebird (OS X 10.10, AppleClang 6.0.0, Xcode 
 6.2).
 The symbol O_CLOEXEC is present, but as you see it has negative effect
 on socket() call.

 Ahh - good - that gets rid of one possible reason for failure.
 Perhaps FD_CLOEXEC instead?

 Paul

 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-30 Thread Egor Pugin
There's no SOCK_CLOEXEC symbol on my system or it is not included.

On 30 March 2015 at 12:38, Alex Peshkoff peshk...@mail.ru wrote:
 On 03/30/15 12:23, Michal Kubecek wrote:
 On Mon, Mar 30, 2015 at 11:37:42AM +0300, Egor Pugin wrote:
 On 30 March 2015 at 11:26, Michal Kubecek m...@mk-sys.cz wrote:
 According to my socket(2), it should be SOCK_CLOEXEC rather than
 O_CLOEXEC (but these constants seem to be equal on most architectures).

 I built 64-bit version of Firebird (OS X 10.10, AppleClang 6.0.0, Xcode 
 6.2).
 The symbol O_CLOEXEC is present, but as you see it has negative effect
 on socket() call.
 As I said, it should be SOCK_CLOEXEC, not O_CLOEXEC. But even then it
 might be possible that the symbol is defined but the flag is not really
 supported by kernel.


 I've committed correct flag name.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-29 Thread Egor Pugin
Hi,

Actually I didn't try to run Firebird on OS X before, but...
I ran fbserver from Xcode and the standard socket() function cannot
create socket.
remote/inet.cpp:3060
fd = ::socket(domain, type | O_CLOEXEC, protocol);
(The execution does not go into the next if statement. It seems errno
has other value than specified in the condition.)

Without the 'O_CLOEXEC' flag the server starts well.
fd = ::socket(domain, type, protocol);

You can ask core developers about this issue.

On 29 March 2015 at 19:32, Nils mrnightlifelo...@yahoo.com wrote:
 However today I tried to actually use it on my Mac. And I guess the schemes
 in Xcode are not ready to simply start it from the ide. So in the build
 directory I tried to start it using fbguard:

 sudo bin/fbguard -daemon

 Which failed with the following entries in the Firebird.log file:

 macbook.local   Sun Mar 29 18:27:05 2015
 socket: error creating socket (family 2, socktype 1, protocol 6


 macbook.local   Sun Mar 29 18:27:05 2015
 startup:INET_connect:
 Unable to complete network request to host 127.0.0.1.
 Error while listening for an incoming connection.


 I set the address to 127.0.0.1 in the Firebird.conf:

 RemoteBindAddress = 127.0.0.1

 Also for testing I turned off the Firewall completely, but still was unable
 to start it. I assume that the client/server communicate via tcp/ip but what
 about UNIX sockets? Where can I set which method should be used? I also
 seems that both fail.





 On Monday, March 9, 2015 9:41 PM, Nils B mrnightlifelo...@yahoo.com wrote:


 Quickly tested it, built w/o problems in Xcode! Thanks!


 On Sunday, March 8, 2015 2:24 PM, Egor Pugin egor.pu...@gmail.com wrote:


 Hi,

 Should be fixed now.
 Update trunk to the latest revision and try to build it.

 Please note that cmake build is still an experimental feature.

 On 8 March 2015 at 14:59, Nils B mrnightlifelo...@yahoo.com wrote:
 Hi there

 I tried building the trunk version of Firebird on my Mac using Cmake. I
 installed the dev tools, libicu and CMake and generated an Xcode Project.
 When I tried to compile it on Xcode, I ended up with the following error:

 Ld /users/n/Develop/Firebird/build/src/Debug/bin/gpre_boot normal x86_64
cd /users/n/Develop/Firebird/trunk
export MACOSX_DEPLOYMENT_TARGET=10.10


 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -arch x86_64 -isysroot

 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
 -L/users/n/Develop/Firebird/build/src/Debug/bin -L/opt/local/lib/Debug
 -L/opt/local/lib -F/users/n/Develop/Firebird/build/src/Debug/bin -filelist

 /users/n/Develop/Firebird/build/src/firebird.build/Debug/gpre_boot.build/Objects-normal/x86_64/gpre_boot.LinkFileList
 -Xlinker -rpath -Xlinker /opt/local/lib -mmacosx-version-min=10.10
 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
 /users/n/Develop/Firebird/build/src/gpre/Debug/libgpre_common.a
 /users/n/Develop/Firebird/build/src/Debug/libcommon.a -Xlinker
 -dependency_info -Xlinker

 /users/n/Develop/Firebird/build/src/firebird.build/Debug/gpre_boot.build/Objects-normal/x86_64/gpre_boot_dependency_info.dat
 -o /users/n/Develop/Firebird/build/src/Debug/bin/gpre_boot

 ld: warning: directory not found for option '-L/opt/local/lib/Debug'
 ld: warning: directory not found for option '-L/opt/local/lib'
 Undefined symbols for architecture x86_64:
  _iconv, referenced from:
  (anonymous namespace)::IConv::convert(Firebird::AbstractString,
 void*) in libcommon.a(isc_file.o)
  _iconv_close, referenced from:
  (anonymous namespace)::IConv::closeIconv(void*) in
 libcommon.a(isc_file.o)
  _iconv_open, referenced from:
  (anonymous namespace)::IConv::openIconv(char const*, char const*) in
 libcommon.a(isc_file.o)
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)

 I am not familiar with the iconv lib, but I guess there are people
 building
 Firebird successfully on their Mac. So can anybody enlighten me what the
 problem is?


 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs

 to

 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel




 --
 Egor Pugin








-- 
Egor Pugin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software

Re: [Firebird-devel] The Power of C++11 in CUDA 7

2015-03-20 Thread Egor Pugin
,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



 --
 Jim Starkey

 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel




-- 
Egor Pugin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] CMake iOS build

2015-03-19 Thread Egor Pugin
Hi!

With new CMake 3.2.1 it is possible to successfully build Firebird for
iOS platform using CMake.
Updated instructions for iOS build available at
https://bitbucket.org/egor_pugin/firebird_cmake/wiki/Home

The last issue you encounter during building is duplicate symbol error
from clang. It is related to class DatabaseDirectoryList in anonymous
namespace. This class exists in files: src/jrd/jrd.cpp and
src/common/db_alias.cpp.
For my tests I added last underscore symbol to one of those classes
and the build completes.

-- 
Egor Pugin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build Firebird on Mac OSX Yosemite with CMake

2015-03-08 Thread Egor Pugin
Hi,

Should be fixed now.
Update trunk to the latest revision and try to build it.

Please note that cmake build is still an experimental feature.

On 8 March 2015 at 14:59, Nils B mrnightlifelo...@yahoo.com wrote:
 Hi there

 I tried building the trunk version of Firebird on my Mac using Cmake. I
 installed the dev tools, libicu and CMake and generated an Xcode Project.
 When I tried to compile it on Xcode, I ended up with the following error:

 Ld /users/n/Develop/Firebird/build/src/Debug/bin/gpre_boot normal x86_64
 cd /users/n/Develop/Firebird/trunk
 export MACOSX_DEPLOYMENT_TARGET=10.10

 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
 -L/users/n/Develop/Firebird/build/src/Debug/bin -L/opt/local/lib/Debug
 -L/opt/local/lib -F/users/n/Develop/Firebird/build/src/Debug/bin -filelist
 /users/n/Develop/Firebird/build/src/firebird.build/Debug/gpre_boot.build/Objects-normal/x86_64/gpre_boot.LinkFileList
 -Xlinker -rpath -Xlinker /opt/local/lib -mmacosx-version-min=10.10
 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
 /users/n/Develop/Firebird/build/src/gpre/Debug/libgpre_common.a
 /users/n/Develop/Firebird/build/src/Debug/libcommon.a -Xlinker
 -dependency_info -Xlinker
 /users/n/Develop/Firebird/build/src/firebird.build/Debug/gpre_boot.build/Objects-normal/x86_64/gpre_boot_dependency_info.dat
 -o /users/n/Develop/Firebird/build/src/Debug/bin/gpre_boot

 ld: warning: directory not found for option '-L/opt/local/lib/Debug'
 ld: warning: directory not found for option '-L/opt/local/lib'
 Undefined symbols for architecture x86_64:
   _iconv, referenced from:
   (anonymous namespace)::IConv::convert(Firebird::AbstractString,
 void*) in libcommon.a(isc_file.o)
   _iconv_close, referenced from:
   (anonymous namespace)::IConv::closeIconv(void*) in
 libcommon.a(isc_file.o)
   _iconv_open, referenced from:
   (anonymous namespace)::IConv::openIconv(char const*, char const*) in
 libcommon.a(isc_file.o)
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)

 I am not familiar with the iconv lib, but I guess there are people building
 Firebird successfully on their Mac. So can anybody enlighten me what the
 problem is?

 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel




-- 
Egor Pugin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Windows build

2015-02-11 Thread Egor Pugin
Implicit int - HANDLE ?
Still broken.

On 11 February 2015 at 18:30, Alex Peshkoff peshk...@mail.ru wrote:
 On 02/11/15 18:20, Dimitry Sibiryakov wrote:
 11.02.2015 16:15, Alex Peshkoff wrote:
 On 02/11/15 18:04, Dimitry Sibiryakov wrote:
   Is anyone going to commit fix for 
 common\os\win32\os_utils.cpp:getUniqueFileId()?..
 What's wrong with it?
 file-fil_desc is undefined. Copy-paste mistake most likely.

 Please try now.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] build_msg infinite loop

2015-02-02 Thread Egor Pugin
Any other comments?

On 31 January 2015 at 22:30, Egor Pugin egor.pu...@gmail.com wrote:
 Hi!

 build_msg -D msg.fdb -P ./ -F firebird.msg -L all
 when msg.fdb is absent will result in infinite loop.

 I have the simple fix - try to open specified file, but maybe someone
 has better solution.
 http://pastebin.com/YUtu8Znz

 Original problem is that after preprocessing structures/variables like
struct isc_33_struct {
   short isc_34;/* isc_utility */
} isc_33;
 are not nulled on definition, so thay have trash contents.

 From build_msg.cpp

 bool got_one = false;
 /*FOR FIRST 1 L IN LOCALES WITH L.LOCALE = locale*/
 {
 if (!isc_29)
isc_compile_request2 (NULL, (FB_API_HANDLE*) DB,
 (FB_API_HANDLE*) isc_29, (short) sizeof(isc_30), (char*) isc_30);
 isc_vtov ((const char*) locale, (char*) isc_31.isc_32, 21);
 isc_start_and_send (NULL, (FB_API_HANDLE*) isc_29,
 (FB_API_HANDLE*) gds_trans, (short) 0, (short) 21, isc_31, (short)
 0);
 while (1)
{
isc_receive (NULL, (FB_API_HANDLE*) isc_29,
 (short) 1, (short) 2, isc_33, (short) 0);
if (!isc_33.isc_34) break;
 got_one = true;
 /*END_FOR;*/
}

 isc_receive catches exception during interface call, so no value
 assigned to isc_33.isc_34 and it is not nulled neither in isc_receive
 nor before.
 Then trash check occurs: if (!isc_33.isc_34) break; so no break at
 all - infinite loop.

 ---

 My solution is simple and only for build_msg, but this problem
 potentially still exists in other preprocessed files.


 --
 Egor Pugin



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] build_msg infinite loop

2015-02-02 Thread Egor Pugin
Yes, build_file.epp/build_file.cpp of course. Sorry.

On 2 February 2015 at 16:45, Dimitry Sibiryakov s...@ibphoenix.com wrote:
 02.02.2015 13:44, Egor Pugin wrote:
 Any other comments?

There is no build_msg.cpp file. If you have on mind build_file.cpp, then 
 it just has a
 check for connect errors missed. Perhaps, it should be preprocessed with 
 different gpre
 settings.

 --
WBR, SD.

 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] build_msg infinite loop

2015-01-31 Thread Egor Pugin
Hi!

build_msg -D msg.fdb -P ./ -F firebird.msg -L all
when msg.fdb is absent will result in infinite loop.

I have the simple fix - try to open specified file, but maybe someone
has better solution.
http://pastebin.com/YUtu8Znz

Original problem is that after preprocessing structures/variables like
   struct isc_33_struct {
  short isc_34;/* isc_utility */
   } isc_33;
are not nulled on definition, so thay have trash contents.

From build_msg.cpp

bool got_one = false;
/*FOR FIRST 1 L IN LOCALES WITH L.LOCALE = locale*/
{
if (!isc_29)
   isc_compile_request2 (NULL, (FB_API_HANDLE*) DB,
(FB_API_HANDLE*) isc_29, (short) sizeof(isc_30), (char*) isc_30);
isc_vtov ((const char*) locale, (char*) isc_31.isc_32, 21);
isc_start_and_send (NULL, (FB_API_HANDLE*) isc_29,
(FB_API_HANDLE*) gds_trans, (short) 0, (short) 21, isc_31, (short)
0);
while (1)
   {
   isc_receive (NULL, (FB_API_HANDLE*) isc_29,
(short) 1, (short) 2, isc_33, (short) 0);
   if (!isc_33.isc_34) break;
got_one = true;
/*END_FOR;*/
   }

isc_receive catches exception during interface call, so no value
assigned to isc_33.isc_34 and it is not nulled neither in isc_receive
nor before.
Then trash check occurs: if (!isc_33.isc_34) break; so no break at
all - infinite loop.

---

My solution is simple and only for build_msg, but this problem
potentially still exists in other preprocessed files.


-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Windows build

2015-01-29 Thread Egor Pugin
What files do you mean?
---
With cmake try to run building of Custom build steps/copy_files
project in VS solution manually and see in 'build_dir/firebird/conf/
if this is what you need.

On 29 January 2015 at 18:06, Adriano dos Santos Fernandes
adrian...@gmail.com wrote:
 Hi!

 That always worked as this, but now with much more DLLs and conf files,
 I should ask...

 Do you still need to do manual steps to have a working debug/build
 environment in Windows?

 I mean, make_boot/make_all copy files to output_arch but IDE run files
 from temp\arch\conf\firebird...

 Do any of you have non-committed script that do the things or I'm
 missing something?


 Adriano

 PS: cmake build also don't copy required files


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Windows build

2015-01-29 Thread Egor Pugin
 So, is it normal that this step does not run automatically when you
 choose Build solution?

Yes, it is intended behavior.

If you need some files to be copied every time, write them here and
I'll do a fix.
We have several group of files now:
- databases (security3.fdb, help.fdb)
- configs, text files (including licenses, WhatsNew, ChangeLog)
- udf sql files
- examples (a lot of files, directories)
- headers
- docs
- libs (fbclient_ms.lib, ib_util_ms.lib)
- installers *.bat (legacy from default build system) - windows only

... or we can turn on an option to run 'copy_files' target every time
during the build. (It takes some time to copy all files.)

On 29 January 2015 at 19:14, Adriano dos Santos Fernandes
adrian...@gmail.com wrote:
 On 29/01/2015 13:56, Egor Pugin wrote:
 What files do you mean?
 ---
 With cmake try to run building of Custom build steps/copy_files
 project in VS solution manually and see in 'build_dir/firebird/conf/
 if this is what you need.


 Apparently it copies, but I don't run to test now.

 So, is it normal that this step does not run automatically when you
 choose Build solution?


 Adriano


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Examples broken in Windows

2015-01-28 Thread Egor Pugin
I've commited possible fix.
Please, 1) update the sources; 2) remove previous build dir ('build'
or 'win' or whatever you have); 3) re-run any cmake command you
listed.

On 28 January 2015 at 17:21, Adriano dos Santos Fernandes
adrian...@gmail.com wrote:
 On 27/01/2015 16:05, Egor Pugin wrote:
 Are the examples broken in all Windows builds?
 No, CMake build works well.



 cd firebird_sources
 mkdir build
 cd build
 cmake ..

 or

 cmake -H. -Bwin

 gives:

 CMake Error: CMake can not determine linker language for target:
 engine12_common


 Adriano


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Examples broken in Windows

2015-01-28 Thread Egor Pugin
Oops. Yes, it is intented that build is started using clean working tree.
By 'clean' I mean no 'default build system' build was run in this dir.
I'll add a such note to my doc page.

On 28 January 2015 at 18:24, Adriano dos Santos Fernandes
adrian...@gmail.com wrote:
 On 28/01/2015 12:55, Egor Pugin wrote:
 I've commited possible fix.
 Please, 1) update the sources; 2) remove previous build dir ('build'
 or 'win' or whatever you have); 3) re-run any cmake command you
 listed.



 I tried again and the same error happened:

 CMake Error at src/CMakeLists.txt:416 (add_library):
   Cannot find source file:

 C:/Adriano/fb/trunk.git/build/src/dsql/parse.cpp

   Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
   .hxx .in .txx

 Then I cleaned my tree from previous (non cmake) build and it passed.

 Thanks!


 Adriano


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Examples broken in Windows

2015-01-27 Thread Egor Pugin
 Are the examples broken in all Windows builds?

No, CMake build works well.

On 27 January 2015 at 18:40, Paul Reeves pree...@ibphoenix.com wrote:
 On Tuesday 27 January 2015 16:23:38 Adriano dos Santos Fernandes wrote:
 Hi!

 Are the examples broken in all Windows builds?


 Yes would be the short answer.

 I'm trying win32 msvc12 build and, for example, it don't locate
 fbclient.lib, so it's not a thing recently changed.


 fbclient.lib was derived from the name of the .lib generated by the borland
 compiler. Try fbclient_ms.lib.


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

 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Android build issues

2015-01-26 Thread Egor Pugin
You can try cmake crosscompiling for android.
Here you can find some instructions
https://bitbucket.org/egor_pugin/firebird_cmake/wiki/Home

On 26 January 2015 at 18:27, Alex Peshkoff peshk...@mail.ru wrote:
 On 01/26/15 18:22, marius adrian popa wrote:
 execvp: /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.6:
 Permission denied

 Firebird 3.0 beta Android build log on Ubuntu 14.04

 make[4]: Entering directory `/home/mariuz/work/firebird/trunk/gen'
 /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.6
 arm-linux-androideabi-4.8 arm-linux-androideabi-4.9
 arm-linux-androideabi-clang3.4
 arm-linux-androideabi-clang3.5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
 -I/home/mariuz/work/firebird/trunk/src/include/gen
 -I/home/mariuz/work/firebird/trunk/src/include  -ggdb
 -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DANDROID -DARM -pipe -MMD -fPIC
 -fmessage-length=0 -I/home/mariuz/work/firebird/trunk/extern/libtommath
 --sysroot=/opt/android-ndk-r10d/platforms/android-9/arch-arm -I/usr/include
 -O0 -fno-omit-frame-pointer -pthread   -c
 ../extern/libtommath/bncore.c -o ../extern/libtommath/bncore.o
 make[4]: execvp:
 /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.6: Permission
 denied


 I've already fixed it in private tree, will commit soon.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird and CMake and Darwin

2015-01-22 Thread Egor Pugin
I see. If architecture/i386/io.h is used, we need to add some #ifdefs here.

By the way did you try to build Firebird with cmake? Does it work?

On 22 January 2015 at 15:31, Paul Beach pbe...@ibphoenix.com wrote:
 Using:

 --- src/isql/InputDevices.cpp   (revision 60530)
 +++ src/isql/InputDevices.cpp   (working copy)
 @@ -23,12 +23,12 @@

  #include firebird.h
  #ifdef DARWIN
 -#if defined(i386) || defined(__x86_64__)
 -#include architecture/i386/io.h
 -#else
 +//#if defined(i386) || defined(__x86_64__)
 +//#include architecture/i386/io.h
 +//#else
  #include io.h
 +//#endif
  #endif
 -#endif

 Produces:

 g++  -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan 
 -I../extern/icu/source/common -I../extern/icu/source/i
 18n -ggdb -DDARWIN -pipe -MMD -fPIC -fno-common -Wall 
 -mmacosx-version-min=10.7 -DDEV_BUILD -D_THREAD_SAFE   -fvisibility-inlines-hi
 dden -fvisibility=hidden  -c ../src/isql/InputDevices.cpp -o 
 ../temp/std/isql/InputDevices.o
 ../src/isql/InputDevices.cpp:29:10: fatal error: 'io.h' file not found
 #include io.h
  ^
 1 error generated.
 make: *** [../temp/std/isql/InputDevices.o] Error 1

 -- io.h is found in architecture/i386/ on Darwin


 Index: src/yvalve/config/os/darwin/config_root.cpp
 ===
 --- src/yvalve/config/os/darwin/config_root.cpp (revision 60530)
 +++ src/yvalve/config/os/darwin/config_root.cpp (working copy)
 @@ -37,7 +37,7 @@
  #include ../common/os/path_utils.h
  #include ../common/file_params.h

 -#include CoreServices/CoreServices.h
 +//#include CoreServices/CoreServices.h
  #include CoreFoundation/CFBundle.h
  #include CoreFoundation/CFURL.h
  #include mach-o/dyld.h

 CoreServices.h is the master include file for multiple services found on 
 Darwin
 However it doesn't look like we depend on this include file any more. 
 config_root.cpp
 was rewritten for 2.5 (use Posix dl functions not DarwinNS), so 
 CoreServices.h looks like
 its now an artefact from previous versions.

 Regards
 Paul




 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Firebird and CMake

2015-01-21 Thread Egor Pugin
Hi!

Now it is possible to build Firebird with CMake.
CMake build system was commited to Firebird trunk.

Quick start guide for those who are not familiar with CMake can be
found here https://bitbucket.org/egor_pugin/firebird_cmake/wiki/Home
Also there is some other stuff there: examples, crosscompiling,
configure and build description.

Note that CMake build is an experimental feature at the moment, so you
should not use it for building production binaries.
You can use it only for development.

Feel free to ask any questions, report bugs, suggest improvements etc.
I will maintain the cmake build.

ps. If your OS X / iOS build fails, try to apply this patch
http://pastebin.com/8U89BASN
I didn't commit it, because maybe someone (?) needs this files included.
Developers who are familiar with DARWIN builds can help me with this
question and delete old includes.

-- 
Egor Pugin

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] CMake build system

2014-12-29 Thread Egor Pugin
Here are notes about my crosscompiling experience.

As we cannot run arm binaries on i?86/x86_64 I skip the boot stage.
Generated files were taken from the native build directory. So, there
are no boot binaries, only master versions. This is related to both
android/ios.

CMake can use predefined set of rules (toolchain) for crosscompiling.
When toolchains for Android is powerful
(https://code.google.com/p/android-cmake/ ,
https://github.com/taka-no-me/android-cmake), the iOS toolchains is
not so great (https://code.google.com/p/ios-cmake/). The problem with
iOS toolchains is that Apple changes things in iOS/Xcode rather
frequently and users do not use cmake for them very often.

Android:
CMake toolchain - https://github.com/taka-no-me/android-cmake
I built all main binaries, libraries, plugins, examples for Android
(of course including fbclient, Engine12), architecture - arm v7
32-bit.
I did two small changes to build the code: http://pastebin.com/nBXD2Rq6
It seems Android NDK API (I used ANDROID_NATIVE_API_LEVEL=android-21)
does not have qsort_r, 3rd argument for open.
The changes may be a little incorrect, but for my tests, it was ok.

iOS:
I used following config: OS X 10.10.1, Xcode 6.1, iOS target version -
8.1, target arch - arm v7 32-bit, AppleClang 6.0, CMake toolchain -
https://code.google.com/p/ios-cmake/
List of initial source code changes: http://pastebin.com/rYMjgXdU
The line in src/remote/protocol.h arch_arm = 7, uses the free value
in enum. As I said this is only for testing purposes.

For iPhone 6 simulator (i386) the error is:
duplicate symbol
__ZTIN8Firebird15InstanceControl12InstanceLinkINS_12InitInstanceIN12_GLOBAL__N_121DatabaseDirectoryListEEELNS0_12DtorPriorityE3EEE
in:

/Users/egor/dev/firebird_cmake/build_ios/src/Debug-iphonesimulator/libengine12_common.a(jrd.o)

/Users/egor/dev/firebird_cmake/build_ios/src/Debug-iphonesimulator/libcommon.a(db_alias.o)
duplicate symbol
__ZTSN8Firebird15InstanceControl12InstanceLinkINS_12InitInstanceIN12_GLOBAL__N_121DatabaseDirectoryListEEELNS0_12DtorPriorityE3EEE
in:

/Users/egor/dev/firebird_cmake/build_ios/src/Debug-iphonesimulator/libengine12_common.a(jrd.o)

/Users/egor/dev/firebird_cmake/build_ios/src/Debug-iphonesimulator/libcommon.a(db_alias.o)
ld: 2 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

For iOS 8.1 (arm v7) the error is:
The build currently stops on linking libfbclient.dylib:
Undefined symbols for architecture armv7:
  _libiconv, referenced from:
  (anonymous namespace)::IConv::convert(Firebird::AbstractString,
void*) in libcommon.a(isc_file.o)
  _libiconv_open, referenced from:
  (anonymous namespace)::IConv::openIconv(char const*, char
const*) in libcommon.a(isc_file.o)
  _libiconv_close, referenced from:
  (anonymous namespace)::IConv::closeIconv(void*) in libcommon.a(isc_file.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I did not investigate these errors really careful.
Also there were some issues with code signing. I turned it off during
test builds.

On 29 December 2014 at 13:14, Alex Peshkoff peshk...@mail.ru wrote:
 On 12/28/14 22:09, Egor Pugin wrote:

 p.s. Alex asked here about crosscompiling with CMake.
 I built Firebird on Windows using Android NDK for ARMv7 architecture.
 iOS build starts but does not complete because of lack of some support in
 Firebird sources (missing defines etc.).


 That's nice. Does client (yvalve) build successfully?


 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] CMake build system

2014-12-28 Thread Egor Pugin
So...
Should I prepare a patch? Will you commit it?
I didn't see any major objections to CMake in this thread.

p.s. Alex asked here about crosscompiling with CMake.
I built Firebird on Windows using Android NDK for ARMv7 architecture.
iOS build starts but does not complete because of lack of some support in
Firebird sources (missing defines etc.).


On 19 December 2014 at 21:46, Egor Pugin egor.pu...@gmail.com wrote:

 I updated the build system, so it is nearly twice faster than before.
 yvalve and Engine12 sources (not .epp) are compiled only once during the
 build.
 You can try on linux to see if there is still some annoying steps during
 rebuild.

 Also I added project groups to the project tree (boot, extern, examples).
 You can check it in Visual Studio (maybe in Xcode too).

 p.s. Windows build is broken at the moment.
 It will be nice if someone try to build it with CMake+VS.


 On 17 December 2014 at 13:44, Egor Pugin egor.pu...@gmail.com wrote:

 Yes, this is a problem.
 I know possible solution and will try to fix it.

 On 17 December 2014 at 13:16, Adriano dos Santos Fernandes 
 adrian...@gmail.com wrote:

 On 17/12/2014 08:03, Egor Pugin wrote:
  In Visual Studio:
  1. Select boot_* (boot step), epp_* (boot and master epp - cpp
  steps), databases (security.fdb, messages.fdb, help.fdb generation),
  messages (firebird.msg generation), other projects you need to turn
  off (examples, etc). Right click - unload projects. They still will be
  unloaded after VS restart.
  2. Just uncheck projects in Solution Properties - Configuration
  Properties.
 
 

 I want to known with make in Linux, sorry, missed to say...


 Adriano



 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 Firebird-Devel
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrkFirebird-Devel
 mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



 --
 Egor Pugin



 --
 Egor Pugin




-- 
Egor Pugin
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.netFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] CMake build system

2014-12-19 Thread Egor Pugin
I updated the build system, so it is nearly twice faster than before.
yvalve and Engine12 sources (not .epp) are compiled only once during the
build.
You can try on linux to see if there is still some annoying steps during
rebuild.

Also I added project groups to the project tree (boot, extern, examples).
You can check it in Visual Studio (maybe in Xcode too).

p.s. Windows build is broken at the moment.
It will be nice if someone try to build it with CMake+VS.


On 17 December 2014 at 13:44, Egor Pugin egor.pu...@gmail.com wrote:

 Yes, this is a problem.
 I know possible solution and will try to fix it.

 On 17 December 2014 at 13:16, Adriano dos Santos Fernandes 
 adrian...@gmail.com wrote:

 On 17/12/2014 08:03, Egor Pugin wrote:
  In Visual Studio:
  1. Select boot_* (boot step), epp_* (boot and master epp - cpp
  steps), databases (security.fdb, messages.fdb, help.fdb generation),
  messages (firebird.msg generation), other projects you need to turn
  off (examples, etc). Right click - unload projects. They still will be
  unloaded after VS restart.
  2. Just uncheck projects in Solution Properties - Configuration
  Properties.
 
 

 I want to known with make in Linux, sorry, missed to say...


 Adriano



 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 Firebird-Devel
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrkFirebird-Devel
 mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



 --
 Egor Pugin



-- 
Egor Pugin
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrkFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] CMake build system

2014-12-17 Thread Egor Pugin
In Visual Studio:
1. Select boot_* (boot step), epp_* (boot and master epp - cpp steps),
databases (security.fdb, messages.fdb, help.fdb generation), messages
(firebird.msg generation), other projects you need to turn off (examples,
etc). Right click - unload projects. They still will be unloaded after VS
restart.
2. Just uncheck projects in Solution Properties - Configuration Properties.


On 17 December 2014 at 03:46, Adriano dos Santos Fernandes 
adrian...@gmail.com wrote:

 On 16-12-2014 07:12, Egor Pugin wrote:
  Hi!
 
  ​I prepared building of Firebird using CMake.
  You can find more information on the link below. Also you can try it.
  https://bitbucket.org/egor_pugin/firebird_cmake
 
  CMake can simplify the build process, solve a lot of problems with
  integration icu, zlib and other libraries into the build (I saw
  discussions here about them during last 2-3 weeks).
 
  ​I hope you find this useful and consider including this into trunk.
  If you like it, we'll discuss details about patch later.
 

 After an initial full build, how do I build it avoiding the boot-build
 phase?


 Adriano


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 Firebird-Devel mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrkFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] CMake build system

2014-12-17 Thread Egor Pugin
Yes, this is a problem.
I know possible solution and will try to fix it.

On 17 December 2014 at 13:16, Adriano dos Santos Fernandes 
adrian...@gmail.com wrote:

 On 17/12/2014 08:03, Egor Pugin wrote:
  In Visual Studio:
  1. Select boot_* (boot step), epp_* (boot and master epp - cpp
  steps), databases (security.fdb, messages.fdb, help.fdb generation),
  messages (firebird.msg generation), other projects you need to turn
  off (examples, etc). Right click - unload projects. They still will be
  unloaded after VS restart.
  2. Just uncheck projects in Solution Properties - Configuration
  Properties.
 
 

 I want to known with make in Linux, sorry, missed to say...


 Adriano



 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 Firebird-Devel mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrkFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] CMake build system

2014-12-16 Thread Egor Pugin
Here are some answers:

 Mentioned CO command
 git clone g...@bitbucket.org:egor_pugin/firebird_cmake.git
firebird_cmake_bs
 does not work for me.

Try:
git clone https://bitbucket.org/egor_pugin/firebird_cmake.git
firebird_cmake_bs

 But the main problem that cmake patch (specially with 2-stage build) is
 hardly needed for most of current developers.

MSVC and other compilers will rebuild only projects with changed files and
projects depended on them. If you don't touch .epp or core .h files the
build process won't take much time.

 What should be done when new file is added to the project? (current posix
build does everything automatically)

Open a CMakeLists.txt file in text editor or IDE (these files are visible
in IDE project tree), put a file name into according project's source list.
Example in CMake:
set(yvalve_src
*list of source files*
your/new/file_here.cpp
)
Also it is possible to automatically add source file to project with file
mask, e.g. src/jrd/*.cpp. But I did not do this, because at the moment I
cannot say with sure what file in what directory should be automatically
added to what project. You as developer should know this better. Later you
can help me with such subleties.

 Can cmake support cross-build for mobile OS like android or ios?

CMake supports cross-build. Configuring this is another question. I can
take a look into it later if needed. Now I cannot say something more
concrete.

 If Egor takes this responsibility and does not expect himself to
disappear anytime soon

I'll be here. And as I wrote in readme - I can maintain it.

-
Now the main idea is to setup cmake build system in parallel to existing,
improve it, fix bugs, add missing things, so people can try it.


On 16 December 2014 at 14:23, Philippe Makowski pmakow...@ibphoenix.fr
wrote:

 Le 16/12/14 12:05, Dmitry Yemanov a écrit :
  Besides your questions, I would also appreciate an example of how to
  build FB using CMake and what dependencies are required for that.
 

 Seems that's all explanations are there :
 https://bitbucket.org/egor_pugin/firebird_cmake

 The readme is pretty good





 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 Firebird-Devel mailing list, web interface at
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrkFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel