Commit Graph

6133 Commits

Author SHA1 Message Date
shatty
f0b5e20620 GNU libiconv-1.9.1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:44:22 +00:00
shatty
fe738f96ca fix error in trace string
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:38:37 +00:00
shatty
bbeea88122 bail if error on seek
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:38:00 +00:00
shatty
0cb1c46a46 add header protection, and two posix compliant prototypes that are provided by R5 libroot.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:37:08 +00:00
shatty
d3c943d4fd better look, and names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 06:23:35 +00:00
shatty
519a8c18dc character set support moved to textencoding
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:38:52 +00:00
shatty
81d54f9a85 moved character set and text encoding related files to current/src/kits/textencoding
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:30:34 +00:00
shatty
e5692b384e MOVED:
---------------------------------------------------------------------------
  RCS file: /cvsroot/open-beos/current/src/kits/support/utf8_conversions.cpp,v
  Working file: utf8_conversions.cpp
  head: 1.8
  branch:
  locks: strict
  access list:
  symbolic names:
  keyword substitution: kv
  total revisions: 8;     selected revisions: 8
  description:
  ----------------------------
  revision 1.8
  date: 2003/08/13 05:38:07;  author: shatty;  state: Exp;  lines: +24 -4
  refine the error handling behavior.  note: we depart from the bebook specification for returning B_ERROR when no characters are converted.  we do this in exactly one situation: when there are no bytes in the input.  this behavior is the behavior given by the R5 libs themselves.  not having this behavior caused an error in our stylededit as well.  stylededit has been fixed to not exercise this functionality.  also added in the two most popular chinese encodings for my own evil purposes.  GB18030 support is required to legally sell an operating system in mainland china as well.  GB18030 support encompasses GBK and GB2312, additionally.
  ----------------------------
  revision 1.7
  date: 2003/08/02 09:01:13;  author: shatty;  state: Exp;  lines: +1 -1
  no const for now
  ----------------------------
  revision 1.6
  date: 2003/07/31 07:34:30;  author: shatty;  state: Exp;  lines: +0 -1
  dunno when beos changes the state, but it seems to leave at 0 for a while so I am going to have it be consistent that way
  ----------------------------
  revision 1.5
  date: 2003/07/31 07:18:15;  author: shatty;  state: Exp;  lines: +0 -3
  remove debugging print things
  ----------------------------
  revision 1.4
  date: 2003/07/31 07:17:30;  author: shatty;  state: Exp;  lines: +35 -30
  new and better working implementations for conversion functions, including better abstraction
  ----------------------------
  revision 1.3
  date: 2003/07/31 04:57:37;  author: shatty;  state: Exp;  lines: +6 -2
  added iconv_close to free resources and made a new input_buffer_t typedef to ease switching iconv implementations
  ----------------------------
  revision 1.2
  date: 2003/07/31 00:04:53;  author: shatty;  state: Exp;  lines: +43 -4
  written to use iconv.h
  ----------------------------
  revision 1.1
  date: 2003/07/26 21:28:02;  author: shatty;  state: Exp;
  utf8 conversions file with stub implementations of convert_to_utf8 and convert_from_utf8


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:28:29 +00:00
shatty
9f0ebaadc9 MOVED:
---------------------------------------------------------------------------
  RCS file: /cvsroot/open-beos/current/src/kits/support/CharacterSetRoster.cpp,v
  Working file: CharacterSetRoster.cpp
  head: 1.3
  branch:
  locks: strict
  access list:
  symbolic names:
  keyword substitution: kv
  total revisions: 3;     selected revisions: 3
  description:
  ----------------------------
  revision 1.3
  date: 2003/08/13 10:12:46;  author: shatty;  state: Exp;  lines: +9 -0
  error protection for Get functions
  ----------------------------
  revision 1.2
  date: 2003/07/27 22:06:27;  author: shatty;  state: Exp;  lines: +4 -0
  added checking again MIME name
  ----------------------------
  revision 1.1
  date: 2003/07/26 21:26:36;  author: shatty;  state: Exp;
  add character set support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:23:33 +00:00
shatty
99ff9094c7 MOVED:
---------------------------------------------------------------------------
  RCS file: /cvsroot/open-beos/current/src/kits/support/CharacterSet.cpp,v
  Working file: CharacterSet.cpp
  head: 1.3
  branch:
  locks: strict
  access list:
  symbolic names:
  keyword substitution: kv
  total revisions: 3;     selected revisions: 3
  description:
  ----------------------------
  revision 1.3
  date: 2003/07/27 01:34:30;  author: shatty;  state: Exp;  lines: +11 -0
  added default constructor, which just happens to init to UTF-8.  do not count on this feature. :-)
  ----------------------------
  revision 1.2
  date: 2003/07/27 00:58:01;  author: shatty;  state: Exp;  lines: +4 -2
  added all the remaining R5 text encodings
  ----------------------------
  revision 1.1
  date: 2003/07/26 21:26:36;  author: shatty;  state: Exp;
  add character set support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:22:14 +00:00
shatty
aa19d24552 MOVED:
---------------------------------------------------------------------------
  RCS file: /cvsroot/open-beos/current/src/kits/support/character_sets.cpp,v
  Working file: character_sets.cpp
  head: 1.4
  branch:
  locks: strict
  access list:
  symbolic names:
  keyword substitution: kv
  total revisions: 4;     selected revisions: 4
  description:
  ----------------------------
  revision 1.4
  date: 2003/08/13 05:38:07;  author: shatty;  state: Exp;  lines: +9 -0
  refine the error handling behavior.  note: we depart from the bebook specification for returning B_ERROR when no characters are converted.  we do this in exactly one situation: when there are no bytes in the input.  this behavior is the behavior given by the R5 libs themselves.  not having this behavior caused an error in our stylededit as well.  stylededit has been fixed to not exercise this functionality.  also added in the two most popular chinese encodings for my own evil purposes.  GB18030 support is required to legally sell an operating system in mainland china as well.  GB18030 support encompasses GBK and GB2312, additionally.
  ----------------------------
  revision 1.3
  date: 2003/07/31 04:56:56;  author: shatty;  state: Exp;  lines: +4 -6
  fixed the 14th encoding, which is not FIXED japanese but rather JIS0208, yay!
  ----------------------------
  revision 1.2
  date: 2003/07/27 00:58:01;  author: shatty;  state: Exp;  lines: +105 -370
  added all the remaining R5 text encodings
  ----------------------------
  revision 1.1
  date: 2003/07/26 21:27:13;  author: shatty;  state: Exp;
  initialize global character set array


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:20:46 +00:00
shatty
e01bf9460e MOVED:
-----------------------------------------------------------------------------
  RCS file: /cvsroot/open-beos/current/src/kits/support/character_sets.h,v
  Working file: character_sets.h
  head: 1.1
  branch:
  locks: strict
  access list:
  symbolic names:
  keyword substitution: kv
  total revisions: 1;	selected revisions: 1
  description:
  ----------------------------
  revision 1.1
  date: 2003/07/26 21:27:13;  author: shatty;  state: Exp;
  initialize global character set array


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:18:51 +00:00
shatty
60178a5e1f IANA information on character sets
http://www.iana.org/assignments/character-sets


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:16:10 +00:00
shatty
119a05637a moved to current/headers/private/textencoding
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:10:23 +00:00
shatty
ca1cb6b20a MOVED:
-----------------------------------------------------------------------------
RCS file: /cvsroot/open-beos/current/headers/private/support/CharacterSetRoster.h,v
Working file: CharacterSetRoster.h
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;     selected revisions: 1
description:
----------------------------
revision 1.1
date: 2003/07/26 21:24:40;  author: shatty;  state: Exp;
yummy character set support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:09:19 +00:00
shatty
4243ebaafb MOVED:
=============================================================================
RCS file: /cvsroot/open-beos/current/headers/private/support/CharacterSet.h,v
Working file: CharacterSet.h
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
----------------------------
revision 1.2
date: 2003/07/27 01:35:41;  author: shatty;  state: Exp;  lines: +5 -1
added default constructor
----------------------------
revision 1.1
date: 2003/07/26 21:24:40;  author: shatty;  state: Exp;
yummy character set support
=============================================================================


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 03:04:16 +00:00
beveloper
1e078f747a bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 02:09:31 +00:00
beveloper
b0763800c1 removed a little debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 00:44:45 +00:00
Axel Dörfler
3c45d8cea9 Forgot to commit SYSLOG_FACILITY_INDEX() macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 00:20:40 +00:00
shatty
bde0ae2e7d change media types to be IANA compliant
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 15:55:56 +00:00
shatty
7e0c41c168 partial SoundFile implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 08:57:50 +00:00
shatty
ae0ab690bd add two pointers, remove 2 reserved uint32s
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 08:57:10 +00:00
Stefano Ceccherini
37a821f6cf BOptionPopUp and its abstract class BOptionControl, completed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 07:19:42 +00:00
shatty
4c651e5469 duplicate R5 MediaPlayer window size, cascade behavior, icon
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 05:25:50 +00:00
shatty
62ff9a1839 add mediaplayer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 05:06:35 +00:00
shatty
295e62da9e shell
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 05:05:15 +00:00
shatty
0fa2f27a04 beginning basics for MediaPlayer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 03:09:42 +00:00
shatty
33ae6686c2 use OBOS String please
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 02:44:42 +00:00
Axel Dörfler
462e4bb4fa That restriction was superfluous.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 02:29:27 +00:00
Axel Dörfler
caeef6fada Fixed the broken use of read_request::PutBuffer() - the team's address space
is now honoured: the shortcut is now only made if it's okay to do it. Added
a comment what we could do to further improve performance.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 02:27:22 +00:00
Rudolf Cornelissen
cba34fecc4 fixed cloning accelerant
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 20:24:19 +00:00
Axel Dörfler
6994475d83 Added a comment about a stupidity I did with pipefs - I seem to have completely
forgotten about different address spaces with direct (unbuffered) pipe transfer,
shame on me.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 15:27:24 +00:00
shatty
5d71fdcbf3 added #include <StorageDefs.h> to fix missing B_READ_ONLY
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 13:09:29 +00:00
shatty
8bd1429511 the unimplemented printout was driving me crazy, so here they are: media_encode_info and media_decode_info struct initializers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 12:23:00 +00:00
shatty
f339b6e0b5 clean vorbis seek requires discarding pending samples from the dsp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 12:19:37 +00:00
shatty
7bbf8af761 clean ogg seeking. goes to next ogg page start.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 11:48:38 +00:00
shatty
07e5dd5b93 ogg_sync_reset is better than ogg_sync_clear
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 07:21:33 +00:00
shatty
e6fb4d8f4d yay for fake seeking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 06:44:25 +00:00
shatty
c68b568d9b capture BPositionIO if available. use it to compute a duration estimate. [estimate only for right now]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 04:34:26 +00:00
shatty
8f54fc7b8a remove unused fields
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 04:33:43 +00:00
shatty
b52b0133da handle B_LAST_BUFFER_ERROR from GetNextChunk. properly return a non-full buffer if we got anything decoded. if the buffer has no data, set framecount to zero, and return B_LAST_BUFFER_ERROR.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 01:34:42 +00:00
shatty
a6eabaff96 remove tight loop in GetPage, and return B_LAST_BUFFER_ERROR properly from GetNextChunk instead
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 01:15:58 +00:00
beveloper
356784062c to aid decoder debugging
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 00:32:41 +00:00
shatty
819b668c92 optimizations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 00:04:54 +00:00
shatty
efbf8d83ed sounds good :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 23:43:18 +00:00
shatty
a2b3fc7c80 new Decode implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 23:00:38 +00:00
beveloper
272d533500 starting avi reader...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 14:52:59 +00:00
beveloper
bb1d6ef247 raw decoder supports many samples types now, and support for them
has been added to the file readers, you can now play 24 bit integer
or 64 bit floating point files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 14:51:14 +00:00
beveloper
cf706dc774 fixed lockup with 8 channel (or more) soundfiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 14:45:57 +00:00
Waldemar Kornewald
8dad9b1eb2 Added modem driver (completely untested, currently no support for settings speed because modem API is missing).
Some minor changes.
Added TODO file to almost all modules.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 14:27:55 +00:00