Commit Graph

26702 Commits

Author SHA1 Message Date
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
Ingo Weinhold
e18bafbdb5 Print the error code. Supposedly B_NO_MEMORY, but one never knows.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 21:58:59 +00:00
Stephan Aßmus
71662bf2cc Renamed Screenshot to App_Screenshot. Nice work, btw!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 21:07:52 +00:00
Stephan Aßmus
2cda3f8770 Slight tweaks (?) ... been lingering for a while.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 21:07:08 +00:00
Karsten Heimrich
8e4e6e30ff * Screenshot app icon, kudos to Humdinger
- /me still wonders why we have to use such tiny icons in Deskbar,
  fuzzy look and for sure not handicapped people friendly, hmmm...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 19:19:36 +00:00
Axel Dörfler
56ab6f077f * I accidently broke get_next_locked_block_cache() in r27074; it would always
ignore every other cache (starting from the first).
* The consequence of this was that no blocks were written back automatically
  for those caches, and their transactions were never idle, causing bug #2781.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 17:05:26 +00:00
Axel Dörfler
1b910a79a2 * Since the "restart"/"shutdown" alert has the inconvenient consequence that the
shutdown process is entered (ie. you cannot start new applications anymore),
  I changed its window feel to normal to make it possible to let it appear on
  all workspaces.
* We should think about if simply letting it enter that phase later isn't the
  better solution, though. Opinions welcome.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 16:45:59 +00:00
Stephan Aßmus
fb2f3ef96c As pointed out by Ingo, Mime.h is also a Haiku header and includes MimeType.h
for convenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 16:27:15 +00:00
Stephan Aßmus
4df6a8c3fb * As with other controls, for BeOS compatibly behavior, don't shrink
a BTextView via GetPreferredSize() if it is large enough. (Have not
  confirmed this is necessary... gut feeling.)
* Calculate a minimum line height even if the BTextView is empty yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 16:12:21 +00:00
Ingo Weinhold
567f78895b Fully inline {disable,restore}_interrupts() and friends when including
<int.h>. Performance-wise not really significant, but gives nicer
profiling results.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:33:10 +00:00