1 2008-01-21 Nicholas Niro <nik_89@neuroponic.com>
3 Created a new submodule called bitmap in its own
4 directory with its own small library.
7 Spread the old bitmap.c file into 3 distinct source
8 files : core.c process.c and io.c. They compose
9 the now code that is used to load bitmaps from
13 The script was changed in order to implement the
16 2007-12-16 Nicholas Niro <nik_89@neuroponic.com>
18 Implemented a new function (Neuro_SetNeuroDebugFilter)
19 that is to be used by external applications in order to
20 set the actual debugging filters used for getting
21 outputs from libneuro itself.
23 2007-12-15 Nicholas Niro <nik_89@neuroponic.com>
25 Added an option to disable any video functions from
26 libneuro to enable the creation of a light weight
30 Removed old debugging methods from the module.
33 Had to fix source files to convert to the new
36 2007-08-18 Nicholas Niro <nik_89@neuroponic.com>
38 Finished coding the debugging functions
39 Neuro_DebugChannel() and Neuro_CoreDebugSetFilter(),
40 they are both fully interfaced by a certain amount
41 of macros to make their use easier.
43 2007-08-17 Nicholas Niro <nik_89@neuroponic.com>
45 Changed the CFlag -ansi to the internationnal
46 one : -std=iso9899:1990.
48 2007-08-06 Nicholas Niro <nik_89@neuroponic.com>
49 * include/neuro/debug.h :
50 Fixed the standard debugging macros, they had
51 a line feed error that did unexpected effects.
53 * include/neuro/global.h :
54 This new file is strictly for internal use of
55 the library, it is not installed. It contains
56 the new project namespace name for the project
57 used for the debugging system.
59 * src/debug.c (Neuro_DebugChannel):
60 Disabled the function temporarily and added initial
61 code before the real functionalities are
64 * src/extlib/sdl.c (Lib_GetPixel):
65 Commented the surface locking calls in order to
66 attempt to make getting pixels quicker to do.
67 NOTE: End coders are expected to themselves do the
68 necessary lockings before fidding with pixels.
70 * src/extlib/x11.c (Lib_GetPutPixel):
71 The data is no longer tagged for refresh everytime
72 a new pixel is changed, end coders are expected
73 to lock and unlock to refresh the surfaces
77 Implemented a new dynamic loading bytes fragmentor
78 that loads 30% of the full bitmap size at every cycles
79 instead of an old fixed 1024 bytes like before.
80 This effectively is supposed to optimize loading speed
83 * src/misc/bitmap.c (processGradual_BMP):
84 Surface locking were previously done at every cycles
85 but now, to optimize dynamic loading, locking and
86 unlocking only happen one time.
88 2007-07-14 Nicholas Niro <nik_89@neuroponic.com>
90 Removed dependency on X11/xpm.h so I had to
91 use in struct functions for XPutPixel XGetPixel
95 Changed the low level XPutPixel() of the mask
96 to the higher level Lib_PutPixel().
98 2007-07-09 Nicholas Niro <nik_89@neuroponic.com>
99 * src/misc/bitmap.c (bitmap_process2):
100 Renamed to bitmap_process.
102 * src/misc/bitmap.c (bitmap_process):
103 Did fixes to the big endian compatibility code.
105 2007-07-07 Nicholas Niro <nik_89@neuroponic.com>
106 * src/debug.c (Neuro_DebugChannel):
107 Added support even if the Init function wasn't
108 called to allow external programs to use the
109 debugging without having to use the X11 display.
111 * src/extlib/sdl.c (Lib_CreateVObject):
112 Made it so the function use default values in
113 case 0 values were input for the masks and the depth.
116 Created a new static function that can be used to
117 get default masks for the various pixel depths.
119 * src/extlib/sdl.c (Lib_VideoInit):
120 Made the function use the new default mask function.
122 * src/misc/bitmap.c (process_Gradual_BMP):
123 now creates a v_object with 0 masks to make use
124 of the new defaulting code in the drivers.
126 * src/extlib/x11.c (Lib_CreateVObject):
127 changed an argument to XCreateImage to a static 16 value
128 -- it used to put the default depth but when the default
129 depth was 24, the function wouln't work, it takes only
130 8, 16 or 32. This fixed an annoying bug in the 24 bpp
133 2007-07-05 Nicholas Niro <nik_89@neuroponic.com>
134 * src/memory/ebuf.c (Neuro_AllocEBuf):
135 Added a check to see if the buffer inside an
136 ebuf element is not NULL. Also implemented
137 the new debug channel into the module.
139 2007-06-03 Nicholas Niro <nik_89@neuroponic.com>
140 * src/extlib/x11.c (Lib_RenderUnicode):
141 changed the static argument value 16 (bpp) that
142 was used to create the v_object for the character
143 to a call to get the current default depth in use.
145 2007-05-30 Nicholas Niro <nik_89@neuroponic.com>
146 * src/events/events.c (addKeyEvent):
147 removed keyboard limitation from only one callback
148 per keys to an infinite amount.
150 2007-05-29 Nicholas Niro <nik_89@neuroponic.com>
151 * src/extlib/sdl.c (u32 KeySymsTranslateTable):
152 added more elements to the keymap translation
153 table to support more keyboard keys.
154 Theres more work to come with this constant
155 to support all the keys.
157 2007-05-20 Nicholas Niro <nik_89@neuroponic.com>
158 * src/extlib/sdl.c (Lib_CreateVobject): made created
159 vobject be created of the same resolution as the
160 screen as a default (16 bpp default). This is an
161 attempt to hack SDL's palette when we load bitmaps.
163 * src/misc/bitmap.c (processGradual_BMP): Changed the
164 masks that will be passed to Lib_CreateVobject()
165 so it only do 16 bpp masks.
167 2007-04-03 Nicholas Niro <nik_89@neuroponic.com>
168 * src/video/interface.c (Neuro_FlushDraw): removed
169 a line that that filled a rectangle in black without
170 redrawing the content below the location. This was
171 a bug in the TODO list. I suspect this line was part
172 of the old method to clean the old location of an image
173 when it was redrawn at a different location.
175 2007-03-28 Nicholas Niro <nik_89@neuroponic.com>
176 * src/debug.c: created a new but temporary clone
177 of the function Debug_Channel which is only meant
178 to be a replacement until the real Debug_Channel
179 function is made to support an interface function.
181 * src/misc/bitmap.c: moved the inclusion of bitmap.h
182 to the beginning of the include list instead of at the
183 end so the flags from config.h were well used to include
186 * include/neuro/neuro_engine.h: added #include
187 <config.h> to include the defines from the
188 configure script into the project.
190 * configure.ac: removed checks for c++ in the script.
191 Made the project use autoheader so the compilation
192 process takes less arguments. Started to implement
193 the symbols libtool call so libneuro would only
194 export specific functions.
196 * src/Makefile.am: cleaned the script and started to
197 implement a libtool symbol export file so libneuro
198 would be able to only export functions that we
201 * ChangeLog: redesigned to suit the GNU coding standard.
202 Please note that the file does not contain all the entries
203 that it should for past work. Future work will all be logged
206 2007-02-24 Paul Keller <geniack@neuroponic.com>
207 * src/misc/bitmap.c: cleaned the file from any /* old */
208 code and also those disabled by preprocessor macros.
210 2006-12-06 Nicholas Niro <nik_89@neuroponic.com>
211 * src/misc/bitmap.c: the bitmap loader was changed to
212 remove any need of the library xpm. It now uses
213 high level pixel IO functions to load the bitmaps.
215 2006-12-04 Robert Lemay <bob@neuroponic.com>
216 * extlib/x11.c (Lib_SetColorKey): implemented a completely new
217 fully working X11 transparency function that sets a certain color
218 to transparent in a v_object. The old implementation was a hack
219 to pass a non REENTRANT variable to misc/bitmap.c.
221 2006-10-02 Nicholas Niro <nik_89@neuroponic.com>
222 * video module: spreaded the code of the module (especially
223 the code concerning the painter's algorithm) among more than
224 one source file for a better split of tasks and thus a better
225 organisation of the code.
227 2006-08-25 Nicholas Niro <nik_89@neuroponic.com>
228 * configure.ac: included the freetype2 library as
231 2006-08-25 Nicholas Niro <nik_89@neuroponic.com>
232 * src/extlib/x11.c: implemented fonts support.
234 2006-04-21 Nicholas Niro <nik_89@neuroponic.com>
235 * src/video/graphics.c: the functions to add dynamic
236 and static types of images to the painter's algorithm
237 were made obsolete by a new function which actually
238 returns a context pointer in order to let the external
239 code call interface functions for various purposes
240 like destroying/cleaning an instance directly, rather
241 than automatically. This method opens the door to much
242 better performances and far better flexability.