Marco Alvarado wrote:
Sorry for asking, what is "FPC's tmt1" ?
-Marco
2008/2/4, Mark Morgan Lloyd <[EMAIL PROTECTED]>:
I wonder whether it would be possible to patch affinity support into the
underlying TThread object? OTOH I'm currently looking at FPC's t
Is there an easy and portable way to rotate the text on a TPageControl tab so
that it is vertical, or alternatively just to have a simple coloured tab? I'm
musing about putting tabs on the right of an edit window but want to keep
things fairly unobtrusive.
--
Mark Morgan Lloyd
markML
ssen wrote:
Marco Alvarado wrote:
I'm using SetThreadAffinityMask() on Windows to set the processor for
a given TThread object. What can I use on Linux?
On linux you could use sched_setaffinity, but I don't think fpc has
wrapped that yet. Linux man page says it's linux specific.
--
What's best practice for an equivalent to Winsock's gethostbyname() or a
comparable resolver interface? I see it's been raised before, with suggestions
to use netdb or THost from inet.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author'
ikia article is that I've found the Delphi-style
DB-aware components to be a very bad design decision, since they assume that a
connection to the database can be held open for an extended period. This
assumption is generally invalid when the server is behind a load-balancing or
failover pro
#x27;ve got a program here using multiple threads on Windows, linux/386 and
linux/sparc. Obviously all user interaction is handled by the main thread,
various UDP etc. is running in the background.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author&
e not in the socket
units, but in the general api.
I know. Which I presume is why I still haev to use WinSock on Win-32: there
simply isn't a direct equivalent to the select() function.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, n
Marco van de Voort wrote:
On Sun, Jan 13, 2008 at 11:42:30AM +, Mark Morgan Lloyd wrote:
Sorry but this is another "where do I find" question. I'm doing various
stuff which is best done at the level of the sockets library, I might wrap
it as a component later. What is the
s is no problem- they're all in winsock.
When using the sockets library I'm getting compiler warnings such as 'Symbol
"RecvFrom" is deprecated'. What exactly is something trying to tell me here,
and what should I be doing about it?
--
Mark Morgan Lloyd
markMLl .AT. t
Henry Vermaak wrote:
On 30/12/2007, Mark Morgan Lloyd <[EMAIL PROTECTED]> wrote:
What's the recommended way of getting the current process ID portably? Ideally
to work in NT4 as well as Linux.
GetProcessID looks like the thing you need:
http://freepascal.org/docs-html
What's the recommended way of getting the current process ID portably? Ideally
to work in NT4 as well as Linux.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or
tuff that I've previously found I needed to do
direct onto winsock.
What I'm actually struggling with is select() and in particular finding where
to find pfdset/tfdset for its parameters. I can see these in winsock.pp but if
this isn't the preferred library where do I find
imilar functionality,
including winsock.pp and sockets.pp- which should I be using?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscri
of using as the underlying document set- a collection of
HTML files etc.?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To uns
Andrew Haines wrote:
Mark Morgan Lloyd wrote:
Marco van de Voort wrote:
Exactly, and somebody stubborn like me who persists in using a non-x86
CPU is really left out in the cold. HTML looks like the winner but I
still don't know if htmlhelp can jump to the middle of a document.
As far
Marco van de Voort wrote:
On Sun, Dec 09, 2007 at 03:00:10PM +, Mark Morgan Lloyd wrote:
Marco van de Voort wrote:
I use Lyx here, exporting to PDF with thumbnails, automatic TOC etc.
Same here. I use OO for work for technical documentation, and that
experience convinced me to stay with
g at the htmlhelp stuff to see whether it supports a fragment
specification in the URL.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To
Mark Morgan Lloyd wrote:
The test app that I'm recoding to "get into" Lazarus has a couple of
right-button options: one of them treats highlighted text as a file name
and opens it using another instance of the same program, the other
treats it as a command and executes it. U
e same program, the other treats it as a
command and executes it. Under Win-32 the command can have a .txt suffix which
opens whatever editor is associated, an http: scheme which opens the default
browser and so on, it would be nice to be able to duplicate this functionality
even if it was limit
tc.
exposes an API (dcom/dbus etc.) that can do this?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [E
x27;ve not worked out are
(a) how to thread a sequence of sections into an article (with multiple
articles in the overall document) and (b) how to tell a reader to start at a
given article.
If the reader could be told to start in a specific place it would make PDF a
viable helpfile format.
--
M
like classic "music ruled" listing paper?
event OnSpecialLineColors
Ah- very nice, thanks :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
__
of doing it in the basic editor the effect could possibly be combined with
foreground highlighting for e.g. assembler listings.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's,
with thumbnails, automatic TOC etc.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PROTECTED] with
Vincent Snijders wrote:
Mark Morgan Lloyd schreef:
Is there a macro or variable which exposes the version of lazarus in
use so that it can be incorporated into code? I've just put the
compilation date/time and FPC version into a dialogue box to help
cross-platform debugging but can'
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the S
late.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe"
he last few days.
Only thing I do notice in my new setup is that Solaris appears to want Genuine
Sun hardware. There's limits to how much money and space I'm prepared to
invest, and I think that if I could help the project along on just the
SPARC/Linux side I might still be doing some
;d managed to get
working as of 23rd August. However I'd add that the 2.2.0 compiler is much
improved, and would suggest that rather than trying to compile Lazarus with
available older Solaris binaries it would probably be worth focussing on
getting a 2.2.0 compiler built- and te
cannot load?
Pardon my ignorance, but is that a bigendian or littlendian architecture?
I'm trying to track down what might be the same type of problem on SPARC under
Linux, but I'm afraid that I've got my hands rather full of (off-project)
stuff at present.
--
Mark Morgan Ll
Marc Weustink wrote:
Mark Morgan Lloyd wrote:
Dominique Louis wrote:
Hi,
Has anyone else encountered a problem on Mac OS X where by when you
try to perform a TImage.Picture.Assign( my_image ); it causes an
access violation?
In this case the my_image is a TBitmap, if that makes any
ng your reputation and money on the line.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PROTECTED] wit
would be appreciated.
I found yesterday the same error on amd64.
Try 'make clean all PP=ppcsparc'.
I suspected it might affect other targets. Fix looking good here, I'm away
from my desk for an hour and will report further when I know more.
--
Mark Morgan Lloyd
markMLl .AT. te
Vincent Snijders wrote:
Mark Morgan Lloyd schreef:
I've spent some time tearing what little remains of my hair out over
this one :-)
I've got 0.9.22 on several machines- Win-32 (NT4), Linux-x86 (Debian >
Etch) and Linux-SPARC. I'd be nearer the bleeding edge if I had m
SP- t-online.de- which started
generating some dubious Received: headers.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsub
hasn't shown this to be a known problem and I don't see it in the bug
tracker. Speaking as a Lazarus beginner (and being very aware that I've
possibly made a silly mistake somewhere) should I be submitting this to the
bug tracker?
--
Mark Morgan Lloyd
markMLl .AT. teleme
? It's too immature
to actually be useful for anything, but it's worth watching.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
ter- have a fix should I post here or
where do I find bug management?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: m
x27;ll carry on tinkering and might raise specific problems later on.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: m
lazarus.pp(114,42) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/usr/local/share/lazarus-0.9.22-1/ide'
I've got a horrid feeling that I'm out of my depth with this one, any thoughts
(or sympat
Mark Morgan Lloyd wrote:
You can compare with your results. The tests are processor
independent, i.e.
the idea is that all CPU's get more or less the same result.
OK, so the tests run OK for Solaris but might be broken for Linux.
I'm trying to revert to 2.0.4 here to see to what e
to what extent that changes things.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PROTECTED] with
eted and appeared to give me sensible results (although not being an FPC
guru I don't know whether they were the /right/ sensible results :-) but on
SPARC they bombed early on- I interpreted that as bad maintenance of the test
suite.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
issue I have spent the
afternoon tinkering but can't get simple Pascal (i.e. not relying on the
behavior of Lazarus components) to fail.
I can put a bit more time into this, but I don't know SPARC very well at the
machine level and my experience with gdb is limited.
--
Mark Morgan
ey compile fixes- or at least changes- the
problem. That suggests that it might in fact be an FPC code-generation problem.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of hi
to be OK and Lazarus is so very close to working that I'd be surprised if this
was the result of a compiler problem.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
till needed to be told where the FPC sources were before it
was much use and also where gdb is.
So far I've made no serious attempt to use anything other than GTK v1 widgets.
QT's out since it will be some while before Debian bundles v4.
--
Mark Morgan Lloyd
markMLl .AT. teleme
I select I end up with a screed of undefined references to e.g.
gtk_signal_connect and gdk_draw_pixmap (amongst others). I'm obviously missing
something fairly basic, but can anybody suggest what and is there anything
that can be done to pre-check the available libraries etc. before a build
x27;m planning to use is running Sarge
(and will stay that way until Qemu runs reliably on Etch) I might be best off
on both x86 and SPARC starting off with binaries of the compiler from
freepascal.org and then compiling Lazarus as appropriate.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DO
cognita. Any comments
on the x86 aspect?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PROTECTED] with
l aware that I've got a significant amount of work
to do to get this combination running, but have been having a reorganisation
specifically to make it easier to put time into both FPC and Lazarus on these
two platforms.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
e the GUI is laid out it's protected by default.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PRO
Hope this isn't an FAQ- does the IDE have a setting that locks anything opened
by the form designer so that components can be edited in the Object Inspector
window but are protected from casual resizing etc.?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above ar
Vincent Snijders wrote:
> I don't know Tee-Chart nor your requirements.
>
> Did you look at http://wiki.lazarus.freepascal.org/TAChart ?
I have now and I'll investigate further :-)
It might be some while though, at present I'm just trying to review things we
might need
m, and is less version specific)
>
> For the resource side of memproof, I wouldn't know. Maybe valgrind.
Thanks, will investigate. I'm looking forward to having another bash at getting
Lazarus working on SPARC/Linux.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Op
brandys wrote:
> > Is there a Lazarus equivalent of Atanas Stoyanov's MemProof?
> Of course.Very detailed.Check Project compiler options (especially HeapTrc
> unit)
Thanks, I'll investigate.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are t
much MS stuff as possible- it's
far too shaky when an unattended program is being started/stopped under script
control dozens of times a day.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of h
Is there a Lazarus equivalent of Atanas Stoyanov's MemProof?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: m
ff the top - but
with the option of being able to set background/foreground colours on a
per-character basis.
In the past I've done this by subclassing a StringGrid and working directly onto
the canvas, but does anybody have any better ideas?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT
are
SPARC-specific.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PROTECTED] with
"
think that should be
relevant to this one. Something that I think I could usefully try is building
Lazarus for x86 just in case there's something undetected in the version of the
sources that I've got.
I wonder whether I could ask what this list's preferred policy is about CCing
messa
ocalisation or cross-compiler issues are relevant. I've got a clean 2.0.4
running on SPARC, generating SPARC code, which compiles Lazarus (described as
0.9.16 beta in the about box). So in other words Lazarus is almost OK on SPARC,
with exception problems as I described.
--
Mark Morgan Lloyd
Marco van de Voort wrote:
> fpc -h | grep -Xd
OK, but is there anything that will cause the compiler to dump what it considers
to be its search paths etc., like Perl's -V option?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not
phi. I've been promised a couple of
machines slightly faster than the ones I'm using by a certain hardware
manufacturer :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's,
Lord Satan wrote:
> Not on Debian but Ubuntu:
>
> [EMAIL PROTECTED]:~$ dpkg -L libglib1.2-dev
TFT. I think that the main requirement on Debian is libgdk-pixbuf-dev, which
also installs libgtk1.2-dev.
I'm going to get some sleep while that lot sorts itself out :-)
--
Mark Morgan
which at present takes quite a while, I'll be back.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMAIL PROTECTE
so I presume that Debian wouldn't set one up for v1.2
either.
Allowing that the object of the exercise is (a) to have working FPC and Lazarus
compilers and (b) not to break my development system by setting up any
inappropriate symlinks, can anybody comment on the best way of sorting out the
uot; do you mean that facility has just gone in rather than
being in the standard release? I tried that before posting and it didn't work,
but I didn't check the symbol names carefully and they might not be the most
appropriate.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[O
Felipe Monteiro de Carvalho wrote:
>
> On 8/3/06, Mark Morgan Lloyd <[EMAIL PROTECTED]> wrote:
> > Can the CPU and OS lazarus is generating code for be inserted automatically
> > in the target file name? Something like myproject_$OSTARGET_$CPUTARGET in
> > the p
Can the CPU and OS lazarus is generating code for be inserted automatically in
the target file name? Something like myproject_$OSTARGET_$CPUTARGET in the
project dialaogue?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employe
structure with some elements ignored by the OS. I'm sure I've come
across cases where there was a list of sizes AKA magic numbers for use rather
than a simple sizeof(), but I can't say which compiler or API family.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
t means different CPUs
and OSes.
> If you mean cross compiling:
> You can use makros in output directory names. See all lazarus packages for
> example.
Thanks for that, will investigate :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the aut
sume that this approach
tends to put the created binaries in the same place, so the technique is to
compile then extract the things to be run before going to the next architecture.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his empl
l
however is some sort of visual indication that clicking on a menu entry will put
a tick/check mark next to it- is this doable?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
completely out of
step during execution :-) x86 NT4 SP6a.
I hope this isn't an FAQ, but is it possible to embed a default fount in an app
in such a way that's it's portable across operating systems, and if so where can
I find info?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT
gh.
Is there a preferred directory organisation for this sort of thing? I'm assuming
that I will end up with distinct forms and user-interface code for Delphi and
Lazarus but do I also need to maintain parallel Lazarus projects by target
processor and OS?
--
Mark Morgan Lloyd
markMLl .AT. t
Mark Morgan Lloyd wrote:
>
> Martin Smat wrote:
>
> > I think I found the source of your problem. It is caused by using
> > development version of FPC 2.1.1 for compiling the daily snapshots. In
> > this version some internal Windows API structures were extended w
to
speed compiling things. Does it go with .16 or .17? I reckon that if FPC is
implicated the sooner we can characterise the problem the better for everybody.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author'
o. Context (right-click) editor menu is OK. Didn't get to test things
like the TMainMenu property editor for obvious reasons.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of
to get up to speed and I have a lot of other demands on my time.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe: mail [EMA
Thanks, I'll try that out over the next few hours.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubsc
rce RPM? I'm afraid I'm somewhat inexperienced when
it comes to things like CVS.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
ffect (i.e. if there's any
text there it tracks the background colour), this was OK when I last looked
which I think was 0.9.14, I've not yet tried it on Linux.
Apart from that it looks good and I really do wish I could put more time into
this and possibly make some concrete contributio
it was when I had my last session around a
year ago: congratulations to all concerned, and I hope to be able to make some
contribution.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, n
Does anybody have Lazarus/FPC running on SPARC? I've got two candidate systems
here- an SS20 running Debian "Sarge" and a SPARCserver 1000E running "Woody"-
but I hope to have some more recent hardware before too long.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT
85 matches
Mail list logo