pfuel-devel Mailing List for PFuel
Status: Alpha
Brought to you by:
papadoc
You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(21) |
Aug
(10) |
Sep
(11) |
Oct
(3) |
Nov
(6) |
Dec
(3) |
|---|
|
From: Remi R. <pa...@vi...> - 2004-12-17 14:11:39
|
Hi Kevin, I downloaded TortoiseCVS and I was able to get the files This is how I'm set: CVS ROOT::pserver:ano...@cv...:/cvsroot/pfuel Protocol: Password server (:pserver:) <- (By default this is set to Secure Shell) Server: cvs.sourceforge.net Port: "empty here" Repository folder: /cvsroot/pfuel User name: anonumoys Modules: pFuel > > You asked in an earlier email why I am trying to export,delete then > import in PFuel. When I first started using FuelLog, I misunderstood > that Gallons were actually UK Gallons. I liked the MPG graphs so much > that I back-entered all my fillups since the time I'd bought this car. > It was afterwards I realized there is a US Gallons setting. So I > have kept the units at UK gallons and waited for the day when I could > export/modify/import my data. In trying it, I undoubtably end up > using PFuel in ways you may not have tested (or anticipated). > Hopefully my intrusions are helping to make the program better! - Yep finding bug is a big part of the work and since I know how the program work I work inside the boundaries and I don't find all the bugs. By the way a new version is out. Remi |
|
From: Remi R. <pa...@vi...> - 2004-12-14 19:12:39
|
Hi Kevin,
I will comment on only some parts for now since I need to investigate a
little more.
> Test2 of Export/Import features of PFuel (12/14/04)
> 2)Went into PFuel, made sure settings were at US Gallons & Miles.
This is not necessary since cnvtFLog convert the unit found in FuelLog
to the internal unit used in pFuel (The preference in pFuel does not
matter at this step)
> 3)Created a "Honda" category in PFuel.
> 4)Left PFuel and ran cnvtFLog; in about 8 seconds it was done.
> 5)Went into PFuel, date & car & dates are right; but units are in
> Litres & Km; they are converted correctly.
This is OK since by default the units are Km and Litres
> 6)I change units to UK Gallons & miles, and everything looks good
> (except that I need to convert so these are the US Gallon values);
What do you mean by converting since they look good ?
> 8)From PFuel, I export in 3 chunks: [1/14/1998-5/14/2000;
> 5/15/2000-9/14/2002, 9/15/2002-12/13/2004]. T do this I go to graph
> (or stats), set filter, select date ranges, select done, then export.
I'm working on this.
Tapping on the export menu will bring a form where you can select the
filter instead of going through the Graph of Stat form.
> 11)By exporting in incorrect units (UK), that data is correct for
> correct units (US). I edit the third line of each memopad file to
> indicate the correct number of records in that file: [78,79,67] Note
> that these add up to 224; while the original number is 234.
From what I have found I thing you are missing then record which don't
have the full tank checked. This is a bug and It will be corrected.
> 12)Using FileZ, I deleted "pFuelDB".
> 13)Went into PFuel, made sure settings were at US Gallons & Miles.
> 14)Created a "Honda" category in PFuel; I change units to U Gallons &
> miles/US Gallons.
> 15)I run Import. it takes only 2 seconds. I only get the middle set
> of data [5/15/2000-9/14/2002]; the miles and gallons are wrong. (i.e.
> entry dated 5.31/2000 has 0.8554 US Gallons and 52,213 Mi odometer;
> when it was 14.720 UK Gallons and 135,232 Mi odometer before
> exporting; and memopad entry shows
> [34354,"14.7900","103,305","0.0000"Y,Honda]).
I don't understand why the value have changed.
Only one memo is converted for now (This is almost a bug....)
Change the first line of 2 memos out of 3. The one with the good line
will be imported. Then change the line for this one and reset the first
line of one of the first 2.
So If only one memo has the good line it will be imported.
> It is significant to note that I am in Honda category both before &
> after import; but if I go to "All" category, my units change to Litres
> and Km, and that same date shows 3.24 L & 84,029Km. {This begs to ask
> if I needed to change units in "All" category to match that of
> "Honda"?}
The "All" category has a set of preferences by itself. So the answer is no.
Remi
|
|
From: Remi R. <pa...@vi...> - 2004-12-14 15:26:50
|
Hi Kevin, > Very good questions. I will answer what I can. Thanks, > My settings have been > in Gallons (UK) and Miles. But the actual numbers represent US > Gallons. The reason I was playing with the export/import features is > so I could export as UK Gallons then switch settings to US Gallons and > import the same physical numbers. So I am sure I had it in UK Gallons > when I did the 3 exports. Internally to pFuel eveything is in KM. When you set the prefernce only the displayed value are converted. When you export data they are converted to the units in the preference before being written to the memo. When importing we "assume" that the units are the same as the one you are importing to (This will change the units should be written in the memo) > To erase the data before importing I used > FileZ and deleted only one file "pFuelDB". When I then went into > PFuel, there was no data visible, so I assumed I'd done it right. Yes this should have work... > I then changed my preferences to US Gallons and tried the import. > > Is it possible that I needed to edit the "Number Format: 0" in the > memopad file? The number format change the way a number is display Ex: 2 000 or 2,000 or 2'000 > Or did I need to delete other/different files using > FileZ? It's hard to think of where the problem would have occured, > since I don't know the branching or structure of the routines. I have > programed in Fortran and a little in Basic. But I've never looked at > code writing for PDA's before. If you know Fortran you can read C and the PDA api is well documented. If I understand correctly you whant to convert your values to GALLON from US GALLON. First set your preference to Litres and check what is the value (is this the correct one ? (Take your number and convert them by hand). If not then it is more tricky. Set you preference to km and Litres then do an export. (You can use the filter in Stat of Graph form to split you data). Then export your value to the desktop and using excel or whatever convert the value so that in liter you have the value you want Ex: You value is 1.00 US GALLON In the exported memo you get (for whatever raison) 1.23) The value in the memo should be 4.54604Litres Then convert every volume by 4.54604/1.23 Or you can try to set the prefernce to a given unit export then change the unit and import. WARNING WARNING WARNING If you don't want the application to crash change the number of record (the 3rd line) to the real number record in the memo (i.e. the number of line after "Epoch,FuelVolume,...) This was causing the application to reset. This will be corrected in the next release. Remi |
|
From: John K. <ke...@ke...> - 2004-11-09 16:18:51
|
On Nov 9, 2004, at 8:13 AM, Remi Ricard wrote: >> My intuition is that a warning is too heavy. What about a simple >> beep? This should be enough to suggest to the astute user to look at >> the manual. > > This is simple and interesting. Do you know how to make the palm beep ? See SndPlaySystemSound() and the enum SndSysBeepType. > What about the people which set their palm to not make any sound ? Oh, well, they're hosed. -jk |
|
From: Remi R. <pa...@vi...> - 2004-11-09 16:13:48
|
Hi John, >>> Will there be any feedback to they user when this limit is exceeded? >> >> >> There will be some indication in the doc but we can add a warning if >> you think this can be needed > > > My intuition is that a warning is too heavy. What about a simple > beep? This should be enough to suggest to the astute user to look at > the manual. This is simple and interesting. Do you know how to make the palm beep ? What about the people which set their palm to not make any sound ? Remi |
|
From: John K. <ke...@ke...> - 2004-11-09 16:02:34
|
Hello Remi, On Nov 9, 2004, at 7:40 AM, Remi Ricard wrote: >> >> Will there be any feedback to they user when this limit is exceeded? > > There will be some indication in the doc but we can add a warning if > you think this can be needed My intuition is that a warning is too heavy. What about a simple beep? This should be enough to suggest to the astute user to look at the manual. -jk |
|
From: Remi R. <pa...@vi...> - 2004-11-09 15:40:57
|
Hi John, > Hello Remi, > > > On Nov 9, 2004, at 6:36 AM, Remi Ricard wrote: > >> What I was thinking is: >> >> Put something in the event lopp handler (Almost like numericKB.c was >> doing) but >> its only job is look at the string and count the number of digit in >> the string. >> if you have already 10 digit then you discard the new digit you try >> to enter. > > > Will there be any feedback to they user when this limit is exceeded? There will be some indication in the doc but we can add a warning if you think this can be needed Remi |
|
From: John K. <ke...@ke...> - 2004-11-09 15:31:49
|
Hello Remi, On Nov 9, 2004, at 6:36 AM, Remi Ricard wrote: > What I was thinking is: > > Put something in the event lopp handler (Almost like numericKB.c was > doing) but > its only job is look at the string and count the number of digit in > the string. > if you have already 10 digit then you discard the new digit you try to > enter. Will there be any feedback to they user when this limit is exceeded? -jk |
|
From: Remi R. <pa...@vi...> - 2004-11-09 14:36:28
|
Hi, The bug is about the fact that large number can be entered in the different field (the one concerning me is the odometer field). Let say you whant to enter 12345678.1234 since you have set you preference to 4 decinmals for Odometer. pFuel will let you do it but when this number is display againt you can have something like 12345678.1297 since only 10 digit are significant with float. What I was thinking is: Put something in the event lopp handler (Almost like numericKB.c was doing) but its only job is look at the string and count the number of digit in the string. if you have already 10 digit then you discard the new digit you try to enter. What do you think about this. Remi |
|
From: Thomas A. H. <th...@in...> - 2004-10-26 17:48:04
|
* Remi Ricard <pa...@vi...> [20041026 18:39]: > > Maybe there should be two sets of tires, maybe with a comment field > > and/or a checkbox: > > summer: a x b x c [X] > > winter: a x b x c [ ] > > > > Why two set of tires ? > > Maybe a front/back set but why summer/winter ? > > > >Winter tires provided better traction in the snow. However, if used in > >the summer months, your mileage suffers and winter tire will degrade a lot. > > I know that. We have nice snow storm here in Montreal every winter.... > My question was more like usually the winter and summer tires have the > same size so why two different entries. I don't know if they are always the same size. For my current car I don't know, because I can't look it up in pFuel yet :) Thomas -- Email: th...@in... http://intevation.de/~thomas/ |
|
From: Remi R. <pa...@vi...> - 2004-10-26 16:37:10
|
Hi John, > > Maybe there should be two sets of tires, maybe with a comment field > and/or a checkbox: > summer: a x b x c [X] > winter: a x b x c [ ] > > > Why two set of tires ? > Maybe a front/back set but why summer/winter ? > > > Winter tires provided better traction in the snow. However, if used in > the summer months, your mileage suffers and winter tire will degrade a lot. I know that. We have nice snow storm here in Montreal every winter.... My question was more like usually the winter and summer tires have the same size so why two different entries. > The general Palm OS UI guidelines are: > http://www.palmos.com/dev/support/docs/ui/UIGuide_Front.html > > I think Thomas is refering to: > http://www.palmos.com/dev/support/docs/ui/UI_Actions.html#977095 > > Which says in part, "Command buttons belong at the bottom of the form". Thanks I will read that. Remi |
|
From: Thomas A. H. <th...@in...> - 2004-10-15 12:45:02
|
* Remi Ricard <pa...@vi...> [20041015 14:26]: > >Ok, the attached patch to pFuel.rcp.in does the following: > >- Make pFuel.rcp.in compilable, there was: AT (PREVRIGHT+3101) > >- add a graffiti state indicator to the maintenance entry form > >- replace units with PREVLEFT/RIGHT/TOP/BOTTOM/WIDTH/HEIGHT where > > appropriate. > Finally someone took the time to do it. Great. > Everything looks OK Then I'll commit it. > >My local copy also cleans up indentation of MtnRecForm and removes > >extra white space at the end of lines, but because I used the diff > >options '-wbB' these changes don't show up in the attached patch so > >it's more human readable. > Usually my emacs should remove extra white space at the end of lines ? You'll see the full changes on pfuel-commit, because SourceForge's syncmail doesn't use the -wbB options. > Can we send mail through the "pFuel Mailing list for programmer" if > possible so that jk receive the mail also. Done with this mail - Hi to all the others on this list! > Can you give me an acronym of 2 to 3 letter so that we know its your > work when I add an entry in the Change log file. "tah" would be fine, but I already updated the ChangeLog. Thomas -- Email: th...@in... http://intevation.de/~thomas/ |
|
From: John K. <ke...@co...> - 2004-09-22 21:50:47
|
Hello Remi, I am looking for Palm OS utilities which allow me to monitor cpu, disk and network activity. I'm sure this is a FAQ, but could you tell me where I can find these kinds of utilities? -jk |
|
From: John K. <ke...@co...> - 2004-09-15 19:43:02
|
Hello Remi, Never mind. I got your update. All is well. -jk On Sep 15, 2004, at 12:06 PM, John Kern wrote: > Hello Remi, > > After I updated with your modifications, pFuel fails to compile. > Looks like I need an update to some header file where > MtnTopVisibleRecord is defined, right? > > -jk > > [John-Kerns-Computer:pFuel/pFuel-main/Src] jkern% make > m68k-palmos-gcc -O2 -Wall -MD -c pFuel.c -o pFuel.o -include section.h > pFuel.c: In function `MainFormDoCommand': > pFuel.c:386: `MtnTopVisibleRecord' undeclared (first use in this > function) > pFuel.c:386: (Each undeclared identifier is reported only once > pFuel.c:386: for each function it appears in.) > pFuel.c: In function `AppStart': > pFuel.c:1173: `MtnTopVisibleRecord' undeclared (first use in this > function) > make: *** [pFuel.o] Error 1 > [John-Kerns-Computer:pFuel/pFuel-main/Src] jkern% grep > MtnTopVisibleRecord *.c *.h > maintenance.c: MtnTopVisibleRecord = findTopOfTable(pFuelMtnDB, > MtnTable, currentIndex, > maintenance.c: category, > MtnTopVisibleRecord, dmSeekForward); > maintenance.c: MtnFormLoadTable(frm, MtnTopVisibleRecord); > maintenance.c: DmPositionInCategory(pFuelMtnDB, > MtnTopVisibleRecord, category) : 0), > maintenance.c: MtnTopVisibleRecord = findTopOfTable(pFuelMtnDB, > MtnTable, CurrentRecord, > maintenance.c: CurrentCategory, > MtnTopVisibleRecord, dmSeekForward); > maintenance.c: MtnLoadRecordsInTable(frm, MtnTopVisibleRecord, > CurrentCategory); > maintenance.c: MtnTopVisibleRecord = 0; > maintenance.c: MtnTopVisibleRecord = > RecordInCategory(CurrentCategory, eventP->data.sclExit.value, > maintenance.c: CurrentRecord = MtnTopVisibleRecord; > pFuel.c: MtnTopVisibleRecord = TopVisibleRecord = > pFuel.c: DmSeekRecordInCategory(pFuelMtnDB, > &MtnTopVisibleRecord, 0, DIRECTION, CurrentCategory); > pFuel.c: MtnTopVisibleRecord = TopVisibleRecord = 0 ; > pFuel.c: MtnTopVisibleRecord = TopVisibleRecord = > pFuel.c: DmSeekRecordInCategory(pFuelMtnDB, > &MtnTopVisibleRecord, 0, DIRECTION, CurrentCategory); > pFuel.c: MtnTopVisibleRecord = TopVisibleRecord = 0 ; > [John-Kerns-Computer:pFuel/pFuel-main/Src] jkern% > |
|
From: John K. <ke...@co...> - 2004-09-15 19:08:21
|
Hello Remi, After I updated with your modifications, pFuel fails to compile. Looks like I need an update to some header file where MtnTopVisibleRecord is defined, right? -jk [John-Kerns-Computer:pFuel/pFuel-main/Src] jkern% make m68k-palmos-gcc -O2 -Wall -MD -c pFuel.c -o pFuel.o -include section.h pFuel.c: In function `MainFormDoCommand': pFuel.c:386: `MtnTopVisibleRecord' undeclared (first use in this function) pFuel.c:386: (Each undeclared identifier is reported only once pFuel.c:386: for each function it appears in.) pFuel.c: In function `AppStart': pFuel.c:1173: `MtnTopVisibleRecord' undeclared (first use in this function) make: *** [pFuel.o] Error 1 [John-Kerns-Computer:pFuel/pFuel-main/Src] jkern% grep MtnTopVisibleRecord *.c *.h maintenance.c: MtnTopVisibleRecord = findTopOfTable(pFuelMtnDB, MtnTable, currentIndex, maintenance.c: category, MtnTopVisibleRecord, dmSeekForward); maintenance.c: MtnFormLoadTable(frm, MtnTopVisibleRecord); maintenance.c: DmPositionInCategory(pFuelMtnDB, MtnTopVisibleRecord, category) : 0), maintenance.c: MtnTopVisibleRecord = findTopOfTable(pFuelMtnDB, MtnTable, CurrentRecord, maintenance.c: CurrentCategory, MtnTopVisibleRecord, dmSeekForward); maintenance.c: MtnLoadRecordsInTable(frm, MtnTopVisibleRecord, CurrentCategory); maintenance.c: MtnTopVisibleRecord = 0; maintenance.c: MtnTopVisibleRecord = RecordInCategory(CurrentCategory, eventP->data.sclExit.value, maintenance.c: CurrentRecord = MtnTopVisibleRecord; pFuel.c: MtnTopVisibleRecord = TopVisibleRecord = pFuel.c: DmSeekRecordInCategory(pFuelMtnDB, &MtnTopVisibleRecord, 0, DIRECTION, CurrentCategory); pFuel.c: MtnTopVisibleRecord = TopVisibleRecord = 0 ; pFuel.c: MtnTopVisibleRecord = TopVisibleRecord = pFuel.c: DmSeekRecordInCategory(pFuelMtnDB, &MtnTopVisibleRecord, 0, DIRECTION, CurrentCategory); pFuel.c: MtnTopVisibleRecord = TopVisibleRecord = 0 ; [John-Kerns-Computer:pFuel/pFuel-main/Src] jkern% |
|
From: John K. <ke...@co...> - 2004-09-14 16:11:53
|
Hello Remi, Sounds like you have a good design and are fixing it. Do I need to take action? -jk |
|
From: papaDoc <pa...@vi...> - 2004-09-14 15:54:34
|
Hi John, This is good: > > + - Bug 1025196 - set Resort variable when adding a new fuel > record. This ensures > + things are sorted correctly. But I'm changing the way we deal with "Change Ordering" What we had is: "Change the ordering in the database" but this leaded to problems. Now we keep the ordering in the databse. Only the display will reflect/do the change in the ordering. Remi -- /"\ \ / X ASCII Ribbon Campaign / \ Against HTML Email |
|
From: papaDoc <pa...@vi...> - 2004-09-03 16:33:11
|
Hi John, >>>>> Do you have a particular one you'd like added to it? >>>> >>>> >>>> Yes dd/mm/yy >>> >>> I can add this one, but I need to know the date format type. when >>> you export to memo pad, what is the value. It should be a small >>> integer. >> >> I'm not sure to understand. >> It should be the same thing has what you have now except the ordering >> which is different. > > > I need to associate this ordering of the date format with the associated > preference on your locale. Export records this by writing it to memo pad. > > StrPrintF(lstr, "%s %d\n",txt, PrefGetPreference(prefDateFormat)); > > For my locale, "Date Format: 0" is written out to memo pad. My I get Date Format: 0 (My preference was DD/MM/YY but If I change the line in export.c to StrPrintF(lstr, "%s %ld\n",txt, PrefGetPreference(prefDateFormat)); instead of StrPrintF(lstr, "%s %d\n",txt, PrefGetPreference(prefDateFormat)); I added a "l" to get "%ld" (you might need to change the number format also) I get: Date Format: 1 (This look good since dd/MM/YY is the second item in the DateFormatType enum.) >>>>> Is that the one export wrote out or at the time of importation? I >>>>> think we should use the date format written out during export. >>>> >>>> >>>> If I never use the export function and only need import I don't know >>>> the format of export ! >>>> One can be use without the other. >>> >>> The parser relies heavily on the header. Without it, it will not >>> work. If you cut and paste a header and update the number of records, >>> it what work fine. >> >> Sorry! Je ne comprend pas!! Can you be more explicit ! >> I did not finish my cup of coffee yetso I'm not really awake. > > > With the current design, the exporter is tightly coupled with the > importer. The number of records is written out by the exporter. The > Importer uses it to iterate over the number of pfuel records. This is ok since someone can know the number of record by looking at its memopad record to be imported. But do you really need it ? > If someone is not using export, how would the header be generated? The specification for the header should be written in the documentation as the description for the number format and the fact that the format should be following the format specified by the preference. (Does anyone read Documentation ???) > One possibility would be to copy it from an existing memo pad record which > was written by export. This should be written in the documentation has a quick way to get the good format for the header but the format should be describe in the documentation. > > If one is generating test data, I think this will be fine. We copy a > version of the header replacing the explicit digit with token. The > script which generates the data would also replace this token with the > explicit count. I think we should not indicate in the header of the exported data the date format and number format. We look at the value and we can figure out what it is. When someone wants to import data, he should read the documentation. If he does not read it then the format he will use should be the one he is used to use and this should be the one set in the preference. > > Did you have a different usage scenario in mind? My scenario is someone has some data on his computer and want to import it in the palm. He set its excel (Or whatever he is using) such that he will get the good format. Or Someone is using another program to record its fuel expense and does like it. So he exports its data (If the software permit that) and "massage" the data to conform to the specification describe in the documentation. I'm assuming a lot of stuff but this is possible. > P.S. Have you seen the 2003 French film called "The Barbarian Invasions"? > http://www.miramax.com/thebarbarianinvasions/ I did not see it yet.... but I want to see it. > > I saw it last night and enjoyed it. It is set in your neck of the woods, > too. Quebec is really big. I was filmed on the "Cote Nord" 12hrs ride by car from where I live. -- /"\ \ / X ASCII Ribbon Campaign / \ Against HTML Email |
|
From: John K. <ke...@co...> - 2004-09-03 14:27:54
|
Salut Remi, >> Do you have a particular one you'd like added to it? > Yes dd/mm/yy I can add this one, but I need to know the date format type. when you export to memo pad, what is the value. It should be a small integer. >> Is that the one export wrote out or at the time of importation? I >> think we should use the date format written out during export. > If I never use the export function and only need import I don't know > the format of export ! > One can be use without the other. The parser relies heavily on the header. Without it, it will not work. If you cut and paste a header and update the number of records, it what work fine. -jk |
|
From: papaDoc <pa...@vi...> - 2004-09-03 12:51:00
|
Hi, > I would like to revisit our discussion with respect to date. No problem I like visiting old friend ;-) > > > 1- The date can be can only have the format mm/dd/yy > > This is correct but I would like to add to it. The user preference for > the date format is recorded by the exported and parsed by the > importer. As you mention, the only one case is implemented. After > studying the API for date on Garnet, it is my understanding that there > is no function which maps this value to the corresponding month/day/year > ordering. There is even no ascii to date conversion in the API. For French Canadian m/d/y is not my first choice. When I have something like 3/7/2004 which one is the first the month or the day. In English you can say March third 2004 but in French we say Le 7 mars 2004 and never we will say mars 03 2004. > To add other formats, one needs to add a case to the switch > statement in RetrieveDate(). Yes this is true > To complete this function, one would need > to add a case for each possible value of format type. So, I was > treating it the same way we address localization(i.e., only english and > french). Do you have a particular one you'd like added to it? Yes dd/mm/yy > > > 2- In think we should assume the format for the date to be the > > one used by the Palm. > > This is slightly ambiguous. Yes I know since in the "System->Prefs" The following date format are available M/D/Y D/M/Y D.M.Y D-M-Y Y/M/D Y.M.D Y-M-D M-D-Y > Is that the one export wrote out or at the > time of importation? I think we should use the date format written out > during export. If I never use the export function and only need import I don't know the format of export ! One can be use without the other. > > > If you look at an old version of utility.c > > there was code to convert A string to a DateType for any > > shortDateFormat. > > I was poking around in the deltas for utility.c on the main branch. I > didn't see a function like this one. Would you provide me with a bit > more detail? If they have a better way of doing it, I would like to use it. I will try to dig this out., http://www.unet.univie.ac.at/~a9526342/divelog/source_html/divelog_8c-source.html -- /"\ \ / X ASCII Ribbon Campaign / \ Against HTML Email |
|
From: John K. <ke...@co...> - 2004-09-03 01:18:07
|
Hello Remi, I would like to revisit our discussion with respect to date. > 1- The date can be can only have the format mm/dd/yy This is correct but I would like to add to it. The user preference for the date format is recorded by the exported and parsed by the importer. As you mention, the only one case is implemented. After studying the API for date on Garnet, it is my understanding that there is no function which maps this value to the corresponding month/day/year ordering. To add other formats, one needs to add a case to the switch statement in RetrieveDate(). To complete this function, one would need to add a case for each possible value of format type. So, I was treating it the same way we address localization(i.e., only english and french). Do you have a particular one you'd like added to it? > 2- In think we should assume the format for the date to be the > one used by the Palm. This is slightly ambiguous. Is that the one export wrote out or at the time of importation? I think we should use the date format written out during export. > If you look at an old version of utility.c > there was code to convert A string to a DateType for any > shortDateFormat. I was poking around in the deltas for utility.c on the main branch. I didn't see a function like this one. Would you provide me with a bit more detail? If they have a better way of doing it, I would like to use it. -jk |
|
From: papaDoc <pa...@vi...> - 2004-09-01 01:57:22
|
Hi John, > Hello Remi, > > I'm experiencing some problems with the new i18n changes in both 0.01.01 > and 0.00.13. This is strange the 0.00.13 build should not be affected by the i18n since it is done in the 0.01 release only. > > If I download the release .prc you built, the about box looks fine. > However, when I build it, the about box simply has the token(ie, "-Desc- > License") not the associated text. (see png image below). > > When I type make, I do see the appropriate arguments to pilrc > > pilrc -L ENGLISH -q -allowEditID pFuel.rcp pFuel_dir > > Any ideas on how to fix this? Try a "make clean" or "make realclean" between the make and make lang=fr Remi -- /"\ \ / X ASCII Ribbon Campaign / \ Against HTML Email |
|
From: John K. <ke...@co...> - 2004-09-01 01:04:14
|
Hello Remi, I'm experiencing some problems with the new i18n changes in both 0.01.01 and 0.00.13. If I download the release .prc you built, the about box looks fine. However, when I build it, the about box simply has the token(ie, "-Desc- License") not the associated text. (see png image below). When I type make, I do see the appropriate arguments to pilrc pilrc -L ENGLISH -q -allowEditID pFuel.rcp pFuel_dir Any ideas on how to fix this? -jk |
|
From: John K. <ke...@co...> - 2004-08-26 17:16:10
|
Hello remi, Good ideas. I'll add them to my to do list. -jk On Aug 26, 2004, at 8:16 AM, papaDoc wrote: > Hi John, > > >> The changes I made yesterday complete the initial version of the >> importer. > Good I will try it and do a release this evening. > > >> It reads the memo pad file and creates records in the pFuel database. >> At this time, the category is ignored. Everything is placed in >> unfiled. At this time, I don't know how to use a string representing >> a car category (e.g., saturn) to set the right category. Do you know >> how to do this? > I'm not sure but this can lead you to something > > 1- Start at CurrentCategory > 2- Get the string for this category with CategoryGetName > 3- Compare with what you have > 4- Get the next category index with CategoryGetNext > 5- Goto 2 until CategoryGetNext return CurrentCategory > > > Some note about the code > 1- The date can be can only have the format mm/dd/yy > 2- In think we should assume the format for the date to be the > one used by the Palm. If you look at an old version of utility.c > there was code to convert A string to a DateType for any > shortDateFormat. > 3- Can you write some doc about the format of the import and add this > to > the documentation. > > > Remi > > > -- > /"\ > \ / > X ASCII Ribbon Campaign > / \ Against HTML Email > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > pFuel-devel mailing list > pFu...@li... > https://lists.sourceforge.net/lists/listinfo/pfuel-devel > |
|
From: papaDoc <pa...@vi...> - 2004-08-26 15:16:51
|
Hi John,
> The changes I made yesterday complete the initial version of the
> importer.
Good I will try it and do a release this evening.
> It reads the memo pad file and creates records in the pFuel
> database. At this time, the category is ignored. Everything is placed
> in unfiled. At this time, I don't know how to use a string representing
> a car category (e.g., saturn) to set the right category. Do you know
> how to do this?
I'm not sure but this can lead you to something
1- Start at CurrentCategory
2- Get the string for this category with CategoryGetName
3- Compare with what you have
4- Get the next category index with CategoryGetNext
5- Goto 2 until CategoryGetNext return CurrentCategory
Some note about the code
1- The date can be can only have the format mm/dd/yy
2- In think we should assume the format for the date to be the
one used by the Palm. If you look at an old version of utility.c
there was code to convert A string to a DateType for any
shortDateFormat.
3- Can you write some doc about the format of the import and add this to
the documentation.
Remi
--
/"\
\ /
X ASCII Ribbon Campaign
/ \ Against HTML Email
|