Re: [fpc-pascal] ObjectBinaryToText - how to write only selected property?

2012-05-06 Thread Martin Schreiber
On Saturday 05 May 2012 18:15:51 Krzysztof wrote: > Hi, > > ObjectBinaryToText method can save object structure to string, but how > save only some propertys? I could use RTTI and TypeInfo, but > ObjectBinaryToText can parse property hierarchy > (Propery1.Subproperty1.Color etc). Or how I can save

Re: [fpc-pascal] buffered filestream

2012-06-10 Thread Martin Schreiber
On Sunday 10 June 2012 15:00:20 Mattias Gaertner wrote: > Hi, > > Is there already a buffered file stream in the fpc sources? > Or maybe a generic buffered input stream that can be used with > TFileStream? > MSEgui has a bufstream too: tcustombufstream in lib/common/kernel/msestream.pas, I don't k

Re: [fpc-pascal] Re: linux: shouldwehard-codeversionedorunversionedshared libraries in our apps?

2012-08-16 Thread Martin Schreiber
On Thursday 16 August 2012 18:11:34 Michael Van Canneyt 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. > MSEgui searches for the *.so as last optio

Re: [fpc-pascal] Firebird: bulk insert performance: suggestions?

2012-09-07 Thread Martin Schreiber
On Saturday 08 September 2012 01:05:28 Graeme Geldenhuys wrote: > On 07/09/12 12:12, michael.vancann...@wisa.be wrote: > > I once did tests with that (600.000 records) and did not notice any > > influence of the transaction control. > > Same here... I've imported 100's of thousands of records with

[fpc-pascal] MSEide+MSEgui 2.8.4

2012-12-14 Thread Martin Schreiber
Hi, MSEide+MSEgui 2.8.4 has been released: https://sourceforge.net/projects/mseide-msegui/ This probably is the last version which depends on FPC-FCL. Upcoming 3.0 release will have own implementations of TPersistent, TComponent, the streaming system, db.pas and other parts of the RTL. There i

Re: [fpc-pascal] Strings - suggestions

2012-12-22 Thread Martin Schreiber
On Saturday 22 December 2012 12:55:12 Michael Van Canneyt wrote: [...] > - The {$H } directive will be extended so you can choose which string type > you need per unit. (ansi/wide/utf16/utf8...) >    This is different from Delphi, where you don't have this choice: > String=Widestring. You probably

Re: [fpc-pascal] Strings - suggestions

2012-12-22 Thread Martin Schreiber
On Saturday 22 December 2012 15:45:13 Michael Van Canneyt wrote: > On Sat, 22 Dec 2012, Martin Schreiber wrote: > > UnicodeString or codepage aware cpstrnew? > > 'codepage aware' just means that you can specify a charsize/codepage. > A unicode string is just one t

Re: [fpc-pascal] Accessing low-level Firebird facilities

2012-12-22 Thread Martin Schreiber
On Saturday 22 December 2012 19:00:14 Mark Morgan Lloyd wrote: > Can somebody please lend me a hand making three sets of calls to (I > think) ibase60dyn.pp please. I've written functions to make and poll > asynchronous notifications for PostgreSQL, but I need the corresponding > code for Firebird.

[fpc-pascal] Unit alias

2013-01-19 Thread Martin Schreiber
Hi, Does FPC support unit alias commandline parameter like Delphi? " -A= = Set unit alias " http://docwiki.embarcadero.com/RADStudio/XE3/en/DCC32.EXE,_the_Delphi_Command_Line_Compiler Thanks, Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepas

Re: [fpc-pascal] Does FPC 2.8.0 can actually still be called Pascal ?

2013-03-01 Thread Martin Schreiber
Am 01.03.2013 07:56, schrieb Jürgen Hestermann: Am 2013-03-01 04:41, schrieb dmitry boyarintsev: All the new "strange" features doesn't really matter as long as: 1) the backward compatibility is in place (and or guidelines are given how to make the code compatible with minimal efforts) 2) execu

[fpc-pascal] Linked list constant

2013-03-18 Thread Martin Schreiber
Hi, I need to build linked list constants, something like " type pbty = ^bty; aty = record b: pbty; end; paty = ^aty; bty = record a: paty; end; const b0: bty = (a: @a0); //Error: Identifier not found "a0" a0: aty = (b: @b0); " Is it possible to make a forward declaration for a0?

Re: [fpc-pascal] Re: Linked list constant

2013-03-18 Thread Martin Schreiber
On Monday 18 March 2013 14:27:25 leledumbo wrote: > > Is it possible to make a forward declaration for a0? > > No, forward type declaration is possible (with the restriction that the > type must be based on pointer and the real declaration starts in the same > type block), but forward variable decl

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-18 Thread Martin Schreiber
On Tuesday 19 March 2013 00:05:39 Justin Smyth wrote: > Does that allow debugging via Lazarus ? > Currently I use MSEide in order to develop a M3 based based project (Energy Micro Tiny Gecko). Although with gcc but FPC could be used too I assume. Debugging connection is a Segger J-Link provided b

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-19 Thread Martin Schreiber
On Tuesday 19 March 2013 08:11:49 Justin Smyth wrote: > Thanks, i am waiting to hear back regarding some suggest changes that were > suggest in the debugging section that Michael Ring was working on a while > ago, i want to write some code in lazarus for my ARM Cortex M3 and debug it > in lazarus (

Re: [fpc-pascal] Re: Linked list constant

2013-03-19 Thread Martin Schreiber
On Tuesday 19 March 2013 09:06:31 leledumbo wrote: > > Really? No gain in the beloved readability? > > Not for me, I always initialize code in "executable" section, keeping the > declaration section clean. That's what "readable" to me. > > > And it seems to me a "const" should not be changed by cod

Re: [fpc-pascal] Re: Linked list constant

2013-03-19 Thread Martin Schreiber
On Tuesday 19 March 2013 09:38:43 Sven Barth wrote: > > > > Delphi has {$J-} in order to set them readonly. > > Do you know whether Delphi has by default $J+ or $J-? > {$J+} in Delphi 7. > > Another problem with Free Pascal in this context is that it is AFAIK not > > possible to define forward typ

Re: [fpc-pascal] Re: Feature proposal: function-based assignment operatorst

2013-03-29 Thread Martin Schreiber
On Friday 29 March 2013 10:53:04 Jürgen Hestermann wrote: > Am 2013-03-29 10:35, schrieb Sven Barth: > > We value backwards compatiblity very high and this is part of it, no > > matter whether these c-like operators are considered good or bad... > > But that's not the point here. The problem has no

Re: [fpc-pascal] Re: FBLib (firebird library for FPC, Delphi and Kylix) has moved

2013-04-07 Thread Martin Schreiber
On Sunday 07 April 2013 04:10:18 reinierolislag...@gmail.com wrote: > > I'd recommend Graeme's version as well - for one it has increased BLOB > writing speed due to a fix that also went into sqldb (but AFAIK not into > msegui). > Do you refer to the segment size? MSEgui uses $4000 by default. The

Re: [fpc-pascal] Re: FBLib (firebird library for FPC, Delphi and Kylix) has moved

2013-04-07 Thread Martin Schreiber
On Monday 08 April 2013 08:42:35 Reinier Olislagers wrote: > On 8-4-2013 8:25, Martin Schreiber wrote: > > On Sunday 07 April 2013 04:10:18 reinierolislag...@gmail.com wrote: > >> I'd recommend Graeme's version as well - for one it has increased BLOB > >> writ

[fpc-pascal] MSEide+MSEgui 3.0beta1

2013-06-29 Thread Martin Schreiber
Hi, MSEide+MSEgui 3.0beta1 is available. https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/3.0beta1/ This is the first release without dependence on FPC FCL and streaming system. Please change "db" to "mdb" and add "mclasses" after "classes" in uses of your units if necessary.

Re: [fpc-pascal] is there a circular queue implementation already in FPC or FCL?

2013-07-26 Thread Martin Schreiber
On Friday 26 July 2013 17:19:52 Dennis Poon wrote: > if not, I shall write my own. Just want to check first. > All tdatalist descendants in MSEgui can be used as circular queue: http://gitorious.org/mseide-msegui/mseide-msegui/blobs/master/lib/common/kernel/msedatalist.pas There is also tpointerqu

[fpc-pascal] MSEide+MSEgui 3.0

2013-09-27 Thread Martin Schreiber
Hi, MSEide+MSEgui version 3.0 has been released: http://sourceforge.net/projects/mseide-msegui/ Have a lot of fun! Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MSEide+MSEgui 3.0

2013-09-27 Thread Martin Schreiber
On Friday 27 September 2013 17:08:58 Mattias Gaertner wrote: > > What's new in 3.0? 3.0 has own versions of TComponent, the streaming system and db.pas. Newest feature is support of antialiased drawing by gdi+ and xrender. > Is there a change log? > There is a list of breaking changes in VERSIO

Re: [fpc-pascal] how to directly access field/record value of TBufDataSet?

2013-09-30 Thread Martin Schreiber
On Monday 30 September 2013 13:09:16 Dennis Poon wrote: > Since TBufDataSet is in-memory, to speed things up, how can I directly > access the N'th record and M'th field's value as Variant? > > The MSEgui version of tbufdataset and its descendants supports direct field value access by "property cu

Re: [fpc-pascal] Namespaces Support

2013-10-28 Thread Martin Schreiber
On Monday 28 October 2013 13:10:04 Dmitry Boyarintsev wrote: > > I have, for years, many units that have the prefix 'M'. So I have > > MClasses, MCore, MTasks, MSystem, etc. > > Now MSEgui (by Martin Schreiber) introduced a mclasses unit -- your > > own implement

Re: [fpc-pascal] Re: [Bulk] Re: Namespaces Support

2013-10-28 Thread Martin Schreiber
On Tuesday 29 October 2013 02:48:33 Dmitry Boyarintsev wrote: > > P.S. Offtopic: I personally find it horrible to call a unit "classes" (it's > fine for RTL, since it's started this way, but any other library - it is > horrible). Nobody calls their units like "functions" or > "functionsandprodures"

[fpc-pascal] MSElang, the future compiler for MSEide+MSEgui

2013-11-06 Thread Martin Schreiber
Hi, A Wiki about the future compiler has been started: https://sourceforge.net/p/mseide-msegui/wiki/MSElang/ Please join the mailing list https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk if you like to discuss the matter. Thanks, Martin __

Re: [fpc-pascal] MSElang, the future compiler for MSEide+MSEgui

2013-11-06 Thread Martin Schreiber
On Wednesday 06 November 2013 09:47:38 Marco van de Voort wrote: > > You might want to have a look at Modula-2 R10, another attempt to redesign > a wirthian language: > I used A+L Modula-2 at Amiga times. Good memories. :-) Martin ___ fpc-pascal maillist

Re: [fpc-pascal] MSElang, the future compiler for MSEide+MSEgui

2013-11-06 Thread Martin Schreiber
On Wednesday 06 November 2013 10:36:19 Michael Schnell wrote: > On 11/06/2013 09:14 AM, Martin Schreiber wrote: > > if you like to discuss the matter. > > IMHO this theme is complex enough to start another mailing list instead > of discussion it here. > [...] Please do not di

Re: [fpc-pascal] MSElang, the future compiler for MSEide+MSEgui

2013-11-06 Thread Martin Schreiber
On Wednesday 06 November 2013 11:10:12 Jonas Maebe wrote: > On 06 Nov 2013, at 10:46, Martin Schreiber wrote: > > On Wednesday 06 November 2013 10:36:19 Michael Schnell wrote: > >> IMHO this theme is complex enough to start another mailing list instead > >

Re: [fpc-pascal] Bug in AnsiCompareText of cwstring

2013-11-27 Thread Martin Schreiber
On Wednesday 27 November 2013 13:05:29 Mattias Gaertner wrote: > Hi all, > > When using the cwstring widestringmanager the function AnsiCompareText > seems to have a bug. > > For example: > > {$mode objfpc}{$H+} > > uses > Classes, SysUtils, cwstring; > begin > writeln('o and . gives ',Ansi

Re: [fpc-pascal] ARM Linux cross development

2014-01-16 Thread Martin Schreiber
On Wednesday 15 January 2014 22:38:47 Koenraad Lelong wrote: > op 15-01-14 13:31, Michael Schnell schreef: > > Did you try to create the PC->ARM cross gdb and ARM cross-compile the > > ARM gdbserver ? It might be that this in fact was why he needed the huge > > libraries. > > I did create a cross-

[fpc-pascal] MSEide+MSEgui 3.2, beginner course

2014-01-31 Thread Martin Schreiber
Hi, MSEide+MSEgui version 3.2 has been released: http://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/3.2/ There is also a new programming course for beginners: http://sourceforge.net/projects/mseuniverse/files/book/ The example projects are in directory "source". Martin ___

Re: [fpc-pascal] Unicode filenames

2008-06-29 Thread Martin Schreiber
On Sunday 29 June 2008 09.27:24 Vincent Snijders wrote: > How does the RTL support using unicode filenames (e.g. file names that > cannot be represented by the ansi char set)? > > For example the FileExists function takes a string which is encoded in > the system char set. If the system char set is

Re: [fpc-pascal] Unicode filenames

2008-06-29 Thread Martin Schreiber
On Sunday 29 June 2008 13.10:33 Marco van de Voort wrote: > > - Which encoding(s) to support (utf-8 and/or utf-16 mostly) In order to complement Graemes mail, MSEgui uses widestrings for everything. Martin ___ fpc-pascal maillist - fpc-pascal@lists.f

Re: [fpc-pascal] Unicode file routines proposal

2008-06-30 Thread Martin Schreiber
On Monday 30 June 2008 22.19:49 Luca Olivetti wrote: > En/na John Coppens ha escrit: > > This may have been discussed before - but should the encoding not be > > dependent on the locale? What would happen if I write a FPC program, > > if the internal routines are, eg., UTF-16, and my locale is set

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Martin Schreiber
On Tuesday 01 July 2008 09.56:29 Mattias Gaertner wrote: > On Tue, 01 Jul 2008 09:35:35 +0200 > > Luca Olivetti <[EMAIL PROTECTED]> wrote: > > OTOH using variable length characters will make string operations > > expensive (since you can't just multiply the index by 2 or 4 but you > > have to exami

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Martin Schreiber
On Tuesday 01 July 2008 10.35:00 Mattias Gaertner wrote: > > A good example is text layout calculation where it is necessary to > > iterate over characters (glyphs) over and over again. > > Text layout nowadays need to consider font widths and unicode specials. > Iterating from character to charact

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Martin Schreiber
On Tuesday 01 July 2008 12.19:26 Mattias Gärtner wrote: > Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > > > > I did it with utf-8 and UCS-2, beleave me, it was not negligible. > > Where is the code in msegui? (the code that was formerly UTF-8, not the old > U

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Martin Schreiber
On Tuesday 01 July 2008 13.13:19 Mattias Gärtner wrote: > Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > > On Tuesday 01 July 2008 12.19:26 Mattias Gärtner wrote: > > > Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > > > > I did it with utf-8 an

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Martin Schreiber
On Tuesday 01 July 2008 14.03:19 Felipe Monteiro de Carvalho wrote: > About UCS-2 this is absurd. We certainlly cannot have half the chinese > characters ignored in the Free Pascal RTL. ??? Where did you get the information that half of the Chinese characters won't fit in base plane? And utf-16

Re: Summary on Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Martin Schreiber
On Tuesday 01 July 2008 17.06:34 Florian Klaempfl wrote: > Michael Van Canneyt wrote: > > On Tue, 1 Jul 2008, Paul Ishenin wrote: > >> Michael Van Canneyt wrote: > >>> You can still do C:=S[i]. What you cannot do is > >>> > >>> P:=PChar(S); > >>> While (P^<>#0) do > >>>SomeByteSizedOperatio

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Martin Schreiber
On Tuesday 01 July 2008 18.32:30 Mattias Gärtner wrote: > > > > In this routines length(widestring), widestring[index], pwidechar^, > > pwidechar[index], pwidechar + offset, pwidechar - pwidechar and > > inc(pwidechar)/dec(pwidechar) are used often. This can't be done with > > utf-8 strings. > > Eh

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Martin Schreiber
On Tuesday 01 July 2008 22.23:12 Marc Weustink wrote: > Martin Schreiber wrote: > > On Tuesday 01 July 2008 18.32:30 Mattias Gärtner wrote: > >>> In this routines length(widestring), widestring[index], pwidechar^, > >>> pwidechar[index], pwidechar + offset, pw

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Martin Schreiber
On Wednesday 02 July 2008 09.32:17 Mattias Gaertner wrote: > On Tue, 1 Jul 2008 18:55:44 +0200 > > Martin Schreiber <[EMAIL PROTECTED]> wrote: > > On Tuesday 01 July 2008 18.32:30 Mattias Gärtner wrote: > > > > In this routines length(widestring), widestring[inde

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Martin Schreiber
On Wednesday 02 July 2008 11.08:31 Mattias Gärtner wrote: > Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > > For example lib/common/kernel/msedrawtext.pas:223, procedure layouttext. > > Nice code. > As far as I can see, it handles tabs, linebreaks, c_softhyphen and >

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Martin Schreiber
On Wednesday 02 July 2008 12.44:46 Mattias Gärtner wrote: > > > I don't see how this have a big impact on the performance. > > > > The code is complicated enough, don't you think? ;-) > > Ah, sorry, now I understand. > You meant, the performance penalty of the *programmer* is not negligible > compa

Re: [fpc-pascal] csLoading

2008-07-09 Thread Martin Schreiber
On Wednesday 09 July 2008 23.24:31 Vincent Snijders wrote: > Hi, > > This is sequel to this thread of almost two years ago: > http://lists.freepascal.org/lists/fpc-devel/2006-September/008737.html > > Some things changed (e.g. TComponent.Loading has been added), but I stil > did not find an easy wa

Re: [fpc-pascal] UTF-16 versions of Length, Pos, Delete etc.

2008-07-30 Thread Martin Schreiber
On Wednesday 30 July 2008 09.04:02 Graeme Geldenhuys wrote: > Hi, > > Has anybody already implemented the string utility functions like > Length, Pos, Delete, Copy, Insert etc. that works with UTF-16. I'm not > interested in UCS2 only support, I want full UTF-16 support. > > I'm willing to implemen

[fpc-pascal] MSEide+MSEgui version 1.8 for FPC 2.2.2

2008-08-11 Thread Martin Schreiber
Hi, MSEide+MSEgui version 1.8 for FPC 2.2.2 has been released: http://sourceforge.net/projects/mseide-msegui Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MSEide+MSEgui version 1.8 for FPC 2.2.2

2008-08-11 Thread Martin Schreiber
On Monday 11 August 2008 19.21:05 Mattias Gaertner wrote: > On Mon, 11 Aug 2008 17:59:08 +0200 > > Martin Schreiber <[EMAIL PROTECTED]> wrote: > > Hi, > > MSEide+MSEgui version 1.8 for FPC 2.2.2 has been released: > > http://sourceforge.net/projects/mseide-ms

Re: [fpc-pascal] Debugger interaction in FP IDE and Lazarus

2008-09-02 Thread Martin Schreiber
On Wednesday 03 September 2008 04.42:49 leledumbo wrote: > FP IDE needs to link to libgdb and all of its dependencies in order to have > debugger support. OTOH, Lazarus interacts to gdb via TProcess. FP IDE > approach would be faster but also inextensible and less maintainable. When > there's a pro

Re: [fpc-pascal] Help converting h-file

2008-09-20 Thread Martin Schreiber
On Saturday 20 September 2008 12.20:38 Koenraad Lelong wrote: > Henry Vermaak schreef: > > hmm, is -lc passed to arm-linux-ld? you might have to add -k-lc to > > the fpc command line. btw, which arcom board do you have? i'm > > getting a new one very soon, so we can team up on this :) > > > > he

[fpc-pascal] MSEide+MSEgui rev. 2.0beta1

2008-10-16 Thread Martin Schreiber
Hi, A first beta of MSEide+MSEgui version 2.0 has been released: http://sourceforge.net/project/showfiles.php?group_id=165409 Questions and bug reports please to NNTP: news://news.grid-sky.com/public.mseide-msegui.talk Martin ___ fpc-pascal maillist -

Re: [fpc-pascal] fpSelect() with very small timeout?

2008-10-20 Thread Martin Schreiber
On Monday 20 October 2008 09.57:35 Graeme Geldenhuys wrote: > Hi, > > Below is some code I use in fpGUI-X11's main event loop. When I played > around with multithreading, I wrote a simple application, created 4 > threads that each update there own ProgressBar. I noticed that if I > don't move the

Re: [fpc-pascal] fpSelect() with very small timeout?

2008-10-20 Thread Martin Schreiber
On Monday 20 October 2008 10.36:48 Graeme Geldenhuys wrote: > On Mon, Oct 20, 2008 at 10:19 AM, Martin Schreiber <[EMAIL PROTECTED]> wrote: > > [...] > > You could send a wakeup message to the X event queue if a widget has been > > invalidated instead of polling. See M

Re: [fpc-pascal] Delphi / FPC and UTF8 BOM

2008-10-22 Thread Martin Schreiber
On Wednesday 22 October 2008 12.33:59 Marco van de Voort wrote: > > The solution of Tiburon is the same as Florian's original solution for the > multi unicode string type TUnicodeString (that now is still UTF16 only): > add an encoding field to ansistring, and alter ansistring declaration with > a

Re: [fpc-pascal] Delphi / FPC and UTF8 BOM

2008-10-22 Thread Martin Schreiber
On Wednesday 22 October 2008 13.31:41 Marco van de Voort wrote: > In our previous episode, Martin Schreiber said: > > > The solution has Windows written all over it (including viewer UTF-8 as > > > a codepage), but it has merits IMHO. > > > > Are you sure about th

[fpc-pascal] MSEide+MSEgui version 2.0beta2

2008-12-21 Thread Martin Schreiber
Hi, MSEide+MSEgui version 2.0beta2 has been released: https://sourceforge.net/project/showfiles.php?group_id=165409 Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] MSEide+MSEgui 2.0rc1

2009-02-02 Thread Martin Schreiber
Hi, MSEide+MSEgui version 2.0rc1 has been released: http://sourceforge.net/project/showfiles.php?group_id=165409 Please test it with FPC 2.2.4rc1. Questions an bug reports please to NNTP: news://news.grid-sky.com/public.mseide-msegui.talk Domingo started documenting the MSEgui components: http://w

[fpc-pascal] MSEide+MSEgui version 2.0a

2009-04-12 Thread Martin Schreiber
Hi, MSEide+MSEgui rev. 2.0a for Free Pascal 2.2.4 has been released. https://sourceforge.net/project/showfiles.php?group_id=165409 Questions and bug reports please to NNTP: news://news.grid-sky.com/public.mseide-msegui.talk There is a new website for MSEide+MSEgui, please participate. http://www.m

Re: [fpc-pascal] Help with the IDE

2009-05-03 Thread Martin Schreiber
On Sunday 03 May 2009 13:08:33 simionescu.mi...@gmail.com wrote: > Is there a more friendly IDE ?(Lazarus excluded) MSEide. http://sourceforge.net/projects/mseide-msegui Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.f

Re: [fpc-pascal] gtk+ linux-windows

2009-06-22 Thread Martin Schreiber
On Monday 22 June 2009 17:10:45 kota kota wrote: > I will try it. Then you possibly want to try MSEide+MSEgui too: http://sourceforge.net/projects/mseide-msegui/ Questions and bug reports please to NNTP: news://news.grid-sky.com/public.mseide-msegui.talk Martin _

[fpc-pascal] MSEide+MSEgui rev 2.2beta1

2009-06-23 Thread Martin Schreiber
Hi, There is a first beta of MSEide+MSEgui rev. 2.2: https://sourceforge.net/project/showfiles.php?group_id=165409 Questions and bugreports please to NNTP: news://news.grid-sky.com/public.mseide-msegui.talk Martin ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] TField.DataType and ftBlob type

2009-07-27 Thread Martin Schreiber
On Monday 27 July 2009 13:29:56 Graeme Geldenhuys wrote: > > Is there any way to find out the Sub-Type of a ftBlob in SqlDB? I would > like to distinguish between binary data and long text data stored in a > Blob field. > In isc_blob_text is mapped to ftMemo (MSEgui, probably the same in original

Re: [fpc-pascal] Dataset modification and reading at the same time

2009-10-05 Thread Martin Schreiber
On Monday 05 October 2009 15:44:55 Felipe Monteiro de Carvalho wrote: > > Is it possible to have 2 dataset objects sharing the same memory > database? Or else any ideas of how to solve this problem other then > constantly writing changes to the disk and reloading the read dataset? > tmsebufdataset

Re: [fpc-pascal] Creating text files with TFileStream

2009-10-23 Thread Martin Schreiber
On Friday 23 October 2009 11:58:49 Graeme Geldenhuys wrote: > > Maybe TFileStream is not suited for plain text output, and I should > rather use the File type instead? MSEgui has ttextstream and ttexdatastream, lib/common/kernel/msestream.pas. http://mseide-msegui.svn.sourceforge.net/viewvc/mseide

Re: [fpc-pascal] PChar -> AnsiString -> PChar = memory leak?

2009-10-29 Thread Martin Schreiber
On Thursday 29 October 2009 14:00:53 Graeme Geldenhuys wrote: > Hi, > > Do I create a memory leak if I cast a PChar it a AnsiString. Then > append text to the AnsiString and then cast it back to the original > PChar? > > eg: > var > Text: Pchar;<-- global var containing text. > > procedure Ap

Re: [fpc-pascal] const records passed incorrectly

2009-11-16 Thread Martin Schreiber
On Monday 16 November 2009 08:59:50 Michael Van Canneyt wrote: > > It is nowhere written in the Delphi specs that const parameters > are passed by reference. It is often so, but is by no means guaranteed. > There is a sentence in Delphi 7 "Language Guide" in chapter 12 "Parameters and function res

[fpc-pascal] Web interface for public.mseide-msegui.talk

2009-11-17 Thread Martin Schreiber
Hi, Wahono activated a web interface with search function for public.mseide-msegui.talk: http://msegui.org/fudforum/index.php?t=thread&frm_id=2&S=a0f13320c71aa14a269ca8b4d05f4631 Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://

Re: [fpc-pascal] sysutils.beep doesn't beep under Linux?

2009-11-20 Thread Martin Schreiber
On Friday 20 November 2009 21:24:17 Jorge Aldo G. de F. Junior wrote: > arent there a /dev/something device for pcspeaker ? With X11 one can use xbell(). Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mai

[fpc-pascal] MSEide+MSEgui rev. 2.2beta2

2009-11-20 Thread Martin Schreiber
Hi, MSEide+MSEgui rev. 2.2beta2 for FPC 2.2.4 and 2.4 has been released: http://sourceforge.net/projects/mseide-msegui/files/ There is an experimental x84_64_linux version too. Questions and bug reports please to NNTP: news://news.grid-sky.com/public.mseide-msegui.talk Martin _

[fpc-pascal] MSEide+MSEgui rev. 2.2 for FPC 2.4

2010-01-02 Thread Martin Schreiber
Hi, MSEide+MSEgui version 2.2 for FPC 2.4 has been released: https://sourceforge.net/projects/mseide-msegui/files/ There is now an experimental x86_64-linux version too. Have a lot of fun! Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

[fpc-pascal] MSEide+MSEgui SourceForge -> BerliOS

2010-02-04 Thread Martin Schreiber
Hi, Because of the access restrictions on SourceForge MSEide+MSEgui has been moved to BerliOS: http://developer.berlios.de/projects/mseide-msegui/ Download: http://developer.berlios.de/project/showfiles.php?group_id=11520 SVN: http://developer.berlios.de/svn/?group_id=11520 Martin _

Re: [fpc-pascal] MSEide+MSEgui SourceForge -> BerliOS

2010-02-05 Thread Martin Schreiber
On Friday 05 February 2010 14:11:03 Anthony Walter wrote: > I don't understand. Would you care to explain what restrictions > SourceForge places on its users? I am curious. Please read: http://sourceforge.net/blog/clarifying-sourceforgenets-denial-of-site-access-for-certain-persons-in-accordance-w

Re: [fpc-pascal] MSEide+MSEgui SourceForge -> BerliOS

2010-02-06 Thread Martin Schreiber
On Saturday 06 February 2010 20:51:09 Zaher Dirkey wrote: > Can i ask What is your country? > CH. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MSEide+MSEgui SourceForge -> BerliOS

2010-02-09 Thread Martin Schreiber
On Tuesday 09 February 2010 14:39:05 Nikolay Nikolov wrote: > Good news, they have added the option to lift those restrictions. It's > now up to the project admins to decide for their own project. > http://sourceforge.net/blog/some-good-news-sourceforge-removes-blanket-bloc >king And now one risk

Re: [fpc-pascal] WriteComponent not outputting a hierarchy of components?

2010-06-04 Thread Martin Schreiber
On Friday 04 June 2010 09:10:28 Graeme Geldenhuys wrote: > > I now understand why Martin implemented MSEgui from the ground up and not > basing any code on Borland's ideas. You never need to fight strange > implementations, other than your own. :) > Although you are right in principle, owner/parent

Re: [fpc-pascal] The new book: "WEB and database programming with fpc and Lazarus for newbies and professionals"

2010-06-16 Thread Martin Schreiber
On Wednesday 16 June 2010 20:10:09 Burkhard Carstens wrote: This is for MSEide+MSEgui: > > chapter 1 - Database programming > > First, I created a desktop app to play with the database. All the DB > components on a DataModule and some DBGrid, DBNavigator on a form. > * First problem: > Data chang

[fpc-pascal] MSEide+MSEgui version 2.4rc1

2010-07-03 Thread Martin Schreiber
Hi, MSEide+MSEgui rev. 2.4rc1 has been released: http://developer.berlios.de/project/showfiles.php?group_id=11520 Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] OFF TOPIC - how I can migrate of Delphi to FPC

2010-08-15 Thread Martin Schreiber
On Saturday 14 August 2010 19:04:33 Marcos Douglas wrote: > Hi, > I would like to ask you some questions about how I can migrate, > ultimately, of Delphi to FPC. > These questions will help me and my friends that working with Delphi. > Some MSEgui specific info: > 1- What the connector you use to

[fpc-pascal] Re: Re: Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x64

2010-10-16 Thread Martin Schreiber
Jonas Maebe wrote: > > He cannot. If freeonterminate=true, then even if you call "inherited > create(false)" as the very last statement of your constructor, the thread > may already have finished running and freed itself before > AfterConstruction is called. The AfterConstruction call will then c

[fpc-pascal] Re: Re: Re: Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x64

2010-10-16 Thread Martin Schreiber
Jonas Maebe wrote: > > On 16 Oct 2010, at 15:46, Martin Schreiber wrote: > >> >> Will it crash if it is empty as in TObject? > > The contents of AfterConstruction don't matter. If the instance is freed > before the constructor had a chance to call AfterCon

[fpc-pascal] Re: Re: Re: Re: Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x64

2010-10-16 Thread Martin Schreiber
Jonas Maebe wrote: >> As written before it does not crash in >> tmsethread which does not inherit from FPC TThread. > > You're just getting lucky in your tests. > Hmm, a miracle for me. I used heaptrace which trashes the memory after free AFAIK? Martin __

[fpc-pascal] Re: PostgreSQL 8.4 Ubuntu 10.10 x64

2010-10-22 Thread Martin Schreiber
Andrew Brunner wrote: > I've got a problem with the PostgreSQL component. I've got an insert > statement with int64 values. The prepare command goes through but the > server denies the entire packet with the string value of the int64 is > too large for integer type error. > > The fields were al

Re: [fpc-pascal] TThread descendant with public events

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 09.57:21 Graeme Geldenhuys wrote: > Is this safe to do? > No. An onxx event is a tmethod. "Triggering" the event means calling the method -> it runs in context of the calling thread. Martin ___ fpc-pascal maillist - fpc-pa

[fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
Hi, MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: https://developer.berlios.de/project/showfiles.php?group_id=11520 Questions and bug reports please to mailing list: https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk NNTP gateway: nntp://news.gmane.org/gmane.comp.ide.mseide.

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 15.33:34 Marcos Douglas wrote: > On Mon, Nov 1, 2010 at 11:14 AM, Graeme Geldenhuys > > wrote: > > Op 2010-11-01 15:48, Marcos Douglas het geskryf: > >> If you use the FPC from > >> http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 then the version > >> is 2.4.3, rig

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 16.24:30 Brian Winfrey wrote: > Which address should I be using? It looks like the UUID and revision > are the same while Last changed revision and path are different. > [...] For MSEide+MSEgui you can use both. It is your choice if you wan't to use a tagged release o

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 13.34:45 Marcos Douglas wrote: > On Mon, Nov 1, 2010 at 9:34 AM, Alberto Narduzzi > > wrote: > >> Somebody can help me please? > >> I need to search strings in Text files using just FPC. > > > > how about reading every line and then using Pos() to see if some string > >

[fpc-pascal] Re: MSEide+MSEgui rev.2.4

2010-11-14 Thread Martin Schreiber
Paul Breneman wrote: > > I'd like to set up a similar page for MSEgui (and maybe for MSEide as > well). Please contact me off-list about this. Done. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailm

Re: [fpc-pascal] Corba Interfaces and IInterface query

2010-11-14 Thread Martin Schreiber
On Sunday, 14. November 2010 17.30:13 Graeme Geldenhuys wrote: > Under all other OSes, (which don't have COM), FPC should default to > CORBA style interfaces, where IInterface is non-COM - same as what was > done in Kylix. What's the point of have COM style interface on > non-Windows platforms any

Re: [fpc-pascal] Win32 Application Query.

2011-01-31 Thread Martin Schreiber
On Tuesday, 1. February 2011 05.57:03 Brian Winfrey wrote: > > I think you may find what you're looking for in MSE project's IFI? > components. Google MSEGUI to find it. MSEifi is contained in MSEide+MSEgui project: http://developer.berlios.de/projects/mseide-msegui/ MSEide must be compiled with

[fpc-pascal] MSEide+MSEgui rev. 2.6

2011-02-26 Thread Martin Schreiber
Hi, MSEide+MSEgui version 2.6 has been released. http://developer.berlios.de/project/showfiles.php?group_id=11520 Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Merging r.16418 to FPC 2.4.4

2011-03-04 Thread Martin Schreiber
On Friday 04 March 2011 10:42:11 Jonas Maebe wrote: > On 04 Mar 2011, at 10:24, cobines wrote: > > Is it possible to merge rev. 16418 from trunk to FPC 2.4.4? > > No, see http://bugs.freepascal.org/view.php?id=18831 > Is there a workaround? Runtime switching of MSEgui language modules is not possi

Re: [fpc-pascal] getting UTC time

2011-07-10 Thread Martin Schreiber
On Sunday 10 July 2011 21:20:06 Bernd wrote: > Is there an easy (or elegant) cross platform way of getting the > current time in UTC that works on all platforms? MSEgui has nowutc() in lib/common/kernel/msesys.pas. It calls platformdependent sys_getutctime() which is implemented for Linux and Wi

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-28 Thread Martin Schreiber
Am 28.07.2011 15:06, schrieb Graeme Geldenhuys: Here are some screenshots. http://opensoft.homeip.net:8080/~graemeg/fpgui_on_solaris-1.png http://opensoft.homeip.net:8080/~graemeg/fpgui_on_solaris-2.png It seems there is a first MSEide clone in the works. ;-) Martin __

Re: RE : RE : RE : [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Martin Schreiber
Am 29.07.2011 08:27, schrieb michael.vancann...@wisa.be: Maybe mseide does it too. Correct. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Martin Schreiber
Am 29.07.2011 08:41, schrieb Graeme Geldenhuys: @Martin Schreiber Just curious. Have you tried to compile MSEide on platforms other than Linux or Windows? No. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Martin Schreiber
Am 29.07.2011 07:42, schrieb Graeme Geldenhuys: At the moment I'm using it to help develop the TfpgTextEdit component. I've never written an editor with syntax highlighting before, it's a nice challenge. It is rather a nightmare if you ask me... Martin _

  1   2   3   4   >