Richard Frith-Macdonald | 1 Mar 10:31 2012
Picon

[bug #35670] NSJSONSerialization writes unnecessary decimals after ints

Update of bug #35670 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Thanks ... I applied that fix.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35670>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Richard Frith-Macdonald | 1 Mar 20:35 2012
Picon

[bug #35669] Garbage description string in POSIX NSErrors

Update of bug #35669 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => In Test                

    _______________________________________________________

Follow-up Comment #1:

Should have been fixed by ensuring _GNU_SOURCE is not defined.
Please try it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35669>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Richard Frith-Macdonald | 1 Mar 20:39 2012
Picon

[bug #35583] GS_ATTRIB_PRIVATE definition missing led to failure building base

Update of bug #35583 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Thanks very much .. I applied that fix.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35583>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Richard Frith-Macdonald | 1 Mar 20:41 2012
Picon

[bug #35673] Add new NSHTTPURLResponse initializer method

Update of bug #35673 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => In Test                

    _______________________________________________________

Follow-up Comment #1:

I implemented a version of that 10.7 method.
Hope it behaves as it should.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35673>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Jens Alfke | 2 Mar 00:18 2012
Picon

[bug #35685] NSString fails to decode uppercase percent-escapes [PATCHED]

URL:
  <http://savannah.gnu.org/bugs/?35685>

                 Summary: NSString fails to decode uppercase percent-escapes
[PATCHED]
                 Project: GNUstep
            Submitted by: snej
            Submitted on: Thu 01 Mar 2012 11:18:37 PM GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

-[NSString stringByReplacingPercentEscapesUsingEncoding:] returns nil when
given a validly URL-escaped string that uses uppercase hex digits in its
escapes.

TEST CASE:

assert([ <at> "foo%2Fbar" stringByReplacingPercentEscapesUsingEncoding:
NSUTF8StringEncoding] != nil);

(Continue reading)

Jens Alfke | 2 Mar 01:58 2012
Picon

[bug #35686] NSURLConnection does not retain its delegate (compatibility issue)

URL:
  <http://savannah.gnu.org/bugs/?35686>

                 Summary: NSURLConnection does not retain its delegate
(compatibility issue)
                 Project: GNUstep
            Submitted by: snej
            Submitted on: Fri 02 Mar 2012 12:58:46 AM GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

On OS X and iOS, "NSURLConnection retains its delegate when it is initialized.
It releases the delegate when the connection finishes loading, fails, or is
canceled." (From the NSURLConnection class reference overview.) This means the
application does not have to explicitly retain or release the delegate object
as long as it's an ephemeral object specific to that request (which is pretty
common.)

On GNUstep, however, this doesn't happen.  This is very likely to lead to
incorrect behavior, most likely the app crashing when the NSURLConnection
(Continue reading)

Richard Frith-Macdonald | 2 Mar 08:18 2012
Picon

[bug #35685] NSString fails to decode uppercase percent-escapes [PATCHED]

Update of bug #35685 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Thanks ... I applied that fix

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35685>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Richard Frith-Macdonald | 2 Mar 10:10 2012
Picon

[bug #35686] NSURLConnection does not retain its delegate (compatibility issue)

Update of bug #35686 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => In Test                

    _______________________________________________________

Follow-up Comment #1:

Thanks ... I changed the code to try to mimic the OSX behaviour.
Please check that it works as expected.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35686>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Jens Alfke | 2 Mar 19:21 2012
Picon

[bug #35699] NSStrings can point into garbage memory (misuse of app-supplied backing buffer)

URL:
  <http://savannah.gnu.org/bugs/?35699>

                 Summary: NSStrings can point into garbage memory (misuse of
app-supplied backing buffer)
                 Project: GNUstep
            Submitted by: snej
            Submitted on: Fri 02 Mar 2012 06:21:39 PM GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

NSString is insufficiently careful in its use of externally-provided buffers
(i.e. passed to -initWithBytesNoCopy:).  Substrings created from such a string
apparently point into the same temporary buffer, even after the original
string is released, meaning that their contents become garbage as soon as the
buffer contents become invalid.

In the test case below, the contents of the NSString 'substr' change if the
temporary buffer is modified, even after the original string created from that
buffer is released. This is of course likely to lead to very nasty side
(Continue reading)

Jens Alfke | 2 Mar 19:54 2012
Picon

[bug #35699] NSStrings can point into garbage memory (misuse of app-supplied backing buffer)

Follow-up Comment #1, bug #35699 (project gnustep):

I looked at GSString.m a bit.
It seems that substring_c and substring_u should check the parent string's
_flags.owned and create a GSSubString only if the flag is true; otherwise they
should be conservative and create a regular string with a copy of the
characters/bytes.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35699>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

Gmane