Re: [Lazarus] Many parts of screen are not redrawn in Windows XP Classic theme and Win 2000

2010-07-18 Thread dmitry boyarintsev
On Mon, Jul 19, 2010 at 2:34 AM, Paul Ishenin wrote: > What controls for example does not redraw themself (so I can test them)? I > have windows xp and can test although I never noticed this problem. This is not related to WinXP/2003, but could be also a problem with painting handling. Paul Ishe

Re: [Lazarus] tail on windows

2010-07-18 Thread dmitry boyarintsev
On Mon, Jul 19, 2010 at 4:23 AM, Marc Weustink wrote: > You need to make sure a file exists. IIRC it is not possible to create a > file for sharing, you can only open a file sharable It's possible. at least the following example did work on Windows. begin filemode:=fmShareDenyNone; assign(f,

Re: [Lazarus] tail on windows

2010-07-17 Thread dmitry boyarintsev
On Sat, Jul 17, 2010 at 7:42 PM, Mattias Gaertner wrote: > Is it really that complicated under windows to open a file shared > readable? > Why is an Assign, Close, Assign, Append needed? You're right! There's no reason for such complexity. Changing Filemode flag to fmShareDenyNone (or fmShareDeny

Re: [Lazarus] tail on windows

2010-07-17 Thread dmitry boyarintsev
To make the file sharable at Windows you need to apply this patch to lcl proc (and eventually rebuild LCL and Lazarus): After that any program can read/write to the logging file Index: lclproc.pas === --- lclproc.pas (revision 26528)

Re: [Lazarus] tail on windows

2010-07-17 Thread dmitry boyarintsev
actually, i'm wrong here. It seems that debug-log file created doesn't allow sharing thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] tail on windows

2010-07-17 Thread dmitry boyarintsev
program tail; {$mode objfpc}{$H+} uses Classes, Math; var names : TStringList; lines : TStringList; linescount : Integer; l, err : Integer; i, j: integer; begin names:=TStringList.Create; linescount:=20; i:=1; while i<=Paramcount do begin if lowe

Re: [Lazarus] Mac OS X gdb: Segmentation Fault loading my project

2010-07-10 Thread dmitry boyarintsev
On Sat, Jul 10, 2010 at 8:03 PM, Tobias Giesen wrote: > Currently I cannot compile the app anyway because FPC 2.4.0 fails > with Fatal: Compilation aborted: Unhandled exception at ... > on line 1 of some units. No code examples - no help. But you can always try a snapshot or SVN version. thanks

Re: [Lazarus] Mac OS X gdb: Segmentation Fault loading my project

2010-07-10 Thread dmitry boyarintsev
How about using dwarf debug information, instead of stabs? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] LazIntfImage and OSX

2010-07-06 Thread dmitry boyarintsev
On Tue, Jul 6, 2010 at 1:37 PM, Mattias Gaertner wrote: > TLazIntfImage is a TFPCustomImageTFPImage and can handle a wide range > of different memory images. > Probably the carbon interface returned a wrong description. It does return wrong description, at least for Intel mac's TRawImage (when up

Re: [Lazarus] LazIntfImage and OSX

2010-07-05 Thread dmitry boyarintsev
On Mon, Jul 5, 2010 at 5:25 PM, Wolfram Söns wrote: > a Sample File is attached. I can't find any. Probably it has been cut off by the mailing list. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.f

Re: [Lazarus] LazIntfImage and OSX

2010-07-05 Thread dmitry boyarintsev
2010/7/5 Wolfram Söns : > Maybe someone can give me a hint? How about the example images? Could you try to load images from .bmp or .png files? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepas

Re: [Lazarus] Lazarus-other list [OT]

2010-07-03 Thread dmitry boyarintsev
There's Lazarus-other list. PLEASE STOP mailing here! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Parser

2010-06-30 Thread dmitry boyarintsev
On Wed, Jun 30, 2010 at 2:44 PM, Mattias Gaertner wrote: > Why is this in the lazarus examples? Why not put it to the fpc sources? +1, as FPC sources branch or even trunk. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Converting a console app

2010-06-30 Thread dmitry boyarintsev
On Wed, Jun 30, 2010 at 2:52 PM, Juha Manninen wrote: > Why does it happen? The obvious solution is not to add LCL dependency to > console apps. Is it always the correct way? It's lack of Interfaces unit. Console applications are not always Windows dependant. So I guess adding LCL dependency + In

Re: [Lazarus] New website www.lazarussupport.com launched

2010-06-20 Thread dmitry boyarintsev
On Sun, Jun 20, 2010 at 4:11 PM, Graeme Geldenhuys wrote: > Just to clear things up a bit. Just because it "looks" similar doesn't > mean it is a "variation of". A Cheetah and Leopard are very different. > A Leopard and Jaguar are more related. > > Leopards may sometimes be confused with two other

Re: [Lazarus] Adding File to Package -> Fatal: Can't find unit Controls used by ugradbtn

2010-06-16 Thread dmitry boyarintsev
You need to LCL add to the packege's dependency! Open the package dialog (the one opened with " Package / New Package"), press "Add" button (on the top panel of the dialog). "New Requirement"->Package Name, select LCL. Press OK. This will add LCL to the package requirements. You don't need to add

Re: [Lazarus] macros don't work in search dialogs

2010-06-11 Thread dmitry boyarintsev
On Fri, Jun 11, 2010 at 12:26 PM, Graeme Geldenhuys wrote: > I don't understand your question, but let me explain my issue. Sorry, I can now see that you use the macros in "Directory" field, rather than "Text to Find". thanks, dmitry -- ___ Lazarus ma

Re: [Lazarus] macros don't work in search dialogs

2010-06-11 Thread dmitry boyarintsev
On Fri, Jun 11, 2010 at 11:51 AM, Graeme Geldenhuys wrote: > As the subject says. I thought the idea of macros is so you can use > them all over in the IDE. A quick test revealed that macros are > limited to only a few locations in the IDE. :-( What should I search for if "$(ProjPath)" must be fo

Re: [Lazarus] Menu dividers?

2010-06-10 Thread dmitry boyarintsev
2010/6/10 K. P. : > in Delphi I can create horizontal menu dividers by setting the caption of a > menu item to '-' - this does not seem to be supported by Lazarus - any other > way this can be done? It's supported in Lazarus Just set caption to '-' thanks, dmitry -- __

Re: [Lazarus] Gtk1-Gtk2 splitup.

2010-06-10 Thread dmitry boyarintsev
On Thu, Jun 10, 2010 at 12:37 PM, Marc Weustink wrote: > Last night the separation og gtk2 from the gtk1 widgetset became a fact and > it got merged into trunk. If you've any libraries/components with a Gtk2/Gtk1 specific code, please make sure that you don't use gtk1 for Gtk2 widgetset code. i.

Re: [Lazarus] Suggestion again: remove GTK1 from IDE and LCL

2010-06-02 Thread dmitry boyarintsev
I've been ignoring all gtk discussions. About splitting gtk2 from gtk. How about the following: - copy all gtk1 widgetset units used by gtk2 to gtk2 dir - remove gtk1 dir usage, for gtk2 widgetset - remove all {$ifdef GTK1} and gtk1 specific code from the copied units imho, simple enough. Are th

Re: [Lazarus] Graphics32 carbon

2010-06-02 Thread dmitry boyarintsev
On Wed, Jun 2, 2010 at 4:14 PM, CA Gorski wrote: > It does. Didn't know and couldn't find anywhere that a - behind disables an > option. run fpc (or fpc -h) in command line, you'll find something like this: Free Pascal Compiler version 2.5.1 [2010/04/05] for i386 Copyright (c) 1993-2009 by Flori

Re: [Lazarus] Graphics32 carbon

2010-06-01 Thread dmitry boyarintsev
On Wed, Jun 2, 2010 at 4:16 AM, CA Gorski wrote: > When I try to compile Graphics32 (http://graphics32.org) against carbon I > get > > Error: Generating PIC, but reference is not PIC-Safe > > for GR32_Blend.pas > lea edi, [eax+DivTable] > > Why is FPC generating PIC here? It's default mode for da

Re: [Lazarus] too many TXMLConfigs! (att: fcl-xml package maintainers)

2010-05-29 Thread dmitry boyarintsev
Thanks Sergei for the explanation. On Sat, May 29, 2010 at 9:11 PM, Felipe Monteiro de Carvalho wrote: > Shouldn't this thread be on fpc-devel? Yes and no. I was interested about what to use for LCL development. Also "attn" at the subject also denotes to fpc-devel :) and Sergei has answered. > A

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-29 Thread dmitry boyarintsev
On Sat, May 29, 2010 at 2:30 PM, Graeme Geldenhuys wrote: > So what are the main reasons nobody wants to use the fcl-passrc > parser? Lack of the expression parser? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http:/

[Lazarus] too many TXMLConfigs! (att: fcl-xml package maintainers)

2010-05-28 Thread dmitry boyarintsev
Hello Developers I'm a bit puzzled there're 2 units in fpc-xml: xmlcfg and xmlconfg Both of them declare TXMLConfig class. The interfaces of both classes seems to be quite identical. If one of them is up-kept for backward compatibility, shouldn't it be like: [code] unit xmlcfg; uses xmlcon

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-28 Thread dmitry boyarintsev
On Fri, May 28, 2010 at 11:06 PM, Adem wrote: > Would I have your blessing if I proposed a bounty to unentwine them so that > each one of those major modules becomes objects in tehir own right > --commnicating with one another through public/published events and > properties. > > I can guess that

Re: [Lazarus] Auto-identation

2010-05-27 Thread dmitry boyarintsev
On Thu, May 27, 2010 at 11:39 PM, dmitry boyarintsev wrote: > Ok. It does work now. I mean that in both cases for i:=1 to 10 do begin| and for i:=1 to 10 do begin| a new line is indented by 2 spaces. thanks, dmitry -- ___ Lazarus mailing l

Re: [Lazarus] Auto-identation

2010-05-27 Thread dmitry boyarintsev
On Thu, May 27, 2010 at 1:51 PM, Mattias Gaertner wrote: >> However if I type >> for i:=1 to N do >> begin| <-- press enter >> >> I have no indentation, and the cursor is placed right under "b" >> Why does it happen? > > It should be the same and it works here. Can you update to svn rev > 25683 an

Re: [Lazarus] Carbon - Ghost objects inside of components

2010-05-27 Thread dmitry boyarintsev
2010/5/27 Roland Turcan : > It   looks   me   as   a rectangle which is reserved for TScrollbar. I > hope, that Dmitry can explain it. This is Scrollbars. Somehow control's client size is reported wrongly, that makes LCL to show scrollbars. thanks, dmitry -- _

Re: [Lazarus] Auto-identation

2010-05-27 Thread dmitry boyarintsev
On Thu, May 27, 2010 at 1:51 PM, Mattias Gaertner wrote: > It should be the same and it works here. Can you update to svn rev > 25683 and try again? > If it still does that, can you compile the IDE clean with > -dVerboseIndenter? This will write to stdout why it indents. Thank you. I'll test it l

[Lazarus] Auto-identation

2010-05-27 Thread dmitry boyarintsev
Hello Developers Need your help and suggestion. I can't switch off the auto-identation. I've the option off in Editor->General->Indent and Tabs->"Auto indent" But, whenever I'm typing: for i:=1 to N do begin| <-- press enter I'm getting a new line indented 2 spaces (under "r"), instead of plac

Re: [Lazarus] quick opinion poll / pascal highlighting "case"

2010-05-24 Thread dmitry boyarintsev
off by default thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] IDE layouts

2010-05-23 Thread dmitry boyarintsev
On Fri, May 21, 2010 at 11:26 PM, Hans-Peter Diettrich wrote: > Here's my idea about loadable IDE layouts: > ... What prevents you from makeing "IDE layouts" as IDE extension rather than modification of IDE itself? I always prefer "extension" way instead of "modification". Since extensions are ea

Re: [Lazarus] Lazarus make me create better apps

2010-05-19 Thread dmitry boyarintsev
Once NativeClient (http://code.google.com/p/nativeclient/) gains its popularity (and all browsers would have NativeClient) All scripting languages would be outdated, leaving its place for native compilers, like FPC (gcc and etc). The interesting thing is FPC is NativeClient ready (since x86 and AR

Re: [Lazarus] Code refused from Andreas Hausladen? Is this true?

2010-05-13 Thread dmitry boyarintsev
On Thu, May 13, 2010 at 7:46 PM, Henry Vermaak wrote: > I haven't experienced this, can you point me to some threads/messages > that exhibits this rude behaviour from Lazarus devs? There's one happened recently in Russian community. But in the end it turned out to be another discussion about "why

[Lazarus] Custom compiler messages file changes

2010-05-10 Thread dmitry boyarintsev
Hello List There's a change been made in Lazarus trunk (r25305). Before the revision a Lazarus user could configure a custom compiler messages file (i.e. to translate messages into native language). The option used to be configured per project, so with the next project start it was necessary to r

Re: [Lazarus] Stand-alone (external) Form Designer?

2010-05-07 Thread dmitry boyarintsev
I see no problems building external form designer. All you need is to read and write .lfm format. :) And since .lfm writting/reading is based on RTTI, any FPC program should support it, natively. as Hans-Peter has already noted, the biggest problem would be supporting custom (non LCL standard) con

Re: [Lazarus] LCL messaging system SendMessage and Multi-Threads

2010-05-06 Thread dmitry boyarintsev
On Fri, May 7, 2010 at 7:49 AM, Andrew Brunner wrote: > I'm having a problem with a thread I have that is using SendMessage to > post to a window handle (Ubuntu x64 10.04).  The message comes in just > fine.  The problem is that I want to change the visibility of a > component on a form and the pr

Re: [Lazarus] Stand-alone (external) Form Designer?

2010-05-06 Thread dmitry boyarintsev
On Thu, May 6, 2010 at 2:32 PM, Graeme Geldenhuys wrote: > Would it be possible to build the Form Designer used in Lazarus IDE as > an external / stand-alone application? Something like Glade for GTK, > Qt Designer for Qt or UI Designer for fpGUI. Do you mean, you want Lazarus to change pascal so

Re: [Lazarus] Suggestion: Remove GTK1 support from IDE and LCL.

2010-05-06 Thread dmitry boyarintsev
It seems like this is caused by the latest Bidi patches. Should Bidi code be moved to Gtk2 sources only? Imho, it's better to split Gtk1 and Gtk2 sources completely. IIRC, gtk2 widgetset is still using some gtk1 units. thanks, dmitry -- ___ Lazarus mai

Re: [Lazarus] Lazarus make me create better apps

2010-05-03 Thread dmitry boyarintsev
On Mon, May 3, 2010 at 7:34 AM, Graeme Geldenhuys wrote: > I had a relatively good working IDE, then last Thursday I got a > svn updated and already I found 5 regression bugs. Reported two and not > bothering with the rest. Please report them, otherwise it doesn't seem to be fair, to blame the tea

Re: [Lazarus] debugger crashing on OS X

2010-04-30 Thread dmitry boyarintsev
Hello John, The problem with OSX debugger is that Apple has its own gdb-fork (a bit different to GNU gdb). To makes things worse, gdb slightly changes from one Xcode minor release to another. So, if you want to have your debugger working with Xcode 3.2.2. please send the content of Debug Output wi

Re: [Lazarus] New source editor feature (hidding tabs)

2010-04-23 Thread dmitry boyarintsev
On Fri, Apr 23, 2010 at 7:35 PM, Martin wrote: > It should be off by default. (If not (in latest svn) let me know / There may > have been a revision, where it was on by default...) thanks. Found it. It seems like it's ON by default. thanks, dmitry --

[Lazarus] New source editor feature (hidding tabs)

2010-04-23 Thread dmitry boyarintsev
Hello Developers, There's a new feature with the source editor. If only a single unit is opened, there's no tab editor present (or tabs hidden) If a second unit is opened, the tabs are shown again. Is it possible to switch this off (any Environment option)? I would like to see Tabs all the time.

Re: [Lazarus] RTL Bug - TCopyDataStruct - needs TCopyDataStruct64 to be added.

2010-04-23 Thread dmitry boyarintsev
Fixes in RTL are "released" with the release of the next compiler version. But you can fix RTL and compile it yourself. thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] SendMessage Bug Work Around.

2010-04-22 Thread dmitry boyarintsev
On Thu, Apr 22, 2010 at 4:43 PM, Justin Smyth wrote: > I know alot of you guys are not using win32 but other variants of linux but > for the people who are using win32 this maybe of interest if you have got > issues with SendMessage on win32. Could you show the example that doesn't work? thanks,

Re: [Lazarus] An Install tip for PowerPC macs

2010-04-19 Thread dmitry boyarintsev
That's strange, because Lazarus shouldn't crash with incorrect compiler version used. On Mon, Apr 19, 2010 at 2:32 PM, wrote: > So, I will add this workaround into Lazarus-ccr : OS_X_Programming_Tips, ok? sure, you can. Also, if you have time, please test one of the daily snapshots to see if th

Re: [Lazarus] TComboBox and OnChange

2010-03-24 Thread dmitry boyarintsev
On Wed, Mar 24, 2010 at 4:42 PM, Michael Fuchs wrote: > I know that this behaviour is the same as in Delphi, but I think it is not > consistent. Is it possible to change this? Why the behavior is not consistent? Since your code has changed Text value you're aware of the change happened. So you c

Re: [Lazarus] TOpenGLComponent bug

2010-03-21 Thread dmitry boyarintsev
2010/2/13 Albin Pučnik : > I dont want my students to get wrong impression of Lazarus and FPC. > Could some of developers devote some of his time to look at that bug ? I've uploaded the patch, please test. thanks, dmitry -- ___ Lazarus mailing list Laz

Re: [Lazarus] This project needs help

2010-03-08 Thread dmitry boyarintsev
Why leaving, instead of forking? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Is Lazarus project in a downward spiral?

2010-03-07 Thread dmitry boyarintsev
About Mantis graph of the issues (discussed in the beginning of the thread). There's CSV export available: http://bugs.freepascal.org/csv_export.php for any user (login is not required). So lnet (or synapse) + gui (lcl, msegui, fplib) or any image processing lib and one can get the graph image loc

Re: [Lazarus] RFC: remove StayOnTop for splash screen

2010-02-28 Thread dmitry boyarintsev
2010/3/1 Flávio Etrusco : > what do you think of removing the fsStayOnTop flag for the splash > screen? It serves no purpose and is very annoying... Agreed. It's better to speed-up loading, rather than masking it with all kind of splash screens. thanks, dmitry --

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread dmitry boyarintsev
On Sun, Feb 28, 2010 at 8:53 PM, Sergei Gorelkin wrote: > There should be no need to test for the IDE. Just write messages to some > named IPC channel, and have the IDE (or whatever other "log viewer" > application) listen on the other side. IIRC this is how OutputDebugString > works, it uses a na

Re: [Lazarus] Just Curious

2010-02-27 Thread dmitry boyarintsev
On Sat, Feb 27, 2010 at 12:19 PM, wrote: > I received the following automatic message. > The mail is being held until the list moderator can review it for approval, > because its size was > close to 1MB, the limit beeing 100K. Have you attached anything to the email? Try no to do so, giving a l

Re: [Lazarus] debug windows layout

2010-02-25 Thread dmitry boyarintsev
On Thu, Feb 25, 2010 at 4:09 PM, Marc Weustink wrote: >> Is it possible to get debugger's TForms from IDE in anyway? > > ??? If debugger forms would be available as classes for IDE extensions (via IDEIntf, for example), i could add them to the Manual Docker, as well :) thanks, dmitry -- ___

Re: [Lazarus] debug windows layout

2010-02-25 Thread dmitry boyarintsev
On Thu, Feb 25, 2010 at 12:37 PM, Marc Weustink wrote: > +1 (since I want locals and watches separated from the others) Is it possible to get debugger's TForms from IDE in anyway? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepa

Re: [Lazarus] debug windows layout

2010-02-25 Thread dmitry boyarintsev
Asm listings are usually very long. It's pain to use them in such narrow window. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Bug Tracker & Wiki server is down

2010-02-14 Thread dmitry boyarintsev
On Mon, Feb 15, 2010 at 10:05 AM, Graeme Geldenhuys wrote: > Could somebody give the server hosting the Bug Tracker & Wiki a kick in the > butt. It's not responding. I can access bugs.freepascal.org. But not the wiki thanks, dmitry -- ___ Lazarus mail

Re: [Lazarus] TCheckListBox not displaying internationalized characters

2010-02-07 Thread dmitry boyarintsev
On Mon, Feb 8, 2010 at 4:52 AM, Marcelo B de Paula wrote: > Opened Bug report # 15704 Fixed. Please test thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Reconstructing Lazarus Website 1: the appearance

2010-01-30 Thread dmitry boyarintsev
On Sat, Jan 30, 2010 at 5:17 PM, Bee Jay wrote: > If we settle with the whole things, we could ask some volunteers > to do some works over the agreed ideas. I'd start searching volunteers first :) thanks, dmitry -- ___ Lazarus mailing list Lazarus@lis

Re: [Lazarus] Carbon: TCalendar

2010-01-28 Thread dmitry boyarintsev
On Thu, Jan 28, 2010 at 12:35 PM, Roland Turcan wrote: > BTW: How can I search in bug tracker if this bug is already reported? please report the bug. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.

Re: [Lazarus] Improving IDE Internationalization

2010-01-25 Thread dmitry boyarintsev
Hello Marcelo, I've recently been told about developing of a new fpc feature. The feature would allow user to override a default message type (any hint, note or warning) and treat it it as a error. So determining a message type by its number would provide a wrong result (at least icon of the mess

Re: [Lazarus] Improving IDE Internationalization

2010-01-25 Thread dmitry boyarintsev
On Mon, Jan 25, 2010 at 5:16 PM, Marcelo B de Paula wrote: > Any question about this code, feel free to ask. Using stand-alone files might be trouble some. It's better to report new features as patches Please see, http://wiki.freepascal.org/Creating_A_Patch thanks, dmitry -- ___

Re: [Lazarus] Improving IDE Internationalization

2010-01-24 Thread dmitry boyarintsev
If you've a patch ready please send it to bugs.freepascal.org as well, creating the issue. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Improving IDE Internationalization

2010-01-24 Thread dmitry boyarintsev
Indeed, quick fixes have hardcoded English messages. It's possible to use translated messages, with out using message numbers, but it's much harder job than using -vq switch directly. You're free to provide the patch for fixing the problem (and using -vq switch). But you should make the patch aga

Re: [Lazarus] Improving IDE Internationalization

2010-01-24 Thread dmitry boyarintsev
On Sun, Jan 24, 2010 at 6:33 PM, Marcelo B de Paula wrote: > If i change compiler messages by loading another errorxx.msg in IDE or use a > different errorxx.msg > to compile the compiler itself, the first thing i´ve noticed is that > QuickFixItems stop working, > and message icons on message view

Re: [Lazarus] Improving IDE Internationalization

2010-01-24 Thread dmitry boyarintsev
On Sun, Jan 24, 2010 at 4:50 PM, Marcelo B de Paula wrote: > The fact that current code is comparing messages with const strings like > "Note:" prevent the use of > translated compiler messages. Instead, the use of message numbers (compiler > switch -vq) can be > used in place to detect the type o

Re: [Lazarus] Cross platform 'open file with default program'

2010-01-24 Thread dmitry boyarintsev
On Sun, Jan 24, 2010 at 2:08 PM, Juha Manninen wrote: > One thing is missing though. There is no portable way of getting application's > icon like ExtractAssociatedIcon does in Windows? This is somewhat related to > opening the file. It depends on what you exactly need. If you need just to get an

Re: [Lazarus] Cross platform 'open file with default program'

2010-01-24 Thread dmitry boyarintsev
On Sun, Jan 24, 2010 at 12:05 PM, Juha Manninen wrote: > If OSX supports your 'xdg-open' then most environments are covered. It doesn't, by default. There's an external tool 'open' available for such task. But, it's better to use launcher API (see OpenURL darwin code). thanks, dmitry -- ___

Re: [Lazarus] Improving IDE Internationalization

2010-01-23 Thread dmitry boyarintsev
Hello Marcelo, The current (svn version) of Lazarus, is working as described. Except for messages are not loaded from errore.msg file initially. The location of errore.msg may vary from platform to platform, depending on location of FPC. But IDE's compiler messages can be configured to load the m

Re: [Lazarus] Wiki Search

2010-01-15 Thread dmitry boyarintsev
On Fri, Jan 15, 2010 at 9:56 PM, Vincent Snijders wrote: > What should it be without user information? Hmm... can the sensitive data be ...modified... on making the dump. i.e. user_password and user_email in users table?! thanks, dmitry -- ___ Lazarus

Re: [Lazarus] Wiki Search

2010-01-15 Thread dmitry boyarintsev
On Fri, Jan 15, 2010 at 9:00 PM, Vincent Snijders wrote: > If you mean a dump of the current mysql db, then no, that is not possible, > because it contains users, email addresses, passwords too. Isn't it possible to make a dump without user information? thanks, dmitry -- ___

Re: [Lazarus] const array syntax

2010-01-11 Thread dmitry boyarintsev
On Tue, Jan 12, 2010 at 1:30 AM, Alexander Klenin wrote: > > 1) Proposed syntax seems somewhat suboptimal. Historically, Pascal > used redundancy and keywords to minimize the chance of errors and > make diagnostics easier. In that spirit, I think some active indication > of arbitrary upper bound i

Re: [Lazarus] Groudwork for Undo in Form Designer

2010-01-09 Thread dmitry boyarintsev
> On Sat, Jan 9, 2010 at 12:20 AM, Hans-Peter Diettrich > wrote: >> At least the error message could mention the actual number of entries, as >> found in source code. This doesn't require any change to the language or >> compiler, only an change to the error message generation. ok, here's the full

Re: [Lazarus] Groudwork for Undo in Form Designer

2010-01-08 Thread dmitry boyarintsev
On Sat, Jan 9, 2010 at 12:20 AM, Hans-Peter Diettrich wrote: > At least the error message could mention the actual number of entries, as > found in source code. This doesn't require any change to the language or > compiler, only an change to the error message generation. lol, something like this?

Re: [Lazarus] Fwd: wishlist for new forum

2010-01-06 Thread dmitry boyarintsev
2010/1/7 Robin Hoo : > ... or submit our bug fix. There's better place for this, rather than forum: bugs.freepascal.org thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/

Re: [Lazarus] Window body dragging

2010-01-02 Thread dmitry boyarintsev
On Sat, Jan 2, 2010 at 3:46 PM, Felipe Monteiro de Carvalho wrote: > 1 - Use MouseMove, MouseUp, MouseDown to emulate this, but in my Mac > it sometimes looses track of MouseMove because the mouse was faster > then the window, so not 100% good Yep. I've noted the same effect on OSX (using MouseUp

Re: [Lazarus] Configure "Build Lazarus" was weird but no more...

2009-12-15 Thread dmitry boyarintsev
On Tue, Dec 15, 2009 at 1:30 PM, Mattias Gaertner wrote: >> Also, which "profile" will be used when the IDE is rebuilt from the package >> dialog? > > The "current" selected. Are you sure? I usually need to rebuild LCL only, so my current **advanced build** settings are set to "LCL" (buid+clean)

Re: [Lazarus] Start an application as root on Mac

2009-12-15 Thread dmitry boyarintsev
On Tue, Dec 15, 2009 at 12:56 PM, Roland Turcan wrote: > How can I start an application with request for root's username and > password on Mac OS X? "sudo ApplicationBundle.app/Contents/MacOS/executable_name" But i guess you're asking about Authorization: http://developer.apple.com/mac/library/d

Re: [Lazarus] Configure "Build Lazarus" was weird but no more...

2009-12-14 Thread dmitry boyarintsev
On Mon, Dec 14, 2009 at 11:51 PM, Juha Manninen wrote: > IMO this combobox is better than the original 2 tab-pages. This way you get > visual feedback of the changes. The original tab-control was just non- > intuitive. AFAIK, 2 tabs are actually 2 independent build options dialog. Settings on one

Re: [Lazarus] Configure "Build Lazarus" was weird but no more...

2009-12-14 Thread dmitry boyarintsev
On Mon, Dec 14, 2009 at 9:36 PM, Vincent Snijders wrote: > > Do you have an idea to make it better? > Here's my point of view how to make the build options shorter and cleaner: http://imagebin.org/75477 The top combobox "Quick Build options" allows to select predefined set of components. The item

Re: [Lazarus] Configure "Build Lazarus" was weird but no more...

2009-12-14 Thread dmitry boyarintsev
On Mon, Dec 14, 2009 at 9:36 PM, Vincent Snijders wrote: > > Do you have an idea to make it better? Of course, i don't :) But i like hot it looks now. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus

Re: [Lazarus] Configure "Build Lazarus" was weird but no more...

2009-12-14 Thread dmitry boyarintsev
On Mon, Dec 14, 2009 at 8:41 PM, Juha Manninen wrote: > http://koti.phnet.fi/juhamann/Lazarus/BuildLazarus.jpg Imho, too many controls. It's hard to understand what controls're actually controlling what is about to be build. thanks, dmitry -- ___ Laza

Re: [Lazarus] Powerpoint thumbnails

2009-12-11 Thread dmitry boyarintsev
On Fri, Dec 11, 2009 at 9:58 PM, Mattias Gaertner wrote: > I need to create thumbnails of MS powerpoint presentation files. > Mainly for windows, but would be nice to have it on linux and mac too. > > Has someone an idea how to do this or maybe already has some code? Should .ppt specification hel

Re: [Lazarus] TCustomComboBox.ArrowKeysTraverseList mistery

2009-12-09 Thread dmitry boyarintsev
On Wed, Dec 9, 2009 at 8:32 PM, zeljko wrote: > Anyone on this planet knows why we have this property in LCL (and what this > property is supposed to do) ? Imho, there's no need in such property. It's up to widgetset('s combo box) to allow keyboard traverse or not. thanks, dmitry --

Re: [Lazarus] Problem with OpenGLContext's mouse events

2009-11-25 Thread dmitry boyarintsev
Please report the bug to the mantis (bugs.freepascal.org) with the sample project. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Mac OS X : Trying to install richmemo packge, CodeHelp.pas not compiling...

2009-11-19 Thread dmitry boyarintsev
On Thu, Nov 19, 2009 at 3:10 AM, wrote: > "/usr/local/share/lazarus/ide/codehelp.pas(2519) Error: Can't create > assembler file: ../units/i386-darwin/codehelp.s" > > Is this a super user aka sudo related error? it shouldn't be. Where's Lazarus installed? Does the codehelp.s exist? If so, can be

Re: [Lazarus] Bitmap assign does not copy PixelFormat...

2009-11-16 Thread dmitry boyarintsev
please make the bug report with sample project (and bitmaps) attached. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Mac OS X : FPC revision 14200 not building...

2009-11-16 Thread dmitry boyarintsev
Sorry. I though you're talking about Lazarus trunk, not FPC. anyway, obj-c support has been added to FPC. You should be able to bootstrap the trunk-compiler and rtl with 2.2.4 or 2.4.0-rc version. thanks, dmitry -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] Mac OS X : FPC revision 14200 not building...

2009-11-16 Thread dmitry boyarintsev
On Mon, Nov 16, 2009 at 6:00 PM, wrote: > I just double checked and ran sudo svn update again and got.. > "At revision 14200." please run "svn info". what url is used? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org ht

Re: [Lazarus] Mac OS X : FPC revision 14200 not building...

2009-11-16 Thread dmitry boyarintsev
why would you need this old revision? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus for Intel Mac

2009-11-13 Thread dmitry boyarintsev
2009/11/13 Brian Prentice : > I use a three button mouse as I suspect most people do since such a mouse is > included with the computer! > Brian Phil wanted to point, that one-mouse button was provided with original Apple Macs, for very long time. To access context menu ctrl+click was used. Eventu

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
On Fri, Nov 13, 2009 at 12:12 AM, Mattias Gaertner wrote: > The designer uses ExcludeClipRect to clip child controls. > Maybe there is a bug in the carbon interface? Fixed in r22551 thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.free

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
On Fri, Nov 13, 2009 at 12:12 AM, Mattias Gaertner wrote: > The designer uses ExcludeClipRect to clip child controls. > Maybe there is a bug in the carbon interface? It can be. Needs testing. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
2009/11/12 Brian Prentice : > There is one issue which is pertinent to this topic though. > http://linuxenvy.com/bprentice/Lazarus/OSX.jpg > and > http://linuxenvy.com/bprentice/Lazarus/WindowsXP.jpg > show the Selection Control Dialog displayed on each operating system.  I > would be interested in

Re: [Lazarus] Mac OS X 6.2

2009-11-12 Thread dmitry boyarintsev
Hello John Lazarus uses symbol link to maintain MacOSX bundle. The project layout is the following: project (executable binary) project.app (the bundle) project.app/Content/MacOS/project (symbolic link to project binary outside the bundle) When you copy the bundle via Finder, the symbolic link i

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
2009/11/11 Brian Prentice : > I'll take a look at it tonight on my Macs. Since you're [thankfully] not > using the Win API anywhere, this app really should work. If not, then that > likely means something not right in the underlying Carbon-based widgetset > used on OS X. Note that it's still consid

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread dmitry boyarintsev
I've managed to compile the program and launch it on OSX, so i guess "Write once, compile anywhere" works. Too bad that OSes are too different, so some cross-platform style should be followed while writing the code. thanks, dmitry -- ___ Lazarus mailin

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread dmitry boyarintsev
here's list of the such programs: http://wiki.lazarus.freepascal.org/Lazarus_Projects and here's another one for all 3 OSe: .http://sourceforge.net/projects/devwork (please compile from sources). thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists

<    1   2   3   4   >