view release on metacpan or search on metacpan
examples/web/Scripts/jquery-ui-1.8.11.custom.min.js view on Meta::CPAN
* Depends:
* jquery.ui.core.js
* jquery.ui.mouse.js
* jquery.ui.widget.js
*/
(function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix...
"original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseIni...
this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(a);if(!this.handle)return false;return true},_mouseStart:function(a){var b=this.options;this.helper=this._createHelper(a);this._c...
this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=...
d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);return true},_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convert...
this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=false;if(d.ui.ddmanager&&!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.d...
this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){c._trigger("stop",a)!==false&&c._clear()})}else this._trigger("stop",a)!==false&&this._clear();retur...
a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone():this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?thi...
0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click....
examples/web/Scripts/jquery-ui-1.8.11.custom.min.js view on Meta::CPAN
f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||t...
offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.11"});d.ui.plugin.add("draggable","connectToSortable",{start:function(a,b){var c=d(this).data("draggable"),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSor...
b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);th...
d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.contai...
a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c...
this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",a,this.instance._uiHash(this.instance));this.instance._mouseStop(a...
{start:function(){var a=d("body"),b=d(this).data("draggable").options;if(a.css("cursor"))b._cursor=a.css("cursor");a.css("cursor",b.cursor)},stop:function(){var a=d(this).data("draggable").options;a._cursor&&d("body").css("cursor",a._cursor)}});d.ui....
"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})},stop:function(){d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});d.ui.plugin.add("drag...
a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!=document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("dra...
c.scrollSpeed;else if(a.pageY-b.overflowOffset.top<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop-c.scrollSpeed;if(!c.axis||c.axis!="y")if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)...
c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!="y"...
c.scrollSpeed)}f!==false&&d.ui.ddmanager&&!c.dropBehaviour&&d.ui.ddmanager.prepareOffsets(b,a)}});d.ui.plugin.add("draggable","snap",{start:function(){var a=d(this).data("draggable"),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.i...
examples/web/Scripts/jquery-ui-1.8.11.custom.min.js view on Meta::CPAN
String)this.handles[i]=e(this.handles[i],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),k=0;k=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.o...
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").h...
if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",th...
d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(".ui-draggable")||/absolute/.test(d.css("position")))d.css({position:"absolute",top:c.top,left:c.left});e.browser.opera&&/relati...
this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),h...
this.originalSize.width/this.originalSize.height||1;a=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor",a=="auto"?this.axis+"-resize":a);d.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(...
b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("res...
f=f?0:c.sizeDiff.width;f={width:c.helper.width()-f,height:c.helper.height()-d};d=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;...
this._propagate("stop",b);this._helper&&this.helper.remove();return false},_updateCache:function(b){this.offset=this.helper.offset();if(l(b.left))this.position.left=b.left;if(l(b.top))this.position.top=b.top;if(l(b.height))this.size.height=b.height;i...
null}if(d=="nw"){b.top=a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this.options,c=this.axis,d=l(b.width)&&a.maxWidth&&a.maxWidth<b.width,f=l(b.height)&&a.maxHeight&&a.maxHeight<b.height,g=l(b.wid...
this.size.height,k=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&k)b.left=i-a.minWidth;if(d&&k)b.left=i-a.maxWidth;if(h&&c)b.top=j-a.minHeight;if(f&&c)b.top=j-a.maxHeight;if((a=!b.width&&!b.height)&&!b.left&&b.top)b.top=null;else if(a&&!b.top&&b.left)b...
[c.css("borderTopWidth"),c.css("borderRightWidth"),c.css("borderBottomWidth"),c.css("borderLeftWidth")],f=[c.css("paddingTop"),c.css("paddingRight"),c.css("paddingBottom"),c.css("paddingLeft")];this.borderDif=e.map(d,function(g,h){g=parseInt(g,10)||0...
this.options;this.elementOffset=this.element.offset();if(this._helper){this.helper=this.helper||e('<div style="overflow:hidden;"></div>');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.el...
examples/web/Scripts/jquery-ui-1.8.11.custom.min.js view on Meta::CPAN
* Depends:
* jquery.ui.core.js
* jquery.ui.mouse.js
* jquery.ui.widget.js
*/
(function(d){d.widget("ui.sortable",d.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:fal...
this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element....
b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return fals...
d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem=c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=thi...
this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOf...
this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment();if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opac...
document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start",a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.c...
return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this...
b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop-b.scrollSpeed;if(this.overflowOffset.left+this.scrollParent[0].offsetWidth-a.pageX<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLe...
b.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()+b.scrollSpeed);if(a.pageX-d(document).scrollLeft()<b.scrollSensitivity)c=d(document).scrollLeft(d(document...
a)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(...
examples/web/Scripts/jquery-ui-1.8.11.custom.min.js view on Meta::CPAN
this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;f=this.originalPageX+Math.round((f-this.originalPageX)/b.grid[0])*b.grid[0];f=this.containment?!(f-this.offse...
this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:c.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="...
this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==f.counter&&f.refreshPositions(!e)},0)},_clear:function(a,b){this.reverting=false;var c=[];!this._noFinalSort&&this.currentItem[0].parentNode&&this.placeholder.bef...
this.fromOutside&&!b&&c.push(function(f){this._trigger("receive",f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent(...
this.currentItem[0])&&!b){c.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger("update",g,this._uiHash(this))}}.call(this,this.containers[e]...
g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&&d("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex)...
this._trigger("beforeStop",a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!b){for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("sto...
originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});d.extend(d.ui.sortable,{version:"1.8.11"})})(jQuery);
;/*
* jQuery UI Accordion 1.8.11
*
examples/web/Scripts/jquery-ui-1.8.11.custom.min.js view on Meta::CPAN
""?c:d("<img/>").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);return false})...
c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);if(!c.hasClass(this.marke...
true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d('<input type="text" id="'+("dp"+this.uuid)+'" style="position: absolute; top: -...
b=b&&b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft...
this._showDatepicker(this._dialogInput[0]);d.blockUI&&d.blockUI(this.dpDiv);d.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeN...
this._doKeyUp)}else if(e=="div"||e=="span")b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=f...
function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=true;c.trigger.filter("button").each(function(){this.d...
f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return true;return false},_getInst:function(a){try{return d.dat...
e.settings):this._get(e,b):null;var f=b||{};if(typeof b=="string"){f={};f[b]=c}if(e){this._curInst==e&&this._hideDatepicker();var h=this._getDateDatepicker(a,true),i=this._getMinMaxDate(e,"min"),g=this._getMinMaxDate(e,"max");F(e.settings,f);if(i!==n...
_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){if(a=this._getInst(a)){this._setDate(a,b);this._updateDatepicker(a);this...
b._keyEvent=true;if(d.datepicker._datepickerShowing)switch(a.keyCode){case 9:d.datepicker._hideDatepicker();c=false;break;case 13:c=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",b.dpDiv);c[0]?d.datepicker._selectDay(a.tar...
"M");break;case 34:d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 35:if(a.ctrlKey||a.metaKey)d.datepicker._clearDate(a.target);c=a.ctrlKey||a.metaKey;break;case 36:...
view all matches for this distribution
view release on metacpan or search on metacpan
share/www/static/bootstrap/css/bootstrap.min.css view on Meta::CPAN
* Bootstrap v3.1.1 (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{displa...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ByteBeat/Shell.pm view on Meta::CPAN
$self->to(1);
Curses::clrtoeol;
$self->out(join '', @{$beat->[$i]});
}
$self->set_cursor;
Curses::refresh();
}
sub set_cursor {
my ($self) = @_;
my $info = $byte->[$curr];
$self->to;
$self->to($curr + 2, $info->{pos});
}
view all matches for this distribution
view release on metacpan or search on metacpan
src/sparse-0.4.4/perl/t/include/sysemu/sysemu.h view on Meta::CPAN
extern int win2k_install_hack;
extern int alt_grab;
extern int ctrl_grab;
extern int smp_cpus;
extern int max_cpus;
extern int cursor_hide;
extern int graphic_rotate;
extern int no_quit;
extern int no_shutdown;
extern int semihosting_enabled;
extern int old_param;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CAM/PDF/GS.pm view on Meta::CPAN
return;
}
=item $self->Tadvance($width)
Move the text cursor.
=cut
sub Tadvance
{
view all matches for this distribution
view release on metacpan or search on metacpan
t/out/frontpage-dev view on Meta::CPAN
" <title>Devpopup results</title>\n" +
" <style type=\"text/css\">\n" +
" div.report { border: dotted 1px black; margin: 1em;}\n" +
" div.report h2 { color: #000; background-color: #ddd; padding:.2em; margin-top:0;}\n" +
" div.report_full, div.report_summary { padding: 0em 1em; }\n" +
" a:hover, div.report h2:hover, a.print_button:hover { cursor: pointer; background-color: #eee; }\n" +
" a { text-decoration: underline }\n" +
" a.print_button { text-align: right; float: right; clear: right; padding: .2em; margin-right: 1em; color: #000; background-color:#ddd; border:solid 1px #444; }\n" +
" // severity colors\n" +
" .sev_debug { background-color: #ccffcc; color: #000; }\n" +
" .sev_info { } // default\n" +
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Application/Plugin/DBIProfile.pm view on Meta::CPAN
<style type="text/css">
div.report { border: dotted 1px black; margin: 1em;}
div.report h2 { color: #000; background-color: #ddd; padding:.2em; margin-top:0;}
div.report_full, div.report_summary { padding: 0em 1em; }
a:hover, div.report h2:hover { cursor: pointer; background-color: #eee; }
a { text-decoration: underline }
</style>
<script language="javascript"><!--
function swap(id1,id2)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Application/Plugin/DevPopup.pm view on Meta::CPAN
<title>Devpopup results</title>
<style type="text/css">
div.report { border: dotted 1px black; margin: 1em;}
div.report h2 { color: #000; background-color: #ddd; padding:.2em; margin-top:0;}
div.report_full, div.report_summary { padding: 0em 1em; }
a:hover, div.report h2:hover, a.print_button:hover { cursor: pointer; background-color: #eee; }
a { text-decoration: underline }
a.print_button { text-align: right; float: right; clear: right; padding: .2em; margin-right: 1em; color: #000; background-color:#ddd; border:solid 1px #444; }
// severity colors
.sev_debug { background-color: #ccffcc; color: #000; }
.sev_info { } // default
view all matches for this distribution
view release on metacpan or search on metacpan
examples/PodViewer.pm view on Meta::CPAN
#list li {
margin:0;
margin-bottom:4px;
padding:5px;
border:1px solid #888;
cursor:move;
}
</style>
</head>
<body>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Bus/tm.pm view on Meta::CPAN
,-src=>$p->{-iurl} .'/' .$img{$b}
,-align=>'bottom'
,-accesskey=>substr($v,0,1)
,-title=>$v .'. ' .$t
,-class=>'MenuArea MenuButton'
,-style=>'cursor: default;'
,%a)
.((($b =~/^-(?:ins|upd|del|frm)/) ||
(!$s->{-keyval} && $b =~/^-q(?:sel|edt)/)) && 1
?$g->span({
-title=>$t
,-class=>'MenuArea MenuButton'
,-style=>'cursor: default;'
,-onClick=>$j='{' .$s->pxnme(-pxcb=>'-cmdi') .'.value="'.$b .'"; submit(); return(false)}'}
,$p->htmlescape($v))
:$g->a({href=>$s->qurl('',$s->pxnme(-pxcb=>'-cmd')=>$b, !$s->{-keyval} ? () : ($s->keyfld=>$s->{-keyval}))
,-title=>$t
,-class=>'MenuArea MenuButton'
lib/CGI/Bus/tm.pm view on Meta::CPAN
}
if (!$c) {
my $h=$s->lng(0,'Failure') ." '" .$s->lng(0,$s->{-cmd}) ."': ";
my $e=$s->htmlescape($m);
$r .='<span class="FooterArea" onclick="{_tsw_FooterArea.style.display=(_tsw_FooterArea.style.display==\'none\' ? \'inline\' : \'none\')}" style="cursor: hand; ">';
$r .='<span class="FooterArea ErrorMessage">' .$g->hr ."<h1 class=\"FooterArea ErrorMessage\">$h</h1>" .$e ."</span>\n";
$r .='<hr class="FooterArea" />';
}
elsif ((grep {$s->{-cmd} eq $_} qw(-sel -ins -upd -del)) ||$t) {
$r .='<span class="FooterArea" onclick="{_tsw_FooterArea.style.display=(_tsw_FooterArea.style.display==\'none\' ? \'inline\' : \'none\')}" style="cursor: hand; ">'
.'<hr class="FooterArea" />'
.'<strong class="FooterArea">'
.($s->cmd('-lst') && $s->{-genlstm}
? $s->{-genlstm}
: ($s->lng(0,'Success') ." '" .$s->lng(0,$s->{-cmd}) ."'"))
view all matches for this distribution
view release on metacpan or search on metacpan
$t->stop('second run');
}
my $t2 = $t->result('second run');
# Do a cursory check to see that it was at least a little
# faster with the cached file, only if $t2 != 0;
SKIP: {
skip "Both runs were too fast to compare", 1 if $t2 == 0 && $t1 == 0;
ok($t2 == 0 || $t1/$t2 >= 1.5, "$message: Caching run was faster -- $t2 versus $t1");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Ex/Template/XS.pm view on Meta::CPAN
# see the Template::Alloy::XS and Template::Alloy documentation
=head1 DESCRIPTION
This module was the precursor to Template::Alloy::XS. CGI::Ex::Template::XS
is now deprecated in favor of using Template::Alloy::XS. No further work
will be done on the CGI::Ex::Template::XS line - all work will go into the
Template::Alloy line.
All code should work as before.
view all matches for this distribution
view release on metacpan or search on metacpan
);
my %testSQLIList6 = (
0 => "asd'; shutdown; ",
1 => "asd'; select null,password,null from users; ",
2 => "aa aa'; DECLARE tablecursor CURSOR FOR select a.name as c,b.name as d,(null)from sysobjects a,syscolumns b where a.id=b.id and a.xtype = ( 'u' ) and current_user = current_user OPEN tablecursor ",
3 => "aa aa'; DECLARE tablecursor CURSOR FOR select a.name as c,b.name as d,(null)from sysobjects a,syscolumns b
where a.id=b.id and a.xtype = ( 'u' ) and current_user = current_user
OPEN tablecursor FETCH NEXT FROM tablecursor INTO \@a,\@b WHILE(\@a != null)
\@query = null+null+null+null+ ' UPDATE '+null+\@a+null+ ' SET id=null,\@b = \@payload'
BEGIN EXEC sp_executesql \@query
FETCH NEXT FROM tablecursor INTO \@a,\@b END
CLOSE tablecursor DEALLOCATE tablecursor;
and some text, to get pass the centrifuge; and some more text.",
4 => "\@query = null+null+null+ ' UPDATE '+null+\@a+ ' SET[ '+null+\@b+ ' ] = \@payload'",
5 => "asd' union distinct(select null,password,null from users)--a ",
6 => "asd' union distinct ( select null,password,(null)from user )-- a ",
7 => "'DECLARE%20\@S%20CHAR(4000);SET%20\@S=CAST(0x4445434C415245204054207661726368617228323535292C40432076617263686172283430303029204445434C415245205461626C655F437572736F7220435552534F5220464F522073656C65637420612E6E616D652C622E6E616D652066726F6...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Inspect/htdocs/js/jquery-treeview/jquery.treeview.css view on Meta::CPAN
background: url(images/treeview-default.gif) -64px -25px no-repeat;
height: 16px;
width: 16px;
margin-left: -16px;
float: left;
cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
display: inline;
float:none;
lib/CGI/Inspect/htdocs/js/jquery-treeview/jquery.treeview.css view on Meta::CPAN
background-color: #eee;
}
#treecontrol { margin: 1em 0; display: none; }
.treeview .hover { color: red; cursor: pointer; }
.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
.treeview .expandable-hitarea { background-position: -80px -3px; }
view all matches for this distribution
view release on metacpan or search on metacpan
demo/cgi-bin/product.pl view on Meta::CPAN
'show' => "NAME,MANUFACT",
'joins' => {
'product' => [undef, 'product'],
'manufact' => ['product', 'LEFT JOIN manufact ON (product.manufact=manufact.id)'],
'inventory' => ['product', 'LEFT JOIN inventory ON (product.id=inventory.product)', undef,
{ new_cursor => 1, new_cursor_order_by => "inventory.barcode DESC" }]
},
'options' => {
'CGI::OptimalQuery::InteractiveQuery' => {
'editLink' => 'record.pl'
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Upload.pm view on Meta::CPAN
=item B<file_type('field')>
This method returns the file type of the file uploaded as specified by the
filename extension - Please note that this does not necessarily reflect the
nature of the file uploaded, but allows CGI scripts to perform cursory
validation of the file type of the uploaded file.
=item B<mime_magic('/path/to/mime.types')>
This method sets and/or returns the external magic mime types file to be used
view all matches for this distribution
view release on metacpan or search on metacpan
t/private/javascripts/jscolor.js view on Meta::CPAN
p.padM.style.position = 'absolute'
p.padM.style.left = '0'
p.padM.style.top = '0'
p.padM.style.width = THIS.pickerFace + 2*THIS.pickerInset + jscolor.images.pad[0] + jscolor.images.arrow[0] + 'px'
p.padM.style.height = p.box.style.height
p.padM.style.cursor = 'crosshair'
// slider image
p.sld.style.overflow = 'hidden'
p.sld.style.width = jscolor.images.sld[0]+'px'
p.sld.style.height = jscolor.images.sld[1]+'px'
t/private/javascripts/jscolor.js view on Meta::CPAN
p.sldM.style.right = '0'
p.sldM.style.top = '0'
p.sldM.style.width = jscolor.images.sld[0] + jscolor.images.arrow[0] + THIS.pickerFace + 2*THIS.pickerInset + 'px'
p.sldM.style.height = p.box.style.height
try {
p.sldM.style.cursor = 'pointer'
} catch(eOldIE) {
p.sldM.style.cursor = 'hand'
}
// load images in optimal order
switch(modeID) {
case 0: var padImg = 'hs.png'; break
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CHI/Driver/BerkeleyDB/Manager.pm view on Meta::CPAN
=cut
sub get_keys {
my ( $self ) = @_;
my $s = $self->_bdb_manager->cursor_stream( db => $self->_bdb, 'keys' => 1);
my @items = $s->items;
return @items;
}
=head1 AUTHOR
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CHI/Driver/BerkeleyDB.pm view on Meta::CPAN
sub get_keys {
my $self = shift;
my @keys;
my $cursor = $self->db->db_cursor();
my ($key, $value) = ('', '');
while ($cursor->c_get($key, $value, BerkeleyDB::DB_NEXT()) == 0) {
push @keys, $key;
}
return @keys;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CHI/Driver/LMDB.pm view on Meta::CPAN
my @keys;
$self->_in_txn(
sub {
my ( undef, $db ) = @_;
my $cursor = $db->Cursor;
my ( $key, $value );
while (1) {
last unless eval { $cursor->get( $key, $value, MDB_NEXT ); 1 };
push @keys, $key;
}
return;
},
);
view all matches for this distribution
view release on metacpan or search on metacpan
$self->{DB}->sync;
# Should try to merge with surrounding nets if possible
return $self->mergeNetwork( $allocation );
}
# It would be nice to use the cursor to just search the subtree
# where the allocation would be located but it will return the
# element in the tree after the one we want, since it returns
# equal or greater than. As a consequence we need to run through
# the whole of the tree looking for the bit we want.
#
$larger = join('.', unpack('C4', ( pack('L', $network) &
pack('B32', scalar('1' x $bits) .
scalar('0' x (32 - $bits))))));
$network = sprintf "%s/%d", $larger, $bits;
# Initialise the cursor, this shouldn't be necessary but the for loop
# below doesn't work as I expected without it for the last subtree :-(
#
$status = $self->{DB}->seq($dummy, $value, R_FIRST);
# Just run through the subtree checking that the components are the
view all matches for this distribution
view release on metacpan or search on metacpan
Session.vim view on Meta::CPAN
set cscopeverbose
set errorformat=%f:%l:%m
set expandtab
set fileencodings=ucs-bom,utf-8,latin1
set formatoptions=cqrt
set guicursor=n-v-c:block-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor,sm:block-Cursor-blinkwait175-blinkoff150-blinkon175,a:blinkon0
set helplang=en
set hidden
set hlsearch
set imdisable
set incsearch
Session.vim view on Meta::CPAN
setlocal cinwords=if,else,while,do,for,switch
setlocal colorcolumn=
setlocal comments=:#
setlocal commentstring=#%s
setlocal complete=.,w,b,u,t,i
setlocal concealcursor=
setlocal conceallevel=0
setlocal completefunc=
setlocal nocopyindent
setlocal cryptmethod=
setlocal nocursorbind
setlocal nocursorcolumn
setlocal nocursorline
setlocal define=[^A-Za-z_]
setlocal dictionary=~/my/vim/perl-support/wordlists/perl.list
setlocal nodiff
setlocal equalprg=
setlocal errorformat=
Session.vim view on Meta::CPAN
setlocal cinwords=if,else,while,do,for,switch
setlocal colorcolumn=
setlocal comments=:#
setlocal commentstring=#%s
setlocal complete=.,w,b,u,t,i
setlocal concealcursor=
setlocal conceallevel=0
setlocal completefunc=
setlocal nocopyindent
setlocal cryptmethod=
setlocal nocursorbind
setlocal nocursorcolumn
setlocal nocursorline
setlocal define=[^A-Za-z_]
setlocal dictionary=~/my/vim/perl-support/wordlists/perl.list
setlocal nodiff
setlocal equalprg=
setlocal errorformat=
Session.vim view on Meta::CPAN
setlocal cinwords=if,else,while,do,for,switch
setlocal colorcolumn=
setlocal comments=:#
setlocal commentstring=#%s
setlocal complete=.,w,b,u,t,i
setlocal concealcursor=
setlocal conceallevel=0
setlocal completefunc=
setlocal nocopyindent
setlocal cryptmethod=
setlocal nocursorbind
setlocal nocursorcolumn
setlocal nocursorline
setlocal define=[^A-Za-z_]
setlocal dictionary=~/my/vim/perl-support/wordlists/perl.list
setlocal nodiff
setlocal equalprg=
setlocal errorformat=
Session.vim view on Meta::CPAN
setlocal cinwords=if,else,while,do,for,switch
setlocal colorcolumn=
setlocal comments=:#
setlocal commentstring=#%s
setlocal complete=.,w,b,u,t,i
setlocal concealcursor=
setlocal conceallevel=0
setlocal completefunc=
setlocal nocopyindent
setlocal cryptmethod=
setlocal nocursorbind
setlocal nocursorcolumn
setlocal nocursorline
setlocal define=[^A-Za-z_]
setlocal dictionary=~/my/vim/perl-support/wordlists/perl.list
setlocal nodiff
setlocal equalprg=
setlocal errorformat=
Session.vim view on Meta::CPAN
setlocal cinwords=if,else,while,do,for,switch
setlocal colorcolumn=
setlocal comments=:#
setlocal commentstring=#%s
setlocal complete=.,w,b,u,t,i
setlocal concealcursor=
setlocal conceallevel=0
setlocal completefunc=
setlocal nocopyindent
setlocal cryptmethod=
setlocal nocursorbind
setlocal nocursorcolumn
setlocal nocursorline
setlocal define=[^A-Za-z_]
setlocal dictionary=~/my/vim/perl-support/wordlists/perl.list
setlocal nodiff
setlocal equalprg=
setlocal errorformat=
Session.vim view on Meta::CPAN
setlocal cinwords=if,else,while,do,for,switch
setlocal colorcolumn=
setlocal comments=:#
setlocal commentstring=#%s
setlocal complete=.,w,b,u,t,i
setlocal concealcursor=
setlocal conceallevel=0
setlocal completefunc=
setlocal nocopyindent
setlocal cryptmethod=
setlocal nocursorbind
setlocal nocursorcolumn
setlocal nocursorline
setlocal define=[^A-Za-z_]
setlocal dictionary=~/my/vim/perl-support/wordlists/perl.list
setlocal nodiff
setlocal equalprg=
setlocal errorformat=
view all matches for this distribution
view release on metacpan or search on metacpan
Debian_CPANTS.txt view on Meta::CPAN
"libdbd-xbase-perl", "DBD-XBase", "0.241", "0", "4"
"libdbi-perl", "DBI", "1.616", "5", "3"
"libdbicx-testdatabase-perl", "DBICx-TestDatabase", "0.04", "0", "0"
"libdbix-abstract-perl", "DBIx-Abstract", "1.006", "0", "3"
"libdbix-class-candy-perl", "DBIx-Class-Candy", "0.002000", "0", "0"
"libdbix-class-cursor-cached-perl", "DBIx-Class-Cursor-Cached", "1.001001", "0", "0"
"libdbix-class-datetime-epoch-perl", "DBIx-Class-DateTime-Epoch", "0.07", "0", "0"
"libdbix-class-deploymenthandler-perl", "DBIx-Class-DeploymentHandler", "not-uploaded", "0", "0"
"libdbix-class-dynamicdefault-perl", "DBIx-Class-DynamicDefault", "0.03", "0", "0"
"libdbix-class-encodedcolumn-perl", "DBIx-Class-EncodedColumn", "0.00011", "0", "2"
"libdbix-class-fixtures-perl", "DBIx-Class-Fixtures", "not-uploaded", "0", "0"
view all matches for this distribution
view release on metacpan or search on metacpan
# this variables stores the start point of a KEY.
# since a KEY/VALUE pair will no parsed until the next KEY or EOF
# is found, this variables are needed to store the point where
# the first KEY was found (for error reporting,...)
my ( $lineno, $file, $line_cursor);
my ($longlineno, $longfile, $longline_cursor);
$longline = "";
$longlineno = 0;
$longfile = "unknown";
$longline_cursor =0;
while (defined ($line = $self->getline()) || (defined $longline && $longline ne "")) {
if ( ! defined $line || $line =~ m/$self->{COMMON}->{CONFIG}->{KEYREGEXP}/s ) {
$lineno = $self->getline_number;
$file = $self->getline_file;
$line_cursor = $self->getline_cursor;
if ($longline =~ m/$self->{COMMON}->{CONFIG}->{KEYREGEXP}$self->{COMMON}->{CONFIG}->{HASHREGEXP}/s) {
$key = $1;
if (defined $self->{COMMON}->{CONFIG}->{CASEINSENSITIVE}) {
$key =~ tr /A-Z/a-z/;
}
if (defined $HASH{$key}) {
if ($self->{COMMON}->{CONFIG}->{ALLOWREDEFINE}){
$HASH{$key} = $value;
} else {
# generate error
$self->setline_error("Key <$key> already defined", $longline_cursor);
}
} else {
$HASH{$key} = $value;
}
$line =~ s/\n/$self->{COMMON}->{CONFIG}->{SUBSTITUTENEWLINE}/;
}
$longline = $line;
$longlineno = $lineno;
$longfile = $file;
$longline_cursor = $line_cursor;
} else {
if ($self->{COMMON}->{CONFIG}->{REMOVETRAILINGBLANKS} &&
defined $line) {
$line =~ s/^\s*//;
$line =~ s/\s*\n/\n/;
view all matches for this distribution
view release on metacpan or search on metacpan
ccc/Hypertext.pm view on Meta::CPAN
my $scrolled = new Gtk2::ScrolledWindow(undef,undef); # scrolled for main text
$scrolled->set_policy( 'automatic', 'automatic' );
my $text = Gtk2::TextView->new;
$text->set_wrap_mode ('none');
$text->set_editable(0);
$text->set_cursor_visible(0);
$scrolled->add($text);
my $retval = new Gtk2::VPaned;
$retval->pack1($scrolled, 1, 0);
$retval->set_size_request(600, 400);
$retval->show_all();
ccc/Hypertext.pm view on Meta::CPAN
PREPOST => $prepost_cb,
SRCHDATA => {},
CURSOR_HAND => undef };
#$htext->show_all();
$prepost_cb->($udata, 1);
CORBA::MICO::Misc::cursor_watch($htext, 0);
$text->get_window('text')->set_cursor(Gtk2::Gdk::Cursor->new('watch'));
$htext->queue_draw();
return if CORBA::MICO::Misc::process_pending();
my $desc = $prepare_cb->($name, $udata);
my $iter = $buffer->get_iter_at_offset(0);
if( defined($desc) ) {
ccc/Hypertext.pm view on Meta::CPAN
}
}
$text->{CBDATA} = $cbdata;
$text->signal_connect(event_after => \&event_after);
$text->signal_connect(backspace => \&event_backspace);
CORBA::MICO::Misc::cursor_restore_to_default($htext, 0);
set_curs($text, $cbdata);
$prepost_cb->($udata, 0);
$htext->queue_draw();
}
ccc/Hypertext.pm view on Meta::CPAN
}
}
$stags = [];
my $pat = $se->get_text();
if( $pat ) {
$text->get_window('text')->set_cursor(Gtk2::Gdk::Cursor->new('watch'));
return if CORBA::MICO::Misc::process_pending();
my $itext = $buffer->get_text($buffer->get_bounds(), 1);
my @sres;
if( $is_regexp ) {
eval { @sres = split(/((?mi)$pat)/, $itext) };
}
else {
eval { @sres = split(/((?i)\Q$pat\E)/, $itext) };
}
$text->get_window('text')->set_cursor(Gtk2::Gdk::Cursor->new('xterm'));
return if CORBA::MICO::Misc::process_pending();
if( @sres ) {
# found
my $eiter;
my $rect = $text->get_visible_rect();
ccc/Hypertext.pm view on Meta::CPAN
}
return 0;
}
#--------------------------------------------------------------------
# Motion notify: set appropriate cursor type
sub set_curs {
my ($w, $cbdata) = @_;
my (undef, $x, $y, undef) = $w->window->get_pointer();
($x, $y) = $w->window_to_buffer_coords('widget', $x, $y);
my $iter = $w->get_iter_at_location ($x, $y);
return 0 unless $iter;
my $curshand = defined(get_hlink($iter));
if( !defined($cbdata->{CURS_HAND}) || $curshand != $cbdata->{CURS_HAND} ) {
$w->get_window('text')->set_cursor
(Gtk2::Gdk::Cursor->new($curshand ? 'hand2' : 'xterm'));
$cbdata->{CURS_HAND} = $curshand;
}
return 0;
}
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/dists/DBIx-Class.changes view on Meta::CPAN
correctly (via aggregated grouping)
- No longer order the insides of a complex prefetch subquery,
unless required to satisfy a limit
- Stop erroneously considering order_by criteria from a join under
distinct => 1 (the distinct should apply to the main source only)
- Massively optimize codepath around ->cursor(), over 10x speedup
on some iterating workloads.
- Support standalone \[ $sql, $value ] in literal SQL with bind
specifications: \[ '? + ?', 42, 69 ] is now equivalent to
\[ '? + ?', [ {} => 42 ], [ {} => 69 ] ]
- Changing the result_class of a ResultSet in progress is now
corpus/dists/DBIx-Class.changes view on Meta::CPAN
- Fix _dbi_attrs_for_bind() being called befor DBI has been loaded
(regression in 0.08210)
- Fix update/delete operations on resultsets *joining* the updated
table failing on MySQL. Resolves oversights in the fixes for
RT#81378 and RT#81897
- Fix open cursors silently resetting when inherited across a fork
or a thread
- Properly support "MySQL-style" left-side group_by with prefetch
- Fix $grouped_rs->get_column($col)->func($func) producing incorrect
SQL (RT#81127)
- Stop Sybase ASE storage from generating invalid SQL in subselects
when a limit without offset is encountered
- Even more robust behavior of GenericSubQuery limit dialect
- Make sure deployment_statements() and cursor_class() are called on
a resolved storage subclass
* Misc
- Fix tests failing due to unspecified resultset retrieval order
(test suite now will pass with newest SQLite libs)
corpus/dists/DBIx-Class.changes view on Meta::CPAN
- Explicitly disable DBD::ODBC batch operations (as of DBD::ODBC 1.35)
for the following drivers too buggy to handle the optimized path:
- FreeTDS ODBC driver (when used with MSSQL)
- The Firebird ODBC driver
- The MSAccess ODBC driver
- Explicitly disable DBD::ODBC dynamic_cursors when using freetds 0.83
or later - they made enough ODBC incompatible changes making it
impossible to support sanely
- Explicitly disable SCOPE_IDENTITY queries and statement caching for
MSSQL on DBD::Sybase compiled against freetds 0.83 or later - way too
buggy
corpus/dists/DBIx-Class.changes view on Meta::CPAN
during upgrades at the turn of the second
- Fix incorrect bind of integers >= 2^^32 (bigint columns) to
SQL_INTEGER, resulting in silent conversion to '-1'
- Fix pre 5.10 failures of t/55namespaces_cleaned.t due to buggy
require() (RT#68814)
- Oracle autoinc inserts no longer leave open cursors behind
0.08192 2011-05-10 04:20 (UTC)
* Fixes
- Fix serious regression on SQLite, corrupting data when an alphanum
value does not correspond to a stale numeric datatype in colinfo
corpus/dists/DBIx-Class.changes view on Meta::CPAN
when deploying a schema via sql file
- Fix reverse_relationship_info on prototypical result sources
(sources not yet registered with a schema)
- Warn and skip relationships missing from a partial schema during
dbic cascade_delete
- Automatically require the requested cursor class before use
(RT#64795)
- Work around a Firebird ODBC driver bug exposed by DBD::ODBC 1.29
- Fix (to the extent allowed by the driver) transaction support in
DBD::Sybase compiled against FreeTDS
- Fix exiting via next warnings in ResultSource::sequence()
corpus/dists/DBIx-Class.changes view on Meta::CPAN
- Fix detection of Oracle sequences for tables without an explicitly
specified schema (RT#63493)
- Major overhaul of Storage::Oracle to handle enabled quoting
- Fixed incorrect composition of select/as/columns attributes during
chaining (RT#61235)
- Proper serialization of resultsets with open cursors
- Refactor handling of RDBMS-side values during insert() - fix
regression of inserts into a Postgres / ::Replicated combination
- Missing dependency check in t/60core.t (RT#62635)
- Fix regressions in IC::DT registration logic
- Fix regression in select-associated bind value handling (RT#61025)
corpus/dists/DBIx-Class.changes view on Meta::CPAN
- Mangle the DBIx/Class.pm POD to be more clear about
copyright and license
- Put back PG's multiple autoinc per table support, accidentally
dropped during the serial-autodetection rewrite
- Make sure ResultSetColumn does not depend on the (undefined)
return value of ->cursor->reset()
- Add single() to ResultSetColumn (same semantics as ResultSet)
- Make sure to turn off IDENTITY_INSERT after insert() on MSSQL
tables that needed it
- More informative exception on failing _resolve_relationship
- Allow undef/NULL as the sole grouping value in Ordered
corpus/dists/DBIx-Class.changes view on Meta::CPAN
now read from the master storage by default)
- Refactor of MSSQL storage drivers, with some new features:
- Support for placeholders for MSSQL via DBD::Sybase with proper
autodetection
- 'uniqueidentifier' support with auto newid()
- Dynamic cursor support and other MARS options for ODBC
- savepoints with auto_savepoint => 1
- Support for MSSQL 'money' type
- Support for 'smalldatetime' type used in MSSQL and Sybase for
InflateColumn::DateTime
- Support for Postgres 'timestamp without timezone' type in
corpus/dists/DBIx-Class.changes view on Meta::CPAN
- Fix find_or_new/create to stop returning random rows when
default value insert is requested (RT#28875)
- Make IC::DT extra warning state the column name too
- It is now possible to transparrently search() on columns
requiring DBI bind (i.e. PostgreSQL BLOB)
- as_query is now a Storage::DBI method, so custom cursors can
be seamlessly used
- Fix search_related regression introduced in 0.08103
0.08103 2009-05-26 19:50:00 (UTC)
- Multiple $resultset -> count/update/delete fixes. Now any
corpus/dists/DBIx-Class.changes view on Meta::CPAN
(original fix from diz)
0.08004 2007-08-06 19:00:00
- fix storage connect code to not trigger bug via auto-viv
(test from aherzog)
- fixup cursor_class to be an 'inherited' attr for per-package defaults
- add default_resultset_attributes entry to Schema
- optimisation in DBI::Cursor to check software_limit before falling
back to base Cursor->all
- fix bug with create_multi not inserting non-storage objects
(test and fix from davinchi)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Meta/YAML.pm view on Meta::CPAN
# Iterate over the documents
my $indent = 0;
my @lines = ();
eval {
foreach my $cursor ( @$self ) {
push @lines, '---';
# An empty document
if ( ! defined $cursor ) {
# Do nothing
# A scalar document
} elsif ( ! ref $cursor ) {
$lines[-1] .= ' ' . $self->_dump_scalar( $cursor );
# A list at the root
} elsif ( ref $cursor eq 'ARRAY' ) {
unless ( @$cursor ) {
$lines[-1] .= ' []';
next;
}
push @lines, $self->_dump_array( $cursor, $indent, {} );
# A hash at the root
} elsif ( ref $cursor eq 'HASH' ) {
unless ( %$cursor ) {
$lines[-1] .= ' {}';
next;
}
push @lines, $self->_dump_hash( $cursor, $indent, {} );
} else {
die \("Cannot serialize " . ref($cursor));
}
}
};
if ( ref $@ eq 'SCALAR' ) {
$self->_error(${$@});
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Mini/Webserver/Templates/CSS.pm view on Meta::CPAN
.number {color:#FF0000;}
.single, .double, .substitute, .words, .match, .regexp, .heredoc_content {color:#888888;}
.substitute, .match, .regexp { background:#FFFFDD; }
/* buttons */
a.button, button {display:block;float:left;margin:0.7em 0.5em 0.7em 0;padding:5px 10px 5px 7px;border:1px solid #dedede;border-top:1px solid #eee;border-left:1px solid #eee;background-color:#f5f5f5;font-family:"Lucida Grande", Tahoma, Arial, Verdana,...
button {width:auto;overflow:visible;padding:4px 10px 3px 7px;}
button[type] {padding:4px 10px 4px 7px;line-height:17px;}
*:first-child+html button[type] {padding:4px 10px 3px 7px;}
button img, a.button img {margin:0 3px -3px 0 !important;padding:0;border:none;width:16px;height:16px;float:none;}
button:hover, a.button:hover {background-color:#dff4ff;border:1px solid #c2e1ef;color:#336699;}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Nearest.pod view on Meta::CPAN
use the CPAN packages list. It was inspired by the helpful "git"
version control system, which provides suggestions for spelling
mistakes. CPAN::Nearest was written to be fast enough for practical
use by writing it mostly in C with an XS binding to Perl.
It was the precursor of L<Text::Fuzzy> by the same author (Ben
Bullock). In version 0.13, all of the search functionality of
CPAN::Nearest was moved to Text::Fuzzy and the XS parts of the module
were removed, and the package-list reading part rewritten in Perl. The
standalone C program was also removed from the distribution in version
0.13, and its documentation was deleted in version 0.14.
view all matches for this distribution
view release on metacpan or search on metacpan
2007-04-29 Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
* Interesting ticket: https://rt.cpan.org/Ticket/Display.html?id=26727
about redrawing the current line after something has moved the cursor.
2007-04-28 Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
* Jifty again. Same recipe as last time, still no clue.
view all matches for this distribution