About the process of migration to C++

2014-10-01 Thread Chenxiong Qi
Hi all, In the past several days, I've read mails and wiki pages about the migration to C++. A quick question is that, is there any place, a wiki page or others, to record the process of migration, the todo list, and what is being done? Regards, Chenxio

Re: Gnucash 2.6.x History with Chinese Full Path

2014-11-03 Thread Chenxiong Qi
> When I check the history in the GSettings, the full path of history shows > garbage. > Hi, What do you mean "shows garbage"? That would be helpful if you paste the value of history here. Regards, Chenxiong Qi > Thank you very much. I appreciate your assistance. > =

Re: Gnucash 2.6.x History with Chinese Full Path

2014-11-04 Thread Chenxiong Qi
s and open files, that either has name containing traditional Chinese characters, or in a directory whose name contains traditional Chinese characters, or both, the problem does not happen. btw, in Report, the bug above happens. Regards, Chenxiong Qi -- A Python developer living in Beijing htt

Re: Gnucash 2.6.x History with Chinese Full Path

2014-11-04 Thread Chenxiong Qi
On Tue, Nov 4, 2014 at 11:17 PM, Chenxiong Qi wrote: > On Tue, Nov 4, 2014 at 10:43 PM, John Ralls wrote: >> >>> On Nov 4, 2014, at 1:15 AM, chihchieh@innolux.com wrote: >>> >>> Sorry, I made a mistake. Not coverting ANSI to UTF-8. >>> >>&

Re: Gnucash 2.6.x History with Chinese Full Path

2014-11-04 Thread Chenxiong Qi
On Wed, Nov 5, 2014 at 11:04 AM, wrote: > > > On Nov 4, 2014, at 7:17 AM, Chenxiong Qi wrote: > >> On Tue, Nov 4, 2014 at 10:43 PM, John Ralls wrote: >>> >>>> On Nov 4, 2014, at 1:15 AM, chihchieh@innolux.com wrote: >>>> >&g

Would like to convert provider_list to std::list

2014-11-13 Thread Chenxiong Qi
Hi all, I would like to convert provider_list in qofsession.cpp to std::list. Make a small change (step) to C++. What do you say? :) -- A Python developer living in Beijing http://about.me/tkdchen ___ gnucash-devel mailing list gnucash-devel@gnucash.or

Re: Would like to convert provider_list to std::list

2014-11-13 Thread Chenxiong Qi
On Thu, Nov 13, 2014 at 11:12 PM, Aaron Laws wrote: > On Thu, Nov 13, 2014 at 9:46 AM, Chenxiong Qi wrote: >> >> Hi all, >> >> I would like to convert provider_list in qofsession.cpp to std::list. >> Make a small change (step) to C++. What do you say? :) >

Compile test-core in C++

2014-11-18 Thread Chenxiong Qi
class works as expected. Thanks! Regards, Chenxiong Qi ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Compile test-core in C++

2014-11-20 Thread Chenxiong Qi
On Wed, Nov 19, 2014 at 12:17 AM, John Ralls wrote: > >> On Nov 18, 2014, at 7:10 AM, Chenxiong Qi wrote: >> >> Hi, >> >> I've converted QofCollection to a C++ class. A side-effect is that I >> have to make src/test-core be able to compile in C++. I

Re: Compile test-core in C++

2014-11-20 Thread Chenxiong Qi
On Thu, Nov 20, 2014 at 10:36 PM, John Ralls wrote: > >> On Nov 20, 2014, at 5:37 AM, Chenxiong Qi wrote: >> >> On Wed, Nov 19, 2014 at 12:17 AM, John Ralls wrote: >> >>> Why do you want to compile test-core in C++? >>> >> >> src/tes

Re: Compile test-core in C++

2014-11-22 Thread Chenxiong Qi
On Fri, Nov 21, 2014 at 3:51 AM, Aaron Laws wrote: > On Thu, Nov 20, 2014 at 9:58 AM, Chenxiong Qi wrote: >> >> Is it acceptable that I rename the new class to >> another name temporarily, such as QofCollectionClass, and keep the new >> class implementation

Byte order mark always make some files modified

2014-12-27 Thread Chenxiong Qi
CRLF-related issue. -- Regards, Chenxiong Qi ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Byte order mark always make some files modified

2014-12-28 Thread Chenxiong Qi
On Sun, Dec 28, 2014 at 4:19 AM, Mike Alexander wrote: > --On December 27, 2014 at 9:22:12 AM -0800 John Ralls > wrote: > >> >>> On Dec 27, 2014, at 3:50 AM, Chenxiong Qi wrote: >>> >>> Hi, >>> >>> Following files are always mark

Question about QofIdType assertion in QofCollection

2014-12-29 Thread Chenxiong Qi
Hi all, In qof_collection_add_entity and qof_collection_insert_entity, it expects, g_return_if_fail (col->e_type == ent->e_type); Is this the actual expectation by checking the equivalence of pointer locations, why not the values? -- Regards, Chenxi

Re: Question about QofIdType assertion in QofCollection

2014-12-29 Thread Chenxiong Qi
ive any typos. > > ----- Reply message - > From: "Chenxiong Qi" > To: "gnucash-devel@gnucash.org" > Subject: Question about QofIdType assertion in QofCollection > Date: Mon, Dec 29, 2014 3:35 AM > > Hi all, > > In qof_collection_add_entity and qo

Re: Question about QofIdType assertion in QofCollection

2014-12-30 Thread Chenxiong Qi
On Tue, Dec 30, 2014 at 1:08 AM, John Ralls wrote: > >> On Dec 29, 2014, at 7:32 AM, Chenxiong Qi wrote: >> >> On Mon, Dec 29, 2014 at 8:22 PM, Derek Atkins wrote: >>> Because it's a constant. >>> >> >> Thanks! >> >> In fo