Commit Graph

6894 Commits

Author SHA1 Message Date
Axel Dörfler
8131e02c55 Made C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:24:42 +00:00
Axel Dörfler
b721e8fd26 Gained knowledge from NewOS change 1930 and fixed the sig_block_mask change
as already suggested in my earlier comment.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:23:32 +00:00
beveloper
2fe87e7c58 Fixed handling of 0 byte large chunks.
Rewrote error checking during file parsing, parsing now aborts immediately after the first error.
Disabled all TRACEing, added ERROR fprintf for real errors.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 23:30:09 +00:00
beveloper
8bc2d39a23 Fixed broken disabling of realtime flags. Was reported by YellowTab, thanks!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 23:02:30 +00:00
Stefano Ceccherini
7446a252ed Fixed a crash when running beshare with our BTextView (thanks to Andrew Bachmann for reporting), though it's a bit hackish, added some printfs to TextView.cpp to help finding/fixing bugs, a small optimization to WidthBuffer. Should convert and commit WidthBuffer's tests to cppunit tests sooner or later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:19:27 +00:00
Stefano Ceccherini
80127f8edb Some fixes, some warning fixed, added a lot of code for the MII handling (almost completely "stolen" from Axel's sis900 driver), not yet working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:13:03 +00:00
Rudolf Cornelissen
599fbbf010 fixed engine management regarding sync_to_token
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:12:51 +00:00
Axel Dörfler
a7b6bd943e The bootloader now takes this region into account, no need to do that manually over here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 02:02:25 +00:00
shadow303
409f1731e2 Convert Thomas's radeon driver to out build structure.
Still needs work in order to properly enable logging and extra settings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:58:55 +00:00
Axel Dörfler
3bba0ebe0a NewOS revisited, applied patch 1916: now evaluates the extended BIOS
RAM size call.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:58:49 +00:00
shadow303
4f5f1b3c0c Modify Thomas's radeon driver to fit our build structure.
Still needs woork to properly enable logging and extra settings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:58:12 +00:00
shadow303
1da2dde8c2 Convert Thomas's radeon driver to our build structure.
Added some card ids.
Still needs work to properly enable logging and extra settings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:57:31 +00:00
Axel Dörfler
bbd8e7fbd9 Removed unneeded prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:56:02 +00:00
Axel Dörfler
4a2e872cca Applied NewOS change 1914: moved APIC setup into the kernel due to a
problem with the APIC clock speed test.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 22:54:00 +00:00
Axel Dörfler
7ec81f4c11 Disabled debug output for arch_int_enable_io_interrupt().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 22:50:41 +00:00
Axel Dörfler
03c1062163 set_real_time_clock() is supposed to set the hardware clock as well.
Fixed dump function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 21:53:48 +00:00
Axel Dörfler
c27ed74e34 Replaced timer.h with a cpp safe version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 21:08:25 +00:00
Rudolf Cornelissen
65e6374871 fixed DFP fullscreen overlay distortions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 20:30:05 +00:00
Rudolf Cornelissen
27c912cfc5 updated DPF stuff: primary and secondary DVI are fully working now (confirmed FX
5200)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:10:56 +00:00
Rudolf Cornelissen
c567e07285 updated DPF stuff: primary and secondary DVI are fully working now (confirmed FX5200)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:09:08 +00:00
Axel Dörfler
188b2566b6 Cleanup, fixed return codes.
Removed the local_timer_cancel_event() function, since it is not used anywhere.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:03:18 +00:00
Axel Dörfler
09e395fbe3 Applied ages old cleanup patch from Jack Burton.
Took the chance and cleaned it up even more; this change is not a functional change.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:02:22 +00:00
Axel Dörfler
743c42a747 arch_setup_signal_frame() must not access the user space stack without
using user_memcpy(); therefore it can now fail.
Taken from NewOS, thanks to Travis for pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:59:42 +00:00
Axel Dörfler
7d154f91ff arch_setup_signal_frame() can now fail.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:58:11 +00:00
Axel Dörfler
a2b6866fb9 Fixed compilation without having included boot/kernel_args.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:42:18 +00:00
Axel Dörfler
eb9335a34b Applied NewOS change 1972: "Fix the build with gcc 3.3.3. The bootloader
was broken because of some new behavior that puts initialized varaibles
in .bss anyway (if you initialize with zero). The bootloader was relying
on not having a .bss. Fixed in the linker script.".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:01:51 +00:00
Waldemar Kornewald
a387bccab2 Just noticed that PPPoEAddon stuff was not added to the repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:28:58 +00:00
Waldemar Kornewald
d078d982ae Forgot to update TODO items.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:27:59 +00:00
Waldemar Kornewald
c737ab9ab1 The settings are now correctly de-/encoded.
PPPoE and authentication produce working output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:19:32 +00:00
beveloper
62ffde749f No longer crash or exit(1) all open MediaPlayer windows when a bad mp3 file is played.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 02:08:51 +00:00
Axel Dörfler
190c52aac5 A BeOS compatible math.h rewritten from scratch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 18:49:41 +00:00
Axel Dörfler
f7f6185398 A bit more BeOS compatible math.h functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 18:48:55 +00:00
Rudolf Cornelissen
1e37a9ac80 added more DFP programming: should work now...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 17:48:21 +00:00
Rudolf Cornelissen
82cf9eb56b added some DFP registers needed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 11:39:13 +00:00
Rudolf Cornelissen
20a0dfd5b0 corrected checked DFP panel
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 11:35:31 +00:00
Axel Dörfler
48847a2aab You must not copy a list in that way; it's now using the new list_move_to_list()
call.
"testapp" now works fine with the new port code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 21:36:02 +00:00
Axel Dörfler
ed3f63ae37 Added a call to move the contents of one list to another.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 21:34:20 +00:00
Axel Dörfler
28f42fcecc get_port_info() is not supposed to succeed on a closed port.
Saved the port_entry.closed member and now set the capacity to 0, since
it is not used any longer (reduces the size of the port table).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 05:28:50 +00:00
Axel Dörfler
85b89008bd Replaced the MAX_PORTS constant with the gMaxPorts variable, so that it
could be changed at startup (adapted to system properties).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 05:09:29 +00:00
Axel Dörfler
b672b21619 Renamed some variables to match our style guide better.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 05:06:13 +00:00
Axel Dörfler
b3d07d6550 Rewritten the msg queue code to use a doubly linked list of port_msgs.
Right now, it allocates/frees the msgs from the kernel heap for every
message sent - that might be too slow for real world usage.
Also removed all known race conditions from the code.
Not tested at all yet, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 04:57:38 +00:00
Philippe Houdoin
405ecca529 Add the new wb840 NIC driver contributed by Stefano Ceccherini to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 01:39:29 +00:00
Stefano Ceccherini
3927f78a36 ... and a jamfile for it (shamelessly stolen from Axel's sis900 driver). Not (yet) included into the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 12:48:22 +00:00
Stefano Ceccherini
d8ee7d30df Driver for the Winbond 840 NIC, written by myself. It's working. It lacks speed autonegotiation, and some other cool things.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 11:09:38 +00:00
Matthew Wilber
92fd335690 Fixed to check if refs are directories and to error properly if they are
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 03:19:03 +00:00
Axel Dörfler
871fa04fc9 Added a comment for the R5 BTabView::Select() workaround - also uses
Window() instead of Parent() now, since I'd guess that's the culprit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 18:35:38 +00:00
Axel Dörfler
4e0afad0c3 Set the stop button font to the small one.
A bit more space for the stop button - it now looks good even in Dano/Zeta.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 18:31:45 +00:00
Axel Dörfler
d3764d6d1c Didn't send notices about a new preferred size when the block size was changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 18:29:39 +00:00
Axel Dörfler
7c49aee74f Improved the placement of the "Stop" button with smaller window sizes.
It will now also follow the right border of the window.
Enlarged the minimum window width a bit, so that the stop button can no
longer overlay the position text control.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 15:11:25 +00:00
Axel Dörfler
86d5deed7b Some additional standard MIME types in the Be world.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 13:40:35 +00:00