Commit Graph

18841 Commits

Author SHA1 Message Date
Axel Dörfler
cdcb059571 * Renamed get_team_death_entry() to team_get_death_entry() and make it available
to other kernel components.
* wait_for_thread_etc() will now search the team's death entries in case the
  thread is already gone; also resume_thread() is now done later, and its return
  code will no longer matter (as we already have our death entry, no matter if
  the thread is gone now or not).
* The fibo_load_image test now works as expected (only tested with low numbers
  yet, though - the mean testing comes later (first comes functionality) :-))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-09 23:58:59 +00:00
Axel Dörfler
cbe5f24524 * Added fibo_load_image test based on Manuel's fibo test from NewOS - doesn't work yet
due to problems with wait_for_thread().
* Minor cleanup to the Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-09 23:53:40 +00:00
Axel Dörfler
2d75f771bf Fixed minor ugliness (only visible on slow systems, such as Qemu): the mouse cursor
was drawn before the background got cleared.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-09 23:33:57 +00:00
Jérôme Duval
9481ed48de updated to tzcode2007a
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-09 23:16:26 +00:00
Jérôme Duval
f21b85581f update from tzdata2007a.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-09 22:35:49 +00:00
Michael Pfeiffer
f598815a9e Changed display mode settings of resolution 1920x1200. The reduced pixel clock is required by some monitors to display a sharp image. The settings are provided by Hartmut Reh, who has testet them on various hardware configurations. Thanks a lot! E.g. see http://www.jwdt.com/~paysan/dell2405fpw.html .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-09 21:29:02 +00:00
Jérôme Duval
8735da62d2 should fix the gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 23:55:08 +00:00
DarkWyrm
761f20e920 Jamfile code cleanup, also courtesy of Axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 23:42:37 +00:00
Jérôme Duval
aa1ae2b81e fix a warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 23:28:29 +00:00
DarkWyrm
8082d6d0d3 Fixed R5 build target. Thanks to Axel for the Jamfile help. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 23:10:08 +00:00
Jérôme Duval
a6afeec81f hopefully fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 22:49:23 +00:00
Jérôme Duval
6162e54921 merging coreutils-6.7 into trunk
to be smart with our build system, I added some md5sum-*.c files for each checksum type


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 22:25:11 +00:00
Jérôme Duval
a2758a418b replaced size_t with socklen_t where appropriate following POSIX
Axel, I hope you don't mind :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 20:57:28 +00:00
Axel Dörfler
32e2879f10 We now ignore all memory beyond the 4 GB barrier in 32-bit mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 17:44:32 +00:00
Axel Dörfler
625f8abdb0 * The networking stack now removes all invalid interfaces during startup (those
where there is either no address or MAC address [ethernet only]).
* _ConfigureInterfaces() now notices if a network device that has a configuration
  is gone and memorizes this configuration.
* If a new device pops up, and there is an existing configuration for a device
  no longer available, that configuration will be used for the new device, allowing
  you to easily move your Haiku image to a new system without losing its network
  settings - it does not yet test if the IP address is already in use in the local
  network, though (in which case a configuration using DHCP would be preferrable).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 16:04:16 +00:00
Axel Dörfler
de8a7c2680 * Introduced a reader_thread member to the private net_device_interface.
* When shutting down an interface, we now wait until its reader thread is gone, too;
  this is necessary in case the kernel unloads the networking stack before the reader
  thread had a chance to exit.
* Added some debug output to net_socket in case you ask for unknown options.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 15:41:56 +00:00
Axel Dörfler
86e355a227 Enlarged all memory range arrays to 6, just in case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 12:14:58 +00:00
Axel Dörfler
3e161fb661 * Instead of its home-brewn solution, mmu_init() now uses the functions declared
in addr_range.h to add ranges to the arrays. This fixes the crashing bug reported
  by Larry Baydak.
* Added some more exported functions to kernel_args.cpp (prototypes are in addr_range.h).
* TODO: let the PPC/OpenFirmware implementation use those as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 12:14:06 +00:00
Michael Lotz
9c8cdfd89e * Reworked transfer queuing so that each transfer is grouped with it's own queue head
* Fixed max packet size under bandwidth reclamation
* Increased the thread priority of the finisher thread so that USB input devices should be more responsible under load
* Added a comment to clarify the queue concept

The queue management should now be less complex and less error prone.
The max packet size is now set to 64 bytes which is the maximum size allowed. Transfers that caused babble errors before should now work.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 03:16:29 +00:00
Axel Dörfler
4dbea1ffa8 Added another PHY provided by Bernd - thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-07 18:45:52 +00:00
Bruno G. Albuquerque
4104cd261d Ops...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-07 16:12:39 +00:00
Bruno G. Albuquerque
3fbb09f87f - Cleaned up soeveral Copyright strings.
- Shuffled the resource app_flags entry as it somehow fixed corrupt version/description;icons for several files here. It seems this entry must be the last one before the icons.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-07 16:03:13 +00:00
DarkWyrm
08cf72ce97 Initial checkin of a resource editor similar in style to QuickRes -- Resourcer's code is too difficult to maintain and the others on BeBits are either not good or the author could not be contacted.
This is currently a work-in-progress - right now it can only view resources and attributes.
Haiku target builds but R5 is broken because of a linking issue that will hopefully be resolved shortly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 21:18:16 +00:00
Ingo Weinhold
7272fc16e5 Added fortune files to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 20:52:49 +00:00
Michael Lotz
a8be7d1ea3 * Added some more debug output to the hub code
* Report and clear yet unhandled port changes in hubs
* Fixed the way devices that vanish on port reset are handled
* Added a status field to the memory allocator and check it creating it

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 18:10:15 +00:00
Axel Dörfler
43cca04a9a Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 18:06:38 +00:00
Michael Lotz
955dc88f0c * Fixed spinlock usage in EHCI and UHCI drivers
* Fixed UHCI to allow for empty transfer buffers
* Extended the check for still linked transfer descriptors when removing a chain

There remain UHCI bugs that will cause transfers outgoing transfers to fail. I'll have to review / rewrite the UHCI driver.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 18:05:05 +00:00
Marcus Overhagen
41f9e82cd1 Forgot to save that before compiling, but now it does...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:43:24 +00:00
Axel Dörfler
83e805ad15 * Added a note that the flock() definitions are misplaced here.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:25:52 +00:00
Marcus Overhagen
ee6c8dde21 For interupt handling in PIO mode, use the "Task File Configuration + Status" interrupt status bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:23:39 +00:00
Marcus Overhagen
1c23ca6f79 avoid eating interrupts (still this code is slightly insane)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:21:30 +00:00
Axel Dörfler
ccf137b886 BWindow::IsFront() was implemented incorrectly - we actually need to query the
app_server for this; added a new AS_IS_FRONT_WINDOW command for this.
For example, clicking on the menu bar to bring windows to front in FFM mode
does work now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:08:19 +00:00
Axel Dörfler
f0d2e76081 * Fixed missing "not" operator in all those flags changing lines; turning off the
screen is now working as expected.
* Only remove DPMS runners when the time is actually supported (previous code would
  not have always worked correctly in case the graphics card would not support all
  DPMS modes).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 15:50:26 +00:00
Marcus Overhagen
e7c111135c Removed broken dependencies, it should be possible to build pxehaiku now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:54:39 +00:00
Marcus Overhagen
aa86f3868f Cleanup naming of PXE stage2. It no longer interferes with zbeos build process.
You can build it using:

TARGET_BOOT_PLATFORM=pxe_ia32 jam pxehaiku-loader

Building the PXE stage1 using:

TARGET_BOOT_PLATFORM=pxe_ia32 jam pxehaiku

is still broken. however, it can be build using:

cd src/system/boot/platform/pxe_ia32/
as -o pxe_stage1.o pxe_stage1.S
ld --oformat binary --Ttext 0x7C00 -o pxe_stage1.bin pxe_stage1.o
cp pxe_stage1.bin /tftpboot/pxehaiku


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:46:41 +00:00
Axel Dörfler
167c61fce4 Turns out drawing text using the outline path always results in an endless loop.
Since I have no clue about AGG at this point, I just disabled rendering the glyphs;
instead, their bounding boxes will be shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:26:46 +00:00
DarkWyrm
98969dd0a4 Added app restart capabilities
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:20:01 +00:00
Axel Dörfler
ddcd53aaf0 * Instead of choosing the next thread if we skip one, we now choose the first thread
with a lower priority than the current one.
* Further reduced the probability to skip a thread to roughly 4%, that makes around
  13 skips per second, and about 40 msecs spend in lower priority threads per second
  (with a 3 msec quantum). Might still be too much, but we'll see.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 12:50:01 +00:00
Axel Dörfler
97ad772ada * Moved PXE page directory and page tables below the 1 MB limit.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 11:51:21 +00:00
DarkWyrm
3cb015b1ee Added the public header to allow apps to take advantage of the services daemon's app restart capabilities
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 02:27:52 +00:00
Marcus Overhagen
6c3245f6a7 fixed error return in _Scan() function. now only returns B_OK when a device was found.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 01:04:09 +00:00
Axel Dörfler
2a3ed81cf6 Our copyright string now says 2007 - I also updated it so that we don't have to
do this every year, just in case ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 20:27:20 +00:00
Axel Dörfler
9640130c40 Removed the R5 icon from the kernel resources - it can only be compiled for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 20:16:48 +00:00
Axel Dörfler
9310654a00 You must not delete a running looper - you have to quit it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 19:54:35 +00:00
Axel Dörfler
2ca64e4886 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 19:53:45 +00:00
Axel Dörfler
92870c3b39 We always handled signals as if their SA_RESTART flag was set - but that's not
the default case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 19:27:48 +00:00
Axel Dörfler
4621a82e74 Our scheduler skipped over threads in about 30% of all cases - that's a bit much; it's
not a penalty to be the first thread in the run queue...
I've reduced it to about 12.5%, but that might still be too much.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 19:01:09 +00:00
DarkWyrm
8f67ee51b8 Added boot-time haikus from the wiki to the file. Thanks to Urias for this one. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 11:41:18 +00:00
Stefano Ceccherini
27e7210df2 Since Waldemar changes to menus, replicants menus didn't work
anymore. That problem showed up for example during my haiku 
presentation at Begeistert, where I couldn't delete replicants from 
the desktop... grrrr!!! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 10:03:33 +00:00
Stefano Ceccherini
d5ff520ac3 don't copy fortune folder to the image (temporarily), since latest change prevented it to be copied anyway, and also other files weren't copied then (termcap, teapot.data, profile), because 'fortune' is a folder now, and not a file anymore. Please someone fix this
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 08:42:04 +00:00