Re: [Firebird-devel] ClimpletReader in svcSendItems mode

2016-03-19 Thread Dimitry Sibiryakov
17.03.2016 16:52, Alex Peshkoff wrote: >> Do I understand right that subj can be used to parse buffer returned by >> >isc_service_query()? > No, that format is still unsupported by ClimpletReader That's pity, I hoped to a simple solution for decoding service response from utf-8 into

Re: [Firebird-devel] FB 3 RC2 never asks last byte byte for isc_info_svc_stdin

2016-03-19 Thread Alex Peshkoff
On 03/18/2016 05:02 PM, Jiří Činčura wrote: >> Confirmed. > Should I create tracker item? > Yes, please. -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics

Re: [Firebird-devel] FB 3 RC2 never asks last byte byte for isc_info_svc_stdin

2016-03-19 Thread Jiří Činčura
> Sorry - cold not run it: > Unhandled exception: unimplemented function msvcrt.dll._vscprintf > called in 32-bit code (0x7bc4d059). Hmm, the Wine is probably not that good to run it. I suppose you need Windows machine or some VM. -- Mgr. Jiří Činčura Independent IT Specialist

Re: [Firebird-devel] IService::start() and isc_spb_utf8_filename

2016-03-19 Thread Alex Peshkoff
On 03/17/2016 12:47 PM, Dimitry Sibiryakov wrote: > 17.03.2016 10:37, Alex Peshkoff wrote: > >> In this way it works for me - but it will be very good idea to try on >> non-utf8 OS. > You are very lucky that SystemToUtf8() is noop for you. Currently I could better like non-utf8 OS to be able

Re: [Firebird-devel] Git

2016-03-19 Thread Michal Kubecek
On Wed, Mar 16, 2016 at 10:11:17PM +0100, Dimitry Sibiryakov wrote: > 16.03.2016 22:03, Michal Kubecek wrote: > > One of the advantages of getting used to use these "topic" branches > > rather than adding commits directly to a local copy of "upstream" branch > > (e.g. B3_0_Release here) is that it

Re: [Firebird-devel] Firebird support for "newer" compilers & SDKs / especially on Windows & MacOS X

2016-03-19 Thread Lionel Elie Mamane
On Wed, Mar 16, 2016 at 07:32:02AM +0300, Kovalenko Dmitry wrote: >> One of our developers discovered that Firebird 2.5 fails to compile >> with MSVC2015, made some steps in the direction of fixing it (like >> we did internally for GCC 6), and was told that for Firebird 2.5, >> it was more work

Re: [Firebird-devel] Git

2016-03-19 Thread Dimitry Sibiryakov
17.03.2016 12:47, Adriano dos Santos Fernandes wrote: > But custom branches for minor or individual work should not go to > FirebirdSQL/firebird but to personal forks. Can github automatically merge changes from origin to personal forks? -- WBR, SD.

Re: [Firebird-devel] Git

2016-03-19 Thread James Starkey
On Saturday, March 19, 2016, Wols Lists wrote: > On 16/03/16 21:03, Michal Kubecek wrote: > > An experienced developer might have 10 or 20 topics on the go - each in > their own separate branches. That way work doesn't cross-contaminate - > you don't want to

Re: [Firebird-devel] FB 3 RC2 never asks last byte byte for isc_info_svc_stdin

2016-03-19 Thread Jiří Činčura
Hi Alex, > Jiri, I have no idea how to help you. fbsvcmgr works just fine. > If you can provide reproducible test case which I can run on linux (may > be client on wine) I will take a look what happens. Here's a test case: http://www.uschovna.cz/zasilka/HUYY8J3R8F45NCR8-5RZ/ . Simply unpack and

Re: [Firebird-devel] Firebird support for "newer" compilers & SDKs / especially on Windows & MacOS X

2016-03-19 Thread marius adrian popa
We also accept now github pull requests so it will be easier in the future to integrate with new IDE versions or compilers https://github.com/FirebirdSQL/firebird On Wed, Mar 16, 2016 at 10:39 PM, Vlad Khorsun wrote: > 15.03.2016 22:13, Dmitry Yemanov wrote: > >

Re: [Firebird-devel] Git

2016-03-19 Thread Dimitry Sibiryakov
17.03.2016 12:58, Mark Rotteveel wrote: > Nope, you need to follow: > https://help.github.com/articles/syncing-a-fork/ Quite a few of handwork. -- WBR, SD. -- Transform Data into Opportunity. Accelerate data

Re: [Firebird-devel] ClimpletReader in svcSendItems mode

2016-03-19 Thread Dimitry Sibiryakov
18.03.2016 10:25, Alex Peshkoff wrote: > 1. Backward compatibility > 2. Users list service is deprecated in FB3 And exactly because of that we can simply drop support of these bad clumplets in FB4. -- WBR, SD.

Re: [Firebird-devel] Git

2016-03-19 Thread Dimitry Sibiryakov
17.03.2016 13:02, Adriano dos Santos Fernandes wrote: > Was our svn repository allowed for arbitrary branch creation without > project discussion till now? No! > > Now with github that would not even be necessary as one could fork and > do his things. > > So, to allow arbitrary branch creation in

Re: [Firebird-devel] Linux autogenerated password for SYSDBA

2016-03-19 Thread Alex Peshkoff
On 03/18/2016 08:47 PM, Dimitry Sibiryakov wrote: > Hello, All. > > Subj is still placed in a well-known place? > yes - at least should be -- Transform Data into Opportunity. Accelerate data analysis in your

Re: [Firebird-devel] RFC: File names with non-ASCII non-ANSI letters

2016-03-19 Thread Lester Caine
On 16/03/16 11:39, James Starkey wrote: > Or simply restrict database file names to ASCII. It's not like users > have to deal with them, just like they don't have to deal with > identifiers in SQL, or C or Java. As someone linguistically challenged, I have no problem with my own code, but

Re: [Firebird-devel] Git

2016-03-19 Thread Wols Lists
On 16/03/16 21:03, Michal Kubecek wrote: > One of the good ones is "Pro Git" book by Scott Chacon which can be > viewed or downloaded at > > https://git-scm.com/book/en/v2 > > For basic developer needs, chapters 1-3 are sufficient, to participate > in a project, chapter 5 can help (at least

Re: [Firebird-devel] Git

2016-03-19 Thread Dimitry Sibiryakov
17.03.2016 12:33, Mark Rotteveel wrote: > You don't*need* to have your own fork to do that, you can also create > pull requests from branches in the same repository. So if Paul pushes > his branch to origin, he can create a pull request from that branch to > the B_3_0_Release branch (assuming he

[Firebird-devel] [FB-Tracker] Created: (CORE-5153) Regression: Server crashes when aggregate functions are used together with NOT IN predicate

2016-03-19 Thread Dmitry Yemanov (JIRA)
Regression: Server crashes when aggregate functions are used together with NOT IN predicate --- Key: CORE-5153 URL: http://tracker.firebirdsql.org/browse/CORE-5153

Re: [Firebird-devel] Git

2016-03-19 Thread Adriano dos Santos Fernandes
On 17/03/2016 09:15, Dmitry Yemanov wrote: > 17.03.2016 15:02, Adriano dos Santos Fernandes wrote: > >> Was our svn repository allowed for arbitrary branch creation without >> project discussion till now? No! >> >> Now with github that would not even be necessary as one could fork and >> do his

Re: [Firebird-devel] Git

2016-03-19 Thread Adriano dos Santos Fernandes
On 17/03/2016 08:33, Mark Rotteveel wrote: > On 2016-03-17 11:56, Dimitry Sibiryakov wrote: >> 17.03.2016 11:24, Paul Beach wrote: >>> I am now trying to work out exactly what I need >>> to do to start committing some of my changes for the Mac Port for >>> 3.0 >>> back into git... >>I may be

Re: [Firebird-devel] IService::start() and isc_spb_utf8_filename

2016-03-19 Thread Dimitry Sibiryakov
17.03.2016 11:42, Alex Peshkoff wrote: > That's a bug, but in the case with utf8 in SPB it should not cause problems. Unfortunately it does because of another bug in dba.epp. This is classical "double bug" when one bug neutralize other and make most of tests work. -- WBR, SD.

[Firebird-devel] [FB-Tracker] Created: (CORE-5158) Extend ALTER EXTERNAL FUNCTION to adjust arguments

2016-03-19 Thread Dmitry Yemanov (JIRA)
Extend ALTER EXTERNAL FUNCTION to adjust arguments -- Key: CORE-5158 URL: http://tracker.firebirdsql.org/browse/CORE-5158 Project: Firebird Core Issue Type: Improvement Components:

Re: [Firebird-devel] IService::start() and isc_spb_utf8_filename

2016-03-19 Thread Dimitry Sibiryakov
16.03.2016 16:14, Александр Пешков wrote: >In current code I see that isc_spb_utf8_filename in SPB received by > IService::start() > is completely ignored > > Not ignored but passed to DPBs later Code seems to be different: ClumpletWriter spb(ClumpletReader::SpbStart,

[Firebird-devel] IService::start() and isc_spb_utf8_filename

2016-03-19 Thread Dimitry Sibiryakov
Hello, All. In current code I see that isc_spb_utf8_filename in SPB received by IService::start() is completely ignored and all strings are converted into utf-8 basing on content of SPB received by attachServiceManager(). What is worse, this flag is not inserted into SPB after

Re: [Firebird-devel] IService::start() and isc_spb_utf8_filename

2016-03-19 Thread Александр Пешков
>Среда, 16 марта 2016, 17:21 +03:00 от Dimitry Sibiryakov : > >Hello, All. > >   In current code I see that isc_spb_utf8_filename in SPB received by >IService::start() >is completely ignored Not ignored but passed to DPBs later >and all strings are converted into utf-8

Re: [Firebird-devel] ClimpletReader in svcSendItems mode

2016-03-19 Thread Alex Peshkoff
On 03/18/2016 12:59 PM, Dimitry Sibiryakov wrote: > 18.03.2016 10:25, Alex Peshkoff wrote: >> 1. Backward compatibility >> 2. Users list service is deprecated in FB3 > And exactly because of that we can simply drop support of these bad > clumplets in FB4. > Not sure (though big desire is

Re: [Firebird-devel] ClimpletReader in svcSendItems mode

2016-03-19 Thread Alex Peshkoff
On 03/17/2016 06:27 PM, Dimitry Sibiryakov wrote: > Hello, All. > > Do I understand right that subj can be used to parse buffer returned by > isc_service_query()? No, that format is still unsupported by ClimpletReader > If so, why fbsvcmgr don't use it? >

Re: [Firebird-devel] Git

2016-03-19 Thread Norman Dunbar
On 17/03/16 11:51, Dimitry Sibiryakov wrote: > Can github automatically merge changes from origin to personal forks? As far as I'm aware, no. When I have forked a project I need to pull my forket repository back to my laptop and work on it there. When changes are made to the master repo, I

Re: [Firebird-devel] FB 3 RC2 never asks last byte byte for isc_info_svc_stdin

2016-03-19 Thread Alex Peshkoff
On 03/17/2016 09:59 AM, Jiří Činčura wrote: > Hi Alex, > >> Jiri, I have no idea how to help you. fbsvcmgr works just fine. >> If you can provide reproducible test case which I can run on linux (may >> be client on wine) I will take a look what happens. > Here's a test case:

Re: [Firebird-devel] Git

2016-03-19 Thread Adriano dos Santos Fernandes
On 17/03/2016 08:57, Mark Rotteveel wrote: >> But custom branches for minor or individual work should not go to >> FirebirdSQL/firebird but to personal forks. > Have we actually established that policy, or are you inventing that > rule on the spot? > > BTW: Not saying that I disagree, but I think

Re: [Firebird-devel] Git

2016-03-19 Thread Adriano dos Santos Fernandes
On 17/03/2016 09:08, Dimitry Sibiryakov wrote: > 17.03.2016 13:02, Adriano dos Santos Fernandes wrote: >> Was our svn repository allowed for arbitrary branch creation without >> project discussion till now? No! >> >> Now with github that would not even be necessary as one could fork and >> do his

[Firebird-devel] Git Submodule

2016-03-19 Thread Jim Starkey
My experimentation with git submodules was completely successful. Basically trivial. To enable, in the project root directory, do a git submodule add In the project CMakeLists.txt add something like add_subdirectory ( EXCLUDE_FROM_ALL) This will prevent unreferenced

Re: [Firebird-devel] Git

2016-03-19 Thread Treeve Jelbert
On Wed, 16 Mar 2016 16:05:36 +0100, Paul Beach wrote: > Since some of us are newbies to git and github, I need to ask some > questions > as I would like to move onto git asap and stop using sourceforge and > svn. > > I had started looking at the Firebird 3 build and port for MacOS, and > am

Re: [Firebird-devel] Git

2016-03-19 Thread Jiří Činčura
> git push :branchname Which is changed for couple of year already. `git push --delete ` -- Mgr. Jiří Činčura Independent IT Specialist -- Transform Data into Opportunity. Accelerate data analysis in your applications

Re: [Firebird-devel] GitHub

2016-03-19 Thread Dmitry Yemanov
All, The project repository was migrated to GitHub: https://github.com/FirebirdSQL/firebird Please wait a few days for things to settle down, we need to update some infrastructure. SVN repository is still accessible, but new contributions are expected to be provided as pull requests at GitHub.

Re: [Firebird-devel] ClimpletReader in svcSendItems mode

2016-03-19 Thread Alex Peshkoff
On 03/17/2016 07:26 PM, Dimitry Sibiryakov wrote: > 17.03.2016 17:11, Alex Peshkoff wrote: >> even more crazy continuation from call to call: parsing >> single returned buffer is just impossible, only from the beginning of >> data exchange keeping history. > According to IB API Guide, there is

Re: [Firebird-devel] Git

2016-03-19 Thread Mark Rotteveel
On 2016-03-17 13:22, Adriano dos Santos Fernandes wrote: > Yes, but branching locally, not pushing personal branches to official > repository. > > Git remote branch delete is not even intuitive. I always need to > search > and do things scary to delete remote branches. Yeah, whoever thought that

Re: [Firebird-devel] Git

2016-03-19 Thread Jim Starkey
On 3/17/2016 6:56 AM, Dimitry Sibiryakov wrote: > 17.03.2016 11:24, Paul Beach wrote: >> I am now trying to work out exactly what I need >> to do to start committing some of my changes for the Mac Port for 3.0 >> back into git... > I may be wrong, but you cannot create a pull request from

Re: [Firebird-devel] Git

2016-03-19 Thread Mark Rotteveel
On 2016-03-17 12:51, Dimitry Sibiryakov wrote: > 17.03.2016 12:47, Adriano dos Santos Fernandes wrote: >> But custom branches for minor or individual work should not go to >> FirebirdSQL/firebird but to personal forks. > >Can github automatically merge changes from origin to personal > forks?

Re: [Firebird-devel] ClimpletReader in svcSendItems mode

2016-03-19 Thread Alex Peshkoff
On 03/17/2016 06:58 PM, Dimitry Sibiryakov wrote: > 17.03.2016 16:52, Alex Peshkoff wrote: >>> Do I understand right that subj can be used to parse buffer returned >>> by isc_service_query()? >> No, that format is still unsupported by ClimpletReader > That's pity, I hoped to a

Re: [Firebird-devel] ClimpletReader in svcSendItems mode

2016-03-19 Thread Alex Peshkoff
On 03/18/2016 12:18 PM, Dimitry Sibiryakov wrote: > 18.03.2016 9:12, Alex Peshkoff wrote: >> If one tries to receive users list from server according to that guide >> he will be much surprised. >> No restart (that's correct - list may be >64Kb), no isc_info_truncate - >> just interrupted at

Re: [Firebird-devel] Firebird support for "newer" compilers & SDKs / especially on Windows & MacOS X

2016-03-19 Thread Vlad Khorsun
15.03.2016 22:13, Dmitry Yemanov wrote: > 15.03.2016 18:37, Lionel Elie Mamane wrote: >> >> Short version: will Firebird (2.5? 3? latest?) in general be kept >> compatible with the latest major compilers (within a reasonable time >> of their release) for each platform for the foreseeable future? >

[Firebird-devel] [FB-Tracker] Created: (CORE-5155) [CREATE OR] ALTER USER statement: clause PASSWORD (if present) must be always specified just after USER

2016-03-19 Thread Pavel Zotov (JIRA)
[CREATE OR] ALTER USER statement: clause PASSWORD (if present) must be always specified just after USER Key: CORE-5155 URL:

Re: [Firebird-devel] IService::start() and isc_spb_utf8_filename

2016-03-19 Thread Dimitry Sibiryakov
17.03.2016 10:37, Alex Peshkoff wrote: > Because it's buggy. isc_spb_utf8_filename should not be present in spb > for start That's I got too. > In this way it works for me - but it will be very good idea to try on > non-utf8 OS. You are very lucky that SystemToUtf8() is noop for you. >>

[Firebird-devel] gstat and non-existing password file

2016-03-19 Thread Dimitry Sibiryakov
Hello, All. I wonder why gstat doesn't complain if it is asked to fetch password from non-existing file?.. -- WBR, SD. -- Transform Data into Opportunity. Accelerate data analysis in your applications with

Re: [Firebird-devel] Git

2016-03-19 Thread Dmitry Yemanov
17.03.2016 13:56, Dimitry Sibiryakov wrote: > I may be wrong, but you cannot create a pull request from local repository > clone. You > must fork it into your account beforehand. Paul doesn't need to use pull requests, he may commit directly. Dmitry

Re: [Firebird-devel] Git

2016-03-19 Thread Michal Kubecek
On Thu, Mar 17, 2016 at 01:55:08PM +0100, Jiří Činčura wrote: > > git push :branchname > > Which is changed for couple of year already. > `git push --delete ` More precisely, the latter was added as a nicer alias for the former. As git-push(1) says: --delete All listed refs are deleted

Re: [Firebird-devel] FB 3 RC2 never asks last byte byte for isc_info_svc_stdin

2016-03-19 Thread Alex Peshkoff
On 03/18/2016 03:10 PM, Jiří Činčura wrote: > Hi Alex, > > I found another issue trying to make you some test case. This one you > can try yourself. > > Instead of sending the amount of bytes server allows, I send always one > byte. After 2nd byte one thread in `firebird.exe` goes into infinite >

Re: [Firebird-devel] Git

2016-03-19 Thread Dimitry Sibiryakov
17.03.2016 11:24, Paul Beach wrote: > I am now trying to work out exactly what I need > to do to start committing some of my changes for the Mac Port for 3.0 > back into git... I may be wrong, but you cannot create a pull request from local repository clone. You must fork it into your

Re: [Firebird-devel] FB 3 RC2 never asks last byte byte for isc_info_svc_stdin

2016-03-19 Thread Alex Peshkoff
On 03/18/2016 05:14 PM, Alex Peshkoff wrote: > On 03/18/2016 05:02 PM, Jiří Činčura wrote: >>> Confirmed. >> Should I create tracker item? >> > Yes, please. Forget it - added myself. -- Transform Data into Opportunity.

Re: [Firebird-devel] Git

2016-03-19 Thread Mark Rotteveel
On 16-3-2016 16:05, Paul Beach wrote: > > Since some of us are newbies to git and github, I need to ask some questions > as I would like to move onto git asap and stop using sourceforge and svn. > > I had started looking at the Firebird 3 build and port for MacOS, and am > curious > as how I can

Re: [Firebird-devel] Git

2016-03-19 Thread Dimitry Sibiryakov
16.03.2016 22:03, Michal Kubecek wrote: > One of the advantages of getting used to use these "topic" branches > rather than adding commits directly to a local copy of "upstream" branch > (e.g. B3_0_Release here) is that it allows you to work on several > different bugs or features and simply