Jérôme Duval
0d0f1600ef
fixes forwards of BMessages
...
iroster now works successfully
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 11:47:55 +00:00
Matthew Wilber
a4821468d6
Moved FuncTranslator.h to private headers, moved #include <FuncTranslator.h> from TranslatorRoster.h to TranslatorRoster.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 14:38:18 +00:00
Jérôme Duval
20776cc6cf
fix : status wasn't taken into account
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 23:24:16 +00:00
Stefano Ceccherini
e005dc757f
Simplified the code for input method highlighting. This had the nice side effect of fixing the multi line highlighting bug.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 17:43:56 +00:00
Jérôme Duval
dc8a124397
added ListItem.cpp and ListView.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:54:44 +00:00
Adi Oanca
7b76dd8073
mouse & keyboard messages now use the full power of application_kit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:32:32 +00:00
Adi Oanca
fde1c7aa30
Sorry I did not know about BMessage::Private::SetTarget()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:23:36 +00:00
Adi Oanca
ecb03027eb
implemented _set_message_target_()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:41:12 +00:00
DarkWyrm
61d65d37ea
GetMouse works properly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:38:24 +00:00
DarkWyrm
6b3838e6f1
Tweaks to GetStringWidth()'s server protocol
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 20:09:11 +00:00
Matthew Wilber
dfb8c585c6
Updated with new Translation Kit version macro names.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:22:17 +00:00
Stefano Ceccherini
f6fd4d6a70
Added bitmaps for the horizontal and vertical thumbs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 09:43:21 +00:00
Adi Oanca
79c8040e93
BView::MouseUp/KeyDown/KeyUp() hook methods are called for the BView for which the action takes place
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 22:46:58 +00:00
Adi Oanca
0e835651a5
BView::MouseDown() finally gets called
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 21:41:09 +00:00
Stefano Ceccherini
859c5ac301
Implemented Archive() and unarchiving constructor. Removed bad linefeeds.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 15:50:41 +00:00
Stefano Ceccherini
8f8871f95b
Use definitions from WindowPrivate.h and InputServerTypes.h instead of redefining them.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 07:36:27 +00:00
Axel Dörfler
b38c9e18bf
Now uses the new B_STAT_* constants rather than the one from fs_interface.h
...
(which will be removed soon).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 03:37:20 +00:00
Axel Dörfler
2ee2b3d742
umask is negated before it's applied, so S_IUMSK wouldn't quite do what you'd
...
expect from it. Changed to the default 022.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 15:34:10 +00:00
Ingo Weinhold
c02a7b0dcb
Fixed build of libbeadapter.so and libopenbeos.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 13:40:19 +00:00
Ingo Weinhold
102267997c
Vertical() can be const and should be, when invoked on a const instance.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 13:33:34 +00:00
Stefano Ceccherini
fd873802ab
Implemented some more BChannelControl methods. It's almost fully functional. BChannelSlider won't crash if ThumbFor() returns NULL.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 09:34:06 +00:00
Axel Dörfler
3af4214aeb
_kern_open[_entry_ref]() now replaces the _kern_create[_entry_ref]() calls.
...
That allows BFile to actually create files (it didn't use that syscall at
all before).
Also fixed setting the permission bits of the newly created file depending on umask
(the __gUmask variable should probably be moved into a separate header).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:26:47 +00:00
Axel Dörfler
bee723280c
fill_argv_message() now takes a reference as parameter.
...
Also fixed BApplication::do_argv() which didn't NULL terminate the array
as it should have done, and would call ArgvReceived() with argc == 0 and
a NULL parameter for argv.
Removed strange trailing spaces at the end of the lines for those two functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 04:40:11 +00:00
Stefano Ceccherini
422c07914d
Applied our style guide as someone (cough! *** Axel *** cough!) bugged me (correctly) about it :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 14:29:06 +00:00
Stefano Ceccherini
976f53a988
Fixed warnings. Maximum initial values are 100 (One should always print values in decimal, not hex). Implemented GetSupportedSuites().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 13:16:22 +00:00
Stefano Ceccherini
1c3a6ab025
Implemented a couple of methods. Most are tested, even if not thoroughly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 07:42:07 +00:00
Matthew Wilber
6fb0eac31e
Fixed horizontal button spacing issues and window size issues when in the B_OFFSET_SPACING mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 03:33:54 +00:00
Ingo Weinhold
1a2f24bbbb
Made some debug output debug conditional.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:46:38 +00:00
Matthew Wilber
6c8068247a
Fixed button size and placement issues with the B_WIDTH_FROM_WIDEST mode, refactored code using OpenTracker style.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 23:31:36 +00:00
Matthew Wilber
68bf78e015
Removed beep when Go() is called because Be's version doesn't beep, fixed button sizes in B_WIDTH_FROM_LABEL mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 20:47:37 +00:00
Matthew Wilber
9d9ef27273
Changed buttons and TextView back to being children of the MasterView so that the Archive() BMessage matches Be's version. Changed when MasterView is added as child of the Alert window to fix the "out-of-alignment" issue.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 19:12:01 +00:00
Ingo Weinhold
09b770dd50
* Added Dump() to BMessage::Header for debugging purposes.
...
* In BMessage::Header::ReadFrom(DataIO &) the checksum was checked before
the fBodySize field was initialized, which could make
BMessage::Unflatten() fail.
* Calculate the header checksum now by writing the header to a buffer and
checksumming that. This is simpler and avoids problems when something
else is written than is actually stored in the header (e.g. when a
preferred target token is replaced by B_PREFERRED_TOKEN).
While the BMessage unit tests always passed, now the other App Kit tests
pass as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:43:44 +00:00
Ingo Weinhold
94b98dff1a
Consequently use B_{NULL,PREFERRED}_TOKEN to prevent problems with BMessage code checking against B_NULL_TOKEN.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:36:20 +00:00
Ingo Weinhold
01225b393d
Disabled debugging. Was accidentally committed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:33:20 +00:00
Matthew Wilber
d35fa55790
Fixed drawing and placement of buttons on Alert box.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:32:26 +00:00
Ingo Weinhold
efbea3a07a
Moved the functionality to flatten and unflatten a BMessage header into
...
a separate class. This allowed to improve _SendFlattenedMessage() to
deal properly with flattened BMessages as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 00:19:50 +00:00
Ingo Weinhold
534ef684d9
Turned _init_message_(), _delete_message_(), and _clean_msg_cache_() into
...
proper private static BMessage members and made them accessible through
BMessage::Private. Got rid of unused _reconstruct_message_().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 15:05:44 +00:00
Ingo Weinhold
9d0a9900f0
* Updated copyright date and added myself to the authors. :-)
...
* Removed 1500 lines of unused non-template-madness code. We have version
control to resurrect it, if we ever wish to.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 14:50:01 +00:00
Ingo Weinhold
c452fa675f
Argh! Forgot to commit. Added KMessage to libbe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:11:02 +00:00
Ingo Weinhold
377872556d
* Added support for unflatting from flattened KMessages. At least when
...
a buffer is given.
* Added method for sending flattened messages. The KMessage support is
complete, but for BMessages this is a bit tricky. We currently unflatten
the BMessages and send those.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:16:44 +00:00
Axel Dörfler
acfb502dcf
Added _kern_get_safemode_option(). Probably this file should be moved out
...
of the storage camp, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 22:01:41 +00:00
Nathan Whitehorn
71f0d1ebbe
Fixed a bug that would cause bogus Message-IDs on BONE systems. It seems that our utsname structure is 8 times larger than BONE's, so all the offsets are screwed up when you try to link our headers against BONE libraries. If we're really aiming for BONE compatibility in our network stack, perhaps this should be changed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 18:32:29 +00:00
Ingo Weinhold
5ac1156848
Replaced _init_roster_() _delete_roster_() by static functions in BRoster::Private.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:20:11 +00:00
Ingo Weinhold
4b8aafea9f
BMessenger has no friends besides Private anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 14:46:28 +00:00
Ingo Weinhold
4afc60d31b
* Turned the private constructor into a SetTo().
...
* The < operator uses BMessenger::Private now (it's no longer a friend).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 14:45:14 +00:00
Matthew Wilber
b28c58d13d
Fixed "HButton" typos
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 22:41:23 +00:00
Matthew Wilber
76f106fb04
Removed duplicate code in drawing functions, fixed drawing of text when button is default, fixed drawing of text when button is disabled.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 17:18:01 +00:00
Matthew Wilber
33413e498b
Fixed focus line drawing to draw the white underline and to not draw the focus line if the window containing the button is not active.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 15:46:43 +00:00
Ingo Weinhold
365eee4a8b
Don't include uname() when being built for Haiku. Actually the whole
...
file should not be included, but if simply left out, linking libnet will
fail, complaining about a missing _h_errnop().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:58:32 +00:00
Ingo Weinhold
78b31a7c44
Removed unnecessary definition. Added debug macros.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:44:49 +00:00