Commit Graph

26591 Commits

Author SHA1 Message Date
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
François Revol
fd9d807978 NFS addon does build fine here, add to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:30:18 +00:00
Ingo Weinhold
296f476ec9 * Missing config header directories in the CreateAsmStructOffsetsHeader
rule.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:26:08 +00:00
Stephan Aßmus
ea2317a80c * Tweaked registrar icon to make 16x16 version slightly clearer.
* Added icon to the registrar.
* Updated copyright years in version info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:23:22 +00:00
Stephan Aßmus
657cd741d1 Added zuMi's vector icon to fortune command. Not like you would see it easily,
but since he made it, fortune will be happier this way and tell more pleasing
fortunes. I hope.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:03:26 +00:00
Stephan Aßmus
78068f1f76 * MimeType.h is not a BeOS header.
* Honor 80 char/line limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:00:07 +00:00
François Revol
0fecbff55f First try at a dragging hand (for replicant handle maybe ?).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:51:08 +00:00
Stefano Ceccherini
2ebd72b194 sprintf -> snprintf. malloc.h ain't no standard header. Removed non-haiku code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:39:59 +00:00
Stefano Ceccherini
01632a5340 Added optional debug code for the acpi busmanager. Removed code for compiling the module on beos/dano/zeta
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:33:04 +00:00
François Revol
747b6fb8ff Unfinished Hand icon for use on servers maybe... modeled after the bitmap one. Would need some bezier and 3dization, stippi ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:23:28 +00:00
Ingo Weinhold
6486b756d0 Callgrind output: Added the missing time costs in the "summary" line.
Also added the missing "totals" line.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 11:57:42 +00:00
Ingo Weinhold
f8bdc2443d Created a central place for putting kernel debug enabling macros.
Currently it only contains KDEBUG and the block cache debugging macros.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 11:56:44 +00:00