Commit Graph

  • b01738610b docs(readme): add Greenkeeper badge greenkeeper/initial greenkeeper[bot] 2017-12-29 00:35:41 +00:00
  • 6736cd644e chore(package): update dependencies greenkeeper[bot] 2017-12-29 00:35:38 +00:00
  • 7427e8503f Merge pull request #1 from Geoffrey-A/master master Josh Goldberg 2015-10-20 00:05:58 -07:00
  • 122a374301 Formatting parenthesis: ( XX ) -> (XX) Geoffrey 2015-10-10 03:44:58 +13:00
  • 74fe51c063 Move all declarations up to one point per function. Geoffrey 2015-10-10 03:30:08 +13:00
  • 976151a719 Take var declarations out of for scopes. Geoffrey 2015-10-10 03:15:01 +13:00
  • 1a435490ba s/ImageWritr/SpriteMakr Geoffrey 2015-10-10 02:54:24 +13:00
  • 2a5f7ed0f2 s/SpriteDrawr/SpriteDrwr Geoffrey 2015-10-10 02:33:10 +13:00
  • eee56f70a3 Text input value changed to placeholder. Geoffrey 2015-09-28 15:26:39 +13:00
  • 7c39a645a5 Add a type alias Palette. Geoffrey 2015-09-28 15:24:10 +13:00
  • 3ae650eed3 HTML text. Geoffrey 2015-09-16 10:56:24 +02:00
  • 010fd61dcb Add error handling for JS file parsing. Rename 'cannotCreatePixelRenderError' to 'addErrorElement'. Reorder some insertBeforeChildElements. Geoffrey 2015-09-15 10:35:15 +02:00
  • 239b432037 Error for incorrect sprites. Geoffrey 2015-09-14 23:43:07 +02:00
  • d7c1e34a78 CSS class for selection of already loaded palette. Geoffrey 2015-09-14 18:56:33 +02:00
  • b1ac498374 Remove unnecessary member. Update ImageWriter.js. Geoffrey 2015-09-11 14:04:32 +02:00
  • 170245d55d bug fix: add palettes only after name generation. Geoffrey 2015-09-11 13:59:47 +02:00
  • c85a89e1ad Add ImageWritr.js. Geoffrey 2015-09-09 16:32:14 +02:00
  • 2270566ddc Add text to drawn sprites. Refactor to insertBeforeChildElements. Geoffrey 2015-09-09 15:42:50 +02:00
  • a085672708 Fix display defect on firefox: s/innerText/textContent/g Geoffrey 2015-09-09 14:26:39 +02:00
  • 6dd76ba4a7 spaces Geoffrey 2015-09-09 14:25:16 +02:00
  • 34d9e27ef1 Add JS media type for older browsers before 'application/javascript' was standardized. Geoffrey 2015-09-09 14:24:38 +02:00
  • 82e3ede687 Replace unnecessary "file: File" parameter by "filename: string". Geoffrey 2015-09-08 22:46:16 +02:00
  • 91d9d4cbbe Refactor code to setupTextInput. Geoffrey 2015-09-08 22:13:13 +02:00
  • 758873caa8 CSS styling. Geoffrey 2015-09-08 18:46:54 +02:00
  • 179204e28d Avoid file upload callback on text input. Geoffrey 2015-09-08 17:59:21 +02:00
  • d72beca8c8 Add setting to select output image format. Geoffrey 2015-09-08 17:40:25 +02:00
  • 7a228a2a9f Bug fix: the palettes uploaded via images had incorrect palette attribute. Geoffrey 2015-09-08 17:28:05 +02:00
  • 70fc87b9c3 Add palette attribute on written images. It also works for palettes uploaded via js files. I noticed a bug the original code: the palettes uploaded via images have incorrect palette attribute. Geoffrey 2015-09-08 17:15:53 +02:00
  • c0cb8ba2a1 Remove useless multiple parameter types. Geoffrey 2015-09-08 16:22:01 +02:00
  • defa037778 New feature: Addition of the palette contained in parsed js. Various bug fixes: Finally move palettes’ key and data management in initializePalette. Geoffrey 2015-09-08 16:15:05 +02:00
  • 7de210e2d2 Extract code generatePaletteName and findPaletteKey functions. Geoffrey 2015-09-08 11:24:34 +02:00
  • ed7da3cab5 Add only unique palettes. Fix double addition of base palettes. Geoffrey 2015-09-08 00:43:41 +02:00
  • 4296ef83a8 Get rid of hard-coded html #id in code. Geoffrey 2015-09-06 18:58:47 +02:00
  • 7daef1cd8b Enable ImageWritr working on custom palettes: add new palettes to this.palettes. Rename palettes indices to avoid palette name clashes. Geoffrey 2015-09-06 18:44:27 +02:00
  • 6d41c5c3a7 Uncomment code for ImageReadr and mix features in with ImageWritr’s. Geoffrey 2015-09-06 17:03:34 +02:00
  • bd0d3d4fe6 Add a text input to support single line sprites conversion. Clean out unneeded members. Geoffrey 2015-09-06 16:14:52 +02:00
  • c3d0196397 s/that/self/g Geoffrey 2015-09-04 21:48:01 +02:00
  • c2a53e922f Use spriteKey as download filename. Geoffrey 2015-09-04 21:44:23 +02:00
  • 435054b4ac CSS: .output styling. Geoffrey 2015-09-04 21:43:28 +02:00
  • 730459fc3b Move code to processSpriteLibrary. Geoffrey 2015-09-04 21:40:08 +02:00
  • 1d25d1e5fb Add ImageReadr’s index.{css,js,html} and sed s/Writr/Readr/ them out. Geoffrey 2015-08-23 19:02:55 +02:00
  • 337c8e16e0 Fix PixelRendr bug with large palette sizes. Geoffrey 2015-08-23 18:27:15 +02:00
  • e896d10c80 Type the spriteDrawer array. Geoffrey 2015-08-23 18:22:19 +02:00
  • 8971ee1d8f Add support for FSPokemon’s sprites.js: replace *FullScreen* strings by '_'. Geoffrey 2015-08-23 12:16:46 +02:00
  • e431cbe3af Skip empty Uint8ClampedArrays. Geoffrey 2015-08-23 11:48:30 +02:00
  • e0a3409967 Allow the sizings 1 x nPixels and its reverse. Prevent zero nPixels in dimensions calculations -- now another check should be added upper in the call chain (is garbage passing through the Uint8ClampedArray type check?). Geoffrey 2015-08-22 00:13:02 +02:00
  • 8714615269 Button readonly -> disabled: onclick now doesn’t get called when it should not. Geoffrey 2015-08-22 00:07:33 +02:00
  • fca6c44232 Make tslint happy and simplify code. Geoffrey 2015-08-22 00:05:34 +02:00
  • 7435ed523c Reinject the previous code, adapted from str2img. Geoffrey 2015-08-21 22:49:49 +02:00
  • 155de85c48 Add sprites.js parsing. Comment out some unrelated code. Add draft traversing functions. Geoffrey 2015-08-20 22:48:43 +02:00
  • 235fcc2df2 s/Readr/Writr/g Geoffrey 2015-08-14 17:01:44 +02:00
  • 906efb9df2 Bring ImageReadr code, rename files to Writr. Geoffrey 2015-08-14 16:57:37 +02:00
  • b099a70cff Fix compilation and tslint errors: create a dummy ImageWritr class. Fix runtime failure of sprite member getting. Change some names. Geoffrey 2015-08-14 11:33:25 +02:00
  • ed75bce40e Fix interface syntax that tslint 2.4.2 would report. Geoffrey 2015-08-14 09:58:06 +02:00
  • 23394a523e Add References/ code, and index.{html,css,js} from str2img. Calling ts code from index.js fails: "TypeError: ImageWritr.processInput is not a function" Geoffrey 2015-08-09 17:21:10 +02:00
  • 45c8a87a36 Compilation now succeeds, but I now get 1 tslint error (unused variable). This is caused by the deletion of the export keyword in the function definition (that is exported...) in the .ts file. Geoffrey 2015-08-09 16:04:49 +02:00
  • 7c7599043c tslint passed; 3 compilation errors Geoffrey 2015-08-08 23:33:13 +02:00
  • 1e7a9addda Original code from str2img.js Geoffrey 2015-08-08 17:32:40 +02:00
  • 2fbe7d0bdf s/ImageReadr/ImageWritr/g Geoffrey 2015-08-08 17:04:03 +02:00
  • 92929f245a Copy development environment files from ImageReadr. Geoffrey 2015-08-08 16:52:56 +02:00
  • 02c189f8fa Initial commit Josh Goldberg 2015-08-07 12:51:33 -07:00