Recent

Author Topic: Easy to use memory dataset  (Read 26436 times)

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Easy to use memory dataset
« Reply #30 on: February 29, 2016, 10:39:06 pm »
Quote
Oh, you should really learn to make patches yourself. Besides, it is extremely easy. Just one "svn diff" command or in TortoiseSVN "Create patch". Doesn't get much simpler.
I understood you are making code for the online package manager. Then you surely must create patches.

BTW, what problems you had with Lazarus trunk version in your computer? Where was it discussed?
I used TortoiseSVN but because I for a while I couldn't have my own Lazarus and FPC trunk from SVN I couldn't check making patches.

I tired many times to get it and compile it from SVN as Wiki said but it will always cancel between it works maybe because of SF limits.
I tried fpcup as I talked here about it and in my new Win10 machine it always fail recently :
http://forum.lazarus.freepascal.org/index.php/topic,30386.0.html
Mostly Im using GetLazarus version for checking last version.

balazsszekely

  • Guest
Re: Easy to use memory dataset
« Reply #31 on: February 29, 2016, 10:39:38 pm »
@JuhaManninen
Now that you mentioned...is there any progress with the online package manager,  because now I'm working on a task(not related to Lazarus IDE), which will download zip files from a web page. Info about zip files are stored in XML file. Pretty similar to the online manager requirements I guess.

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Easy to use memory dataset
« Reply #32 on: February 29, 2016, 10:43:46 pm »
@JuhaManninen and @GetMem
Yes I worked on it but for the time I gave up because its hard for me to understand Lazarus and FPC packages system and choose the best way for them as I dont know their best (although I checked all you mentioned in our mails) so I postpone it for another time when I have enough patient to understand it fully or help someone else if anyone brings it up again. But I like working on package managing parts,interface and,DB and it's website.

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Easy to use memory dataset
« Reply #33 on: February 29, 2016, 10:47:17 pm »
Hi
Cool, while you're at it, have a look at "Locate" in TDbf  ;) :D
I've implemented my own cliendataset with delta and delayed updates, but I just needed support for SQLite backend....
Regards Benny
Can you explain your problem a little more?

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Easy to use memory dataset
« Reply #34 on: February 29, 2016, 10:48:38 pm »
@JuhaManninen Here is another topic I talked about my PFC trunk problem :
http://forum.lazarus.freepascal.org/index.php?topic=29258.20

balazsszekely

  • Guest
Re: Easy to use memory dataset
« Reply #35 on: February 29, 2016, 10:49:50 pm »
In my opinion the FPC package system is too complicated(nice clean code, but too many features). We need something simpler for Lazarus. Download the zip form remote site, extract to components folder, check for conflicts, dependency then install.

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Easy to use memory dataset
« Reply #36 on: February 29, 2016, 11:00:13 pm »
In my opinion the FPC package system is too complicated(nice clean code, but too many features). We need something simpler for Lazarus. Download the zip form remote site, extract to components folder, check for conflicts, dependency then install.
Its not a good place for dicuss it but many features is not problem, it just need someone who know the system and help it that part.
Such service has many parts :
-Installing and controlling packages and versions.
-Mange and control packages in server and client
-User interface
-Website
-Database as we discussed that being full dependent on services like Github or SF is not the best idea.

It almost clear for me what to do for each part except the first part that is a mystery for me until now.


JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4565
  • I like bugs.
Re: Easy to use memory dataset
« Reply #37 on: February 29, 2016, 11:30:51 pm »
Yes I worked on it but for the time I gave up because its hard for me to understand Lazarus and FPC packages system ...
Yes, I kind of guessed. :)
Last autumn you were very enthusiastic and told me NOT to start implementing it to avoid duplicate effort.
But yes, I understand.

Anyway, there was a long thread in Lazarus mailing list starting 8 of August 2015 titled "An online package manager". If you guys want to discuss it more now, please open a new thread.
I am planning (again) to study the topic soon ...

I used TortoiseSVN but because I for a while I couldn't have my own Lazarus and FPC trunk from SVN I couldn't check making patches.

aradeonas, you do NOT need FPC trunk for Lazarus trunk. I don't know where that misconception has come from.

Quote
I tired many times to get it and compile it from SVN as Wiki said but it will always cancel between it works maybe because of SF limits.

You try to do something fancy. Getting Lazarus is just one "svn co" command, and later "svn up".
Then "make".

Quote
I tried fpcup as I talked here about it and in my new Win10 machine it always fail recently : ...

Don't use fpcup then! Why you want to turn a simple thing into a complicated thing?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Easy to use memory dataset
« Reply #38 on: February 29, 2016, 11:37:56 pm »
Quote
Last autumn you were very enthusiastic and told me NOT to start implementing it to avoid duplicate effort.
To be fair I didnt say do NOT to implement it I just wanted to know if you working or now to prevent duplicate effort.
But you are right, sorry for letting you down :( not every body are good at developing an IDE in daily routine.
Quote
you do NOT need FPC trunk for Lazarus trunk. I don't know where that misconception has come from.
I know about that but I used to get that for checking purpose.
Quote
Don't use fpcup then! Why you want to turn a simple thing into a complicated thing?
Because I couldn't done the simpler way and before this problem I always used fpcup successfully
Quote
You try to do something fancy. Getting Lazarus is just one "svn co" command, and later "svn up".
Then "make".
Thanks for the help, I will try again.

@Thaddy if you can pleas make a patch for now until I can make a working FPC trunk.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4565
  • I like bugs.
Re: Easy to use memory dataset
« Reply #39 on: March 01, 2016, 12:03:34 am »
But you are right, sorry for letting you down :( not every body are good at developing an IDE in daily routine.

Don't worry, you did not let anybody down. It is good to see enthusiastic people. :)
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 16674
  • Kallstadt seems a good place to evict Trump to.
Re: Easy to use memory dataset
« Reply #40 on: March 01, 2016, 06:45:13 am »
@Thaddy if you can pleas make a patch for now until I can make a working FPC trunk.

I will review - some more - test, create a patch and enter it in mantis with reference that it is your work sometime today.

[edit]
Patch submitted with small example here:
http://bugs.freepascal.org/view.php?id=29761
« Last Edit: March 01, 2016, 07:47:20 am by Thaddy »
But I am sure they don't want the Trumps back...

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Easy to use memory dataset
« Reply #41 on: March 01, 2016, 08:39:42 am »
Thank you very much Thaddy.

Thaddy

  • Hero Member
  • *****
  • Posts: 16674
  • Kallstadt seems a good place to evict Trump to.
Re: Easy to use memory dataset
« Reply #42 on: March 01, 2016, 08:57:24 am »
@Aradeonas:

http://freepascal.thaddy.com/fpctrunk-33140-dbpatch.zip

Contains a prebuilt fpc trunk for win32, win64 and cross-compilers for linux i386, linux64 and armhf to test your code.
Make sure you set the paths correctly! It is FPC only, no Lazarus, sorry.
« Last Edit: March 01, 2016, 08:59:11 am by Thaddy »
But I am sure they don't want the Trumps back...

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Easy to use memory dataset
« Reply #43 on: March 01, 2016, 12:31:28 pm »
Thank you very much Thaddy  :)
Now with your and others helps I have last trunk FPC and Lazarus and made a test patch and it seems ok.
But how can I debug this unit?

Thaddy

  • Hero Member
  • *****
  • Posts: 16674
  • Kallstadt seems a good place to evict Trump to.
Re: Easy to use memory dataset
« Reply #44 on: March 01, 2016, 12:59:02 pm »
send me an email. I will make a debug build for you and provide you with a separate link. The link is a release build.
But I am sure they don't want the Trumps back...

 

TinyPortal © 2005-2018