Commit message (Collapse)AuthorAgeFilesLines
* simple menu: break off execute() into its own source fileH. Peter Anvin2008-03-024-56/+74
| | | | | Break off execute() into its own source file, with the intent of being able to re-use it for a CLI module.
* License change for CPU detection modulesErwan2008-03-026-36/+132
| | | | | | | | | | | H. Peter Anvin wrote: > Erwan: I would have to get you to do this, since it would mean > changing the license (trying to keep libcom32 under the BSD/MIT > licenses), and you have them under your own copyright (as opposed to > mine), which means I can't do this change. Please find attached the patch to changing the license to MIT on modules I did contribute in com32/modules/.
* Move mboot documentation to the doc/ directoryH. Peter Anvin2008-03-011-0/+0
* Fix two *.doc files which sadly didn't get renamed...H. Peter Anvin2008-03-012-0/+0
* Add a slightly edited version of SubmittingPatches.syslinux-3.62H. Peter Anvin2008-03-011-0/+568
* Document the file renaming from .doc -> .txtH. Peter Anvin2008-02-296-25/+26
* Rename text documentation from *.doc to *.txtH. Peter Anvin2008-02-288-0/+0
| | | | | | Rename plaintext documentation from doc/*.doc to doc/*.txt, to avoid the chronic problem of web sites thinking they're in MS-Word format. Sigh. As if Microsoft somehow had a monopoly on the word "document".
* Don't use "syslinux.cfg" to refer to config files in generalH. Peter Anvin2008-02-271-2/+2
| | | | | When printing error messages about configuration files, don't necessarily call it "syslinux.cfg".
* Remove pngtopnm dependency from the samples/ directoryH. Peter Anvin2008-02-265-4/+10
| | | | | | Ship syslogo.ppm.gz instead of syslogo.png, thereby eliminating a dependency on pngtopnm which apparently isn't installed by default on some distros.
* extlinux: compile hack for old distrossyslinux-3.62-pre16H. Peter Anvin2008-02-251-0/+2
| | | | | Some old distros would have <linux/fs.h> poison the namespace with a non-glibc "struct statfs". Hack around it.
* Allow MENU EXIT to specify a menu tagsyslinux-3.62-pre15H. Peter Anvin2008-02-223-6/+20
| | | | | Allow MENU EXIT to "exit" to an arbitrary menu. This is really just a variant of "MENU GOTO", but it allows displaying an exit marker.
* Fix the handling of hotkeys in MENU LABEL on submenussyslinux-3.62-pre14H. Peter Anvin2008-02-223-26/+59
| | | | | | | | | | | | Two bugs: - We didn't strip ^ symbols inheriting from MENU LABEL to MENU TITLE - We did consider_for_hotkey() with the wrong menu (the submenu itself, as opposed to the parent menu.) As part of these changes, make a function available to create an uninitialized, mutable refstring (that can be constructed and then used as a refstring, that is.)
* NEWS: Document Bruce Robson's Adaptec bug fixH. Peter Anvin2008-02-211-0/+2
* realloc(): try to protect a block in the path of a growing objectsyslinux-3.62-pre13H. Peter Anvin2008-02-211-4/+15
| | | | | | When we realloc() a block larger, try to protect the free block following it from being immediately allocated by something else by placing it at the end of the freelist instead of the beginning.
* realloc(): better implementation allowing in-place growthH. Peter Anvin2008-02-211-17/+55
| | | | | | Change the realloc() implementation to allow in-place growth. This is an important step in handling files without knowing their sizes a priori.
* "begin Ymodem download" is supposed to be an imperative...H. Peter Anvin2008-02-201-1/+1
* Fix MENU TITLE -> MENU LABEL inheritancesyslinux-3.62-pre12H. Peter Anvin2008-02-191-5/+5
| | | | | Correctly make it so MENU TITLE can be inherited upward as MENU TITLE unless one is provided.
* Make sure color directives get attached to the proper menu.H. Peter Anvin2008-02-194-4/+5
| | | | | Color directives would always end up attached to the root menu, no matter what menu declaration they where actually located in.
* simple menu: fix the handling of '+' and '-' given disabled entriesH. Peter Anvin2008-02-191-4/+8
| | | | | When encountering disabled entries, we want to keep going. Given that these particular keys have nonstandard scrolling, but the handling there.
* Fix the scrollbar handling for insanely huge menusH. Peter Anvin2008-02-191-3/+2
| | | | | The handling of the scrollbar for insanely huge menus was broken, causing it to disappear off the bottom of the menu window.
* simple menu: remember the cursor position on a per-menu basisH. Peter Anvin2008-02-193-6/+16
| | | | | For each menu, remember what the current position of the cursor and the scroll is.
* Add support for MENU EXIT; no marker for MENU GOTOH. Peter Anvin2008-02-194-4/+39
* When entering a new menu, go to the default entry for that menu.H. Peter Anvin2008-02-191-1/+2
* Document MENU STARTH. Peter Anvin2008-02-191-0/+8
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-1929-72/+62
* com32: remove dependency files for "make tidy"H. Peter Anvin2008-02-193-6/+6
* Add dependency generation for com32 samples.H. Peter Anvin2008-02-191-2/+7
* Add dependency generation for com32 modules.H. Peter Anvin2008-02-191-2/+7
* Add dependency generation for the simple menu systemH. Peter Anvin2008-02-191-2/+7
* Set m->title for both root and submenusH. Peter Anvin2008-02-191-1/+1
* Allow MENU LABEL <-> MENU TITLE for submenus to work both waysH. Peter Anvin2008-02-193-8/+16
| | | | Allow either "MENU LABEL" or "MENU TITLE" to default for each other.
* Allow an included file to be treated as a submenu.H. Peter Anvin2008-02-192-6/+24
* Document hierarchial menus so far...H. Peter Anvin2008-02-192-2/+38
* simple menu: The use of realloc() requires indirect pointersH. Peter Anvin2008-02-193-29/+37
| | | | | | Since we store pointers to struct menu_entry, we can't put it in storage that is subject to realloc(). Accordingly, make menu_entries an indirect array instead.
* simple menu: first cut at working submenusH. Peter Anvin2008-02-193-83/+206
| | | | | With this edit, the submenu system seems to have minimal functionality.
* refstr: handle NULL in refstr[n]dup()H. Peter Anvin2008-02-191-0/+6
* Simple menu: use refstrings consistently; now works againH. Peter Anvin2008-02-193-113/+117
| | | | | Switch consistently to using refstrings; we now seem to have original functionality back.
* refstr_get(): handle NULL, force inlineH. Peter Anvin2008-02-191-3/+4
| | | | | Make refstr_get() handle NULL correctly; force it to be an inline since it seems to make no difference for code size.
* [v]rsprintf(): actually set the return pointer...H. Peter Anvin2008-02-191-0/+1
* submenu snapshot: it compiles now...H. Peter Anvin2008-02-199-339/+465
* Actually implement strnlen()H. Peter Anvin2008-02-192-0/+14
| | | | | Actually implement strnlen(), which was in the header files but not in the library.
* Actually implement syslinux_ipappend_strings()H. Peter Anvin2008-02-192-0/+59
| | | | | Actually implement the library function syslinux_ipappend_strings(), which had been in the header files but not in the actual library.
* Submenu support: development snapshotH. Peter Anvin2008-02-196-185/+345
| | | | Development snapshot before converting to refstrings
* memdump: fix typoH. Peter Anvin2008-02-181-1/+1
* VESA: work around bug in the Bochs VESA BIOSsyslinux-3.62-pre10H. Peter Anvin2008-02-162-5/+15
| | | | | | | The Bochs VESA BIOS returns a value other than 1 for the number of banks in unbanked modes. Ignore the number of banks if bank_size == 0 (the spec says that for unbanked modes, banks == 1 && bank_size == 0; for banked modes banks > 1 and bank_size != 0).
* rllback: improve compression by allowing two-byte run lengthsH. Peter Anvin2008-02-161-27/+37
| | | | | With the command line size being set to 2K, it's common to need longer runs. Allow runs up to 8K.
* ISOLINUX: Adaptec bug fix: handle the case of DL missing bit 7syslinux-3.62-pre9Bruce Robson2008-02-161-3/+11
| | | | | | Intel Classic R+ computer with Adaptec 1542CP BIOS 1.02 passes garbage in sp_drive, and the drive number originally passed in DL does not have 80h bit set. Check for this case and compensate if appropriate.
* Get rid of 4096-entry limit in the simple menu systemsyslinux-3.62-pre8H. Peter Anvin2008-02-163-10/+35
| | | | | | Use a dynamic array instead of a static array which we would simply crash on overflow. Always make it a power-of-two sized so we don't end up doing a realloc() and a full array copy on every extend.
* If we're showing a scrollbar, always show at least one unitH. Peter Anvin2008-02-161-1/+1
| | | | | In the simple menu system, if we're showing a scrollbar at all, always show at least one unit of it.
* Put virtual kernels (CLI labels) in high memorysyslinux-3.62-pre7H. Peter Anvin2008-02-1511-84/+97
| | | | | | | Support putting virtual kernels in high memory instead of using a dedicated segment for it. This both reduces the low memory footprint by 64K, and allows for functionally unlimited labels (tested with over a hundred thousand.)