[Harbour] Changelog file
Hi all, there is a way to split Changelog in more separate files (i.e Changelog.001, Changelog.002) to have a smaller current file size ? Is this name mandatory for SVN use? If not, we may use something like Chang1002 to have a single file for each year/month. Best regards, Marco _ Tutto lo spazio che ti serve, lo trovi su Hotmail http://www.windowslive.it/hotmail/SpazioDisponibile.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] Re: About Harbour Documentation
> > It hard to object if you already deleted them an hour later. > > You can say that ALL docs are 8 or 10 years old so why don't > just delete it all and be done with it. Some of the ES docs where > translation of original EN for standard Clipper/Harbour functions. > These should not changed in the past 10 years. I know that the > docs were neglected, but sometimes it is better to have some reference > to work with (future ES documenter) than to have nothing to start with. > (I know they are in the SVN tree but for most users they are now gone). > > Isn't svn allowing to recover past/deleted/modified versions of all files? If yes, would be easy to undelete them if anyone needs them, Best regards, Marco _ La tua privacy è al sicuro con Internet Explorer 8. Scopri di più http://www.microsoft.com/italy/windows/internet-explorer/features/browse-privately.aspx?tabid=2&catid=1___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] Re: About Harbour Documentation
> > We should not forbid any translations, and > we should think about it for the future, > but for now we should _strongly focus_ on English, > unless we want to create 3-4 incomplete > (but multilanguage!) docs, instead of 1 > complete one :) > > Brgds, > Viktor Exactly. I fully agree. By the way I'm not able to write one row of Harbour documentation: it's too far from my skills. Otherwise, if a group (I remember April White and Chen Kedem in the first time) of documentors will need some help for little tasks like proofreader for example, I'm available. ps. It's saturday (not only for me, at least). I'm coming from two days of headache and my job is one light-year far from Clipper-Harbour-xbase dialect, so this is like a hobby for me now and I spent my (little) free time following little web programming and the future of Clipper ... but what about all of you that stay in front of a screen on saturday night Ciao a tutti, Marco _ Parla, scrivi, gioca... Scopri le novità di Messenger http://www.messenger.it/home_novita.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] Re: About Harbour Documentation
> Of course you are right, the main documentation should be in English > (but if someone decides to contribute right now by translating the few > existing docs in any other language, I believe that is not right just > forbid it). > Yes, I see your point and I agree with you. Otherwise I will made a little example: I'm Italian, I could translate the existing documentation for italian users, but I do not, cause the documentation that I will write it will be full of technical and syntactical errors. Simply it will be a waste of time for all of us, not only for me. It would be better if I would write new docs on topic that aren't well documented yet: time well spent. Best regards, Marco _ La tua privacy è al sicuro con Internet Explorer 8. Scopri di più http://www.microsoft.com/italy/windows/internet-explorer/features/browse-privately.aspx?tabid=2&catid=1___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] Re: About Harbour Documentation
> [ There is some leftover from the paste > Spanish documentation in /examples, if > there are no objections I will delete > those, as they are incomplete and > unmaintained since at least 8 years. ] I have seen the \es folder in the past but I didn't remember where it was placed. I remember to have examined that and the informations were already dated. I'm not Spanish so I can't vote pro or con, but an 8 years old doc is useless, in my opinion. Best regards, Marco _ Scatta, ritocca e condividi le tue foto online. Gratis per te http://www.windowslive.it/foto.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] Re: About Harbour Documentation
Hi all, me and some of my more skilled friends (and programmers) have experienced that the best technical books/docs are always written in english, so I think the documentation has to be written in english (by now). I've also examined the \doc folder and the only subfolder is \en-EN by now: there isn't a folder for spanish documentation (I haven't synched with svn today). Docs in other languages are welcome but I think it's better to have a complete (as possible) documentation, faq, howtos, in english before starting to translate in other languages or we will miss the goal. Best regards, Marco > Subject: Re: [Harbour] Re: About Harbour Documentation > From: harbour...@syenar.hu > Date: Sat, 20 Feb 2010 21:12:31 +0100 > To: harbour@harbour-project.org > > > I am a native pt-BR speaker, and I am web developer also, and here we > > use pt-BR on the web pages. Of course I like the idea to have pt-BR > > translation (and contribute too). May we agree in the IETF format? > > Yes. > > So to sum it up: > Format: NANFORUM > Location: /doc//* > Codepage: UTF-8 > > Some IETF language codes for well-known languages: > en - English (generic) > pt-BR - Portuguese (Brazil) > es - Spanish (generic) > hu-HU - Hungarian > > > Maybe we can add the "most wanted" language folders to the main doc > > folder and into dirstruc.txt, to serve as example and eliminate the > > needs for further discussion about this theme. > > "most wanted" may be a little premature, given we have > not even English docs at the moment :) > > > At least > > doc/en (just rename back) > > doc/es > > doc/pt-BR (maybe some placeholder.txt so it doesnt stay empty) > > Okay for me. Though I think we should only > add the translation dirs only if there is actual > content, and for now we should focus on English > docs. > > SVN supports empty dir BTW, so it's not > technical issue. > > Brgds, > Viktor > > ___ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _ Parla, scrivi, gioca... Scopri le novità di Messenger http://www.messenger.it/home_novita.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] Re: About Harbour Documentation
Hi all, maybe I missed something, and someone has already told it, but I think that the main goal for a documentation is to be always available, so an online documentation must be a plus, a side feature of an offline documentation. There are many files available in the \doc folder but I can't see if there is a file that organize them in any way, such as alfabetical or category order. I'm a user of ng guides that I use almost every day when I don't remember the syntax of a function of the properties of a class. I know it's a very old tool but it does the job very well: to show documentation in a fast and proper way without the need of being on line or to scan \doc folder in search of the right file: I don't know if there is a Linux version too. Another consideration is that many informations that can be useful in "advanced" documentation can be borrowed from this mailing list: personally I'm registering the messages that I think of important for me. Finally another source is the Changelog. So in addition to documentation team that have been suggested, I think that it's important to have someone that has the time to read Changelog and this mailing list in search of the right answer or the proper implementation of a problem. I know that Changelog is updating fast but theare are informations that are valid documentation itself and the keep valid for a long time. Best regards, Marco _ Parla, scrivi, gioca... Scopri le novità di Messenger http://www.messenger.it/home_novita.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] hbct FILEATTR() function not working.
Hi all, is in Harbour docs an ordered list of Harbour extensions/substitute Clipper functions ? I searched among the various document but I haven't found anything. Maybe I haven't searched deeply... Furthermore, in the doc files the documentation of each function is not described in depth: many times it's not enough to learn its use and also some code snippet is missing. To find informations in changelog can be a solution but, like in these days, functions and functionality change very quickly and it's hard to find useful informations this way. I know that it's not easy to write a proper documentation and it's precious time that a developer can't spend, but who can document the use of a function/class/project, if not the developer itself? Sometimes in the past I used C# (for very very very little time) and by using a triple slash /// I could document each code that I was writing. The C# IDE parsed each file in search of those tags and when we needed help over a particular function, It showed us the informations that we put after those tags. Perhaps, we could use the same construct to help us to make a better auto-documentation. It may be used in any part of Harobur code, .c, .prg and other files (not only in the header) and it's not so far the // that a Clipper programmer is used to use in its code. Best regards, Marco > Subject: Re: [Harbour] hbct FILEATTR() function not working. > From: harbour...@syenar.hu > Date: Sat, 30 Jan 2010 12:42:27 +0100 > To: harbour@harbour-project.org > > Hi, > > Aside from the bug, I suggest to use Harbour core functions > wherever they exist, in this case they are HB_FGETATTR() and > HB_FSETATTR(). There is also HB_FGETDATETIME(), HB_FSETDATETIME(). > > There is also HB_FSIZE(), etc. > > Many time these are documented in ChangeLog. > > Brgds, > Viktor > > On 2010 Jan 30, at 10:19, smu johnson wrote: > > > It appears the FILEATTR() function doesn't work. > > > > According to http://www.ousob.com/ng/tools1-3/ng935ab.php , it says it > > should return a bit-wise decimal number. I tried a few different ways... > > absolute path, relative, and a piece of code my brother found from the > > Harbour source files. > > > > ___Pre-test: > > > > C:\hbm>attrib hello.prg > > A H C:\hbm\hello.prg > > > > ___Result: > > > > C:\hbm>hello.exe > > > > 0 > > 0 > > 0 > > > > ___code > > > > FUNCTION main() > > > > ? FILEATTR("hello.prg") > > ? FILEATTR("C:\hbm\hello.prg") > > > > cFile := FILESEEK("hello.prg") > > DO WHILE .NOT. EMPTY (cFile) > > ? cFile, FILEATTR() > > cFile := FILESEEK() > > ENDDO > > > > return > > // end > > > > > > Have I found a bug? :3 > > > > -- > > smu johnson > > > > ___ > > Harbour mailing list (attachment size limit: 40KB) > > Harbour@harbour-project.org > > http://lists.harbour-project.org/mailman/listinfo/harbour > > ___ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _ Non sei a casa? Prova il nuovo Web Messenger http://www.messenger.it/web/default.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] pseudo-graphical on screen.
Hi, obviously, text on images is to be switched... (i'm always in a hurry) regards, Marco From: boeri...@hotmail.com To: harbour@harbour-project.org Date: Tue, 5 Jan 2010 14:59:59 +0100 Subject: [Harbour] pseudo-graphical on screen. Hi all, I need to know how to show some pseudo-graphical characters like chr(16) ► chr(17) ◄, etc In Harbour these characters are translated with a little square. I think that I'm missing some declaration (like gt or similar) but I havent' found any informations regarding that. here is the link with two images for clipper and harbour http://www.postimage.org/image.php?v=Pq1awAG0 best regards, Marco Chiacchiera ovunque ti trovi. Prova il nuovo Web Messenger _ 25 Gigabyte per le tue foto online http://www.windowslive.it/foto.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] pseudo-graphical on screen.
Hi all, I need to know how to show some pseudo-graphical characters like chr(16) ► chr(17) ◄, etc In Harbour these characters are translated with a little square. I think that I'm missing some declaration (like gt or similar) but I havent' found any informations regarding that. here is the link with two images for clipper and harbour http://www.postimage.org/image.php?v=Pq1awAG0 best regards, Marco _ I tuoi amici sempre a portata di clic, sul nuovo Web Messenger http://www.windowslive.it/foto.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] ct functions
Hi Massimo, all, snip with most contrib project you must remember that if you made your sample out of native directory you must copy hbmk.hbm and revise or integrate in your project file hbp I'm new in hbmk2 use and I don't understand its use deeply. Can you be more clear about .hbm .hbc files and their use (a little example could help)? Regarding hybrid mode I have to learn how to use Hb in standarb way first, simply porting an entire app to it, and add step by step new features (mouse, graphic, printer managing for example). I'm sure that I will post many other questions in the future... Best regards, Marco _ Scopri tuttele novità di Internet Explorer 8 http://www.microsoft.com/italy/windows/internet-explorer/msn.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] difference between Clipper and Harbour
Hi, glad to be of any help. Marco > Yes, it's clear now. Just simply the example is too complicated. > It's not GET or ACCEPT problem but missing ";" => Chr( 13 ) translation > in __KEYBOARD() function. > Here is reduced example which illustrate the problem: > > proc main() > __keyboard( ";" ) > ? inkey(0) > return nil > > I'll fix it in a while. Thank you for the information. > > best regards, > Przemek > ___ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _ 25 Gigabyte per le tue foto online http://www.windowslive.it/foto.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] ct functions
Hi, thank you for your exaustive answer. No, it's not a must at all. I was trying to convert a sample application with Harbour. I choosed an application among the others without a fixed scope (that was the first that came in my mind...). These ct functions worked well in that application but it's easy to disable them: it's only cosmetic. Your answer opens a wide range of other questions (at least for me), but I think not to bore all of you in long a waste-time threads, as I see you are full time engaged in coding and replying (very little time for family I suppose...). Maybe in the future ... Best regards, Marco > Date: Tue, 5 Jan 2010 03:33:21 +0100 > From: dru...@acn.waw.pl > To: harbour@harbour-project.org > Subject: Re: [Harbour] ct functions > > On Mon, 04 Jan 2010, Marco Boeri wrote: > > Hi, > > > some ct fuctions aren't recognized by Harbour. > > These are > > FontReset( ) > > FontLoad( ) > > FontSelect( ) > > I added in .hbp file the -lhbct option, but without success. > > Are they not yet implemented or there are new/other functions > > to use instead of ? > > Such functionality like font reloading is available in practice only > in DOS. In all other sysystems it's impossible to load and activate > fonts using binary font definition so noone implemented above functions > It's possible that they will be added in the future for Harbour DOS builds > but you should not expect that they will work in Harbour compiled for > other platforms. They will always return -2 'Impossible in current video > mode'. Sorry but this part is out of our control and we cannot easy > emulate hardware (video adapter) behavior in modern systems where direct > access to hardware devices is blocked by OS for native application. > If such functionality is a must for you then it can be implemented in > DOS Harbour versions (just like SETFONT() is implemented in DJGPP builds) > and you can create DOS application and run it in full screen DOS mode > using windows if your windows still supports it or using DOSBOX or > similar emulator. > Other solution is converting your raw font definition to system native > font format and loading them using some system settings, i.e. by > chosing font for console window in MS-Windows for GTWIN or using > hb_gtInfo() with HB_GTI_* actions in grapic GTs like GTWVT or GTXWC. > > best regards, > Przemek > ___ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _ Scopri tuttele novità di Internet Explorer 8 http://www.microsoft.com/italy/windows/internet-explorer/msn.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
RE: [Harbour] difference between Clipper and Harbour
Hi, I supposed I was being a little confusing. I apologize. I missed a step: in the get field you need to press F2 Key In Clipper the result is tasti():lastkey()-> 13 tasti():xkey-> -1 -- main():lastkey()->13 main():nkey-> -1 as expected. While in Hb tasti():lastkey()-> 13 tasti():xkey-> -1;< ; but it's not relevant now -- main():lastkey()->13 main():nkey-> -1 nb: tasti() has to be read like processkey() function (tasti() is the original fuction) The more significant difference is that after the F2 keypress, in HB I need to press ENTER to go on (is the ACCEPT command that needs that), while Clipper doesn't need it. Hope to being more clear. Best regards, Marco > Date: Tue, 5 Jan 2010 03:11:19 +0100 > From: dru...@acn.waw.pl > To: harbour@harbour-project.org > Subject: Re: [Harbour] difference between Clipper and Harbour > > On Mon, 04 Jan 2010, Marco Boeri wrote: > > Hi, > > > Hi all, > > I'm new to Harbour compiler. Great piece of code ! > > Today I tried to compile an old Clipper 5.2e program that still works. > > I found a difference between the two compilers. I have made a code example. > [...] > > The accept command in Clipper works well and there is no wait, while > > Harbour needs an ENTER keypress to have same behaviour. > > I tested your program using CL5.2 and Harbour and in both cases I have > exactly the same results so I do not see any difference. Can you tell > me how exploit the problem? > > best regards, > Przemek > ___ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _ Scopri tuttele novità di Internet Explorer 8 http://www.microsoft.com/italy/windows/internet-explorer/msn.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] ct functions
Hi all, some ct fuctions aren't recognized by Harbour. These are FontReset( ) FontLoad( ) FontSelect( ) I added in .hbp file the -lhbct option, but without success. Are they not yet implemented or there are new/other functions to use instead of ? Best regards, Marco _ 25 Gigabyte per le tue foto online http://www.windowslive.it/foto.aspx___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] difference between Clipper and Harbour
Hi all, I'm new to Harbour compiler. Great piece of code ! Today I tried to compile an old Clipper 5.2e program that still works. I found a difference between the two compilers. I have made a code example. /// //Use of SET FUNC instead of SET FUNCTION // //This gives easy keyboard control. //Example //...{get code}... //nKey := Val( KeyProcess ) //Do Case //Case nKey == K_F2 //..Do Something //Case nKey == K_F3 //..Do Something else //Case nKey == K... //... //EndCase // Function Main() Local cTest := "Test " Local cK := "2" Local cV := "Chr( 23 ) + '-1;'" Local nKey @ 0, 0 clear Set Func &cK to &cV @ 4, 0 to 4, 80 @ 7, 0 to 7, 80 @ 3, 2 get cTest pict "@!" Read nKey := Val( KeyProcess( )) @08,0 ?? "Main(): LastKey() -> " ?? lastkey() ? "Main(): nKey -> " ?? nkey @20, 0 Function KeyProcess( ) Local xKey := LastKey( ) accept ' ' to xKey @05,0 ?? "Tasti(): LastKey() -> " ?? lastkey() ? "Tasti(): xKey -> " ?? xkey Return( xKey ) The accept command in Clipper works well and there is no wait, while Harbour needs an ENTER keypress to have same behaviour. Regards, Marco _ Di che umore sei oggi? Dillo con le Emoticon http://intrattenimento.it.msn.com/emoticon___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour