Commit Graph

1995 Commits

Author SHA1 Message Date
Axel Dörfler
601f33e246 It's no longer possible to remove or recreate a file that is opened with
uncached access.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 00:21:04 +00:00
Axel Dörfler
b334e2f00f Replaced the simple "return" with the RETURN_ERROR() macro for fatal errors
to make them visible in the log.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 00:19:49 +00:00
Axel Dörfler
ae01c8b752 Now includes <string.h> which is needed for the strerror() function used
in the macros.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 00:18:50 +00:00
Philippe Houdoin
d70d5d9869 Remove src/servers/net from build, as it was moved to
src/tests/servers/net/net_server instead, as it belong.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:53:16 +00:00
Philippe Houdoin
c1e322be1d Fix a comment, and assume spawn_kernel_thread() always exists.
The stack debug platform, aka net_server, map to spawn_thread(), simply.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:51:36 +00:00
Philippe Houdoin
8f74e6ed4a Small private net header cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:41:46 +00:00
Philippe Houdoin
f0ad00a244 Remove once again a global variable (protocols list) declaration from a header!
Plus remove unrequired _KERNEL_MODE code switch.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:40:03 +00:00
Philippe Houdoin
9dc27856cb Remove userland_modules, now merged in net_server.
Remove from build the net_server add-ons, as it's not ready for prime-time:
Due to same target name of network modules as kernel modules or userland add-ons,
when you build kernel network modules, userland networl modules try to build to.
But failed (yet), miserably. So, let's report to a future date...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:15:41 +00:00
Philippe Houdoin
f3b4194e61 Build network modules as userland add-ons when building the network stack debug
platform, aka net_server.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 22:55:10 +00:00
Philippe Houdoin
588a167357 Add Jamfiles to build network modules as userland add-ons for the
network stack debug platform, aka net_server.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 22:53:02 +00:00
Philippe Houdoin
0fc06c6a3f Okay, finally let's use the BSD'ish _howmany() macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 20:31:13 +00:00
jerl1
495beef2fc Correct a bug when openning just after compiling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 19:38:45 +00:00
Stefano Ceccherini
cc4d4cd541 Fixed/Renamed a test suite
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 12:28:26 +00:00
Stefano Ceccherini
8b5fd18249 One more test for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 12:27:53 +00:00
Philippe Houdoin
3abf6756dd Add a userland network stack testbed design diagram. Some update to kernelland one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 08:37:09 +00:00
Philippe Houdoin
dc6dfab4c0 Hack howmany() macro to use _howmany() to build ping and traceroute.
However, what's the official (POSIX?), if any, macro name for this?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 08:14:01 +00:00
Philippe Houdoin
eca926b1cf First userland tesbed/net_server-like network stack app host commited.
Userland network modules build still not available, will come later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 08:05:07 +00:00
Philippe Houdoin
40e492bc4c Some net headers fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 07:57:19 +00:00
shadow303
7eae9afc01 Remove include ServerCursor.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 00:49:28 +00:00
shadow303
eede6bce57 Add StrokeArc and StrokeBezier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 00:48:33 +00:00
Philippe Houdoin
3a26c0afcb Make net modules mostly unaware of being (soon :-)) userland buildable too.
Some cleanup, in the way...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-12 21:06:11 +00:00
Philippe Houdoin
a0a6d75d61 Some net cleanup...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-12 21:03:25 +00:00
shadow303
c399a55fcd Minor tweaks and finish StartWatching test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-12 00:45:40 +00:00
shadow303
18d65fb5c0 Include ServerProtocol.h instead of using #define SET_CURSOR_BCURSOR
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-11 22:03:35 +00:00
Axel Dörfler
cd3ea5f216 vnode_path_to_vnode() now correctly asks for access permissions when traversing
the directory tree.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-11 12:14:19 +00:00
Stefano Ceccherini
e0db3523fc Some style changes, some bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-11 11:08:11 +00:00
ejakowatz
1dc215ba9b First batch of tests for BMessage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 06:23:39 +00:00
Axel Dörfler
fb39a31ca7 Fixed a dead-lock that could happen if an attribute was changed and you
had some running live queries.
SimpleLock now allows nesting; added some missing atomic operations to
make its implementation as easy as possible.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 06:05:46 +00:00
shadow303
37935f570b Correct lock documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 02:35:16 +00:00
DarkWyrm
0daf473e42 ViewDriver::DrawString now utilizes FreeType2 code
More bugfixes leftover from ServerCursor elimination


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 01:09:26 +00:00
DarkWyrm
7c7ee64a50 Partially implemented SetCursor
Completely implemented ShowCursor, HideCursor, ObscureCursor
Documented necessary steps for connect_to_app_server


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 22:22:22 +00:00
DarkWyrm
182af733e7 Initial checkin of official version of protocol file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 22:01:30 +00:00
DarkWyrm
15a224865b Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:47:47 +00:00
DarkWyrm
08463035d2 Forgot to add Angle class to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:28:02 +00:00
DarkWyrm
ab225173d8 (Theoretically) fixed the build
Replaced ServerCursor class with ServerBitmap use
DisplayDriver updated
ScreenDriver now does DrawString and DrawChar (!) and looks good
Fixed stupid jamfile mistakes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:26:34 +00:00
shadow303
6cdadea727 Added missing instances of "case"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:19:49 +00:00
shadow303
af554d2ae4 Add Clipboard to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:17:23 +00:00
shadow303
bcb5296173 Minor bug fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:16:58 +00:00
shadow303
5ea0e0a5d0 Change clipboard constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 20:55:41 +00:00
Stefano Ceccherini
bff4272dd4 Fixed ReplaceSet().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 11:51:18 +00:00
Stefano Ceccherini
ee37218ef1 More tests. All methods are tested and are working, but LockBuffer and UnlockBuffer()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 11:50:33 +00:00
Axel Dörfler
b71ba910ba The non-benaphore of the Semaphore class just didn't work correctly...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 04:32:47 +00:00
Axel Dörfler
9616fa5dfd Added a test for the BufferPool class.
Began to move the tests directory to bfs/ instead of befs/.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 02:08:54 +00:00
Axel Dörfler
dab62fa391 Fixed a big stupid bug that can cause lots of trouble: all locks created
weren't moved to the kernel (as owner), so they would be deleted after
the team which almost randomly created them died.
Benaphores are now only used if USE_BENAPHORES is defined - I have renamed
the Benaphore class to Semaphore to take the changed behaviour into account.
Added a Status() method to the Locker class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 02:02:31 +00:00
shadow303
ce088d7b5c Add clipboard and cursor test stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 01:02:08 +00:00
shadow303
4da070119b Fix initialization problem with tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 00:58:14 +00:00
shadow303
394cc79e32 Fix handling of some failure cases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 00:54:02 +00:00
Tyler Dauwalder
6de29761ec Added Load/Save Recent Lists constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:50 +00:00
Tyler Dauwalder
8528ca2e2a Added default app flags to Add() so I could be lazy
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:21 +00:00
Tyler Dauwalder
b2589492d0 Added code to Get() to filter out all but the most recent of any duplicate
matching entries with differing "opened with" app sigs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:37:56 +00:00