Hugo Santos
81bc570922
assorted slab fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-26 06:05:08 +00:00
Hugo Santos
81423c91c7
added initial slab code to the kernel. It is still unused, and there is still no VM interaction.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-26 03:41:24 +00:00
François Revol
5f29df20b2
Fix app sig and put it at a single place.
...
Add support for NetPositive bookmarks, so one can for ex place a bookmark on the desktop with an http: dl link for moz with pref app set to urlwrapper. *hint* Korli :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 22:45:12 +00:00
Marcus Overhagen
fc92527647
added some workarounds for haiku, needs to be fixed later...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 22:22:21 +00:00
François Revol
f1f76bb624
Cleaned up protocol configuration. Put compile-time config in a header file, so the rdef doesn't include mimes for urls we won't support.
...
Added http: support with wget in a Terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 22:11:52 +00:00
Marcus Overhagen
2b30a321fe
Workaround for bug report #1175 . This is hardware bug.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 21:28:45 +00:00
Marcus Overhagen
b0b3cab0fd
improved stream format detection
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 20:58:09 +00:00
Hugo Santos
4171bc72bc
test_slab: moved the Backend independent HashCacheStrategy operations to BaseHashCacheStrategy so we don't end up with multiple instantiations of the same code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 19:54:18 +00:00
Hugo Santos
118044d0d5
updated test_slab to use the new OpenHashTable's API.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 19:28:08 +00:00
Hugo Santos
77e70865e1
moved the storage requirements (i.e. ParentType *) to OpenHashTable's Definition which we now instantiate per OpenHashTable.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 19:21:06 +00:00
Hugo Santos
226bb7a9d4
fixed a nice C-induced issue which was making us rewrite stuff.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 18:55:27 +00:00
Hugo Santos
2586c25e31
use Chaining in OpenHashTable.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 18:55:05 +00:00
Jérôme Duval
f96df43ff5
code style
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 18:34:20 +00:00
Jérôme Duval
43404c50c4
open() fails with -1
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 18:19:25 +00:00
Hugo Santos
66a4a42802
added Recv-Q/Send-Q output to netstat.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 17:41:18 +00:00
Hugo Santos
585195c28d
introduced SocketAddress wrappers and use them in TCP.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 17:41:01 +00:00
Jérôme Duval
c36e4d4c9f
updated freetype to 2.3.4
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 17:18:01 +00:00
Axel Dörfler
7f1085115e
* Rewrote terminal ID code to use a temporary file - this fixes bug #1174 .
...
* Tried to fix the usual deadlock on quit, but suspending the thread (to
interrupt read()) doesn't have the expected outcome (might be a kernel
bug).
* Removed superfluous MENU_FILE_QUIT and send a B_QUIT_REQUESTED instead.
* Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 17:00:51 +00:00
Hugo Santos
a1a9e858a2
tiny TCP cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 16:28:20 +00:00
Hugo Santos
53f23f85a2
partially rewrote TCP's endpoint manager. Fixes #1173
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 16:14:14 +00:00
Axel Dörfler
c845a2964e
Don't try to write back symlinks that don't have a data stream. This fixes bug #1179 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 16:12:42 +00:00
Axel Dörfler
1d63cfdc5b
Now makes use of the new block_cache_etc() function to sync data streams without a file cache attached.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 12:11:21 +00:00
Axel Dörfler
5c03270bea
Added block_cache_sync_etc() that allows you to sync single blocks.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 12:07:30 +00:00
Axel Dörfler
a72b83c06e
* Backported r20809 to the R5 version of BFS.
...
* Note that r20809 also fixes a bug in Inode::GetAttribute() - it could clobber
the attribute parameter and still fail (which could create problems in WriteAttribute()).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 10:53:14 +00:00
Axel Dörfler
cb0572cac5
* Changed Inode::WriteAttribute() so that it no longer reads from the old
...
attribute when its size was 0 - this also fixes calling Index::Update()
with invalid values, and therefore bug #1178 .
* Style cleanup: honour 80 column limit a bit more, use doxygen style comments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 10:47:24 +00:00
Axel Dörfler
6d1144bbca
The thread context was destructed a bit too early: if a team was killed (or didn't
...
close all of its file descriptors), code outside of the core kernel would be executed
in the descriptor's close/free hooks.
Since the semaphore timeout code, and send_data()/receive_data() rely on the
thread being available in the thread hash, they wouldn't work anymore.
This fixes bug #1168 . Thanks to Marcus for providing such a nice test case :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 08:25:10 +00:00
Philippe Houdoin
895eb46bc4
Replaced the boring 2D rendering with a colorful spinning 3D cube.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 00:44:56 +00:00
Philippe Houdoin
3ab3db3143
Added Be sample code Mandelbrot app.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 23:00:11 +00:00
Stephan Aßmus
96c2b12ade
* filled resource file
...
* created icon (maybe work in progress...)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 22:35:06 +00:00
Marcus Overhagen
0f87fab03a
fixed small memory leak, added debug output to close hook
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:47:04 +00:00
Philippe Houdoin
8bf025e532
Removed useless variable.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:44:06 +00:00
Stephan Aßmus
8b618e0a63
* improved icon
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:41:35 +00:00
Marcus Overhagen
099c5d288c
reproduceable testcase for bug #1168
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:41:24 +00:00
Philippe Houdoin
4b5f535142
Added some more OpenGL info.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:35:33 +00:00
Stefano Ceccherini
8860ba90e6
If there's a opened menu, the window should "eat" the B_MOUSE_DOWN
...
message. This fixes bug #582 and now menus behave like on beos (or
should, at least)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:00:20 +00:00
Stephan Aßmus
3c82cb484e
* created vector icon
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 19:59:46 +00:00
Jérôme Duval
7cfdfca2e2
GLView :
...
window_bounds are now coordinates of the view on the screen (was the window before)
this eases dramatically the drawing of the clip from the buffer
now allocates m_clip_info whenever needed as some apps call EnableDirectMode() after DirectConnected(), ie GLTeapot.
MesaSoftwareRenderer:
implemented DirectConnected() support in Mesa Software Renderer
tested with GLTeapot on QEmu, B_RGB16 mode only
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 17:37:51 +00:00
Hugo Santos
f8486a0219
fixed an issue where a TCP connection would fail if the first expected segment of data was lost. Reported by Axel.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 16:14:35 +00:00
Axel Dörfler
938e711e1b
Must check if the "Ok" button can be enabled after a "display as" type has been chosen.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 14:14:47 +00:00
Axel Dörfler
1c4b5b8a6a
Added a debugging command "devfs_node" to dump infos about the private devfs nodes for now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 14:04:26 +00:00
Hugo Santos
cd95756047
added test_slab to tests/system/kernel/Jamfile.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 11:05:00 +00:00
Hugo Santos
a30fb13f58
added a test Slab implementation to tests/ (including Depot management for SMP scalability). after a bit more of testing this will be added to the kernel (still without VM integration).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 11:04:47 +00:00
Hugo Santos
85dbe747c4
open addressing self-extending hash table implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 11:04:35 +00:00
Axel Dörfler
8b4bb46952
"Ported" wavelet denoising code from dcraw - not tested, probably won't work yet.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 22:23:53 +00:00
Axel Dörfler
be1f432648
Don't allow creating areas with a size of 0 bytes, courtesy of Vasilis Kaoutsis.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 22:22:29 +00:00
Axel Dörfler
f37b1856a9
Some coding style updates by Vasilis Kaoutsis - one step after the other :-)
...
Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 22:20:11 +00:00
Hugo Santos
006e498fa9
transmit our timestamp in network order. Fixes a problem with sending data to Linux and BSD hosts which Travis helped debug. Also only update SRTT when data has been acknowledged.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 22:15:20 +00:00
Jérôme Duval
56490cf3b7
virtualized DirectConnected() and EnableDirectMode()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 22:08:34 +00:00
Jérôme Duval
285d5ce2ea
we need view bounds in the window coordinates, they can then be offset with the window bounds for clipping
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 22:05:14 +00:00
Marcus Overhagen
2566ae4922
DVB media-addon and TV application added
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:11:50 +00:00