search for: removeattribute

Displaying 18 results from an estimated 18 matches for "removeattribute".

Did you mean: removeattributes
2009 Dec 21
1
[PATCH] snapshot: Explicitly remove unused disk source attribute
...+ b/snapshot/v2v-snapshot.pl @@ -529,8 +529,10 @@ sub _commit_guest # Update the domain XML with the location of the backing store if($backing_type == Sys::Virt::StorageVol::TYPE_BLOCK) { $source->setAttribute('dev', $backing_path); + $source->removeAttribute('file'); } else { $source->setAttribute('file', $backing_path); + $source->removeAttribute('dev'); } # Update the domain XML with with a driver appropriate to the backing @@ -647,6 +649,9 @@ sub _snapshot_guest...
2013 May 15
2
[LLVMdev] Attributes & CloneFunctionInto
...totally fine with any kind of workaround, e.g. removing all attributes from the target declaration, then cloning, and then setting the correct attributes. However, I can't find a way to modify an existing alignment *in any way* without hitting an assertion (the other one being line 727 for removeAttributes). I've also tried using addAttributes() and setAttributes() to set the alignment to 0, but this seems to be ignored... Any help on this? :) Thanks, Ralf
2013 May 15
1
[LLVMdev] Attributes & CloneFunctionInto
...es. Now as it apparently has stabilized, I moved to a the 3.3 release branch just to find that even my previous workarounds don't work anymore. I can't understand why the API of llvm::Function does not simply provide two functions - setAttribute(unsigned paramIdx, AttributeKind A) and - removeAttribute(unsigned paramIdx, AttributeKind A). Cheers, Ralf On 5/15/13 5:39 PM, John Criswell wrote: > On 5/15/13 10:27 AM, Ralf Karrenberg wrote: >> Hi, >> >> I am again struggling to find my way around the Attribute classes. >> What I want to do is clone a function into a decla...
2013 May 15
0
[LLVMdev] Attributes & CloneFunctionInto
...nd of workaround, e.g. removing all > attributes from the target declaration, then cloning, and then setting > the correct attributes. > However, I can't find a way to modify an existing alignment *in any > way* without hitting an assertion (the other one being line 727 for > removeAttributes). I've also tried using addAttributes() and > setAttributes() to set the alignment to 0, but this seems to be > ignored... SAFECode clones a function to change the alignment of byval arguments. You can look at the code at http://llvm.org/viewvc/llvm-project/safecode/branches/releas...
2013 Apr 08
0
[LLVMdev] Inaccurate comment in LLParser: "align 2" is a synonym for "alignstack 2"?
...; is later parsed as the alignment of the function itself, both when directly placed on the function: 02975 // If the alignment was parsed as an attribute, move to the alignment field. 02976 if (FuncAttrs.hasAlignmentAttr()) { 02977 Alignment = FuncAttrs.getAlignment(); 02978 FuncAttrs.removeAttribute(Attribute::Alignment); 02979 } and through an attribute group: 00088 // If the alignment was parsed as an attribute, move to the alignment 00089 // field. 00090 if (FnAttrs.hasAlignmentAttr()) { 00091 Fn->setAlignment(FnAttrs.getAlignment()); 00092 FnAttrs.r...
2006 Nov 13
8
Problems with Prototype in script.aculo.us 1.6.5
Hi, When I''m using the Prototype version attached to script.aculo.us 1.6.5 (Prototype 1.5.0_rc1 revision [5462]) I get some "Object doesn''t support this property or method" in the Effect.BlindDown method (when the method tries to get the dimentions). If I''m using the version of prototype that was attached to 1.6.4 I do not get this error. Is this a known
2007 Aug 29
0
Element.addMethods vs extending prototype.
...... Element.addMethods(''FORM'', { ... }); So far so good. I now want to add a new property to all forms. Is there an equivalent Element.addProperty(''FORM'', { ... }); technique I could use? As readAttribute / writeAttribute are used, how about an addAttribute / removeAttribute also? Any suggestions? Regards, Richard Quadling. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" --~--~---------~--~----~------------~-------~--~----~ You received this...
2010 Mar 31
3
[PATCH] Remove v2v-snapshot
...ype = Sys::Virt::StorageVol::TYPE_FILE; - } - } - - # Update the domain XML with the location of the backing store - if($backing_type == Sys::Virt::StorageVol::TYPE_BLOCK) { - $source->setAttribute('dev', $backing_path); - $source->removeAttribute('file'); - } else { - $source->setAttribute('file', $backing_path); - $source->removeAttribute('dev'); - } - - # Update the domain XML with with a driver appropriate to the backing - # store - my ($driver) = $dis...
2006 May 19
6
Multiple dynamic Sortables
I''m writing an appliation that contains several dynamically created lists. I had hoped that the following method for using the Sortable library from scriptaculous would work: 1) create the list 2) create a Sortable for it 3) create another list 4) create a Sortable for it and so on. Unfortunately this doesn''t work. I can''t find any info in the documentation for
2014 Nov 28
0
Wine release 1.7.32
...mshtml: Added fontname command support to execCommand. mshtml: Always ignore DISPATCH_PROPERTYPUTREF in InvokeEx. jscript: Use DISPATCH_PROPERTYPUTREF flag when setting a property to VT_DISPATCH. mshtml: Allow setting function properties to any VARIANT type. mshtml: Better removeAttribute implementation. mshtml: Correctly handle flags in IHTMLElement:setAttribute. mshtml: Correctly handle flags in IHTMLElement:getAttribute. mshtml: style attribute is a special case for setAttribute and removeAttribute. mshtml: Added more attribute and IDispatchEx tests. Jact...
2012 Apr 27
0
Wine release 1.5.3
...cript: Make sure to jump out of switch before entering implicit default clausule. mshtml: Added IHTMLStyle2::bottom implementation. mshtml: Added support for IHTMLEventObj::cancelBubble property. mshtml: Moved style_tbl lookup to separated function. mshtml: Added IHTMLStyle::removeAttribute implementation. mshtml: Added IHTMLStyle::removeAttribute tests. axcore.idl: Guard GetTimeFormat by WINE_NO_UNICODE_MACROS ifdef and added missing AM_GBF_NODDSURFACELOCK define. mshtml: Added IHTMLDocument2::put_URL implementation. Added support for shadowing of element pseu...
2010 Apr 02
0
Wine release 1.1.42
...msvcmaker: Extract wine_test_dsp_files from C_SRCS variable. shell32: Enable dde for SEE_MASK_CLASSALL. Jacek Caban (5): mshtml: Moved builtin properties lookup to separate function. mshtml: Moved builtin property invocation to separate function. mshtml: Added IHTMLElement::removeAttribute implementation. mshtml: Added IHTMLElement:removeAttribute tests. mshtml: Skip script tests on too old IE. Juan Lang (6): crypt32: Fix overestimating size required for base64-encoded strings. crypt32: Use an empty string as a separator when no separator is desired to avoid...
2010 Jan 22
0
Wine release 1.1.37
...with some tests. msxml3: In IXMLElementCollection store pointer to node instead of pointer to children. msxml3: Track linked/unlinked state for element and free node data only when unlinked. msxml3/tests: Fix interface leak and message typo. msxml3: Implement IXMLDOMElement::removeAttribute(). msxml3: Use a helper to check for created content handler. include: Add IXmlReader interface definition. xmllite/tests: Add basic test structure for IXmlReader. xmllite: Add stub implementation of IXmlReader interface. msxml3: Implement IXMLDOMComment::deleteData()...
2019 Mar 29
0
Wine release 4.5
...on to scripts from current style object. mshtml: Introduce map_nsresult and use it in return_nsstr. mshtml: Propagate nsIDOMCSSStyleDeclaration errors. mshtml: Add IHTMLWindow7::getComputedStyle implementation. mshtml: Expose getComputedStyle to scripts. mshtml: Handle removeAttribute("filter") calls on detached style objects. mshtml: Add IHTMLElement::getClientRects implementation. mshtml: Add IHTMLRectCollection implementation. mshtml: Alloc proper BSTR size in return_nscstr. mshtml: Add IHTMLDocument7::createElementNS implementation. ms...
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...lar stack protector won't run on this function + // (safestack attribute takes precedence) + AttrBuilder B; + B.addAttribute(Attribute::StackProtect) + .addAttribute(Attribute::StackProtectReq) + .addAttribute(Attribute::StackProtectStrong); + F.removeAttributes(AttributeSet::FunctionIndex, AttributeSet::get( + F.getContext(), AttributeSet::FunctionIndex, B)); + } + + if (AA->onlyReadsMemory(&F)) { + // XXX: we don't protect against information leak attacks for now + DEBUG(dbgs() << "[SafeStack]...
2015 Dec 03
3
Function attributes for LibFunc and its impact on GlobalsAA
----- Original Message ----- > From: "James Molloy via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Vaivaswatha Nagaraj" <vn at compilertree.com> > Cc: "LLVM Dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, December 3, 2015 4:41:46 AM > Subject: Re: [llvm-dev] Function attributes for LibFunc and its impact on GlobalsAA > >
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...for (var i = 0, node; node = b[i]; i++) + if (node.tagName !== "!") a.push(node); + return a; + }, + + // IE improperly serializes _countedByPrototype in (inner|outer)HTML. + unmark: function(nodes) { + for (var i = 0, node; node = nodes[i]; i++) + node.removeAttribute('_countedByPrototype'); + return nodes; + } + }); } function $$() { @@ -3392,7 +3457,7 @@ var Form = { var data = elements.inject({ }, function(result, element) { if (!element.disabled && element.name) { key = element.name; value = $(element).getVal...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server