repo
string
commit
string
message
string
diff
string
wrobbins/yelpruby
a20abc337b6f6396ae0d35e9c7fd309a7a50f70e
Publish changes to 0.2.1; add category filter
diff --git a/History.txt b/History.txt new file mode 100644 index 0000000..457942a --- /dev/null +++ b/History.txt @@ -0,0 +1,31 @@ +== 0.2.2 / 2009-4-5 +* [wrobbins] Add category filter to review search. + +== 0.2.1 / 2007-11-24 + +* [shaper] fixed extra dependencies specified in Rakefile to allow for proper + gem in...
JustRelate/base64_url
09ccdfc581fcb7b7f590c08ab93f914a709a5819
Added copyright notice and beautified code
diff --git a/base64_url.rb b/base64_url.rb index 895bc14..f949f0a 100644 --- a/base64_url.rb +++ b/base64_url.rb @@ -1,19 +1,33 @@ -require "base64" +=begin +Copyright (C) 2009 Infopark AG <http://www.infopark.com/> + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU G...
javierv/rails_templates
082f66f8f2e794d57184823bc1b7cfdb4de7e697
Refactor into methods, commenting with code.
diff --git a/lib/app_template.rb b/lib/app_template.rb index 0326c3f..f35ed1c 100644 --- a/lib/app_template.rb +++ b/lib/app_template.rb @@ -1,94 +1,129 @@ -gem 'devise' -gem 'will_paginate', ">= 3.0.pre" -gem 'paperclip' -gem 'haml' -gem 'compass' -gem 'acts-as-taggable-on' -gem 'validation_reflection' -gem 'RedCloth'...
javierv/rails_templates
d754730ba7863a28813f63b5f470fbfa69ade6e2
Reorganize helpers, simplifying their generation.
diff --git a/lib/app_template.rb b/lib/app_template.rb index 500107c..0326c3f 100644 --- a/lib/app_template.rb +++ b/lib/app_template.rb @@ -1,95 +1,94 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'RedCloth' ...
javierv/rails_templates
5547e90ccf6fca67f5777ea07064791833a8f4ce
Move all templates into the same directory, simplifying their generation.
diff --git a/lib/app_template.rb b/lib/app_template.rb index 345cbcf..500107c 100644 --- a/lib/app_template.rb +++ b/lib/app_template.rb @@ -1,110 +1,95 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'RedCloth'...
javierv/rails_templates
e624a87d40d74959f6381165878f32b983a2b14b
Initializers for HAML and simple_form.
diff --git a/lib/app_template.rb b/lib/app_template.rb index 4323821..345cbcf 100644 --- a/lib/app_template.rb +++ b/lib/app_template.rb @@ -1,106 +1,110 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'RedCloth...
javierv/rails_templates
512bc31bcd917300bf038ad407737b26e062ecfc
Simplificación de cómo obtener jQuery.
diff --git a/lib/app_template.rb b/lib/app_template.rb index dbd9fe4..4323821 100644 --- a/lib/app_template.rb +++ b/lib/app_template.rb @@ -1,107 +1,106 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'RedCloth...
javierv/rails_templates
52407d9e19dace5a8de5f4b818a3656c3e1f6571
Simplifications assuming we use HTML 5.
diff --git a/lib/application.html.haml b/lib/application.html.haml index 06c4db3..61fa9ec 100644 --- a/lib/application.html.haml +++ b/lib/application.html.haml @@ -1,19 +1,19 @@ -!!! Strict +!!! %html{html_attrs(I18n.locale)} %head %title= h(yield(:title) || "Untitled") - %meta{"http-equiv"=>"Content-Typ...
javierv/rails_templates
e08fc28c41adee8008ff8eafd81e5e652556c4e2
Use helpers instead of elements for including CSS and JS files.
diff --git a/lib/app_template.rb b/lib/app_template.rb index 1019681..dbd9fe4 100644 --- a/lib/app_template.rb +++ b/lib/app_template.rb @@ -1,106 +1,107 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'RedCloth...
javierv/rails_templates
6712934695ed837f3d961405b06f68c0a51cee79
Permitimos que las descripciones de los tests tengan acentos.
diff --git a/lib/shoulda/model/model.rb b/lib/shoulda/model/model.rb index 0d3b953..b2027f9 100644 --- a/lib/shoulda/model/model.rb +++ b/lib/shoulda/model/model.rb @@ -1,8 +1,10 @@ +# encoding: utf-8 + require 'test_helper' class <%= class_name %>Test < ActiveSupport::TestCase <%- for attribute in attributes -%...
javierv/rails_templates
96a80a6fac169aad77451491ac94f2e0a9b14485
An image was missing.
diff --git a/lib/javascripts/markitup/skins/simple/images/bg-container.png b/lib/javascripts/markitup/skins/simple/images/bg-container.png new file mode 100644 index 0000000..a28e018 Binary files /dev/null and b/lib/javascripts/markitup/skins/simple/images/bg-container.png differ
javierv/rails_templates
8f5efd3249103cace710fe2a33e0730b93767410
Fix indentation.
diff --git a/lib/shoulda/model/model.rb b/lib/shoulda/model/model.rb index 6c61e30..0d3b953 100644 --- a/lib/shoulda/model/model.rb +++ b/lib/shoulda/model/model.rb @@ -1,8 +1,8 @@ require 'test_helper' class <%= class_name %>Test < ActiveSupport::TestCase <%- for attribute in attributes -%> - should validate...
javierv/rails_templates
d35c08a958153b084f05b6dd6955462153235f7d
My fork is now on github.
diff --git a/lib/app_template.rb b/lib/app_template.rb index 2c416a5..1019681 100644 --- a/lib/app_template.rb +++ b/lib/app_template.rb @@ -1,106 +1,106 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'RedCloth...
javierv/rails_templates
6b6c72cbd65714a9a70bb1c9d2c487db3e564e92
Parece que las variables de @content_for ya no se usan.
diff --git a/lib/layout_helper.rb b/lib/layout_helper.rb index c49c2f3..642fc82 100644 --- a/lib/layout_helper.rb +++ b/lib/layout_helper.rb @@ -1,34 +1,34 @@ module LayoutHelper def title(page_title, show_title = true) - @content_for_title = page_title.to_s + content_for(:title) { page_title.to_s } @sho...
javierv/rails_templates
211d403279fda45b7e90b68a8e28a1cfb71d89c4
Fuera el template antiguo, y renovamos el nuevo.
diff --git a/lib/app_template.rb b/lib/app_template.rb index a8fc471..2c416a5 100644 --- a/lib/app_template.rb +++ b/lib/app_template.rb @@ -1,252 +1,106 @@ -#Gems -gem "inherited_resources" -gem "acts-as-taggable-on" -gem "will_paginate" -gem "searchlogic" -gem "formtastic" -gem "validation_reflection" -gem "paperclip...
javierv/rails_templates
d60ef308758c05d9b1e287806c8ee98b7049ee59
Incluimos el método "title" en todas las páginas del scaffold.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 7d63f23..2c416a5 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,107 +1,106 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem '...
javierv/rails_templates
6791c18848cb8d3c0f48329a44a7d015f7c631c1
Por defecto, incluimos el primer atributo especificado como display_name.
diff --git a/lib/active_record/model/model.rb b/lib/active_record/model/model.rb index e6f3d14..ee4c7a2 100644 --- a/lib/active_record/model/model.rb +++ b/lib/active_record/model/model.rb @@ -1,6 +1,7 @@ class <%= class_name %> < ActiveRecord::Base attr_accessible <%= attributes.map { |a| ":#{a.name}" }.join(", ")...
javierv/rails_templates
baeea0e3b2e0d9ea24696bf5116fa25f553967a5
Incluimos display name, que es mi primer proyecto propio.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index ac54d6e..7d63f23 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,106 +1,107 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem '...
javierv/rails_templates
2df1820a28d6cfcfd2ecf66ca68a7ee31dd2440c
Corrección: este fichero no existe.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 1417462..ac54d6e 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,108 +1,106 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem '...
javierv/rails_templates
c648ced5e7ba3178d1b24c3e9c97d742f16719eb
Estilo muy básico para formularios.
diff --git a/lib/shared/_js_form.html.haml b/lib/shared/_js_form.html.haml index 79220cc..d8d75f3 100644 --- a/lib/shared/_js_form.html.haml +++ b/lib/shared/_js_form.html.haml @@ -1,2 +1,3 @@ - render 'shared/markitup' +- css 'form' - javascript 'form' \ No newline at end of file diff --git a/lib/stylesheets/form.sa...
javierv/rails_templates
bc0008a452dd38c4a77a645d7aa9f5eae999ab4c
padding más adecuado a nuestro estilo.
diff --git a/lib/javascripts/markitup/skins/simple/style.css b/lib/javascripts/markitup/skins/simple/style.css index 5a87750..403e0fe 100644 --- a/lib/javascripts/markitup/skins/simple/style.css +++ b/lib/javascripts/markitup/skins/simple/style.css @@ -1,88 +1,88 @@ .markItUp { border: 5px solid #F5F5F5; } .ma...
javierv/rails_templates
2a729a2b90553d3b6e6e1f5ba89bb843cd4b77cb
Ponemos todas las hojas de estilo en un único sitio, y las copiamos todas.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index f54657d..1417462 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,108 +1,108 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem '...
javierv/rails_templates
36871334c7cf5740048c416f96f8146ca40320fd
Elementos para incluir markitup automáticamente en los textarea de los formularios.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 8a06a24..f54657d 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,108 +1,108 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem '...
javierv/rails_templates
37f7b39cf56fa9ced0756c9dde61f5031e6be2e4
gitignore de netbeans.
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6b4ead1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +nbproject/* \ No newline at end of file
javierv/rails_templates
065aebfd168ea11695ff98c4a6e6651565dd5fd7
Nunca me acuerdo de si el método se llama "stylesheet" o "css". Ahora valen los dos.
diff --git a/lib/layout_helper.rb b/lib/layout_helper.rb index 0532385..c49c2f3 100644 --- a/lib/layout_helper.rb +++ b/lib/layout_helper.rb @@ -1,30 +1,34 @@ module LayoutHelper def title(page_title, show_title = true) @content_for_title = page_title.to_s @show_title = show_title end def show_tit...
javierv/rails_templates
10569bcde14621f858df203c5f85f42a7bd1ebac
Inclusión de markItUp con textile.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 08a31a7..8a06a24 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,103 +1,108 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem '...
javierv/rails_templates
48c0ea02229793f534b987d8776026e10f99a62a
No generamos ayudantes por cada modelo.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index a83d559..08a31a7 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,102 +1,103 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem '...
javierv/rails_templates
9a6cd36833040ff47b0dbc9a9c2f851cbfd28406
Por defecto, al generar un modelo, todos sus atributos son accesibles y obligatorios.
diff --git a/lib/active_record/model/model.rb b/lib/active_record/model/model.rb new file mode 100644 index 0000000..e6f3d14 --- /dev/null +++ b/lib/active_record/model/model.rb @@ -0,0 +1,6 @@ +class <%= class_name %> < ActiveRecord::Base + attr_accessible <%= attributes.map { |a| ":#{a.name}" }.join(", ") %> + <%- ...
javierv/rails_templates
aeac162816cd73c60de7a78b7c7c791b0c45af43
Separamos los errores del formulario a un fichero común.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 8079de8..9fc754c 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,91 +1,96 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'Re...
javierv/rails_templates
24f138a38afd3213d5fbe7fec4f3bf0465ab81e4
Ya se ha incluido mi parche en tabletastic.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 177c5ba..8079de8 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,91 +1,91 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'Re...
javierv/rails_templates
517a0b2cff18f5a887da09f34cd600dde919968a
Incluimos tests para los plurales.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 4cd5ed5..177c5ba 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,89 +1,91 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'Re...
javierv/rails_templates
fdeebe1a69101b1d0faf3080486d479e0c6407ac
Corregimos error de sintaxis que aparentemente era correcto en Ruby 1.8
diff --git a/lib/inflections.rb b/lib/inflections.rb index 1bf5eb4..eaa3419 100644 --- a/lib/inflections.rb +++ b/lib/inflections.rb @@ -1,27 +1,27 @@ # encoding: utf-8 ActiveSupport::Inflector.inflections do |inflect| inflect.plural /([^aeiouáéó])$/i, '\\1es' inflect.singular /(.*)es$/i, '\\1' inflec...
javierv/rails_templates
c556dfbc8f49902f8d9638ea173a03e35752b24f
Generamos enlaces para ordenar el listado según un determinado campo.
diff --git a/lib/haml/scaffold/index.html.haml.erb b/lib/haml/scaffold/index.html.haml.erb index 848f9ba..d4234ae 100644 --- a/lib/haml/scaffold/index.html.haml.erb +++ b/lib/haml/scaffold/index.html.haml.erb @@ -1,13 +1,16 @@ - title "Listado de <%= plural_name %>" = simple_form_for @search, :class => 'search' do ...
javierv/rails_templates
d8437c0530c01ab0aab5a81fb3a1a2ac2d189c01
after_filter no se ejecuta justo después del código de la acción, sino después de que el controlador renderice.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index 1eb2d1f..732f694 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,58 +1,58 @@ # encoding: utf-8 class <%= controller_class_name %>Controller < ...
javierv/rails_templates
684e57fd942712cf87f6eac25a97abd0a8e493bd
Aunque es obvio, indicamos explícitamente qué controlador estamos probando.
diff --git a/lib/test_unit/scaffold/functional_test.rb b/lib/test_unit/scaffold/functional_test.rb index 4fa90c6..e04c137 100644 --- a/lib/test_unit/scaffold/functional_test.rb +++ b/lib/test_unit/scaffold/functional_test.rb @@ -1,95 +1,97 @@ require 'test_helper' class <%= controller_class_name %>ControllerTest < ...
javierv/rails_templates
1a001593ca5edc3462b502a8ae879f629554320e
Usamos filtrador en el índice.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 525de9f..4cd5ed5 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,89 +1,89 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'Re...
javierv/rails_templates
a30a3dd11a6d1df27842693d698961e2eac7a29c
Nombre de clase más adecuado en el test de controlador.
diff --git a/lib/test_unit/scaffold/functional_test.rb b/lib/test_unit/scaffold/functional_test.rb index 3f39c66..4fa90c6 100644 --- a/lib/test_unit/scaffold/functional_test.rb +++ b/lib/test_unit/scaffold/functional_test.rb @@ -1,95 +1,95 @@ require 'test_helper' -class <%= class_name %>ControllerTest < ActionContr...
javierv/rails_templates
3bed2d4e2f8313892e6e8a1482e99eeda4b8707d
Mientras no movamos mensajes de flash a otro lado, hay que indicar que las cadenas pueden llevar acentos.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index e967bfa..1eb2d1f 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,56 +1,58 @@ +# encoding: utf-8 + class <%= controller_class_name %>Controller < ...
javierv/rails_templates
cd1466783c1ea77872386070e7834c047d8db080
Error tonto de sintaxis.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index 115273d..e967bfa 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,56 +1,56 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
975847aed270fb957ed2632af4053536046624aa
Por alguna razón, orm_instance ha dejado de funcionar :S.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index 6711d0e..115273d 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,56 +1,56 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
658a702089420e251bc68d8098d86b61a0e97c82
Sustituimos métodos que no funcionaban.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index ecb5136..6711d0e 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,56 +1,56 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
38e2e105a1f343f51a4bf77fef2403ca2be18f1f
Fuera paréntesis si no son necesarios.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index d5414a2..ecb5136 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,56 +1,56 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
eee9c1060bec68fb4dca19b73a2683b1fdef47ee
Había un error de sintaxis.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index a116428..d5414a2 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,56 +1,56 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
207d45822806bc3fb974b7248c96ab3c9662bdeb
Existe una forma de generar la configuración de la aplicación desde aquí. La usamos.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index e1a6986..525de9f 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,85 +1,89 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'Re...
javierv/rails_templates
2d185530546efd03e72ae00773041e3289fa60b1
Quitamos referencia a archivo que ya no existe.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index d823a8c..e1a6986 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,86 +1,85 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'Re...
javierv/rails_templates
265783b3caf5a76cce6583aa39dbafb9b3c21627
Usamos una versión de tabletastic que funciona con HAML.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index a07bab0..d823a8c 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,86 +1,86 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'Re...
javierv/rails_templates
4c512fc8a1aac41c55254fddef4857b9e658c780
font-face también viene ya en compass.
diff --git a/lib/_base.sass b/lib/_base.sass deleted file mode 100644 index b2c7492..0000000 --- a/lib/_base.sass +++ /dev/null @@ -1,10 +0,0 @@ -@import "compass/css3" - -=font-face($font, $filename, $type: opentype) - font-family: $font - src: url("fonts/#{$filename}.eot") - @if $type == "opentype" - $extension...
javierv/rails_templates
07eef078c3a19b44f824c912f7fcc84208cb526f
Las utilidades que estábamos usando y que provenían de Susy ahora están directamente en compass.
diff --git a/lib/_base.sass b/lib/_base.sass index 9a5d514..b2c7492 100644 --- a/lib/_base.sass +++ b/lib/_base.sass @@ -1,8 +1,10 @@ +@import "compass/css3" + =font-face($font, $filename, $type: opentype) font-family: $font src: url("fonts/#{$filename}.eot") @if $type == "opentype" $extension: otf @e...
javierv/rails_templates
2da3ac1409ced54b258db9ba955c4eef40791137
Incluimos búsqueda además de paginación.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index 3ba51a5..a116428 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,54 +1,56 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
a9a9dc2430a7536c8ff31b80e10addc80d021dcc
Mensaje de flash al borrar.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index 0a8ff4e..3ba51a5 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,54 +1,54 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
969ec406fe38ab441a7639f9b63b0519d3a2bbc4
Mensajes de flash en español.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index 76c785c..0a8ff4e 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,54 +1,54 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
a4d9f35890fb1a3796afcb1169454efd7c7bc960
Incluimos paginación en el índice.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index 3ae34ee..76c785c 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,54 +1,54 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
b8e4bf8357f4b8af9aa976a1ac59e771b37e0bd2
after_filter con respond_with para quitar duplicación.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index 78dffb8..3ae34ee 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,52 +1,54 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
a3d506ab688c1b3d4e2b03461520dedd9030a754
before_filter para todas las acciones, asignando el elemento.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index f6398a8..78dffb8 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,44 +1,52 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
d87446487ffd38d62d31b1bdcfec9b46ed9ed272
Usamos before_filter en el controlador para quitar duplicación.
diff --git a/lib/rails/scaffold_controller/controller.rb b/lib/rails/scaffold_controller/controller.rb index b308d08..f6398a8 100644 --- a/lib/rails/scaffold_controller/controller.rb +++ b/lib/rails/scaffold_controller/controller.rb @@ -1,42 +1,44 @@ class <%= controller_class_name %>Controller < ApplicationController...
javierv/rails_templates
29df78f144bc9585d9a39dbb606c2efc712c603c
Usamos tabletastic para generar tablas en los índices.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index c51c1e7..43ac5a9 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,83 +1,87 @@ gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_reflection' gem 'Re...
javierv/rails_templates
76ef54dee72e08b3099fae325f999dab110b0998
Me gustan más las minúsculas.
diff --git a/lib/application.sass b/lib/application.sass index afee41e..2f1526e 100644 --- a/lib/application.sass +++ b/lib/application.sass @@ -1,40 +1,40 @@ @import partials/base.sass * padding: 0 margin: 0 font-family: helvetica, arial, verdana, sans-serif font-size: 1e...
javierv/rails_templates
21ff0c72831a217ca720466135e17bc4d2cf7d33
Convertimos a SASS 3.0.
diff --git a/lib/_base.sass b/lib/_base.sass index 0dfe241..9a5d514 100644 --- a/lib/_base.sass +++ b/lib/_base.sass @@ -1,11 +1,8 @@ -extension = "" - -=font-face(!font,!filename, !type = "opentype") - font-family: \#{!font} - src: url("fonts/\#{!filename}.eot") - @if !type == "opentype" - !extension = "otf" +=...
javierv/rails_templates
7cb53da2cf3b6ceda2c540f6b1bd0e460caad532
Template de controlador con respond_with. Nos evitamos así depender de responders, y además corregimos el generador que dan ellos.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 0c50a19..c51c1e7 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,81 +1,83 @@ -gem 'responders' gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_re...
javierv/rails_templates
1408237a6b428a283542c1e6c01aa0b065e92a09
Incluimos template para test de controlador.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index e75005c..0c50a19 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,77 +1,81 @@ gem 'responders' gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'acts-as-taggable-on' gem 'validation_re...
javierv/rails_templates
e62aa6ad347c9832cf6ec917f4bd83ec73299aba
Quitamos delayed_job hasta que sea 100% compatible con Rails3.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index d565903..e75005c 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,78 +1,77 @@ gem 'responders' gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' -gem 'delayed_job' gem 'acts-as-taggable-on' ...
javierv/rails_templates
4093bc6ee1871a42b52bb27b90fa06b531b2bd87
Quitamos bullet de momento: no es compatible con Rails 3.0RC.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 68b4cd7..d565903 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,79 +1,78 @@ gem 'responders' gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'delayed_job' gem 'acts-as-taggable-on' ...
javierv/rails_templates
933d3a61e6c0d8be814c448aaf3a113260d3f2b0
La versión estable de devise ya es compatible.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 26335e6..68b4cd7 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,79 +1,79 @@ gem 'responders' -gem 'devise', ">= 1.1rc1" +gem 'devise' gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'delayed_job' ...
javierv/rails_templates
3988fea37faaf668871f61b60de62c7efe27561a
La versión "estable" de will_paginate de momento no es compatible con Rails 3.
diff --git a/lib/app_template_3.rb b/lib/app_template_3.rb index 904d90c..26335e6 100644 --- a/lib/app_template_3.rb +++ b/lib/app_template_3.rb @@ -1,79 +1,79 @@ gem 'responders' gem 'devise', ">= 1.1rc1" -gem 'will_paginate' +gem 'will_paginate', ">= 3.0.pre" gem 'paperclip' gem 'haml' gem 'compass' gem 'delaye...
javierv/rails_templates
f7c08f652046aac39d956c3b57de0b9cdadc2551
En vez de tener un único archivo para todo, separamos las cosas en varios archivos.
diff --git a/lib/_base.sass b/lib/_base.sass new file mode 100644 index 0000000..0dfe241 --- /dev/null +++ b/lib/_base.sass @@ -0,0 +1,11 @@ +extension = "" + +=font-face(!font,!filename, !type = "opentype") + font-family: \#{!font} + src: url("fonts/\#{!filename}.eot") + @if !type == "opentype" + !extension = "...
bcd/exec09
642e684b9d225a6d0a3d7121ed23ba79c76b9fc5
Exit program after using -h option.
diff --git a/main.c b/main.c index 3851618..01e06e2 100644 --- a/main.c +++ b/main.c @@ -1,458 +1,457 @@ /* * Copyright 2001 by Arto Salmi and Joze Fabcic * Copyright 2006-2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/...
bcd/exec09
c067103009e1261b7e35a85dad5ca5fcd034ff32
Checkin serial.c
diff --git a/serial.c b/serial.c new file mode 100644 index 0000000..80fa765 --- /dev/null +++ b/serial.c @@ -0,0 +1,138 @@ +/* + * Copyright 2009 by Brian Dominy <brian@oddchange.com> + * + * This file is part of GCC6809. + * + * GCC6809 is free software; you can redistribute it and/or modify + * it under the terms of...
bcd/exec09
2ef84978ca4281499cb81491c3e617914bdaa54f
Miscellaneous changes. EON2 configuration uses new device types.
diff --git a/Makefile.am b/Makefile.am index 3a06845..6b81467 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,10 @@ m6809_run_SOURCES = \ 6809.c main.c monitor.c machine.c eon.c wpc.c \ symtab.c command.c fileio.c wpclib.c imux.c \ - ioexpand.c mmu.c timer.c \ + ioexpand.c mmu.c timer.c serial.c disk.c \ ...
bcd/exec09
91c5accdbc74329cadb65e56789b3c24529e77c6
Add the device 'update' method.
diff --git a/machine.h b/machine.h index 147ccfe..a148887 100644 --- a/machine.h +++ b/machine.h @@ -1,140 +1,150 @@ /* - * Copyright 2006, 2007, 2008 by Brian Dominy <brian@oddchange.com> + * Copyright 2006-2009 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free softwa...
bcd/exec09
2fe00a2a2ceb2962355bcbcedcf93ed0d41370c9
Store --realtime option given.
diff --git a/main.c b/main.c index 77b00e9..ceb7531 100644 --- a/main.c +++ b/main.c @@ -1,445 +1,450 @@ /* * Copyright 2001 by Arto Salmi and Joze Fabcic * Copyright 2006-2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/...
bcd/exec09
bb05acf966d7c7bc49635da84e0bb5633840bd72
Move disk device into a separate file.
diff --git a/disk.c b/disk.c new file mode 100644 index 0000000..a9a9203 --- /dev/null +++ b/disk.c @@ -0,0 +1,175 @@ +/* + * Copyright 2006-2009 by Brian Dominy <brian@oddchange.com> + * + * This file is part of GCC6809. + * + * GCC6809 is free software; you can redistribute it and/or modify + * it under the terms of ...
bcd/exec09
1c8e408462b4b9bf6325786f543d8dc2ebda5e62
Fix CPU interface to the imux; also add FIRQ support.
diff --git a/imux.c b/imux.c index 1c8ea18..3b52584 100644 --- a/imux.c +++ b/imux.c @@ -1,101 +1,135 @@ +/* + * Copyright 2009 by Brian Dominy <brian@oddchange.com> + * + * This file is part of GCC6809. + * + * GCC6809 is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Pu...
bcd/exec09
976548fe73d63b9ccf7943470c83bf1c14a440de
Generate timer interrupts correctly if enabled. Add oscillator as a special case of timers.
diff --git a/timer.c b/timer.c index 442128d..6d618a3 100644 --- a/timer.c +++ b/timer.c @@ -1,118 +1,178 @@ +/* + * Copyright 2009 by Brian Dominy <brian@oddchange.com> + * + * This file is part of GCC6809. + * + * GCC6809 is free software; you can redistribute it and/or modify + * it under the terms of the GNU Genera...
bcd/exec09
0efc348534e72d8d9b99ae88ba48d40a1afa4d7f
Call the machine fault handler from a common function first.
diff --git a/machine.c b/machine.c index 8765565..d503c6c 100644 --- a/machine.c +++ b/machine.c @@ -1,674 +1,690 @@ /* * Copyright 2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/or modify * it under the terms of the GN...
bcd/exec09
68a80d19e2f1d4e8782f54bf89939d68b4f2f4a7
Comments/general cleanup.
diff --git a/machine.c b/machine.c index 4905c8d..8765565 100644 --- a/machine.c +++ b/machine.c @@ -2,672 +2,673 @@ * Copyright 2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
bcd/exec09
1b555afd602a3d2f79a9f8e3b1443a3fffe24921
Implement some 6309 instructions.
diff --git a/6809.c b/6809.c index f8b0a81..0c48f7b 100644 --- a/6809.c +++ b/6809.c @@ -1112,1523 +1112,1565 @@ abx (void) cpu_clk -= 3; } static void addd (unsigned val) { unsigned arg = (A << 8) | B; unsigned res = arg + val; C = res & 0x10000; Z = res &= 0xffff; OV = ((arg ^ res) & (val ^ ...
bcd/exec09
145eeb1a2e2d3ed68dcd1b02b26779e9dc877d2d
Several new additions:
diff --git a/Makefile.am b/Makefile.am index 8714543..3a06845 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,10 @@ m6809_run_SOURCES = \ 6809.c main.c monitor.c machine.c eon.c wpc.c \ - symtab.c command.c fileio.c wpclib.c \ + symtab.c command.c fileio.c wpclib.c imux.c \ + ioexpand.c mmu.c timer.c \ 6809....
bcd/exec09
0bf6c30ec38e339f69d852a3f381d059af27e6b0
Remove imux/stab from makefile for now.
diff --git a/Makefile.am b/Makefile.am index 1100007..8714543 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,9 @@ m6809_run_SOURCES = \ 6809.c main.c monitor.c machine.c eon.c wpc.c \ - symtab.c command.c fileio.c wpclib.c imux.c stab.c \ + symtab.c command.c fileio.c wpclib.c \ 6809.h config.h eon.h machin...
bcd/exec09
aa023ca20b9b8c6082b7a294b6049174f217a11f
Add imux module.
diff --git a/imux.c b/imux.c new file mode 100644 index 0000000..2410383 --- /dev/null +++ b/imux.c @@ -0,0 +1,97 @@ + +/* The interrupt multiplexer */ + +#include "machine.h" +#include "eon.h" + +struct imux +{ + unsigned int in_use; /* Bits for each int that are used */ + unsigned int enabled; /* Bits for each i...
bcd/exec09
38156adb59991d6121197f1ee6a7661ee219d072
Change the MMU flags to support un-readable pages as well. Trying to read from such a page will also trigger a fault.
diff --git a/eon.c b/eon.c index a49422b..54b3c46 100644 --- a/eon.c +++ b/eon.c @@ -1,81 +1,81 @@ #include "machine.h" #include "eon.h" extern int system_running; void eon_fault (unsigned int addr, unsigned char type) { if (system_running) { sim_error (">>> Page fault: addr=%04X type=%02X PC=%04X\n...
bcd/exec09
1f957aba68685d307a6f704b14f0685d3c9c8b8e
Fix most of the compiler warnings.
diff --git a/6809.h b/6809.h index 351ca42..6d47908 100644 --- a/6809.h +++ b/6809.h @@ -1,243 +1,243 @@ /* * Copyright 2001 by Arto Salmi and Joze Fabcic * Copyright 2006 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/or mo...
bcd/exec09
0819dcdc8ed304877af1d9d5d9275830836a01b1
Add verbose info on the EON architecture.
diff --git a/eon.h b/eon.h index 548bda0..c470b7b 100644 --- a/eon.h +++ b/eon.h @@ -1,92 +1,130 @@ /* * Copyright 2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public ...
bcd/exec09
41dcb994024b40d6c38966db2c2a0bea10968dad
Fix bug where the WPC periodic function was invoked when an interrupt happened on any of the other machine types as well.
diff --git a/eon.c b/eon.c index 08c5168..a49422b 100644 --- a/eon.c +++ b/eon.c @@ -1,79 +1,81 @@ #include "machine.h" #include "eon.h" extern int system_running; void eon_fault (unsigned int addr, unsigned char type) { if (system_running) { sim_error (">>> Page fault: addr=%04X type=%02X PC=%04X\n...
bcd/exec09
246122ade5ae0189c9c87b7017666b5cf7ae98a7
Change max_cycles to 'unsigned long', and initialize it to a 5x higher value.
diff --git a/main.c b/main.c index 711959d..3ea7a5b 100644 --- a/main.c +++ b/main.c @@ -1,438 +1,438 @@ /* * Copyright 2001 by Arto Salmi and Joze Fabcic * Copyright 2006-2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/...
bcd/exec09
49661d96a8a97f4c5704bda250c3a29a2d417ded
Add comments.
diff --git a/command.c b/command.c index 40b031e..fae8e06 100644 --- a/command.c +++ b/command.c @@ -1031,555 +1031,562 @@ void cmd_runfor (void) char *arg = getarg (); char *units; unsigned long val = atoi (arg); units = getarg (); if (!units || !strcmp (units, "ms")) stop_after_ms = val; ...
bcd/exec09
79ccae67df9164bc723a218f2080b90c34ce2c95
Only try to initialize the WPC ROM register on the WPC hardware.
diff --git a/monitor.c b/monitor.c index e560d33..5b0e01c 100644 --- a/monitor.c +++ b/monitor.c @@ -623,825 +623,826 @@ opcode_t codes11[256] = { {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, ...
bcd/exec09
d971d282004dcf5788f3af49bd8ca12ee9848563
Add TODO.
diff --git a/monitor.c b/monitor.c index b06aa7e..beacba1 100644 --- a/monitor.c +++ b/monitor.c @@ -622,822 +622,825 @@ opcode_t codes11[256] = { {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, ...
bcd/exec09
db522e7147612a9274c00a6e7766fe5d26021a34
Several improvements to the debugger:
diff --git a/6809.h b/6809.h index 5e737c0..351ca42 100644 --- a/6809.h +++ b/6809.h @@ -1,243 +1,243 @@ /* * Copyright 2001 by Arto Salmi and Joze Fabcic * Copyright 2006 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/or mo...
bcd/exec09
1471d1abdb5f5f53e04af2f4ea5a4e9ec2de71ff
Add (dummy) dump_thread hook to WPC machine.
diff --git a/wpc.c b/wpc.c index e687f8a..2cccf62 100644 --- a/wpc.c +++ b/wpc.c @@ -140,612 +140,618 @@ struct wpc_asic U16 shiftaddr; U16 shiftbit; U8 lamp_strobe; U8 lamp_mx[8]; U8 sols[48]; U8 switch_strobe; U8 switch_mx[10]; U8 opto_mx[10]; U8 dmd_maps[2]; unsigned int dmd_phase; ...
bcd/exec09
c78233f231ca4c2ef3cc731ec8436708c85c7a21
Cleanup.
diff --git a/6809.c b/6809.c index fd66bbd..f8b0a81 100644 --- a/6809.c +++ b/6809.c @@ -1,528 +1,528 @@ /* * Copyright 2001 by Arto Salmi and Joze Fabcic * Copyright 2006, 2007 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and...
bcd/exec09
8a5d03380abd2dcf67d568a63a6e00bcd0b99858
Fix the 'runfor' command.
diff --git a/command.c b/command.c index e0d68e8..5eade79 100644 --- a/command.c +++ b/command.c @@ -489,1026 +489,1033 @@ display_alloc (void) display_t *ds = &displaytab[n]; if (!ds->used) { ds->used = 1; return ds; } } } void display_free (display_t *ds) { } ...
bcd/exec09
80cf7c914ea8493891f616dd8a4359074bc7a906
Checkin new Makefile.in.
diff --git a/Makefile.in b/Makefile.in index b4043d9..38e0a25 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,551 +1,576 @@ # Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Found...
bcd/exec09
a1a982614ccd5bf9a761687a1bb1208354f7bffe
WPC: Change duration of button presses.
diff --git a/wpc.c b/wpc.c index b9783c6..e687f8a 100644 --- a/wpc.c +++ b/wpc.c @@ -1,751 +1,751 @@ /* * Copyright 2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
bcd/exec09
e4868af4a4d5077e7a34e7bd3c870270c9e202f1
WPC simulation update:
diff --git a/wpc.c b/wpc.c index 1fe120f..fb8093c 100644 --- a/wpc.c +++ b/wpc.c @@ -1,720 +1,748 @@ /* * Copyright 2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
bcd/exec09
c70298c00cfe58f656a1474f045b6aa2fff95fe5
Busmaps were not initialized properly. Accesses to invalid addresses that should have called seg faults were not doing so.
diff --git a/machine.c b/machine.c index a4d7ded..2f1e9cd 100644 --- a/machine.c +++ b/machine.c @@ -134,529 +134,534 @@ void bus_unmap (unsigned int addr, unsigned int len) len = ((len + BUS_MAP_SIZE - 1) / BUS_MAP_SIZE) * BUS_MAP_SIZE; /* Convert from byte addresses to unit counts */ start = addr / BUS_MAP_SI...
bcd/exec09
99c8cbd9e990d674c18d7d01b2b7391a83b75827
WPC: Ensure the "always closed" switch is really closed.
diff --git a/wpc.c b/wpc.c index 0a1c051..9c341fd 100644 --- a/wpc.c +++ b/wpc.c @@ -1,710 +1,715 @@ /* * Copyright 2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
bcd/exec09
12961600cfe2e80985efa4fbdf70cd7f21a055cb
Change IRQ frequency for WPC machine.
diff --git a/wpc-run b/wpc-run index cbc544d..214880f 100755 --- a/wpc-run +++ b/wpc-run @@ -1,2 +1,2 @@ #!/bin/sh -m6809-run -s wpc -I 1952 -b -C -d -m -1 $* +m6809-run -s wpc -I 2049 -b -C -d -m -1 $*
bcd/exec09
01b970d086507d0f181995f32e890821ce60e10a
Add wpc-run shell script. It is a frontend to the emulator with the right options to select the WPC machine type.
diff --git a/Makefile.am b/Makefile.am index b937dc1..3ab7281 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,7 @@ m6809_run_SOURCES = \ 6809.c main.c monitor.c machine.c eon.c wpc.c \ symtab.c command.c fileio.c wpclib.c \ 6809.h config.h eon.h machine.h monitor.h wpclib.h bin_PROGRAMS = m6809-run +bin...
bcd/exec09
a16c9201f6bd8e0326cdbf49859ae9e9776dad3d
Add -p (persistent) option, for causing RAM devices to be saved on exit. Not yet implemented.
diff --git a/main.c b/main.c index e778eb5..4544150 100644 --- a/main.c +++ b/main.c @@ -1,408 +1,414 @@ /* * Copyright 2001 by Arto Salmi and Joze Fabcic * Copyright 2006-2008 by Brian Dominy <brian@oddchange.com> * * This file is part of GCC6809. * * GCC6809 is free software; you can redistribute it and/...
bcd/exec09
6baa3a6e2d0be4a9149dcfd6f0097ca5b532a597
Improve symbol/mapfile loading. If symbols cannot be loaded, a warning message is printed. Also try various forms of the filename requested.
diff --git a/monitor.c b/monitor.c index 2fd38a1..b06aa7e 100644 --- a/monitor.c +++ b/monitor.c @@ -590,838 +590,854 @@ opcode_t codes10[256] = { {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, _illegal}, {_undoc, ...