Commit graph

316 commits

Author SHA1 Message Date
Walter Bright
dc302d26a4 DIP25: make phobos work with it 2015-01-30 12:02:48 -08:00
Robert burner Schadek
04aa499ce0 std.logger
some more docu fixes

fatel -> fatal

changed the way of calling

some rework

some better comments and win32.mak fix

more documentation

trying to figure out why win32 fails

test before you commit

another try to work around windows files and processes

maybe this time

maybe this merges

update 1 mostly soenke

MultiLogger and Logger have names

more docu

unittest fix

some better comments and win32.mak fix

Conflicts:
	std/logger.d

antoher doc fix

less code dup and more log functions

docs are now generated

some more fixing

speedup

some threading

forgot some

better docu gen and more testing

two new LogLevel, most functions are now at least @trusted

Tracer functionality

fatal delegate

some phobos style fixes

another bug bites the dust

version disable enhancements

default global LogLevel set to LogLevel.all

logLevel compare bugfix

delete of dead code

tab to whitespace

bugfixes, reduandency removal, and docu

multilogger was logging to all it childs without checking there LogLevel in
relation to the LogLevel of the LoggerPayload.

Some constructors where redundant.

more examples and more documentation

some fixes

NullLogger and moduleName

wrong doc

I splitted the multi logger implementations out

loglevelF to loglevelf in order to make phobos style think writefln

document building

win makefile fixes

some optimizations thanks to @elendel-
some whitespace

some updates from the github logger project

* stdio- and filelogger now use a templatelogger base to reduce code

makefile fixes

makefile

fixed the unittest

made sure the stdiologger is set up at the end

some comment fixes

finding the filelogger segfault

closed another file

a lookup fix

darwin unittest fail output

more diagnostics

* more documentation for the templatelogger and multilogger
* it breaks the log function api
 * log and logf now behave as their write and writef counterparts
 * for logging with an explicit LogLevel call logl loglf
 * for logging with an explicit condition call logc logcf
 * for logging with an explicit LogLevel and explicit condition call
 * loglc loglcf
 * the log function with an explicit LogLevel like info, warning, ...
 * can be extended into c, f or cf and therefore require a condition
 * and/or are printf functions

something is still interesting

rebase and lazy Args

saver file handling

whitespace

some updates

tracer is gone and more doc updates

codegen rework to allow log function comments

thread safe and concur works comments for free standing log functions

fixes #10

* free log function doco
* StdIOLogger prints now threadsafe
* concurrentcy hang fix

more docu

old file

even more doc

typo

* more better doc
* makefile fix

another fix

more unittests nearl 100% everywhere

another test

no more mixins more doc

win64 please pass

fixes from the review and voting

hope this fixes it

more comments

more docs more tests

more docu

more doc and fixes from jacob-carlborg

LogEntry.logger reference

more fixes

fileptr is gone

logger move to experimental/logger

type in win32/64 makefile

win makefile

nogc and threading

makefile fixes

some log calls take line and file as parameter
2015-01-25 21:30:47 +01:00
H. S. Teoh
5cae4f0cb5 Split mutation algorithms into own submodule.
Clean up inter-package imports.
2015-01-20 09:14:06 -08:00
H. S. Teoh
b476a82b5b Split search algorithms into own submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
9dc4c34379 Split iteration functions into own submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
28feb36b6e Split comparison functions into own submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
8275298a72 Split sorting functions into own submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
d109025fd1 Move set operations into submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
48040701a5 Prepare to split up std.algorithm into submodules. 2015-01-20 09:14:06 -08:00
Andrei Alexandrescu
b7ed0b3d35 Remove debug info 2015-01-09 19:05:03 -08:00
Nick Treleaven
966fed67a6 Use needed html.ddoc, dlang.org.ddoc files for HTML generation 2015-01-02 13:58:59 +00:00
H. S. Teoh
54101e8d62 Fix broken ddoc build for std/regex/package.d. 2014-12-01 20:47:30 -08:00
H. S. Teoh
a0de97d5ca Use -prerelease for navbar ddoc instead of hardcoded version. 2014-11-30 14:11:27 -08:00
H. S. Teoh
9143f2465a Use version-specific navbar when building docs. 2014-11-29 08:27:24 -08:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
H. S. Teoh
d24cc0a69c Include NullSink in std.range ddocs.
Partial fix for makefile to build std.range docs, that was broken after
std.range was split. This is only a partial fix; the full fix will have
to be done as part of [issue 13766] (https://issues.dlang.org/show_bug.cgi?id=13766).
2014-11-22 13:41:02 -08:00
kai
a086409bff Change model detection on Solaris.
Uses the same command as in druntime makefile.
2014-11-21 20:31:54 +01:00
Ilya Yaroshenko
66267de81f dummy ranges module
rm

rename & add scope imports

update scope imports

std.algorithm: clean imports

update scope imports

update global imports

update *.mak

ditto

formatting

fix typo

fix scope import std.uni

update windows  *.mak

add import to unittests

tabs fix

fix unittest

fix indentation
2014-11-15 03:07:10 +03:00
Martin Nowak
dc7eb9dbd9 Merge pull request #2682 from aG0aep6G/stride
std.utf.stride: reject sequence lengths greater than 4
2014-11-12 01:21:11 +01:00
Ilya Yaroshenko
c828a08b64 std.range.package init
delete range.d

std.range : move traits

move concept

1. traits => concept
2. move manipulation into concept

update package import

update module name

remove range.traits import

remove some local imports

add _swapImpl

move _swapImpl

fix _swapImpl

fix hasSlicing

restore old hasSwappableElements

update unittests

update unitises

fix module name

fix pop****N

move interfaces

update unites

add import std.typetuple : staticMap

clean imports

rename local min to _min

remove wrong scope import

add until for unittests

update *.mac

update import

optimize DList import

move comment

remove private global selective imports

remove private global selective imports (interfaces)

remove new private stuff

add local imports

public import std.typecons : Flag, Yes, No;

concept => constraints

update scoped imports

add local imports (min)
2014-11-11 18:26:36 +03:00
anonymous
b8fc22a466 more macros.ddoc 2014-11-11 16:14:23 +01:00
anonymous
5cbcc74977 include macros.ddoc 2014-11-11 00:30:00 +01:00
Martin Nowak
7a267c4ba6 readd std.metastrings as empty and deprecated module
- Removing the deprecated module silently broke
  and code that still imported the module without
  using any of it's functions.
2014-10-08 16:46:30 +02:00
Dmitry Olshansky
2b78074fc2 Split up the intertwined mess of std.regex.
The docs and API still stay in one file.
With time and refactoring more internals may be
exposed such as parser, each engine explicitly
and the sample generator (generator.d).

Also inclusdes changes prompted by reviews/pulls:

Convert spaces-->tabs in makefiles.
Move things (again) to std/regex/internal.
Use new package(std.regex) feature.
Remove C-style arrays (some other pull against regex.d).
2014-09-13 13:45:46 +04:00
Denis Shelomovskij
065ce05591 Add std.internal.cstring module. 2014-08-23 16:23:36 +04:00
Martin Nowak
e406eb123e unittest objects also depend on druntime
- for the druntime imports
2014-08-11 17:47:15 +02:00
Martin Nowak
8f12e8062f fix Issue 13263
- replace phony druntime_libs target with $(DRUNTIME)

- add fake FORCE dependency to always invoke druntime's makefile
2014-08-11 17:47:14 +02:00
Martin Nowak
922d1931fe fixup #2377 - add back missing $(SONAME) symlink 2014-07-31 09:13:47 +02:00
Dicebot
7dd4440883 [reg] Fix 13210 : libphobos2.so not being built 2014-07-27 22:37:27 +02:00
sinkuu
6f364b931d Fix posix.mak 2014-07-25 15:12:58 +09:00
Tomoya Tanjo
a68d24a85b Fix install directory on Mac OS X 2014-07-24 13:54:00 +09:00
Brad Roberts
0254ef160b change install target to match current release structure 2014-07-22 01:51:36 -07:00
Martin Nowak
88ab4d2227 fix Issue 13149 - released libphobos2.a is build with PIC code
- Happens because the libphobos2.so was build with a recursive
  target and PIC=1. This PIC=1 enabled -fPIC for the recursive
  libdruntime.a build.

- fixed by building $(LIBSO) non-recursively
2014-07-18 15:31:57 +02:00
safety0ff
6a4ec46731 Fix 13002: Add ddoc directory rule to posix.mak for std.container. 2014-06-28 23:36:29 -04:00
David Nadlinger
cb989ea649 Fix "make install" on Linux.
The "install" target requires the static library as well as
the shared onject version of Phobos. This fixes the target
dependencies to reflect that.
2014-06-28 09:11:06 +02:00
monarch dodra
a3fd0d48b9 Merge pull request #2174 from damianday/master
Turn std.container into a package.
2014-06-25 11:56:03 +02:00
H. S. Teoh
458e61d273 Remove deprecated module std.metastrings
This module has been deprecated and scheduled for removal in March 2014.
It is now June 2014.
2014-06-23 11:42:19 -07:00
Damian Day
b52a338ed4 Merge totalcontainer.d with package.d 2014-06-06 12:55:14 +01:00
Damian Day
0634e408f7 New Container
Turn std.container into a package.

Delete container.d

Remove totalcontainer from package.
Create std.container.util.d and reference it from other containers.
Correct code coverage for containers.

Add containers for unit testing.

Make std.container.util public from any module.
Move around imports (avoid version(unittest)).

Remove irrelevant unittests.
2014-05-28 08:31:22 +01:00
Dmitry Olshansky
e6c969195b Get rid of internal.uni, internal.uni_tab
Saving amount to ~290Kb on 32bit.
2014-04-23 20:10:21 +04:00
Andrei Alexandrescu
60e3c54f4d Merge pull request #1911 from WalterBright/scopebuffer
add std.internal.scopebuffer
2014-03-16 17:03:47 -07:00
Walter Bright
cb6b8a010f add std.internal.scopebuffer 2014-03-16 16:22:04 -07:00
Martin Nowak
0f00ace852 fix 'jobserver unavailable: using -j1' warning for $(SUBMAKE)
- Problem is that make doesn't recognize $(SUBMAKE) as
  make, so it won't pass MAKEFLAGS and doesn't use it's
  jobserver.

- Fixed by explicitly using $(MAKE) ...

For reference:
http://www.gnu.org/software/make/manual/html_node/Error-Messages.html
http://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html#MAKE-Variable
2014-02-28 18:59:44 +01:00
Martin Nowak
07ce729229 also detect amd64, i386 and 1586 2014-02-03 09:40:55 +01:00
Martin Nowak
18d79dce7b show deprecation warnings in phobos
- they are not treated as error
2014-01-25 02:47:22 +01:00
Martin Nowak
008a708038 add PROJECT=phobos ddoc macro
- This will be used to customize links in dlang.org's std.ddoc.
2014-01-10 19:16:53 +01:00
Geod24
c4e197d664 Remove modules crc32 and std.md5 which had been deprecated by 6ff6adc5bf 2013-12-26 15:55:10 +01:00
Martin Nowak
d0e51e109f fix Issue 10710 - phobos depends on versioned libcurl
- create a libcurl_stub.so for linking

- set it's soname to libcurl.so.4 so that phobos
  gets a DT_NEEDED libcurl.so.4 entry

- the runtime linker will load libcurl.so and resolve
  all undefined references

- disable pragma(lib, "curl") because it doesn't work
  for archives anyways and additionally links against
  the real libcurl (dmd appends -L-lcurl when building phobos).
2013-12-20 15:38:11 +01:00
Andrei Alexandrescu
43091b90ce short url 2013-12-19 20:29:24 -08:00
Andrei Alexandrescu
2c082b3fd0 Fixed makefile to handle druntime dependencies properly and to pass down DMD OS MODEL 2013-12-19 20:15:36 -08:00