Skip to content

Commit

Permalink
Created initial solution and controls
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertvanHorrik committed May 6, 2015
1 parent fd113a8 commit 21bae79
Show file tree
Hide file tree
Showing 58 changed files with 2,726 additions and 30 deletions.
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
145 changes: 116 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,119 @@
# Object files
*.o
*.ko
*.obj
*.elf
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Precompiled Headers
*.gch
# Build results
[Bb]in/
[Cc]lientbin/
[Dd]ebug/
[Rr]elease/
[Oo]utput*/
[Pp]ackages*/
bin
obj
[Ll]ib/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.orig
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
*.xap
.builds

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*
*.resharper.user

# Catel
CatelLogging.txt

# Dotcover
*.dotCover
*.dotsettings.user

# Finalbuilder
*.fbl7
*.fb7lck
*.fbpInf

# Ghostdoc
*.GhostDoc.xml

# Deployments
deployment/FinalBuilder/backup
deployment/InnoSetup/template/templates
deployment/InnoSetup/template/snippets
deployment/InnoSetup/template/libraries
deployment/InnoSetup/template/doc

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini

# Libraries
*.lib
*.a
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
# mstest test results
TestResults
src/UpgradeLog.htm
.DS_Store
95 changes: 95 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
Contributors
============

## Contributing Process

### Get Buyoff Or Find Open Community Issues/Features

* Through [GitHub](https://github.com/WildGums/Orc.LogViewer/issues), or through the [Chat Room](https://gitter.im/WildGums/Orc.LogViewer) (preferred), you talk about a feature you would like to see (or a bug), and why it should be included.
* If approved through the Chat Room, ensure the accompanying issue is created with information and a link back to the Chat Room discussion.
* Once you get a nod you can start on the feature.

### Set Up Your Environment

* You create, or update, a fork of https://github.com/WildGums/Orc.LogViewer under your GitHub account.
* From there you create a branch named specific to the feature.
* In the branch you do work specific to the feature.
* Please also observe the following:
* No reformatting
* No changing files that are not specific to the feature
* More covered below in the **Prepare commits** section.
* Test your changes and please help us out by updating and implementing some automated tests. It is recommended that all contributors spend some time looking over the tests in the source code. You can't go wrong emulating one of the existing tests and then changing it specific to the behavior you are testing.
* Please do not update your branch from the master unless we ask you to. See the responding to feedback section below.

### Prepare Commits

This section serves to help you understand what makes a good commit.

A commit should observe the following:

* A commit is a small logical unit that represents a change.
* Should include new or changed tests relevant to the changes you are making.
* No unnecessary whitespace. Check for whitespace with `git diff --check` and `git diff --cached --check` before commit.
* You can stage parts of a file for commit.

A commit message should observe the following:

* The first line of the commit message should be a short description around 50 characters in length and be prefixed with the issue it refers to with parentheses surrounding that. If the issue is #25, you should have `#25` prefixed to the message.
* If the commit is about documentation, the message should be prefixed with `(doc)`.
* If it is a trivial commit or one of formatting/spaces fixes, it should be prefixed with `(maint)`.
* After the subject, skip one line and fill out a body if the subject line is not informative enough.
* The body:
* Should indent at `72` characters.
* Explains more fully the reason(s) for the change and contrasts with previous behavior.
* Uses present tense. "Fix" versus "Fixed".

A good example of a commit message is as follows:

```
#7 Improve initialization performance
Previously the initialization took 400 ms and had a severe impact
on the startup of an application. This commit brings the initialization
time back to 35 ms.
```

### Submit Pull Request (PR)

Prerequisites:

* You are making commits in a feature branch.
* All specs should be passing.

Submitting PR:

* Once you feel it is ready, submit the pull request to the `WildGums/Orc.LogViewer` repository against the ````develop```` branch ([more information on this can be found here](https://help.github.com/articles/creating-a-pull-request)).
* In the pull request, outline what you did and point to specific conversations (as in URLs) and issues that you are are resolving. This is a tremendous help for us in evaluation and acceptance.
* Once the pull request is in, please do not delete the branch or close the pull request (unless something is wrong with it).
* One of the Team members, or one of the committers, will evaluate it within a reasonable time period (which is to say usually within 0-2 weeks). Some things get evaluated faster or fast tracked. We are human and we have active lives outside of open source so don't fret if you haven't seen any activity on your pull request within a month or two. We don't have a Service Level Agreement (SLA) for pull requests. Just know that we will evaluate your pull request.

### Respond to Feedback on Pull Request

We may have feedback for you to fix or change some things. We generally like to see that pushed against the same topic branch (it will automatically update the Pull Request). You can also fix/squash/rebase commits and push the same topic branch with `--force` (it's generally acceptable to do this on topic branches not in the main repository, it is generally unacceptable and should be avoided at all costs against the main repository).

If we have comments or questions when we do evaluate it and receive no response, it will probably lessen the chance of getting accepted. Eventually this means it will be closed if it is not accepted. Please know this doesn't mean we don't value your contribution, just that things go stale. If in the future you want to pick it back up, feel free to address our concerns/questions/feedback and reopen the issue/open a new PR (referencing old one).

Sometimes we may need you to rebase your commit against the latest code before we can review it further. If this happens, you can do the following:

* `git fetch upstream` (upstream would be the mainstream repo or `WildGums/Orc.LogViewer` in this case)
* `git checkout develop`
* `git rebase upstream/develop`
* `git checkout your-branch`
* `git rebase develop`
* Fix any merge conflicts
* `git push origin your-branch` (origin would be your GitHub repo or `your-github-username/Orc.LogViewer` in this case). You may need to `git push origin your-branch --force` to get the commits pushed. This is generally acceptable with topic branches not in the mainstream repository.

The only reasons a pull request should be closed and resubmitted are as follows:

* When the pull request is targeting the wrong branch (this doesn't happen as often).
* When there are updates made to the original by someone other than the original contributor. Then the old branch is closed with a note on the newer branch this supersedes the issue.

## Other General Information

If you reformat code or hit core functionality without an approval from a person on the Team, it's likely that no matter how awesome it looks afterwards, it will probably not get accepted. Reformatting code makes it harder for us to evaluate exactly what was changed.

If you do these things, it will be make evaluation and acceptance easy. Now if you stray outside of the guidelines we have above, it doesn't mean we are going to ignore your pull request. It will just make things harder for us. Harder for us roughly translates to a longer SLA for your pull request.
2 changes: 2 additions & 0 deletions GitVersionConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
assembly-versioning-scheme: MajorMinorPatch
next-version: 1.0.0
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Wild Gums
Copyright (c) 2014-2015 Wild Gums

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Binary file not shown.
32 changes: 32 additions & 0 deletions deployment/NuGet/template/Orc.LogViewer/Orc.LogViewer.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>Orc.LogViewer</id>
<version>[VERSION]</version>
<title>Orc.LogViewer</title>
<authors>OrchestraDevs</authors>
<owners>OrchestraDevs</owners>

<description>
Advanced log viewer control for WPF.
</description>
<summary>
</summary>

<tags>log viewer loggin orcomp orc</tags>

<requireLicenseAcceptance>false</requireLicenseAcceptance>
<copyright>Copyright Wild Gums 2010 - 2015</copyright>

<language>en-US</language>
<projectUrl>https://github.com/WildGums/Orc.LogViewer</projectUrl>
<!--<licenseUrl>http://catel.codeplex.com/license</licenseUrl>-->
<!--<iconUrl>http://www.catenalogic.com/catel.png</iconUrl>-->

<dependencies>
<dependency id="Catel.Core" version="[replaced]" />
<dependency id="Catel.MVVM" version="[replaced]" />
<dependency id="Orc.Controls" version="[replaced]" />
</dependencies>
</metadata>
</package>
13 changes: 13 additions & 0 deletions lib/repositories.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<repositories>
<repository path="..\src\Orc.Controls.Examples\packages.config" />
<repository path="..\src\Orc.Controls.Tests\Orc.Controls.Tests.NET40\packages.config" />
<repository path="..\src\Orc.Controls.Tests\Orc.Controls.Tests.NET45\packages.config" />
<repository path="..\src\Orc.Controls\Orc.Controls.NET40\packages.config" />
<repository path="..\src\Orc.Controls\Orc.Controls.NET45\packages.config" />
<repository path="..\src\Orc.LogViewer.Examples\packages.config" />
<repository path="..\src\Orc.LogViewer.Tests\Orc.LogViewer.Tests.NET40\packages.config" />
<repository path="..\src\Orc.LogViewer.Tests\Orc.LogViewer.Tests.NET45\packages.config" />
<repository path="..\src\Orc.LogViewer\Orc.LogViewer.NET40\packages.config" />
<repository path="..\src\Orc.LogViewer\Orc.LogViewer.NET45\packages.config" />
</repositories>
10 changes: 10 additions & 0 deletions scripts - Build - Debug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off

IF NOT "%VS110COMNTOOLS%" == "" (call "%VS110COMNTOOLS%vsvars32.bat")
IF NOT "%VS120COMNTOOLS%" == "" (call "%VS120COMNTOOLS%vsvars32.bat")
IF NOT "%VS130COMNTOOLS%" == "" (call "%VS130COMNTOOLS%vsvars32.bat")
IF NOT "%VS140COMNTOOLS%" == "" (call "%VS140COMNTOOLS%vsvars32.bat")


for /F %%A in ('dir /b src\*.sln') do call devenv src\%%A /build "Debug"
pause
10 changes: 10 additions & 0 deletions scripts - Build - Release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off

IF NOT "%VS110COMNTOOLS%" == "" (call "%VS110COMNTOOLS%vsvars32.bat")
IF NOT "%VS120COMNTOOLS%" == "" (call "%VS120COMNTOOLS%vsvars32.bat")
IF NOT "%VS130COMNTOOLS%" == "" (call "%VS130COMNTOOLS%vsvars32.bat")
IF NOT "%VS140COMNTOOLS%" == "" (call "%VS140COMNTOOLS%vsvars32.bat")


for /F %%A in ('dir /b src\*.sln') do call devenv src\%%A /build "Release"
pause
Loading

0 comments on commit 21bae79

Please sign in to comment.