Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 10 2015 22:41

    arocketman on revert-11-zip_fileio

    (compare)

  • Feb 10 2015 22:41

    arocketman on revert-12-revert-11-zip_fileio

    (compare)

  • Jan 02 2015 12:49

    arocketman on master

    Update README.md (compare)

  • Dec 23 2014 11:39

    arocketman on v1.0

    (compare)

  • Dec 22 2014 11:01
    arocketman closed #6
  • Dec 22 2014 11:01

    arocketman on master

    Issue #6 (compare)

  • Dec 22 2014 10:48
    arocketman closed #15
  • Dec 22 2014 10:48

    arocketman on master

    Issue #15 Merge branch 'master' of https:… (compare)

  • Dec 21 2014 21:33
    arocketman closed #9
  • Dec 21 2014 20:22

    arocketman on master

    ZIP IO unit test added Merge pull request #17 from mca… (compare)

  • Dec 21 2014 20:22
    arocketman closed #17
  • Dec 21 2014 16:00
    mcaverly opened #17
  • Dec 21 2014 15:40
    arocketman commented #15
  • Dec 21 2014 11:15
    arocketman commented #9
  • Dec 21 2014 11:13

    arocketman on master

    Added constant for 'urlpadimage… (compare)

  • Dec 21 2014 11:05

    arocketman on master

    Missed a File.separator in prev… (compare)

  • Dec 21 2014 10:59
    arocketman commented #9
  • Dec 21 2014 10:54
    arocketman closed #13
  • Dec 21 2014 10:53

    arocketman on master

    Fixed paths issues and some zip… (compare)

  • Dec 21 2014 10:53
    arocketman closed #16
Ryan Gilera
@Daytron
This looks cool.
Andrea Capuano
@arocketman
yeah I googled github chat a while ago, came up with this. Very nice features
Ryan Gilera
@Daytron
How's the project?
Andrea Capuano
@arocketman
Not bad, needs testing. I'm a little busy with university tho.
Ryan Gilera
@Daytron
I can do some tests if you like. What do you use to test gui?
Andrea Capuano
@arocketman
I haven't written any tests , that's the point :(
Gotta get on it but i'm lacking the time.
Just did old fashioned search & fix for now.
Ryan Gilera
@Daytron
Sure. I managed to automate ui testing on my project using testfx, if you add me as contributor I can do some testing
Andrea Capuano
@arocketman
Sure, that'd be great.
Ryan Gilera
@Daytron
Awesome.
Andrea Capuano
@arocketman
I added you as collaborator.
Ryan Gilera
@Daytron
So does it work? Can you give mw rundown? Does it launch an interface? Or just run in background?
Cool
How does*
Andrea Capuano
@arocketman
it launches an interface, each time you copy a url to your clipboard it saves the URL.
Saving the URL takes a while because the java-fx webview is launched to take a snapshot.
well, the saving itself is instantaneous, but the image is loaded after few secs.
Ryan Gilera
@Daytron
Saves to where? Text file?
Andrea Capuano
@arocketman
json file as soon as you hit save.
Ryan Gilera
@Daytron
Oh cool
Andrea Capuano
@arocketman
There is a bug that images are saved anyway and I'll have to solve that, it's issue #3 basically.
Ryan Gilera
@Daytron
I'll have a look tomorrow.
I really like this project looks handy.
Andrea Capuano
@arocketman
Ah, thanks :) . I am willingful to bring it even as a web-service which is of course compatible with the app.
But that's a future plan, I really want to get into web-development, lots of work there.
Ryan Gilera
@Daytron
:)
Ryan Gilera
@Daytron
What is the image being save? Screenshot?
Andrea Capuano
@arocketman
yup.
Centered screenshot.
            BufferedImage renderedImage = SwingFXUtils.fromFXImage(snapshot, null);
            //Some math to get a little better thumbnail. Starting x is at 1/4 of the totale page. Goes for a width of half of the screen size to attempt and get the 'core' of the content.
            renderedImage = renderedImage.getSubimage((int)(screenSize.getWidth() /4),0,(int)( screenSize.getWidth()  / 2 ),(int) screenSize.getHeight() / 2);
            saveImage(padPath, fileName, renderedImage);
commenting out that third code line I pasted out would result in a full screenshot.
Ryan Gilera
@Daytron
You save url in a list on a json file, what is screenshot for?
I do have similar function but for canvas screenshot in mine
Andrea Capuano
@arocketman
in the list you can see the url informations and a small screenshot as thumbnail.
Ryan Gilera
@Daytron
Ah
Andrea Capuano
@arocketman
Just thumbnail purposes, the json URL is actually a path to the file.
Ryan Gilera
@Daytron
Cool
Is this on java 8?
Andrea Capuano
@arocketman
yup.
Ryan Gilera
@Daytron
Great
Andrea Capuano
@arocketman
wouldn't work on previous ones.
Ryan Gilera
@Daytron
I have set my environment to 8, its cool. Unfortunately cobertura for test coverage is not yet supported.
Junit and testfx is alright for now
Andrea Capuano
@arocketman
Alright, thanks for the help mate I appreciate it .)
:)
Ryan Gilera
@Daytron
No thank you, I try to get a lot exposure, good opportunity for me to learn.
Chat you later, cheers.
Andrea Capuano
@arocketman
have a good one mate
Ashkan K
@ashkan25
Project seems to be getting popular :smile: