On Thu, 19 Apr 2012, Ludo Brands wrote:
There are other databases (mssql, oracle) where it is
difficult to not
use schemas. So even when not using the word 'schema' the concept
should be represented somewhere.
Ehm, the datadictionary is the schema ?
Unless I misunderstand the meaning of s
On Thu, 19 Apr 2012, Ludo Brands wrote:
Schemas "own" more objects than just Tables, Sequences and
Domains. So
I wouldn't have guessed that one.
Correct. fpDatadict is a work in progress.
I use tables, sequences, domains, indexes and foreign keys.
Exactly because indexes and foreign k
On Sun, 22 Apr 2012, Mark Morgan Lloyd wrote:
cobines wrote:
2012/4/22 Mark Morgan Lloyd :
but I'm not sure why that works when it
didn't earlier (i.e. before I'd started using array of const).
You said you used
DbgArray= array of integer
then I assume this declaration?
procedure ClrDebu
On Fri, 4 May 2012, Mattias Gaertner wrote:
On Fri, 04 May 2012 17:22:16 +0200
dhkblas...@zeelandnet.nl wrote:
I'm creating a script to be executed by instantfpc when I noticed
that paramstr(0) does not reflect the location of the script but the
location of the cached executable. Is there
On Thu, 17 May 2012, luciano de souza wrote:
hello all,
I am compiling CGI modules with Freepascal in commandline mode. if I do:
fpc test.pas
the result is "test.exe". But the source name needs to be different
from the executable name. For this reason:
fpc test.pas -oindex.cgi
This comman
On Fri, 18 May 2012, Zaher Dirkey wrote:
Hi,
I have 2 objects inherited from the base one
T_A = class(TObject);
T_B1 = class(T_A);
T_B2 = class(T_A);
T_B3 = class(T_A);
Now if I want to extend T_B1 it is easy to inherit it to T_C1 = class (T_B1)
and add many functions to it, but.
I want
On Fri, 25 May 2012, Reinier Olislagers wrote:
Hi list,
I've created a small SQL*Plus/isql/osql/sqlcmd clone, pasql.
It lets you connect to a database and run select queries as well as
queries that don't return a dataset.
It also shows how to use logging.
Perhaps it's a nice candidate for
On Tue, 22 May 2012, Zaher Dirkey wrote:
In TList how can i notify if Count is changed with New and Old values as like
in SetCount, SetCount procedure not virtual?
procedure SetCount(NewCount: Integer);
You cannot.
Be aware that setting the count does not mean items are actually added to t
On Fri, 25 May 2012, Mark Morgan Lloyd wrote:
How should I put this?
procedure TUnyokedFrontendForm.OutputWriteF(const str: widestring; values:
array of variant; fg: TColor= clBlack; bg: TColor= clDefault);
var scratch: widestring;
begin
scratch := Format(str, values);
As above, I
On Thu, 31 May 2012, Graeme Geldenhuys wrote:
On 31 May 2012 12:35, Mattias Gaertner wrote:
Can you give an example or some pseudocode?
I just moved country, so don't have access to my development pc yet
(still in shipping), so can't get hold of a working code example. So
best I can do i
On Sat, 2 Jun 2012, leledumbo wrote:
In 2.7.1 (trunk)
I mean... which unit?
process.
Michael.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Sat, 9 Jun 2012, Leonardo M. Ramé wrote:
Hi, I want to format a float number to currency. To do this, I use the Format
function using the %m format, as this:
Format('%m', [123.25]);
I'm using Ubuntu 12.04 and my regional settings at configured to display "$ 1234.25", but
I'm getting "12
On Sat, 9 Jun 2012, Leonardo M. Ramé wrote:
- Original Message -
From: Michael Van Canneyt
To: Leonardo M. Ramé ; FPC-Pascal users discussions
Cc:
Sent: Saturday, June 9, 2012 11:59 AM
Subject: Re: [fpc-pascal] Currency symbol wrong location
On Sat, 9 Jun 2012, Leonardo M
On Sun, 10 Jun 2012, Mattias Gaertner wrote:
Hi,
Is there already a buffered file stream in the fpc sources?
Yes.
Or maybe a generic buffered input stream that can be used with
TFileStream?
See fcl-base/src/bufstream.pp.
It is even documented on
http://www.freepascal.org/docs-html/fcl
On Sun, 10 Jun 2012, Mattias Gaertner wrote:
It is even documented on
http://www.freepascal.org/docs-html/fcl/bufstream/index.html
Amazing, don't you think ? ;-)
The fpc sources are always amazing.
As in: Bugs creep up at the most unexpected places... :)
Michael.
_
On Sun, 10 Jun 2012, Mattias Gaertner wrote:
On Sun, 10 Jun 2012 18:24:14 +0200
Mattias Gaertner wrote:
On Sun, 10 Jun 2012 16:54:30 +0200 (CEST)
Michael Van Canneyt wrote:
[...]
It is even documented on
http://www.freepascal.org/docs-html/fcl/bufstream/index.html
Amazing, don'
On Fri, 22 Jun 2012, silvioprog wrote:
2012/6/22 Jorge Aldo G. de F. Junior :
Theres a blowfish encryption system in freepascal
http://www.freepascal.org/docs-html/fcl/blowfish/index.html
2012/6/22 Rainer Stratmann :
Does someone know how to do encryption and decryption with keys?
Hellow
On Mon, 25 Jun 2012, Alexis Halbot-Schoonaert wrote:
I try to debug a FastCGI (with a TWebModule) wich connects itself to
FireBug in Lazarus and the debugger stops debugging when i do a
connection to FireBird.
Hm... I use JDO (https://github.com/silvioprog/jdo) with CGI and works
very well,
On Mon, 9 Jul 2012, Reinier Olislagers wrote:
On 21-6-2012 11:39, michael.vancann...@wisa.be wrote:
On Thu, 21 Jun 2012, Reinier Olislagers wrote:
Just compiled FPC with -dTEST_WIN64_SEH and noticed that fixes bugs
17360 Firebird database exceptions don't generate EIBDatabaseError but a
gen
On Mon, 9 Jul 2012, Reinier Olislagers wrote:
Patience. These things take time.
I've set the weels in motion.
Michael.
Thanks.
I noticed some things do take time.. the thing is that without any
feedback is hard to guess whether something was forgotten, or wheels are
set in motion...
Let m
On Mon, 9 Jul 2012, Mark Morgan Lloyd wrote:
Mark Morgan Lloyd wrote:
Tomas Hajny wrote:
On Wed, July 4, 2012 11:32, Mark Morgan Lloyd wrote:
When building a shared library, I'm putting a (function that returns a)
magic number into both the library and the calling program. This returns
an i
On Mon, 9 Jul 2012, Reinier Olislagers wrote:
But we'll get there.
I'll leave you guys to it, then ;)
It turns out there are reasons not to enable it by default just yet:
Major issue 1: ld randomly crashes while linking any executable with .pdata
section.
When it crashes, Windows pops u
On Mon, 9 Jul 2012, Sven Barth wrote:
On 09.07.2012 14:22, Michael Van Canneyt wrote:
Major issue 2: I used dummy relocations to link in required .pdata
sections, but this
cannot be expressed using gas. This means either smartlinking should be
disabled with gas, or the
entire .pdata will be
Hi,
Following up on bug 22310
http://bugs.freepascal.org/view.php?id=22310
I enabled the use of UTF8 in the FPC JSON support.
The constructors of the JSON parser/scanner now accept an extra argument
UseUTF8 which tells them to convert JSON strings to UTF8, not the system codepage.
This shou
On Tue, 10 Jul 2012, Ludo Brands wrote:
Following up on bug 22310 http://bugs.freepascal.org/view.php?id=22310
I enabled the use of UTF8 in the FPC JSON support.
The constructors of the JSON parser/scanner now accept an
extra argument
UseUTF8 which tells them to convert JSON strings to UTF8,
On Tue, 10 Jul 2012, Ludo Brands wrote:
Because the old behaviour is not "buggy".
It simply did not support Unicode, and does the next best thing,
in casu: it transforms to the system codepage.
A car without ABS and SAT-Nav is not buggy.
It just doesn't support features which are nowadays ca
On Tue, 10 Jul 2012, Ludo Brands wrote:
So you'd reverse the constructor boolean argument to specify
Utf8 as default,
and let the user choose the old behaviour if he needs it ?
If that is "unthinkable" then define new contructors
TJSONParser.Create2(...,AUseUTF8 : Boolean = True) or Create2(
On Tue, 10 Jul 2012, Ludo Brands wrote:
Nothing is unthinkable. The other constructs are very ugly.
I reversed the argument default value to True. UTF8 is now
the default.
A very wise decision;)
I must be getting older :)
Seriously: when json support was written, Unicode/UTF8 support
On Tue, 10 Jul 2012, Jonas Maebe wrote:
On 10 Jul 2012, at 11:40, Michael Van Canneyt wrote:
I have added a section to
http://wiki.freepascal.org/index.php?title=User_Changes_Trunk
to notify people of this change.
Could you change it to use the same format/template as the other entries
On Thu, 12 Jul 2012, luciano de souza wrote:
Hello all,
I am running some CGIs in localhost. When talking about web servers,
the name of Apache comes as natural. However, I would like to share
some zip files to show the results. For this purpose, Apache is not
the best because I need
On Thu, 12 Jul 2012, Seth Grover wrote:
Greetings! I've been using fcl-passrc (PParser and PasTree) to create
a tool to help me with coverage analysis. Using the example provided
in the package directory as a starting point, I've created a tool
which finds the "begin" line number for each func
On Thu, 12 Jul 2012, Seth Grover wrote:
Oversight, a bug.
I am currently working on the parser, I'll look into this.
Michael.
Thanks, I appreciate it.
Please check revision 21909.
I haven't done much testing, because I didn't get to the test cases for
statements yet.
Michael.
_
On Mon, 16 Jul 2012, Seth Grover wrote:
I think I found another problem with the latest revision of fcl-passrc
in svn trunk.
I should have fixed both problems you found. Please test, rev 21922.
Michael.
___
fpc-pascal maillist - fpc-pascal@lists
On Mon, 16 Jul 2012, Seth Grover wrote:
I should have fixed both problems you found. Please test, rev 21922.
Michael.
It did fix those problems, but there's still a problem in the release
given the following unit with a finalization section:
===
unit
On Tue, 17 Jul 2012, Seth Grover wrote:
I ran into another problem scenario, dealing with $include'd files.
Given these two files:
I get an error like this:
Syntax error at token "EOF" in file iputils.pas at line 21 column
-7202378 line:21 column:-7202378 file:iputils.pas
Fixed. Undefine
On Tue, 17 Jul 2012, Seth Grover wrote:
Also, it looks like it gets a segfault if you try to $include a file
that can't be found.
Fixed in rev. 21932. Uninitialized result.
Michael.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http:
On Wed, 18 Jul 2012, Seth Grover wrote:
Michael, I pulled down your latest revision (21934) which did fix the
problems I had reported. Thanks!
I did find another one for you:
unit timelib;
{$mode objfpc}{$H+}
interface
implementation
procedure Smo
On Wed, 18 Jul 2012, Mark Morgan Lloyd wrote:
michael.vancann...@wisa.be wrote:
On Wed, 18 Jul 2012, Mark Morgan Lloyd wrote:
michael.vancann...@wisa.be wrote:
No need to apologize, I'm just curious where you got your info from. The
implementation has been the same since day 1, which mean
On Wed, 18 Jul 2012, Seth Grover wrote:
Hm, it's still failing for me.
Here's what I get with test_parser from examples given this input:
[]
I'm doing it in Linux compiling for x86_64. There wouldn't be any
problem with me using this package source (pastree, paswrite, pparser,
pscanner) w
On Wed, 18 Jul 2012, Seth Grover wrote:
Hm, it's still failing for me.
Here's what I get with test_parser from examples given this input:
===
unit timelib;
{$mode objfpc}{$H+}
interface
implementation
procedure SmonthToCmonth (const sMonth
On Thu, 19 Jul 2012, Seth Grover wrote:
Fixed.
It seems that using the heaptrc unit masks some access violations.
Michael.
Good to know. That fix seemed to work, but there's an issue with
having an "else" in a case statement. If you remove the else it works.
Fixed, plus a couple of others
On Sun, 22 Jul 2012, Mattias Gaertner wrote:
On Wed, 18 Jul 2012 17:15:20 +0200 (CEST)
michael.vancann...@wisa.be wrote:
[...]
I meant the SimpleIPC unit from the FCL:
http://lazarus-ccr.sourceforge.net/docs/fcl/simpleipc/index.html
Is there a simple two way IPC?
It seems the '/tmp' direc
On Sun, 22 Jul 2012, leledumbo wrote:
I have a web app that works fine with embedded http server, but due to its
current bugs, I need to switch to something more reliable.
Please report any bugs you find.
I know of only 1 bug that is connected to reliability.
So I choose
FastCGI and a gr
On Sat, 28 Jul 2012, SteveG wrote:
I am enumerating thru large numbers of files on my disk, and find I cant come
close with findfirst / findnext to matching the speed of cmd line apps
available in linux :eg ls / du
A regular ls only does a getdents() call.
FindFirst/FindNext does a getdent
On Tue, 14 Aug 2012, Reinier Olislagers wrote:
On 14-8-2012 16:03, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote:
Thinking about it, I will change fpdoc so it does not need the file
installed, but generates it if not present, as Graeme suggested.
That will be far easier, and causes l
On Tue, 14 Aug 2012, Reinier Olislagers wrote:
On 14-8-2012 16:03, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote:
Thinking about it, I will change fpdoc so it does not need the file
installed, but generates it if not present, as Graeme suggested.
That will be far easier, and causes l
On Wed, 15 Aug 2012, Reinier Olislagers wrote:
I've been working on documenting the Zipper/Unzipper classes:
packages\paszlib\src\zipper.pp
Now looking at the protected procedure TZipper/TUnzipper.DoEndOfFile
They apparently update compression percentage statistics and call a user
defined cal
On Wed, 15 Aug 2012, Reinier Olislagers wrote:
On 15-8-2012 13:48, Michael Van Canneyt wrote:
On Wed, 15 Aug 2012, Reinier Olislagers wrote:
I've been working on documenting the Zipper/Unzipper classes:
packages\paszlib\src\zipper.pp
Now looking at the protected procedure TZ
On Wed, 15 Aug 2012, Reinier Olislagers wrote:
On 15-8-2012 15:59, Graeme Geldenhuys wrote:
Hi,
On 15 August 2012 14:39, Jonas Maebe
wrote:
FCL-DB uses dynamic linking by default, and looks for the unversioned
shared library. So what specific Firebird version is the FCL-DB coded
too?
I
On Wed, 15 Aug 2012, Graeme Geldenhuys wrote:
Hi,
On 15 August 2012 15:32, Reinier Olislagers wrote:
And you can use the (Firebird/Interbase Services IIRC) API to get the
server version. I seem to remember Ludo's recent addition to FPC has
this functionality.
Yes, but you are jumping the
On Wed, 15 Aug 2012, Ludo Brands wrote:
So why does FCL-DB look at the unversioned *.so by default?
Wouldn't it make more sense to change FCL-DB to look for
libfbclient.so.2 instead? 2 being the latest major version of
Firebird DB, and that is also the latest version that
ibconnection.pp was w
On Wed, 15 Aug 2012, Ludo Brands wrote:
No, this would suggest that you can set a different value for
each instance.
I don't see what is wrong with that. You get a nice exception when you try
to load a different library than the one that is alread loaded. But if I
want to make an app that wo
I do not think a solution is required for the components.
Yes, you cannot set the location in the OI, but I do not think
this is needed in the first place, see the use case at the beginning.
We differ there. If it was easier to set the library file name we probably
wouldn't have all these
On Thu, 16 Aug 2012, Marco van de Voort wrote:
If dynamic linking is so great, why do we constant, constantly have these
discussions and worse all these illadvised changes?
Because the problem is not in dynamic versus static.
We would have exactly the same discussions if they were staticall
On Thu, 16 Aug 2012, Ludo Brands wrote:
Unfortunately your example illustrates nicely the difference.
InitializeInterbase is unknown in the fpc I'm using. InitialiseIBase60 does
exist but you have to add the non-trivial ibase60dyn to the uses clause to
get to it (Google has 146 hits for "Initi
On Thu, 16 Aug 2012, Luca Olivetti wrote:
Al 16/08/2012 9:50, En/na Michael Van Canneyt ha escrit:
On Thu, 16 Aug 2012, Marco van de Voort wrote:
If dynamic linking is so great, why do we constant, constantly have these
discussions and worse all these illadvised changes?
Because the
On Thu, 16 Aug 2012, Ludo Brands wrote:
But if people want a point-and-click interface, we can always
make a new component: TSQLDBLibraryLoader or so. With a
property for the library name of each supported DB, so we
need only 1 component.
I understand you prefer the perfect solution instea
On Thu, 16 Aug 2012, Ludo Brands wrote:
Well, first of all, I don't think something needs to be
changed in the first place :)
So, if we must do something extra anyway, then I prefer it to be the
correct solution, and not a shortcut.
And that is how also this attempt to improve sqldb grinds
On Thu, 16 Aug 2012, Marco van de Voort wrote:
In our previous episode, Ludo Brands said:
of TIBConnection, non of these difficulties would exist.
If drastic changes (like postponing header initialization till larger parts
of the LCL are in the air) must be made, I rather fix all issues.
On Thu, 16 Aug 2012, Ludo Brands wrote:
Why do you say that?
It's not because I personally think that no extra solution is needed,
that I am oblivious to the problems of users.
We'll solve the problem, thereby improving sqldb.
I will implement it myself next week:
* Change default library n
On Thu, 16 Aug 2012, Graeme Geldenhuys wrote:
Hi Michael,
On 16 August 2012 14:11, Michael Van Canneyt wrote:
We'll solve the problem, thereby improving sqldb. I will implement it myself
next week:
* Change default library names to make more sense.
* Implement library loader for
On Thu, 16 Aug 2012, Graeme Geldenhuys wrote:
On 16 August 2012 17:33, Jonas Maebe wrote:
My plan (for linux) was:
Search fbclient.so search fbclient.so.2 (2.x series of firebird)
search fbclient.so.1 (1.x series of Firebird) if the library name has not been
specified.
fbclient.so should
On Thu, 16 Aug 2012, Ludo Brands wrote:
If someone knows the correct version numbers for the various
postgres and mysql libs,
that would be appreciated.
libpq.so.3 pg 7.3 7.4
libpq.so.4 pg 8.0 8.1
libpq.so.5 pg >= 8.2.4
libmysqlclient.so.13mysql 4.0
libmysqlclient.so.14mysql 4
Hi,
After recent discussions about which library to load when loading DB client
libraries, I changed the default names for Firebird, MySQL, Postgres.
araminta: >./loadlibdemo list
Available connection types:
Firebird, Default library name: libfbclient.so.2.5
MySQL 4.0, Default library name: libm
Hi,
As you know, FPC uses fpmake to compile everything in packages.
As I've been steadily improving fcl-passrc for fpdoc,
(it's now almost on par with the compiler, barring errors and assembler statetements),
I created a small tool pas2fpm which takes as input a bunch of unit names,
and outpu
Hi,
for those that do unit testing, I committed a small tool "pas2ut" which
analyses a unit, and creates a unit with a number of (empty) test cases.
Obviously, the unit should be compileable (well, at least it must be
parseable).
The output is very configurable, and should cover a lot of case
On Fri, 31 Aug 2012, Kenneth Cochran wrote:
First I'll say I know very little about the inner workings of an actual
compiler. I took a course on formal language theory ages ago so I do have some
understanding of the theory. Lately my interests have been pulling me toward
projects that either
On Sun, 2 Sep 2012, Kenneth Cochran wrote:
My goal is to make it an IDE expert so the CodeTools parser sounds ideal. Just
didn't want to reinvent the wheel. I also wanted
to avoid the problem Delphi has been plagued with for years, that is,
CodeInsight flagging code with syntax errors that
On Mon, 3 Sep 2012, Krzysztof wrote:
Hi,
I have script which install my application in /opt/myapp directory.
This script check if user is root so it can set permissions to read
and access as executable. Everything works fine. After installation I
can run this application, but It doesn't has a
On Mon, 24 Sep 2012, Reinier Olislagers wrote:
On 24-9-2012 17:22, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote:
On Mon, 24 Sep 2012, Reinier Olislagers wrote:
2. Presumably sdfdataset is used to exchange data with Delphi systems
using tstrings.delimitedtext. Therefore I'm stressing
On Mon, 24 Sep 2012, Ludo Brands wrote:
Is there some defined on-disk format that sdfdataset should be
following?
As I understood it, it is either fixed length or CSV.
CSV as in http://tools.ietf.org/html/rfc4180
That is in contradiction with the existing implementation as well as the
On Mon, 24 Sep 2012, Ludo Brands wrote:
That is in contradiction with the existing implementation
as well as
the following comments following comments in SDFData.pp
14/Ago/01 Version 2.00 (Orlando Arrocha)
John Dung Nguyen showed me how to make this
compatible with
You are erro
On Sat, 6 Oct 2012, Reinier Olislagers wrote:
On 6-10-2012 6:52, Reinier Olislagers wrote:
Still fighting makefiles with my db fpcunit listener.
I can get it to compile with fpc make all
However make install fails with
Installation package fcl-extra for target x86_64-linux succeeded
Start c
On Mon, 15 Oct 2012, waldo kitty wrote:
how do i set the useragent field in a client built with fphttpclient?
i'm starting with the example "httpget" and then moving on from there...
i've tried various WAGs like
RequestHeaders(fieldUserAgent,'my user agent');
RequestHeaders('User-Agent','m
On Sun, 28 Oct 2012, bsquared wrote:
Hi all,
It has been some time since I have used FPC/Laz. I was looking for some
information on 'observer pattern' the other day, and I found this
article[1]. I notice that it is a bit old, and it makes me question
whether or not I have made an error foll
On Mon, 29 Oct 2012, 印場 乃亜 wrote:
Greetings,
I am familiar with the basic underlying methods available for transferring data
between processes on Windows and Unix, i.e. Pipes, Shared memory, and TCP/IP -
but what I am not familiar with is any higher level functionality that may be
availabl
On Mon, 5 Nov 2012, ik wrote:
Hello,
I wish to test if a method has raised an exception for a value
(something that should make the test pass) or not.
For example:
function TestNum(ch : Char) : Byte;
begin
if UpCase(ch) in ['A'..'F', '0'..'9'] then
...
else
raise Exception.Create('I
On Mon, 5 Nov 2012, ik wrote:
On Mon, Nov 5, 2012 at 2:45 PM, Michael Van Canneyt
wrote:
On Mon, 5 Nov 2012, ik wrote:
Hello,
I wish to test if a method has raised an exception for a value
(something that should make the test pass) or not.
For example:
function TestNum(ch : Char
On Mon, 5 Nov 2012, Graeme Geldenhuys wrote:
On 2012-11-05 12:49, ik wrote:
So how do I do it ?
Create a method of the test class, and pass that to AssertException.
Alternatively, do it manually as follows:
try
si.SetSlideName('001~z~1~a~4~d~1.1.2.swf');
si.SlideTypeDB;
except
On Thu, 8 Nov 2012, bsquared wrote:
Hello,
I thought I would put this out to see what helpful information I could
gather.
I am in need of some JSON and HTTP functionality. I am thinking about using
some pieces from WST and I was looking for some input on this.
What I am doing is pullin
On Thu, 8 Nov 2012, bsquared wrote:
On 11/08/2012 09:47 AM, Michael Van Canneyt wrote:
On Thu, 8 Nov 2012, bsquared wrote:
Hello,
I thought I would put this out to see what helpful information I could
gather.
I am in need of some JSON and HTTP functionality. I am thinking about
using
On Thu, 8 Nov 2012, bsquared wrote:
On 11/08/2012 09:56 AM, Michael Van Canneyt wrote:
On Thu, 8 Nov 2012, bsquared wrote:
On 11/08/2012 09:47 AM, Michael Van Canneyt wrote:
On Thu, 8 Nov 2012, bsquared wrote:
Hello,
I thought I would put this out to see what helpful information I
On Thu, 8 Nov 2012, waldo kitty wrote:
i'm looking at creating a REST web application client... nothing fancy...
command line oriented... fire it up, it logs into the website and performs
the REST queries saving the output to named files...
i have no clue where to start looking in the FPC
On Thu, 8 Nov 2012, waldo kitty wrote:
"normal" login on an existing non-REST site and then there's a new method
of
login on the REST site... i haven't been able to figure out how to convert
my
fpweb client so that it properly logs in and retains the login so that
subsequent queries will wor
On Fri, 23 Nov 2012, luciano de souza wrote:
Hello listers,
Using Synapse, the developer has very good features to deal with the
HTTP protocol. But imagine you want only to do a "get" in a URL and
take a string back. I imagine it can be done with the standard units
of Freepascal. Is it true? H
On Fri, 23 Nov 2012, Leonardo M. Ramé wrote:
From: silvioprog
To: FPC-Pascal users discussions
Sent: Friday, November 23, 2012 2:38 PM
Subject: Re: [fpc-pascal] A simple HTTP request with FPC standard units
Done:
http://bugs.freepascal.org/view.php?i
On Fri, 23 Nov 2012, Leonardo M. Ramé wrote:
You mean probably
s := TFPCustomHTTPClient.Get('http://a_site/a_page');
It could be done, but it will need to create an instance anyway.
Although I suspect such a simple case is a minority.
Michael.
___
as I know, SMTP is a fairly simple protocol, probably it is not
too hard to implement.
Michael.
2012/11/23, Michael Van Canneyt :
On Fri, 23 Nov 2012, Leonardo M. Ramé wrote:
You mean probably
s := TFPCustomHTTPClient.Get('http://a_site/a_page');
It could be done, but it
On Sat, 24 Nov 2012, Howard Page-Clark wrote:
Describing the Case statement The FPLanguageReference.pdf 10.2.2 says:
The constants appearing in the various case parts must be known at
compile-time, and can be of the following types : enumeration types, Ordinal
types (except boolean), and ch
On Sun, 2 Dec 2012, Reinier Olislagers wrote:
With this code:
procedure SortBufDataSet(DataSet: TBufDataSet; const FieldName: string);
var
Index_Name: string;
begin
Index_Name := FieldName + '__IdxA';
if (DataSet.IndexDefs.Find(Index_Name)<>Nil) then
...
the last line throws an exception if
On Mon, 3 Dec 2012, luciano de souza wrote:
Hello all,
Browsing in FPC directories, I found several occurances of FPMake.pp.
It's a makefile for Freepascal programs.
In the /bin directory, I found "pas2fm" that reads a unit and creates
a fpmake prototype program.
As an example, I compile fpmak
On Mon, 3 Dec 2012, ik wrote:
Hello,
When I try to get the length of AnsiString, it returns me segment fault.
I'm not sure if I'm doing something wrong:
var
s : AnsiString;
l : word;
begin
SetLength(s, 1024);
FillChar(s, 1024, '*');
You are overwriting the pointer. S is (behind the sc
On Mon, 3 Dec 2012, Jonas Maebe wrote:
On 03 Dec 2012, at 11:13, Michael Van Canneyt wrote:
On Mon, 3 Dec 2012, ik wrote:
var
s : AnsiString;
l : word;
begin
SetLength(s, 1024);
FillChar(s, 1024, '*');
You are overwriting the pointer. S is (behind the scenes) a pointer to
On Mon, 3 Dec 2012, Jonas Maebe wrote:
On 03 Dec 2012, at 11:52, Michael Van Canneyt wrote:
On Mon, 3 Dec 2012, Jonas Maebe wrote:
On 03 Dec 2012, at 11:13, Michael Van Canneyt wrote:
You are overwriting the pointer. S is (behind the scenes) a pointer to a
memory area. You should do
On Mon, 3 Dec 2012, Marcos Douglas wrote:
On Mon, Dec 3, 2012 at 2:03 PM, wrote:
On Mon, 3 Dec 2012, silvioprog wrote:
Guys,
Is "Assign" method implemented for dataset in FPC?
No, it is not. Datasets differ wildly in how they access and store data.
Michael.
But all descendents us
On Tue, 4 Dec 2012, Graeme Geldenhuys wrote:
Hi Michael (or anybody else that could help),
I have a xml description file with the following elements.
The first one (for ImageName property) which doesn't list the unit name
in the link attribute, is never found by fpdoc. So the generated
docum
On Tue, 4 Dec 2012, Graeme Geldenhuys wrote:
Hi,
Is there an option in fpdoc description files to exclude a class, type,
global variable, global procedure etc from documentation?
Something like PasDoc's @exclude functionality?
I just want to know if it already exists, or if somebody is alr
On Tue, 4 Dec 2012, Graeme Geldenhuys wrote:
Hi,
This seems new in FPC 2.7.1. I have some 15-20 units in my .xml project
file that fpdoc uses, but only a select few units generate output like
"Parsing used unit ..."
What does that output mean? Is in some error? And why the output only
for a
On Tue, 4 Dec 2012, Graeme Geldenhuys wrote:
On 2012-12-04 16:52, Michael Van Canneyt wrote:
Imagine unit A and unit B. Unit A references unit B.
You create somewhere in A's documentation a link to an identifier in unit B.
OK thanks. I'll try and reorder my units in the proje
On Fri, 7 Dec 2012, Reimar Grabowski wrote:
Hi,
I have a relatively simple JSON object consisting of some integer and
string fields and a large (500-50 entries) float array. Following the
parsedemo.pp I extract the values from JSON and put them in my pascal
class. All works as expected
1 - 100 of 4096 matches
Mail list logo