Commit Graph

36193 Commits

Author SHA1 Message Date
Stefano Ceccherini
afa2074362 prof was dereferenced before checking for NULL. CID 1065
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 11:17:13 +00:00
Stefano Ceccherini
f97e560e1c Fixed incorrect check. CID 1339
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 11:05:28 +00:00
Scott McCreary
9fef36ccc8 updated cdrtools to 3.00
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 10:59:01 +00:00
Axel Dörfler
a89dbefb7d * On change_address(), arp_remove_local_enty() must not switch to the address
that caused the change (but that has not actually been changed yet).
* Also, it will now reset the INADDR_ANY local address in case there is no
  other address configured. This should help with automatic configuring after
  deletion of an interface address (though it doesn't seem to work yet for
  some other reason, at least in VMware).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 10:39:39 +00:00
Axel Dörfler
7a1123a7bf * Moved the "run me on the boot CPU" code to where it is actually used.
* Added a TODO that thread_yield() doesn't like to be called from the idle
  thread.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 10:17:42 +00:00
Stefano Ceccherini
48a05691c4 directory was leaked. CID 1745
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 09:59:20 +00:00
Stefano Ceccherini
0f72bf29fe Check for NULL pointers. CID 1589 and 1590.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 09:42:53 +00:00
Andreas Färber
756ea297c2 Firewire: Type fix for byte swapping
Cast return value of __swap_int32 to uint32_t, as suggested by Ingo.

Remedies uint32 %08x warnings treated as errors in the Big Endian code path.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 09:37:20 +00:00
François Revol
a4c54e94e8 Delete types when that's what you mean, not strings from the wrong list. Fixes a double free() that made ThemeManager crash.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 03:52:35 +00:00
Stefano Ceccherini
1345706a9f Fix typo (CID 392)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 21:25:16 +00:00
Axel Dörfler
75148e0193 * Applied patch by Janito that fixes broken reverting when a rename operation
failed on last chance. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 18:41:52 +00:00
Stefano Ceccherini
cdb58cbb69 Fix a possible NULL dereference. CID 1582
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 17:34:02 +00:00
Scott McCreary
f50aabd24d update curl optional package to 7.21.1
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 17:30:39 +00:00
Andreas Färber
8b006b36e7 Allow to suppress individual Optional Packages
Add Jam rule SuppressOptionalHaikuImagePackages as a mechanism to keep
packages from being installed.

Extend the UserBuildConfig.ReadMe document to cover the new command.

Closes ticket #6260.

Changes from v1:
* Simplified IsOptionalHaikuImagePackageAdded as suggested by Ingo.
* Added example as documentation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 16:43:55 +00:00
Stefano Ceccherini
2323e7fa92 CID 1697. The FILE handle was leaked.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 16:24:48 +00:00
Jérôme Duval
867b56657b use __haiku_addr_t instead of __haiku_uint32
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 11:58:02 +00:00
Andreas Färber
f4f4142ee0 keymap: Fix build on Solaris host
The updated glibc regex sources use source-local includes, such as
"regex_internal.h", so add the regex directory to the search path.
Define __USE_GNU as in r38031 to define GNU extensions used and
HAVE_STDBOOL_H to avoid build failure due to type bool.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 11:38:06 +00:00
Andreas Färber
902e646ceb Import glibc 2.11.2 regex.h for Solaris
Cygwin and Solaris rely on Haiku supplying a glibc-compatible regex.h header.
Before r38031, Solaris was able to reuse cygwin/regex.h successfully. Import
the latest stable 2.11 posix/regex.h to avoid local trickery and to silence
some RE_* errors.

It is very likely necessary to update cygwin/regex.h as well, but I don't have
a test setup to verify.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 11:10:40 +00:00
Stefano Ceccherini
25e4ba1fe4 The BMessengers were leaked. CID 1731.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 10:41:29 +00:00
Rene Gollent
e4dd2130ec Thought I reverted that change, shouldn't have been part of the previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 01:47:00 +00:00
Rene Gollent
cdd17fcb56 Add an rdef for the keymap command line applet to specify background app so it doesn't pop up in Deskbar when being executed (especially annoying during Haiku builds).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 01:44:46 +00:00
Adrien Destugues
c3d88d5160 Fix clang build. modf is not good for optimizations it seems
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 19:45:54 +00:00
Adrien Destugues
be4263537e Sorry, vim auto-indenting messed it up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 16:30:12 +00:00
Adrien Destugues
dbf7fa8716 256 colors support in terminal (compatible with xterm)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 16:23:21 +00:00
Adrien Destugues
6100b6aa33 Enlarge attributes to 32 bit instead of 16. This prepares 256-color support for terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 15:53:34 +00:00
Adrien Destugues
3614af01cd Fix #2673 : allow use of \E(0 to switch to line drawing character set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 15:19:36 +00:00
Adrien Destugues
78e421e05e Turns out this was right after all. Thanks to Rene for the explanations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 14:08:15 +00:00
Adrien Destugues
d84da869d5 CID 1556 : wrong cast type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 13:18:36 +00:00
Axel Dörfler
bfd62966de * Removed useless and wrong "net" symlink from the repository, hope that helps
Clemens.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:59:43 +00:00
Adrien Destugues
8ac6b88687 Only shift if there are arguments left in the list. Previous fix invalidated by Axel and hint to the proper solution given by mksh developper.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:42:46 +00:00
Adrien Destugues
22727b149d CID 1739 : Memory leak on error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:31:36 +00:00
Adrien Destugues
cac07c64e8 CID 1981 : NULL pointer dereference on error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:23:18 +00:00
Adrien Destugues
1401598fed Remove bogus shift : shifting an empty list of arguments is not allowed.
This allows to boot Haiku with mksh as /bin/sh.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:02:27 +00:00
Adrien Destugues
7c7f4cafda CID 2021 : wrong cast type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 11:59:31 +00:00
Axel Dörfler
8dcde8b128 * B_SOCKET_SET_ALIAS handling was leaking references.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 10:27:00 +00:00
Axel Dörfler
7e5d6acf69 * Added rlphy MII driver back to the rtl81xx driver - originally, I intended to
change the current MII management, but I ran out of time.
* This should fix bug #6295.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 09:10:53 +00:00
Axel Dörfler
8ccc01cf2d * Improved the output of the "net_domains" KDL command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 08:02:40 +00:00
Clemens Zeidler
756e5df62f Fix gcc2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 04:06:58 +00:00
Rene Gollent
323e7fe567 Fix build error in IMAP client due to incorrect inequality check in one of BString's inlines. Fixes #6439.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 23:32:23 +00:00
François Revol
cf8d18c0a5 Only include themes conditionnally, in case one symlinks from the osdrawer svn working copy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 23:26:48 +00:00
Clemens Zeidler
bc7f766f5d Use new listener interface.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 23:06:11 +00:00
Clemens Zeidler
c84e125085 Rework listener interface as suggested by Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 23:05:31 +00:00
Clemens Zeidler
b960e45194 Add the SATDecorator. This is a new implementation of Stack and Tile with a different tiling logic. For example, this should make overlapping windows in the same tiling group impossible. There are still many issues I know about and this version is far from usable but the basic features are working now. So if you like to test it at this state please only report errors like crashes or memory leaks (think there is one).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 22:37:16 +00:00
Clemens Zeidler
5483fa4e78 - Make RebuildAndRedrawAfterWindowChange public. This is useful when changing the window footprint from the outside. In this case RebuildAndRedrawAfterWindowChange recalculate the clipping and everything. Need this when I switch a decorator into a SAT stacking mode which is not a standard desktop operation. In this case the tab size is adjusted and also the window clipping need to be recalculated.
- First unregister listener reload decorators and then register new listener.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 22:09:28 +00:00
Clemens Zeidler
f182b4e2f9 Make _GetButtonSizeAndOffset protected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 21:58:21 +00:00
Axel Dörfler
095f97a6b6 * Fixed memory leaks pointed out by Stephan, thanks!
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 21:20:31 +00:00
Clemens Zeidler
d25313d44f Add listener for the tab location.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 21:19:49 +00:00
Adrien Destugues
77fa0021d9 Enable the "interpolate" resampling method. Results are not as good as I expected, however.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 17:12:00 +00:00
Alex Wilson
e70fa080b2 Should have been part of my previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 16:56:46 +00:00
Alex Wilson
25fd5c7b35 Update some apps/add-ons/preflets for impending changes to the layout API, specifically the layout builders. Also do a bit of style and layout cleanup in some places. This is part of #6407. Everything I've updated should look and function the same as it did before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 16:54:03 +00:00