<rss version="2.0">
  <channel>
    <title>Haberdasher patches</title>
    <link>http://haberdasherhq.org</link>
    <description>New patches uploaded to Haberdasher</description>
    <language>en-en</language>
    <item>
      <title>Gabber - Patch size limit test</title>
      <description>&lt;pre&gt;1,2c1,2
&lt; Hello, World!
&lt; -------------
---
&gt; Hello, Universe!
&gt; ================
6a7,8
&gt;
&gt; Some rea&lt;/pre&gt;</description>
      <pubDate>Mon, 15 Oct 2007 23:27:14 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/16</link>
      <guid>http://haberdasherhq.org/demo/patches/show/16</guid>
    </item>
    <item>
      <title>PDF::Writer - Some fake patch, subversion diff</title>
      <description>&lt;pre&gt;Index: test/tc_latex_pdf_compiler.rb
===================================================================
--- test/tc_latex_pdf_compiler.rb	(revisi&#243;n: 146)
+++ test/tc_latex_pdf_compiler.rb	(copia de trabajo)
@@ -33,6 +33,6 @@
     end
 
     def teardown
-        FileUtils.rm_rf(LATEX_TMP_DIR)
+        FileUtils.rm_rf(LATEX_TMP_DIR) unless DEBUG
     end
 end
&lt;/pre&gt;</description>
      <pubDate>Mon, 15 Oct 2007 22:53:57 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/15</link>
      <guid>http://haberdasherhq.org/demo/patches/show/15</guid>
    </item>
    <item>
      <title>PDF::Writer - Some fake patch, context diff</title>
      <description>&lt;pre&gt;*** a.txt       2007-10-15 22:38:51.000000000 +0100
--- b.txt       2007-10-15 22:41:38.000000000 +0100
***************
*** 1,6 ****
! Hello, World!
! -------------

  Some interesting stuff to read. Some interesting stuff to read. Some
  interesting stuff to read. Some interesting stuff to read. Some interesting
  stuff to read. Some interesting stuff to read.
--- 1,8 ----
! Hello, Universe!
! ================

  Some interesting stuff to read. Some interesting stuff to read. Some
  interesting stuff to read. Some interesting stuff to read. Some interesting
  stuff to read. Some interesting stuff to read.
+
+ Some really crazy ideas about ruling the world and conquering the Universe.
&lt;/pre&gt;</description>
      <pubDate>Mon, 15 Oct 2007 22:46:17 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/14</link>
      <guid>http://haberdasherhq.org/demo/patches/show/14</guid>
    </item>
    <item>
      <title>Gabber - Some fake patch, unified diff</title>
      <description>&lt;pre&gt;--- a.txt       2007-10-15 22:38:51.000000000 +0100
+++ b.txt       2007-10-15 22:41:38.000000000 +0100
@@ -1,6 +1,8 @@
-Hello, World!
--------------
+Hello, Universe!
+================

 Some interesting stuff to read. Some interesting stuff to read. Some
 interesting stuff to read. Some interesting stuff to read. Some interesting
 stuff to read. Some interesting stuff to read.
+
+Some really crazy ideas about ruling the world and conquering the Universe.
&lt;/pre&gt;</description>
      <pubDate>Mon, 15 Oct 2007 22:45:18 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/13</link>
      <guid>http://haberdasherhq.org/demo/patches/show/13</guid>
    </item>
    <item>
      <title>NEW - Some fake change, normal diff</title>
      <description>&lt;pre&gt;1,2c1,2
&lt; Hello, World!
&lt; -------------
---
&gt; Hello, Universe!
&gt; ================
6a7,8
&gt;
&gt; Some really crazy ideas about ruling the world and conquering the Universe.
&lt;/pre&gt;</description>
      <pubDate>Mon, 15 Oct 2007 22:40:56 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/12</link>
      <guid>http://haberdasherhq.org/demo/patches/show/12</guid>
    </item>
    <item>
      <title>spca5xx driver - Add QC Chat Skype support</title>
      <description>&lt;pre&gt;diff -ur spca5xx/drivers/usb/spca561.h spca5xx-zoso/drivers/usb/spca561.h
--- spca5xx/drivers/usb/spca561.h	2006-05-08 12:01:40.000000000 +0100
+++ spca5xx-zoso/drivers/usb/spca561.h	2006-09-26 16:48:41.000000000 +0100
@@ -758,6 +758,7 @@
     case 0x403b:
     case 0x092b:
     case 0x092c:
+    case 0x092e:
 	spca50x-&gt;chip_revision = Rev012A;
 	break;
     default:
diff -ur spca5xx/drivers/usb/spca5xx.c spca5xx-zoso/drivers/usb/spca5xx.c
--- spca5xx/drivers/usb/spca5xx.c	2006-05-08 12:01:40.000000000 +0100
+++ spca5xx-zoso/drivers/usb/spca5xx.c	2006-09-29 18:44:59.000000000 +0100
@@ -769,6 +769,7 @@
     {USB_DEVICE(0x2899, 0x012c)},	/* Toptro Industrial */
     {USB_DEVICE(0x06bd, 0x0404)},	/* Agfa CL20 */
     {USB_DEVICE(0x046d, 0x092c)},	/* Logitech QC chat Elch2 */
+    {USB_DEVICE(0x046d, 0x092e)},	/* Logitech QC chat Skype */
     {USB_DEVICE(0x0c45, 0x607c)},	/* Sonix sn9c102p Hv7131R */
     {USB_DEVICE(0x0733, 0x3261)},	/* Concord 3045 spca536a */
     {USB_DEVICE(0x0733, 0x1314)},	/* Mercury 2.1MEG Deluxe Classic Cam */
@@ -4587,6 +4588,7 @@
 	    memcpy(&amp;spca50x-&gt;funct,&amp;fspca561,sizeof(struct cam_operation));
 	    break;
 	case 0x092c:
+	case 0x092e:
 	    spca50x-&gt;desc = LogitechQC92c;
 	    spca50x-&gt;bridge = BRIDGE_SPCA561;
 	    spca50x-&gt;sensor = SENSOR_INTERNAL;
&lt;/pre&gt;</description>
      <pubDate>Fri, 29 Sep 2006 19:51:15 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/11</link>
      <guid>http://haberdasherhq.org/demo/patches/show/11</guid>
    </item>
    <item>
      <title>PDF::Writer - Fix font embedding issues</title>
      <description>&lt;pre&gt;diff -u -r origlib/pdf/writer/object/font.rb dest/pdf/writer/object/font.rb
--- origlib/pdf/writer/object/font.rb	2006-07-26 12:26:37.000000000 +0100
+++ dest/pdf/writer/object/font.rb	2006-09-03 01:29:07.000000000 +0100
@@ -35,14 +35,14 @@
     @fontdescriptor = nil
   end
 
-  attr_reader :font_id
+  attr_accessor :font_id
     # The type of the font: Type1 and TrueType are the only values supported
     # by 
-  attr_reader :subtype
+  attr_accessor :subtype
     # Valid values: WinAnsiEncoding, MacRomanEncoding, MacExpertEncoding,
     # none, +nil+, or an instance of PDF::Writer::Object::FontEncoding.
-  attr_reader :encoding
-  attr_reader :basefont
+  attr_accessor :encoding
+  attr_accessor :basefont
   def basefont #:nodoc:
     @name
   end
diff -u -r origlib/pdf/writer.rb dest/pdf/writer.rb
--- origlib/pdf/writer.rb	2006-07-26 12:26:37.000000000 +0100
+++ dest/pdf/writer.rb	2006-09-03 02:45:07.000000000 +0100
@@ -835,7 +835,7 @@
       end
     end
 
-    if font =~ /afm/o and fontfile
+    if fontfile
         # Find the array of font widths, and put that into an object.
       first_char  = -1
       last_char   = 0
@@ -857,7 +857,7 @@
         encoding_diff.each do |cnum, cname|
           (cnum - last_char).times { widths &lt;&lt; 0 } if cnum &gt; last_char
           last_char = cnum
-          widths[cnum - firstchar] = fonts.c[cname]['WX'] if metrics.c[cname]
+          widths[cnum - first_char] = metrics.c[cname]['WX'] if metrics.c[cname]
         end
       end
 
@@ -875,7 +875,8 @@
         # Load the pfb file, and put that into an object too. Note that PDF
         # supports only binary format Type1 font files and TrueType font
         # files. There is a simple utility to convert Type1 from pfa to pfb.
-      data = File.open(fbfile, "rb") { |ff| ff.read }
+      data = File.open(fontfile, "rb") { |ff| ff.read }
+      fbtype = fontfile
 
         # Check to see if the font licence allows embedding.
       if fbtype =~ /\.ttf$/o
&lt;/pre&gt;</description>
      <pubDate>Tue, 05 Sep 2006 18:14:24 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/7</link>
      <guid>http://haberdasherhq.org/demo/patches/show/7</guid>
    </item>
    <item>
      <title>NEW - Add basic locale support</title>
      <description>&lt;pre&gt;*** src/new.c.old	2003-02-13 11:52:17.000000000 +0000
--- src/new.c	2003-02-13 12:07:21.000000000 +0000
***************
*** 31,36 ****
--- 31,37 ----
  #include &lt;template.h&gt;
  #include &lt;limits.h&gt;
  #include &lt;pair.h&gt;
+ #include &lt;locale.h&gt;
  
  extern char *usage_new;
  
***************
*** 131,136 ****
--- 132,138 ----
      settings_t settings;
      parse_args(argc, argv, &amp;settings);
      template_init();
+     setlocale(LC_ALL, "");
      if (!template_set_global_dir(GLOBAL_TEMPLATE_DIR)) {
  	template_perror("Error setting global template dir");
  	exit(EXIT_FAILURE);
&lt;/pre&gt;</description>
      <pubDate>Mon, 28 Aug 2006 18:35:15 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/6</link>
      <guid>http://haberdasherhq.org/demo/patches/show/6</guid>
    </item>
    <item>
      <title>Term::Screen::Wizard - Restore terminal settings correctly</title>
      <description>&lt;pre&gt;*** /usr/local/share/perl/5.6.1/Term/Screen/Wizard.pm.old       2003-02-14
09:59:20.000000000 +0000
--- /usr/local/share/perl/5.6.1/Term/Screen/Wizard.pm   2003-02-14
09:59:29.000000000 +0000
***************
*** 18,26 ****
    foreach my $f (@_) {
      $cmd.="$f ";      
    }
    system "stty -raw echo";
    system @_;              
!   system "stty raw -echo";
  }
   
  sub add_screen {
--- 18,27 ----
    foreach my $f (@_) {
      $cmd.="$f ";      
    }
+   my $saveterm = `stty -g`;
    system "stty -raw echo"; 
    system @_;              
!   system "stty $saveterm";
  }
   
  sub add_screen {
&lt;/pre&gt;</description>
      <pubDate>Mon, 28 Aug 2006 18:33:08 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/5</link>
      <guid>http://haberdasherhq.org/demo/patches/show/5</guid>
    </item>
    <item>
      <title>Term::Screen - Restore terminal settings correctly</title>
      <description>&lt;pre&gt;*** /usr/local/share/perl/5.6.1/Term/Screen.pm.old      2003-02-14
10:08:36.000000000 +0000
--- /usr/local/share/perl/5.6.1/Term/Screen.pm  2003-02-14 10:09:48.000000000
+0000
***************
*** 92,104 ****
    $this-&gt;at(0,0);             # home cursor
    $this-&gt;{ECHO} = 1;            # start off echoing
    $| = 1;                     # for output flush on writes
    # wrapped so inherited versions can call with different input codes 
    eval { system('stty raw -echo'); };     # turn on raw input         
                                            # ignore errors
    return $this;                                          
  }

! sub DESTROY { system('stty -raw echo'); } }

  =item term(term)

--- 92,108 ----
    $this-&gt;at(0,0);             # home cursor
    $this-&gt;{ECHO} = 1;            # start off echoing
    $| = 1;                     # for output flush on writes
+   $this-&gt;{TERMSAVE} = `stty -g`;
    # wrapped so inherited versions can call with different input codes 
    eval { system('stty raw -echo'); };     # turn on raw input         
                                            # ignore errors
    return $this;                                          
  }

! sub DESTROY {
!   my ( $this ) = @_;
!   eval { system("stty ".$this-&gt;{TERMSAVE}) }
! }
   
  =item term(term)

&lt;/pre&gt;</description>
      <pubDate>Mon, 28 Aug 2006 18:31:28 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/4</link>
      <guid>http://haberdasherhq.org/demo/patches/show/4</guid>
    </item>
    <item>
      <title>JabberPy - Fix authentication bug</title>
      <description>&lt;pre&gt;*** /usr/lib/python2.1/site-packages/jabber.py.orig     2003-06-10 14:35:04.000000000 +0100
--- /usr/lib/python2.1/site-packages/jabber.py  2003-06-10 14:35:20.000000000 +0100
***************
*** 589,594 ****
--- 589,596 ----
              
          iq_result = self.SendAndWaitForResponse(auth_set_iq)
  
+         if iq_result is None:
+              return False
          if iq_result.getError() is None:
              return True
          else:
***************
*** 596,603 ****
             self.lastErrCode = iq_result.getErrorCode()
             # raise error(iq_result.getError()) ?
             return False
-         if iq_result is None:
-              return False
          return True
  
      ## Roster 'helper' func's - also see the Roster class ##
--- 598,603 ----
&lt;/pre&gt;</description>
      <pubDate>Mon, 28 Aug 2006 18:29:36 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/3</link>
      <guid>http://haberdasherhq.org/demo/patches/show/3</guid>
    </item>
    <item>
      <title>Gabber - Make roster pop-up on online contact</title>
      <description>&lt;pre&gt;--- gabber-0.8.7.orig/src/RosterView.cc
+++ gabber-0.8.7/src/RosterView.cc
@@ -404,6 +404,8 @@
          }
          // Update the statusbar and clear in 30 seconds 
          G_Win-&gt;push_status_bar_msg(nickname + _(" is now online"), 30000);
+
+         gdk_window_show(G_Win-&gt;getBaseWindow()-&gt;get_window().gdkobj());
      }
      else if (available &amp;&amp; prev_type == Presence::ptAvailable)
      {
&lt;/pre&gt;</description>
      <pubDate>Mon, 28 Aug 2006 18:26:44 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/2</link>
      <guid>http://haberdasherhq.org/demo/patches/show/2</guid>
    </item>
    <item>
      <title>Gabber - Make GroupChat windows pop-up</title>
      <description>&lt;pre&gt;--- gabber-0.8.7.orig/src/MessageViews.cc
+++ gabber-0.8.7/src/MessageViews.cc
@@ -1776,6 +1776,10 @@
          //_thisWindow-&gt;set_title(_("Gabber: Group Chat - ") + fromUTF8(_thisWi
ndow, subj));
          _entSubject-&gt;set_text(fromUTF8(_entSubject, subj));
      }
+
+     // Popup the window if they like it that way
+     if (G_App-&gt;getCfg().msgs.raise)
+         gdk_window_show(_thisWindow-&gt;get_window().gdkobj());
 }
 
 gint GCMessageView::on_window_delete(GdkEventAny* e)
&lt;/pre&gt;</description>
      <pubDate>Mon, 28 Aug 2006 18:23:24 +0100</pubDate>
      <link>http://haberdasherhq.org/demo/patches/show/1</link>
      <guid>http://haberdasherhq.org/demo/patches/show/1</guid>
    </item>
  </channel>
</rss>
