/[avr-libc]/avr-libc/NEWS
ViewVC logotype

Diff of /avr-libc/NEWS

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.81 by joerg_wunsch, Sat Sep 3 22:03:08 2005 UTC revision 1.82 by joerg_wunsch, Tue Sep 6 18:49:14 2005 UTC
# Line 1  Line 1 
1  *** Changes since avr-libc-1.2.5:  *** Changes since avr-libc-1.2.5:
2    
3    * Major API changes:
4    
5      - The INTERRUPT() macro has been deprecated, and it will be
6        removed in a future version.  Use __attribute__((interrupt))
7        explicitly if this functionality is really needed.
8    
9      - The standard IO facilities API has been enhanced
10    
11        . The backend functions put and get that are passed to fdevopen()
12          during the setup of a stream now take the stream itself as an
13          additional argument.
14          By defining the macro __STDIO_FDEVOPEN_COMPAT_12 before
15          including <stdio.h>, an fdevopen() function prototype will be
16          declared that is backwards-compatible with avr-libc version
17          1.2 and before.
18        . It is possible to tie user data to a stream using
19          fdev_set_udata(), and to retrieve them using fdev_get_udata().
20          Together with the additional argument to the backend functions,
21          these functions can now e.g. keep track of internal user state,
22          or distinguish two different devices using the same backend
23          function.
24        . The get backend function can now return _FDEV_EOF to indicate an
25          end-of-file condition, in addition to _FDEV_ERR for an error
26          condition.  This will affect the internal state that can be
27          queried using the standard feof() and ferror() functions.
28        . A new macro fdev_setup_stream() is provided to setup a
29          user-supplied stream without the need to call fdevopen(), and thus
30          without requiring malloc().  A similar macro FDEV_SETUP_STREAM()
31          exists that can be used to initialized a FILE object.  The
32          floating-point implementations of vfscanf() and vfprintf() now
33          allocate their conversion buffer on the stack, so they do not need
34          malloc() anymore either.
35    
36  * Bugs fixed:  * Bugs fixed:
37    
38    [#12775] Possible Bug in sscanf on string end    [#12775] Possible Bug in sscanf on string end
# Line 8  Line 41 
41    
42  * Other changes:  * Other changes:
43    
44    - The INTERRUPT() macro has been deprecated, and it will be    [patch #3750] Allow passing user data to stdio fdevopen() get and
45      removed in a future version.  Use __attribute__((interrupt))                  put methods.  (This is part of the API changes
46      explicitly if this functionality is really needed.                  mentioned above.)
   
47    [patch #3780] <assert.h> header    [patch #3780] <assert.h> header
48      [patch #3782] modernize <stdint.h>
49    [patch #3912] Fix ctype.S linker error due to asm branches out    [patch #3912] Fix ctype.S linker error due to asm branches out
50                  of range                  of range
   [patch #3782] modernize <stdint.h>  
51    [patch #4087] C99 conformal headers stdint.h and inttypes.h    [patch #4087] C99 conformal headers stdint.h and inttypes.h
52    
53    - Update the build system to recent versions of autoconf/automake;    - Update the build system to recent versions of autoconf/automake;

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26