summaryrefslogtreecommitdiff
path: root/binutils/resrc.c
Commit message (Collapse)AuthorAgeFilesLines
* PR binutils/4987Nick Clifton2007-09-171-3/+3
| | | | * resrc.c: (read_rc_file): Move 'filename' default initialization to start of function.
* Change sources over to using GPLv3Nick Clifton2007-07-051-1/+1
|
* * resrc.c: (read_rc_file): Add include path of user passed rc input file.Nick Clifton2007-07-051-0/+29
| | | | | | * windres.c: (windres_add_include_dir): New. (main): Use of windres_add_include_dir. * windres.h: (windres_add_include_dir): Add prototype.
* PR binutils/4356 binutils/591Nick Clifton2007-06-061-4/+35
| | | | | | * resrc.c (filename_need_quotes): New function. (look_for_default): If filename_need_quotes is true then quote the filename in the command line being created. (read_rc_file): Likewise.
* Updated windres toolNick Clifton2007-05-231-476/+1148
|
* bfd/Alan Modra2007-04-261-6/+3
| | | | | | | | | | | | | | | | | | | | Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
* Update FSF addressNick Clifton2005-05-081-2/+2
|
* PR binutils/647Nick Clifton2005-01-171-5/+39
| | | | | | | | | * rcparse.y (RCDATA): Allow a filename to be supplied as the parameter. Parse it with define_rcdata_file(). * resrc.c (define_rcdata_file): New function. * windres.h: Provide a prototype for the new function. * resrc.c (define_user_file): Fix typo by replacing "font file" with "file".
* * ChangeLog: Fix typos.Kazu Hirata2003-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | * ChangeLog-9197: Likewise. * ChangeLog-9899: Likewise. * NEWS: Likewise. * ar.c: Fix comment typos. * arsup.c: Likewise. * coffgrok.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * dlltool.c: Likewise. * ieee.c: Likewise. * nm.c: Likewise. * objdump.c: Likewise. * prdbg.c: Likewise. * readelf.c: Likewise. * resrc.c: Likewise. * sysinfo.y: Likewise. * windres.c: Likewise.
* * resrc.c (define_icon): Fix storage of color attributes 'planes' and 'bitChristopher Faylor2003-10-021-4/+14
| | | | count' in icon groups.
* * addr2line.c: Convert to ISO C90 prototypes, change PTR, removeAndreas Jaeger2003-09-141-247/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unneeded (void *) casts. * ar.c: Likewise. * arlex.l: Likewise. * arparse.y: Likewise. * arsup.c: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * bucomm.h: Likewise. * budbg.h: Likewise. * budemang.c: Likewise. * budemang.h: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * cxxfilt.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * deflex.l: Likewise. * dlltool.c: Likewise. * dlltool.h: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * filemode.c: Likewise. * ieee.c: Likewise. * nlmconv.c: Likewise. * nlmconv.h: Likewise. * nlmheader.y: Likewise. * nm.c: Likewise. * prdbg.c: Likewise. * rclex.l: Likewise. * rcparse.y: Likewise. * rdcoff.c: Likewise. * rddbg.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * size.c: Likewise. * srconv.c: Likewise. * stabs.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * sysinfo.y: Likewise. * syslex.l: Likewise. * unwind-ia64.c: Likewise. * unwind-ia64.h: Likewise. * version.c: Likewise. * windres.c: Likewise. * windres.h: Likewise. * winduni.c: Likewise. * wrstabs.c: Likewise.
* * rcparse.y (res_text_field): New res_id variable.Danny Smith2003-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (res_null_text): New static const struct res_id object, with empty unicode name field. (control): Pop parsing of optresidc up one level. Set res_text_field to $2 except for controls which do not accept a text field. Set res_text_field to res_null_text for the special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR). (control_params): Adjust to use res_text_field rather than optresidc. (COMBOBOX): Add comment about discrepency between documented vs. observed default style. * resrc.c (define_control): Make first param const. * windres.h (define_control): Adjust prototype. testsuite: * binutils-all/windres/checkbox.rc: New file. * binutils-all/windres/checkbox.rsd: New file. * binutils-all/windres/combobox.rc: New file. * binutils-all/windres/combobox.rsd: New file. * binutils-all/windres/edittext.rc: New file. * binutils-all/windres/edittext.rsd: New file. * binutils-all/windres/listbox.rc: New file. * binutils-all/windres/listbox.rsd: New file. * binutils-all/windres/scrollbar.rc: New file. * binutils-all/windres/scrollbar.rsd: New file.
* Allow resource IDs to be strings or numbers.Nick Clifton2003-03-311-7/+8
| | | | Add a test for this.
* * rdcoff.c: Fix formatting.Kazu Hirata2002-05-231-26/+26
| | | | | | | | | * rddbg.c: Likewise. * readelf.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * resrc.c: Likewise. * resres.c: Likewise.
* * rcparse.y: Remove newcmd rule. Move rcparse_discard_stringsAlan Modra2002-05-051-0/+1
| | | | | | | call to rules that need no lookahead. Check for no lookahead. * rclex.l (get_string): Correct "strings" list handling. * resrc.c (read_rc_file): Discard strings.
* Allow two to five parameter in FONT statement of DIALOGEX resources.Nick Clifton2002-04-151-2/+5
|
* Fix overlooked sublang shift bug.Nick Clifton2002-04-091-1/+2
| | | | Add testcase.
* Don't add default dialog style when explicit style specified.Nick Clifton2002-04-091-3/+7
| | | | | Print style even if it is 0. Add testcase.
* Apply patch from Bernd Herd to fix quoted class definitions inside dialogs.Nick Clifton2002-04-091-5/+5
|
* Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu2001-09-191-9/+9
|
* * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the moreDJ Delorie2001-07-171-2/+2
| | | | | | correct 10). * resrc.c (write_rc_resource): Likewise. * windres.h (SUBLANG_SHIFT): Define - as 10.
* Fix typos in ChangeLogs and update copyright noticesNick Clifton2001-03-131-1/+1
|
* * resrc.c (close_input_stream): delete extraneous logicDJ Delorie2000-08-301-6/+0
|
* * resrc.c: use "gcc -xc" instead of -xc-headerDJ Delorie2000-08-021-1/+1
|
* * rcparse.y (control): ICON controls take an id as the firstDJ Delorie2000-06-131-7/+30
| | | | | | | | | parameter, not an optional string. Also, call new convenience function that takes res_id's. * resrc.c (define_control): missing text means zero-length string, not zero ID. (define_icon_control): New. * windres.h: declare define_icon_control.
* * resrc.c (close_input_stream): zero out cpp_pipe after closing it.DJ Delorie2000-05-261-1/+4
|
* * build fixFrank Ch. Eigler2000-02-191-1/+0
| | | | | | 2000-02-18 Frank Ch. Eigler <fche@redhat.com> * resrc.c: Remove unmatched #if for cygwin.
* Apply Mumit Khan's patch to allow temporary file for process interconnectionNick Clifton2000-01-071-20/+255
|
* * resrc.c (write_rc_rcdata): Fix local variable shadowingIan Lance Taylor1999-09-191-26/+66
| | | | | | | | problem. If RCDATA_BUFFER data can be read as strings, modify code to print the strings as comments. * resres.c: Add casts to avoid warnings. (write_res_data, read_res_data): Don't put the program name in the error message; fatal already puts it there.
* 1999-06-23 Mumit Khan <khan@xraylith.wisc.edu>Ian Lance Taylor1999-06-221-2/+2
| | | | | | | | * configure.in (HAVE_EXECUTABLE_SUFFIX): Define. * dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX. * dllwrap.c (look_for_prog): Likewise. * resrc.c (look_for_default): Likewise. * configure, config.in: Rebuild.
* Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:Ian Lance Taylor1999-06-221-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Define EXECUTABLE_SUFFIX. * dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on ANSI_PROTOTYPES, not __STDC__. (outfile): Remove. (gen_exp_file): Change uses of outfile to use alloca. (make_one_lib_file, make_head, make_tail): Likewise. (gen_lib_file): Likewise. (look_for_prog): New static function. (deduce_name): Rewrite to use look_for_prog. (mcore_elf_gen_out_file): Use dyn_string_t rather than outfile. * dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>, <stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either <stdarg.h> or <varargs.h>. (driver_name): Initialize to NULL, not "gcc". (dlltool_name): Initialize to NULL, not "dlltool". (display, inform, look_for_prog, deduce_name): New static functions. (usage): Mention -mno-cygwin. (OPTION_MNO_CYGWIN): Define. (main): Handle -mno-cygwin. Deduce driver_name and dlltool_name. * resrc.c (look_for_default): Make static. Remove unused local path. Check using EXECUTABLE_SUFFIX. (read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX. * Makefile.am: Rebuild dependencies. (dllwrap_LDADD): Add $(INTLLIBS). * configure, Makefile.in, config.in: Rebuild.
* * windres.c: add verbose optionDJ Delorie1999-05-251-9/+112
| | | | | | | | (main): process verbose option * resrc.c (look_for_default): new. Look for the default preprocessor in a given location. (read_rc_file): for foo/bar-windres, look for foo/bar-gcc, foo/gcc (in case of foo/windres), and then gcc (the old default).
* Initial revisionRichard Henderson1999-05-031-0/+2265