aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_gui.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-28From bug 6057:Stig Bjørlykke1-3/+3
Improved set_color_filter_slot documentation. svn path=/trunk/; revision=37813
2011-06-27From bug 6057:Stig Bjørlykke1-0/+19
Lua API: add support to temporary color filters (10 color slots) svn path=/trunk/; revision=37801
2011-06-25From Tony Trinh via bug 6018:Stig Bjørlykke1-18/+65
Add NULL checks and fix typos in Lua error print-outs From me: Use the error message "GUI not available" when using GUI functions in tshark. svn path=/trunk/; revision=37788
2011-05-09Comment out dead code.Jakub Zawadzki1-1/+2
svn path=/trunk/; revision=37029
2011-04-21Include config.h only from .c files.Stig Bjørlykke1-0/+4
This avoids a warning building epan.c which includes both config.h and wslua.h (duplicate defines from config.h) svn path=/trunk/; revision=36751
2011-01-30Fix a number of msvc level 4 "Unreachable code" warnings by removing unneededBill Meier1-3/+0
return statements. svn path=/trunk/; revision=35709
2010-10-21Aw, man, I knew this code was parsed, but I missed the docbook part. Revert ↵Jeff Morriss1-360/+276
34598 and 34599. svn path=/trunk/; revision=34602
2010-10-21Make the indentation consistent.Jeff Morriss1-306/+390
Pull function names to column 0 - except when necessary for autoregistration. Put function comments before the function. For readability, put the macros for functions before the function too. Put class functions before the class. svn path=/trunk/; revision=34599
2009-10-11Make more functions static.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=30517
2009-06-11Update Lua menu defines and put Lua functions in Tools.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28700
2009-05-08Adjusted arguments used in Lua Pref.statictext()Stig Bjørlykke1-52/+52
Update Lua documentation: - Fixed Pref.enum, Pref.range and Pref.statictext - Fixed the equivalent comment for pinfo.cols - Do not have a comment star (*) in the documentation - Be consistent and start all sentences with a capital letter svn path=/trunk/; revision=28304
2009-03-06Rename a variable ('free') so checkAPIs doesn't incorrectly flag it.Bill Meier1-2/+2
svn path=/trunk/; revision=27627
2009-01-27Corrected some defines. Use defines when appropriate.Stig Bjørlykke1-4/+4
Document last argument to DissectorTable.new(). svn path=/trunk/; revision=27309
2008-11-05fix double free bug caused by Lua GC after opening and closing Lua console Balint Reczey1-56/+106
svn path=/trunk/; revision=26700
2008-08-11Get rid of a '<' in the description that causes docbook to bail out...Luis Ontanon1-1/+1
svn path=/trunk/; revision=25980
2008-08-11Add a slightly modified version of Paolo Abeni's funneled progress dialog ↵Luis Ontanon1-0/+123
(ref https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2725) and its wslua interface. svn path=/trunk/; revision=25977
2008-08-05luis.ontanon@gmail.com => luis@ontanon.orgLuis Ontanon1-1/+1
svn path=/trunk/; revision=25937
2008-04-17rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems ↵Ulf Lamping1-1/+1
a bit misleading svn path=/trunk/; revision=25086
2008-04-10From Marton Nemeth:Luis Ontanon1-1/+1
"defaults to MENU_STAT_GENERIC" added to the description of the group argument of register_menu() svn path=/trunk/; revision=24885
2008-04-10From Marton Nemeth <nm127@freemail.hu>Luis Ontanon1-6/+6
correct example and documentation about register_menu() my own: do not fail to make init.lua when building in a different dir svn path=/trunk/; revision=24879
2008-04-10From http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2413 : fix comment typoJeff Morriss1-67/+67
svn path=/trunk/; revision=24876
2007-05-02The forgotten file strikes back.Luis Ontanon1-1/+2
... It also fixes a lua compile warning/error in wslua_gui.c. ... svn path=/trunk/; revision=21656
2007-01-21fix bug 1320Luis Ontanon1-1/+1
svn path=/trunk/; revision=20514
2007-01-05 * rename url->file in browser_open_data_file()Luis Ontanon1-4/+4
svn path=/trunk/; revision=20328
2006-12-27+ browser_open_url()Luis Ontanon1-0/+37
+ browser_open_data_file() svn path=/trunk/; revision=20223
2006-10-24Have Lua disabled by default.Luis Ontanon1-1/+1
Add more documentation to the code. change make-dco.pl so that it creates more readable docbook output. This should be copied over to 0.99.4 svn path=/trunk/; revision=19670
2006-10-19- wslua_gui.c:Luis Ontanon1-29/+32
- remove data_ref where it is not used anymore (callbacks won't pass userdata as this ius better done using lua's closures) - have TextWindow:set_editable() using its argument - add wslua_optbool(L,n,d) to pull an optional boolean from the stack - several fixes to docbook generation (now it compiles!) svn path=/trunk/; revision=19608
2006-10-18- have console.lua not using os.date when os has been disabledLuis Ontanon1-2/+4
- try to avoid a warning in wslua_gui.c - make-doc.pl --> docbook (still broken I guess) svn path=/trunk/; revision=19593
2006-10-17Several changes:Luis Ontanon1-5/+5
- do not #include a c code file in wslua_register.c compile a separate boject - add the console and evaluate windows - add some useful vars to the lua environment - some cleanup - add the dtd generator code (currently disabled) svn path=/trunk/; revision=19579
2006-10-05have the funnel client passing the destructors for btn data structures to ↵Luis Ontanon1-0/+2
the funnel. Although useless in practice, it is better to implement it this way... the funnel mini gui might be used by other modules in the future. svn path=/trunk/; revision=19440
2006-10-04Misterious bug with cf_read() solved... had nothing to do with cf_read :)Luis Ontanon1-2/+2
the callback data for TextWindow buttons was ep_allocated! after cf_read() it was reused and so it was rewritten... fix that making it g_malloced instead. svn path=/trunk/; revision=19432
2006-10-04- wslua_util.c: replace Lua's loadfile and dofile for versions that will ↵Luis Ontanon1-3/+2
try to open the file in perscofdir then dataconfdir if there's no such file in cwd - wslua_field.c: avoid FieldInfo:__tostring() crashing when the ftype has no val_to_string_repr - init.lua: inform the user that a packet has been disabled, intead of a cryptic "attemt to call nil" - Makefile.am: add register_wslua.c and declare_wslua.h to MAINTAINERCLEANFILES - wslua_gui.c: fix a typo svn path=/trunk/; revision=19425
2006-10-03- Make sure that the registration files are created whenever there's a changeLuis Ontanon1-0/+22
- get rid of 5.0.2 stuff - add the apply_filter() API svn path=/trunk/; revision=19406
2006-10-03more Lua APIs:Luis Ontanon1-0/+69
- set_filter() : sets the main window filter - reload() : reloads the current capture file - copy_to_clipboard() : copies its first arfg to the clipboard - open_capture_file() : opens a capture file for viewing (still broken) svn path=/trunk/; revision=19404
2006-09-27* rename REGISTER_STAT_GROUP_E -> register_stat_group_tLuis Ontanon1-20/+17
* Add a "Tools" menu * allow wslua's register_menu to register menu items into more menus svn path=/trunk/; revision=19338
2006-09-25Move the Lua interface into epan... (not a plugin anymore).Luis Ontanon1-0/+508
- Rename Tap into Listener - add a mechanism to pass protocols' tap data to the Listener svn path=/trunk/; revision=19319