Jérôme Duval
491417146b
whoami is provided by coreutils (AFAIK)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 18:52:11 +00:00
Jérôme Duval
ccce070045
As Haiku BScreen::Frame() doesn't work in our current state, we use a fake Frame
...
input_server now sends well filled BMessages in Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 18:51:03 +00:00
Nathan Whitehorn
ff50d32d9d
Confirmed I was a moron in one of axeld's TODOs, changed B_LOMEM to B_FULL_LOCK | B_CONTIGUOUS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 18:00:29 +00:00
Stephan Aßmus
c9ceeec23c
Reverted some changes by Adi, because the way it works now is more helpful in finding bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 13:16:58 +00:00
Stephan Aßmus
6697162d5c
just a slightly more robust default font handling... should now work on Haiku even if you didn't install fonts from BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 13:15:38 +00:00
Stephan Aßmus
8a92263232
I _think_ the global system default fonts were never set. I added that to the _init_interface_kit_ function, and it fixes the system fonts under R5. It might have looked like it worked on Haiku before, but I think the be_fixed_font was just the first font found by the scanner in either Haiku and BeOS, while on Haiku, this was Courier just by chance. If this is not the right place to call _init_global_fonts, please tell me or just fix it. I tested under Haiku and BeOS and it looks like it works...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 13:02:20 +00:00
Axel Dörfler
3f762b0d64
Turned two dprintf()s into the TRACE() macro, as their messages are not really that important.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 09:02:32 +00:00
Axel Dörfler
53465d39c5
Added gdb to the image.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:56:32 +00:00
Axel Dörfler
e826b3f47e
put_module_image() is now again called independently from B_KEEP_LOADED - that has
...
the advantage that module_image::ref_count does not get messed up, so we could still
determine when to unload such a module (with an extra function).
get_module() now calls put_module_image() if B_MODULE_INIT failed - failing modules
were never unloaded before...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:55:03 +00:00
Axel Dörfler
e6963ff534
If B_KEEP_LOADED is specified, it's now guaranteed that B_MODULE_UNINIT is never
...
called, and B_MODULE_INIT only once.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:42:06 +00:00
Stephan Aßmus
643d10bb64
Added a big TODO comment, StrokeLine takes now non-const DrawData.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:28:25 +00:00
Stephan Aßmus
b176b6b493
The DisplayDriverPainter is now also the default on Haiku. The DisplayDriverImpl stuff is left out for now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:22:16 +00:00
Stephan Aßmus
5eec899752
added a TODO comment
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:15:53 +00:00
Stephan Aßmus
a53e726400
StrokeLine takes a non-const DrawData, penlocation is altered.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:15:25 +00:00
Stephan Aßmus
a11f3c21fd
StrokeLine takes now a DrawData, but it is only work in progress. The changes will be more drastic in the end.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:14:29 +00:00
Axel Dörfler
39c2d6c421
If the debugger command "team" is used without arguments, it will now print a list of all existing teams.
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:13:12 +00:00
Stephan Aßmus
80ed6173ec
Hinting works now and is enabled, the support for transformed text is probably completely broken now. To reenable it, the font loading needs to ask for vector glyphs when there will be a transformation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:12:59 +00:00
Stephan Aßmus
0858a6fca1
The freetype hinter only works correctly if the embedded transformation is the identity matrix. The AGG freetype font engine has a flip_y method to make it easier to work with coordinates where y points down. Since it changes the embedded transformation, hinting was messed up. Therefor, this is a workarround to be able to keep using the identity matrix and still have y pointing down. It just flips the generated raster glyphs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:11:09 +00:00
Stephan Aßmus
764683a939
StrokeLine alters the pen location, DrawData needs to be non-const. I didn't make this change in the DisplayDriverImpl stuff, and it is left out of the build for now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:07:20 +00:00
Stephan Aßmus
bd6b1617ec
a few cosmetic changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 08:05:03 +00:00
Axel Dörfler
a9ac393b28
The nvidia driver now works under Haiku when build with target haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 07:52:01 +00:00
Axel Dörfler
71ef877c9c
A tiny bit more debug information in case a module couldn't be loaded.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 06:59:19 +00:00
Axel Dörfler
955d763c86
Inode::FillPendingRequests() did not work correctly; it would have written
...
arbitrarily into the current team address space if there are pending bytes
in the chain.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 06:37:24 +00:00
Axel Dörfler
1c59ca152c
I accidently didn't disable SMP.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 06:10:28 +00:00
Axel Dörfler
f80b1fa5b5
Moved the kernel_startup variable declaration from int.h to kernel.h (it's defined in main.c).
...
Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 06:09:13 +00:00
Axel Dörfler
c46e419bc5
Fixed the most obvious bugs:
...
- it's restore_interrupts() not enable_interrupts()
- B_READ_AREA|B_WRITE_AREA gives every *userland* application full access
- fixed coding style
- the PCI module was never put away (but get_module() was called almost everywhere)
- added comments where the code looked buggy on first sight
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 05:47:48 +00:00
Axel Dörfler
d67e6bc8a2
Fixed the build of several network apps under R5:
...
- removed libnetapi.so from $NETWORK_LIBS - it's not used by anyone anyway,
and it's definitely not necessary to link against it by default.
Note, this might cause problems in some of the mail add-ons; I haven't
tested this.
- route/ping/... now also link against $SELECT_UNAME_ETC_LIB
makehdimage should now work again under all BeOS platforms.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 04:22:55 +00:00
Axel Dörfler
c7def18e6d
Fixed at least the most obvious violations of our style guide...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 04:15:15 +00:00
Axel Dörfler
79de26ad08
This fixes a bug and two warnings:
...
- pending_chain was set to -1, then MAIL:pending_chain was read into the variable "chain",
but later pending_chain was used again for comparison - and if that was not enough,
"chain" was later used again as well... (Nathan please check this)
- pending_chain was int32, Chain()->ID() uint32
- renamed pending_chain to pendingChain
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 03:49:59 +00:00
Axel Dörfler
8962594050
Fixed script for building an image file (network paths were wrong).
...
Removed GPLd network add-ons from the target image for now as they are only
compilable when the tree was configured to support GPL add-ons.
(I am not even sure if GPLd drivers are a legal problem for us, anyway)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 02:44:01 +00:00
Michael Lotz
fe161a3fc8
Added temporary implementations for float math functions. They provide more binary compatibility for now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 23:44:46 +00:00
Michael Lotz
695e973b6b
Replacing more broken binary resources with rdefs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 23:17:12 +00:00
Michael Lotz
7ea31cbce8
Replacing more broken binary resources with rdefs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 23:10:49 +00:00
Michael Lotz
a039ddd972
Replacing more broken binary resources with rdefs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 23:10:13 +00:00
Michael Lotz
02ea2a0f7c
Replacing even more broken binary resources with rdefs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 23:08:09 +00:00
Michael Lotz
9bd0b5702c
Replacing more broken binary resources with rdefs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 23:06:45 +00:00
Michael Lotz
3650623d6f
Replacing broken binary resources with rdefs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 22:54:16 +00:00
Adi Oanca
4038d58146
Fixed a bug where a modal subset on some occasions did not change workspaces when its main window did. Initializing workspaces is a bit different now, they are initialized when are needed. Some work on adding support for BWindow::WorkspaceActived()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 22:46:48 +00:00
Michael Lotz
2a76482cf3
Forgot to add PPP stuff. Also include the network binaries like ifconfig and route.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 21:28:05 +00:00
Michael Lotz
14a6985247
Did these get broken along the switch by the way?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 20:35:57 +00:00
Michael Lotz
7544c9f03b
Implemented DumpToFile() from AccelerantDriver so that screenshots can be taken.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 20:15:43 +00:00
Michael Lotz
f0b7006ca0
We lost one pixel there.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 20:13:34 +00:00
Michael Lotz
d7b4d4119c
This is a temporary implementation of ctrl-tab/switching between windows. It can be removed when we can use Twitcher (if we really want to use it in the end).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 20:11:46 +00:00
Michael Lotz
0c45558df7
Added everything network to makehdimage. Compiled and installed cleanly over here, tested successfully. Maybe the reordering is a bit radical?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 19:38:31 +00:00
Michael Lotz
8dfbc5e088
Prepare for native installation on Haiku. The net_stack is located under dev/net_stack to avoid recursive lookup, the network core is at add-ons/kernel/network instead of obos_network.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 19:37:09 +00:00
Michael Lotz
79de7f4dcb
Added a static Netscript that is launched from the Bootscript. Everything commented out currently, more like a temporary tutorial on how to setup everything.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 18:24:09 +00:00
Michael Lotz
8b8ddda544
Added socket.c to the build again. It is of course neccessary to have it in libnet.so. The real version of socket is in libsocket.so.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 18:12:40 +00:00
Michael Lotz
d058b5f880
Added TypeConstants.cpp that exports the constants of TypeConstants.h. Needed for binary compatibility.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 18:01:39 +00:00
Axel Dörfler
e67b1c1ad0
Added the arch_vm_supports_protection() call.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 17:52:37 +00:00
Adi Oanca
9d88881f9c
Added support for setting a window's workspaces from BWindow::SetWorkspaces(). Added a new method in RootLayer to have the new window list, invalidate, set new focus and send activate messages in a single command. Did that because there were many places where the same sequence was executed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-10 19:04:06 +00:00