From 2ef97d225299808358345e9599d72aa66fa42746 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 9 Sep 2010 03:31:04 +0000 Subject: [PATCH] Fix common misspellings Following misspellings were fixed: adn->and alwasy->always arbitary->arbitrary cant->can't commerical->commercial comprimise->compromise consistant->consistent dependant->dependent didnt->didn't doesnt->doesn't enviroments->environments foudn->found fucntion->function isnt->isn't iwth->with mroe->more neccesary->necessary onyl->only paranthesis->parenthesis parralel->parallel refernces->references seperate->separate shoudl->should soem->some wasnt->wasn't wiht->with wokr->work SVN revision: 52023 --- COPYING-PLAIN | 2 +- ChangeLog | 86 ++++++++++++++++++++--------------------- TODO | 2 +- debian/imlib2-config.1 | 2 +- imlib2.c.in | 2 +- src/bin/imlib2_test.c | 2 +- src/lib/Imlib2.h | 2 +- src/lib/api.c | 2 +- src/lib/asm_rotate.S | 4 +- src/lib/asm_scale.S | 4 +- src/lib/blend.h | 2 +- src/lib/color_helpers.c | 2 +- src/lib/context.c | 2 +- src/lib/font_load.c | 2 +- src/lib/grab.c | 2 +- src/lib/image.c | 4 +- src/lib/image.h | 2 +- src/lib/rend.c | 6 +-- src/lib/scale.c | 2 +- src/lib/ximage.c | 2 +- 20 files changed, 67 insertions(+), 67 deletions(-) diff --git a/COPYING-PLAIN b/COPYING-PLAIN index 376875e..43872ad 100644 --- a/COPYING-PLAIN +++ b/COPYING-PLAIN @@ -21,7 +21,7 @@ You can do what you want with the source of this software - it doesn't matter. We still have it here for ourselves and it is open and free to use and download and play with. It can't be taken away. We don't really mind what you do with the source to your software. We would simply like to know that -you are using it - especially if it makes it to a commerical product. If you +you are using it - especially if it makes it to a commercial product. If you simply e-mail all the AUTHORS (see COPYING and AUTHORS files) telling us, and then make sure you include a paragraph or page in the manual for the product with the copyright notice and state that you used this software, we will be diff --git a/ChangeLog b/ChangeLog index 20e3df0..a51a578 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1058,7 +1058,7 @@ 2005-10-13 00:09 vapier - * make sure people know the mmx support is 32bit only so it isnt + * make sure people know the mmx support is 32bit only so it isn't for amd64 2005-10-12 03:17 raster @@ -1086,7 +1086,7 @@ 2005-10-04 22:53 vapier - * asm_loadimmq.S is included by other files, it isnt supposed to be + * asm_loadimmq.S is included by other files, it isn't supposed to be compiled by itself 2005-10-03 02:29 raster @@ -1118,7 +1118,7 @@ 2005-09-20 17:22 sebastid - * Add paranthesis to clean up. + * Add parenthesis to clean up. 2005-09-20 16:56 sebastid @@ -1173,7 +1173,7 @@ 2005-09-03 20:58 vapier - * fix for cygwin building (and anyone else who doesnt define + * fix for cygwin building (and anyone else who doesn't define RTLD_LOCAL) 2005-09-03 03:55 sebastid @@ -1321,13 +1321,13 @@ 2005-07-22 10:28 raster * 1. id3 album cover loader patches - 2. i reduced list note memory usage by 20% - shoudl work better + 2. i reduced list note memory usage by 20% - should work better with malloc as ti is now a power of 2 as well 3. optimised evas internals to make use of event freezes to make e17'sw menu popups a LOT snappier - 4. fixed using last member of list nodes - bad - shoudl use api + 4. fixed using last member of list nodes - bad - should use api as this is private stuff really 5. added config profile stuff to e17 u can literally maintain @@ -1805,7 +1805,7 @@ * sorry - mej - you seem to have broken the build on other systems and - imlib2-config wasnt being installed - also it was deciding it had + imlib2-config wasn't being installed - also it was deciding it had to cross-compile and build i686-gnu-linux-imlib2-config etc. files... had to @@ -2557,7 +2557,7 @@ 2001-08-16 16:10 shamgar - * Changed --with-freetype to --with-ttf to make it consistant with + * Changed --with-freetype to --with-ttf to make it consistent with the other modules. @@ -2568,7 +2568,7 @@ 2001-08-13 23:24 raster * ooooh that would leak if we added the same path all the time... - which shoudl + which should be ignored... :) 2001-08-13 18:16 gilbertt @@ -2640,7 +2640,7 @@ 2001-08-11 03:33 raster - * alright - comprimise. theres a + * alright - compromise. theres a imlib_context_set_filename_raw_mode() call now - if you want to deal with filenames and not have them interpreted @@ -2672,7 +2672,7 @@ now we escpae literal colons with double colons. it's documented too. (this was easier to do as i also have to do it for ssving files and you - cant stat + can't stat to see if a file exisit fi you havent saved it yet) 2001-07-28 00:53 raster @@ -2931,7 +2931,7 @@ * fix for the other binary versions in the pnm_loader. Could someone please - check if the ascii ones work right? I didnt test them. and test + check if the ascii ones work right? I didn't test them. and test the binary formats too while youre at it. Thanks :) @@ -2943,10 +2943,10 @@ 2001-01-01 11:52 tillsan - * small fix for the pnm loader. It didnt display the last two lines + * small fix for the pnm loader. It didn't display the last two lines of a file. Ive only corrected the 24bit RGB one. Ill do the others if raster - doesnt + doesn't have a more elegant fix for this :). 2000-12-28 06:45 term @@ -2971,7 +2971,7 @@ 2000-12-15 00:03 raster - * oops - fix soem ascent & descent problems + * oops - fix some ascent & descent problems 2000-12-12 21:07 raster @@ -3458,7 +3458,7 @@ 2000-09-02 07:27 raster - * foudn bug in mmx asm blending.. 1 line hihg blends get skipped.. + * found bug in mmx asm blending.. 1 line hihg blends get skipped.. fix! :) (ugly fix tho) @@ -3703,7 +3703,7 @@ 2000-06-23 19:34 raster - * apparently clone doesnt lone EVERYTHING.. now it clones all of it + * apparently clone doesn't lone EVERYTHING.. now it clones all of it except attached data tags... @@ -3762,7 +3762,7 @@ 2000-06-05 18:19 raster - * shoudl in theory handle locks better.... + * should in theory handle locks better.... 2000-06-05 03:15 raster @@ -3830,7 +3830,7 @@ some more stuff. dox is the start of dox2 the document viewer based on imlib2. Designed - so that the style of the docs is seperate from the contents. Will + so that the style of the docs is separate from the contents. Will evolve rapdily over the next week. @@ -4021,7 +4021,7 @@ 2000-05-06 19:37 raster - * build dither table for masks alwasy... even in depths > 16 + * build dither table for masks always... even in depths > 16 2000-05-05 16:28 raster @@ -4223,7 +4223,7 @@ * slight api changes..... problem was we have a useless paramin the pixmap gen - calls - it shoudl have used the context... :) + calls - it should have used the context... :) 2000-04-25 03:29 mej @@ -4299,7 +4299,7 @@ 2000-04-13 20:24 raster - * foudn evil mmx code overwriting memeory! thanks mej. back to the + * found evil mmx code overwriting memeory! thanks mej. back to the C code for you! @@ -4309,7 +4309,7 @@ 2000-04-13 16:37 raster - * changelog..... NOOOOOOOOO cant be! :) + * changelog..... NOOOOOOOOO can't be! :) 2000-04-13 16:31 raster @@ -4330,7 +4330,7 @@ * fix corner case for clippign where integer math rounds source widht to 0 where - it shoudl be 1. + it should be 1. 2000-04-11 23:34 mej @@ -4371,7 +4371,7 @@ 2000-04-08 19:15 raster - * check for i686 artch and only then compile the mmx asm (i586 isnt + * check for i686 artch and only then compile the mmx asm (i586 isn't guaranteed to have mmx - NB libs built for mmx will NOt work on non mmx boxes right now @@ -4423,7 +4423,7 @@ 2000-03-28 22:25 raster - * speedup scaling down....... but i cant seem to get any speedup + * speedup scaling down....... but i can't seem to get any speedup for up scaling 2000-03-28 18:09 raster @@ -4585,7 +4585,7 @@ 2000-03-03 17:24 raster - * poatch main.c - but rottest doesnt work.. must fix later + * poatch main.c - but rottest doesn't work.. must fix later 2000-03-03 17:15 raster @@ -4701,7 +4701,7 @@ 2000-01-10 05:41 raster - * i cant beleieve i missed wrappign the pixmap free function.... + * i can't beleieve i missed wrappign the pixmap free function.... 2000-01-07 18:40 raster @@ -4719,7 +4719,7 @@ 2000-01-06 06:32 raster - * search path for font mroe sanely + * search path for font more sanely 2000-01-06 05:58 raster @@ -4864,7 +4864,7 @@ 1999-11-16 00:06 raster - * oop s- clipping problme wiht lines.. fixed :) + * oop s- clipping problme with lines.. fixed :) 1999-11-13 18:55 raster @@ -4888,7 +4888,7 @@ 1999-11-03 16:21 raster - * add soem stuff and new blend.c from ryan :) + * add some stuff and new blend.c from ryan :) 1999-11-02 15:56 raster @@ -4909,7 +4909,7 @@ 1999-11-02 13:32 raster * fix a little of the rend code - never testyed that bit... - andf the imlib2_view works nicely iwth zooming too :) + andf the imlib2_view works nicely with zooming too :) 1999-11-02 11:13 raster @@ -4945,7 +4945,7 @@ 1999-11-01 20:50 raster - * hmm that didnt compile.. ooh fun :) + * hmm that didn't compile.. ooh fun :) 1999-11-01 18:46 raster @@ -5052,7 +5052,7 @@ 1999-10-31 22:50 raster - * eeek math error at 255 (becomes 254) not surprising i didnt + * eeek math error at 255 (becomes 254) not surprising i didn't notice.. i looked at the results rsather than numerically evaluating... @@ -5162,7 +5162,7 @@ 1999-10-21 17:07 raster - * color modifiers in imlib2 now done.. cleaned up soem code... + * color modifiers in imlib2 now done.. cleaned up some code... 1999-09-30 16:46 raster @@ -5232,7 +5232,7 @@ 1999-09-27 23:09 raster - * get rid of soem useless fonts... + * get rid of some useless fonts... 1999-09-27 22:55 raster @@ -5296,11 +5296,11 @@ 1999-09-19 21:22 raster - * and add soem comments + * and add some comments 1999-09-19 21:18 raster - * and one mroe fix for big endian boxes for imlib png loader + * and one more fix for big endian boxes for imlib png loader 1999-09-19 21:00 raster @@ -5322,7 +5322,7 @@ 1999-09-18 16:41 raster - * rewmove files i didnt mean tot add + * rewmove files i didn't mean tot add 1999-09-18 16:40 raster @@ -5335,7 +5335,7 @@ 1999-09-17 01:47 raster - * more wokr on updates + * more work on updates 1999-09-17 01:31 raster @@ -5343,7 +5343,7 @@ 1999-09-15 01:24 raster - * some mroe echos... + * some more echos... 1999-09-15 01:22 raster @@ -5402,7 +5402,7 @@ to add a bit to the api, and move the stuff nowin api.c off into imlib backend - sinc ethat stuff doesnt belong in api.c + sinc ethat stuff doesn't belong in api.c 1999-09-09 02:39 raster @@ -5418,7 +5418,7 @@ 1999-09-01 17:36 raster - * remember to not free images made form external data if it wasnt + * remember to not free images made form external data if it wasn't copied.. and free colors from color cubes once the context is invalid.. :) diff --git a/TODO b/TODO index e754229..d5c0a69 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -* line code doesnt draw nice liens when clipping - fix +* line code doesn't draw nice liens when clipping - fix * filled polygons can break fill bounds on corner cases - fix * go thru TODOs and FIXMEs diff --git a/debian/imlib2-config.1 b/debian/imlib2-config.1 index 6d00705..5ef1825 100644 --- a/debian/imlib2-config.1 +++ b/debian/imlib2-config.1 @@ -9,7 +9,7 @@ imlib2-config [options] .SH DESCRIPTION .HP .I imlib2-config -is a script that's used by make and other build enviroments to +is a script that's used by make and other build environments to gather imlib2 information. .HP Run diff --git a/imlib2.c.in b/imlib2.c.in index 3439287..12bafbd 100644 --- a/imlib2.c.in +++ b/imlib2.c.in @@ -540,7 +540,7 @@ If the value "red" is not passed to the filter then it will remain at 50, but it return type - Imlib_Image, this is the result of filter. -@todo line code doesnt draw nice liens when clipping - fix +@todo line code doesn't draw nice liens when clipping - fix @todo filled polygons can break fill bounds on corner cases - fix @todo go thru TODOs and FIXMEs diff --git a/src/bin/imlib2_test.c b/src/bin/imlib2_test.c index 93d3316..2eae420 100644 --- a/src/bin/imlib2_test.c +++ b/src/bin/imlib2_test.c @@ -61,7 +61,7 @@ main(int argc, char **argv) PointerMotionMask | ExposureMask); /* show the window */ XMapWindow(disp, win); - /* set our cache to 2 Mb so it doesnt have to go hit the disk as long as */ + /* set our cache to 2 Mb so it doesn't have to go hit the disk as long as */ /* the images we use use less than 2Mb of RAM (that is uncompressed) */ imlib_set_cache_size(2048 * 1024); /* set the font cache to 512Kb - again to avoid re-loading */ diff --git a/src/lib/Imlib2.h b/src/lib/Imlib2.h index 554ae9b..9aa5df7 100644 --- a/src/lib/Imlib2.h +++ b/src/lib/Imlib2.h @@ -445,7 +445,7 @@ extern "C" Imlib_Load_Error * error_return); /* FIXME: */ -/* need to add arbitary rotation routines */ +/* need to add arbitrary rotation routines */ /* rotation/skewing */ EAPI Imlib_Image imlib_create_rotated_image(double angle); diff --git a/src/lib/api.c b/src/lib/api.c index 43ad21b..d04b49a 100644 --- a/src/lib/api.c +++ b/src/lib/api.c @@ -4755,7 +4755,7 @@ imlib_rotate_image_from_buffer(double angle, Imlib_Image source_image) else sz = im->w; // update sz with real width -#if 0 /* Not neccesary 'cause destination is context */ +#if 0 /* Not necessary 'cause destination is context */ im = __imlib_CreateImage(sz, sz, NULL); im->data = calloc(sz * sz, sizeof(DATA32)); if (!(im->data)) diff --git a/src/lib/asm_rotate.S b/src/lib/asm_rotate.S index 2c5ccca..d84d4f2 100644 --- a/src/lib/asm_rotate.S +++ b/src/lib/asm_rotate.S @@ -167,7 +167,7 @@ PR_(imlib_mmx_RotateAA): punpckhwd %mm1, %mm1 punpckldq %mm1, %mm1 - /*\ Load and unpack four pixels in parralel + /*\ Load and unpack four pixels in parallel |*| %mm2 = ptr[0], %mm3 = ptr[1] |*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1] \*/ @@ -260,7 +260,7 @@ PR_(imlib_mmx_RotateAA): punpckldq %mm0, %mm0 punpckhwd %mm1, %mm1 punpckldq %mm1, %mm1 - /*\ Load and unpack four pixels in parralel + /*\ Load and unpack four pixels in parallel |*| %mm2 = ptr[0], %mm3 = ptr[1] |*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1] \*/ diff --git a/src/lib/asm_scale.S b/src/lib/asm_scale.S index 7ddf9ea..144efd0 100644 --- a/src/lib/asm_scale.S +++ b/src/lib/asm_scale.S @@ -146,7 +146,7 @@ PR_(imlib_Scale_mmx_AARGBA): punpcklwd %mm0, %mm0 punpckldq %mm0, %mm0 - /*\ Load and unpack four pixels in parralel + /*\ Load and unpack four pixels in parallel |*| %mm2 = ptr[0], %mm3 = ptr[1] |*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1] \*/ @@ -212,7 +212,7 @@ PR_(imlib_Scale_mmx_AARGBA): punpcklwd %mm0, %mm0 punpckldq %mm0, %mm0 - /*\ Load and unpack two pixels in parralel + /*\ Load and unpack two pixels in parallel |*| %mm2 = ptr[0], %mm3 = ptr[1] \*/ movq (%esi), %mm2 diff --git a/src/lib/blend.h b/src/lib/blend.h index 99b3616..8bb4e37 100644 --- a/src/lib/blend.h +++ b/src/lib/blend.h @@ -17,7 +17,7 @@ #endif -/* FIXME: endian dependant */ +/* FIXME: endian dependent */ #define READ_RGB(p, r, g, b) \ (r) = R_VAL(p); \ (g) = G_VAL(p); \ diff --git a/src/lib/color_helpers.c b/src/lib/color_helpers.c index 4bf1f51..6e01bbe 100644 --- a/src/lib/color_helpers.c +++ b/src/lib/color_helpers.c @@ -1,7 +1,7 @@ #include "color_helpers.h" /* * Color space conversion helper routines - * Convert between rgb and hsv adn between rgb and hls + * Convert between rgb and hsv and between rgb and hls */ void diff --git a/src/lib/context.c b/src/lib/context.c index 1c9850b..bac19e4 100644 --- a/src/lib/context.c +++ b/src/lib/context.c @@ -34,7 +34,7 @@ __imlib_FlushContexts(void) { ctt = ct; ct = ct->next; - /* it hasnt been referenced in the last max_context_count refernces */ + /* it hasn't been referenced in the last max_context_count references */ /* thus old and getrid of it */ if (ctt->last_use < (context_counter - max_context_count)) { diff --git a/src/lib/font_load.c b/src/lib/font_load.c index 8ff1bcb..648f716 100644 --- a/src/lib/font_load.c +++ b/src/lib/font_load.c @@ -119,7 +119,7 @@ imlib_font_load_joined(const char *fontname) } } free(name); - /* didnt find a file? abort */ + /* didn't find a file? abort */ if (!file) return NULL; fn = imlib_font_load(file, faceidx, size); diff --git a/src/lib/grab.c b/src/lib/grab.c index 71143bc..a649ed1 100644 --- a/src/lib/grab.c +++ b/src/lib/grab.c @@ -535,7 +535,7 @@ __imlib_GrabDrawableToRGBA(DATA32 * data, int ox, int oy, int ow, int oh, XColor cols[256]; domask = (pdomask) ? *pdomask : 0; - /* FIXME: oh isnt used - i wonder if there's a bug looming... */ + /* FIXME: oh isn't used - i wonder if there's a bug looming... */ oh = 0; origw = w; origh = h; diff --git a/src/lib/image.c b/src/lib/image.c index 25c58d3..b03fd07 100644 --- a/src/lib/image.c +++ b/src/lib/image.c @@ -972,7 +972,7 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction progress, return NULL; /* see if we already have the image cached */ im = __imlib_FindCachedImage(file); - /* if we found a cached image and we shoudl always check that it is */ + /* if we found a cached image and we should always check that it is */ /* accurate to the disk conents if they changed since we last loaded */ /* and that it is still a valid image */ if ((im) && (IMAGE_IS_VALID(im))) @@ -1025,7 +1025,7 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction progress, if (best_loader) loader_ret = best_loader->load(im, progress, progress_granularity, immediate_load); - /* width is still 0 - the loader didnt manage to do anything */ + /* width is still 0 - the loader didn't manage to do anything */ if (im->w == 0) { ImlibLoader *l, *previous_l = NULL; diff --git a/src/lib/image.h b/src/lib/image.h index 3da397d..eef59d2 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -13,7 +13,7 @@ # ifndef RTLD_LOCAL # define RTLD_LOCAL 0 -# warning "your crap box doesnt define RTLD_LOCAL !?" +# warning "your crap box doesn't define RTLD_LOCAL !?" # endif typedef struct _imlibimage ImlibImage; diff --git a/src/lib/rend.c b/src/lib/rend.c index b35620c..1c1540f 100644 --- a/src/lib/rend.c +++ b/src/lib/rend.c @@ -282,7 +282,7 @@ __imlib_RenderImage(Display * d, ImlibImage * im, /* if the input rect size < 0 dont render either */ if ((sw <= 0) || (sh <= 0)) return; - /* if the output is too big (8k arbitary limit here) dont bother */ + /* if the output is too big (8k arbitrary limit here) dont bother */ if ((abs(dw) > X_MAX_DIM) || (abs(dh) > X_MAX_DIM)) return; /* clip the source rect to be within the actual image */ @@ -307,7 +307,7 @@ __imlib_RenderImage(Display * d, ImlibImage * im, /* if the input rect size < 0 dont render either */ if ((sw <= 0) || (sh <= 0)) return; - /* if the output is too big (8k arbitary limit here) dont bother */ + /* if the output is too big (8k arbitrary limit here) dont bother */ if ((abs(dw) > X_MAX_DIM) || (abs(dh) > X_MAX_DIM)) return; /* if we are scaling the image at all make a scaling buffer */ @@ -479,7 +479,7 @@ __imlib_RenderImage(Display * d, ImlibImage * im, XFreeGC(disp, gc); gc = 0; } - /* if we didnt have a gc... create it */ + /* if we didn't have a gc... create it */ if (!gc) { disp = d; diff --git a/src/lib/scale.c b/src/lib/scale.c index be9565f..0b7e9d3 100644 --- a/src/lib/scale.c +++ b/src/lib/scale.c @@ -1378,7 +1378,7 @@ __imlib_ScaleAARGB(ImlibScaleInfo * isi, DATA32 * dest, int dxx, int dyy, } } #endif - /* fully optimized (i think) - onyl change of algorithm can help */ + /* fully optimized (i think) - only change of algorithm can help */ /* if we're scaling down horizontally & vertically */ else #ifndef OLD_SCALE_DOWN diff --git a/src/lib/ximage.c b/src/lib/ximage.c index 3811db6..8058beb 100644 --- a/src/lib/ximage.c +++ b/src/lib/ximage.c @@ -23,7 +23,7 @@ static int list_max_count = 0; /* temporary X error catcher we use later */ static char _x_err = 0; -/* the fucntion we use for catching the error */ +/* the function we use for catching the error */ static int TmpXError(Display * d, XErrorEvent * ev) {