Re: [Lazarus] Working on big units

2015-10-25 Thread Graeme Geldenhuys
On 2015-10-25 00:58, Anthony Walter wrote: > Graeme, all browsers (except opera mini) support h.264 now: Yes and No. The difference between OGV & WebM vs H264 is that H264 requires external libraries for it to work. Especially on Linux or FreeBSD (read the fine print... appropriate gstreamer

Re: [Lazarus] Working on big units

2015-10-24 Thread Alexsander Rosa
2015-10-22 13:11 GMT-02:00 Aradeonas : > > > > > > > *From my 600+ KLOC project: Total Files: 961 Average File Size: 629,3 > lines Source: StatSVN report * > > How,Why?! ;) > > How: coding this way since day one. Why: IMHO it's easier to maintain. --

Re: [Lazarus] Working on big units

2015-10-24 Thread Alexsander Rosa
2015-10-24 14:15 GMT-02:00 Jürgen Hestermann : > Am 2015-10-24 um 17:50 schrieb Alexsander Rosa: > > 2015-10-22 13:11 GMT-02:00 Aradeonas : > >> >> >> >> >> >> >> * From my 600+ KLOC project: Total Files: 961 Average File Size: 629,3 >> lines

Re: [Lazarus] Working on big units

2015-10-24 Thread Jürgen Hestermann
Am 2015-10-24 um 17:50 schrieb Alexsander Rosa: 2015-10-22 13:11 GMT-02:00 Aradeonas >: / From my 600+ KLOC project: Total Files: 961 Average File Size: 629,3 lines Source: StatSVN

Re: [Lazarus] Working on big units

2015-10-24 Thread Graeme Geldenhuys
On 2015-10-24 13:34, Anthony Walter wrote: > How do I enable the HTML view for object inspector information box. Using a > recent SVN trunk here and all I see is normal plain text in the info box. Not really related to this thread, but to answer your question As far as I know you need to

Re: [Lazarus] Working on big units

2015-10-24 Thread Anthony Walter
Graeme, all browsers (except opera mini) support h.264 now: http://caniuse.com/#feat=mpeg4 See also OpenH264 https://en.wikipedia.org/wiki/OpenH264 Regarding other video formats, Vorbis, WebM, VP8 have much less support: http://caniuse.com/#feat=webm http://caniuse.com/#feat=ogv

Re: [Lazarus] Working on big units

2015-10-24 Thread Juha Manninen
On Sat, Oct 24, 2015 at 11:39 AM, Aradeonas wrote: > Its good to have videos of professorial FPC and Lazarus developers and > see how they work,it can be like learning channel. There are animations of the IDE here : http://wiki.freepascal.org/New_IDE_features_since and

Re: [Lazarus] Working on big units

2015-10-24 Thread Anthony Walter
from: http://wiki.freepascal.org/New_IDE_features_since How do I enable the HTML view for object inspector information box. Using a recent SVN trunk here and all I see is normal plain text in the info box. Also work noting, what would everyone think about screen captures as mp4? All browsers

Re: [Lazarus] Working on big units

2015-10-24 Thread Aradeonas
Its good to have videos of professorial FPC and Lazarus developers and see how they work,it can be like learning channel. Regards, Ara -- http://www.fastmail.com - Access all of your messages and folders wherever you are --

Re: [Lazarus] Working on big units

2015-10-24 Thread Aradeonas
Yes they can be good but not for showing how we can code better with Lazarus. For obvious reason someone from you (Team members or old Lazarus users) can make something like a showcase for Lazarus. Regards, Ara -- http://www.fastmail.com - Access all of your messages and folders

Re: [Lazarus] Working on big units

2015-10-24 Thread Graeme Geldenhuys
On 2015-10-24 10:11, Juha Manninen wrote: > Somebody could make a video of all the features in a well planned way > and practice it beforehand. It would be very helpfull. That's kind of what I wanted when I started this wiki page: http://wiki.freepascal.org/New_IDE_features_since Animated

Re: [Lazarus] Working on big units

2015-10-24 Thread Graeme Geldenhuys
On 2015-10-24 11:55, Aradeonas wrote: > Yes it can very good that shows what is a good work flow with Lazarus > but it should made by a person that know LAzarus and FPC well. YouTube contains some very good videos - maybe not all related to FPC and Lazarus specifically, but rather Delphi. In most

Re: [Lazarus] Working on big units

2015-10-24 Thread Aradeonas
Yes it can very good that shows what is a good work flow with Lazarus but it should made by a person that know LAzarus and FPC well. Regards, Ara -- http://www.fastmail.com - The way an email service should be -- ___ Lazarus mailing list

Re: [Lazarus] Working on big units

2015-10-22 Thread Graeme Geldenhuys
On 2015-10-21 20:45, Aradeonas wrote: > I Just work on one of my units with about 10,000 line of code that have > 7 class and it makes me crazy moving in it and adding procedure or "big" is a relative term I guess. I don't consider 10,000 lines big these days. :) Take a look at "Procedure List"

Re: [Lazarus] Working on big units

2015-10-22 Thread Aradeonas
> "big" is a relative term I guess. I don't consider 10,000 lines big > these days. :) Yea for you its just a normal unit but for someone like me writing this code from start and managing it is kind of hard (not much,but I want easier!) Very good point!I didnt saw that,Thank you. I tried it (And

Re: [Lazarus] Working on big units

2015-10-22 Thread Juha Manninen
On Thu, Oct 22, 2015 at 1:36 PM, Aradeonas wrote: > Yes I do because it will be unformatted while writing. > About codetools really I dont know what it does and I never used it and > I read Wiki page and didnt understand how it help code formatting. Ok, Codetools is

Re: [Lazarus] Working on big units

2015-10-22 Thread Aradeonas
Thanks Juha and I checked that but still code will unformated after some time specially tab and indent and from Delphi7 Days I always use code formaters.Maybe its just me Regards, Ara -- http://www.fastmail.com - Send your email first class --

Re: [Lazarus] Working on big units

2015-10-22 Thread Aradeonas
Yes I do because it will be unformatted while writing. About codetools really I dont know what it does and I never used it and I read Wiki page and didnt understand how it help code formatting. Regards, Ara -- http://www.fastmail.com - The professional email service --

Re: [Lazarus] Working on big units

2015-10-22 Thread Alexsander Rosa
>From my 600+ KLOC project: Total Files:961Average File Size:629,3 lines Source: StatSVN report 2015-10-21 17:45 GMT-02:00 Aradeonas : > Hi, > > I Just work on one of my units with about 10,000 line of code that have 7 > class and it makes me crazy moving in it and

Re: [Lazarus] Working on big units

2015-10-22 Thread Graeme Geldenhuys
On 2015-10-22 12:34, Aradeonas wrote: > changed the shortcut to Ctrl+G) and it is easy to use,maybe you can add > some shortcut or a tree view for moving faster between classes. When I wrote it, immediate typing reduced the search results (partial matching anywhere was automatically enabled -

Re: [Lazarus] Working on big units

2015-10-22 Thread Aradeonas
No shortcut and search behave badly. Doesn't search very good and for me cant find anything good. For now I dont know how to edit Lazarus add ones and codes (and making patches and ... ) but it is easy to make these works. I just good at making from scratch not updating others code (Just using :p

Re: [Lazarus] Working on big units

2015-10-22 Thread Aradeonas
> From my 600+ KLOC project: > > Total Files: 961 Average File Size: 629,3 lines > > Source: StatSVN report How,Why?! ;) Graeme I will send you screenshots. Regards, Ara -- http://www.fastmail.com - Or how I learned to stop worrying and love email again --

Re: [Lazarus] Working on big units

2015-10-22 Thread Graeme Geldenhuys
On 2015-10-22 14:23, Aradeonas wrote: > No shortcut and search behave badly. Doesn't search very good and for me > cant find anything good. Can you please supply a screenshot of your Procedure List dialog with the text you entered and what the results where And very importantly, an example of

Re: [Lazarus] Working on big units

2015-10-22 Thread Juha Manninen
On Thu, Oct 22, 2015 at 8:52 AM, Aradeonas wrote: > Very good! But sadly for me if I use JCF when I have a folded code it will > messed up. > It seems there are tools that I cant use because of JCF. But code formatting > is a lot more important for me, I can write a line

Re: [Lazarus] Working on big units

2015-10-21 Thread Aradeonas
> Short cut is by default Alt- Or Ctrl+click > There are shortcuts to fold ALL nodes at a specific level. alt-shift-1 (or 2, 3 4 ... for level) alt-shift-0 unfold depending on what you have configured as fold-able try alt-shift-3 (maybe 4) and you just see function headers. Very good! But sadly

Re: [Lazarus] Working on big units

2015-10-21 Thread DougC
The best way to deal with big units is to avoid them completely. Can you explain why you are using such a big unit if it is causing you these problems? On Wed, 21 Oct 2015 15:45:07 -0400 Aradeonas aradeo...@operamail.com wrote I Just work on one of my units with about

Re: [Lazarus] Working on big units

2015-10-21 Thread DougC
I think you have taken the advice you read somewhere too seriously. You have taken it to an extreme that invalidates it. Having a small number of units is not in any way disadvantageous in terms of efficiency from the system's viewpoint. Remember that the unit structure was invented to solve

[Lazarus] Working on big units

2015-10-21 Thread Aradeonas
Hi, I Just work on one of my units with about 10,000 line of code that have 7 class and it makes me crazy moving in it and adding procedure or editing and sometimes I get lost that where am I. Just want to ask you how you work with big units? how you move,browse and edit? Regards, Ara --

Re: [Lazarus] Working on big units

2015-10-21 Thread Philippe Lévi
operamail.com> Enviado: quarta-feira, 21 de outubro de 2015 16:45 Para: lazarus@lists.lazarus.freepascal.org Assunto: [Lazarus] Working on big units Hi, I Just work on one of my units with about 10,000 line of code that have 7 class and it makes me crazy moving in it and adding procedure or editin

Re: [Lazarus] Working on big units

2015-10-21 Thread Martin Frb
On 21/10/2015 20:53, Aradeonas wrote: But I remember I read somewhere Its good too have minimum count of units and also its easier to use and also I saw many units that have thousands of code and its interesting that how they work on these codes? These classes are in a subject like controls and

Re: [Lazarus] Working on big units

2015-10-21 Thread Aradeonas
But I remember I read somewhere Its good too have minimum count of units and also its easier to use and also I saw many units that have thousands of code and its interesting that how they work on these codes? These classes are in a subject like controls and I didnt want to have

Re: [Lazarus] Working on big units

2015-10-21 Thread Aradeonas
Thanks, Im using all of these tools except folding (I just use JCF and it is very good at losing the point that where you was!) and still hard to maintain, so it seems its just my problem. Regards, Ara -- http://www.fastmail.com - Access all of your messages and folders

Re: [Lazarus] Working on big units

2015-10-21 Thread Aradeonas
> If you used "find declaration", that adds a jump point, and you can go > back ctrl-h (I recommend you put that on a key you like) You can also > add your own jump points. (search the menu, or keymapping) > > Also look at the overview gutter (next to scrollbar), it shows where > interface and

Re: [Lazarus] Working on big units

2015-10-21 Thread Marc Santhoff
On Mi, 2015-10-21 at 21:02 +0100, Martin Frb wrote: > Code tools (read the entire page, it is useful not just for navigation) >http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools >Method_Jumping and Find_Declaration > > Code explorer (try it, the description is not that good)) >

Re: [Lazarus] Working on big units

2015-10-21 Thread Martin Frb
On 21/10/2015 21:58, Aradeonas wrote: Thanks, Im using all of these tools except folding (I just use JCF and it is very good at losing the point that where you was!) and still hard to maintain, so it seems its just my problem. If you used "find declaration", that adds a jump point, and you can

Re: [Lazarus] Working on big units

2015-10-21 Thread Marcos Douglas
On Wed, Oct 21, 2015 at 5:45 PM, Aradeonas wrote: > I Just work on one of my units with about 10,000 line of code that have 7 > class and it makes me crazy moving in it and adding procedure or editing and > sometimes I get lost that where am I. Just want to ask you how

Re: [Lazarus] Working on big units

2015-10-21 Thread Mattias Gaertner
On Wed, 21 Oct 2015 22:54:06 +0200 Marc Santhoff wrote: >[...] > And not to forget, put the cursor inside a variable name or class name > or function name, use the right mouse key for popping up the context > menu and select > > "find declaration of ..." Short cut is by

Re: [Lazarus] Working on big units

2015-10-21 Thread Aradeonas
Thank you all. Regards, Ara -- http://www.fastmail.com - Access all of your messages and folders wherever you are -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Working on big units

2015-10-21 Thread Aradeonas
Its similar to to Controls.pas in Delphi7 but class are big but its not the point (I just didnt wanted to put each control in one unit) my point is finding out browsing and editing big units. Regards, Ara -- http://www.fastmail.com - Send your email first class --

Re: [Lazarus] Working on big units

2015-10-21 Thread Marcos Douglas
On Wed, Oct 21, 2015 at 7:52 PM, Aradeonas wrote: > Its similar to to Controls.pas in Delphi7 but class are big but its not the > point > Because was coded in a big company doesn't mean was right coded. But, as you said, its not the point. > (I just didnt wanted to put

Re: [Lazarus] Working on big units

2015-10-21 Thread Martin Frb
On 21/10/2015 21:02, Martin Frb wrote: folding (if that is your thing) There are shortcuts to fold ALL nodes at a specific level. alt-shift-1 (or 2, 3 4 ... for level) alt-shift-0 unfold depending on what you have configured as fold-able try alt-shift-3 (maybe 4) and you just see function