This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf-8 | |
# 238.36137 secs => 28.875 secs | |
require 'win32ole' | |
xl = WIN32OLE.new('Excel.Application') | |
xl.visible = true | |
book = xl.workbooks.add | |
start = Time.now | |
sheet = book.worksheets(1) | |
1.upto(10000) do |row| | |
cells = sheet.Range(sheet.Cells(row, 1), sheet.Cells(row, 26)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img.avatar { | |
max-width: 40px; | |
max-height: 40px; | |
vertical-align: bottom; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
CASE tt.status WHEN 'closed' THEN 5 WHEN 'new' THEN 3 ELSE 1 END AS __color__, | |
(CASE tt.status | |
WHEN 'closed' THEN 'color: #777; background: #ddd; border-color: #ccc;' | |
ELSE | |
(CASE tt.owner WHEN $USER THEN 'font-weight: bold' END) | |
END) AS __style__, | |
tt.milestone AS __group__, | |
t.id AS id, | |
'' AS 'ストーリー', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r a37c038c0f07 resource/trac-plugins/hudsontracplus/HudsonTracPlus/HudsonTracPlusPlugin.py | |
--- a/resource/trac-plugins/hudsontracplus/HudsonTracPlus/HudsonTracPlusPlugin.py Fri Jul 22 07:48:23 2011 +0900 | |
+++ b/resource/trac-plugins/hudsontracplus/HudsonTracPlus/HudsonTracPlusPlugin.py Wed Aug 17 13:17:44 2011 +0900 | |
@@ -180,7 +180,7 @@ | |
# ITimelineEventProvider methods | |
def get_timeline_filters(self, req): | |
if req.perm.has_permission('CHANGESET_VIEW'): | |
- yield ('build', 'Hudson Builds') | |
+ yield ('build', 'Hudson Builds', False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- genshi/core.py.orig 2010-04-22 21:09:52.000000000 +0900 | |
+++ genshi/core.py 2011-12-30 00:57:18.858232418 +0900 | |
@@ -353,6 +353,7 @@ | |
for attr, _ in self: | |
if attr == name: | |
return True | |
+ return False | |
def __getitem__(self, i): | |
"""Return an item or slice of the attributes list. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: fieldtooltip/fieldtooltip.py | |
=================================================================== | |
--- fieldtooltip/fieldtooltip.py (revision 11088) | |
+++ fieldtooltip/fieldtooltip.py (working copy) | |
@@ -51,10 +51,11 @@ | |
pages = {} | |
cursor = db.cursor() | |
wiki_pages = WikiSystem(self.env).get_pages(FieldTooltip._wiki_prefix) | |
+ prefix_len = len(FieldTooltip._wiki_prefix) | |
for page in wiki_pages: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: attachmentvalidate/console.py | |
=================================================================== | |
--- attachmentvalidate/console.py (revision 14) | |
+++ attachmentvalidate/console.py (working copy) | |
@@ -1,16 +1,18 @@ | |
- #!/usr/bin/env python | |
+#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from trac.admin.api import IAdminCommandProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from trac.web import standalone | |
from tram.main import dispatch_request | |
# XXX Monkey patch! | |
standalone.dispatch_request = dispatch_request | |
standalone.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 625bd30aaa4c install/replace/httpd.conf.in | |
--- a/install/replace/httpd.conf.in Mon Mar 26 21:48:26 2012 +0900 | |
+++ b/install/replace/httpd.conf.in Mon Apr 09 13:07:10 2012 +0900 | |
@@ -88,7 +88,7 @@ | |
LoadModule env_module modules/mod_env.so | |
LoadModule expires_module modules/mod_expires.so | |
#LoadModule file_cache_module modules/mod_file_cache.so | |
-#LoadModule headers_module modules/mod_headers.so | |
+LoadModule headers_module modules/mod_headers.so | |
LoadModule imagemap_module modules/mod_imagemap.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git b/python-lib/trac/trac/htdocs/css/admin.css a/python-lib/trac/trac/htdocs/css/admin.css | |
index f686535..6bc8d0a 100644 | |
--- b/python-lib/trac/trac/htdocs/css/admin.css | |
+++ a/python-lib/trac/trac/htdocs/css/admin.css | |
@@ -19,32 +19,30 @@ | |
color: #000; | |
} | |
-#tabcontent { padding: 0.4em 0 0.4em 2em; margin-left: 12em; min-height: 300px; } | |
+#tabcontent { padding: 0.4em 2em; margin-left: 12em; min-height: 300px; } |
OlderNewer