search for: setproperty

Displaying 20 results from an estimated 44 matches for "setproperty".

Did you mean: set_property
2007 Oct 14
0
4 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c test/trace
libswfdec/swfdec_as_interpret.c | 88 +++++++++++++++------------ libswfdec/swfdec_sound.c | 8 ++ test/trace/Makefile.am | 9 ++ test/trace/getsetproperty-target-5.swf |binary test/trace/getsetproperty-target-5.swf.trace | 6 + test/trace/getsetproperty-target-6.swf |binary test/trace/getsetproperty-target-6.swf.trace | 6 + test/trace/getsetproperty-target-7.swf |binary test/trace/getsetproperty-target-7.swf.trace | 6 +...
2011 Jun 10
2
[LLVMdev] [VMKit] Bug in J3 User.Name detection
...nt version first tries to get the username by checking the LOGNAME environment variable. If this is NULL it then checks tmp = getenv("USERNAME"); if (!tmp) tmp = getenv("LOGNAME"); else if (!tmp) tmp = getenv("NAME"); else if (!tmp) tmp = ""; setProperty(vm, prop, "user. diff a/ClasspathVMSystemProperties.inc b/ClasspathVMSystemProperties.inc 118,119c118,119 < else if (!tmp) tmp = getenv("NAME"); < else if (!tmp) tmp = ""; --- > if (!tmp) tmp = getenv("NAME"); > if (!tmp) tmp = "...
2009 Oct 14
2
How to configure every (postgresql) db connection?
I would like to set some db session variables specific to my application on the database connection that rails uses. They can be set by issuing an SQL command like "SET statement_timeout = 1000" once - it will be in effect for every subsequent SQL statement that uses this connection. So I tried to put the following into an initializer: ActiveRecord::Base.connection.execute("SET
2011 Jun 10
0
[LLVMdev] [VMKit] Bug in J3 User.Name detection
...is would be tmp = getenv("USERNAME"); if (!tmp) tmp = getenv("LOGNAME"); if (!tmp) tmp = getenv("NAME"); if (!tmp) tmp = ""; because then you don't fall victim to the dangling else problem of the current implementation. The bug manifests in that setProperty fails if provided with a null pointer as value. (Occurs if neither USERNAME nor LOGNAME are set in the environment) Regards, Marcus --- Patch to fix the behaviour ---- diff a/ClasspathVMSystemProperties.inc b/ClasspathVMSystemProperties.inc 118,119c118,119 < else if (!tmp) tmp =...
2007 Feb 22
0
3 commits - libswfdec/swfdec_js.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...swfdec_js_getURL, 2, 0, 0 }, { "gotoAndPlay", mc_gotoAndPlay, 1, 0, 0 }, diff-tree 3c4a91276dbf607849f02fc9f637f8caf1c339c6 (from 27f57143cbff3082c9b565e5256023baaf079140) Author: Benjamin Otte <otte@gnome.org> Date: Thu Feb 22 18:53:05 2007 +0100 rework SetVariable, SetProperty and GetProperty - try setting an existing property first - use the varobj and not the scopeChain if the property doesn't exist - make GetProperty ("bla", x) work like GetVariable ("bla.$property[x]") - same for SetVariable diff --git a/libswfdec/swfdec_...
2007 Apr 05
0
Branch 'as' - 9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...sContext *cx, guint action, const guint8 *data, guint len) +{ + SwfdecAsValue *val; + SwfdecAsObject *obj; + guint id; + + id = swfdec_as_value_to_integer (cx, swfdec_as_stack_pop (cx->frame->stack)); + if (id > (cx->version > 4 ? 21 : 18)) { + SWFDEC_WARNING ("trying to SetProperty %u, not allowed", id); + goto out; + } + val = swfdec_as_stack_peek (cx->frame->stack, 1); + swfdec_as_interpret_eval (cx, NULL, val); + if (SWFDEC_AS_VALUE_IS_UNDEFINED (val)) { + obj = cx->frame->scope; + } else if (SWFDEC_AS_VALUE_IS_OBJECT (val)) { + obj = SWFDEC_...
2009 Mar 30
0
Problem with Tomcat
...ava.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.privateGetPublicMethods(Class.java:2547) at java.lang.Class.getMethods(Class.java:1410) at org.apache.tomcat.util.IntrospectionUtils.findMethods(IntrospectionUtils.java:812) at org.apache.tomcat.util.IntrospectionUtils.setProperty(IntrospectionUtils.java:268) at org.apache.catalina.startup.SetAllPropertiesRule.begin(SetAllPropertiesRule.java:59) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.pars...
2019 May 24
1
PROBLEM: VirtIO DRM driver crashes when setting specific 16.16 fixed-point property values
...Value: 69 ... Property: property::Handle(10) Value: 67108864 Property: property::Handle(11) Value: 50331648 KMS>> GetInfo 10 # Get info of property 10 Name: "SRC_W" Mutable: true Atomic: false Value: UnsignedRange(0, 4294967295) KMS>> SetProperty 28 10 65536 # Set the value of property 10 on plane 28 to value 65536 (succeeds) KMS>> SetProperty 28 10 60000 # Set the value of property 10 on plane 28 to value 60000 ``` At this point the VM has shut down. Environment: Linux nixos 4.19.44 #1-NixOS SMP Thu May 16 17:41:32 UT...
2019 May 24
1
PROBLEM: VirtIO DRM driver crashes when setting specific 16.16 fixed-point property values
...Value: 69 ... Property: property::Handle(10) Value: 67108864 Property: property::Handle(11) Value: 50331648 KMS>> GetInfo 10 # Get info of property 10 Name: "SRC_W" Mutable: true Atomic: false Value: UnsignedRange(0, 4294967295) KMS>> SetProperty 28 10 65536 # Set the value of property 10 on plane 28 to value 65536 (succeeds) KMS>> SetProperty 28 10 60000 # Set the value of property 10 on plane 28 to value 60000 ``` At this point the VM has shut down. Environment: Linux nixos 4.19.44 #1-NixOS SMP Thu May 16 17:41:32 UT...
2016 Jun 09
0
Java Application on 64bit Windows
Hi, I am trying to develop a Java application with libvirt 0.5.1. I am trying this on Windows7 64bit. I downladed libvirt-0.5.1.jar and jna.jar files and added them to the Buildpath. Then I installed VirtViewer for windows 64 bit and copied dll files. In my application if i only use System.setProperty("jna.library.path", PATH_TO_DLL); then i see "UnsatisfiedLinkError: Unable to load library 'virt'" error. If i also use System.load(PATH_TO_DLL); then i see "UnsatisfiedLinkError:PATH_TO_DLL: Can't find dependent libraries" I searched everything in interne...
2007 Mar 19
0
Trying to fix shdocvw.dll to support IPerPropertyBrowsing GUID
...most part... there are OTHER issues that probably need fixing)... I've tried just returning a WEBBROWSER(This) and that doesn't crash. This seemed appropriate as the WEBBROWSER cast macro seems to point to a structure which contains two functions associated with properties: GetProperty and SetProperty... which I figured is where this query was eventually going, but this was probably inappropriate and just a quick stab at a "quick fix"...(at least it didn't crash, but GSAK never comes up and wine never quits... so I'm assuming I created some kind of loop or something that locked...
2012 Aug 03
0
Unable to load library 'virt'
Hi,all now ,an old problem I really cann't resolved ,in my window7(64bit) use libvirt-0.4.7.jar to conn server System.setProperty("jna.library.path", "D:/Program Files/Libvirt/bin"); conn = new Connect("qemu+tcp://192.168.1.106/system",true); the exception is Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'virt': ???????? PS:in cmd line i...
2007 Jun 17
2
Branch 'as' - libswfdec/swfdec_as_interpret.c
libswfdec/swfdec_as_interpret.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) New commits: diff-tree 38fbc1389267e593b44041018cbb1750bdcce0fb (from aaca94203d8a0ccb8feb32c0d57df3401fca0350) Author: Benjamin Otte <otte at gnome.org> Date: Sun Jun 17 14:19:45 2007 +0200 actually convert the values to a string when comparing strings diff --git
2008 Dec 14
1
Help - java.library.path
Hello all, I`m a computer science student from Frankfurt/main (germany). Our student team (10 students) are working on a R/Interface project (Java and R) and we have a problem with R and JRI. We are working on 10 computers with Windows XP SP2, R 2.8.0, jdk1.6.0_11 and the same classpath setttings but our application works only on two computers. We can't explain us this.
2007 Apr 12
0
Branch 'as' - 14 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h
...on_string_add, swfdec_action_string_add, swfdec_action_string_add, swfdec_action_string_add } }, #endif - [0x22] = { "GetProperty", NULL, 2, 1, { NULL, swfdec_action_get_property, swfdec_action_get_property, swfdec_action_get_property, swfdec_action_get_property } }, - [0x23] = { "SetProperty", NULL, 3, 0, { NULL, swfdec_action_set_property, swfdec_action_set_property, swfdec_action_set_property, swfdec_action_set_property } }, + [SWFDEC_AS_ACTION_GET_PROPERTY] = { "GetProperty", NULL, 2, 1, { NULL, swfdec_action_get_property, swfdec_action_get_property, swfdec_action_ge...
2013 Jan 08
0
[LLVMdev] [cfe-dev] ARM failures
On Tue, Jan 8, 2013 at 10:01 AM, David Tweed <David.Tweed at arm.com> wrote: > | Certainly slow builders are problematic. The phase-based building > | system David Dean is setting up may help mitigate some of this (it > | should make better use of the resources we have, as well as allowing > | us to benefit (in the form of smaller blame lists, though not > | necessarily lower
2018 Jun 15
2
CentOS7/Mate Qt bugs/features?
...addWidget(self.btnClose) layout.setContentsMargins(50,50,50,50) self.setLayout(layout) self.btn.clicked.connect(self.updateComboState) def updateComboState(self): self.state = (self.state%2)+1 self.combo.setProperty("state", self.state) self.combo.style().unpolish(self.combo) self.combo.style().polish(self.combo) self.update() ss = """ *[state="1"] { background: rgb(50,50,100); } *[state="2"] { b...
2006 Jul 02
7
Generic SingleTable inheritance
...ricThing # all methods which are not defined are handled as # properties def method_missing(methodname, *args) methodnameStr = methodname.to_s if (methodnameStr.include? "=") # it''s a setter! # remove the trailing = methodnameStr.chop! return setProperty(methodnameStr, args[0]) else # it''s a getter! return getProperty(methodnameStr) end end # helper method for setting the given property def setProperty(propertyName, value) property = self.properties.find(:first, :conditions => [ "name = ?", prop...
2013 Jan 08
2
[LLVMdev] [cfe-dev] ARM failures
| Certainly slow builders are problematic. The phase-based building | system David Dean is setting up may help mitigate some of this (it | should make better use of the resources we have, as well as allowing | us to benefit (in the form of smaller blame lists, though not | necessarily lower buildbot result latency) from additional resources | by allowing greater parallelism). There's
2012 Apr 09
0
virsh works but libvirt-java throws a 'No route to host'
...ar. For the most part it's a direct copy of the example at the end of the libvirt java page: http://libvirt.org/java.html package com.jdrews.VirtAPI.testing; import org.libvirt.*; public class VirtAPITesting { public static void main(String[] args) throws InterruptedException { System.setProperty("jna.library.path", "/usr/local/lib/"); Connect conn=null; System.out.println( ConnectAuth defaultAuth = new ConnectAuthDefault(); try{ conn = new Connect("xenapi://root at 192.168.1.23?no_verify=1", defaultAuth, 0);...