similar to: Problems setting image data

Displaying 20 results from an estimated 1000 matches similar to: "Problems setting image data"

2006 Sep 24
4
SWIG exceptions
I was trying to fix the problem with wxImage and the char */unsigned char * thing today and I was going to hand-write the functions to translate between the two. While doing so I decided I''d clean up the SWIG error message to make it more clear. Here''s an example SWIG-generated argument error: in method SetData'', argument 2 of type ''wxImage *''
2005 Apr 27
6
does anyone have success with wxruby with wxwidgets 2.6?
Hello, All. I`m trying to compile wxruby with wxwidgets 2.6 under windows with latest mingw, but have lot of troubles. wxwidgets and ruby 1.8.2 compiles just fine, examples work pretty well. To make wxruby compile (non-swig, from cvs) i was made some minor changes like explicit cast ("IN2NUM(...)" to "INT2NUM((long) ...)"), removed some constant definitions from const.cpp
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
Hello, wxruby-users. This is an addition which implement wrapper for overloading wxHtmlWindow::OnLinkClicked method. Unfortunately, it was impossible to make it correctly without ugly hack to wxpp.rb, but i`m hope it does not broke it. Please look at attachment for a patch for htmlwindow.t and wxpp.rb and additional file htmllinkinfo.t (need to be added to $objs array in extconf.rb). Sample
2005 May 02
3
where is destructors?
Hello, wxruby-users. I`m noticed huge GDI resources leakage when working with my programs (on windows). Fortunately, i simple fix this by calling ''delete'' on wxBitmap object (patch bellow). But i`m wondering -- why there are no calls to destructors of wrapped wxwidgets objects in wxruby? Is there some problems? This is a patch:
2016 Feb 08
2
[LLD] Incorrect comparision of pointers to function defined in DSO
Yes, I had just reduced it too. I am pretty sure this was implemented at some point. Taking a look. Cheers, Rafael On 8 February 2016 at 17:52, Sean Silva <chisophugis at gmail.com> wrote: > Sounds like it is related to this: > > http://www.airs.com/blog/archives/42 > """ > > The fact that C permits taking the address of a function introduces an >
2005 Apr 30
1
wxRuby Roadmap, Schedule and wxWidgets 2.6.0
Hi, I''m very interested in migrating some apps to ruby and wxRuby. Is there a rough estimate of when wxRuby will support wxWidgets 2.6.0? Are there specific tasks that require volunteers?
2016 Feb 08
3
[LLD] Incorrect comparision of pointers to function defined in DSO
Hi, It looks like I have found a bug in LLD. Suppose DSO defines a global variable 'data' and initializes it by the address of function 'set_data' defined in the same DSO. If an executable file (linked by LLD) gets address of the '&set_data' function and compares it with a value stored in the 'data' variable it gets different result. If the executable is linked
2004 Apr 22
13
Rake and VC++ 6
Has anybody tried the new wxruby-swig from the msvc++ command line compiler using ''rake''? The rakefile seems to depend on the wx_config method, which doesn''t exist for msw because it doesn''t have BASH to execute the shell script. Has anyone hacked the rakefile to fix this? Nick
2006 Aug 03
1
[ win32utils-Bugs-5287 ] v 0.4.1 - Clipboard.set_data causes Segmentation fault
Bugs item #5287, was opened at 2006-08-03 11:34 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=5287&group_id=85 Category: win32-clipboard Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: v 0.4.1 - Clipboard.set_data causes Segmentation fault Initial Comment: Whenever
2005 Aug 01
1
Application Metadata
Hi, I'm sorry to say that I've found the libFLAC++ interface and documentation pretty slim and baffling. What I need to do is add some application-specific metadata to a FLAC file (i'm using the FLAC++ fileencoder). It is currently just a string of characters, which doesn't need to be null-terminated. I've looked through the docs, i've looked through the tests, and
2018 Nov 30
1
Xapian Benchmark results
Hi, I am currently trying to benchmark a multithreaded xapian implementation on a chameleon baremetal instance written in C++. My workload is a 3 Gig wikipedia xml dump consisting of ~286 file of different sizes. My results are showing me that indexing on xapian is an order of magnitude faster than my lucene and lucene plusplus implementations. This is a result that I did not expect. Just want to
2008 Jun 30
1
Issue with Wx::Image class, especially set_data
Hello Hopefully some developer will see this too. I''ve problems using set_data method for example with wxruby 1.9.7/ruby 1.8.6 on mswin32. It always crashes: ..../classes/bitmap.rb:17: [BUG] segmentation fault On my Linux it works fine (thats no suprise of course). Probably somebody has a clue - I exported this raw data also with get_data, I guess this should be platform independent
2007 Jun 25
1
Document::set_data() Limitations?
Hi there, I'm wondering if there is any limitations (hard or soft) to what you can shove into Document's set_data? Can I put in binary data? Or is it really just meant for text? Is there a practical limit to how much information we can put in there? I suspect that I'll be putting in quite a lot, as in a couple to maybe a hundred MB. Is this silly? I'm still in the
2010 Sep 09
2
[LLVMdev] install llvm-tv on ubuntu
Does anybody install llvm-tv on ubuntu9.04? please share how to do it. Thanks very much! My problem is as followed: I follow the instruction of README in source of llvm-tv. First, I installe wxWidgets and graphviz, and then download the source of llvm from http://llvm.org/svn/llvm-project/llvm/trunk and download poolalloc from http://llvm.org/svn/llvm-project/poolalloc/trunk. Second, I compile
2011 Apr 21
1
How to Retrieve content of the document?
Hi, I have just started using xapian and I may sound like a noob. I want to know how i can access the content of the document retrieved while searching. I have used the code found on this mailing list itself to index my database. #!/usr/bin/perl -w use strict; use Search::Xapian; use File::Find; my $DATABASE_DIR = '/home/rohit/Desktop/SET/DB'; my $db =
2003 Oct 22
11
Survey results
Many thanks to the 23 people who took the time to respond to the survey. It really will help me spend my time more effectively. As promised, here are the results. I have inserted some comments inside [brackets]. 1. Have you downloaded wxRuby? YES 19 NO 4 2. Have you successfully built wxRuby? YES 14 NO 8 [We really need binary downloads so people don''t have to build anything.
2007 Jul 27
1
Wx::ListItem data
Hi all, i have a question: i need a Wx::ListItem to wrap my content but i get a strange result... irb(main):001:0> require ''wx'' => true irb(main):002:0> li = Wx::ListItem.new => #<Wx::ListItem:0x281610c> irb(main):003:0> li.set_data(3) => nil irb(main):004:0> li.get_data => 7 any hint? thank you, fabio.
2009 Jul 14
1
Multiple clipboards?
Hi all, I''m back from vacation! Anyway, I was just wondering if Windows supported multiple, separate clipboards out of the box, or if that is only possible with 3rd party add-ons. I''m wondering if we should alter Clipboard.set_data so that it takes a "clipboard_number" parameter. Regards, Dan
2010 Jan 01
1
Document values vs data
In a recent post, someone asked about storing "metadata" in a document. My guess would have been to use add_value. Olly's recommendation was to use set_data. What are the general guidelines for deciding whether to use values or data in a document? Garrett
2008 Jan 15
7
PHP indexing, what's the PHP method for indexscript
Currently I have the following indexscript: pid : unique=Q boolean=Q field=pid postdate : field=startdate author_name: unhtml boolean=XAUTHORNAME field=author author_id: boolean=XAUTHORID field=authorid url : field=url sample : weight=1 index field=sample How can I create the same indexing using PHP? With this, I can get an searchable index, but I have no idea how to set the fields, so that I