Commit Graph

26639 Commits

Author SHA1 Message Date
Karsten Heimrich
feb171f79e * whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:40:39 +00:00
Ingo Weinhold
74785e79db * Added "from" address space parameter to vm_swap_address_space()/
arch_vm_aspace_swap().
* The x86 implementation does now maintain a bit mask per
  vm_translation_map_arch_info indicating on which CPUs the address
  space is active. This allows flush_tmap() to avoid ICI for user
  address spaces when the team isn't currently running on any other CPU.
  In this context ICI is relatively expensive, particularly since we map
  most pages via vm_map_page() and therefore invoke flush_tmap() pretty
  much for every single page.
  This optimization speeds up a "hello world" compilation about 20% on
  my machine (KDEBUG turned off, freshly booted), but interestingly it
  has virtually no effect on the "-j2" haiku build time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:39:19 +00:00
Stephan Aßmus
492c49ba5c * Renamed "white on blue - small" to "normal".
* Added "black on white - normal" size.
* Added the website logo area designs.
* Added the variation of the website logo that I did for the welcome
  introduction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:30:25 +00:00
Ingo Weinhold
6bbe7eb8ca * smp.c -> smp.cpp
* Added smp_send_multicast_ici(), which sends the message to all CPUs
  specified via a mask.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:14:24 +00:00
Stephan Aßmus
de054ea419 Switched to new Zip-O-Matic icon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:13:04 +00:00
Stephan Aßmus
58837ac623 * Finished Zip-O-Matic icon.
* Added Jamfile icon and two icons I will use in Pe. (I keep them here, since
  for now, this is the one place with all HVIF icons.)
* Added helper icons for one of the boxes from the generic app icon, may be
  useful for integrating in other icons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:11:06 +00:00
Stephan Aßmus
586376a3fc Worked over the design and some of the text of the "Welcome" documentation.
* Changed the design of the logo area and worked on the document margins
  and overall layout.
* Added a navigation infrastructure.
* Worked on the text on the Welcome page - Added an actual welcome paragraph
  and unified the bug sections. Slightly changed the paragraph ordering.
* Fixed some typos, added small bits of text to the Tracker topic.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:04:11 +00:00
François Revol
89fa6527e8 - some cleanup
- fixed dbg output
- a priori .au can contain raw audio...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 18:36:28 +00:00
François Revol
b0857aa924 Add some documentation for Themes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 18:03:09 +00:00
Ingo Weinhold
3fea1d5918 Simplified x86_next_page_directory().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 13:08:44 +00:00
Stefano Ceccherini
36bc11a79f I'm getting old. Without this change, bug #2350 was still with us. Sorry for forgetting to commit this
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 13:06:16 +00:00
Ingo Weinhold
dbe295f827 Moved vm_translation_map_arch_info definition to the header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 11:49:13 +00:00
Axel Dörfler
5007e8e478 * Minor cleanup - this stuff really has "reimplement me" written all over it...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 11:43:15 +00:00
Stefano Ceccherini
044627ee89 check for NULL in advance (CID 1056)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 07:49:36 +00:00
Stefano Ceccherini
bebd82c2b2 should've been part of r27898
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 05:51:09 +00:00
Stefano Ceccherini
0dcbaee24a Screen was assuming setting a 800x600 mode would work anyway, but currently the Intel driver only supports the 'native' mode for laptop panels. Added a 'strict' parameter to SetBestMode which, if true, fails if it doesn't find any mode with the passed width. If false, and can't find any good mode, just uses the first mode in the list (could be improved). This fixes bug #2350
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 05:47:57 +00:00
Ingo Weinhold
032ff97fbd When a thread times out on a locking primitive, reschedule only, if the
timed out thread has a higher priority than the currently running one.
Maybe we should even restrict this behavior to realtime threads.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 23:00:17 +00:00
Axel Dörfler
0555803a41 Applied patch by Romain, thanks!:
* get_nth_symbol() did not correctly iterate over the symbol hash, causing it
  to return the same symbols more than once, and omit others.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 21:03:58 +00:00
François Revol
eaa3a999ac Fix the gMainApp race on launch in a cleaner way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 20:52:19 +00:00
Karsten Heimrich
d8b7877cf2 * correct comment, i've written a small test app and it works the same way on R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 20:21:03 +00:00
Karsten Heimrich
f3547bb3d3 * cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 20:20:09 +00:00
Karsten Heimrich
23f4249171 * should have been part of r27883
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 19:51:17 +00:00
Stefano Ceccherini
700b9c36d4 added some debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 14:12:26 +00:00
François Revol
46d11d6777 Add NetSurf as optional package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 13:24:40 +00:00
Stefano Ceccherini
0dcd8099a3 With last commit, I accidentally removed a couple of network drivers from inclusion in the image. Sorry
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 12:09:09 +00:00
Stefano Ceccherini
286d55dccc Added the rtl81xx driver to the image, at least for now. The problems I'm having seems not to be reproducible on other systems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 12:07:11 +00:00
Stefano Ceccherini
40bab56b8f renamed 're' driver to rtl81xx. I hope it's clear enough. If not, just shout. Also disabled the ids for cards already supported by the native rtl8169 driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 12:05:14 +00:00
Axel Dörfler
c597770758 * Renamed the "screensaver" directory to match the name of the filter, ie.
"screen_saver".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 09:46:06 +00:00
Axel Dörfler
94cd9aa2ed * The ScreenSaverFilter now uses locking in all public functions to ensure
it works well with its controlling looper. This fixes #2638.
* Header cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 09:41:59 +00:00
Rudolf Cornelissen
e1fafdf355 forcing 16bit pio writes, disabling 32bit pio writes. This was already the case for read pio ever since this driver got imported. This fixes booting from IDE drives in PIO mode with both the IDE and ATA busmanagers, at least on my ASUS P5E3 mainboard. If I am stepping out of bounds here please correct and let me know..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-06 06:51:21 +00:00
Karsten Heimrich
a4da9c8634 * fix of by one bug while moving from front to back
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 22:44:33 +00:00
Karsten Heimrich
68f40fccf7 * cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 22:41:36 +00:00
Karsten Heimrich
8f30a89d1c * the way it was now, not all items would have been deleted
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 21:52:40 +00:00
Karsten Heimrich
c8fe174643 * fix a crash when closing Cortex with some connected nodes
This should have crashed on R5 too, what happend is that deleting
  a 'Box' will cause a release of it's EndPoints, thus leaving some
  dangling EndPoint pointers in the Wires, which they access to call
  disconnect. So deletion order is important here, delete Wires first.
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 21:11:20 +00:00
Karsten Heimrich
fe811b9829 * cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 20:55:25 +00:00
Ingo Weinhold
dee62ec06b Yay, infinite loop when debug output is disabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 15:17:31 +00:00
Ingo Weinhold
57a45758e2 * Fixed several instances of conversions from page to byte counts. We
need to cast explicitly before the multiplication/shift, since the
  former is 32 bit and the latter 64 bit. The worst instance was in
  swap_file_add(), where the page count was int32, so that swap file
  sizes between 2 and 4 GB resulted in a negative available swap space
  size. Fixes bug #2721.
* Fixed and added optional debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 14:37:50 +00:00
Ingo Weinhold
e43cb37bcd Moved several VM related debug settings to kernel_debug_config.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 13:15:04 +00:00
Karsten Heimrich
3c4e57077a * argh, shouldn't have been commented out
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 11:58:59 +00:00
Karsten Heimrich
86ab6e77fc * lock the window before calling Quit()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 11:56:08 +00:00
Karsten Heimrich
d2418e6b94 * cleanup, no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 11:53:29 +00:00
Karsten Heimrich
2617261d77 * fix a nasty bug i introduced with 26383, leaving the looper locked
* grab the fLooper pointer in some more functions, just to play save
* remove wrong comment in UnlockLooper, since it's obviously possible to change fLooper

  In case we remove the handler from the loopers handler list, we need to grab the looper
  pointer first, since calling RemoveHandler(...) will call BHandler::SetLooper(...) thus
  setting fLooper to NULL and calling UnlockLooper did nothing, leaving the looper locked.

  Thanks Maurice for pointing out that 26383 broke Cortex, the wires where not draw and the
  app was locked somehow.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 01:26:06 +00:00
Karsten Heimrich
17e0fc6b5a * cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-05 00:48:54 +00:00
Axel Dörfler
d881bedfc0 * We must not sort the cached inodes, or else we mess up the order for
CanOpenWithFilter().
* This fixes bug #2795.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 20:33:20 +00:00
Axel Dörfler
f28ab87b68 * Added "sortInodes" parameter to CachedEntryIteratorList constructor.
* Moved static CompareInode() to CachedEntryIterator::_CompareInodes().
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 20:30:29 +00:00
Stephan Aßmus
7ef5a94047 Added optional package "Welcome". The welcome package documation is
copied to /boot/beos/documetation/welcome and a link to welcome.html
is placed on the Desktop. The mime_update.sh script makes sure that
the mime type of the html files is set. However, Firefox has a problem
when it is launched for the first time via double clicking an HTML
file. Apparently, it initializes some settings and relaunches itself,
which in turn makes it forget to open the file. A second problem is
annoying as well: When launching Firefox to display a local file,
it will always open a second window with the default web location.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 18:28:15 +00:00
Stephan Aßmus
aed05d6cf6 * Added Syslog daemon icon by zuMi. Slight tweaks by myself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 17:29:17 +00:00
Stephan Aßmus
cbfa2ce735 New BSnow icon by zuMi. Thanks a lot! :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 17:00:42 +00:00
Axel Dörfler
de33b3bed0 * connect() and bind() now make sure that sockaddr::sa_len is set correctly.
* Renamed MAX_SOCKET_ADDRESS_LEN to MAX_SOCKET_ADDRESS_LENGTH.
* Whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 16:38:10 +00:00
Jérôme Duval
170373a1b2 remove symlink
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 10:47:34 +00:00