1070 Commits

Author SHA1 Message Date
Axel Dörfler
40467b5bd1 BPath does have a (BEntry *) constructor; there is no need for code duplication here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 19:27:20 +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
2f070ad2c1 Added missing constants from GraphicsDefs.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 16:09:13 +00:00
Axel Dörfler
3b36eca242 Added global const B_ORIGIN. Applied our coding style.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 15:24:10 +00:00
Axel Dörfler
cd437e5e2f Removed unneeded functions - we have those natively now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 14:42:40 +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
5a5aa2e3c5 Now it checks (on KeyDown()) if the entered charachter is allowed, and it doesn't insert (and beeps) if not.
More documentation,
some more cleanups,
started implementing input methods messages handling (but don't hold your breath)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 10:00:29 +00:00
mahlzeit
8003750190 Changed my mind.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 08:38:26 +00:00
mahlzeit
e4aca0a646 Actually, I changed my mind. gcc warns that these variables may be
used uninitialized, but by not initializing them I assert that they
won't. Ha, so there!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 08:36:07 +00:00
mahlzeit
a3f1540388 Fixed compiler warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 08:30:38 +00:00
Stefano Ceccherini
75ad89705f - Started documenting the class
- Added the B_INPUT_METHOD_AWARE flag to the constructor
- Fixed an obvious error in ResolveSpecifier()
- Added some ToDO items


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-24 13:46:58 +00:00
Stefano Ceccherini
a667ca3cde Implemented MakeResizable more correctly (at least, it looks like it). Replaced LONG_MAX with the right lines number in Refresh() calls. Started work to make the widget double buffered. More cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 15:20:51 +00:00
Stefano Ceccherini
7889e7c9ed Fixed a crash when undoing an "internal text drop", some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 12:56:46 +00:00
Adi Oanca
5b7dc94cde chnaged a mesage code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 13:09:08 +00:00
Adi Oanca
5929c56ed0 ::MoveBy() fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 18:10:07 +00:00
Adi Oanca
1889be2a4d hidden state was wrongly reported
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 11:53:44 +00:00
Stefano Ceccherini
895207da06 Implemented BTextView::SetText(BFile *.... etc.)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 09:51:10 +00:00
Stefano Ceccherini
e3a2e77198 Be nice and explain why we don't free fBasePtr. Implemented Area()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 08:36:18 +00:00
Stefano Ceccherini
843f00a15e Removes a crash in the BApplication tests. Some tests work now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 06:34:30 +00:00
Adi Oanca
a3c6cfb7b7 Changed internal protocol. Ha ha. Just deleted a line. :-)))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 14:41:15 +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
Adi Oanca
f23d8d6216 Major code cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 06:45:13 +00:00
beveloper
1cfaf7b6c5 fixed screensave includes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:59:59 +00:00
DarkWyrm
768ec791c9 Plugged a memory leak (thanks Matthijs!)
Removed the use of malloc() -- deprecated
Deprecated PortLink::FlushToSession()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 13:38:08 +00:00
DarkWyrm
86469b8c91 Added header
Code readability improvements
Removed SetMsgCode()
Documented class
Added some minor error-handling


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 12:57:13 +00:00
Jérôme Duval
f465a5ec42 Adding libmedia.so to develop/lib/%arch%
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 21:54:07 +00:00
haydentech
af79a4edf2 Fixed BBitmapStream return types that didn't match the class definition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:49:35 +00:00
haydentech
0ddc8de6c6 Wrong variable used during unarchive
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:43:58 +00:00
Jérôme Duval
dcfb6bfcd5 Constructor for BMediaRosterEx
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:04:01 +00:00
Jérôme Duval
ece05aef60 Implemented launch_media_server and shutdown_media_server. This code is only used when Media is linked first against libmedia.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:03:13 +00:00
Adi Oanca
d7113e23eb modified Resize methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:07:12 +00:00
DarkWyrm
b56e4e6565 Investigated and resolved a TODO item concerning bar color in Archive()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:29:11 +00:00
DarkWyrm
8c15126aec Replaced header with standard one
Investigated Axel's TODO concerning SetBorderHighlighted and converted the #if 0 to a regular C-style comment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:19:30 +00:00
DarkWyrm
d89ead3dfb Removed commented-out int8 hack
Tested undocumented functions and removed Erik's TODO items


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:08:38 +00:00
DarkWyrm
d017588386 Added sound
Crash to debugger if given an invalid screen in AlertPosition


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 16:46:31 +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
Philippe Houdoin
31dca902f0 libnetapi.so is now again linked against libnet.so to be R5 binary compatible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 21:55:40 +00:00
mahlzeit
f9b2179cb2 Instruments (patches) are now correctly recognized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 07:46:19 +00:00
mahlzeit
b178e1905b Implemented BMidiSynthFile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 19:54:00 +00:00
mahlzeit
d1c8cf1d2f Hey Axel, I changed it to use a BPath ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 17:32:42 +00:00
mahlzeit
b6909aeaba Path to default instruments file wasn't calculated properly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 17:06:06 +00:00
mahlzeit
fbaf754a21 Implemented the softsynth support classes and a skeleton for
the synth itself.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 16:46:06 +00:00
mahlzeit
3e60d395a7 Put private classes in the BPrivate namespace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 10:55:51 +00:00
mahlzeit
32ed9cc8c6 The glue classes are now in namespace BPrivate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 10:37:14 +00:00
mahlzeit
9138338c72 Fixed warnings on geekgadgets compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 09:44:22 +00:00
mahlzeit
456cec68d1 If a be_synth already existed, the BSynth constructor should
delete it first.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 09:18:38 +00:00
Philippe Houdoin
6d55406426 Was assuming sys/cdefs.h included by inet.h, which is not (anymore).
Added ISC arpa/nameser.h private header instead of sys/cdefs.h to follow others
source modules include pattern.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 00:01:39 +00:00
Philippe Houdoin
995e1b177a gethostname() is located in libnet.so on R5 & BONE *and* our own stack too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 23:21:51 +00:00
Stefano Ceccherini
55bd207b20 Added a test for the bug found by Pahtz, and fixed the bug. Simplified a bit the code in BRegion::Support::RSub()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 06:37:18 +00:00
Michael Phipps
f141dd5709 Re-styled and (hopefully) finalized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:41:30 +00:00