741 Commits

Author SHA1 Message Date
haydentech
a91e36bf1b Fix null statement and remove an unused variable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 19:45:47 +00:00
haydentech
d8ad69ebf2 Minor cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 19:43:31 +00:00
haydentech
a6e9b97ba4 Remove unused variable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 19:42:05 +00:00
haydentech
8e449e70e9 Eliminate one warning and one bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 19:41:08 +00:00
Stefano Ceccherini
bf6e990eb6 Added UndoBuffer.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 09:17:10 +00:00
Marc Flerackers
b140f1de88 Some more work on TextView by Jack Burton and me, Undo partially works now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 08:45:34 +00:00
Adi Oanca
072a83e4b9 changed to avoid some compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 21:27:18 +00:00
Adi Oanca
46eecea483 added scripting support - stil needs some work, and others...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 21:26:10 +00:00
beveloper
d48f9c63eb reduce debug output at level 2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 00:55:32 +00:00
DarkWyrm
aa9ab91978 Forgot to check this in - properly build with ClientFontList sources added in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 21:55:48 +00:00
DarkWyrm
edd19f3d5c Removed a few compiler warnings
Added app-side support for font list
Added mostly-empty global font functions and documented them


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 17:08:34 +00:00
DarkWyrm
bd3f48e8bf Patch submitted by Jack Burton
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 14:12:53 +00:00
DarkWyrm
0bc9048607 Added BSession to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 18:53:05 +00:00
Adi Oanca
bf17b6ac95 Modified to use the new BSession class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:34:24 +00:00
Adi Oanca
b56bbfdf4e WELL... here you go: from 5% to more than 95% !!!!!! :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:33:22 +00:00
Adi Oanca
2eaa0ee692 New communication class that will be used by app_server - BWindow/BView ... later, maybe by every class!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:32:04 +00:00
Adi Oanca
ae1338ef78 New PortLink implementation based on BSession
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:30:24 +00:00
beveloper
d91580cd9a removed/fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 02:18:11 +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
ejakowatz
80a4aa919d Fixed compile errors; references to BFont* when should have been BFont&
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:33:17 +00:00
ejakowatz
0784fd8bde Fixed bugs in (un)flattening code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:32:22 +00:00
Stefano Ceccherini
ba92606354 Fixed SetRunArray(). It was callign StyleBuffer::SetStyleRange() with a BFont** pointer instead of a BFont* one (that fix is by Marc Flerackers, as the whole class, BTW :)). Refactored CharClassification(), also added some more separator characters. Also foreign characters should be added here (Andrew?). Fixed [Allow][Disallow]Chars(). Fixed a linking issue when we don't link to libbe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 09:29:25 +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
shatty
d3fdd732fa fix the "extra bytes at the end" bug that happens when the existing file has more bytes than the new file. I chose to SetSize(textLength) after Write instead of SetSize(0) before the Write because there is less of a chance of complete data loss if the Write fails somehow. right? (write?) :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-27 01:33:17 +00:00
Ingo Weinhold
66abd4d0a6 Fixed a few warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 21:36:38 +00:00
Ingo Weinhold
9f01bd9197 send_message(): B_ANY_TOKEN -> B_PREFERRED_TOKEN. That's the right one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 15:29:11 +00:00
Ingo Weinhold
d4d9f7015a flatten_hdr() checks the reply handler token for B_NULL_TOKEN, so it's not wise to use exactly that one as dummy for sending synchronous messages.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 15:07:06 +00:00
ejakowatz
0ab25acded Fixed bug with fBody not being properly initialized on construction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 04:47:51 +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
shatty
323ddd5728 update from jack burton
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-08 09:55:12 +00:00
shatty
9fdfaac6f3 unix linefeeds
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-08 09:53:59 +00:00
Tyler Dauwalder
417b2882c9 No reason for err to be an ssize_t in this function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:41:18 +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
shadow303
72f334d12f gcc 3 fixes; strip ^M characters from TextView.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:42:51 +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
Ingo Weinhold
a2a6c4bdd7 Moved and documented compare_string().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:01:57 +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
Ingo Weinhold
eceac61bcb Implemented disk device job iteration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 17:53:11 +00:00