summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/src2html.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-906/+0
|
* moved all to std::string (nw) Miodrag Milanovic2015-04-221-91/+93
|
* removed bool conversion and implicit empty check (nw) Miodrag Milanovic2015-04-191-2/+2
|
* more conversions to std::string (nw) Miodrag Milanovic2015-04-191-2/+2
|
* There is no implicit conversion to char* in std::string (nw) Miodrag Milanovic2015-04-121-7/+7
|
* cstr() - > c_str() as preparation for move to std::string (nw) Miodrag Milanovic2015-04-111-18/+18
|
* fixed several missing assert.h includes (nw) Oliver Stöneberg2015-03-201-0/+1
|
* reverting, sorry for this vconv needs to be updated (nw) Miodrag Milanovic2014-03-311-1/+1
|
* VS2013 x64 is little bit more anal about signed/unsigned comparison (nw) Miodrag Milanovic2014-03-311-1/+1
|
* Bulk convert files that already had standard BSD license in my name Aaron Giles2013-10-161-31/+2
| | | | to new license tagged form.
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-11/+11
|
* fixed several Visual Studio compiler warnings and 64-bit libflac compilation ↵ Miodrag Milanovic2012-02-291-4/+7
| | | | by Firewave, and idectrl change from Carl (no whatsnew)
* Cleanups and version bumpmame0144u5 Angelo Salese2012-01-081-1/+1
|
* Removed old C-based interface to astrings. astring exists only as Aaron Giles2012-01-031-348/+275
| | | | | | a class now. Updated all stragglers (mostly tools) to use the class form. [Aaron Giles]
* - Removing MD5 support in ROMLOAD_* [Oliver Stoneberg] Miodrag Milanovic2011-07-311-1/+1
| | | | - Various core and tools memory leaks fixes [Oliver Stoneberg]
* Add C++ keywords. Support hash files and .lst files. Aaron Giles2011-04-181-0/+31
|
* From: Atari Ace <atari_ace@verizon.net> Aaron Giles2009-12-231-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Tue, Dec 22, 2009 at 4:44 PM Subject: [patch] Fix srcclean/src2html bugs, misbalanced tokens and visible whitespace errors To: submit@mamedev.org Cc: atariace@hotmail.com Hi mamedev, While experimenting with srcclean and src2html as indentation validators, I stumbled across a couple of bugs. The first is that srcclean doesn't properly handle /*...*//. It sees the last / char at the end as the second / of an inline comment, where it might be a division token or the start of either type of comment. The second bug is that src2html improperly handles strings with embedded quotes preceded by escaped backslashes, e.g. "ab\\\"cd". It believes the string terminated in the middle, and the last quote starts a new string. This issue is unlikely in actual code, but should be handled correctly. The first patch fixes these, and a some cases where there are dangling/missing tokens which my validation tools are noticing. These occur in some unused macros, dead code sections, and in some macros that are deliberately misbalanced (v9938.c, psx.c). In the deliberate cases, I balanced the braces by making exactly one open and one close macro and using those throughout. The second patch is then a set of visible whitespace "problems". Cases where the closing brace isn't at the same indent level as the open brace, and some cases where the indent level isn't a multiple of four. In the case of ssv.c I folded the assignments into init_ssv() to simplify the code and restore the brace balance, otherwise I kept to simply adding or removing whitespace. ~aa
* Fixed srcclean handling of embedded comments within strings [Atari Ace] Phil Bennett2009-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | ---------- Forwarded message ---------- From: Atari Ace <atari_ace@verizon.net> Date: Wed, Dec 2, 2009 at 2:14 AM Subject: [patch] Fix srcclean to handle strings To: submit@mamedev.org Cc: atariace@hotmail.com Hi mamedev, I noticed an odd case in src2html.c where tabs were converted to spaces unnecessarily. Turns out srcclean does not track quoted strings, so an embedded comment in a string will be treated the same as a comment. Attached is a patch to fix this. ~aa P.S. The *.lay files could use a run through srcclean.
* Change tools I wrote to be straight BSD. Aaron Giles2009-10-311-2/+30
|
* > From: atari_ace@verizon.net Aaron Giles2009-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > To: submit@mamedev.org > CC: atariace@hotmail.com > Subject: [patch] Eliminate more .data > Date: Wed, 7 Oct 2009 08:51:56 -0700 > > Hi mamedev, > > Most variables in .data are likely to lead to multisession bugs, so it > is best to eliminate them and add explicit init/reset code for them > instead. This patch does that for almost all the cases, with a few > changes deserving some comments: > > z180: cc was global when it should be per-cpu. > nesapu: the noise table would be different run to run in multisession > which probably wasn't intended. > astring: i constified the dummy string to make it impossible to > modify. > mediagx: hits was separated from the constant data > tecmosys: i reduced the number of exports and renamed them to use > tecmosys_ as a prefix. > atari: i moved the renderer function into ANTIC. > naomibd: the array provided to x76f100 was too small and might have > caused memory corruption. > n64: i constified the one and zero colors, requiring many more const > qualifiers to be added. > ldverify: i encapsulated the audio and video variables to reduce the > amount of global state.
* Added missing casts and made other tweaks. The entire project Aaron Giles2009-04-271-10/+10
| | | | | can now be optionally compiled with the C++ compiler (mingw g++ only for the moment; MSVC still has issues).
* Added new function core_fload() to load a file into an allocated buffer. Aaron Giles2009-03-111-11/+5
| | | | | | | | Updated src2html, regrep, and chdman tools to use this function where appropriate. In chdman, changed -addmeta to -addmetatext or -addmetabin to explicitly specify the type of data (previous auto-detect was too dangerous).
* Cleanups and version bump. Aaron Giles2008-11-021-10/+10
|
* Changed from explicit styles to classes. Aaron Giles2008-10-301-70/+66
|
* Modified src2html to use a template source file instead of hard-coding to Aaron Giles2008-10-301-63/+85
| | | | the MAME site.
* Cleanups for 0.122u5. Aaron Giles2008-01-111-1/+1
|
* Undid accidental checkin of experimental improvements. Aaron Giles2008-01-111-31/+21
| | | | | Added line numbers to the output. Added link to the raw file if the source and dest directories are the same.
* (From Chad) Aaron Giles2008-01-111-7/+24
| | | | | Allows 64 bit mame compiles to read 32 bit inps, and also make 64 bit mame compiles make 32 bit compatible inps.
* Copyright cleanup: Aaron Giles2008-01-061-1/+1
| | | | | | - removed years from copyright notices - removed redundant (c) from copyright notices - updated "the MAME Team" to be "Nicola Salmoria and the MAME Team"
* Changes for MAME 0.121u3.mame0121u3 Aaron Giles2007-12-171-40/+99
|
* Initial checkin of MAME 0.121.mame0121 Aaron Giles2007-12-171-0/+860