1 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * paragraph.C (String): use stringstream
5 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * paragraph.C (writeFile): remove footflag arg
9 * buffer.C (makeLaTeXFile): use stringstream
10 (latexParagraphs): remove footnot gurba
12 * LaTeXFeatures.C (getPackages): use stringstream
14 (getTClassPreamble): likewise
15 (getFloatDefinitions): new method
17 * paragraph.C (writeFile): reindent
20 * WorkArea.h: revert the xpos + etc changes.
22 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
24 * lyxparagraph.[Ch]: add copy constructor, remove Clone
26 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
27 (pasteSelection): likewise
28 * text2.C (CreateUndo): likewise
30 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
32 * minibuffer.C (peek_event): temporarily reduce the functionality
33 of the minibuffer (to allow args on lfuns)
35 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
36 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
38 * buffer.C (readInset): add compability reading of old float
39 lists, add reading of new style float list.
40 (readInset): avoid reevaluation of inscmd.getCmdName()
43 * MenuBackend.C (MenuItem): implement parsing of
44 md_floatlistinsert and md_floatinsert.
45 (expand::LastFiles): move initalizaton of iterators out of loop,
47 (expand::Documents): introduce typdedef vector<string> Strings,
49 (expand::ExportFormats): introduce typedef vector<Format const *>
51 (expand): implement FloatListInsert and FloatInsert.
53 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
54 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
55 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
57 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
59 (Dispatch::LFUN_FLOAT_LIST): implement
61 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
63 * LaTeX.C (run): Fix problem with --export code.
65 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
67 * BufferView.[Ch] (workarea): removed.
68 (getClipboard) new method; wrapper for workarea()->getClipboard()
70 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
73 * WorkArea.h (width, height, xpos, ypos): These methods all
74 returned the dimensions of the work_area sub-area of WorkArea,
75 resulting in a position error if the WorkArea were resized. Now
76 return the dimensions of the entire WorkArea.
78 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
80 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
82 * LaTeX.C (deplog): correct the syntax of regex reg1
84 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
86 * undo.C: remove !NEW_INSETS cruft
88 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
90 * text2.C: remove !NEW_INSETS cruft
92 * text.C: remove !NEW_INSETS cruft
94 * tabular.C: remove !NEW_INSETS cruft
96 * spellchecker.C: remove !NEW_INSETS cruft
98 * lyxtext.h: remove !NEW_INSETS cruft
100 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
102 * lyxfunc.C: remove !NEW_INSETS cruft
104 * lyxfind.C: remove !NEW_INSETS cruft
106 * lyx_cb.C: remove !NEW_INSETS cruft
108 * figureForm.C: remove !NEW_INSETS cruft
110 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
112 * buffer.[Ch]: remove !NEW_INSETS cruft
114 * ToolbarDefaults.C: remove !NEW_INSETS cruft
116 * CutAndPaste.C: remove !NEW_INSETS cruft
118 * BufferView_pimpl.C: remove !NEW_INSETS cruft
120 * BufferView2.C: remove !NEW_INSETS cruft
122 * BufferView.h: remove !NEW_INSETS cruft
124 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
126 * Lsstream.h: include LString.h before the sstream headers to
127 fix problem with gcc 2.95.3 and lyxstring
129 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
131 * lyx_main.C: add using directives when needed for C functions
132 declared in std:: namespace.
134 2001-04-27 Juergen Vigna <jug@sad.it>
136 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
137 (SetHeightOfRow): comment out the update call should not be needed!
139 2001-04-13 Juergen Vigna <jug@sad.it>
141 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
142 (LyXTabular): tried to minimize operator= operations (and realized
145 2001-04-27 Juergen Vigna <jug@sad.it>
147 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
149 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
151 * lyxfunc.C (Dispatch): hack to make listof algorithm work
153 * buffer.C (readInset): hack to make listof algorithm work
155 * BufferView_pimpl.C: hack to make listof algorithm work
157 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
159 * LyXAction.C: removed all !NEW_INSETS cruft
160 (init): moved lfun_item in method
162 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
164 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
166 * BufferView2.C (theLockingInset): white space.
168 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
170 * minibuffer.C: include <iostream>
172 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
174 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
176 * commandtags.h: add LFUN_TRANSPOSE_CHARS
178 * text.[Ch] (TransposeChars): new method
180 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * call message directly through LyXView instead of through LyXFunc
183 * BufferView2.C: adjust
184 * BufferView_pimpl.C: adjust
185 * FontLoader.C: adjust
187 * bufferview_funcs.C: adjust
188 * converter.C: adjust
189 * figureForm.C: adjust
192 * lyx_gui_misc.C: adjust
196 + more files in subdirs
198 * lyxparagraph.h (size): move up int file
201 * adjust all uses of Assert to lyx::Assert.
203 * BufferView2.C (ChangeCitationsIfUnique): adjust for
204 lyxfunctional in namespace lyx
205 * layout.C (hasLayout): ditto
208 (delete_layout): ditto
209 (NumberOfClass): ditto
210 * converter.C (GetFormat): ditto
215 * bufferlist.C (getFileNames): ditto
216 (emergencyWriteAll): ditto
219 * MenuBackend.C (hasSubmenu): ditto
222 * BufferView_pimpl.C (getInsetByCode): ditto
224 2001-04-18 Juergen Vigna <jug@sad.it>
226 * vspace.C (asLatexString): fixed the 100% problem.
228 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
230 * lyxfunc.C (Dispatch):
232 * minibuffer.h: add a few std:: qualifiers
234 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
236 * minibuffer.[Ch]: reimplement so that commands is initiated and
237 run from lyxfunc, simplified som handling, and made the completion
238 and history code for complete. wip.
240 * lyxfunc.C (processKeySym): call message
241 (miniDispatch): new temporary method
242 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
243 (LFUN_MESSAGE): implement
244 (LFUN_MESSAGE_PUSH): implement
245 (LFUN_MESSAGE_POP): implement
246 (initMiniBuffer): the initial/defualt minibuffer message.
248 * lyxfont.[Ch]: inline some more getters
250 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
252 * lyx_gui_misc.[Ch] (WriteStatus): remove method
254 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
255 (AutoSave): use LFUN_MESSAGE
258 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
260 * figureForm.C: use LFUN_MESSAGE
262 * converter.C (runLaTeX): use LFUN_MESSAGE
264 * bufferview_funcs.C: use LFUN_MESSAGE
268 * bufferparams.h: use boost::
270 * bufferlist.h: inherit privately from noncopyable
272 * bufferlist.C (loadLyXFile): remove some commented code.
274 * buffer.C (runChktex): use LFUN_MESSAGE
276 * ShareContainer.h: inherit privately from noncopyable
278 * ParagraphParameters.[hC] (depth): inline it.
280 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
282 (message): new method
285 (show): init minibuffer
286 (showState): direct call
288 * LaTeX.[Ch]: inherit privately from noncopyable
289 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
290 instead of WriteStatus.
292 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
294 * BufferView_pimpl.C (buffer): don't init minibuffer
295 (workAreaButtonPress): use LFUN_MESSAGE
296 (workAreaButtonRelease): ditto
297 (savePosition): ditto
298 (restorePosition): ditto
299 (MenuInsertLyXFile): ditto
300 (workAreaExpose): don't init minibuffer
301 (update): remove commented code, simplify
303 * BufferView2.C (openStuff): use LFUN_MESSAGE
307 (copyEnvironment): ditto
308 (pasteEnvironment): ditto
313 (updateInset): remove some commented code
315 * lastfiles.h: inherit privately from noncopyable
320 * lyxlex_pimpl.h: ditto
322 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
323 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
324 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
326 * LyXAction.h: inherit privately from noncopyable, add methods
327 func_begin, func_end, returning iterators to the func map.
329 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
330 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
331 (func_begin): new method
332 (func_end): new method
334 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
336 (copySelection): ditto
337 (pasteSelection): ditto
339 * BufferView.C: whitespace change
340 * BufferView.h: inherit privately from noncopyable
342 2001-04-16 Allan Rae <rae@lyx.org>
344 * tabular-old.C (l_getline):
345 * spellchecker.C (sc_check_word):
346 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
347 an unrecognised preprocessor directive. So ensure they're wrapped.
349 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
351 * src/exporter.C (Export): Give an error message when path to file
354 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
356 * LaTeX.C (deplog): Always check that foundfile exists.
358 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
361 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
363 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
365 * tabular.[Ch] (getLabelList): implement new method
367 * minibuffer.h: comment ouf setTiimer
369 * minibuffer.C (ExecutingCB): constify res
370 (peek_event): constify s
371 (Set): constify ntext
372 (Init): constify nicename
374 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
376 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
377 (savePosition): use two params to Minibuffer::Set
378 (restorePosition): ditto
380 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
382 * lyx_main.C: include language.h
384 * Makefile.am (lyx_main.o): add language.h
386 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * CutAndPaste.C: include gettext.h
394 * lyxfont.h: remove old hack with ON and OFF.
397 * lyxfont.h: do not include language.h...
402 * bufferview_funcs.C:
408 * paragraph.C: ... but do it here instead
410 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
412 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
414 * tabular.C: small reformat
416 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
419 (BreakParagraph): ditto
420 (SetOnlyLayout): ditto
423 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
426 * lastfiles.C: removed most using decl, add std:: where needed
428 * buffer.C: ws changes
430 * MenuBackend.C (class compare_format): put into anon namespace
431 (expand): constify label, names, action, action2
434 * text.C (SingleWidth): constify font
435 (IsBoundary): constify rtl2
436 (GetVisibleRow): constify ww
438 * LaTeX.C (deplog): constify logfile
440 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
442 (workAreaExpose): constify widthChange, heightChange
444 * lyxrow.C (par): moved
447 * lyxrow.h: as inlines here
449 * lyxfont.h (shape): moved from lyxfont.C
450 (emph): moved from lyxfont.C
452 * lyxfont.C (LyXFont): use initialization list for all
454 (shape): move to lyxfont.h as inline
455 (emph): move to lyxfont.h as inline
458 2001-04-04 Juergen Vigna <jug@sad.it>
460 * vspace.C: had to include stdio.h for use of sscanf
462 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
465 * BufferView_pimpl.h: remove xforms cruft. Both classes are
466 independent of xforms.
468 2001-04-02 Juergen Vigna <jug@sad.it>
470 * spellchecker.C: fixed namespace placing!
472 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
474 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
475 the LyXParagraph * is 0.
477 2001-03-29 Juergen Vigna <jug@sad.it>
479 * vspace.C: added support for %, c%, p%, l%.
480 (stringFromUnit): added helper function.
481 (asLatexString): changed to give right results for the %-values.
483 * buffer.C: convert the widthp in a width%.
485 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
487 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
490 * figureForm.[Ch]: stripped the FD_from_figure manipulation
491 code out of lux_cb.[Ch], ready for its (imminent?) removal.
493 * lyx_cb.[Ch]: see above.
495 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
499 * lyx.[Ch]: replaced by figure_form.[Ch].
503 * lyxfunc.C: changed headers associated with above changes.
505 2001-03-27 Juergen Vigna <jug@sad.it>
507 * BufferView_pimpl.C: set the temporary cursor right!
509 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
511 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
513 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
515 * LString.h: removed "using std::getline"!
517 * BufferView_pimpl.C (Dispatch): changes due to changes in
518 InsetInclude::Params.
520 * buffer.C (tag_name): removed redundant break statements as they were
521 producing lots of warnings with my compiler.
523 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
525 * LString.h: add "using std::getline" when using the real <string>.
527 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
529 * buffer.C: removed bitset usage.
530 PAR_TAG moved to an anonymous name space.
531 (tag_name): new funtion, also in the anonymous namespace.
532 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
533 (makeDocBookFile): clean code. Completed transition from string arrays
535 (SimpleDocBookOnePar): code clean.
537 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
539 * tabular.C: add some comments.
541 2001-03-22 Juergen Vigna <jug@sad.it>
543 * buffer.C (parseSingleLyXformat2Token): redone the minipage
544 compatibility read a bit and fixed bug with minipage in different
547 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
549 * buffer.C (pop_tag): removed.
551 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
552 array replaced with vector. Added support for CDATA sections.
553 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
555 (makeDocBookFile): XML conformant declaration of CDATA section,
556 fixed bug related to <emphasis> in the first paragraph char.
557 (sgmlOpenTag): exclude empty tags.
558 (sgmlCloseTag): ditto.
560 * buffer.h (pop_tag): removed.
563 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
565 * language.h (Languages): added size_type and size().
567 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
569 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
570 response on compability reading of minipages. One probliem is that
571 the old usage of minipages was «flertydig»
573 * several files here and in subdirs: don't use static at file
574 scope use anon namespaces instead.
576 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
578 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
579 LaTeX output. This is necessary for Literate document
582 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
584 * buffer.C: insert hfill when needed.
586 * tabular.C (l_getline): use string::erase, small whitespace change.
588 * BufferView_pimpl.C: try the anon namespace.
591 2001-03-16 Juergen Vigna <jug@sad.it>
593 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
594 otherwise it won't open options-dialogs.
596 * buffer.C: honor pextraWidth(p) on converting minipages.
598 * tabular.C (l_getline): changed the functions to strip trailing \r.
600 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
602 * BufferView_pimpl.C:
603 * minibuffer..C: added "using SigC::slot" declaration.
605 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
607 * lyxlex_pimpl.h: noncopyable is in namespace boost.
615 * lyxtext.h: NO_PEXTRA
617 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
619 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
620 * ParameterStruct.h: ditto
621 * ParagraphParameters.h: ditto
622 * lyxparagraph.h: ditto
624 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
626 * buffer.C: add compability for minipage alignment.
627 (latexParagraphs): remove unwanted pextra check.
629 * several files: remove CXX_WORKING_NAMESPACES
631 * buffer.C (pop_tag): tie is in namespace boost
633 * BufferView.h: noncopyable is in namespace boost
639 * bufferlist.h: ditto
640 * ShareContainer.h: ditto
645 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
647 * Merging changes from BRANCH_MVC back into HEAD.
649 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
651 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
653 * BufferView_pimpl.C: change from intl.C
657 * Makefile.am: move combox.*
663 * intl.C: remove dialog (covered by prefs)
665 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
667 * lyxfunc.C (Dispatch): removed redundant break statement.
669 2001-03-14 Juergen Vigna <jug@sad.it>
671 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
673 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
675 * buffer.C: add hack to fix compability reading of minipages.
677 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
679 * buffer.C (getLists): Cleanup.
681 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
683 * lyxfont.C (update): don't honor toggleall on font size.
685 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
689 * Makefile.am: moved to frontends/xforms/
693 * BufferView_pimpl.C: changes for moved mathpanel
695 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
697 * gettext.h: fix gettext_init() in --disable-nls
699 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
701 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
703 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
706 * lyx.h: strip external form
708 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
710 * BufferView_pimpl.C: add comment, destroySplash()
712 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
714 * BufferView_pimpl.C:
718 * lyxfunc.C: use re-worked insetinclude
720 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
722 * buffer.C: add using std::stringstream.
724 * lyx_cb.C: readd using std::ios.
726 * buffer.C: add using std::map.
728 * BufferView_pimpl.C: add using std::vector.
730 * ShareContainer.h: add std:: to swap.
732 * buffer.h: add some typedefs
733 * buffer.C (getLists): use them
734 (getLists): renamed from getTocList.
735 add a counter for the different float types and use it in the
737 (getLists): use the same counter for the NEW_INSETS and the "non"
740 * lyx_cb.h: remove unused items, includes, using etc.
742 * ShareContainer.h: remove some commented code, add more comments
745 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
747 * buffer.C (getTocList): make the list also when NEW_INSETS is
750 * buffer.h: remove TocType
752 * buffer.C (getTocList): change to return a map<string,
753 vector<TocItem> >, implement for dynamic number of list.
755 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
756 * text2.C (PasteSelection): adjust
757 * CutAndPaste.C (pasteSelection): adjust
759 * FloatList.C (FloatList): update from the new_insets branch.
760 * Floating.[Ch]: ditto
761 * LaTeXFeatures.C: ditto
763 * lyxlex_pimpl.C: ditto
765 * paragraph.C (Last): remove when NEW_INSETS is defined.
767 * other file: changes because of the above.
769 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
771 * lyxparagraph.h: rename next to next_, previous to previous_,
772 make them private for NEW_INSETS. Rename Next() to next(),
773 Previous() to previous().
775 * other files: changes because of the above.
777 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
780 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
783 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
785 * main.C (main): pass lyx_localedir to gettext_init().
787 * gettext.h: remove locale_init and gettext_init macros
789 * gettext.C (locale_init): new function
790 (gettext_init): new function
792 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
795 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
797 * Moved credits to frontends:
798 * credits.[Ch]: removed
799 * credits_form.[Ch]: removed
800 * lyx_gui_misc.C: remove credits stuff
803 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
805 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
807 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
810 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
811 a standalone pointer again.
813 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
815 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
830 * BufferView_pimpl.C: use new file dialog in GUII
833 * lyx_cb.C: remove LayoutsCB to Toolbar
835 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
837 * ShareContainer.h (get): add std:: qualifier
839 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
841 * ShareContainer.h: define a proper ShareContainer::value_type
842 type (and use typename to please compaq cxx)
844 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
846 * lyxparagraph.h: move serveral local vars to
847 ParameterStruct/ParagraphParameters., use ShareContainer in
848 FontTable., make vars in FontTable private and add getter and
851 * paragraph.C: changes because of the above.
853 * lyxfont.h: remove copy constructor and copy assignment. (the
854 default ones is ok), move number inside FontBits. move inlines to
857 * lyxfont.C: add number to initializaton of statics, move several
858 inlines here. constify several local vars. some whitespace
859 cleanup. Dont hide outerscope variables.
861 * Spacing.h: add two new constructors to match the set methods.
863 * ShareContainer.h: new file, will perhaps be moved to support
865 * ParameterStruct.h: new file
867 * ParagraphParameters.h: new file
869 * ParagraphParameters.C: new file
871 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
872 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
874 * BufferView_pimpl.C: ParagraphParameter changes.
875 * buffer.C: Likewise.
876 * bufferview_funcs.C: Likewise.
880 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
882 * lyxfind.C (LyXReplace): do not redefine default argument in
884 (IsStringInText): ditto
885 (SearchForward): ditto
886 (SearchBackward): ditto
888 2001-03-06 Juergen Vigna <jug@sad.it>
890 * lyxfind.C (IsStringInText): put parentes around expressions.
892 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
894 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
896 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
898 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
900 * stl_string_fwd.h: add comment
902 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
905 * tabular.C: remove unused DocBook methods
911 killed DO_USE_DEFAULT_LANGUAGE
913 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
915 * lyx_gui.C: do not include language.h.
917 * bufferview_funcs.C (ToggleAndShow): do not provide optional
918 arguments in function implementation.
920 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
922 * BufferView_pimpl.C: add <ctime>
924 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
926 * BufferView_pimpl.C: add using std::find_if
928 2001-02-27 José Matos <jamatos@fep.up.pt>
930 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
933 2001-02-11 José Matos <jamatos@fep.up.pt>
935 * buffer.C (makeDocBookFile): command styles now have a parameter as
938 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
940 * layout_forms.[Ch]: removed
941 * lyx_cb.[Ch]: out character
942 * lyx_gui.C: out character
943 * lyx_gui_misc.C: out character
944 * bufferview_funcs.C: : out character,
945 added toggleall as parameter in ToggleAndShow
947 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
949 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
951 * text2.C (SetCurrentFont): Disable number property at boundary.
953 2001-02-26 Juergen Vigna <jug@sad.it>
955 * lyxfunc.C (getStatus): added a string argument override function so
956 that this is correctly called from LyXFunc::Dispatch if it contains a
957 do_not_use_argument which is used!
958 (Dispatch): added check for "custom" export and call appropriate func.
960 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
962 * lyxrc.C: Add language_command_local, language_use_babel and
963 language_global_options.
965 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
967 * buffer.C (makeLaTeXFile): Use language_use_babel and
968 language_global_options.
970 2001-02-23 Juergen Vigna <jug@sad.it>
972 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
973 which works with LyXText and putted it inside BufferView. Here now we
974 only call for that part the BufferView::Dispatch() function.
976 * BufferView.C (Dispatch): added.
978 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
979 functions which needs to use a LyXText over from LyXFunc.
980 (MenuInsertLyXFile): added
981 (getInsetByCode): added
982 (moveCursorUpdate): added
985 2001-02-22 Juergen Vigna <jug@sad.it>
987 * BufferView_pimpl.C (update): call a status update to see if LyXText
990 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
992 * vc-backend.C (revert): implement for CVS
993 (getLog): implement for CVS
995 2001-02-20 Juergen Vigna <jug@sad.it>
997 * text2.C (ClearSelection): added BufferView param for inset_owner call
999 * lyxfunc.C (TEXT): added this function and use it instead of
1000 directly owner->view()-text of getLyXText().
1002 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1004 * src/layout_forms.C: out preamble
1005 * src/layout_forms.h: out preamble
1006 * src/lyx_cb.C: out preamble
1007 * src/lyx_cb.h: out preamble
1008 * src/lyx_gui.C: out preamble
1009 * src/lyx_gui_misc.C: out preamble
1010 * src/lyxfunc.C: connect with guii preamble
1012 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1014 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1016 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1018 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1019 whether to run bibtex.
1021 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1023 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1025 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1027 * Makefile.am (lyx_SOURCES): removed bibforms.h
1031 * text.C (GetVisibleRow): make several local vars const
1033 * tabular.C: small cleanup.
1035 * lyxserver.C (callback): use compare instead of strncmp
1037 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1038 inlines to after class or to paragraph.C
1040 * lyxfont.h: remove friend operator!=
1042 * converter.h: move friend bool operator< to non friend and after
1045 * combox.h: small cleanup
1047 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1048 to inlines after class def.
1050 * buffer.C (pop_tag): use string operations instead of strcmp
1052 * bmtable.c: doxygen, small cleanup
1054 * LaTeX.h: remove friend operator==
1056 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1068 * BufferView_pimpl.C:
1069 * BufferView.[Ch]: remove cruft
1071 2001-02-14 Juergen Vigna <jug@sad.it>
1073 * lyxfunc.C: removed #if 0 unused code
1075 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1077 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1079 * text2.C (SetSelection): added a BufferView * parameter
1081 2001-02-13 Juergen Vigna <jug@sad.it>
1083 * lyxfunc.C (Dispatch): fixed protected blank problem.
1084 * BufferView2.C (protectedBlank): added LyxText * parameter.
1086 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1087 (AppendColumn): same as above for column_info.
1089 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1090 (moveCursorUpdate): use a LyXText param for support of InsetText.
1092 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1093 (tripleClick): ditto
1095 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1097 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1099 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1101 * text2.C (SetSelection): set correct update status if inset_owner
1104 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1106 * tabular.C: remove some commented code.
1108 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1110 * BufferView_pimpl.C: call hideSplash()
1112 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1115 * bibforms.h: remove
1118 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1119 add LFUN_CHILD_CREATE
1121 * counters.h: fix tiny typo
1126 * lyx.C: move splash to frontends/xforms/
1128 * lyx_gui_misc.C: move Include and Bibform to frontends
1130 * lyxvc.h: clarify comment
1132 * vspace.C: tiny housekeeping
1134 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1136 * text.C (PrepareToPrint): RTL Fix.
1138 * paragraph.C (GetUChar): New method.
1139 (String): Use GetUChar.
1141 * buffer.C (asciiParagraph): Use GetUChar.
1143 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1145 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1147 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1150 * buffer.C: rename to getLogName(), handle
1151 build log / latex log nicely
1153 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1156 * MenuBackend.h: remove support for reference menuitem type.
1158 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1160 * BufferView_pimpl.C: housekeeping
1161 * BufferView_pimpl.h:
1166 * minibuffer.h: move Timeout GUI-I
1168 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1170 * lyxrc.C (read): Update converters data-structures.
1172 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1174 * LaTeX.h (operator!=): add operator != for Aux_Info
1176 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1178 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1180 * LaTeXLog.C: deleted, useful code moved to Buffer
1183 * buffer.C: new function getLatexLogName()
1189 * lyxfunc.C: use frontends for LaTeX and VC logs
1191 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1193 * LaTeX.h: yet another std:: that Allan forgot.
1195 * Variables.C (set): renamed from isset(), because this clashes
1196 with some HP-UX macros (grr).
1198 2001-02-06 Allan Rae <rae@lyx.org>
1200 * LaTeX.h: Another bug fix. Missing std:: this time.
1202 2001-02-04 Allan Rae <rae@lyx.org>
1204 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1205 floats problem. I've left it commented out because it's not quite
1206 correct. It should also test that the current object is a table or
1207 figure inset. But I haven't gotten around to figuring out how to do
1208 that. I *think* it'll be something like: "table" == inset.type()
1210 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1213 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1215 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1216 all the citation/databases/styles in the auxilary file.
1217 (run): Rerun latex if there was a babel language error.
1219 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1221 * text.C (Backspace): Preserve the font when changing newline char
1223 (BreakParagraph): If the cursor is before a space, delete the space.
1225 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1227 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1229 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1230 new argument (code).
1231 (ChangeCitationsIfUnique): New method.
1233 * paragraph.C (GetPositionOfInset): Handle bibkey.
1235 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1237 * BufferView_pimpl.h: change type of Position::par_pos to
1238 LyXParagraph::size_type.
1240 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1242 * BufferView_pimpl.C (savePosition, restorePosition): Write
1243 messages to minibuffer.
1245 2001-01-28 José Matos <jamatos@fep.up.pt>
1247 * buffer.C (makeDocBookFile): adds support for document language.
1248 A silly restriction on the name of LatexCommand types where removed.
1249 Added support for CDATA sections, allows to chars unescaped, used
1250 among others in code, to avoid escape < and >.
1252 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1254 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1255 saved positions instrad of a stack. Furthermore, a position is
1256 stored using paragraph id/paragraph position.
1258 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1259 Remove LFUN_REF_BACK.
1261 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1263 * converter.C (dvipdfm_options): New method.
1265 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1267 * vspace.C (isValidLength): Fix for empty input string.
1269 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1271 * LyXAction.C (init): change description of LFUN_FIGURE to
1274 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1276 * LaTeX.C: add using directive
1278 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1280 * MenuBackend.C (expand): Fix the sorting of the formats.
1282 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1284 * lyx_main.C: tiny error message fix
1286 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1288 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1289 calling fl_initialize(). This fixes the problem with ',' as
1290 decimal separator in text files.
1292 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1294 * trans.C (process): Fix the keymap bug.
1296 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1298 * LaTeX.C (scanAuxFiles): New method. Provides support for
1299 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1300 (scanLogFile) Scan for "run BibTeX" messages.
1302 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1303 OT1 font encoding. Also, load the aecompl package if the ae
1306 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1308 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1310 * texrow.C (increasePos): turn two error messages into debug
1313 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1315 * LaTeX.C (scanAux): Handle the \@input macro.
1316 (runBibTeX): Use scanAux().
1318 * language.C (latex_options_): New field.
1320 * LaTeXFeatures.C (getMacros): Add language macros.
1322 * buffer.C (makeLaTeXFile): Small fix.
1324 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1326 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1328 * text2.C: add a using directive.
1330 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1335 * lyxfunc.C: kill LyXBell.
1337 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1339 * text.C (IsBoundary): Remove the error message
1341 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1343 * lyxrc.C (setDefaults): Correct initialization value for
1346 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1348 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1351 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1354 * src/LyXAction.C: Added reference-next.
1356 * text.C (InsertChar): Use contains instead of strchr.
1358 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1360 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1362 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1363 alignment commands (when needed).
1365 * text.C (InsertChar): Add ':' to number separator chars.