Adrien Destugues
0d858bd391
Add documentation for the BTimeZone class.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-16 07:23:42 +00:00
Rene Gollent
606e627e76
Remove unnecessary NULL check (the view in question is created in all cases in InitCommon(), and is already dereferenced several times prior to the check in the function anyways).
...
Fixes CID 1078.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-16 02:45:08 +00:00
Andreas Färber
0d6a8357f4
Generic: Type fixes for atomic op
...
Cast uint32* arguments for atomic_or() to int32*.
Resolves warnings treated as errors for Big Endian targets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 22:38:41 +00:00
Andreas Färber
994f861dfc
Generic: Type fixes for byte swapping
...
Cast further pointer arguments for B_HOST_TO_LENDIAN_INT32 to uint32.
Resolves warnings treated as errors for Big Endian targets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 22:32:58 +00:00
François Revol
ef855c9edb
Remove unwanted compatibility aliases before I get beaten by the Dano hunters...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 21:08:59 +00:00
Oliver Tappe
3045206f61
* style adjustments - no functional change
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 17:58:06 +00:00
Oliver Tappe
80519a9d1f
* style adjustments - no functional change
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 17:53:04 +00:00
François Revol
6b26291d7b
Force reloading the current decorator on -r until they handle color changes correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 17:13:12 +00:00
François Revol
8e8634bf54
Add synonyms for tootip ui_color constants. Fix WindowShade to use the new official ones.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 16:33:00 +00:00
François Revol
def864c05d
Fix some blatantly missing uses of ui_color(), but there is a lot of work to do here... BControlLook itself doesn't even respect those correctly either...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 15:49:09 +00:00
Jérôme Duval
e6bffa0b5f
Fixed #6450 . "application type" string is not translated.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 15:30:42 +00:00
Axel Dörfler
df2895e0f8
* Automatic whitespace cleanup, no functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 13:24:41 +00:00
Axel Dörfler
44a3d0d1f6
* Spotted a few reference counting bugs that were probably responsible for
...
#6446 , although I could not reproduce the exact problem.
* net_datalink::is_local_[link_]address() now releases a previous reference if
the _interfaceAddress arguments does not point to NULL.
* When a buffer is received from a device, it's interface_address should be NULL
already.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 13:21:42 +00:00
Axel Dörfler
11eccb54e2
* Added ability to be able to dump a net_interface by name.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 13:17:52 +00:00
Stefano Ceccherini
5574811008
CID 1653. symbolTable could be leaked in certain error cases.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 12:46:10 +00:00
Stefano Ceccherini
372b00b0f7
Style (pointer & spaces/tabs)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 12:18:26 +00:00
Andreas Färber
be95e26df8
ATA: Type fix for byte swapping
...
Cast pointer arguments for B_HOST_TO_LENDIAN_INT32 to uint32.
Resolves warnings treated as errors for Big Endian targets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-15 11:57:24 +00:00
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