1 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7 help test to "internal only", similar for LFUN_INSERT_URL
9 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11 auto_region_delete and deadkeys.
13 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16 * LColor.C: remove some dead entries, tidy a little
18 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
20 * lyxfunc.C (processKeySym): comment the Escape handling, remove
22 (Dispatch): implement LFUN_ESCAPE
24 * commandtags.h: add LFUN_ESCAPE
26 * LyXAction.C (init): add entry for LFUN_ESCAPE
28 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
29 Remove commented code.
30 (insertNote): moved here
31 (open_new_inset): moved here
33 * BufferView[2].[Ch]: move insertNote and open_new_inset to
36 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
38 * kbmap.C (findbinding): clean it up and make it work correctly.
40 * lyx_main.C (init): do not pass argc and argv as parameters
42 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
44 * buffer.C: fix path for OS/2 & Win32
48 * lyx_main.C: Added os:: class.
50 * os2_defines.h: update
52 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
54 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
55 better by trying again with reduced state.
57 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
59 * lyxrc.C (read): print error about invalid key sequence only when
60 debugging (because not all latinX keysyms are known to some X
63 * kbsequence.C (getiso): add a few std:: qualifiers
64 (getiso): comment out extra return statement.
66 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
68 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
70 (Dispatch): enhance the accent inset a bit. (not perfect)
72 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
74 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
76 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
78 * bufferlist.C (emergencyWrite): fix assert() call
80 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
82 * text.C (InsertChar): Added trivial patch to only send the "you
83 can not do multiple spaces this way" message once during a
86 2001-05-08 Baruch Even <baruch@lyx.org>
88 * Makefile.am: Changed order of libraries to get LyX to link properly
89 with the gnome frontend.
91 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
93 * LaTeXFeatures.h: add a std:: qualifier
95 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
97 * paragraph.C (String): use stringstream
99 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
101 * paragraph.C (writeFile): remove footflag arg
103 * buffer.C (makeLaTeXFile): use stringstream
104 (latexParagraphs): remove footnot gurba
106 * LaTeXFeatures.C (getPackages): use stringstream
107 (getMacros): likewise
108 (getTClassPreamble): likewise
109 (getFloatDefinitions): new method
111 * paragraph.C (writeFile): reindent
114 * WorkArea.h: revert the xpos + etc changes.
116 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
118 * lyxparagraph.[Ch]: add copy constructor, remove Clone
120 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
121 (pasteSelection): likewise
122 * text2.C (CreateUndo): likewise
124 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
126 * minibuffer.C (peek_event): temporarily reduce the functionality
127 of the minibuffer (to allow args on lfuns)
129 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
130 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
132 * buffer.C (readInset): add compability reading of old float
133 lists, add reading of new style float list.
134 (readInset): avoid reevaluation of inscmd.getCmdName()
137 * MenuBackend.C (MenuItem): implement parsing of
138 md_floatlistinsert and md_floatinsert.
139 (expand::LastFiles): move initalizaton of iterators out of loop,
141 (expand::Documents): introduce typdedef vector<string> Strings,
143 (expand::ExportFormats): introduce typedef vector<Format const *>
145 (expand): implement FloatListInsert and FloatInsert.
147 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
148 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
149 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
151 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
153 (Dispatch::LFUN_FLOAT_LIST): implement
155 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
157 * LaTeX.C (run): Fix problem with --export code.
159 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
161 * BufferView.[Ch] (workarea): removed.
162 (getClipboard) new method; wrapper for workarea()->getClipboard()
164 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
167 * WorkArea.h (width, height, xpos, ypos): These methods all
168 returned the dimensions of the work_area sub-area of WorkArea,
169 resulting in a position error if the WorkArea were resized. Now
170 return the dimensions of the entire WorkArea.
172 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
174 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
176 * LaTeX.C (deplog): correct the syntax of regex reg1
178 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * undo.C: remove !NEW_INSETS cruft
182 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
184 * text2.C: remove !NEW_INSETS cruft
186 * text.C: remove !NEW_INSETS cruft
188 * tabular.C: remove !NEW_INSETS cruft
190 * spellchecker.C: remove !NEW_INSETS cruft
192 * lyxtext.h: remove !NEW_INSETS cruft
194 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
196 * lyxfunc.C: remove !NEW_INSETS cruft
198 * lyxfind.C: remove !NEW_INSETS cruft
200 * lyx_cb.C: remove !NEW_INSETS cruft
202 * figureForm.C: remove !NEW_INSETS cruft
204 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
206 * buffer.[Ch]: remove !NEW_INSETS cruft
208 * ToolbarDefaults.C: remove !NEW_INSETS cruft
210 * CutAndPaste.C: remove !NEW_INSETS cruft
212 * BufferView_pimpl.C: remove !NEW_INSETS cruft
214 * BufferView2.C: remove !NEW_INSETS cruft
216 * BufferView.h: remove !NEW_INSETS cruft
218 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
220 * Lsstream.h: include LString.h before the sstream headers to
221 fix problem with gcc 2.95.3 and lyxstring
223 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
225 * lyx_main.C: add using directives when needed for C functions
226 declared in std:: namespace.
228 2001-04-27 Juergen Vigna <jug@sad.it>
230 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
231 (SetHeightOfRow): comment out the update call should not be needed!
233 2001-04-13 Juergen Vigna <jug@sad.it>
235 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
236 (LyXTabular): tried to minimize operator= operations (and realized
239 2001-04-27 Juergen Vigna <jug@sad.it>
241 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
243 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
245 * lyxfunc.C (Dispatch): hack to make listof algorithm work
247 * buffer.C (readInset): hack to make listof algorithm work
249 * BufferView_pimpl.C: hack to make listof algorithm work
251 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
253 * LyXAction.C: removed all !NEW_INSETS cruft
254 (init): moved lfun_item in method
256 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
258 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
260 * BufferView2.C (theLockingInset): white space.
262 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
264 * minibuffer.C: include <iostream>
266 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
268 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
270 * commandtags.h: add LFUN_TRANSPOSE_CHARS
272 * text.[Ch] (TransposeChars): new method
274 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
276 * call message directly through LyXView instead of through LyXFunc
277 * BufferView2.C: adjust
278 * BufferView_pimpl.C: adjust
279 * FontLoader.C: adjust
281 * bufferview_funcs.C: adjust
282 * converter.C: adjust
283 * figureForm.C: adjust
286 * lyx_gui_misc.C: adjust
290 + more files in subdirs
292 * lyxparagraph.h (size): move up int file
295 * adjust all uses of Assert to lyx::Assert.
297 * BufferView2.C (ChangeCitationsIfUnique): adjust for
298 lyxfunctional in namespace lyx
299 * layout.C (hasLayout): ditto
302 (delete_layout): ditto
303 (NumberOfClass): ditto
304 * converter.C (GetFormat): ditto
309 * bufferlist.C (getFileNames): ditto
310 (emergencyWriteAll): ditto
313 * MenuBackend.C (hasSubmenu): ditto
316 * BufferView_pimpl.C (getInsetByCode): ditto
318 2001-04-18 Juergen Vigna <jug@sad.it>
320 * vspace.C (asLatexString): fixed the 100% problem.
322 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
324 * lyxfunc.C (Dispatch):
326 * minibuffer.h: add a few std:: qualifiers
328 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
330 * minibuffer.[Ch]: reimplement so that commands is initiated and
331 run from lyxfunc, simplified som handling, and made the completion
332 and history code for complete. wip.
334 * lyxfunc.C (processKeySym): call message
335 (miniDispatch): new temporary method
336 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
337 (LFUN_MESSAGE): implement
338 (LFUN_MESSAGE_PUSH): implement
339 (LFUN_MESSAGE_POP): implement
340 (initMiniBuffer): the initial/defualt minibuffer message.
342 * lyxfont.[Ch]: inline some more getters
344 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
346 * lyx_gui_misc.[Ch] (WriteStatus): remove method
348 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
349 (AutoSave): use LFUN_MESSAGE
352 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
354 * figureForm.C: use LFUN_MESSAGE
356 * converter.C (runLaTeX): use LFUN_MESSAGE
358 * bufferview_funcs.C: use LFUN_MESSAGE
362 * bufferparams.h: use boost::
364 * bufferlist.h: inherit privately from noncopyable
366 * bufferlist.C (loadLyXFile): remove some commented code.
368 * buffer.C (runChktex): use LFUN_MESSAGE
370 * ShareContainer.h: inherit privately from noncopyable
372 * ParagraphParameters.[hC] (depth): inline it.
374 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
376 (message): new method
379 (show): init minibuffer
380 (showState): direct call
382 * LaTeX.[Ch]: inherit privately from noncopyable
383 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
384 instead of WriteStatus.
386 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
388 * BufferView_pimpl.C (buffer): don't init minibuffer
389 (workAreaButtonPress): use LFUN_MESSAGE
390 (workAreaButtonRelease): ditto
391 (savePosition): ditto
392 (restorePosition): ditto
393 (MenuInsertLyXFile): ditto
394 (workAreaExpose): don't init minibuffer
395 (update): remove commented code, simplify
397 * BufferView2.C (openStuff): use LFUN_MESSAGE
401 (copyEnvironment): ditto
402 (pasteEnvironment): ditto
407 (updateInset): remove some commented code
409 * lastfiles.h: inherit privately from noncopyable
414 * lyxlex_pimpl.h: ditto
416 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
417 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
418 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
420 * LyXAction.h: inherit privately from noncopyable, add methods
421 func_begin, func_end, returning iterators to the func map.
423 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
424 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
425 (func_begin): new method
426 (func_end): new method
428 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
430 (copySelection): ditto
431 (pasteSelection): ditto
433 * BufferView.C: whitespace change
434 * BufferView.h: inherit privately from noncopyable
436 2001-04-16 Allan Rae <rae@lyx.org>
438 * tabular-old.C (l_getline):
439 * spellchecker.C (sc_check_word):
440 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
441 an unrecognised preprocessor directive. So ensure they're wrapped.
443 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
445 * src/exporter.C (Export): Give an error message when path to file
448 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
450 * LaTeX.C (deplog): Always check that foundfile exists.
452 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
455 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
457 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
459 * tabular.[Ch] (getLabelList): implement new method
461 * minibuffer.h: comment ouf setTiimer
463 * minibuffer.C (ExecutingCB): constify res
464 (peek_event): constify s
465 (Set): constify ntext
466 (Init): constify nicename
468 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
470 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
471 (savePosition): use two params to Minibuffer::Set
472 (restorePosition): ditto
474 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
476 * lyx_main.C: include language.h
478 * Makefile.am (lyx_main.o): add language.h
480 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
486 * CutAndPaste.C: include gettext.h
488 * lyxfont.h: remove old hack with ON and OFF.
491 * lyxfont.h: do not include language.h...
496 * bufferview_funcs.C:
502 * paragraph.C: ... but do it here instead
504 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
506 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
508 * tabular.C: small reformat
510 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
513 (BreakParagraph): ditto
514 (SetOnlyLayout): ditto
517 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
520 * lastfiles.C: removed most using decl, add std:: where needed
522 * buffer.C: ws changes
524 * MenuBackend.C (class compare_format): put into anon namespace
525 (expand): constify label, names, action, action2
528 * text.C (SingleWidth): constify font
529 (IsBoundary): constify rtl2
530 (GetVisibleRow): constify ww
532 * LaTeX.C (deplog): constify logfile
534 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
536 (workAreaExpose): constify widthChange, heightChange
538 * lyxrow.C (par): moved
541 * lyxrow.h: as inlines here
543 * lyxfont.h (shape): moved from lyxfont.C
544 (emph): moved from lyxfont.C
546 * lyxfont.C (LyXFont): use initialization list for all
548 (shape): move to lyxfont.h as inline
549 (emph): move to lyxfont.h as inline
552 2001-04-04 Juergen Vigna <jug@sad.it>
554 * vspace.C: had to include stdio.h for use of sscanf
556 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
559 * BufferView_pimpl.h: remove xforms cruft. Both classes are
560 independent of xforms.
562 2001-04-02 Juergen Vigna <jug@sad.it>
564 * spellchecker.C: fixed namespace placing!
566 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
568 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
569 the LyXParagraph * is 0.
571 2001-03-29 Juergen Vigna <jug@sad.it>
573 * vspace.C: added support for %, c%, p%, l%.
574 (stringFromUnit): added helper function.
575 (asLatexString): changed to give right results for the %-values.
577 * buffer.C: convert the widthp in a width%.
579 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
581 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
584 * figureForm.[Ch]: stripped the FD_from_figure manipulation
585 code out of lux_cb.[Ch], ready for its (imminent?) removal.
587 * lyx_cb.[Ch]: see above.
589 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
593 * lyx.[Ch]: replaced by figure_form.[Ch].
597 * lyxfunc.C: changed headers associated with above changes.
599 2001-03-27 Juergen Vigna <jug@sad.it>
601 * BufferView_pimpl.C: set the temporary cursor right!
603 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
605 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
607 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
609 * LString.h: removed "using std::getline"!
611 * BufferView_pimpl.C (Dispatch): changes due to changes in
612 InsetInclude::Params.
614 * buffer.C (tag_name): removed redundant break statements as they were
615 producing lots of warnings with my compiler.
617 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
619 * LString.h: add "using std::getline" when using the real <string>.
621 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
623 * buffer.C: removed bitset usage.
624 PAR_TAG moved to an anonymous name space.
625 (tag_name): new funtion, also in the anonymous namespace.
626 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
627 (makeDocBookFile): clean code. Completed transition from string arrays
629 (SimpleDocBookOnePar): code clean.
631 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
633 * tabular.C: add some comments.
635 2001-03-22 Juergen Vigna <jug@sad.it>
637 * buffer.C (parseSingleLyXformat2Token): redone the minipage
638 compatibility read a bit and fixed bug with minipage in different
641 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
643 * buffer.C (pop_tag): removed.
645 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
646 array replaced with vector. Added support for CDATA sections.
647 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
649 (makeDocBookFile): XML conformant declaration of CDATA section,
650 fixed bug related to <emphasis> in the first paragraph char.
651 (sgmlOpenTag): exclude empty tags.
652 (sgmlCloseTag): ditto.
654 * buffer.h (pop_tag): removed.
657 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
659 * language.h (Languages): added size_type and size().
661 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
663 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
664 response on compability reading of minipages. One probliem is that
665 the old usage of minipages was «flertydig»
667 * several files here and in subdirs: don't use static at file
668 scope use anon namespaces instead.
670 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
672 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
673 LaTeX output. This is necessary for Literate document
676 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
678 * buffer.C: insert hfill when needed.
680 * tabular.C (l_getline): use string::erase, small whitespace change.
682 * BufferView_pimpl.C: try the anon namespace.
685 2001-03-16 Juergen Vigna <jug@sad.it>
687 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
688 otherwise it won't open options-dialogs.
690 * buffer.C: honor pextraWidth(p) on converting minipages.
692 * tabular.C (l_getline): changed the functions to strip trailing \r.
694 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
696 * BufferView_pimpl.C:
697 * minibuffer..C: added "using SigC::slot" declaration.
699 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
701 * lyxlex_pimpl.h: noncopyable is in namespace boost.
709 * lyxtext.h: NO_PEXTRA
711 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
713 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
714 * ParameterStruct.h: ditto
715 * ParagraphParameters.h: ditto
716 * lyxparagraph.h: ditto
718 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
720 * buffer.C: add compability for minipage alignment.
721 (latexParagraphs): remove unwanted pextra check.
723 * several files: remove CXX_WORKING_NAMESPACES
725 * buffer.C (pop_tag): tie is in namespace boost
727 * BufferView.h: noncopyable is in namespace boost
733 * bufferlist.h: ditto
734 * ShareContainer.h: ditto
739 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
741 * Merging changes from BRANCH_MVC back into HEAD.
743 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
745 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
747 * BufferView_pimpl.C: change from intl.C
751 * Makefile.am: move combox.*
757 * intl.C: remove dialog (covered by prefs)
759 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
761 * lyxfunc.C (Dispatch): removed redundant break statement.
763 2001-03-14 Juergen Vigna <jug@sad.it>
765 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
767 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
769 * buffer.C: add hack to fix compability reading of minipages.
771 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
773 * buffer.C (getLists): Cleanup.
775 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
777 * lyxfont.C (update): don't honor toggleall on font size.
779 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
783 * Makefile.am: moved to frontends/xforms/
787 * BufferView_pimpl.C: changes for moved mathpanel
789 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
791 * gettext.h: fix gettext_init() in --disable-nls
793 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
795 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
797 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
800 * lyx.h: strip external form
802 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
804 * BufferView_pimpl.C: add comment, destroySplash()
806 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
808 * BufferView_pimpl.C:
812 * lyxfunc.C: use re-worked insetinclude
814 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
816 * buffer.C: add using std::stringstream.
818 * lyx_cb.C: readd using std::ios.
820 * buffer.C: add using std::map.
822 * BufferView_pimpl.C: add using std::vector.
824 * ShareContainer.h: add std:: to swap.
826 * buffer.h: add some typedefs
827 * buffer.C (getLists): use them
828 (getLists): renamed from getTocList.
829 add a counter for the different float types and use it in the
831 (getLists): use the same counter for the NEW_INSETS and the "non"
834 * lyx_cb.h: remove unused items, includes, using etc.
836 * ShareContainer.h: remove some commented code, add more comments
839 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
841 * buffer.C (getTocList): make the list also when NEW_INSETS is
844 * buffer.h: remove TocType
846 * buffer.C (getTocList): change to return a map<string,
847 vector<TocItem> >, implement for dynamic number of list.
849 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
850 * text2.C (PasteSelection): adjust
851 * CutAndPaste.C (pasteSelection): adjust
853 * FloatList.C (FloatList): update from the new_insets branch.
854 * Floating.[Ch]: ditto
855 * LaTeXFeatures.C: ditto
857 * lyxlex_pimpl.C: ditto
859 * paragraph.C (Last): remove when NEW_INSETS is defined.
861 * other file: changes because of the above.
863 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
865 * lyxparagraph.h: rename next to next_, previous to previous_,
866 make them private for NEW_INSETS. Rename Next() to next(),
867 Previous() to previous().
869 * other files: changes because of the above.
871 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
874 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
877 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
879 * main.C (main): pass lyx_localedir to gettext_init().
881 * gettext.h: remove locale_init and gettext_init macros
883 * gettext.C (locale_init): new function
884 (gettext_init): new function
886 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
889 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
891 * Moved credits to frontends:
892 * credits.[Ch]: removed
893 * credits_form.[Ch]: removed
894 * lyx_gui_misc.C: remove credits stuff
897 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
899 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
901 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
904 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
905 a standalone pointer again.
907 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
909 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
924 * BufferView_pimpl.C: use new file dialog in GUII
927 * lyx_cb.C: remove LayoutsCB to Toolbar
929 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
931 * ShareContainer.h (get): add std:: qualifier
933 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
935 * ShareContainer.h: define a proper ShareContainer::value_type
936 type (and use typename to please compaq cxx)
938 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
940 * lyxparagraph.h: move serveral local vars to
941 ParameterStruct/ParagraphParameters., use ShareContainer in
942 FontTable., make vars in FontTable private and add getter and
945 * paragraph.C: changes because of the above.
947 * lyxfont.h: remove copy constructor and copy assignment. (the
948 default ones is ok), move number inside FontBits. move inlines to
951 * lyxfont.C: add number to initializaton of statics, move several
952 inlines here. constify several local vars. some whitespace
953 cleanup. Dont hide outerscope variables.
955 * Spacing.h: add two new constructors to match the set methods.
957 * ShareContainer.h: new file, will perhaps be moved to support
959 * ParameterStruct.h: new file
961 * ParagraphParameters.h: new file
963 * ParagraphParameters.C: new file
965 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
966 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
968 * BufferView_pimpl.C: ParagraphParameter changes.
969 * buffer.C: Likewise.
970 * bufferview_funcs.C: Likewise.
974 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
976 * lyxfind.C (LyXReplace): do not redefine default argument in
978 (IsStringInText): ditto
979 (SearchForward): ditto
980 (SearchBackward): ditto
982 2001-03-06 Juergen Vigna <jug@sad.it>
984 * lyxfind.C (IsStringInText): put parentes around expressions.
986 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
988 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
990 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
992 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
994 * stl_string_fwd.h: add comment
996 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
999 * tabular.C: remove unused DocBook methods
1005 killed DO_USE_DEFAULT_LANGUAGE
1007 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1009 * lyx_gui.C: do not include language.h.
1011 * bufferview_funcs.C (ToggleAndShow): do not provide optional
1012 arguments in function implementation.
1014 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1016 * BufferView_pimpl.C: add <ctime>
1018 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1020 * BufferView_pimpl.C: add using std::find_if
1022 2001-02-27 José Matos <jamatos@fep.up.pt>
1024 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1027 2001-02-11 José Matos <jamatos@fep.up.pt>
1029 * buffer.C (makeDocBookFile): command styles now have a parameter as
1032 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
1034 * layout_forms.[Ch]: removed
1035 * lyx_cb.[Ch]: out character
1036 * lyx_gui.C: out character
1037 * lyx_gui_misc.C: out character
1038 * bufferview_funcs.C: : out character,
1039 added toggleall as parameter in ToggleAndShow
1041 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
1043 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1045 * text2.C (SetCurrentFont): Disable number property at boundary.
1047 2001-02-26 Juergen Vigna <jug@sad.it>
1049 * lyxfunc.C (getStatus): added a string argument override function so
1050 that this is correctly called from LyXFunc::Dispatch if it contains a
1051 do_not_use_argument which is used!
1052 (Dispatch): added check for "custom" export and call appropriate func.
1054 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1056 * lyxrc.C: Add language_command_local, language_use_babel and
1057 language_global_options.
1059 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1061 * buffer.C (makeLaTeXFile): Use language_use_babel and
1062 language_global_options.
1064 2001-02-23 Juergen Vigna <jug@sad.it>
1066 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1067 which works with LyXText and putted it inside BufferView. Here now we
1068 only call for that part the BufferView::Dispatch() function.
1070 * BufferView.C (Dispatch): added.
1072 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1073 functions which needs to use a LyXText over from LyXFunc.
1074 (MenuInsertLyXFile): added
1075 (getInsetByCode): added
1076 (moveCursorUpdate): added
1077 (static TEXT): added
1079 2001-02-22 Juergen Vigna <jug@sad.it>
1081 * BufferView_pimpl.C (update): call a status update to see if LyXText
1084 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1086 * vc-backend.C (revert): implement for CVS
1087 (getLog): implement for CVS
1089 2001-02-20 Juergen Vigna <jug@sad.it>
1091 * text2.C (ClearSelection): added BufferView param for inset_owner call
1093 * lyxfunc.C (TEXT): added this function and use it instead of
1094 directly owner->view()-text of getLyXText().
1096 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1098 * src/layout_forms.C: out preamble
1099 * src/layout_forms.h: out preamble
1100 * src/lyx_cb.C: out preamble
1101 * src/lyx_cb.h: out preamble
1102 * src/lyx_gui.C: out preamble
1103 * src/lyx_gui_misc.C: out preamble
1104 * src/lyxfunc.C: connect with guii preamble
1106 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1108 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1110 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1112 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1113 whether to run bibtex.
1115 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1117 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1119 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1121 * Makefile.am (lyx_SOURCES): removed bibforms.h
1125 * text.C (GetVisibleRow): make several local vars const
1127 * tabular.C: small cleanup.
1129 * lyxserver.C (callback): use compare instead of strncmp
1131 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1132 inlines to after class or to paragraph.C
1134 * lyxfont.h: remove friend operator!=
1136 * converter.h: move friend bool operator< to non friend and after
1139 * combox.h: small cleanup
1141 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1142 to inlines after class def.
1144 * buffer.C (pop_tag): use string operations instead of strcmp
1146 * bmtable.c: doxygen, small cleanup
1148 * LaTeX.h: remove friend operator==
1150 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1162 * BufferView_pimpl.C:
1163 * BufferView.[Ch]: remove cruft
1165 2001-02-14 Juergen Vigna <jug@sad.it>
1167 * lyxfunc.C: removed #if 0 unused code
1169 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1171 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1173 * text2.C (SetSelection): added a BufferView * parameter
1175 2001-02-13 Juergen Vigna <jug@sad.it>
1177 * lyxfunc.C (Dispatch): fixed protected blank problem.
1178 * BufferView2.C (protectedBlank): added LyxText * parameter.
1180 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1181 (AppendColumn): same as above for column_info.
1183 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1184 (moveCursorUpdate): use a LyXText param for support of InsetText.
1186 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1187 (tripleClick): ditto
1189 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1191 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1193 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1195 * text2.C (SetSelection): set correct update status if inset_owner
1198 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1200 * tabular.C: remove some commented code.
1202 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1204 * BufferView_pimpl.C: call hideSplash()
1206 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1209 * bibforms.h: remove
1212 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1213 add LFUN_CHILD_CREATE
1215 * counters.h: fix tiny typo
1220 * lyx.C: move splash to frontends/xforms/
1222 * lyx_gui_misc.C: move Include and Bibform to frontends
1224 * lyxvc.h: clarify comment
1226 * vspace.C: tiny housekeeping
1228 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1230 * text.C (PrepareToPrint): RTL Fix.
1232 * paragraph.C (GetUChar): New method.
1233 (String): Use GetUChar.
1235 * buffer.C (asciiParagraph): Use GetUChar.
1237 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1239 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1241 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1244 * buffer.C: rename to getLogName(), handle
1245 build log / latex log nicely
1247 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1250 * MenuBackend.h: remove support for reference menuitem type.
1252 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1254 * BufferView_pimpl.C: housekeeping
1255 * BufferView_pimpl.h:
1260 * minibuffer.h: move Timeout GUI-I
1262 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1264 * lyxrc.C (read): Update converters data-structures.
1266 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1268 * LaTeX.h (operator!=): add operator != for Aux_Info
1270 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1272 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1274 * LaTeXLog.C: deleted, useful code moved to Buffer
1277 * buffer.C: new function getLatexLogName()
1283 * lyxfunc.C: use frontends for LaTeX and VC logs
1285 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1287 * LaTeX.h: yet another std:: that Allan forgot.
1289 * Variables.C (set): renamed from isset(), because this clashes
1290 with some HP-UX macros (grr).
1292 2001-02-06 Allan Rae <rae@lyx.org>
1294 * LaTeX.h: Another bug fix. Missing std:: this time.
1296 2001-02-04 Allan Rae <rae@lyx.org>
1298 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1299 floats problem. I've left it commented out because it's not quite
1300 correct. It should also test that the current object is a table or
1301 figure inset. But I haven't gotten around to figuring out how to do
1302 that. I *think* it'll be something like: "table" == inset.type()
1304 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1307 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1309 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1310 all the citation/databases/styles in the auxilary file.
1311 (run): Rerun latex if there was a babel language error.
1313 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1315 * text.C (Backspace): Preserve the font when changing newline char
1317 (BreakParagraph): If the cursor is before a space, delete the space.
1319 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1321 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1323 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1324 new argument (code).
1325 (ChangeCitationsIfUnique): New method.
1327 * paragraph.C (GetPositionOfInset): Handle bibkey.
1329 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1331 * BufferView_pimpl.h: change type of Position::par_pos to
1332 LyXParagraph::size_type.
1334 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1336 * BufferView_pimpl.C (savePosition, restorePosition): Write
1337 messages to minibuffer.
1339 2001-01-28 José Matos <jamatos@fep.up.pt>
1341 * buffer.C (makeDocBookFile): adds support for document language.
1342 A silly restriction on the name of LatexCommand types where removed.
1343 Added support for CDATA sections, allows to chars unescaped, used
1344 among others in code, to avoid escape < and >.
1346 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1348 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1349 saved positions instrad of a stack. Furthermore, a position is
1350 stored using paragraph id/paragraph position.
1352 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1353 Remove LFUN_REF_BACK.
1355 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1357 * converter.C (dvipdfm_options): New method.
1359 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1361 * vspace.C (isValidLength): Fix for empty input string.
1363 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1365 * LyXAction.C (init): change description of LFUN_FIGURE to
1368 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1370 * LaTeX.C: add using directive
1372 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1374 * MenuBackend.C (expand): Fix the sorting of the formats.
1376 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1378 * lyx_main.C: tiny error message fix
1380 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1382 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1383 calling fl_initialize(). This fixes the problem with ',' as
1384 decimal separator in text files.
1386 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1388 * trans.C (process): Fix the keymap bug.
1390 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1392 * LaTeX.C (scanAuxFiles): New method. Provides support for
1393 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1394 (scanLogFile) Scan for "run BibTeX" messages.
1396 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1397 OT1 font encoding. Also, load the aecompl package if the ae
1400 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1402 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1404 * texrow.C (increasePos): turn two error messages into debug
1407 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1409 * LaTeX.C (scanAux): Handle the \@input macro.
1410 (runBibTeX): Use scanAux().
1412 * language.C (latex_options_): New field.
1414 * LaTeXFeatures.C (getMacros): Add language macros.
1416 * buffer.C (makeLaTeXFile): Small fix.
1418 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1420 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1422 * text2.C: add a using directive.
1424 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1429 * lyxfunc.C: kill LyXBell.
1431 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1433 * text.C (IsBoundary): Remove the error message
1435 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1437 * lyxrc.C (setDefaults): Correct initialization value for
1440 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1442 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1445 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1448 * src/LyXAction.C: Added reference-next.
1450 * text.C (InsertChar): Use contains instead of strchr.
1452 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1454 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1456 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1457 alignment commands (when needed).
1459 * text.C (InsertChar): Add ':' to number separator chars.