Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-04

Component manager

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tony Maro

Mattias hasn't said anything yet, so I will...

We just added a component manager to Lazarus. It manages the customidecomps.pas file for you automatically. I just updated from CVS and it's in the current version.

This will make it much easier to add in downloaded components. Look for "configure custom components" in the components menu. Make sure you copy the sourcecode for the components you are adding somewhere in the lazarus units path first. It lets you choose the source file to add and then lists the type definitions available in that file, for you to select what components to install. Once added, you can also configure what page they appear on.

No doubt my parsing on the source files will turn out wrong for someone... so don't be surprised if it does an endless loop or some other sillyness. ;-)

Tony Maro http://tony.maro.net/ Check out my software "CheckBook Tracker" A GPL (free) replacement for Microsoft Money!

Reply by email

Tony Maro
to Tony Maro
Jens Arm wrote
Hi Fine update and a Menueditor is added, too :)

Wow, didn't notice that!

Show quoted text 7 lines
But If I try to click in the Componentmanager on Save or "add new" Lazarus and X doesn't work anymore. Sometime X is killed, but often nothing than Ctrl-Alt-Backspace works :( I get no errors from Lazarus in the Console :( Jens

Sounds like an endless loop. I had that happen to me once last night with "add new" when I selected a file that didn't have a valid TYPE definition. I'll do some more testing to see what's happening. I run GKrellM with a processor meter just to catch things like this... can instantly see when something hogs 100% processor usage.

I don't see how it could happen on the SAVE option though. I'll double-check the code to make sure.

-Tony

Reply by email

Tony Maro
to Tony Maro: Mattias hasn't said anything yet, so I will... We just added a component manager to…
Tony Maro wrote 10 lines
> But If I try to click in the Componentmanager on Save or "add new" > Lazarus and X doesn't work anymore. Sometime X is killed, but often > nothing than Ctrl-Alt-Backspace works :( > I get no errors from Lazarus in the Console :( > > Jens Sounds like an endless loop. I had that happen to me once last night with "add new" when I selected a file that didn't have a valid TYPE definition. I'll do some more testing to see what's happening.

I found a problem in the parser that if a component is not found in the unit then it would return an uninitialized integer as the count of components... meaning it could be hugely huge.

Fixed, Mattias has already applied.

Thanks,
Tony

Reply by email