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

Re: [fpc-pascal] Re: RE : RE : RE : Assigning value to ftVariantdatatype varbytes-still stuck

2011-08-10 Thread Martin Schreiber
On Wednesday 10 August 2011 11:51:41 Ludo Brands wrote: What I propose is: 1 to create overloaded versions of SetFieldData and GetFieldData that include a length parameter, to change TStringField.SetAsString and TWideStringField.SetAsWideString to use these versions and to migrate the

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Martin Schreiber
Am 13.09.2011 13:05, schrieb Mattias Gaertner: Hi, I'm searching some pascal code for file monitoring for Linux. That means getting notified if a file in a directory or its sub directories was modified. I found some hints that people started it, but I can't find the result. Any hints are

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Martin Schreiber
Am 13.09.2011 14:19, schrieb Mattias Gaertner: Does this work with thousands of sub directories? Not tested, probably not. It is used by MSEide. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Martin Schreiber
Am 13.09.2011 14:15, schrieb Graeme Geldenhuys: On 13/09/2011 14:14, Martin Schreiber wrote: MSEgui has an implementation based on signals because inotify is not available on old kernels. lib/common/sysutils/msefilechange.pas. Word of caution... I still haven't tracked down why MSEide

Re: [fpc-pascal] How to get a data module to notify of events?

2011-09-15 Thread Martin Schreiber
On Thursday 15 September 2011 16:28:29 Frank Church wrote: I have a form with some threaded objects that notify another form of events by calling one of that forms events. I want to convert to a data module and any interested object to register for those notifications. My idea is for each

Re: [fpc-pascal] How to get a data module to notify of events?

2011-09-15 Thread Martin Schreiber
On Thursday 15 September 2011 16:53:35 Frank Church wrote: Are there some examples of that somewhere? http://svn.berlios.de/viewvc/mseide-msegui/trunk/lib/common/kernel/mseclasses.pas?view=markup ___ fpc-pascal maillist -

Re: [fpc-pascal] How to get a data module to notify of events?

2011-09-15 Thread Martin Schreiber
On Thursday 15 September 2011 16:53:35 Frank Church wrote: Are there some examples of that somewhere? or http://svn.berlios.de/viewvc/mseide-msegui/trunk/lib/common/kernel/msegui.pas?view=markup tmethodlist. Warning, tmethodlist.remove() must be called before destroying the registered objects.

Re: [fpc-pascal] sqldb how to find a record fast with primary key

2011-10-19 Thread Martin Schreiber
On Wednesday 19 October 2011 16.53:00 Felipe Monteiro de Carvalho wrote: Hello, I am using sqldb to connect to a postgres database. Using wiki instructions, my final object is a TSQLQuery for each table. So, this basically is a TDataset and to read fields I know that I can use First(),

Re: [fpc-pascal] sqldb how to find a record fast with primary key

2011-10-21 Thread Martin Schreiber
On Friday 21 October 2011 16.30:18 michael.vancann...@wisa.be wrote: On Fri, 21 Oct 2011, Felipe Monteiro de Carvalho wrote: Ping, No sqldb specific answers on this one? I did some googling and also searched for TPrimaryKey or LocalIndex in sqldb without results ... =( To my knowledge

Re: [fpc-pascal] sqldb how to find a record fast with primary key

2011-10-21 Thread Martin Schreiber
On Friday 21 October 2011 16.50:32 Felipe Monteiro de Carvalho wrote: On Fri, Oct 21, 2011 at 4:50 PM, Martin Schreiber mse00...@gmail.com wrote: Most code is in lib/common/db/msebufdataset.pas. Lookup buffers are in lib/common/db/mselookupbuffer.pas. Heavy stuff. ;-) How much from

Re: [fpc-pascal] sqldb how to find a record fast with primary key

2011-10-21 Thread Martin Schreiber
On Friday 21 October 2011 17.41:56 Felipe Monteiro de Carvalho wrote: I get the value of the primary key of the table from the request, so I though that because it is the primary key I would be able to quickly jump to it. But it seams that not? From what I understood the solutions are first

Re: [fpc-pascal] How to insert a record and get the primary key with sqldb?

2011-10-22 Thread Martin Schreiber
On Saturday 22 October 2011 15.21:40 Marco van de Voort wrote: In our previous episode, Felipe Monteiro de Carvalho said: Ok, now I want to insert a record in my table and I would like to obtain the auto-generated PrimaryKey This is a classic problem, since SQL simply doesn't support this.

Re: [fpc-pascal] How to insert a record and get the primary key with sqldb?

2011-10-22 Thread Martin Schreiber
On Saturday 22 October 2011 16.20:13 Michael Van Canneyt wrote: Note that I did not invest this stuff ... I just copied from stuff to create other tables which were already in the project. You must get a value first, and pass it along to the insert statement. Auto-generation is not

Re: [fpc-pascal] How to insert a record and get the primary key with sqldb?

2011-10-22 Thread Martin Schreiber
On Saturday 22 October 2011 17.23:38 Marcos Douglas wrote: On Sat, Oct 22, 2011 at 11:21 AM, michael.vancann...@wisa.be wrote: DBComm.SQLTransaction.StartTransaction; -- Fails here with transaction already active Correct. The default transaction is made active after connecting. You

Re: [fpc-pascal] Re: How to insert a record and get the primary key with sqldb?

2011-10-22 Thread Martin Schreiber
On Saturday 22 October 2011 17.33:11 Felipe Monteiro de Carvalho wrote: ugh, any ideas how I can obtain the next sequence value using sqldb and postgres then? I have never used sequence values before, and while I am googling I only found either answers which are specific for a particular

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-07 Thread Martin Schreiber
On Sunday 06 November 2011 18.24:16 Jürgen Hestermann wrote: Also, implementing all existing language constructs from all other languages into Pascal makes it a monster that no one can handle anymore. Supporting Delphi code sounds good in the first place but in the end it bloats the language

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-07 Thread Martin Schreiber
On Monday 07 November 2011 10.55:41 Jonas Maebe wrote: On 07 Nov 2011, at 08:10, Martin Schreiber wrote: I don't understand why FPC should become a 100% Delphi clone instead the best general software development environment ever for the only purpose that Delphi users have a free cross

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-07 Thread Martin Schreiber
On Monday 07 November 2011 17.02:59 Luiz Americo Pereira Camara wrote: Is there a big demand? Examples? I speak only for myself. This is a component that i'd like to see compiled with fpc http://code.google.com/p/emballo/ The problems - generic support:

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-08 Thread Martin Schreiber
On Tuesday 08 November 2011 09.01:03 Graeme Geldenhuys wrote: On 8 November 2011 09:23, Florian Klaempfl wrote: Let me answer: Writing an (L)GPL'ed pascal (*) compiler being self hosting. From the man himself. OK good, so now we all know the goal is not one of delphi compatible (that

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-08 Thread Martin Schreiber
On Tuesday 08 November 2011 10.56:21 Marco van de Voort wrote: In our previous episode, Martin Schreiber said: nice to have), so please all core developers, stop using that as an excuse to stop other FPC innovation. Over the years I have heard many features being declined because

Re: [fpc-pascal] Location of fpvectorial

2011-11-10 Thread Martin Schreiber
On Thursday 10 November 2011 10.07:52 Felipe Monteiro de Carvalho wrote: A very problematic part is ClipRects. It is impossible to ignore them in PostScript (ps, eps, pdf), the drawing gets completely deformed if you do that, and the LCL implements them via LCLIntf: MSEgui has a Pascal

Re: [fpc-pascal] Location of fpvectorial

2011-11-10 Thread Martin Schreiber
On Thursday 10 November 2011 10.37:28 Felipe Monteiro de Carvalho wrote: On Thu, Nov 10, 2011 at 10:28 AM, Martin Schreiber mse00...@gmail.com wrote: MSEgui has a Pascal implementation of clip regions: http://gitorious.org/mseide-msegui/mseide-msegui/blobs/master/lib/common/ graphics

Re: [fpc-pascal] various ways of passing a class instance as a parameter

2011-11-15 Thread Martin Schreiber
On Tuesday 15 November 2011 10.33:13 Graeme Geldenhuys wrote: Hi, What exactly is the difference (if any) between the parameter modifier when you pass a class instance to a procedure? In the example below, I can define foo() as follows... procedure foo(AClass: TStringList); or Take

Re: [fpc-pascal] various ways of passing a class instance as a parameter

2011-11-15 Thread Martin Schreiber
On Tuesday 15 November 2011 11.00:34 Graeme Geldenhuys wrote: procedure foo(const AClass: TStringList); Take a copy of the AClass instance pointer, AClass is readonly. This one confused me a bit. I thought the whole object would be read-only, but in fact it is just the AClass instance

Re: [fpc-pascal] How to poll for a byte in Input?

2011-12-10 Thread Martin Schreiber
On 12/10/2011 02:58 PM, tcoq wrote: Chad, Thank you very much. I will try your approach, as I'm interested in the piping. I also did some experimenting with SetConsoleMode, and also with SetFileAttributes, and with ReadFileEx. But no answer there. Still blocks. IIRC non blocking pipes

Re: [fpc-pascal] Sorting an open unidimensional array

2011-12-11 Thread Martin Schreiber
On 12/11/2011 09:10 PM, Luciano de Souza wrote: Hello listers, I want to sort an open unidimensional array of integers from the minimum to the maximum and from the maximum to the minimum. MSEgui has sorting functions for dynamic arrays in lib/common/kernel/msearrayutils.pas.

[fpc-pascal] News from MSEide+MSEgui

2011-12-12 Thread Martin Schreiber
Hi, MSEide+MSEgui 2.8rc1 for FPC 2.6 has been released: http://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/2.8rc1/ There is also a new beta for MSEgit: http://gitorious.org/mseuniverse/mseuniverse/trees/msegit_release_0_8_2/tools/msegit A screenshot is here:

Re: [fpc-pascal] How to poll for a byte in Input?

2011-12-15 Thread Martin Schreiber
On 12/15/2011 03:31 PM, tcoq wrote: I obviously failed somewhere. I did try FILE_FLAG_OVERLAPPED and everything attached to it, but the input is already opened, so i get an error. IIRC I experienced the same with pipes on windows. So I used threads which works on win95+. Martin

Re: [fpc-pascal] News from MSEide+MSEgui

2011-12-18 Thread Martin Schreiber
On 12/19/2011 01:14 AM, David Emerson wrote: Congratulations, Martin! Keep up the good work. Thanks. :-) (is that your own custom-built git gui?) MSEgit is a graphical git interface made with the MSEgui toolkit. Design goals: to build a handy and productive tool which meets the MSEide

Re: [fpc-pascal] Timer in X11

2011-12-21 Thread Martin Schreiber
On 12/21/2011 04:53 PM, Henry Vermaak wrote: On 21/12/11 14:53, Felipe Monteiro de Carvalho wrote: wow, I started taking a look at how to do it and as always with anything related to X11 it is terribly complicated ... but luckly I am not alone here using FPC, so I shamelessly stole code from

Re: [fpc-pascal] Timer in X11

2011-12-21 Thread Martin Schreiber
On Wednesday 21 December 2011 20:10:49 Marco van de Voort wrote: I've been thinking about this myself, and if you don't want bad timers, the most logical route would be to write a scheduler implementation where the scheduler 1) in principle waits till the next registered event (events can be

[fpc-pascal] MSEide+MSEgui 2.8 for FPC 2.6.0

2012-01-12 Thread Martin Schreiber
Hi, MSEide+MSEgui 2.8 for FPC 2.6.0 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 2.8 for FPC 2.6.0

2012-01-13 Thread Martin Schreiber
Am Friday 13 January 2012 11.22:52 schrieb Rainer Stratmann: You can not go to xxx with the cursor in your editor. You can only go to the end of a line. Can you fix that? begin for x := 1 to 10 do writeln; end; xxx end; MSEide editor works with proportional fonts so

Re: [fpc-pascal] Why is Free Pascal a blacklisted package on linux distro?

2012-02-06 Thread Martin Schreiber
On Monday, 6. February 2012 15.47:00 Jonas Maebe wrote: - freepascal::includes proprietary code from silicon graphics See http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=20200 for the full story (it's less spectacular than that message may suggest at first sight). It has been

Re: [fpc-pascal] Currency and ABS(-674.59)

2012-03-07 Thread Martin Schreiber
On Tuesday, 6. March 2012 14.13:17 Ludo Brands wrote: No, Currency is based on Extended on i386 and x86_64 (except win64!). There is also a lot of code in the rtl and fcl-db that supposes currency = double. Fe. Function CurrToStr(Value: Currency; Const FormatSettings: TFormatSettings):

[fpc-pascal] MSEgit 1.0

2012-03-12 Thread Martin Schreiber
Hi, If you are interested in a FPC-based GPL-ed git frontend, MSEgit 1.0 has been released. Binaries: https://sourceforge.net/projects/mseuniverse/files/msegit/1_0/ Screenshots: https://sourceforge.net/projects/mseuniverse/ Source:

[fpc-pascal] MSEide+MSEgui 2.8.2, MSEgit 1.2

2012-04-01 Thread Martin Schreiber
Hi, MSEide+MSEgui 2.8.2 has been released: http://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/2.8.2/ http://gitorious.org/mseide-msegui There is a new release 1.2 of MSEgit too: http://sourceforge.net/projects/mseuniverse/files/msegit/1_2/

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 and

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 know

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 option.

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

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] 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? -Aunit=alias = Set unit alias http://docwiki.embarcadero.com/RADStudio/XE3/en/DCC32.EXE,_the_Delphi_Command_Line_Compiler Thanks, Martin ___ fpc-pascal maillist -

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)

[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

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 code. ;-) Even

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 types which

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 nothing

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

2013-04-08 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 writing speed due to a fix that also went

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 -

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

2009-07-28 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-06 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.

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

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 results

[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=threadfrm_id=2S=a0f13320c71aa14a269ca8b4d05f4631 Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

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

[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 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:

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 risks

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-17 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 changes in

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 crash.

[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 AfterConstruction, the self pointer won't be valid

[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 all

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-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:

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 graemeg.li...@gmail.com 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

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 or

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 albertonardu...@yahoo.com 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

[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

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

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 possible

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

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: [fpc-pascal] Linux serial interface

2006-12-26 Thread Martin Schreiber
On Tuesday 26 December 2006 21.53, Rainer Stratmann wrote: How to do that? The code for initialisation of the serial interface: const iflagoff = BRKINT or INPCK or ISTRIP or IGNCR or INLCR or ICRNL or IUCLC or IXON or IXANY or IXOFF or IMAXBEL; iflagon = IGNBRK or IGNPAR; oflagoff =

[fpc-pascal] MSEide+MSEgui version 1.0

2007-01-24 Thread Martin Schreiber
MSEide+MSEgui version 1.0 is released: http://mypage.bluewin.ch/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 version 1.0

2007-01-27 Thread Martin Schreiber
On Saturday 27 January 2007 16.08, Daniël Mantione wrote: Op Wed, 24 Jan 2007, schreef Martin Schreiber: MSEide+MSEgui version 1.0 is released: http://mypage.bluewin.ch/msegui/ Have a lot of fun! Congratulations for this amazing piece of work! I made a newspost on the fpc website

Re: [fpc-pascal] Second beta for MSEide+MSEgui version 1.2

2007-03-26 Thread Martin Schreiber
On Monday 26 March 2007 14.20, Graeme Geldenhuys wrote: Impressive list of new features. It just boggles the mind where you find the time to do so much in MSEgui MSEide being the only developer. MSEide+MSEgui is a very productive environment ;-) Martin

[fpc-pascal] MSEide+MSEgui rev. 1.2rc1

2007-04-30 Thread Martin Schreiber
Hi, There is a release candidate for version 1.2: http://sourceforge.net/project/showfiles.php?group_id=165409 New in version 1.2: - Visual form inheritance. - Report generator and integrated report designer. - New tmsesqldb with internal calcfields, local managed indexes, unicode

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

2007-04-30 Thread Martin Schreiber
On Monday 30 April 2007 11.16, Michael Van Canneyt wrote: Impressive feature list. Any chance of having some of the non-visual stuff integrated with the core FPC units ? (the TDataset stuff, mainly) Feel free to use any piece of code out of MSEgui for FPC/Lazarus, I am happy to help the

Re: [fpc-pascal] Release of fpc-2.1.4 aka 2.2.0-beta

2007-05-20 Thread Martin Schreiber
On Sunday 20 May 2007 00.41, Joost van der Sluis wrote: I'm happy to announce that release 2.1.4 aka 2.2.0 beta is out. We ask our users to test the changes made in the last few years. This beta will be available for about two months, whereafter 2.2.0 will be released. Helping us to test

Re: [fpc-pascal] CheckSynchronize

2007-06-22 Thread Martin Schreiber
On Friday 22 June 2007 11.19, Jonas Maebe wrote: On 22 jun 2007, at 00:17, Vincent Snijders wrote: I see the following options, start with the IMHO most preferable to the least preferable: A: merge those patches to the fixes branch now. As far as the checksynchronize patch is concerned:

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Martin Schreiber
On Tuesday 03 July 2007 09.55, John wrote: I have a basic editable connection working now, but there remain a number of questions: Have a look on MSEide+MSEgui: http://www.homepage.bluewin.ch/msegui/ Screenshots: http://sourceforge.net/project/screenshots.php?group_id=165409 It has lookup

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Martin Schreiber
On Tuesday 03 July 2007 11.36, Michael Van Canneyt wrote: Why don't you contribute the database code to the FCL ? This way, everybody benefits from it. It's non-visual code, so it can perfectly be separated out. It depends on the completely rewritten tmsebufdataset, if you want to use the

Re: [fpc-pascal] Documentation for sqldb - More Questions

2007-07-03 Thread Martin Schreiber
On Tuesday 03 July 2007 12.57, Michael Van Canneyt wrote: I'd rather see that the whole is coordinated a bit. I don't think all this duplication is a good idea; One solid set of components makes much more sense: the number of developers available for it's maintenance would double. The end user

  1   2   3   4   >