Commit Graph

46186 Commits

Author SHA1 Message Date
Ingo Weinhold
b28421c927 acpi_cpuidle.cpp: Some style cleanup
Just what I spotted at the first glance. There's more general cleanup
to be done, e.g. regarding the public API.
2013-04-27 17:13:04 +02:00
Michael Lotz
a064168869 Fix truncation of comparison value introduced in 848acd67.
Casting the difference of the two off_t values to size_t may truncate
the result. Doing so before the comparison will therefore break it.
Instead cast the size to off_t to get around the signed versus unsigned
integer expression comparison and then cast the result of the comparison
to size_t again. Should fix #9714.
2013-04-27 18:42:05 +02:00
Jérôme Duval
32d7bcb470 VMAnonymousCache.cpp: use off_t instead of page_num_t
* use off_t instead of page_num_t to fit in swap_hash_key struct.
* this fixes narrowing conversion and signedness warnings on GCC 4.7.
2013-04-27 14:43:20 +02:00
Matt Madia
db6fcc4952 Fixed typo in variable use. 2013-04-27 08:20:53 -04:00
Jerome Duval
dc0e22d800 Revert "VMAnonymousCache.cpp: changed page_index type to page_num_t"
This reverts commit f7176b0ee5. Citing Ingo:
"off_t is the correct type to use for addressing pages in a cache/file,
which page_num_t should only be used for physical pages." I'll see how to
fix the GCC 4.7 warnings differently :)
2013-04-27 13:36:49 +02:00
Niels Sascha Reedijk
a2af961a1a Update translations from Pootle 2013-04-27 06:17:12 +02:00
Alexander von Gluck IV
b4764ec2fe Mesa: Update Mesa 9.1.1 gcc4 build package
* New package uses mmap vs malloc for exec memory
* Solves #9685 on gcc4
2013-04-27 01:41:45 +00:00
Ingo Weinhold
abfcf6aa3f Fix copy and paste error in NCurses optional package section 2013-04-27 03:13:37 +02:00
Ingo Weinhold
6ff8ef530d Add libedit package 2013-04-27 03:12:50 +02:00
Ingo Weinhold
b87aa11726 Update ncurses package
It now includes both the wchar and the non-wchar libraries.
2013-04-27 02:57:17 +02:00
Alexander von Gluck IV
e514bc713c usb_asix: Add DUB-E100 rev.C1 USB ID 2013-04-27 00:28:49 +00:00
Ingo Weinhold
d26ca29d75 Update mkdepend package 2013-04-27 00:19:18 +02:00
Jérôme Duval
f7176b0ee5 VMAnonymousCache.cpp: changed page_index type to page_num_t
* consistently use page_num_t for page numbers and off_t for offsets and sizes.
2013-04-26 21:17:39 +02:00
Jérôme Duval
cc3fb1f518 icon-o-matic: converts the result of round() to uint8 to fit in struct rgb_color.
* GCC 4.7 warning: narrowing conversion of '(int)(((ColorPickerView*)this)->ColorPickerView::r * 2.55e+2f)'
from 'int' to 'uint8 {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
2013-04-26 21:17:38 +02:00
Jérôme Duval
5f08555a59 GCC 4.7.x doesn't allow writes in a referenced packed struct.
* error: cannot bind packed field 'image->preloaded_elf64_image::elf_header'
    to 'ELFLoader<ELF64Class>::EhdrType& {aka Elf64_Ehdr&}'
2013-04-26 21:17:36 +02:00
Jérôme Duval
44d2f5f53e scsi bus manager: casts path_id to uint8.
* added a TODO about create_id() generating int32 ids when we need uint8.
* GCC 4.7 warning fixed: narrowing conversion.
2013-04-26 21:17:36 +02:00
Jérôme Duval
848acd672c devfs: casts as size_t before comparing.
* error: comparison between signed and unsigned integer expressions.
2013-04-26 21:17:34 +02:00
Jérôme Duval
8b9c0710cd PCI bus manager: changed the type of domain from int to uint8.
* fixed narrowing conversion problem found by GCC 4.7.
2013-04-26 21:17:33 +02:00
Jérôme Duval
f92b1f2eaf GCC 4.7.x finds that 1 << 31 is a signed integer, use the unsigned notation
* error: narrowing conversion of '-2147483618' from 'int' to 'uint32 {aka long unsigned int}'
 inside { } is ill-formed in C++11
2013-04-26 21:17:33 +02:00
Jérôme Duval
d762df1df1 GCC 4.7.x doesn't allow setting a field in a referenced packed struct.
* error message: error: cannot bind packed field
'args->kernel_args::platform_args.platform_kernel_args::apm' to 'apm_info&'
* the reason would be that the reference doesn't have alignment information anymore.
* changed the reference to const for read access, and use the long form for setting a field.
2013-04-26 21:17:31 +02:00
Jérôme Duval
40cf1c0518 net_server: 0xff is out of the bound of char, use uint8 instead
* found by GCC 4.7.3
2013-04-26 21:17:29 +02:00
Ingo Weinhold
4e8a27c90f Update libxml2 package 2013-04-26 16:33:07 +02:00
Oliver Tappe
e25f5f75e8 Update required version of legacy compiler in configure 2013-04-26 16:28:07 +02:00
Ingo Weinhold
4d6fe712e0 Update sqlite package (fix pkgconfig) 2013-04-26 01:40:34 +02:00
Ingo Weinhold
603c7647a0 Update openssl package 2013-04-26 01:39:55 +02:00
Rene Gollent
3e9e1e11b2 Resolve TODO: get team information via DebuggerInterface. 2013-04-25 18:54:59 -04:00
Rene Gollent
2a5d40cbe9 Add GetTeamInfo() call to DebuggerInterface.
- Abstracts out retrieving team information, since this may need to be
  done differently depending on the interface type.
2013-04-25 18:54:58 -04:00
Rene Gollent
aecef63c52 Add team information model class. 2013-04-25 18:54:58 -04:00
Ingo Weinhold
13321f4d4b Update sqlite package 2013-04-26 00:03:31 +02:00
John Scipione
4cbcabff5f Add documentation for BListView and BListItem classes 2013-04-25 17:58:13 -04:00
John Scipione
2d5697e109 A few fixes to TextView.dox, \see BView::method() 2013-04-25 17:57:35 -04:00
John Scipione
926535abb0 Style update to BListView.
Mostly rename msg argument of MessageReceived to message. Also a couple
of pointer style fixes.
2013-04-25 17:55:21 -04:00
Ingo Weinhold
44f60330e1 SetupEnvironment: Remove BELIBRARIES
It is no longer needed with the current gcc 2 package.
2013-04-25 18:00:08 +02:00
Ingo Weinhold
8e452bcfc7 Update gcc, ncurses, and nano packages 2013-04-25 17:59:02 +02:00
Ingo Weinhold
db88e4417b Add ncurses optional package 2013-04-25 03:39:09 +02:00
Alexander von Gluck IV
b8bce71dcb Mesa: Update Mesa 7.8.2 package
* Utilize mmap vs malloc due to the new NX support
* GL applications no longer crash
* Fixes #9685 gcc2
2013-04-24 21:31:11 +00:00
Rene Gollent
95098f927d Fix some problems with typecast handling.
- If the given type had no modifiers specified, the base type string
  wasn't being moved out of the input buffer, leading to it mistakenly
  being parsed as a modifier. This would result in errors for simple
  cases such as a cast to size_t. Thanks Axel for reporting.
2013-04-24 22:07:27 -04:00
Rene Gollent
bbaaaf2eae Improve VariableView's tooltip handling.
- Make GetToolTipInfo() sensitive to the column being hovered over.
  If hovering over the variable name, we display its value location
  information as before. However, if hovering over the value column,
  the tooltip now displays the full value of the variable, if
  available.
2013-04-24 21:17:49 -04:00
Rene Gollent
7b6fd5d1a8 Some more report format fine tuning.
- Removed extraneous tabs.
- Shortened locking column in area/abbreviated some names.
2013-04-24 18:05:02 -04:00
Ingo Weinhold
ad1d8a9d01 Remove ncurses from the haiku_devel package
Besides that this version is very old, eventually we want to outsource
ncurses anyway.
2013-04-24 22:41:48 +02:00
Jérôme Duval
6b40eddef7 build: switch from link option -nostart to -shared for addons and libs.
* they are interchangeable in GCC 2 and 4.6.
2013-04-24 20:40:48 +02:00
Ingo Weinhold
4b42e1a6be Update man optional package to hpkg 2013-04-24 16:05:39 +02:00
Ingo Weinhold
3b5cb32533 find_directory(): Actually handle the new constants 2013-04-24 15:11:16 +02:00
Ingo Weinhold
f7d5bd46d7 finddir: Print more useful message in error case 2013-04-24 15:10:55 +02:00
Ingo Weinhold
3f85cfc132 Add a few missing directory_which constants 2013-04-24 14:55:03 +02:00
Pawel Dziepak
26b2423794 runtime_loader: Always map program image at random position 2013-04-24 14:06:05 +02:00
Pawel Dziepak
902d41fc75 util: Use real_time_clock() in secure PRNG 2013-04-24 14:05:28 +02:00
Pawel Dziepak
c36a000cb4 vm: Fix off-by-one mistakes in _InsertAreaSlot 2013-04-24 14:05:27 +02:00
Ingo Weinhold
ffeecbcc87 Add more provides to haiku[_devel].hpkg 2013-04-24 13:06:15 +02:00
Rene Gollent
dd817ff93c Handle team deletion debug event.
When the target team exits, notify the user and shut down the debugger.
2013-04-23 23:05:36 -04:00