search for: startdoc

Displaying 12 results from an estimated 12 matches for "startdoc".

2004 Nov 21
2
[DEVEL] Virtual Methods
...irtual Methods. Is there a general rule of thumb to follow? Should they be implemented in the wxRuby header and source files, or should I ignore them? They are not listed on the WxWidgets documentation page, but they are in the wxWidgets source file, as being public virtual methods. Examples: StartDoc //virtual method overriding the DC::StartDoc EndDoc //virtual method overriding the DC::EndDoc StartPage //virtual method overridng the DC::StartPage EndPage //virtual method overriding the DC::EndPage If I need trial and error I can do that, but thought maybe you followed a certain pattern......
2012 Oct 02
3
[PATCH] chowning /dev/null should be guarded against
...l.rb +++ b/lib/unicorn/util.rb @@ -15,7 +15,7 @@ module Unicorn::Util def self.chown_logs(uid, gid) ObjectSpace.each_object(File) do |fp| - fp.chown(uid, gid) if is_log?(fp) + fp.chown(uid, gid) if is_log?(fp)&& fp.path != "/dev/null" end end # :startdoc: -- 1.7.12.1
2001 Dec 28
1
[cups] /var/spool/samba or /var/spool/cups/tmp
...cess with 2.2.2 and my Linux box and Windows-2000 machines I switched to CUPS and now can't print again having made some slight edits in my smb.conf file (attached) for the change to CUPS. [1] I have to reloaded all the Windows drivers again on the Windows-2000 machines and still get the "Startdoc..." error. [2] The printer share shows up fine in Windows-2000 printer panel, no connection/permission issues. [3] I could only trace CUPS spool directory to /var/spool/cups/tmp Does anyone have a working Samba-2.2.2 setup using cups that can send me their smb.conf file ? TIA -- Bill Sch...
2002 Feb 12
4
Printing to File
...the mailing list and haven't found anything simluar. I also looked at the recent fixes to samba, but haven't seen anything that deals with this problem. Sometimes, NT seems to write a file called "Ne01:", could that be part of the problem. In both cases, the win32 function 'StartDoc' return 1, it just doesn't display the dialog box. Brian
2003 Oct 25
9
Windows Compile Error
I''ve gotten a lot farther building wxRuby than I did a few months ago. But its getting late here and I''m going to bed. In the meantime, does anyone know why I''m getting this compile error: Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cl -MD -Zi -O2b2xg- -G6
2013 Dec 09
2
[PATCH] rework master-to-worker signaling to use a pipe
...logger.error "#{prefix}: #{message} (#{exc.class})" exc.backtrace.each { |line| logger.error(line) } end + + # remove this when we only support Ruby >= 2.0 + def self.pipe # :nodoc: + Kgio::Pipe.new.each { |io| io.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) } + end # :startdoc: end # :enddoc: diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb index f15c8a7..ae8ad13 100644 --- a/lib/unicorn/http_server.rb +++ b/lib/unicorn/http_server.rb @@ -42,16 +42,8 @@ class Unicorn::HttpServer # it to wake up the master from IO.select in exactly the same manner...
2002 May 24
0
gta3
...xme:win32:ELF_FindExportedFunction function SetWindowExt not found: /usr/lib/wine/libwine.so: undefined symbol: SetWindowExt fixme:win32:ELF_FindExportedFunction function SetWindowOrg not found: /usr/lib/wine/libwine.so: undefined symbol: SetWindowOrg fixme:win32:ELF_FindExportedFunction function StartDoc not found: /usr/lib/wine/libwine.so: undefined symbol: StartDoc fixme:win32:ELF_FindExportedFunction function StartPage not found: /usr/lib/wine/libwine.so: undefined symbol: StartPage fixme:win32:ELF_FindExportedFunction function StretchBlt not found: /usr/lib/wine/libwine.so: undefined symbol:...
2018 Dec 14
0
Wine release 4.0-rc2
...v (2): po: Update Ukrainian translation. riched20: Remove redundant comparison. Daniel Lehman (1): msvcrt/tests: Add tests for C locale. Dmitry Timoshkov (5): gdi32/tests: Add a simple test for printing to a PostScript device. gdi32: Trace full contents of DOCINFO in StartDoc. include: Add _Deref_ret_z_ stub definition. comctl32/tests: Fix a test failure under Windows 7. comctl32/tests: Add a test to check built-in comctl32 classes. Eberhard Beilharz (1): comctl32/imagelist: Fix crash with large number of images. Fabian Maurer (3): riched...
2009 Feb 27
0
Wine release 1.1.16
...es metrics for symbol fonts should be based on the presence of the MS symbol charmap rather than whether the font is enumerated as SYMBOL_CHARSET. gdi32/tests: From Vista onwards TabbedTextOut ignores justification, so remove that bit of the test. comdlg32/tests: Skip remaining tests if StartDoc fails. comdlg32/tests: Vista can return a failure from StartDoc when using the XPS driver - don't fail the test in this case. gdi32/tests: Output the required font height if the test fails. gdi32/tests: Output the requested font name on failure. gdi32: Set the font famil...
2011 Jun 16
7
[PATCH] replace fchmod()-based heartbeat with raindrops
...tick # :nodoc: + @raindrop[@offset] end + # only exists for compatibility + def tmp # :nodoc: + @tmp ||= begin + tmp = Unicorn::TmpIO.new + tmp.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) + tmp + end + end + + def close # :nodoc: + @tmp.close if @tmp + end + + # :startdoc: + # In most cases, you should be using the Unicorn::Configurator#user # directive instead. This method should only be used if you need # fine-grained control of exactly when you want to change permissions @@ -36,12 +77,12 @@ class Unicorn::Worker < Struct.new(:nr, :tmp, :switched)...
2019 Feb 15
0
Wine release 4.2
...r converting 24bppBGR to 8bppIndexed format. crypt32: CryptAcquireCertificatePrivateKey should look up certificate in the user's store if not linked to a provider. wineps.drv: Add stubs for escapes required by Adobe PageMaker. wineps.drv: PostScript header should be written by StartDoc instead of StartPage. Gabriel Ivăncescu (28): comctl32/listbox: Check for out of bounds using the index when painting the item. comctl32/listbox: Use a helper to expand the item array. comctl32/listbox: Shrink the item array with resize_storage. comctl32/listbox: Return pro...
2007 Mar 12
10
using mocha with rspec
Hi folks. I''ve just started using rspec and I have to say it''s very nice. The thing is, I prefer mocha''s mocking dialect. So I thought a simple require ''mocha'' would set me up. Unfortunately, rspec does all its goodness using do/end blocks in anonymous classes, so it wasn''t quite that obvious. Anyway, here is the incantation I ended up