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 tmt1 running
under Linux on a 14-processor
:
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.
--
Mark Morgan Lloyd
markMLl
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
markMLl
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's, not those of his
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's, not those of his employers or colleagues
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 proxy.
--
Mark Morgan
they are 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, not those of his
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. telemetry.co .DOT. uk
[Opinions above
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 correct way to get
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/rtl/system
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 colleagues
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 them?
--
Mark Morgan Lloyd
markMLl
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 as I
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 unsubscribe: mail [EMAIL PROTECTED
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 limited to desktops which conform to freedesktop.org.
--
Mark Morgan
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. Under Win-32
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 unsubscribe: mail [EMAIL PROTECTED
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
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.
--
Mark Morgan
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 [EMAIL PROTECTED
, 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
unsubscribe
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, not those of his employers or colleagues
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]
_
To unsubscribe: mail [EMAIL
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 Subject
archives at http
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't see how
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 Subject
archives at http
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 Lloyd
markMLl
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
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 tested- for Solaris on both SPARC and x86.
--
Mark Morgan Lloyd
markMLl
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 something worthwhile.
--
Mark Morgan Lloyd
.
--
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 Subject
archives
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 more
time and if 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. telemetry.co .DOT. uk
[Opinions above
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. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
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]
_
To unsubscribe: mail [EMAIL PROTECTED
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: mail [EMAIL PROTECTED
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: mail [EMAIL PROTECTED
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 sympathy) would be appreciated.
--
Mark Morgan Lloyd
markMLl
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 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
unsubscribe
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 Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
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
[Opinions above are the author's, not those of his employers
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]
_
To unsubscribe: mail [EMAIL PROTECTED
- 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 his employers or colleagues
v1 widgets.
QT's out since it will be some while before Debian bundles v4.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
To unsubscribe
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 is
attempted?
--
Mark Morgan Lloyd
markMLl
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 .DOT. uk
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 above are the author's, not those of his employers or colleagues
.
--
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 Subject
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 to buy.
--
Mark Morgan
)
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
[Opinions above are the author's, not those of his employers
- 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. uk
[Opinions
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: mail [EMAIL
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 his employers or colleagues
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 the author's, not those
-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
unsubscribe as the Subject
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, not those of his employers or colleagues
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 those of his
. 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
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
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
message posters to make sure that relevant threads don't get lost in the noise?
--
Mark Morgan Lloyd
markMLl
.
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
missing file or symlink?
--
Mark Morgan Lloyd
markMLl
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 Lloyd
markMLl
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 employers
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 project dialaogue?
You can achieve
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
[Opinions above are the author's, not those of his
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 author's, not those of his employers or colleagues
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 above are the author's, not those of his employers or colleagues
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's, not those of his employers or colleagues
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 with
some new properties defined since
.
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. telemetry.co .DOT. uk
and who doesn't write for or support external users I wouldn't
really miss the pretty pictures next to the menu text. What would be useful
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
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 employers or colleagues
. 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 contributions.
--
Mark Morgan
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]
_
To unsubscribe: mail [EMAIL
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 unsubscribe: mail [EMAIL PROTECTED
.
--
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 Subject
archives
-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 his employers or colleagues
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, not those of his employers or colleagues
78 matches
Mail list logo