49672 Commits

Author SHA1 Message Date
Stephan Aßmus
ab86f2c321 TextDocumentLayout::GetTextBounds(): Forget to offset...
... by the vertical offset of the ParagraphLayout containing
the text offset.
2013-12-07 00:17:59 +01:00
Stephan Aßmus
60eb71494a TextDocumentLayout: Added GetTextBounds(). 2013-12-07 00:17:58 +01:00
Stephan Aßmus
586ec1c10b TextDocument: Added Length() 2013-12-07 00:17:57 +01:00
Stephan Aßmus
a681c327ed ParagraphLayout: Added GetTextBounds(). Untestet. 2013-12-07 00:17:57 +01:00
Stephan Aßmus
cd50559dde ParagraphLayout: Added CountGlyphs() 2013-12-07 00:17:56 +01:00
Pawel Dziepak
bcfdf88186 apps, kernel: Remove B_MAX_CPU_COUNT 2013-12-06 21:57:58 +01:00
Pawel Dziepak
fd96cf08a7 libroot: Remove _SC_NPROCESSORS_MAX and _SC_CPUID_MAX
_SC_NPROCESSORS_MAX and _SC_CPUID_MAX appear to be supported only by
Solaris. There isn't much point in exposing such values to the userland
anyway.
2013-12-06 21:54:07 +01:00
Pawel Dziepak
f6b71d5518 libroot/malloc: Do not use B_MAX_CPU_COUNT 2013-12-06 21:05:05 +01:00
Pawel Dziepak
3106f832a9 kernel/smp: Fix warning 2013-12-06 19:57:04 +01:00
Pawel Dziepak
e6ea745e81 kernel: Use SMP_MAX_CPUS instead of B_MAX_CPU_COUNT 2013-12-06 19:53:56 +01:00
Pawel Dziepak
3e0e3be760 boot, kernel: Replace MAX_BOOT_CPUS with SMP_MAX_CPUS 2013-12-06 19:43:08 +01:00
Ingo Weinhold
dac7b7c980 Fix various 64 bit related warnings
Mostly printf() format strings and signed-unsigned comparisons.
Fixes the x86_64 build.
hrev46499
2013-12-06 14:17:58 +01:00
Pawel Dziepak
f0fe981769 kernel: Fix gcc2 build 2013-12-06 03:31:20 +01:00
Pawel Dziepak
2b04d8ab31 x86/paging: Use CPUSet instead of cpu_mask_t 2013-12-06 03:27:48 +01:00
Pawel Dziepak
e052b3e630 x86/paging: Remove unusued local variable 2013-12-06 03:11:42 +01:00
Pawel Dziepak
5c7f09c4d7 kernel/util: Bitmap: Silence warning 2013-12-06 03:10:50 +01:00
Pawel Dziepak
7629d527c5 kernel: Use CPUSet in ICI code instead of cpu_mask_t 2013-12-06 03:08:39 +01:00
Jerome Duval
bff0809603 x86_64: fixed GLTeapot and libglut build hrev46498 2013-12-05 23:52:24 +01:00
Pawel Dziepak
5f3798921f x86/paging: Use ROUNUP() to compute the number of initial slots 2013-12-05 23:33:03 +01:00
Pawel Dziepak
730882d615 kernel: Remove RunQueueLink.h 2013-12-05 23:28:42 +01:00
Pawel Dziepak
52b442a687 kernel: smp_cpu_rendezvous(): Use counter instead of bitmap 2013-12-05 23:10:04 +01:00
Pawel Dziepak
d287274dce scheduler: Code refactoring 2013-12-05 22:47:30 +01:00
Ingo Weinhold
736fe5bc63 Fix build with TRANSLATION_MAP_TRACING enabled hrev46497 2013-12-05 21:44:54 +01:00
Ingo Weinhold
4600788b1d Fix more translator build feature dependencies hrev46496 2013-12-05 21:24:22 +01:00
Ingo Weinhold
fdfd52743b JPEGTranslator Jamfile: Fix build feature dependencies
Move jpeg build feature references into the architecture loop. While
they have the same name, these actually are different build features
(using different packages).
hrev46495
2013-12-05 21:09:49 +01:00
Ingo Weinhold
1604cdaef8 Update -Werror work-around for arch_debug_console.o
Fixes the gcc 2 build again.
hrev46494
2013-12-05 20:42:06 +01:00
Ingo Weinhold
372b309a4a X86VMTranslationMapPAE: Fix gcc 2 warning
... which due to the reactivated -Werror causes the build to fail.
2013-12-05 20:42:06 +01:00
Jerome Duval
9e46d51cc2 ffmpeg plugin only needs to link against ffmpeg libs.
* clean the ffmpeg build feature.
hrev46493
2013-12-05 18:04:13 +01:00
Ingo Weinhold
724f4e2d38 Fix kernel -Werror support
The introduction of secondary arch support for kernel files disabled
-Werror for all kernel files, since the -Werror flags were moved from
{CC,C++}FLAGS to TARGET_WARNING_{CC,C++}FLAGS_<arch>, which, however,
was overwritten by the SetupKernel rule. This commit introduces new
global variables {HAIKU,HOST,TARGET}_WERROR_FLAGS[_<arch>], which
contain the additional -Werror flags to be applied for the architecture.
The config variable WARNINGS can be set to "treatAsErrors" to cause
-Werror and {HOST,TARGET}_WERROR_FLAGS[_<arch>] to be appended to the
compilation flags.

Fixes #10280.
hrev46492
2013-12-05 12:48:22 +01:00
Ingo Weinhold
7b83ce1142 Add KDL command "mapping"
* VMTranslationMap:
  - Add DebugPrintMappingInfo(): Given a virtual address it is supposed
    to print the paging structure information for that address. To be
    implemented by derived classes.
  - Add DebugGetReverseMappingInfo(): Given a physical addresss it is
    supposed to find all virtual addresses mapped to it. To be
    implemented by derived classes.
* X86VMTranslationMapPAE: Implement the new methods
  DebugPrintMappingInfo() and DebugGetReverseMappingInfo().
* Add KDL command "mapping". It supports both virtual address lookups
  and reverse lookups.
hrev46491
2013-12-05 05:13:21 +01:00
Rene Gollent
75c19f7043 Debugger: Clean up DwarfFile::_GetDebugInfoPath().
- Fix a regression introduced when refactoring for the removal of /boot/common,
and adjust to use BPathFinder::FindPath() with implicit existence check instead
of manual iteration.
hrev46490
2013-12-04 22:56:42 -05:00
Ingo Weinhold
7b59a61790 ICNSTranslator Jamfile: Fix libpng dependency hrev46489 2013-12-05 02:26:51 +01:00
Rene Gollent
2ebca67e77 Debugger: Fix indentation error from previous commit. hrev46488 2013-12-04 18:16:23 -05:00
Rene Gollent
9fa5a2f925 Debugger: Always include disassembly/frame dump in reports. hrev46487 2013-12-04 18:12:40 -05:00
Rene Gollent
acaa4271a2 Debugger: Refactor DwarfFile to use BPathFinder. 2013-12-04 18:12:32 -05:00
Ingo Weinhold
be012e2122 /etc/profile: Also source profile.d/*.sh files in data dirs
This allows packages to place files in data/profile.d to manipulate
the shell environment. They could already use settings/etc/profile.d,
but since there's no point in editing those files in most cases, placing
them there nonetheless doesn't make much sense.
hrev46486
2013-12-04 23:21:14 +01:00
Ingo Weinhold
5760191f1f findpaths: Add option -R/--reverse
It causes the paths to be printed in reverse order.
2013-12-04 23:21:13 +01:00
Ingo Weinhold
7162730128 findpaths: Fix subpath support
Due to an incorrect a specified subpath would be ignored.
2013-12-04 23:21:13 +01:00
Jerome Duval
23e82de9fa x86_64: publish some media libraries
* ffmpeg, libogg, libtheora, libvorbis, libvpx, speex
hrev46485
2013-12-04 21:37:35 +01:00
Jerome Duval
1a37a812a4 ffmpeg: fix x86_64 build, remove libbz2
* AVCodecDecoder: for x86_64, use libswscale, asm is only for x86.
* CpuCapabilities: init capabilities to zero, fixes style.
* gfx_util.cpp: protect x86 specific code, fallback to C.
* x86_64: don't include unneeded x86 stuff.
* all arch: libbz2 is a build feature.
2013-12-04 21:30:21 +01:00
Jerome Duval
1fe06744d4 libmedia: use size_t consistently in rtm_pool.
* fixed a bad address error on x86_64.
2013-12-04 21:30:21 +01:00
Adrien Destugues
ab3fd9c828 Move {en,de}code_base64 to the support kit
It's not possible to use these from the network kit otherwise, as it
would create a circular dependency (mail > bnetapi > mail).

Is there a better way to solve this problem?
hrev46484
2013-12-04 13:51:31 +01:00
Gerasim Troeglazov
5287b8a778 ntfs: Directory position must be signed hrev46483 2013-12-04 12:45:29 +00:00
Gerasim Troeglazov
0d4e157ba4 ntfs: Fix several warnings 2013-12-04 12:45:28 +00:00
Gerasim Troeglazov
da0906f232 ntfs: Update ntfs3g 2013-12-04 12:45:27 +00:00
Adrien Destugues
9e47d4f714 Terminal tabs: use B_WITH_FROM_LABEL
B_WIDTH_FROM_WIDEST leads to only 2 or 3 tabs visible when one of the
tabs has a long title. This can be rather annoying as we have no way
of scrolling the tabs to see the ones that are pushed out of the window.
hrev46482
2013-12-04 13:28:58 +01:00
Rene Gollent
fab28082af Fix ICNSTranslator hybrid build. hrev46481 2013-12-03 16:55:45 -05:00
Adrien Destugues
6d9f0064ff Bring the hybrid translators back into the image. hrev46480 2013-12-03 21:00:14 +01:00
Jérôme Duval
97f865f72a Avoid undefined behavior by using unsigned int instead of int.
* 1 << 31, 2 << 30, 3 << 30 replaced by 1U << 31, 2U << 30 or 3U << 30.
hrev46479
2013-12-03 18:40:25 +01:00
Adrien Destugues
f36e1414b7 Cookie Jar: allow setting cookies on "file" URLs.
* These are shared with HTTP cookies set for localhost. We probably want
to split them apart later on, so cookies should store and check the
protocol, additionally to the path and domain.
* Fixes #10195.
hrev46478
2013-12-03 16:42:54 +01:00