- updating jQuery (1.3.2 -> 1.10.2), jQuery UI, jQuery modules
- [text_view_frame.html] Add some JS driven CSS tricks for iPad
- [text_view_frame.html] move throbber's hiding-call in nested text_view_comments iframe onload signal (so it works with jQuery 1.10.2 and the hiding timing is good)
- [text_view_frame.html][base.html] factorize req_yui.html et req_jquery.html
- [main_tabs][text_tabs][f_client-min.js] rewrite jQuery UI Tabs API calls select in active
- [base.css] CSS fix grey frame appearence for all tabs
- hg remove bgiframe -> not loaded in templates anymore
- hg remove header_custom.html -> the file has been empty since 4 years
- hg remove controls.html -> the file has been empty since 4 years
# taken from plone
import os
bin_search_path = [
'/usr/bin',
'/usr/local/bin',
]
class MissingBinary(Exception): pass
def bin_search(binary):
"""search the bin_search_path for a given binary
returning its fullname or None"""
result = None
mode = os.R_OK | os.X_OK
for p in bin_search_path:
path = os.path.join(p, binary)
if os.access(path, mode) == 1:
result = path
break
else:
raise MissingBinary('Unable to find binary "%s"' % binary)
return result