aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.c
Commit message (Collapse)AuthorAgeFilesLines
* Move prefs.c and prefs.h into the epan subdirectory.Guy Harris2004-09-271-2517/+0
| | | | svn path=/trunk/; revision=12115
* Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;Guy Harris2004-09-111-1/+1
| | | | | | according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is. svn path=/trunk/; revision=11972
* We don't need the stuff in "globals.h" or "file.h"; don't include them.Guy Harris2004-09-041-2/+0
| | | | svn path=/trunk/; revision=11897
* added a preference setting, to be able to change the preview timeout in the ↵Ulf Lamping2004-08-311-9/+20
| | | | | | file open dialog (as requested by Ronnie Sahlberg). svn path=/trunk/; revision=11859
* From Greg Morris: Add a configuration option to control search wrapping.Gerald Combs2004-08-151-0/+15
| | | | svn path=/trunk/; revision=11744
* Map the old one-port "generic ASN.1" TCP/UDP/SCTP port-numberGuy Harris2004-08-081-0/+10
| | | | | | | | | | | preferences to the new multi-port ones, so that, instead of complaining when the old preferences were seen, we make the port be the one port in the new preference. Make the "message_win" "generic ASN.1" preference an obsolete preference, so we silently ignore it rather than complaining about it. svn path=/trunk/; revision=11623
* From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that anGuy Harris2004-08-061-1/+1
| | | | | | | include of <resolv.h> in any system header file gets the system <resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]). svn path=/trunk/; revision=11615
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-1/+1
| | | | | | | | | they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
* add a preference setting for the web browser commandUlf Lamping2004-06-291-3/+15
| | | | svn path=/trunk/; revision=11269
* Catch invalid GUI layout type values; if we see one, use the defaultGuy Harris2004-06-291-2/+7
| | | | | | layout type. svn path=/trunk/; revision=11264
* preference setting, so "ask for unsaved capture files" can be switched offUlf Lamping2004-06-201-1/+16
| | | | svn path=/trunk/; revision=11196
* preference setting for the option to "avoid" the capture info dialogUlf Lamping2004-06-201-1/+11
| | | | svn path=/trunk/; revision=11195
* sort saved preference settings by appearance in dialogUlf Lamping2004-05-301-85/+90
| | | | svn path=/trunk/; revision=11034
* give the user a hint what to do (save his/her preferences),Ulf Lamping2004-05-241-12/+13
| | | | | | | when somethings wrong with the preferences, as it's always a good idea to give a helping hand :-) svn path=/trunk/; revision=10990
* Have two strings in an enum_val_t - one that's a short string that isGuy Harris2004-05-241-11/+32
| | | | | | | | | | | | | | | convenient to put into a command line (no capital letters, no spaces to require quotes), and one that's a detailed description for use in the UI. Allow either of them in the preferences file or "-o" option; use the detailed description in the UI, and also use it when writing the preferences out, so that the preference will be readable by older versions of Ethereal (assuming the preference existed in that version). Update "README.developer" to give more detail about an enum_val_t (and to put the _t in), and to give a more detailed description of the "radio_buttons" argument to "prefs_register_enum_preference()". svn path=/trunk/; revision=10982
* Win32 only: Preference setting to open a console window, one of:Ulf Lamping2004-05-131-1/+16
| | | | | | never (default), automatic (like before), always svn path=/trunk/; revision=10870
* Use an enum when initializing "prefs.gui_layout_type".Guy Harris2004-05-051-2/+2
| | | | | | | Add an entry to that enum at the end and use that to generate the value of LAYOUT_QTY. svn path=/trunk/; revision=10800
* The layout types and pane types don't depend on GTK+, so move theirGuy Harris2004-04-301-4/+4
| | | | | | | | | definitions to "prefs.h". Use them, rather than (incorrect) raw numerical values, when initializing the preferences. svn path=/trunk/; revision=10736
* added selection of different main window pane layouts,Ulf Lamping2004-04-291-1/+42
| | | | | | also added some preferences and a new preference page for this svn path=/trunk/; revision=10729
* from Thomas Palmer: add a preference setting for filter toolbar placementUlf Lamping2004-04-061-1/+16
| | | | svn path=/trunk/; revision=10555
* Select "misc" as the foundry for the default font, so we don't get JISGuy Harris2004-02-281-2/+2
| | | | | | fonts and the like when we pop up the font selection dialog. svn path=/trunk/; revision=10255
* Use a pale variant of the foreground color for the background color of theOlivier Biot2004-02-231-9/+9
| | | | | | | follow TCP stream data display. As a result, we can now make the distinction between real data and whitespace wrapping by the UI. svn path=/trunk/; revision=10201
* Fix a typo.Guy Harris2004-02-211-2/+2
| | | | svn path=/trunk/; revision=10160
* moved window geometry values from prefs to recent,Ulf Lamping2004-02-011-42/+21
| | | | | | | | added new pref / recent setting: "maximized main window", which will save, if the main window is maximized or not, this will take effect on GTK version 2 only, but is saved nonetheless svn path=/trunk/; revision=9949
* Map SMPP and smpp-gsm-sms preferences to their new homes in gsm-sms-ud.Guy Harris2004-01-271-4/+13
| | | | svn path=/trunk/; revision=9879
* a.) saving GTK1 and GTK2 fontnames in different preference setting, to ↵Ulf Lamping2004-01-201-14/+30
| | | | | | | | | | | | | prevent problems when switching between GTK1 and GTK2 ethereal versions b.) added new feature "Edit->Go To First Packet" "Edit->Go To Last Packet" with corresponding menu and toolbar items c.) added new feature "View->Zoom In" / "View->Zoom Out" / View->Normal Size" with corresponding menu and toolbar items This feature will act as a "size offset" to the current fontsize, so that the packet list/tree view/... will have a larger/smaller font size. The value is stored inside the recent file. d.) Win32 only: Try to get the win32 system font and fontsize at program startup and show the menus/dialogs and such with the same font and fontsize like other win32 windows. This makes the program make a *lot* more feel like a normal win32 program. svn path=/trunk/; revision=9753
* added some menuitems "View->Show" including show/hide of all main widgets,Ulf Lamping2004-01-191-15/+2
| | | | | | saving the states in the recent file svn path=/trunk/; revision=9726
* removed some MSVC warnings (level 3)Ulf Lamping2004-01-051-4/+4
| | | | svn path=/trunk/; revision=9561
* Remove redundant protocol names from preference values.Guy Harris2003-12-311-1/+7
| | | | svn path=/trunk/; revision=9505
* Make the "max count of recently-visited files" preference unsigned.Guy Harris2003-12-291-3/+3
| | | | | | | | Get rid of an unused variable. Fix up whitespace. svn path=/trunk/; revision=9475
* Add more code to handle the recent_files_count_max as a preference ...Richard Sharpe2003-12-281-2/+12
| | | | | | | Here we can read and write it from and to the preferences file. I only have to add code to allow it to be set in the Edit->Preferences area, svn path=/trunk/; revision=9464
* Connect the recent_file_count_max variable to the ↵Richard Sharpe2003-12-281-2/+3
| | | | | | | | | | prefs.gui_recent_file_count_max variable entry, and fix a small spelling/grammar mistake. Now all we need is some enterprising individual to write the small amount of preferences code to actually allow it to be changed etc, but I have to go to Costco, so, later... svn path=/trunk/; revision=9463
* Handle the move of "smpp" preferences to "smpp-gsm-sms".Guy Harris2003-12-231-2/+5
| | | | svn path=/trunk/; revision=9434
* changed read_prefs_file(): read in a generic config file and do a callback toUlf Lamping2003-12-131-14/+23
| | | | | | pref_set_pair_fct() for every key/value pair found svn path=/trunk/; revision=9274
* Export "protocol_t" as an opaque type.Guy Harris2003-11-161-3/+8
| | | | | | | | | | | | | | | | Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()" take a "protocol_t *" as an argument, so they don't have to look up the "protocol_t" - this will probably speed them up considerably, and they're called on almost every dissector handoff. Get rid of a number of "proto_is_protocol_enabled()" calls that aren't necessary (dissectors called through handles, including those called through dissector tables, or called as heuristic dissectors, aren't even called if their protocol isn't enabled). Change some direct dissector calls to go through handles. svn path=/trunk/; revision=8979
* From Gisle Vanem:Guy Harris2003-11-091-2/+5
| | | | | | | | Copy the "gui_fileopen_*" fields in "copy_prefs()". Fix a typo in "free_prefs()". svn path=/trunk/; revision=8915
* From Ulf Lamping: add a preference to control whether to show or hideGuy Harris2003-10-221-1/+17
| | | | | | the main toolbar (currently no GUI to set it; that's in progress). svn path=/trunk/; revision=8754
* From Ulf Lamping: add a GUI preference item to control the toolbarGuy Harris2003-10-161-5/+23
| | | | | | | | | | | | | | | | | | | | style. Make the style text arrays static, as nobody uses them outside prefs.c. Use FALSE and TRUE for the values for the Boolean controlling the highlighting style. Note that we're now using stock icons in the toolbar in GTK+ 2.x. Put back the resizing of elements in the top-level container, at least for GTK+ 1.2[.x]; otherwise, the toolbar's height never gets smaller, even if you change the style in such a way as to reduce the height of the elements (icons+text -> icons or text, icons -> text). Make some routines and variables not used outside gtk/toolbar.c static. svn path=/trunk/; revision=8720
* From Ian Schorr:Guy Harris2003-10-141-34/+90
| | | | | | | | | | | | | | Add a preference to control whether the "File > Open" dialog box should start out in the last directory in which it looked - and save that in the preferences file across invocations - or should always start out in a user-specified directory, and add another preference to specify that directory. Write out section name comments into the preferences file. Clean up white space a bit. svn path=/trunk/; revision=8699
* Don't put an entry for a protocol into the Preferences dialog if itGuy Harris2003-10-021-31/+27
| | | | | | | doesn't have any settable preferences (for example, if it has only obsolete preferences). svn path=/trunk/; revision=8590
* Don't export MAX_VAR_LEN - nobody uses it.Guy Harris2003-09-101-1/+2
| | | | svn path=/trunk/; revision=8453
* From Nathan Jennings:Guy Harris2003-09-081-39/+86
| | | | | | | | | | | support for user-supplied interface descriptions; support for hiding interfaces in drop-down list in capture dialog. Clean up comments written to preferences file. svn path=/trunk/; revision=8419
* Fix a typo.Guy Harris2003-08-261-2/+2
| | | | svn path=/trunk/; revision=8267
* From Michael Lum: add the ability to have a preferences file containingGuy Harris2003-08-071-9/+30
| | | | | | | | | | | a list of disabled protocols, and to save that list from the Edit > Protocols dialog box. Add checks for read errors in "read_prefs()". Clean up white space. svn path=/trunk/; revision=8144
* Allow hyphens in preference module names, as the WAP protocols have IANAGuy Harris2003-08-041-3/+3
| | | | | | names, which include hyphens. svn path=/trunk/; revision=8127
* Add two preferences to control ADNS, one to enable/disable it and one toGerald Combs2003-07-221-6/+15
| | | | | | set its concurrency level. Fix an ADNS queueing bug. svn path=/trunk/; revision=8063
* From Richard Urwin:Guy Harris2003-05-151-7/+3
| | | | | | | | | | | | add support for a system-wide color filter file; fix a bug where "read_filters()" didn't close the file handle. Use the "get_datafile_path()" routine he added to construct the pathname of the Diameter directory, the global preferences file, and the manuf file. svn path=/trunk/; revision=7677
* From Erwin Rol: ArtNET support.Guy Harris2003-04-211-1/+5
| | | | svn path=/trunk/; revision=7518
* Don't create a protocol tree or do anything to the columns beforeGuy Harris2003-04-091-1/+5
| | | | | | | | | | | | | calling "tcp_dissect_pdus()", so that if we don't have the final segment of a multi-segment packet, we don't change the columns or put in an empty protocol tree item for NDPS. Rename "ndps.desegment_ndps" to "ndps.desegment_tcp" - the "ndps." is sufficient to indicate that it's for desegmenting NDPS, but we now have a flag for desegmenting NDPS-over-SPX, so we should indicate that the other flag is for desegmenting NDPS-over-TCP. svn path=/trunk/; revision=7425
* From Tomas Kukosa - allow a preference name to begin with the stringGuy Harris2003-03-131-2/+3
| | | | | | | | that's the name of the module, as long as the prefix doesn't end with "." or "_" (so you can register "tc.tcp.port" or "tc.tcp_port", but not "tc.tc.port" or "tc.tc_port"). svn path=/trunk/; revision=7351