Axel Dörfler
ba8e3cf1e4
Now exports B_EMPTY_STRING - maybe there is a better place for it, like
...
SupportDefs.cpp. Feel free to move it to a better place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 12:50:22 +00:00
Axel Dörfler
63b2f72c39
Added missing beep functions - they are not yet implemented, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 20:33:29 +00:00
Axel Dörfler
47550b1e72
swap_data() now checks its argument before it decides if there is anything to
...
do at all; it will now also return B_BAD_VALUE for types where it doesn't need
to do anything (i.e. 8 bit types).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 18:23:00 +00:00
Axel Dörfler
2397827a6f
Implemented swap_data() and is_type_swapped() - tests follow soon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 14:40:07 +00:00
Stefano Ceccherini
20b628d310
Some cleanups for BStopWatch. Added the check for B_INTERRUPTED to the semaphore acquisition in BLocker
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 08:10:36 +00:00
DarkWyrm
76441bab6e
Add header
...
Minor tweaks to BClipboard
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 16:23:58 +00:00
Axel Dörfler
cd58ac9968
Minitiure optimizations for BString: eliminated a superfluous variable,
...
and removed the "newData" calculation, since "dataLen" already contained
the same value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 04:06:44 +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
Stefano Ceccherini
5480b4590e
Another patch from Oliver Tappe: BString behaves better when the user supplies out-of bounds values in Insert(), Remove(), etc.
...
Code is refactored, and it fully complies with our guidelines.
Tests have been updated too (hint: try the replace tests with R5 and our implementation...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 07:35:16 +00:00
beveloper
16ce982290
better handling of low memory situations inside constructor
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 19:47:29 +00:00
Ingo Weinhold
340eed61d6
Moved definition of _FreeBlock to the source file and enabled its "magic{1,2}" fields on debug only.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 12:04:24 +00:00
Ingo Weinhold
1facca2109
Added BBlockCache to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 11:57:32 +00:00
Ingo Weinhold
369eef1343
Check in per Jeremy Rand: Adjusted implementation to behave like that in R5 -- no more tracking of excess blocks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 11:55:25 +00:00
haydentech
6cb536dd5b
malloc.h is obsolete, use stdlib.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 19:57:56 +00:00
beveloper
a54e42d79a
removed debugger call,
...
added name to BLocker
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 23:47:55 +00:00
beveloper
b93355ab58
it was missing these two functions...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 01:28:00 +00:00
beveloper
6ecb8ce9a0
removed stupid type cast
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 01:19:01 +00:00
beveloper
ad159f4343
cleaned up meaning of first constructor parameter
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 00:54:54 +00:00
beveloper
188ad70f3d
Replaced the broken BBufferCache implementation.
...
According to the BeBook, it is NOT allowed to allocate one large
pool, instead the memory blocks must be allocated individually.
To achieve O(1) for both Save() and Get() function, only one list
of free blocks is maintained.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 00:25:56 +00:00
Ingo Weinhold
7c4d270b25
Check in per Jack Burton: Fixed invalid delete[] in destructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-27 12:03:50 +00:00
ejakowatz
e9e500cb9e
Minor tweak to BHandler::UnlockLooper()
...
Added calls to _init_message_(), _delete_message_(), and
_msg_cache_cleanup() to InitTerminateLibBe.cpp
Finished first implementation of BMessage::SendReply(), BMessage::_send_(),
and BMessage::_send_message()
Add BMessage to app.src, removed BBlockCache from support.src.
New BMessage::Private class has functions for twiddling BMessage internals
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 07:55:52 +00:00
shatty
884d2b83a6
error protection for Get functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-13 10:12:46 +00:00
shatty
5b7ea503a7
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.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-13 05:38:07 +00:00
shadow303
17e6de7a37
gcc 3 fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:46:53 +00:00
shatty
28f10fcaac
no const for now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 09:01:13 +00:00
shatty
fb2e95f496
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
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:34:30 +00:00
shatty
d4d7d73937
remove debugging print things
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:18:15 +00:00
shatty
9c5fdc6c2a
new and better working implementations for conversion functions, including better abstraction
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:17:30 +00:00
shatty
5f410263f9
added iconv_close to free resources and made a new input_buffer_t typedef to ease switching iconv implementations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 04:57:37 +00:00
shatty
ec4fc3af6a
fixed the 14th encoding, which is not FIXED japanese but rather JIS0208, yay!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 04:56:56 +00:00
shatty
1e4b516951
need libiconv.so for new libtextencodings.so to work
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 00:57:59 +00:00
shatty
b9de54c8ef
written to use iconv.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 00:04:53 +00:00
shatty
fdab93a590
added checking again MIME name
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 22:06:27 +00:00
shatty
312e206dd3
IANA information on character sets
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 04:26:43 +00:00
shatty
172722fe52
added default constructor, which just happens to init to UTF-8. do not count on this feature. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 01:34:30 +00:00
shatty
dbfb944d44
added all the remaining R5 text encodings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 00:58:01 +00:00
shatty
a4b6e788fc
build libtextencoding.so with new stubs and character set support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 21:28:35 +00:00
shatty
4e7a2f6c8b
utf8 conversions file with stub implementations of convert_to_utf8 and convert_from_utf8
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 21:28:02 +00:00
shatty
2534c14ea1
initialize global character set array
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 21:27:13 +00:00
shatty
05c932b5ac
add character set support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 21:26:36 +00:00
shadow303
ac3bb782a8
gcc 3 fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 21:11:20 +00:00
haydentech
d2a9d5e5fe
Namespace- and gcc3-related fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 18:34:34 +00:00
ejakowatz
2a5153718e
Minor tweaks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:55:32 +00:00
ejakowatz
9abc4d2dcd
Added params for specifying whether to copy the buffer on construction.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:07:30 +00:00
ejakowatz
b1055b4c2d
This is all the code for the backing store for BMessage (BMessageBody &
...
BMessageField) for the "template madness" version. Also included is
BDataBuffer which is a little reference counting raw data container.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 07:58:17 +00:00
Ingo Weinhold
5c905a2f6a
Added missing newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 20:11:18 +00:00
Ingo Weinhold
7319572398
Re-added BString to the built.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 20:10:14 +00:00
Ingo Weinhold
bd68efa667
Removed BString from the build. It is broken.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:14:08 +00:00
Stefano Ceccherini
1783edd55c
Added a big patch from Oliver Tappe. BString now is much faster when it has to deal with very long strings. Thanks Oliver. Fixed the (in)famous LockBuffer(0)->UnlockBuffer(-1) R5 bug.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:16:18 +00:00
Stefano Ceccherini
2d4125b748
this should be the definitive (excluded bugfixes) implementation of BBufferIO. Buffered write should work fine, as buffered read did.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 16:40:56 +00:00
Stefano Ceccherini
51ee67dc8f
Fixed an obvious bug, simplified a bit the code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 12:32:09 +00:00
Stefano Ceccherini
089f7debba
Implemented buffered read in BBufferIO class, and added it to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 12:17:41 +00:00
Stefano Ceccherini
a8dee23ea0
A fix for a Replace function, some checks which makes the code
...
more robust, some style changes, some more comments.
Started to document the class with Doxygen comments.
(I made too many changes to keep the file local :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 10:19:56 +00:00
Stefano Ceccherini
005069f4e1
Changed a "" include to a <> one. Some cosmetic changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 11:14:33 +00:00
François Revol
a3d1f07f83
Fix by Jack Burton
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 16:30:39 +00:00
Stefano Ceccherini
d19f7b5dad
Fixed the behaviour of DoForEach() functions (from Isaac Yonemoto implementation)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 13:02:00 +00:00
Stefano Ceccherini
9c81f09d9f
Implemented some missing functions (MoveItems is still lacking), added the copyright header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 14:25:05 +00:00
Stefano Ceccherini
a42a3ab57f
A skeleton for the BBufferIO class.
...
(Since we have a header, I think we should also have an implementation...
;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 09:26:32 +00:00
ejakowatz
d546b00e22
Undid the oh-so-1337 utf_char_len "optimization" (which is not only slower,
...
but doesn't handle invalid UTF-8 strings correctly) in CountChars().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 03:47:48 +00:00
ejakowatz
202ed890a9
Some bug fixing on BString and it's unit tests. Should now pass all
...
current tests! Now included in the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 03:36:17 +00:00
Stefano Ceccherini
5f6935dc8c
Fixed the build again. It seems that BGA Utf8_char_lenght() function really works :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 19:14:08 +00:00
ejakowatz
8f1a4e7f89
Implemented BGA's UTF-8 char len suggestion in UTF8.h and used it in
...
BString::CountChars().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 08:06:18 +00:00
Stefano Ceccherini
e0db3523fc
Some style changes, some bugfixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-11 11:08:11 +00:00
Stefano Ceccherini
bff4272dd4
Fixed ReplaceSet().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 11:51:18 +00:00
Stefano Ceccherini
8d10618461
Some cleanups (more to come)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 14:04:06 +00:00
Stefano Ceccherini
82e052e5a3
Fixed BString so it passes all the committed tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 18:05:06 +00:00
Stefano Ceccherini
f68e12e5ed
Tests are a developer's best friends :)) Fixed an incorrect implementation of the private function _FindAfter.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 19:09:27 +00:00
Stefano Ceccherini
d5d5aec43b
Adding DataIO classes to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 09:26:56 +00:00
Stefano Ceccherini
ba3487e33a
Fixed a typing bug to make it compile again
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:42:46 +00:00
Stefano Ceccherini
e0060f3ff2
Implemented the last function (ReplaceSet()). Now it's just a matter
...
of doing tests for the remaining functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 15:01:32 +00:00
Stefano Ceccherini
5123fbe5e3
Added the correct file name to the copyright notice
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 09:15:42 +00:00
Stefano Ceccherini
c109ab72ae
Style changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 09:13:37 +00:00
Stefano Ceccherini
8109fda8d2
Some optimizations in FindFirst functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 12:28:50 +00:00
Stefano Ceccherini
eae06be465
Er... it seems I found some time to work on this :)))
...
Added the last two missing FindLast() functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-21 14:29:15 +00:00
Stefano Ceccherini
21b4758ca8
Some fixes, added the missing compare operators
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 19:31:05 +00:00
Stefano Ceccherini
73d1e1fe5e
Fixes for bugs exposed by the tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 08:11:10 +00:00
Stefano Ceccherini
9a125bf5e0
Some fixes, added the missing operator[], switched to BeOS debug macros,
...
Implemented the missing Replace functions. Just ReplaceSet is missing
(tests coming)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-11 15:08:38 +00:00
Stefano Ceccherini
294bea18c1
Removed a useless #include
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 13:49:16 +00:00
Stefano Ceccherini
979b68a75b
Fixed a stupid bug in BString::CharacterEscape() and committed the correct version of DataIO.cpp (the former was an incorrect version)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 12:51:25 +00:00
Stefano Ceccherini
fde69fce63
Fixed a bug which crashed the BResource tests (sorry Ingo)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 10:09:39 +00:00
Ingo Weinhold
5ecdf4706c
Removed DataIO.cpp from the build. BMallocIO is buggy and crashes BResources.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 15:57:04 +00:00
Stefano Ceccherini
a971d340bb
Added Escaping/Deescaping. Fixed a bug in Inserting methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 13:44:40 +00:00
Stefano Ceccherini
16444b3971
Added CapitalizeEachWord() (ugly implementation, maybe, but it works). This version passes all checked-in tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 23:06:19 +00:00
Stefano Ceccherini
d9e38b8715
More functions, more bug fixes.
...
Just Escaping/Deescaping and some Replacing functions missing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:39:09 +00:00
Stefano Ceccherini
53fd1e70a4
More BString functions. Constructors, CountChars() and operators "=" and "+=" are tested with cppunit and work fine.
...
Added string_helper.cpp and .h to compile String.cpp correctly. Those will be removed as soon as we have our working libc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 06:59:26 +00:00
Stefano Ceccherini
3e8f4f3d29
More bugs fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 16:28:11 +00:00
Stefano Ceccherini
39be953e7a
Fixed a stupid typing bug, implemented a pair of other functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 14:46:27 +00:00
Stefano Ceccherini
7c64b6d7d5
Implemented format-appending operators, more optimizations and bugfixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 06:53:49 +00:00
Stefano Ceccherini
c9ea158353
Write() Returns B_NO_MEMORY if it cant allocate memory
...
iVS: ----------------------------------------------------------------------
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 19:04:22 +00:00
Stefano Ceccherini
0c444b4265
Changed the way WriteAt() works, and fixed a small bug in SetSize()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 15:48:09 +00:00
Stefano Ceccherini
893d12fc2c
Lots of bug fixes and code semplification
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 21:02:00 +00:00
Stefano Ceccherini
bbe7fb5430
Removed a parenthesis which had jumped in involuntarily
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 12:02:28 +00:00
Stefano Ceccherini
c505627f53
Switch to c++ type casts, some cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 11:59:30 +00:00
Stefano Ceccherini
0155e3bd85
Some small optimizations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 10:32:08 +00:00
Stefano Ceccherini
b5e2aa3555
Revert to the correct support.src
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 13:02:22 +00:00
Stefano Ceccherini
2ffca36a92
Fixed a nasty bug in Append functions. A quick test with BeMamER shows that my BString implementation begin to work :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 12:58:31 +00:00
Ingo Weinhold
142126d657
Commented out BString, for it is buggy.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-15 21:00:04 +00:00
Stefano Ceccherini
070e067332
Some new methods (Removing), some bug fixes, some optimisations.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 12:27:22 +00:00
Stefano Ceccherini
8f86fcdc82
Some bug fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-10 13:38:43 +00:00
Stefano Ceccherini
7c830dc497
More functions and bug fixes, and lot of code from Marc Flerackers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 06:50:28 +00:00
ejakowatz
9a46cf2d9b
BMallocIO's implementation has been moved from MallocIO.cpp (which is being
...
left for the time being) to DataIO.cpp. Updated support.src to remove
MallocIO.cpp from the build list to prevent "already defined" errors.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-08 04:07:51 +00:00
Stefano Ceccherini
9a82280a11
Merged MallocIO.cpp with DataIO.cpp, some code refactoring,
...
and let a first, basic BString implementetation enter the game
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-06 07:14:43 +00:00
ejakowatz
9078d4766e
Added Jack Burton's DataIO-related stuff and cleaned things up a bit.
...
Several files managed to get left out of the build process; changes to
support.src fixed that.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 04:59:46 +00:00
ejakowatz
ff1ade6b3d
More tests and fixes for bugs exposed by them. Also removed spurious
...
instantiation of BRoster from BArchivable, line 323, as per Tyler's
mention. =)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 03:43:06 +00:00
ejakowatz
e75560e6cb
Initial checkin.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 04:56:14 +00:00
Ingo Weinhold
98602e0409
Adjusted to the new tree structure, though currently (?) not needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@19 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:41:59 +00:00
ejakowatz
52a3801208
It is accomplished ...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00