Re: [Lazarus] Flexible exporter for grid-like components

2016-05-06 Thread Bart
nd implementation. Once committed, others will participate. Since it is only in trunk, it does not really matter if (even radical) changes are made to the system in the road to the next major release. Bart -- ___ Lazarus mailing list

Re: [Lazarus] Editor tabs and opening new files

2016-04-29 Thread Bart
indow? That would indeed be a nice option. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Problem with non-ascii chars fpc-3.0.0 vs fpc-3.1.1 under Windows

2016-04-28 Thread Bart
ring (on my system) then has stringCodePage = CP_UTF8 again. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Controls without a TCustomXClassname

2016-04-26 Thread Bart
; ** TDBEdit > ** TNotebook (and TPage) Maybe I'missing the point but: TDBEdit = class(TCustomMaskEdit) TDBText = class(TCustomLabel) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to clear screen in console app

2016-04-23 Thread Bart
lready about it's behaviour (echoing control characters) in http://bugs.freepascal.org/view.php?id=22349 Feel free to post enhencements. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Humour

2016-04-20 Thread Bart
econd one (7 perpendicular red lines, some of them in green and transparent ink) is even better. And it translates well to other fiels of work than ICT. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal

Re: [Lazarus] [solved] Re: Filtering shown files in TShellListView

2016-04-11 Thread Bart
at the list population code. ;) Done in r52165 (trunk). Since this is not a bug, it will not be merged to 1.6 fixes branch I think. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] [solved] Re: Filtering shown files in TShellListView

2016-04-10 Thread Bart
On 4/10/16, Marc Santhoff <m.santh...@web.de> wrote: > I thought so too, but only because I didn't look for the "Mask" property > of TCustomShellListView. :) I didn't see it in OI, was too lazy to look it up in the source. Looks like a property that shou

Re: [Lazarus] Filtering shown files in TShellListView

2016-04-09 Thread Bart
On 4/10/16, Marc Santhoff <m.santh...@web.de> wrote: > I discovered the excellent TShellTreeView and TShellListView. > > How would I filter the shown files in TShellListView to a single or a > few types, like '*.txt' or '*.txt; '*.rtf'? I don't th

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Bart
(and after proper warning by an "administrator"). Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Suggestion for TRadioGroup documentation

2016-04-08 Thread Bart
, and just play with the component, after just a few minutes you must have seen the Items property, played with it and see what it does? Bart Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Suggestion for TRadioGroup documentation

2016-04-08 Thread Bart
sts. > > To use ItemIndex you have to populate the TRadioGroup using strings. This is as it has always been, and as it was even in the Delphi 3 days. Use the component in the way it is designed to work. Why you would even drop individual radiobuttons on a TRadioGrou

Re: [Lazarus] {$warn 5023 off: No warning about unused units}

2016-04-06 Thread Bart
reason it didn't work the first time) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] German umlauts in component names

2016-04-05 Thread Bart
some basic English for > pretty much the same reasons. Da capo al fine ;-) Bart (not Italian) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Instalation on win 10

2016-04-05 Thread Bart
? Just install a decent OS. (Sorry, couldn't resist) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] German umlauts in component names

2016-04-04 Thread Bart
enDataStructuur do begin ... end; .. end; But that's just me. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] GetAppConfigDir on Windows XP (PT-BR): Configura??es

2016-04-01 Thread Bart
rW into SHGetFolderPathUTF8 and exposed it in the interface section of LazFileUtils. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] GetAppConfigDir on Windows XP (PT-BR): Configura??es

2016-04-01 Thread Bart
NICODE_RTL is defined. But GetWindowsSpecialDir still calls it as > SHGetFolderPathA, passing under-sized PChar buffer instead of PWideChar. GetAppConfigDirUTF8 on Windows uses SHGetFolderPathW directly and then does Utf16ToUtf8 on the result. Bypassig the GetWindowsSpecialDir in fpc completely. (revision 43495 by b

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-31 Thread Bart
are getting off-topic more and more. Sorry for that. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-31 Thread Bart
d to care about it, or even > about endianess. > Delphi reaches the same goal by mapping String -> UnicodeString. > When you need Ansi codepages then you need to pay attention obviously, > otherwise not. In my fantasy scenario the String would of course have the meaning of UnicodeSt

Re: [Lazarus] Strange error with TValueListEditor

2016-03-31 Thread Bart
ail adress, I will treat is as copyrighted material. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Strange error with TValueListEditor

2016-03-31 Thread Bart
quit Lazarus, restart: same problem? If not: does the lfm look different? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-31 Thread Bart
Hebrew, which was a bit difficult for me). Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Strange error with TValueListEditor

2016-03-31 Thread Bart
m my ValueListEditor test suite, and it loads without problems on Lazarus trunk and Lazarus 1.6 (32-bit on Win7-64). 1. Can you copy the relevant part of the lfm file and post it here? 2. 1.4 series is old. Please update to 1.6 Bart -- ___ Laz

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-31 Thread Bart
e utf8) to that file, and then don't use -FcUTF8 anymore (which is what I'm doing ATM), That should be rather safe then I guess. Will all this mess go away if we would go the Delphi way (String=UnicodeString)? (I know *nix users are going to hate me now) Bart -- _

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-30 Thread Bart
o Graeme or to me. Either way both of us simply used a plain fpc console application, compiled on commandline with fpc. I was wondering why DefaultSystemCodepage would return CP_ACP on Graemes FreeBsd with an UTF8 locale? Bart -- ___ Laz

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-30 Thread Bart
ntents of S1 in either case is correct. Without the codepage identifiier on Windows, after the assignement S1 contains a UTF8 byte-sequence, but the compiler treats it as CP_ACP, and therefor on my system as codepage 1252, and now the string has a completely different me

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-30 Thread Bart
indows) and what locale? I'm on Windows with Dutch locale (Windows codepage = cp1252) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-30 Thread Bart
the string encoding issue and I don't even have > a proper Windows system to test with. > Could maybe Mattias, you, Michl and whoever take care of the issue please. I think the statement in the wiki that {$codepage utf8} is not needed is wrong. Bart -- _

Re: [Lazarus] GetAppConfigDir on Windows XP (PT-BR): Configura??es

2016-03-30 Thread Bart
age or a TLabel) or when written to console with writeln?? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-30 Thread Bart
at least not what I expected it to be) With the proper {$codepage utf8} inserted it will output: DefaultSystemcodePage = 1252 TestUtf8 = $C3 $84 $41 $C3 $84 S1 = $C3 $84 $41 $C3 $84 [65001] ÄAÄ I would say that this experiment contradicts the statement in http://wiki.freepascal.org/Be

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-30 Thread Bart
t runs fine (in my locale on Windows) with -FcUTF8. (I have it there because I build all my projects with this define, because almost all of them contain some strings with diacritics) I'm too lazy just yet to insert proper codepage defines in the relevant places. Curious though: in what scenario's d

Re: [Lazarus] Lazarus 1.6 crash

2016-03-27 Thread Bart
On 3/27/16, Ondrej Pokorny <laza...@kluug.net> wrote: > I remember that I fixed it. What Lazarus version did you test with? > 1.6.0 or the 1_6_fixes SVN branch? In r51760 Got merged to 1.6 fixes some days ago. Bart -- ___ Lazarus mailing

Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-24 Thread Bart
o you insist that it must be done in another way? Why can you simpy use the mechanismes we have provided for just that? If you don want a shortcut (why???) then just start it from the console (as i do with lazarus fixes branch). Bart -- ___ Lazarus mailing

Re: [Lazarus] Access violation r.51977

2016-03-24 Thread Bart
On 3/24/16, Vojtěch Čihák <vojtech.ci...@atlas.cz> wrote: > Commit description (by Bart): > LazUtf8: firts attempt to rewrite Utf8CompareStr and Utf8CompareText so that ... > Lazarus 1.7 r51976M FPC 3.0.0 x86_64-linux-qt > > Qt 4.8.7, Plasma 5.5 > > @Bart: Should I rep

Re: [Lazarus] LCL exports CC-licensed icons to every LCL application

2016-03-23 Thread Bart
t;From my standard AboutDlg: if LazVersion = '' then LazVersion := 'Lazarus '+ LCLVersion; if FpcVersion = '' then FpcVersion := 'FPC ' + {$I %FPCVERSION%}; Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.free

Re: [Lazarus] Lazarus 1.6 can break old programs?

2016-03-09 Thread Bart
DB_Debugger_Tips Try - go to the debugger options and set the field "DisableLoadSymbolsForLibraries" to "True" If that does not help, try some of the other suggestions. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://

Re: [Lazarus] Lazarus svn trunk compilation broken under Windows

2016-03-07 Thread Bart
dule, >> stopping >> > Fatal: Compilation aborted >> > Pls open an issue about it (if it's not fixed already) and attach patch. Already fixed in r51838. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus on my ancient computer?

2016-02-26 Thread Bart
to get rid of them. How did you do it? Find the crti.o file on your system: find -name crti.o It seems to default to /usr/lib/i386-linux-gnu/ Open /etc/fpc.cfg Find the line that sets the path for library files, (-Fl) Add the found path to it (separate wit

Re: [Lazarus] Lazarus on my ancient computer?

2016-02-26 Thread Bart
Hi, On 2/14/16, Bart <bartjun...@gmail.com> wrote: > This is a bit off-topic. > > I have an ancient computer: Intel Celeron 700Mhz, 512MB RAM, 20GB IDE HD. > (http://flyingsheep.nl/computer_nostalgie.htm#celeron700) > (Hardware upgrades are not in the picture.) > Th

Re: [Lazarus] Wiki and docs- where?

2016-02-25 Thread Bart
On 2/25/16, Mark Morgan Lloyd <markmll.laza...@telemetry.co.uk> wrote: No redirects here. No "forbidden" here. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] image upload to wiki

2016-02-23 Thread Bart
fact it didnot present me the usual "Spammers are parasites"test). See the page: *r51039 LazUtils: Revert r51038. Fixes bug in CopyDirTree. {{MantisLink|0029695}} Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lis

Re: [Lazarus] Lazarus Release 1.6

2016-02-22 Thread Bart
On 2/22/16, Kostas Michalopoulos <badsectorac...@gmail.com> wrote: > Hm, i might be missing something, but where is the option that enables the > compiler progress status? That (compiler progress status) has been removed, quit some tim

Re: [Lazarus] Replacing LRT format with RSJ

2016-02-17 Thread Bart
now how big is demand for it. Just announce it on the ML and forum, maybe somewhere on the wiki and just implement. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Lazarus on my ancient computer?

2016-02-14 Thread Bart
to install on this machine? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus on my ancient computer?

2016-02-14 Thread Bart
4 bit > Celeron clocked at 700Mhz. Itanium 1 came in 2001 according to https://en.wikipedia.org/wiki/List_of_Intel_microprocessors#64-bit_processors:_IA-64. In 2005 the first 64-bit Celeron D model saw light. Bart -- ___ Lazarus ma

Re: [Lazarus] EndOfLine

2016-02-07 Thread Bart
On 2/7/16, hfiandor <hfian...@ceniai.inf.cu> wrote: > Please, where can I find some information about EndOfLine command? [url]http://freepascal.org/docs-html/rtl/system/eoln.html[/url] Bart -- ___ Lazarus mailing lis

Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-02 Thread Bart
rogram I wrote to doo just that. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] change Font on TButton do not work?

2016-02-01 Thread Bart
On 1/31/16, Josef Schnieder <m...@josef-schnieder.de> wrote: > But the button caption is unchanged. It appears an "A" instead of "*". > I tested the Font in Libreoffice and it works well. > > any idea? Turn of themes. Bart -- __

Re: [Lazarus] Is the TTabControl.OnDrawTab working on Windows?

2016-01-30 Thread Bart
there too. I commented out the entire definition of (F)OnDrawTab and the LCL still compiled fine. So, it seems this eventhandler is never invoked at all. (Tested on Windows) Bart -- ___ Lazarus mailing list Lazarus@lists.laz

Re: [Lazarus] [OT] Why Mantis doesn't notify the changes?

2016-01-27 Thread Bart
On 1/27/16, Juha Manninen <juha.mannine...@gmail.com> wrote: > In fact I did not receive notifications about that issue. I receive > them about many other issues though. I don't know what is the logic > here. I get notifications of issues that are assign

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-19 Thread Bart
wrong, the program will do something it is not supposed to do. But now I'm only repeating arguments, so I'll stop contributing to this thread. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] New menu designer. which style do you prefer?

2016-01-18 Thread Bart
Undo for the menu-desgner will be on the wish list then. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Testing Unicode and Windows system codepage in Lazarus 1.6

2016-01-18 Thread Bart
ix them, which may involve you having to do more tests (as it has always been). Provide patches if you can. Stop complaining about things that are already fixed. We will work with you, as long as you don't work against us. Bart -- ___ Lazarus ma

Re: [Lazarus] Testing Unicode and Windows system codepage in Lazarus 1.6

2016-01-18 Thread Bart
quot;. > I am happy with fixes_1_6! :-) With or without -dDisableUTF8RTL ? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Opening non existing files and (not) adding them to the project

2016-01-17 Thread Bart
On 1/17/16, Juha Manninen <juha.mannine...@gmail.com> wrote: > You cannot open a non-existing file, meaning that you cannot use the > File -> Open dialog for it. Yes tou can! Lazarus 1.7 r51253 FPC 3.0.0 i386-win32-win32/win64 Bart --

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-17 Thread Bart
(Fn[3] = '?') and (Fn[4] = PathDelim) //Do NOT use AllowDirectorySeparators here! then Exit; === end code === Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-17 Thread Bart
emoved the file using a linux live dvd, at a time when I booted that up for an entriley different reason. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-17 Thread Bart
de the given path/filename (regardless of you current Windows codepage). Otherwise it does not behave different compared to the fpc File* functions, nor should it. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-17 Thread Bart
functions and \\?\ prefix. > Quoted from the link: "To specify an extended-length path, use the "\\?\" prefix. For example, "\\?\D:\very long path"." Maybe you need new eyes, not new glasses ;-) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-17 Thread Bart
t least I do so. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-17 Thread Bart
ilename should have been a clue here (as is the include direcory of it's main unit file): ($lazarus)\components\lazutils\winlazfileutils.inc. I just preferred writing PathDelim when I wrote that piece of code. Bart -- ___ Lazarus mailing list Lazar

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-17 Thread Bart
On 1/17/16, Bart <bartjun...@gmail.com> wrote: > include direcory Read: "include directive" Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-17 Thread Bart
ces), and therefore automatic use of \\?\ prefix may be dangerous (because failing would be a better option than succeding with a "strange" filename). (Or it may not be, I simply cannot tell without studying all the sources.) Bart -- ___

Re: [Lazarus] Opening non existing files and (not) adding them to the project

2016-01-17 Thread Bart
hey > shouldn't be in the uses section anyway. Odd. ProjectOptions->Miscallaneous-> "Main unit has uses section containing all units of a project". Uncheck and save as default compiler options? Would have expected that to be a global setting. Bart -- _

Re: [Lazarus] Testing Unicode and Windows system codepage in Lazarus 1.6

2016-01-17 Thread Bart
On 1/17/16, Jürgen Hestermann <juergen.hesterm...@gmx.de> wrote: > But as one example, since FPC 3.0 you cannot use UTF8Delete on UTF8Strings > anymore. Already fixed in trunk (r50850 and r50910) and merged into 1.6RC2. Please stop complaing about things that were already

Re: [Lazarus] FileExistsUTF8 and long paths

2016-01-15 Thread Bart
k I put a reference there). Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] New menu designer. which style do you prefer?

2016-01-11 Thread Bart
On 1/11/16, Anthony Walter <sys...@gmail.com> wrote: > In the image below, which style do you prefer. The top or bottom? Suggestion: can you put the buttons in a grid like container? With at least vertical lines between the different grou

Re: [Lazarus] New menu designer. which style do you prefer?

2016-01-11 Thread Bart
On 1/11/16, Anthony Walter <sys...@gmail.com> wrote: > In the image below, which style do you prefer. The top or bottom? The bottom one. Please add a text to it so one knows what it does. Keep up the good work !!! Bart -- ___ Lazarus mai

Re: [Lazarus] Something the examine Lazarus or applications?

2016-01-11 Thread Bart
C.Free; end; Upon app termination the Application object would the again try to free C (note: it is not nil) -> Access Violation. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mail

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Bart
IMVPAPO, it should be removed. NB. The function was apparently introduced by Seppo (over 9 years ago) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Bart
On 1/6/16, Dmitry Boyarintsev <skalogryz.li...@gmail.com> wrote: > Swastika glyph is in Unicode standard. Ref: https://en.wikipedia.org/wiki/Swastika#Symbol_in_various_scripts Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal

Re: [Lazarus] New menu designer

2016-01-04 Thread Bart
m with '-' as caption) will either be disallowed, or a warning will be shown because several widgetsets crash on that. (Same for setting Caption to '-' of an existing item with a submenu.) See http://bugs.freepascal.org/view.php?id=24476 Bart -- ___ Lazarus

Re: [Lazarus] Lazarus compile project via ssh?

2016-01-04 Thread Bart
ons->Config and target->"Select another LCL widgetset (macro LCLWidgetType)". Note: you need the libraries for the WS installed on your system, e.g. you can build for GTK2 on Windows, but it requires you to install; GTK for Windows. Bart -- __

Re: [Lazarus] New menu designer

2016-01-04 Thread Bart
On 1/4/16, Bart <bartjun...@gmail.com> wrote: >> In the new menu editor adding a submenu to a separator is already >> disallowed (popup menu option/toolbutton is disabled if a separator is >> highlighted). Do you not find this? > > Shamefully admits: I did not check

Re: [Lazarus] New menu designer

2016-01-04 Thread Bart
hat. > However, the rename Caption function presently ignores this loophole. > I will close this loophole in the patch I am working on (and hope to > submit later this week). Nice. Thanks, Bart -- ___ Lazarus mailing list Lazarus@lists.laz

[Lazarus] Send a mousemove or a keydown to a specific window in IE

2015-12-30 Thread Bart
. Problem: I have absolutely no clue at all how to achive this. It only needs to work on Windows (actually in a Citrix client) It only needs to work on IE It may be hackish,it may be dirty, I don't care. Preferrably no additional third party libraries are required. Bart

Re: [Lazarus] [off-topic] Send a mousemove or a keydown to a specific window in IE

2015-12-30 Thread Bart
stop ranting now, My bloodpressure is spiking. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-16 Thread Bart
rameter mismatches. Fixed in r50850. Proposed for merging to 1.6RC2. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Bart
B_Debugger_Tips > > Ondrej Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Bart
gdb stop working See http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-16 Thread Bart
ou continue this discussion on the Lazarus devel list? I discussed it there with Mattias. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] A simple event problem in console program

2015-12-15 Thread Bart
Dummy; begin Dummy := TDummy.Create; b := Tbook.Create; b.noti := @Dummy.notievent; b.Free; Dummy.Free; end. Something like that (untested code). Or define a type TNotifyProc = procedure(Sender: TObject); (Which the will not be of type TNotify

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Bart
// SetMultiByteFileSystemCodePage(CP_UTF8); not needed, this is the default under Windows SetMultiByteRTLFileSystemCodePage(CP_UTF8); {$IFEND} Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Bart
signment compatible. > Allowing all ansistrings to be compatible would also remove the > problem with UTF8String and LazUTF8 routines. I don't think it is that easy. We should fix the specific UTF8* functions to accept UTF8String parameters. Bart -- ___ Laz

Re: [Lazarus] Phasing out support for Windows 98 and Windows ME

2015-12-13 Thread Bart
On 12/13/15, Marc Santhoff <m.santh...@web.de> wrote: > Good to know, thank you. Is there a matching wiki page where this > implicit information can and should be published? It's here: http://wiki.lazarus.freepascal.org/Version_Numbering (Since t

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Bart
be needed? SetCodePage(RawBytestring(Temp), CP_UTF8, False); UTF8Delete(Temp, StartCharIndex, CharCount); SetLength(S, Length(Temp)); Move(Temp[1], S[1], Length(Temp)); end; {$endif} Anyhow, as stated before, there should be noneed to use the type Utf8String in

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Bart
On 12/12/15, Jürgen Hestermann <juergen.hesterm...@gmx.de> wrote: > "Since FPC 2.7.1 the default system codepage of the RTL can be changed to > UTF-8 (CP_UTF8). So Windows users can now use UTF-8 strings in the RTL. " > > It *can* be changed (but how?). DefaultSyst

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Bart
gt; === code end === Which adds extra overhead for the default situation (not disableUtf8RTL). But this may very well be neglectable (I'm far too lazy to test). (Nitpicking: the entire second implementation needs then to be ifdef-ed with IFnDEF NO_CP_RTL, beacuse if that define is true Utf8String equals S

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Bart
ctively alter DefaultSystemCodePage in code in your program (as LazUtils does, see above), the value of this is determined at program start and is dependant on you current system locale (cp1252 on West-European Windows, UTF8 on most Linux). Bart -- _

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-12 Thread Bart
you do not use the disableUtf8RTL define. I can see why you felt it was logical to have your strings being of type Utf8Strings, but unfortunately for you, it now turns out to be not such a good choice. Bart -- ___ Lazarus mailin

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-09 Thread Bart
tion: function ExpandUNCFileNameUTF8(const FileName: string): string; begin Result:=SysUtils.ExpandUNCFileName(Filename); end; Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Phasing out support for Windows 98 and Windows ME

2015-12-09 Thread Bart
ely either not run at all, or not run as expected on the Windows 9x platform. We are aware of the fact that this decision may affect a niche group of Lazarus users who develop for end-uses that still run Windows 98, but these can still use the 1.6 branch of Lazarus. B

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-09 Thread Bart
d C:\Windows\..\ into C:\. This is done by ExpandFilenameUtf8 (which indead has it's own implementation in LazFileUtils unit and calls ResolveDots which actually does that job). So, your memory serves you wrong I guess. Bart -- ___ Lazarus mailing

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-09 Thread Bart
into ifdef hell rather quickly. Having support for codepage aware strings by default justifies going from 1.4.x to 1.6.x IMO. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to destroy object / component by itself?

2015-12-03 Thread Bart
bject.qDeleteLater() Application.ReleaseComponent()? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TShellTreeView.SetPath() doesn't work correctly

2015-12-02 Thread Bart
On 12/2/15, Alexander Koblov <alexx2...@mail.ru> wrote: > Can someone look at this bug: http://bugs.freepascal.org/view.php?id=26088 > It is still present. I added example project that show it. See my comment in bugtracker. Let's continue the discussion

Re: [Lazarus] FPC Pestering Peacock (3.0.0) release

2015-11-26 Thread Bart
On 11/25/15, Joost van der Sluis <jo...@cnoc.nl> wrote: > We are happy to announce the release of the Free Pascal Compiler version > 3.0.0 "Pestering Peacock". Nice! ("Pestering Peacock"??) So far, I can't find the

Re: [Lazarus] FPC Pestering Peacock (3.0.0) release

2015-11-26 Thread Bart
On 11/25/15, Joost van der Sluis <jo...@cnoc.nl> wrote: > We are happy to announce the release of the Free Pascal Compiler version > 3.0.0 "Pestering Peacock". Sources on FPC website still link to the 2.6.4 version (http://www.freepascal.org/down/sou

Re: [Lazarus] lcl\include\canvas.inc

2015-11-17 Thread Bart
On 11/17/15, Sandro Cumerlato <sandro.cumerl...@gmail.com> wrote: > Hello, > I can't build Lazarus svn trunk (using FPC svn trunk): > > canvas.inc(463,12) Error: Identifier not found "tagSIZE" See http://bugs.freepascal

  1   2   3   4   5   6   7   8   >