| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Added more predefined typedefs
More predefined typedefs were added: blkcnt_t, blksize_t, clockid_t, clock_t, dev_t, errno_t, FILE, fpos_t, gid_t, in_addr_t, ino_t, in_port_t, mbstate_t, mode_t, nlink_t, off_t, pid_t, rlim_t, rsize_t, sa_family_t, socklen_t, suseconds_t, time_t, uid_t, useconds_t, and wint_t.
Notes:
svn path=/head/; revision=479535
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed explaining of unnamed array function arguments
Explaining unnamed array function arguments like:
void f(char[])
now works.
Notes:
svn path=/head/; revision=473683
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
4.5 Release Notes:
Using declarations
Added support for C++11's using declarations as a synonym for typedef.
4.6 Release Notes:
Explain using declarations
Added support for explaining C++11's using declarations.
Notified by: portscout
Notes:
svn path=/head/; revision=473679
|
|
|
|
|
|
|
|
| |
Minor fix to red-black tree code.
Now initializing node->parent to NIL.
Notes:
svn path=/head/; revision=464974
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed declare of function with an invalid argument
A declaration like:
declare f as function (x as unknown_type)
now correctly reports the unknown type.
Notes:
svn path=/head/; revision=453559
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed typedef of pointer-to-function
A typedef like:
typedef void (*f)(int)
now works correctly.
Added CONFIGURATION FILE section
The cdecl(1) man page now contains a CONFIGURATION FILE section.
Notes:
svn path=/head/; revision=453132
|
|
|
|
|
|
|
|
| |
Added C++ attribute specifier support
The C++ attrribute specifiers carries_dependency, deprecated, noreturn, maybe_unused, and nodiscard are now supported.
Notes:
svn path=/head/; revision=452949
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added C99 _Imaginary number support
C99 _Imaginary number declarations are now supported.
External
The keyword external is now a synonym for extern.
More English for explain
More English synonyms are used in explanations, e.g.:
declare x as automatic
declare x as constant int
declare x as enumeration E
declare x as structure S
Notes:
svn path=/head/; revision=452095
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added noexcept and throw() support
Function declarations may now include exception specifications.
Fixed handling of leading whitespace in command-line argument
The unusual case of:
cdecl ' declare x as int'
i.e., a quoted argument having leading whitespace, is now handled correctly.
Notes:
svn path=/head/; revision=452049
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New C11 standard atomic types
The following C11 atomic types are now supported via the new typedef command:
atomic_bool, atomic_char, atomic_schar, atomic_char16_t, atomic_char32_t, atomic_wchar_t, atomic_short, atomic_int, atomic_long, atomic_llong, atomic_uchar, atomic_ushort, atomic_uint, atomic_ulong, atomic_ullong, atomic_ptrdiff_t, atomic_size_t, atomic_intmax_t, atomic_intptr_t, atomic_uintptr_t, atomic_uintmax_t, atomic_int_fast8_t, atomic_int_fast16_t, atomic_int_fast32_t, atomic_int_fast64_t, atomic_uint_fast8_t, atomic_uint_fast16_t, atomic_uint_fast32_t, atomic_uint_fast64_t, atomic_int_least8_t, atomic_int_least16_t, atomic_int_least32_t, atomic_int_least64_t, atomic_uint_least8_t, atomic_uint_least16_t, atomic_uint_least32_t, and atomic_uint_least64_t.
Fixed typedef and define commands with storage classes
Typedef and define now prohibit storage classes, e.g.:
typedef static int sint;
is now correctly reported as an error.
Notes:
svn path=/head/; revision=451635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added C++17 support
Specifically, inline variable declarations are now supported.
New typedef and define commands
New typedef gibberish and define english commands have been added to allow new types to be defined that can then be used in subsequent declarations and explanations.
New C99 standard types
The following C99 types are now supported via the new typedef command:
int8_t, int16_t, int32_t, int64_t, int_fast8_t, int_fast16_t, int_fast32_t, int_fast64_t, int_least16_t, int_least32_t, int_least64_t, int_least8_t, intmax_t, intptr_t, ptrdiff_t, uint8_t, uint16_t, uint32_t, uint64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uintmax_t, and uintptr_t.
New --no-typedefs/-t command-line options
Either of these options suppresses the definition of the standard C99 types.
Reads configuration file
Upon start-up and if it exists, reads ~/.cdeclrc (by default) for user-definedtypedef or define commands.
New --config/-c command-line options
These options specify an alternate configuration file to read upon start-up. As a result, the -c option in earlier versions of cdecl used to specify when to colorize output has been renamed to -k.
New --no-config/-C command-line options
These options suppress the reading of a configuration file, even one explicitlyspecified via --config/-c.
New show command
A new show command has been added to show the definition of either predefined or user-defined types.
Register warning
The use of register now triggers a warning in C++11 and later.
Reported by: portscout
Notes:
svn path=/head/; revision=450371
|
|
|
|
|
|
|
|
|
|
|
| |
First word of first argument
The first word of the first non-option command-line argument is now also checked to see
if it's a command thus allowing fully quoted strings:
$ cdecl 'explain int *const p'
Notes:
svn path=/head/; revision=448994
|
|
|
|
|
|
|
|
| |
Added ssize_t
Similar to size_t, support for ssize_t has been added.
Notes:
svn path=/head/; revision=448798
|
|
|
|
|
|
|
|
| |
Fixed new-style casts C++ version
New-style casts are now permitted as far back as C++98.
Notes:
svn path=/head/; revision=446085
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Static & type-qualified arrays
Added support for C99 static and type-qualified array function arguments, e.g.:
void f( int a[static const 10] );
Variable length arrays
Added support for C99 variable length array function arguments, e.g.:
void f( int a[*] );
void g( int a[const *] );
Help command-line argument
Now prints the help message and exits if the first command-line argument is "help".
Fixed reference to array
The generated gibberish for "reference to array" has been fixed.
Notes:
svn path=/head/; revision=445800
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Bump PORTREVISION for shlib change
Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision: https://reviews.freebsd.org/D11172
PR: 219947
Exp-run by: antoine
Notes:
svn path=/head/; revision=444463
|
|
|
|
|
|
|
|
|
|
|
| |
Help command-line option
Added the command-line options of -h or --help that prints the usage message.
Fixed const pointers to members
Explaining const/volatile pointers to members now works.
Notes:
svn path=/head/; revision=442855
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
**C++ new-style casts**
Added support for C++ new-style casts.
**Language-sensitive autocompletion**
Autocompletion is now language-sensitive in that it will not offer completions that are not valid in the current language.
**Context-sensitive autocompletion**
Autocompletion is now slightly more context-sensitive in that it will offer only command keywords for the first word in the input.
**Fixed command-line error printing**
Command-line input is now printed when there's an error.
Notes:
svn path=/head/; revision=442043
|
|
|
|
|
|
|
|
| |
**Fixed color prompt caret position**
The position of the caret in error messages when using color prompts has been fixed.
Notes:
svn path=/head/; revision=441981
|
|
|
|
|
|
|
|
| |
Fixed cv-qualifier in help
The <cv-qualifier> in the help text was missing .
Notes:
svn path=/head/; revision=441611
|
|
|
|
|
|
|
|
|
|
| |
Fixed synonyms in explain
Explanations no longer wrongly allow English synonyms.
Approved by: adamw (mentor, implicit)
Notes:
svn path=/head/; revision=440278
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed declarations with storage-class
Declarations like:
declare x as static pointer to function returning int
declare x as type pointer to function returning int
are fixed.
Approved by: adamw (mentor, implicit)
Notes:
svn path=/head/; revision=440207
|
|
|
|
|
|
|
| |
Sponsored by: Absolight
Notes:
svn path=/head/; revision=440009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Parallel builds
Parallel builds were fixed.
Manual page caveats
Added additional caveats: qualified C++ data members or member functions
are not supported.
Approved by: adamw (mentor, implicit)
Notes:
svn path=/head/; revision=439858
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This version fixes virtually all the deficiencies in earlier versions as well as adds many new features, most notably:
Using GNU Autotools for building.
Command-line long-options.
Distinguishes among K&R C, C89, C95, C99, C11, C++98, C++03, C++11, and C++14.
Support for C11 and C++11 types bool, char16_t, char32_t, complex, restrict, size_t, thread_local, and wchar_t.
Support for inline function declarations.
Support for typedef declarations.
Support for variadic function arguments.
Support for C++11 constexpr, enum class, mutable, rvalue references, and the function trailing return-type syntax.
Support for const, final, friend, override, volatile, virtual, pure virtual, and ref-qualified C++ member function declarations.
Better warning and error messages complete with location information and color.
Take Maintainer'ship.
Submitted by: paul@lucasmail.org
Approved by: adamw (mentor, implicit)
Notes:
svn path=/head/; revision=439855
|
|
|
|
|
|
|
| |
While here, incorporate getline fix into the regenerated patches.
Notes:
svn path=/head/; revision=419783
|
|
|
|
|
|
|
|
|
|
| |
Mostly replace with ${}, but sometime, replace with $$() because it is
what was intended in the first place. (I think.)
Sponsored by: Absolight
Notes:
svn path=/head/; revision=418840
|
|
|
|
| |
Notes:
svn path=/head/; revision=415132
|
|
|
|
| |
Notes:
svn path=/head/; revision=404424
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Notes:
svn path=/head/; revision=386312
|
|
|
|
|
|
|
| |
Ports require time and TLC which I no longer have.
Notes:
svn path=/head/; revision=369161
|
|
|
|
| |
Notes:
svn path=/head/; revision=364461
|
|
|
|
|
|
|
| |
Add NO_ARCH if useful
Notes:
svn path=/head/; revision=335813
|
|
|
|
| |
Notes:
svn path=/head/; revision=331409
|
|
|
|
| |
Notes:
svn path=/head/; revision=330186
|
|
|
|
|
|
|
| |
devel part 1)
Notes:
svn path=/head/; revision=327722
|
|
|
|
|
|
|
|
|
| |
While here make it use USES=readline
Approved by: eadler
Notes:
svn path=/head/; revision=326331
|
|
|
|
|
|
|
| |
Approved by: portmgr (bdrewery)
Notes:
svn path=/head/; revision=324744
|
|
|
|
|
|
|
| |
10-current
Notes:
svn path=/head/; revision=320414
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix COMMENT
- Add MAKE_JOBS_SAFE where appropriate
- Change ordering of LICENSE lines
- Fix new header format
- Etc.
Reviewed by: drogoh (on irc)
Notes:
svn path=/head/; revision=313672
|
|
|
|
|
|
|
| |
Feature safe: yes
Notes:
svn path=/head/; revision=306194
|
|
|
|
|
|
|
| |
result.
Notes:
svn path=/head/; revision=305508
|
|
|
|
| |
Notes:
svn path=/head/; revision=305369
|
|
|
|
|
|
|
|
| |
Submitted by: Sulev-Madis "ketas" Silber <madis555@hot.ee>
Approved by: tj (maintainer)
Notes:
svn path=/head/; revision=297987
|
|
|
|
|
|
|
| |
- Remove vim tag which shouldn't be here
Notes:
svn path=/head/; revision=288587
|
|
|
|
|
|
|
| |
Feature safe: yes
Notes:
svn path=/head/; revision=286961
|
|
|
|
| |
Notes:
svn path=/head/; revision=276999
|
|
|
|
| |
Notes:
svn path=/head/; revision=149311
|
|
|
|
|
|
|
|
|
|
|
| |
- Update MASTER_SITES
- Remove pkg-plist in favor of PLIST_FILES
PR: ports/78875
Submitted by: Ports Fury
Notes:
svn path=/head/; revision=131325
|
|
|
|
| |
Notes:
svn path=/head/; revision=99360
|