Commit Graph

21766 Commits

Author SHA1 Message Date
Ingo Weinhold
56a63c3b2a Patch by Vasilis Kaoutsis: Style and copyright header cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 23:51:46 +00:00
Axel Dörfler
568bb32385 Applied patch by Gerald Zajac:
1) Some video modes which did not work properly with the Savage chips
have been removed from the mode list, and a few wide-screen modes which
work have been added.
2) The code which loads the cursor image has been simplified.  This code
is similar to the code I'm using in the S3 Virge video driver which I
will be submitting to the Haiku project in a few days.  This change also
removes the last piece of code that came from Erdi Chen's BeSavage
driver;  thus,  this diff file also removes his copyright from the file
savage_cursor.c.

I did a minor modification to fix a warning in ProposeDisplayMode.c (it
now includes savage.h). Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 22:05:16 +00:00
Axel Dörfler
30eca597da * Implemented support for the module_dependency extension in Haiku.
* Added a way to initialize built-in dependencies that the tcp_shell is now
  using - at least it gets to the prompt again (it still doesn't work, though).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 18:18:29 +00:00
Oliver Ruiz Dorantes
7236d2c1c8 Fix coding style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 17:53:08 +00:00
Oliver Ruiz Dorantes
7044da5546 Fix coding style and add more classes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 17:51:59 +00:00
Axel Dörfler
2eaecb7b33 Fix build for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 16:18:34 +00:00
François Revol
c87d0ba1fb E2BIG wasn't catched by the sed scripts... added.
Some #ifdefs to allow building under BeOS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 16:01:15 +00:00
François Revol
cb44673606 Naive swap_float/double. Not sure sizeof(double) is 8 on m68k...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 15:50:27 +00:00
Stefano Ceccherini
3c5bd34432 Rewrote OptionPopUp.h and OptionControl.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 14:59:04 +00:00
Stephan Aßmus
a637e3c53c patch by Fredrik Modéen:
* add filtering of files by mimetype when adding them to the playlist
* some changes by myself (added Axel's suggestion to guess the mimetype
  in order to support other filesystems than BFS)
Fredrik -> please have a look at our coding guidelines, also you have weird
whitespaces in your patches... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 14:44:38 +00:00
Stefano Ceccherini
09a4122e4c Moved initialization of the system color map from AppServer to Desktop
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 14:07:26 +00:00
Stefano Ceccherini
37b83b1a2d The system palette was defined in two files. Moved to a private header,
included by the two.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 13:44:37 +00:00
Stefano Ceccherini
d9cebac2b7 Rewrote DirectWindow.h, updated DirectWindow.cpp accordingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 10:29:44 +00:00
Stefano Ceccherini
7bd24def80 At least for the column menu layout, don't recalculate the whole layout
if the calling function supplied an item index.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 09:23:19 +00:00
François Revol
1609107a45 - some swap asm.
- 64bit atomic ops.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:48:01 +00:00
François Revol
d09c112c3e - Yes we will have 64bit atomic funcs! Watch this PPC! :P
- m68k ELF reloc names.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:43:22 +00:00
François Revol
5bbe87abba Fake pci bus manager for m68k.
We will fake hardcoded devices depending on the platform.
Hopefully that will help some generic drivers (ide) to work without major modification.
Synced to r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:13:10 +00:00
François Revol
188b43270e m68k arch files for libroot.
Mostly ppc from r22648. Some atomic_* done.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:10:36 +00:00
François Revol
11ce65f5a0 crt files for m68k.
Synced with r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:06:13 +00:00
François Revol
0e274db4b9 Dummy platforms for m68K.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:03:51 +00:00
François Revol
56b8edd4e3 ld scripts for m68k.
Actually mostly untouched ppc from r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:00:32 +00:00
François Revol
845a180f3d Unfinished kernel support for m68k.
Based on ppc/x86 from r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 23:49:57 +00:00
François Revol
0b2adc3d8e Headers (unfinished) for an m68k port (yes I do know it's useless, it's just for the l33t factor).
Based on ppc/x86 headers from r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 23:42:09 +00:00
Axel Dörfler
fe2aaee7ec * Corrected mode creation; can't reuse the EDID values as is.
* The sync flags still aren't handled correctly, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 21:20:38 +00:00
Axel Dörfler
23128566a4 Slab.h no longer includes Depot.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 20:56:34 +00:00
Axel Dörfler
b623d277fa Moved Base.h into Slab.h, and removed Base.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 20:44:19 +00:00
Axel Dörfler
28f1589f9c Now builds again, but it doesn't work yet due to the changes in the stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 20:25:54 +00:00
Axel Dörfler
6f1dac37f9 * Fixed lots of warnings (there are still a lot left).
* Got rid of the PARAMS_AS_STRING stuff (it's always defined, anyway).
* Will remove BeOS support, too, in the future.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 20:14:32 +00:00
Axel Dörfler
15ab0bcf01 * int32_t, uint32_t are now of type "int", and no longer of type "long".
This should help to reduce the number of warnings imported code will throw
  during compilation (helps a lot with tcpdump, for example).
* Since long is 64 bit on 64 bit platforms, we might want to think about doing
  that change for the Haiku types int32 and uint32 as well.
* Fixed several occurences of hidden type problems.
* Fixed build of the stack and TCP under BeOS.
* Fixed incorrect typedef in socket_interface.h.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 20:10:43 +00:00
Oliver Ruiz Dorantes
3dfa121266 Dummy implementation of the LocalDevice class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 17:58:38 +00:00
Oliver Ruiz Dorantes
c36b70586d Headers for the bluetooth kit, based in the Motorola JSR82 API
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 17:56:01 +00:00
Stephan Aßmus
d3f08e7fb8 * we don't actually need the AccelerantHWInterface in the test environment,
therefor we don't need to worry about the extended Accelerant interface


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 15:55:53 +00:00
Stephan Aßmus
55f2592d3a * added more stuff which was needed to get the test environment to compile
again


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 15:54:04 +00:00
Stephan Aßmus
dd8cf8ddd6 * fix build in test environment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 15:52:56 +00:00
Stephan Aßmus
0e1ffc3925 * fix build in test environment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 15:48:12 +00:00
Stephan Aßmus
359f014e4e * part of libbe_test build fix... why is the _IMPEXP stuff there in the
first place? Is it even needed?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 15:19:25 +00:00
Axel Dörfler
a22279fa0b Fixed build under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 13:51:50 +00:00
Axel Dörfler
d0a41190b6 Made our kernel-emu a bit more complete.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 13:45:47 +00:00
Karsten Heimrich
85b69a9437 * code cleanup, small refactoring
* make the panel font sensitve within the possible plain font range

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 12:40:57 +00:00
Axel Dörfler
9db35b6825 Revised named configurations a bit:
* Named settings are only overwritten if they were an exact match (ie. it's
  the very same monitor).
* The unnamed settings retrieval now has two passes, on the first it will
  now ignore named settings. It will also only remove unnamed settings now.
* Added some TODO commments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 11:00:30 +00:00
Axel Dörfler
fe54eece9d * Removed the "new_stack" test approach; it's no longer useful, and you can
still look for it in the SVN history if you like.
* Moved tcp_tester.cpp to its own sub-directory tcp_shell - it doesn't yet
  build, though (due to recent changes to the stack/TCP implementation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 10:58:24 +00:00
Ingo Weinhold
3ee83016ed Added header directories missing for the libbe_test target, since my changes
a while ago that removed the incorrect automatic addition of Haiku header
directories in case of targets other than "haiku". The app server test
environment does now almost build again. The problem left is related to the
recent changes of the accelerant interface. I suppose someone in the knows
should decide if we can simply use our header or if special handling is
needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 10:15:57 +00:00
Ingo Weinhold
9d3f15c60e Style cleanup patch by Vasilis Kaoutsis. Small changes by myself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-20 20:40:09 +00:00
Ingo Weinhold
cb93a65449 Patch by Vasilis Kaoutsis: Added and implemented lockf() using fcntl() locking.
Small change and notes on standard compliance by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-20 19:51:49 +00:00
Karsten Heimrich
dc7de148c3 * save and load the window position inside window class, center on first start
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-20 18:56:20 +00:00
Karsten Heimrich
2e548bd870 * remove these until we have something to implement it properly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-20 16:51:12 +00:00
Salvatore Benedetto
dfd1357ad2 * Rewrote part of the constructor: most of the code is ported from FreeBSD
* Usual clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-20 16:31:15 +00:00
Salvatore Benedetto
2907d85a71 * Renaming macros
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-20 12:11:16 +00:00
Stephan Aßmus
2759998892 * this partly fixes the broken build of the app_server test_environment
(yes I still use that), but there are more problems, regarding
  for example BPrivateScreen definition and the disk device API stuff,
  I am kind of clueless regarding those. :-(


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-19 19:54:05 +00:00
Axel Dörfler
4ee81443c3 * The app_server now stores the whole display_timing structure of a mode, not
just the frequency.
* Previously saved modes are no longer supported, though.
* Screen modes are now stored with the monitor info it belongs to, IOW the
  app_server will now choose a mode from the settings that fit your monitor
  description. Driver support is required for this to work as intended.
* The changes are completely untested at this point, though, sorry (shouldn't
  harm anyone, though) :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-19 16:47:06 +00:00