DO NOT REPLY [Bug 42278] [PATCH] Factoring out of color map cache and uri/fo resolution from FopFactory

2012-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42278

Glenn Adams  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #7 from Glenn Adams  2012-04-01 07:13:28 UTC ---
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 42278] - [PATCH] Factoring out of color map cache and uri/fo resolution from FopFactory

2007-06-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42278


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-06-29 05:50 ---
Patch applied with modifications (see commit message):
http://svn.apache.org/viewvc?view=rev&rev=551874

Thanks for the patch and your patience.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 42278] - [PATCH] Factoring out of color map cache and uri/fo resolution from FopFactory

2007-05-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42278


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #20062|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2007-05-30 08:44 ---
Created an attachment (id=20288)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20288&action=view)
small patch file

Updated following feedback.

* Removed singletons.
* Merged uri resolution code into FOURIResolver.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 42278] - [PATCH] Factoring out of color map cache and uri/fo resolution from FopFactory

2007-05-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42278





--- Additional Comments From [EMAIL PROTECTED]  2007-05-15 05:20 ---
Hi Jeremias,

(In reply to comment #3)
> Thanks for yet another patch, Adrian. Sorry it takes so long to process them.

Yes, the patch queue is getting pretty long these days.  Its a real shame that
all the good work that people are contributing on the patch queue is not making
its way into the trunk more quickly.

> 
> I've got three comments on this one:

> 1. The HyphenationTreeResolver seems to me like a foreign body in the
> FOPResolver class. IMO, it's abuses that class as carrier. Can't you hold that
> reference in a different place for your PostScript stuff and keep the 
> reference
> in the FopFactory?

The idea behind this FOPResolver refactoring work was to delegate all resolving
actions away from FopFactory.  It seemed to me that creating a FOPResolver class
seemed like a good holding class for grouping all resolving related
functionality together.  The postscript changes would only make use of any color
map cache change so there is no problem with the reference remaining rooted in
the FopFactory.

> 2. You're naming the class with the resolution code from FopFactory
> "FOPResolver". Now, with the existing "FOURIResolver" in the same package, I 
> get
> the impression that there will be questions like: What is what? What's the
> difference between FOURIResolver and FOPResolver? What do you think about
> merging FOPResolver into FOURIResolver? I think this would be a safe thing to 
> do.

I think it is best to wait until PATCH
http://issues.apache.org/bugzilla/show_bug.cgi?id=41831 has been applied before
looking at merging FOPResolver and FOURIResolver.  Patch 41831 contains a
rewrite of the FOURIResolver resolve method.

> 3. I'm very much against introducing singletons for FopResolver,
> ElementMappingRegistry and ColorSpaceCache. Getting rid of all the singletons
> was one of my design goals for the new FOP API. The FopFactory should be 
> reused
> whenever possible by the user (you could have a singleton for FopFactory in 
> your
> app, though), but I want to create FopFactories which are completely separate
> from each other. The ColorSpaceCache is probably a border case since it 
> doesn't
> make much sense to keep multiple instance of this class, but I wouldn't want
> singletons for the other two because of unwanted side-effects (configuring one
> FOP environment (i.e. FopFactory) shouldn't modify the other).

Thats a fair point on FopResolver and ElementMappingRegistry.  I think its best
to revisit this patch once 41831 has been committed.

I really wish Andreas would return to look at it because he had spent quite a
lot of time looking at this patch and was ready to commit it when he started
having problems with his ISP.  If another developer takes care of committing
this rather large patch I can imagine quite a lot of effort being duplicated.

All the best,

Adrian.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 42278] - [PATCH] Factoring out of color map cache and uri/fo resolution from FopFactory

2007-05-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42278





--- Additional Comments From [EMAIL PROTECTED]  2007-05-14 13:14 ---
Thanks for yet another patch, Adrian. Sorry it takes so long to process them.

I've got three comments on this one:
1. The HyphenationTreeResolver seems to me like a foreign body in the
FOPResolver class. IMO, it's abuses that class as carrier. Can't you hold that
reference in a different place for your PostScript stuff and keep the reference
in the FopFactory?
2. You're naming the class with the resolution code from FopFactory
"FOPResolver". Now, with the existing "FOURIResolver" in the same package, I get
the impression that there will be questions like: What is what? What's the
difference between FOURIResolver and FOPResolver? What do you think about
merging FOPResolver into FOURIResolver? I think this would be a safe thing to 
do.
3. I'm very much against introducing singletons for FopResolver,
ElementMappingRegistry and ColorSpaceCache. Getting rid of all the singletons
was one of my design goals for the new FOP API. The FopFactory should be reused
whenever possible by the user (you could have a singleton for FopFactory in your
app, though), but I want to create FopFactories which are completely separate
from each other. The ColorSpaceCache is probably a border case since it doesn't
make much sense to keep multiple instance of this class, but I wouldn't want
singletons for the other two because of unwanted side-effects (configuring one
FOP environment (i.e. FopFactory) shouldn't modify the other).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 42278] - [PATCH] Factoring out of color map cache and uri/fo resolution from FopFactory

2007-04-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42278


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|factoring out of color map  |[PATCH] Factoring out of
   |cache and uri/fo resolution |color map cache and uri/fo
   |from FopFactory |resolution from FopFactory




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.