repo
string
commit
string
message
string
diff
string
antlr/antlrcs
5cd68fb596ca4a44ac0d54307e09396125114cb3
CSharp target: Generate XML documentation during the build
diff --git a/Antlr3.Runtime.Debug/Antlr3.Runtime.Debug.csproj b/Antlr3.Runtime.Debug/Antlr3.Runtime.Debug.csproj index a2d3d9c..9c52017 100644 --- a/Antlr3.Runtime.Debug/Antlr3.Runtime.Debug.csproj +++ b/Antlr3.Runtime.Debug/Antlr3.Runtime.Debug.csproj @@ -1,77 +1,79 @@ <?xml version="1.0" encoding="utf-8"?> <Proj...
antlr/antlrcs
844a2eae17cbcfc05176b8c33c5f3c42b95ea5c0
CSharp targets: Updated assembly info for build 3.5.0.2
diff --git a/Antlr3.Runtime.Visualizer/Properties/AssemblyInfo.cs b/Antlr3.Runtime.Visualizer/Properties/AssemblyInfo.cs index 80aef28..d64b2b6 100644 --- a/Antlr3.Runtime.Visualizer/Properties/AssemblyInfo.cs +++ b/Antlr3.Runtime.Visualizer/Properties/AssemblyInfo.cs @@ -1,87 +1,87 @@ /* * [The "BSD license"] ...
antlr/antlrcs
eaec59a4f0cf9266d52c76d32bfc34b4020bc1c6
CSharp targets: Updated assembly info for build 3.5.0.2
diff --git a/Antlr3.Runtime.Debug/Properties/AssemblyInfo.cs b/Antlr3.Runtime.Debug/Properties/AssemblyInfo.cs index a3f2477..038cddb 100644 --- a/Antlr3.Runtime.Debug/Properties/AssemblyInfo.cs +++ b/Antlr3.Runtime.Debug/Properties/AssemblyInfo.cs @@ -1,70 +1,70 @@ /* * [The "BSD license"] * Copyright (c) 2011...
antlr/antlrcs
7b573f8dc419d907251878795c01cdee833baeb7
C# port: Fix CommonTreeNodeStream implementation of IPositionTrackingStream
diff --git a/Antlr3.Runtime/Misc/LookaheadStream.cs b/Antlr3.Runtime/Misc/LookaheadStream.cs index 38c26a8..14454a8 100644 --- a/Antlr3.Runtime/Misc/LookaheadStream.cs +++ b/Antlr3.Runtime/Misc/LookaheadStream.cs @@ -1,271 +1,271 @@ /* * [The "BSD licence"] * Copyright (c) 2005-2008 Terence Parr * All rights ...
antlr/antlrcs
e7fbcb06818789bcf1f0e6106fdf9421d2cc8c5c
CSharp: simplify project file
diff --git a/Antlr3.Runtime.Test/Antlr3.Runtime.Test.csproj b/Antlr3.Runtime.Test/Antlr3.Runtime.Test.csproj index 07a907e..75c4cac 100644 --- a/Antlr3.Runtime.Test/Antlr3.Runtime.Test.csproj +++ b/Antlr3.Runtime.Test/Antlr3.Runtime.Test.csproj @@ -1,215 +1,187 @@ <?xml version="1.0" encoding="utf-8"?> <Project To...
antlr/antlrcs
880bcec0c5840ce5dc20c9fe2ef6d417426a56fa
Specify Generator for Antlr3 items as MSBuild:Compile so users don't need to specify it manually
diff --git a/ANTLRCSharpDocumentation.docx b/ANTLRCSharpDocumentation.docx index e319cb9..5b3e977 100644 Binary files a/ANTLRCSharpDocumentation.docx and b/ANTLRCSharpDocumentation.docx differ diff --git a/AntlrBuildTask/Antlr3.targets b/AntlrBuildTask/Antlr3.targets index 1d75124..70b7c57 100644 --- a/AntlrBuildTask/A...
antlr/antlrcs
c2db3bd1b54e2918e9df1ba115a809fcccccf23d
CSharp targets: Updated assembly info for build 3.5.0.1
diff --git a/Antlr3.Runtime.Debug/Properties/AssemblyInfo.cs b/Antlr3.Runtime.Debug/Properties/AssemblyInfo.cs index 5473727..a3f2477 100644 --- a/Antlr3.Runtime.Debug/Properties/AssemblyInfo.cs +++ b/Antlr3.Runtime.Debug/Properties/AssemblyInfo.cs @@ -1,70 +1,70 @@ /* * [The "BSD license"] * Copyright (c) 2011...
jcasts/sunshine
dd22e5cf331ae0eea539de3c960ef6e551b81436
bumped version for release
diff --git a/History.rdoc b/History.rdoc index 2b96585..c6aa222 100644 --- a/History.rdoc +++ b/History.rdoc @@ -1,389 +1,395 @@ +=== 1.2.4 / 2011-02-23 + +* Bugfixes: + + * Removed "IDLE" from the output. + === 1.2.3 / 2011-02-11 * Bugfixes: * Completely removed the Healthcheck implementation. * Removed...
jcasts/sunshine
60c20e4624e3d164fb95b9fe8d5adb85c5fd7451
removed "IDLE" output
diff --git a/lib/sunshine/shell.rb b/lib/sunshine/shell.rb index 29bd759..b5d0aea 100644 --- a/lib/sunshine/shell.rb +++ b/lib/sunshine/shell.rb @@ -1,462 +1,461 @@ module Sunshine ## # The Shell class handles local input, output and execution to the shell. class Shell include Open4 LOCAL_US...
jcasts/sunshine
3ba784e32169f63a001de1147acf5e1d2f90f646
made readme and history into rdocs
diff --git a/History.txt b/History.rdoc similarity index 100% rename from History.txt rename to History.rdoc diff --git a/Manifest.txt b/Manifest.txt index 00adc0d..8897ed4 100644 --- a/Manifest.txt +++ b/Manifest.txt @@ -1,79 +1,79 @@ -History.txt +History.rdoc Manifest.txt -README.txt +README.rdoc Rakefile bin/sun...
jcasts/sunshine
6eed761b5a074091c561672030c9209d2b5d419b
removed extra timed_out method
diff --git a/lib/sunshine/shell.rb b/lib/sunshine/shell.rb index 5175986..29bd759 100644 --- a/lib/sunshine/shell.rb +++ b/lib/sunshine/shell.rb @@ -1,471 +1,462 @@ module Sunshine ## # The Shell class handles local input, output and execution to the shell. class Shell include Open4 LOCAL_US...
jcasts/sunshine
d7e4d2a414328b95285b444aab8df210eac5836a
shell back to using update_activity
diff --git a/lib/sunshine/shell.rb b/lib/sunshine/shell.rb index 1dd5765..5175986 100644 --- a/lib/sunshine/shell.rb +++ b/lib/sunshine/shell.rb @@ -1,470 +1,471 @@ module Sunshine ## # The Shell class handles local input, output and execution to the shell. class Shell include Open4 LOCAL_US...
jcasts/sunshine
9f3e75d716a30099c5dd8c965626156574ae927f
made shell's current pid available as an instance variable, added check for idleness
diff --git a/lib/sunshine/remote_shell.rb b/lib/sunshine/remote_shell.rb index b5415a8..808165a 100644 --- a/lib/sunshine/remote_shell.rb +++ b/lib/sunshine/remote_shell.rb @@ -1,272 +1,270 @@ module Sunshine ## # Keeps an SSH connection open to a server the app will be deployed to. # Deploy servers use the...
jcasts/sunshine
2cdf8843f4dc5145ff9b3a223a12d3c5d5d80965
removed unnecessary items in apache2 config template
diff --git a/templates/apache/apache.conf.erb b/templates/apache/apache.conf.erb index 8fafee5..7d335ea 100644 --- a/templates/apache/apache.conf.erb +++ b/templates/apache/apache.conf.erb @@ -1,65 +1,63 @@ -LoadModule log_config_module modules/mod_log_config.so LoadModule authz_host_module modules/mod_authz_host.so ...
jcasts/sunshine
0cb880421cbf59a217613ef372b5fa8aae77edeb
fixed missing server app env file symlink
diff --git a/lib/sunshine/server_app.rb b/lib/sunshine/server_app.rb index eace06a..ca7b03d 100644 --- a/lib/sunshine/server_app.rb +++ b/lib/sunshine/server_app.rb @@ -1,681 +1,681 @@ module Sunshine ## # Handles App deployment functionality for a single deploy server. # # Server apps can be assigned an...
jcasts/sunshine
498b0d6a5c1e228e63fecd849d4a092c77fa8ce0
made rsync repo remote checkout only
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index e234c48..1178767 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -69,1025 +69,1025 @@ module Sunshine # # qa_special: # :inherits: qa # :root_path: /path/to/application # :deploy_env: qa # # By default, App wil...
jcasts/sunshine
e2efd191ea4385031fb9cd248120105dc7854fdb
removed ruby -w option until open4 stops raising warnings
diff --git a/bin/sunshine b/bin/sunshine index e2050e4..f7a7db1 100755 --- a/bin/sunshine +++ b/bin/sunshine @@ -1,12 +1,12 @@ -#!/usr/bin/env ruby -w +#!/usr/bin/env ruby begin require 'sunshine' rescue LoadError => e raise e unless e.message =~ %r{no such file to load -- sunshine} $: << File.join(File....
jcasts/sunshine
4cba8d4c081159f8a48b18b3080bedd8a74822e3
added Sunshine config to turn off threads
diff --git a/lib/sunshine.rb b/lib/sunshine.rb index 0f4b7a8..176fea6 100644 --- a/lib/sunshine.rb +++ b/lib/sunshine.rb @@ -1,441 +1,451 @@ require 'rubygems' require 'open4' require 'rainbow' require 'highline' require 'json' require 'yaml' require 'erb' require 'logger' require 'optparse' require 'time' ...
jcasts/sunshine
4e3d8ce634a59cb9c89a465abfc1e0a2f618c7dc
removed gpg_decrypt
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index 30572f9..acad245 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -156,1041 +156,1024 @@ module Sunshine self.sudo = options[:sudo] || Sunshine.sudo @shell_env = { "RACK_ENV" => @deploy_env.to_s, "RAILS_ENV" =...
jcasts/sunshine
cd445f82f6a347f925684c2bc7728fd70da0769c
changed deployed_at deploy info to use server time instead of the deployer's time
diff --git a/lib/sunshine/server_app.rb b/lib/sunshine/server_app.rb index 68c6667..ecb109c 100644 --- a/lib/sunshine/server_app.rb +++ b/lib/sunshine/server_app.rb @@ -1,705 +1,705 @@ module Sunshine ## # Handles App deployment functionality for a single deploy server. # # Server apps can be assigned an...
jcasts/sunshine
0980c5f67d9e8d2ae3e2265c7dcf4f24b4efea8d
removed the (hopefully) last reference to healthcheck
diff --git a/README.txt b/README.txt index ead9837..da1d0eb 100644 --- a/README.txt +++ b/README.txt @@ -1,633 +1,632 @@ = Sunshine http://github.com/yaksnrainbows/sunshine http://betalabs.yellowpages.com/ == Description Sunshine is a framework for rack and rails application deployment. This gem was m...
jcasts/sunshine
fa6691d86be028ae2211315d2b1d07c52dd1d14f
Move the default config creation out, so that it can be stubbed.
diff --git a/lib/sunshine.rb b/lib/sunshine.rb index f8db0e0..0f4b7a8 100644 --- a/lib/sunshine.rb +++ b/lib/sunshine.rb @@ -1,439 +1,441 @@ require 'rubygems' require 'open4' require 'rainbow' require 'highline' require 'json' require 'yaml' require 'erb' require 'logger' require 'optparse' require 'time' ...
jcasts/sunshine
b3337b37506ff92be1edfa637b7c416a95795ede
Healthcheck wasn't dead enough.
diff --git a/lib/commands/list.rb b/lib/commands/list.rb index 4efb3ca..53b14d1 100644 --- a/lib/commands/list.rb +++ b/lib/commands/list.rb @@ -1,327 +1,303 @@ module Sunshine ## # List and perform simple state actions on lists of sunshine apps. # # Usage: sunshine list [options] app_name [more names......
jcasts/sunshine
1e54d76d7bf038c1a4f303a6edb1e156758f6d86
Allow criminals to deploy from, say, "#{Dir.pwd}/.git".
diff --git a/lib/sunshine/repos/git_repo.rb b/lib/sunshine/repos/git_repo.rb index bf64229..6b85131 100644 --- a/lib/sunshine/repos/git_repo.rb +++ b/lib/sunshine/repos/git_repo.rb @@ -1,122 +1,122 @@ module Sunshine ## # Simple wrapper for git repos. Constructor supports :tree option to # specify either a ...
jcasts/sunshine
113d4ba40be704282b7c690ad8b0def7223dc539
moved scripts_path to current_path/script to integrate with rails
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index 9676d09..30572f9 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -621,599 +621,599 @@ module Sunshine def deployed? options=nil with_server_apps options, :msg => "Checking deploy", :no_threads => true do |server_app| ...
jcasts/sunshine
52813263e5a206f6c4734eea9d3ac3939d063f05
fixed register_as_deployed test
diff --git a/test/unit/test_server_app.rb b/test/unit/test_server_app.rb index 70d1def..0658dcc 100644 --- a/test/unit/test_server_app.rb +++ b/test/unit/test_server_app.rb @@ -1,492 +1,492 @@ require 'test_helper' class TestServerApp < Test::Unit::TestCase def setup mock_svn_response @app = mock_a...
jcasts/sunshine
41b7f7428fd2ad64a297741b894c708eef823ada
fixed ServerApp#register_as_deployed to pass the correct app name
diff --git a/README.txt b/README.txt index 9ed88f1..ead9837 100644 --- a/README.txt +++ b/README.txt @@ -1,633 +1,633 @@ = Sunshine http://github.com/yaksnrainbows/sunshine http://betalabs.yellowpages.com/ == Description Sunshine is a framework for rack and rails application deployment. This gem was m...
jcasts/sunshine
999528c8517e20b1ef7961dc2b8f3f05b347e6cf
removed health check from default rake file
diff --git a/templates/sunshine/sunshine.rake b/templates/sunshine/sunshine.rake index aeb57ce..0063d24 100644 --- a/templates/sunshine/sunshine.rake +++ b/templates/sunshine/sunshine.rake @@ -1,159 +1,132 @@ namespace :sunshine do ## # If using Rails, have the environment available by updating :app task to: ...
jcasts/sunshine
6c6e434effc7f9f731a4fb943a4bfa3f038182b4
removed references to healthcheck
diff --git a/History.txt b/History.txt index 925226c..9ef45d8 100644 --- a/History.txt +++ b/History.txt @@ -1,383 +1,385 @@ === 1.3.0 / 2010 * Bugfixes: + * Completely removed the Healthcheck implementation. + * Removed superfluous App#upload_tasks method. * Lots of rdoc updates. === 1.2.2 / 2010-10-...
jcasts/sunshine
3577f1e12bfaac5817e681647c9e181a653f4602
removed healthcheck entirely
diff --git a/History.txt b/History.txt index 9cffd96..925226c 100644 --- a/History.txt +++ b/History.txt @@ -1,375 +1,383 @@ +=== 1.3.0 / 2010 + +* Bugfixes: + + * Removed superfluous App#upload_tasks method. + + * Lots of rdoc updates. + === 1.2.2 / 2010-10-13 * Bugfixes: * Added support for ruby 1.9.2 =...
jcasts/sunshine
8981ae21c95a12aed8c83915eb1a1c1634781b8e
revamped App rdoc and removed upload_tasks
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index ce7e8d1..7592d10 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -1,1289 +1,1256 @@ module Sunshine ## # App objects are the core of Sunshine deployment. The Sunshine paradygm # is to construct an app object, and run custom deploy co...
jcasts/sunshine
d20fe8408cc92eee699b593504a7df4978dbbca9
bumping version for release
diff --git a/History.txt b/History.txt index 27d9396..9cffd96 100644 --- a/History.txt +++ b/History.txt @@ -1,369 +1,375 @@ +=== 1.2.2 / 2010-10-13 + +* Bugfixes: + + * Added support for ruby 1.9.2 + === 1.2.1 / 2010-10-05 * Improvements: * Added customizable behaviors for sigint and failures during deploys....
jcasts/sunshine
e189671482687251c346a9c1994cb18f5555f081
fixed YAML deprecation warnings in tests
diff --git a/test/test_helper.rb b/test/test_helper.rb index f760109..29eb480 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,28 +1,26 @@ require 'sunshine' require 'test/unit' require 'helper_methods' include HelperMethods require 'test/mocks/mock_object' require 'test/mocks/mock_open4' ...
jcasts/sunshine
0af939eec24e0e7fc2c6c2c173b377eff6839c53
made sudo prompt configurable on shell class to allow other languages
diff --git a/lib/sunshine/shell.rb b/lib/sunshine/shell.rb index 22157c6..e9cdd58 100644 --- a/lib/sunshine/shell.rb +++ b/lib/sunshine/shell.rb @@ -1,432 +1,444 @@ module Sunshine ## # The Shell class handles local input, output and execution to the shell. class Shell include Open4 LOCAL_US...
jcasts/sunshine
f7ed790f27333180eeef992713a93ca7309d51c0
renamed Shell#syscall to Shell#system ot better reflect its function
diff --git a/History.txt b/History.txt index 60c6c53..27d9396 100644 --- a/History.txt +++ b/History.txt @@ -1,367 +1,369 @@ === 1.2.1 / 2010-10-05 * Improvements: * Added customizable behaviors for sigint and failures during deploys. * Added Sunshine irb shell to work directly with deploying apps. *...
jcasts/sunshine
277fcc548d7d03b7349a498619c50e1a774a2767
fix for checkout with excludes
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index 888043f..60b9fb1 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -89,1039 +89,1040 @@ module Sunshine # App.new "config.yml", :deploy_env => :qa_special # # # Another way of instantiating an App is to pass it a hash. Unlike the yam...
jcasts/sunshine
5c11e83bc4aa9d2f71a66ae8f23c7cb2ae34b751
changed how daemon log files get chowned so that calling touch is not required/chown
diff --git a/lib/sunshine/daemon.rb b/lib/sunshine/daemon.rb index 3e28921..fcbcfaf 100644 --- a/lib/sunshine/daemon.rb +++ b/lib/sunshine/daemon.rb @@ -1,490 +1,490 @@ module Sunshine ## # An abstract class to wrap simple daemon software setup and start/stop. # # Child classes are expected to at least p...
jcasts/sunshine
d0a76de647e9434175b044897eb8d5e817248625
added exclude paths for checkouts by rsync
diff --git a/History.txt b/History.txt index 8261f21..60c6c53 100644 --- a/History.txt +++ b/History.txt @@ -1,363 +1,367 @@ === 1.2.1 / 2010-10-05 * Improvements: * Added customizable behaviors for sigint and failures during deploys. * Added Sunshine irb shell to work directly with deploying apps. *...
jcasts/sunshine
52b10c87571fe72db334cb2117c9b4ec428d5ae5
added auto-recurse to remote shell rsyncing
diff --git a/lib/sunshine/remote_shell.rb b/lib/sunshine/remote_shell.rb index 0efebd2..cc8536d 100644 --- a/lib/sunshine/remote_shell.rb +++ b/lib/sunshine/remote_shell.rb @@ -1,272 +1,272 @@ module Sunshine ## # Keeps an SSH connection open to a server the app will be deployed to. # Deploy servers use the...
jcasts/sunshine
1964b1678a465f2cb0b5606a6e9f3b26edafbce3
changed ServerApp#running? to only return on exit codes 0 and 13
diff --git a/lib/sunshine/daemon.rb b/lib/sunshine/daemon.rb index 25d0a27..3e28921 100644 --- a/lib/sunshine/daemon.rb +++ b/lib/sunshine/daemon.rb @@ -1,490 +1,490 @@ module Sunshine ## # An abstract class to wrap simple daemon software setup and start/stop. # # Child classes are expected to at least p...
jcasts/sunshine
62d336b800025fca199b7784a2fec25971114c42
changed script generation implementation to return meaningful bash exit codes for start/stop/restart/status
diff --git a/lib/sunshine/daemon.rb b/lib/sunshine/daemon.rb index b27f112..25d0a27 100644 --- a/lib/sunshine/daemon.rb +++ b/lib/sunshine/daemon.rb @@ -1,436 +1,490 @@ module Sunshine ## # An abstract class to wrap simple daemon software setup and start/stop. # # Child classes are expected to at least p...
jcasts/sunshine
a682f0bf78bf23828f55efaaaaa900219a97277a
restructured and renamed exceptions
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index 0244b0f..ca3f0f7 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -1,1298 +1,1286 @@ module Sunshine ## # App objects are the core of Sunshine deployment. The Sunshine paradygm # is to construct an app object, and run custom deploy co...
jcasts/sunshine
9317625022a49c12d075077d1be2d28995309a46
started refactoring exception classes
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index a3e4b64..024c258 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -1,1240 +1,1239 @@ module Sunshine ## # App objects are the core of Sunshine deployment. The Sunshine paradygm # is to construct an app object, and run custom deploy co...
jcasts/sunshine
e8dd8629b2c3780db8fb7adb6e740624ad960383
cleanup
diff --git a/lib/sunshine.rb b/lib/sunshine.rb index e4f0447..fdf7b65 100644 --- a/lib/sunshine.rb +++ b/lib/sunshine.rb @@ -1,427 +1,427 @@ require 'rubygems' require 'open4' require 'rainbow' require 'highline' require 'json' require 'yaml' require 'erb' require 'logger' require 'optparse' require 'time' ...
jcasts/sunshine
4f7d8e9455e0fe46839ab4e5b256de9c59cbc112
removed extraneous CmdError from dependency class
diff --git a/lib/sunshine/package_managers/dependency.rb b/lib/sunshine/package_managers/dependency.rb index 4ff6fbc..9c44fef 100644 --- a/lib/sunshine/package_managers/dependency.rb +++ b/lib/sunshine/package_managers/dependency.rb @@ -1,357 +1,356 @@ module Sunshine ## # Dependency objects let you define how...
jcasts/sunshine
27d6e127db6a89a4aacb1a2fd0dc1145b037db02
added exit code to CmdError
diff --git a/History.txt b/History.txt index 5f207cd..8261f21 100644 --- a/History.txt +++ b/History.txt @@ -1,359 +1,363 @@ === 1.2.1 / 2010-10-05 * Improvements: * Added customizable behaviors for sigint and failures during deploys. * Added Sunshine irb shell to work directly with deploying apps. *...
jcasts/sunshine
e613ce557369ee9e70fc2ca059f48ab7468169db
fixed ServerApp#run_script to pass options correctly
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index 419fcdf..0244b0f 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -1,832 +1,832 @@ module Sunshine ## # App objects are the core of Sunshine deployment. The Sunshine paradygm # is to construct an app object, and run custom deploy code...
jcasts/sunshine
929db23cfeebd2e3b0711912fdf5ac5c0b398d48
added better deploy exception handling - updated history file
diff --git a/History.txt b/History.txt index 7d2116e..5f207cd 100644 --- a/History.txt +++ b/History.txt @@ -1,343 +1,359 @@ +=== 1.2.1 / 2010-10-05 + +* Improvements: + + * Added customizable behaviors for sigint and failures during deploys. + + * Added Sunshine irb shell to work directly with deploying apps. + + *...
jcasts/sunshine
59eedb124b3dce6fd6faac1a448fe3264a1c11a5
fix for ServerApp#stop and added exception raising start stop and restart methods to App
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index a3e4b64..283b006 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -331,910 +331,958 @@ module Sunshine interrupt_trap = TrapStack.add_trap "Interrupted #{@name}" do handle_sigint options end yield if b...
jcasts/sunshine
b89fa6e9ade3c5b5c30af8e02dd4ee17a7cbbc7a
added App#interruptable method to handle exceptions and sigints during deploys
diff --git a/lib/sunshine.rb b/lib/sunshine.rb index b71288d..e4f0447 100644 --- a/lib/sunshine.rb +++ b/lib/sunshine.rb @@ -1,427 +1,427 @@ require 'rubygems' require 'open4' require 'rainbow' require 'highline' require 'json' require 'yaml' require 'erb' require 'logger' require 'optparse' require 'time' ...
jcasts/sunshine
685849e9ff3bb02591eda1e94009057269ee2737
added non-rescued script running to server app
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index 4e85a4c..d748034 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -1,828 +1,827 @@ module Sunshine ## # App objects are the core of Sunshine deployment. The Sunshine paradygm # is to construct an app object, and run custom deploy code...
jcasts/sunshine
45a3ede8b58514ebdc357cb38fd6af310391c576
fixed retrieving deploy env from ENV
diff --git a/lib/sunshine.rb b/lib/sunshine.rb index f66851e..b71288d 100644 --- a/lib/sunshine.rb +++ b/lib/sunshine.rb @@ -1,424 +1,427 @@ require 'rubygems' require 'open4' require 'rainbow' require 'highline' require 'json' require 'yaml' require 'erb' require 'logger' require 'optparse' require 'time' ...
jcasts/sunshine
d46d997a5af63f1585763c2813c772cb79d48f33
added ability to change default behavior of sigint and deploy failures
diff --git a/lib/sunshine.rb b/lib/sunshine.rb index 26c3666..f66851e 100644 --- a/lib/sunshine.rb +++ b/lib/sunshine.rb @@ -1,395 +1,424 @@ require 'rubygems' require 'open4' require 'rainbow' require 'highline' require 'json' require 'yaml' require 'erb' require 'logger' require 'optparse' require 'time' ...
jcasts/sunshine
63aec631ae512fea9102b3abf76eb4dc55026e52
added commands doc for -S
diff --git a/lib/commands/list.rb b/lib/commands/list.rb index c052806..ec4523d 100644 --- a/lib/commands/list.rb +++ b/lib/commands/list.rb @@ -1,322 +1,323 @@ module Sunshine ## # List and perform simple state actions on lists of sunshine apps. # # Usage: sunshine list [options] app_name [more names......
jcasts/sunshine
8e3b7cc00c742f04e044136e146aafe17999d4c7
added load error rescuing for sunshine for dev purposes
diff --git a/bin/sunshine b/bin/sunshine index 08ff6ba..e2050e4 100755 --- a/bin/sunshine +++ b/bin/sunshine @@ -1,5 +1,12 @@ #!/usr/bin/env ruby -w -require 'sunshine' +begin + require 'sunshine' +rescue LoadError => e + raise e unless e.message =~ %r{no such file to load -- sunshine} + + $: << File.join(File.di...
jcasts/sunshine
5a7a8e5cc66adff29bdfaaafef0a45fe22ea8114
with_session now calls with_filter as per expected behavior when passing server find options
diff --git a/lib/sunshine/app.rb b/lib/sunshine/app.rb index 8957496..17e6a2b 100644 --- a/lib/sunshine/app.rb +++ b/lib/sunshine/app.rb @@ -1,1136 +1,1138 @@ module Sunshine ## # App objects are the core of Sunshine deployment. The Sunshine paradygm # is to construct an app object, and run custom deploy co...
jcasts/sunshine
cbe78390aa52c14581e092b8f37f173a5ccf7183
moved signal traps to the TrapStack class
diff --git a/Manifest.txt b/Manifest.txt index 07d901e..d933f92 100644 --- a/Manifest.txt +++ b/Manifest.txt @@ -1,81 +1,82 @@ History.txt Manifest.txt README.txt Rakefile bin/sunshine examples/deploy_tasks.rake examples/standalone_deploy.rb examples/sunshine_deploy.rb lib/commands/add.rb lib/commands/default...
jcasts/sunshine
6322560aca9e72261af9e36b9d35cd91b236186f
started implementing app.console
diff --git a/lib/sunshine.rb b/lib/sunshine.rb index 0f76e8e..ceeb410 100644 --- a/lib/sunshine.rb +++ b/lib/sunshine.rb @@ -1,423 +1,426 @@ require 'rubygems' require 'open4' require 'rainbow' require 'highline' require 'json' require 'yaml' require 'erb' require 'logger' require 'optparse' require 'time' ...
jcasts/sunshine
886c8591ff7d40c91a3e3b3ce8c54c26561ed44a
fix for Repo.valid?
diff --git a/lib/sunshine/repo.rb b/lib/sunshine/repo.rb index 755dc62..6325efe 100644 --- a/lib/sunshine/repo.rb +++ b/lib/sunshine/repo.rb @@ -1,149 +1,149 @@ module Sunshine class RepoError < Exception; end ## # An abstract class to wrap simple basic scm features. The primary function # of repo obje...
jcasts/sunshine
19e1ae15404fcacf7638a88c134bf294d8377e5e
added sunshine version to info file
diff --git a/lib/sunshine/server_app.rb b/lib/sunshine/server_app.rb index 14c1fbf..c5e94e1 100644 --- a/lib/sunshine/server_app.rb +++ b/lib/sunshine/server_app.rb @@ -1,684 +1,685 @@ module Sunshine ## # Handles App deployment functionality for a single deploy server. # # Server apps can be assigned an...
jcasts/sunshine
1b97c480ff537d61a5afc02391e114a570015991
added building server app from deploy info file
diff --git a/lib/sunshine/server_app.rb b/lib/sunshine/server_app.rb index 84cc288..14c1fbf 100644 --- a/lib/sunshine/server_app.rb +++ b/lib/sunshine/server_app.rb @@ -1,683 +1,684 @@ module Sunshine ## # Handles App deployment functionality for a single deploy server. # # Server apps can be assigned an...
jcasts/sunshine
5a28dc12dd0778182686f2671f3ffacadc09b048
added ability to instantiate a server app from the deploy info file
diff --git a/lib/sunshine/server_app.rb b/lib/sunshine/server_app.rb index 266df46..84cc288 100644 --- a/lib/sunshine/server_app.rb +++ b/lib/sunshine/server_app.rb @@ -1,595 +1,619 @@ module Sunshine ## # Handles App deployment functionality for a single deploy server. # # Server apps can be assigned an...
jcasts/sunshine
a494f1366e52ffb857d7f7401a59f17c9ba524ec
added ability to pass optional cmd to shell tty
diff --git a/lib/sunshine/remote_shell.rb b/lib/sunshine/remote_shell.rb index 2ec5113..2c349f0 100644 --- a/lib/sunshine/remote_shell.rb +++ b/lib/sunshine/remote_shell.rb @@ -1,270 +1,274 @@ module Sunshine ## # Keeps an SSH connection open to a server the app will be deployed to. # Deploy servers use the...
jcasts/sunshine
d97a146080e3877781b48bbba0af46ea4cd9e653
added deploy env variables to info file creation
diff --git a/lib/sunshine/server_app.rb b/lib/sunshine/server_app.rb index eb1fe41..266df46 100644 --- a/lib/sunshine/server_app.rb +++ b/lib/sunshine/server_app.rb @@ -1,658 +1,659 @@ module Sunshine ## # Handles App deployment functionality for a single deploy server. # # Server apps can be assigned an...
jcasts/sunshine
5e86f3a7166fbadd0529b8920f1fa7162445a1ca
added fix for non arrays
diff --git a/lib/sunshine/remote_shell.rb b/lib/sunshine/remote_shell.rb index 254c4d7..2ec5113 100644 --- a/lib/sunshine/remote_shell.rb +++ b/lib/sunshine/remote_shell.rb @@ -1,269 +1,270 @@ module Sunshine ## # Keeps an SSH connection open to a server the app will be deployed to. # Deploy servers use the...
jan-kuechler/unitlib
dfe20a1a80a2b5d28cffb3009f2c3aa30a65d6b4
Fixed typo in the doc-comment for ul_quit()
diff --git a/include/unitlib.h b/include/unitlib.h index e015b95..b242d47 100644 --- a/include/unitlib.h +++ b/include/unitlib.h @@ -1,249 +1,248 @@ /** * unitlib.h - Main header for the unitlib */ #ifndef UNITLIB_H #define UNITLIB_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include "u...
jan-kuechler/unitlib
bed6e83f6a4aace14d497816bc9a46652967ebad
Added some default conversion rules
diff --git a/etc/rules b/etc/rules new file mode 100644 index 0000000..f90054e --- /dev/null +++ b/etc/rules @@ -0,0 +1,36 @@ +# unitlib conversion rules + +# Newton +N = kg m s^-2 + +# Joule +J = N m + +# Watt +W = J s^-1 + +# Pascal +Pa = N m^-2 + +# Hertz +Hz = s^-1 + +# Volt +V = W A^-1 + +# Ohm +Omega = V A^-1 + +...
jan-kuechler/unitlib
e7f5b549ca6f5c6e27ab7206ae00c95bcbfcb5b7
Changed version to 0.5.1
diff --git a/include/unitlib.h b/include/unitlib.h index 2076a81..e015b95 100644 --- a/include/unitlib.h +++ b/include/unitlib.h @@ -1,249 +1,249 @@ /** * unitlib.h - Main header for the unitlib */ #ifndef UNITLIB_H #define UNITLIB_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include "u...
jan-kuechler/unitlib
2ec78b2fbb2a64f1d298f8881d3709f58a53dd11
Auto create 'bin' directory if it does not exist.
diff --git a/Makefile b/Makefile index 02bbc1d..7112745 100644 --- a/Makefile +++ b/Makefile @@ -1,110 +1,113 @@ ## # Makefile for unitlib ## MSVC_COMPAT = -mms-bitfields -mno-cygwin BIN_DIR = bin SRC_DIR = src INC_DIR = include TST_DIR = test CC = gcc CFLAGS = -O2 -std=c99 -Wall -Wextra -I$(INC_DIR) ...
jan-kuechler/unitlib
736e43af99b13061e03832c131b53919d6a8aa16
Changed directory structure
diff --git a/Makefile b/Makefile index bb4b6e3..02bbc1d 100644 --- a/Makefile +++ b/Makefile @@ -1,106 +1,110 @@ ## # Makefile for unitlib ## MSVC_COMPAT = -mms-bitfields -mno-cygwin +BIN_DIR = bin +SRC_DIR = src +INC_DIR = include +TST_DIR = test + CC = gcc -CFLAGS = -O2 -std=c99 -Wall -Wextra +CFLAGS = -O2 -...
jan-kuechler/unitlib
74283b995a791bd35387f320ef69432f7b559cca
Change version to 0.5
diff --git a/unitlib.h b/unitlib.h index 0a25e26..2076a81 100644 --- a/unitlib.h +++ b/unitlib.h @@ -1,251 +1,249 @@ /** * unitlib.h - Main header for the unitlib */ #ifndef UNITLIB_H #define UNITLIB_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include "unitlib-config.h" #define UL_N...
jan-kuechler/unitlib
de6fb70f9efd164c4b336b778ca6755c1c77f8a9
Changed version to 0.4b5, hopefully the last beta before 0.4.
diff --git a/unitlib.h b/unitlib.h index a35ca9b..0a25e26 100644 --- a/unitlib.h +++ b/unitlib.h @@ -1,251 +1,251 @@ /** * unitlib.h - Main header for the unitlib */ #ifndef UNITLIB_H #define UNITLIB_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include "unitlib-config.h" #define UL_N...
jan-kuechler/unitlib
8e44cd0fee058dd1ebfc257fb1d8e28add48ee53
Added an ugly hack to parse "(kg m)^2".
diff --git a/parser.c b/parser.c index ec0f054..644ff08 100644 --- a/parser.c +++ b/parser.c @@ -1,771 +1,799 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" // My string.h is missing strdup so p...
jan-kuechler/unitlib
82411b89941acde4af3791a77a70a2994acc633f
Fixed bug with '/' in sqrt expressions.
diff --git a/parser.c b/parser.c index 448229c..ec0f054 100644 --- a/parser.c +++ b/parser.c @@ -1,761 +1,771 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" // My string.h is missing strdup so p...
jan-kuechler/unitlib
ad66e68cfcde398c3dfbefb847d8d8b2fbb7a73f
Added comments
diff --git a/parser.c b/parser.c index 1b49efa..448229c 100644 --- a/parser.c +++ b/parser.c @@ -1,656 +1,667 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" // My string.h is missing strdup so p...
jan-kuechler/unitlib
14b971b12f0a377177f83ff72a5a4a26b97c61c9
Changed version to 0.4b4
diff --git a/unitlib.h b/unitlib.h index e605171..a35ca9b 100644 --- a/unitlib.h +++ b/unitlib.h @@ -1,258 +1,251 @@ /** * unitlib.h - Main header for the unitlib */ #ifndef UNITLIB_H #define UNITLIB_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include "unitlib-config.h" #define UL_N...
jan-kuechler/unitlib
a720db234acbe698335de22a6a8ae48880928dd6
Added sqrt and some diagnostics (like operator right after operator).
diff --git a/parser.c b/parser.c index a53aa20..1b49efa 100644 --- a/parser.c +++ b/parser.c @@ -1,717 +1,750 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" // My string.h is missing strdup so p...
jan-kuechler/unitlib
bd1c8771c915f1c5c3eb5425f70d5d7443b2ff9c
Started stack based parsing.
diff --git a/intern.h b/intern.h index c86c757..0b94cb1 100644 --- a/intern.h +++ b/intern.h @@ -1,59 +1,67 @@ #ifndef UL_INTERN_H #define UL_INTERN_H #include <float.h> #include <math.h> #include "unitlib.h" extern const char *_ul_symbols[]; extern size_t _ul_symlens[]; extern bool _ul_debugging; UL_LIN...
jan-kuechler/unitlib
0fef02a133ac7e632b72d3b175b29641193bc11d
More preparation, still passes most unittests. Failed tests: - [intentionally] No longer fails to parse "kg*m^2". This test will be removed. - [bug/feature?] No longer fails to parse "kg ** m^2". It's not yet decided, whether this effect is ok.
diff --git a/_test.c b/_test.c index 0b33dd2..0351092 100644 --- a/_test.c +++ b/_test.c @@ -1,147 +1,147 @@ #include <stdio.h> #include "unitlib.h" #ifndef SMASH int main(void) { printf("Testing %s\n", UL_FULL_NAME); ul_debugging(true); - ul_debugout("debug.log", false); + //ul_debugout("debug.log", fal...
jan-kuechler/unitlib
99491632379577ac70a70b3e51f2121bb7e7f02e
Added nextsplit function, to find the next place to split.
diff --git a/parser.c b/parser.c index 0cc5923..1ac4b12 100644 --- a/parser.c +++ b/parser.c @@ -1,611 +1,620 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" // My string.h is missing strdup so p...
jan-kuechler/unitlib
2bb2626553ce2084d8a12ce238bcf7b11c710c37
Just some comment cleanups
diff --git a/parser.c b/parser.c index 23f49dc..0cc5923 100644 --- a/parser.c +++ b/parser.c @@ -5,607 +5,607 @@ #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" // My string.h is missing strdup so place it here. char *strdup(const char *s1); typedef struct rule { const cha...
jan-kuechler/unitlib
7e13bb72854e9bd0f41f8339171a0bec6b995474
Don't display file and line in error messages if not debugging.
diff --git a/unitlib.c b/unitlib.c index 386d9f7..854305a 100644 --- a/unitlib.c +++ b/unitlib.c @@ -1,201 +1,204 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" #define static_assert(e) extern...
jan-kuechler/unitlib
63fd2a772c8b711b108c0adbdd9af32f59229edf
Fixed bug in ul_sqrt, return value is now true for success.
diff --git a/unitlib.c b/unitlib.c index 8ed3ed4..386d9f7 100644 --- a/unitlib.c +++ b/unitlib.c @@ -1,201 +1,201 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" #define static_assert(e) extern...
jan-kuechler/unitlib
e4b7feb1fb12922ed8d6e142059e52a5fc293cb1
Some README corrections.
diff --git a/README b/README index 605d53d..1817481 100644 --- a/README +++ b/README @@ -1,50 +1,50 @@ unitlib - README + What is unitlib? Unitlib is a programming library written in C, that handles parsing, converting and formatting of SI units (http://en.wikipedia.org/wiki/SI)...
jan-kuechler/unitlib
80685ce0ad6b05e721778734f51c64cc2ee5845e
Added README file.
diff --git a/README b/README new file mode 100644 index 0000000..605d53d --- /dev/null +++ b/README @@ -0,0 +1,50 @@ + + unitlib - README + ++ What is unitlib? + +Unitlib is a programming library written in C, that handles parsing, converting +and formatting of SI units (http://en.wikipedi...
jan-kuechler/unitlib
030f3841f32557759a65802db514cd46d1f71370
Fixed a (sometimes) crashing bug in parser.c.
diff --git a/parser.c b/parser.c index f1ab52d..23f49dc 100644 --- a/parser.c +++ b/parser.c @@ -1,608 +1,611 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" +// My string.h is missing strdup so p...
jan-kuechler/unitlib
02336116b86154c9f5ee12aae701a461a8714d24
Renamed R_* to RES_* to avoid naming conflics with unistd.h's R_OK.
diff --git a/format.c b/format.c index 379e8f5..e5394fb 100644 --- a/format.c +++ b/format.c @@ -1,389 +1,389 @@ #include <assert.h> #include <stdio.h> #include <string.h> #include "intern.h" #include "unitlib.h" struct status { bool (*put_char)(char c, void *info); void *info; const unit_t *unit; ul...
jan-kuechler/unitlib
5bfe20c7421e4857134864acdb76a52bc872b42b
Extended test framework.
diff --git a/unittest.c b/unittest.c index ed12728..cf66efc 100644 --- a/unittest.c +++ b/unittest.c @@ -1,560 +1,607 @@ #ifndef GET_TEST_DEFS #include <stdarg.h> #include <stdlib.h> #include <string.h> #include "unitlib.h" #include "intern.h" // yay, self include (-: #define GET_TEST_DEFS #include "unittest...
jan-kuechler/unitlib
8dd5042c2fbe11afb22a37cba22ddb88102defe0
Changed version to 0.4b3.
diff --git a/unitlib.h b/unitlib.h index 4ab5484..0dff234 100644 --- a/unitlib.h +++ b/unitlib.h @@ -1,258 +1,258 @@ /** * unitlib.h - Main header for the unitlib */ #ifndef UNITLIB_H #define UNITLIB_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include "unitlib-config.h" #define UL_N...
jan-kuechler/unitlib
8395ec934271c7e379373bc5362bdae07f06043e
Added ul_reset_rules (not yet in the header).
diff --git a/parser.c b/parser.c index 5ec88b7..f1ab52d 100644 --- a/parser.c +++ b/parser.c @@ -1,585 +1,608 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" typedef struct rule { const char *...
jan-kuechler/unitlib
8fedf109bf5413925c9437c3ca768fac57b7d99c
Added one parameter to the ul_*print function family: fop. Added UL_FOP_REDUCE flag, to reduce a unit to the smallest form.
diff --git a/_test.c b/_test.c index 27cf78e..0b33dd2 100644 --- a/_test.c +++ b/_test.c @@ -1,156 +1,147 @@ #include <stdio.h> #include "unitlib.h" #ifndef SMASH int main(void) { printf("Testing %s\n", UL_FULL_NAME); ul_debugging(true); ul_debugout("debug.log", false); if (!ul_init()) { printf("i...
jan-kuechler/unitlib
ba0527106ba30732b855fb7896c3618d48efeb2b
Major overhaul of the formating procedure. Incompatibilities: * UL_FMT_LATEX_FRAC will enclose it's output in '$'
diff --git a/format.c b/format.c index 109891b..81af6df 100644 --- a/format.c +++ b/format.c @@ -1,420 +1,357 @@ #include <assert.h> #include <stdio.h> #include <string.h> #include "intern.h" #include "unitlib.h" struct status { bool (*put_char)(char c, void *info); void *info; const unit_t *unit; ul...
jan-kuechler/unitlib
d431af237f76cba04ce4a55e3bfac1310280973f
Started new format system (does not compile at the moment).
diff --git a/format.c b/format.c index 5db5ba4..109891b 100644 --- a/format.c +++ b/format.c @@ -1,337 +1,420 @@ #include <assert.h> #include <stdio.h> #include <string.h> #include "intern.h" #include "unitlib.h" struct status { bool (*put_char)(char c, void *info); void *info; const unit_t *unit; ul...
jan-kuechler/unitlib
6fb47490bbb7bfb0d37e94c70aed1a58ad8e696d
API CHANGE: Removed fmtops parameter of the printing functions.
diff --git a/format.c b/format.c index 0ca05d9..5db5ba4 100644 --- a/format.c +++ b/format.c @@ -1,389 +1,337 @@ #include <assert.h> #include <stdio.h> #include <string.h> #include "intern.h" #include "unitlib.h" struct status { bool (*put_char)(char c, void *info); void *info; const unit_t *unit; ul...
jan-kuechler/unitlib
557703d3281e8f9c79c502db2957f652fde459af
Workarround for ld bug with --out-implib, now using --output-def and Microsofts lib.exe.
diff --git a/Makefile b/Makefile index c819263..bb4b6e3 100644 --- a/Makefile +++ b/Makefile @@ -1,102 +1,106 @@ ## # Makefile for unitlib ## MSVC_COMPAT = -mms-bitfields -mno-cygwin CC = gcc CFLAGS = -O2 -std=c99 -Wall -Wextra AR = ar RANLIB = ranlib TARGET = libunit.a DLL = libunit.dll IMPLIB = l...
jan-kuechler/unitlib
bc2d2c1a4070ad1291e2e6443debbc159b077860
Some debug messages, found the problem of the crashing MFC app using the DLL.
diff --git a/intern.h b/intern.h index 65a0c1f..ff17a8d 100644 --- a/intern.h +++ b/intern.h @@ -1,57 +1,57 @@ #ifndef UL_INTERN_H #define UL_INTERN_H #include <float.h> #include <math.h> #include "unitlib.h" extern const char *_ul_symbols[]; extern size_t _ul_symlens[]; extern bool _ul_debugging; UL_LIN...
jan-kuechler/unitlib
7da0385399d420f447fc032a96c8dbc2a79382d8
Removed the loading of the env var UL_RULES as a rule file at ul_init().
diff --git a/unitlib.c b/unitlib.c index 2d64c50..c7c12eb 100644 --- a/unitlib.c +++ b/unitlib.c @@ -1,186 +1,177 @@ #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "intern.h" #include "unitlib.h" #define static_assert(e) extern...
jan-kuechler/unitlib
551de8169f23db28d18ea614ca0ccac0aa831fc1
Changed version to 0.4b1
diff --git a/unitlib.h b/unitlib.h index fef1c89..9fb2f75 100644 --- a/unitlib.h +++ b/unitlib.h @@ -1,238 +1,238 @@ /** * unitlib.h - Main header for the unitlib */ #ifndef UNITLIB_H #define UNITLIB_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include "unitlib-config.h" #define UL_N...
jan-kuechler/unitlib
74ec946bf0df62ec4efb7dcd735de0c1bffa6bae
Added UL_DIFFERENT return value to ul_cmp, that is distinct to UL_ERROR. Added some more tests.
diff --git a/unitlib.h b/unitlib.h index 5aff1f7..fef1c89 100644 --- a/unitlib.h +++ b/unitlib.h @@ -1,237 +1,238 @@ /** * unitlib.h - Main header for the unitlib */ #ifndef UNITLIB_H #define UNITLIB_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include "unitlib-config.h" #define UL_N...
jan-kuechler/unitlib
4aed61b3b8e1d8a95309274629af8dda927977ed
Added install and unistall targets to the Makefile
diff --git a/Makefile b/Makefile index c5d1825..e144b96 100644 --- a/Makefile +++ b/Makefile @@ -1,89 +1,102 @@ ## # Makefile for unitlib ## -MSVC_COMPAT = -mno-cygwin -mms-bitfields +MSVC_COMPAT = -mms-bitfields CC = gcc CFLAGS = -O2 -std=c99 -Wall -Wextra $(MSVC_COMPAT) AR = ar RANLIB = ranlib TARGET ...