Commit Graph

26611 Commits

Author SHA1 Message Date
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
Axel Dörfler
c1379d357b Update for the S3 driver by Gerald:
* The hardware cursor is now disabled at 640x480 with a Virge VX (before it
  was just invisible).
* EDID info can now be read for all S3 chips.
* For the Savage IX, Savage MX, and SuperSavage chips the display is no 
  longer expanded to fill a laptop LCD display when the mode resolution is 
  less than the size of LCD display.
* Savage IX, Savage MX, and SuperSavage chips will now display mode 
  1400x1050 on a 1400x1050 laptop LCD display.  Previously the display was 
  blank at that resolution. 
* Previously about half the Savage chips would not draw properly at 
  1400x1050.  That is, the image was badly skewed and unusable.  All of 
  them now draw properly at 1400x1050.
* Some code was reorganized to remove unnecessary and redundant code.  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 08:09:40 +00:00
Axel Dörfler
da720168c1 * Applied a patch by Jan Klötzke: added a description for buffers passed
to the function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-04 07:45:15 +00:00
Axel Dörfler
e58419d391 * White space cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:48:59 +00:00
Karsten Heimrich
74fd3b540a * fix probable memory leaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:48:19 +00:00
Karsten Heimrich
5ac3a15ece * build fix...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:44:40 +00:00
Karsten Heimrich
05ea853598 * fix some mem leaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:36:58 +00:00
Karsten Heimrich
c716766b3d * whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:35:57 +00:00
Karsten Heimrich
c1a10c140c * fix mem leak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:32:52 +00:00
Karsten Heimrich
eba8ea5eb2 * fix mem leak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:31:59 +00:00
Karsten Heimrich
036203a01a * fix small mem leak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:07:30 +00:00
Karsten Heimrich
3c0f9a7cba * fix probable memory leaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 12:01:35 +00:00
Karsten Heimrich
ce757605b0 * automatic whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:56:02 +00:00
Karsten Heimrich
8e0559b5f7 * fix probable memory leaks, not in the image but anyway...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:54:05 +00:00
Karsten Heimrich
ebf84359c4 * fix probable memory leaks, not in the image but anyway...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:35:28 +00:00
Karsten Heimrich
fffc7e3e42 * fix probable memory leaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:17:23 +00:00
Stefano Ceccherini
5feb95a185 Added Francesco Piccinno (and not Piccinini as I incorrectly wrote in the if_re driver commit message, sorry!) to the about box.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:12:14 +00:00
Karsten Heimrich
cb0c40290e * fix probable memory leaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:08:50 +00:00
Stephan Aßmus
bf8eb495e2 Contribution by Humdinger:
Firt version of the "Welcome Package" introductory documentation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 08:03:14 +00:00
Stefano Ceccherini
bcdc0267c6 removed useless sprintf() call, added a TODO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 06:25:28 +00:00
Stefano Ceccherini
4e0c2a797d Menus can be scrolled also using the mouse wheel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 06:03:27 +00:00
Stefano Ceccherini
bf732017df if_re freebsd driver, adapted for the build by Francesco Piccinini. It
supports many Realtek based NIC which our own driver doesn't support 
(for example the RTL8101E). Thanks! Not added to the image yet, since it 
causes some problems on my laptop (but could well be caused by the 
freebsd compat layer, or by the scheduler)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 05:57:35 +00:00
Ingo Weinhold
8443ac689e * -Wno-multichar was added multiple times. It's now only in the
HAIKU[_KERNEL]_WARNING_CCFLAGS.
* Added -Werror for various parts of the source tree for the gcc 2
  build. Feel encouraged to add more.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-02 21:25:10 +00:00
Ingo Weinhold
b50e620202 Fixed various warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-02 21:22:03 +00:00
Stefano Ceccherini
ef68c59b17 Removed useless _APP_ links
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-02 09:56:01 +00:00
Axel Dörfler
a3513e7b9a * Fixed possible deadlock when booting over the network. Creating the interface
without having the domain locked seems to be safe AFAICT.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-02 09:16:50 +00:00
Axel Dörfler
4787aab961 * Fixed the build when ENABLE_SWAP_SUPPORT is not defined.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-02 08:28:04 +00:00
Ingo Weinhold
1ba29206b0 Enforced 80 column limit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 23:56:12 +00:00
Ingo Weinhold
6a2bdc9b4a Changes by Scott McCreary:
* Updated CVS optional package to version 1.12.13.
* Added Yasm 0.7.1 optional package.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 22:52:48 +00:00