husafan / diffable Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/diffable
Automatically exported from code.google.com/p/diffable
To prevent conflict with attribute names of existing projects, the attribute
names should use "diffable." as prefix.
Original issue reported on code.google.com by [email protected]
on 9 Aug 2010 at 8:26
What steps will reproduce the problem?
1.open google
2.search
http://www.google.com/search?q=Albert+Szent-Gyorgyi&ct=Albert_Szent_Gyorgyi-2011
-hp&oi=ddle
3. click i am feeling lucky
4.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 16 Sep 2011 at 6:59
Branch Google's mod_pagespeed and maintain a version of the module that
implements Diffable.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2010 at 5:42
The idea here is to use a specific object to hold all the data associated to
Diffable.
This object will be stored in the Servlet context.
The use of this object will remove the need of using static variables in
DiffableTag.
Original issue reported on code.google.com by [email protected]
on 9 Aug 2010 at 8:18
Add testing of the bootstrap code using JSUnit tests.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2010 at 5:37
If there are multiple Diffable resources on a page, then they should be able to
chain their patch requests. Then the server would send a single patch
response, which would be split into individual patch responses, and applied to
the corresponding resources.
Original issue reported on code.google.com by [email protected]
on 13 Jul 2010 at 10:35
Hi,
To ease the integration of Diffable with other projects, it will be good to
introduce a DiffableRequestHandler which will handle the request.
This will allow to use the DiffableRequestHandler without dealing with the
DiffableServlet.
This will enforce the separation of concern between the servlet and the request
handling.
I suggest that the DiffableRequestHandler should have one method :
public void processRequest(ResourceRequest resourceRequest);
Cheers,
Icefox
Original issue reported on code.google.com by [email protected]
on 17 Jul 2010 at 2:18
Increase test coverage with a target of 80% on all major classes.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2010 at 1:46
Every getResource call is synchronized, this has some performance penalty, I
think that we should use the synchronisation only when we change or regenerate
the different versions.
Original issue reported on code.google.com by [email protected]
on 9 Aug 2010 at 8:20
What steps will reproduce the problem?
1. The close of the input and output streams is not properly handle in some
cases.
What is the expected output? What do you see instead?
The expected behaviour is a properly closing of the streams.
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 5 Aug 2010 at 5:09
What steps will reproduce the problem?
1. Remove DiffableConfigProperties context param from the web.xml
2. Starts the webserver.
3. A nullPointerException is thrown in the DiffableListener.
What is the expected output? What do you see instead?
The expected behaviour is a proper start of the webserver and the use of the
default values for the config.
What version of the product are you using? On what operating system?
version 0.1
Operating System : Windows
Server : Tomcat 5.5
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 14 Jul 2010 at 10:16
Attachments:
Add a resource manager that uses a database instead of the filesystem to store
managed resource artifacts.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2010 at 5:41
Define the servletPrefix property in the config property or directly as a
parameter of your DiffableServlet in the web.xml file.
Otherwise the user will have to repeat the servletPrefix property for
each tag, while it can be configured once. My choice would be to put it
directly in Servlet parameter in the web.xml file as it's nearer to the mapping
definition of the servlet, which is done in the web.xml file.
Original issue reported on code.google.com by [email protected]
on 14 Jul 2010 at 3:45
What steps will reproduce the problem?
1. Change the locale of your application server to France for instance
2. Launch you webserver
3. Display a page containing the diff tag
4. modify the resource used in the diff tag
5. Display the page again.
6. An illegalArgumentException is thrown on dateHeader.
What is the expected output? What do you see instead?
Retrieve of the delta from the server.
What version of the product are you using? On what operating system?
OS:Windows
Server:Tomcat 5.5
Please provide any additional information below.
To fix this issue, we need to set the locale used by the simpleDateFormat in
the DiffableServlet
Original issue reported on code.google.com by [email protected]
on 14 Jul 2010 at 10:53
Attachments:
Upload Diffable to central repositories:
http://repo1.maven.org/maven2
http://download.java.net/maven/2
https://maven2-repository.dev.java.net/
http://google-maven-repository.googlecode.com/svn/repository/
Original issue reported on code.google.com by [email protected]
on 14 Jul 2010 at 6:09
Modify the Javascript bootstrap code to use local storage if available. Also,
if local storage is being used, the patched version of the code should be saved
each time so that the user only has to patch once to a given version.
Original issue reported on code.google.com by [email protected]
on 13 Jul 2010 at 10:17
Generalize the Javascript code so that it can be more easily modified/used from
the host page. Also, make it so that the Javascript only has to be imported
once, and all resources use the same bootstrap code.
Original issue reported on code.google.com by [email protected]
on 13 Dec 2010 at 1:17
When diffs become too large or a resource's contents are changed entirely,
there needs to be a sane system for rebasing the resource and starting over in
the generation of the deltas. Currently, the only way to start over with a
resource is to rename it or delete the corresponding resource store folder.
Although this second method is not too bad, it's not easy to identify which
resource store folder corresponds to which resource. If nothing else, an
artifact holding these mappings should be generated so that the correct folder
can be quickly identified for deletion.
Should there be some sort of administrative servlet for this and other resource
management tasks?
Original issue reported on code.google.com by [email protected]
on 17 Aug 2010 at 4:44
What steps will reproduce the problem?
1. Start Web Application using Diffable (Tested in Tomcat)
2. Shut down application server
What is the expected output? What do you see instead?
The application server should terminate without any errors. Instead application server displays:
Jul 14, 2010 5:31:39 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: A web application appears to have started a thread named [Poller SunPKCS11-Darwin] but has failed to stop it. This is very likely to create a memory leak.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 12:33
What steps will reproduce the problem?
1. Set ResourceStorePath to a Windows directory (C:/diffable)
2. Starts the application server
3. As the directory don't start with a "/", Diffable consider the path as a
relative path.
What is the expected output? What do you see instead?
The expected output would be the use of the directory defined in the
configuration file.
What version of the product are you using? On what operating system?
Diffable 0.1
OS : Windows XP
Please provide any additional information below.
I would suggest to use a file URI scheme to distinguish an absolute path from a
relative path.
An absolute path would be defined as :
ResourceStorePath=file://C:/diffable
or
ResourceStorePath=file:///usr/somepath/
And for relative path it will be :
ResourceStorePath=diffable/
Original issue reported on code.google.com by [email protected]
on 16 Jul 2010 at 8:51
Attachments:
What steps will reproduce the problem?
1. Open a page that uses a Diffable resource.
2. Modify the resource and open the page again so that Diffable attempts to
load a diff.
3. Diff URL has extra / between path and resource.
What is the expected output? What do you see instead?
example expected: DiffableTest/diffable/aa_bb_cc.diff
example actual: DiffableTest/diffable//aa_bb_cc.diff
Please use labels and text to provide additional information.
Generate correct URL. Also, modify handler to deal with trivially incorrect
URLs such as the one above.
Original issue reported on code.google.com by [email protected]
on 15 Dec 2010 at 4:50
Add minimization for the bootstrap code. Also, add the option of minimizing
managed resources.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2010 at 5:36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.