Re: [Lazarus] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Balazs Szekely
Hi,  Cannot reproduce(OSX 10.8.2, Lazarus trunk SVN: 1.5): 
https://youtu.be/zNT-dHOzalM
    

regards,Balázs

  From: Graeme Geldenhuys mailingli...@geldenhuys.co.uk
 To: lazarus@lists.lazarus.freepascal.org 
 Sent: Monday, June 15, 2015 3:25 PM
 Subject: [Lazarus] QuestionDlg block mouse and keyboard input under OSX
   
#yiv7948260297 .yiv7948260297sw_message 
P{margin:0px;padding:0px;}#yiv7948260297 .yiv7948260297sw_message 
{FONT-SIZE:12pt;FONT-FAMILY:Tahoma, Arial, Helvetica, 
sans-serif;background:white;}#yiv7948260297 .yiv7948260297sw_message 
blockquote{margin-left:5px;padding-left:5px;border-left:2px solid 
#144fae;color:#144fae;}#yiv7948260297 .yiv7948260297sw_message blockquote 
blockquote{border-left:2px solid #006312;color:#006312;}#yiv7948260297 
.yiv7948260297sw_message blockquote blockquote blockquote{border-left:2px solid 
#8e5656;color:#8e5656;}#yiv7948260297 .yiv7948260297sw_message blockquote 
blockquote blockquote blockquote{border-left:2px solid #888;color:#888;}Hi,

Attached is a very simple test project. It uses a QuestionDlg() in the form's 
OnShow (eg: to ask a user if they want online or offline access for the 
application). It was purposely added there to ask a question before the main 
form is shown. This LCL application works perfectly under Windows, Linux and 
FreeBSD. But it blocks mouse and keyboard input under OSX - so the user can't 
actually answer the question and get into the application! The only thing I can 
do is click the red x button in the dialog title area, but that is no real 
solution.

Is this a know issue under OSX? Anybody have a work-around?

ps:
Regarding the attached archive. I added the extra extension .removeme to 
overcome stupid spam/virus checks. Please remove the extra extension and unpack 
as normal.

Regards,
  Graeme

 
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Docked Form

2015-06-12 Thread Balazs Szekely
 Waldo Kitty, Kovács László, thank you for your feedback. It's highly 
appreciated!
 
 From: waldo kitty wkitt...@windstream.net
 To: lazarus@lists.lazarus.freepascal.org 
 Sent: Friday, June 12, 2015 8:20 PM
 Subject: Re: [Lazarus] Docked Form
   
On 06/12/2015 02:49 AM, Balazs Szekely wrote:


 Hi Sandro,

 Thank you for forwarding my mail. Yes, I'm registered to the mailing list and 
 I
 do not understand why my mails end up in spam.
 Usually I'm able to reply to other peoples mails, but sending new one always 
 fail.

your first post with the attachment came here just fine... no spam notice and 
it 
wasn't hidden in any of my spam folders on any of my accounts i have 
subscribed...

-- 
  NOTE: No off-list assistance is given without prior approval.
        Please *keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Docked Form

2015-06-12 Thread Balazs Szekely
Hi Maciej,
I like your docking system very much. I would like to see some of the features 
ported back to Lazarus. I have a question, though:
I read on your site that FreeSparta only works on Windows. It would be 
difficult to make it Linux/OSX compatible? We need a docking system that is 
functional on every widgetset.The latest CT implementation works on every 
platform(ok, it has some issues on OSX, but it can be fixed).  

regards,Balázs
 From: Maciej Izak hnb.c...@gmail.com
 To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org 
 Sent: Friday, June 12, 2015 3:11 PM
 Subject: Re: [Lazarus] Docked Form
   


12 cze 2015 10:31 Juha Manninen juha.mannine...@gmail.com napisał(a):


I remember mentioned years ago that a docked form editor for
AnchorDocking is not implemented in Lazarus yet because it needs
proper design and many changes, and thus the CodeTyphon solution was
not good enough. I don't know any details of that. I don't know what
are the alternative details either.

Juha



An alternative implementation exists in freesparta, compatible with 
AnchorDocking and is flexible. It needs a little work but would allow anchoring 
to different docking plug-ins ... Now I am not able to do anything. Lack of 
Generics.Collections as part of FPC RTL is blocking me for futher work. Status 
o Generics.Collections is unclear.  Sven is not really happy with interface 
hacks in library but I don't see any alternative...
Anyway the system is designed to allow additional cards to create like history 
(without using Generics.Collections :) ).
If someone had helped me more then I would be able to implement compatible 
ToolsAPI.pas with Delphi... That means Delphi plugins pluggable with Lazarus 
with small changes :).
(if considered the introduction of 
https://github.com/dathox/freesparta/tree/master/lazarus_sparta_patch/components/ideintf
especially
   TTabDisplayState   TLazarusIDEHandlerType   TIDETabMaster
  
https://github.com/dathox/freesparta/blob/master/lazarus_sparta_patch/components/ideintf/lazideintf.pas)
 
Best regards,Maciej Izak

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] DLL unicode value

2015-05-22 Thread Balazs Szekely
Can you please attach a small project(MediaInfo.dll and test.mp3 included) so I 
can run a few tests?

 

 From: aradeonas aradeo...@operamail.com
 To: lazarus@lists.lazarus.freepascal.org 
 Sent: Friday, May 22, 2015 7:24 PM
 Subject: Re: [Lazarus] DLL unicode value
   
 Thanks but it didnt work.It just now show ? instead of  but still debug 
hint of us is correct.


 Ara
  -- 
http://www.fastmail.com - Same, same, but different...

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] DLL unicode value

2015-05-22 Thread Balazs Szekely
Hi Ara,
Try this:uses lazutf8;var  us: unicodestring;//alternatively you can use 
widestring
begin   //...   us := MediaInfo_Get(HND, Stream_General, 0, 'Title', Info_Text, 
Info_Name);   ListBox.Items.Add(UTF16ToUTF8(us);
end;
  From: aradeonas aradeo...@operamail.com
 To: lazarus@lists.lazarus.freepascal.org 
 Sent: Friday, May 22, 2015 6:34 PM
 Subject: [Lazarus] DLL unicode value
   
Hi,
 I want to get unicode value from an mp3 file and I used MediaInfo library for 
this and its unicode support and I used unicode methods.
Code is simple :
 
MediaInfoDLL_Load('MediaInfo.dll');
HND := MediaInfo_New(); 
MediaInfo_Open(HND, 'test.mp3');  
ListBox.Items.Add(MediaInfo_Get(HND, Stream_General, 0, 'Title', Info_Text, 
Info_Name));
//MediaInfo_Get:    function  (Handle: Cardinal; StreamKind: TMIStreamKind; 
StreamNumber: Integer; Parameter: PWideChar; KindOfInfo: TMIInfo; KindOfSearch: 
TMIInfo): PWideChar cdecl stdcall;

 It work if Title value is ansi but if it is unicode it returns ???  !
But if I debug andset value to an string it's deug it shows me correct value.

s:=MediaInfo_Get(HND, Stream_General, 0, 'Title', Info_Text, Info_Name);//in 
debug s hint shows correct value but ListBox add ???
ListBox.Items.Add(s);

 Regards,
Ara
 -- 
http://www.fastmail.com - Access your email from home and the web

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] DLL unicode value

2015-05-22 Thread Balazs Szekely
I'm glad it's working now. No, I don't have experience with MediaInfo, but I 
seen this Windows(UTF16) --Lazarus(UTF8) conversion problem so many times that 
I thought I put my two cents in.
regards,Balazs
 
  From: aradeonas aradeo...@operamail.com
 To: lazarus@lists.lazarus.freepascal.org 
 Sent: Friday, May 22, 2015 8:03 PM
 Subject: Re: [Lazarus] DLL unicode value
   
I was preparing test files for you but I found a missed typing in my
code else where that cause this problem ;)
Thank you very much.

Balazs do you have expediencies with MediaInfo?

Regards,
Ara


-- 
http://www.fastmail.com - Send your email first class




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


   --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE coolbar position not saving

2015-04-03 Thread Balazs Szekely
Load/Save configuration bug fixed. Please test it, after commit.Thanks!

  From: FreeMan freema...@delphiturkiye.com
 To: Lazarus mail list Lazarus@lists.lazarus.freepascal.org 
 Sent: Thursday, April 2, 2015 11:08 AM
 Subject: [Lazarus] IDE coolbar position not saving
   
lazarus r48585 yosemite qt x64
IDE coolbar position not saving. After restart, always setting to 
default position.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


   --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE coolbar position not saving

2015-04-02 Thread Balazs Szekely

  From: Juha Manninen juha.mannine...@gmail.com
 To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org 
 Sent: Thursday, April 2, 2015 11:11 AM
 Subject: Re: [Lazarus] IDE coolbar position not saving
   
On Thu, Apr 2, 2015 at 11:08 AM, FreeMan freema...@delphiturkiye.com wrote:
 lazarus r48585 yosemite qt x64
 IDE coolbar position not saving. After restart, always setting to default
 position.

True.


I will fix it today!
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


   --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] IDE Coolbar

2015-03-19 Thread Balazs Szekely
Hi all,
I almost finished the coolbar implementation:
http://youtu.be/qOwAQVqaG5E
Any ideas, suggestions are welcomed.
Should we make a Layout profile setting for the whole IDE?Thank you!


I also ask the same question on the 
forum:http://forum.lazarus.freepascal.org/index.php/topic,27779.0.html



regards,Balázs Székely
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus