search for: image_sav

Displaying 3 results from an estimated 3 matches for "image_sav".

Did you mean: image_save
2005 Dec 31
2
Validation errors not displaying and will not save
...:title protected def validate #doesn''t seem to work either, tried to force an erro up... errors.add(:title, "test validator") end end -------------- controller code blocks: -------------------- def image_upload @web_image = WebImage.new end def image_save @web_image = WebImage.new(params[:web_image]) if @web_image.save flash[:notice] = "Saved" else flash[:notice] = "Did not save " end redirect_to :action => ''image_upload'' end --------------------- view code of image_upload....
2008 Jan 08
0
4 commits - test/.gitignore test/image test/Makefile.am test/swfdec_test_function.c test/swfdec_test_image.c test/swfdec_test_image.h test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...ride (image->surface), + cairo_image_surface_get_stride (compare->surface), + cairo_image_surface_get_stride (diff)) != 0) { + cairo_surface_destroy (diff); + return; + } + cairo_surface_destroy (diff); + + SWFDEC_AS_VALUE_SET_BOOLEAN (retval, TRUE); +} + +SWFDEC_TEST_FUNCTION ("Image_save", swfdec_test_image_save, 0) +void +swfdec_test_image_save (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, + SwfdecAsValue *argv, SwfdecAsValue *retval) +{ + SwfdecTestImage *image; + const char *filename; + + SWFDEC_AS_CHECK (SWFDEC_TYPE_TEST_IMAGE, &image, "s&quot...
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
...cairo_image_surface_get_stride (diff->surface)) != 0) { + SWFDEC_AS_VALUE_SET_OBJECT (retval, SWFDEC_AS_OBJECT (diff)); + } else { + SWFDEC_AS_VALUE_SET_NULL (retval); } - cairo_surface_destroy (diff); - - SWFDEC_AS_VALUE_SET_BOOLEAN (retval, TRUE); } SWFDEC_TEST_FUNCTION ("Image_save", swfdec_test_image_save, 0) commit ae8a6152b013a94b49327de159f4113bf493e3d4 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Thu Jan 17 19:55:26 2008 +0200 Add a test for getBounds with lineTo Version 8 of the test fails and was not added diff --git a/test/trace/M...