Re: [Lazarus] Can some fix this "make" issue? Pi related.

2016-04-01 Thread Anthony Walter
I am running mate as the desktop environment which may account for a
greater than normal memory usage than the default Raspbian environment,
though it's not too much more.

I will say this though, increasing the swap file from the default of 100MB
to 1024MB seems to alleviate the problem.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Can some fix this "make" issue? Pi related.

2016-04-01 Thread Anthony Walter
Calling the compiler directly works on most any project/program. I am not
sure how to build Lazarus (with my preferred packages) using lazbuild or
fpc. The "make useride" command fails exactly like I described in my
original post. As a side note, I am able to have GPU memory set to 128MB or
more and have "make all" succeed if I have no window manage running and
instead ssh into the pi and execute the "make all" command from a remote
tty session. Again this is because running without a window manager frees
up enough memory for "make all" to succeed.

Here is what my Pi looks like with a ssh session and 64MB reserved for the
GPU. Note the free memory is 854MB:

pi@retropie:~ $ free -m
 total   used   free sharedbuffers cached
Mem:   925571354  6 20479
-/+ buffers/cache: 70854
Swap:   99  0 99

Here is what it looks like with and ssh session, 128MB reserved for the
GPU, mate desktop running, and Lazarus opened:

pi@retropie:~ $ free -m
 total   used   free sharedbuffers cached
Mem:   862413449 16 32199
-/+ buffers/cache:181681
Swap:   99  0 99

Rebuilding the IDE will actually fail at this point. Note the free memory
is actually 681MB.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Can some fix this "make" issue? Pi related.

2016-03-31 Thread Anthony Walter
I believe this problem effects a lot of people using the Raspberry Pi, and
possibly other platforms as well.

The problem:

Recently I been using "make all" on Lazarus sources, or trying to rebuild
the IDE, such as when installing or removing packages, and experiencing
build fails.

This will happen on the Raspberry Pi when 128MB or more memory is assigned
to the GPU, a setting which must be configured to allow for video playback
and/or GLES to run on the Pi. For those of you not experiencing this issue
you may have left the GPU size at its default 64MB setting.

When a system such as the Pi has less than 700MB (approximately) of free
memory the "make all" or rebuilding the IDE task will fail with errors such
as" switching to an external resource compiler" or some other mysterious
message.

Temporarily lowering the GPU memory, rebooting the computer, rebuilding
Lazarus, changing the GPU memory back, then rebooting the computer again
fixes the problem, but this is a very awkward solution. This is especially
awkward considering you may need to do this anytime you want to add or
remove component in Lazarus under the conditions I've described.

My question is can someone look into this issue so that building Lazarus in
environments where free memory is than 700MB does not result in Lazarus
build failures?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Xamarin becomes free and open-source

2016-03-31 Thread Anthony Walter
I thought this was newsworthy and of interest to us:

https://blog.xamarin.com/xamarin-for-all/
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-25 Thread Anthony Walter
> You'll generally need something like 512Mb of available memory, i.e. RAM
+ swap,
> with the linker in particular benefiting from extra. Around here, I'm
being firmly
> discouraged (by other colleagues with an electronics background) from
putting
> swap on the card, but instead putting it on an external USB device with
wear levelling.

My Samsung EVO+ 32GB SDCARD cost me $10 from Amazon with shipping. I'm not
too worried about it being worn down by excessive writes to the swap file.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-23 Thread Anthony Walter
Seeing as how SD CARD space is a premium on the Pi you should probably
clean up after you build and install. This include doing things like this
after make install:

cd $HOME/fpc
rm -rf .svn
find packages -name units | xargs rm -rf {0}
find rtl -name units | xargs rm -rf {0}
find packages -iname "*make*" -delete
find rtl -iname "*make*" -delete
rm -rf compiler
rm -rf installer
rm -rf share

Which will free up A LOT of SD CARD space. Also an addition note, there is
no real reason (IMO) to install trunk or test revisions to root owned
folders. Usually PREFIX=$HOME/fpc or something thereof will suffice. Oh and
the complete command to generation a valid fpc.cfg (assuming install path
is $HOME/fpc) is:

$HOME/fpc/fpcmkcfg -d basepath=$HOME/fpc/lib/fpc/\$FPCVERSION
-o $HOME/fpc/bin/fpc.cfg

It should be noted that the default swap file size of Raspbian is only
100MB which combined with a possible GPU memory settings will occasionally
cause Lazarus builds to fail mysteriously.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Testing Rapberry Pi 3 performance

2016-03-22 Thread Anthony Walter
I recorded a very brief video of the performance of Raspberry Pi and
Lazarus is quite usable.

Video here:

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


Re: [Lazarus] Three-DS:Parx-GDI, it's big enuff for a "shoebox" fits more in "cupboard"

2016-03-22 Thread Anthony Walter
"Here at Gestapo U @ the anti-social faculties witch & warlock, burning &
pilgrimage scramble! scramble! scramble! this is Radio-Freedom's GNU C/C+,
mutiny edition Devkitpro & the NinjaHax::ctrulib latest v1.0.0"

English please. Also, please refrain from linking to content requiring a
Facebook account to view.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-21 Thread Anthony Walter
It would seem the issue is related to running without enough of memory. I
decreased my GPU/RAM split, rebooted to text mode, and "make all"'ed on
Lazarus successfully.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Raspberry Pi 3 build issues

2016-03-20 Thread Anthony Walter
Has anyone here built Lazarus from SVN sources on the Raspberry Pi 3 yet? I
keep running into various issues. This my latest issue from:

Using a compiler from fpc/branches/fixes_3_0 build with:

make all OPT="-dFPC_ARMHF" && make install PREFIX=$BASE/fpc

And the compiler works fine 

svn co http://svn.freepascal.org/svn/lazarus/branchesbranches/fixes_1_6
lazarus
cd lazarus
make all

... after a whule and a few things succesfully compiling and linking this
without errors this happens ...

/home/pi/Development/FreePascal/lazarus/ide/codeexplorer.pas(157,27) Hint:
(5024) Parameter "Sender" not used
/home/pi/Development/FreePascal/lazarus/ide/codeexplorer.pas(157,49) Hint:
(5024) Parameter "Msg" not used
(9009) Assembling codeexplorer
codeexplorer.pas(2883) Error: (9008) Can't call the assembler, error -1
switching to external assembling
codeexplorer.pas(2883) Fatal: (10026) There were 2 errors compiling module,
stopping
Fatal: (1018) Compilation aborted
Makefile:4004: recipe for target 'lazarus' failed
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory '/home/pi/Development/FreePascal/lazarus/ide'
Makefile:4428: recipe for target 'ide' failed
make[1]: *** [ide] Error 2
make[1]: Leaving directory '/home/pi/Development/FreePascal/lazarus/ide'
Makefile:3070: recipe for target 'ide' failed
make: *** [ide] Error 2
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Microsoft SQL Server coming to Linux

2016-03-07 Thread Anthony Walter
For those of you using Linux with interest in database development here is
some news for you:

Microsoft SQL Server will soon be officially supported on Linux.

https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/

Microsoft Executive Vide President Scott Gu has been coordinating with Mark
Shuttleworth (Ubuntu owner and head of Canonical) to make this happen.

For me this is great news. Microsoft SQL Server is a robust RMDB system
with superior performance capable of great scale. Transact SQL (the
Microsoft SQL Server dialect) also has many powerful and useful features.
Good news all around.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Raspberry Pi 3 Now Available

2016-02-29 Thread Anthony Walter
This is just a heads up to Lazrus/FPC users who are interested in the
Raspberry Pi.

Raspberry Pi is now available. New features include integrated wireless
bluetooth, and a quad-core 64-bit ARM Cortex A53 clocked at 1.2 GHz.

https://www.raspberrypi.org/blog/raspberry-pi-3-on-sale
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE Desktops redesign

2016-02-25 Thread Anthony Walter
Ondrej, a couple of questions.

Do you plan to tackle the incorrect layout restore problem with docked
layouts? Issue #29200

Do you plan to provide a better default layout, or management of default
layouts? Currently when you install anchor docking the first layout you are
given is essentially broken. There ought to be a usable default layout for
all modes, docked and undocked.

Do you plan to fix the problem with environment xml version upgrades wiping
out layouts? So far anytime I get the message to upgrade the options (based
on option version numbers changing) all my layouts are wiped out including
toolbar buttons.

While were at it, would it be possible to add a layout option for all
TToolbars in the IDE to either A) show captions and icons, B) show icons
only or C) show text only, and resize the toolbars appropriately? See
http://video.getlazarus.org/small-toolbars.mp4


And finally, I'd be careful with auto saving layouts. In the past I've had
problems where the layouts get corrupted and auto save essentially
destroyed my layouts as a result. Sometimes I want to save a layout
manually and I do not want the IDE to overwrite it in the event I
experience a layout corruption.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Feature Request: hide button text in windows with toolbars

2016-02-25 Thread Anthony Walter
I've wanted this feature for a while. I think adding simple global property
on TToolBar to show/hide captions would suffice.

In the interim here is a workaround, editing the IDE while it's running:

http://cache.getlazarus.org/videos/small-toolbars.mp4

Graeme:

I often post video recordings of bugs and use an external site to do so.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Anthony Walter
> Skepticism: what software became better after acquisition by Microsoft?

Flight Simulator
Direct3D
Halo

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


[Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Anthony Walter
I think this is big news and of interest to our community since Xamarin
provides a cross platform IDE + Tookit. Also, of all the other (than
Delphi/Free Pascal) languages out there I feel C# is the next most
acceptable with proper PME/generics/other stuff.

http://weblogs.asp.net/scottgu/welcoming-the-xamarin-team-to-microsoft

I expect their price to come down, maybe even into the free price range, as
a result of this acquisition.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Video Tutorial: Introducing Lazarus

2016-02-10 Thread Anthony Walter
Doh-oh,

I posted the correction but have no idea how long AWS CloudFront takes to
propagate changes. I was just using plain old S3, but I turned on
CloudFront earlier tonight because I read they give you 50 gigs of transfer
free every month.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Video Tutorial: Introducing Lazarus

2016-02-09 Thread Anthony Walter
I've published a new video in my tutorial series. This new video serves as
an introduction the Lazarus IDE for the uninitiated. Feel free to post this
link to other websites. I'm hoping it reaches people who haven't given the
idea of development with Lazarus its due consideration.

http://www.getlazarus.org/learn/tutorials/intro/
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Video Tutorial: Introducing Lazarus

2016-02-09 Thread Anthony Walter
Dmitry, I have a friend who is a television news talent reading my scripts.

My reading voice sounds like this:
http://cache.getlazarus.org/audio/sysrpl.m4a

My friend does a better job and it only takes him a few minutes to record
stuff. Plus he has a way better microphone.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Problem with Sparta docked form designer

2016-02-07 Thread Anthony Walter
I was looking at the code. There might not be an easy solution but the
docked designer really needs to support this feature. Can you point out
where in the package you are picking the class for and then creating the
docked design control?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Problem with Sparta docked form designer

2016-02-07 Thread Anthony Walter
There is a problem with the Sparta docked form designer and inherited
forms. Since some of you might not know you can easily register custom
inherited forms with Lazarus I made a brief video going over the problem:

http://cache.getlazarus.org/videos/docked-designer-issue.mp4

I am producing a few professional grade Lazarus tutorial videos and ran
into this road block. This issue needs to be fixed. I'll look into a fix,
but maybe Maciej or some others can help.

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


Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-05 Thread Anthony Walter
Michael, I submitted TSimpleThread to mantis. It's filed under issue #29597.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Tutorial Video: Getting Started

2016-02-01 Thread Anthony Walter
I've posted a tutorial video, which is the first in a series, titled
"Getting Started". It's available for viewing here:

http://www.getlazarus.org/learn/tutorials/start/

Additional tutorial videos with progressively more advanced subject matter
will be posted to the tutorials section regularly. Up next will be a brief
introduction to the Lazarus IDE.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Tutorial Video: Getting Started

2016-02-01 Thread Anthony Walter
Dang it. Correction coming pronto.

On Mon, Feb 1, 2016 at 5:59 AM, Mattias Gaertner <nc-gaert...@netcologne.de>
wrote:

> On Mon, 1 Feb 2016 05:43:15 -0500
> Anthony Walter <sys...@gmail.com> wrote:
>
> > I've posted a tutorial video, which is the first in a series, titled
> > "Getting Started". It's available for viewing here:
> >
> > http://www.getlazarus.org/learn/tutorials/start/
> >
> > Additional tutorial videos with progressively more advanced subject
> matter
> > will be posted to the tutorials section regularly. Up next will be a
> brief
> > introduction to the Lazarus IDE.
>
> It says "Lazarus Learing Center" in the title.
>
> Mattias
>
> --
> ___
> 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] Free Pascal and Lazarus learning center

2016-02-01 Thread Anthony Walter
Michael, if you or anyone with commit rights feels comfortable adding a
derived thread class (TSimpleThread) with the features I've described to
the classes unit, then I'll post my implementation to mantis as a patch.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-01 Thread Anthony Walter
Michael,

My implementation adds an optional Status property to a thread, which then
necessitates an instance. When Status is written (that's the optional part)
in a background thread its value is copied temporarily to a private field,
then the thread invokes Synchronize. Before your status changed handler is
notified, the thread instance copies the temporary status back to the
property read field. With this type of arrangement it's possible to update
the Status property in a background thread while the user interface might
be reading from it.

The net result is that setting Status in the background thread causes the
user interface thread to receive a notification where it can do whatever it
wants with Status. Examples: show a percentage complete, show steps being
worked on, show bytes transferred, or whatever you dream up.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Tutorial Video: Getting Started

2016-02-01 Thread Anthony Walter
Fixed. Thanks for catching that. :)
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-01 Thread Anthony Walter
Just a bit of information, my Cross.Codebot library has threading built in
to the socket protocol implementations, so with regards to explaining it I
could just show the source code or I could write it a again just to
demonstrate.

With regards to complexity, I never define a new thread class, which is the
typical way most people think about working with threads in Free Pascal.
Instead I have one thread class defined in my System unit, and you pass it
your execute method along with an optional status handler. Your execute is
called, the thread object is freed for you automatically, and you don't
need to declare a new type.

procedure TDownloadForm.DownloadComplete(Thread: TSimpleThread);
begin
  FThread := nil;
  // Invoked in the user interface thread
  // Check Thread.Cancelled here
end;

procedure TDownloadForm.DownloadStatus(Thread: TSimpleThread);
begin
  // Invoked in the user interface thread
  // Do something with Thread.Status here
end;

procedure TDownloadForm.Download(Thread: TSimpleThread);
begin
  // Download here in a thread
  // Set Thread.Status := SomeString to sync status updates with the UI
  // FThread.Cancel cancels the thread
  // Throw exception cancels the thread
end;

procedure TDownloadForm.DownloadClick(Sender: TObject);
begin
  if FThread <> nil then
Exit;
  FThread := TSimpleThread.Create(Download, DownloadStatus,
DownloadComplete);
end;
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Free Pascal and Lazarus learning center

2016-02-01 Thread Anthony Walter
Sven,

What's the current road map look like for closures? Is it even on the
radar? If so, and if no major work has been done on it yet, an improved
syntax would go a long way in usability.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Free Pascal and Lazarus learning center

2016-01-31 Thread Anthony Walter
Thanks for the idea Bo. I'll put it near the top of my queue.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Free Pascal and Lazarus learning center

2016-01-28 Thread Anthony Walter
This is just a heads up to anyone interested. As you know a few months ago
I created a new documentation site at http://docs.getlazarus.org that
improves the help system for Free Pascal and Lazarus.

Continuing along the same vein I've started work on a new series of Free
Pascal and Lazarus pages which I have named Lazarus learning center:

http://www.getlazarus.org/learn/

Currently these pages hold minimal stubs for study guides, but I anticipate
adding a lot of content to them over the next few weeks. What I'd like from
you is to feedback about concerning which new topics you'd like covered or
feedback on articles I have or will be posting.

Anyone can add their requests, critiques, or corrections on the site by
using the "Edit this page" link at the top of every page. My back end
editor page shows me all the pending "diffs" which I can easily integrate
into any page.

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


Re: [Lazarus] Free Pascal and Lazarus learning center

2016-01-28 Thread Anthony Walter
Noted. I might add that as a beginning level video tutorial. Right now I am
writing javascript canvas code to convert text to lexical diagrams and
slicing a screen shot of the IDE for a visual popover guide,
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Raspberry PI, minor glitch.

2016-01-23 Thread Anthony Walter
In "Tools > Options" check that "Environment > Compiler Executable" points
to the full fpc path. Also make sure you launch Lazarus using
"lazarus.desktop" file and you're not just double clicking on the lazarus
executable file in the lazarus folder. Use "ls" in a terminal to see the
actual file names like "lazarus.desktop". Desktop files in Gnome are
somewhat equivalent to Windows shortcut files. Use "cat" to view them or
"nano" to edit them from the command line (they're ini file like).
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-22 Thread Anthony Walter
Okay Don a new Pi bundle has been uploaded which fixes the rebuild IDE
problem you experienced. Just run setup.sh again to update.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Anthony Walter
Sandro,

If you're using my bundles and you want more packages, just use the
"Packages > Install/Uninstall Packages" menu item, choose any of the
packages you want, then click "Save and rebuild IDE".

If the package you want to install isn't in the "Install/Uninstall
Packages" list, then use the "Packages > Open package file" menu item and
click "Compile". You can do this for multiple packages, then go back to
"Packages > Install/Uninstall Packages" and you'll see those packages are
now available for install. Or, if you just want that one package, you can
click "Use > Install" on the previously mentioned package dialog with the
"Compile" button.

And finally, regarding make useride, if you want to build from the command
line you need to use lazbuild on each of the packages you want to include
before calling "make useride". And yes, if you want to d what I do, which
is to keep the configurations for Lazarus in the same folder as the lazarus
executable, you need to use --pcp with lazbuild.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Anthony Walter
Petr,

I'm unsure when or if the official Lazarus builds will include anchor
docking and the docked form designer installed and arranged ergonomically.
These are additional packages which users are supposed to know about and
install themselves. There is also the of issue that there is no default
anchor docking layout scheme.

Also, you should know that the bundles I put together are specifically
designer not to interfere with other copies of Lazarus and Free Pascal.
Both programs have been setup to store their configuration information in
their own folders and they will not create issues with or change the
settings of other Free Pascal compilers or Lazarus copies you might have
installed side by side.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus January 2016 Update Can't install custom components.

2016-01-21 Thread Anthony Walter
Don, you should probably take this to the forums at
http://www.getlazarus.org/forums/viewforum.php?f=22

But to answer your question, in order to reduce the total install size of
Raspberry Pi I've removed many fpc packages which do not fall under the
domain of the rtl or fcl. I know for a lot of people SD card space is a
major concern when picking what to put on their Pi, and I think I've
managed to to strike a reasonable balance in reducing the install size from
1.2GB down to 240MB.

If you need packages which are missing, you can use svn to install just the
compiler packages you need by using the command:

svn co http://svn.freepascal.org/svn/fpc/trunk/packages//src


Where  is the name of the individual missing fpc package you
want installed. Just be sure to add the  folder to your
Lazarus include path.

To list packages use:

svn ls http://svn.freepascal.org/svn/fpc/trunk/packages/

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


Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Anthony Walter
Mattias,

I am pretty sure the problem is I removed a few files I shouldn't have
while attempting to reduce the total install size for Pi. I'll issue a post
an updated Pi bundle in a few hours (later tonight).
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Anthony Walter
Okay Don, that's a valid problem.

I'll look into it and reissue a new bundle for the Pi. I may have been
overzealous in removing files from the lazarus folder to squeeze down the
size. I'll message you when it's fixed and tested. You'll just need to
rerun the setup script and give it the same folder name. The setup will
overwrite the entire old copy.

If you ever want to uninstall, just use "rm -rf " where 
was your chosen install location. Nothing aside from one optional desktop
launcher file (optionally in
$HOME/.local/share/applications/lazarus.desktop) is written outside that
folder.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Get Lazarus January 2016 Update

2016-01-20 Thread Anthony Walter
I've posted new installer for Free Pascal and Lazarus at getlazarus.org.
Here is an overview of the what's new:

Video:

http://www.getlazarus.org/new/

Changes include:

A new Lazarus layout with the component pallet removed and coolbar buttons
in its place. The a docked form designer is now the default form editor.

The new menu editor is included along with my application explorer tool.
The source to the application explorer is in the components folder and
might be of interest to users wanting to try their hand at extending the
IDE,

The new documentation site at docs.getlazarus.org is now the F1 help site.

Minimal FPC 3.0.0 compilers with friendly setup scripts are now available
at http://www.getlazarus.org/setup/minimal/. I've also updated the "making
it yourself" page with better instructions.

Finally FPC 3.1.1 trunk includes support for generic functions/procedures,
which are quite nice.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] SVN Server Problems?

2016-01-19 Thread Anthony Walter
I am having a problem on multiple machines with the free pascal SVN server.
When executing a full checkout with a revision number the SVN connection is
failing after an arbitrary amount of time.

svn: E000104: Error retrieving REPORT: Connection reset by peer

What's the deal? Is anyone else able to do full checkouts with a revision
number right now?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN Server Problems?

2016-01-19 Thread Anthony Walter
Maciej, that fixed it. Thank you :)
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] fpc trunk fails "make all"

2016-01-18 Thread Anthony Walter
While trying to "make all" of fpc on Window I am receiving and error on:

make -C packages clean

The error message is:

make[2]: *** No rule to make target `clean'.  Stop.

Here is the more output in context:

C:/Development/build/fpc.3.0.0/bin/i386-win32/rm.exe -f fpcmade.i386-win32
Package.fpc ppas.bat script.res link.res
C:/Development/build/fpc.3.0.0/bin/i386-win32/rm.exe -f *.s *_ppas.bat
make[3]: Leaving directory `C:/Development/build/fpc/rtl/win32'
make[2]: Leaving directory `C:/Development/build/fpc/rtl'
make[1]: Leaving directory `C:/Development/build/fpc'
make packages_clean FPC=C:/Development/build/fpc/compiler/ppc386.exe
make[1]: Entering directory `C:/Development/build/fpc'
make -C packages clean
make[2]: *** No rule to make target `clean'.  Stop.
make[2]: Entering directory `C:/Development/build/fpc/packages'
make[2]: Leaving directory `C:/Development/build/fpc/packages'
make[1]: *** [packages_clean] Error 2
make[1]: Leaving directory `C:/Development/build/fpc'
make: *** [build-stamp.i386-win32] Error 2
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Docking search results

2016-01-17 Thread Anthony Walter
I agree with Ondrej. I will be always be using docking using both anchor
docking and the docked designer. I suspect most others people will as well,
given that they're available and function correctly. Personally, I prefer
to have the message window and search results docked at the bottom all the
time, but even if that weren't the case I don't think special rules should
be applied to the search results window. If am running an undocked
environment and I want search results opened all the time, then that's my
preference.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Can I build a Lazarus GUI program only with fpc installed?

2016-01-17 Thread Anthony Walter
At a minimum for lcl graphics form applications you need the lcl and
lazbuild installed, as well as a valid set of config files, all of which
are included with Lazarus. If you want to build just using fpc, then you'll
need to gather at least those pieces together, and the easiest way to do
that is to install Lazarus.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Video: Fixing anchor docking previews on OSX

2016-01-17 Thread Anthony Walter
Problem: On Macintosh the anchor docking system doesn't provide a preview
window, making arranging docked layouts on OSX cumbersome to say the least.
I think this issue is going to become more important as work progresses on
anchor docking and the sparta docked form designer.

Video detailing my solution:

http://cache.getlazarus.org/videos/docking-preview.mp4

I put this solution video form because I think a good chunk of code can be
removed from the LCL. Using a tiny bit piece of universal code rather than
many larger different implementations for each widgetset seem desirable to
me. But, the Controls and Forms units need a minor alteration, which might
possibly be something some or the key Lazarus developers resist. Maybe the
my stub procedure could be better placed/organized. You decide.

The issue with patch has been filed here:

http://mantis.freepascal.org/view.php?id=29426
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Web vs desktop development

2016-01-15 Thread Anthony Walter
On a programming web forum someone said regarding Lazarus:

On just cursory review, looks compelling. However, I get so little call
these days for native/desktop applications. Seems everyone wants web now.

I replied:

I agree that web applications are far superior in many situations. Compared
to desktop applications they are much easier to deploy, much easier to
upgrade, they work across multiple platforms, the user experience is much
richer (easier to layout, video, audio integration, css transitions), data
handling is easier (no need for local database server or local database
connection configurations), and of course web applications go much better
with the software as a service subscription or pricing model.

That said, desktop applications have a better time working with local
resources like files, scanners, printers (though cloud services for storage
and printing make this less relevant), are usually more responsive, they
obviously have better desktop integration (copy and paste, drag and drop),
usually have better user interface layout management (docking windows,
toolbars, menus), better performance, better direct access to memory data
structures (think of images editing accessing pixels, editing audio
waveform samples), and are better for applications which require long time
processing like encoding videos or recording audio.

That said, I prefer desktop software for doings tasks, which I think is
what most computer enthusiasts want to do. I write desktop software to
automatically scan Craigslist and eBay for collectibles which interest me.
I write desktop software to monitor video feeds with OpenCV. I write
desktop software to make games with SDL2/GLESV2. On so on ...

I guess what it comes down to is this:

For businesses web development is probably a better fit for their software
needs.

For people who are computer enthusiasts that use their computers to process
tasks or solve problems, desktop development is probably better.

What are your opinions on the subject title ?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Web vs desktop development

2016-01-15 Thread Anthony Walter
+1 On security considerations.

I forget to mention that. Installing software on Windows has gotten so bad
with so many download sites or software producers bundling adware, or even
spyway and malware. Microsoft themselves seem to have thrown in the towel
with Windows 10, packing in key logging, location tracking, and even
putting adware in they system notifications.

All of these security problem have a negative effect on the good desktop
software developers (us for example). Most people are now trained, either
from the advice of others or their own experience, to reject installing
"stuff" from the Internet.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Video: Tool to aid in developing the Lazarus IDE

2016-01-14 Thread Anthony Walter
Petr,

I've been trying help to fix up the docked form designer, and also the new
menu editor. I think once a few more issues are fixed it'll be the best
Lazarus configuration IMO. That is, having anchor docking installed so that
IDE windows can be docked, and a docked form designer for the form editor.

The outstanding issues which I see a the most important in need of
resolving are:

Issue 29380: The docked form designer cannot be resized after using the
object inspector
Issue 29200: Docked layouts are not restoring correctly when using the
desktop manager
And the recurring issue with new menu editor scroll bars acting strange

When these issues are fixed, and possibly a few others if I notice any new
ones, I'll rebuild all the bundles at www.getlazarus.org and give them a
new default layout including the anchor docking and the docked form
designer.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Video: Tool to aid in developing the Lazarus IDE

2016-01-13 Thread Anthony Walter
I put together a tool which some of you might find helpful either in
developing the Lazarus IDE or your own applications.

http://www.getlazarus.org/apps/appexplore/
--
___
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 Anthony Walter
Howard, good job on the new menu designer. It's working very nicely right
now. I'll take a look at modifying TShadowMenu to be a scrolling control
without the need for a TScrollBox.
--
___
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 Anthony Walter
In my opinion the top one is kind of terrible. Just look at this video:

http://cache.getlazarus.org/videos/menu-arrows.mp4

No matter where I click it always shows the same pattern: ugly blue check
board below, ugly aliased triangles to the right.

I can tell the item is going to be inserted below, because there is a
rectangle below.
I can tell the items are inserted to the right, because there is a
rectangle to the right.

The pattern inside the rectangle make no difference. It's purely a
distraction which will probably have people wondering why it's even being
drawn differently.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] NewMenuDesigner: Removing start-up modal dialog

2016-01-11 Thread Anthony Walter
I say no to the modal startup dialog as well. It really doesn't work
(click) for me.
--
___
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 Anthony Walter
The point is, on a TPopupMenu if the pattern to the right is always alias
arrows, and the pattern below is always check board, then it's entirely
superfluous, nonessential, redundant, and unneeded.
--
___
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 Anthony Walter
On my system suddenly all is well with the new menu editor. Nice work :)

The docked form designer still has the issue where it's not being
realigned/repainted when a TMainMenu is placed on it. Issue 29370.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2016-01-11 Thread Anthony Walter
I Delphi at least if you create a component with AOwner set to nil it
actually (tested under Delphi 7 at least) would set the Owner to
Application.
--
___
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 Anthony Walter
Very nice. I like the new design.

Side note: Who wrote that FScroller for the new menu editor? It acts very
erratic for me on Gtk2. I don't know about on other widget sets. See
issue 29369. Why not use TScrollBox or make TShadowMenu a
TScrollingWinControl?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2016-01-11 Thread Anthony Walter
Bart: Not really. When you free a component it's removed from the owner's
list.

Others: If I can dig up my D7 SE installer I'll attempt to verify. I
distinctly remember being surprised at this behavior in D5 1999, but I
could be mis-remembering.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] "Video: Anyone want to take over this library?"

2016-01-11 Thread Anthony Walter
This is a portion of my old Windows only Delphi library for shell controls:

http://cache.getlazarus.org/videos/shellctrls-delphi.mp4

The manual:

http://www.codebot.org/shell/

Does anyone have any interested taking the library it over and bringing it
into Lazarus? Obviously it would still be Windows only. Lazarus devs, I
guess this would be an okay candidate for Lazarus CCR?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Unable to compile Lazarus after revision 51233

2016-01-10 Thread Anthony Walter
Fixed. I was going to file a report+fix earlier but I had to take a break
for the Redskins game :( the frowny face is for their loss
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2016-01-10 Thread Anthony Walter
In the image below, which style do you prefer. The top or bottom?

http://cache.getlazarus.org/images/menu-patterns.gif
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Something the examine Lazarus or applications?

2016-01-10 Thread Anthony Walter
Relevant link:

http://www.codebot.org/delphi/?doc=9579

I've been submitting few patches the past few days and am considering
submitting a few more complex fixes, mostly having to do with the new
docked form editor and the new menu editor.

As I get more involved I am trying to figure out which IDE elements
(components and controls) I am looking at (or perhaps which ones are
hidden) and finding of their class names and the units to which they belong.

When I was working with Delphi extensions I wrote the tool linked at the
top of this message. The tool can either be inserted into the IDE or into
your own applications:

Basically what it does is allow you to see the entire tree of live
components in the IDE (or your application). It shows you the class
hierarchy of whatever you select along with the properties (which you could
edit), the embedded resources (lfm as text), package information, and even
an image capture of the live object if it was a control.

My question is: Does anything like this already exist for Lazarus?

I don't need all the feature I described, but it would be nice to be able
to examine the IDE to find the names of the components I am trying to fix.
For example, the main menu bar being attached to the docked form designer.

I could create a simplified version for Lazarus of the tool I linked at the
top of this message, but if something similar already exists for Lazarus
I'd prefer to use it.

Thanks.
--
___
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-07 Thread Anthony Walter
> Napoleon conquered the world some 200 years ago. That is long enough as
nobody seems to have strong negative association with his actions

Follow this link if you want to see why WW2, and by extension the people
who created it and the symbols they used, is such a big deal:

http://www.fallen.io/ww2/

In short, WW2 resulted in more deaths than any event in human history
including the Black Death, the Napoleonic wars, the great Flu Pandemic of
1918, and Pol Pot anti intellectualism cleansing or chairman Mao's program
of cultural cleansing. I have five uncles, on both my mother's and father's
side, who fought and died in WW2. When I've visited their graves in France
and Hawaii everyone I met seemed to a good understanding of the war's cost
in human life on both sides, and also the new connotations symbols like the
Swastika had taken, for better or worse.

Even if you like the shape of the Nazi style Swastika, and have
appreciation of its history in Finland, most everyone in the developed
Western world now recognizes it as a symbol of Nazism, and by extension a
symbol of prejudicial racism and hate.
--
___
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-07 Thread Anthony Walter
> Napoleon conquered the world some 200 years ago. That is long enough as
nobody seems to have strong negative association with his actions

Napoleon didn't try to exterminate a race of people by cooking 6 million of
them in factory ovens 24/7.

Europe has long  a history of anti semitism, something which most
reasonable people recognize. Perhaps this is the cultural difference you're
touching upon.
--
___
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 Anthony Walter
There are many versions of the religious swastika symbol, but is only one
version of the swastika is draw with the squared capped leaves and a stroke
width exactly equal to 1/5th of the linear diameter. Guess which one the
lcl function draws?

http://cache.getlazarus.org/images/nazi_symbol.png

And I've looked at the unicode characters. They don't draw the Nazi
swastika, the stroke width and end caps aren't the same, but our lcl
version precisely matches the Nazi version.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Installation under SUSE

2016-01-06 Thread Anthony Walter
Gordon thanks for the zypper package names. I may incorporate them into the
install script sometime in the future.
--
___
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 Anthony Walter
Regarding a patch, can whomever creates/applies it insure the PaintSwastika
procedure does not default to the Nazi symbol characteristics?

That is don't default the leaf widths to 1/5th the linear width (The Nazi
version is the only swastika with those proportions. Please don't default
to the Nazi proportions). Also most religious versions either use counter
clockwise leaves or rounded end caps. I'd go with defaulting the leaf
direction to counter clockwise as almost all versions other than the Nazi
one default to that direction.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Installation under SUSE

2016-01-06 Thread Anthony Walter
Josef, I am the maintainer of http://www.getlazarus.org.

Unfortunately each Linux distribution can use different package names for
their distribution when compared to other distributions (eg. Redhat,
Debian, Suse). There is no Linux standard for either a universal package
management system or universal package names.

What we users are generally left with is either to depend on the
distribution manager to put the software we want into their own proprietary
package management system, where the software versions may potentially lag
far behind.

OR

We can attempt to build software from sources where we typically execute
run a configure script to check for the existence of binaries and then we
have to use our knowledge to locate the package for our distribution to
install the missing requirements ourselves.

The Linux install script at http://www.getlazarus.org/setup/#linux is a
compromise. It it build mainly around Debian but will attempt to find
certain programs or libraries if you distribution supports it, and at least
tells you the names of packages it's looking for if their binary parts
cannot be found, but realistically it's going to fail most of the time when
your not using a Debian based distro (Debian, Raspbian, Mint, Ubuntu).

What's really needed is a list of all the various distros, their package
manager names and arguments, and the names of their equivalent packages.
This would require me or a group of people to examine each distro and
figure out the differences, then merge the result into a single script. Me
personally installing all the different distributions (possibly using a
virtual machine) and mapping out all these differences is not something I
want to commit time to (and it would take a significant amount of time).

If you want to figure out the package names for Suse, and research the
package manager check for install and package manager install programs plus
arguments, along with the names of the packages required to run lazarus,
you can send that info to me at ad...@getlazarus.org and I can include it
within the Linux install script if Suse is detected as the current
distribution.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mantis image attachments

2016-01-05 Thread Anthony Walter
Here is the relevant mantis configuration setting:

https://www.mantisbt.org/forums/viewtopic.php?f=3=6069#p14718
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Mantis image attachments

2016-01-05 Thread Anthony Walter
Can someone change the mantis bug tracker attachment settings such that
image attachments can be viewed in the browser?

Currently when you click an image attached to an issue it downloads the
attachment as a file rather than just opening the image in the browser.

This then necessitates several steps:

click image attached to an issue
opening the your local download folder
finding the file in the folder
opening a program program to view the image
then cleaning up the download folder by deleting the image file

If attached images in mantis server were configured to use content
disposition inline, the steps for viewing an image attached to an issue
would be:

click image attached to an issue
the image is shown in the browser

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


[Lazarus] Do we really need a PaintSwastika procedure?

2016-01-05 Thread Anthony Walter
While browsing the docs I found:

http://docs.getlazarus.org/#lcl+extgraphics+paintswastika

Do we really need this procedure in the lcl? I think it should probably be
removed. If anyone wants to see the details of when it was committed to
svn, the inserted revision number is 9692.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus compile project via ssh?

2016-01-04 Thread Anthony Walter
Don,

Regarding a script to setup FPC 3.0.0 and Lazarus on a virgin Pi, you might
want to try my Pi installer script at this location:

http://www.getlazarus.org/setup/?download#raspberry_pi

The script doesn't require super user rights, it asks where you want to put
FPC 3.0.0 and Lazarus (recent trunk revision) below you home folder (e.g.
/home/pi/Development/FreePascal). It will guide you through installing the
pre-requisites for FPC and Lazarus on Raspbian (make, gdb, gtk pixbuf) and
is reduced  in install size speifically for the Pi.

About keeping sharing files on your PC <-> Pi, I use sshfs to share folders
between the Pi and my Linux development PC. The share can go either
direction, but can be configured it go either way. Maybe this maybe will
help ...

On the Pi:

sudo rasp-config

Go to advanced and turn on ssh server.

On your Linux desktop install sshfs.

sudo apt-get install sshfs

Then you can mount the Pi file system

mkdir $HOME/pi
sshfs mount p...@192.168.xx.xx:/home/pi $HOME/pi

Where 192.168.XX.XX is the local IP address of your Pi. You can then access
you Pi folder through $HOME/pi on your desktop PC.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Design issues with the new menu editor

2016-01-03 Thread Anthony Walter
Ondrej has been rapidly fixing issues in mantis and noted that there are
problems with the new menu designer and the docked form designer.

http://mantis.freepascal.org/view.php?id=29328

While testing I noticed a few design issues with the new menu editor which
apparently isn't working nicely with the docked form designer. Could
whomever wrote or is working on the new menu editor take a look at it while
the docked form designer is installed and perhaps help resolve some of
these issues?

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


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-03 Thread Anthony Walter
Thanks, I'll test it out.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Design issues with the new menu editor

2016-01-03 Thread Anthony Walter
Howard,

Thanks for your work on the new menu designer, and also thanks in advance
for taking a look at it with the docked form designer installed. If you
have svn access and need anything tested let me know.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-03 Thread Anthony Walter
Michael,

Regarding select into, it is needed because many times you select into in
order to create a table without needing to define it. This is especially
useful and perhaps almost necessary when creating temporary tables to
cache/persists a result for a session. When I do work processing huge
volumes of medial database records looking for pill mill facilities I need
to use these kinds of intermediate queries to filter billions of records
down to a manageable size.

Example:

select
  p.pracitioner_id,
  h.drug_code,
  i.icd_code,
  min(h.visit_date) [min_visit_date],
  count(*) [visit_count]
into
  #prescriptions
from
  hcfa h
  join icd10 i on i.icd_code = h.icd_code
  join pracititioner p on p.pracitioner_id = h.pracitioner_id
  join pracititioner_credentials pc on pc.pracititioner_id = p.pracititioner
where
  h.visit_date between '2015-01-01' and '2015-12-31 11:59:59 AM'
  and pc.certification = 'MD'
group by
  p.pracitioner_id,
  h.drug_code,
  i.icd_code
having
  count(*) > 3;

-- #prescriptions columns might actually be quite a bit more in
number/variety
-- reuse #prescriptions to check for other similar activity in the paste
-- when done #prescriptions is dropped

Now regarding an execute script window which allows for multiple blocks of
SQL to be execute and multiple result sets, this is what I and probably
everyone else I have ever worked with would need. When I create a temp
table like #prescriptions (which is one of the things everyone in
healthcare coverage IT development needs to do 10x daily) I do it in steps.
First I might start be creating a temp table out of the claims tables (hcfa
is outpatient claims). Then I check a portion of the temp table to make
sure the data looks right. Next I use the temp table to pull information
from the archives tables, and compare the results usually with sections of
multiple dataset return.

This is all standard stuff and it's not entirely limited to healthcare
database work. Healthcare IT developers are certainly the busiest when it
comes to checking records for practitioners or clients looking for new ways
to abuse the system.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Ondrej Pokorny appreciation thread

2016-01-03 Thread Anthony Walter
Ondrej,

I noticed you closed out a lot of issues related to the docked form
designer recently. I just wanted to say thank you for your work and note to
all that Ondrej's work has greatly increased the usability of the docked
form designer.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-02 Thread Anthony Walter
Michael,

Thanks for the changes. I am checking them out and will create a new build
to test the changes. If it works I may contribute a few changes to improve
usability such as a connection wizard or some other dialog to guide first
time users in creating/configuring a database connection. I know from my
experience that I had to tweak the mssql connection to allow for statements
such as "create database". I will test this. Also there should be a
database selector, which when dealing with mssql allows the same connection
to address a different database on the same server instance. Again I will
check for this.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-02 Thread Anthony Walter
Sven,

>> I don't see MSSQL support. I don't want to setup ODBC DSNs,

> It *does* support MSSQL. It supports all databases that FPC supports.

On my system LazDataDesktop does not show MSSQL as an option:

http://cache.getlazarus.org/images/where-is-mssql.png
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-02 Thread Anthony Walter
Michael,

Just FYI currently there is no "fpddmssql.pp" (the dd is for data
dictionary I suppose) so no, it's not as easy as just adding a unit name to
the project source. New units must be created and a register function must
be create for mssql to appear in the connections list.

And as far as your surprise at my lack of research goes, you need to
rethink about discovery. The first thing your app does is show a blank list
view of data dictionaries rather than help users create a database
connection first. Next after switching to the connections tab you have to
know to right click in the blank list view to get a context menu which
gives you the option to create a connection. Forcing users to find your
hidden options by using right click context menus is terrible design. Next
we get to the point where these is no option for mssql. You say you simply
include a unit, but in reality no mssql connection register unit currently
exists, so it's not that simple.

When you despair if people "didn't investigate very deeply", how far do you
want users to go? You need to understand that most people are not going to
go through a deep investigation before trying to resolve problems deciding
if your tool suits them or even works for their needs.

To improve your tool I'd suggest:

If there is no stored connection, you should have a database connection
setup screen as the first thing users see when launching your app.
If there are any hidden right click menus, you should supplement them with
items in a menu menu or a toolbar with appropriate icons and tooltips.
Provide in the sources code at least a comment about how to add additional
database providers.
Also calling database providers (what the rest of the world calls them)
"dictionaries" (RegisterDictionaryEngine) isn't helping the situation any.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-02 Thread Anthony Walter
Michael,

I checked out the lasted code from
svn/fpc/trunk/packages/fcl-db/src/datadict and
svn/lazarus/trunk/tools/lazdatadesktop.

Everything builds fine and it looks/works a lot better. Although I can now
connect to a remote mssql server, I found some problems with the "Run
query".

Here is a short issue list of the problems I nottice off-hand:

1) It doesn't handle typos or incorrect SQL statement very well. The app
presents an uncaught exception error dialog and asks you for permission to
terminate lazdatadesktop.

2) It doesn't allow a selected block of text to be run, rather it tries to
execute everything in the query window (see also issue #7).

3) It doesn't allow for multiple datasets to be returned.

4) Running "select columns into dest_table from source_table" crashes
lazdatadesktop as described in issue #1

5) Running "create database new_database" crashes lazdatadesktop as
described in issue #1.

6) It seems to want to return a live editable dataset and you must have to
press a stop button before the run query button is enabled again. There
should be some option to allow for a query to be run either without being
live, or change run to allow it to close then open a new query.

7) I'm not sure how useful the next/previous buttons are. I think most
people tend to want to maintain a big script they keep on disk containing
"if exists () drop table/procedure/function" followed by a "create
table/procedure/function" statement. They don't want a bunch of small SQL
clips kept in memory which they use forward and back arrows to navigate.

8) There should be a database selector to allow the user to change
databases on connections which support that functionality.

To fix:

All error messages related to SQL execution issues (table already exists,
invalid statements, ect) should be routed to a message area below the
script window. In this way a user can examine the message while trying to
fix their SQL, rather than having to dismiss a window and trying to
remember the details of the error message while trying to fix their SQL. In
all cases, users should never be presented with error dialog asking for
permission to terminate the app because their SQL is invalid.

Create database and database switching need to work. If I have a SQL
client/editor which cannot run a  "create database" statement, then that
editor is broken IMO.

Every SQL client/editor where the connection supports multiple databases
(mssql, firebird, mysql, postgre) should give users the ability to switch
databases without the need to define new connections. Users should be able
to see the databases for a given connection and have an easy way to switch
the connection to a different database, possible integrated with the "use"
SQL command.

Multiple dataset return should be supported. My program (at the top of this
thread) handles it, along with proper error message handling. I'd say the
live/editable dataset thing should be an extra option and not the default,
but that's me. Maybe we need a poll on this but I'd be curious to know how
many people who are typing end executing SQL prefer to just get results,
error messages or a live datagrid?

Execution of selected text should be supported.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Cross Platform SQL Client/Editor

2016-01-01 Thread Anthony Walter
A few months ago I was trying to find a workable Microsoft SQL Server
client/editor on Linux and couldn't find anything decent in the FOSS zone.
I ended up writing my own simple SQL client/editor:

http://cache.getlazarus.org/images/sqlclient.png

The basic functionality is/was:

Connect to a server running MSSQL from Linux.
Allow the user to list/change databases.
Allow the user to execute SQL, either select statements, or other
statements including create/drop database.
Show the query results in a result window at the bottom using tabular
formatted text.

Question 1:

Is there any project (which doesn't require a whole lot of extras like a
Java environment) that does what I've described in a cross platform manner
and is easy to use and is trustworthy?

Question 2:

If the pickings are slim in answer to Question 1, are they many people here
who want a simple cross platform SQL client/editor, possibly with both
MySQL and MSSQL support?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-01 Thread Anthony Walter
K.P.,

Being able to connect to MSSL from Linux is kinda of the point. Installing
Wine + setup or configuration of ODBC DSN configuration files and or
drivers just to run a SQL client+editor kinda files into the "require a
whole lot of extras" category.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-01 Thread Anthony Walter
Michael,

I don't want a "visual" table builder and I'm unsure how many others do.
All I want is something to connect me to a database engine where I can then
execute bits of SQL (it executes what you highlight), which is what my
program does.

Lazarus database desktop seems geared towards everything I don't want. I
don't see MSSQL support. I don't want to setup ODBC DSNs, I just want a
straight MSSQL connection. I don't see an simple create/test connection
screen. Right clicking in a blank list view to get a menu and then
selecting an option is just bad design. Straight off I don't see a SQL
editor either.

So I think you'll understand why I don't want to use Lazarus database
desktop, and no I don't want to improve it. I'd rather have a stand alone
program for anyone to use on any platform which can connect to MSSQL (or
MySQL) and let you edit and execute SQL. And finally I don't see the point
of using the Lazarus moniker for such a tool.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-01 Thread Anthony Walter
Mark,

I apologize if I was unclear. I didn't mean to imply some kind of SQL
editor which can convert between various SQL dialects (T-SQL -> ?). I want
something with a good syntax highlight editor (with block indent/mouse
selection, and so on) which allows me to execute the SQL that is
highlighted in the editor WITHOUT any SQL dialect translation.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New menu designer

2015-12-22 Thread Anthony Walter
Ondrej,

The old menu designer was stay on top as well. Stay on top is needed
because the a menu designer is typically a separate non docking window (a
dialog). For all users menu editing invariably consists of:

1. Creating a menu (or sub menu) item using the menu editor dialog
2. Then editing the menu item properties using the object inspector
(setting the name/caption, possibly creating a click event stub)
3. Go back to step 1

These steps are repeated many times as a user creates many items while in
the initial stages of developing an application. If the menu designer did
not stay on top it would be a major annoyance to constantly go to some type
of menu list to bring the menu designer back to the foreground. Not
everyone has multiple screens, and more often than not the entire menu
editor dialog would be obscured by the code window when adding events, or
with docked IDE user when switches to the object inspector (which would
likely be docked tot he side of the code editor) in step 2.

As such, in the case of editor menus, it makes total sense to keep the menu
editor on top of other IDE windows until the time when the user closes the
menu editor (clicks the X button in the menu editor title bar). Any non
stay on top form style for menu editing would driver users crazy.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Obviously I'm missing something.

2015-12-21 Thread Anthony Walter
Don, stop beating your head please:

http://www.getlazarus.org/setup/?download#raspberry_pi
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus compile project via ssh?

2015-12-20 Thread Anthony Walter
I am wondering, is it possible to configure Lazarus to compile a project on
a remote computer running a different platform/architecture through ssh?

I've been doing Lazarus development on Linux on a quad core amd64 desktop
PC for a while now and it feels comfortable. But I do have a few arm6/7
Raspberry Pi computers with FPC/Lazarus as well.

While the Pi can run a Gtk2 desktop and Lazarus, it's sluggish and its web
browser is just awful (I use it for copy and paste code from specific
website).

For the past few days I've been using Lazarus on my Linux desktop PC to
write code stored on my Pi. I keep it under /home/pi/Development folder and
mount it to my desktop PC at /home/desktopuser/pi with sshfs. Then I
compile a program to test my framework for compilation hints/errors using
an opened ssh from my desktop PC to the PI.

e.g. Desktop PC terminal ssh'ed into a Pi:
pi@raspberrypi:~/Development/FreePascal/Projects/Bare $ fpc test.pas

And this works OK, but I still have to transcribe output hint/error line
numbers back into my desktop lazarus (Ctrl+G goto line).

This leads me to think, shouldn't it be possible to skip the ssh terminal
command line compiler, and instead configure Lazarus to use an ssh to
compile "fpc test.pas" on the Pi for me? Through shh the build results
would go to the Lazarus message window highlighting and lines with errors
in the text editor on my desktop PC?

If this is possible to configure I'd appreciate it if anyone could send me
a link to a guide. I would be appreciative and much more productive if this
were possible.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus compile project via ssh?

2015-12-20 Thread Anthony Walter
Thanks everyone for your replies.

Regarding cross compilation, my code contains a sections linking to the
broadcom driver and several other files (a whole slew of different vchi
modules), which in turns links to many other files. For cross compile to
work I would need to find all the required libs and static files (*.a) file
upon which they depend to cross compile. And for the static libs link order
needs to be preserved (
http://stackoverflow.com/questions/45135/why-does-the-order-in-which-libraries-are-linked-sometimes-cause-errors-in-gcc)
or compilation fails. On the Pi I use a have config program (provided by
broadcom) in an ifdef withing my Pi's fpc.cfg. The config program
dynamically generates settings for the gnu ld command to produce the
correct static lib order.

Rather than trying to solve these types of linking issues (not to mention
the generating the correct hard float cross compiler) on my desktop PC, I
thought my current workflow was easier a lot easier.

Also, the ssh method for me has the added benefit of allowing me to execute
my Pi program from a terminal on my desktop PC, and see the results in that
terminal as the Pi brings up a full screen UI on another monitor. See this
video taken from another developer ->
https://www.youtube.com/watch?v=GhWs_3_SuW0 .The difference my case is that
I've written code to control a fullscreen Pi app through the ssh terminal,
while on the Pi the terminal is not visible/accessible.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Syntax error compiling fpc 3.0.0 3.0.0rc1 3.0.0rc2

2015-12-19 Thread Anthony Walter
Donald, if all you want is a minimal FPC 3.0.0 for the Pi, I suggest you
use my minimal installers from http://www.getlazarus.org

The minimal version weights in at 40MB and includes the compiler, a few
tools like the console "fp" ide, and the rtl (no fcl, no lcl). I also
includes a fpc terminal shortcut which opens you default terminal with fpc
envirnonemt variables and configuration setup. It will not interfere any
other existing FPC or Lazarus setup. It also makes for a good starting
point to make the FPC compiler from sources:

Minimal Pi PFC 3.0.0:

http://cache.getlazarus.org/archives/fpc-3.0.0.raspberry-min.tar.gz

If on the other hand you want to run a newer version of Lazarus with FPC
3.0.0 on the Pi, I also have a bundle for that. It's also quite small (I
know SD card space on the Pi is a concern) at under 200MB for FPC 3.0.0
plus Lazarus. The FPC in this bundle comes with rtl, fcl, and a few other
packages (again some have been removed), and the Lazarus version has had
the graphic image sources, and tool sources removed (though tool binaries
are included).

This reduced in size and Pi specific FPC 3.0.0 with Lazarus can be
installed from here:

http://www.getlazarus.org/setup/?download#raspberry_pi

Final note:

I know many Pi users are concerned about the SD storage space required by
FPC and Lazarus and I've taken some care to reduce their sizes on Pi, but
please be aware more SD space will be used and is required when compiling
with Lazarus. The first time you build with Lazarus it will require space
to store the lcl compiled units (two hundred plus megabytes more), and any
lcl programs you write and compile can take upwards of 20-30MB each. If you
want to keep some of your compiled programs around, consider using the
"strip -s yourprogram" utility to reduce their size after you're done
developing a program. The storage saving will be significant.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Raspberry Pi bundles now available

2015-12-19 Thread Anthony Walter
Don, thanks for the interest. I'm currently using a trunk revision. When
1.6 is final, I'll switch it to that.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Debian Packager released

2015-12-18 Thread Anthony Walter
Yeah, all my code requires FPC 3 or greater. You should have gotten an
error message in codebot.inc when you try to use FPC 2.6.4.

{$if fpc_fullversion < 3}
'This library requires the free pascal 3 or greater'
{$endif}

If you want to use more recent versions, the FPC and Lazarus bundles from
my website http://www.getlazarus.org/setup are designed to use local FPC
and Lazarus configuration files. In other words they will not interfere
with your existing development environment. I'd encourage everyone to
switch to FPC 3.0.0. You get proper generics, type helpers, dotted
namespaces, and more.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Debian Packager released

2015-12-16 Thread Anthony Walter
Can you give me information on your FPC version?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Two new Manage Desktops bugs

2015-12-16 Thread Anthony Walter
I've created two new bugs related to anchordocking and the "Manage
desktops" dialog.

Desktop manager restore incorrect docked layouts
http://bugs.freepascal.org/view.php?id=29200
(This issue can sometimes crash Lazarus)

Docked windows renamed when saving desktops
http://bugs.freepascal.org/view.php?id=29199
(A visual bug, but there is probably some bad code which should be
fixed causing the issue)

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


Re: [Lazarus] Install FPC and Lazarus from source

2015-12-14 Thread Anthony Walter
OP said: So I went to use GetLazarus version, it is good but have many bugs
because of its docking system and it will always be cropped

I just want to point out that's there exists a *method to turn off* "have
many bugs because of its docking system and it will always be cropped"

>From within Lazarus go to the "Package" menu and select "Install/Uninstall
Packages ...". Then in the left column of "Install/Uninstall Packages"
dialog, click "AnchorDockingDsgn 0.5" and click then button with the words
"Uninstall Selection". Finally click the button at the bottom wit the words
"Save and rebuild IDE". Lazarus will rebuild and after a few minutes you'll
be back to multiple window mode (the normal default).
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-13 Thread Anthony Walter
I updated the previously mentioned issue with information from gdb.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-12 Thread Anthony Walter
I don't know if this has been reported, but on several Lazarus
installations I get a "Division by zero" exception when using the "Manage
desktops"  dialog, located under the "Tools -> Desktops ..." menu.  On some
systems the error is reported as a floating point exception and crashes
Lazarus badly.

On my configuration I have anchordockingdsgn installed, but the problem may
affect multiple window layout users as well.

To generate the exception:

Open "Manage desktops"  dialog.
Press the export button.
Save layout as a new name.
Close the "Manage desktops" dialog.

I receive the error at this point one a few systems on Lazarus trunk and
have had this issue for months now. I build Lazarus fresh from trunk often,
so I assume this error affects the latest release candidate as well.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-12 Thread Anthony Walter
I am not sure how to backtrace on mantis, but here is the bug report I
submitted. Maybe you can 1.6 RC tag it for me.

http://bugs.freepascal.org/view.php?id=29178
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE Font

2015-12-11 Thread Anthony Walter
Okay, after some research I found an easy way to fix the problem. I thought
this might be useful to others.

You can easily define your own styles and change theme for Gtk2. Just
create a files called ~/.gtkrc-2.0 and put whatever settings you prefer
into it. For example to change the default font for Lazarus and it's apps
you can write this in the gtk rc file:

style "MyStyle"
{
font_name = "Ubuntu Condensed 11"
}

widget_class "*" style "MyStyle"
gtk-font-name = "Ubuntu Condensed 11"

Just restart the app and the changes take effect.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE Font

2015-12-11 Thread Anthony Walter
Mattias, when I changed the Raspbian fonts (specifically the sizes) using
the Raspbian tools the IDE font sizes do not reflect that change. I tried
rebooting and the Lazarus fonts sizes are unchanged. I rebuilt Lazarus and
the font sizes are unchanged.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


  1   2   3   4   5   >