1226 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
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
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
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
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
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
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
3a9ada71c5 seek back to start position
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 00:30:57 +00:00
mahlzeit
20d32b2c37 There was a conflict on the CVS server between MoreUTF8.h (an old file)
and moreUTF8.h, so they were removed by the nice people at SourceForge.
I am adding the good file back.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-23 14:07:33 +00:00
beveloper
b1a94814dd fixed a couple of issues with id3attr
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-23 00:56:35 +00:00
shatty
f7f27fcb79 implement be_synth behavior for BSynth. behavior taken from bebook specification and R5 testing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 23:23:27 +00:00
Stefano Ceccherini
53b9eef827 Implemented AboutRequested(), reorganized a bit the connection to app server, added a call to _init_interface_kit_()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-19 07:19:14 +00:00
Stefano Ceccherini
8f62ceb96f Started implementing _init_interface_kit_(). WidthBuffer initialization is commented until I move its header to an accessible place
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-19 07:17:19 +00:00
Stefano Ceccherini
008cfb1db2 WidthBuffer complete,
Changed some methods name,
reordered class members in TextViewSupportBuffer.h, now they are in the same order
OpenTracker says


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-17 07:48:58 +00:00
beveloper
046f31f91f update to the codec api, docoder assignment is now handled in the server
multiple reader add-ons are probed to recognize a media file
FormatManager does the translation from media_format to media_description


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-14 19:23:16 +00:00
DarkWyrm
56262fb483 Implemented a few functions, added some documentation and some TODO reminders
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-11 21:54:14 +00:00
DarkWyrm
ef94fcd875 A couple bugfixes, some comment tweaks, and PortLink conversion for a couple functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-11 14:49:56 +00:00
beveloper
933a883015 Should provide better compatiblity with SoundPlay 4.8 (but SoundPlay does crash)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-08 23:16:43 +00:00
beveloper
8d52474bc7 a couple of fixes to the error handling code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-08 22:16:03 +00:00
Jérôme Duval
fc8b28b6e1 Implemented GetStartLatency
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-08 08:45:09 +00:00
DarkWyrm
5936e65050 Converted a lot of BSession use to PortLink where streamed messaging is not appropriate
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 23:24:12 +00:00
DarkWyrm
21c49a5cf3 Replaced _view_attr_ struct with a comparable ViewAttr class - removes a crash
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 22:08:45 +00:00
beveloper
2d923d67f0 fixed playback of small files by properly returning errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 21:50:36 +00:00
beveloper
2c24a8d065 integration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 21:09:06 +00:00
beveloper
4ba72fcdb4 fixed some bugs in raw wav reading
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 14:50:50 +00:00
DarkWyrm
60c2633d9f Removed use of BSession in constructor - conversion to using a BAppServerLink.
BSession streams are not meant for this kind of use


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 05:39:39 +00:00
beveloper
2530523976 codec output format negotiation has been moved into NegotiateOutputFormat,
Setup is now only called once


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 23:21:23 +00:00
beveloper
abf9e66abe fixed timing information returned in media_header
added GetFileFormatInfo to reader api


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 20:32:40 +00:00
beveloper
1b1b7ddf8f remove warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:26:08 +00:00
beveloper
d23c804c82 bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:11:01 +00:00
beveloper
4cbbc5a9ec small cleanup, format type and encoding depends on the description
and is set by the media kit, not by the reader


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 23:46:53 +00:00
beveloper
ac800e9cd8 fixed BMediaTrack::EncodedFormat(), BeOS MediaPlayer now recognizes the tracks!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 23:23:18 +00:00
beveloper
c90d275292 fixed crash in BMediaFile destructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 22:27:17 +00:00
beveloper
d0b86c0f31 mp3 decoding and seeking works now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 22:11:52 +00:00
Jérôme Duval
b65a0ac50e fixes GetFreeOutputs/Inputs and GetConnectedOutputs/Inputs (cortex now reports correctly the connections with the mixer)
implements GetInitialLatency (untested)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 09:16:11 +00:00
beveloper
1210ab70ac Huge hack to load the mp3 reader and decoder.
Soundplay loads it and can play a crackling mp3, but MediaPlayer doesn't


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 01:18:51 +00:00
Stefano Ceccherini
356acd7d45 Fixed artifacts when highlighing text, added Hiroshi Lockheimer to the authors list (BTextView is based on his SteEngine), reformatted the code some more to comply with our guidelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 14:19:30 +00:00
Ingo Weinhold
8c470cd758 Made use of the new parameter of *SymLink and adjusted dependencies where
necessary.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-02 22:05:41 +00:00
beveloper
0f741a83c1 more codec api enhancements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-01 23:33:35 +00:00
beveloper
572e60a481 some more changes, no longer using BMediaFormats
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-01 22:20:59 +00:00
beveloper
f2f3482e7b implemented media_format_description
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-29 14:28:54 +00:00
beveloper
da87cefeb1 added the new media_meta_description and changed codec API to use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-28 22:34:14 +00:00
Jérôme Duval
0a8e9c766a To clear the current entry_ref
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-25 10:09:36 +00:00
beveloper
7a115dc75d integrating codec API, added some MediaExtractor functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 23:50:27 +00:00