Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PDF::Hash a bad name?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gregory Brown  
View profile  
 More options Jan 10 2010, 11:56 am
From: Gregory Brown <gregory.t.br...@gmail.com>
Date: Sun, 10 Jan 2010 11:56:08 -0500
Local: Sun, Jan 10 2010 11:56 am
Subject: PDF::Hash a bad name?
Hi James,

I'm working on the experiment of breaking off a subset of Prawn into
the the PDF namespace.   But I'm finding that anywhere I previously
referenced Hash in prawn now points to PDF::Hash instead of ::Hash.
So I'm needing to go around adding :: everywhere, usually after
hunting down subtle and hard to locate bugs (even w. our tests)

Maybe PDF::Hash should be called something else?   Even
PDF::Data::Hash might prevent this issue,   But it might be best to
call it something else entirely.

-greg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Healy  
View profile  
 More options Jan 15 2010, 11:08 pm
From: James Healy <ji...@deefa.com>
Date: Sat, 16 Jan 2010 15:08:16 +1100
Local: Fri, Jan 15 2010 11:08 pm
Subject: Re: PDF::Hash a bad name?
I agree, I hadn't considered the ramifications.

I don't like the idea of nesting it inside another module. I'd prefer
PDF::XXX, but I'm struggling to come up with names. Any other
suggestions?

It's a collection of objects - maybe PDF::Objects?

-- James Healy <ji...@deefa.com>  Sat, 16 Jan 2010 15:07:11 +1100


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gregory Brown  
View profile  
 More options Jan 16 2010, 12:19 am
From: Gregory Brown <gregory.t.br...@gmail.com>
Date: Sat, 16 Jan 2010 00:19:54 -0500
Local: Sat, Jan 16 2010 12:19 am
Subject: Re: PDF::Hash a bad name?

On Fri, Jan 15, 2010 at 11:08 PM, James Healy <ji...@deefa.com> wrote:
> I agree, I hadn't considered the ramifications.

> I don't like the idea of nesting it inside another module. I'd prefer
> PDF::XXX, but I'm struggling to come up with names. Any other
> suggestions?

> It's a collection of objects - maybe PDF::Objects?

Yeah, I think that's acceptable (though a bit too close to Object for my liking)

PDF::ObjectDictionary ?

-greg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Healy  
View profile  
 More options Jun 2 2010, 1:18 am
From: James Healy <ji...@deefa.com>
Date: Wed, 2 Jun 2010 15:18:46 +1000
Local: Wed, Jun 2 2010 1:18 am
Subject: Re: PDF::Hash a bad name?

Gregory Brown wrote:
> > It's a collection of objects - maybe PDF::Objects?

> Yeah, I think that's acceptable (though a bit too close to Object for my liking)

> PDF::ObjectDictionary ?

This is (finally) partially fixed in the pdf-reader master branch, and
will be completely fixed before the next release.

PDF::Hash will be deprecated in favour of PDF::Reader::ObjectHash, which
should avoid namespace issues. For at least 1 or 2 releases the
PDF::Hash class will continue to exist and print a deprecation warning.

I'll arrange a patch for prawn to use the new class name before I
release a gem.

-- James Healy <ji...@deefa.com>  Wed, 02 Jun 2010 15:17:21 +1000


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gregory Brown  
View profile  
 More options Jun 2 2010, 7:26 am
From: Gregory Brown <gregory_br...@letterboxes.org>
Date: Wed, 02 Jun 2010 07:26:11 -0400
Local: Wed, Jun 2 2010 7:26 am
Subject: Re: PDF::Hash a bad name?
On 6/2/10 1:18 AM, James Healy wrote:

> I'll arrange a patch for prawn to use the new class name before I
> release a gem.

Sweet! Thanks.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »