Giter VIP home page Giter VIP logo

diffable's People

diffable's Issues

search page

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

Use a DiffableContext object to hold Diffable data

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

Introduce DiffableRequestHandler to separate request handling from DiffableServlet

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

Close properly the Input and Output streams

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

NullPointerException is thrown when the DiffableConfigProperties is not set in the web.xml

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:

Move servletPrefix Attribute to Configuration

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

Exception on dateHeader format when application server is not using US locale

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 Maven Central Repository

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 Javascript Bootstrap to Make Use of Local Storage

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

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

  • Blocking: #2

Devise a method for the easy resetting of a resource.

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

Monitoring Thread is not Shut Down Correctly

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

ResourceStorePath cannot be set for to an absolute Windows directory path

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:

Incorrectly generating diff URL

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 JS Minimizer

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.