[fpc-pascal] FPC 2.6.0 <> 2.6.2 incompatibility take 2

2013-04-01 Thread Reinier Olislagers
While looking at mantis 14473 I noticed that FPC 2.6.0 writes out ANSI characters when using StrPLCopy: StrPLCopy( @PAfterHdrVII(PChar(Header)+SizeOf(rDbfHdr))^.LanguageDriverName[32], ConstructLangName(FFileCodePage, lLocaleID, false),63-32); However, FPC 2.6.2 apparently uses the widestring vers

Re: [fpc-pascal] Re: Example: regular expressions and "hash-tables"

2013-04-01 Thread Noah Silva
Hi, Actually it's not just hash tables, but tables in general. We have basically two options: 1. Arrays 2. Objects (like TCollection, etc.) Objects are overkill to me for a lot of things where I want a more raw datatype, and Arrays (Even dynamic ones) are a bit *too* raw. So usually you can rep

Re: [fpc-pascal] Re: Example: regular expressions and "hash-tables"

2013-04-01 Thread Noah Silva
Hi, I had an entire class on using Regular Expressions (in Java). They actually only look scary or hard to read until you get used to them. Debugging them can be difficult sometimes though. If you search, there are some web pages available that let you check them online in real time. Even thou

Re: [fpc-pascal] HMAC_SHA1 and FPC

2013-04-01 Thread Noah Silva
Hi, Actually I think on OS X and Linux it makes sense to depend on OpenSSL, but not for the reasons you mentioned so much as one more: Security. If you are using doing encryption, then it's better to use a library that is updated more often for bug fixes, and to have the updates be applied to you

Re: [fpc-pascal] HMAC_SHA1 and FPC

2013-04-01 Thread silvioprog
2013/4/2 Noah Silva > Hi, > > Actually I think on OS X and Linux it makes sense to depend on OpenSSL, > but not for the reasons you mentioned so much as one more: Security. If > you are using doing encryption, then it's better to use a library that is > updated more often for bug fixes, and to h