1 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * bufferlist.C (emergencyWrite): fix assert() call
5 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
7 * text.C (InsertChar): Added trivial patch to only send the "you
8 can not do multiple spaces this way" message once during a
11 2001-05-08 Baruch Even <baruch@lyx.org>
13 * Makefile.am: Changed order of libraries to get LyX to link properly
14 with the gnome frontend.
16 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18 * LaTeXFeatures.h: add a std:: qualifier
20 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
22 * paragraph.C (String): use stringstream
24 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * paragraph.C (writeFile): remove footflag arg
28 * buffer.C (makeLaTeXFile): use stringstream
29 (latexParagraphs): remove footnot gurba
31 * LaTeXFeatures.C (getPackages): use stringstream
33 (getTClassPreamble): likewise
34 (getFloatDefinitions): new method
36 * paragraph.C (writeFile): reindent
39 * WorkArea.h: revert the xpos + etc changes.
41 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
43 * lyxparagraph.[Ch]: add copy constructor, remove Clone
45 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
46 (pasteSelection): likewise
47 * text2.C (CreateUndo): likewise
49 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * minibuffer.C (peek_event): temporarily reduce the functionality
52 of the minibuffer (to allow args on lfuns)
54 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
55 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
57 * buffer.C (readInset): add compability reading of old float
58 lists, add reading of new style float list.
59 (readInset): avoid reevaluation of inscmd.getCmdName()
62 * MenuBackend.C (MenuItem): implement parsing of
63 md_floatlistinsert and md_floatinsert.
64 (expand::LastFiles): move initalizaton of iterators out of loop,
66 (expand::Documents): introduce typdedef vector<string> Strings,
68 (expand::ExportFormats): introduce typedef vector<Format const *>
70 (expand): implement FloatListInsert and FloatInsert.
72 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
73 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
74 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
76 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
78 (Dispatch::LFUN_FLOAT_LIST): implement
80 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
82 * LaTeX.C (run): Fix problem with --export code.
84 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
86 * BufferView.[Ch] (workarea): removed.
87 (getClipboard) new method; wrapper for workarea()->getClipboard()
89 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
92 * WorkArea.h (width, height, xpos, ypos): These methods all
93 returned the dimensions of the work_area sub-area of WorkArea,
94 resulting in a position error if the WorkArea were resized. Now
95 return the dimensions of the entire WorkArea.
97 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
99 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
101 * LaTeX.C (deplog): correct the syntax of regex reg1
103 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * undo.C: remove !NEW_INSETS cruft
107 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
109 * text2.C: remove !NEW_INSETS cruft
111 * text.C: remove !NEW_INSETS cruft
113 * tabular.C: remove !NEW_INSETS cruft
115 * spellchecker.C: remove !NEW_INSETS cruft
117 * lyxtext.h: remove !NEW_INSETS cruft
119 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
121 * lyxfunc.C: remove !NEW_INSETS cruft
123 * lyxfind.C: remove !NEW_INSETS cruft
125 * lyx_cb.C: remove !NEW_INSETS cruft
127 * figureForm.C: remove !NEW_INSETS cruft
129 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
131 * buffer.[Ch]: remove !NEW_INSETS cruft
133 * ToolbarDefaults.C: remove !NEW_INSETS cruft
135 * CutAndPaste.C: remove !NEW_INSETS cruft
137 * BufferView_pimpl.C: remove !NEW_INSETS cruft
139 * BufferView2.C: remove !NEW_INSETS cruft
141 * BufferView.h: remove !NEW_INSETS cruft
143 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
145 * Lsstream.h: include LString.h before the sstream headers to
146 fix problem with gcc 2.95.3 and lyxstring
148 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
150 * lyx_main.C: add using directives when needed for C functions
151 declared in std:: namespace.
153 2001-04-27 Juergen Vigna <jug@sad.it>
155 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
156 (SetHeightOfRow): comment out the update call should not be needed!
158 2001-04-13 Juergen Vigna <jug@sad.it>
160 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
161 (LyXTabular): tried to minimize operator= operations (and realized
164 2001-04-27 Juergen Vigna <jug@sad.it>
166 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
168 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
170 * lyxfunc.C (Dispatch): hack to make listof algorithm work
172 * buffer.C (readInset): hack to make listof algorithm work
174 * BufferView_pimpl.C: hack to make listof algorithm work
176 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * LyXAction.C: removed all !NEW_INSETS cruft
179 (init): moved lfun_item in method
181 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
183 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
185 * BufferView2.C (theLockingInset): white space.
187 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
189 * minibuffer.C: include <iostream>
191 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
193 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
195 * commandtags.h: add LFUN_TRANSPOSE_CHARS
197 * text.[Ch] (TransposeChars): new method
199 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
201 * call message directly through LyXView instead of through LyXFunc
202 * BufferView2.C: adjust
203 * BufferView_pimpl.C: adjust
204 * FontLoader.C: adjust
206 * bufferview_funcs.C: adjust
207 * converter.C: adjust
208 * figureForm.C: adjust
211 * lyx_gui_misc.C: adjust
215 + more files in subdirs
217 * lyxparagraph.h (size): move up int file
220 * adjust all uses of Assert to lyx::Assert.
222 * BufferView2.C (ChangeCitationsIfUnique): adjust for
223 lyxfunctional in namespace lyx
224 * layout.C (hasLayout): ditto
227 (delete_layout): ditto
228 (NumberOfClass): ditto
229 * converter.C (GetFormat): ditto
234 * bufferlist.C (getFileNames): ditto
235 (emergencyWriteAll): ditto
238 * MenuBackend.C (hasSubmenu): ditto
241 * BufferView_pimpl.C (getInsetByCode): ditto
243 2001-04-18 Juergen Vigna <jug@sad.it>
245 * vspace.C (asLatexString): fixed the 100% problem.
247 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
249 * lyxfunc.C (Dispatch):
251 * minibuffer.h: add a few std:: qualifiers
253 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
255 * minibuffer.[Ch]: reimplement so that commands is initiated and
256 run from lyxfunc, simplified som handling, and made the completion
257 and history code for complete. wip.
259 * lyxfunc.C (processKeySym): call message
260 (miniDispatch): new temporary method
261 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
262 (LFUN_MESSAGE): implement
263 (LFUN_MESSAGE_PUSH): implement
264 (LFUN_MESSAGE_POP): implement
265 (initMiniBuffer): the initial/defualt minibuffer message.
267 * lyxfont.[Ch]: inline some more getters
269 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
271 * lyx_gui_misc.[Ch] (WriteStatus): remove method
273 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
274 (AutoSave): use LFUN_MESSAGE
277 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
279 * figureForm.C: use LFUN_MESSAGE
281 * converter.C (runLaTeX): use LFUN_MESSAGE
283 * bufferview_funcs.C: use LFUN_MESSAGE
287 * bufferparams.h: use boost::
289 * bufferlist.h: inherit privately from noncopyable
291 * bufferlist.C (loadLyXFile): remove some commented code.
293 * buffer.C (runChktex): use LFUN_MESSAGE
295 * ShareContainer.h: inherit privately from noncopyable
297 * ParagraphParameters.[hC] (depth): inline it.
299 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
301 (message): new method
304 (show): init minibuffer
305 (showState): direct call
307 * LaTeX.[Ch]: inherit privately from noncopyable
308 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
309 instead of WriteStatus.
311 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
313 * BufferView_pimpl.C (buffer): don't init minibuffer
314 (workAreaButtonPress): use LFUN_MESSAGE
315 (workAreaButtonRelease): ditto
316 (savePosition): ditto
317 (restorePosition): ditto
318 (MenuInsertLyXFile): ditto
319 (workAreaExpose): don't init minibuffer
320 (update): remove commented code, simplify
322 * BufferView2.C (openStuff): use LFUN_MESSAGE
326 (copyEnvironment): ditto
327 (pasteEnvironment): ditto
332 (updateInset): remove some commented code
334 * lastfiles.h: inherit privately from noncopyable
339 * lyxlex_pimpl.h: ditto
341 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
342 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
343 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
345 * LyXAction.h: inherit privately from noncopyable, add methods
346 func_begin, func_end, returning iterators to the func map.
348 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
349 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
350 (func_begin): new method
351 (func_end): new method
353 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
355 (copySelection): ditto
356 (pasteSelection): ditto
358 * BufferView.C: whitespace change
359 * BufferView.h: inherit privately from noncopyable
361 2001-04-16 Allan Rae <rae@lyx.org>
363 * tabular-old.C (l_getline):
364 * spellchecker.C (sc_check_word):
365 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
366 an unrecognised preprocessor directive. So ensure they're wrapped.
368 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
370 * src/exporter.C (Export): Give an error message when path to file
373 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
375 * LaTeX.C (deplog): Always check that foundfile exists.
377 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
380 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
382 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
384 * tabular.[Ch] (getLabelList): implement new method
386 * minibuffer.h: comment ouf setTiimer
388 * minibuffer.C (ExecutingCB): constify res
389 (peek_event): constify s
390 (Set): constify ntext
391 (Init): constify nicename
393 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
395 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
396 (savePosition): use two params to Minibuffer::Set
397 (restorePosition): ditto
399 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
401 * lyx_main.C: include language.h
403 * Makefile.am (lyx_main.o): add language.h
405 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
411 * CutAndPaste.C: include gettext.h
413 * lyxfont.h: remove old hack with ON and OFF.
416 * lyxfont.h: do not include language.h...
421 * bufferview_funcs.C:
427 * paragraph.C: ... but do it here instead
429 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
431 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
433 * tabular.C: small reformat
435 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
438 (BreakParagraph): ditto
439 (SetOnlyLayout): ditto
442 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
445 * lastfiles.C: removed most using decl, add std:: where needed
447 * buffer.C: ws changes
449 * MenuBackend.C (class compare_format): put into anon namespace
450 (expand): constify label, names, action, action2
453 * text.C (SingleWidth): constify font
454 (IsBoundary): constify rtl2
455 (GetVisibleRow): constify ww
457 * LaTeX.C (deplog): constify logfile
459 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
461 (workAreaExpose): constify widthChange, heightChange
463 * lyxrow.C (par): moved
466 * lyxrow.h: as inlines here
468 * lyxfont.h (shape): moved from lyxfont.C
469 (emph): moved from lyxfont.C
471 * lyxfont.C (LyXFont): use initialization list for all
473 (shape): move to lyxfont.h as inline
474 (emph): move to lyxfont.h as inline
477 2001-04-04 Juergen Vigna <jug@sad.it>
479 * vspace.C: had to include stdio.h for use of sscanf
481 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
484 * BufferView_pimpl.h: remove xforms cruft. Both classes are
485 independent of xforms.
487 2001-04-02 Juergen Vigna <jug@sad.it>
489 * spellchecker.C: fixed namespace placing!
491 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
493 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
494 the LyXParagraph * is 0.
496 2001-03-29 Juergen Vigna <jug@sad.it>
498 * vspace.C: added support for %, c%, p%, l%.
499 (stringFromUnit): added helper function.
500 (asLatexString): changed to give right results for the %-values.
502 * buffer.C: convert the widthp in a width%.
504 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
506 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
509 * figureForm.[Ch]: stripped the FD_from_figure manipulation
510 code out of lux_cb.[Ch], ready for its (imminent?) removal.
512 * lyx_cb.[Ch]: see above.
514 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
518 * lyx.[Ch]: replaced by figure_form.[Ch].
522 * lyxfunc.C: changed headers associated with above changes.
524 2001-03-27 Juergen Vigna <jug@sad.it>
526 * BufferView_pimpl.C: set the temporary cursor right!
528 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
530 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
532 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
534 * LString.h: removed "using std::getline"!
536 * BufferView_pimpl.C (Dispatch): changes due to changes in
537 InsetInclude::Params.
539 * buffer.C (tag_name): removed redundant break statements as they were
540 producing lots of warnings with my compiler.
542 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
544 * LString.h: add "using std::getline" when using the real <string>.
546 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
548 * buffer.C: removed bitset usage.
549 PAR_TAG moved to an anonymous name space.
550 (tag_name): new funtion, also in the anonymous namespace.
551 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
552 (makeDocBookFile): clean code. Completed transition from string arrays
554 (SimpleDocBookOnePar): code clean.
556 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
558 * tabular.C: add some comments.
560 2001-03-22 Juergen Vigna <jug@sad.it>
562 * buffer.C (parseSingleLyXformat2Token): redone the minipage
563 compatibility read a bit and fixed bug with minipage in different
566 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
568 * buffer.C (pop_tag): removed.
570 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
571 array replaced with vector. Added support for CDATA sections.
572 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
574 (makeDocBookFile): XML conformant declaration of CDATA section,
575 fixed bug related to <emphasis> in the first paragraph char.
576 (sgmlOpenTag): exclude empty tags.
577 (sgmlCloseTag): ditto.
579 * buffer.h (pop_tag): removed.
582 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
584 * language.h (Languages): added size_type and size().
586 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
588 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
589 response on compability reading of minipages. One probliem is that
590 the old usage of minipages was «flertydig»
592 * several files here and in subdirs: don't use static at file
593 scope use anon namespaces instead.
595 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
597 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
598 LaTeX output. This is necessary for Literate document
601 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
603 * buffer.C: insert hfill when needed.
605 * tabular.C (l_getline): use string::erase, small whitespace change.
607 * BufferView_pimpl.C: try the anon namespace.
610 2001-03-16 Juergen Vigna <jug@sad.it>
612 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
613 otherwise it won't open options-dialogs.
615 * buffer.C: honor pextraWidth(p) on converting minipages.
617 * tabular.C (l_getline): changed the functions to strip trailing \r.
619 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
621 * BufferView_pimpl.C:
622 * minibuffer..C: added "using SigC::slot" declaration.
624 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
626 * lyxlex_pimpl.h: noncopyable is in namespace boost.
634 * lyxtext.h: NO_PEXTRA
636 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
638 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
639 * ParameterStruct.h: ditto
640 * ParagraphParameters.h: ditto
641 * lyxparagraph.h: ditto
643 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
645 * buffer.C: add compability for minipage alignment.
646 (latexParagraphs): remove unwanted pextra check.
648 * several files: remove CXX_WORKING_NAMESPACES
650 * buffer.C (pop_tag): tie is in namespace boost
652 * BufferView.h: noncopyable is in namespace boost
658 * bufferlist.h: ditto
659 * ShareContainer.h: ditto
664 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
666 * Merging changes from BRANCH_MVC back into HEAD.
668 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
670 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
672 * BufferView_pimpl.C: change from intl.C
676 * Makefile.am: move combox.*
682 * intl.C: remove dialog (covered by prefs)
684 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
686 * lyxfunc.C (Dispatch): removed redundant break statement.
688 2001-03-14 Juergen Vigna <jug@sad.it>
690 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
692 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
694 * buffer.C: add hack to fix compability reading of minipages.
696 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
698 * buffer.C (getLists): Cleanup.
700 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
702 * lyxfont.C (update): don't honor toggleall on font size.
704 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
708 * Makefile.am: moved to frontends/xforms/
712 * BufferView_pimpl.C: changes for moved mathpanel
714 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
716 * gettext.h: fix gettext_init() in --disable-nls
718 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
720 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
722 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
725 * lyx.h: strip external form
727 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
729 * BufferView_pimpl.C: add comment, destroySplash()
731 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
733 * BufferView_pimpl.C:
737 * lyxfunc.C: use re-worked insetinclude
739 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
741 * buffer.C: add using std::stringstream.
743 * lyx_cb.C: readd using std::ios.
745 * buffer.C: add using std::map.
747 * BufferView_pimpl.C: add using std::vector.
749 * ShareContainer.h: add std:: to swap.
751 * buffer.h: add some typedefs
752 * buffer.C (getLists): use them
753 (getLists): renamed from getTocList.
754 add a counter for the different float types and use it in the
756 (getLists): use the same counter for the NEW_INSETS and the "non"
759 * lyx_cb.h: remove unused items, includes, using etc.
761 * ShareContainer.h: remove some commented code, add more comments
764 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
766 * buffer.C (getTocList): make the list also when NEW_INSETS is
769 * buffer.h: remove TocType
771 * buffer.C (getTocList): change to return a map<string,
772 vector<TocItem> >, implement for dynamic number of list.
774 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
775 * text2.C (PasteSelection): adjust
776 * CutAndPaste.C (pasteSelection): adjust
778 * FloatList.C (FloatList): update from the new_insets branch.
779 * Floating.[Ch]: ditto
780 * LaTeXFeatures.C: ditto
782 * lyxlex_pimpl.C: ditto
784 * paragraph.C (Last): remove when NEW_INSETS is defined.
786 * other file: changes because of the above.
788 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
790 * lyxparagraph.h: rename next to next_, previous to previous_,
791 make them private for NEW_INSETS. Rename Next() to next(),
792 Previous() to previous().
794 * other files: changes because of the above.
796 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
799 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
802 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
804 * main.C (main): pass lyx_localedir to gettext_init().
806 * gettext.h: remove locale_init and gettext_init macros
808 * gettext.C (locale_init): new function
809 (gettext_init): new function
811 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
814 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
816 * Moved credits to frontends:
817 * credits.[Ch]: removed
818 * credits_form.[Ch]: removed
819 * lyx_gui_misc.C: remove credits stuff
822 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
824 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
826 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
829 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
830 a standalone pointer again.
832 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
834 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
849 * BufferView_pimpl.C: use new file dialog in GUII
852 * lyx_cb.C: remove LayoutsCB to Toolbar
854 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
856 * ShareContainer.h (get): add std:: qualifier
858 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
860 * ShareContainer.h: define a proper ShareContainer::value_type
861 type (and use typename to please compaq cxx)
863 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
865 * lyxparagraph.h: move serveral local vars to
866 ParameterStruct/ParagraphParameters., use ShareContainer in
867 FontTable., make vars in FontTable private and add getter and
870 * paragraph.C: changes because of the above.
872 * lyxfont.h: remove copy constructor and copy assignment. (the
873 default ones is ok), move number inside FontBits. move inlines to
876 * lyxfont.C: add number to initializaton of statics, move several
877 inlines here. constify several local vars. some whitespace
878 cleanup. Dont hide outerscope variables.
880 * Spacing.h: add two new constructors to match the set methods.
882 * ShareContainer.h: new file, will perhaps be moved to support
884 * ParameterStruct.h: new file
886 * ParagraphParameters.h: new file
888 * ParagraphParameters.C: new file
890 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
891 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
893 * BufferView_pimpl.C: ParagraphParameter changes.
894 * buffer.C: Likewise.
895 * bufferview_funcs.C: Likewise.
899 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
901 * lyxfind.C (LyXReplace): do not redefine default argument in
903 (IsStringInText): ditto
904 (SearchForward): ditto
905 (SearchBackward): ditto
907 2001-03-06 Juergen Vigna <jug@sad.it>
909 * lyxfind.C (IsStringInText): put parentes around expressions.
911 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
913 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
915 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
917 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
919 * stl_string_fwd.h: add comment
921 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
924 * tabular.C: remove unused DocBook methods
930 killed DO_USE_DEFAULT_LANGUAGE
932 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
934 * lyx_gui.C: do not include language.h.
936 * bufferview_funcs.C (ToggleAndShow): do not provide optional
937 arguments in function implementation.
939 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
941 * BufferView_pimpl.C: add <ctime>
943 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
945 * BufferView_pimpl.C: add using std::find_if
947 2001-02-27 José Matos <jamatos@fep.up.pt>
949 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
952 2001-02-11 José Matos <jamatos@fep.up.pt>
954 * buffer.C (makeDocBookFile): command styles now have a parameter as
957 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
959 * layout_forms.[Ch]: removed
960 * lyx_cb.[Ch]: out character
961 * lyx_gui.C: out character
962 * lyx_gui_misc.C: out character
963 * bufferview_funcs.C: : out character,
964 added toggleall as parameter in ToggleAndShow
966 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
968 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
970 * text2.C (SetCurrentFont): Disable number property at boundary.
972 2001-02-26 Juergen Vigna <jug@sad.it>
974 * lyxfunc.C (getStatus): added a string argument override function so
975 that this is correctly called from LyXFunc::Dispatch if it contains a
976 do_not_use_argument which is used!
977 (Dispatch): added check for "custom" export and call appropriate func.
979 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
981 * lyxrc.C: Add language_command_local, language_use_babel and
982 language_global_options.
984 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
986 * buffer.C (makeLaTeXFile): Use language_use_babel and
987 language_global_options.
989 2001-02-23 Juergen Vigna <jug@sad.it>
991 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
992 which works with LyXText and putted it inside BufferView. Here now we
993 only call for that part the BufferView::Dispatch() function.
995 * BufferView.C (Dispatch): added.
997 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
998 functions which needs to use a LyXText over from LyXFunc.
999 (MenuInsertLyXFile): added
1000 (getInsetByCode): added
1001 (moveCursorUpdate): added
1002 (static TEXT): added
1004 2001-02-22 Juergen Vigna <jug@sad.it>
1006 * BufferView_pimpl.C (update): call a status update to see if LyXText
1009 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1011 * vc-backend.C (revert): implement for CVS
1012 (getLog): implement for CVS
1014 2001-02-20 Juergen Vigna <jug@sad.it>
1016 * text2.C (ClearSelection): added BufferView param for inset_owner call
1018 * lyxfunc.C (TEXT): added this function and use it instead of
1019 directly owner->view()-text of getLyXText().
1021 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1023 * src/layout_forms.C: out preamble
1024 * src/layout_forms.h: out preamble
1025 * src/lyx_cb.C: out preamble
1026 * src/lyx_cb.h: out preamble
1027 * src/lyx_gui.C: out preamble
1028 * src/lyx_gui_misc.C: out preamble
1029 * src/lyxfunc.C: connect with guii preamble
1031 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1033 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1035 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1037 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1038 whether to run bibtex.
1040 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1042 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1044 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1046 * Makefile.am (lyx_SOURCES): removed bibforms.h
1050 * text.C (GetVisibleRow): make several local vars const
1052 * tabular.C: small cleanup.
1054 * lyxserver.C (callback): use compare instead of strncmp
1056 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1057 inlines to after class or to paragraph.C
1059 * lyxfont.h: remove friend operator!=
1061 * converter.h: move friend bool operator< to non friend and after
1064 * combox.h: small cleanup
1066 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1067 to inlines after class def.
1069 * buffer.C (pop_tag): use string operations instead of strcmp
1071 * bmtable.c: doxygen, small cleanup
1073 * LaTeX.h: remove friend operator==
1075 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1087 * BufferView_pimpl.C:
1088 * BufferView.[Ch]: remove cruft
1090 2001-02-14 Juergen Vigna <jug@sad.it>
1092 * lyxfunc.C: removed #if 0 unused code
1094 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1096 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1098 * text2.C (SetSelection): added a BufferView * parameter
1100 2001-02-13 Juergen Vigna <jug@sad.it>
1102 * lyxfunc.C (Dispatch): fixed protected blank problem.
1103 * BufferView2.C (protectedBlank): added LyxText * parameter.
1105 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1106 (AppendColumn): same as above for column_info.
1108 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1109 (moveCursorUpdate): use a LyXText param for support of InsetText.
1111 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1112 (tripleClick): ditto
1114 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1116 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1118 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1120 * text2.C (SetSelection): set correct update status if inset_owner
1123 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1125 * tabular.C: remove some commented code.
1127 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1129 * BufferView_pimpl.C: call hideSplash()
1131 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1134 * bibforms.h: remove
1137 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1138 add LFUN_CHILD_CREATE
1140 * counters.h: fix tiny typo
1145 * lyx.C: move splash to frontends/xforms/
1147 * lyx_gui_misc.C: move Include and Bibform to frontends
1149 * lyxvc.h: clarify comment
1151 * vspace.C: tiny housekeeping
1153 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1155 * text.C (PrepareToPrint): RTL Fix.
1157 * paragraph.C (GetUChar): New method.
1158 (String): Use GetUChar.
1160 * buffer.C (asciiParagraph): Use GetUChar.
1162 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1164 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1166 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1169 * buffer.C: rename to getLogName(), handle
1170 build log / latex log nicely
1172 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1175 * MenuBackend.h: remove support for reference menuitem type.
1177 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1179 * BufferView_pimpl.C: housekeeping
1180 * BufferView_pimpl.h:
1185 * minibuffer.h: move Timeout GUI-I
1187 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1189 * lyxrc.C (read): Update converters data-structures.
1191 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1193 * LaTeX.h (operator!=): add operator != for Aux_Info
1195 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1197 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1199 * LaTeXLog.C: deleted, useful code moved to Buffer
1202 * buffer.C: new function getLatexLogName()
1208 * lyxfunc.C: use frontends for LaTeX and VC logs
1210 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1212 * LaTeX.h: yet another std:: that Allan forgot.
1214 * Variables.C (set): renamed from isset(), because this clashes
1215 with some HP-UX macros (grr).
1217 2001-02-06 Allan Rae <rae@lyx.org>
1219 * LaTeX.h: Another bug fix. Missing std:: this time.
1221 2001-02-04 Allan Rae <rae@lyx.org>
1223 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1224 floats problem. I've left it commented out because it's not quite
1225 correct. It should also test that the current object is a table or
1226 figure inset. But I haven't gotten around to figuring out how to do
1227 that. I *think* it'll be something like: "table" == inset.type()
1229 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1232 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1234 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1235 all the citation/databases/styles in the auxilary file.
1236 (run): Rerun latex if there was a babel language error.
1238 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1240 * text.C (Backspace): Preserve the font when changing newline char
1242 (BreakParagraph): If the cursor is before a space, delete the space.
1244 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1246 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1248 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1249 new argument (code).
1250 (ChangeCitationsIfUnique): New method.
1252 * paragraph.C (GetPositionOfInset): Handle bibkey.
1254 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1256 * BufferView_pimpl.h: change type of Position::par_pos to
1257 LyXParagraph::size_type.
1259 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1261 * BufferView_pimpl.C (savePosition, restorePosition): Write
1262 messages to minibuffer.
1264 2001-01-28 José Matos <jamatos@fep.up.pt>
1266 * buffer.C (makeDocBookFile): adds support for document language.
1267 A silly restriction on the name of LatexCommand types where removed.
1268 Added support for CDATA sections, allows to chars unescaped, used
1269 among others in code, to avoid escape < and >.
1271 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1273 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1274 saved positions instrad of a stack. Furthermore, a position is
1275 stored using paragraph id/paragraph position.
1277 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1278 Remove LFUN_REF_BACK.
1280 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1282 * converter.C (dvipdfm_options): New method.
1284 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1286 * vspace.C (isValidLength): Fix for empty input string.
1288 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1290 * LyXAction.C (init): change description of LFUN_FIGURE to
1293 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1295 * LaTeX.C: add using directive
1297 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1299 * MenuBackend.C (expand): Fix the sorting of the formats.
1301 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1303 * lyx_main.C: tiny error message fix
1305 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1307 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1308 calling fl_initialize(). This fixes the problem with ',' as
1309 decimal separator in text files.
1311 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1313 * trans.C (process): Fix the keymap bug.
1315 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1317 * LaTeX.C (scanAuxFiles): New method. Provides support for
1318 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1319 (scanLogFile) Scan for "run BibTeX" messages.
1321 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1322 OT1 font encoding. Also, load the aecompl package if the ae
1325 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1327 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1329 * texrow.C (increasePos): turn two error messages into debug
1332 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1334 * LaTeX.C (scanAux): Handle the \@input macro.
1335 (runBibTeX): Use scanAux().
1337 * language.C (latex_options_): New field.
1339 * LaTeXFeatures.C (getMacros): Add language macros.
1341 * buffer.C (makeLaTeXFile): Small fix.
1343 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1345 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1347 * text2.C: add a using directive.
1349 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1354 * lyxfunc.C: kill LyXBell.
1356 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1358 * text.C (IsBoundary): Remove the error message
1360 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1362 * lyxrc.C (setDefaults): Correct initialization value for
1365 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1367 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1370 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1373 * src/LyXAction.C: Added reference-next.
1375 * text.C (InsertChar): Use contains instead of strchr.
1377 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1379 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1381 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1382 alignment commands (when needed).
1384 * text.C (InsertChar): Add ':' to number separator chars.