Mercurial > octave-nkf
comparison gui/src/resourcemanager.cc @ 14703:f86884be20fc gui
Renamed all source files of the gui to lowercase and .cc to be conform with the octave sources.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Thu, 31 May 2012 20:53:56 +0200 |
parents | gui/src/ResourceManager.cpp@be3e1a14a6de |
children |
comparison
equal
deleted
inserted
replaced
14701:06abf71d9083 | 14703:f86884be20fc |
---|---|
1 /* OctaveGUI - A graphical user interface for Octave | |
2 * Copyright (C) 2011 Jacob Dawid (jacob.dawid@googlemail.com) | |
3 * | |
4 * This program is free software: you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as | |
6 * published by the Free Software Foundation, either version 3 of the | |
7 * License, or (at your option) any later version. | |
8 * | |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
16 */ | |
17 | |
18 #include "resourcemanager.h" | |
19 #include <QFile> | |
20 #include <QNetworkProxy> | |
21 | |
22 ResourceManager ResourceManager::m_singleton; | |
23 | |
24 ResourceManager::ResourceManager () | |
25 { | |
26 m_settings = 0; | |
27 reloadSettings (); | |
28 } | |
29 | |
30 ResourceManager::~ResourceManager () | |
31 { | |
32 delete m_settings; | |
33 } | |
34 | |
35 QSettings * | |
36 ResourceManager::settings () | |
37 { | |
38 return m_settings; | |
39 } | |
40 | |
41 QString | |
42 ResourceManager::homePath () | |
43 { | |
44 return m_homePath; | |
45 } | |
46 | |
47 void | |
48 ResourceManager::reloadSettings () | |
49 { | |
50 QDesktopServices desktopServices; | |
51 m_homePath = desktopServices.storageLocation (QDesktopServices::HomeLocation); | |
52 setSettings(m_homePath + "/.config/octave-gui/settings"); | |
53 } | |
54 | |
55 void | |
56 ResourceManager::setSettings (QString file) | |
57 { | |
58 delete m_settings; | |
59 | |
60 m_firstRun = false; | |
61 if (!QFile::exists (file)) | |
62 m_firstRun = true; | |
63 | |
64 // If the settings file does not exist, QSettings automatically creates it. | |
65 // Therefore we have to check if it exists before instantiating the settings object. | |
66 // That way we can detect if the user ran this application before. | |
67 m_settings = new QSettings (file, QSettings::IniFormat); | |
68 } | |
69 | |
70 QString | |
71 ResourceManager::findTranslatorFile (QString language) | |
72 { | |
73 // TODO: Quick hack to be able to test language files. | |
74 return QString("../languages/%1.qm").arg(language); | |
75 } | |
76 | |
77 QIcon | |
78 ResourceManager::icon (Icon icon) | |
79 { | |
80 if (m_icons.contains (icon)) | |
81 { | |
82 return m_icons [icon]; | |
83 } | |
84 return QIcon (); | |
85 } | |
86 | |
87 bool | |
88 ResourceManager::isFirstRun () | |
89 { | |
90 return m_firstRun; | |
91 } | |
92 | |
93 void | |
94 ResourceManager::updateNetworkSettings () | |
95 { | |
96 QNetworkProxy::ProxyType proxyType = QNetworkProxy::NoProxy; | |
97 if (m_settings->value ("useProxyServer").toBool ()) | |
98 { | |
99 QString proxyTypeString = m_settings->value ("proxyType").toString (); | |
100 if (proxyTypeString == "Socks5Proxy") | |
101 { | |
102 proxyType = QNetworkProxy::Socks5Proxy; | |
103 } | |
104 else if (proxyTypeString == "HttpProxy") | |
105 { | |
106 proxyType = QNetworkProxy::HttpProxy; | |
107 } | |
108 } | |
109 | |
110 QNetworkProxy proxy; | |
111 proxy.setType (proxyType); | |
112 proxy.setHostName (m_settings->value ("proxyHostName").toString ()); | |
113 proxy.setPort (m_settings->value ("proxyPort").toInt ()); | |
114 proxy.setUser (m_settings->value ("proxyUserName").toString ()); | |
115 proxy.setPassword (m_settings->value ("proxyPassword").toString ()); | |
116 QNetworkProxy::setApplicationProxy (proxy); | |
117 } | |
118 | |
119 void | |
120 ResourceManager::loadIcons () | |
121 { | |
122 m_icons [ResourceManager::Octave] = QIcon ("../media/logo.png"); | |
123 m_icons [ResourceManager::Terminal] = QIcon ("../media/terminal.png"); | |
124 m_icons [ResourceManager::Documentation] = QIcon ("../media/help_index.png"); | |
125 m_icons [ResourceManager::Chat] = QIcon ("../media/chat.png"); | |
126 m_icons [ResourceManager::ChatNewMessage] = QIcon ("../media/jabber_protocol.png"); | |
127 } | |
128 | |
129 const char* | |
130 ResourceManager::octaveKeywords () | |
131 { | |
132 return | |
133 ".nargin. " | |
134 "EDITOR " | |
135 "EXEC_PATH " | |
136 "F_DUPFD " | |
137 "F_GETFD " | |
138 "F_GETFL " | |
139 "F_SETFD " | |
140 "F_SETFL " | |
141 "I " | |
142 "IMAGE_PATH " | |
143 "Inf " | |
144 "J " | |
145 "NA " | |
146 "NaN " | |
147 "OCTAVE_HOME " | |
148 "OCTAVE_VERSION " | |
149 "O_APPEND " | |
150 "O_ASYNC " | |
151 "O_CREAT " | |
152 "O_EXCL " | |
153 "O_NONBLOCK " | |
154 "O_RDONLY " | |
155 "O_RDWR " | |
156 "O_SYNC " | |
157 "O_TRUNC " | |
158 "O_WRONLY " | |
159 "PAGER " | |
160 "PAGER_FLAGS " | |
161 "PS1 " | |
162 "PS2 " | |
163 "PS4 " | |
164 "P_tmpdir " | |
165 "SEEK_CUR " | |
166 "SEEK_END " | |
167 "SEEK_SET " | |
168 "SIG " | |
169 "S_ISBLK " | |
170 "S_ISCHR " | |
171 "S_ISDIR " | |
172 "S_ISFIFO " | |
173 "S_ISLNK " | |
174 "S_ISREG " | |
175 "S_ISSOCK " | |
176 "WCONTINUE " | |
177 "WCOREDUMP " | |
178 "WEXITSTATUS " | |
179 "WIFCONTINUED " | |
180 "WIFEXITED " | |
181 "WIFSIGNALED " | |
182 "WIFSTOPPED " | |
183 "WNOHANG " | |
184 "WSTOPSIG " | |
185 "WTERMSIG " | |
186 "WUNTRACED " | |
187 "__accumarray_max__ " | |
188 "__accumarray_min__ " | |
189 "__accumarray_sum__ " | |
190 "__accumdim_sum__ " | |
191 "__all_opts__ " | |
192 "__builtins__ " | |
193 "__calc_dimensions__ " | |
194 "__contourc__ " | |
195 "__current_scope__ " | |
196 "__delaunayn__ " | |
197 "__dispatch__ " | |
198 "__display_tokens__ " | |
199 "__dsearchn__ " | |
200 "__dump_symtab_info__ " | |
201 "__end__ " | |
202 "__error_text__ " | |
203 "__finish__ " | |
204 "__fltk_ginput__ " | |
205 "__fltk_print__ " | |
206 "__fltk_uigetfile__ " | |
207 "__ftp__ " | |
208 "__ftp_ascii__ " | |
209 "__ftp_binary__ " | |
210 "__ftp_close__ " | |
211 "__ftp_cwd__ " | |
212 "__ftp_delete__ " | |
213 "__ftp_dir__ " | |
214 "__ftp_mget__ " | |
215 "__ftp_mkdir__ " | |
216 "__ftp_mode__ " | |
217 "__ftp_mput__ " | |
218 "__ftp_pwd__ " | |
219 "__ftp_rename__ " | |
220 "__ftp_rmdir__ " | |
221 "__get__ " | |
222 "__glpk__ " | |
223 "__gnuplot_drawnow__ " | |
224 "__gnuplot_get_var__ " | |
225 "__gnuplot_ginput__ " | |
226 "__gnuplot_has_feature__ " | |
227 "__gnuplot_open_stream__ " | |
228 "__gnuplot_print__ " | |
229 "__gnuplot_version__ " | |
230 "__go_axes__ " | |
231 "__go_axes_init__ " | |
232 "__go_close_all__ " | |
233 "__go_delete__ " | |
234 "__go_draw_axes__ " | |
235 "__go_draw_figure__ " | |
236 "__go_execute_callback__ " | |
237 "__go_figure__ " | |
238 "__go_figure_handles__ " | |
239 "__go_handles__ " | |
240 "__go_hggroup__ " | |
241 "__go_image__ " | |
242 "__go_line__ " | |
243 "__go_patch__ " | |
244 "__go_surface__ " | |
245 "__go_text__ " | |
246 "__go_uimenu__ " | |
247 "__gud_mode__ " | |
248 "__image_pixel_size__ " | |
249 "__init_fltk__ " | |
250 "__isa_parent__ " | |
251 "__keywords__ " | |
252 "__lexer_debug_flag__ " | |
253 "__lin_interpn__ " | |
254 "__list_functions__ " | |
255 "__magick_finfo__ " | |
256 "__magick_format_list__ " | |
257 "__magick_read__ " | |
258 "__magick_write__ " | |
259 "__makeinfo__ " | |
260 "__marching_cube__ " | |
261 "__next_line_color__ " | |
262 "__next_line_style__ " | |
263 "__operators__ " | |
264 "__parent_classes__ " | |
265 "__parser_debug_flag__ " | |
266 "__pathorig__ " | |
267 "__pchip_deriv__ " | |
268 "__plt_get_axis_arg__ " | |
269 "__print_parse_opts__ " | |
270 "__qp__ " | |
271 "__request_drawnow__ " | |
272 "__sort_rows_idx__ " | |
273 "__strip_html_tags__ " | |
274 "__token_count__ " | |
275 "__varval__ " | |
276 "__version_info__ " | |
277 "__voronoi__ " | |
278 "__which__ " | |
279 "abs " | |
280 "accumarray " | |
281 "accumdim " | |
282 "acos " | |
283 "acosd " | |
284 "acosh " | |
285 "acot " | |
286 "acotd " | |
287 "acoth " | |
288 "acsc " | |
289 "acscd " | |
290 "acsch " | |
291 "add_input_event_hook " | |
292 "addlistener " | |
293 "addpath " | |
294 "addproperty " | |
295 "addtodate " | |
296 "airy " | |
297 "all " | |
298 "allchild " | |
299 "allow_noninteger_range_as_index " | |
300 "amd " | |
301 "ancestor " | |
302 "and " | |
303 "angle " | |
304 "anova " | |
305 "ans " | |
306 "any " | |
307 "arch_fit " | |
308 "arch_rnd " | |
309 "arch_test " | |
310 "area " | |
311 "arg " | |
312 "argnames " | |
313 "argv " | |
314 "arma_rnd " | |
315 "arrayfun " | |
316 "asctime " | |
317 "asec " | |
318 "asecd " | |
319 "asech " | |
320 "asin " | |
321 "asind " | |
322 "asinh " | |
323 "assert " | |
324 "assignin " | |
325 "atan " | |
326 "atan2 " | |
327 "atand " | |
328 "atanh " | |
329 "atexit " | |
330 "autocor " | |
331 "autocov " | |
332 "autoload " | |
333 "autoreg_matrix " | |
334 "autumn " | |
335 "available_graphics_toolkits " | |
336 "axes " | |
337 "axis " | |
338 "balance " | |
339 "bar " | |
340 "barh " | |
341 "bartlett " | |
342 "bartlett_test " | |
343 "base2dec " | |
344 "beep " | |
345 "beep_on_error " | |
346 "bessel " | |
347 "besselh " | |
348 "besseli " | |
349 "besselj " | |
350 "besselk " | |
351 "bessely " | |
352 "beta " | |
353 "betacdf " | |
354 "betai " | |
355 "betainc " | |
356 "betainv " | |
357 "betaln " | |
358 "betapdf " | |
359 "betarnd " | |
360 "bicgstab " | |
361 "bicubic " | |
362 "bin2dec " | |
363 "bincoeff " | |
364 "binocdf " | |
365 "binoinv " | |
366 "binopdf " | |
367 "binornd " | |
368 "bitand " | |
369 "bitcmp " | |
370 "bitget " | |
371 "bitmax " | |
372 "bitor " | |
373 "bitpack " | |
374 "bitset " | |
375 "bitshift " | |
376 "bitunpack " | |
377 "bitxor " | |
378 "blackman " | |
379 "blanks " | |
380 "blkdiag " | |
381 "blkmm " | |
382 "bone " | |
383 "box " | |
384 "break " | |
385 "brighten " | |
386 "bsxfun " | |
387 "bug_report " | |
388 "builtin " | |
389 "bunzip2 " | |
390 "bzip2 " | |
391 "calendar " | |
392 "canonicalize_file_name " | |
393 "cart2pol " | |
394 "cart2sph " | |
395 "case " | |
396 "cast " | |
397 "cat " | |
398 "catch " | |
399 "cauchy_cdf " | |
400 "cauchy_inv " | |
401 "cauchy_pdf " | |
402 "cauchy_rnd " | |
403 "caxis " | |
404 "cbrt " | |
405 "ccolamd " | |
406 "cd " | |
407 "ceil " | |
408 "cell " | |
409 "cell2mat " | |
410 "cell2struct " | |
411 "celldisp " | |
412 "cellfun " | |
413 "cellidx " | |
414 "cellindexmat " | |
415 "cellslices " | |
416 "cellstr " | |
417 "center " | |
418 "cgs " | |
419 "char " | |
420 "chdir " | |
421 "chi2cdf " | |
422 "chi2inv " | |
423 "chi2pdf " | |
424 "chi2rnd " | |
425 "chisquare_test_homogeneity " | |
426 "chisquare_test_independence " | |
427 "chol " | |
428 "chol2inv " | |
429 "choldelete " | |
430 "cholinsert " | |
431 "cholinv " | |
432 "cholshift " | |
433 "cholupdate " | |
434 "chop " | |
435 "circshift " | |
436 "cla " | |
437 "clabel " | |
438 "class " | |
439 "clc " | |
440 "clear " | |
441 "clf " | |
442 "clg " | |
443 "clock " | |
444 "cloglog " | |
445 "close " | |
446 "closereq " | |
447 "colamd " | |
448 "colloc " | |
449 "colon " | |
450 "colorbar " | |
451 "colormap " | |
452 "colperm " | |
453 "colstyle " | |
454 "columns " | |
455 "comet " | |
456 "comet3 " | |
457 "comma " | |
458 "command_line_path " | |
459 "common_size " | |
460 "commutation_matrix " | |
461 "compan " | |
462 "compare_versions " | |
463 "compass " | |
464 "complement " | |
465 "completion_append_char " | |
466 "completion_matches " | |
467 "complex " | |
468 "computer " | |
469 "cond " | |
470 "condest " | |
471 "confirm_recursive_rmdir " | |
472 "conj " | |
473 "continue " | |
474 "contour " | |
475 "contour3 " | |
476 "contourc " | |
477 "contourf " | |
478 "contrast " | |
479 "conv " | |
480 "conv2 " | |
481 "convhull " | |
482 "convhulln " | |
483 "convn " | |
484 "cool " | |
485 "copper " | |
486 "copyfile " | |
487 "cor " | |
488 "cor_test " | |
489 "corrcoef " | |
490 "cos " | |
491 "cosd " | |
492 "cosh " | |
493 "cot " | |
494 "cotd " | |
495 "coth " | |
496 "cov " | |
497 "cplxpair " | |
498 "cputime " | |
499 "cquad " | |
500 "crash_dumps_octave_core " | |
501 "create_set " | |
502 "cross " | |
503 "csc " | |
504 "cscd " | |
505 "csch " | |
506 "cstrcat " | |
507 "csvread " | |
508 "csvwrite " | |
509 "csymamd " | |
510 "ctime " | |
511 "ctranspose " | |
512 "cummax " | |
513 "cummin " | |
514 "cumprod " | |
515 "cumsum " | |
516 "cumtrapz " | |
517 "curl " | |
518 "cut " | |
519 "cylinder " | |
520 "daspect " | |
521 "daspk " | |
522 "daspk_options " | |
523 "dasrt " | |
524 "dasrt_options " | |
525 "dassl " | |
526 "dassl_options " | |
527 "date " | |
528 "datenum " | |
529 "datestr " | |
530 "datetick " | |
531 "datevec " | |
532 "dbclear " | |
533 "dbcont " | |
534 "dbdown " | |
535 "dblquad " | |
536 "dbnext " | |
537 "dbquit " | |
538 "dbstack " | |
539 "dbstatus " | |
540 "dbstep " | |
541 "dbstop " | |
542 "dbtype " | |
543 "dbup " | |
544 "dbwhere " | |
545 "deal " | |
546 "deblank " | |
547 "debug " | |
548 "debug_on_error " | |
549 "debug_on_interrupt " | |
550 "debug_on_warning " | |
551 "dec2base " | |
552 "dec2bin " | |
553 "dec2hex " | |
554 "deconv " | |
555 "default_save_options " | |
556 "del2 " | |
557 "delaunay " | |
558 "delaunay3 " | |
559 "delaunayn " | |
560 "delete " | |
561 "dellistener " | |
562 "demo " | |
563 "det " | |
564 "detrend " | |
565 "diag " | |
566 "diary " | |
567 "diff " | |
568 "diffpara " | |
569 "diffuse " | |
570 "dir " | |
571 "discrete_cdf " | |
572 "discrete_inv " | |
573 "discrete_pdf " | |
574 "discrete_rnd " | |
575 "disp " | |
576 "dispatch " | |
577 "display " | |
578 "divergence " | |
579 "dlmread " | |
580 "dlmwrite " | |
581 "dmperm " | |
582 "dmult " | |
583 "do " | |
584 "do_braindead_shortcircuit_evaluation " | |
585 "do_string_escapes " | |
586 "doc " | |
587 "doc_cache_file " | |
588 "dos " | |
589 "dot " | |
590 "double " | |
591 "drawnow " | |
592 "dsearch " | |
593 "dsearchn " | |
594 "dump_prefs " | |
595 "dup2 " | |
596 "duplication_matrix " | |
597 "durbinlevinson " | |
598 "e " | |
599 "echo " | |
600 "echo_executing_commands " | |
601 "edit " | |
602 "edit_history " | |
603 "eig " | |
604 "eigs " | |
605 "ellipsoid " | |
606 "else " | |
607 "elseif " | |
608 "empirical_cdf " | |
609 "empirical_inv " | |
610 "empirical_pdf " | |
611 "empirical_rnd " | |
612 "end " | |
613 "end_try_catch " | |
614 "end_unwind_protect " | |
615 "endfor " | |
616 "endfunction " | |
617 "endgrent " | |
618 "endif " | |
619 "endpwent " | |
620 "endswitch " | |
621 "endwhile " | |
622 "eomday " | |
623 "eps " | |
624 "eq " | |
625 "erf " | |
626 "erfc " | |
627 "erfcx " | |
628 "erfinv " | |
629 "errno " | |
630 "errno_list " | |
631 "error " | |
632 "error_text " | |
633 "errorbar " | |
634 "etime " | |
635 "etree " | |
636 "etreeplot " | |
637 "eval " | |
638 "evalin " | |
639 "example " | |
640 "exec " | |
641 "exist " | |
642 "exit " | |
643 "exp " | |
644 "expcdf " | |
645 "expinv " | |
646 "expm " | |
647 "expm1 " | |
648 "exppdf " | |
649 "exprnd " | |
650 "eye " | |
651 "ezcontour " | |
652 "ezcontourf " | |
653 "ezmesh " | |
654 "ezmeshc " | |
655 "ezplot " | |
656 "ezplot3 " | |
657 "ezpolar " | |
658 "ezsurf " | |
659 "ezsurfc " | |
660 "f_test_regression " | |
661 "factor " | |
662 "factorial " | |
663 "fail " | |
664 "false " | |
665 "fcdf " | |
666 "fclear " | |
667 "fclose " | |
668 "fcntl " | |
669 "fdisp " | |
670 "feather " | |
671 "feof " | |
672 "ferror " | |
673 "feval " | |
674 "fflush " | |
675 "fft " | |
676 "fft2 " | |
677 "fftconv " | |
678 "fftfilt " | |
679 "fftn " | |
680 "fftshift " | |
681 "fftw " | |
682 "fgetl " | |
683 "fgets " | |
684 "fieldnames " | |
685 "figure " | |
686 "file_in_loadpath " | |
687 "file_in_path " | |
688 "fileattrib " | |
689 "filemarker " | |
690 "fileparts " | |
691 "fileread " | |
692 "filesep " | |
693 "fill " | |
694 "filter " | |
695 "filter2 " | |
696 "find " | |
697 "find_dir_in_path " | |
698 "findall " | |
699 "findobj " | |
700 "findstr " | |
701 "finite " | |
702 "finv " | |
703 "fix " | |
704 "fixed_point_format " | |
705 "flag " | |
706 "flipdim " | |
707 "fliplr " | |
708 "flipud " | |
709 "floor " | |
710 "fminbnd " | |
711 "fminunc " | |
712 "fmod " | |
713 "fnmatch " | |
714 "fopen " | |
715 "for " | |
716 "fork " | |
717 "format " | |
718 "formula " | |
719 "fpdf " | |
720 "fplot " | |
721 "fprintf " | |
722 "fputs " | |
723 "fractdiff " | |
724 "fread " | |
725 "freport " | |
726 "freqz " | |
727 "freqz_plot " | |
728 "frewind " | |
729 "frnd " | |
730 "fscanf " | |
731 "fseek " | |
732 "fskipl " | |
733 "fsolve " | |
734 "fstat " | |
735 "ftell " | |
736 "full " | |
737 "fullfile " | |
738 "func2str " | |
739 "function " | |
740 "functions " | |
741 "fwrite " | |
742 "fzero " | |
743 "gamcdf " | |
744 "gaminv " | |
745 "gamma " | |
746 "gammai " | |
747 "gammainc " | |
748 "gammaln " | |
749 "gampdf " | |
750 "gamrnd " | |
751 "gca " | |
752 "gcbf " | |
753 "gcbo " | |
754 "gcd " | |
755 "gcf " | |
756 "ge " | |
757 "gen_doc_cache " | |
758 "genpath " | |
759 "genvarname " | |
760 "geocdf " | |
761 "geoinv " | |
762 "geopdf " | |
763 "geornd " | |
764 "get " | |
765 "get_first_help_sentence " | |
766 "get_help_text " | |
767 "get_help_text_from_file " | |
768 "getappdata " | |
769 "getegid " | |
770 "getenv " | |
771 "geteuid " | |
772 "getfield " | |
773 "getgid " | |
774 "getgrent " | |
775 "getgrgid " | |
776 "getgrnam " | |
777 "gethostname " | |
778 "getpgrp " | |
779 "getpid " | |
780 "getppid " | |
781 "getpwent " | |
782 "getpwnam " | |
783 "getpwuid " | |
784 "getrusage " | |
785 "getuid " | |
786 "ginput " | |
787 "givens " | |
788 "glob " | |
789 "global " | |
790 "glpk " | |
791 "glpkmex " | |
792 "gls " | |
793 "gmap40 " | |
794 "gmres " | |
795 "gmtime " | |
796 "gnuplot_binary " | |
797 "gplot " | |
798 "gradient " | |
799 "graphics_toolkit " | |
800 "gray " | |
801 "gray2ind " | |
802 "grid " | |
803 "griddata " | |
804 "griddata3 " | |
805 "griddatan " | |
806 "gt " | |
807 "gtext " | |
808 "gunzip " | |
809 "gzip " | |
810 "hadamard " | |
811 "hamming " | |
812 "hankel " | |
813 "hanning " | |
814 "help " | |
815 "hess " | |
816 "hex2dec " | |
817 "hex2num " | |
818 "hggroup " | |
819 "hidden " | |
820 "hilb " | |
821 "hist " | |
822 "histc " | |
823 "history " | |
824 "history_control " | |
825 "history_file " | |
826 "history_size " | |
827 "history_timestamp_format_string " | |
828 "hold " | |
829 "home " | |
830 "horzcat " | |
831 "hot " | |
832 "hotelling_test " | |
833 "hotelling_test_2 " | |
834 "housh " | |
835 "hsv " | |
836 "hsv2rgb " | |
837 "hurst " | |
838 "hygecdf " | |
839 "hygeinv " | |
840 "hygepdf " | |
841 "hygernd " | |
842 "hypot " | |
843 "i " | |
844 "idivide " | |
845 "if " | |
846 "ifelse " | |
847 "ifft " | |
848 "ifft2 " | |
849 "ifftn " | |
850 "ifftshift " | |
851 "ignore_function_time_stamp " | |
852 "imag " | |
853 "image " | |
854 "imagesc " | |
855 "imfinfo " | |
856 "imread " | |
857 "imshow " | |
858 "imwrite " | |
859 "ind2gray " | |
860 "ind2rgb " | |
861 "ind2sub " | |
862 "index " | |
863 "inf " | |
864 "inferiorto " | |
865 "info " | |
866 "info_file " | |
867 "info_program " | |
868 "inline " | |
869 "inpolygon " | |
870 "input " | |
871 "inputname " | |
872 "int16 " | |
873 "int2str " | |
874 "int32 " | |
875 "int64 " | |
876 "int8 " | |
877 "interp1 " | |
878 "interp1q " | |
879 "interp2 " | |
880 "interp3 " | |
881 "interpft " | |
882 "interpn " | |
883 "intersect " | |
884 "intmax " | |
885 "intmin " | |
886 "intwarning " | |
887 "inv " | |
888 "inverse " | |
889 "invhilb " | |
890 "ipermute " | |
891 "iqr " | |
892 "is_absolute_filename " | |
893 "is_duplicate_entry " | |
894 "is_global " | |
895 "is_leap_year " | |
896 "is_rooted_relative_filename " | |
897 "is_valid_file_id " | |
898 "isa " | |
899 "isalnum " | |
900 "isalpha " | |
901 "isappdata " | |
902 "isargout " | |
903 "isascii " | |
904 "isbool " | |
905 "iscell " | |
906 "iscellstr " | |
907 "ischar " | |
908 "iscntrl " | |
909 "iscolumn " | |
910 "iscommand " | |
911 "iscomplex " | |
912 "isdebugmode " | |
913 "isdefinite " | |
914 "isdeployed " | |
915 "isdigit " | |
916 "isdir " | |
917 "isempty " | |
918 "isequal " | |
919 "isequalwithequalnans " | |
920 "isfield " | |
921 "isfigure " | |
922 "isfinite " | |
923 "isfloat " | |
924 "isglobal " | |
925 "isgraph " | |
926 "ishandle " | |
927 "ishermitian " | |
928 "ishghandle " | |
929 "ishold " | |
930 "isieee " | |
931 "isindex " | |
932 "isinf " | |
933 "isinteger " | |
934 "iskeyword " | |
935 "isletter " | |
936 "islogical " | |
937 "islower " | |
938 "ismac " | |
939 "ismatrix " | |
940 "ismember " | |
941 "ismethod " | |
942 "isna " | |
943 "isnan " | |
944 "isnull " | |
945 "isnumeric " | |
946 "isobject " | |
947 "isocolors " | |
948 "isonormals " | |
949 "isosurface " | |
950 "ispc " | |
951 "isprime " | |
952 "isprint " | |
953 "isprop " | |
954 "ispunct " | |
955 "israwcommand " | |
956 "isreal " | |
957 "isrow " | |
958 "isscalar " | |
959 "issorted " | |
960 "isspace " | |
961 "issparse " | |
962 "issquare " | |
963 "isstr " | |
964 "isstrprop " | |
965 "isstruct " | |
966 "issymmetric " | |
967 "isunix " | |
968 "isupper " | |
969 "isvarname " | |
970 "isvector " | |
971 "isxdigit " | |
972 "j " | |
973 "jet " | |
974 "kbhit " | |
975 "kendall " | |
976 "keyboard " | |
977 "kill " | |
978 "kolmogorov_smirnov_cdf " | |
979 "kolmogorov_smirnov_test " | |
980 "kolmogorov_smirnov_test_2 " | |
981 "kron " | |
982 "kruskal_wallis_test " | |
983 "krylov " | |
984 "krylovb " | |
985 "kurtosis " | |
986 "laplace_cdf " | |
987 "laplace_inv " | |
988 "laplace_pdf " | |
989 "laplace_rnd " | |
990 "lasterr " | |
991 "lasterror " | |
992 "lastwarn " | |
993 "lchol " | |
994 "lcm " | |
995 "ldivide " | |
996 "le " | |
997 "legend " | |
998 "legendre " | |
999 "length " | |
1000 "lgamma " | |
1001 "license " | |
1002 "lin2mu " | |
1003 "line " | |
1004 "link " | |
1005 "linkprop " | |
1006 "linspace " | |
1007 "list " | |
1008 "list_in_columns " | |
1009 "list_primes " | |
1010 "load " | |
1011 "loadaudio " | |
1012 "loadimage " | |
1013 "loadobj " | |
1014 "localtime " | |
1015 "log " | |
1016 "log10 " | |
1017 "log1p " | |
1018 "log2 " | |
1019 "logical " | |
1020 "logistic_cdf " | |
1021 "logistic_inv " | |
1022 "logistic_pdf " | |
1023 "logistic_regression " | |
1024 "logistic_rnd " | |
1025 "logit " | |
1026 "loglog " | |
1027 "loglogerr " | |
1028 "logm " | |
1029 "logncdf " | |
1030 "logninv " | |
1031 "lognpdf " | |
1032 "lognrnd " | |
1033 "logspace " | |
1034 "lookfor " | |
1035 "lookup " | |
1036 "lower " | |
1037 "ls " | |
1038 "ls_command " | |
1039 "lsode " | |
1040 "lsode_options " | |
1041 "lsqnonneg " | |
1042 "lstat " | |
1043 "lt " | |
1044 "lu " | |
1045 "luinc " | |
1046 "luupdate " | |
1047 "magic " | |
1048 "mahalanobis " | |
1049 "make_absolute_filename " | |
1050 "makeinfo_program " | |
1051 "manova " | |
1052 "mark_as_command " | |
1053 "mark_as_rawcommand " | |
1054 "mat2cell " | |
1055 "mat2str " | |
1056 "matlabroot " | |
1057 "matrix_type " | |
1058 "max " | |
1059 "max_recursion_depth " | |
1060 "mcnemar_test " | |
1061 "md5sum " | |
1062 "mean " | |
1063 "meansq " | |
1064 "median " | |
1065 "menu " | |
1066 "merge " | |
1067 "mesh " | |
1068 "meshc " | |
1069 "meshgrid " | |
1070 "meshz " | |
1071 "methods " | |
1072 "mex " | |
1073 "mexext " | |
1074 "mfilename " | |
1075 "mgorth " | |
1076 "min " | |
1077 "minus " | |
1078 "mislocked " | |
1079 "missing_function_hook " | |
1080 "mist " | |
1081 "mkdir " | |
1082 "mkfifo " | |
1083 "mkoctfile " | |
1084 "mkpp " | |
1085 "mkstemp " | |
1086 "mktime " | |
1087 "mldivide " | |
1088 "mlock " | |
1089 "mod " | |
1090 "mode " | |
1091 "moment " | |
1092 "more " | |
1093 "most " | |
1094 "movefile " | |
1095 "mpoles " | |
1096 "mpower " | |
1097 "mrdivide " | |
1098 "mtimes " | |
1099 "mu2lin " | |
1100 "munlock " | |
1101 "namelengthmax " | |
1102 "nan " | |
1103 "nargchk " | |
1104 "nargin " | |
1105 "nargout " | |
1106 "nargoutchk " | |
1107 "native_float_format " | |
1108 "nbincdf " | |
1109 "nbininv " | |
1110 "nbinpdf " | |
1111 "nbinrnd " | |
1112 "nchoosek " | |
1113 "ndgrid " | |
1114 "ndims " | |
1115 "ne " | |
1116 "newplot " | |
1117 "news " | |
1118 "nextpow2 " | |
1119 "nfields " | |
1120 "nnz " | |
1121 "nonzeros " | |
1122 "norm " | |
1123 "normcdf " | |
1124 "normest " | |
1125 "norminv " | |
1126 "normpdf " | |
1127 "normrnd " | |
1128 "not " | |
1129 "now " | |
1130 "nproc " | |
1131 "nth_element " | |
1132 "nthroot " | |
1133 "ntsc2rgb " | |
1134 "null " | |
1135 "num2cell " | |
1136 "num2hex " | |
1137 "num2str " | |
1138 "numel " | |
1139 "nzmax " | |
1140 "ocean " | |
1141 "octave_config_info " | |
1142 "octave_core_file_limit " | |
1143 "octave_core_file_name " | |
1144 "octave_core_file_options " | |
1145 "octave_tmp_file_name " | |
1146 "ols " | |
1147 "onCleanup " | |
1148 "onenormest " | |
1149 "ones " | |
1150 "optimget " | |
1151 "optimize_subsasgn_calls " | |
1152 "optimset " | |
1153 "or " | |
1154 "orderfields " | |
1155 "orient " | |
1156 "orth " | |
1157 "otherwise " | |
1158 "output_max_field_width " | |
1159 "output_precision " | |
1160 "pack " | |
1161 "page_output_immediately " | |
1162 "page_screen_output " | |
1163 "paren " | |
1164 "pareto " | |
1165 "parseparams " | |
1166 "pascal " | |
1167 "patch " | |
1168 "path " | |
1169 "pathdef " | |
1170 "pathsep " | |
1171 "pause " | |
1172 "pbaspect " | |
1173 "pcg " | |
1174 "pchip " | |
1175 "pclose " | |
1176 "pcolor " | |
1177 "pcr " | |
1178 "peaks " | |
1179 "periodogram " | |
1180 "perl " | |
1181 "perms " | |
1182 "permute " | |
1183 "perror " | |
1184 "persistent " | |
1185 "pi " | |
1186 "pie " | |
1187 "pie3 " | |
1188 "pink " | |
1189 "pinv " | |
1190 "pipe " | |
1191 "pkg " | |
1192 "planerot " | |
1193 "playaudio " | |
1194 "plot " | |
1195 "plot3 " | |
1196 "plotmatrix " | |
1197 "plotyy " | |
1198 "plus " | |
1199 "poisscdf " | |
1200 "poissinv " | |
1201 "poisspdf " | |
1202 "poissrnd " | |
1203 "pol2cart " | |
1204 "polar " | |
1205 "poly " | |
1206 "polyaffine " | |
1207 "polyarea " | |
1208 "polyder " | |
1209 "polyderiv " | |
1210 "polyfit " | |
1211 "polygcd " | |
1212 "polyint " | |
1213 "polyout " | |
1214 "polyreduce " | |
1215 "polyval " | |
1216 "polyvalm " | |
1217 "popen " | |
1218 "popen2 " | |
1219 "postpad " | |
1220 "pow2 " | |
1221 "power " | |
1222 "powerset " | |
1223 "ppder " | |
1224 "ppint " | |
1225 "ppjumps " | |
1226 "ppplot " | |
1227 "ppval " | |
1228 "pqpnonneg " | |
1229 "prctile " | |
1230 "prepad " | |
1231 "primes " | |
1232 "print " | |
1233 "print_empty_dimensions " | |
1234 "print_struct_array_contents " | |
1235 "print_usage " | |
1236 "printf " | |
1237 "prism " | |
1238 "probit " | |
1239 "prod " | |
1240 "program_invocation_name " | |
1241 "program_name " | |
1242 "prop_test_2 " | |
1243 "putenv " | |
1244 "puts " | |
1245 "pwd " | |
1246 "qp " | |
1247 "qqplot " | |
1248 "qr " | |
1249 "qrdelete " | |
1250 "qrinsert " | |
1251 "qrshift " | |
1252 "qrupdate " | |
1253 "quad " | |
1254 "quad_options " | |
1255 "quadcc " | |
1256 "quadgk " | |
1257 "quadl " | |
1258 "quadv " | |
1259 "quantile " | |
1260 "quit " | |
1261 "quiver " | |
1262 "quiver3 " | |
1263 "qz " | |
1264 "qzhess " | |
1265 "rainbow " | |
1266 "rand " | |
1267 "rande " | |
1268 "randg " | |
1269 "randi " | |
1270 "randn " | |
1271 "randp " | |
1272 "randperm " | |
1273 "range " | |
1274 "rank " | |
1275 "ranks " | |
1276 "rat " | |
1277 "rats " | |
1278 "rcond " | |
1279 "rdivide " | |
1280 "re_read_readline_init_file " | |
1281 "read_readline_init_file " | |
1282 "readdir " | |
1283 "readlink " | |
1284 "real " | |
1285 "reallog " | |
1286 "realmax " | |
1287 "realmin " | |
1288 "realpow " | |
1289 "realsqrt " | |
1290 "record " | |
1291 "rectangle " | |
1292 "rectint " | |
1293 "refresh " | |
1294 "refreshdata " | |
1295 "regexp " | |
1296 "regexpi " | |
1297 "regexprep " | |
1298 "regexptranslate " | |
1299 "rehash " | |
1300 "rem " | |
1301 "remove_input_event_hook " | |
1302 "rename " | |
1303 "repelems " | |
1304 "replot " | |
1305 "repmat " | |
1306 "reset " | |
1307 "reshape " | |
1308 "residue " | |
1309 "resize " | |
1310 "restoredefaultpath " | |
1311 "rethrow " | |
1312 "return " | |
1313 "rgb2hsv " | |
1314 "rgb2ind " | |
1315 "rgb2ntsc " | |
1316 "ribbon " | |
1317 "rindex " | |
1318 "rmappdata " | |
1319 "rmdir " | |
1320 "rmfield " | |
1321 "rmpath " | |
1322 "roots " | |
1323 "rose " | |
1324 "rosser " | |
1325 "rot90 " | |
1326 "rotdim " | |
1327 "round " | |
1328 "roundb " | |
1329 "rows " | |
1330 "rref " | |
1331 "rsf2csf " | |
1332 "run " | |
1333 "run_count " | |
1334 "run_history " | |
1335 "run_test " | |
1336 "rundemos " | |
1337 "runlength " | |
1338 "runtests " | |
1339 "save " | |
1340 "save_header_format_string " | |
1341 "save_precision " | |
1342 "saveas " | |
1343 "saveaudio " | |
1344 "saveimage " | |
1345 "saveobj " | |
1346 "savepath " | |
1347 "saving_history " | |
1348 "scanf " | |
1349 "scatter " | |
1350 "scatter3 " | |
1351 "schur " | |
1352 "sec " | |
1353 "secd " | |
1354 "sech " | |
1355 "semicolon " | |
1356 "semilogx " | |
1357 "semilogxerr " | |
1358 "semilogy " | |
1359 "semilogyerr " | |
1360 "set " | |
1361 "setappdata " | |
1362 "setaudio " | |
1363 "setdiff " | |
1364 "setenv " | |
1365 "setfield " | |
1366 "setgrent " | |
1367 "setpwent " | |
1368 "setstr " | |
1369 "setxor " | |
1370 "shading " | |
1371 "shell_cmd " | |
1372 "shg " | |
1373 "shift " | |
1374 "shiftdim " | |
1375 "sighup_dumps_octave_core " | |
1376 "sign " | |
1377 "sign_test " | |
1378 "sigterm_dumps_octave_core " | |
1379 "silent_functions " | |
1380 "sin " | |
1381 "sinc " | |
1382 "sind " | |
1383 "sinetone " | |
1384 "sinewave " | |
1385 "single " | |
1386 "sinh " | |
1387 "size " | |
1388 "size_equal " | |
1389 "sizemax " | |
1390 "sizeof " | |
1391 "skewness " | |
1392 "sleep " | |
1393 "slice " | |
1394 "sombrero " | |
1395 "sort " | |
1396 "sortrows " | |
1397 "source " | |
1398 "spalloc " | |
1399 "sparse " | |
1400 "sparse_auto_mutate " | |
1401 "spatan2 " | |
1402 "spaugment " | |
1403 "spchol " | |
1404 "spchol2inv " | |
1405 "spcholinv " | |
1406 "spconvert " | |
1407 "spcumprod " | |
1408 "spcumsum " | |
1409 "spdet " | |
1410 "spdiag " | |
1411 "spdiags " | |
1412 "spearman " | |
1413 "spectral_adf " | |
1414 "spectral_xdf " | |
1415 "specular " | |
1416 "speed " | |
1417 "spencer " | |
1418 "speye " | |
1419 "spfind " | |
1420 "spfun " | |
1421 "sph2cart " | |
1422 "sphcat " | |
1423 "sphere " | |
1424 "spinmap " | |
1425 "spinv " | |
1426 "spkron " | |
1427 "splchol " | |
1428 "spline " | |
1429 "split " | |
1430 "split_long_rows " | |
1431 "splu " | |
1432 "spmax " | |
1433 "spmin " | |
1434 "spones " | |
1435 "spparms " | |
1436 "spprod " | |
1437 "spqr " | |
1438 "sprand " | |
1439 "sprandn " | |
1440 "sprandsym " | |
1441 "sprank " | |
1442 "spring " | |
1443 "sprintf " | |
1444 "spstats " | |
1445 "spsum " | |
1446 "spsumsq " | |
1447 "spvcat " | |
1448 "spy " | |
1449 "sqp " | |
1450 "sqrt " | |
1451 "sqrtm " | |
1452 "squeeze " | |
1453 "sscanf " | |
1454 "stairs " | |
1455 "stat " | |
1456 "static " | |
1457 "statistics " | |
1458 "std " | |
1459 "stderr " | |
1460 "stdin " | |
1461 "stdnormal_cdf " | |
1462 "stdnormal_inv " | |
1463 "stdnormal_pdf " | |
1464 "stdnormal_rnd " | |
1465 "stdout " | |
1466 "stem " | |
1467 "stem3 " | |
1468 "stft " | |
1469 "str2double " | |
1470 "str2func " | |
1471 "str2mat " | |
1472 "str2num " | |
1473 "strcat " | |
1474 "strchr " | |
1475 "strcmp " | |
1476 "strcmpi " | |
1477 "strerror " | |
1478 "strfind " | |
1479 "strftime " | |
1480 "string_fill_char " | |
1481 "strjust " | |
1482 "strmatch " | |
1483 "strncmp " | |
1484 "strncmpi " | |
1485 "strptime " | |
1486 "strread " | |
1487 "strrep " | |
1488 "strsplit " | |
1489 "strtok " | |
1490 "strtrim " | |
1491 "strtrunc " | |
1492 "struct " | |
1493 "struct2cell " | |
1494 "struct_levels_to_print " | |
1495 "structfun " | |
1496 "strvcat " | |
1497 "studentize " | |
1498 "sub2ind " | |
1499 "subplot " | |
1500 "subsasgn " | |
1501 "subsindex " | |
1502 "subspace " | |
1503 "subsref " | |
1504 "substr " | |
1505 "substruct " | |
1506 "sum " | |
1507 "summer " | |
1508 "sumsq " | |
1509 "superiorto " | |
1510 "suppress_verbose_help_message " | |
1511 "surf " | |
1512 "surface " | |
1513 "surfc " | |
1514 "surfl " | |
1515 "surfnorm " | |
1516 "svd " | |
1517 "svd_driver " | |
1518 "svds " | |
1519 "swapbytes " | |
1520 "switch " | |
1521 "syl " | |
1522 "sylvester_matrix " | |
1523 "symamd " | |
1524 "symbfact " | |
1525 "symlink " | |
1526 "symrcm " | |
1527 "symvar " | |
1528 "synthesis " | |
1529 "system " | |
1530 "t_test " | |
1531 "t_test_2 " | |
1532 "t_test_regression " | |
1533 "table " | |
1534 "tan " | |
1535 "tand " | |
1536 "tanh " | |
1537 "tar " | |
1538 "tcdf " | |
1539 "tempdir " | |
1540 "tempname " | |
1541 "terminal_size " | |
1542 "test " | |
1543 "test2 " | |
1544 "test3 " | |
1545 "text " | |
1546 "textread " | |
1547 "textscan " | |
1548 "tic " | |
1549 "tilde_expand " | |
1550 "time " | |
1551 "times " | |
1552 "tinv " | |
1553 "title " | |
1554 "tmpfile " | |
1555 "tmpnam " | |
1556 "toascii " | |
1557 "toc " | |
1558 "toeplitz " | |
1559 "tolower " | |
1560 "toupper " | |
1561 "tpdf " | |
1562 "trace " | |
1563 "transpose " | |
1564 "trapz " | |
1565 "treelayout " | |
1566 "treeplot " | |
1567 "tril " | |
1568 "trimesh " | |
1569 "triplequad " | |
1570 "triplot " | |
1571 "trisurf " | |
1572 "triu " | |
1573 "trnd " | |
1574 "true " | |
1575 "try " | |
1576 "tsearch " | |
1577 "tsearchn " | |
1578 "type " | |
1579 "typecast " | |
1580 "typeinfo " | |
1581 "u_test " | |
1582 "uigetdir " | |
1583 "uigetfile " | |
1584 "uimenu " | |
1585 "uint16 " | |
1586 "uint32 " | |
1587 "uint64 " | |
1588 "uint8 " | |
1589 "uiputfile " | |
1590 "umask " | |
1591 "uminus " | |
1592 "uname " | |
1593 "undo_string_escapes " | |
1594 "unidcdf " | |
1595 "unidinv " | |
1596 "unidpdf " | |
1597 "unidrnd " | |
1598 "unifcdf " | |
1599 "unifinv " | |
1600 "unifpdf " | |
1601 "unifrnd " | |
1602 "unimplemented " | |
1603 "union " | |
1604 "unique " | |
1605 "unix " | |
1606 "unlink " | |
1607 "unmark_command " | |
1608 "unmark_rawcommand " | |
1609 "unmkpp " | |
1610 "unpack " | |
1611 "untabify " | |
1612 "untar " | |
1613 "until " | |
1614 "unwind_protect " | |
1615 "unwind_protect_cleanup " | |
1616 "unwrap " | |
1617 "unzip " | |
1618 "uplus " | |
1619 "upper " | |
1620 "urlread " | |
1621 "urlwrite " | |
1622 "usage " | |
1623 "usleep " | |
1624 "validatestring " | |
1625 "values " | |
1626 "vander " | |
1627 "var " | |
1628 "var_test " | |
1629 "varargin " | |
1630 "varargout " | |
1631 "vec " | |
1632 "vech " | |
1633 "vectorize " | |
1634 "ver " | |
1635 "version " | |
1636 "vertcat " | |
1637 "view " | |
1638 "voronoi " | |
1639 "voronoin " | |
1640 "waitforbuttonpress " | |
1641 "waitpid " | |
1642 "warning " | |
1643 "warning_ids " | |
1644 "warranty " | |
1645 "wavread " | |
1646 "wavwrite " | |
1647 "wblcdf " | |
1648 "wblinv " | |
1649 "wblpdf " | |
1650 "wblrnd " | |
1651 "weekday " | |
1652 "weibcdf " | |
1653 "weibinv " | |
1654 "weibpdf " | |
1655 "weibrnd " | |
1656 "welch_test " | |
1657 "what " | |
1658 "which " | |
1659 "while " | |
1660 "white " | |
1661 "whitebg " | |
1662 "who " | |
1663 "whos " | |
1664 "whos_line_format " | |
1665 "wienrnd " | |
1666 "wilcoxon_test " | |
1667 "wilkinson " | |
1668 "winter " | |
1669 "xlabel " | |
1670 "xlim " | |
1671 "xor " | |
1672 "yes_or_no " | |
1673 "ylabel " | |
1674 "ylim " | |
1675 "yulewalker " | |
1676 "z_test " | |
1677 "z_test_2 " | |
1678 "zeros " | |
1679 "zip " | |
1680 "zlabel " | |
1681 "zlim "; | |
1682 /* "break case catch continue do else elseif end end_unwind_protect " | |
1683 "endfor endfunction endif endswitch endwhile for function " | |
1684 "global if otherwise persistent return switch try until " | |
1685 "unwind_protect unwind_protect_cleanup while"; | |
1686 */ | |
1687 } |