ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag
@ 2012-10-05 13:22 stomar (Marcus Stollsteimer)
  2012-11-03 12:02 ` [ruby-core:48803] [ruby-trunk - Bug #7110][Assigned] " mame (Yusuke Endoh)
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: stomar (Marcus Stollsteimer) @ 2012-10-05 13:22 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been reported by stomar (Marcus Stollsteimer).

----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110

Author: stomar (Marcus Stollsteimer)
Status: Open
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48803] [ruby-trunk - Bug #7110][Assigned] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
@ 2012-11-03 12:02 ` mame (Yusuke Endoh)
  2012-11-03 22:10 ` [ruby-core:48824] [ruby-trunk - Bug #7110] " zzak (Zachary Scott)
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: mame (Yusuke Endoh) @ 2012-11-03 12:02 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned

xibbar, are you willing to include this in 2.0.0?
If so, please commit it ASAP, before preview2 (planned at 1 Dec.) at the latest.

-- 
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32293

Author: stomar (Marcus Stollsteimer)
Status: Assigned
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48824] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
  2012-11-03 12:02 ` [ruby-core:48803] [ruby-trunk - Bug #7110][Assigned] " mame (Yusuke Endoh)
@ 2012-11-03 22:10 ` zzak (Zachary Scott)
  2012-11-04  0:50 ` [ruby-core:48830] " mame (Yusuke Endoh)
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: zzak (Zachary Scott) @ 2012-11-03 22:10 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by zzak (Zachary Scott).


I think CGI#header should stay the same, and this method to product html5 compatible headers should be CGI#html_header
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32313

Author: stomar (Marcus Stollsteimer)
Status: Assigned
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48830] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
  2012-11-03 12:02 ` [ruby-core:48803] [ruby-trunk - Bug #7110][Assigned] " mame (Yusuke Endoh)
  2012-11-03 22:10 ` [ruby-core:48824] [ruby-trunk - Bug #7110] " zzak (Zachary Scott)
@ 2012-11-04  0:50 ` mame (Yusuke Endoh)
  2012-11-04  0:51 ` [ruby-core:48831] " mame (Yusuke Endoh)
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: mame (Yusuke Endoh) @ 2012-11-04  0:50 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by mame (Yusuke Endoh).


I recommend xibber to postpone this to next minor, if there is room to discuss anything about the spec of this feature (such as a method name).

-- 
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32318

Author: stomar (Marcus Stollsteimer)
Status: Assigned
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48831] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (2 preceding siblings ...)
  2012-11-04  0:50 ` [ruby-core:48830] " mame (Yusuke Endoh)
@ 2012-11-04  0:51 ` mame (Yusuke Endoh)
  2012-11-04  8:17 ` [ruby-core:48843] " stomar (Marcus Stollsteimer)
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: mame (Yusuke Endoh) @ 2012-11-04  0:51 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by mame (Yusuke Endoh).


Sorry, xibber -> xibbar.
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32319

Author: stomar (Marcus Stollsteimer)
Status: Assigned
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48843] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (3 preceding siblings ...)
  2012-11-04  0:51 ` [ruby-core:48831] " mame (Yusuke Endoh)
@ 2012-11-04  8:17 ` stomar (Marcus Stollsteimer)
  2012-11-04 10:24 ` [ruby-core:48844] " xibbar (Takeyuki Fujioka)
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: stomar (Marcus Stollsteimer) @ 2012-11-04  8:17 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by stomar (Marcus Stollsteimer).


I really think for the proposed patch 2.0 would be the best place.

@zzak:

I can not judge how big the impact of renaming CGI#header would be.

BUT: Your proposal would mean that the <header> tag would have to be treated differently to all the other HTML tags (#h1, #form, #br, ...), which for the users of the tag maker would be a fairly unexpected behaviour.

Personally, I would prefer consistent behaviour for all tags.

In case the decision goes with introducing a special method for this single tag, I would suggest #header_element (maybe #header_tag) instead of #html_header, which to me rather signifies the doctype, html meta data, etc.
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32334

Author: stomar (Marcus Stollsteimer)
Status: Assigned
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48844] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (4 preceding siblings ...)
  2012-11-04  8:17 ` [ruby-core:48843] " stomar (Marcus Stollsteimer)
@ 2012-11-04 10:24 ` xibbar (Takeyuki Fujioka)
  2012-11-04 14:15 ` [ruby-core:48851] " stomar (Marcus Stollsteimer)
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: xibbar (Takeyuki Fujioka) @ 2012-11-04 10:24 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by xibbar (Takeyuki Fujioka).


I think this function should be included in 2.0.0

So, I will commit.

Sorry late.
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32335

Author: stomar (Marcus Stollsteimer)
Status: Assigned
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48851] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (5 preceding siblings ...)
  2012-11-04 10:24 ` [ruby-core:48844] " xibbar (Takeyuki Fujioka)
@ 2012-11-04 14:15 ` stomar (Marcus Stollsteimer)
  2012-11-04 18:59   ` [ruby-core:48856] " Zachary Scott
  2012-11-04 19:14 ` [ruby-core:48857] " zzak (Zachary Scott)
                   ` (6 subsequent siblings)
  13 siblings, 1 reply; 16+ messages in thread
From: stomar (Marcus Stollsteimer) @ 2012-11-04 14:15 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by stomar (Marcus Stollsteimer).


Perhaps a note should be added to NEWS, maybe something like
 
* cgi
  * incompatible changes:
    * CGI#header has been renamed to CGI#http_header.
      CGI#header is now used by the HTML5 tag maker to
      create a <header> element.

----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32341

Author: stomar (Marcus Stollsteimer)
Status: Closed
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48856] Re: [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-11-04 14:15 ` [ruby-core:48851] " stomar (Marcus Stollsteimer)
@ 2012-11-04 18:59   ` Zachary Scott
  0 siblings, 0 replies; 16+ messages in thread
From: Zachary Scott @ 2012-11-04 18:59 UTC (permalink / raw
  To: ruby-core

In my opinion compatibility is more important than consistency, but
ultimately it is up to xibbar.

Other ruby-core share this sentiment, see ruby-core:48469


On Sun, Nov 4, 2012 at 9:15 AM, stomar (Marcus Stollsteimer)
<redmine@ruby-lang.org> wrote:
>
> Issue #7110 has been updated by stomar (Marcus Stollsteimer).
>
>
> Perhaps a note should be added to NEWS, maybe something like
>
> * cgi
>   * incompatible changes:
>     * CGI#header has been renamed to CGI#http_header.
>       CGI#header is now used by the HTML5 tag maker to
>       create a <header> element.
>
> ----------------------------------------
> Bug #7110: CGI: Add support for HTML5 <header> tag
> https://bugs.ruby-lang.org/issues/7110#change-32341
>
> Author: stomar (Marcus Stollsteimer)
> Status: Closed
> Priority: Normal
> Assignee: xibbar (Takeyuki Fujioka)
> Category: lib
> Target version: 2.0.0
> ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]
>
>
> =begin
> These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.
>
> Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
> =end
>
>
> --
> http://bugs.ruby-lang.org/
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48857] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (6 preceding siblings ...)
  2012-11-04 14:15 ` [ruby-core:48851] " stomar (Marcus Stollsteimer)
@ 2012-11-04 19:14 ` zzak (Zachary Scott)
  2012-11-04 20:12 ` [ruby-core:48859] " stomar (Marcus Stollsteimer)
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: zzak (Zachary Scott) @ 2012-11-04 19:14 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by zzak (Zachary Scott).


In my opinion compatibility is more important than consistency, but
ultimately it is up to xibbar.

Other ruby-core share this sentiment, see ruby-core:48469
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32344

Author: stomar (Marcus Stollsteimer)
Status: Closed
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48859] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (7 preceding siblings ...)
  2012-11-04 19:14 ` [ruby-core:48857] " zzak (Zachary Scott)
@ 2012-11-04 20:12 ` stomar (Marcus Stollsteimer)
  2012-11-05  0:29 ` [ruby-core:48862] " xibbar (Takeyuki Fujioka)
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: stomar (Marcus Stollsteimer) @ 2012-11-04 20:12 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by stomar (Marcus Stollsteimer).


> In my opinion compatibility is more important than consistency, but
> ultimately it is up to xibbar.
>
> Other ruby-core share this sentiment, see ruby-core:48469

I don't think a general rule can be derived from this single statement. Also, the circumstances are different. Here, it is more a question of avoiding inconsistent and unexpected behaviour than of adding some "would be nice to have" method.

But don't understand me wrong, I'm all for compatibility.

Maybe a point that would have to be considered is whether this change can be regarded as a mostly internal change of a method that is usually not called directly by the average user of the library, or not.
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32346

Author: stomar (Marcus Stollsteimer)
Status: Closed
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48862] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (8 preceding siblings ...)
  2012-11-04 20:12 ` [ruby-core:48859] " stomar (Marcus Stollsteimer)
@ 2012-11-05  0:29 ` xibbar (Takeyuki Fujioka)
  2012-11-05  0:33 ` [ruby-core:48863] " xibbar (Takeyuki Fujioka)
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: xibbar (Takeyuki Fujioka) @ 2012-11-05  0:29 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by xibbar (Takeyuki Fujioka).


stomar (Marcus Stollsteimer) wrote:
> Perhaps a note should be added to NEWS, maybe something like
>  
> * cgi
>   * incompatible changes:
>     * CGI#header has been renamed to CGI#http_header.
>       CGI#header is now used by the HTML5 tag maker to
>       create a <header> element.

Thank you.  I will add.
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32348

Author: stomar (Marcus Stollsteimer)
Status: Closed
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48863] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (9 preceding siblings ...)
  2012-11-05  0:29 ` [ruby-core:48862] " xibbar (Takeyuki Fujioka)
@ 2012-11-05  0:33 ` xibbar (Takeyuki Fujioka)
  2012-11-05  1:10 ` [ruby-core:48865] " zzak (Zachary Scott)
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 16+ messages in thread
From: xibbar (Takeyuki Fujioka) @ 2012-11-05  0:33 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by xibbar (Takeyuki Fujioka).


I decide this change.
Because minor version up is is more important than consistency.
But 2.0 is major version up.
HTML5 will be gradually standard format.

----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32349

Author: stomar (Marcus Stollsteimer)
Status: Closed
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48865] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (10 preceding siblings ...)
  2012-11-05  0:33 ` [ruby-core:48863] " xibbar (Takeyuki Fujioka)
@ 2012-11-05  1:10 ` zzak (Zachary Scott)
  2012-11-06 12:12 ` [ruby-core:48974] " xibbar (Takeyuki Fujioka)
  2012-11-06 12:31 ` [ruby-core:48975] " mame (Yusuke Endoh)
  13 siblings, 0 replies; 16+ messages in thread
From: zzak (Zachary Scott) @ 2012-11-05  1:10 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by zzak (Zachary Scott).


xibbar, it is your decision to make, and I support it.

Thank you.
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32352

Author: stomar (Marcus Stollsteimer)
Status: Closed
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48974] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (11 preceding siblings ...)
  2012-11-05  1:10 ` [ruby-core:48865] " zzak (Zachary Scott)
@ 2012-11-06 12:12 ` xibbar (Takeyuki Fujioka)
  2012-11-06 12:31 ` [ruby-core:48975] " mame (Yusuke Endoh)
  13 siblings, 0 replies; 16+ messages in thread
From: xibbar (Takeyuki Fujioka) @ 2012-11-06 12:12 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by xibbar (Takeyuki Fujioka).


Curretly, some japanese programmer talk about compatibility. #7286
Many traditional web applications use cgi.rb .
This change give a impact to these applications.
Some committer said that cgi.rb 's importance is traditional code can run.
I agee them.

If you have better idea, please write here or #7286.

We are discussing in #7286 .
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32495

Author: stomar (Marcus Stollsteimer)
Status: Closed
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [ruby-core:48975] [ruby-trunk - Bug #7110] CGI: Add support for HTML5 <header> tag
  2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
                   ` (12 preceding siblings ...)
  2012-11-06 12:12 ` [ruby-core:48974] " xibbar (Takeyuki Fujioka)
@ 2012-11-06 12:31 ` mame (Yusuke Endoh)
  13 siblings, 0 replies; 16+ messages in thread
From: mame (Yusuke Endoh) @ 2012-11-06 12:31 UTC (permalink / raw
  To: ruby-core


Issue #7110 has been updated by mame (Yusuke Endoh).


Let me complement.  xibbar suggested three options:

  1. Just delete the old header method (current)
  2. Change CGI#header only before HTML4 mode
  3. Change CGI#header only in HTML5 mode

(I don't know any merit of (2), I guess it is typo)

We are mainly considering (3).

  puts CGI.new         .header #=> "Content-Type: text/html" + deprecated warning
  puts CGI.new("html4").header #=> "Content-Type: text/html" + deprecated warning
  puts CGI.new("html5").header #=> "<HEADER></HEADER>"

Knu suggested more delicate way:

- CGI#header should emit a tag when a block is given, and
- CGI#header should emit a tag when it is called in a block of other tag-generating methods.

-- 
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #7110: CGI: Add support for HTML5 <header> tag
https://bugs.ruby-lang.org/issues/7110#change-32496

Author: stomar (Marcus Stollsteimer)
Status: Closed
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux]


=begin
These patches add the <header> tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637.

Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element.
=end


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-11-06 12:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-05 13:22 [ruby-core:47847] [ruby-trunk - Bug #7110][Open] CGI: Add support for HTML5 <header> tag stomar (Marcus Stollsteimer)
2012-11-03 12:02 ` [ruby-core:48803] [ruby-trunk - Bug #7110][Assigned] " mame (Yusuke Endoh)
2012-11-03 22:10 ` [ruby-core:48824] [ruby-trunk - Bug #7110] " zzak (Zachary Scott)
2012-11-04  0:50 ` [ruby-core:48830] " mame (Yusuke Endoh)
2012-11-04  0:51 ` [ruby-core:48831] " mame (Yusuke Endoh)
2012-11-04  8:17 ` [ruby-core:48843] " stomar (Marcus Stollsteimer)
2012-11-04 10:24 ` [ruby-core:48844] " xibbar (Takeyuki Fujioka)
2012-11-04 14:15 ` [ruby-core:48851] " stomar (Marcus Stollsteimer)
2012-11-04 18:59   ` [ruby-core:48856] " Zachary Scott
2012-11-04 19:14 ` [ruby-core:48857] " zzak (Zachary Scott)
2012-11-04 20:12 ` [ruby-core:48859] " stomar (Marcus Stollsteimer)
2012-11-05  0:29 ` [ruby-core:48862] " xibbar (Takeyuki Fujioka)
2012-11-05  0:33 ` [ruby-core:48863] " xibbar (Takeyuki Fujioka)
2012-11-05  1:10 ` [ruby-core:48865] " zzak (Zachary Scott)
2012-11-06 12:12 ` [ruby-core:48974] " xibbar (Takeyuki Fujioka)
2012-11-06 12:31 ` [ruby-core:48975] " mame (Yusuke Endoh)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).