On 29 Mar 2012, at 04:36, Doug Barton wrote:
All of the stuff that pkgng relies on (including the tool itself) are
going to be in the ports collection, where they belong. We should have
moved pkg_* there years ago, but this change is at least a step in the
right direction.
Wait... what? Why
Author: theraven
Date: Wed Mar 28 12:11:54 2012
New Revision: 233600
URL: http://svn.freebsd.org/changeset/base/233600
Log:
Correctly expose xlocale functions if people include the headers in the wrong
order (as some ports apparently do).
Approved by: dim (mentor)
Modified:
Author: theraven
Date: Fri Mar 23 20:10:56 2012
New Revision: 233391
URL: http://svn.freebsd.org/changeset/base/233391
Log:
Revert ABI breakage in libsupc++.
Unfortunately, the ABI was broken upstream for the 4.2 release, which we
imported. We then shipped the broken version for several
Author: theraven
Date: Tue Mar 20 17:58:15 2012
New Revision: 233235
URL: http://svn.freebsd.org/changeset/base/233235
Log:
Import new version of libcxxrt. Now works correctly with libobjc2 to
implement
the unified exception model for Objective-C++.
Approved by: dim (mentor)
Deleted:
Author: theraven
Date: Mon Mar 19 11:47:37 2012
New Revision: 233173
URL: http://svn.freebsd.org/changeset/base/233173
Log:
Make __get_locale() static inline, not just inline, so when compiling libc in
debug mode (without optimisations) it doesn't generate a linker failure.
Approved by:
Author: theraven
Date: Mon Mar 19 11:53:33 2012
New Revision: 233174
URL: http://svn.freebsd.org/changeset/base/233174
Log:
Add symbol versioning to libcxxrt.
Approved by: dim (mentor)
Added:
head/lib/libcxxrt/Version.map (contents, props changed)
Modified:
Author: theraven
Date: Wed Mar 14 14:39:07 2012
New Revision: 232971
URL: http://svn.freebsd.org/changeset/base/232971
Log:
Expose some C11 stuff that is also C++11 stuff in C++11 mode.
Approved by: dim (mentor)
Modified:
head/include/stdlib.h
Modified: head/include/stdlib.h
Author: theraven
Date: Wed Mar 14 14:40:22 2012
New Revision: 232972
URL: http://svn.freebsd.org/changeset/base/232972
Log:
Import a slightly newer libc++, with some bugs fixed that were found by
running
the test suite on FreeBSD.
Approved by: dim (mentor)
Modified:
Author: theraven
Date: Tue Mar 13 14:14:13 2012
New Revision: 232926
URL: http://svn.freebsd.org/changeset/base/232926
Log:
More xlocale cleanups.
Approved by: dim (mentor)
Modified:
head/include/xlocale/_ctype.h
head/lib/libc/locale/Symbol.map
Modified:
Author: theraven
Date: Tue Mar 13 15:21:14 2012
New Revision: 232927
URL: http://svn.freebsd.org/changeset/base/232927
Log:
Add missing prototypes.
Approved by: dim (mentor)
Modified:
head/include/xlocale/_ctype.h
Modified: head/include/xlocale/_ctype.h
Author: theraven
Date: Tue Mar 13 17:32:55 2012
New Revision: 232929
URL: http://svn.freebsd.org/changeset/base/232929
Log:
Fix the other missing prototypes.
Approved by: dim (mentor)
Modified:
head/include/xlocale/_ctype.h
Modified: head/include/xlocale/_ctype.h
Author: theraven
Date: Tue Mar 13 18:53:28 2012
New Revision: 232931
URL: http://svn.freebsd.org/changeset/base/232931
Log:
And remove the duplicate inlines...
Approved by: dim (mentor)
Modified:
head/include/xlocale/_ctype.h
Modified: head/include/xlocale/_ctype.h
On 8 Mar 2012, at 16:05, John Baldwin wrote:
On Wednesday, March 07, 2012 5:00:19 pm Jung-uk Kim wrote:
On Monday 05 March 2012 02:53 pm, John Baldwin wrote:
Author: jhb
Date: Mon Mar 5 19:53:17 2012
New Revision: 232570
URL: http://svn.freebsd.org/changeset/base/232570
Log:
Fix boot2
of this software were developed by David Chisnall
* under sponsorship from the FreeBSD Foundation.
*
- * Copyright (c) 2011 The FreeBSD Foundation
- * All rights reserved.
- * Portions of this software were developed by David Chisnall
- * under sponsorship from the FreeBSD Foundation
reserved.
*
* This software was developed by David Chisnall under sponsorship from
@@ -8,16 +8,16 @@
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- * 1. Redistributions of source code must
On 2 Mar 2012, at 12:53, Konstantin Belousov wrote:
This part of the change breaks KBI. I suggest that for merge to stable/9
you would leave the bread and breadn as functions.
Can we not do this for the general case? Provide them as inline extern
functions in the header, and implement them
)
+++ head/include/xlocale.h Tue Feb 14 12:03:23 2012(r231673)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2011 The FreeBSD Foundation
+ * Copyright (c) 2011, 2012 The FreeBSD Foundation
* All rights reserved.
*
* This software was developed by David Chisnall under sponsorship from
@@ -8,16
Author: theraven
Date: Tue Feb 14 14:24:37 2012
New Revision: 231682
URL: http://svn.freebsd.org/changeset/base/231682
Log:
Fix a misplaced __NO_TLS locations, and change a GNUism to a C11ism for
consistency.
Approved by: brooks (mentor)
Modified:
head/include/runetype.h
On 18 Jan 2012, at 19:07, David Schultz wrote:
This patch appears to cause a large performance regression. For
example, I measured a 78% slowdown for strtol(42, ...).
That's definitely worth taking a closer look at. I think we can cache some
things in TLS and avoid some
On 20 Jan 2012, at 00:46, David Xu wrote:
It depends on hardware, if it is a large machine with lots of cpu,
a small conflict on dual-core machine can become a large conflict
on large machine because it is possible more cpus are now
running same code which becomes a bottleneck. On a large
On 19 Jan 2012, at 18:09, Ed Schouten wrote:
In the very nearby future (after I switch SPARC64 and MIPS to
libcompiler_rt), it should be possible to safely use C11's stdatomic.h
on all supported architectures. The C11 interface allows any operation
to be combined with any type of barrier.
Author: theraven
Date: Tue Jan 17 15:20:41 2012
New Revision: 230267
URL: http://svn.freebsd.org/changeset/base/230267
Log:
Fix clang atomic to use for atomic_is_lock_free().
Reviewed by: ed
Approved by: dim (mentor)
Modified:
head/include/stdatomic.h
Modified:
Author: theraven
Date: Mon Jan 16 18:19:53 2012
New Revision: 230225
URL: http://svn.freebsd.org/changeset/base/230225
Log:
Use the signal fence builtin in stdatomic.h when using the clang atomic
builtins, rather than the __asm hack. Somehow I missed the existence of this
builtin
On 30 Dec 2011, at 16:52, Sean C. Farley wrote:
My quick googling didn't show anything at all about the C++ standard and
stdbool.h or __bool_true_false_are_defined. It was probably originally set
because bool, true, and false are all C++ keywords so certain code that
wanted to ifdef on
Author: theraven
Date: Tue Dec 27 21:36:31 2011
New Revision: 228918
URL: http://svn.freebsd.org/changeset/base/228918
Log:
Define NULL to nullptr in C++11 mode (not strictly required, but it makes
migrating code to C++11 easier).
Approved by: dim (mentor)
Modified:
Author: theraven
Date: Sun Dec 25 16:03:54 2011
New Revision: 228875
URL: http://svn.freebsd.org/changeset/base/228875
Log:
Restore __is_threaded in C++ mode. Some Google stuff needs it apparently.
Reported by: swills
Approved by: dim (mentor)
Modified:
head/include/stdio.h
Author: theraven
Date: Sat Dec 24 13:28:49 2011
New Revision: 228859
URL: http://svn.freebsd.org/changeset/base/228859
Log:
Some GCC-compatibility definitions. Define clang's feature test pseudomacros
to always evaluate to 0 if we are using a compiler that doesn't implement
them.
This
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/include/stdatomic.hSat Dec 24 15:17:01 2011(r228862)
@@ -0,0 +1,296 @@
+/*-
+ * Copyright (c) 2011 Ed Schouten e...@freebsd.org
+ *David Chisnall thera...@freebsd.org
+ * All
Author: theraven
Date: Sat Dec 24 15:31:06 2011
New Revision: 228863
URL: http://svn.freebsd.org/changeset/base/228863
Log:
...and actually install it.
Approved by: dim (mentor)
Modified:
head/include/Makefile
Modified: head/include/Makefile
On 19 Dec 2011, at 19:52, Warner Losh wrote:
-1. The needs of the many? Please. Let's break a useful feature because
some people don't understand it and are impatient? That's lame.
How useful is gprof-based profiling these days? Now that we have the DTrace
pid provider, don't we have
Author: theraven
Date: Thu Dec 15 11:16:41 2011
New Revision: 228528
URL: http://svn.freebsd.org/changeset/base/228528
Log:
Small style(9) improvements.
Approved by: dim (mentor)
Modified:
head/lib/libc/stdlib/quick_exit.c
Modified: head/lib/libc/stdlib/quick_exit.c
Author: theraven
Date: Thu Dec 15 11:21:56 2011
New Revision: 228529
URL: http://svn.freebsd.org/changeset/base/228529
Log:
Add a pointless and superfluous GNUism that people at a certain large data
aggregation and advertising company seem to believe is standard.
Approved by: dim
On 11 Dec 2011, at 21:12, Andreas Tobler wrote:
As far as I understand, GCC does not support this attribute [[noreturn]] yet.
But it defines both, __cplusplus and __cplusplus=201103L. On gcc-4.7
__cplusplus=201103L is the default when we build libstdc++.
Advertising C++11 compatibility and
file is newly added)
+++ head/lib/libc/stdlib/at_quick_exit.3Wed Dec 7 15:25:48 2011
(r228322)
@@ -0,0 +1,58 @@
+.\ Copyright (c) 2011 David Chisnall
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification
Author: theraven
Date: Wed Dec 7 16:12:54 2011
New Revision: 228323
URL: http://svn.freebsd.org/changeset/base/228323
Log:
style(9) cleanups.
Approved by: brooks (mentor)
Modified:
head/lib/libc/stdlib/quick_exit.c
Modified: head/lib/libc/stdlib/quick_exit.c
Author: theraven
Date: Wed Dec 7 21:02:35 2011
New Revision: 228329
URL: http://svn.freebsd.org/changeset/base/228329
Log:
Some fixes to the man pages for [at_]quick_exit(3)
Reviewed by:pluknet
Approved by:dim (mentor)
Modified:
head/lib/libc/stdlib/at_quick_exit.3
On 7 Dec 2011, at 19:11, David Schultz wrote:
Why not use the standard spelling, '_Noreturn'? In pre-C1X modes,
_Noreturn is a reserved identifier since it starts with an underscore
and capital letter, so it's not considered namespace pollution.
Because that would be too obvious...
David
Author: theraven
Date: Wed Dec 7 21:17:50 2011
New Revision: 228330
URL: http://svn.freebsd.org/changeset/base/228330
Log:
As per das@'s suggestion, s/__noreturn/_Noreturn/, since the latter is an
identifier reserved for the implementation in C99 and earlier so there is
no sensible reason
On 29 Nov 2011, at 04:50, Max Khon wrote:
All this makes it possible to build and link gdb with -ledit.
When I had a quick look a couple of days ago, kadmin and [k]gdb were the only
things that linked against readline in base. With them now linking against
libedit, can we remove readline
On 27 Nov 2011, at 09:19, Bjoern A. Zeeb wrote:
On Sat, 26 Nov 2011, David Schultz wrote:
On Sat, Nov 26, 2011, Bjoern A. Zeeb wrote:
On Sat, 26 Nov 2011, David Chisnall wrote:
Author: theraven
Date: Sat Nov 26 18:46:33 2011
New Revision: 228004
URL: http://svn.freebsd.org/changeset
Author: theraven
Date: Sat Nov 26 15:57:09 2011
New Revision: 227999
URL: http://svn.freebsd.org/changeset/base/227999
Log:
Return not-implemented from pthread_once and pthread_key_create, rather
than silently failing and returning success.
Without this, code calls pthread_once(),
Author: theraven
Date: Sat Nov 26 16:49:25 2011
New Revision: 228002
URL: http://svn.freebsd.org/changeset/base/228002
Log:
style(9) fix.
Approved by: dim (mentor)
Modified:
head/lib/libc/gen/_pthread_stubs.c
Modified: head/lib/libc/gen/_pthread_stubs.c
Author: theraven
Date: Sat Nov 26 18:46:33 2011
New Revision: 228004
URL: http://svn.freebsd.org/changeset/base/228004
Log:
Update libcxxrt to remove the pthread dependency.
Also add the license from upstream to contrib.
Approved by: dim (mentor)
Added:
Author: theraven
Date: Fri Nov 25 20:59:04 2011
New Revision: 227983
URL: http://svn.freebsd.org/changeset/base/227983
Log:
Import libc++ / libcxxrt into base. Not build by default yet (use
MK_LIBCPLUSPLUS=yes to enable). This is a work-in-progress. It works for
me, but is not guaranteed
On 22 Nov 2011, at 20:27, David Schultz wrote:
Benchmark or not, I think you'll have a very hard time finding a
single real program that routinely calls strcasecmp() with
identical pointers!
I've seen this pattern very often. Often the linker is able to combine
constant strings defined in
Author: theraven
Date: Tue Nov 22 14:11:42 2011
New Revision: 227818
URL: http://svn.freebsd.org/changeset/base/227818
Log:
Fix a crash when trying to duplicate a locale that contains some implicit C
locale components.
Reported by: Michael Butler
Approved by: dim (mentor)
Modified:
On 22 Nov 2011, at 11:21, Bruce Evans wrote:
If this optimization were any good, then the compiler would already do
it. In fact, gcc-4.2.1 already does it -- the reverse of it -- it rewrites:
if ((i == 0) | (j == 0)) return; test();
into:
if (i == 0 || j == 0) return;
On 17 Nov 2011, at 14:31, Alexey Dokuchaev wrote:
Kinda gross but FBSD-9.0-RELEASE-amd64-amd64-bootonly.iso?
Can't we use one if they are equal?
I'd prefer consistency. [...]
But it looks so plain stupid!
I've had someone ask me what amd64-amd64 meant when I pointed them as the RC
On 14 Nov 2011, at 18:02, David Schultz wrote:
On Mon, Nov 14, 2011, Dimitry Andric wrote:
On 2011-11-14 09:21, Stefan Farfeleder wrote:
On Sun, Nov 13, 2011 at 04:18:48PM +, David Chisnall wrote:
Author: theraven
Date: Sun Nov 13 16:18:48 2011
New Revision: 227487
URL: http
Author: theraven
Date: Sun Nov 13 16:18:48 2011
New Revision: 227487
URL: http://svn.freebsd.org/changeset/base/227487
Log:
The spec says that FILE must be defined in wchar.h, but it wasn't. It
is now. Also hide some macros in C++ mode that will break C++
namespaced calls.
Approved
Author: theraven
Date: Sun Nov 13 17:07:26 2011
New Revision: 227490
URL: http://svn.freebsd.org/changeset/base/227490
Log:
Hide some more macros that will break C++ when compiling in C++ mode.
Approved by: dim (mentor)
Modified:
head/include/ctype.h
Modified: head/include/ctype.h
, though.
Thanks,
Erik
Den 12/11/2011 kl. 15.39 skrev David Chisnall:
Author: theraven
Date: Sat Nov 12 14:39:20 2011
New Revision: 227467
URL: http://svn.freebsd.org/changeset/base/227467
Log:
Fix the number of decimal digits used for Swiss Francs (0 - 2). Found by
the libc++ test
Author: theraven
Date: Sat Nov 12 14:39:20 2011
New Revision: 227467
URL: http://svn.freebsd.org/changeset/base/227467
Log:
Fix the number of decimal digits used for Swiss Francs (0 - 2). Found by
the libc++ test suite. If there is some locale test suite somewhere, it might
be worth running
Author: theraven
Date: Sat Nov 12 19:55:48 2011
New Revision: 227472
URL: http://svn.freebsd.org/changeset/base/227472
Log:
Expose the unimplemented libm functions in the math.h header. This allows
C++'s cmath to work without the compiler complaining that the C++ versions
are calling
Author: theraven
Date: Sat Nov 12 20:16:06 2011
New Revision: 227474
URL: http://svn.freebsd.org/changeset/base/227474
Log:
Fix SIGATOMIC_M{IN,AX} on x86-64. These are meant to be the minimum values
that are allowed in a sig_atomic_t, but it looks like they were just copied
from the x86
Author: theraven
Date: Sat Nov 12 20:45:10 2011
New Revision: 227476
URL: http://svn.freebsd.org/changeset/base/227476
Log:
Don't expose the wctype.h macros in C++ mode. They cause problems when
people try to invoke the namespaced versions of the functions of the
same names.
Approved
201 - 256 of 256 matches
Mail list logo