Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LowercaseChar/UppercaseChar, document and add tests #952

Merged
merged 1 commit into from
Nov 18, 2016

Conversation

ChrisJefferson
Copy link
Contributor

Noticed UppercaseString had no documentation, and needed UppercaseChar and LowercaseChar for the case-insensitive tab-completion.

  • [ X] is submitted to the correct branch (the stable branch is only for bugfixes)
  • [ X] contains an accurate description of changes for the release notes below
  • [ X] provides new tests or relies on existing ones

Tick all what applies to this pull request

  • [X ] Adds new features
  • [X ] Improves and extends functionality

Write below the description of changes (for the release notes)

Adds functions UppercaseChar and LowercaseChar

Improve documentation for the existing functions UppercaseString and LowercaseString

@ChrisJefferson ChrisJefferson force-pushed the case-string branch 2 times, most recently from 25de359 to 091ec2d Compare November 17, 2016 22:27
@codecov-io
Copy link

Current coverage is 48.77% (diff: 100%)

Merging #952 into master will increase coverage by 0.04%

@@             master       #952   diff @@
==========================================
  Files           424        424          
  Lines        222125     222125          
  Methods        3430       3430          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits         108238     108341   +103   
+ Misses       113887     113784   -103   
  Partials          0          0          

Powered by Codecov. Last update 7183c69...76b5f60

@markuspf markuspf merged commit 2908745 into gap-system:master Nov 18, 2016
@olexandr-konovalov olexandr-konovalov added this to the GAP 4.9.0 milestone Nov 18, 2016
@ChrisJefferson ChrisJefferson deleted the case-string branch November 18, 2016 12:26
@frankluebeck
Copy link
Member

Looks alright. I would have made the documentation a bit more compact and described all 4 functions in one ManSection.

Just as a side-remark: There is also a sophisticated translation to lower and upper case available via unicode strings (LowercaseUnicodeString, UppercaseUnicodeString), it knows of 922 pairs of characters.

##
## <#GAPDoc Label="LowercaseChar">
## <ManSection>
## <Func Name="LowercaseString" Arg='character'/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be LowercaseChar

Copy link
Member

@olexandr-konovalov olexandr-konovalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've noticed

#W There were LaTeX Warnings:
LaTeX Warning: Label `LowercaseString' multiply defined.


____________________
LaTeX Warning: Label `UppercaseString' multiply defined.

)
____________________
LaTeX Warning: There were multiply-defined labels.

in manual builds (how did we overlook this?) and fixed this in 597bab0

##
## <#GAPDoc Label="UppercaseChar">
## <ManSection>
## <Func Name="UppercaseString" Arg='character'/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be UppercaseChar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants