Axel Dörfler
45894e1088
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19039 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19039
2006-10-10 22:39:57 +00:00
Jérôme Duval
127f01dd39
fix for gcc4 (strcmp needs cstring, nothrow is in std namespace)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19038 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19038
2006-10-10 19:14:54 +00:00
Axel Dörfler
a7181e951d
Accidently turned on printing stack traces with the last commit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19037 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19037
2006-10-10 17:27:03 +00:00
Axel Dörfler
0b8e0bfc08
Some cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19036 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19036
2006-10-10 17:25:38 +00:00
Axel Dörfler
d593e74a27
First steps towards being able of collapse vm_cache objects after forking:
...
* a vm_cache now maintains a list of its "consumer" caches.
* introduced to new functions that add/remove consumer to a cache (instead
of only maintaining the vm_cache::source field).
* fixed the incorrect reference counting when doing copy-on-write; we kept
one ref too many of the lower cache.
* minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19035 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19035
2006-10-10 17:16:06 +00:00
Niels Sascha Reedijk
6177d112d4
Improve/fix lazy pipe creation introduced in 19032 based on suggestions by Michael and Marcus.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19034 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19034
2006-10-09 12:55:10 +00:00
Marcus Overhagen
ffffd44b12
Moved switching to protected mode into stage1 loader, so code above 1MB can be executed in protected mode.
...
Executing the stage2 loader works now, up to the point where mmu_init() reuses the same address space.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19033 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19033
2006-10-08 20:17:03 +00:00
Niels Sascha Reedijk
ee93bd93e8
Implement lazy pipe creation. The Default Pipes for each speed will be created as needed, instead off at the construction of the busmanager. This is due to the fact that the creation in the constructor would callback methods of the busmanager class which might cause improper behaviour with uninitialized variables.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19032 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19032
2006-10-08 20:12:53 +00:00
Marcus Overhagen
4ba8420ca5
save and restore destination address
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19031 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19031
2006-10-08 19:10:53 +00:00
Michael Pfeiffer
5c3281f91b
Write print job to spool file. Not tested under Haiku. Seems to work fine with a simple R5 test application.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19030 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19030
2006-10-08 18:08:12 +00:00
Axel Dörfler
66a1b50b01
Forgot to add an 'extern "C"' to the R5 compatibility exports.
...
This fixes bug #892 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19029 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19029
2006-10-08 11:05:49 +00:00
Axel Dörfler
61edba289e
Replaced libstdc++.r4 with $(TARGET_LIBSTDC++) - this should fix the build for some targets.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19028 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19028
2006-10-08 10:46:38 +00:00
Axel Dörfler
3c1e481aa7
Added print transport and driver add-ons to the image.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19027 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19027
2006-10-07 19:21:22 +00:00
Axel Dörfler
1f66b01946
LPR had the same problem (SocketStream2.o does not exist anymore).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19026 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19026
2006-10-07 19:15:36 +00:00
Axel Dörfler
70dd6916db
Fixed build (was still trying to link against SocketStream2.cpp).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19025 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19025
2006-10-07 19:13:56 +00:00
Michael Pfeiffer
926f124731
Got rid of WIN32 related source code. Someone, please build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19024 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19024
2006-10-07 18:59:59 +00:00
Axel Dörfler
1781c9776e
Added libmail.so, Printers & E-mail (preferences), and BeMail to the image.
...
The printer transport add-ons and drivers are missing yet, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19023 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19023
2006-10-07 18:00:36 +00:00
Axel Dörfler
8c603fe7c6
Build fixes for Haiku - is this WIN32 stuff really needed, or can we get rid of it?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19022 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19022
2006-10-07 16:35:16 +00:00
Axel Dörfler
d2ae268f24
libnetapi.so no longer exists under Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19021 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19021
2006-10-07 16:15:57 +00:00
Axel Dörfler
e6a3af0462
Added R5 libnet.so specific getusername() and getpassword().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19020 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19020
2006-10-07 16:04:18 +00:00
Axel Dörfler
c5b560408b
Removed unneeded second calculator from the repository.
...
Accidently, this also fixes bug #867 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19019 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19019
2006-10-07 12:46:38 +00:00
Axel Dörfler
ee50138fcd
Now notifies all pending selects when closing the socket.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19018 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19018
2006-10-07 12:37:13 +00:00
Axel Dörfler
a7028ce680
* Implemented select support for sockets and notifications, not yet tested, though;
...
this closes ticket #811 .
* Added notification support to IPv4 and UDP.
* Implemented reading out SO_ERROR.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19017 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19017
2006-10-07 12:32:02 +00:00
Axel Dörfler
fb4e373041
* Followed suggestions by Philippe and moved libnetapi.so into libnetwork.so as well.
...
* Also added libbnetapi.so and libnetapi.so to the R5 compatibility evaluation score.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19016 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19016
2006-10-06 17:20:50 +00:00
Axel Dörfler
6a5dcb571c
Imported most of the old libnet.so compatibility functions (from old/compat/libnet/compat.c).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19015 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19015
2006-10-06 13:46:14 +00:00
Axel Dörfler
e9828bbd25
* libnetapi.so should now work correctly in the R5 compatibility environment.
...
* Added a link from libbnetapi.so to libnetapi.so. We might think about moving
libnetapi.so into libnetwork.so as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19014 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19014
2006-10-06 13:17:00 +00:00
Axel Dörfler
fd589b20ba
Fixed the build - one of those last minute changes you forgot to compile... :-/
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19013 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19013
2006-10-06 13:14:22 +00:00
Axel Dörfler
153b2845d2
* Added a link from libnet.so to libnetwork.so for R5 compatibility.
...
* Fixed R5 socket definitions to match their actual definitions.
* libnetwork.so now detects at runtime wether or not R5 compatibility should be
enabled or not.
* All socket functions should now be R5 net_server compatible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19012 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19012
2006-10-06 13:07:05 +00:00
Axel Dörfler
3cf73255de
The Haiku startup code now exports a symbol called __gHaikuStartupCode. This can
...
be used to determine wether or not the executable was linked for/under Haiku or
not (ie. BeOS).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19011 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19011
2006-10-06 12:19:20 +00:00
Axel Dörfler
e979f4bac7
get_image_symbol() and get_nth_image_symbol() now accept NULL arguments for the
...
location and type parameters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19010 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19010
2006-10-06 12:17:06 +00:00
Axel Dörfler
0d7ec13a82
Simplified a bit, removed unneeded function stubs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19009 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19009
2006-10-06 11:46:23 +00:00
Axel Dörfler
7f4e6824df
Added a private call to get the dependencies of a loaded image. This will be used
...
to determine linkage of libnet.so vs. libsocket.so/libbind.so in the libnetwork.so.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19008 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19008
2006-10-06 11:40:20 +00:00
Andrew Galante
db893fd8d8
Sending data over TCP should work now. Receiving is still MIA.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19007 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19007
2006-10-06 04:02:23 +00:00
Axel Dörfler
ecf0475ad0
Porting r18992 to the R5 version of BFS (and therefore, bfs_shell used to build the
...
Haiku image) revealed a problem with that change:
* If the root node only contained a single entry it was freed instead of just making
it a leaf node - that could produce an invalid b+tree (could only happen with
attribute or index trees, as directories always contain '.' and '..').
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19006 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19006
2006-10-05 17:34:11 +00:00
Axel Dörfler
bad41d39a2
Ported r18992 from the Haiku version of BFS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19005 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19005
2006-10-05 13:59:07 +00:00
Stefano Ceccherini
4dd74f2945
disabled the use of _BWidthBuffer_ until the app_server font backend implements B_BITMAP_SPACING. Small cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19004 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19004
2006-10-05 12:19:06 +00:00
Axel Dörfler
d4f8d429da
* Allowed widescreen modes to be displayed on analog monitors using the "force_ws" setting.
...
* Also added a 1270x720 HDTV resolution (was accidently part of the previous commit).
Both changes courtesy of Doug Shelton.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19003 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19003
2006-10-05 12:15:24 +00:00
Axel Dörfler
a459c8e0d8
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19002 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19002
2006-10-05 12:11:18 +00:00
Axel Dörfler
e12e7a2004
Added support for the nVidia GeForce 7600 GS, courtesy of Doug "tigerdog" Shelton.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19001 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19001
2006-10-05 11:54:51 +00:00
Axel Dörfler
f00c299faa
Made adjusting the partition size a bit more strict (negative sizes aren't allowed
...
anymore; maybe we should even introduce a minimal partition size).
This fixes bug #882 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19000 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19000
2006-10-05 10:55:59 +00:00
Niels Sascha Reedijk
65416e2a91
The docbook dtd requires the listitems to contain <para>s
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18999 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18999
2006-10-05 08:52:24 +00:00
Marcus Overhagen
b488dcdbad
modified, but still wrong
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18998 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18998
2006-10-04 23:39:19 +00:00
Marcus Overhagen
5fc3827fb4
removed some unused code. not finished yet
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18997 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18997
2006-10-04 23:11:30 +00:00
Axel Dörfler
f974492c2d
Imported ViewState.cpp|h 1.2 from OpenTracker CVS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18996 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18996
2006-10-04 13:06:39 +00:00
Axel Dörfler
1f9f5e4e63
Fixed warning.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18995 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18995
2006-10-04 13:05:48 +00:00
Oliver Tappe
a5b60fa88e
* reverted changes of revision 18985, as Ingo has pointed out, they were useless.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18994 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18994
2006-10-03 23:41:59 +00:00
Axel Dörfler
784166f253
Imported ContainerWindow.cpp 1.39 from OpenTracker repository.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18993 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18993
2006-10-03 22:43:20 +00:00
Axel Dörfler
0d01edbaba
Fixed a stupid bug found by accident:
...
* When removing the last key from a leaf node, the node wasn't freed, but just
emptied, and thus the whole tree structure would never combast.
* This could also cause a bug in the TreeIterator: if the last entry was not
in the last node, every second readdir() after the last one would return
the last entry again. I only found this because that happens to be what
Tracker does (which would run in an endless loop while scanning the directory
then).
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18992 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18992
2006-10-03 17:51:22 +00:00
Axel Dörfler
65bf7e89c9
Fixed typo in the BIOS work-around that should prevent booting from Intel partitions at all.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18991 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18991
2006-10-03 15:26:40 +00:00
Stefano Ceccherini
c585b1f46d
GetEscapements() didnt' take the font spacing into account. Looks like the spacing is ignored by the font backend, though, am I correct?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18990 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev18990
2006-10-03 11:46:55 +00:00