aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* uemacs: Move structure line and its functions to its own header file.Thiago Farina2010-11-1519-130/+160
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Kill dead codePekka Enberg2010-11-142-26/+0
| | | | | | | This patch kills #ifdef'd code from display.c and file.c. Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct VDESC to struct variable_description.Thiago Farina2010-11-063-36/+32
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: remove forward declaration of 'struct video' from edef.hThiago Farina2010-11-031-2/+0
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Merge branch 'master' of git://git.kernel.org/pub/scm/editors/uemacs/uemacsLinus Torvalds2010-11-023-14/+14
|\
| * uemacs: convert typedef struct WHBLOCK to struct while_block.Thiago Farina2010-10-303-14/+14
| | | | | | | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* | uemacs: get rid of BITMAP typedef.Thiago Farina2010-11-022-19/+17
|/ | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Move function declarations from edef.h to efunc.h.Thiago Farina2010-10-252-4/+5
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Fix a tiny typoChristian Faulhammer2010-09-131-1/+1
| | | | | Signed-off-by: Christian Faulhammer <christian@faulhammer.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs/version.c: Add version function to output the version string information.Thiago Farina2010-09-074-6/+16
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Get rid of the CALLED macro.Thiago Farina2010-09-074-35/+5
| | | | | | | | | uemacs is not a subprogram and doesn't seem it will be, so there is no reason to leave this macro. And this macro is defined to 0, so we never reach the path where we test for this macro. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Remove more garbage emacs.* files from the tree.Thiago Farina2010-09-073-56/+0
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Remove two completly unused functions (fnclabel and spal).Thiago Farina2010-09-079-135/+23
| | | | | | | | The implementation of these functions are doing anything at all at this moment. So cleanup a bit the code by removing fnclabel and spal functions completly. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Remove garbage from the treePekka Enberg2010-08-296-263/+0
| | | | | | | | | This patch removes bunch of ancient Makefiles and VMS scripts from uemacs source tree. If somebody really needs them, they can always look them up from git repository history. Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Clean up program executablePekka Enberg2010-08-291-5/+7
| | | | | | | This patch fixes Makefile 'clean' target to clean up program executable 'em'. Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Fix return statementsPekka Enberg2010-08-2928-760/+760
| | | | | | | | Return statement is not a function so remove superfluous use of parenthesis. Cc: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Kill unused lckhello functionPekka Enberg2010-08-291-6/+0
| | | | | | | | | | | This patch kills an unused 'lckhello' function and gets rid of the following GCC warning: CC lock.o lock.c:160: warning: ‘lckhello’ defined but not used Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs/efunc.h: Get rid of a duplicated exported type called "names".Thiago Farina2010-08-293-10/+5
| | | | | | | This type is already exported in edef.h Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Add more two options to the usage output.Thiago Farina2010-08-291-1/+3
| | | | | | | | | | | | Added + and +<n> to the usage output. Also fixed the following warning: main.c: In function ‘main’: main.c:121: warning: ‘gline’ may be used uninitialized in this function Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Make getgoal function private to basic.c.Thiago Farina2010-08-282-43/+41
| | | | | | | | This functions is only used internally by basic.c, so marking it static, to make it private. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Fix out-of-box build on Mac OS XPekka Enberg2010-08-281-2/+8
| | | | | | | | | This patch fixes out-of-box build on Mac OS X by using "uname -s" to detect the underlying OS and fixing up defines accordingly. Cc: Yong Luk Stanley Elijah Goh <stan@t0xt.com> Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Compiles on Mac OS X.Yong Luk Stanley Elijah Goh2010-08-246-4/+12
| | | | | | | | | | | | Compiles on Mac OS X 10.6.4. setmode() is renamed to setemode() to avoid conflict with OS X's unistd.h's setmode(). Modify Makefile to enable the appropriate DEFINES to compile on Mac OS X. Signed-off-by: Yong Luk Stanley Elijah Goh <stan@t0xt.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: basic.c: Add support to go to the end of the buffer.Thiago Farina2010-08-211-62/+63
| | | | | | | | | | | | | | | | There is a case when the user can type something like this: em filename + or even em + Instead of saying "Bogus argument" when the uemacs start, just go to the end of the buffer like we can do in vim for example. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Add --help option.Thiago Farina2010-08-185-86/+98
| | | | | | | Add a basic usage() function to support the --help option. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Add --version option.Thiago Farina2010-08-131-23/+27
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct KILL to struct kill.Thiago Farina2010-08-104-12/+12
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: evar.h: Add enum function_type.Thiago Farina2010-08-041-53/+54
| | | | | | | Replace four macros used to define integer constants with a enum. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: ibmpc.c: Move the functions to the ANSI style declaration.Thiago Farina2010-08-021-70/+79
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct window_t to struct window.Thiago Farina2010-08-0112-63/+63
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct TERM to struct terminal.Thiago Farina2010-07-117-35/+39
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct REGION to struct region.Thiago Farina2010-07-104-11/+11
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct NBIND to struct name_bind.Thiago Farina2010-07-046-11/+11
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct KEYTAB to struct key_tab.Thiago Farina2010-06-304-30/+33
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs/ansi.c: Convert the old functions style declarations to the new one.Thiago Farina2010-06-281-28/+32
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Convert typedef struct UVAR to struct user_variable.Thiago Farina2010-06-272-10/+11
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct UFUNC to struct user_function.Thiago Farina2010-06-271-7/+6
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Use ARRAY_SIZE in more places.Thiago Farina2010-06-114-14/+18
| | | | | Signed-off-by: Thiago Farina <thiago.farina@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Add ARRAY_SIZE macro so we can get rid of some hard coded calculations.Thiago Farina2010-06-083-12/+17
| | | | | Signed-off-by: Thiago Farina <thiago.farina@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typdef struct VIDEO to struct video.Thiago Farina2010-06-012-22/+22
| | | | | Signed-off-by: Thiago Farina <thiago.farina@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: rename 'readme' to 'README'Thiago Farina2010-04-281-27/+27
| | | | | | | | Also removes some tabs and whitespaces. Cc: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typdef struct LINE to struct line.Thiago Farina2010-04-2816-115/+115
| | | | | | Cc: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: enable -Wstrict-prototypesPekka Enberg2010-02-276-6/+8
| | | | | | | | | This patch enables the GCC '-Wstrict-prototypes' switch and fixes up broken prototypes. Cc: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: rename 'makefile' to 'Makefile'Pekka Enberg2010-02-271-0/+0
| | | | | | | | | I keep typoing 'Makefile' instead of 'makefile'. I guess it's hard-wired to the brain by now so just rename the damn thing. Cc: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: remove use of 'register' keywordPekka Enberg2010-02-2723-497/+497
| | | | | | | | | | | | | Lets welcome uEmacs/PK to the year 2010! As expected, the patch has no effect on the generated code: text data bss dec hex filename 106002 8864 18616 133482 2096a em 106002 8864 18616 133482 2096a em.new Cc: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: remove unused functionsPekka Enberg2010-02-264-25/+0
| | | | | | | | | | | | | | | Commit 8fc7449 ("uemacs: fix sparse warnings, making file-local symbols static.") made some functions that are not used anywhere static. This patch removes them to kill the following compilation warnings: ansi.c:255: warning: ‘ansihello’ defined but not used ibmpc.c:505: warning: ‘ibmhello’ defined but not used vmsvt.c:521: warning: ‘hellovms’ defined but not used vt52.c:181: warning: ‘vt52hello’ defined but not used Cc: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: make build output more readablePekka Enberg2010-02-261-3/+18
| | | | | | | | | | | | | | | | | | | This patch makes the build output look like what we have in the linux kernel so that warnings stand out better: CC ansi.o CC basic.o CC bind.o CC buffer.o buffer.c: In function ‘nextbuffer’: buffer.c:43: warning: ‘bp’ may be used uninitialized in this function CC crypt.o CC display.o [...] Cc: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs/line.c: remove two unused variables.Thiago Farina2010-02-151-3/+0
| | | | | | | | line.c:21: warning: ‘ykbuf’ defined but not used line.c:22: warning: ‘ykboff’ defined but not used Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: remove typdef struct BUFFER -> struct buffer.Thiago Farina2010-02-1513-64/+64
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: fix sparse warnings, making file-local symbols static.Thiago Farina2010-01-2912-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ansi.c:255:6: warning: symbol 'ansihello' was not declared. Should it be static? epath.h:11:6: warning: symbol 'pathname' was not declared. Should it be static? display.c:36:7: warning: symbol 'vscreen' was not declared. Should it be static? display.c:38:7: warning: symbol 'pscreen' was not declared. Should it be static? display.c:927:5: warning: symbol 'updateline' was not declared. Should it be static? evar.h:20:6: warning: symbol 'uv' was not declared. Should it be static? evar.h:24:6: warning: symbol 'envars' was not declared. Should it be static? evar.h:128:7: warning: symbol 'funcs' was not declared. Should it be static? fileio.c:14:6: warning: symbol 'ffp' was not declared. Should it be static? fileio.c:15:5: warning: symbol 'eofflag' was not declared. Should it be static? ibmpc.c:505:6: warning: symbol 'ibmhello' was not declared. Should it be static? isearch.c:36:5: warning: symbol 'saved_get_char' was not declared. Should it be static? isearch.c:37:5: warning: symbol 'eaten_char' was not declared. Should it be static? isearch.c:41:5: warning: symbol 'cmd_buff' was not declared. Should it be static? isearch.c:42:5: warning: symbol 'cmd_offset' was not declared. Should it be static? isearch.c:43:5: warning: symbol 'cmd_reexecute' was not declared. Should it be static? line.c:21:6: warning: symbol 'ykbuf' was not declared. Should it be static? line.c:22:5: warning: symbol 'ykboff' was not declared. Should it be static? lock.c:17:6: warning: symbol 'lname' was not declared. Should it be static? lock.c:18:5: warning: symbol 'numlocks' was not declared. Should it be static? vmsvt.c:521:6: warning: symbol 'hellovms' was not declared. Should it be static? vt52.c:181:6: warning: symbol 'vt52hello' was not declared. Should it be static? Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Add ignore file for generated filesLinus Torvalds2009-07-151-0/+2
| | | | | | At least the most obvious ones. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>