Stefano Ceccherini
ffcd67bc82
moved duplicate code to a common location.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 14:30:56 +00:00
Stefano Ceccherini
7f0898e76f
bye bye ClientFontList.h
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 13:45:33 +00:00
Stefano Ceccherini
ac2284ed8b
Moved ZombieReplicantView.h to src/kits/interface
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 13:38:14 +00:00
Stefano Ceccherini
7c42f05d49
moved kZombieColor to ZombieReplicantView.h
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 13:37:42 +00:00
Stefano Ceccherini
fab61b6237
Moved TextInput.h to src/kits/interface as it's only used there.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 13:31:46 +00:00
Stefano Ceccherini
a24a5156f9
splitted SetActiveState() into 2 methods, since it was very messy
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 13:15:58 +00:00
Axel Dörfler
c9c97da195
Print only the tool name instead of the full path.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 12:49:37 +00:00
Stefano Ceccherini
99851ad6db
free() the modelist as it's allocated using malloc. A forgotten printf -> fprintf. minor other stuff.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 12:44:58 +00:00
Stefano Ceccherini
d53469036b
CanControlFrameBuffer() returns false with the vmware driver, but
...
ParticlesII doesn't need to do special things with it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 12:36:30 +00:00
Stefano Ceccherini
6a45488dd9
Used exceptions to handle errors on InitData(). I hope I didn't made
...
stupid errors, since I don't use exceptions usually. Feel free to beat
me on this. Moved uninitialization to _DisposeData(). Corrected some
styling issues pointed out by axel. Used fprintf instead of printf.
Turned off debugging.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 09:53:36 +00:00
Stephan Aßmus
13526fae69
* compile fix provided by Michael Berg
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 08:39:37 +00:00
Stephan Aßmus
2cb637f4b9
* compile fix provided by Michael Berg
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 08:38:01 +00:00
Stephan Aßmus
033bb29d51
* compile fix provided by Michael Berg
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 08:35:50 +00:00
Stephan Aßmus
8ec143c887
* compile fix provided by Michael Berg
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 08:34:20 +00:00
Stephan Aßmus
dba332c353
* compile fix provided by Michael Berg
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-18 08:32:11 +00:00
Marcus Overhagen
84371c1446
revert the part of the previous checkin that completely broke video seeking (however, the current state is hardly working at all)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 21:02:50 +00:00
Marcus Overhagen
beb89275f5
Synchronize even at begin of the file, some avi files contain garbage at the beginning
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 20:14:00 +00:00
Marcus Overhagen
56853d6ff1
Use separate waiting semaphores for audio and video, later to be used for seeking
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 20:12:21 +00:00
Marcus Overhagen
d85ccec96a
This fixes most audio seeking problems with AVI files, but
...
still needs some work. The sync code was never executed, as
if (len < chunkSize) (len = signed, chunkSize = unsigned)
was compiled into an unsigned compare and thus always false
for len=-1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 19:38:59 +00:00
Jérôme Duval
f5390ac494
added atomic*64() for BeOS build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 17:04:29 +00:00
Marcus Overhagen
2087d23365
always sync to frame begin after a seek
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 15:54:08 +00:00
Ingo Weinhold
f18b0dff8b
* Use named parameters.
...
* Use Object{Cc,C++}Flags instead of setting {CC,C++}FLAGS on the
objects directly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 15:14:46 +00:00
Ingo Weinhold
baade5580e
Typo. Fixes menus (bug #1276 ).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 13:24:42 +00:00
Jérôme Duval
308771ff5d
reverted to use __x86_64__ as it seems BeOSHostCompatibility header is not included for fs_shell
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 13:17:03 +00:00
Marcus Overhagen
6c1def1920
truncate chunks first and then check for zero size
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 12:55:46 +00:00
Marcus Overhagen
f4eb963104
Added an additional check before calculating maxsize to avoid overflows.
...
Ignore empty 'strn' chunks instead of treating them as an error. This
also fixes loading of the "The party at the end of the earth.divx" file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 12:44:33 +00:00
Jérôme Duval
d205506439
we use C for the ppc build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 12:15:30 +00:00
Jérôme Duval
9cc679bb80
replaced uint32_t by fssh_addr_t. Obviously, the cookie should be managed differently.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 11:57:25 +00:00
Jérôme Duval
913f680ea2
followed Ingo's suggestion and introduced HAIKU_HOST_PLATFORM_64_BIT macro
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 11:51:49 +00:00
Jérôme Duval
a3ca7ebc40
x86_64 changes :
...
added atomic*64() functions
use int32 instead of long
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 10:50:18 +00:00
Ingo Weinhold
d08caee0a5
Added tests for BMenu and BMenuBar. The former is pretty useless, though,
...
since the menu resizes the window to an unusable size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 01:21:19 +00:00
Ingo Weinhold
44ca72c8ca
Use layout-friendly constructor.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 01:18:34 +00:00
Ingo Weinhold
8000c5e973
* Added layout-friendly constructor.
...
* Fixed invalidation in FrameResized().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 01:17:49 +00:00
Ingo Weinhold
4fa167e12d
* Added layout-related methods (Min/Max/PreferredSize(), InvalidateLayout(),
...
DoLayout()).
* Don't resize the view and the window anymore, when fResizeToFit is not
set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 01:15:05 +00:00
Ingo Weinhold
05e3a10655
Rather use B_SIZE_UNSET for fPreferredSize.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 01:11:08 +00:00
Ingo Weinhold
cb968676d9
Defined B_SIZE_UNSET to -2. -1 is actually a valid size, meaning 0 pixels.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 01:10:12 +00:00
Travis Geiselbrecht
4a9059fb38
some make system work to get x86-64 linux compiles working:
...
-The biggest problem with linking host libraries (libbe_build and libroot_build) was not having the source files compiled with the -fPIC flag. As far as I can tell, we want to do this on all of the other host platforms as well, so hacked the jam files a bit to add it.
Forgive me if I've committed more Jamfile sins.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-16 19:43:53 +00:00
Jérôme Duval
5acd132fa4
replaced uint32 by addr_t where it applies to please gcc on x86_64
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-16 11:33:42 +00:00
Jérôme Duval
de050c6029
incorporated savage driver sources from Gerald Zajac. I hope it's the good place for this.
...
fixed warnings and code style. Please, from now on, provide *patches* to this version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 21:02:08 +00:00
Jonas Sundström
60b8b10331
Draw icon with transparency.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 20:28:07 +00:00
Ingo Weinhold
48295d4ba7
libshared.a doesn't deserve a src/ subdirectory. Moved to
...
src/kits/shared.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 18:32:50 +00:00
Ingo Weinhold
57ab8f6b30
Just go with the portable code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 18:23:28 +00:00
Ingo Weinhold
3447ec446c
Aesthetical change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 18:17:18 +00:00
Ingo Weinhold
ee074918de
Mostly aesthetical change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 18:13:39 +00:00
Philippe Houdoin
69e18975b2
Add libglut.so -> libGL.so symlink to haiku image build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 06:32:48 +00:00
Ryan Leavengood
962e985f39
Small change to make the shared library buildable for BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 01:17:12 +00:00
Axel Dörfler
1504b0a77d
Apparently, BONE's management ioctl's only work on datagram sockets...
...
This should be retested on R5 to make sure it'll still work there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-14 17:15:09 +00:00
Axel Dörfler
c7cdb67a8a
NetAddress::IsLocal() did not work under BONE - we now work around this by using
...
the route table to determine if an address is local or not (BONE incorrectly allows
you to bind against non-existing and non-local interfaces).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-14 16:54:04 +00:00
Stefano Ceccherini
fd651c0701
Particles II, which uses BWindowScreen
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-14 14:43:45 +00:00
Stefano Ceccherini
8b7987023f
Implemented needed methods to be able to clone the accelerant.
...
Implemented SetIndexedColors hook, although not really correct.
I don't know why the driver's 8 bit mode were disabled. They seem to
work fine. I had to enable at least 640x480x8 to be able to test
WindowScreen. There are some TODOs in the code. I'll look into them
later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-14 14:41:45 +00:00