Recent

Author Topic: FreeSparta is OpenSource  (Read 78396 times)

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: FreeSparta is OpenSource
« Reply #45 on: March 29, 2015, 09:26:18 am »
I'm diving into Abbrevia to get it working in Lazarus the way it works in Delphi.

Abbrevia already works with Lazarus. I've used version 5.0 in my projects before
http://tpabbrevia.sourceforge.net/

What parts of Abbrevia could you be referring to?

JD
« Last Edit: March 29, 2015, 09:28:10 am by JD »
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: FreeSparta is OpenSource
« Reply #46 on: March 29, 2015, 10:18:44 am »
I'm diving into Abbrevia to get it working in Lazarus the way it works in Delphi.

Abbrevia already works with Lazarus. I've used version 5.0 in my projects before
http://tpabbrevia.sourceforge.net/

What parts of Abbrevia could you be referring to?

JD

I'm using abbrevia for years too, so really don't know what he is refering to exactly.


x2nie

  • Hero Member
  • *****
  • Posts: 515
  • Impossible=I don't know the way
    • impossible is nothing - www.x2nie.com
Re: FreeSparta is OpenSource
« Reply #47 on: March 29, 2015, 11:43:33 am »
They have done many things right. Cross-compilation is one thing and I think support is another.
I am only puzzled about their forking policy. I am not against it but I am puzzled.
I am also puzzled how they will merge their changes into their Lazarus fork. Their code is more and more diverse but still their base is the latest Lazarus.
Ok, maybe they are just clever.


That could be done using git ("rebase" command), IMHO.
When you were logged in, you can see attachments.
Lazarus Github @ UbuntuCinnamon-v22.04.1 + LinuxMintDebianEdition5

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Re: FreeSparta is OpenSource
« Reply #48 on: March 29, 2015, 01:04:58 pm »
@JD and Zeljko:
The original Abbrevia for Lazarus I downloaded some 2 years ago only showed 4 or 5 items on the Abbrevia component palette. It didn't show the treeview and listview among others (see screenshots 3 and 4).
The Abbrevia component (v5.2 zip file) that I downloaded recently from SourceForge did compile but would not install in Lazarus (versions 1.2.6 and 1.4RC2). See screenshot 1 for error.
Playing a bit dirty I tried the Abbrevia component supplied by CodeTyphon and that one installed perfectly and was showing all items on the palette.
But this one had some problems, the most important ones being not showing any icons in the trees of treeview and listview. I managed to solve it for the treeview already but not in the listview yet.
Another strange thing is that Abbrevia has a abMeter and a abProgressbar that you can link to a Zipper or ZipBrowse item. This works okay in Delphi but in Lazarus it never shows any progressbars in the selectionbox for ArchiveProgressMeter and ItemProgressMeter in the object inspector (see screenshot 2).
So that is why I started working on this component myself.
Is your version of Abbrevia doing these things correctly?
Where did you download your Abbrevia version (what version)?
Maybe I'm doing my work for nothing so any advice is welcome.
« Last Edit: March 29, 2015, 02:09:30 pm by JanRoza »
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: FreeSparta is OpenSource
« Reply #49 on: March 29, 2015, 02:06:57 pm »
How are end users able to test new features out and report bugs if there are no regular snapshots available
Try fpcup (needs some tuning) or getlazarus (no tuning required) projects. That should do the trick.

That might make us seem cold
Well, I felt warm whenever I received help around here. ;-)
I also bet that people with thousands of messages are more giving help here then receiving it, right? Cold on you!  8)
Certainly there are things I don't agree with, but I don't think disagreement should be expressed in a hostile way, and I also don't like when threads turn into 'blame everyone else' disasters. Maybe forum needs a thread or a section where people could write what would they like to see in Lazarus, or propose changes, and express many brilliant ideas that they need someone else to implement because of their lack of time or knowledge. Only hostile and insulting posts should be censored. That would be the safety pressure valve where all future attempts to corrupt technical discussions should be directed to. Without being cynical, I really do think that there would probably be some really nice ideas standing out on the shoulders of the noise. And people that do not have technical knowledge to do core development, could pick up some idea that's in their league and implement it. Bug busters, wiki busters and similar nice initiatives could also be advertised there for mutual benefit.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: FreeSparta is OpenSource
« Reply #50 on: March 29, 2015, 03:32:13 pm »
Sternas doesn't look like a guy with highly developed sense of humor, but your proposal using svn branches is a great trojan horse joke. According to your proposal, hnb needs two simultaneous branches(one for FPC and one for Lazaus). Who would use those!? He doesn't need them, he can develop without svn/git because he's the only FreeSparta developer. It's the most secure&diplomatic way to manipulate him. Let's face it: MOST OF THAT CODE WILL NEVE GET INTO SVN TRUNK! If you would have had the value of a drahma, and Sternas wouldn't appreciate yes-men, for sure he would have replied to this forum topic long time ago, expressing his point of view regarding some of the vocal Lazarus core developers.

This is total nonsense. You even don't know what you're talking about. So let me explain just few reasons for separate branch, which is my idea and it does not need to be acceppted by other core developers (separate branch in this case is just because of huge amount of changes which needs to be done in lazarus, otherwise it can be simple patch review) :

1.In the past we had a lot of "trojan" patches with copy pasted Delphi code (I know that hnb isn't guy who will do that, but anyway - we must be sure that future of our Lazarus project does not rely on stealed code.).
2.We are doing development on Lazarus project when we have enough spare time. So it's easier to review/test such changes in separate branch and then merge it, than first commit/merge and then reviewing one huge patch. Trunk is pretty stable for years, such changes can make it pretty unstable for months, even years.
3.What if such huge amount of changes contains "rm -rf /*" ? If such stuff is comitted you'll laugh I guess .
4.Code formatting is according to our standards ? Yes, it's pretty important, code must be readable.
5.What's the point with new patch ? Does it fix any bug ? Does it introduce new feature ? Or it's just code bloat ?
6.You must be developer of non "Hello world" apps to understand 1.)...5.)

So, IMO, branch for this situation is most clever solution.
More eyes will look into, so less chance to have problem, more developers can give
advice,support etc etc. If someone have better idea than "blindly" commit changes into trunk, then please express your opinion.
It's not trojan horse, but better than "split that into small patches and explain each of them". This is not "Hello world" project, so we must have some kind of control otherwise it'll easy run into bloat.
Don't want to talk about fpc developers, but this is how things are going on inside Lazarus project. And yes: hnb is pretty good developer and I would like to see him as part of Lazarus team.



vfclists

  • Hero Member
  • *****
  • Posts: 1013
    • HowTos Considered Harmful?
Re: FreeSparta is OpenSource
« Reply #51 on: March 29, 2015, 04:40:26 pm »
How are end users able to test new features out and report bugs if there are no regular snapshots available
Try fpcup (needs some tuning) or getlazarus (no tuning required) projects. That should do the trick.

I was one of the earliest users of both fpcup and getlazarus, and in the case of getlazarus I have already pointed out some bugs which sysrpl has fixed. FWIW I have spent at least 36hrs this week trying to get a successful cross platform build script going, and it isn't proving easy. You can imagine how it is for newcomers to Lazarus, let alone those new to Linux as well. Both tools have their shortcomings when you stray from the script, but that is to be expected as their developers cannot test for every end user case. Anyway  I have posted topic about my current problem in the fpc mailing list. So you can hop over there to see if you can help me with it
Lazarus 3.0/FPC 3.2.2

lagprogramming

  • Sr. Member
  • ****
  • Posts: 406
Re: FreeSparta is OpenSource
« Reply #52 on: April 19, 2015, 05:46:42 pm »
What's the status? I see no progress at:
https://github.com/dathox
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/free-sparta/?root=lazarus
https://www.freesparta.com/

@hnb Are you still working on the project or you've completely abandonded it?

hnb

  • Sr. Member
  • ****
  • Posts: 270
Re: FreeSparta is OpenSource
« Reply #53 on: July 09, 2015, 12:02:50 am »
What's the status? I see no progress at:
https://github.com/dathox
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/free-sparta/?root=lazarus
https://www.freesparta.com/

@hnb Are you still working on the project or you've completely abandonded it?

Sorry for late reply. First version with "Sparta Basic" (docked design form and IDE changes) :D  is available at:
 
http://svn.freepascal.org/svn/lazarus/branches/free-sparta

http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/free-sparta/?root=lazarus

I need to find time to update www.freesparta.com and github page.

After merging FreeSparta into Lazarus I run new FreeSparta initiative related to Android !

Regards,
Maciej Izak
« Last Edit: July 09, 2015, 12:07:32 am by hnb »
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

Michl

  • Full Member
  • ***
  • Posts: 226
Re: FreeSparta is OpenSource
« Reply #54 on: July 09, 2015, 04:20:22 pm »
I've never tried FreeSparta, but I try your work now.

I'm on Windows 7 and build FPC Trunc Rev. 31200 and Lazarus Branch 49511. Everything compiled fine here, also your package "dtx_spartabasic.lpk". So I've tryed creating a new application to see the docked forms - and it works. Then I've loaded a bigger project of me and it was also loadable :).

So thank you very much, for your work!!!!!

I've found a little bug in the designer. Where is the right place to post it? Should it be posted here or in the bug tracker?
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: FreeSparta is OpenSource
« Reply #55 on: July 09, 2015, 04:48:19 pm »
Sorry for late reply. First version with "Sparta Basic" (docked design form and IDE changes) :D  is available at:
 
http://svn.freepascal.org/svn/lazarus/branches/free-sparta

http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/free-sparta/?root=lazarus
Great! Looking forward for its merge to trunk. Has the docked design form worked on non-windows platform already?

EDIT: seems so on my Linux-Qt. Still buggy though, scrolling the form stretched it instead and the package doesn't list anchordockingdsgn as dependency.
« Last Edit: July 09, 2015, 09:30:52 pm by Leledumbo »

Basile B.

  • Guest
Re: FreeSparta is OpenSource
« Reply #56 on: July 09, 2015, 04:54:09 pm »
I'd like to see the changes made to anchordocking applied in Lazarus.

Was it a great improvement ? I've read that you've added a new style. Screenshot ?

hnb

  • Sr. Member
  • ****
  • Posts: 270
Re: FreeSparta is OpenSource
« Reply #57 on: July 09, 2015, 11:36:53 pm »
I've found a little bug in the designer. Where is the right place to post it? Should it be posted here or in the bug tracker?

Thanks for test. :D Bug is not related to FreeSparta. Please report it in the bug tracker:
http://bugs.freepascal.org/

Great! Looking forward for its merge to trunk. Has the docked design form worked on non-windows platform already?

EDIT: seems so on my Linux-Qt. Still buggy though, scrolling the form stretched it instead and the package doesn't list anchordockingdsgn as dependency.

Thanks for test. I think I can fix this bug. Anchordockingdsgn is not required. Sparta solution is elastic - you can use it without Anchordockingdsgn or with Anchordockingdsgn :). There is few more steps to do:

1. Bug fix for Linux for Sparta Basic (Sparta Basic = docked design form)
2. Sparta Starter package (includes "Form Smart Editor" https://www.freesparta.com/img/pro_o.png)
3. Sparta Professional (includes "Extended design time utils")
4. AnchorDocking patch

Point 2 and 3 requires point 1. Point 4 - AnchorDocking patch is independent.

Was it a great improvement ? I've read that you've added a new style. Screenshot ?

Works fine with multi-screens + few more small bug fixes. You can watch video how is working new style:
https://www.youtube.com/watch?v=6FOjWCLDScQ

regards,
Maciej Izak
« Last Edit: July 09, 2015, 11:46:03 pm by hnb »
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

Basile B.

  • Guest
Re: FreeSparta is OpenSource
« Reply #58 on: July 10, 2015, 12:14:18 am »
Any fix related to xml load/save ? (for example http://bugs.freepascal.org/view.php?id=28325#c84611)

Michl

  • Full Member
  • ***
  • Posts: 226
Re: FreeSparta is OpenSource
« Reply #59 on: July 10, 2015, 08:02:47 pm »
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

 

TinyPortal © 2005-2018