1 2008-06-30 Nicholas Niro <nik_89@neuroponic.com>
2 * src/events/events.c :
3 Due to performance problems with libneurogui, it
4 was found that the method with which events were
5 handled was creating the issue. To fix it, a new
6 event based method is introduced in this patch
7 instead of the old polling method.
9 * src/extlib/x11.c src/extlib/sdl.c :
10 Work were done in order to implement the changes
11 which were added to the events module.
14 A bug was found regarding alpha rendering, it was
15 later pin pointed that the bit depth of the screen
16 was to blame because the function to give
17 color information Neuro_GiveConvertRGB to the alpha
18 rendering function was not supporting 24 bits. This
19 was fixed in this release but 32 bits and 8 bits
22 2008-06-01 Nicholas Niro <nik_89@neuroponic.com>
24 Fixed the order by which the debugging channels
25 are used to ensure that the correct output can
26 be expected by the developers. Because this
27 bug was fixed, I removed the heavy debbugging
28 message being written on the console thus
29 libneuro is now stable again.
31 * src/video/coredraw.c :
32 Added additionnal debugging (trace) outputs
33 to track a bug with libngui.
35 2008-05-30 Nicholas Niro <nik_89@neuroponic.com>
36 * include/neuro/ebuf.h :
37 Added new elements to the documentation.
39 * include/libneuro.sym :
40 Removed obsolete functions from the library.
41 Most notably, the function Neuro_RawPutPixel
42 and Neuro_RawGetPixel are now removed and
43 replaced by Neuro_PutPixel and Neuro_GetPixel.
46 Did some minor changes to the script.
48 2008-05-19 Nicholas Niro <nik_89@neuroponic.com>
50 Commented an instruction which pushed the \b
51 character for every space that weren't needed.
52 This might break something but so far, it got
53 rid of unneeded quirks in the output version
56 * include/neuro/graphics.h :
57 Cleaned up from all the unneeded obsolete
58 functions and also removed the old Static,
59 volatile and dynamic functions breaking
60 the backward compatibility of libneuro.
61 Also started to document the functions in the
64 * include/neuro/neuro_main.h :
65 Fixed the documentation sligthly.
68 After the cleaning of the graphics module
69 the function call Neuro_RedrawScreen was renamed
70 to Graphics_RedrawScreen and the correct header
71 was changed accordingly.
73 * src/misc/bitmap/process.c :
74 Changed any calls from Neuro_PutPixel to
75 Lib_PutPixel, it might be changed back to
76 the neuro version but only after extlib is
77 cleaned up and an interface source file is
80 * src/video/coredraw.c :
81 After the older unneeded functions were removed
82 the calls to Neuro_PushVolatileDraw had to be
83 changed to Graphics_DrawingInstruction with
84 an argument set to TDRAW_VOLATILE in order
85 to not change the way the module behaves.
87 * src/video/graphics.c :
88 Changed the name of Neuro_RedrawScreen and
89 Neuro_RefreshScreen to Graphics_ also
90 deleted the obsolete functions
91 Neuro_AddBackground and Neuro_AddDirectDrawing.
93 * src/video/interface.c :
94 Changed any calls from Neuro_RedrawScreen
95 to Graphics_RedrawScreen also removed the 3
96 Static, Volatile and Dynamic Draw pushing
99 2008-05-04 Nicholas Niro <nik_89@neuroponic.com>
100 * include/neuro/other.h :
101 Added a macro entry for Neuro_GiveImageSize to
102 have Neuro_GetImageSize so the function can be
103 used with both prefixes.
105 2008-03-19 Nicholas Niro <nik_89@neuroponic.com>
107 changed the type of argument certain functions
108 have to constants to signify that their value
109 will not be mangled with.
111 2008-03-08 Nicholas Niro <nik_89@neuroponic.com>
113 added a condition which will compile another kind
114 of z library for w32 systems.
116 * src/misc/bitmap/intern_bitmap.h :
117 changed u32 wmult to double wmult so it can correctly
118 be used to calculate the number of pixels an image
121 * src/misc/bitmap/io.c :
122 added an additionnal level of abstraction for byte
123 fetching code in order to provide finer grain control
124 on the behaviors of the zlib io functions.
126 * src/misc/bitmap/process.c :
127 fixed the code to load a bitmap with 4 bits per pixels.
128 also made proper use of the new double wmult so no longer
129 we have unproperly loaded bitmaps.
131 2008-01-21 Nicholas Niro <nik_89@neuroponic.com>
133 Created a new submodule called bitmap in its own
134 directory with its own small library.
137 Spread the old bitmap.c file into 3 distinct source
138 files : core.c process.c and io.c. They compose
139 the now code that is used to load bitmaps from
143 The script was changed in order to implement the
146 2007-12-16 Nicholas Niro <nik_89@neuroponic.com>
148 Implemented a new function (Neuro_SetNeuroDebugFilter)
149 that is to be used by external applications in order to
150 set the actual debugging filters used for getting
151 outputs from libneuro itself.
153 2007-12-15 Nicholas Niro <nik_89@neuroponic.com>
155 Added an option to disable any video functions from
156 libneuro to enable the creation of a light weight
160 Removed old debugging methods from the module.
163 Had to fix source files to convert to the new
166 2007-08-18 Nicholas Niro <nik_89@neuroponic.com>
168 Finished coding the debugging functions
169 Neuro_DebugChannel() and Neuro_CoreDebugSetFilter(),
170 they are both fully interfaced by a certain amount
171 of macros to make their use easier.
173 2007-08-17 Nicholas Niro <nik_89@neuroponic.com>
175 Changed the CFlag -ansi to the internationnal
176 one : -std=iso9899:1990.
178 2007-08-06 Nicholas Niro <nik_89@neuroponic.com>
179 * include/neuro/debug.h :
180 Fixed the standard debugging macros, they had
181 a line feed error that did unexpected effects.
183 * include/neuro/global.h :
184 This new file is strictly for internal use of
185 the library, it is not installed. It contains
186 the new project namespace name for the project
187 used for the debugging system.
189 * src/debug.c (Neuro_DebugChannel):
190 Disabled the function temporarily and added initial
191 code before the real functionalities are
194 * src/extlib/sdl.c (Lib_GetPixel):
195 Commented the surface locking calls in order to
196 attempt to make getting pixels quicker to do.
197 NOTE: End coders are expected to themselves do the
198 necessary lockings before fidding with pixels.
200 * src/extlib/x11.c (Lib_GetPutPixel):
201 The data is no longer tagged for refresh everytime
202 a new pixel is changed, end coders are expected
203 to lock and unlock to refresh the surfaces
206 * src/misc/bitmap.c :
207 Implemented a new dynamic loading bytes fragmentor
208 that loads 30% of the full bitmap size at every cycles
209 instead of an old fixed 1024 bytes like before.
210 This effectively is supposed to optimize loading speed
213 * src/misc/bitmap.c (processGradual_BMP):
214 Surface locking were previously done at every cycles
215 but now, to optimize dynamic loading, locking and
216 unlocking only happen one time.
218 2007-07-14 Nicholas Niro <nik_89@neuroponic.com>
220 Removed dependency on X11/xpm.h so I had to
221 use in struct functions for XPutPixel XGetPixel
225 Changed the low level XPutPixel() of the mask
226 to the higher level Lib_PutPixel().
228 2007-07-09 Nicholas Niro <nik_89@neuroponic.com>
229 * src/misc/bitmap.c (bitmap_process2):
230 Renamed to bitmap_process.
232 * src/misc/bitmap.c (bitmap_process):
233 Did fixes to the big endian compatibility code.
235 2007-07-07 Nicholas Niro <nik_89@neuroponic.com>
236 * src/debug.c (Neuro_DebugChannel):
237 Added support even if the Init function wasn't
238 called to allow external programs to use the
239 debugging without having to use the X11 display.
241 * src/extlib/sdl.c (Lib_CreateVObject):
242 Made it so the function use default values in
243 case 0 values were input for the masks and the depth.
246 Created a new static function that can be used to
247 get default masks for the various pixel depths.
249 * src/extlib/sdl.c (Lib_VideoInit):
250 Made the function use the new default mask function.
252 * src/misc/bitmap.c (process_Gradual_BMP):
253 now creates a v_object with 0 masks to make use
254 of the new defaulting code in the drivers.
256 * src/extlib/x11.c (Lib_CreateVObject):
257 changed an argument to XCreateImage to a static 16 value
258 -- it used to put the default depth but when the default
259 depth was 24, the function wouln't work, it takes only
260 8, 16 or 32. This fixed an annoying bug in the 24 bpp
263 2007-07-05 Nicholas Niro <nik_89@neuroponic.com>
264 * src/memory/ebuf.c (Neuro_AllocEBuf):
265 Added a check to see if the buffer inside an
266 ebuf element is not NULL. Also implemented
267 the new debug channel into the module.
269 2007-06-03 Nicholas Niro <nik_89@neuroponic.com>
270 * src/extlib/x11.c (Lib_RenderUnicode):
271 changed the static argument value 16 (bpp) that
272 was used to create the v_object for the character
273 to a call to get the current default depth in use.
275 2007-05-30 Nicholas Niro <nik_89@neuroponic.com>
276 * src/events/events.c (addKeyEvent):
277 removed keyboard limitation from only one callback
278 per keys to an infinite amount.
280 2007-05-29 Nicholas Niro <nik_89@neuroponic.com>
281 * src/extlib/sdl.c (u32 KeySymsTranslateTable):
282 added more elements to the keymap translation
283 table to support more keyboard keys.
284 Theres more work to come with this constant
285 to support all the keys.
287 2007-05-20 Nicholas Niro <nik_89@neuroponic.com>
288 * src/extlib/sdl.c (Lib_CreateVobject): made created
289 vobject be created of the same resolution as the
290 screen as a default (16 bpp default). This is an
291 attempt to hack SDL's palette when we load bitmaps.
293 * src/misc/bitmap.c (processGradual_BMP): Changed the
294 masks that will be passed to Lib_CreateVobject()
295 so it only do 16 bpp masks.
297 2007-04-03 Nicholas Niro <nik_89@neuroponic.com>
298 * src/video/interface.c (Neuro_FlushDraw): removed
299 a line that that filled a rectangle in black without
300 redrawing the content below the location. This was
301 a bug in the TODO list. I suspect this line was part
302 of the old method to clean the old location of an image
303 when it was redrawn at a different location.
305 2007-03-28 Nicholas Niro <nik_89@neuroponic.com>
306 * src/debug.c: created a new but temporary clone
307 of the function Debug_Channel which is only meant
308 to be a replacement until the real Debug_Channel
309 function is made to support an interface function.
311 * src/misc/bitmap.c: moved the inclusion of bitmap.h
312 to the beginning of the include list instead of at the
313 end so the flags from config.h were well used to include
316 * include/neuro/neuro_engine.h: added #include
317 <config.h> to include the defines from the
318 configure script into the project.
320 * configure.ac: removed checks for c++ in the script.
321 Made the project use autoheader so the compilation
322 process takes less arguments. Started to implement
323 the symbols libtool call so libneuro would only
324 export specific functions.
326 * src/Makefile.am: cleaned the script and started to
327 implement a libtool symbol export file so libneuro
328 would be able to only export functions that we
331 * ChangeLog: redesigned to suit the GNU coding standard.
332 Please note that the file does not contain all the entries
333 that it should for past work. Future work will all be logged
336 2007-02-24 Paul Keller <geniack@neuroponic.com>
337 * src/misc/bitmap.c: cleaned the file from any /* old */
338 code and also those disabled by preprocessor macros.
340 2006-12-06 Nicholas Niro <nik_89@neuroponic.com>
341 * src/misc/bitmap.c: the bitmap loader was changed to
342 remove any need of the library xpm. It now uses
343 high level pixel IO functions to load the bitmaps.
345 2006-12-04 Robert Lemay <bob@neuroponic.com>
346 * extlib/x11.c (Lib_SetColorKey): implemented a completely new
347 fully working X11 transparency function that sets a certain color
348 to transparent in a v_object. The old implementation was a hack
349 to pass a non REENTRANT variable to misc/bitmap.c.
351 2006-10-02 Nicholas Niro <nik_89@neuroponic.com>
352 * video module: spreaded the code of the module (especially
353 the code concerning the painter's algorithm) among more than
354 one source file for a better split of tasks and thus a better
355 organisation of the code.
357 2006-08-25 Nicholas Niro <nik_89@neuroponic.com>
358 * configure.ac: included the freetype2 library as
361 2006-08-25 Nicholas Niro <nik_89@neuroponic.com>
362 * src/extlib/x11.c: implemented fonts support.
364 2006-04-21 Nicholas Niro <nik_89@neuroponic.com>
365 * src/video/graphics.c: the functions to add dynamic
366 and static types of images to the painter's algorithm
367 were made obsolete by a new function which actually
368 returns a context pointer in order to let the external
369 code call interface functions for various purposes
370 like destroying/cleaning an instance directly, rather
371 than automatically. This method opens the door to much
372 better performances and far better flexability.