]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ba7efadc606ba6f03b0b5550eda9258945caa35e
[lyx.git] / src / ChangeLog
1 2004-10-23  José Matos  <jamatos@lyx.org>
2
3         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
4         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
5         docbook. The new scheme is recursive and makes use of iterators, the
6         same as latex export works.
7         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
8         directly with the paragraph contents. This code was moved up to
9         output_docbook.C (docbookParagraphs).
10         * sgml.C (openTag, closeTag): removed unneeded newlines.
11         (closeEnvTags) removed.
12
13 2003-10-23  André Pönitz  <poenitz@gmx.net>
14
15         * undo.C (textUndoOrRedo):
16         * dociterator.C (asDocIterator): work around crash
17
18         * cursor.C (getStatus): replace ASSERT by more verbose error message
19           and manual correction of the problem. Should increase stability
20           while providing more sensible information.
21
22 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
25
26         * bufferlist.C (previous, next): new methods
27
28         * lfuns.h: 
29         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
30
31 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
32
33         * buffer.C (makeDocBookFile): add dsssl stylesheet control
34         entities to preamble.
35
36 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * messages.C (Pimpl): strip off translation context information
39
40 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
43         the cursor is correct (bug 1694)
44
45 2004-10-13  José Matos  <jamatos@lyx.org>
46
47         * output_docbook.C (docbookParagraphs): fix closing tags in the
48         end of the document. 
49
50 2004-10-09  José Matos  <jamatos@lyx.org>
51
52         * buffer.C: format up to 237.
53         * bufferparams.C (write): use tostr to convert booleans to strings.
54         
55 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
58
59 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * LaTeX.C: implement use of babel language in xindy.
62
63 2004-10-05  José Matos  <jamatos@lyx.org>
64
65         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
66         Add new translators to help reading and writing the lyx file.
67
68 2004-10-05  José Matos  <jamatos@lyx.org>
69
70         * ParagraphParameters.C (read):
71         * text.C (readParToken): replace nexToken by more appropriate lex
72         methods.
73
74 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
75
76         * LaTeX.C (runMakeIndex):
77         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
78         (usually 'makeindex') configurable.
79
80         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
81         with a variable rather than with a number.
82
83 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * output_latex.C (TeXOnePar): make sure font setting is the first
86         thing that gets output (and the last at the end). Should fix bug
87         1404.
88
89 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
90
91         * pch.h: use proper signal include
92
93         * LaTeX.h: Use preferred calling of Boost.Signal
94         * buffer.h: ditto
95
96 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
97
98         * pch.h: dont include <boost/function/function0.hpp>
99
100         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
101
102         * paragraph_pimpl.h: remove usage of ShareContainer
103
104         * paragraph_pimpl.C: remove initialization of ShareContainer.
105
106 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         Fix bug #1666
109
110         * BufferView.C (putSelectionAt): change the semantics when
111         backwards == true: now, this just swaps cursor and anchor wrt the
112         forward case
113
114         * BufferView.h (putSelectionAt): add some documentation
115
116         * lyxfind.C (findBackwards): rewrite using while(). In particular,
117         make sure backwardChar is done at least once (to avoid getting
118         stuck)
119         (findNextChange): use putSelectionAt in the forward direction
120         (operator()): use Paragraph::isWord
121
122 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
123
124         * Spacing.C (set): c_str fix
125
126 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * lyx_cb.C (Reconfigure): quote the name of configure script in
129         case it contains spaces
130
131 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
132
133         * client: new dir
134
135         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
136         (BOOST_LIBS): use top_buildir when looking for the file
137
138 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
139
140         * pch.h: do not use include boost/format.hpp, multiple symbols
141                 will result (gcc bug)
142
143
144 2004-08-23  José Matos  <jamatos@lyx.org>
145
146         * bufferparams.C (readToken): fix reading of the author field.
147
148 2004-08-20  José Matos  <jamatos@lyx.org>
149
150         * lyxrc.C: remove support/translator.h inclusion since it is not used.
151
152 2004-08-20  José Matos  <jamatos@lyx.org>
153
154         * lyxlex.[Ch] (findToken): remove function.
155
156         * ParagraphParameters.C (findToken):
157         * bufferparams.C (findToken): replace call for previous function
158         with local copy. This local function has one more argument, the
159         read string argument.
160
161 2004-08-16  José Matos  <jamatos@lyx.org>
162
163         * ParagraphParameters.C (write):
164         * Spacing.C (writeFile):
165         * bufferparams.C (writeLaTeX):
166         * lyx_cb.C (Reconfigure):
167         * paragraph.C (write):
168         * tabular.C (write): remove unnecessary space at end of line.
169
170
171 2004-08-16  José Matos  <jamatos@lyx.org>
172
173         * text.C (readParagraph): remove debug message.
174
175 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
178         crash
179
180         * output_plaintext.C (asciiParagraph): set depth correctly
181
182         * outputparams.h: add member depth
183
184         * paragraph_funcs.C (ownerPar): remove.
185
186         * text2.C (setCounter): remove first_pit; comment out some
187         non-working code that uses ownerPar
188
189         * BufferView.C (getParentLanguage): remove. Not used anymore, and
190         uses ownerPar
191
192 2004-08-16  José Matos  <jamatos@lyx.org>
193
194         * text.C (readParToken, readParagraph, read): report all unknown tokens.
195         For the same level of importance use the same chanel to report problems.
196         (read): add code to deal with \begin_body and \end_body.
197
198
199 2004-08-15  José Matos  <jamatos@lyx.org>
200
201         * lyxlex.C (getString): fix comment, buffer::readBody is now
202         buffer:readDocument.
203
204         * tex-strings.C (string_papersize): Default -> default,
205         Custom -> custom, for consistency with other options.
206
207 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
208
209         * pch.h: new file
210
211         * Makefile.am: support pch
212
213 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * text.C (readParToken): remove the static LyXFont variable and
216         pass it as a parameter instead. This fixes a nasty bug where an
217         inset will be inserted with a bad font in some situations
218         (readParagraph): adapt
219
220         * text2.C (setCounter): reduce number of calls to pars_[pit]
221
222         * text.C (singleWidth): add an assert, fix a test
223
224         * rowpainter.C (paintText): reduce number of calls to singleWidth
225
226         * paragraph.C (isHfill):
227         (isNewline): ws only
228
229 2004-08-14  André Pönitz  <poenitz@gmx.net>
230
231         * text.C:
232         * text2.C:
233         * rowpainter.C:
234         * lyxtext.h (several functions): use a Paragraph & argument
235         instead of par_type
236
237 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * metricsinfo.h: add a new field ltr_pos to PainterInfo
240
241         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
242
243         * text.C (singleWidth): remove useless test
244
245 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * tabular.h: remove bogus comments
248
249         * tabular.C (getDescentOfRow):
250         (isPartOfMultiColumn): add assertions
251
252         * lyxlength.C (inPixels): remove #warning
253
254 2004-08-14  André Pönitz  <poenitz@gmx.net>
255
256         * paragraph.h: inline getChar()
257
258         * BufferView.h: remove unused declarations
259
260 2004-08-14  José Matos  <jamatos@lyx.org>
261
262         * Buffer.[Ch] (readDocument): new name for old readBody.
263         * Buffer.C: new file format, new keywords: \begin_document,
264         \begin_header, \begin_body, \end_body.
265
266         * bufferparams.C (readToken): replace all calls to lex.nextToken
267         by lex.next(). Do the same to eatLine except where really needed.
268
269         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
270         line when writing to the lyx file.
271
272         * output_plaintext.C (asciiParagraph): fix Bibliography style
273         handling.
274
275         * text.C (read): fix end of file handling.
276
277 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * MenuBackend.C (Menu::operator[]): new method to access
280         individual menu items
281         (Menu::hasFunc): new method. search for an item that corresponds
282         to a given func
283         (MenuBackend::specialMenu): new method
284         (MenuBackend::expand): if a special menu has been set, skip
285         entries whose func() appears in this menu
286
287 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
288
289         * text3.C: use Debug::DEBUG a bit more
290
291         * text.C (leftMargin): try to simplify a tiny bit change var x to
292         l_margin. Dont output the wide margins always.
293         (rightMargin): no margin in inner texts
294
295         * rowpainter.h (nestMargin): new func
296         (changebarMargin): new func
297         (rightMargin): new func
298
299         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
300         now functions.
301         (paintLast): ditto
302
303         * factory.C (createInset): modify setDrawFrame
304
305         * cursor.C: use Debug::DEBUG a bit more
306
307 2004-08-14  André Pönitz  <poenitz@gmx.net>
308
309         * coordcache.[Ch]:
310         * Makefile.am: new files to accomodate an 'external' (x,y)-position
311         cache for all insets in (at least partially) visible (top-level)
312         paragraphs.
313
314         * BufferView_pimpl.C: reset external coord cache before every update.
315         This means the coord cache only contains valid entries.
316
317 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
318
319         bug 1096
320         * BufferView_pimpl.C (getInsetByCode): move function out of class
321         and change in to a template in anon namespace. Also fix to do what
322         suits us better.
323
324 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
325
326         bug 1305
327         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
328         of char
329         (breakParagraph): rename par to par_offset and use a local
330         reference. Add code to keep the language over a rebreak.
331         (breakParagraphConservative): rename par to par_offset, use a
332         local reference
333         (mergeParagraph): ditto
334         (outerHook): ditto
335         (isFirstInSequence): ditto
336         (outerFont): rename pit to par_offset
337
338         * paragraph.C: ws change
339         * paragraph.h: ditto
340         * text3.C: ditto
341         * text.C: ditto
342
343 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
346         treatment for ']'
347
348         * paragraph.C (simpleTeXOnePar): when we have a \item with
349         optional argument, enclose the argument with curly brackets (in
350         case it contains a closing square bracket)
351
352         * text2.C (editXY):
353         * text2.C (editXY):
354         * text3.C (checkInsetHit): constify
355
356 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
357
358         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
359         documents (bug 1629)
360
361 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         Fix toggling of collapsable insets with the mouse (bug 1558)
364
365         * lyxfunc.C (dispatch): adapt to LCursor changes
366
367         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
368         make sure that dispatch is not invoked twice
369
370         * cursor.C (needsUpdate): new method
371         (dispatch): return void
372         (result): new method, to access the DispatchResult of the cursor.
373
374 2004-08-13  José Matos  <jamatos@lyx.org>
375
376         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
377
378 2004-08-13  André Pönitz  <poenitz@gmx.net>
379
380         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
381
382         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
383           multiple cells
384
385 2004-08-12  André Pönitz  <poenitz@gmx.net>
386
387         * text3.C: take out the 'cursor right' form insertInset and only
388         do it in those places when it is really needed. Fixes crash on
389         C-m...
390
391 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
394
395         * BufferView_pimpl.C (setBuffer): initialize the current font of
396         the underlying LyXText
397
398 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * kbsequence.C (print): use UI native formatting for menu
401         shortcuts
402
403         * text.C (insertChar): call Paragraph::insertChar with a font
404         argument (cosmetic)
405
406         * paragraph.C (insertInset, insertChar): the version that takes a
407         LyXFont argument is now a wrapper around the other one (the
408         opposite used to be true).
409
410         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
411         argument. Font setting is done in Paragraph now.
412
413 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * outputparams.h: add new members intitle and lang.
416
417         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
418         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
419
420 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
421
422         * text3.C (dispatch): remove special handling of button 4 and 5,
423         it is now taken care of in the frontend code.
424
425 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
426
427         * Spacing.h: add <string> (STLPort compile fix)
428
429 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
430
431         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
432
433 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
434
435         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
436         to bool.
437
438         * converter.C (showMessage): inherit from unary_function, make
439         operator() const.
440
441         * buffer.C (writeFile): initialize retval
442
443         * InsetList.h: rename private variable list to list_
444         * InsetList.[Ch]: adjust accordingly.
445
446 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
447
448         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
449         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
450         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
451         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
452         * ParagraphParameters.C, LaTeXFeatures.C: replace
453         "support/std_sstream.h" with <sstream>
454
455 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
456
457         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
458         * lyxsocket.C (LyXServerSocket): ditto
459         (serverCallback): ditto
460
461 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
462
463         * LaTeXFeatures.C: check release date when loading jurabib.
464
465 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
466
467         * lyxserver.C (startPipe): call register_socket_callback
468         (endPipe): call unregister_socket_callback
469
470 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
471
472         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
473         (LyXServerSocket): register the callback
474         (LyXServerSocket): unregister the callback
475         (fd): delete function
476         (serverCallback): improve error checking and setup the callbacks.
477         (dataCallback): change arg to fd.
478         (writeln): new func (copied fro the client socket) used for server
479         write to client.
480         (LyXDataSocket): simplify
481         (~LyXDataSocket): close ann unregiser callback
482         (server): delete function
483         (fd): delete function
484         (readln): small changes, improve some std::string usage
485         (writeln): constify a bit
486
487 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
490         Qt frontend
491
492 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * BufferView_pimpl.C (setBuffer): set the layout combox value only
495         after it has been populated
496
497 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * text2.C (insertInset): move cursor when inserting inset.
500
501 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * kbmap.C (findbindings): a couple of new methods. returns a
504         container of kb_sequence objects. The real work is done by the
505         private recursive version
506         (printbindings): uses findbindings to print out a bracketed list
507         of bindings (renamed from findbinding).
508
509         * MenuBackend.C (binding): use kb_keymap::findbindings
510
511         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
512
513 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
514
515         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
516
517 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * paragraph.C (isWord): return true on insets that report
520         isLetter().
521
522         * text.C (getWord): use Paragraph::isWord to decide what is in a
523         word and what is not; fix bug 1609.
524
525 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
526
527         * tex-strings.C: add "none" to string_paperpackages[], fixes
528         off-by-one-error in the paperpackage selection.
529
530         * lyxlex.[Ch]:
531         * tex-strings.[Ch]: char const * string[n]
532         -> char const * const string[]
533
534 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
535
536         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
537         command, return early.
538
539 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
540
541         * debug.h: add DEBUG to enum and fix size of ANY.
542
543         * debug.C: add support for Debug::DEBUG
544         (showTags): cast errorTags.level to unsigned int
545
546         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
547         (redoCurrentBuffer): ditto
548         (updateScrollbar): ditto
549         * cursor.C (dispatch): ditto
550         * text2.C (setLayout): ditto
551         (setFont): ditto
552         (updateCounters): ditto
553         (editXY): ditto
554         (deleteEmptyParagraphMechanism): ditto
555
556 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
557
558         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
559         annotations to cleanup the Makefile slightly.
560
561 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * lyxrc.C: do not set user_email to a default value but use empty
564         instead. The entry used to be translated, which does not work
565         since at the point where lyxrc is constructed there is no
566         translation service available
567
568         * messages.C (getLocaleDir): remove and use directly
569         lyx_localedir() instead
570
571 2004-06-02  Angus Leeming  <leeming@lyx.org>
572
573         Fix crash caused by dereferencing null pointer 'exportdata' in
574         OutputParams by creating a new ExportData variable on the heap,
575         storing it in a boost::shared_ptr.
576         The crash was triggered when generating an Instant Preview
577         of an external inset.
578
579         * Makefile.am: add outputparams.C
580
581         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
582         (c-tor): allocate memory to it.
583
584         * exporter.C (c-tor): associated changes.
585
586 2004-06-01  Angus Leeming  <leeming@lyx.org>
587
588         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
589         contains data before calling isInset(0). (Bug 1513.)
590
591 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
592
593         * exporter.C (checkOverwrite): new method
594         * exporter.C (copyFile): new method
595         * exporter.C (Export): copy referenced files to the document dir
596         * exporter.[Ch]: new class ExportedFile
597         * exporter.[Ch]: new class ExportData. Contains currently the
598         names of referenced external files
599         * outputparams.h: add exportdata member.
600
601 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
602
603         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
604         version.C-tmp
605
606 2004-05-19  Angus Leeming  <leeming@lyx.org>
607
608         * LaTeXFeatures.C:
609         * ToolbarBackend.C:
610         * bufferparams.C:
611         * lyxfunc.C: small changes due to the introduction of namespace
612         lyx::frontend and the moving of namespace biblio to lyx::biblio.
613
614 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
615
616         * text3.C (dispatch): supress update when only moving the cursor
617         * cursor.C (selHandle): remove commented code
618
619 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
620
621         * paragraph.C (startTeXParParams): correct column count
622         * CutAndPaste.C (pasteSelection): remove const_cast
623         * output_docbook.C (docbookParagraphs): remove const_cast
624         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
625         const_cast and return ParagraphList::const_iterator
626         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
627         * output_plaintext.C (writeFileAscii): remove const_cast
628         * paragraph.[Ch] (simpleTeXOnePar): make const
629         * paragraph_funcs.C (outerPar): use const iterators
630         * paragraph_pimpl.C (validate): use const iterators
631         * text.C (setHeightOfRow): use const iterators
632
633 2004-05-17  Angus Leeming  <leeming@lyx.org>
634
635         * lfuns.h:
636         * LyXAction.C (init): new LFUN_INSET_REFRESH.
637
638         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
639         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
640         if the citation engine has changed.
641
642 2004-05-14  José Matos  <jamatos@lyx.org>
643
644         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
645         if the textclass does not provide it. Have it different for sgml and
646         xml.
647         support the language of document.
648         * output_docbook.C (docbookParagraphs):
649         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
650         first anchor as the id of the paragraph, remove special case code.
651         * sgml.C (escapeChar): escape only < & >.
652
653 2004-05-14  Angus Leeming  <leeming@lyx.org>
654
655         * bufferparams.h: move biblio::CiteEngine enum here to minimize
656         dependencies on src/frontends/controllers/biblio.h. Define a
657         CiteEngine_enum wrapper class to enable the enum to be forward
658         declared.
659
660 2004-05-12  Angus Leeming  <leeming@lyx.org>
661
662         * buffer.C: up LYX_FORMAT to 234.
663         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
664         use_numerical_citations with a single biblio::CiteEngine cite_engine
665         variable.
666         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
667
668 2004-05-13  José Matos  <jamatos@lyx.org>
669
670         * converter.h:
671         * converter.C (Converter, readFlags): add xml member.
672         * outputparams.h: add XML flavor.
673         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
674
675 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
676
677         * lyxfunc.C (dispatch):
678         (getStatus): fix handling of LFUN_SEQUENCE
679
680 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
681
682         * debug.C (showLevel): do not forget the end-of-line marker
683
684 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * kbmap.C (read): do not stop parsing a bind file when an error
687         occurs (bug 1575)
688
689 2004-04-29  Angus Leeming  <leeming@lyx.org>
690
691         * cursor.C:
692         * factory.C:
693         * pariterator.C:
694         * text2.C: wrap a bunch of #warning statements
695         inside #ifdef WITH_WARNINGS blocks.
696
697 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
698
699         * buffer.C: increment format to 233.
700
701 2004-04-28  Angus Leeming  <leeming@lyx.org>
702
703         * BufferView_pimpl.C:
704         * lyxfunc.C:
705         * text3.C:
706         s/updateToolbar()/updateToolbars()/
707         s/Toolbar.h/Toolbars.h/
708
709 2004-04-28  Angus Leeming  <leeming@lyx.org>
710
711         * BufferView.[Ch] (c-tor):
712         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
713         No longer passes these data to the WorkArea generator.
714
715 2004-04-28  Angus Leeming  <leeming@lyx.org>
716
717         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
718
719 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
720
721         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
722
723 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * output_latex.C (TeXEnvironment): make sure that there is a line
726         break before \end{foo} for the last paragraph of a document
727         (TeXOnePar): if the paragraph is at the end of the document (or
728         inset) and the language has to be reset, then make sure that the
729         line break is _before_ the language command, not after (fixes bug
730         1225); also make sure that the language reset command is the first
731         thing after the paragraph (to ensure proper nesting of
732         environments and thus fix bug 1404)
733
734 2004-04-21  John Levon  <levon@movementarian.org>
735
736         * ToolbarBackend.h:
737         * ToolbarBackend.C: make "name" be a programmatic name
738         and a gui_name field.
739
740         * lyxfunc.C: display the minibuffer on M-x
741
742 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
743
744         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
745         (bug 1526)
746
747 2004-04-19  Angus Leeming  <leeming@lyx.org>
748
749         * BufferView_pimpl.C (setBuffer): changed preview interface.
750
751         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
752         possible values.
753
754 2004-04-19  John Levon  <levon@movementarian.org>
755
756         * BufferView_pimpl.C:
757         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
758
759 2004-04-05  Angus Leeming  <leeming@lyx.org>
760
761         * text.C (redoParagraphs): add call to updateCounters(), thereby
762         fixing the missing "Figure #:" label from the caption of a
763         figure float.
764
765 2004-04-13  Angus Leeming  <leeming@lyx.org>
766
767         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
768         cursor is clicked out of an inset.
769
770 2004-04-13  Angus Leeming  <leeming@lyx.org>
771
772         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
773         than an InsetOld one.
774
775 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
776
777         * format.[Ch]: add editor to Format
778         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
779         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
780
781 2004-04-08  André Pönitz  <poenitz@gmx.net>
782
783         * metricsinfo.h: remove PainterInfo::width member
784
785 2004-04-08  Angus Leeming  <leeming@lyx.org>
786
787         * lyx_sty.C (boldsymbol_def): modify so that it outputs
788         "\providecommand" rather than "\newcommand", thereby preventing
789         clashes with packages that define "\boldsymbol" themselves.
790         Eg, beamer.
791
792 2004-04-08  Angus Leeming  <leeming@lyx.org>
793
794         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
795         thereby squashing an unnecessary warning.
796
797 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
798
799         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
800         setBuffer()
801
802 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
803
804         * BufferView.C (setCursor): call redoParagraph (some insets could
805         have been opened)
806         (putSelectionAt): remove the 'double update' trick
807
808         * BufferView_pimpl.C (fitCursor): call refreshPar
809         (workAreaDispatch): remove an uneeded update call
810         (dispatch): remove some manual update calls
811
812         * cursor.[Ch]: remove cached_y_, updatePos
813         (selHandle): set noUpdate when appropriate
814
815         * lyxfunc.C (dispatch): track if we need an update
816
817         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
818
819         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
820         (paintSelection): cheap optimization, do not call cursorX when not
821         needed
822         (paintPars): change signature
823         (refreshPar): add
824         (paintText): adjust
825         (paintTextInset): adjust
826
827         * text.C: adjust
828
829 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
830
831         * lengthcommon.C: compilation fix: remove explicit array size from
832         unit_name[] and friends
833
834 2004-04-05  Angus Leeming  <leeming@lyx.org>
835
836         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
837
838         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
839         present only for the preferences dialog.
840         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
841
842 2004-04-05  Angus Leeming  <leeming@lyx.org>
843
844         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
845         to enable the frontends to export changes to lyxrc correctly.
846
847         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
848
849 2004-04-07  André Pönitz  <poenitz@gmx.net>
850
851         * cursor.[Ch] (selClear, adjust): remove math
852
853         * cursor_slice.C: more agressive assert
854
855         * lyxfunc.C:
856         * BufferView_pimpl.C: rework mouse event dispatch
857
858         * dociterator.C:
859         * paragraph.C:
860         * text2.C:
861         * text3.C: adjust
862
863 2004-04-05  André Pönitz  <poenitz@gmx.net>
864
865         * cursor.[Ch] (valign, halign...): remove unneeded functions
866
867 2004-04-05  Angus Leeming  <leeming@lyx.org>
868
869         * lyxlength.[Ch] (unit_name et al.): const-correct.
870
871 2004-04-05  Angus Leeming  <leeming@lyx.org>
872
873         * BufferView_pimpl.C:
874         * buffer.C:
875         * counters.C:
876         * cursor.C:
877         * lyxfunc.C
878         * paragraph.C:
879         * pariterator.C:
880         * text.C:
881         * text2.C:
882         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
883
884 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
885
886         * text3.C (getStatus): add LFUN_BEGINNINGBUF
887
888 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
889
890         * lyxfind.C: add a couple of inTexted() tests + other small fixes
891         * BufferView_pimpl.[Ch] (getStatus)
892         * BufferView.[Ch] (getStatus): add
893         * lyxfunc.C (getStatus): move lfuns handled in
894         BufferView::dispatch to te function above
895         * Cursor.C (setSelection): set selection() = true
896
897 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
898
899         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
900
901 2004-03-31  Angus Leeming  <leeming@lyx.org>
902
903         * lyxfunc.C (dispatch): Fall through to the generic
904         Dialogs::show("preamble").
905
906 2004-03-31  Angus Leeming  <leeming@lyx.org>
907
908         * lyxfunc.C (dispatch): Fall through to the generic
909         Dialogs::show("spellchecker").
910
911 2004-03-31  Angus Leeming  <leeming@lyx.org>
912
913         * lyxfunc.C (getStatus, dispatch): changed invocation of the
914         preferences dialog.
915
916 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
917
918         * BufferView.C
919         * cursor.[Ch]
920         * dociterator.[Ch]:
921         * insetiterator.[Ch]:
922         * lyxfind.C:
923         * lyxfunc.C:
924         * pariterator.[Ch]:
925         * text2.C:
926         * undo.[Ch]: s/DocumentIterator/DocIterator/g
927
928 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * BufferView.C (setCursor, putSelectionAt): call edit to open the
931         insets where we are putting the cursor.
932
933 2004-03-31  Angus Leeming  <leeming@lyx.org>
934
935         * lfuns.h:
936         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
937
938         * lyxrc.[Ch] (read, write): overloaded member functions taking
939         a std::[io]stream arguments.
940
941         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
942
943 2004-03-31  Angus Leeming  <leeming@lyx.org>
944
945         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
946         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
947
948         * lyxtextclass.C (load): if the text class couldn't be loaded, then
949         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
950
951 2004-03-31  Angus Leeming  <leeming@lyx.org>
952
953         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
954         the LFUN_ALL_INSETS_TOGGLE code.
955
956 2004-03-30  Angus Leeming  <leeming@lyx.org>
957
958         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
959         has died. Fall through to the generic Dialogs::show("document").
960
961 2004-03-30  Angus Leeming  <leeming@lyx.org>
962
963         * lfuns.h:
964         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
965         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
966
967         * lyxfunc.C (getStatus, dispatch): define the actions for these
968         lfuns. Little more than a cut and pste job from ControlDocument.C
969
970         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
971
972 2004-03-30  Angus Leeming  <leeming@lyx.org>
973
974         * lfuns.h:
975         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
976         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
977
978         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
979         open/closed state of ollapsable insets. Usage:
980
981         all-inset-toggle <state> <name>, where
982         <state> == "open" || "closed" || "toggle" and
983         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
984
985         * lyxtext.h, text2.C (toggleInset): removed.
986
987         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
988         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
989         now passes LFUN_INSET_TOGGLE to the found inset.
990
991         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
992         is now invoked as "all-insets-toggle toggle branch".
993
994 2004-03-30  Angus Leeming  <leeming@lyx.org>
995
996         * dociterator.C:
997         * insetiterator.C:
998         * pariterator.[Ch]: added/corrected header blurb.
999
1000 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1001
1002         * dociterator.[Ch]: add an inset_ member
1003         (backwardPos): implemented
1004         (backwardPos, forwardPos): use inset_ when the stack is empty.
1005         (doc_iterator_begin, doc_iterator_end): implemented
1006         * pariterator.[Ch]: adjust, add begin, end
1007         * insetiterator.[Ch]: adjust, add begin, end
1008         * cursor.C:
1009         * document.C:
1010         * BufferView.C:
1011         * BufferView_pimpl.C:
1012         * CutAndPaste.C: adjust
1013
1014 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1015
1016         * buffer.C: increment file format to 232.
1017         * LaTeXFeatures.C: add bibtopic package.
1018         * bufferparams.[Ch]: param \use_bibtopic.
1019
1020         * lyxrc.[Ch]: add lyxrc bibtex_command
1021         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1022
1023         * buffer.C: increment file format to 231.
1024
1025 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1026
1027         * dociterator.C: implement forwardPar
1028         * iterators.[Ch]: remove, replaced by
1029         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1030         * BufferView.C:
1031         * BufferView_pimpl.C:
1032         * CutAndPaste.C:
1033         * buffer.C:
1034         * bufferview_funcs.C:
1035         * cursor.C:
1036         * lyxfind.C
1037         * lyxfunc.C
1038         * paragraph_funcs.C
1039         * toc.C:
1040         * Makefile.am: adjust
1041
1042 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1043
1044         * CutAndPaste.C (pasteSelection): fix 2 crashes
1045         (eraseSelection): fix a crash
1046         * paragraph_funcs.C: remove a warning
1047
1048 2004-03-28  Angus Leeming  <leeming@lyx.org>
1049
1050         * lfuns.h:
1051         * LyXAction.C (init): new LFUN_PRINT.
1052
1053         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1054
1055 2004-03-27  Angus Leeming  <leeming@lyx.org>
1056
1057         * lfuns.h:
1058         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1059
1060         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1061
1062 2004-03-27  Angus Leeming  <leeming@lyx.org>
1063
1064         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1065         insetlist always contains non-null pointers to insets.
1066
1067 2004-03-26  Angus Leeming  <leeming@lyx.org>
1068
1069         * src/BufferView_pimpl.C:
1070         * src/CutAndPaste.C:
1071         * src/buffer.C:
1072         * src/iterators.C:
1073         * src/output_plaintext.C:
1074         * src/outputparams.h:
1075         * src/paragraph_funcs.C:
1076         * src/rowpainter.C:
1077         * src/text.C:
1078         * src/text2.C:
1079         * src/frontends/controllers/ControlErrorList.C:
1080         * src/frontends/gtk/FileDialogPrivate.C:
1081         * src/frontends/gtk/GPainter.C:
1082         * src/frontends/gtk/GToolbar.C:
1083         * src/frontends/qt2/QRef.C:
1084         * src/mathed/math_scriptinset.C: squash compiler warnings.
1085
1086 2004-03-26  Angus Leeming  <leeming@lyx.org>
1087
1088         * ispell.C (LaunchIspell::start):
1089         * lyx_cb.C (AutoSaveBuffer::start):
1090         invoke run(DontWait) rather than runNonBlocking().
1091
1092 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1093
1094         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1095
1096 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * kbsequence.C (print): adjust
1099
1100         * kbmap.C (printKeySym): rename and change signature
1101         (printKey): use LyXKeySym::print()
1102
1103 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1104
1105         * undo.C: add using std::advance to compile for stlport
1106
1107 2004-03-24  Angus Leeming  <leeming@lyx.org>
1108
1109         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1110         it leads to a crash when no buffer is present.
1111
1112 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113             Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * lyxfunc.C (dispatch):
1116         * bufferparams.C (readToken): use the new LColor::setColor
1117
1118         * LColor.[Ch] (setColor): new version that takes two strings as
1119         argument and creates a new color entry if necessary
1120
1121 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1122
1123         * buffer.C (makeLaTeXFile): if the main latex file that is
1124         processed is usually a subdocument of some master, then pretend
1125         for a while that it is actually the master
1126
1127 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1128
1129         * buffer.C (getLabelList):
1130         (getBibkeyList): use getMasterBuffer()
1131         (getMasterBuffer): new method. Returns the main document in the
1132         case where one is using included documents.
1133
1134 2004-03-25  André Pönitz  <poenitz@gmx.net>
1135
1136         * Makefile.am:
1137         * iterators.[Ch]:
1138         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1139
1140         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1141
1142         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1143         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1144
1145         * ParameterStruct.h: merge with ParagraphParameters
1146
1147         * lyxtext.h: remove LyXText::parOffset() and getPar()
1148
1149         * text3.C: Remove all 'manual' update calls. We do now one per user
1150         interaction which is completely sufficient.
1151
1152         * Bidi.C:
1153         * BufferView.[Ch]:
1154         * BufferView_pimpl.C:
1155         * FontIterator.[Ch]:
1156         * MenuBackend.C:
1157         * ParagraphParameters.[Ch]:
1158         * buffer.C:
1159         * buffer.h:
1160         * bufferlist.C:
1161         * cursor.[Ch]:
1162         * cursor_slice.[Ch]:
1163         * dociterator.[Ch]:
1164         * errorlist.[Ch]:
1165         * factory.C:
1166         * lfuns.h:
1167         * lyxfind.C:
1168         * lyxfunc.C:
1169         * output_docbook.[Ch]:
1170         * output_latex.[Ch]:
1171         * output_linuxdoc.[Ch]:
1172         * output_plaintext.[Ch]:
1173         * paragraph.[Ch]:
1174         * paragraph_funcs.[Ch]:
1175         * paragraph_pimpl.[Ch]:
1176         * rowpainter.C:
1177         * tabular.[Ch]:
1178         * text.C:
1179         * text2.C:
1180         * toc.C:
1181         * undo.[Ch]: adjust
1182
1183         * frontends/controllers/ControlDocument.C:
1184         * frontends/controllers/ControlErrorList.C:
1185         * frontends/controllers/ControlSpellchecker.C:
1186         * insets/inset.C:
1187         * insets/inset.h:
1188         * insets/insetbase.h:
1189         * insets/insetbibitem.C:
1190         * insets/insetbox.C:
1191         * insets/insetbranch.C:
1192         * insets/insetcaption.C:
1193         * insets/insetcharstyle.C:
1194         * insets/insetcharstyle.h:
1195         * insets/insetcollapsable.C:
1196         * insets/insetcollapsable.h:
1197         * insets/insetert.C:
1198         * insets/insetfloat.C:
1199         * insets/insetfoot.C:
1200         * insets/insetmarginal.C:
1201         * insets/insetnote.C:
1202         * insets/insetoptarg.C:
1203         * insets/insettabular.C:
1204         * insets/insettext.C:
1205         * insets/insettext.h:
1206         * insets/insetwrap.C:
1207         * mathed/math_mboxinset.C:
1208         * mathed/math_nestinset.C:
1209         * mathed/math_scriptinset.C:
1210         * mathed/math_scriptinset.h:
1211         * support/types.h:
1212
1213 2004-03-24  Angus Leeming  <leeming@lyx.org>
1214
1215         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1216         deal with any child processes that have finished but are waiting to
1217         communicate this fact to the rest of LyX.
1218
1219 2004-03-24  Angus Leeming  <leeming@lyx.org>
1220
1221         64-bit compile fixes.
1222
1223         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1224         (c-tor): pass lyx::pos_types rather than ints.
1225
1226         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1227         lyx::pos_type.
1228
1229         * text.C (Delete): compile fix.
1230         (getPar): ensure that function declaration is the same as that in
1231         the header file.
1232
1233 2004-03-23  Angus Leeming  <leeming@lyx.org>
1234
1235         * ispell.C (LaunchIspell):
1236         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1237         a boost::shred_ptr rather than a std::auto_ptr.
1238
1239 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240
1241         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1242         handle LFUN_FILE_INSERT_*
1243
1244         * lyxrc.C (setDefaults, getDescription, output, read):
1245         * lyxrc.h: remove ps_command
1246
1247 2004-03-22  Angus Leeming  <leeming@lyx.org>
1248
1249         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1250         Ensure that error_handler is processed once only and that all data
1251         is saved before attempting to output any warning messages.
1252
1253         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1254
1255 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1256
1257         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1258
1259 2004-03-19  André Pönitz  <poenitz@gmx.net>
1260
1261         * cursor.[Ch] (reset): take main text inset as argument
1262
1263         * BufferView: adjust
1264         * BufferView_pimpl.C: adjust
1265
1266         * paragraph.[Ch]: fix completely broken operator=()
1267
1268 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1269
1270         * LColor.C (getFromLyXName): make sure that the color name is used
1271         as lowercase.
1272
1273 2004-03-17  Angus Leeming  <leeming@lyx.org>
1274
1275         * lfuns.h:
1276         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1277
1278         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1279         dialog and to kill a forked process.
1280
1281 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1282
1283         * text2.C (setCursorFromCoordinates): fix font problem
1284
1285 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1288         bogus "rebuild cursor" code
1289
1290 2004-03-11  André Pönitz  <poenitz@gmx.net>
1291
1292         * buffer.[Ch]: use InsetText instead of LyXText as container for
1293         the main lyx text.
1294
1295         * dociterator.[Ch]: drop the BufferView * member which is not needed
1296         anymore after the change to buffer.C
1297
1298         * paragraph_funcs.C:
1299         * text.C:
1300         * text2.C:
1301         * BufferView.[Ch]:
1302         * BufferView_pimpl.[Ch]:
1303         * cursor.[Ch]:
1304         * cursor_slice.[Ch]: adjust
1305
1306         * text3.C: fix bug in mathDispatch
1307
1308 2004-03-08  André Pönitz  <poenitz@gmx.net>
1309
1310         * undo.[Ch]: use 'StableDocumentIterator' as base for
1311         the Undo struct.
1312
1313 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1314
1315         * LaTeXFeatures.C:
1316         * bufferparams.[Ch]: add jurabib support and param.
1317
1318         * LaTeX.C: add FIXME/comment.
1319
1320 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1321
1322         * buffer.C: increment file format to 230.
1323
1324 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1325
1326         * cursor.C (dispatch): avoid infinite loops
1327
1328 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1329
1330         * rowpainter.C (paintSelection): fix x coordinates
1331
1332 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1333
1334         * text.C (rowBreakPoint): fix breaking before displayed insets
1335
1336 2004-03-01  André Pönitz  <poenitz@gmx.net>
1337
1338         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1339
1340         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1341
1342         * Makefile.am:
1343         * BufferView.C:
1344         * BufferView_pimpl.C:
1345         * buffer.C:
1346         * lyxfind.C:
1347         * lyxfunc.C:
1348         * text.C:
1349         * text2.C:
1350         * text3.C: adjust
1351
1352 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * lyxtext.h:
1355         * text.C:
1356         * text2.C:
1357         * rowpainter.C:
1358         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1359         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1360
1361 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1362
1363         * Bidi.[Ch] (computeTables): const correctness
1364         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1365         fill_hfill, fill_label_hfill and x from Row
1366         * lyxtext.h: prepareToPrint returns a RowMetrics
1367         * rowPainter.C: adjust
1368         * text.C (prepareToPrint): use width, not textWidth. adjust
1369         (redoParagraphInternal, cursorX): adjust
1370         * text2.C (getColumnNearX): adjust
1371         (init): put a default value to the top LyXText::width
1372
1373 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1374
1375         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1376
1377 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1378
1379         * lyxtext.h: add FontIterator class
1380
1381         * text.C (FontIterator, operator*, operator->, operator++): add
1382         (rowBreakPoint, setRowWidth): adjust (fixing a
1383         rebreaking bug)
1384
1385 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1386
1387         * BufferView_pimpl.C (workAreaDispatch): allow also
1388         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1389
1390 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1391
1392         * text.C (rowBreakPoint): fix a bug showing with very large insets
1393
1394 2004-02-25  André Pönitz  <poenitz@gmx.net>
1395
1396         * text3.C:
1397         * cursor.[Ch]: move some mathed specific code to mathed
1398
1399 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1400
1401         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1402         use_tempdir in preferences
1403         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1404         tempfile creation
1405         * lyx_main.C: ensure that tempdir is valid
1406         * lyxlex.h: correct typo
1407         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1408         * paragraph.[Ch] (isMultiLingual): make const
1409         * cursor.[Ch] (openable): make const
1410
1411 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1412
1413         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1414
1415 2004-02-20  André Pönitz  <poenitz@gmx.net>
1416
1417         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1418
1419         * cursor.[Ch]: prepare for localized getStatus()
1420
1421         * lyxtext.h:
1422         * tabular.C:
1423         * text.C:
1424         * text2.C:
1425         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1426
1427 2004-02-20  André Pönitz  <poenitz@gmx.net>
1428
1429         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1430
1431 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1432
1433         * text2.C (setCursorFromCoordinates): switch to absolute coords
1434         (cursorUp): adjust
1435         (cursorDown): adjust
1436         * text3.C (dispatch): adjust
1437
1438 2004-02-16  André Pönitz  <poenitz@gmx.net>
1439
1440         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1441           insets/ChangeLog)
1442
1443         * cursor_slice.[Ch]: remove unneeded acessor function
1444
1445         * lyxtext.h: rename rtl() to isRTL()
1446
1447         * rowpainter.C:
1448         * tabular.C:
1449         * text.C:
1450         * text2.C:
1451         * text3.C: adjust
1452
1453 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * rowpainter.C (paintSelection): coord fix
1456
1457 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1458
1459         * Spacing.C: compile fix
1460
1461 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1462
1463         * cursor.C (dispatch): restore current_ before returning
1464
1465 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * text2.C (cursorUp, cursorDown): fix coords
1468         (moveUp): fix crash
1469
1470 2004-02-12  André Pönitz  <poenitz@gmx.net>
1471
1472         * lyxtext.h:
1473         * text.C:
1474         * text2.C:
1475         * text3.C: add LCursor & parameter to most cursor movement functions
1476           remove usage of LyXText::cursorRow() and cursorPar()
1477
1478         * cursor.[Ch]: add textRow() needed members
1479
1480         * BufferView.C:
1481         * BufferView_pimpl.C:
1482         * paragraph.[Ch]:
1483         * BufferView.C:
1484         * BufferView_pimpl.C: adjust
1485
1486 2004-02-11  André Pönitz  <poenitz@gmx.net>
1487
1488         * lyxfunc.C:
1489         * BufferView.[Ch]:
1490         * BufferView_pimpl.C: shift undo/redo handling
1491
1492         * cursor.[Ch]: fix mathed crash
1493
1494         * lyxfind.C:
1495         * lyxtext.h: move selectionAsText to LCursor
1496
1497         * output_latex.C:
1498         * paragraph.C:
1499         * text.C:
1500         * text2.C:
1501         * text3.C: adjust
1502
1503         * rowpainter.C: fix excessive drawing
1504
1505 2004-02-06  André Pönitz  <poenitz@gmx.net>
1506
1507         * BufferView.[Ch]:
1508         * BufferView_pimpl.[Ch]:
1509         * text3.C: move some text specific LFUN handling
1510
1511 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1512
1513         * text3.C (checkInsetHit): adjust coords
1514         * text2.C (getColumnNearX): adjust coords
1515         (edit): adjust coords
1516         * text.C (getRowNearY): add two asserts
1517
1518 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1519
1520         * converter.C:
1521         * format.C: add using std::distance to compile on gcc 2.95/stlport
1522
1523 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1524
1525         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1526
1527 2004-02-04  André Pönitz  <poenitz@gmx.net>
1528
1529         * BufferView.[Ch] (insertInset):
1530         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1531
1532         * text2.C:
1533         * text3.C: adjust
1534
1535 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1536
1537         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1538         on the default clause of the switch
1539         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1540         wasn't catched by LCursor::dispatch
1541
1542 2004-02-03  André Pönitz  <poenitz@gmx.net>
1543
1544         * BufferView.C:
1545         * cursor.[Ch]: some additional asserts
1546
1547         * undo.[Ch]: remove LyXText dependency in interface
1548
1549         * lyxfunc.C: adjust
1550
1551         * lyxtext.h (firstPar, lastPar): remove dead functions
1552
1553         * text.C:
1554         * text2.C:
1555         * text3.C:
1556         * paragraph.[Ch]: adjust
1557
1558 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * lyxfind.C (find): fix argument order in call to ::find
1561
1562 2004-02-02  André Pönitz  <poenitz@gmx.net>
1563
1564         * cursor.[Ch]: remove direct access to anchor
1565
1566         * text.C: remove findText() hack
1567
1568 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1569
1570         * iterators.[Ch] (lockPath): remove in favour of...
1571         * BufferView.[Ch] (setCursor): this addition
1572         * BufferView.C (putSelectionAt): adjust
1573         * undo.C (performUndoOrRedo): adjust
1574         * lyxfunc.C (dispatch): adjust
1575
1576 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * iterators.C (lockPath): add a missing slice
1579         * undo.C (performUndoOrRedo): remove redundant positioning code
1580
1581 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1582
1583         * vc-backend.C (scanMaster): ";" -> ';'
1584
1585 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1586
1587         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1588         std::binary_function
1589
1590         * lyxtextclass.C (compare_name): rename to...
1591         (LayoutNamesEqual): ...this
1592
1593         * lyxlex_pimpl.C (compare_tags): inherit from
1594         std::binary_function, put back into anon namespace
1595
1596         * lyxfind.C (MatchString): inherig from std::binary_function
1597         (findChange): use empty() istead of !size()
1598
1599         * format.C (FormatNamesEqual): new functor
1600         (getFormat): use it
1601         (getNumber): use it
1602         (add): use it
1603         (erase): use it
1604         (setViewer): use it
1605
1606         * converter.C (compare_Converter): rename to...
1607         (ConverterEqual): ...this, and fixup a bit.
1608         (getConverter): use it, and make function const
1609         (getNumber): use it, and make function const
1610         (add): use it
1611         (erase): use it:
1612
1613         * bufferlist.C: add using boost::bind
1614
1615         * MenuBackend.C (MenuNamesEqual): new functor
1616         (hasMenu): use it, and make function const
1617         (hasSubmenu): use nested bind to get rid of compare_memfun.
1618
1619 2004-01-30  André Pönitz  <poenitz@gmx.net>
1620
1621         * BufferView_pimpl.C:
1622         * cursor.C:
1623         * cursor.h:
1624         * cursor_slice.[Ch]:
1625         * lyxfunc.C:
1626         * lyxtext.h:
1627         * paragraph_funcs.C:
1628         * paragraph_funcs.h:
1629         * rowpainter.C:
1630         * text.C:
1631         * text2.C:
1632         * text3.C: move some of the edit(x,y) handling to the insets
1633         some coordinate changes.
1634
1635 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1636
1637         * text.C: add using statements for std::advance and std::distance
1638
1639         * paragraph.C: add using statement for std::distance
1640
1641         * lyxfind.C: add using statement for std::advance
1642
1643         * cursor.C (region): remove std:: from swap
1644         (openable): use nucleus in stead of operator->
1645
1646         * BufferView.C: add using statements for std::distance and std::swap
1647
1648 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1649
1650         * iterators.C: Remove the pimple, move the needed structures to
1651         the header file. Create accessor for the positions stack.
1652         (asPosIterator): remove function
1653
1654         * PosIterator.C (PosIterator): move constructors to top of file
1655         (PosIterator): reimplement the constructor taking a ParIterator in
1656         terms of setFrom.
1657         (setFrom): new function
1658         (operator!=): inline it
1659
1660 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1661
1662         * lyxfind.C (replaceAll): use std::advance
1663
1664         * iterators.h: inherit from std::iterator.
1665
1666         * PosIterator.C (advance, distance): remove
1667         * PosIterator.h: interit from std::iterator.
1668
1669 2004-01-26  André Pönitz  <poenitz@gmx.net>
1670
1671         * BufferView.[Ch]:
1672         * BufferView_pimpl.[Ch]:
1673         * InsetList.[Ch]:
1674         * PosIterator.[Ch]:
1675         * buffer.h:
1676         * bufferview_funcs.C:
1677         * cursor.[Ch]:
1678         * cursor_slice.h:
1679         * factory.[Ch]:
1680         * iterators.[Ch]:
1681         * lyxfind.C:
1682         * lyxfunc.C:
1683         * lyxtext.h:
1684         * output_docbook.C:
1685         * output_latex.C:
1686         * output_linuxdoc.C:
1687         * output_plaintext.C:
1688         * paragraph.[Ch]:
1689         * paragraph_funcs.[Ch]:
1690         * paragraph_pimpl.[Ch]:
1691         * rowpainter.C:
1692         * tabular.C:
1693         * tabular.h:
1694         * text.C:
1695         * text2.C:
1696         * text3.C: more IU:  dumps most of the rest of the mathcursor
1697     implementation into cursor.[Ch]; "globalize" a bit of it.
1698
1699 2004-01-25  Angus Leeming  <leeming@lyx.org>
1700
1701         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1702
1703 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1704
1705         * LaTeXFeatures.h: add nice_ and nice() const
1706         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1707
1708 2004-01-20  André Pönitz  <poenitz@gmx.net>
1709
1710         * BufferView.[Ch]:
1711         * BufferView_pimpl.C:
1712         * PosIterator.C:
1713         * bufferview_funcs.C:
1714         * cursor.[Ch]:
1715         * cursor_slice.[Ch]:
1716         * factory.C:
1717         * iterators.C:
1718         * lyx_cb.C:
1719         * lyxfind.C:
1720         * lyxfunc.C:
1721         * lyxtext.h:
1722         * rowpainter.C:
1723         * text.C:
1724         * text2.C:
1725         * text3.C:
1726         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1727           LCursor and mathcursor parts to LCursor and InsetBase.
1728
1729 2004-01-15  André Pönitz  <poenitz@gmx.net>
1730
1731         * cursor_slice.[Ch]: add a few covienience functions
1732
1733         * funcrequest.[Ch]: remove BufferView * member
1734
1735         * BufferView_pimpl.C:
1736         * cursor.C:
1737         * factory.[Ch]:
1738         * lyxfind.[Ch]:
1739         * lyxfunc.C:
1740         * lyxtext.h:
1741         * text3.C:
1742         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1743
1744 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1745
1746         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1747         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1748
1749 2004-01-13  André Pönitz  <poenitz@gmx.net>
1750
1751         * textcursor.[Ch]:
1752         * lyxtext.h: hide cursor and selection anchor behind accessor function
1753
1754         * BufferView.C:
1755         * BufferView_pimpl.[Ch]:
1756         * PosIterator.C:
1757         * bufferview_funcs.C:
1758         * cursor.h:
1759         * lyxfind.C:
1760         * lyxfunc.C:
1761         * text.C:
1762         * text2.C:
1763         * text3.C:
1764         * undo.C: adjust
1765
1766         * cursor.h:
1767         * cursor_slice.[Ch]: some integer type changes for inset unification
1768
1769         * lyxcursor.[hC]: remove, it's CursorSlice now.
1770
1771         * Makefile.am:
1772         * BufferView_pimpl.[Ch]:
1773         * bufferview_funcs.C:
1774         * cursor_slice.C:
1775         * lyxtext.h:
1776         * text.C:
1777         * text2.C:
1778         * text3.C:
1779         * textcursor.[Ch]: adjust
1780
1781 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1782
1783         * text2.C (undoSpan): add and use
1784         * text.C (breakParagraph): use undoSpan (fix bug 578)
1785         * lyxtext.h: adjust
1786
1787 2004-01-08  Angus Leeming  <leeming@lyx.org>
1788
1789         * BufferView_pimpl.C (MenuInsertLyXFile):
1790         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1791         * lyxfunc.C (menuNew, open, doImport):
1792         FileFilterList change to the FileDialog open and save functions.
1793
1794 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1795
1796         * ShareContainer.h: make isEqual and isUnique adaptable
1797
1798         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1799
1800 2004-01-07  Angus Leeming  <leeming@lyx.org>
1801
1802         * LyXAction.C:
1803         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1804
1805         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1806
1807         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1808         functions replacing find, replace and replaceAll.
1809
1810         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1811         LFUN_WORDFIND(FORWARD|BACKWARD).
1812
1813 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1814
1815         * text.C (breakParagraph): remove an outdated #warning
1816
1817 2004-01-07  André Pönitz  <poenitz@gmx.net>
1818
1819         * lyxfind.C: somewhat clearer logic
1820
1821         * text.C: prevent crash in cursorX on unitialized row cache
1822
1823 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1824
1825         * lyxcursor.[Ch] (operator>): add
1826         * textcursor.C (selStart, selEnd): use std::min and std::max
1827
1828 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1829
1830         * Chktex.C: include boost/format.hpp
1831
1832 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1833
1834         * InsetList.C: replace functor MathcIt with adaptable functor
1835         InsetTablePosLess
1836         (insetIterator): modify accordingly
1837
1838         * BranchList.h: move the BranchNamesEqual functor here from...
1839         * BranchList.C: ... to here
1840
1841         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1842         SameName and match.
1843         (add): replace a finding loop with std::find_if.
1844
1845 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1846
1847         * output_docbook.C: moving LatexParam functionality into
1848         .layout files
1849
1850 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1851
1852         * buffer.C: increment format to 229.
1853
1854 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1855
1856         * LaTeXFeatures.C:
1857         * lyx_sty.[Ch]: remove minipageindent_def
1858
1859         * LyXAction.C:
1860         * factory.C:
1861         * lfuns.h:
1862         * lyxfunc.C:
1863         * text3.C: remove LFUN_INSET_MINIPAGE
1864
1865 2003-12-28  Angus Leeming  <leeming@lyx.org>
1866
1867         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1868
1869 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1870
1871         * text2.C (setParagraph): fix off-by-one crash
1872
1873 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1874
1875         * output_docbook.C: header stuff for AGU
1876
1877 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1878
1879         * text2.C (redoCursor): remove
1880         * text.C:
1881         * text3.C:
1882         * BufferView_pimpl.C: remove calls to redoCursor and
1883         setCursor(cursor.par(), cursor.pos()) all around
1884
1885 2003-12-15  Angus Leeming  <leeming@lyx.org>
1886
1887         * buffer.C: up the format to 228.
1888
1889 2003-12-15  André Pönitz  <poenitz@gmx.net>
1890
1891         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1892         slices
1893
1894         * Makefile.am:
1895
1896         * BufferView_pimpl.C:
1897         * cursor.[Ch]:
1898         * lyxcursor.[Ch]:
1899         * rowpainter.[Ch]:
1900         * lyxtext.h:
1901         * text.C:
1902         * text2.C:
1903         * text3.C: adjust
1904
1905 2003-12-15  Angus Leeming  <leeming@lyx.org>
1906
1907         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1908         than getFromGUIName to manipulate the color.
1909
1910 2003-12-14  Angus Leeming  <leeming@lyx.org>
1911
1912         * BranchList.[Ch]: minimize the API.
1913         (Branch::getBranch, getColor): now return a 'const &'.
1914         (Branch::setSelected) now returns a bool set to true if the
1915         selection status changes.
1916         (BranchList::clear, size, getColor, setColor, setSelected,
1917         allBranches, allSelected, separator): removed.
1918         (BranchList::find): new functions, returning the Branch with
1919         the given name.
1920         (BranchList::add, remove): return a bool indicating that
1921         the operation was successful.
1922
1923         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1924         new InsetBranch::isBranchSlected member function.
1925
1926         * LColor.[Ch]: mimimize the API.
1927         (fill): renamed as addColor and made private.
1928         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1929         versions of these functions taking a string arg have been removed.
1930
1931         * bufferparams.C (readToken):
1932         * lyxfunc.C (dispatch):
1933         * lyxrc.C (read): changes due to the altered BranchList and
1934         LColor APIs.
1935
1936         * factory.C (createInset, readInset): changes due to altered
1937         InsetBranch c-tor.
1938
1939 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1940
1941         * factory.C:
1942         * lyxfunc.C: remove insetminipage. "minipage-insert"
1943         now produces a frameless minipage box inset.
1944
1945 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1946
1947         * textcursor.[Ch] (selStart,selEnd): add new methods
1948         remove selection::start, end, use LyXCursor::operator<
1949         * lyxcursor.[Ch] (operator<): add
1950         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1951         * BufferView.[Ch] (unsetXSel): add
1952         * text2.C (clearSelection): use unsetXSel,adjust
1953         * text.C: adjust
1954         * text3.C: adjust
1955         * rowpainter.C: adjust
1956         * bufferview_funcs.C (put_selection_at): adjust
1957
1958 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1959
1960         * BufferView_pimpl.C: small coord. correction
1961
1962 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1963
1964         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1965         dragging over the splash screen.
1966
1967 2003-12-11  Angus Leeming  <leeming@lyx.org>
1968
1969         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1970         as it is now handled in LyXText::dispatch.
1971
1972         * text3.C (doInsertInset): remove a level of nesting.
1973
1974 2003-12-11  Angus Leeming  <leeming@lyx.org>
1975
1976         * factory.C (createInset): changes due to the changed interface to
1977         InsetCommandMailer::string2params.
1978
1979 2003-12-10  Angus Leeming  <leeming@lyx.org>
1980
1981         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1982         'dialog-show-new-inset <inset name>'
1983
1984 2003-12-10  Angus Leeming  <leeming@lyx.org>
1985
1986         * buffer.C: up the format to 227.
1987
1988         * factory.C: the box inset is now identified simply by 'Box'.
1989
1990 2003-12-10  Angus Leeming  <leeming@lyx.org>
1991
1992         * buffer.C: up the format to 226.
1993
1994         * factory.C: the note inset is now identified simply by 'Note'.
1995
1996 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1997
1998         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1999         when a pit is enough. Standarize a couple of loops.
2000
2001 2003-12-05  Angus Leeming  <leeming@lyx.org>
2002
2003         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2004         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2005         data to the re-worked "log" dialog.
2006
2007 2003-12-03  André Pönitz  <poenitz@gmx.net>
2008
2009         * PosIterator.C:
2010         * iterators.C:
2011         * lyxtext.h:
2012         * output_latex.C:
2013         * paragraph_funcs.C:
2014         * text.C:
2015         * text2.C: use Inset::getText instead of Inset::getParagraph
2016
2017 2003-12-03  André Pönitz  <poenitz@gmx.net>
2018
2019         * buffer.[Ch]:
2020         * lyxtext.h:
2021         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2022         InsetText::read() as LyXText::read()
2023
2024 2003-12-02  Angus Leeming  <leeming@lyx.org>
2025
2026         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2027         type. Add a comment in the implementation that the function uses
2028         the stream's bad() function rather than fail() as the std::streams
2029         would do.
2030
2031 2003-12-02  André Pönitz  <poenitz@gmx.net>
2032
2033         * lyxlex.[Ch]: make interface more similar to std::stream
2034
2035         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2036
2037 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2038
2039         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2040
2041 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2042
2043         * vspace.[Ch]: remove VSpace::NONE
2044
2045 2003-12-01  André Pönitz  <poenitz@gmx.net>
2046
2047         * buffer.[Ch]:
2048         * lyxtext.h: move ParagraphList member to LyXText
2049         rename LyXText::ownerParagraphs to LyXText::paragraph
2050
2051         * CutAndPaste.C:
2052         * bufferview_funcs.C:
2053         * iterators.[Ch]:
2054         * lyx_cb.C:
2055         * paragraph.C:
2056         * rowpainter.C:
2057         * tabular.C:
2058         * text.C:
2059         * text2.C:
2060         * text3.C: adjust
2061
2062         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2063
2064         * undo.C: fix cursor positioning
2065
2066 2003-12-01  John Levon  <levon@movementarian.org>
2067
2068         * BufferView_pimpl.C: fix a crash on exit with
2069         a buffer open
2070
2071 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2072
2073         * BranchList.C: fix setSelected() method.
2074
2075 2003-11-28  André Pönitz  <poenitz@gmx.net>
2076
2077         * ParagraphParameters.[Ch]:
2078         * ParameterStruct.h: remove space above/below from Paragraph to
2079          InsetVSpace
2080
2081         * BufferView_pimpl.C:
2082         * factory.C:
2083         * lyxfunc.C:
2084         * lyxtext.h:
2085         * output_latex.C:
2086         * paragraph.C:
2087         * paragraph_funcs.C:
2088         * rowpainter.[Ch]:
2089         * text.C:
2090         * text2.C:
2091         * text3.C: adjust
2092
2093 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2094
2095         * factory.C: Syntax change for CharStyles
2096
2097 2003-11-28  André Pönitz  <poenitz@gmx.net>
2098
2099         * BufferView.[Ch]:
2100         * BufferView.[Ch]:
2101         * buffer.[Ch]:
2102         * buffer.[Ch]: move LyXText member
2103
2104 2003-11-28  André Pönitz  <poenitz@gmx.net>
2105
2106         * BufferView.[Ch]: make LyXText * text a private member
2107
2108         * BufferView_pimpl.C:
2109         * cursor.C:
2110         * iterators.C:
2111         * lyx_cb.C:
2112         * lyxfind.C:
2113         * lyxtext.h:
2114         * rowpainter.[Ch]:
2115         * text.C:
2116         * text2.C:
2117         * undo.C: adjust
2118
2119         * output_plaintext.C: cleanup
2120
2121 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2122
2123         * buffer.C:
2124         * lyxtextclass.[Ch]: parametrize SGML document header
2125
2126 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2127
2128         * converter.[Ch]:
2129         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2130         getFlavor().
2131
2132 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2133
2134         * text2.C (setFont): rework using PosIterator (no more recursive)
2135         (setCharFont): no more needed
2136         (setLayout): no more selection cursors fiddling (done by redoCursor)
2137         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2138         destroy remaining ones)
2139
2140 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2141
2142         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2143         * lyxtext.h: ditto
2144         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2145         selection cursors
2146         * lyxfunc.C: adjust
2147         * text3.C: adjust + re-allow multi par depth changes
2148         * textcursor.C: simplify a bit
2149
2150 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2151
2152         * src/buffer.C:
2153         * src/lyxlayout.C:
2154         * src/lyxlayout.h:
2155         * src/lyxtext.h:
2156         * src/output_docbook.C:
2157         * src/output_latex.C:
2158         * src/paragraph.C:
2159         * src/paragraph.h:
2160         * src/sgml.C:
2161         * src/sgml.h:
2162         * src/text2.C: Introducing a number of tags parametrizing various
2163         XML formats that we may want to support
2164
2165 2003-11-25  André Pönitz  <poenitz@gmx.net>
2166
2167         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2168
2169         * lyxtext.h (leftMargin/rightMargin): simplify interface
2170
2171         * rowpainter.C:
2172         * text.C:
2173         * text2.C:
2174         * text3.C: adjust
2175
2176 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2177
2178         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2179         master file to any child files. Fixes bug 546.
2180
2181 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2182
2183         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2184
2185 2003-11-24  André Pönitz  <poenitz@gmx.net>
2186
2187         * rowpainter.C: simplification
2188
2189         * text2.C (updateCounters): remove call to redoParagraph on
2190         changed labels as this is far too expensive.
2191
2192 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2193
2194         * converter.C (convert): fix a crash: this function gets
2195         called with buffer == 0 from importer code.
2196
2197 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2198
2199         * text3.C (cursorPrevious): make sure that we do not compare
2200         iterators form different containers.
2201         (cursorNext): ditto
2202
2203         * rowpainter.C (paintSelection): make sure that we do not compare
2204         iterators from different containers.
2205
2206         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2207         iterators from different ParagraphList containers.
2208         [NEXT] ditto
2209
2210         * text2.C (LyXText): change order of initialization slightly
2211         (operator=): new function. copy all variables except cache_par_
2212         (moveUp): make sure that we do not compare iterators from
2213         different ParagraphList constainers.
2214         (moveDown): ditto
2215
2216         * text.C (firstPar): new function
2217         (lastPar): new function
2218         (endPar): new function
2219
2220         * lyxtext.h: move things around and group public functions, public
2221         variables, private functions, private variables
2222
2223 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2224
2225         * factory.C: change call to InsetERT constructor to avoid
2226         additional invocation of method status
2227         * text2.C (toggleInset): remove redundant update() call
2228         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2229         instead of a Bufferview pointer
2230
2231 2003-11-21  André Pönitz  <poenitz@gmx.net>
2232
2233         * rowpainter.C: simplification
2234
2235 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2236
2237         * text3.C (dispatch): make possible to extend a word/row selection
2238         with the mouse
2239
2240 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2241
2242         * lyxtext.h: x0_,y0_ -> xo_,yo_
2243         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2244         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2245         * rowpainter.C (paintRows): paint full paragraphs
2246
2247 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2248
2249         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2250         screen coordinates)
2251
2252 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2253
2254         * lyxtext.h: add x0_, y0_
2255         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2256         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2257
2258 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2259
2260         * text2.C (setCursorIntern): move the x_target update here *
2261         * text3.C: change some bv() to true/false in calls to
2262         cursorUp/Down/Right/Left
2263         * cursor.C: use helper function.
2264
2265 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2266
2267         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2268         * paragraph_funcs.[Ch]: correct comment
2269         * rowpainter.C: do not paint selections away from bv->cursor()
2270         Fix a long standing selection painting bug.
2271         * text3.C: generalize mouse-selection code to LyXTexts other that
2272         top one
2273         * textcursor.C: do not use y coords if we can use par offsets
2274
2275 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2276
2277         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2278         cursor position after e.g. inset insert)
2279
2280 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2281
2282         * lyxfind.C (replace): adjust to locking removal + some
2283         code simplification
2284
2285 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2286
2287         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2288         of the path
2289
2290 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2291
2292         * lyxlayout.[Ch]:
2293         * output_docbook.C: XML sanitation: new layout
2294         parameters InnerTag and CommandDepth
2295
2296 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2297
2298         * BufferView_pimpl.C:
2299         * factory.C:
2300         * text3.C: Fix the insertion and modification of button-style
2301         insets
2302
2303 2003-11-13  André Pönitz  <poenitz@gmx.net>
2304
2305         * InsetList.[Ch]: remove deleteLyXText
2306
2307         * paragraph.[Ch]: cache beginOfBody position
2308
2309         * Bidi.C:
2310         * text.C:
2311         * text2.C:
2312         * text3.C: remove superfluous update() calls
2313
2314         * vspace.C: cleanup
2315
2316 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2317
2318         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2319         * BufferView.C (fitLockedInsetCursor): remove
2320         * cursor.[Ch] (getDim): add
2321         * text.C (getRowNearY): add faster version
2322         * text3.C: remove some update calls
2323
2324 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2325
2326         * LaTeXFeatures.C:
2327         * LyXAction.C:
2328         * MenuBackend.C:
2329         * MenuBackend.h:
2330         * dispatchresult.h:
2331         * factory.C:
2332         * lfuns.h:
2333         * lyxfunc.C:
2334         * lyxtextclass.C:
2335         * lyxtextclass.h:
2336         * text3.C: The Character Style /XML short element patch.
2337
2338 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2339
2340         * text3.C:
2341         * factory.C: Small step to solving 'unable to insert some insets'
2342         problem
2343
2344 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2345
2346         * cursor.[Ch] (updatePos): new function for updating the y
2347         position of the tip inset
2348         * bufferview_funcs.C (put_selection_at):
2349         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2350
2351 2003-11-11  André Pönitz  <poenitz@gmx.net>
2352
2353         * text.C: remove big comment on invalid Paragraph pointers as it is
2354         not valid anymore
2355
2356 2003-11-11  André Pönitz  <poenitz@gmx.net>
2357
2358         * text_funcs.[Ch]: merge with ...
2359
2360         * text.C: ... this
2361
2362         * lyxtext.h:
2363         * text2.C:
2364         * text3.C: adjust
2365
2366         * Makefile.am: remove text_funcs.[Ch]
2367
2368 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2369
2370         * cursor.C (getPos): return absolute cached y coord
2371
2372         * BufferView_pimpl.C (fitCursor): new simplistic code
2373         (workAreaDispatch): add a fitCursor call
2374
2375 2003-11-10  André Pönitz  <poenitz@gmx.net>
2376
2377         * BufferView.[Ch]:
2378         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2379
2380 2003-11-10  André Pönitz  <poenitz@gmx.net>
2381
2382         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2383         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2384         indicate that the cursor needs to leave an inset
2385
2386         * lyxtext.h: remove inset locking
2387
2388         * cursor.[Ch]: re-implement functionality provided by inset locking
2389
2390         * BufferView.[Ch]:
2391         * BufferView_pimpl.[Ch]:
2392         * LyXAction.C:
2393         * bufferview_funcs.[Ch]:
2394         * factory.C:
2395         * funcrequest.[Ch]:
2396         * iterators.C:
2397         * lyx_cb.C:
2398         * lyxfind.C:
2399         * lyxfunc.C:
2400         * text.C:
2401         * text2.C:
2402         * text3.C:
2403         * undo.C: adjust
2404
2405 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2406
2407         * PosIterator.[Ch]: replace the stack with a vector, add inset
2408         accesor
2409         * iterators.[C]: adjust
2410
2411 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2412
2413         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2414         replaced
2415         * paragraph_funcs.C (readParToken): put the correct id in the
2416         error item, not the id of the top paragraph
2417
2418 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2419
2420         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2421         * bufferview_funcs.C (put_selection_at): use the above
2422
2423 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2424
2425         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2426
2427 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2428
2429         * output_linuxdoc.h:
2430         * output_plaintext.h:
2431         * output.h:
2432         * output_docbook.h: add #include statements
2433
2434 2003-11-05  José Matos  <jamatos@lyx.org>
2435
2436         * output_docbook.[Ch]:
2437         * output_latex.[Ch]:
2438         * output_linuxdoc.[Ch]:
2439         * output_plaintext.[Ch]: New files for output formats.
2440         * output.[Ch]: New file for helper functions.
2441
2442         * buffer.[Ch]:
2443         * paragraph_funcs.[Ch]: output functions moved to new files.
2444
2445         * outputparams.h: rename of latexrunparams.h
2446
2447         * LaTeX.[Ch]:
2448         * buffer.[Ch]:
2449         * bufferlist.[Ch]:
2450         * converter.[Ch]:
2451         * exporter.C:
2452         * paragraph.[Ch]:
2453         * paragraph_funcs.[Ch]:
2454         * paragraph_pimpl.[Ch]:
2455         * tabular.[Ch]: rename ascii to plaintext
2456         and LatexRunParams to OutputParams.
2457
2458 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2459
2460         * iterators.[Ch] (text): require bv argument
2461         * undo.C (recordUndo):
2462         * lyxfunc.C (dispatch):
2463         * bufferview_funcs.C (put_selection_at): adjust
2464
2465 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2466
2467         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2468
2469 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2470
2471         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2472         nestings
2473
2474 2003-11-04  André Pönitz  <poenitz@gmx.net>
2475
2476         * cursor.[Ch]: restructure
2477
2478         * BufferView.[Ch]:
2479         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2480
2481         * iterators.[Ch] (asCursor): remove
2482
2483         * lfuns.h: remove LFUN_INSET_EDIT
2484
2485         * lyxfunc.C:
2486         * tabular.C:
2487         * text.C:
2488         * text2.C:
2489         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2490
2491 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2492
2493         * lyxfind.[Ch]: complete overhaul
2494         * BufferView_pimpl.C:
2495         * lyxfunc.C: adjust
2496         * paragraph.[Ch] (insert): add
2497
2498 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2499
2500         * BufferView.[Ch]:
2501         * lyxtext.h:
2502         * text.C: remove dead spellcheck code
2503
2504 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * dispatchresult.h: add a val setter
2507
2508         * cursor.C (dispatch): use a tempvar for data_[i]
2509
2510 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2511
2512         * PosIterator.[Ch]: compile fix
2513
2514 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2515
2516         * text.C (cursorPar): deactivate the cursor cache
2517
2518 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2519
2520         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2521
2522 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2523
2524         * text3.C (dispatch): adjust for new DisptchResult semantics.
2525
2526         * lyxfunc.C (dispatch): handle update when return from
2527         Cursor::dispatch, adjust for new DispatchResult semantics.
2528
2529         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2530         DispatchResult(true) mean to not update. Add class functions for
2531         setting dispatched and update, as well as reading.
2532
2533         * cursor.C (dispatch): don't handle update here
2534
2535 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2536
2537         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2538         * trans_mgr.C: adjust
2539
2540         * paragraph_funcs.C (readParToken): exception safety
2541
2542         * lyxvc.h: store the vcs pointer in a scoped_ptr
2543         * lyxvc.C: adjust
2544
2545         * lyxsocket.C (serverCallback): exception safety
2546
2547         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2548
2549         * ispell.C (clone): make it return a auto_ptr
2550
2551         * factory.C (createInset): exception safety
2552         (readInset): exception safety
2553
2554         * bufferlist.C (newBuffer): exception safety
2555
2556         * Thesaurus.C (Thesaurus): use initialization for aik_
2557
2558         * MenuBackend.C (expandToc): exception safety.
2559
2560 2003-11-03  André Pönitz  <poenitz@gmx.net>
2561
2562         * buffer.C:
2563         * buffer.h:
2564         * bufferview_funcs.C: remove getInsetFromId()
2565
2566         * lyxcursor.[Ch]:
2567         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2568
2569         * lyxfunc.C:
2570         * text2.C:
2571         * text3.C: adjust
2572
2573 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2574
2575         * PosIterator.C (distance, advance): new
2576         * bufferview_funcs.[Ch] (put_selection_at): new
2577         * iterators.[Ch] (lockPath): new
2578
2579 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2580
2581         * iterators.[Ch] (asPosIterator): added
2582         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2583         * PosIterator.[Ch]: added
2584
2585 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * text3.C:
2588         * lyxfunc.C:
2589         * cursor.C (dispatch):
2590         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2591
2592         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2593         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2594         contructor, add a class function dispatched. Remove operator>=
2595
2596 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2597
2598         * debug.C: only use the default constructor for debugstream
2599         (lyxerr) here.
2600
2601         * main.C (main): include debug.h and setup the lyxerr streambuf
2602         here.
2603
2604 2003-10-31  José Matos  <jamatos@lyx.org>
2605
2606         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2607
2608         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2609         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2610         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2611         * paragraph_pimpl.C (simpleTeXSpecialC):
2612         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2613         add LatexRunParams argument.
2614
2615         * exporter.C (Export): change call accordingly.
2616
2617         * latexrunparams.h: add new member to take care of the other backends.
2618 2003-10-30  José Matos  <jamatos@lyx.org>
2619
2620         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2621         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2622         factorise code for paragraph output.
2623         * buffer.[Ch]:
2624         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2625         move functions.
2626
2627 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * text3.C (dispatch):
2630         * lyxfunc.C (dispatch):
2631         * cursor.C (dispatch):
2632         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2633
2634         * dispatchresult.h: make the dispatch_result_t ctor explicit
2635
2636 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2637
2638         * sgml.[Ch]:
2639         * buffer.C: small refactoring of docbook stuff
2640
2641 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2642
2643         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2644         meaning.
2645
2646 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2647
2648         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2649         operator dispatch_result_t, and operators for == != and >=
2650
2651         * cursor.C (dispatch): adjust for operator dispatch_result_t
2652         removal. comment out call to update
2653
2654         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2655
2656 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2657
2658         * text3.C:
2659         * text2.C:
2660         * text.C:
2661         * lyxtext.h:
2662         * lyxfunc.C:
2663         * cursor.C:
2664         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2665         (dispatch):
2666
2667         * dispatchresult.h: new file, DispatchResult broken out of
2668         insets/insetbase.h
2669
2670         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2671
2672 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2673
2674         * text.C (rowBreakPoint): put a hack inside #if 0
2675
2676 2003-10-28  André Pönitz  <poenitz@gmx.net>
2677
2678         * lyxtext.h:
2679         * metricsinfo.C:
2680         * paragraph_funcs.C:
2681         * rowpainter.C:
2682         * text.C:
2683         * text2.C: general cleanup (lots of small stuff)
2684
2685 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2686
2687         * text2.C (cursorEnd): simple fix to the "end key goes to one
2688         before the end on last row" bug
2689
2690 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2691
2692         * text.C (backspace): fix the "zombie characters"
2693
2694 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2695
2696         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2697
2698 2003-10-27  André Pönitz  <poenitz@gmx.net>
2699
2700         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2701
2702         * factory.C: handle new InsetPagebreak, InsetLine
2703
2704         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2705         and move handling into new InsetPagebreak, InsetLine
2706
2707         * BufferView_pimpl.C:
2708         * LyXAction.C:
2709         * ParagraphParameters.C:
2710         * ParameterStruct.h:
2711         * lyxfunc.C:
2712         * lyxtext.h:
2713         * paragraph.C:
2714         * paragraph.h:
2715         * paragraph_funcs.C:
2716         * paragraph_pimpl.C:
2717         * rowpainter.C:
2718         * text.C:
2719         * text2.C:
2720         * text3.C: adjust
2721
2722 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2723
2724         * text.C:
2725         * lyxrow_funcs.[Ch]:
2726         * Bidi.C:
2727         * paragraph.C:
2728         * lyxtext.h:
2729         * rowpainter.C:
2730         * text2.C:
2731         * text3.C: remove lastPos uses in favour of Row::endpos
2732
2733 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2734
2735         * undo.C (performUndoOrRedo): fix two crashes by setting a
2736         cursor by hand and reordering some calls. Use bv->lockInset instead
2737         of inset->edit because the latter loses cursor information
2738
2739 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2740
2741         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2742         by Martin
2743         (rowBreakPoint): fix width. change point to point + 1.
2744         Add a missing check.
2745
2746 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2747
2748         * MenuBackend.C:
2749         * lyxfunc.C: fix (at least partly) the problems
2750         with the Nav menu and headers inside branch insets
2751         reported by Kayvan
2752
2753 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2754
2755         * paragraph.C (getChar): add strong asserts
2756
2757         * lyxrow_funcs.C (lastPos): remove hideous hack
2758
2759         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2760         (fill): adjust to that (avoid an infinite loop)
2761
2762 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2763
2764         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2765
2766 2003-10-23  André Pönitz  <poenitz@gmx.net>
2767
2768         * RowList_fwd.h: change list<> to vector<> to gain speed
2769         after suggestion from Alfredo
2770
2771 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2772
2773         * lyxtext.h: move the bidi stuff from here...
2774         * text.C: and here
2775         * text2.C: and here
2776         * Bidi.[Ch]: ... to here
2777
2778 2003-10-23  André Pönitz  <poenitz@gmx.net>
2779
2780         * lyxtext.h:
2781         * text.C (isLastRow, isFirstRow): new functions
2782
2783         * paragraph.h: new width cache member
2784
2785         * rowpainter.C: replace RowList::iterator with Row & where possible
2786
2787         * lyxfunc.C: replace several view()->text with a single call
2788
2789         * toc.C: fix 'unused' warning
2790
2791 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2792
2793         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2794         when woring with stream::pos_type
2795         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2796
2797 2003-10-22  André Pönitz  <poenitz@gmx.net>
2798
2799         * lyxtext.h:
2800         * text.C: use Row & instead of RowList::iterator
2801
2802         * lyxrow.h: rename end() to endpos()
2803
2804         * rowpainter.C:
2805         * text.C:
2806         * text2.C: adjust
2807
2808 2003-10-22  Angus Leeming  <leeming@lyx.org>
2809
2810         * buffer.[Ch] (fully_loaded): new member function, returning true
2811         only when the file has been loaded fully.
2812         Used to prevent the premature generation of previews and by the
2813         citation inset to prevent computation of the natbib-style label.
2814
2815         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2816         templates are all set up.
2817
2818         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2819
2820 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2821
2822         * text.C: fixed an "oops" in the "is a bit silly"
2823         bug fix
2824
2825 2003-10-21  André Pönitz  <poenitz@gmx.net>
2826
2827         * FuncStatus.[Ch]: small stuff, whitespace
2828
2829         * lyxfont.[Ch]: operator<<() for debug reasons
2830
2831         * lyxfunc.C:
2832         * lyxrow_funcs.C:
2833         * lyxtext.h: whitespace, spelling
2834
2835         * paragraph.C: naming of variables
2836
2837         * text.C:
2838         * text2.C: small stuff
2839
2840
2841 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2842
2843         * text.C: (1) finish off the inset display() work;
2844         (2) fix the "is a bit silly" bug (accessing char
2845         past end of par).
2846
2847 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2848
2849         * text.C: re-introduce display() for insets, fixing the
2850         various bugs (stretch of line above, math inset
2851         positioning, ...)
2852
2853 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2854
2855         * text.C (rightMargin): remove spurious semicolon
2856
2857         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2858         1415)
2859
2860 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * text3.C: fix one crash due to wrong cursor def
2863
2864 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2865
2866         * vc-backend.C (scanMaster): make the regex static
2867
2868         * LaTeX.C (scanAuxFile): make the regexs static
2869
2870         * text3.C (doInsertInset, dispatch, dispatch):
2871         * text2.C (cursorUp, cursorDown):
2872         * text.C (selectNextWordToSpellcheck):
2873         * BufferView_pimpl.C (dispatch):
2874         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2875
2876 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2877
2878         * lyxsocket.C: include <cerrno>
2879
2880 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * lyxfunc.C (dispatch): remove textcache stuff
2883
2884         * bufferlist.C (release): remove textcache stuff
2885         (closeAll): ditto
2886
2887         * TextCache.C: delete file
2888         * TextCache.h: delete file
2889
2890         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2891
2892         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2893         delete of the bv_->text.
2894         (resizeCurrentBuffer): remove texcache stuff
2895         (workAreaResize): ditto
2896
2897 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2898
2899         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2900         action.
2901
2902 2003-10-16  André Pönitz  <poenitz@gmx.net>
2903
2904         * lyxrow.[Ch]:
2905         * paragraph.h:
2906         * rowpainter.C:
2907         * text.C:
2908         * text2.C:
2909         * text3.C: speed up by storing y positions per paragraph plus per-row
2910         offset instead of having a 'full' y position in the row.
2911
2912 2003-10-15  André Pönitz  <poenitz@gmx.net>
2913
2914         * iterators.[Ch]:
2915         * iterators.[Ch]:
2916         * undo.[Ch]: make undo aware of inner insets
2917
2918 2003-10-14  Angus Leeming  <leeming@lyx.org>
2919
2920         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2921         static member functions LyX::ref() and LyX::cref.
2922         (lastfiles): new accessor functions for the new lastfiles_ member var.
2923         (addLyXView, views_): add a new LyXView to the list of views_.
2924         (updateInset): loop over all LyXViews to call their own updateInset
2925         member function, returning a pointer to the Buffer owning the inset.
2926
2927         * BufferView_pimpl.C (loadLyXFile):
2928         * MenuBackend.C (expandLastfiles):
2929         * bufferlist.C (MenuWrite, QuitLyX):
2930         lastfiles is no longer a global variable.
2931         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2932
2933         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2934         static function. Access through LyX::cref().emergencyCleanup().
2935
2936 2003-10-14  André Pönitz  <poenitz@gmx.net>
2937
2938         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2939
2940         * undo.[Ch]: restoring part of 'undo in insets'
2941
2942         * Makefile.am:
2943         * undo_funcs.[Ch]: merge with undo.[Ch]
2944
2945         * tabular.C: small cleansing stuff
2946
2947 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2948
2949         * paragraph_funcs.C (readParToken): report unknown insets as error
2950         boxes. Use the outer paragraph as location (also for unknown
2951         tokens).
2952
2953         * factory.C (readInset): do not abort on reading an unknown inset.
2954         Eat it and return 0.
2955
2956 2003-10-13  Angus Leeming  <leeming@lyx.org>
2957
2958         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2959
2960         * lyxrc.C: displayTranslator is now a function,
2961         declared in GraphicsTypes.h.
2962
2963 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2964
2965         * format.C: new placeholder $$a to pass the socket address.
2966
2967         * bufferlist.[Ch]: new function getBufferFromTmp.
2968
2969         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2970           files in the temporary dir.
2971
2972 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2973
2974         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2975
2976         * Makefile.am: add lyxsocket.[Ch].
2977
2978         * lyx_main.C (error_handler): handle SIGPIPE.
2979
2980 2003-10-13  André Pönitz  <poenitz@gmx.net>
2981
2982         * BufferView_pimpl.C:
2983         * lyxtext.h:
2984         * text.C:
2985         * text2.C:
2986         * text3.C:
2987         * undo_funcs.[Ch]: use paroffset_type instead of
2988           ParagraphList::iterators to prevent multiple conversion
2989           (and get a more robust interface)
2990
2991 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2994         * lyxtext.h: ditto
2995         * text3.C (dispatch): ditto
2996
2997 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3000         move the onlyfile, use onlyfile instead of foundfile in a couple
3001         of places.
3002
3003         * DepTable.C (update): flush the error stream a bit more
3004
3005 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * lyxserver.C (callback): adjust
3008
3009         * lyxfunc.C (getStatus): add a missing brace in commented code
3010         (ensureBufferClean): reindent
3011         (dispatch): delete version taking a string
3012
3013 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3014
3015         * LaTeX.C (deplog): move found file handlig from here...
3016         (handleFoundFile): .. to new function here.
3017         (deplog): make sure to discover several files mentioned on the
3018         same log line.
3019
3020 2003-10-10  André Pönitz  <poenitz@gmx.net>
3021
3022         * lyxfunc.C:
3023         * lyxtext.h:
3024         * tabular.C:
3025         * text.C:
3026         * text2.C:
3027         * text3.C: fix some of the tabular crashes
3028
3029 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3030
3031         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3032
3033         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3034
3035 2003-10-09  André Pönitz  <poenitz@gmx.net>
3036
3037         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3038
3039         * BufferView.C:
3040         * BufferView_pimpl.C:
3041         * bufferview_funcs.C:
3042         * lyx_cb.C:
3043         * lyxcursor.C:
3044         * lyxfind.C:
3045         * lyxfunc.C:
3046         * lyxtext.h:
3047         * text.C:
3048         * text2.C:
3049         * text3.C:
3050         * text_funcs.[Ch]:
3051         * textcursor.[Ch]:
3052         * undo_funcs.C: adjust
3053
3054 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3055
3056         * text2.C (incrementItemDepth): new function, use a backtracking
3057         algorithm to discover the correct item depth.
3058         (resetEnumCounterIfNeeded): new function, use a backtracking
3059         algorithm to discover if counter reset is needed.
3060         (setCounter): use them. Simplify a bit. Add different labels for
3061         different item depths for itemize.
3062
3063         * paragraph.C (Paragraph): remove initialization of enumdepth
3064         (operator=): ditto
3065
3066         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3067         enumerate and itemize. Change the type of itemdepth to signed char.
3068
3069 2003-10-08  André Pönitz  <poenitz@gmx.net>
3070
3071         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3072           thing assignable.
3073         * text.C:
3074         * text2.C: adjust
3075
3076         * tabular.[Ch]: fix crash after 'row-insert'
3077
3078 2003-10-08  Angus Leeming  <leeming@lyx.org>
3079
3080         Fix doxygen warnings.
3081
3082         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3083         Remove CutAndPaste:: prefix from header file declaration.
3084
3085         * LColor.h (fill): remove LColor:: prefix from declaration.
3086
3087         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3088         use lyx::depth_type rather than Paragraph::depth_type so that
3089         header file and .C file match.
3090
3091         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3092
3093         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3094         * aspell.C: \file aspell_local.C -> \file aspell.C
3095         * gettext.C: \file gettext.C -> \file src/gettext.C
3096         * gettext.h: \file gettext.h -> \file src/gettext.h
3097         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3098         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3099         * text.C: \file text.C -> \file src/text.C
3100
3101         * toc.C: move comment so that doxygen is not confused.
3102
3103 2003-10-07  Angus Leeming  <leeming@lyx.org>
3104
3105         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3106
3107 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3108
3109         * aspell.C:
3110         * aspell_local.h: add forgotten std::string's.
3111
3112 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3113
3114         * LaTeXFeatures.C:
3115         * LyXAction.C:
3116         * factory.C:
3117         * lfuns.h:
3118         * lyxfunc.C:
3119         * text3.C: The Box patch. Fancybox support, minipage, parbox
3120
3121 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3122
3123         * CutAndPaste.h:
3124         * DepTable.h:
3125         * FloatList.h:
3126         * LaTeXFeatures.h:
3127         * ParagraphParameters.h:
3128         * TextCache.h:
3129         * Thesaurus.h:
3130         * bufferlist.h:
3131         * exporter.h:
3132         * importer.h:
3133         * lastfiles.h:
3134         * lyxfind.h:
3135         * lyxfont.h:
3136         * lyxlex.h:
3137         * lyxtextclasslist.h:
3138         * messages.h:
3139         * paragraph.h:
3140         * paragraph_pimpl.C:
3141         * textcursor.h: add <string> and other small fixes to make Lars'
3142         std::string patch compile with STLport.
3143
3144 2003-10-06  Angus Leeming  <leeming@lyx.org>
3145
3146         * LColor.h: Add missing #include <string>.
3147
3148 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * All most all file in all subdirs: Make <string> be the prefered
3151         way of getting to std::string, add using declarations.
3152
3153 2003-10-06  André Pönitz  <poenitz@gmx.net>
3154
3155         * metricsinfo.C: initialize LyXFont before changing attribute.
3156         (fixes the 'math in \emph is upright' bug)
3157
3158 2003-10-06  André Pönitz  <poenitz@gmx.net>
3159
3160         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3161
3162 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3163
3164         * graph.C:
3165         * paragraph_pimpl.C: Small fixes to build using STLport
3166
3167 2003-10-02  André Pönitz  <poenitz@gmx.net>
3168
3169         * lyxfunc.C:
3170         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3171
3172 2003-10-01  André Pönitz  <poenitz@gmx.net>
3173
3174         * factory.C: assert early
3175
3176 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3177
3178         * lyx_main.C: remove the global debug object
3179
3180         * debug.h: adjust for new debugstream
3181
3182         * debug.C: adjust for new debugstream and keep the global debug
3183         object here.
3184
3185 2003-09-22  Angus Leeming  <leeming@lyx.org>
3186
3187         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3188         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3189         an incomplete class LyXFont.
3190
3191 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3192
3193         * factory.C: bug fix in branches
3194
3195 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * lyxfunc.C (processKeySym): adjust
3198         (dispatch): adjust
3199         (dispatch): change arg name from ev to func, adjust
3200         (sendDispatchMessage): ditto
3201
3202         * lyx_main.C (defaultKeyBindings): adjust keybindings
3203         (deadKeyBindings): ditto
3204
3205         * kbsequence.C (addkey): return a FuncRequest
3206
3207         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3208
3209         * kbmap.C (bind): take a FuncRequest as arg, adjust
3210         (read): adjust
3211         (lookup): adjust
3212         (defkey): change to take a FuncRequest as arg, adjust
3213         (findbinding): take a FuncRequest as arg, adjust.
3214
3215         * funcrequest.h (operator=): added
3216
3217         * funcrequest.C (FuncRequest): default kb_action changed from
3218         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3219
3220         * buffer.C (dispatch): simplify
3221         (dispatch): adjust to take a FuncRequest as arg, adjust
3222
3223         * boost.C (assertion_failed): change assertion message slightly
3224
3225         * ToolbarBackend.C (read): simplify
3226
3227         * MenuBackend.C (binding): adjust call to findbinding, add a
3228         message if no binding is found.
3229         (read): simplify
3230         (expandToc): correct by adding a empty FuncRequest
3231
3232         * LyXAction.C: include <boost/assert.hpp>
3233         (isPseudoAction): delete function
3234         (LookupFunc): change name to...
3235         (lookupFunc): this. change return type to FuncRequest.
3236         (getActionName): take kb_action as arg, simplify
3237         (funcHasFlag): add an assert, simplify.
3238
3239 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3240
3241         * toc.C (action): return a FuncRequest, simplify
3242
3243         * lyxfunc.C (processKeySym): adjust
3244         (getStatus): delete version that takes an int.
3245         (getStatus): adjust
3246         (dispatch): delete version that takes action as int
3247         (dispatch): adjust
3248         (sendDispatchMessage): simplify and adjust
3249
3250         * funcrequest.C (getArg): take unsigned int as arg
3251
3252         * ToolbarBackend.C (read): adjust
3253         (add): delete version that takes func as a string.
3254         (getIton): take a FuncRequest as arg
3255
3256         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3257         action.
3258
3259         * MenuBackend.C (MenuItem): add a new construct that only takes a
3260         Kind, simplify the constructor use for submenus.
3261         (add): adjust
3262         (expandLastfiles): adjust
3263         (expandDocuments): adjust
3264         (expandFormats): adjust
3265         (expandFloatListInsert): adjust
3266         (expandFloatInsert): adjust
3267         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3268
3269         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3270         Remove class variables lyx_pseudo_map and lyx_arg_map
3271
3272         * LyXAction.C (searchActionArg): delete function
3273         (getPseudoAction): delete function
3274         (retrieveActionArg): delete function
3275         (LookupFunc): make it return kb_action, simplify.
3276         (getActionName): simplify
3277
3278         * factory.C (createInset): fix new bug
3279
3280 2003-09-19  Angus Leeming  <leeming@lyx.org>
3281
3282         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3283         masterFilename_ parameter in the include inset.
3284
3285         * factory.C (createInset): changes due to the changes to InsetInclude.
3286
3287 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3288
3289         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3290
3291 2003-09-18  Angus Leeming  <leeming@lyx.org>
3292
3293         * buffer.C:
3294         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3295         Inset::fillWithBibKeys.
3296         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3297
3298 2003-09-18  Angus Leeming  <leeming@lyx.org>
3299
3300         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3301         variables.
3302         (ctor): pass and store a 'Buffer const &'
3303         (buffer): new member function.
3304
3305         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3306         '*this' to the LaTeXFeatures ctor.
3307
3308 2003-09-18  Angus Leeming  <leeming@lyx.org>
3309
3310         * LColor.h:
3311         * lyxfont.C:
3312         * lyxfont.h:
3313         * lyxtext.h:
3314         * text.C: rename EnumLColor as LColor_color.
3315
3316 2003-09-18  Angus Leeming  <leeming@lyx.org>
3317
3318         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3319         remove #include "insets/insetbase.h" from cursor.h.
3320
3321 2003-09-18  Angus Leeming  <leeming@lyx.org>
3322
3323         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3324         InsetOld_code to remove #include "inset.h".
3325
3326         * iterators.C: add #include "insets/inset.h"
3327
3328 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3329
3330         * BufferView.C: remove more locking stuff that apparently doesn't
3331         do anything sensible.
3332
3333 2003-09-16  André Pönitz  <poenitz@gmx.net>
3334
3335         * paragraph.[Ch]:
3336         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3337           performance boost.
3338
3339 2003-09-16  Angus Leeming  <leeming@lyx.org>
3340
3341         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3342
3343         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3344         arg/return type.
3345
3346         * paragraph.h: remove #include "lyxfont.h". Forward declare
3347         LyXFont_size.
3348
3349 2003-09-16  Angus Leeming  <leeming@lyx.org>
3350
3351         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3352         of support/textutils.h.
3353         (isWord): move the contents of support/textutils.h's IsWordChar here.
3354
3355         * buffer.C:
3356         * lyxfind.C:
3357         * rowpainter.C:
3358         * text.C:
3359         * text2.C: add #include "paragraph.h".
3360
3361         * rowpainter.C:
3362         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3363
3364 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * main.C:
3367         * lyx_main.C:
3368         * lyx_cb.C:
3369         * buffer.C:
3370         * LaTeX.C: use namespace alias for lyx::support::os
3371
3372 2003-09-16  Angus Leeming  <leeming@lyx.org>
3373
3374         * bufferparams.C:
3375         * bufferview_funcs.C:
3376         * factory.C:
3377         * lyxfunc.C:
3378         * paragraph_pimpl.C:
3379         * rowpainter.C:
3380         * text.C: add #include "LColor.h".
3381
3382 2003-09-16  Angus Leeming  <leeming@lyx.org>
3383
3384         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3385         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3386         return LyXFont &.
3387         Store the FontBits::color variable as an int rather than as an
3388         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3389         file.
3390
3391         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3392         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3393         string calls together.
3394
3395         * lyxrc.C: add #include "LColor.h".
3396
3397 2003-09-15  Angus Leeming  <leeming@lyx.org>
3398
3399         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3400         a cow_ptr.
3401
3402 2003-09-15  Angus Leeming  <leeming@lyx.org>
3403
3404         * LColor.h: add an EnumLColor wrapper for LColor::color.
3405
3406         * lyxfont.[Ch] (color, setColor, realColor):
3407         * lyxtext.h, text.C (backgroundColor):
3408         pass EnumLColor args to/from the functions, rather than LColor::color
3409         ones.
3410
3411         * lyxfont.h:
3412         * lyxtext.h: forward declare EnumLColor.
3413
3414         * lyx_main.C: add #include "LColor.h".
3415
3416 2003-09-15  Angus Leeming  <leeming@lyx.org>
3417
3418         * .cvsignore: add lyx-gtk.
3419
3420 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3421
3422         * Chktex.C
3423         * LaTeX.C
3424         * LaTeXFeatures.C
3425         * ParagraphParameters.C
3426         * Spacing.C
3427         * buffer.C
3428         * bufferparams.C
3429         * bufferview_funcs.C
3430         * chset.C
3431         * counters.C
3432         * funcrequest.C
3433         * lyxfont.C
3434         * lyxgluelength.C
3435         * lyxlength.C
3436         * paragraph.C
3437         * paragraph_funcs.C
3438         * text3.C
3439         * vc-backend.C: remove usage of STRCONV
3440
3441 2003-09-15  Angus Leeming  <leeming@lyx.org>
3442
3443         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3444         explicitly define the color passed to the painter.
3445
3446 2003-09-15  Angus Leeming  <leeming@lyx.org>
3447
3448         * bufferparams.C (BufferParams): reorder member initializers to avoid
3449         compiler warning.
3450
3451 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3452
3453         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3454         * text.C (updateRowPositions): remove an unusual nop
3455
3456 2003-09-12  André Pönitz  <poenitz@gmx.net>
3457
3458         * BufferView_pimpl.C:
3459         * Bullet.C:
3460         * layout.h:
3461         * lyxfunc.C:
3462         * lyxlayout.[Ch]:
3463         * lyxtextclass.C:
3464         * rowpainter.C:
3465         * text.C:
3466         * text2.C:
3467         * Counters.[Ch]: finish the 'automatic counters' job
3468
3469 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3470
3471         * aspell.C: include <boost/assert.cpp> (compile fix)
3472
3473 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3474
3475         * boost.C (assertion_failed): use lyx::support::abort instead of
3476         assert.
3477
3478 2003-09-10  Angus Leeming  <leeming@lyx.org>
3479
3480         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3481         with their _fwd progeny.
3482
3483 2003-09-09  Angus Leeming  <leeming@lyx.org>
3484
3485         134 files throughtout the source tree: replace 'using namespace abc;'
3486         directives with the appropriate 'using abc::xyz;' declarations.
3487
3488 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3489
3490         * boost.C (emergencyCleanup): moved here from LAssert.c
3491         (assertion_failed): new function, called by BOOST_ASSERT
3492
3493         * several files: change Assert to BOOST_ASSERT
3494
3495 2003-09-09  Angus Leeming  <leeming@lyx.org>
3496
3497         * buffer.[Ch]: Add an Impl class and move Buffer's member
3498         variables into it. As a result move several header files out of
3499         buffer.h.
3500
3501         Add header files to lots of .C files all over the tree as a result.
3502
3503 2003-09-09  Angus Leeming  <leeming@lyx.org>
3504
3505         * buffer.[Ch]: make Buffer's member variables private. Add
3506         accessor functions.
3507
3508         Lots of changes all over the tree as a result.
3509
3510 2003-09-08  Angus Leeming  <leeming@lyx.org>
3511
3512         * graph.C: #include <config.h>.
3513
3514 2003-09-08  Angus Leeming  <leeming@lyx.org>
3515
3516         * BranchList.C:
3517         * BufferView.C:
3518         * BufferView_pimpl.C:
3519         * CutAndPaste.C:
3520         * DepTable.C:
3521         * LaTeX.C:
3522         * LaTeXFeatures.C:
3523         * LyXAction.C:
3524         * MenuBackend.C:
3525         * TextCache.C:
3526         * aspell.C:
3527         * buffer.C:
3528         * bufferlist.C:
3529         * changes.C:
3530         * chset.C:
3531         * converter.C:
3532         * counters.C:
3533         * debug.C:
3534         * graph.C:
3535         * ispell.C:
3536         * lyx_cb.C:
3537         * lyxfind.C:
3538         * lyxfunc.C:
3539         * lyxlex_pimpl.C:
3540         * lyxrc.C:
3541         * lyxrow.C:
3542         * paragraph.C:
3543         * rowpainter.C:
3544         * texrow.C:
3545         * text.C:
3546         * text2.C:
3547         * toc.C: remove redundant using directives.
3548
3549 2003-09-07  Angus Leeming  <leeming@lyx.org>
3550
3551         * LaTeXFeatures.h: remove #include "support/types.h".
3552         * ToolbarBackend.h: remove #include <algorithm>.
3553         * changes.h: remove #include <ctime>.
3554         * debug.h: remove #include <iosfwd>.
3555         * graph.h: remove #include "support/std_string.h".
3556         * lyx_main.h: remove #include <csignal>.
3557         * lyxlex_pimpl.h: remove #include <fstream>.
3558         * sgml.h: remove #include <algorithm>, <utility>.
3559         * toc.h: remove #include "support/std_ostream.h".
3560         Add #include <iosfwd>.
3561
3562 2003-09-07  Angus Leeming  <leeming@lyx.org>
3563
3564         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3565
3566         * converter.h: forward declare LatexRunParams.
3567         * encoding.h: remove #include "lyxrc.h".
3568         * lyxtext.h: remove #include "LColor.h".
3569         * lyxtextclass.h: remove #include "support/types.h".
3570         * trans.h: remove #include "tex-accent.h".
3571         * trans_mgr.h: remove #include "tex-accent.h".
3572         * insets/inset.h: remove #include "support/types.h", <vector>.
3573         * insets/insetcollapsable.h: remove #include "LColor.h".
3574         * insets/insetinclude.h: remove #include "dimension.h".
3575         * insets/insetlatexaccent.h: remove #include "dimension.h".
3576         * insets/insetoptarg.h:: remove #include "insettext.h".
3577         * insets/insettext.h: remove #include "dimension.h",
3578         <boost/shared_ptr.hpp>
3579
3580         * insets/renderers.h: add #include "dimension.h".
3581         * insets/updatableinset.h: add #include "support/types.h".
3582
3583         * many .C files: Associated changes.
3584
3585 2003-09-06  Angus Leeming  <leeming@lyx.org>
3586
3587         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3588         one, inside testInvariant.
3589
3590         * PrinterParams.C: new file.
3591         * PrinterParams.[Ch]: move the function bodies out of line.
3592
3593 2003-09-06  Angus Leeming  <leeming@lyx.org>
3594
3595         * ParagraphParameters.h: forward declare ParameterStruct rather than
3596         including its header file.
3597         (depth): moved out-of-line.
3598
3599 2003-09-06  Angus Leeming  <leeming@lyx.org>
3600
3601         * BufferView_pimpl.h:
3602         * kbmap.h:
3603         * kbsequence.h:
3604         * lyxfunc.h: forward declare LyXKeySym rather than
3605         #include "frontends/LyXKeySym.h".
3606
3607         * BufferView_pimpl.C:
3608         * kbmap.C:
3609         * kbsequence.C:
3610         * lyxfunc.C: associated changes.
3611
3612 2003-09-06  Angus Leeming  <leeming@lyx.org>
3613
3614         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3615         As a result, can remove the #include "insets/inset.h" from BufferView.h
3616
3617 2003-09-06  Angus Leeming  <leeming@lyx.org>
3618
3619         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3620         As a result, can remove the #include "insets/inset.h" from BufferView.h
3621
3622 2003-09-06  Angus Leeming  <leeming@lyx.org>
3623
3624         * buffer_funcs.C:
3625         * buffer.h:
3626         * bufferlist.C:
3627         * BufferView.C:
3628         * bufferview_funcs.C:
3629         * BufferView_pimpl.C:
3630         * CutAndPaste.C:
3631         * lyx_cb.C:
3632         * lyxfunc.C:
3633         * paragraph.h:
3634         * ParagraphParameters.C:
3635         * tabular.C:
3636         * text3.C:
3637         * toc.C:
3638         * undo_funcs.C:
3639         * frontends/controllers/ControlDocument.C:
3640         * insets/insetcaption.C: rearrange the #includes into some sort of
3641         coherent order.
3642
3643         * buffer.h: remove #includes ErrorList.h, undo.h
3644
3645 2003-09-06  Angus Leeming  <leeming@lyx.org>
3646
3647         * support/types.h: add a 'depth_type' typedef, used to store the
3648         nesting depth of a paragraph.
3649
3650         * paragraph.h:
3651         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3652         defining explicitly.
3653
3654         * buffer.h:
3655         * paragraph_funcs.h:
3656         * ParagraphParameters.h:
3657         * sgml.h: use lyx::depth_type rather than Paragraph or
3658         ParameterStruct's depth_type.
3659
3660         * buffer.h
3661         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3662
3663         * BufferView.C:
3664         * BufferView_pimpl.C:
3665         * CutAndPaste.C:
3666         * ParagraphParameters.C:
3667         * buffer_funcs.C:
3668         * bufferlist.C:
3669         * bufferview_funcs.C:
3670         * lyx_cb.C:
3671         * lyxfunc.C:
3672         * tabular.C:
3673         * text3.C:
3674         * toc.C:
3675         * undo_funcs.C:
3676         * frontends/LyXView.C:
3677         * frontends/controllers/ControlDocument.C:
3678         * frontends/controllers/ControlErrorList.C:
3679         * insets/insetbibitem.C:
3680         * insets/insetbranch.C:
3681         * insets/insetcaption.C:
3682         * insets/insetcollapsable.C:
3683         * insets/insetenv.C:
3684         * insets/insetert.C:
3685         * insets/insetfloat.C:
3686         * insets/insetfoot.C:
3687         * insets/insetfootlike.C:
3688         * insets/insetnewline.C:
3689         * insets/insetquotes.C:
3690         * insets/insettabular.C:
3691         * insets/insettext.C:
3692         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3693
3694         * frontends/controllers/ControlChanges.C: #include "changes.h".
3695
3696 2003-09-06  Angus Leeming  <leeming@lyx.org>
3697
3698         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3699         than #including paragraph.h.
3700
3701         * ParagraphList.h:
3702         * RowList.h: deleted. Superfluous.
3703
3704         * CutAndPaste.h:
3705         * iterators.h:
3706         * lyxcursor.h:
3707         * lyxtext.h:
3708         * text_funcs.h:
3709         * undo.h:
3710         * undo_funcs.h:
3711         * insets/inset.h:
3712         * insets/insettext.h: use ParagraphList_fwd.h rather than
3713         ParagraphList.h.
3714
3715         * paragraph.h: don't forward declare ParagraphList.
3716
3717         * buffer.h:
3718         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3719         rather than ParagraphList.h. paragraph.h is still needed for the
3720         Paragraph::depth_type parameters.
3721
3722         * textcursor.h: enable it to compile stand-alone in light of the
3723         above changes.
3724
3725         * bufferview_funcs.C:
3726         * iterators.C:
3727         * lyxfunc.C:
3728         * lyxrow_funcs.C:
3729         * paragraph.C:
3730         * rowpainter.C:
3731         * text.C:
3732         * text2.C:
3733         * text3.C:
3734         * text_funcs.C:
3735         * textcursor.C:
3736         * undo.C:
3737         * frontends/controllers/ControlParagraph.C:
3738         * frontends/controllers/ControlTabular.C:
3739         * insets/insetmarginal.C:
3740         * insets/insetminipage.C:
3741         * insets/insetnote.C:
3742         * insets/insetoptarg.C: add header files needed to compile again.
3743
3744 2003-09-06  Angus Leeming  <leeming@lyx.org>
3745
3746         * RowList_fwd.h: new file, forward-declaring Row rather than
3747         #including lyxrow.h.
3748
3749         * lyxrow_funcs.h:
3750         * lyxtext.h:
3751         * paragraph.h:
3752         * insets/insettext.h: use it instead of RowList.h
3753
3754         * bufferview_funcs.C:
3755         * lyxfunc.C:
3756         * lyxrow_funcs.C:
3757         * paragraph.C:
3758         * rowpainter.C:
3759         * text.C:
3760         * text2.C:
3761         * text3.C: #include "RowList.h".
3762
3763 2003-09-05  Angus Leeming  <leeming@lyx.org>
3764
3765         * factory.C (createInset):
3766         * vspace.C (c-tor): replace sscanf call with an istringstream.
3767         * ispell.C: re-add missing HP/UX headers.
3768         * lyxserver.C: re-add missing  os2 headers.
3769
3770 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3771
3772         * BranchList.C:
3773         * graph.C:
3774         * ispell.C:
3775         * lastfiles.C:
3776         * lyx_cb.C:
3777         * lyxserver.C:
3778         * texrow.C:
3779         * text3.C: re-add missing system headers, needed for 2.95.2.
3780
3781 2003-09-05  Angus Leeming  <leeming@lyx.org>
3782
3783         Changes most place everywhere due to the removal of using directives
3784         from support/std_sstream.h.
3785
3786 2003-09-05  Angus Leeming  <leeming@lyx.org>
3787
3788         Replace LString.h with support/std_string.h,
3789         Lsstream.h with support/std_sstream.h,
3790         support/LIstream.h with support/std_istream.h,
3791         support/LOstream.h with support/std_ostream.h.
3792
3793         Changes resulting throughout the tree.
3794
3795 2003-09-05  Angus Leeming  <leeming@lyx.org>
3796
3797         * sgml.h: ensure that the header file can be compiled stand-alone.
3798         * *.C: strip out redundant #includes. (320 in total.)
3799
3800 2003-09-04  Angus Leeming  <leeming@lyx.org>
3801
3802         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3803         here (from getPackages).
3804
3805         * debug.[Ch]: add a new EXTERNAL tag.
3806
3807 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3808
3809         * text2.C (cursorEnd): simplify
3810         (setCursor): adjust
3811         (getColumnNearX): adjust
3812
3813         * text.C (computeBidiTables): adjust
3814         (fill): adjust
3815
3816         * rowpainter.C (paintChars): adjust
3817         (paintSelection): adjust
3818         (paintChangeBar): adjust
3819         (paintText): adjust
3820
3821         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3822         lastPos instead.
3823         (numberOfSeparators): adjust
3824
3825 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3826
3827         * LyXAction.C:
3828         * box.[Ch]:
3829         * lfuns.h:
3830         * lyxfunc.C:
3831         * text3.C: Restricts the mouse click functionality
3832         of insets like bibtex, include, toc and floatlist to the visible
3833         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3834         up the dialogs. Cursor has to be in front of the inset (i.e.
3835         start of row) for this to function.
3836
3837 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3838
3839         * bufferview_funcs.C (currentState): output row information
3840
3841 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3842
3843         * bufferview_funcs.C (currentState): output paragraph position
3844
3845 2003-09-04  Angus Leeming  <leeming@lyx.org>
3846
3847         * FloatList.h: move out #include "Floating.h".
3848         * LaTeX.h: move out #include "DepTable.h".
3849         * LyXAction.h: move out #include "funcrequest.h".
3850         * buffer.h: move out #include "author.h", "iterators.h".
3851         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3852         * lyx_main.h: move out #include "errorlist.h".
3853         * lyxfunc.h: move out #include "FuncStatus.h".
3854         * lyxtext: move out #include "lyxcursor.h".
3855         * paragraph_pimpl.h: move out #include "counters.h".
3856
3857 2003-09-03  Angus Leeming  <leeming@lyx.org>
3858
3859         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3860         preamble_snippets list, enabling us to add snippets to the preamble
3861         only if the snippet was not there already.
3862
3863 2003-09-04  Angus Leeming  <leeming@lyx.org>
3864
3865         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3866
3867 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3870         update
3871
3872 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3873
3874         * BranchList.C: point fix, earlier forgotten
3875
3876 2003-09-02  Angus Leeming  <leeming@lyx.org>
3877
3878         * box.C (contains): renamed from 'contained' after a fantastic
3879         amount of hot air.
3880
3881 2003-09-02  John Levon  <levon@movementarian.org>
3882
3883         * BufferView.C:
3884         * lyxcursor.h:
3885         * lyxcursor.C:
3886         * lyxfunc.C:
3887         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3888
3889 2003-09-02  John Levon  <levon@movementarian.org>
3890
3891         * text2.C: simplification of cursorEnd(), including partial
3892         fix for bug 1376
3893
3894 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * buffer.C (readFile): add a space
3897
3898 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3901
3902 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3903
3904         * buffer.C (readFile): new function, take a filename and a
3905         ParagraphList::iterator
3906         (readFile): adjust
3907         (readFile): adjust, make it private. don't use setStream, make
3908         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3909         always contain the filename.
3910
3911         * BufferView.C (insertLyXFile): simplify and make it work for
3912         gzipped files.
3913
3914 2003-08-30  John Levon  <levon@movementarian.org>
3915
3916         * Makefile.am: fix dist (from Kayvan)
3917
3918 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * most files: change to use const Buffer refs
3921
3922 2003-08-27  André Pönitz  <poenitz@gmx.net>
3923
3924         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3925         on top of ownerPar().
3926
3927 2003-08-27  John Levon  <levon@movementarian.org>
3928
3929         * funcrequest.C: properly initialise POD members
3930
3931 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3932
3933         * lyxtext.h (top_y): move top_y from here
3934         * text.C:
3935         * text2.C:
3936         * text3.C:
3937         * BufferView.[Ch]:
3938         * BufferView_pimpl.[Ch]: to here
3939         * frontends/screen.C:
3940         * insets/insettabular.C:
3941         * insets/insettext.C: adjust
3942         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3943
3944 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3945
3946         * BufferView.[Ch]:
3947         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3948
3949 2003-08-26  André Pönitz  <poenitz@gmx.net>
3950
3951         * paragraph_func.[Ch] (outerPar): new function
3952
3953         * paragraph.C:
3954         * paragraph_funcs.C:
3955         * paragraph_funcs.h:
3956         * paragraph_pimpl.C:
3957         * text2.C: remove Inset::par_owner
3958
3959 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3960
3961         * lyxrow_funcs.C:
3962         * lyxtext.h:
3963         * text.C:
3964         * text2.C: eliminates the needFullRow/display() stuff
3965         altogether, putting the logic in metrics/draw in the insets.
3966
3967 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3968
3969         * text2.C (redoParagraphInternal, redoParagraphs):
3970         * text.C (redoParagraph): add a call to updateRowPositions at the
3971         end of each 'metrics-like' call. Remove all others.
3972         (getRow): remove the 'y-computing' version.
3973         (getRowNearY): do not compute nor return the real y. Solve the
3974         'y < 0' problem and simplify.
3975
3976 2003-08-22  Angus Leeming  <leeming@lyx.org>
3977
3978         * *.[Ch]: clean-up of licence and author blurbs.
3979         Also move config.h out of a few .h files and into a few .C files.
3980
3981 2003-08-22  André Pönitz  <poenitz@gmx.net>
3982
3983         * lyxrow.[Ch]: add x_ and *fill_ members
3984
3985         * lyxtext.h:
3986         * text.C:
3987         * rowpainter.C:
3988         * text2.C: adjust/remove prepareToPrint() calls
3989
3990 2003-08-22  André Pönitz  <poenitz@gmx.net>
3991
3992         * lyxrow.[Ch]: add  end_ member
3993
3994         * lyxrow_funcs.C: use LyXRow::end_
3995
3996         * lyxtext.h (singleWidth): add LyXFont parameter
3997
3998         * rowpainter.C:
3999         * text2.C: adjust LyXText::singleWidth() calls
4000
4001         * text.C (redoParagraph): simplify row breaking logic
4002
4003
4004 2003-08-19  André Pönitz  <poenitz@gmx.net>
4005
4006         * funcrequest.C: initialize button_ member
4007
4008         * text3.C:
4009         * rowpainter.[Ch]: interface consolidation
4010
4011 2003-08-18  André Pönitz  <poenitz@gmx.net>
4012
4013         * BufferView.C:
4014         * BufferView_pimpl.C:
4015         * lyxfind.C:
4016         * paragraph_funcs.C:
4017         * rowpainter.C:
4018         * text3.C: remove LyXScreen::draw() and fitCursor calls
4019
4020         * BranchList.h: remove spurious semicolons
4021
4022         * MenuBackend.C: fix branchlist related crash
4023
4024 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4025
4026         * BranchList.[Ch]:
4027         * InsetList.[Ch]:
4028         * LColor.[Ch]:
4029         * LyXAction.C:
4030         * Makefile.am:
4031         * MenuBackend.[Ch]:
4032         * bufferparams.[Ch]:
4033         * factory.C:
4034         * lfuns.h:
4035         * lyxfunc.C:
4036         * text3.C: implements the 'branch inset'
4037         idea. This allows the output of various versions of a document
4038         from a single source version, selectively outputing or suppressing
4039         output of parts of the text.
4040         This implementation contains a 'branch list editor' in a separate
4041         tab of the document settings dialog. Branches are user definable
4042         and have a "display colour" to distinguish them on-screen.
4043
4044         ColorHandler was somewhat cleaned up.
4045         (1) make possible a dynamically growing LColor list by allowing
4046         the graphic context cache to grow along (vector);
4047         (2) eliminate an IMHO unnecessary step in colour allocation.
4048
4049 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4050
4051         * BufferView_pimpl.C: compile fix
4052
4053 2003-08-15  André Pönitz  <poenitz@gmx.net>
4054
4055         * rowpainter.C: remove extra metrics calls
4056
4057         * lyxtext.h: merge the two constructors into a single one,
4058           pass reference to owner's par list
4059
4060         * BufferView_pimpl.C:
4061         * text.C:
4062         * text2.C: adjust
4063
4064 2003-08-15  André Pönitz  <poenitz@gmx.net>
4065
4066         * lyxrow_funcs.[Ch]:
4067         * lyxtext.h:
4068         * paragraph.h:
4069         * paragraph_funcs.C:
4070         * rowpainter.C:
4071         * text.C:
4072         * text2.C:
4073         * text3.C:
4074         * text_funcs.C: split LyXText::rowlist_ into individual
4075         Paragraph::rows_ chunks
4076
4077         * BufferView.[Ch]:
4078         * BufferView_pimpl.[Ch]:
4079         * lyxfind.C:
4080         * lyxtext.h:
4081         * text3.C: remove toggleSelection()
4082
4083 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4084
4085         * bufferlist.C: beautify two alerts (shorter text of buttons)
4086         * buffer.C: Remove redundant ' ' from message
4087         * tabular.h:
4088         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4089         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4090         rename VALIGN_CENTER to VALIGN_MIDDLE
4091
4092 2003-08-11  André Pönitz  <poenitz@gmx.net>
4093
4094         * lyxtext.h (getPar):
4095         * text.C: new function
4096
4097 2003-08-11  André Pönitz  <poenitz@gmx.net>
4098
4099         * Makefile.am:
4100         * tracer.[Ch]: remove unneeded files
4101
4102         * InsetList.[Ch]: remove resizeInsetsLyXText()
4103
4104         * lyxtext.h:
4105         * text.C:
4106         * text2.C:
4107         * text3.C: merge insertParagraphs() and appendParagraph()
4108         remove breakAgain(), update()
4109
4110         * BufferView_pimpl.[Ch]:
4111         * bufferview_funcs.[Ch]:
4112         * lyxfunc.C:
4113         * paragraph.[Ch]:
4114         * rowpainter.C:
4115         * tabular.C: adjust after text & InsetList changes.
4116
4117 2003-08-08  André Pönitz  <poenitz@gmx.net>
4118
4119         * text.C (insertChar, backspace): replace rowlist fiddling
4120         with rebreak of full par
4121
4122         * lyxtext.h:
4123         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4124         checkParagraph, updateInset): removed
4125
4126 2003-08-07  André Pönitz  <poenitz@gmx.net>
4127
4128         * paragraph.C:
4129         * text3.C: merge some LFUN handlers, remove dead code
4130
4131 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4132
4133         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4134
4135 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * text2.C (DEPM): fix part of bug 1255 and 1256
4138
4139 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4140
4141         * BufferView_pimpl.C (workAreaDispatch): change to use
4142         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4143         that are no mouse related.
4144
4145 2003-08-05  André Pönitz  <poenitz@gmx.net>
4146
4147         * BufferView.[Ch]:
4148         * BufferView_pimpl.[Ch]:
4149         * bufferview_funcs.C:
4150         * text2.C:
4151         * text3.C: rip out "deep update"
4152
4153         * textcursor.[Ch] (last_sel_cursor): remove unused member
4154
4155 2003-08-04  André Pönitz  <poenitz@gmx.net>
4156
4157         * BufferView.[Ch]:
4158         * BufferView_pimpl.[Ch]:
4159         * ParagraphParameters.C:
4160         * bufferview_funcs.C:
4161         * lyx_cb.C:
4162         * lyxfind.C:
4163         * lyxfunc.C:
4164         * text.C:
4165         * text2.C:
4166         * text3.C: replace "complicated" BufferView::update(...) calls with
4167         simpler ones.
4168
4169         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4170
4171 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4172
4173         * Makefile.am (lyx_SOURCES): add paper.h
4174
4175 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4176
4177         * Makefile.am: move things around so that both lyx-qt and
4178         lyx-xforms can be built (according to --with-frontend). Then lyx
4179         is a symbolic link to lyx-[firstfrontend]
4180
4181 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4182
4183         * Always use std::endl with lyxerr
4184
4185 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4186
4187         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4188
4189 2003-08-01  André Pönitz  <poenitz@gmx.net>
4190
4191         * BufferView.[Ch]:
4192         * BufferView_pimpl.[Ch]:
4193         * lyxfunc.C:
4194         * text3.C: merge BufferView::repaint() and BufferView::update()
4195
4196 2003-08-01  José Matos  <jamatos@lyx.org>
4197
4198         * buffer.[Ch]: file_format is no longer a buffer data element.
4199
4200 2003-08-01  André Pönitz  <poenitz@gmx.net>
4201
4202         * BufferView.C:
4203         * lyxtext.h:
4204         * text.C:
4205         * text2.C: make redoParagraph more independent of current cursor
4206
4207         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4208         * text.C:
4209         * text2.C: remove unneeded members
4210
4211 2003-07-30  André Pönitz  <poenitz@gmx.net>
4212
4213         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4214
4215         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4216           create a single function...
4217
4218         * paragraph_funcs.C (moveItem): ... here.
4219
4220         * text.C:
4221           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4222
4223 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4224
4225         * LColor.[Ch]: Add comment and greyedout logical colors.
4226
4227 2003-07-30  André Pönitz  <poenitz@gmx.net>
4228
4229         * tabular.C: don't use Assert too heavily. This crashes where it
4230           shouldn't
4231
4232 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4233
4234         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4235         is disabled (bug 1232)
4236
4237 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4238
4239         * factory.C: limited 'arg' scope
4240
4241 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4242
4243         * factory.C: fixed Note submenu issues
4244
4245 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4246
4247         * factory.C: submenu for Note/Comment/Greyedout
4248
4249 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4250
4251         * lyx_main.C (LyX):
4252         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4253
4254 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4255
4256         * LaTeXFeatures.C:
4257         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4258         greyedout. Patch provided by Jürgen Spitzmüller.
4259
4260 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4261
4262         * kbmap.C (read): fix error message when reading bind files
4263
4264 2003-07-29  Angus Leeming  <leeming@lyx.org>
4265
4266         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4267         certainly does not do what it purports to do. I am doing it, and
4268         us, a favour by killing it.
4269
4270 2003-07-28  José Matos  <jamatos@lyx.org>
4271
4272         * buffer.C (readBody, do_writeFile):
4273         * paragraph.C(readParagraph): \end_document replaces \the_end.
4274
4275 2003-07-29  André Pönitz  <poenitz@gmx.net>
4276
4277         * BufferView.[Ch]:
4278         * BufferView_pimpl.[Ch]:
4279         * lyxfunc.C:
4280         * text2.C:
4281         * text3.C:
4282         * textcursor.[Ch]: remove toggleToggle & Co
4283
4284 2003-07-28  José Matos  <jamatos@fep.up.pt>
4285
4286         * buffer.C (readParagraph):
4287         * params_func (readParToken, readParagraph):
4288         * paragraph.C (write): \layout -> \begin_layout.
4289
4290 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * lyxlex_pimpl.C (setFile): clean up slightly.
4293
4294         * bufferparams.h: add compressed var
4295
4296         * buffer_funcs.C (readFile): adjust for LyXLex change
4297         (newFile): ditto + simplify
4298
4299         * buffer.C (writeFile): handle writing of compressed files
4300
4301         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4302         Check if the file is compressed and set a bufferparm if so.
4303
4304         * Makefile.am (lyx_LDADD): remove explicit -lz
4305
4306 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4307
4308         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4309         makeDocBookFile): put the real LyX version in the first line of
4310         the file
4311
4312         * version.h:
4313         * version.C.in: remove lyx_docversion
4314
4315         * tabular.C (write_attribute): add a template-based version to
4316         write enums properly
4317
4318 2003-07-28  André Pönitz  <poenitz@gmx.net>
4319
4320         * lyxtext.h:
4321         * text.C:
4322         * text2.C:
4323         * text3.C: use doubles again for x-coordinates. They are needed.
4324
4325 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * messages.C (getLocaleDir): use lyx_localedir()
4328
4329         * lyxlex_pimpl.C (setFile): compress stuff
4330
4331         * buffer.C (writeFile): add some compression stuff
4332         (do_writeFile): new func, dont call expliti close... will this
4333         breake anything?
4334
4335         * Makefile.am (lyx_LDADD): add -lz
4336
4337 2003-07-28  José Matos  <jamatos@fep.up.pt>
4338
4339         * buffer.C: increment file format.
4340         * paragraph_funcs (readParagraph, readParToken):
4341         * paragraph.C (readParagraph): add \end_layout.
4342
4343 2003-07-27  Angus Leeming  <leeming@lyx.org>
4344
4345         * Makefile.am: remove special casing for configure-time setting of
4346         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4347
4348         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4349         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4350
4351 2003-07-26  André Pönitz  <poenitz@gmx.net>
4352
4353         * paragraph_func.[Ch]:
4354         * paragraph.C (realizeFont): inline it whereever it is used
4355
4356         * rowpainter.C:
4357         * text.C:
4358         * text2.C:
4359         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4360
4361
4362 2003-07-26  André Pönitz  <poenitz@gmx.net>
4363
4364         *       lyxtext.h:
4365         * text.C:
4366         * text2.C: get rid of LyXText::need_break_row
4367
4368 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * toc.[Ch]: put namespace toc inside namespace lyx
4371
4372         * MenuBackend.C (expandToc2): adjust for lyx::toc
4373         (expandToc): ditto
4374
4375         * lyxfunc.C (dispatch): adjust for lyx::find
4376
4377         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4378         lyx::find instead. Reorganize a bit.
4379         (LyXReplace): rename to replace
4380         (LyXFind): rename to find
4381
4382         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4383         (dispatch): ditto
4384
4385 2003-07-26  André Pönitz  <poenitz@gmx.net>
4386
4387         * text.C (setHeightOfRow): restrict scope of temporary variable
4388
4389         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4390           code (never has been used?)
4391
4392 2003-07-27  Asger Alstrup  <alstrup@local>
4393
4394         * text.C (fill): Optimise algorithm to exploit that we can reuse
4395         the LyXFont for many characters.
4396         (setHeightOfRow): Same thing.
4397         (rowBreakPoint): Same thing.
4398
4399 2003-07-26  Asger Alstrup  <alstrup@local>
4400
4401         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4402
4403         * text.C (singleWidth): Spurious font copying in hot-spot
4404         singleWidth avoided. Reorder tests for arabic for efficiency.
4405
4406         * text.C (fill): handle empty paragraphs better.
4407
4408 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4409
4410         * ispell.C:
4411         * encoding.h: add includes
4412
4413         * lyxrc.C: remove reading of bind files
4414
4415         * lyx_main.C (init): setup bindings and menus only if we have a
4416         gui.
4417
4418         * kbmap.C (read): new method. Do the actual reading of bind
4419         files.
4420
4421         * converter.C (dvipdfm_options):
4422         * bufferparams.C:
4423         * lyxrc.C (read):
4424         (output): adapt PAPER_* enums.
4425
4426         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4427
4428         * bufferparams.h: remove paper-related enums from there
4429
4430         * paper.h: New file. A trivial header file to hold paper-related
4431         enums. It should later expand to contain many paper-related
4432         horrors access.
4433
4434         * lyxrc.C: declare extern displayTranslator
4435
4436 2003-07-27  José Matos  <jamatos@fep.up.pt>
4437
4438         * tabular.[Ch] (linuxdoc): add support for tables and figures
4439         (linuxdoc).
4440
4441 2003-07-27  José Matos  <jamatos@fep.up.pt>
4442
4443         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4444         consistency in both functions.
4445         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4446
4447 2003-07-26  Asger Alstrup  <alstrup@local>
4448
4449         * rowpainter.C (paintRows): Change algorithm to work directly on
4450         the insets rather than asking every character in the document
4451         whether its an inset.
4452
4453 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4454
4455         * buffer.C (openFileWrite): factorize some code
4456
4457 2003-07-26  Angus Leeming  <leeming@lyx.org>
4458
4459         * lyx_cb.C:
4460         * lyx_main.[Ch]: replace occurances of system_tempdir with
4461         os::getTmpDir().
4462
4463 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * rename Inset to InsetOld
4466
4467 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4468
4469         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4470         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4471         which I think is a bit clearer. EDIT is gone, since it was
4472         premature optimisation, and broken for mathed anyway.
4473         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4474         with cursor positioning in insets as well (math insets still do not
4475         work, but that's a different story anyway.) It mysteriously
4476         crashes sometimes with undo in the first paragraph, but I'm fairly
4477         confident that this is a compiler bug.
4478
4479 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * paragraph.C (Paragraph): adjust for new clone return type
4482         (operator==): ditto
4483         (copyIntoMinibuffer): ditto
4484
4485 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4486
4487         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4488         by not having a special case, and always doing a full rebreak of
4489         the document after undo.
4490
4491 2003-07-23  Angus Leeming  <leeming@lyx.org>
4492
4493         * factory.C (createInset): InsetExternal::setParams now takes a
4494         Buffer const * arg.
4495
4496 2003-07-23  Angus Leeming  <leeming@lyx.org>
4497
4498         * factory.C (createInset): changed interface to the external and
4499         graphics mailers' string2params functions.
4500
4501 2003-07-23  Angus Leeming  <leeming@lyx.org>
4502
4503         * factory.C (createInset): pass a
4504         Buffer const * parameter to InsetExternalMailer's string2params.
4505
4506 2003-07-22  John Levon  <levon@movementarian.org>
4507
4508         * Thesaurus.h: include the right aiksaurus header
4509
4510 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4511
4512         * MenuBackend.C (expand): check menu shortcuts unconditionally
4513
4514 2003-07-21  Angus Leeming  <leeming@lyx.org>
4515
4516         * factory.C (createInset): pass a
4517         buffer_path parameter to InsetGraphicsMailer's string2params.
4518
4519 2003-07-21  Angus Leeming  <leeming@lyx.org>
4520
4521         * BufferView_pimpl.C (buffer):
4522         * buffer.C (d-tor):
4523         * lyx_main.C (LyX):
4524         * lyxfunc.C (dispatch):
4525         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4526         rather than the grfx shortcut.
4527
4528 2003-07-21  André Pönitz  <poenitz@gmx.net>
4529
4530         * rowpainter.C: remove unused variables
4531
4532         * tabular_funcs.C:
4533         * tabular_funcs.h: move to tabular.C
4534         * Makefile.am: adjust
4535
4536         * tabular.[Ch]: basic optical cleaning
4537
4538         * author.h: pass references, not values
4539
4540 2003-07-18  André Pönitz  <poenitz@gmx.net>
4541
4542         * lyxtext.h:
4543         * metricsinfo.C:
4544         * metricsinfo.h:
4545         * rowpainter.C:
4546         * text.C:
4547         * text2.C:
4548         * text3.C: two-phase drawing for InsetText and InsetTabular
4549         some float -> int changes.
4550
4551 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4552
4553         * lyx_main.C: fix the fix
4554
4555 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4556
4557         * lyx_main.C: fix a crash in batch mode if no files specified
4558         * converter.C: ws
4559
4560 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * format.[Ch] (papersize): moved to BufferParams
4563         * converter.[Ch] (dvips_options): moved to BufferParams
4564         (dvipdfm_options): moved to anon namespace
4565         * bufferparams.[Ch]: added above functions.
4566
4567 2003-07-17  André Pönitz  <poenitz@gmx.net>
4568
4569         * lyxtext.h:
4570         * rowpainter.C:
4571         * text2.C: don't call inset->update() anymore
4572
4573         * metricsinfo.[Ch]: add convenience constructor
4574
4575 2003-07-16  André Pönitz  <poenitz@gmx.net>
4576
4577         * lyxcursor.[Ch]:
4578         * lyxfunc.[Ch]:
4579         * text.C:
4580         * text2.C: replace the LyXCursor::irow_ member with
4581          on-demand computation of the value
4582
4583 2003-07-16  John Levon  <levon@movementarian.org>
4584
4585         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4586
4587 2003-07-15  André Pönitz  <poenitz@gmx.net>
4588
4589         * text.C:
4590         * text2.C: remove no more needed refresh_row
4591
4592 2003-07-15  André Pönitz  <poenitz@gmx.net>
4593
4594         * lyxtext.h:
4595         * rowpainter.C:
4596         * text2.C:
4597         * text3.C: refresh_status tristate -> need_update bool
4598
4599 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4600
4601         * lyxtext.h (init): remove reinit argument (act as if always true)
4602         * text2.C: adjust to that
4603
4604 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4605
4606         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4607         * text3.C: use it to delete selections in some cases
4608         (bugs 441, 673, 702, 954).
4609
4610 2003-07-14  André Pönitz  <poenitz@gmx.net>
4611
4612         * rowpainter.[Ch]: reduce interface
4613
4614 2003-07-14  André Pönitz  <poenitz@gmx.net>
4615
4616         * BufferView_pimpl.C:
4617         * text2.C: adjust after removing unused BufferView * argument
4618
4619 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * text2.C (init): fix a crash fired on resize
4622
4623 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4624
4625         * buffer.[Ch]: added new closing signal
4626         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4627         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4628         BufferView::Pimpl via the closing the signal
4629
4630 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * buffer.[Ch]: take out all bv-related from buffer
4633         * BufferView.C:
4634         * BufferView_pimpl.[Ch]: connect to new signals
4635         * CutAndPaste.C: removed useless asserts
4636         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4637         * lyxvc.[Ch]:
4638         * vc-backend.[Ch]:
4639         * lyxfunc.C: moved view-related funciontality from vc here
4640         * paragraph.C: removed outdated comments
4641         * text.C: ws
4642
4643 2003-07-10  André Pönitz  <poenitz@gmx.net>
4644
4645         * BufferView_pimpl.C:
4646         * tabular.h:
4647         * tabular_funcs.C:
4648         * text.C:
4649         * text2.C: remove InsetText::InnerCache, clean up consequences
4650
4651 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4652
4653         * ispell.C: fix two typos in error messages
4654
4655 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4656
4657         * Extend Note inset to other forms of annotation like Comment
4658         and Greyedout. Right button click gives dialog.
4659
4660         Files modified or added (+):
4661
4662         * insetnote.[Ch]
4663         * FormNote.[Ch]      +
4664         * ControlNote.[Ch]   +
4665         * form_note.fd       +
4666         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4667         frontends/controllers
4668         * xforms/Dialogs.C
4669         * factory.C
4670
4671 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4672
4673         * aspell.C: add missing namespace lyx::support
4674
4675 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * BufferView.[Ch] (newFile): Add
4678         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4679         * LaTeX.[Ch] (message): added this signal and use it
4680         * buffer.[Ch] (busy, message): added these signals and use them
4681         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4682         * converter.C:
4683         * exporter.C:
4684         * format.C:
4685         * importer.C: use buffer signals instead of direct bv calling
4686         * lyx_cb.[Ch] (ShowMessage): removed
4687         * lyx_main.C:
4688         * lyxfunc.C:
4689         * paragraph_funcs.C:
4690         * text2.C: use buffer signals
4691
4692 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4693
4694         * introduce namespace lyx::graphics
4695
4696 2003-07-02  André Pönitz  <poenitz@gmx.net>
4697
4698         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4699
4700 2003-07-01  André Pönitz  <poenitz@gmx.net>
4701
4702         * text.C:
4703         * text2.C:
4704         * text3.C:
4705         * text_funcs.[Ch]:
4706         * textcursor.h:
4707         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4708           text*.C to text_func.C
4709
4710 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * introduce namespace lyx::support
4713
4714 2003-06-30  André Pönitz  <poenitz@gmx.net>
4715
4716         * Chktex.C:
4717         * funcrequest.C:
4718         * lyxtext.h:
4719         * text.C: re-enable --with-included-string
4720
4721 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * textcursor.C: add <config.h>
4724
4725         * text.C (getWord): remove const from word_location arg
4726
4727         * lyxvc.C (getLogFile): fix const type order
4728
4729         * lyxtext.h: remove const from word_location arg, add arg name
4730
4731         * lyxlayout.h: currect type on labeltype.
4732
4733         * importer.C: correct \file
4734
4735         * converter.C (intToFormat): use std:: on ret val, ws changes
4736
4737         * bufferlist.h: correct \file
4738
4739         * buffer.C (makeLinuxDocFile): fix const type order
4740         (makeDocBookFile): ditto
4741         (fillWithBibKeys): use std:: on stdlib args.
4742
4743         * CutAndPaste.C: fix authors.
4744         (availableSelections): use std:: on return vector
4745
4746 2003-06-27  André Pönitz  <poenitz@gmx.net>
4747
4748         * BufferView_pimpl.C:
4749         * bufferview_funcs.C:
4750         * lyxcursor.C:
4751         * lyxcursor.h:
4752         * lyxfunc.C:
4753         * lyxtext.h:
4754         * rowpainter.C:
4755         * text.C:
4756         * text2.C:
4757         * text3.C: remove LyXCursor::row_ member
4758
4759         * lyxtext.h:
4760         * text.C: rename fullRebreak() to partialRebreak() and implement
4761           a fullRebreak() that really bereks fully
4762
4763         * textcursor.h: new struct for cursor-related data
4764
4765 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4766
4767         * lyx_main.C (LyX): get full path of document loaded on the
4768         command line
4769
4770 2003-06-26  André Pönitz  <poenitz@gmx.net>
4771
4772         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4773           remove unused/broken operator>,<,>=.
4774
4775         *       text.C: remove only use of broken operator<= in an Assert().
4776
4777 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4778
4779         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4780         moved errorlist_.clear to showErrorList
4781
4782 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4783
4784         * converter.C (scanLog, runLaTeX):
4785         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4786         move the bv->showErrorList call to the callers
4787         * lyxfunc.C: i.e. here...
4788         * text2.C: and here
4789         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4790         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4791         namespace, the second to...
4792         * buffer_funcs (BufferFormat, parseErrors): added
4793         * errorlist.C (ErrorList(TeXErrors const &)): removed
4794
4795 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4796
4797         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4798
4799 2003-06-24  "Garst R. Reese" <reese@isn.net>
4800
4801         * debug.C: fix typo
4802
4803 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4804
4805         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4806
4807         * version.C.in: change docversion to 1.4
4808
4809 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4810
4811         * buffer.C: fix a bug just introduced
4812
4813 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4814
4815         * buffer.[Ch]: added the parseError signal and use it, removed
4816         sgmlError
4817         * BufferView.[Ch] (addError): moved to ...
4818         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4819         to the Buffer::parseError signal to catch (guess what) parse errors
4820         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4821
4822 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4823
4824         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4825         ability to create a buffer and to return an existing one from
4826         the list. Moved these functions to...
4827         * buffer_funcs.[Ch]: added
4828         * BufferView.[Ch] (loadLyXFile): added
4829         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4830         job removed from bufferlist::loadLyXFile.
4831         * buffer.C (setReadOnly): make it work without view
4832         (i.e added an if (users))
4833
4834 2003-06-19  Angus Leeming  <leeming@lyx.org>
4835
4836         * lfuns.h:
4837         * LyXAction.C (init):
4838         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4839         with LFUN_DIALOG_SHOW <name> <data>.
4840
4841 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4842
4843         * CutAndPaste.C (availableSelections): small compilation fix for
4844         ancient (gcc 2.9x) compilers
4845
4846 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * text3.C (cursorNext): add tmp var
4849
4850         * text2.C (updateCounters): for function calling out of for clause
4851         (replaceSelectionWithString): ditto
4852         (insertStringAsParagraphs): ditto
4853         (getColumnNearX): add tmp var
4854         (setCursorFromCoordinates): add tmp var
4855         (cursorDownParagraph): add tmp var
4856         (deleteEmptyParagraphMechanism): add tmp var
4857
4858         * text.C (insertChar): add tmp var
4859
4860         * rowpainter.C (paintDepthBar): add tmp var
4861
4862         * CutAndPaste.C (availableSelections): potentially check all
4863         paragraphs in a cut to fill the shown strings.
4864
4865 2003-06-18  André Pönitz  <poenitz@gmx.net>
4866
4867         * kbmap.[Ch]: use vector<> instead of list<>
4868
4869 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4870
4871         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4872         pasteSelection with index
4873
4874         * text2.C (pasteSelection): modify, call pasteSelection with index
4875
4876         * paragraph.C (asString): reimplement version with no interval to
4877         call the one with interval.
4878
4879         * lyxtext.h: add index arg to pasteSelection
4880
4881         * MenuBackend.C (MenuItem): handle PasteRecent
4882         (Menu::read::Menutags): add md_pasterecent
4883         (read): handle it
4884         (expandPasteRecent): new function
4885         (expand): use it
4886
4887         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4888
4889         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4890         the limited stack
4891         (availableSelections): new function
4892
4893 2003-06-17  Angus Leeming  <leeming@lyx.org>
4894
4895         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4896
4897 2003-06-17  Angus Leeming  <leeming@lyx.org>
4898
4899         * lfuns.h:
4900         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4901
4902         * lyxfunc.C (dispatch): invoke it.
4903
4904 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4905
4906         * iterators.C (operator++, ParPosition): reintroduce some
4907         const_cast for the benefit of older compilers.
4908
4909 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4910
4911         * text3.C (dispatch): do not modify clipboard when doing
4912         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4913         LFUN_DELETE_SKIP on a selection selection
4914
4915 2003-06-16  André Pönitz  <poenitz@gmx.net>
4916
4917         * BufferView.C:
4918         * buffer.C:
4919         * buffer.h:
4920         * paragraph.C:
4921         * tabular.[Ch]: IU of clone() and getLabelList();
4922
4923 2003-06-13  André Pönitz  <poenitz@gmx.net>
4924
4925         * tabular.h: compactification
4926
4927 2003-06-12  André Pönitz  <poenitz@gmx.net>
4928
4929         * tabular.C:
4930         * tabular.h:
4931         * tabular_funcs.h: some renaming plus whitespace
4932
4933 2003-06-12  André Pönitz  <poenitz@gmx.net>
4934
4935         * BufferView.C:
4936         * BufferView_pimpl.C:
4937         * CutAndPaste.C:
4938         * buffer.C:
4939         * iterators.[Ch]:
4940         * lyxfunc.C:
4941         * text.C:
4942         * toc.C: Return a Paragraph & for ParIterator::operator*()
4943
4944 2003-06-11  John Levon  <levon@movementarian.org>
4945
4946         * lyx_main.C:
4947         * ToolbarBackend.h:
4948         * ToolbarBackend.C: add "Toolbars" section and
4949         put the flags there
4950
4951 2003-06-10  Angus Leeming  <leeming@lyx.org>
4952
4953         * lfuns.h:
4954         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4955
4956         * lyxfunc.C (dispatch): invoke it.
4957
4958 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * main.C: protect <ios> with HAVE_IOS
4961         (main): protect sync_with_stdio with HAVE_IOS
4962
4963 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4964
4965         * text2.C (cutSelection): adjust
4966         (pasteSelection): adjust
4967
4968         * messages.C: handle get of empty string
4969
4970         * main.C (main): use sync_with_stdio(false)
4971
4972         * lyxfunc.C (dispatch): adjust
4973
4974         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4975         (WriteAs): remove unneeded BufferView arg.
4976
4977         * bufferparams.h: use correct types on papersize, papersize2 and
4978         paperpackage.
4979
4980         * bufferparams.C (readToken): adjust for type
4981         (writeLaTeX): add missing cases to switch.
4982
4983         * bufferlist.C (quitWriteBuffer): adjust
4984         (close): adjust
4985
4986         * buffer.C (asciiParagraph): remove some commented code.
4987
4988         * CutAndPaste.C: remove current_view extern variable.
4989         (cutSelection): add BufferParams arg.
4990         (eraseSelection): add BufferParams arg.
4991         (pasteSelection): add Buffer const & arg
4992
4993 2003-06-07  John Levon  <levon@movementarian.org>
4994
4995         * buffer.C:
4996         * paragraph_funcs.C:
4997         * paragraph_pimpl.C:
4998         * text.C:
4999         * text2.C:
5000         * paragraph.h:
5001         * paragraph.C: allow InsetERT to freely space lines,
5002         and some consolidation of code
5003
5004 2003-06-06  José Matos  <jamatos@fep.up.pt>
5005
5006         * buffer.C (makeDocBookFile): fix bug #821
5007
5008 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5009
5010         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5011
5012 2003-06-04  Angus Leeming  <leeming@lyx.org>
5013
5014         * buffer.C: bump format to 224.
5015
5016 2003-06-05  André Pönitz  <poenitz@gmx.net>
5017
5018         * text2.C (redoParagraphs): remove two const_cast<>
5019
5020 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5021
5022         * ParagraphList.h: remove last remnants of NO_STD_LIST
5023
5024 2003-06-03  Angus Leeming  <leeming@lyx.org>
5025
5026         * factory.C (createInset): small change to the way InsetExternal's params
5027         are set.
5028
5029 2003-06-04  André Pönitz  <poenitz@gmx.net>
5030
5031         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5032
5033         * paragraph_pimpl.h:
5034         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5035
5036         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5037
5038         * undo_funcs.C: make some simple cases of undo work again
5039
5040 2003-06-03  John Levon  <levon@movementarian.org>
5041
5042         * ispell.C: HPUX doesn't have sys/select.h
5043         (from Albert Chin)
5044
5045 2003-06-03  John Levon  <levon@movementarian.org>
5046
5047         * CutAndPaste.C: update tabular and include inset
5048         buffer references
5049
5050         * buffer.h:
5051         * paragraph.h:
5052         * paragraph.C: remove owningBuffer(), don't pass Buffer
5053         to clone()
5054
5055         * factory.C: insetGraphicsParams changed
5056
5057 2003-06-02  John Levon  <levon@movementarian.org>
5058
5059         * LyXAction.C:
5060         * factory.C:
5061         * lfuns.h:
5062         * lyxfunc.C:
5063         * text3.C: remove insetparent
5064
5065 2003-06-02  John Levon  <levon@movementarian.org>
5066
5067         * buffer.h:
5068         * buffer.C: fix inset_iterator.end(), move out of line
5069         (bug 1149)
5070
5071 2003-06-01  John Levon  <levon@movementarian.org>
5072
5073         * text3.C: use a proper cut/paste when doing inset
5074         insert (from Jürgen Spitzmüller)
5075
5076 2003-06-01  John Levon  <levon@movementarian.org>
5077
5078         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5079
5080 2003-05-30  André Pönitz  <poenitz@gmx.net>
5081
5082         * rowpainter.C: unify second drawing phase
5083
5084 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5085
5086         * trans_mgr.C: remove one case of current_view
5087
5088         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5089
5090         * paragraph_funcs.h: remove paragraph.h include
5091
5092         * paragraph.h: delete NO_STD_LIST stuff
5093
5094         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5095
5096         * buffer.h: remove paragraph.h include
5097
5098         * ParagraphList.C: delete file
5099
5100         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5101
5102         * toc.C (getTocList): adjust
5103
5104         * paragraph_pimpl.C (validate): adjust
5105
5106         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5107
5108         * paragraph.C (Paragraph): adjust
5109         (getPositionOfInset): use const_iterator, adjust
5110         (bibitem): use const_iterator, adjust
5111         (setInsetOwner): adjust
5112
5113         * iterators.C (operator++): adjust
5114
5115         * InsetList.[Ch]: Replace selfmade iterator with standard
5116         vector::iterator also introduce const_iterator. Remove getPos,
5117         getInset and setInset from InsetTable. Adjust accordingly.
5118
5119         * BufferView.C (lockInset): adjust
5120         (ChangeInsets): adjust
5121
5122         * tabular.[Ch]: delete commented same_id functions
5123
5124 2003-05-28  John Levon  <levon@movementarian.org>
5125
5126         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5127
5128 2003-05-28  André Pönitz  <poenitz@gmx.net>
5129
5130         * metricsinfo.[Ch]: remove 'fullredraw' member
5131
5132 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5133
5134         * lyxtextclass.C (operator): remove caching.
5135
5136 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * text3.C: adjust
5139
5140         * text2.C (cursorBottom): adjust
5141         (setCounter): use ParagraphList::find, adjust
5142
5143         * text.C (workWidth): use ParagraphList::find, adjust
5144
5145         * lyxcursor.C (LyXCursor): adjust
5146
5147         * buffer.C (inset_iterator): adjust
5148
5149         * ParagraphList.h: make iterator(value_type) private, make
5150         ParagraphList a friend of iterator.
5151
5152         * ParagraphList.C (find): new function
5153
5154         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5155
5156 2003-05-27  André Pönitz  <poenitz@gmx.net>
5157
5158         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5159
5160 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5161
5162         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5163
5164 2003-05-26  John Levon  <levon@movementarian.org>
5165
5166         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5167
5168 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * remove same_id from function signatures, adjust.
5171
5172 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5175
5176         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5177
5178         * paragraph.C (Paragraph): get rid of same_ids parameter
5179
5180         * ParagraphList.C (insert): adjust
5181         (push_back): adjust
5182
5183 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * paragraph_funcs.C (breakParagraph): adjust
5186         (breakParagraphConservative): adjust
5187
5188         * buffer.C (readParagraph): adjust
5189
5190         * ParagraphList.C (insert): take a reference instead of a pointer
5191         (insert): adjust
5192
5193         * paragraph.[Ch] (id): new function
5194
5195         * bufferlist.C (newFile): adjust
5196
5197         * ParagraphList.C (ParagraphList): adjust
5198         (assign): adjust
5199         (push_back): take a reference instead of a pointer.
5200
5201         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5202
5203         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5204         instead.
5205
5206         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5207         set else use old code.
5208
5209         * ParagraphList.C: remove all NO_NEXT code and only compile this
5210         code of NO_STD_LIST is set.
5211
5212 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5213
5214         * BufferView_pimpl.C:
5215         * TextCache.C:
5216         * TextCache.h:
5217         * bufferlist.C:
5218         * errorlist.h:
5219         * format.C:
5220         * format.h:
5221         * graph.C:
5222         * lyxfunc.C:
5223         * lyxrc.C:
5224         * graphics/GraphicsConverter.C:
5225         * graphics/PreviewLoader.C: header adjustment
5226
5227 2003-05-23  Angus Leeming  <leeming@lyx.org>
5228
5229         * LaTeXFeatures.[Ch] (useBabel): new method.
5230         * bufferparams.C (writeLaTeX): use it.
5231
5232 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5233
5234         * ParagraphList.h (set): remove unused function.
5235
5236 2003-05-23  André Pönitz  <poenitz@gmx.net>
5237
5238         * BufferView.C:
5239         * BufferView_pimpl.C:
5240         * buffer.C:
5241         * buffer.h:
5242         * lyxfunc.C:
5243         * undo_funcs.C: setUndo reworked
5244
5245         * iterators.[Ch]: add access to topmost ParagraphList
5246
5247         * lyxtext.[Ch] (workWidth): add a const
5248
5249 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5250
5251         * texrow.[Ch] (increasePos): remove function
5252         * exporter.C (export): removed unused var and outdated comment
5253
5254 2003-05-23  Angus Leeming  <leeming@lyx.org>
5255
5256         * latexrunparams.h: rename fragile as moving_arg.
5257         * paragraph.C (simpleTeXOnePar): ditto.
5258         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5259
5260 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5261
5262         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5263         (createUndo): ditto
5264         (textUndoOrRedo): comment out a currently unused var.
5265
5266         * paragraph.h (NO_NEXT): enable NO_NEXT
5267
5268         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5269
5270         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5271
5272         * exporter.C (Export): adjust for removeAutoInsets removal.
5273
5274         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5275
5276         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5277
5278         * BufferView.[Ch] (removeAutoInsets): delete function
5279
5280 2003-05-22  Angus Leeming  <leeming@lyx.org>
5281
5282         * latexrunparams.h: add a free_spacing variable.
5283
5284         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5285         to pass moving_arg, as the data is stored in runparams.fragile.
5286
5287         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5288         to Inset::latexOptional or to simpleTeXOnePar.
5289
5290         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5291         free_spacing arg to Inset::latexOptional.
5292
5293         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5294         free_spacing arg.
5295
5296 2003-05-22  Angus Leeming  <leeming@lyx.org>
5297
5298         * latexrunparams.h: add fragile and use_babel variables.
5299
5300         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5301         * buffer.C (makeLaTeXFile): store this returned value in
5302         runparams.use_babel, thus passing it to the inset::latex methods.
5303
5304         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5305         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5306
5307         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5308         longer has a fragile arg, as it is stored in runparams.fragile.
5309
5310         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5311         moving_arg parameter as the data is stored in runparams.fragile.
5312
5313         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5314         a fragile parameter as the data is stored in runparams.fragile.
5315
5316 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5319
5320 2003-05-22  Angus Leeming  <leeming@lyx.org>
5321
5322         * latexrunparams.h: add a 'bool nice' which defaults to false.
5323
5324         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5325         now encapsulated within runparams.
5326
5327         * bufferlist.C (updateIncludedTeXfiles):
5328         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5329
5330 2003-05-22  Angus Leeming  <leeming@lyx.org>
5331
5332         * latexrunparams.h: new file containing struct LatexRunParams.
5333         * Makefile.am: add new file.
5334
5335         * LaTeX.[Ch] (c-tor, run):
5336         * buffer.[Ch] (makeLaTeXFile):
5337         * bufferlist.[Ch] (updateIncludedTeXfiles):
5338         * converter.C (convert, scanLog):
5339         * converter.[Ch] (runLaTeX):
5340         * exporter.C (Export):
5341         * paragraph.[Ch] (simpleTeXOnePar):
5342         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5343         * paragraph_funcs.[Ch] (latexParagraphs):
5344         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5345         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5346         pass around a LatexRunParams parameter.
5347
5348 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * paragraph.[Ch]: remove unused constructor
5351
5352         * ParagraphList.C (erase): new function, taking two iterators
5353
5354 2003-05-22  André Pönitz  <poenitz@gmx.net>
5355
5356         * undo_funcs.C: remove duplicated code
5357
5358         * iterator.[Ch]: operator=
5359
5360 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * tabular.C (SetMultiColumn): ws changes
5363
5364         * rowpainter.C (paintFirst): get rid of a ->previous
5365
5366         * lyx_cb.C (getPossibleLabel): parlist simplification
5367
5368         * BufferView.C (ChangeInsets): simplify slightly.
5369
5370 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5371
5372         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5373         * lfuns.h: new LFUN_SPACE
5374         * lyxfunc.C: protected space has a new lfun
5375         * paragraph_funcs.C: read new space insets
5376         * text3.C:
5377         * factory.C: handle new space insets
5378
5379 2003-05-22  André Pönitz  <poenitz@gmx.net>
5380
5381         * BufferView.C:
5382         * BufferView_pimpl.C:
5383         * buffer.[Ch]:
5384         * lyxfunc.C:
5385         * undo_funcs.C: return a ParIterator from getParFromID.
5386
5387         * iterators.[Ch]: add two const's
5388
5389 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * toc.C (getTocList): adjust
5392
5393         * iterators.[Ch]: rework for parlist
5394
5395         * buffer.C (par_iterator_begin): adjust
5396         (par_iterator_end): adjust
5397
5398         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5399
5400         * BufferView.C (removeAutoInsets): adjust
5401         (ChangeInsets): adjust
5402
5403 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5404
5405         * text.C (top_y): fix bug 1110
5406
5407 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5408
5409         * errorlist.[Ch]: added
5410         * buffer.C:
5411         * BufferView.[Ch]:
5412         * BufferView_pimpl.C:
5413         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5414         instead
5415
5416 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * Makefile.am: ensure that lyx is relinked upon changes to the
5419         various "convenience" libs.
5420
5421 2003-05-20  Angus Leeming  <leeming@lyx.org>
5422
5423         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5424         files are compiled in alphabetical order again.
5425
5426         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5427
5428 2003-05-19  Angus Leeming  <leeming@lyx.org>
5429
5430         * gettext.[Ch]: remove "char const * _(char const *)".
5431
5432 2003-05-19  André Pönitz  <poenitz@gmx.net>
5433
5434         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5435
5436         * Makefile.am:
5437         * BufferView.C:
5438         * DepTable.h:
5439         * LaTeXFeatures.C:
5440         * buffer.C:
5441         * lyxfont.C:
5442         * lyxlex.h:
5443         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5444
5445 2003-05-19  André Pönitz  <poenitz@gmx.net>
5446
5447         * buffer.C:
5448         * lyxlayout.[Ch]:
5449         * lyxtextclass.[Ch]:
5450         * paragraph.C:
5451         * paragraph_funcs.[Ch]:
5452         * text2.C:
5453         * text3.C: more insetenv work
5454
5455 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5456
5457         * ParagraphParameters.C (params2string): small bug fixed
5458
5459 2003-05-16  André Pönitz  <poenitz@gmx.net>
5460
5461         * debug.C:
5462         * bufferview_funcs.C: patch from Kornel Benko to prevent
5463           crash when _(...) is called twice in a statement
5464
5465 2003-05-16  André Pönitz  <poenitz@gmx.net>
5466
5467         * BufferView.C:
5468         * lyxfunc.C:
5469         * text.C:
5470         * text2.C:
5471         * text3.C:
5472         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5473
5474 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5475
5476         * lyx_main.C (init): remove spurious static_cast
5477
5478 2003-05-14  André Pönitz  <poenitz@gmx.net>
5479
5480         * BufferView.C: fix format string
5481
5482 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5483
5484         * BufferView.[Ch] (insertErrors): removed
5485         * BufferView.[Ch] (showErrorList): added
5486         * buffer.C (runChkTeX):
5487         * converter.C (scanLog): call showErrorList instead of inserterrors
5488
5489 2003-05-13  André Pönitz  <poenitz@gmx.net>
5490
5491         * BufferView_pimpl.C:
5492         * buffer.C:
5493         * bufferview_func.C:
5494         * MenuBackend.C:
5495         * lyxfunc.C:
5496         * lyxrc.C:
5497         * tex-accent.C:
5498         * text3.C:
5499         * toc.C:
5500         * tabular_funcs.h: tostr() from its own header
5501
5502         * ParagraphParameters.C:
5503         * ToolbarBackend.C:
5504         * bufferparams.C:
5505         * format.C:
5506         * lyxlex_pimpl.C:
5507         * text3.C: STRCONV()
5508
5509 2003-05-12  André Pönitz  <poenitz@gmx.net>
5510
5511         * BufferView.C:
5512         * BufferView_pimpl.C:
5513         * CutAndPaste.C:
5514         * LaTeX.C:
5515         * LaTeXFeatures.C:
5516         * ParagraphParameters.C:
5517         * buffer.C:
5518         * bufferlist.C:
5519         * bufferparams.C:
5520         * bufferview_funcs.C:
5521         * converter.C:
5522         * counters.C:
5523         * debug.C:
5524         * exporter.C:
5525         * format.C:
5526         * importer.C:
5527         * lyx_cb.C:
5528         * lyx_main.C:
5529         * lyxfont.C:
5530         * lyxfunc.C:
5531         * lyxvc.C:
5532         * paragraph.C:
5533         * paragraph_funcs.C:
5534         * tabular.C:
5535         * tabular_funcs.C:
5536         * text2.C:
5537         * text3.C:  boost::format -> bformat  all over the place
5538
5539
5540 2003-05-09  André Pönitz  <poenitz@gmx.net>
5541
5542         * LColor.[Ch]: Pimpl the #include <map> away
5543
5544 2003-05-09  John Levon  <levon@movementarian.org>
5545
5546         * bufferlist.C: never remove emergency saves
5547
5548 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * Makefile.am: better lib building
5551
5552 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5555         instead.
5556         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5557         (simpleTeXSpecialChars): adjust
5558         (simpleTeXSpecialChars): adjust
5559         * paragraph.C (simpleTeXOnePar): adjust
5560         * buffer.C (makeLaTeXFile): adjust
5561
5562         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5563
5564         * text2.C (changeDepth): parlist cleanup
5565         (getColumnNearX): ditto
5566
5567         * rowpainter.C (getLabelFont): parlist cleanup
5568
5569         * bufferlist.C (newFile): parlist cleanup
5570
5571         * CutAndPaste.C (eraseSelection): parlist cleanup
5572
5573         * BufferView_pimpl.C (trackChanges): parlist cleanup
5574         (dispatch): ditto
5575
5576         * BufferView.C (lockInset): parlist cleanup.
5577         (ChangeInsets): ditto
5578
5579 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * CutAndPaste.h: Update file header.
5582
5583         * CutAndPaste.C: Update file header.
5584         Store the parts cut out of the Document in a limited_stack.
5585         (copySelection): adjust
5586         (pasteSelection): new function, takes the index in the limited stack.
5587         (nrOfParagraphs): adjust
5588         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5589         simplify error inset insertion.
5590         (checkPastePossible): adjust
5591
5592 2003-05-06  John Levon  <levon@movementarian.org>
5593
5594         * text2.C: don't cast wrap inset to float
5595
5596 2003-05-05  André Pönitz  <poenitz@gmx.net>
5597
5598         * iterator.C:
5599         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5600
5601         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5602           few naked Paragraph *.
5603
5604 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5605
5606         * bufferparams.C: Output warning if a document with missing
5607         TeX document class is loaded
5608         * exporter.C: Disable TeX exports if the document class is missing
5609         * lyxtextclass.C:
5610         * lyxtextclass.h:
5611         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5612         isTeXClassAvailable()
5613
5614 2003-05-03  John Levon  <levon@movementarian.org>
5615
5616         * BufferView.h:
5617         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5618         explicit cursor show/hide
5619
5620         * BufferView_pimpl.h:
5621         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5622         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5623
5624         * lyxfunc.C: hide cursor before dispatching.
5625
5626         * lyx_cb.C:
5627         * lyxfind.C:
5628         * text.C:
5629         * text3.C: remove explicit cursor hides
5630
5631 2003-05-02  André Pönitz  <poenitz@gmx.net>
5632
5633         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5634
5635         * undo_funcs.C:
5636         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5637           linked lists
5638
5639         * text2.C: tiny whitespace
5640
5641 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * undo_funcs.C: almost only ws changes.
5644
5645         * ParagraphList.C (splice): just return if pl is empty.
5646
5647 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * ParagraphList.C (splice): new function.
5650
5651         * CutAndPaste.C (pasteSelection): use it
5652
5653 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * CutAndPaste.C (pasteSelection): remove the last next and
5656         previous from this file.
5657
5658 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * CutAndPaste.C (pasteSelection): more clean up, user proper
5661         ParagraphList functions for pasteing.
5662
5663         * ParagraphList.C (insert): new function, three arg insert
5664
5665 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * ParagraphList.C (insert): new function, three arg insert
5668
5669         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5670         not on paragraphs.
5671
5672 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5675
5676 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5679
5680 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5683         (copySelection): clean up a bit.
5684         (pasteSelection): use make_pair
5685
5686         * ParagraphList.C (ParagraphList): implement copy constructor
5687         (operator=): implement, base on copy constructor.
5688         (assign): new func
5689
5690         * paragraph.C (erase): return a bool
5691
5692         * paragraph_pimpl.C (erasePos): remove function, move contents...
5693         (erase): ... here. Return a bool.
5694         (erase): call erase instead of erasePos.
5695
5696 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * ParagraphList.h: define PitPosPair
5699         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5700         ParagraphList, fix a bug on pasting multiple pars
5701         * text2.C: change interface to C&P
5702
5703 2003-04-30  André Pönitz  <poenitz@gmx.net>
5704
5705         * undo_func.C: revert part of yesterday's patch 2
5706
5707 2003-04-30  John Levon  <levon@movementarian.org>
5708
5709         * LColor.C: s/tabular/table/
5710
5711 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * text3.C (dispatch): do not convert iterator -> pointer
5714         * undo_funcs.C (setCursorParUndo): ditto
5715         * text_funcs.C (transposeChars): ditto
5716
5717         * text2.C (setLayout): ws changes only
5718
5719         * text.C (breakParagraph): do not convert iterator -> pointer
5720         (insertChar): ditto
5721         (acceptChange): ditto
5722         (rejectChange): ditto
5723         (changeCase): ditto
5724         (Delete): ditto
5725         (backspace): ditto
5726
5727         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5728         pointer
5729
5730 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5731
5732         * text3.C (gotoInset): YABG (yet another bad getChar)
5733
5734 2003-04-29  André Pönitz  <poenitz@gmx.net>
5735
5736         * paragraph.h: make operator= private unimplemented as long as
5737           it is unusable
5738
5739         * ParagraphList.C: whitespace
5740
5741         * paragraph.[Ch]:
5742         * paragraph_pimpl.[Ch]:
5743         * paragraph_funcs.C:
5744         * CutAndPaste.C:
5745         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5746
5747         * text2.C:
5748           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5749
5750 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5751
5752         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5753         * paragraph.[Ch] (erase):
5754         * paragraph_pimpl.[Ch] (erase): change return type and value
5755         * text2.C (cutSelection): some rework
5756
5757 2003-04-28  John Levon  <levon@movementarian.org>
5758
5759         * bufferlist.C: changes for unsaved changes dialog
5760
5761 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * bufferlist.C (newFile): set language (messages_) for new
5764         documents also.
5765
5766         * buffer.C (readFile): ws changes only.
5767
5768 2003-04-28  André Pönitz  <poenitz@gmx.net>
5769
5770         * undo_funcs.C:
5771         * lyxfunc.C:
5772         * buffer.[Ch]:
5773         * BufferView_pimpl.C:
5774         * BufferView.C: getParFromID related ParagraphList::iterator changes
5775
5776 2003-04-28  André Pönitz  <poenitz@gmx.net>
5777
5778         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5779           Changes
5780
5781 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * messages.C: remove one more localedir class variable.
5784
5785 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * messages.C (getLocaleDir): singleton generation function
5788         (Pimpl): use it.
5789         (Messages): add a default constructor.
5790
5791         * main.C (main): do not setup localedir here, do not call
5792         gettext_init.
5793
5794         * gettext.C (_): use it.
5795         (gettext_init): delete funciton
5796
5797 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * gettext.C (getLyXMessages): new singleton generating function.
5800
5801         * buffer.C (updateDocLang): adjust
5802
5803         * Makefile.am (messages.o): add target
5804         (main.o): remove target
5805
5806 2003-04-27  John Levon  <levon@movementarian.org>
5807
5808         * bufferlist.C:
5809         * lyx_cb.C:
5810         * lyxfunc.C:
5811         * lyxvc.C: specify cancel button in Alert::prompt
5812
5813 2003-04-26  John Levon  <levon@movementarian.org>
5814
5815         * text3.C:
5816         * lyxfunc.C:
5817         * lfuns.h:
5818         * LyXAction.C: add LFUN_INSET_SETTINGS
5819
5820         * lyxfunc.C: don't enable tabular-feature when there's
5821         just any locking inset
5822
5823 2003-04-26  John Levon  <levon@movementarian.org>
5824
5825         * bufferlist.C: re-add Cancel to buffer close question
5826
5827         * lyxfunc.C: fix import UI a bit
5828
5829 2003-04-25  John Levon  <levon@movementarian.org>
5830
5831         * gettext.C: remove the broken asserts for now
5832
5833 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * messages.C: make case where setlocale cannot comply work better.
5836
5837         * buffer.C (updateDocLang): new function
5838         (changeLanguage): use it
5839         (readFile): use it
5840
5841         * text2.C (setCounter): use B_ a bit.
5842
5843         * lyxlayout.C (Read): be sure to trim the label strings.
5844
5845         * messages.C (Messages): fix typo in comment
5846
5847         * buffer.C (readFile): set message_ after file is loaded.
5848         (makeDocBookFile): remove double return
5849         (changeLanguage): reset message_ upon language change.
5850         (B_): new func, use this to get translated buffer strings.
5851
5852         * main.C: add myself and Jean Marc as authors.
5853
5854 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * messages.[hC]: pimplify Messages, and three different pimpls to be
5857         used in different circumstances.
5858
5859         * gettext.[Ch]: change for use with new message code.
5860
5861 2003-04-24 André Pönitz <poenitz@gmx.net>
5862
5863         * factory.C: support for eqref
5864
5865 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * messages.[Ch]: add missing char
5868
5869         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5870
5871         * messages.[Ch]: New files
5872
5873 2003-04-18  John Levon  <levon@movementarian.org>
5874
5875         * BufferView.h:
5876         * BufferView.C:
5877         * BufferView_pimpl.C:
5878         * lfuns.h:
5879         * LyXAction.C:
5880         * lyxtext.h:
5881         * text2.C: remove layout-copy/paste (bug 778)
5882
5883 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5884
5885         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5886
5887 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5890         if they succeed. Act accordingly.
5891
5892 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * text2.C (setCharFont): adjust
5895         (setCounter): adjust
5896         (insertStringAsLines): adjust
5897
5898         * text.C (leftMargin): adjust
5899         (setHeightOfRow): adjust
5900
5901         * rowpainter.C (paintFirst): adjust
5902         (paintLast): adjust
5903
5904         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5905         (outerHook): ditto
5906         (isFirstInSequence): ditto
5907         (getEndLabel): ditto
5908         (outerFont): adjust
5909
5910         * paragraph.C (getParLanguage): comment out some hard stuff.
5911
5912         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5913         (sgmlError): ditto
5914         (simpleDocBookOnePar): ditto
5915         (makeDocBookFile): use ParagraphList::iterator
5916
5917         * CutAndPaste.C (pasteSelection): adjust
5918
5919 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * text2.C (getFont): adjust
5922         (getLayoutFont): adjust
5923         (getLabelFont): adjust
5924
5925         * paragraph_funcs.C (TeXOnePar): adjust
5926
5927         * buffer.C (simpleLinuxDocOnePar): adjust
5928         (simpleDocBookOnePar): adjust
5929
5930         * CutAndPaste.C (pasteSelection): adjust
5931
5932         * BufferView.C (getEncoding): adjust
5933
5934         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5935
5936 2003-04-16  John Levon  <levon@movementarian.org>
5937
5938         * lyxfind.C: use parlist stuff for search/changes
5939
5940 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5941
5942         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5943
5944         * text2.C (deleteEmptyParagraphMechanism): adjust
5945
5946         * text2.[Ch] (ownerParagraph): delete func (both of them
5947
5948 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5951
5952 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * ParagraphList.C: prepare for NO_NEXT
5955
5956 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * text2.C (getFont): adjust
5959         (getLayoutFont): adjust
5960         (getLabelFont): adjust
5961
5962         * paragraph.C (getFont): adjust
5963         (getLabelFont): adjust
5964         (getLayoutFont): adjust
5965
5966         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5967
5968 2003-04-15  John Levon  <levon@movementarian.org>
5969
5970         From Angus Leeming
5971
5972         * lyx_main.C: handle Include in .ui files
5973
5974 2003-04-15  John Levon  <levon@movementarian.org>
5975
5976         * MenuBackend.C: make the doc files length shorter
5977
5978         * ToolbarBackend.h:
5979         * ToolbarBackend.C: handle toolbar placement flags,
5980         Minibuffer
5981
5982 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5983
5984         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5985         adjust
5986
5987         * paragraph_funcs.C (TeXOnePar): adjust
5988
5989         * paragraph.C (getLabelFont): add outerfont arg, adjust
5990         (getLayoutFont): ditto
5991         (simpleTeXOnePar): adjust
5992
5993         * paragraph_pimpl.C (realizeFont): delete func
5994
5995 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5996
5997         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5998         row argument, constify cur argument.
5999
6000 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6001
6002         * text2.C (getFont): adjust
6003         (getLayoutFont): adjust
6004         (getLabelFont): adjust
6005
6006         * paragraph_funcs.C (TeXOnePar): adjust
6007         (outerFont): new func...
6008         (realizeFont): ...moved out from here, changed this to facilitate
6009         transition
6010
6011         * paragraph.C (getFont): take outerfont as arg, adjust
6012         (simpleTeXOnePar): add outerfont arg, adjust
6013
6014         * buffer.C (simpleLinuxDocOnePar): adjust
6015         (simpleDocBookOnePar): adjust
6016
6017         * CutAndPaste.C (pasteSelection): adjust
6018
6019         * BufferView.C (getEncoding): adjust
6020
6021 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * text2.C (setCharFont): adjust
6024         (setCounter): adjust
6025
6026         * text.C (leftMargin): adjust
6027         (setHeightOfRow): adjust
6028
6029         * rowpainter.C (paintFirst): adjust
6030         (paintLast): adjust
6031
6032         * paragraph_pimpl.C (realizeFont): adjust
6033
6034         * paragraph.C (isFirstInSequence): move from here...
6035         * paragraph_funcs.C (isFirstInSequence): ...to here
6036
6037         * paragraph.C (outerHook): move from here...
6038         * paragraph_funcs.C (outerHook): ...to here
6039
6040         * paragraph.C (depthHook): move from here...
6041         * paragraph_funcs.C (depthHook): ...to here
6042
6043         * paragraph.C (getEndLabel): move from here...
6044         * paragraph_funcs.C (getEndLabel): ...to here
6045
6046         * text2.C (realizeFont): move from here...
6047         * paragraph_funcs.C (realizeFont): ...to here
6048
6049 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6050
6051         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6052
6053 2003-04-14  Angus Leeming  <leeming@lyx.org>
6054
6055         * LColor.[Ch]: scrap LColor mathcursor.
6056
6057 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * lyxlex.[Ch] (text): delete function
6060         * trans.C (Load): adjust
6061         * paragraph_funcs.C (readParToken): adjust
6062
6063 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6066         vector<char> instead of a char[].
6067
6068         * lyxlex_pimpl.C (getString): adjust
6069         (next): adjust
6070         (lex): use getString
6071         (eatLine): adjust
6072         (nextToken): adjust
6073
6074         * lyxlex.C (text): use pimpl_->getString()
6075         (getBool): ditto
6076         (findToken): ditto
6077
6078 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6081         (makeFontEntriesLayoutSpecific): temp var for par.size()
6082         (setLayout): temp var for ownerParagraphs().end()
6083         (fullRebreak): temp var for rows().end()
6084         (selectionAsString): temp var for boost::next(startpit), realize
6085         that the while really is a regular for loop.
6086         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6087         setCursor in one place.
6088         (setParagraph): temp vr for ownerParagraphs().end()
6089         (updateCounters): make the while loop a for loop
6090         (cutSelection): temp var for ownerParagraphs().end()
6091         (updateInset): make the do {} while() a regular for loop
6092         (getCursorX): use temp vars
6093         (setCurrentFont): use temp vars
6094         (getColumnNearX): use temp vars
6095
6096 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * text.C (transformChar): use temp var for getChar
6099         (computeBidiTables): use temp var for row->par()
6100         (fill): move temp vars for row->par() and pit->layout() earlier in
6101         the function.
6102         (labelFill): use temp var for row->par()
6103         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6104         asc and desc, realize that pit never changes and that firstpit is
6105         just a duplicate and not needed. Exchange rit->par() with pit in a
6106         lot of places.
6107         (breakAgain): use a temp var for boost::next(rit)
6108         (breakAgainOneRow): ditto
6109         (breakParagraph): use a temp var for rows().begin()
6110         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6111         (cursorRightOneWord): use temp var for cursor.par() and
6112         cursor.pos(), remove usage of tmpcursor.
6113         (cursorLeftOneWord): use temp var for cursor.par() and
6114         cursor.pos() only set cur at end of function.
6115
6116 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * text.C, text2.C: exchange all usage of Paragraph::next with
6119         boost::next(ParagraphList::iterator)
6120
6121         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6122
6123         * text2.C (cursorTop): simplify implementation
6124         (cursorBottom): ditto
6125         (setParagraph): use ParagraphList::iterator
6126         (setCurrentFont): adjust
6127         (getColumnNearX): adjust
6128         (cursorRight): adjust
6129         (cursorLeft): remove usage of Paragraph::previous
6130         (cursorUpParagraph): ditto
6131         (deleteEmptyParagraphMechanism): slight cleanup
6132
6133         * text.C (isBoundary): take a Paragraph const & instead of a
6134         pointer as arg.
6135         (addressBreakPoint): ditto
6136         (leftMargin): remove usage of Paragraph::previous.
6137         (setHeightOfRow): ditto
6138         (cursorLeftOneWord): ditto
6139         (selectNextWordToSpellcheck): ditto
6140         (Delete): ditto
6141         (backspace): ditto
6142         (breakParagraph): remove one usage of Paragraph::next
6143         (redoParagraph): ditto
6144         (acceptChange): ditto
6145         (insertChar): adjust
6146         (rowBreakPoint): adjust
6147
6148         * bufferview_funcs.C (toggleAndShow): adjust
6149
6150 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6151
6152         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6153         methods to access it.
6154         * lyxtext.h:
6155         * text.C: Added updateRowPositions to compute all row positions.
6156         Make top_y and getRowNearY() to use the cached y position
6157
6158 2003-04-11  John Levon  <levon@movementarian.org>
6159
6160         * text.C (rowBreakPoint): reintroduce the labelEnd
6161         checks, code copied from the row fill stuff. Deep voodoo.
6162
6163         * text.C (fill): add a comment and debugging for the
6164         next poor soul.
6165
6166 2003-04-11  John Levon  <levon@movementarian.org>
6167
6168         * text.C: make sure fullrow insets get wrapped to the next line,
6169         even when they're in a manual label
6170
6171 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * text2.C (insertParagraph): make it take ParagraphList::iterator
6174         as arg.
6175         (setLayout): make it return ParagraphList::iterator
6176         (redoParagraphs): ditto
6177         (setCounter): ditto
6178         (checkParagraph): ditto
6179
6180         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6181
6182         * text2.C: adjust several funcs.
6183         (realizeFont): take a ParagraphList::iterator as arg.
6184         (getLayoutFont): ditto
6185         (getLabelFont): ditto
6186         (setCharFont): ditto
6187
6188         * text.C: adjust several funcs.
6189
6190 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6191
6192         * text.C (selectNextWordToSpellcheck): don't accidentally
6193         skip insets
6194
6195 2003-04-10  John Levon  <levon@movementarian.org>
6196
6197         * ToolbarBackend.C (getIcon): special handling for
6198         LFUN_MATH_DELIM
6199
6200 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6201
6202         * text2.C (cursorRight): a getChar assert fixed
6203
6204 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * text2.C (getFont): change to take a ParagraphList::iterator
6207         instead of Paragraph*
6208         Adjust several functions.
6209
6210         * text.C (transformChar): change to take a ParagraphList::iterator
6211         instead of Paragraph*
6212         (singleWidth): ditto
6213         Adjust several functions.
6214
6215         * rowpainter.C: adjust several functions
6216         * rowpainter.h:store a ParagraphList::iterator and not a
6217         Paragraph&.
6218
6219
6220 2003-04-09  John Levon  <levon@movementarian.org>
6221
6222         * lyxfunc.C:
6223         * lfuns.h:
6224         * LyXAction.h:
6225         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6226         and the "help" bits as well
6227
6228 2003-04-09  John Levon  <levon@movementarian.org>
6229
6230         * ToolbarBackend.h:
6231         * ToolbarBackend.C: allow multiple toolbars
6232
6233 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6234
6235         * undo_funcs.C (setCursorParUndo): adjust
6236
6237         * text_funcs.C (transposeChars): adjust
6238
6239         * text3.C (gotoNextInset): adjust
6240         (dispatch): adjust
6241
6242         * text2.C (setLayout): adjust
6243         (changeDepth): adjust
6244         (setFont): adjust
6245         (redoParagraphs): adjust
6246         (selectionAsString): adjust
6247         (setParagraph): adjust
6248         (insertInset): adjust
6249         (cutSelection): adjust
6250         (copySelection): adjust
6251         (pasteSelection): adjust
6252         (insertStringAsLines): adjust
6253         (updateInset): adjust
6254         (setCursor): change to take a ParagraphList::iterator parameter
6255         (setCursorIntern): change to take a ParagraphList::iterator parameter
6256         (setCurrentFont): adjust
6257         (cursorLeft): adjust
6258         (cursorRight): adjust
6259         (deleteEmptyParagraphMechanism): adjust
6260
6261         * text.C (breakParagraph): adjust
6262         (insertChar): adjust
6263         (acceptChange): adjust
6264         (rejectChange): adjust
6265         (selectNextWordToSpellcheck): adjust
6266         (changeCase): adjust
6267         (Delete): adjust
6268         (backspace): adjust
6269
6270         * lyxfind.C (SearchForward): adjust
6271         (SearchBackward): adjust
6272         (nextChange): adjust
6273
6274         * lyxcursor.C (par): adjust
6275
6276         * lyxcursor.h: store a ParagraphList::iterator instead of a
6277         Paragraph*
6278
6279         * lyx_cb.C (getPossibleLabel): adjust
6280
6281         * bufferview_funcs.C (toggleAndShow): adjust
6282
6283         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6284         (dispatch): adjust
6285
6286         * BufferView.C (removeAutoInsets): adjust
6287         (lockedInsetStoreUndo): adjust
6288
6289 2003-04-09  John Levon  <levon@movementarian.org>
6290
6291         * ToolbarBackend.C: try icon without argument
6292         if with argument fails
6293
6294 2003-04-08  John Levon  <levon@movementarian.org>
6295
6296         * ToolbarBackend.h:
6297         * ToolbarBackend.C: add getIcon(), handle tooltip,
6298         and change from "Icon" to "Item".
6299
6300 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6301
6302         * BufferView.C (lockInset): another bad getchar crunched
6303
6304 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6305
6306         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6307         again)
6308
6309 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6310
6311         * lyxfind.C (searchForward, searchBackwards): bug 782
6312
6313 2003-04-07  John Levon  <levon@movementarian.org>
6314
6315         * paragraph.C: remove dead comment
6316
6317         * text.C: remove troublesome depth-fiddling code
6318         in leftMargin() and rightMargin() (bug 1017)
6319
6320         * text.C: fix breaking of rows in nested lists
6321         (bug 1004)
6322
6323         * text2.C (updateCounters): fix up depth values
6324         (bug 1013)
6325
6326 2003-04-07  John Levon  <levon@movementarian.org>
6327
6328         * BufferView_pimpl.C: clear message when doc finishes resizing,
6329         and after a mouse event
6330
6331         * lyxfunc.C: clear message after exiting inset
6332
6333 2003-04-07  John Levon  <levon@movementarian.org>
6334
6335         * bufferview_funcs.C: show math status not outside
6336         status in the statusbar
6337
6338 2003-04-07  John Levon  <levon@movementarian.org>
6339
6340         * lyxfunc.C: note status changed after a depth change
6341
6342 2003-04-04  Angus Leeming  <leeming@lyx.org>
6343
6344         * LaTeX.h: move AuxInfo operator==, != out of line.
6345         Remove LaTeX virtual destructor; nothing derives from it.
6346         Move operator()() out of public area and rename it startscript().
6347         Change protected for private.
6348
6349 2003-04-04  Angus Leeming  <leeming@lyx.org>
6350
6351         * lyxfunc.C:
6352         * text2.C: remove unneeded #includes.
6353
6354 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6355
6356         * text2.C (dEPM): fix the heigth of the next row
6357
6358 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6359
6360         * text.C: squashed an invalid getChar requester + some ws changes
6361
6362 2003-04-03  John Levon  <levon@movementarian.org>
6363
6364         * bufferview_funcs.h:
6365         * bufferview_funcs.C:
6366         * lyxfunc.C:
6367         * lyxtext.h:
6368         * text2.C: make getStatus work for the env depth lfuns
6369
6370 2003-04-03  John Levon  <levon@movementarian.org>
6371
6372         * bufferview_funcs.h:
6373         * bufferview_funcs.C:
6374         * lyxfunc.C:
6375         * lyxtext.h:
6376         * text2.C: parlistize decDepth(), by merging it with incDepth()
6377
6378 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * lyxrow.h: store a ParagraphList::iterator instead of a
6381         Paragraph* and adjust other class functions to suit.
6382
6383         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6384         above.
6385
6386 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6387
6388         * text2.C (setCursor): do not anchor to cursor row for the time being
6389
6390 2003-04-02  John Levon  <levon@movementarian.org>
6391
6392         * LyXAction.C:
6393         * lfuns.h:
6394         * lyx_main.C:
6395         * lyxtext.h:
6396         * text.C:
6397         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6398
6399 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * paragraph.h: make ParagraphList and ParagraphList::iterator
6402         friends of Paragraph.
6403
6404         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6405
6406         * ParagraphList.C: Use the private next_ and previous_ from
6407         Paragraph.
6408
6409 2003-04-01  John Levon  <levon@movementarian.org>
6410
6411         * ToolbarBackend.h:
6412         * ToolbarBackend.C:
6413         * Makefile.am: rename, remove defaults gunk
6414
6415         * MenuBackend.h:
6416         * MenuBackend.C: remove defaults gunk
6417
6418         * Languages.h:
6419         * Languages.C: remove defaults gunk
6420
6421         * lyx_main.h:
6422         * lyx_main.C: error out if files couldn't be found.
6423
6424 2003-04-02  John Levon  <levon@movementarian.org>
6425
6426         * text2.C: make incDepth() use parlist
6427
6428 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * undo_funcs.C (firstUndoParagraph): adjust
6431
6432         * text3.C (gotoInset): adjust
6433         (dispatch): adjust, and rewrite loop.
6434
6435         * text2.C (init): adjust, and rewrite loop.
6436         (redoParagraphs): adjust
6437         (updateInset): adjust, and rewrite loop.
6438         (deleteEmptyParagraphMechanism): adjust
6439
6440         * tabular.C (LyXTabular): adjust
6441         (SetMultiColumn): adjust
6442         (TeXRow): adjust
6443
6444         * lyxtext.[Ch] (ownerParagraph): delete function
6445         (ownerParagraphs): new function returns a ParagraphList.
6446
6447         * BufferView.C (removeAutoInsets): adjust
6448         (insertErrors): adjust
6449         (setCursorFromRow): adjust
6450
6451 2003-04-01  Angus Leeming  <leeming@lyx.org>
6452
6453         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6454         in the frontends.
6455
6456 2003-04-02  John Levon  <levon@movementarian.org>
6457
6458         * lyxtext.h:
6459         * text.C:
6460         * Makefile.am:
6461         * text_funcs.h:
6462         * text_funcs.C: make transposeChars a free function
6463
6464         * lyxrow_funcs.C: remove wrong comment
6465
6466 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * lyxtext.h: adjust
6469         * rowpainter.C: adjust
6470         * text.C: adjust
6471         * text2.C: adjust
6472         * text3.C: adjust
6473
6474         * lyxrow_funcs. [Ch]: new files
6475
6476         * lyxrow.[Ch]: remove next and previous pointers
6477         (next,previous): remove accessor functions
6478         (isParEnd): move to lyxrow_funcs
6479         (lastPos): move to lyxrow_funcs
6480         (nextRowIsAllInset): move to lyxrow_funcs
6481         (lastPrintablePos): move to lyxrow_funcs
6482         (numberOfSeparators): move to lyxrow_funcs
6483         (numberOfHfills): move to lyxrow_funcs
6484         (numberOfLabelHfills): move to lyxrow_funcs
6485         (hfillExpansion): move to lyxrow_funcs
6486
6487         * lyxfunc.C: adjust
6488
6489         * bufferview_funcs.C (toggleAndShow): adjust
6490
6491         * RowList.h: Remove class RowList from file leave just a
6492         std::list<Row>.
6493
6494         * RowList.C: delete file
6495
6496         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6497         and lyxrow_funcs.h
6498
6499 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6500
6501         * text3.C (cursorPrevious): adjust
6502         (cursorNext): adjust
6503         (dispatch): adjust
6504
6505         * text2.C (redoHeightOfParagraph): adjust
6506         (redoDrawingOfParagraph): adjust
6507         (setCursor): adjust
6508
6509         * text.C (breakParagraph): adjust
6510         (insertChar): adjust
6511         (backspace): adjust
6512
6513         * rowpainter.C (RowPainter): adjust
6514         (leftMargin): simplify and adjust
6515         (most rowpainter functions): adjust.
6516
6517         * rowpainter.h: store the row as RowList::iterator not as Row*
6518
6519         * lyxcursor.C (row): taka RowList::iterator as arg
6520         (irow): ditto
6521
6522         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6523         of Row*.
6524
6525 2003-04-01  Angus Leeming  <leeming@lyx.org>
6526
6527         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6528         stuff like bool Bool.
6529
6530 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6531
6532         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6533         rewrite a loop
6534
6535 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6538         RowList::iterator.
6539
6540         * lyxtext.h (rows): drop one version and leve a const variant that
6541         returns a RowList::iterator.
6542
6543 2003-03-31  Angus Leeming  <leeming@lyx.org>
6544
6545         * text.C (fill): ensure that the signature is the same as that in the
6546         header file.
6547
6548 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * text2.C (redoParagraphs): adjust
6551         (updateCounters): adjust
6552         (checkParagraph): adjust
6553         (getColumnNearX): adjust and reformat a bit.
6554
6555         * text.C (top_y): adjust
6556         (workWidth): adjust
6557         (leftMargin): adjust
6558         (prepareToPrint): adjust
6559         (getRow): adjust
6560         (getRowNearY): adjust
6561
6562         * lyxtext.h: make rowlist_ mutable.
6563
6564         * RowList.h: add const_iterator
6565         * RowList.C: adjust for RowList::const_iterator.
6566
6567         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6568         adjust.
6569
6570 2003-03-31  John Levon  <levon@movementarian.org>
6571
6572         * lyxrc.h:
6573         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6574
6575         * lyx_main.C: set default fonts from using lyx_gui funcs
6576
6577         * exporter.C: pdf_mode moved from lyxrc
6578
6579         * lyx_cb.C:
6580         * lyxfunc.C: changes from above
6581
6582 2003-03-31  John Levon  <levon@movementarian.org>
6583
6584         * lyx_main.C: fix to the last fix
6585
6586 2003-03-31  John Levon  <levon@movementarian.org>
6587
6588         * bufferlist.C: "Load original" -> "Load Original"
6589
6590         * converter.C:
6591         * exporter.C:
6592         * importer.C:
6593         * lyx_main.C:
6594         * format.C: more Alert cleanups
6595
6596 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * text2.C (removeParagraph): make it take a RowList::iterator as
6599         arg, adjust.
6600         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6601         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6602
6603         * text.C (anchor_row): make it take a RowList::iterator as arg,
6604         adjust.
6605         (computeBidiTables): make it take a const reference to Row instead
6606         of Row pointer, adjust.
6607         (leftMargin): make it take a RowList::iterator as arg, adjust.
6608         (rowBreakPoint): adjust
6609         (breakAgainOneRow): make it take a RowList::iterator as arg,
6610         adjust.
6611         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6612
6613         * bufferview_funcs.C (toggleAndShow): adjust
6614
6615 2003-03-30  John Levon  <levon@movementarian.org>
6616
6617         * Makefile.am:
6618         * BoostFormat.h:
6619         * boost-inst.C: moved to support
6620
6621         * several files: changes as a result
6622
6623 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * text2.C (LyXText): adjust.
6626         (init): adjust
6627         (removeRow): make it take a RowList::iterator as arg, adjust.
6628         (fullRebreak): adjust
6629         (deleteEmptyParagraphMechanism): adjust
6630         (clearPaint): adjust
6631         (postPaint): adjust
6632
6633         * text.C (top_y): adjust
6634         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6635         (breakAgain): make it take a RowList::iterator as arg, adjust.
6636         (breakParagraph): adjust
6637         (insertChar): adjust
6638         (backspace): adjust
6639
6640         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6641         need_break_row, and refresh_row.
6642
6643         * text3.C (dispatch): adjust
6644
6645         * text2.C (checkParagraph): adjust
6646         (setCursor): adjust
6647         (setCursorFromCoordinates): adjust
6648
6649         * text.C (top_y): adjust
6650         (workWidth): adjust
6651         (getRow): make it return a RowList::iterator, adjust
6652         (getRowNearY): make it return a RowList::iterator, adjust
6653
6654         * text2.C (init): adjust
6655         (insertRow): remove function
6656         (insertParagraph): adjust
6657         (redoParagraphs): adjust
6658         (fullRebreak): adjust
6659         (updateCounters): adjust
6660
6661         * text.C (top_y): rewrite to use RowList iterators.
6662         (top_y): adjust
6663         (setHeightOfRow): rewrite to sue RowList iterators.
6664         (appendParagraph): adjust
6665         (breakAgain): adjust
6666         (breakAgainOneRow): adjust
6667         (breakParagraph): adjust
6668         (getRow): adjust
6669         (getRowNearY): adjust, and remove commented code.
6670
6671         * lyxtext.h (firstRow): delete function
6672         (lastRow): delete function
6673         (rows): new function (const and non-const versions.)
6674         (insertRow): delete function
6675
6676         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6677
6678 2003-03-29  John Levon  <levon@movementarian.org>
6679
6680         * BufferView_pimpl.C: always update scrollbar top
6681         because pasting text when we're anchored could mean we
6682         miss an update altogether
6683
6684 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6685
6686         * text2.C (init): use rowlist_.end() and not 0.
6687         (insertRow): change to take a RowList::iterator as arg, adjust
6688         for this.
6689         (insertParagraph): change to take a RowList::iterator as arg,
6690         adjust for this.
6691         (redoParagraphs): remove some debug msgs.
6692
6693         * text.C (appendParagraph): change to take a RowList::iterator
6694         arg, adjust for this.
6695         (breakAgain): add an assert
6696         (breakAgainOneRow): ditto
6697
6698 2003-03-29  John Levon  <levon@movementarian.org>
6699
6700         * text2.C: do not clear selection after inc/decDepth
6701         (bug 550)
6702
6703 2003-03-29  John Levon  <levon@movementarian.org>
6704
6705         * BufferView.C:
6706         * buffer.C: fix broken strerrors according to Lars
6707
6708 2003-03-29  John Levon  <levon@movementarian.org>
6709
6710         * converters.C: more Alert cleanups
6711
6712 2003-03-29  John Levon  <levon@movementarian.org>
6713
6714         * bufferview_funcs.C: remove pointless Alert
6715
6716         * buffer.C: fix confusing error message when
6717         a template is chmoded 000
6718
6719 2003-03-29  John Levon  <levon@movementarian.org>
6720
6721         * BufferView.C:
6722         * BufferView.h:
6723         * BufferView_pimpl.C: Alert fixes
6724
6725         * Makefile.am:
6726         * tabular.C:
6727         * tabular-old.C: remove unused table compat reading
6728
6729 2003-03-29  John Levon  <levon@movementarian.org>
6730
6731         * BufferView.C:
6732         * buffer.C:
6733         * lyx_cb.h:
6734         * lyx_cb.C: more Alert cleanups
6735
6736         * lyxfunc.C: don't allow chktex if not latex document
6737
6738 2003-03-29  John Levon  <levon@movementarian.org>
6739
6740         * lyx_cb.C:
6741         * BufferView.C:
6742         * buffer.C: warnings pushed down from support/,
6743         kill err_alert
6744
6745 2003-03-29  John Levon  <levon@movementarian.org>
6746
6747         * lyxfunc.C: safety check for C-r (revert)
6748
6749 2003-03-29  John Levon  <levon@movementarian.org>
6750
6751         * bufferlist.h:
6752         * bufferlist.C: several UI fixes using Alert::prompt.
6753         Fix the pointless looping quit code. Fix stupid revert
6754         behaviour (bug 938)
6755
6756         * lyxvc.h:
6757         * lyxvc.C:
6758         * lyx_cb.C: use Alert::prompt
6759
6760         * lyx_main.C: remove a silly question
6761
6762         * lyxfunc.C: remove a couple of silly questions,
6763         use Alert::prompt
6764
6765 2003-03-28  John Levon  <levon@movementarian.org>
6766
6767         * text2.C: fix bug 974 (End on empty par)
6768
6769 2003-03-28  John Levon  <levon@movementarian.org>
6770
6771         * BufferView_pimpl.C:
6772         * LyXAction.C:
6773         * lfuns.h: remove do-nothing math greek lfuns
6774
6775 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * lyxgluelength.h (isValidGlueLength): add default arg on
6778         parameter 2. Remove default arg from friend in class.
6779
6780         * lyxlength.h (isValidLength): add default arg on parameter 2.
6781         Remove default arg from friend in class.
6782
6783         * text2.C (LyXText): adjust, initialize refresh_row.
6784         (init): adjust
6785         (removeRow): adjust
6786         (insertRow): adjust
6787         (insertParagraph): adjst
6788         (redoParagraphs): adjust
6789         (fullRebreak): adjust
6790         (updateCounters): adjust
6791         (deleteEmptyParagraphMechanism): first attempt at fixing a
6792         crashing bug.
6793
6794         * text.C (top_y): adjust
6795         (setHeightOfRow): adjust
6796         (getRow): adjust
6797         (getRowNearY): adjust
6798
6799         * lyxtext.h: include RowList.h
6800         (~LyXText): not needed anymore, deleted.
6801         (firstRow): modify for RowList
6802         (lastRow): new function
6803         Delete firstrow and lastrow class variables, add a Rowlist
6804         rowlist_ class variable.
6805
6806         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6807         paragraph is empty.
6808
6809         * RowList.C (insert): fix case where it == begin().
6810
6811 2003-03-26  Angus Leeming  <leeming@lyx.org>
6812
6813         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6814         the thesaurus dialog.
6815
6816 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6819
6820         * RowList.[Ch]: new files
6821
6822         * ParagraphList.C (erase): handle the case where it == begin
6823         correctly.
6824
6825 2003-03-25  John Levon  <levon@movementarian.org>
6826
6827         * Makefile.am:
6828         * aspell_local.h:
6829         * aspell.C: add new aspell support
6830
6831         * lyxrc.h:
6832         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6833         have it accessible.
6834
6835 2003-03-25  Angus Leeming  <leeming@lyx.org>
6836
6837         * lfuns.h:
6838         * LyXAction.C (init): new LFUN_INSET_INSERT.
6839
6840         * BufferView_pimpl.C (dispatch): split out part of the
6841         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6842
6843         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6844         LFUN_INSET_APPLY.
6845
6846 2003-03-25  Angus Leeming  <leeming@lyx.org>
6847
6848         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6849
6850 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6851
6852         * text2.C:
6853         * text3.C: remove useless row->height(0)
6854
6855 2003-03-25  John Levon  <levon@movementarian.org>
6856
6857         * lyxtext.h:
6858         * text2.C:
6859         * text3.C: rename the refreshing stuff to better names
6860
6861 2003-03-24  John Levon  <levon@movementarian.org>
6862
6863         * BufferView_pimpl.h:
6864         * BufferView_pimpl.C: update layout choice on a mouse
6865         press/release
6866
6867 2003-03-23  John Levon  <levon@movementarian.org>
6868
6869         * Makefile.am: fix commandtags.h reference
6870
6871 2003-03-22  John Levon  <levon@movementarian.org>
6872
6873         * BufferView_pimpl.C:
6874         * lyxtext.h:
6875         * rowpainter.C:
6876         * rowpainter.h:
6877         * text.C:
6878         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6879
6880 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6881
6882         * lyxtext.h:
6883         * text.C: take the rtl methods out of line
6884
6885 2003-03-21 André Pönitz <poenitz@gmx.net>
6886
6887         * metricsinfo.[Ch]: new files containing structures to be passed around
6888         during the two-phase-drawing...
6889
6890 2003-03-21 André Pönitz <poenitz@gmx.net>
6891
6892         * lyxtextclass.C: read 'environment' tag.
6893
6894 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6895
6896         * text2.C (removeRow): fix bug 964
6897
6898 2003-03-20  John Levon  <levon@movementarian.org>
6899
6900         * rowpainter.C:
6901         * text.C:
6902         * text2.C: paint cleanups. Inset::update() dropped font
6903         parameter
6904
6905 2003-03-19  John Levon  <levon@movementarian.org>
6906
6907         * lyxfunc.C: only fitcursor/markDirty if available()
6908
6909 2003-03-19  John Levon  <levon@movementarian.org>
6910
6911         * commandtags.h: rename to ...
6912
6913         * lfuns.h: ... this, and renumber / cleanup
6914
6915 2003-03-19  John Levon  <levon@movementarian.org>
6916
6917         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6918         fit the cursor after an lfun
6919
6920         * BufferView.h:
6921         * BufferView.C:
6922         * BufferView_pimpl.h:
6923         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6924
6925         * LyXAction.C: layout-character should have ReadOnly
6926
6927         * ParagraphParameters.C:
6928         * buffer.C:
6929         * bufferview_funcs.C:
6930         * lyx_cb.C:
6931         * lyxfind.C:
6932         * lyxtext.h:
6933         * text.C:
6934         * text2.C:
6935         * text3.C:
6936         * undo_funcs.C: changes from above
6937
6938 2003-03-18  John Levon  <levon@movementarian.org>
6939
6940         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6941         remove it from update()
6942
6943         * lyxfunc.C: update layout choice after an lfun
6944
6945         * text3.C: remove extra updateLayoutChoice()s
6946
6947 2003-03-18  John Levon  <levon@movementarian.org>
6948
6949         * text.C: top_y change means full repaint, fix
6950         a drawing bug with cursor movement
6951
6952 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6953
6954         * lyxtext.h:
6955         * text.C:
6956         * text2.C: anchor row on setCursor
6957
6958 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6959
6960         * lyxtext.h: remove almost all mutable keywords
6961         * text.C:
6962         * text2.C:
6963         * text3.C: remove const keywords accordingly
6964
6965 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6966
6967         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6968         anon namespace
6969         (TeXEnvironment): ditto
6970         (TeXOnePar): ditto
6971
6972 2003-03-17  John Levon  <levon@movementarian.org>
6973
6974         * text.C (rowBreakPoint): remove attempt to fix displayed
6975         math insets inside a manual label
6976
6977 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * lyxtext.h: remove BufferView* as first arg from almost all class
6980         functions.
6981         * other files: adjust.
6982
6983 2003-03-17  John Levon  <levon@movementarian.org>
6984
6985         * lyxtext.h:
6986         * undo_funcs.C:
6987         * text2.C: more paint cleanups
6988
6989         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6990
6991         * rowpainter.h:
6992         * rowpainter.C: remove "smart" background painting code
6993
6994 2003-03-16  John Levon  <levon@movementarian.org>
6995
6996         * lyxtext.h:
6997         * text.C:
6998         * text2.C:
6999         * text3.C: add helper functions for setting refresh_row/y
7000
7001 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7002
7003         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7004         newline inset which *can* get inserted in the pass_thru layouts.
7005         This is primarily for literate documents.
7006
7007 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7008
7009         * buffer.C: increment LYX_FORMAT to 223
7010
7011 2003-03-14 André Pönitz <poenitz@gmx.net>
7012
7013         * textclass.h: prepare for environment handling, ws changes
7014         * lyxlayout.C: read latexheader and latexfooter tags
7015
7016 2003-03-14  John Levon  <levon@movementarian.org>
7017
7018         * text2.C: rewrite ::status() a bit
7019
7020 2003-03-13  John Levon  <levon@movementarian.org>
7021
7022         * lyxtext.h: add some docs
7023
7024 2003-03-13  John Levon  <levon@movementarian.org>
7025
7026         * lyxtext.h:
7027         * text.C:
7028         * text2.C:
7029         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7030
7031 2003-03-13  John Levon  <levon@movementarian.org>
7032
7033         * text3.C: fix appendix redrawing
7034
7035 2003-03-13  John Levon  <levon@movementarian.org>
7036
7037         * text.C (setHeightOfRow):
7038         * rowpainter.h:
7039         * rowpainter.C: make appendix mark have the text
7040           "Appendix" so the user knows what it is
7041
7042         * LColor.h:
7043         * LColor.C: s/appendixline/appendix/ from above
7044
7045 2003-03-13  John Levon  <levon@movementarian.org>
7046
7047         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7048
7049         * text.C: fix a getChar(pos) bug properly
7050
7051 2003-03-13  Angus Leeming  <leeming@lyx.org>
7052
7053         * commandtags.h:
7054         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7055         Probably only temporary. Let's see how things pan out.
7056
7057         * BufferView.C (unlockInset):
7058         * BufferView_pimpl.C (fitCursor):
7059         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7060
7061         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7062         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7063
7064         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7065         new functions that convert ParagraphParameters to and from a string.
7066
7067         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7068         BufferView::Pimpl's dispatch.
7069         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7070
7071 2003-03-13 André Pönitz <poenitz@gmx.net>
7072
7073         * lyxfunc.C:
7074         * text3.C:
7075         * factory.C: make it aware of InsetEnv
7076
7077 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * text2.C (setCursor): never ask for one past last
7080         (setCursor): add some debugging messages.
7081
7082         * text.C (singleWidth): never ask for one past last
7083         (singleWidth): ditto
7084         (leftMargin): ditto
7085         (rightMargin): ditto
7086         (rowBreakPoint): ditto
7087         (setHeightOfRow): ditto
7088         (prepareToPrint): ditto
7089
7090         * rowpainter.C (paintBackground): never ask for one past last
7091         (paintText): never ask for one past last
7092
7093         * paragraph_pimpl.C (getChar): make the assert stricter, never
7094         allow the one past last pos to be taken
7095
7096         * paragraph.C (getChar): ws changes only
7097
7098         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7099         (numberOfSeparators): ditto
7100         (numberOfHfills): ditto
7101
7102 2003-03-12  John Levon  <levon@movementarian.org>
7103
7104         * author.h:
7105         * author.C:
7106         * bufferparams.h:
7107         * bufferparams.C:
7108         * paragraph_funcs.C: fix per-buffer authorlists
7109
7110 2003-03-12  John Levon  <levon@movementarian.org>
7111
7112         * text.C: fix newline in right address
7113
7114 2003-03-12  Angus Leeming  <leeming@lyx.org>
7115
7116         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7117         duplicate those in LyXFunc::dispatch.
7118
7119         * commandtags.h:
7120         * LyXAction.C:
7121         * ToolbarDefaults.C:
7122         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7123         Add LFUN_FONTFREE_UPDATE.
7124
7125         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7126         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7127
7128         * bufferview_func.[Ch]: several new functions to facilliate
7129         transfer of data to and from the character dialog.
7130
7131 2003-03-12  John Levon  <levon@movementarian.org>
7132
7133         * buffer.C:
7134         * paragraph.h:
7135         * paragraph.C:
7136         * paragraph_funcs.C:
7137         * paragraph_pimpl.C:
7138         * sgml.C:
7139         * tabular.C:
7140         * text.C:
7141         * text3.C: remove META_NEWLINE in favour of an inset
7142
7143         * rowpainter.h:
7144         * rowpainter.C: remove paintNewline (done by inset)
7145
7146 2003-03-12  John Levon  <levon@movementarian.org>
7147
7148         * paragraph_pimpl.C: complain about bad getChar()s
7149         for a while at least
7150
7151 2003-03-12  John Levon  <levon@movementarian.org>
7152
7153         * buffer.h:
7154         * buffer.C: move paragraph read into a separate function,
7155         a little renaming to reflect that.
7156
7157         * bufferparams.h:
7158         * bufferparams.C: remove the author_ids map, not necessary now
7159
7160         * factory.h:
7161         * factory.C: moved Buffer::readInset to here
7162
7163         * paragraph_funcs.h:
7164         * paragraph_funcs.C: readParagraph free function moved from
7165         buffer.C
7166
7167         * tabular.C: name change
7168
7169 2003-03-12  John Levon  <levon@movementarian.org>
7170
7171         * buffer.C:
7172         * ParagraphParameters.C: move par params input to
7173         a read() method
7174
7175         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7176         behave like a normal read from the stream wrt reading
7177         a line vs. a \\token
7178
7179 2003-03-12  John Levon  <levon@movementarian.org>
7180
7181         * paragraph.C:
7182         * ParagraphParameters.h:
7183         * ParagraphParameters.C: move output code to a
7184         ::write() method
7185
7186 2003-03-12  John Levon  <levon@movementarian.org>
7187
7188         * BufferView.C (insertLyXFile):
7189         * buffer.h:
7190         * buffer.C:
7191         * tabular.C: use a parlist iterator for creating the
7192           document.
7193
7194 2003-03-12  John Levon  <levon@movementarian.org>
7195
7196         * buffer.C: make current_change static local not
7197           static file-scope
7198
7199 2003-03-12  John Levon  <levon@movementarian.org>
7200
7201         * buffer.C: fix insertStringAsLines for change tracking
7202
7203 2003-03-12  John Levon  <levon@movementarian.org>
7204
7205         * BufferView.C:
7206         * tabular.C:
7207         * buffer.h:
7208         * buffer.C:
7209         * bufferparams.h:
7210         * bufferparams.C: move author list into params. Rename some
7211           functions. Move the header reading into a separate token
7212           loop. Move the header token reading into BufferParams.
7213
7214 2003-03-12  John Levon  <levon@movementarian.org>
7215
7216         * changes.C: put debug inside lyxerr.debugging() checks
7217
7218 2003-03-11 André Pönitz <poenitz@gmx.net>
7219
7220         * factory.C: make it aware of InsetHFill
7221
7222 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7223
7224         * buffer.C (latexParagraphs): move function from here...
7225         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7226         args.
7227
7228 2003-03-10  Angus Leeming  <leeming@lyx.org>
7229
7230         * LyXAction.C (init): fix bug in poplating array with multiple entries
7231         with the same LFUN (spotted by JMarc).
7232
7233 2003-03-10  John Levon  <levon@movementarian.org>
7234
7235         * text.C:
7236         * text2.C: move getColumnNearX() near its
7237         only call site
7238
7239 2003-03-10  John Levon  <levon@movementarian.org>
7240
7241         * text.C: fix break before a minipage
7242
7243 2003-03-10  John Levon  <levon@movementarian.org>
7244
7245         * text.C: fix the last commit
7246
7247 2003-03-09  John Levon  <levon@movementarian.org>
7248
7249         * lyxtext.h:
7250         * text.C:
7251         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7252         bug 365 (don't break before insets unless needed). Don't
7253         return a value > last under any circumstances.
7254
7255 2003-03-09  Angus Leeming  <leeming@lyx.org>
7256
7257         * BufferView_pimpl.C (trackChanges, dispatch): call
7258         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7259
7260 2003-03-09  Angus Leeming  <leeming@lyx.org>
7261
7262         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7263         than Dialogs::showAboutlyx().
7264
7265 2003-03-09  Angus Leeming  <leeming@lyx.org>
7266
7267         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7268         than Dialogs::showTabularCreate().
7269
7270 2003-03-09  John Levon  <levon@movementarian.org>
7271
7272         * lyxtext.h:
7273         * text.C:
7274         * text2.C: 3rd arg to nextBreakPoint was always the same.
7275           Use references.
7276
7277 2003-03-08  John Levon  <levon@movementarian.org>
7278
7279         * lyxrow.C:
7280         * paragraph.C:
7281         * paragraph.h:
7282         * rowpainter.C:
7283         * text.C:
7284         * text2.C: Remove the "main" bit from the "main body"
7285           notion.
7286
7287 2003-03-08  John Levon  <levon@movementarian.org>
7288
7289         * text.C (leftMargin): The left margin of an empty
7290         manual label paragraph should not include the label width
7291         string length.
7292
7293         * text.C (prepareToPrint): don't attempt to measure hfills
7294         for empty manual label paragraphs - the answer should be 0
7295
7296 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7297
7298         * CutAndPaste.C: remove commented code and reindent.
7299
7300 2003-03-08  John Levon  <levon@movementarian.org>
7301
7302         * lyxfunc.h:
7303         * lyxfunc.C: move reloadBuffer()
7304
7305         * BufferView.h:
7306         * BufferView.C: to here
7307
7308         * lyxvc.C: add comment
7309
7310         * vc-backend.h:
7311         * vc-backend.C: call bv->reload() to avoid
7312           getStatus() check on MENURELOAD
7313
7314 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7315
7316         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7317         to an old format .dep file.
7318
7319 2003-03-07  Angus Leeming  <leeming@lyx.org>
7320
7321         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7322         when the LFUN_MOUSE_RELEASE should have been handled by
7323         inset->localDispatch.
7324
7325 2003-03-07  Angus Leeming  <leeming@lyx.org>
7326
7327         * BufferView_pimpl.C (dispatch):
7328         * LyXAction.C (init):
7329         * ToolbarDefaults.C (init):
7330         * commandtags.h:
7331         * lyxfunc.C (getStatus):
7332         remove LFUN_INSET_GRAPHICS.
7333
7334         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7335
7336 2003-03-07  Angus Leeming  <leeming@lyx.org>
7337
7338         * commandtags.h:
7339         * LyXAction.C (init):
7340         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7341
7342         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7343
7344         * commandtags.h:
7345         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7346
7347         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7348         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7349
7350 2003-03-07  Angus Leeming  <leeming@lyx.org>
7351
7352         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7353         remove "ert".
7354
7355 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * ParagraphList.C (front): new function
7358         (back): implement
7359
7360 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7361
7362         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7363         and top_row_offset_. removed var first_y.
7364         * text.C (top_y):
7365         * text2.C (LyXText, removeRow):
7366         * text3.C:
7367         * BufferView_pimpl.C:
7368         use these methods instead of using first_y
7369
7370 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * text2.C (pasteSelection): adjust for checkPastePossible
7373
7374         * CutAndPaste.C: remove Paragraph * buf and replace with
7375         ParagraphList paragraphs.
7376         (DeleteBuffer): delete
7377         (cutSelection): change the tc type to textclass_type
7378         (copySelection): change the tc type to textclass_type
7379         (copySelection): adjust for ParagraphList
7380         (pasteSelection): change the tc type to textclass_type
7381         (pasteSelection): adjust for Paragraphlist
7382         (nrOfParagraphs): simplify for ParagraphList
7383         (checkPastePossible): simplify for ParagraphList
7384         (checkPastePossible): remove unused arg
7385
7386         * ParagraphList.C (insert): handle the case where there are no
7387         paragraphs yet.
7388
7389         * CutAndPaste.h: make CutAndPaste a namespace.
7390
7391         * text3.C (dispatch): adjust
7392
7393         * text.C (breakParagraph): add a ParagraphList as arg
7394
7395         * paragraph_funcs.C (breakParagraph): change to take a
7396         BufferParams and a ParagraphList as args.
7397         (breakParagraphConservative): ditto
7398         (mergeParagraph): ditto
7399         (TeXDeeper): add a ParagraphList arg
7400         (TeXEnvironment): ditto
7401         (TeXOnePar): ditto
7402
7403         * buffer.C (readLyXformat2): adjust
7404         (insertStringAsLines): adjust
7405         (latexParagraphs): adjust
7406
7407         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7408         (cutSelection): adjust
7409         (pasteSelection): adjust
7410
7411         * BufferView_pimpl.C (insertInset): adjust
7412
7413 2003-03-05  Angus Leeming  <leeming@lyx.org>
7414
7415         * commandtags.h:
7416         * LyXAction.C (init):
7417         * BufferView_pimpl.C (dispatch):
7418         * lyxfunc.C (getStatus):
7419         remove LFUN_CHILD_INSERT.
7420
7421         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7422
7423 2003-03-05  Angus Leeming  <leeming@lyx.org>
7424
7425         * commandtags.h:
7426         * LyXAction.C (init):
7427         * src/factory.C (createInset):
7428         * lyxfunc.C (getStatus):
7429         * text3.C (dispatch):
7430         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7431
7432         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7433
7434 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * ParagraphList.C (insert): handle insert right before end()
7437         (erase): fix cases where it can be first or last paragraph.
7438
7439 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7440
7441         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7442         Paragraph::next and Paragraph::previous
7443         (TeXOnePar): ditto
7444
7445         * text.C (breakParagraph): adjust
7446
7447         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7448         BufferParams& as arg.
7449         (breakParagraph): use ParagraphList::insert
7450         (breakParagraphConservative): take a Buffer* instead of a
7451         BufferParams& as arg.
7452         (breakParagraphConservative): use ParagraphList::insert.
7453
7454         * buffer.C (insertStringAsLines): un-const it
7455         (insertStringAsLines): adjust
7456
7457         * ParagraphList.C (insert): new function
7458
7459         * CutAndPaste.C (pasteSelection): adjust
7460
7461         * text.C (backspace): adjust
7462
7463         * tabular.C (SetMultiColumn): adjust
7464
7465         * CutAndPaste.C (cutSelection): adjust
7466         (pasteSelection): adjust
7467
7468         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7469         Buffer const * as arg
7470
7471         * ParagraphList.C (erase): new function
7472         * paragraph_funcs.C (mergeParagraph): use it
7473         (mergeParagraph): make it take a Buffer* instead of a
7474         BufferParams* as arg
7475
7476         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7477         as arg
7478         (breakParagraphConservative): ditto
7479
7480         * paragraph.h: remove the breakParagraph friend
7481
7482         * paragraph.C (eraseIntern): new function
7483         (setChange): new function
7484
7485         * paragraph_funcs.C (mergeParagraph): make it take a
7486         ParagraphList::iterator instead of a Paragraph *, adjust
7487         accordingly.
7488
7489         * paragraph.h: move an #endif so that the change tracking stuff
7490         also works in the NO_NEXT case.
7491
7492 2003-03-04  Angus Leeming  <leeming@lyx.org>
7493
7494         * commandtags.h:
7495         * LyXAction.C: new LFUN_INSET_MODIFY.
7496
7497         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7498         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7499
7500 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * several files: ws changes only
7503
7504         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7505         (TeXEnvironment): ditto
7506         (TeXDeeper): ditto
7507
7508         * buffer.C (makeLaTeXFile): adjust
7509         (latexParagraphs): make it take ParagraphList::iterator as args
7510
7511 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7512
7513         * buffer.C (latexParagraphs): adjust
7514
7515         * paragraph.C (TeXOnePar): move function...
7516         (optArgInset): move function...
7517         (TeXEnvironment): move function...
7518         * paragraph_pimpl.C (TeXDeeper): move function...
7519         * paragraph_funcs.C: ...here
7520
7521         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7522
7523 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7524
7525         * buffer.C (readInset): remove compability code for old Figure and
7526         InsetInfo insets
7527
7528 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7529
7530         * buffer.C: ws changes
7531         (readInset):
7532
7533         * BufferView_pimpl.C: ditto
7534         * author.C: ditto
7535         * buffer.h: ditto
7536         * bufferlist.h: ditto
7537         * changes.h: ditto
7538         * lyxfunc.C: ditto
7539
7540 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7541
7542         * converter.[Ch]: split into itself +
7543         * graph.[Ch]
7544         * format.[Ch]
7545         * Makefile.am: += graph.[Ch] + format.[Ch]
7546         * MenuBackend.C
7547         * buffer.C
7548         * exporter.C
7549         * importer.C
7550         * lyx_main.C
7551         * lyxfunc.C
7552         * lyxrc.C: added #include "format.h"
7553
7554 2003-02-27  Angus Leeming  <leeming@lyx.org>
7555
7556         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7557           a label.
7558
7559         * factory.C (createInset): add "label" to the factory.
7560
7561         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7562           string and do no more.
7563
7564 2003-02-27  Angus Leeming  <leeming@lyx.org>
7565
7566         * commandtags.h:
7567         * LyXAction.C (init):
7568         * factory.C (createInset):
7569         * BufferView_pimpl.C (dispatch):
7570           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7571
7572         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7573
7574         * lyxfunc.C (dispatch):
7575         * text3.C (dispatch): pass name to params2string.
7576
7577 2003-02-26  Angus Leeming  <leeming@lyx.org>
7578
7579         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7580           blocks together.
7581           Rearrange the ~includes. Strip out the unnecessary ones.
7582
7583         * factory.C (createInset): reformat.
7584           create new insets for the various LFUN_XYZ_APPLY lfuns.
7585
7586 2003-02-26  John Levon  <levon@movementarian.org>
7587
7588         * lyxrow.h:
7589         * lyxrow.C: add isParStart,isParEnd helpers
7590
7591         * paragraph.h: make isInserted/DeletedText take refs
7592
7593         * paragraph_funcs.h:
7594         * paragraph_funcs.C: remove #if 0'd code
7595
7596         * lyxtext.h:
7597         * text3.C:
7598         * text2.C:
7599         * text.C: use lyxrow helpers above.
7600           Move draw and paint routines to RowPainter.
7601           Make several methods use refs not pointers.
7602           Make backgroundColor() const.
7603           Add markChangeInDraw(), isInInset().
7604           Merge changeRegionCase into changeCase.
7605           Make workWidth() shouldn't-happen code into an Assert.
7606
7607         * rowpainter.h:
7608         * rowpainter.C: new class for painting a row.
7609
7610         * vspace.h:
7611         * vspace.C: make inPixels take a ref
7612
7613 2003-02-26  Angus Leeming  <leeming@lyx.org>
7614
7615         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7616         LFUN_REF_APPLY.
7617
7618 2003-02-25  John Levon  <levon@movementarian.org>
7619
7620         * ispell.C: give the forked command a more accurate name
7621
7622 2003-02-22  John Levon  <levon@movementarian.org>
7623
7624         * toc.h:
7625         * toc.C: make TocItem store an id not a Paragraph *
7626           (bug #913)
7627
7628 2003-02-21  Angus Leeming  <leeming@lyx.org>
7629
7630         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7631           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7632           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7633           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7634           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7635           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7636
7637         * BufferView_pimpl.C (dispatch):
7638         * LyXAction.C (init):
7639         * factory.C (createInset):
7640         * lyxfunc.C (getStatus, dispatch):
7641         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7642
7643 2003-02-21  Angus Leeming  <leeming@lyx.org>
7644
7645         * BufferView_pimpl.C (MenuInsertLyXFile):
7646         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7647         * lyxfunc.C (menuNew, open, doImport):
7648           no longer pass a LyXView & to fileDlg.
7649
7650 2003-02-21  Angus Leeming  <leeming@lyx.org>
7651
7652         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7653         * LyXAction.C: change, BIBKEY to BIBITEM.
7654         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7655         Change InsetBibKey to InsetBibitem.
7656         Change BIBKEY_CODE to BIBITEM_CODE.
7657         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7658         * factory.C: replace insetbib.h with insetbibitem.h.
7659         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7660         * paragraph.C: replace insetbib.h with insetbibitem.h.
7661         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7662         Change bibkey() to bibitem().
7663         * text.C: remove insetbib.h.
7664         * text2.C: replace insetbib.h with insetbibitem.h.
7665         change bibkey() to bibitem().
7666         * text3.C: remove insetbib.h.
7667         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7668
7669 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7670
7671         * lyxrc.C (output): enclose user email in quotes (in case there are
7672         several words)
7673
7674 2003-02-18  John Levon  <levon@movementarian.org>
7675
7676         * buffer.h: add std::
7677
7678 2003-02-17  John Levon  <levon@movementarian.org>
7679
7680         * SpellBase.h:
7681         * ispell.h:
7682         * ispell.C:
7683         * pspell.h:
7684         * pspell.C: reworking. Especially in ispell, a large
7685           number of clean ups and bug fixes.
7686
7687         * lyxfunc.C: fix revert to behave sensibly
7688
7689 2003-02-17 André Pönitz <poenitz@gmx.net>
7690
7691         * LyXAction.C:
7692         * commandtags.h: new LFUN_INSERT_BIBKEY
7693
7694         * layout.h:
7695         * lyxlayout.C:
7696         * buffer.C:
7697         * factory.C:
7698         * text.C:
7699         * text2.C:
7700         * text3.C:
7701         * paragraph.[Ch]:
7702         * paragraph_func.C: remove special bibkey handling
7703
7704 2003-02-17  John Levon  <levon@movementarian.org>
7705
7706         * text.C (Delete): fix case where delete at the end of
7707           the very first paragraph would not merge the pars
7708
7709 2003-02-17  John Levon  <levon@movementarian.org>
7710
7711         * lyxrow.C: fix lastPrintablePos()
7712
7713 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7714
7715         * bufferparams.C (writeLaTeX): add a std:here
7716
7717         * buffer.C: and remove a using directive there
7718
7719 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7720
7721         * buffer.C (makeLaTeXFile): move the code that generates the
7722           preamble...
7723
7724         * bufferparams.C (writeLaTeX): ... in this new method
7725
7726         * LaTeXFeatures.C (getEncodingSet): make const
7727           (getLanguages): make const
7728
7729         * MenuBackend.C (binding): returns the binding associated to this
7730           action
7731           (add): sets the status of each item by calling getStatus. Adds
7732           some intelligence.
7733           (read): add support for OptSubMenu
7734           (expand): remove extra separator at the end of expanded menu
7735
7736 2003-02-15  John Levon  <levon@movementarian.org>
7737
7738         * BufferView.C:
7739         * BufferView_pimpl.C:
7740         * bufferlist.h:
7741         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7742           inset code that had no actual effect. Remove unneeded status
7743           code.
7744
7745 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7746
7747         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7748           in preamble
7749
7750 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7751
7752         * text.C (drawLengthMarker): also draw an arrow marker for
7753           symbolic lengths (medskip...)
7754
7755 2003-02-14  John Levon  <levon@movementarian.org>
7756
7757         * tabular.h:
7758         * tabular.C: better method names
7759
7760 2003-02-14  John Levon  <levon@movementarian.org>
7761
7762         * BufferView_pimpl.C:
7763         * bufferlist.C:
7764         * buffer.C:
7765         * converter.C:
7766         * lyx_cb.C:
7767         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7768           it's a more accurate name. Remove some pointless uses.
7769
7770 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7771
7772         * text2.C (LyXText): change order of initilizers to shut off
7773           warnings
7774
7775 2003-02-14  John Levon  <levon@movementarian.org>
7776
7777         * buffer.C: use ParIterator for getParFromID()
7778
7779         * paragraph.h:
7780         * paragraph.C:
7781         * paragraph_pimpl.h:
7782         * paragraph_pimpl.C: remove unused getParFromID()
7783
7784 2003-02-14  John Levon  <levon@movementarian.org>
7785
7786         * buffer.C: remove some very old #if 0'd parse code
7787
7788 2003-02-13  John Levon  <levon@movementarian.org>
7789
7790         * text.h:
7791         * text.C:
7792         * text2.C: move hfillExpansion(), numberOfSeparators(),
7793           rowLast(), rowLastPrintable(), numberofHfills(),
7794           numberOfLabelHfills() ...
7795
7796         * lyxrow.h:
7797         * lyxrow.C: ... to member functions here.
7798
7799         * paragraph.h:
7800         * paragraph.C:
7801         * lyxtext.h:
7802         * text.C: remove LyXText::beginningOfMainBody(), and call
7803           p->beginningOfMainBody() directly. Move the check for
7804           LABEL_MANUAL into the latter.
7805
7806         * text.h:
7807         * text.C:
7808         * text2.C:
7809         * vspace.C:
7810         * BufferView.h:
7811         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7812
7813         * text.h:
7814         * text.C:
7815         * text2.C:
7816         * text3.C:
7817         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7818           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7819
7820 2003-02-13  John Levon  <levon@movementarian.org>
7821
7822         * CutAndPaste.C: remove debug
7823
7824 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7825
7826         * paragraph.C (asString): remove two unused variables
7827
7828         * lyxtextclass.C (readTitleType):
7829           (Read):
7830           (LyXTextClass): handle new members titletype_ and titlename_
7831
7832         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7833
7834 2003-02-09  John Levon  <levon@movementarian.org>
7835
7836         * buffer.h:
7837         * buffer.C: replace hand-coded list with a map for the dep clean
7838
7839 2003-02-08  John Levon  <levon@movementarian.org>
7840
7841         * LaTeX.C: consolidate code into showRunMessage() helper
7842
7843 2003-02-08  John Levon  <levon@movementarian.org>
7844
7845         * lyxfind.C:
7846         * lyxtext.h:
7847         * text2.C:
7848         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7849           and pass the size in explicitly
7850
7851         * BufferView_pimpl.h:
7852         * BufferView_pimpl.C:
7853         * BufferView.h:
7854         * BufferView.C: add getCurrentChange()
7855
7856         * BufferView_pimpl.h:
7857         * BufferView_pimpl.C: handle change lfuns
7858
7859         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7860           for changes. Mark pasted paragraphs as new.
7861
7862         * support/lyxtime.h:
7863         * support/lyxtime.C:
7864         * DepTable.C: abstract time_t as lyx::time_type
7865
7866         * LColor.h:
7867         * LColor.C: add colours for new text, deleted text, changebars
7868
7869         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7870           package use "usenames" option.
7871
7872         * commandtags.h:
7873         * lyxfunc.C:
7874         * LyXAction.C: add change lfuns
7875
7876         * Makefile.am:
7877         * author.h:
7878         * author.C: author handling
7879
7880         * buffer.h:
7881         * buffer.C: add a per-buffer author list, with first entry as
7882           current author. Handle new .lyx tokens for change tracking. Output
7883           author list to .lyx file. Output dvipost stuff to .tex preamble.
7884           Bump lyx format to 222.
7885
7886         * bufferlist.h:
7887         * bufferlist.C: add setCurrentAuthor() to reset current author details
7888           in all buffers.
7889
7890         * bufferparams.h:
7891         * bufferparams.C: add param for tracking
7892
7893         * bufferview_funcs.C: output change info in minibuffer
7894
7895         * Makefile.am:
7896         * changes.h:
7897         * changes.C: add change-tracking structure
7898
7899         * debug.h:
7900         * debug.C: add CHANGES debug flag
7901
7902         * lyxfind.h:
7903         * lyxfind.C: add code for finding the next change piece
7904
7905         * lyxrc.h:
7906         * lyxrc.C: add user_name and user_email
7907
7908         * lyxrow.h:
7909         * lyxrow.C: add a metric for the top of the text line
7910
7911         * lyxtext.h:
7912         * text.C: implement accept/rejectChange()
7913
7914         * lyxtext.h:
7915         * text.C: paint changebars. Paint new/deleted text in the chosen
7916         colours. Strike through deleted text.
7917
7918         * paragraph.h:
7919         * paragraph.C:
7920         * paragraph_pimpl.h:
7921         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7922           in the current change to the insert functions. Rework erase to
7923           mark text as deleted, adding an eraseIntern() and a range-based
7924           erase(). Implement per-paragraph change lookup and
7925           accept/reject.
7926
7927         * paragraph_funcs.C: Fixup paste for change tracking.
7928
7929         * tabular.C: mark added row/columns as new.
7930
7931         * text.C: fix rowLast() to never return -1. Don't allow
7932           spellchecking of deleted text. Track transpose changes. Don't
7933           allow paragraph break or merge where appropriate.
7934
7935         * text2.C: leave cursor at end of selection after a cut.
7936
7937 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7938
7939         * text.C (getLengthMarkerHeight):
7940         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7941         visible on screen too.
7942
7943 2003-02-07  John Levon  <levon@movementarian.org>
7944
7945         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7946
7947 2003-02-05  Angus Leeming  <leeming@lyx.org>
7948
7949         * lyxserver.C (read_ready): revert my patch of 11 September last year
7950         as it sends PC cpu through the roof. Presumably this means that
7951         the lyxserver will no longer run on an Alpha...
7952
7953 2003-01-30  Angus Leeming  <leeming@lyx.org>
7954
7955         * factory.C (createInset): create an InsetCommandParam of type "index"
7956         and use it to 'do the right thing'.
7957
7958         * text2.C (getStringToIndex): ensure that cursor position is always
7959         reset to the reset_cursor position.
7960
7961 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7962
7963         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7964         disabled.
7965
7966 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7967
7968         * bufferview.C:
7969         * lyxcb.C:
7970         * lyxfunc.C: Output messages with identical spelling, punctuation,
7971         and spaces
7972
7973 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7974
7975         * MenuBackend.C (expandFormats): List only viewable export formats
7976         in "View" menu
7977
7978         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7979         message
7980
7981         * lyxfunc.C (getStatus): Make sure that formats other than
7982         "fax" can also be disabled
7983
7984 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7985
7986         * text3.C (dispatch): put the lfuns that insert insets in 3
7987         groups, and call doInsertInset with appropriate arguments.
7988         (doInsertInset): new function, that creates an inset and inserts
7989         it according to some boolean parameters.
7990
7991 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7992
7993         * buffer.C (readFile): remember to pass on 'par' when calling
7994         readFile recursively.
7995
7996 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7997
7998         * MenuBackend.C (expandFormats): add "..." to import formats.
7999
8000 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8001
8002         * paragraph.C (asString): Remove XForms RTL hacks.
8003
8004 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8005         * buffer.C: fix typo
8006
8007 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8008
8009         * Makefile.am (LIBS): delete var
8010         (lyx_LDADD): add @LIBS@ here instead.
8011
8012 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8013
8014         * Clarify the meaning of "wheel mouse jump"
8015
8016 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8017
8018         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8019         tabular in a float
8020
8021 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8022
8023         * importer.C (Loaders): do not preallocate 3 elements in the
8024         vector, since one ends up with 6 elements otherwise
8025
8026 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8027
8028         * DepTable.C (write): write the file name as last element of the
8029         .dep file (because it may contain spaces)
8030         (read): read info in the right order
8031
8032 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8033
8034         * paragraph_pimpl.C (simpleTeXBlanks):
8035         (simpleTeXSpecialChars):
8036         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8037
8038         * tabular.C (latex): add some missing case statements. Reindent.
8039
8040         * MenuBackend.C (expandToc): remove unused variable.
8041
8042 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8043
8044         * LColor.C:
8045         * LaTeX.C:
8046         * LyXAction.C:
8047         * MenuBackend.C:
8048         * buffer.C:
8049         * exporter.C:
8050         * lyxfunc.C:
8051         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8052         and the like.
8053
8054 2003-01-05  John Levon  <levon@movementarian.org>
8055
8056         * BufferView.h:
8057         * BufferView.C: add getEncoding()
8058
8059         * kbsequence.h:
8060         * kbsequence.C: do not store last keypress
8061
8062         * lyxfunc.h:
8063         * lyxfunc.C: store last keypress here instead. Pass encoding
8064           to getISOEncoded()
8065
8066 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8067
8068         * lyx_main.C (init): remove annoying error message when following
8069         symbolic links (bug #780)
8070
8071 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8072
8073         * text.C (insertChar):
8074         * lyxrc.C (getDescription): remove extra spaces
8075
8076 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8077
8078         * lyxrc.C (getDescription): remove extra spaces
8079
8080 2002-12-20  John Levon  <levon@movementarian.org>
8081
8082         * text3.C: hack fix for page up/down across tall rows
8083
8084 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8085
8086         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8087         not been invoked
8088
8089 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8090
8091         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8092         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8093         thesaurus is not compiled in
8094
8095 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8096
8097         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8098
8099 2002-12-16  Angus Leeming  <leeming@lyx.org>
8100
8101         * lyxrc.[Ch]:
8102         * lyx_main.C (init): remove override_x_deadkeys stuff.
8103
8104 2002-12-12  John Levon  <levon@movementarian.org>
8105
8106         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8107           insert. Only remove shift modifier under strict
8108           circumstances.
8109
8110 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * MenuBackend.C (expandToc): fix crash.
8113
8114 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * MenuBackend.C (expandToc): gettext on float names.
8117
8118 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8119
8120         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8121         implement bool empty() [bug 490]
8122
8123 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8124
8125         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8126
8127 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * several files: ws changes
8130
8131 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8132
8133         * text2.C (setCounter): clean up a bit, use boost.format.
8134         (updateCounters): initialize par upon declaration.
8135
8136         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8137         if the layout exists. We do not just store the layout any more.
8138         (SwitchLayoutsBetweenClasses): use boost.format
8139
8140 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8141
8142         * converter.C (convert): if from and to files are the same, use a
8143         temporary files as intermediary
8144
8145 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8146
8147         * commandtags.h:
8148         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8149
8150 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8151
8152         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8153
8154 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * tabular.C (asciiPrintCell): use string(size, char) instead of
8157         explicit loop.
8158
8159         * sgml.C (openTag): fix order of arguments to string constructor
8160         (closeTag): ditto
8161
8162         * lyxfunc.C (dispatch): use boost.format
8163
8164         * lots of files: change "c" -> 'c'
8165
8166 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8167
8168         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8169
8170 2002-11-25  Angus Leeming  <leeming@lyx.org>
8171
8172         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8173
8174         * lyx_main.C (init): compile fix.
8175
8176 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * lyx_cb.C (start): boost.formatify
8179         do not include <iostream>
8180
8181         * lengthcommon.C: ws only
8182
8183         * boost-inst.C,BoostFormat.h: add more explict instantations
8184
8185 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * lots of files: handle USE_BOOST_FORMAT
8188
8189 2002-11-21  John Levon  <levon@movementarian.org>
8190
8191         * pspell.C: fix compile
8192
8193 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8194
8195         * lyxfunc.C (dispatch): use boost::format
8196         (open): ditto
8197         (doImport): ditto
8198
8199         * lyxfont.C (stateText): use boost::format
8200
8201         * lyx_main.C (LyX): use boost::format
8202         (init): ditto
8203         (queryUserLyXDir): ditto
8204         (readRcFile): ditto
8205         (parse_dbg): ditto
8206         (typedef boost::function): use the recommened syntax.
8207
8208         * importer.C (Import): use boost::format
8209
8210         * debug.C (showLevel): use boost::format
8211
8212         * converter.C (view): use boost::format
8213         (convert): ditto
8214         (move): ditto
8215         (scanLog): ditto
8216
8217         * bufferview_funcs.C (currentState): use boost::format
8218
8219         * bufferlist.C (emergencyWrite): use boost::format
8220
8221         * buffer.C (readLyXformat2): use boost::format
8222         (parseSingleLyXformat2Token): ditto
8223
8224         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8225
8226         * LaTeX.C (run): use boost::format
8227
8228         * Chktex.C (scanLogFile): use boost::format
8229
8230         * BufferView_pimpl.C (savePosition): use boost::format
8231         (restorePosition): ditto
8232         (MenuInsertLyXFile): ditto
8233
8234         * BoostFormat.h: help file for explicit instation.
8235
8236 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8237
8238         * tabular.C (latex): Support for block alignment in fixed width
8239         columns.
8240
8241 2002-11-17  John Levon  <levon@movementarian.org>
8242
8243         * BufferView_pimpl.C:
8244         * lyx_cb.C:
8245         * lyxfunc.C: split filedialog into open/save
8246
8247 2002-11-08  Juergen Vigna  <jug@sad.it>
8248
8249         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8250         by my last patch (hopefully).
8251
8252 2002-11-08  John Levon  <levon@movementarian.org>
8253
8254         * iterators.h:
8255         * iterators.C:
8256         * buffer.h:
8257         * buffer.C:
8258         * paragraph.h:
8259         * paragraph.C:
8260         * toc.h:
8261         * toc.C: ParConstIterator, and use it (from Lars)
8262
8263 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8264
8265         * lyxtextclass.[Ch]: revise and add doxygen comments
8266
8267 2002-11-07  John Levon  <levon@movementarian.org>
8268
8269         * text.C: fix progress value for spellchecker
8270
8271         * toc.C: fix navigate menu for insetwrap inside minipage
8272
8273         * paragraph_funcs.C: added FIXME for suspect code
8274
8275 2002-11-07  John Levon  <levon@movementarian.org>
8276
8277         * BufferView_pimpl.C: fix redrawing of insets
8278           on buffer switch
8279
8280 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8281
8282         * text2.C (updateCounters): fix bug 668
8283
8284 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8285
8286         * text3.C (dispatch): Do not make the buffer dirty when moving the
8287         cursor.
8288
8289 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8290
8291         * vc-backend.C: STRCONV
8292         (scanMaster): ditto
8293
8294         * text2.C (setCounter): STRCONV
8295
8296         * paragraph.C (asString): STRCONV
8297
8298         * lyxlength.C (asString): STRCONV
8299         (asLatexString): ditto
8300
8301         * lyxgluelength.C (asString): STRCONV
8302         (asLatexString): ditto
8303
8304         * lyxfunc.C (dispatch): STRCONV
8305         (open): ditto
8306
8307         * lyxfont.C (stateText): STRCONV
8308
8309         * importer.C (Import): STRCONV
8310
8311         * counters.C (labelItem): STRCONV
8312         (numberLabel): ditto
8313         (numberLabel): remove unused ostringstream o
8314
8315         * chset.C: STRCONV
8316         (loadFile): ditto
8317
8318         * bufferview_funcs.C (currentState): STRCONV
8319
8320         * buffer.C (readFile): STRCONV
8321         (asciiParagraph): ditto
8322         (makeLaTeXFile): ditto
8323
8324         * Spacing.C (writeEnvirBegin): STRCONV
8325
8326         * LaTeXFeatures.C (getLanguages): STRCONV
8327         (getPackages): ditto
8328         (getMacros): ditto
8329         (getBabelOptions): ditto
8330         (getTClassPreamble): ditto
8331         (getLyXSGMLEntities): ditto
8332         (getIncludedFiles): ditto
8333
8334         * LaTeX.C: STRCONV
8335         (run): ditto
8336         (scanAuxFile): ditto
8337         (deplog): ditto
8338
8339         * LString.h: add the STRCONV macros
8340
8341         * BufferView_pimpl.C (savePosition): STRCONV
8342         (restorePosition): ditto
8343         (MenuInsertLyXFile): ditto
8344
8345         * vc-backend.C (scanMaster): change from submatch[...] to
8346         submatch.str(...)
8347
8348         * funcrequest.C: include config.h
8349
8350         * factory.C: include config.h
8351
8352         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8353
8354         * box.C: include config.h
8355
8356         * LaTeX.C (scanAuxFile): change from submatch[...] to
8357         submatch.str(...)
8358         (deplog): ditto
8359
8360 2002-10-25  Angus Leeming  <leeming@lyx.org>
8361
8362         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8363
8364         * ispell.[Ch] (setError): new method.
8365         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8366         Use setError() insetead of goto END.
8367
8368         * lyx_cb.C (AutoSave): move out child process into new class
8369         AutoSaveBuffer.
8370
8371 2002-10-30  John Levon  <levon@movementarian.org>
8372
8373         * text3.C: make start appendix undoable
8374
8375 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8376
8377         * lyxlength.C (inPixels): Fix returned value.
8378
8379         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8380         environment.
8381
8382 2002-10-24  Angus Leeming  <leeming@lyx.org>
8383
8384         * lyxgluelength.h: no need to forward declare BufferParams
8385         or BufferView, so don't.
8386
8387 2002-10-21  John Levon  <levon@movementarian.org>
8388
8389         * BufferView.C: menuUndo ->undo, redo
8390
8391         * BufferView.h: document, remove dead, make some methods private
8392
8393         * paragraph_funcs.h:
8394         * paragraph_funcs.C:
8395         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8396
8397         * buffer.h:
8398         * buffer.C:
8399         * sgml.h:
8400         * sgml.C: move sgml open/close tag into sgml.C
8401
8402         * bufferview_funcs.h: unused prototype
8403
8404         * lyxfunc.h:
8405         * lyxfunc.C: remove unused
8406
8407         * lyxtext.h:
8408         * text.C: remove unused
8409
8410 2002-10-21  John Levon  <levon@movementarian.org>
8411
8412         * BufferView.h:
8413         * BufferView.C:
8414         * BufferView_pimpl.h:
8415         * BufferView_pimpl.C: fix mouse wheel handling based on
8416           patch from Darren Freeman
8417
8418 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8419
8420         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8421
8422 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8423
8424         * lyxlength.C (inPixels): Fix hanfling of negative length.
8425         Fix LyXLength::MU case.
8426
8427 2002-10-16  John Levon  <levon@movementarian.org>
8428
8429         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8430
8431 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8432
8433         * converter.C (view): add support for $$i (file name) and $$p
8434         (file path) for the viewer command. If $$i is not specified, then
8435         it is appended to the command (for compatibility with old syntax)
8436
8437 2002-10-14  Juergen Vigna  <jug@sad.it>
8438
8439         * undo_funcs.C (textHandleUndo): alter the order in which the
8440         new undopar is added to the LyXText, as we have to set first
8441         the right prev/next and then add it as otherwise the rebuild of
8442         LyXText is not correct. Also reset the cursor to the right paragraph,
8443         with this IMO we could remove the hack in "redoParagraphs()".
8444
8445 2002-10-09  Angus Leeming  <leeming@lyx.org>
8446
8447         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8448         to turn off an optimisation if a new inset is to be inserted.
8449
8450 2002-10-11 André Pönitz <poenitz@gmx.net>
8451
8452         * lyxtext.h: make some functions public to allow access
8453         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8454
8455 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8456
8457         * text3.C (dispatch): when changing layout, avoid an infinite loop
8458         [bug #652]
8459
8460 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8461
8462         * lyxrc.C (read): treat a viewer or converter command of "none" as
8463         if it were empty.
8464
8465         * MenuBackend.C (expandFormats): for an update, also allow the
8466         formats that are not viewable
8467
8468         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8469         script if it is newer than the lyxrc.defaults in user directory
8470
8471 2002-10-07 André Pönitz <poenitz@gmx.net>
8472
8473         * text.C: Vitaly Lipatov's small i18n fix
8474
8475 2002-09-25  Angus Leeming  <leeming@lyx.org>
8476
8477         * ispell.h: doxygen fix.
8478
8479 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8480
8481         * buffer.h (readFile): Add a new argument to the method, to allow
8482         reading of old-format templates.
8483
8484 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8485
8486         * toc.C (getTocList): Get TOC from InsetWrap.
8487
8488 2002-09-16  John Levon  <levon@movementarian.org>
8489
8490         * lyxfunc.C: check tabular for cut/copy too
8491
8492 2002-09-12  John Levon  <levon@movementarian.org>
8493
8494         * LyXAction.C: tidy
8495
8496         * factory.h:
8497         * factory.C: add header
8498
8499         * paragraph_funcs.h:
8500         * paragraph_funcs.C: cleanup
8501
8502 2002-09-11  John Levon  <levon@movementarian.org>
8503
8504         * PrinterParams.h: odd/even default to true
8505
8506 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8507
8508         * PrinterParams.h: update printer parameters for new xforms dialog
8509
8510 2002-09-11  Angus Leeming  <leeming@lyx.org>
8511
8512         * lyxserver.C (read_ready): re-write to make it more transparent
8513         and to make it work in coherent fashion under Tru64 Unix.
8514
8515 2002-09-11  André Pönitz <poenitz@gmx.net>
8516
8517         * commandtags.h:
8518         * LyXAction.C:
8519         * text3.C: implement LFUN_WORDSEL
8520
8521 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8522
8523         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8524         make floatlist_ a boost::shared_ptr<FloatList>
8525
8526         * lyxtextclass.C: include FloatList.h
8527         (LyXTextClass): initialize floatlist_
8528         (TextClassTags): add TC_NOFLOAT
8529         (Read): match "nofloat" to TC_NOFLOAT and use it.
8530         (readFloat): modify call to floatlist_
8531         (floats): ditto
8532         (floats): ditto
8533
8534         * FloatList.[Ch] (FloatList): remove commented out float
8535         initialization.
8536         (erase): new function
8537
8538 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8539
8540         * MenuBackend.C (expandToc): fix crash when there is no document
8541         open
8542
8543 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8544
8545         * many files: Add insetwrap.
8546
8547 2002-09-09  John Levon  <levon@movementarian.org>
8548
8549         * text2.C: remove confusing and awkward depth wraparound
8550
8551 2002-09-09  John Levon  <levon@movementarian.org>
8552
8553         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8554
8555         * buffer.h:
8556         * buffer.C: remove getIncludeonlyList()
8557
8558         * paragraph.C:
8559         * lyxfunc.C: remove headers
8560
8561 2002-09-09  Juergen Vigna  <jug@sad.it>
8562
8563         * text.C (getColumnNearX): fix form Michael this is most
8564         probably a cut&paste bug.
8565
8566 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8569
8570         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8571         references, ws changes.
8572
8573         * text2.C (init): update counters after init
8574         (insertParagraph): no need to set counter on idividual paragraphs.
8575         (setCounter): access the counters object in the textclass object
8576         on in the buffer object.
8577         (updateCounters): ditto
8578
8579         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8580         shared_ptr<Counters> to avoid loading counters.h in all
8581         compilation units.
8582         (LyXTextClass): initialize ctrs_
8583         (TextClassTags): add TC_COUNTER, and ...
8584         (Read): use it here.
8585         (CounterTags): new tags
8586         (readCounter): new function
8587         (counters): new funtion
8588         (defaultLayoutName): return a const reference
8589
8590         * counters.C (Counters): remove contructor
8591         (newCounter): remove a couple of unneeded statements.
8592         (newCounter): simplify a bit.
8593         (numberLabel): some small formatting changes.
8594
8595         * buffer.[Ch]: remove all traces of counters, move the Counters
8596         object to the LyXTextClass.
8597
8598 2002-09-06  Alain Castera  <castera@in2p3.fr>
8599
8600         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8601         package to set the horizontal alignment on fixed width columns.
8602
8603         * lyx_sty.C:
8604         * lyx_sty.h: added tabularnewline macro def.
8605
8606         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8607
8608 2002-09-06  John Levon  <levon@movementarian.org>
8609
8610         * LyXAction.C: tooltips for sub/superscript
8611
8612         * MenuBackend.C: a bit more verbose
8613
8614         * lyxfunc.C: tiny clean
8615
8616         * undo_funcs.C: document undo_frozen
8617
8618 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * counters.C (Counters): add missing algorithm counter.
8621
8622         * text2.C (setCounter): lookup the counter with layouts latexname
8623         instead of by section number.
8624         (setCounter): use a hackish way to lookup the correct enum
8625         counter.
8626         a float name->type change
8627         reset enum couners with counter name directly instead of depth value.
8628
8629         * counters.C (Counters): remove the push_backs, change to use the
8630         float type not the float name.
8631         (labelItem): remove unused string, float name->type change
8632
8633         * counters.h: don't include vector, loose the enums and sects vectors
8634
8635 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8638         (Read): add float->TC_FLOAT to textclassTags
8639         (Read): and handle it in the switch
8640         (readFloat): new function
8641
8642         * FloatList.C (FloatList): comment out the hardcoded float
8643         definitions.
8644
8645         * lyxlayout.h: ws change.
8646
8647 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8648
8649         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8650
8651 2002-09-03  Angus Leeming  <leeming@lyx.org>
8652
8653         * BufferView_pimpl.h: qualified name is not allowed in member
8654         declaration: WorkArea & Pimpl::workarea() const;
8655
8656         * factory.C: added using std::endl directive.
8657
8658         * text3.C: added using std::find and std::vector directives.
8659
8660 2002-08-29  André Pönitz <poenitz@gmx.net>
8661
8662         * lyxtext.h:
8663         * text2.C: remove unused member number_of_rows
8664
8665         * Makefile.am:
8666         * BufferView2.C: remove file, move contents to...
8667         * BufferView.C: ... here
8668
8669         * BufferView_pimpl.C:
8670         * factory.C: move more inset creation to factory
8671
8672         * vspace.C: avoid direct usage of LyXText, ws changes
8673
8674         * BufferView.[Ch]:
8675                 don't provide direct access to WorkArea, use two simple
8676                 acessors haveSelction() and workHeight() instead
8677
8678
8679 2002-08-29  John Levon  <levon@movementarian.org>
8680
8681         * BufferView_pimpl.C (dispatch): do not continue when
8682           no buffer
8683
8684 2002-08-28  André Pönitz <poenitz@gmx.net>
8685
8686         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8687
8688         * BufferView.h:
8689         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8690
8691 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8692
8693         * buffer.C: increment LYX_FORMAT to 221
8694
8695         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8696         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8697
8698         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8699
8700         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8701
8702 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8703
8704         * factory.C (createInset): use LyXTextClass::floats
8705
8706         * MenuBackend.C (expandFloatListInsert):
8707         (expandFloatInsert):
8708         (expandToc):
8709
8710         * text2.C (setCounter):
8711
8712         * LaTeXFeatures.C (useFloat):
8713         (getFloatDefinitions):
8714
8715         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8716
8717         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8718         floatlist_, with accessor floats().
8719
8720         * FloatList.h: remove global FloatList
8721
8722 2002-08-26  André Pönitz <poenitz@gmx.net>
8723
8724         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8725
8726         * BufferView.h:
8727         * BufferView2.C:
8728         * BufferView_pimpl.C:
8729         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8730
8731 2002-08-25  John Levon  <levon@movementarian.org>
8732
8733         * LyXAction.C: fix margin note description
8734
8735 2002-08-24  John Levon  <levon@movementarian.org>
8736
8737         * buffer.C:
8738         * bufferlist.C:
8739         * bufferview_funcs.C:
8740         * lyxfont.C:
8741         * undo_funcs.C: cleanups
8742
8743         * lyxfunc.C: disable CUT/COPY when no selection
8744
8745 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8746
8747         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8748         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8749
8750         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8751         Add backward compatibility to "mono", "gray" and "no".
8752
8753 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8754
8755         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8756         (and file_format >= 200).
8757
8758 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8759
8760         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8761
8762 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8763
8764         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8765
8766 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8767
8768         * BufferView_pimpl.C:
8769         * LyXAction.C:
8770         * buffer.C:
8771         * commandtags.h:
8772         * lyxfunc.C:
8773         * paragraph.[Ch]:
8774         * text2.C:
8775         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8776         inset and code to make it  work with the paragraph code. The inset
8777         can be anywhere in the paragraph, but will only do the expected
8778         thing in LaTeX if the layout file contains the parameter line
8779                         OptionalArgs    1
8780         (or more generally, a nonzero value) for that layout.
8781
8782 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8783
8784         * paragraph.h: remove the declaration of undefined counters class
8785         function.
8786
8787 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8788
8789         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8790         Dr. Richard Hawkins.
8791
8792 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8793
8794         * paragraph_funcs.h: remove some unneeded includes
8795
8796         * text.C (backspace): pasteParagraph now in global scipe
8797
8798         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8799         (pasteSelection): ditto
8800
8801         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8802         * paragraph_funcs.C (pasteParagraph): ... here
8803
8804 2002-08-20  André Pönitz <poenitz@gmx.net>
8805
8806         * commandtags.h: new LFUNs for swapping/copying table row/colums
8807
8808         * LyXAction.C:
8809         * lyxfunc.C: support for new lfuns
8810
8811 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * tabular.C:
8814         * buffer.[Ch]: remove NO_COMPABILITY stuff
8815
8816 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8817
8818         * boost.C (throw_exception): new file, with helper function for
8819         boost compiled without exceptions.
8820
8821         * paragraph.h:
8822         * lyxlength.C:
8823         * buffer.C:
8824         * ParameterStruct.h:
8825         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8826
8827         * bufferlist.C (emergencyWriteAll): use boost bind
8828
8829         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8830
8831         * text.C: include paragraph_funcs.h
8832         (breakParagraph): breakParagraph is now in global scope
8833
8834         * paragraph_funcs.[Ch]: new files
8835
8836         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8837         global scope
8838
8839         * buffer.C: include paragraph_funcs.h
8840         (insertStringAsLines): breakParagraph is now in global scope
8841
8842         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8843         paragraph_funcs.C
8844
8845         * CutAndPaste.C: include paragraph_funcs.h
8846         (cutSelection): breakParagraphConservative is now in global scope
8847         (pasteSelection): ditto
8848
8849         * buffer.h: declare oprator== and operator!= for
8850         Buffer::inset_iterator
8851
8852         * bufferlist.C (emergencyWrite): don't use fmt(...)
8853
8854         * text3.C: add using std::endl
8855
8856         * BufferView.C (moveCursorUpdate): remove default arg
8857
8858 2002-08-20  André Pönitz <poenitz@gmx.net>
8859
8860         * buffer.[Ch]: move inline functions to .C
8861
8862         * BufferView2.C:
8863         * BufferView_pimpl.C:
8864         * text.C:
8865         * buffer.[Ch]: use improved inset_iterator
8866
8867         * buffer.C:
8868         * paragraph.[Ch]: write one paragraph at a time
8869
8870 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8871
8872         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8873         style if style is not specified.
8874
8875 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * text2.C (setCounter): when searching for right label for a
8878         caption, make sure to recurse to parent insets (so that a caption
8879         in a minipage in a figure float works) (bug #568)
8880
8881 2002-08-20  André Pönitz <poenitz@gmx.net>
8882
8883         * text3.C: new file for LyXText::dispatch() and helpers
8884
8885         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8886
8887         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8888
8889 2002-08-19  André Pönitz <poenitz@gmx.net>
8890
8891         * lyxtext.h:
8892         * text.C: new LyXText::dispatch()
8893
8894         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8895
8896 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8897
8898         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8899
8900         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8901         Hebrew text.
8902
8903 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8904
8905         * Makefile.am: use $(variables) instead of @substitutions@
8906
8907 2002-08-15  André Pönitz <poenitz@gmx.net>
8908
8909         * lyxfunc.C:
8910         * BufferView_pimpl.C: streamlining mathed <-> outer world
8911         interaction
8912
8913         * commandtags.h:
8914         * LyXAction.C: remove unused LFUN_MATH
8915
8916 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8917
8918         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8919
8920 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8921
8922         * paragraph.C (Paragraph): reformat a bit
8923         (cutIntoMinibuffer): use builtin InsetList function instad of
8924         doing it manually.
8925         (getInset): ditto
8926
8927         * buffer.C: include boost/bind.hpp, add using std::for_each
8928         (writeFileAscii): use ParagraphList iterators
8929         (validate): use for_each for validate traversal of paragraphs
8930         (getBibkeyList): use ParagraphList iterators
8931         (resizeInsets): use for_each to resizeInsetsLyXText for all
8932         paragraphs.
8933         (getParFromID): use ParagraphList iterators
8934
8935         * BufferView2.C (lockInset): use paragraph list and iterators
8936
8937 2002-08-14  John Levon  <levon@movementarian.org>
8938
8939         * lyxserver.C: remove spurious xforms include
8940
8941 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8942
8943         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8944
8945 2002-08-13  André Pönitz <poenitz@gmx.net>
8946
8947         * LyXAction.[Ch]:
8948         * lyxfunc.C: further cleaning
8949
8950 2002-08-13  André Pönitz <poenitz@gmx.net>
8951
8952         * funcrequest.h: new constructor
8953
8954         * funcrequest.C: move stuff here from .h
8955
8956         * Makefile.am:
8957         * BufferView_pimpl.C:
8958         * LyXAction.C:
8959         * toc.C:
8960         * lyxfunc.C: subsequent changes
8961
8962         * lyxfunc.h: new view() member function
8963
8964         * lyxfunc.C: subsequent changes
8965
8966 2002-08-13  Angus Leeming  <leeming@lyx.org>
8967
8968         * BufferView2.C:
8969         * BufferView_pimpl.C:
8970         * buffer.C:
8971         * converter.C:
8972         * importer.C:
8973         * lyxfunc.C:
8974         * lyxvc.C:
8975         * toc.C:
8976         * vc-backend.C:
8977         changes due to the changed LyXView interface that now returns references
8978         to member variables not pointers.
8979
8980 2002-08-13  Angus Leeming  <leeming@lyx.org>
8981
8982         * WordLangTuple (word, lang_code): return references to strings,
8983         not strings.
8984
8985         * BufferView.h:
8986         * SpellBase.h:
8987         * lyxtext.h: forward-declare WordLangTuple.
8988
8989         * BufferView2.C:
8990         * ispell.C:
8991         * pspell.C:
8992         * text.C: #include "WordLangTuple.h".
8993
8994         * lyxtext.h:
8995         * text.C: (selectNextWordToSpellcheck): constify return type.
8996
8997 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8998
8999         * buffer.C:
9000         * buffer.h:
9001         * lyxtext.h:
9002         * paragraph.C:
9003         * paragraph_pimpl.h:
9004         * text.C:
9005         * text2.C:
9006         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9007         suggested by Angus.
9008         Made updateCounter always count from start of buffer, and removed
9009         second argument (par).
9010         Reverted floats number display to '#'. Perhaps I'll try again when the
9011         code base is sanitized a bit.
9012
9013 2002-08-12  Angus Leeming  <leeming@lyx.org>
9014
9015         * buffer.[Ch] (getLabelList): constify.
9016
9017 2002-08-07  André Pönitz <poenitz@gmx.net>
9018
9019         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9020
9021         * funcrequest.h: extension to keep mouse (x,y) position
9022
9023 2002-08-12  Juergen Vigna  <jug@sad.it>
9024
9025         * BufferView2.C (insertErrors): forbid undo when inserting error
9026         insets.
9027
9028         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9029
9030 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9031
9032         * ParagraphList.[Ch]: new files
9033
9034         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9035
9036         * BufferView2.C (lockInset): ParagraphList changes
9037         * toc.C: ditto
9038         * text2.C: ditto
9039         * bufferlist.C: ditto
9040         * buffer.h: ditto
9041         * buffer.C: ditto
9042
9043 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9044
9045         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9046         unused class variable counter_,
9047
9048         * paragraph.[Ch] (getFirstCounter): delete unused function
9049
9050         * counters.C: include LAssert.h
9051         (reset): add a new function with no arg, change other version to
9052         not have def. arg and to not allow empty arg.
9053
9054         * text2.C (setCounter): remove empty arg from call to Counters::reset
9055
9056 2002-08-11  John Levon  <levon@movementarian.org>
9057
9058         * Makefile.am: add WordLangTuple.h
9059
9060 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9061
9062         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9063         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9064
9065         * insets/insettext.C: InsetList changes
9066
9067         * graphics/GraphicsSupport.C (operator()): InsetList changes
9068
9069         * toc.C (getTocList): InsetList changes
9070
9071         * paragraph_pimpl.[Ch]: InsetList changes
9072
9073         * paragraph.[Ch]: InsetList changes
9074
9075         * buffer.C (inset_iterator): InsetList changes
9076         (setParagraph): ditto
9077         * buffer.h (inset_iterator): ditto
9078         * iterators.C (operator++): ditto
9079         * iterators.h: ditto
9080
9081         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9082
9083         * InsetList.[Ch]: new files, most InsetList handling moved out of
9084         paragraph.C.
9085
9086         * BufferView2.C (removeAutoInsets): InsetList changes
9087         (lockInset): ditto
9088         (ChangeInsets): ditto
9089
9090 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9091
9092         * paragraph_pimpl.h (empty): new function
9093
9094         * paragraph.[Ch] (empty): new function
9095
9096         * other files: use the new Paragraph::empty function
9097
9098 2002-08-09  John Levon  <levon@movementarian.org>
9099
9100         * lyxtext.h: remove unused refresh_height
9101
9102 2002-08-09  John Levon  <levon@movementarian.org>
9103
9104         * Makefile.am:
9105         * sgml.h:
9106         * sgml.C:
9107         * buffer.C:
9108         * paragraph.h:
9109         * paragraph.C: move sgml char escaping out of paragraph
9110
9111         * paragraph.h:
9112         * paragraph.C: remove id setter
9113
9114         * buffer.C:
9115         * paragraph.C:
9116         * paragraph_pimpl.C: remove dead tex_code_break_column
9117
9118         * bufferview_funcs.C: small cleanup
9119
9120         * lyxfunc.C: remove dead proto
9121
9122         * lyxtext.h: make some stuff private. Remove some dead stuff.
9123
9124         * lyxgluelength.C: make as[LyX]String() readable
9125
9126 2002-08-08  John Levon  <levon@movementarian.org>
9127
9128         * LyXAction.h:
9129         * LyXAction.C:
9130         * MenuBackend.C:
9131         * ToolbarDefaults.C:
9132         * lyxfunc.C:
9133         * lyxrc.C:
9134         * toc.C: lyxaction cleanup
9135
9136 2002-08-08  John Levon  <levon@movementarian.org>
9137
9138         * BufferView2.C: small cleanup
9139
9140         * lyxfind.h:
9141         * lyxfind.C: move unnecessary header into the .C
9142
9143 2002-08-08  John Levon  <levon@movementarian.org>
9144
9145         * funcrequest.h: just tedious nonsense
9146
9147         * lyx_main.h:
9148         * lyx_main.C: cleanups
9149
9150         * buffer.C:
9151         * vspace.C: remove dead header lyx_main.h
9152
9153 2002-08-07  Angus Leeming  <leeming@lyx.org>
9154
9155         * Paragraph.[Ch]:
9156         * paragraph_pimpl.h:
9157         Forward declare class Counters in paragraph.h by moving the ctrs member
9158         variable into Paragraph::Pimpl.
9159         (counters): new method, returning a reference to pimpl_->ctrs.
9160
9161         * text2.C: ensuing changes.
9162
9163 2002-08-07  John Levon  <levon@movementarian.org>
9164
9165         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9166
9167         * BufferView_pimpl.C: announce X selection on double/triple
9168           click
9169
9170         * lyx_main.C: use correct bool in batch dispatch
9171
9172         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9173
9174 2002-08-07  André Pönitz <poenitz@gmx.net>
9175
9176         * funcrequest.h: new class to wrap a kb_action and its argument
9177
9178         * BufferView.[Ch]:
9179         * BufferView_pimpl[Ch]:
9180         * LaTeX.C:
9181         * LyXAction.[Ch]:
9182         * lyxfunc.[Ch]:
9183         * lyxrc.C: subsequent changes
9184
9185
9186 2002-08-07  John Levon  <levon@movementarian.org>
9187
9188         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9189           document options change.
9190
9191 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9192
9193         * counters.[Ch]
9194         * text2.C
9195         * paragraph.[Ch]
9196         * makefile.am: move counters functionality over from
9197         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9198
9199 2002-08-06  John Levon  <levon@movementarian.org>
9200
9201         * WordLangTuple.h: new file for word + language code tuple
9202
9203         * SpellBase.h:
9204         * pspell.h:
9205         * pspell.C:
9206         * ispell.h:
9207         * ispell.C:
9208         * lyxtext.h:
9209         * text.C:
9210         * text2.C:
9211         * BufferView.h:
9212         * BufferView2.C: use WordLangTuple
9213
9214         * layout.h:
9215         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9216
9217 2002-08-06  John Levon  <levon@movementarian.org>
9218
9219         * lyx_main.C: fix cmdline batch handling
9220
9221 2002-08-06  André Pönitz <poenitz@gmx.net>
9222
9223         * lyxrc.C: set default for show_banner to true
9224
9225 2002-08-06  John Levon  <levon@movementarian.org>
9226
9227         * pspell.C: fix a crash, and allow new aspell to work
9228
9229 2002-08-06  John Levon  <levon@movementarian.org>
9230
9231         * lyxfunc.C:
9232         * kbmap.C: small cleanup
9233
9234         * vspace.h:
9235         * vspace.C: add const
9236
9237 2002-08-05  John Levon  <levon@movementarian.org>
9238
9239         * LyXAction.C: back to tabular-insert
9240
9241 2002-08-04  John Levon  <levon@movementarian.org>
9242
9243         * BufferView.h:
9244         * BufferView.C: cosmetic change
9245
9246         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9247
9248         * bufferlist.C:
9249         * buffer.h:
9250         * buffer.C:
9251         * lyxcb.h:
9252         * lyxcb.C:
9253         * lyxserver.C:
9254         * lyxvc.C:
9255         * vc-backend.C:
9256         * BufferView2.C: purge all "Lyx" not "LyX" strings
9257
9258         * lyxcursor.h:
9259         * lyxcursor.C: attempt to add some documentation
9260
9261         * lyxfunc.C:
9262         * commandtags.h:
9263         * LyXAction.C:
9264         * ToolbarDefaults.C:
9265         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9266           merge with LFUN_TABULAR_INSERT
9267
9268         * Makefile.am:
9269         * SpellBase.h:
9270         * ispell.h:
9271         * ispell.C:
9272         * pspell.h:
9273         * pspell.C: split up i/pspell implementations into separate
9274           files, many cleanups
9275
9276         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9277
9278         * text2.C: some cleanup
9279
9280         * lyxfunc.C: don't check for isp_command == "none" any more, it
9281           didn't make any sense
9282
9283 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9284
9285         * counters.[Ch]
9286         * text2.C
9287         * paragraph.[Ch]
9288         * makefile.am: move counters functionality over
9289         from text2.C/paragraph.[Ch] to counters.[Ch], and
9290         make proper C++.
9291 2002-08-02  John Levon  <levon@movementarian.org>
9292
9293         * buffer.C: s/lyxconvert/lyx2lyx/
9294
9295 2002-08-02  Angus Leeming  <leeming@lyx.org>
9296
9297         * lyxlex.C: revert John's change as it breaks reading of the user
9298         preamble.
9299
9300 2002-08-02  Angus Leeming  <leeming@lyx.org>
9301
9302         * importer.C (Import):
9303         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9304         changes due to LyXView::view() now returning a boost::shared_ptr.
9305
9306 2002-08-02  John Levon  <levon@movementarian.org>
9307
9308         * lyxlex.C: small cleanup
9309
9310 2002-08-02  John Levon  <levon@movementarian.org>
9311
9312         * text2.C (status): small cleanup, no logic change
9313
9314 2002-08-01  John Levon  <levon@movementarian.org>
9315
9316         * buffer.h:
9317         * buffer.C (writeFile): don't output alerts, caller
9318           handles this
9319
9320         * bufferlist.C:
9321         * lyx_cb.C: from above
9322
9323         * lyxfunc.C: allow to open non-existent files
9324
9325 2002-07-31  John Levon  <levon@movementarian.org>
9326
9327         * lyxserver.C: don't let incidental errors get
9328           in the way (errno)
9329
9330 2002-07-30  John Levon  <levon@movementarian.org>
9331
9332         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9333
9334 2002-07-30  John Levon  <levon@movementarian.org>
9335
9336         * lyxserver.h:
9337         * lyxserver.C: remove I/O callback too
9338
9339 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9342         log.
9343
9344 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9345
9346         * many files: strip,frontStrip -> trim,ltrim,rtrim
9347
9348 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9349
9350         * PrinterParams.h: remove extern containsOnly, and include
9351         support/lstrings.h instead.
9352
9353         * LaTeX.C (scanAuxFile): modify because of strip changes
9354         (deplog): ditto
9355         * buffer.C (makeLaTeXFile): ditto
9356         * bufferparams.C (writeFile): ditt
9357         * lyxfont.C (stateText): ditto
9358         * lyxserver.C (read_ready): ditto
9359         * vc-backend.C (scanMaster): ditto
9360
9361         * BufferView_pimpl.h: ws changes
9362
9363         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9364
9365 2002-07-26  André Pönitz <poenitz@gmx.net>
9366
9367         * kb_sequence.C: remove unnedred usings
9368
9369 2002-07-26  Juergen Vigna  <jug@sad.it>
9370
9371         * lyxfind.C (LyXReplace): we have to check better if the returned
9372         text is not of theLockingInset()->getLockingInset().
9373
9374 2002-07-25  Juergen Vigna  <jug@sad.it>
9375
9376         * lyxfind.C (LyXReplace): don't replace if we don't get the
9377         right LyXText.
9378
9379         * undo_funcs.C (createUndo): remove debugging code.
9380
9381 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9382
9383         * buffer.C (parseSingleLyXformat2Token): Use default placement
9384         when reading old floats.
9385
9386         * FloatList.C (FloatList): Change the default placement of figure
9387         and tables to "tbp".
9388
9389 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9390
9391         * MenuBackend.C: using std::max
9392
9393 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9394
9395         * MenuBackend.C (expandToc):
9396         (expandToc2): code moved from xforms menu frontend. It is now
9397         generic and TOCs are transparent to menu frontends.
9398
9399 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9400
9401         * toc.C (getTocList): protect against buf=0
9402
9403         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9404         Menu as first parameter. Now, this calls itself recursively to
9405         expand a whole tree (this will be useful for TOC handling)
9406         (expandFloatInsert): remove 'wide' version of floats
9407
9408         * MenuBackend.h (submenuname): returns the name of the submenu.
9409         (submenu): returns the submenu itself, provided it has been
9410         created by MenuBackend::expand
9411
9412 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9413
9414         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9415         insets which have noFontChange == true. (bug #172)
9416
9417 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9418
9419         * BufferView_pimpl.C: add connection objects and use them...
9420         (Pimpl): here.
9421
9422 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9423
9424         * MenuBackend.C (expandLastfiles):
9425         (expandDocuments):
9426         (expandFormats):
9427         (expandFloatListInsert):
9428         (expandFloatInsert):
9429         (expand): split expand in parts
9430
9431 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9432
9433         * lyx_gui.C: use lyx_gui::exit()
9434
9435 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9436
9437         * LyXAction.C: show the failing pseudo action
9438
9439 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9440
9441         * buffer.C (readFile): Run the lyxconvert script in order to read
9442         old files.
9443
9444 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9445
9446         * LyXAction.C:
9447         * commandtags.h:
9448         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9449
9450 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * LyXAction.C:
9453         * commandtags.h:
9454         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9455
9456 2002-07-22  Herbert Voss  <voss@lyx.org>
9457
9458         * lengthcommon.C:
9459         * lyxlength.[Ch]: add support for the vertical lengths
9460
9461 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9462
9463         * toc.[Ch]: std:: fixes
9464
9465 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * lyxrc.C: do not include lyx_main.h
9468
9469         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9470         for layouts
9471
9472         * lyxrc.C:
9473         * encoding.C:
9474         * bufferlist.C:
9475         * BufferView2.C: include "lyxlex.h"
9476
9477         * tabular.h:
9478         * bufferparams.h: do not #include "lyxlex.h"
9479
9480         * lyxtextclasslist.C (Add): remove method
9481         (classlist): renamed to classlist_
9482
9483         * paragraph_pimpl.C:
9484         * paragraph.C:
9485         * text2.C:
9486         * CutAndPaste.C:
9487         * bufferview_funcs.C:
9488         * bufferlist.C:
9489         * text.C:
9490         * LaTeXFeatures.C:
9491         * buffer.C:
9492         * toc.C (getTocList): use BufferParams::getLyXTextClass
9493
9494         * toc.C (getTocList): use InsetFloat::addToToc
9495
9496         * toc.[Ch]: new files, containing helper functions to handle table
9497         of contents
9498
9499         * lyxfunc.C (dispatch): no need to remove spaces around command
9500         given as a string
9501         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9502         first command of the sequence; it is not very clever, but I do not
9503         have a better idea, actually
9504
9505         * LyXAction.C (LookupFunc): make sure to remove space at the
9506         beginning and end of the command
9507
9508 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9509
9510         * MenuBackend.C (getMenubar): new method: return the menubar of
9511         this menu set
9512         (read): treat differently reading of menu and menubar (in
9513         particular, the menubar has no name now)
9514         (Menu::menubar): remove
9515
9516         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9517         saving is finished
9518
9519 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9520
9521         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9522         a bibitem inset in a RTL paragraph.
9523
9524 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9525
9526         * paragraph_pimpl.C: constify
9527
9528         * BufferView_pimpl.C:
9529         * LaTeX.C:
9530         * lyxfunc.C: fix dispatch in a nicer way
9531
9532 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9533
9534         * lyxfunc.C (dispatch):
9535         * BufferView_pimpl.C:
9536         * BufferView_pimpl.h:
9537         * BufferView.C:
9538         * BufferView.h: rename Dispatch() to dispatch()
9539
9540         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9541
9542         * lyxlayout.C (Read): honor DependsOn tag
9543
9544         * lyxlayout.[Ch] (depends_on): new method
9545
9546         * version.C.in: update lyx_docversion
9547
9548         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9549
9550         * paragraph.C (validate): remove from here...
9551         * paragraph_pimpl.C (validate): ... and move here
9552         (isTextAt): make it const
9553
9554         * buffer.C (getLists): ws cleanup
9555
9556 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9557
9558         * language.C (read): Use iso8859-1 encoding in latex_lang
9559         (this prevents LyX from crashing when using iso10646-1 encoding).
9560
9561 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9562
9563         * text2.C (toggleInset): if cursor is inside an inset, close the
9564         inset and leave cursor _after_ it
9565
9566 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * lyxfunc.C: move minibuffer completion handling out of here
9569
9570 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * BufferView_pimpl.C:
9573         * LaTeX.C: fix dispatch calls
9574
9575 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9576
9577         * text.C (drawChars): Fix Arabic text rendering.
9578
9579 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9580
9581         * LyXAction.C:
9582         * commandtags.h:
9583         * lyxfunc.C: remove message-push/pop
9584
9585         * lyxserver.C:
9586         * lyxfunc.h:
9587         * lyxfunc.C: rationalise some code by removing verboseDispatch
9588           in favour of a bool argument to dispatch()
9589
9590 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9591
9592         * lyx_main.C (init): make sure to read symlinks as absolute paths
9593
9594 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9595
9596         * lyxfunc.h:
9597         * lyxfunc.C: no need for commandshortcut to be a member
9598
9599 2002-07-15  André Pönitz <poenitz@gmx.net>
9600
9601         * converter.C: add support for $$s (scripts from lib/scripts dir)
9602         * lyx_main.C: white space
9603
9604 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9605
9606         * bufferlist.C:
9607         * lyxrc.h:
9608         * lyxrc.C: remove second exit confirmation
9609
9610 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9611
9612         * BufferView.h:
9613         * BufferView.C:
9614         * BufferView2.C:
9615         * BufferView_pimpl.h:
9616         * BufferView_pimpl.C:
9617         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9618
9619 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * MenuBackend.C (expand): add numeric shortcuts to document menu
9622
9623         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9624
9625 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9626
9627         * lyxfont.C (setLyXFamily):
9628         (setLyXSeries):
9629         (setLyXShape):
9630         (setLyXSize):
9631         (setLyXMisc):
9632         (lyxRead):
9633         * debug.C (value):
9634         * buffer.C (asciiParagraph): use ascii_lowercase
9635
9636 2002-07-15  Mike Fabian  <mfabian@suse.de>
9637
9638         * lyxlex_pimpl.C (search_kw):
9639         * lyxlex.C (getLongString):
9640         * converter.h (operator<):
9641         * converter.C (operator<):
9642         * buffer.C (parseSingleLyXformat2Token):
9643         (asciiParagraph):
9644         * ToolbarDefaults.C (read):
9645         * MenuBackend.C (checkShortcuts):
9646         (read):
9647         * LColor.C (getFromGUIName):
9648         (getFromLyXName): use the compare_ascii_no_case instead of
9649         compare_no_case, because in turkish, 'i' is not the lowercase
9650         version of 'I', and thus turkish locale breaks parsing of tags.
9651
9652 2002-07-16  Angus Leeming  <leeming@lyx.org>
9653
9654         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9655         now takes a Buffer const & argument.
9656
9657 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9658
9659         * BufferView.C (resize): check there's a buffer to resize
9660
9661 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9662
9663         * lyxfunc.C: remove dead code
9664
9665         * lyxserver.h:
9666         * lyxserver.C: use lyx_guii::set_read_callback
9667
9668 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9669
9670         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9671         an inset in a RTL paragraph.
9672
9673 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9674
9675         * lyxfunc.C: repaint after a font size update
9676
9677 2002-07-15  André Pönitz <poenitz@gmx.net>
9678
9679         * lyxlength.C: inBP should be able to return negative values
9680
9681 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * lyxfunc.C: use lyx_gui::update_fonts()
9684
9685 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9686
9687         * lyxfunc.C: use lyx_gui::update_color()
9688
9689 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9690
9691         * bufferlist.C:
9692         * lyxfunc.h:
9693         * lyxfunc.C:
9694         * lyxrc.h:
9695         * lyxrc.C: remove file->new asks for name option, and let
9696           buffer-new take an argument
9697
9698 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * BufferView_pimpl.C: remove unneeded extra repaint()
9701
9702 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * LyXAction.C: allow command-sequence with NoBuffer
9705
9706         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9707
9708 2002-07-10  Angus Leeming  <leeming@lyx.org>
9709
9710         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9711
9712 2002-07-09  Angus Leeming  <leeming@lyx.org>
9713
9714         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9715
9716 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * lengthcommon.h: whitespace
9719
9720         * lyxfunc.C: update scrollbar after goto paragraph
9721
9722         * lyxtext.h: factor out page break drawing, and fix it so
9723           page break/added space paints as selected nicely
9724
9725 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * BufferView_pimpl.C: add FIXMEs, clean up a little
9728
9729 2002-07-09  André Pönitz <poenitz@gmx.net>
9730
9731         * lyxfont.[Ch]: support for wasy symbols
9732
9733 2002-07-08  André Pönitz <poenitz@gmx.net>
9734
9735         * BufferView_pimpl.C: apply John's patch for #93.
9736
9737 2002-07-05  Angus Leeming  <leeming@lyx.org>
9738
9739         * BufferView_pimpl.C (buffer): generate previews if desired.
9740
9741         * LColor.h: add "preview" to the color enum.
9742
9743         * LColor.C (LColor): add a corresponding entry to the items array.
9744
9745         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9746         with this buffer.
9747
9748 2002-07-05  Angus Leeming  <leeming@lyx.org>
9749
9750         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9751         The body of the code is now in the method that is passed an ostream &
9752         rather than a file name.
9753         Pass an additional only_preamble parameter, useful for the forthcoming
9754         preview stuff.
9755
9756 2002-07-03  André Pönitz <poenitz@gmx.net>
9757
9758         * lyxfunc.C: simplify getStatus() a bit for math stuff
9759
9760 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9761
9762         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9763
9764 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9765
9766         * text.C (changeRegionCase): do not change case of all the
9767         document when region ends at paragraph end (bug #461)
9768
9769 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9770
9771         * paragraph.C (startTeXParParams):
9772         (endTeXParParams): add \protect when necessary
9773
9774 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9775
9776         * BufferView_pimpl.C (workAreaExpose): remove warning
9777
9778 2002-06-27  Angus Leeming  <leeming@lyx.org>
9779
9780         * Makefile.am: add lyxlayout_ptr_fwd.h.
9781
9782 2002-06-26  André Pönitz <poenitz@gmx.net>
9783
9784         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9785
9786 2002-06-25  Angus Leeming  <leeming@lyx.org>
9787
9788         * lyxfunc.C (dispatch): Comment out the call to
9789         grfx::GCache::changeDisplay. The method no longer exists now that the
9790         pixmap generation part of the graphics loader has been moved into
9791         InsetGraphics.
9792
9793 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9794
9795         * text2.C: layout as layout
9796
9797         * text.C: layout as layout
9798
9799         * tabular.C (OldFormatRead): layout as layout
9800
9801         * paragraph_pimpl.C (TeXDeeper): layout as layout
9802         (realizeFont): layout as layout
9803
9804         * paragraph.C (writeFile): layout as layout
9805         (validate): layout as layout
9806         (getFont): layout as layout
9807         (getLabelFont): layout as layout
9808         (getLayoutFont): layout as layout
9809         (breakParagraph): layout as layout
9810         (stripLeadingSpaces): layout as layout
9811         (getEndLabel): layout as layout
9812         (getMaxDepthAfter): layout as layout
9813         (applyLayout): layout as layout
9814         (TeXOnePar): layout as layout
9815         (simpleTeXOnePar): layout as layout
9816         (TeXEnvironment): layout as layout
9817         (layout): layout as layout
9818         (layout): layout as layout
9819
9820         * lyxtextclass.C (compare_name): new functor to work with
9821         shared_ptr, layout as layout
9822         (Read): layout as layout
9823         (hasLayout): layout as layout
9824         (operator): layout as layout
9825         (delete_layout): layout as layout
9826         (defaultLayout): layout as layout
9827
9828         * lyxlayout_ptr_fwd.h: new file
9829
9830         * lyxlayout.C (Read): layout as layout
9831
9832         * lyx_cb.C (MenuInsertLabel): layout as layout
9833
9834         * bufferlist.C (newFile): layout as layout
9835
9836         * buffer.C (readLyXformat2): layout as layout
9837         (parseSingleLyXformat2Token): layout as layout
9838         (insertStringAsLines): layout as layout
9839         (asciiParagraph): layout as layout
9840         (latexParagraphs): layout as layout
9841         (makeLinuxDocFile): layout as layout
9842         (simpleLinuxDocOnePar): layout as layout
9843         (makeDocBookFile): layout as layout
9844         (simpleDocBookOnePar): layout as layout
9845         (getLists): layout as layout
9846
9847         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9848
9849         * CutAndPaste.C (cutSelection): layout as layout
9850         (pasteSelection): layout as layout
9851         (SwitchLayoutsBetweenClasses): layout as layout
9852
9853         * BufferView_pimpl.C (Dispatch): layout as layout
9854         (smartQuote): layout as layout
9855
9856         * BufferView2.C (unlockInset): layout as layout
9857
9858 2002-06-24  André Pönitz <poenitz@gmx.net>
9859
9860         * lyxfunc.C: fix #487
9861
9862 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * lyxrc.h:
9865         * lyxrc.C:
9866         * lyxfunc.C: remove display_shortcuts, show_banner
9867
9868 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * Buffer_pimpl.C: oops, update on resize
9871
9872 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * buffer.C:
9875         * converter.C:
9876         * exporter.C:
9877         * lyxfunc.C:
9878         * BufferView.h:
9879         * BufferView.C: use repaint()
9880
9881         * BufferView_pimpl.h:
9882         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9883           as it's a clearer description. Remove superfluous
9884           redraws.
9885
9886 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9887
9888         * text.C: fix bug 488. Not ideal, but getting
9889           getWord() to work properly for the insets that
9890           matter is more difficult ...
9891
9892 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9893
9894         * BufferView_pimpl.C:
9895         * LyXAction.C:
9896         * commandtags.h:
9897         * lyxfunc.C: remove the six million index lyxfuncs to just
9898           one, and DTRT (bug 458)
9899
9900 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9901
9902         * BufferView.h:
9903         * BufferView.C:
9904         * BufferView_pimpl.h:
9905         * BufferView_pimpl.C: clean up resize() stuff,
9906           and unnecessary updateScreen()s
9907
9908 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9909
9910         * BufferView.h:
9911         * BufferView.C:
9912         * BufferView_pimpl.h:
9913         * BufferView_pimpl.C:
9914         * lyxfind.h:
9915         * lyxfind.C:
9916         * minibuffer.C: remove focus management of workarea,
9917           not needed. Use screen's greyOut()
9918
9919 2002-06-17  Herbert Voss  <voss@lyx.org>
9920
9921         * converter.C: (convert) do not post a message, when converting
9922         fails, let the calling function decide what to do in this case
9923
9924 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9925
9926         * lyxfunc.C: tidy up a little
9927
9928 2002-06-16    <alstrup@diku.dk>
9929
9930         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9931         Got rid of FORMS_H_LOCATION include. Now we are
9932         GUII.
9933
9934 2002-06-15  LyX Development team  <lyx@rilke>
9935
9936         * buffer.[Ch] (sgmlOpenTag):
9937         (sgmlCloseTag): Added support for avoiding pernicious mixed
9938         content. Return number of lines written.
9939
9940         (makeLinuxDocFile):
9941         (makeDocBookFile): Fixed calls to sgml*Tag.
9942         Simple white space clean.
9943
9944         (simpleDocBookOnePar): Simple white space clean.
9945
9946         * tabular.[Ch] (docBook): Renamed to docbook and got another
9947         argument to related with the pernicious mixed content.
9948
9949         (docbookRow): Fixed calls for docbook inset method.
9950
9951 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9952
9953         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9954         so it's X11 independent.
9955
9956         * kb*.[Ch]: ditto.
9957
9958         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9959
9960 2002-06-15  Lyx Development team  <lyx@electronia>
9961
9962         * intl.h: Renamed getTrans to getTransManager.
9963
9964 2002-06-14  Angus Leeming  <leeming@lyx.org>
9965
9966         * Makefile.am: nuke forgotten stl_string_fwd.h.
9967
9968 2002-06-12  Angus Leeming  <leeming@lyx.org>
9969
9970         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9971
9972 2002-06-13  Angus Leeming  <leeming@lyx.org>
9973
9974         * LaTeX.C:
9975         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9976
9977 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9978
9979         * kbmap.C (getiso): add support for cyrillic and greek
9980
9981 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * BufferView.h:
9984         * BufferView.C:
9985         * BufferView_pimpl.h:
9986         * BufferView_pimpl.C: move bogus scrolling logic
9987           to xforms
9988
9989 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * lyxfunc.C:
9992         * BufferView_pimpl.C: view->resize() change
9993
9994 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * BufferView_pimpl.C: topCursorVisible
9997           prototype change
9998
9999 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * Makefile.am:
10002         * lyx_gui.h:
10003         * lyx_gui.C: move to frontends/
10004
10005         * main.C:
10006         * lyx_main.h:
10007         * lyx_main.C: changes from above
10008
10009 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * intl.C:
10012         * intl.h:
10013         * kbmap.C:
10014         * kbsequence.C:
10015         * lyx_cb.C:
10016         * lyx_main.C: minor tidy
10017
10018 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10019
10020         * BufferView_pimpl.h:
10021         * BufferView_pimpl.C:
10022         * BufferView.h:
10023         * BufferView.C: make painter() const,
10024           remove dead code
10025
10026         * BufferView2.C: use screen() accessor
10027
10028         * lyx_main.h:
10029         * lyx_main.C: some minor cleanup
10030
10031 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * BufferView_pimpl.h:
10034         * BufferView_pimpl.C: remove enter/leaveView,
10035           use workHeight()
10036
10037 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * BufferView.h:
10040         * BufferView.C:
10041         * BufferView2.C:
10042         * BufferView_pimpl.h:
10043         * BufferView_pimpl.C: only construct screen once,
10044           rename
10045
10046         * lyxrc.C: remove pointless comment
10047
10048 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * BufferView.h:
10051         * BufferView.C: remove active() and belowMouse()
10052
10053         * BufferView_pimpl.h:
10054         * BufferView_pimpl.C: use workarea() not workarea_,
10055           and make it use a scoped_ptr instead
10056
10057 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * lyx_gui.C: add debug message on BadWindow
10060
10061 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10062
10063         * sp_spell.C: fdopen is not part of the C++ standard.
10064
10065         * paragraph.C (InsetIterator): use >= instead of ==
10066
10067 2002-06-07  Angus Leeming  <leeming@lyx.org>
10068
10069         Fixes needed to compile with Compaq cxx 6.5.
10070         * BufferView_pimpl.C:
10071         * DepTable.C:
10072         * buffer.C:
10073         * converter.C:
10074         * encoding.C:
10075         * lyx_gui.C:
10076         * lyx_main.C:
10077         * lyxtextclasslist.C:
10078         * minibuffer.C:
10079         * sp_spell.C:
10080         * tabular_funcs.C:
10081         * vc-backend.C:
10082         all c-library variables have been moved into namespace std. Wrap
10083         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10084
10085         * lyxlength.C:
10086         * tabular-old.C:
10087         * tabular.C:
10088         Add a using std::abs declaration.
10089
10090         * kbmap.h (modifier_pair):
10091         * paragraph.h (InsetTable, InsetList):
10092         * lyxfont.h (FontBits):
10093         type definition made public.
10094
10095         * bufferlist.C (emergencyWriteAll): the compiler complains that
10096         there is more than one possible lyx::class_fun template to choose from.
10097         I re-named the void specialisation as lyx::void_class_fun.
10098
10099         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10100
10101         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10102         the compiler is is unable to find tostr in write_attribute.
10103
10104 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10105
10106         * buffer.C (sgmlError): hide #warning
10107
10108 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * xtl/*: get rid of xtl, which is not in use anyway
10111
10112         * LyXAction.C (init):
10113         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10114         were unimplemented xtl experimentation
10115
10116 2002-06-04  André Pönitz <poenitz@gmx.net>
10117
10118         * lyxfunc.C: disable array operation on simple formulae
10119
10120 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * converter.C: constify a bit
10123
10124 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10125
10126         * lyx_gui.C: check xforms version correctly
10127
10128 2002-04-30  Herbert Voss  <voss@lyx.org>
10129
10130         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10131         "keep" option
10132
10133 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10136           attempt to register it with a VCS)
10137
10138 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10139
10140         * lyx_main.C (init): honor variables LYX_DIR_13x and
10141         LYX_USERDIR_13x
10142
10143 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * buffer.h:
10146         * buffer.C:
10147         * lyx_main.C: fix a crash on bad command line,
10148           and give a useful exit status on error
10149
10150         * lyxfunc.C (doImport): allow -i lyx to work
10151
10152 2002-03-30  André Pönitz <poenitz@gmx.net>
10153
10154         * lyxfunc.C: mathed font changes
10155
10156 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10157
10158         * LaTeX.C:
10159         * importer.h:
10160         * importer.C:
10161         * lyx_sty.h:
10162         * lyx_sty.C:
10163         * lyxlex.C:
10164         * lyxrow.h:
10165         * lyxtext.h:
10166         * paragraph.h:
10167         * paragraph.C:
10168         * texrow.h:
10169         * texrow.C:
10170         * text.C:
10171         * trans_mgr.h: srcdocs, and some minor cleanups
10172
10173 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10176         call getFont all the time)
10177
10178 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10179
10180         * switch from SigC signals to boost::signals
10181
10182 2002-05-29  André Pönitz <poenitz@gmx.net>
10183
10184         * paragraph_pimpl.C (getChar): don't call size() too often...
10185
10186 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * paragraph_pimpl.C (insertChar): do not try to update tables when
10189         appending (pos == size())
10190
10191         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10192         in order to reduce drastically the number of comparisons needed to
10193         parse a large document
10194
10195 2002-05-29  André Pönitz <poenitz@gmx.net>
10196
10197         * text.C:
10198         * text2.C:
10199         * lyxtextclass.C:
10200         * sp_pspell.h:
10201         * textclasslist.[Ch]:
10202         * sp_ispell.h: whitespace change
10203
10204 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10205
10206         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10207         lyxaction directly now.
10208
10209 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * trans.C:
10212         * lyxfont.C:
10213         * lyxvc.C: remove unused headers
10214
10215 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * Makefile.am:
10218         * buffer.h:
10219         * undostack.h:
10220         * undostack.C:
10221         * undo_funcs.h:
10222         * undo_funcs.C: some cleanups. Use shared_ptr
10223           and a template for the undo stacks.
10224
10225 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10226
10227         * BufferView_pimpl.h:
10228         * BufferView_pimpl.C:
10229         * kbmap.h:
10230         * kbmap.C:
10231         * kbsequence.h:
10232         * kbsequence.C:
10233         * lyxfunc.h:
10234         * lyxfunc.C:
10235         * text2.C: use key_state/mouse_state
10236
10237 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10240         and LSubstring
10241
10242         * chset.C: change include order
10243         (loadFile): use boost regex and get rid of LRegex and LSubstring
10244
10245         * Makefile.am (BOOST_LIBS): new variable
10246         (lyx_LDADD): use it
10247
10248         * LaTeX.C: change include order.
10249         (scanAuxFile): use boost regex and get rid of LRegex and
10250         LSubstring
10251         (deplog): ditto
10252
10253 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10254
10255         * ColorHandler.h:
10256         * ColorHandler.C:
10257         * FontInfo.h:
10258         * FontInfo.C: moved to frontends/xforms/
10259
10260         * FontLoader.h:
10261         * FontLoader.C: moved into frontends for GUIIzation
10262
10263         * Makefile.am:
10264         * lyx_gui.C:
10265         * lyxfont.C:
10266         * lyxfunc.C: changes from above
10267
10268 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * LColor.C: remove spurious X include
10271
10272         * BufferView_pimpl.C:
10273         * Makefile.am:
10274         * font.h:
10275         * font.C:
10276         * text.C:
10277         * text2.C: move font metrics to frontends/
10278
10279 2002-05-24  Juergen Vigna  <jug@sad.it>
10280
10281         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10282         setting the undo_cursor.
10283
10284         * ParagraphParameters.h: include local includes first.
10285
10286 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * BufferView_pimpl.C:
10289         * BufferView_pimpl.h:
10290         * Makefile.am:
10291         * WorkArea.h:
10292         * WorkArea.C:
10293         * screen.C: move WorkArea into frontends/
10294
10295         * lyxscreen.h:
10296         * screen.C:
10297         * text.C:
10298         * BufferView.C:
10299         * BufferView2.C: move LyXScreen into frontends/
10300
10301         * lyxlookup.h:
10302         * lyxlookup.C:
10303         * lyx_gui.C: move lyxlookup into frontends/xforms/
10304
10305 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * BufferView2.C:
10308         * BufferView_pimpl.C:
10309         * FontLoader.C:
10310         * LyXView.h:
10311         * LyXView.C:
10312         * Makefile.am:
10313         * WorkArea.C:
10314         * XFormsView.h:
10315         * XFormsView.C:
10316         * buffer.C:
10317         * bufferlist.C:
10318         * bufferview_funcs.C:
10319         * converter.C:
10320         * importer.C:
10321         * lyx_cb.C:
10322         * lyx_gui.C:
10323         * lyx_main.C:
10324         * lyx_find.C:
10325         * lyxfunc.C:
10326         * lyxvc.C:
10327         * minibuffer.C:
10328         * text.C:
10329         * text2.C:
10330         * trans.C:
10331         * vc-backend.C: move LyX/XFormsView into frontends/
10332
10333 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * Makefile.am:
10336         * PainterBase.C:
10337         * PainterBase.h:
10338         * Painter.C:
10339         * Painter.h:
10340         * WorkArea.C:
10341         * WorkArea.h:
10342         * screen.C:
10343         * tabular.C:
10344         * text.C:
10345         * text2.C: move Painter to frontends/
10346
10347 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10348
10349         * buffer.C: comment out some some code that depend upon lyx_format
10350         < 220
10351
10352         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10353         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10354
10355         * buffer.h (NO_COMPABILITY): turn off compability
10356
10357         * ColorHandler.C: include scoped_array.hpp
10358
10359         * font.C: Use more specific smart_ptr header.
10360         * Painter.C: ditto
10361         * gettext.C: ditto
10362         * ShareContainer.h: ditto
10363         * lyx_main.h: ditto
10364         * kbmap.h: ditto
10365         * FontInfo.h: ditto
10366         * BufferView_pimpl.h: ditto
10367         * ColorHandler.h: ditto
10368
10369         * kbmap.C (defkey): change call to shared_ptr::reset
10370
10371 2002-05-21  Juergen Vigna  <jug@sad.it>
10372
10373         * buffer.C (insertErtContents): fix to insert ert asis if it is
10374         non empty. Skip it completely if it contains only whitespaces.
10375
10376 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * BufferView_pimpl.C:
10379         * BufferView2.C: clear selection on paste (bug 393)
10380
10381 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10382
10383         * DepTable.C: include ctime
10384
10385 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10386
10387         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10388
10389 2002-05-14  Juergen Vigna  <jug@sad.it>
10390
10391         * text.C (breakParagraph): fixed function to honor the keepempty
10392         layout in the right maner and also to permit the right breaking
10393         algorithm on empty or non empyt keepempty paragraphs.
10394
10395         * paragraph.C (breakParagraph): we have to check also if the par
10396         is really empty (!size()) for isempty otherwise we do the wrong
10397         paragraph break.
10398
10399 2002-05-10  Juergen Vigna  <jug@sad.it>
10400
10401         * buffer.[Ch] : The following are only changes to the ert
10402         compatibility read reading old LaTeX layout and font stuff and
10403         convert it to ERTInsets.
10404
10405         * buffer.h: added isErtInset().
10406
10407         * buffer.C (struct ErtComp): add a fromlayout bool to check
10408         if we're inside a LaTeX layout.
10409         (isErtInset): new helper function.
10410         (insertErtContents): look for other ert insets before this one
10411         and insert the contents there, so that we don't have subsequent
10412         ERT insets with nothing between them. This way we create only one
10413         inset with multiple paragraphs. Also check if we don't insert only
10414         spaces ' ' as they are ignored anyway afterwards in the .tex file
10415         so if we have only spaces we will ignore this latex part in the
10416         new file.
10417         (parseSingleLyXformat2Token \\layout): better compatibility when
10418         reading layout-latex stuff.
10419         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10420         language tag.
10421         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10422         stuff after reading the inset only get the information back from
10423         the stack.
10424
10425 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10426
10427         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10428
10429         * LaTeXFeatures.C (getBabelOptions): New method.
10430
10431 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10432
10433         * BufferView_pimpl.C (Dispatch): work around missing argument for
10434         'layout'
10435
10436 2002-05-08  Juergen Vigna  <jug@sad.it>
10437
10438         * text.C (leftMargin): handle paragraph leftindent.
10439
10440         * paragraph.C (writeFile): write the new \\leftindent tag.
10441         (validate): handle leftindent code.
10442         (TeXEnvironment): handle paragraphleftindent code again.
10443
10444         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10445
10446         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10447         for paragrap_extra indent code and new token \\leftindent.
10448         (latexParagraphs): handle the leftindent as environment.
10449
10450         * ParameterStruct.h: added leftindent support.
10451
10452         * ParagraphParameters.C (leftIndent): added support functions for
10453         the paragraph left indent.
10454
10455         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10456         more appropriate.
10457
10458 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10459
10460         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10461         inside insetERT.
10462
10463         * text.C (computeBidiTables): No bidi in insetERT.
10464
10465         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10466         in RTL documents.
10467
10468 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * version.C.in: pre 5
10471
10472 2002-05-02  José Matos  <jamatos@fep.up.pt>
10473         * buffer.C (makeDocBookFile): white space changes, add newline to
10474         command styles.
10475         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10476
10477         * tabular.C (docBook): fix typo.
10478
10479 2002-05-03  Juergen Vigna  <jug@sad.it>
10480
10481         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10482         change in LyXText as we can not be sure it was not freed.
10483         (drawOneRow): remove unused code.
10484
10485         * text.C (drawInset): redo the calculation of the need_break_row as
10486         it could have a row which was already freed.
10487         (draw): look at the return value of drawInset and return false if
10488         it also returned false.
10489         (paintRowText): look at the return value of draw and return false if
10490         it also returned false.
10491
10492         * lyxtext.h: added bool return type to drawInset() and draw() so that
10493         if we have a change in the row so that the rowbreak has to be redone
10494         we abort drawing as it will be called again.
10495
10496 2002-05-02  Juergen Vigna  <jug@sad.it>
10497
10498         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10499         a change in the maintext also if we're inside an inset.
10500         (Dispatch): set the cursor again after a break line and after the
10501         screen has been updated as it could be we're in a different row.
10502
10503         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10504         to set the cursor behind the pargraph with > size().
10505         (setCursor): check also for the same paragraph when checking where
10506         to put the cursor if we have a NFR inset.
10507
10508         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10509         parts of layout read further up as it still was in the wrong
10510         position.
10511
10512 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * screen.C (drawFromTo): change sine fullRebreak always return
10515         true.
10516
10517         * buffer.C (parseSingleLyXformat2Token): reindent some
10518
10519         * BufferView_pimpl.C (update): change since fullRebreak always
10520         return true.
10521         (Dispatch): git rid of the last hardcoded "Standard"s.
10522
10523 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10524
10525         * text2.[Ch] (fullRebreak): make it return void now that we always
10526         returned true.
10527
10528 2002-04-30  Juergen Vigna  <jug@sad.it>
10529
10530         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10531         ert compatibility check for "latex" layout.
10532
10533 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10534
10535         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10536         minipages: use col% instead of p%, and also use the current font.
10537         (makeLaTeXFile): Fix use babel condition.
10538         (parseSingleLyXformat2Token): Correct font when reading old floats.
10539
10540 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10541
10542         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10543         inserting list of floats.
10544
10545 2002-04-25  Herbert Voss  <voss@lyx.org>
10546
10547         * MenuBackend.C (expand): don't add the graphics extensions to the
10548         export menu
10549
10550 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10551
10552         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10553         non-existing layout, do not complain if it was the default layout
10554         of the original class (bug #342)
10555
10556 2002-04-24  Juergen Vigna  <jug@sad.it>
10557
10558         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10559         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10560
10561 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10562
10563         * buffer.C (getBibkeyList): If using \bibliography, return the
10564         option field with the reference itself. Enables us to provide natbib
10565         support when using \bibliography.
10566
10567 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10568
10569         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10570
10571         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10572         natbib is provided by the LaTeX class.
10573
10574 2002-04-23  Juergen Vigna  <jug@sad.it>
10575
10576         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10577         Wakeup functions.
10578
10579         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10580
10581 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10582
10583         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10584
10585         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10586         ensuremath around textordmasculine, textordfeminine and
10587         textdegree.
10588
10589 2002-04-19  Juergen Vigna  <jug@sad.it>
10590
10591         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10592         reinitializing the buffer otherwise row-dimensions may be wrong.
10593         (update): reset also the selection cursors if they do exits otherwise
10594         their x/y positions may be wrong.
10595
10596         * text2.C (cursorDown): don't enter the inset if we came from a row
10597         above and are one row over the inset.
10598
10599         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10600         really leaving an inset.
10601
10602 2002-04-18  Juergen Vigna  <jug@sad.it>
10603
10604         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10605         of the selected paragraph does not have the selected layout also if
10606         the last one had!
10607
10608         * text2.C (setLayout): fixed bug which did not change last selected
10609         paragraph.
10610
10611         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10612         changed the read and substituted \\end_float with \\end_inset!
10613
10614         * BufferView_pimpl.C (cursorPrevious):
10615         (cursorNext): fixed to make it work with rows heigher than the work
10616         area without moving the cursor only the draw of the row.
10617         (workAreaMotionNotify): fix jumping over high rows.
10618
10619 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10620
10621         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10622         Ressler.
10623
10624 2002-04-16  Juergen Vigna  <jug@sad.it>
10625
10626         * text2.C (setCursor): set also the irow().
10627         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10628         (cursorUp):
10629         (cursorDown): support for locking an inset if the x_fix value goes
10630         inside it. That way I can transverse insets too with cursor up/down.
10631
10632         * lyxrow.h: added irow helper function same as other (i) functions.
10633
10634         * BufferView_pimpl.C (cursorPrevious):
10635         (cursorNext): fixed for insets!
10636
10637 2002-04-15  Juergen Vigna  <jug@sad.it>
10638
10639         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10640         position otherwise it is wrong in some cases.
10641
10642         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10643         inside the inset before the call.
10644
10645 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10646
10647         * buffer.[Ch] (getBibkeyList): make it const.
10648
10649 2002-04-12  Juergen Vigna  <jug@sad.it>
10650
10651         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10652
10653         * text2.C (getCursorX): new helper function
10654         (setCursor): compute also ix_
10655         (setCursorFromCoordinates): set also ix.
10656
10657         * lyxcursor.h: added ix_ and helper functions.
10658
10659         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10660
10661         * buffer.C (insertStringAsLines): dont break paragraph if the this
10662         paragraph is inside an inset which does not permit it!
10663
10664         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10665         also with no chars on this paragraph.
10666         (paintRowText): only paint stuff if it's inside the workarea!
10667
10668         * paragraph.C (breakParagraph): honor keepempty flag and break the
10669         paragraph always below not above.
10670
10671         * BufferView2.C (unlockInset): update the paragraph layout on inset
10672         unlock as we changed paragraph in such a case.
10673
10674         * lyxfind.C (LyXFind): clear the former selection if not found!
10675
10676         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10677         again called in insertChar().
10678
10679         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10680         an inset which uses the whole row!
10681         (rightMargin): ditto.
10682         (insertChar): force a rebreak if we inserted an inset!
10683
10684 2002-03-28  Herbert Voss  <voss@lyx.org>
10685
10686         * lyxlength.[Ch]: add inBP() to get the right PS-point
10687         units (BigPoint). With inPixels we have rounding errors
10688
10689 2002-04-11  Juergen Vigna  <jug@sad.it>
10690
10691         * text2.C (setCursorFromCoordinates): set iy to the right value.
10692         (setCursor): add check if row->previous exists!
10693
10694         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10695         an old float_type as this was the case in the old code!
10696
10697         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10698
10699         * BufferView2.C (showLockedInsetCursor): use iy
10700         (fitLockedInsetCursor): ditto
10701
10702         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10703         locked insets as there we have the right value now.
10704
10705         * lyxcursor.C: added iy_ variable and iy functions to set to the
10706         baseline of cursor-y of the locked inset.
10707
10708         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10709         (setCursor): fixed for insets which need a full row.
10710
10711         * text.C (rowLastPrintable): don't ignore the last space when before
10712         an inset which needs a full row.
10713         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10714         as last character of a row when before a inset which needs a full row.
10715
10716 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * version.C.in: update date
10719
10720         * text2.C (fullRebreak): try to always return true and see what
10721         happens...
10722
10723 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10724
10725         * MenuBackend.C (expand): use Floating::listName
10726
10727         * FloatList.C (FloatList): add listName argument to the built-in
10728         floats
10729
10730         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10731         text associated with the float.
10732
10733 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10734
10735         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10736
10737 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10738
10739         * ShareContainer.h: add a couple of missing typenames.
10740
10741 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10742
10743         * lyxrc.C (getDescription): use _() correctly rather than N_().
10744
10745 2002-03-28  Herbert Voss  <voss@lyx.org>
10746
10747         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10748         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10749
10750 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10751
10752         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10753         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10754
10755 2002-03-29  Juergen Vigna  <jug@sad.it>
10756
10757         * lyxfunc.C (dispatch): add a missing fitCursor call.
10758
10759         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10760         it was scrolled by a cursor move, so return the bool status.
10761
10762         * BufferView.C (fitCursor): return the bool flag also to the outside
10763         world as this is needed.
10764
10765         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10766
10767         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10768         call the edit() as it is not needed (and wrong) IMO.
10769         (workAreaButtonPress): set the screen_first variable before evt.
10770         unlock the inset as this may change screen_first and then we have
10771         a wrong y position for the click!
10772
10773 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10774
10775         * MenuBackend.C (expand): another translation that I missed
10776
10777 2002-03-28  Juergen Vigna  <jug@sad.it>
10778
10779         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10780
10781         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10782
10783 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10784
10785         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10786
10787         * MenuBackend.C (expand): fix export/view/update when there is no
10788         document open.
10789
10790 2002-03-27  Herbert Voss  <voss@lyx.org>
10791
10792         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10793         and text%
10794
10795 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10796
10797         * bufferview_funcs.C (currentState): only show paragraph number
10798         for is DEVEL_VERSION is set.
10799
10800         * lyxfunc.C (dispatch): put warning in INFO channel
10801
10802         * MenuBackend.C (expand): translate the name of floats
10803
10804         * FloatList.C (FloatList): mark the float names for translation
10805
10806         * converter.C (convert): use LibScriptSearch
10807
10808 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10809
10810         * MenuBackend.C (defaults): fix default menu (we might as well get
10811         rid of it...)
10812
10813 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10814
10815         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10816         directory.
10817
10818 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10819
10820         * lyxvc.C: reorder includes.
10821
10822 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10825           properly
10826
10827 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10828
10829         * CutAndPaste.C: change layouts earlier on paste
10830           to avoid crashing when calling getFont()
10831
10832 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10833
10834         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10835         irritating #error.
10836
10837 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10838
10839         * WorkArea.C: remove 'Pending' debug message.
10840
10841         * most files: ws cleanup
10842
10843         * buffer.[Ch]: ws changes
10844
10845         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10846
10847 2002-03-21  Juergen Vigna  <jug@sad.it>
10848
10849         * tabular.C (SetMultiColumn): collapse also the contents of the
10850         cells and set the last border right. Added a Buffer const * param.
10851
10852 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10853
10854         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10855         linking or not.
10856
10857 2002-03-19  Juergen Vigna  <jug@sad.it>
10858
10859         * text2.C (clearSelection): reset also xsel_cache.
10860
10861         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10862         where it needs to be called (John tells us to do so too :)
10863         (selectionLost): reset sel_cache.
10864
10865         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10866
10867 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10868
10869         * text2.C (setCursorIntern): put debuging code in INSETS channel
10870
10871 2002-03-19  André Pönitz <poenitz@gmx.net>
10872
10873         * lyxfunc.C: tiny whitespace change
10874
10875 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10876
10877         * ToolbarDefaults.C (init):
10878         * LyXAction.C (init):
10879         * commandtags.h:
10880         * BufferView_pimpl.C (Dispatch):
10881         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10882
10883 2002-03-19  Allan Rae  <rae@lyx.org>
10884
10885         * exporter.C (Export): removeAutoInsets before doing anything else.
10886         While I've just introduced a dependency on BufferView this really is
10887         the best place to clean the buffer otherwise you need to cleanup in
10888         a dozen places before calling export or cleanup in a dozen functions
10889         that export calls.
10890
10891         * converter.C (runLaTeX):
10892         (scanLog): Better handling of removeAutoInsets and screen updates.
10893
10894         * lyxfunc.C (dispatch): small whitespace changes
10895
10896 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10897
10898         * WorkArea.C (C_WorkAreaEvent): return a value.
10899         (event_cb): return 1 if we handled the event, 0 otherwise.
10900
10901         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10902
10903 2002-03-18  Juergen Vigna  <jug@sad.it>
10904
10905         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10906         (GetAdditionalWidth): ditto.
10907         (RightLine): ditto.
10908         (LeftLine): ditto.
10909
10910         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10911         inset if we're there actually (probably not used right now but this
10912         is the direction to go for unifying code).
10913         (paste): disable code to clear the selection.
10914
10915         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10916         inside an InsetText and move the check further up as it is in the
10917         wrong place.
10918
10919         * text2.C (pasteSelection): set a selection over the pasted text.
10920
10921 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10922
10923         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10924         and libgraphics to build on Cygwin.
10925
10926 2002-03-15  Juergen Vigna  <jug@sad.it>
10927
10928         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10929         inserting an Inset into the paragraph. I know this is not the best
10930         fix but we already use current_view in CutAndPaste so we will remove
10931         all of it's using at the same time.
10932
10933         * buffer.C (sgmlError): deactivated function till it is rewritten in
10934         the right mode, now it can create problems.
10935
10936         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10937         before accessing it.
10938
10939 2002-03-14  Juergen Vigna  <jug@sad.it>
10940
10941         * undo_funcs.C (textHandleUndo): do the right thing when updating
10942         the inset after the undo/redo.
10943
10944         * text2.C (setCursor): just some testcode for #44 not ready yet.
10945
10946         * undo_funcs.C (textHandleUndo): set the next() and previous()
10947         pointers of the paragraph to 0 before deleting otherwise we have
10948         problems with the Paragraph::[destructor].
10949
10950         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10951         on a paragraph insertion.
10952
10953 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10954
10955         * buffer.C (asciiParagraph): use += operator for char append to
10956         string.
10957
10958         * paragraph.C (getFontSettings): compare >= not just >
10959         (highestFontInRange): ditto
10960         (setFont): ditto
10961
10962 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * paragraph.C: change several algorithm to be more appripriate for
10965         the problem domain. This is lookip in FontList and in the InsetList.
10966
10967 2002-03-13  André Pönitz <poenitz@gmx.net>
10968
10969         * commandtags.h:
10970         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10971
10972 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * commandtags.h:
10975         * LyXAction.C:
10976         * lyxfunc.C:
10977         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10978
10979 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * Painter.C (display): anon helper function, adjust code for this
10982         change.
10983         (pixmap): remove function.
10984
10985         * Painter.h: remove private display variable.
10986
10987         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10988
10989 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10990
10991         * WorkArea.[Ch]: remove figinset_canvas cruft.
10992
10993 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * lyxtextclass.C (operator): add one item cache optimization.
10996
10997         * bufferlist.h: doxy changes
10998
10999         * bufferlist.C: ws changes
11000
11001         * DepTable.[Ch] (ext_exist): place const in the right spot.
11002
11003         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11004         call resizeInsets.
11005         (workAreaExpose): call resizeInsets when the with BufferView changes.
11006         (Dispatch): adjust for protectedBlank removal
11007         (specialChar): call updateInset if the insert went ok.
11008
11009         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11010         specialChar instead.
11011
11012         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11013
11014         * BufferView.h: doxy change
11015
11016         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11017
11018         * lyxtextclass.C (operator[]): remove non-const version
11019         (defaultLayout): remove non-const version
11020
11021 2002-03-12  Juergen Vigna  <jug@sad.it>
11022
11023         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11024         did resize the LyXText too.
11025
11026         * buffer.C (readLyXformat2): set layout information on newly allocated
11027         paragraphs.
11028
11029         * tabular.C (OldFormatRead): set layout information on the paragraph.
11030
11031 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11032
11033         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11034
11035 2002-03-11  Juergen Vigna  <jug@sad.it>
11036
11037         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11038         plainly wrong.
11039         (resizeCurrentBuffer): force also the insets to resize themselfes.
11040         (moveCursorUpdate): fixed up for InsetText.
11041
11042 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11043
11044         * commandtags.h:
11045         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11046         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11047         value of Dialogs::tooltipsEnabled().
11048         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11049
11050 2002-03-08  Juergen Vigna  <jug@sad.it>
11051
11052         * BufferView_pimpl.C (updateInset): update inset inside inset also
11053         if it isn't inside theLockingInset().
11054
11055 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11056
11057         * buffer.C (asciiParagraph): redo some of the word and line length
11058         handling.
11059         (getLists): look for Caption instead of caption.
11060
11061 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11062
11063         * buffer.C (Buffer): initialize niceFile to true
11064         (makeLaTeXFile):
11065         (makeLinuxDocFile):
11066         (makeDocBookFile): make sure niceFile is true on exit
11067
11068 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11071
11072 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11073
11074         * LyXSendto.C: remove.
11075         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11076         * lyx_gui.C: remove now-redundant comment.
11077         * ColorHandler.h: remove forward declaration of class WorkArea.
11078         * lyxfunc.C: remove #include "WorkArea.h".
11079
11080 2002-03-07  Juergen Vigna  <jug@sad.it>
11081
11082         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11083         got moved away with the DEPM and also set the inset_owner always
11084         right which before could have been omitted.
11085
11086 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11087
11088         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11089         wanted layout is not found.
11090
11091 2002-03-07  Juergen Vigna  <jug@sad.it>
11092
11093         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11094
11095 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11096
11097         * paragraph.C (breakParagraph): use default layout not layout of
11098         prev paragraph.
11099         (Paragraph): clear ParagraphParameters.
11100
11101 2002-03-06  Juergen Vigna  <jug@sad.it>
11102
11103         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11104         otherwise it would not be a valid lenght. Fixed a special case in
11105         the minipage compatibility read where we end the document with a
11106         minipage.
11107
11108         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11109         was set as it could be 0 for InsetTexts first entry.
11110
11111 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11112
11113         * paragraph.C (writeFile): if layout is empty write out
11114         defaultLayoutName().
11115
11116         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11117         file without named layout we set layout to defaultLayoutName().
11118
11119 2002-03-06  Juergen Vigna  <jug@sad.it>
11120
11121         * CutAndPaste.C (copySelection): set layout for new paragraph.
11122
11123         * text.C (prepareToPrint): leave ERT inset left aligned
11124         (leftMargin): don't indent paragraphs inside ERT insets
11125
11126 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11127
11128         * paragraph.C (breakParagraph): dont call clear do the work manually
11129
11130         * paragraph.[Ch] (clear): remove function
11131
11132 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11133
11134         * paragraph.C (Paragraph): dont call clear, the work has already
11135         been done.
11136
11137         * lyxtextclass.C (operator): assert if n is empty
11138
11139         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11140         work manually instead.
11141
11142 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * BufferView_pimpl.C: protect selectionLost against text == 0
11145
11146 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * text.C (breakParagraph): fix a setting layout to '0' problem.
11149
11150 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11151
11152         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11153         final location of file, for the included files, and graphics.
11154
11155 2002-03-05  Juergen Vigna  <jug@sad.it>
11156
11157         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11158
11159 2002-03-04  Juergen Vigna  <jug@sad.it>
11160
11161         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11162
11163         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11164         last column of multicolumn cells.
11165         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11166
11167 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11168
11169         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11170         file if it doesn't go to a temporary file.
11171
11172         * buffer.C (sgmlOpenTag):
11173         (sgmlCloseTag):  remove extra newline insertion.
11174
11175 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11176
11177         * text.C (getRowNearY): comment out debug msg
11178
11179 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * text2.C: first -> first_y
11182
11183         * text.C (getRowNearY): add some attemts at a possible
11184         optimization, not working.
11185
11186         * tabular.[Ch]: add BufferParams to several function so that newly
11187         created paragraph can be initialized to he default layotu for the
11188         buffers textclass.
11189
11190         * tabular-old.C (ReadOld): add buf->params to call of Init
11191
11192         * screen.C: rename text->first to text->first_y
11193
11194         * paragraph.C (breakParagraph): always set layout in the broken
11195         paragraph
11196
11197         * lyxtextclass.C (Read): remove lowercase
11198         (hasLayout): ditto
11199         (operator): ditto
11200         (delete_layout): ditto
11201
11202         * lyxtext.h: rename first -> first_y
11203
11204         * lyxlayout.C (Read): remove lowercase
11205         (name): ditto
11206         (setName): ditto
11207         (obsoleted_by): ditto
11208
11209         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11210
11211         * buffer.C (insertErtContents): add params are to InsetERT
11212         (parseSingleLyXformat2Token): add code to check if a paragraphs
11213         layout really exist.
11214         (parseSingleLyXformat2Token): add params to several inset
11215         constructors
11216         (asciiParagraph): remove lowercase, do the layout comparisons with
11217         no_case
11218
11219         * BufferView_pimpl.C (cursorNext): first -> first_y
11220         (resizeCurrentBuffer): first -> first_y
11221         (updateScrollbar): first -> first_y
11222         (scrollCB): first -> first_y
11223         (workAreaMotionNotify): first -> first_y
11224         (workAreaButtonPress): first -> first_y
11225         (checkInsetHit): first -> first_y
11226         (cursorPrevious): first -> first_y
11227         (cursorNext): first -> first_y
11228         (Dispatch): add buffer_->params to severl inset contructors
11229
11230 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11231
11232         * lyxlayout.C (Read): remove some debug info that I forgot.
11233
11234         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11235         clean up the code slightly.
11236         (makeLinuxDocFile): ditto
11237         (makeDocBookFile): ditto
11238
11239         * text2.C: layout as string
11240
11241         * text.C: layout as string
11242
11243         * paragraph_pimpl.C: layout as string
11244
11245         * paragraph.[Ch]: layout as string
11246
11247         * lyxtextclasslist.[Ch]: layout as string
11248
11249         * lyxtextclass.[Ch]: layout as string
11250
11251         * lyxtext.h: layout as string
11252
11253         * lyxlayout.[Ch]: layout as string
11254
11255         * lyx_cb.C: layout as string
11256
11257         * bufferview_funcs.C: layout as string
11258
11259         * bufferparams.C: layout as string
11260
11261         * buffer.C: layout as string
11262
11263         * LyXView.[Ch]: layout as string
11264
11265         * LaTeXFeatures.[Ch]: layout as string
11266
11267         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11268
11269         * BufferView_pimpl.C: change current_layout to string, remove
11270         lyx::layout_type.
11271         (Dispatch):
11272         (smartQuote):
11273         (insertInset):
11274         (workAreaButtonRelease): layout as string
11275
11276         * BufferView2.C (unlockInset): adjust
11277
11278         * vspace.C (asLatexCommand): use an explict temp variable.
11279
11280 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * Makefile.am: use FRONTEND_*
11283
11284 2002-03-01  Juergen Vigna  <jug@sad.it>
11285
11286         * tabular.C (SetWidthOfMulticolCell): changed to something better
11287         I hope but still work in progress.
11288         (recalculateMulticolumnsOfColumn): renamed function from
11289         recalculateMulticolCells as it is more appropriate now.
11290         (SetWidthOfCell): calculate multicols better.
11291
11292 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11293
11294         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11295
11296         * lyxfunc.C (processKeySym): print sequence also if it is
11297         `deleted' (complete)
11298
11299         * kbsequence.C (print): print sequence even if it is deleted
11300         (complete would be a better word, actually).
11301
11302         * lyxfunc.C (dispatch): print complete options after a prefix key
11303
11304         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11305
11306 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11307
11308         * text2.C (setCharFont): eliminate setCharFont code duplication.
11309
11310 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11311
11312         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11313         LFUN_TABULAR_FEATURE (bug #177)
11314
11315 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11316
11317         * Makefile.am: remove figure.h
11318
11319 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * Bufferview_pimpl.C:
11322         * CutAndPasteC:
11323         * LaTeX.C:
11324         * LyXSendto.C:
11325         * buffer.C:
11326         * bufferlist.C:
11327         * converter.C:
11328         * language.C:
11329         * lyxfunc.C:
11330         * lyxvc.C:
11331         * paragraph.C:
11332         * text.C:
11333         * text2.C: remove #include "lyx_gui_misc.h".
11334
11335         * LaTeX.C: added #include <cstdio>
11336
11337 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11338
11339         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11340         that the paragraph following this one can have.
11341
11342         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11343
11344         * vspace.C (asLatexCommand): fix bogus gcc warning
11345
11346         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11347
11348 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11349
11350         * text2.C (setLayout): get rid of redundant code
11351
11352 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11353
11354         * text2.C (incDepth): make sure depth cannot be increased beyond
11355         reasonable values.
11356
11357 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11360         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11361
11362         * PainterBase.h (image):
11363         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11364         a LyXImage const *.
11365
11366 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * BufferView.C:
11369         * BufferView.h:
11370         * BufferView_pimpl.C:
11371         * BufferView_pimpl.h:
11372         * LaTeXFeatures.C:
11373         * LyXAction.C:
11374         * LyXView.C:
11375         * Makefile.am:
11376         * UpdateList.h:
11377         * UpdateList.C:
11378         * buffer.C:
11379         * figure.h:
11380         * figureForm.C:
11381         * figureForm.h:
11382         * figure_form.C:
11383         * figure_form.h:
11384         * lyx_cb.C:
11385         * lyx_gui.C:
11386         * lyx_gui_misc.C:
11387         * lyxfunc.C:
11388         * sp_base.h:
11389         * sp_ispell.h:
11390         * sp_pspell.h:
11391         * sp_spell.C: remove fig inset, and the crap house of
11392           cards that follows it
11393
11394 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * Makefile.am:
11397         * lyxserver.C:
11398         * os2_defines.h:
11399         * os2_errortable.h:
11400         * nt_defines.h: move .h into support/
11401
11402         * vms_defines.h: remove
11403
11404         * WorkArea.C: add space in debug output
11405
11406         * text2.C:
11407         * paragraph.C:
11408         * buffer.C: add WITH_WARNINGS
11409
11410         * vc-backend.h:
11411         * vc-backend.C:
11412         * bufferlist.C: s/retrive/retrieve/, add docs
11413
11414         * vspace.h:
11415         * vspace.C:
11416         * kbmap.h:
11417         * lyxlength.h:
11418         * lyxgluelength.h:
11419         * length_common.h:
11420         * chset.h:
11421         * chset.C: add docs
11422
11423         * lyxgui.C: add ID to X error handler
11424
11425         * lyxtestclass.c: fix typo
11426
11427 2002-02-26  Juergen Vigna  <jug@sad.it>
11428
11429         * tabular_funcs.C (write_attribute): changed so that some default
11430         attributes are not written at all.
11431         (getTokenValue): set default values before trying to read the
11432         value so we have the return value always set as default if we don't
11433         find the token we search for.
11434
11435         * tabular.C (Write): write bools as bools not as strings!
11436
11437 2002-02-22  Juergen Vigna  <jug@sad.it>
11438
11439         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11440         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11441
11442         * text.C (leftMargin): don't add an indent for paragraphs inside
11443         tabular cells (fix #208).
11444
11445 2002-02-21  José Matos  <jamatos@fep.up.pt>
11446
11447         * tabular.C (docBook): fixed support for long tables.
11448
11449 2002-02-20  Juergen Vigna  <jug@sad.it>
11450
11451         * text2.C (getFont): get the drawing font of the Inset if this
11452         paragraph is inside an inset (only important for InsetERT for now).
11453
11454         * buffer.C (insertErtContents): use new lanugage params in ERT
11455         constructor.
11456
11457         * CutAndPaste.C: commenting out seemingly uneeded code.
11458
11459 2002-02-19  Allan Rae  <rae@lyx.org>
11460
11461         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11462         Iterators might be simple to use but they also get invalidated.
11463         (removeAutoInsets): renamed saved cursor tracking variables and added
11464         some comments to clarify what everything does.
11465
11466 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11467
11468         * Chktex.C:
11469         * LaTeX.C:
11470         * LyXSendto.C:
11471         * converter.C:
11472         * lyx_cb.C:
11473         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11474         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11475
11476         * lyxfunc.C:
11477         * vc-backend.h: remove #include "support/syscall.h"
11478
11479         * LaTeX.C:
11480         * LyXSendto.C:
11481         * converter.C: rearrange #includes in Lars' approved fashion.
11482
11483         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11484         forward declare class Timeout in the header file.
11485
11486         * XFormsView.C: changes due to the above.
11487
11488         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11489         similar to LyXView.
11490
11491         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11492         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11493
11494 2002-02-18  José Matos  <jamatos@fep.up.pt>
11495
11496         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11497         insets contents.
11498
11499 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11500
11501         * a lot of small ws changes
11502         * add a lot of using std::XXX
11503         * use std construcs some places where approp.
11504         * use some exisint stuff from lyxfunctional where approp.
11505         * Make file changes to use partial linking (lets test this now...)
11506
11507 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11508
11509         * Chktex.C:
11510         * buffer.C:
11511         remove #include "support/syscontr.h" as it's redundant. Always has been.
11512
11513         * Chktex.C:
11514         * LaTeX.C:
11515         * LyXSendto.C:
11516         * converter.C:
11517         * lyx_cb.C:
11518         * vc-backend.C:
11519         change Systemcalls::System to Systemcalls::Wait and
11520         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11521         No change of functionality, just reflects the stripped down Systemcalls
11522         class.
11523
11524 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11525
11526         * debug.[Ch]: add a GRAPHICS type to the enum.
11527
11528 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11531
11532         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11533         there is an inset.
11534
11535 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11536
11537         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11538         match the changes below.
11539
11540         * text2.C (toggleInset): if there is not editable inset at cursor
11541         position, try to see if cursor is _inside_ a collapsable inset
11542         and close it.
11543
11544 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11545
11546         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11547         document menu has a nice checkbox
11548
11549 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * lyxlength.C (asLatexString): change PW to output as percent of
11552         \textwidth.
11553
11554         * lengthcommon.C: change '%' to 't%'
11555
11556         * lyxfunc.C (dispatch): a few comments from Martin
11557
11558 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * WorkArea.h:
11561         * WorkArea.C:
11562         * BufferView_pimpl.h:
11563         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11564           the X selection.
11565
11566 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * vspace.C (inPixels): fix compiler warning
11569
11570 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11571
11572         * lyxfunc.C (getStatus): fix status message for disabled commands.
11573
11574 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * BufferView_pimpl.C: fix crash on close buffer
11577         during selection (#227)
11578
11579 2002-01-27  Herbert Voss  <voss@lyx.org>
11580
11581         * buffer.C: link old Figure to new graphic inset
11582
11583 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11584
11585         * FontLoader.C (getFontinfo): Change the latex font names in order
11586         to match the names of type1inst.
11587
11588 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11591
11592         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11593         (extchanged): ditto
11594         (ext_exist): ditto
11595         (remove_files_with_extension): ditto
11596         (remove_file): ditto
11597         (write): ditto
11598
11599         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11600         document is smaller than the work area height. Do not initialize
11601         static variables to 0.
11602
11603 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11604
11605         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11606
11607         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11608         LFUN_LAYOUT_PARAGRAPHS.
11609
11610         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11611         tabular. It is possible to provide a possible cell, which will
11612         typically be the actcell from the corresponding insettabular
11613
11614         * lyxfunc.C (getStatus): small cleanup; disable
11615         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11616         true
11617
11618 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11619
11620         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11621
11622         * paragraph.C (startTeXParParams):
11623         (endTeXParParams): new methods. The LaTeX code to
11624         start/end paragraph formatting
11625         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11626         empty (fixes bug #200)
11627
11628         * vspace.C (inPixels): adapt to the change below
11629         (inPixels): [later] more cleanups (remove unused variables)
11630
11631         * lyxlength.C (inPixels): change to use a width and a height as
11632         parameter.
11633
11634 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11635
11636         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11637         Replaced with \paperwidth
11638
11639         * DepTable.C (insert): add std:: qualifier
11640
11641 2002-01-18  Allan Rae  <rae@lyx.org>
11642
11643         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11644         updated also?
11645
11646         * text.C (drawInset): Turned out I didn't know enough about how
11647         rebreaking worked.  This fixes most of the redraw problems.  I see
11648         an occasional cursor trail when a line is broken now and the cursor
11649         placement can seem out by a few pixels also after a rebreak.
11650
11651 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11652
11653         * buffer.C (parseSingleLyXformat2Token): update because minipage
11654         width is now a LyXLength
11655
11656         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11657
11658         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11659         math insets
11660
11661 2002-01-17  Juergen Vigna  <jug@sad.it>
11662
11663         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11664
11665         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11666         is set correctly and the inset is updated correctly.
11667
11668 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11669
11670         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11671         the beginning of the loop.
11672
11673 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * lyxrc.C: improve help for use_scalable_fonts
11676
11677 2002-01-17  Allan Rae  <rae@lyx.org>
11678
11679         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11680
11681 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11682
11683         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11684         make sure to set their inset_owner to the right value (bug #171)
11685
11686 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11687
11688         * DepTable.h
11689         * DepTable.C: Implement mtime checking to reduce time spent doing
11690         CRCs.
11691
11692 2002-01-16  Juergen Vigna  <jug@sad.it>
11693
11694         * tabular.C (GetAdditionalHeight): one of error fixed.
11695
11696         * lyxrc.C (output): small fix in writing use_pspell.
11697
11698 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11699
11700         * sp_base.h: #include LString.h
11701
11702 2002-01-16  Allan Rae  <rae@lyx.org>
11703
11704         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11705         Can someone check this please?
11706
11707         * text.C (drawInset): It was possible that p.row would be removed by
11708         breakAgainOneRow upsetting a few other settings.  There may be another
11709         small tweak possible by setting need_break_row = 0 when p.row has been
11710         removed but I don't know enough about the logic here.
11711
11712 2002-01-15  Allan Rae  <rae@lyx.org>
11713
11714         * text.C (insertChar): removed conditional truism.
11715
11716         * BufferView2.C (removeAutoInsets): More tweaks.
11717         cur_par_prev could be a stray pointer.  Check for trailing empty line
11718         in case last line was cur_par and only had an error inset on it.
11719
11720 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11721
11722         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11723         absolute
11724
11725         * vc-backend.C (most methods):
11726         * exporter.C (Export):
11727         * converter.C (convert):
11728         (runLaTeX):
11729         * LyXSendto.C (SendtoApplyCB):
11730         * lyxfunc.C (dispatch):
11731         (menuNew):
11732         (open):
11733         (doImport):
11734         * lyx_cb.C (AutoSave):
11735         (InsertAsciiFile):
11736         * BufferView_pimpl.C (MenuInsertLyXFile):
11737         * buffer.C (runChktex): use Buffer::filePath().
11738
11739         * buffer.h: rename filename to filename_; rename filepath to
11740         filepath_ and make it private
11741         (filePath): new method
11742
11743         * buffer.C (writeFile): use fileName()
11744         (getLatexName):
11745
11746         * lyx_main.C (init): fix starting  of LyX when the binary is a
11747         link from so,ewhere else.
11748
11749         * minibuffer.C: include <cctype> for isprint
11750
11751 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11752
11753         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11754         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11755         name clash with InsetCollapsable's width function.
11756
11757 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11758
11759         * lastfiles.C: include <iterator>
11760
11761 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11762
11763         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11764         std::count.
11765
11766         * buffer.C (makeLaTeXFile): ditto.
11767         Also make loop operation more transparent.
11768
11769 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11770
11771         * ToolbarDefaults.C: remove trailing comma closing namespace.
11772
11773         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11774
11775         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11776         as in WorkArea.
11777
11778         * trans.C (Load): comment out unused variable, allowed.
11779
11780 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11781
11782         * minibuffer.[Ch] (append_char): new method to recieve input from the
11783         drop-down completion browser. If a key was pressed, then recieve this
11784         char and append it to the existing string.
11785         (peek_event): modify the positioning data passed to the completion
11786         browser so that it can be placed above the minibuffer rather than below.
11787 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11788
11789         * LyXAction.C (init): alloe error-next for readonly documents.
11790
11791         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11792         count.
11793
11794 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * bufferlist.C (readFile): create the buffer _after_ checking that
11797         the file exists.
11798
11799         * lyxfunc.C (verboseDispatch): fix handling of arguments
11800
11801         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11802
11803         * lyxrc.C: use string::erase() instead of initializing to "".
11804
11805
11806 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * BufferView_pimpl.h:
11809         * BufferView_pimpl.C:
11810         * WorkArea.h:
11811         * WorkArea.C:
11812         * text2.C: tell X when we have made a selection for copying
11813
11814 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11815
11816         * BufferView_pimpl.C (MenuInsertLyXFile):
11817         * lyxfunc.C (menuNew):
11818         (open):
11819         (doImport): add shortcuts to directory buttons
11820
11821         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11822         open a float)
11823
11824         * lyxfunc.C (setStatusMessage):
11825         (getStatusMessage): new methods
11826         (getStatus):use setStatusMessage instead of setErrorMessage
11827         (dispatch): when function is disabled, set error message here
11828         [instead of in getStatus previously]
11829
11830         * BufferView_pimpl.C (workAreaButtonRelease): update
11831         toolbar/menubar here too.
11832
11833 2002-01-13  Allan Rae  <rae@lyx.org>
11834
11835         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11836         Now seems indestructible.  Remaining task is to audit all other
11837         code affected by deleteEmptyParagraphMechanism.  One small quirk
11838         left is that an empty document with an error in the preamble can
11839         be made to report an error but no error box appears.  I don't know
11840         where it goes.
11841         (removeAutoInsets): Improved comments.
11842
11843 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * Thesaurus.h:
11846         * Thesaurus.C: update for Aiksaurus 0.14
11847
11848 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11849
11850         * text2.C (firstParagraph): removed member function, all uses
11851         replaces with ownerParagraph
11852         (redoParagraphs): here
11853         (updateInset): here
11854         (toggleAppendix): here
11855         * BufferView2.C (insertErrors): here
11856         (setCursorFromRow): here
11857
11858 2002-01-13  Allan Rae  <rae@lyx.org>
11859
11860         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11861         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11862         There is still a way to segfault this although you may have to do this
11863         multiple times: Have an InsetERT with an unknown command in it.
11864         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11865         <down-arrow>, <Enter> again, View->DVI, BANG!
11866
11867         * text2.C (setCursor):
11868         (deleteEmptyParagraphMechanism):
11869         * lyxtext.h (setCursor):
11870         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11871         Making use of the return value may help fix other bugs.
11872
11873 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11874
11875         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11876
11877         * LyXView.C (updateMenubar): call MenuBar::update here
11878         (updateToolbar): but not here
11879         (showState): do not update toolbar/menubar
11880
11881         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11882         should need to care about that.
11883
11884         * lyxfunc.C (verboseDispatch): simplify a bit
11885         (getStatus): have a version which takes a pseudoaction, and
11886         another which requires a (kb_action,string).
11887
11888         * LyXAction.C (retrieveActionArg): make it work also when action
11889         is not a pseudo-action.
11890         (getActionName): simplify a bit
11891         (helpText):
11892
11893 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11894
11895         * lyxfunc.C (verboseDispatch): new families of methods with
11896         several ways to specify a command and a bool to indicate whether
11897         the command name and shortcut should be displayed in minibuffer
11898         (eventually, we could extend that to a finer bitmask like
11899         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11900         (dispatch): the pristine dispatch command which just, well,
11901         dispatchs! Note it still sets its result to minibuffer; I'm not
11902         sure we want that.
11903
11904         * lyxfunc.h: remove setHintMessage
11905
11906         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11907
11908 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11909
11910         * BufferView_pimpl.C (specialChar): delete new inset if we have
11911         not been able to insert it.
11912
11913         * kbmap.C: revert to using int instead of kb_action, since all we
11914         are dealing with is pseudo-actions.
11915
11916         * LyXAction.C (searchActionArg): change to return int instead of
11917         kb_action, since the result is a pseudoaction.
11918
11919 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11920
11921         * buffer.C (insertErtContents): Fix (partially) the font bug.
11922
11923 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11924
11925         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11926         as the other one is broken on my machine!
11927
11928 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11929
11930         * commandtags.h:
11931         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11932
11933 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11934
11935         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11936         reflect their actual use. Provide compatibility code for older lyxrc
11937         files.
11938
11939         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11940         FL_NORMAL_STYLE.
11941         change names of popup font variables in line with the changes to lyxrc.C
11942
11943 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11944
11945         * buffer.C (asciiParagraph): avoid outputing a word twice after
11946         an inset.
11947
11948         * lyxrc.C (getDescription): document that document_path and
11949         template_path can be empty.
11950
11951 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11952
11953         * LaTeXFeatures.C (getMacros):
11954         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11955
11956         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11957
11958         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11959         getPackages.
11960         (getPackages): rename feature "floats" to "float". Use an array to
11961         iterate over 'simple' features (i.e. just a \usepackage). Add
11962         handling of "amsmath" (renamed from "amsstyle").
11963
11964 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11965
11966         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11967         features list.
11968
11969 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11972         FuncStaus::FuncStatus & FuncStaus::some_method().
11973
11974 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11975
11976         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11977         of the func_satus stuff. Edited and massaged in various ways by
11978         JMarc.
11979
11980         * lyxfunc.C (getStatus): use FuncStatus
11981
11982 2002-01-08  Juergen Vigna  <jug@sad.it>
11983
11984         * text.C (nextBreakPoint): use function Inset::isChar().
11985
11986         * paragraph.C (TeXOnePar): use function
11987         Inset::forceDefaultParagraphs.
11988
11989         * buffer.C (latexParagraphs): use function
11990         Inset::forceDefaultParagraphs.
11991
11992 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11993
11994         * lyx_gui.C (init): set the style of the menu popups to
11995         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11996
11997 2002-01-07  Juergen Vigna  <jug@sad.it>
11998
11999         * text.C (setHeightOfRow): small fix
12000         (prepareToPrint): don't look at alignment if we don't have the place
12001         for doing it.
12002
12003 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12004
12005         * box.C: New file. Move the Box methods and functions out of box.h,
12006         following Lars' suggestion.
12007
12008 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12009
12010         * box.h: #include "support/LOstream.h", needed for inlined function.
12011
12012         * lyxtextclass.C:
12013         * lyxtextclasslist.C: added some using std declarations.
12014
12015 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * box.h: make signed dimensions to allow insets wider than
12018           the screen (bug #162)
12019
12020         * BufferView_pimpl.C: add some insetHit debug
12021
12022 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * vc-backend.C: add FIXME
12025
12026 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * lyxfunc.C (getStatus): enable code for showing math font status
12029         in toolbar/menu.
12030
12031 2002-01-07  Juergen Vigna  <jug@sad.it>
12032
12033         * text.C (nextBreakPoint): removed debug output not needed anymore.
12034
12035 2002-01-06  Juergen Vigna  <jug@sad.it>
12036
12037         * text.C (nextBreakPoint): fixed up this function we had this bug
12038         since ever but now hopefully we break row better.
12039         (insertChar): we have to check if an inset is the next char as it
12040         could now happen that a large inset is causing a break.
12041
12042 2002-01-05  Juergen Vigna  <jug@sad.it>
12043
12044         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12045         if it doesn't like to be drawed.
12046
12047 2002-01-04  Juergen Vigna  <jug@sad.it>
12048
12049         * BufferView2.C (lockInset): forgot to set a cursor.
12050
12051         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12052
12053 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12054
12055         * FormMathsPanel.C:
12056         * FormMathsPanel.h
12057         * MathsSymbols.C:
12058         * form_maths_panel.C:
12059         * form_maths_panel.h:
12060         * form_maths_panel.fd: implemented sub- and super- buttons in math
12061         panel.
12062
12063         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12064         (or ^ space) to be used as in TeX (req'd by André).
12065
12066         * lyxfunc.C: Allow ^ and _ again to be used both as
12067         super/subscript (mathed) and as themselves (in text).
12068
12069 2002-01-03  Allan Rae  <rae@lyx.org>
12070
12071         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12072         "LyX" or the filename of the current buffer if it has one.  This is a
12073         modified form of John Levon's patch.
12074
12075         * XFormsView.C (setWindowTitle): also set icon title.
12076
12077         * LyXView.h (setWindowTitle): signature changed.
12078         * XFormsView.h (setWindowTitle): ditto.
12079
12080 2002-01-02  Juergen Vigna  <jug@sad.it>
12081
12082         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12083
12084 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12085
12086         * screen.C (topCursorVisible): introduce a temp var for
12087         text->cursor.row(), handle the case where this row is null. (kindo
12088         hachish)
12089
12090         * text2.C (setCursor): add a couple of asserts.
12091
12092         * paragraph.h (inset_iterator): add -> operator
12093
12094         * paragraph.[Ch] (autoDeleteInsets): remove member function
12095
12096         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12097         cursor pos correctly and handle inset deletion by itself.
12098         (insertErrors): move iterator declaration out of for expression
12099
12100         * lyxtextclass.C: add <algorithm>
12101
12102         * Makefile.am: added the new files to sources, removed layout.C
12103
12104         * layout.C: removed file
12105
12106         * layout.h: remove LYX_DUMMY_LAYOUT
12107
12108         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12109         layout.
12110
12111         * lyxlayout.[Ch]:
12112         * lyxtextclass.[Ch]:
12113         * lyxtextclasslist.[Ch]: new files
12114
12115         * include order changes to a lot of files, also changes because of
12116         the six new files.
12117
12118 2001-12-27  Juergen Vigna  <jug@sad.it>
12119
12120         * buffer.C (asciiParagraph): more fixes.
12121
12122         * tabular.C (ascii): make ascii export support export of only the
12123         data separated by a column-delimiter.
12124         (ascii): better support for ascii export.
12125
12126         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12127
12128 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12129
12130         * tabular_funcs.C: use a "using std::getline" instead of the
12131         previous fix from Angus (necessary for cxx + lyxstring)
12132
12133 2001-12-24  Juergen Vigna  <jug@sad.it>
12134
12135         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12136
12137         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12138         problems. First check a minipage also if we have some ert-contents
12139         (not only on par->size(), second set the right depth of the paragraph
12140         on the relink to the root-paragraph-list!
12141
12142         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12143         which then did not anymore update the main paragraphs on undo/redo!
12144
12145 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12146
12147         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12148         code. Support all font-changing funcs (even those which are not in
12149         menu currently). Support for reporting font settings in
12150         mathed (disabled until Andre provides a function on mathed's side).
12151
12152         * func_status.h (toggle): small helper function to set toggle
12153         state on a flag.
12154
12155 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12156
12157         * tabular_funcs.C: getline -> std::getline
12158
12159 2001-12-21  Juergen Vigna  <jug@sad.it>
12160
12161         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12162         accessed and could be 0 (I couldn't generate this but it seems
12163         Michael could!).
12164
12165 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12168         * tabular_funcs.h: here and include iosfwd
12169
12170 2001-12-20  Juergen Vigna  <jug@sad.it>
12171
12172         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12173         inside inset but undo_par was.
12174
12175 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12176
12177         * Thesaurus.C: always include <config.h> in sources.
12178
12179         * Painter.h:
12180         * lyxlookup.h:
12181         * box.h: do not include <config.h> in header files
12182
12183         * text.C (paintLastRow): remove unused variable
12184
12185         * text.C (transformChar):
12186         (insertChar):
12187         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12188
12189         * Painter.C (text):
12190         * font.C (width): rewrite to use uppercase() instead of
12191         islower/toupper.
12192
12193         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12194
12195 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12196
12197         * lyxfind.C: clean up of find failure position change
12198
12199 2001-12-20  Juergen Vigna  <jug@sad.it>
12200
12201         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12202
12203         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12204         (TeXRow): added to LaTeX a single tabular row.
12205         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12206         (Latex): simplified and finally good LT-h/f support.
12207         (various_functions): just small adaptions for LT-h/f support.
12208
12209         * tabular_funcs.[hC]: added and moved here all not classfunctions
12210         of LyXTabular.
12211
12212 2001-12-19  Juergen Vigna  <jug@sad.it>
12213
12214         * tabular.[Ch]: better support for longtabular options (not finished
12215         yet!)
12216
12217 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12218
12219         * text.C (paintLastRow): use the label font instead of the font of
12220         the last character to compute the size of *_BOX. This makes more
12221         sense and avoids a crash with empty paragraphs.
12222         Use Painter::rectangle to draw EMPTY_BOX.
12223
12224 2001-12-19  Juergen Vigna  <jug@sad.it>
12225
12226         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12227         the paragraphs if the replaced paragraph is not the first one!
12228         Tried to delete not used paragraphs but does not work yet so for
12229         now it's inside #ifdef's and by default off!
12230
12231 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12232
12233         * MenuBackend.C: include "lyx_main.h" instead of declaring
12234         lastfiles (actually was declared as LastFiles* instead of a
12235         scoped_ptr).
12236
12237 2001-12-17  Juergen Vigna  <jug@sad.it>
12238
12239         * tabular.C (AppendColumn): applied John's fix
12240
12241 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * BufferView.h:
12244         * BufferView.C:
12245         * BufferView_pimpl.h:
12246         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12247
12248         * Makefile.am:
12249         * box.h: new start of class for above
12250
12251         * lyxfunc.C: ignore space-only minibuffer dispatches.
12252           Show the command name when it doesn't exist
12253
12254         * minibuffer.C: don't add empty lines to the history
12255
12256         * minibuffer.C: add a space on dropdown completion
12257
12258 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12259
12260         * text.C: fix line above/below drawing in insets
12261
12262 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12263
12264         * lyxlength.C (LyXLength): Initialize private variables.
12265
12266 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12267
12268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12269         when inserting error insets.
12270
12271 2001-12-13  Juergen Vigna  <jug@sad.it>
12272
12273         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12274         actually sometimes the before-paragraph.
12275         (setUndo): don't clear the redostack if we're not actually undoing!
12276
12277 2001-12-06  Juergen Vigna  <jug@sad.it>
12278
12279         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12280         and fixed redoing of main paragraph, so we can use it now ;)
12281
12282         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12283
12284 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12285
12286         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12287         Juergen's request
12288
12289 2001-12-13  André Pönitz <poenitz@gmx.net>
12290
12291         * undostack.[Ch]:
12292         * undo_func.C: minor cleanup
12293
12294 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12295
12296         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12297         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12298         font in urw-fonts package which is marked as -urw-fontspecific and
12299         does not work (incidentally, changing the encoding in the
12300         fonts.dir of this package to -adobe-fontspecific fixes the
12301         problem).
12302
12303         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12304         is a crash when undoing first paragraph (Juergen, please take a
12305         look). THis does not mean the undo fix is wrong, just that it
12306         uncovers problems.
12307
12308         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12309         the (Paragraph*) version when needed instead of duplicating the
12310         code.
12311
12312         * text.C (workWidth): use Inset::parOwner to find out where the
12313         inset has been inserted. This is a huge performance gain for large
12314         documents with lots of insets. If Inset::parOwner is not set, fall
12315         back on the brute force method
12316
12317         * paragraph_pimpl.C (insertInset):
12318         * paragraph.C (Paragraph):
12319         (cutIntoMinibuffer): set parOwner of insets when
12320         inserting/removing them
12321
12322         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12323
12324 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12325
12326         * commandtags.h:
12327         * LyXAction.C:
12328         * lyx_main.C:
12329         * lyxfunc.C:
12330         * mathed/formulabase.C:
12331         * mathed/math_cursor.[Ch]:
12332         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12333
12334
12335 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * lyxlength.[Ch] (operator!=): new function
12338
12339 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12340
12341         * text.C (workWidth): use Inset::parOwner to find out where the
12342         inset has been inserted. This is a huge performance gain for large
12343         documents with lots of insets. If Inset::parOwner is not set, fall
12344         back on the brute force method
12345
12346         * paragraph_pimpl.C (insertInset):
12347         * paragraph.C (Paragraph):
12348         (cutIntoMinibuffer): set parOwner of insets when
12349         inserting/removing them
12350
12351         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12352
12353 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12354
12355         * tabular-old.C (getTokenValue):
12356         * tabular.C (getTokenValue):
12357         (write_attribute): new versions for LyXLength
12358         (everywhere): adjust the use of widths
12359
12360         * tabular.h: change the type of widths from string to LyXLength
12361
12362 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12363
12364         * paragraph.C: fixed missing line number count when exporting
12365         Environments to LaTeX file
12366
12367         * buffer.C: added informational message for checking line numbers.
12368
12369 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12370
12371         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12372         paragraph, do the 'double space' part, but not the 'empty
12373         paragraph' one.
12374
12375         * text.C (workWidth): small optimization
12376         (getLengthMarkerHeight): use minimal size for negative lengths.
12377
12378 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12379
12380         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12381
12382         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12383
12384 2001-12-11  André Pönitz <poenitz@gmx.net>
12385
12386         * FontLoader.C:
12387         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12388
12389 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * text2.C: keep selection on a setFont()
12392
12393 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * lyx_cb.C: another bv->text misuse, from insert label
12396
12397 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * kbsequence.h:
12400         * kbsequence.C: re-instate nmodifier mask
12401
12402 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12403
12404         * lyx_main.h: make lyxGUI private.
12405
12406 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * lyxfind.C: place the cursor correctly on failed search
12409
12410 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12411
12412         * text.C (getLengthMarkerHeight): for small heights, the arrows
12413         are not always on top/bottom of the text
12414         (drawLengthMarker): smaller arrows; take the left margin in
12415         account; draw also vfills.
12416         (paintFirstRow):
12417         (paintLastRow): remove special code for vfill and standard spaces,
12418         since everything is handled in drawLengthMarker now.
12419
12420 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * buffer.C (insertErtContents): try to handle font and language
12423         interaction a bit better.g
12424
12425         * ColorHandler.C (updateColor): change the hash to cover the whole
12426         LColor enum, ws cleanup
12427         (getGCLinepars): ditto
12428         (getGCLinepars): only lookup in the linecache once.
12429
12430 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12431
12432         * iterators.C (operator++): Make the iterator more robust
12433
12434         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12435         (John's patch)
12436         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12437
12438 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12439
12440         * lyxtext.h:
12441         * text.C: better added space drawing
12442
12443 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * LyXView.C:
12446         * BufferView2.C: fix layout combo update on inset unlock
12447
12448 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * Makefile.am: don't compile unused files
12451
12452 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * lyxfunc.C:
12455         * commandtags.h:
12456         * LyXAction.C: remove old LFUN_LAYOUTNO
12457
12458 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * paragraph_pimpl.h:
12461         * paragraph_pimpl.C: isTextAt() doesn't need font param
12462
12463 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * lyxlex.h:
12466         * lyxlex.C: little cleanup
12467
12468 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * BufferView_pimpl.C: fix insertAscii for insets
12471
12472 2001-12-05  Juergen Vigna  <jug@sad.it>
12473
12474         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12475         set the right font on the "multi" paragraph paste!
12476
12477 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12478
12479         * trans_decl.h:
12480         * trans_mgr.[Ch]:
12481         * trans.[Ch]:
12482         * lyxgluelength.C:
12483         * lyxlength.C: remove out-commented code.
12484
12485         * BufferView_pimpl:
12486         * CutAndPaste.C:
12487         * DepTable.C:
12488         * buffer.C:
12489         * chset.C:
12490         * lastfiles.C:
12491         * lyxlex.C:
12492         * lyxlex_pimpl.C:
12493         * lyxserver.C:
12494         * screen.C:
12495         * tabular-old.C:
12496         * tabular.C:
12497         * text.C:
12498         * trans_mgr.C:
12499         * vc-backend.C: change "while(" to "while ("
12500
12501         * lyxlength.[Ch]: add zero function to check if length is zero or
12502         not
12503         * lyxgluelength.C: use it
12504
12505 2001-12-05  Allan Rae  <rae@lyx.org>
12506
12507         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12508         Works for 2.95.3, from what I understand of Garst's reports this should
12509         work for other g++ versions.  We're screwed if the abs(int) definition
12510         changed between bugfix releases of gcc.
12511
12512 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * text.C: fix chapter label offset !
12515
12516 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * lyxtext.h:
12519         * text.C: fix hfill at end of line, clean up
12520
12521 2001-12-04  Juergen Vigna  <jug@sad.it>
12522
12523         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12524         that we force an update of the inset and it's owners if neccessary.
12525
12526 2001-12-03  Juergen Vigna  <jug@sad.it>
12527
12528         * text.C (rowLast): simplified code
12529
12530 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12531
12532         * lyxfunc.C: fix show options on timeout
12533
12534 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12535
12536         * screen.C (topCursorVisible): scroll half a page when the cursor
12537         reached top of bottom of screen
12538
12539 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12540
12541         * minibuffer.C: deactivate on loss of focus
12542
12543 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12544
12545         * vspace.[Ch] (operator!=): add operator.
12546
12547 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * BufferView_pimpl.C: refuse to open an inset when
12550         there's a selection.
12551
12552 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12553
12554         * BufferView_pimpl.C: allow to click on RHS of full row insets
12555
12556 2001-11-30  Juergen Vigna  <jug@sad.it>
12557
12558         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12559         insets for undo reasons.
12560
12561 2001-11-28  André Pönitz <poenitz@gmx.net>
12562
12563         * vspace.[Ch]: cosmetical changes
12564
12565 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * LyXAction.h:
12568         * LyXAction.C:
12569         * lyxfunc.h:
12570         * lyxfunc.C:
12571         * kbmap.h:
12572         * kbmap.C:
12573         * lyxrc.C:
12574         * kbsequence.h:
12575         * kbsequence.C: part re-write of old kb code
12576
12577         * Painter.C:
12578         * WorkArea.C: remove Lgb_bug_find_hack
12579
12580 2001-11-30  José Matos <jamatos@fep.up.pt>
12581
12582         * buffer.C (makeDocBookFile): add a comment to point a hack.
12583         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12584         Fixed a double write of labels.
12585
12586 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12587
12588         * LaTeX.C:
12589         * LaTeX.h Fixed bug in LaTeX class where it would not
12590         re-run latex if no depfiles were changed, but the .dvi was removed.
12591
12592 2001-11-28  André Pönitz <poenitz@gmx.net>
12593
12594         * all the files from the change on 2001/11/26:
12595         use lyx::layout_type instead of LyXTextClass::size_type
12596         use lyx::textclass_type instead of LyXTextClassList::size_type
12597
12598 2001-11-29  Juergen Vigna  <jug@sad.it>
12599
12600         * text.C: added support for paragraph::isFreeSpacing()
12601
12602         * buffer.C: same as above
12603
12604         * paragraph.h: inserted isFreeSpacing() function to enable
12605         FreeSpacing inside InsetERT.
12606
12607         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12608         of the paragraph's in the cut/copy buffer to 0!
12609
12610         * text2.C (removeRow): remove the assert as it can!
12611
12612         * lyxtext.h: added helper function firstRow returning firstrow and
12613         made firstrow private again.
12614
12615         * BufferView2.C (lockInset): don't relock if we're already locked!
12616
12617         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12618         the only paragraph.
12619         (removeRow): added Assert::(firstrow)
12620
12621         * debug.C: forgot to add INSETTEXT here.
12622
12623 2001-11-28  Juergen Vigna  <jug@sad.it>
12624
12625         * sp_spell.C (initialize): changed error text to more general
12626         spellchecker command use (not only ispell!)
12627
12628         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12629
12630         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12631
12632 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * vspace.C: initialise lyxgluelength on failure
12635
12636 2001-11-28  Allan Rae  <rae@lyx.org>
12637
12638         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12639         declaration & definition that looks like a function declaration.
12640
12641 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12642
12643         * BufferView2.C (copy):
12644         (copyEnvironment): do not clear the selection when doing a copy.
12645
12646         * text.C (paintFirstRow): compilation fix
12647
12648 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12649
12650         * tabular.C (Latex): correct line count when writing latex.
12651
12652 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * paragraph_pimpl.h:
12655         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12656           bug a bit
12657
12658 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * text.C:
12661         * LColor.h:
12662         * LColor.C: change vfillline->added_space
12663
12664         * text.C: add markers and text for added space
12665
12666         * vspace.C: fix comment
12667
12668 2001-11-28  André Pönitz <poenitz@gmx.net>
12669
12670         * paragraph.C: whitespace changes
12671         * all the other files from the change on 2001/11/26:
12672         change *::pos_type into lyx::pos_type
12673
12674 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12675
12676         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12677         language of the document when inserting error insets.
12678
12679 2001-11-26  André Pönitz <poenitz@gmx.net>
12680
12681         * BufferView_pimpl.[Ch]:
12682         *       CutAndPaste.C:
12683         * buffer.[Ch]:
12684         * lyxcursor.[Ch]:
12685         * lyxfind.C:
12686         * lyxfunc.C:
12687         * lyxrow.[Ch]:
12688         * paragraph.[Ch]:
12689         * paragraph_pimpl.[Ch]:
12690         * sp_spell.C:
12691         * text.C:
12692         * text2.C: reduce header dependencies, introduce type for positions
12693
12694 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12695
12696         * <various>: change to use Alert.h
12697
12698 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12699
12700         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12701         when encountering an unknown token.
12702         (readLyXformat2): Show an error message if there were unknown tokens.
12703
12704 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12705
12706         * BufferView2.C:
12707         * BufferView_pimpl.C:
12708         * buffer.C:
12709         * paragraph.h:
12710         * text.C:
12711         * text2.C: use par->isInset()
12712
12713 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * paragraph_pimpl.h:
12716         * paragraph_pimpl.C: cleanup
12717
12718 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12719
12720         * text2.C (removeRow):
12721         * text.C (setHeightOfRow): remove useless (and costly) call to
12722         getRow.
12723
12724 2001-11-20  Allan Rae  <rae@lyx.org>
12725
12726         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12727         Now need Inset*::checkInsertChar() to return true for appropriate
12728         cases so that the characters in the minibuffer will actually be
12729         inserted.
12730
12731 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * text.C: change the order of the includes.
12734         (workWidth): initialize it at once.
12735         (workWidth): make maxw unsigned
12736         (setHeightOfRow): remove unused variable (inset)
12737         (selectSelectedWord): remove unused variable (inset)
12738         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12739
12740 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12743         server is not running.
12744         (openConnection):
12745         (closeConnection): add debug info when server is disabled.
12746
12747         * ColorHandler.C (getGCForeground): send debug message to GUI
12748         channel.
12749
12750         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12751
12752         * kbmap.C (bind): modify because return conventions of
12753         kb_sequence::parse have changed.
12754
12755         * kbsequence.C (parse): only ignore spaces and not any stupid
12756         control character. This avoids tests like s[i] <= ' ', which are
12757         guaranteed to fail with 8bit characters and signed chars.
12758         Change return code to string::npos when there have been no error
12759         (0 was a bad idea when error is at first character)
12760
12761 2001-11-14  José Matos  <jamatos@fep.up.pt>
12762
12763         * buffer.h:
12764         * buffer.C (simpleDocBookOnePar): removed unused argument.
12765
12766 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12769         insets which are part of a word. Paragraph::isLetter takes care of
12770         that now. Use Paragraph::isInset to identify insets.
12771         (selectSelectedWord): do not test for hyphenation break.
12772
12773         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12774         that protected spaces are considered as spaces.
12775
12776         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12777         Inset::isLetter.
12778
12779 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * lyxserver.h:
12782         * lyxserver.C: fix it. and small cleanup.
12783
12784 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * BufferView_pimpl.C: use inline helpers
12787
12788         * LaTeXFeatures.h:
12789         * LaTeXFeatures.C: fix typos
12790
12791         * Spacing.h:
12792         * Spacing.C: move spacing_string into class
12793
12794         * ToolbarDefaults.C: move stuff into namespace anon
12795
12796         * layout.h: update enum
12797
12798         * lyxfunc.C: use better debug
12799
12800         * minibuffer.h: fix typo
12801
12802         * debug.h:
12803         * debug.C:
12804         * WorkArea.C: add and use Debug::WORKAREA
12805
12806         * lyxtext.h:
12807         * text.C:
12808         * text2.C: code re-organisation, inline helpers
12809
12810 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12811
12812         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12813         std::vector.empty().
12814
12815 2001-11-09  Allan Rae  <rae@lyx.org>
12816
12817         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12818         '\n's after tables.  Tabular and ERT inset work now makes this no
12819         longer necessary.
12820
12821 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * minibuffer.h:
12824         * minibuffer.C: fix crash, improve drop-down completion
12825
12826 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * lyxserver.h:
12829         * lyxserver.C: invalidate fd's when doing endPipe()
12830
12831 2001-11-08  José Matos  <jamatos@fep.up.pt>
12832
12833         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12834         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12835
12836         * paragraph.h:
12837         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12838
12839 2001-11-07  José Matos  <jamatos@fep.up.pt>
12840
12841         * buffer.h:
12842         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12843         const qualifier.
12844
12845         * buffer.C (sgmlOpenTag):
12846         * buffer.C (sgmlCloseTag): removed debug info.
12847
12848         * buffer.h (sgmlOpenTag):
12849         * buffer.h (sgmlCloseTag): made public.
12850
12851 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12852
12853         * buffer.C (saveParamsAsDefaults):
12854         * lyx_cb.C (MenuLayoutSave): remove
12855
12856         * LyXAction.C (init):
12857         * commandtags.h:
12858         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12859
12860 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12861
12862         * buffer.C (setPaperStuff): removed from here...
12863
12864         * bufferparams.C (setPaperStuff): ... and moved there.
12865
12866 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12867
12868         * minibuffer.h:
12869         * minibuffer.C:
12870         * XFormsView.C: add support for drop-down completion
12871
12872 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12873
12874         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12875         commands.
12876
12877 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12878
12879         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12880         disabled.
12881
12882 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * lyx_main.C: change ref to known bugs
12885
12886 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12887
12888         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12889         to work around older babel problems.
12890
12891 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12892
12893         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12894
12895 2001-10-24  Juergen Vigna  <jug@sad.it>
12896
12897         * tabular-old.C (ReadOld): below variable changes reflected.
12898
12899         * tabular.[Ch]: added ltType struct for longtable header/footer
12900         defines and changed all instances where they are used. Added
12901         future support for double top/bottom rows.
12902
12903 2001-10-24  José Matos  <jamatos@fep.up.pt>
12904
12905         * buffer.h (docbookHandleCaption):
12906         * buffer.C (docbookHandleCaption): removed unused function.
12907         (makeDocBookFile): moved docbook supported version to v4.1.
12908
12909 2001-10-24  José Matos  <jamatos@fep.up.pt>
12910
12911         * tabular.h:
12912         * tabular.C (docbookRow): new function to export docbook code of a row.
12913         (DocBook): now honors the longtable flags.
12914
12915 2001-10-23  José Matos  <jamatos@fep.up.pt>
12916
12917         * LaTeXFeatures.h:
12918         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12919         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12920
12921         * buffer.C (makeLinuxDocFile):
12922         (makeDocBookFile): reworked the preamble, more clean, and with
12923         support for lyx defined entities. Changed the document declaration
12924         to be more XML friendly.
12925
12926         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12927         if we need to output XML that should be done with a filter.
12928
12929 2001-10-22  Juergen Vigna  <jug@sad.it>
12930
12931         * sp_pspell.h (class PSpell): add alive function needed in the
12932         controller to see if the spellchecker could be started.
12933
12934 2001-10-22  Juergen Vigna  <jug@sad.it>
12935
12936         * buffer.C (insertStringAsLines): modify the font for inserting
12937         chars in certain conditions by calling checkInsertChar(font).
12938
12939 2001-10-19  Juergen Vigna  <jug@sad.it>
12940
12941         * text.C (workWidth): use getRow instead of wrong algorithm.
12942         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12943
12944 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12945
12946         * lyxserver.h:
12947         * lyxserver.C:
12948         * lyx_main.h:
12949         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12950
12951 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12952
12953         * text.C (workWidth): do not search for the exact row when
12954         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12955         optimization for big documents.
12956
12957 2001-10-18  Juergen Vigna  <jug@sad.it>
12958
12959         * text.C (workWidth): new function with added Inset * parameter.
12960
12961 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12962
12963         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12964
12965         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12966         change return type of getColumnNearX.
12967
12968
12969         * text.C (changeRegionCase): use uppercase/lowercase instead of
12970         toupper/tolower.
12971         (leftMargin):
12972         (rightMargin): simplify code by factoring out the uses of
12973         textclasslist.
12974         (labelFill):
12975         (numberOfHfills):
12976         (setHeightOfRow):
12977         (appendParagraph): use Paragraph::size_type
12978
12979 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12980
12981         * vspace.C (asLatexString): add a missing break
12982
12983 2001-10-15  Herbert Voss  <voss@perce.de>
12984
12985         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12986
12987 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12988
12989         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12990         is not available.
12991
12992 2001-10-10  André Pönitz <poenitz@gmx.net>
12993
12994         * lyxfunc.C: removed greek_kb_flag.
12995
12996 2001-10-10  Herbert Voss  <voss@perce.de>
12997
12998         * lyx_main.C: delete global string help_lyxdir.
12999
13000 2001-10-09  Herbert Voss  <voss@perce.de>
13001
13002         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13003
13004         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13005
13006         * lyx_main.C: added global string help_lyxdir.
13007
13008         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13009
13010 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13011
13012         * lyxrc.C (set_font_norm_type): support iso8859-4
13013
13014 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13015
13016         * LaTeX.C (deplog): add another regex for MikTeX
13017
13018 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13019
13020         * lyxrc.C (set_font_norm_type): support iso8859-3
13021
13022 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13023
13024         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13025
13026         * LaTeXFeatures.C: remove special case of french and index
13027
13028         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13029         before \begin{document}). This solves several incompatibilities.
13030
13031 2001-10-03  Garst Reese  <reese@isn.net>
13032
13033         * lyx_cb.C: change CheckTex error msg.
13034
13035 2001-10-03  José Matos  <jamatos@fep.up.pt>
13036
13037         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13038
13039 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13040
13041         * .cvsignore: update
13042
13043         * lyx_main.C (commandLineVersionInfo): use new style version info.
13044
13045         * buffer.C (writeFile):
13046         (makeLaTeXFile):
13047         (makeLinuxDocFile):
13048         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13049
13050         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13051
13052         * version.h: update to use stuff in version.C
13053
13054         * version.C.in: new file. Contains version information determined
13055         at compile time. This is a merging of version.h and
13056         version_info.h.in.
13057
13058 2001-10-03  Juergen Vigna  <jug@sad.it>
13059
13060         * BufferView_pimpl.C (update): don't change "dirty" status in
13061         updateInset call.
13062
13063 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13064
13065         * WorkArea.C (c-tor): re-position version string slightly.
13066
13067 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13068
13069         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13070         revert to previous code.
13071
13072         WorkArea.[Ch]: (show, destroySplash): methods removed.
13073
13074         WorkArea.C: rework code so that it's an amalgam of the codes before and
13075         after the splash screen was moved to WorkArea.
13076
13077 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13078
13079         * lyxrc.C (read):
13080         * vspace.C (inPixels):
13081         (lyx_advance):
13082         * kbmap.C (bind):
13083         * buffer.C (insertStringAsLines):
13084         (asciiParagraph): fix types to be large enough
13085
13086         * lyxlex_pimpl.h: change member status from short to int
13087
13088         * layout.h: fix type of endlabeltype
13089
13090         * kbmap.C (bind):
13091         * kbsequence.C (parse): change return type to string::size_type
13092
13093         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13094         variable
13095
13096         * Bullet.C (bulletSize):
13097         (bulletEntry): do not use short ints as parameters
13098
13099         * BufferView2.C (insertLyXFile): change a char to an int.
13100
13101         * WorkArea.C (WorkArea): remove unneeded floats in computation
13102
13103 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13104
13105         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13106
13107         * paragraph.C (asString): Do not ignore newline/hfill chars when
13108         copying to the clipboard.
13109
13110 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13111
13112         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13113         after a multi-line inset.
13114
13115 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13116
13117         * paragraph.C (validate): Set NeedLyXFootnoteCode
13118
13119 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13122         and decrease-error to decrease.
13123
13124 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13125
13126         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13127         it more readable (should be equivalent)
13128
13129 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13130
13131         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13132
13133 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13134
13135         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13136         of a cursor (row, etc.) after a character has been deleted
13137         (deleteEmptyParagraphMechanism): call the method above on _all_
13138         cursors held by the LyXText when a double space has been
13139         detected/deleted.
13140
13141 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13142
13143         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13144         pixmap.
13145         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13146
13147         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13148         background. Use greyOut() and the new show() methods to toggle between
13149         the foreground and background. Add code to remove the splash after
13150         its initial showing.
13151
13152         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13153         (create_forms): no longer call Dialogs::showSplash.
13154
13155 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13156
13157         * .cvsignore: add version_info.h
13158
13159 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13160
13161         * version_info.h.in: new file
13162
13163         * Makefile.am: add version_info.h.in
13164
13165         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13166         version_info.h instead of VERSION_INFO
13167
13168 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13169
13170         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13171         The ERT inset now returns string().
13172
13173 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13174
13175         * lyxtext.h, text.C (selectNextWord): renamed as
13176         selectNextWordToSpellcheck.
13177
13178         * text.C (selectNextWordToSpellcheck): Modified to not select
13179         words inside an ERT inset.
13180
13181 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * lyx_cb.C (MenuLayoutSave): change a bit the question
13184
13185         * sp_base.h: include <sys/types.h>
13186
13187 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13188
13189         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13190
13191 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13192
13193         * several files: fix typos in user-visible strings
13194
13195 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13196
13197         * text2.C (pasteSelection): do not set the selection, since it
13198         will be cleared later. Actually, the intent was to fix the way the
13199         selection was set, but I figured rmoving the code was just as good.
13200
13201 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13202
13203         * FontLoader.C (available): Check if font is available without
13204         loading the font.
13205
13206 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13207
13208         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13209
13210 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13211
13212         * lyxrc.[Ch]: added display_graphics variable and associated code.
13213
13214 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13215
13216         * bufferparams.C (hasClassDefaults): new method. Returns true if
13217         the buffer parameters correspond to known class defaults
13218
13219 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13220
13221         * XFormsView.C (show): set minimum size to the main window.
13222
13223 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * text2.C (copySelection):
13226         (cutSelection):
13227         * lyxfind.C (LyXReplace):
13228         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13229         LyXText::selectionAsString.
13230
13231         * paragraph.C (asString): add "label" argument to the second form
13232
13233         * text2.C (selectionAsString): add "label" argument and pass it to
13234         Paragraph::asString.
13235
13236 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13237
13238         * lyx_main.C (commandLineHelp): remove version information
13239
13240 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13241
13242         * lyx_main.C: add -version commandline option
13243
13244 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * paragraph.h: make the optional constructor arg required instead.
13247         some modifications to other files because of this.
13248
13249         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13250
13251         * lyxserver.C (C_LyXComm_callback): make it static
13252
13253         * lyx_main.C (error_handler): make it static
13254
13255         * lyx_gui.C (LyX_XErrHandler): make it static
13256
13257         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13258
13259         * WorkArea.C: make the extern "C" methods static.
13260
13261         * Makefile.am (lyx_LDADD): simplify
13262
13263 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13264
13265         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13266         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13267
13268         * LyXAction.C (init):
13269         * lyxfunc.C (dispatch): associated code removal.
13270
13271 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * lyxfont.h (isSymbolFont): shut off warning
13274
13275         * text.C (setHeightOfRow):
13276         (getVisibleRow): fix crash with empty paragraphs which have a
13277         bottom line
13278
13279 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13280
13281         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13282         code.
13283
13284 2001-09-04  José Matos  <jamatos@fep.up.pt>
13285         * buffer.C
13286         * buffer.h
13287         * tabular.C (docbook): rename docBook method to docbook.
13288
13289 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13290
13291         * Makefile.am: add dependencies to main.o.
13292
13293 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13294
13295         * FontLoader.C (available): Return false if !lyxrc.use_gui
13296
13297 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13298
13299         * FontInfo.C (query):
13300         * converter.C (view):
13301         * importer.C (Import):
13302         * exporter.C (Export): Can not -> cannot.
13303
13304 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13305
13306         * BufferView_pimpl.C: allow to create index inset even if
13307           string is empty
13308
13309 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13310
13311         * buffer.C (getLists): replace boost::tie code with an explicit pair
13312         as boost::tie can break some compilers.
13313
13314         * iterators.h: Added a std:: declaration to the return type of
13315         ParIterator::size.
13316
13317 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13318
13319         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13320           case.
13321
13322 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13323
13324         * iterators.[Ch]: New files. Provide paragraph iterators.
13325
13326         * buffer.C (changeLanguage): Use paragraph iterators.
13327         (isMultiLingual): ditto
13328
13329         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13330
13331 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13332
13333         * FontLoader.C: Support for cmr font.
13334
13335 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13338         (available): New method.
13339
13340         * FontInfo.C (getFontname): Use scalable fonts even when
13341         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13342         found.
13343
13344 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13345
13346         * converter.C (Formats::view): reverted! Incorrect fix.
13347
13348 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13349
13350         * converter.C (Formats::view): only output the -paper option
13351         if the dvi viewer is xdvi, thereby fixing bug #233429.
13352
13353 2001-08-23  Herbert Voss  <voss@perce>
13354
13355         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13356
13357 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13358
13359         * Spacing.h (Spacing): Set space to Default on in the default
13360         constructor.
13361
13362 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13363
13364         * vc-backend.h (RCS::versionString): add RCS to version
13365         (CVS::versionString): add CVS to version
13366
13367         * vc-backend.C (scanMaster): do not add CVS to version.
13368         (scanMaster): do not add RCS to version
13369
13370         * lyxvc.C (versionString): new method
13371
13372         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13373
13374 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13375
13376         * Spacing.C (set): initialize fval
13377
13378 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13379
13380         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13381         " or \.
13382
13383 2001-08-16  Juergen Vigna  <jug@sad.it>
13384
13385         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13386
13387 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13388
13389         * BufferView_pimpl.C:
13390         * figureForm.C:
13391         * lyxtext.h:
13392         * text2.C: setParagraph takes linespacing now
13393
13394 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * LyxAction.C: add internal LFUN_CITATION_INSERT
13397
13398         * LyXView.C: actually apply fix
13399
13400         * bufferlist.C: fix open non-existent file
13401
13402         * lyxfind.C: fix indentation
13403
13404         * lyxfunc.C: remove unneeded assert, fix typo
13405
13406 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13407
13408         * MenuBackend.C: use "Floatname List"
13409
13410 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13411
13412         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13413         when converting LaTeX layout to insetERT.
13414         Generate a non-collapsed float when reading old float
13415
13416 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13417
13418         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13419         ERT insets.
13420
13421 2001-08-13  Juergen Vigna  <jug@sad.it>
13422
13423         * text.C (fill): return 0 instead of 20 as this seems to be the more
13424         correct value.
13425
13426 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13427
13428         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13429         lyxrc.font_norm.
13430
13431 2001-08-13  Juergen Vigna  <jug@sad.it>
13432
13433         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13434         casesensitive off.
13435         (SearchBackward): comment out the unlocking of the inset_owner this
13436         should not be needed!
13437
13438 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13439
13440         * Many files: Remove inherit_language, and add latex_language
13441
13442         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13443         collapsible insets.
13444
13445 2001-08-10  Juergen Vigna  <jug@sad.it>
13446
13447         * text.C (prepareToPrint): fixed hfill-width in draw!
13448
13449         * BufferView2.C (selectLastWord): save the selection cursor as this
13450         now is cleared in the function LyXText::clearSelection!
13451
13452 2001-08-08  Juergen Vigna  <jug@sad.it>
13453
13454         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13455         BACKSPACE type functions.
13456
13457         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13458         is only cutted from the document but not put in the cut-buffer, where
13459         still the old stuff should be.
13460
13461         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13462
13463         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13464
13465         * tabular.C (SetWidthOfCell): fixed special case where the width
13466         was not updated!
13467         (LeftLine): handle '|' in align_special.
13468         (RightLine): ditto
13469         (LeftAlreadyDrawed): ditto
13470         (SetWidthOfCell): ditto
13471
13472 2001-08-07  Juergen Vigna  <jug@sad.it>
13473
13474         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13475
13476 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13479         * lyxlex.[hC]: ditto
13480
13481 2001-08-06  Juergen Vigna  <jug@sad.it>
13482
13483         * text.C (getVisibleRow): fix up row clearing a bit.
13484
13485 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * minibuffer.C: make sure the X server sees the changes in the input.
13488
13489 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13490
13491         * paragraph.C (getFont): split into...
13492         (getLabelFont): this
13493         (getLayoutFont): and this
13494         * paragraph_pimpl.C (realizeFont): calling this
13495
13496         * text2.C (getFont): split into...
13497         (getLayoutFont): this
13498         (getLabelFont): and this
13499         (realizeFont): all three calling this
13500
13501         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13502         files where used.
13503
13504 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13505
13506         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13507
13508 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13509
13510         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13511         layouts from the Quote inset insertion.
13512
13513 2001-08-03  Juergen Vigna  <jug@sad.it>
13514
13515         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13516
13517         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13518         only if status not is already CHANGED_IN_DRAW (second level).
13519
13520         * text.C (draw): don't set the need_break_row when inside an
13521         InsetText LyXText.
13522
13523 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * buffer.C (parseSingleLyXformat2Token): handle more latex
13526         conversion cases.
13527
13528         * bufferview_funcs.[hC]: change function names to
13529         begin with small char, adjust other files.
13530
13531 2001-08-02  André Pönitz <poenitz@gmx.net>
13532
13533         * lyxfunc.C:
13534         BufferView_pimpl.C: remove broken special code for math-greek
13535
13536 2001-08-02  Juergen Vigna  <jug@sad.it>
13537
13538         * BufferView_pimpl.C (update): redone this function so that we
13539         update the text again if there was a CHANGE_IN_DRAW.
13540
13541         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13542         (drawFromTo): added a new internal bool which is used by draw() and
13543         redraw() function.
13544         (general): some cursor drawing problems fixed.
13545
13546 2001-08-01  Juergen Vigna  <jug@sad.it>
13547
13548         * lyxfind.C (LyXFind): fixed
13549         (SearchForward): ditto
13550         (SearchBackward): ditto
13551
13552         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13553         spurius drawing of the cursor in the main area.
13554
13555         * text2.C (status): small fix which could lead to a segfault!
13556         (clearSelection): remove unneeded BufferView param.
13557
13558 2001-08-01  André Pönitz <poenitz@gmx.net>
13559
13560         * lyxfunc.C: small change due to changed mathed interface
13561
13562 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13563
13564         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13565
13566 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13567
13568         * lyxfunc.c: fail gracefully if file doesn't exist
13569
13570         * LyXSendto.C:
13571         * buffer.C:
13572         * lyxfunc.C:
13573         * BufferView_pimpl.C: IsDirWriteable() proto changed
13574
13575         * LyXView.C: fix updateWindowTitle() to store the last title
13576
13577 2001-07-31  Juergen Vigna  <jug@sad.it>
13578
13579         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13580         the font (wrong since using of Paragraph::highestFontInRange).
13581
13582         * paragraph.C (highestFontInRange): added a default_size parameter.
13583
13584         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13585         (setHeightOfRow): reformat
13586
13587 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13588
13589         * converter.[hC] + affected files: move to (inital-char)lowercase
13590         function names.
13591
13592         * ParagraphParameters.C (ParagraphParameters): remove commented code
13593
13594         * PainterBase.[Ch]: remove commented code
13595
13596         * LaTeXFeatures.h: add "bool floats" for float.sty
13597
13598         * LaTeXFeatures.C (LaTeXFeatures): init floats
13599         (require): handle float
13600         (getPackages): do it with floats
13601
13602 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13603
13604         * BufferView_pimpl.C (Dispatch): improve handling of
13605         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13606
13607         * commandtags.h: #include lyxfont.h here temporarily to avoid
13608         keybinding bug.
13609
13610         * bufferlist.h: include LString.h here.
13611
13612 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13613
13614         * text2.C (getStringToIndex): new method.
13615
13616 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13617
13618         * *: Reduced header file dependencies all over.
13619
13620 2001-07-30  Baruch Even  <baruch@lyx.org>
13621
13622         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13623
13624 2001-07-29  Baruch Even  <baruch@lyx.org>
13625
13626         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13627
13628 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13629
13630         * ParameterStruct.h (endif): add a default constructor to make
13631         sure that all variables is initialized.
13632
13633         * ParagraphParameters.C (ParagraphParameters): adjust
13634
13635 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13638         index; also, check that there is something to index, and that it
13639         does not span over several paragraphs.
13640         (doubleClick): use WHOLE_WORD_STRICT for double click.
13641
13642         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13643
13644         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13645         scheme.
13646
13647 2001-07-26  Baruch Even  <baruch@lyx.org>
13648
13649         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13650         an InsetFig figure, backwards compatible reading of old figure code.
13651
13652 2001-07-27  Juergen Vigna  <jug@sad.it>
13653
13654         * text2.C: font.realize function adaption.
13655
13656         * text.C (draw): add a warnings lyxerr text if needed.
13657
13658         * layout.C: font.realize function adaption.
13659
13660         * language.C: add inherit_language and implement it's handlings
13661
13662         * bufferview_funcs.C (StyleReset): remove language parameter from
13663         font creation (should be language_inherit now).
13664
13665         * bufferparams.C (writeFile): handle ignore_language.
13666
13667         * paragraph.C (getFontSettings): the language has to be resolved
13668         otherwise we have problems in LyXFont!
13669
13670         * lyxfont.C (lyxWriteChanges): added document_language parameter
13671         (update): removed unneeded language parameter
13672
13673         * paragraph.C (validate): fixed wrong output of color-package when
13674         using interface colors for certain fonts in certain environments,
13675         which should not seen as that on the final output.
13676
13677 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13678
13679         * BufferView_pimpl.C:
13680         * Thesaurus.h:
13681         * Thesaurus.C:
13682         * Makefile.am:
13683         * commandtags.h:
13684         * LyXAction.C: add thesaurus support
13685
13686         * lyxfind.h:
13687         * lyxfind.C: add "once" parameter, for thesaurus, to not
13688           move to the next match
13689
13690 2001-07-26  Juergen Vigna  <jug@sad.it>
13691
13692         * lyxfont.C (realize): honor ignore_language too!
13693         (resolved): ditto.
13694
13695         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13696
13697         * text.C (draw): one place more for ignore_language to not draw
13698         itself!
13699
13700 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13701
13702         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13703
13704 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13705
13706         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13707         the minipage conversion problem.
13708
13709 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13712         insert an inset.
13713
13714 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13715
13716         * BufferView.h: don't forward declare WorkArea
13717
13718         * BufferView.C: don't include WorkArea.h
13719
13720 2001-07-25  André Pönitz <poenitz@gmx.net>
13721
13722         * commandtags.h:
13723         * LyXAction.C:
13724         * lyxfunc.C:  new LFUN 'math-space'
13725
13726         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13727
13728 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * text2.C (toggleInset): call open/close
13731
13732 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13733
13734         * lyxfunc.C (dispatch): add debug for the disabled case
13735
13736         * font.C (buttonText): make similar to rectText
13737
13738         * buffer.C (readInset): comment out parsing of insetlist and
13739         insttheorem
13740
13741         * PainterBase.C (rectText): small correction
13742
13743         * BufferView_pimpl.C: comment out insettheorem and insetlist
13744         * LyXAction.C: ditto
13745         * commandtags.h: ditto
13746
13747 2001-07-24  Juergen Vigna  <jug@sad.it>
13748
13749         * text.C (draw): honor the ignore_language.
13750
13751         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13752
13753 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13754
13755         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13756         char inset.
13757
13758 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13759
13760         * lyxtext.h: remove unused (and unimplemented) methods
13761
13762 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13763
13764         * text.C (getVisibleRow): honor background color
13765
13766         * PainterBase.h:
13767         * Painter.h: remove default color argument for fillRectangle
13768
13769         * text.C (backgroundColor): new method
13770
13771 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13772
13773         * text.C (getVisibleRow): adjust
13774
13775         * font.[Ch] (rectText): new method, metrics
13776         (buttonText): new method, metrics
13777
13778         * PainterBase.[hC]: make rectText and buttonText always draw and take
13779         fewer paramteres.
13780
13781 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13782
13783         * ToolbarDefaults.C (read):
13784         * MenuBackend.C (read): allow escaping in all strings
13785
13786         * BufferView_pimpl.C (insertAndEditInset): new method.
13787         (Dispatch): use insertAndEditInset whenever appropriate.
13788
13789         * BufferView_pimpl.C (insertNote): removed
13790
13791         * BufferView_pimpl.C (smartQuote): new method, moved from
13792         BufferView; if an insetquote cannot be inserted, insert a '"'
13793         character instead.
13794
13795         * BufferView2.C: remove insertCorrectQuote();
13796
13797         * lyxfunc.C (getStatus): Add support for all remaingin
13798         inset-insert lfuns.
13799
13800         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13801
13802         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13803         command (necessary to pass " as parameter of self-insert.
13804
13805         * text.C (selectWordWhenUnderCursor):
13806         (selectWord): add word_location parameter
13807         (selectWordWhenUnderCursor): same + remove special code for word
13808         boundary.
13809         (selectNextWord): use kind() to guess type of insetspecialchar,
13810         not latex().
13811
13812         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13813         (insertErtContents): create ert insets as collapsed.
13814         (readInset): better compatibility code for Info inset.
13815
13816 2001-07-20  Juergen Vigna  <jug@sad.it>
13817
13818         * lyxfunc.C (dispatch): use always LyXFind now!
13819
13820         * text2.C (init): add a reinit flag so that the LyXText can be
13821         reinited instead of deleted and reallocated (used in InsetText).
13822
13823         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13824
13825         * text.C: ditto
13826
13827         * text2.C: ditto
13828
13829 2001-07-18  Juergen Vigna  <jug@sad.it>
13830
13831         * text.C (selectNextWord): handle insets inside inset by calling
13832         always the bv->text functions so that we can go up the_locking_inset!
13833
13834         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13835         in strange locations when inside an inset!
13836
13837         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13838         handling to include insets.
13839
13840         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13841
13842 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13843
13844         * LyXAction.C (init):
13845         * commandtags.h:
13846         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13847         LIGATURE_BREAK, since the name is so stupid.
13848
13849 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13850
13851         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13852         InsetInfos.
13853
13854         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13855
13856         * sp_form.[Ch]: remove.
13857
13858         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13859
13860         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13861         InsetInfo.
13862
13863         * src/buffer.C (readInset): ditto.
13864
13865 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13866
13867         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13868         menuSeparator(), endOfSentenceDot(), ldots() and
13869         hyphenationPoint(), which are therefore removed.
13870         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13871
13872         * LyXAction.C (init):
13873         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13874
13875         * paragraph.C (getWord): removed.
13876
13877         * BufferView_pimpl.C (Dispatch): use last word or selection for
13878         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13879
13880         * lyx_main.C (queryUserLyXDir): do not ask before creating
13881         user_dir, except if it has been named explicitely.
13882
13883 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13884
13885         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13886         a document of zero size.
13887
13888 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13889
13890         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13891         approriately in the c-tor and in require().
13892         (getPackages): output the appropriate LaTeX for natbib support.
13893
13894         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13895         variables "use_natbib" and "use_numerical_citations" when reading the
13896         LyX file.
13897         (readInset): read the various natbib cite commands.
13898         (validate): white-space change.
13899
13900         * bufferparams.[Ch]: new variables "bool use_natbib" and
13901         "bool use_numerical_citations".
13902         (writeFile): output them in the LyX file.
13903
13904 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13905
13906         * lyxfunc.C (getStatus): add support for all the inset insertion
13907         commands.
13908
13909         * text2.C (insertInset):
13910         * paragraph.C (insetAllowed):
13911         * BufferView_pimpl.C (insertInset): update to take in account the
13912         renaming of insertInsetAllowed
13913
13914         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13915
13916         * text2.C (getInset): new method. returns inset at cursor position.
13917
13918         * BufferView_pimpl.C (Dispatch): changes because of this.
13919
13920         * LyXAction.C (init): rename open-stuff to inset-toggle.
13921
13922         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13923
13924         * text2.C (toggleInset): renamed from openStuff; use
13925         Inset::open().
13926
13927 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13928
13929         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13930
13931         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13932
13933 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13934
13935         * buffer.C (readLyXformat2): Add filename to the error dialog
13936
13937 2001-07-18  Juergen Vigna  <jug@sad.it>
13938
13939         * tabular.C (GetCellNumber): put an assert here instead of the check!
13940
13941 2001-07-17  Juergen Vigna  <jug@sad.it>
13942
13943         * BufferView_pimpl.C (toggleSelection): adapted too.
13944
13945         * text.C (selectNextWord): adapted for use with insets.
13946         (selectSelectedWord): ditto
13947
13948 2001-07-17  Juergen Vigna  <jug@sad.it>
13949
13950         * sp_spell.C (PSpell): fix initialitation order.
13951
13952 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * paragraph.C: spacing
13955
13956 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13957
13958         * sp_spell.C: repair language selection for pspell
13959
13960 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13961
13962         * lyxfunc.h: change more methods to begin with lower char.
13963
13964 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13965
13966         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13967         for unknown layouts.
13968
13969 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13970
13971         * buffer.C (readLyXformat2): Generate an error dialog if there are
13972         unknown layouts.
13973
13974 2001-07-16  Juergen Vigna  <jug@sad.it>
13975
13976         * sp_spell.C: always compile ISpell part.
13977
13978         * lyxrc.C: added use_pspell entry and it's handling.
13979
13980 2001-07-13  Juergen Vigna  <jug@sad.it>
13981
13982         * sp_spell.C: removed double includes.
13983
13984 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13985
13986         Consistent use of Lsstream.h:
13987         * Lsstream.h: added using std::stringstream for consistencies sake.
13988
13989         * buffer.C: removed using std::stringstream
13990
13991         * lyxfont.C (stateText):
13992         * paragraph.C (asString):
13993         * text.C (selectNextWord, selectSelectedWord):
13994         * text2.C (setCounter):
13995         * vspace.C (asString, asLatexString):
13996         std::ostringstream -> ostringstream.
13997
13998 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13999
14000         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14001         * commandtags.h: add LFUN_HELP_ABOUTLYX
14002         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14003
14004 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14005
14006         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14007         cursorToggle()
14008         * lyx_gui_misc.C: remove spellchecker
14009         * lyxfunc.C: showSpellchecker
14010         * sp_base.h: added
14011         * sp_ispell.h: added
14012         * sp_pspell.h: added
14013         * sp_spell.C: added
14014         * sp_form.[Ch]: removed
14015         * spellchecker.[Ch]: removed
14016
14017 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14018
14019         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14020         is set.
14021         (simpleTeXSpecialChars): Simply print the input character without
14022         any special translation if pass_thru is set.
14023
14024         * layout.h: Added bool pass_thru to layout class for being able to
14025         implement pass through of a paragraph for Literate Programming.
14026
14027         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14028         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14029         * layout.C (Read): add "passthru" to list of layout tags and add
14030         code to set the pass_thru boolean when it is read.
14031
14032 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * trans_decl.h: remove allowed from KmodInfo
14035
14036         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14037         remove allowed code
14038         (Load): adjust
14039
14040         * paragraph_pimpl.C (erase): use boost::prior
14041
14042         * Painter.C (text): use data() instead of c_str() when length is
14043         also provided.
14044         * WorkArea.C (putClipboard): ditto
14045         * font.h (width): ditto
14046
14047         * BufferView2.C: use it-> instead of (*it). for iterators
14048         * texrow.C: ditto
14049         * paragraph_pimpl.C: ditto
14050         * paragraph.C: ditto
14051         * minibuffer.C: ditto
14052         * language.C: ditto
14053         * kbmap.C: ditto
14054         * encoding.C: ditto
14055         * counters.C: ditto
14056         * converter.C: ditto
14057         * chset.C: ditto
14058         * Variables.C: ditto
14059         * TextCache.C: ditto
14060         * MenuBackend.C: ditto
14061         * LyXAction.C: ditto
14062         * LColor.C: ditto
14063         * FloatList.C: ditto
14064         * DepTable.C: ditto
14065         * ColorHandler.C (LyXColorHandler): ditto
14066
14067 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14068
14069         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14070
14071         * text2.C (openStuff): reintroduce this method (which had been
14072         nuked in NEW_INSETS frenzy).
14073
14074         * lyxfunc.C (Dispatch): when an action has not been handled, use
14075         its name in the error message, not its number.
14076
14077         * paragraph.C (inInset): change method name to begin with lowercase.
14078
14079         * undo_funcs.C:
14080         * text2.C: updates because of this.
14081
14082 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14083
14084         * ToolbarDefaults.C (add): add spaces in error message
14085
14086 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14087
14088         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14089         (readLyXformat2): rename return_par to first_par, use lyxlex's
14090         pushToken and remove the manual push handling.
14091         (parseSingleLyXformat2Token): add another ert comp. variable:
14092         in_tabular, rename return_par to first_par. handle newlines better
14093
14094 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14097
14098 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14099
14100         * text2.C (getParFromID): removed
14101
14102         * buffer.C (getParFromID): new method moved form lyxtext.
14103         * BufferView2.C (insertErrors): adjust
14104         (setCursorFromRow): adjust
14105         * BufferView_pimpl.C (restorePosition): adjust
14106         * lyxfunc.C (Dispatch): adjust
14107         * undo_funcs.C (textUndo): adjust
14108         (textRedo): adjust
14109         (textHandleUndo): adjust
14110         (textHandleUndo): adjust
14111
14112 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * buffer.C: up' the LYX_FORMAT
14115
14116         * lyxfont.h: turn NO_LATEX on as default
14117
14118         * buffer.C (insertErtContents): new methods of tex style compability.
14119         (parseSingleLyXformat2Token): use it several places.
14120         * tabular.C (OldFormatRead): and here
14121
14122 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14123
14124         * text2.C: remove some commented code.
14125         reindent file.
14126
14127         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14128         * trans.C: changes because of the above.
14129
14130 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * text2.C (setCounter): Fix counters bug with bibliography layout.
14133
14134 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14135
14136         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14137         own member functions
14138         (simpleTeXSpecialChars): ditto
14139
14140 2001-07-06  Juergen Vigna  <jug@sad.it>
14141
14142         * a lot of files: changed the access to LyXText::status and the
14143         call of undo-functions.
14144
14145         * undo.[Ch]: added a inset_id to the undo informations.
14146
14147         * undo_funcs.[Ch]: added and moved here all undo functions.
14148
14149         * lyxtext.h: give the status enum a weight, made status_ a private
14150         variable and made accessor functions for it, removed the whole bunch
14151         of undo-functions as they are now in their own file, make some
14152         functions publically available. Added function ownerParagraph with
14153         int parameter.
14154
14155         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14156         made InInset() a const function, added getParFromID() function.
14157
14158         * buffer.[Ch]: added const version for inset_iterator functions,
14159         added getInsetFromID() function.
14160
14161         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14162         changed undo functions for new version.
14163
14164 2001-07-05  Juergen Vigna  <jug@sad.it>
14165
14166         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14167         unknow mechanism does not call the proper constructor but only this
14168         one also if I request the other!?
14169
14170 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14171
14172         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14173
14174         * text2.C (LyXText): use initialization lists.
14175
14176         * lyxtext.h (Selection): initialize set_ and mark_
14177         (init): remove method
14178
14179 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14180
14181         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14182
14183 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14184
14185         * screen.[Ch]: change method names to begin with lowercase
14186
14187         * BufferView_pimpl.C (updateScrollbar): simplify further and
14188         hopefully make it a bit faster.
14189
14190 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14193         calling directly xforms functions.
14194
14195         * Painter.C (Painter):
14196         * lyx_cb.C (MenuWrite):
14197         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14198         fl_display.
14199
14200         * lyx_gui.C: remove bogus guiruntime extern declaration.
14201
14202 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14203
14204         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14205         in NEW_INSETS
14206         (redoDrawingOfParagraph): ditto
14207         (redoParagraphs): ditto
14208         (cutSelection): don't create a object for CutAndPaste use the
14209         static method directly
14210         (pasteSelection): ditto
14211
14212         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14213         LyXview (+ rename)
14214
14215 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14216
14217         * modifications to some other files because of this.
14218
14219         * Makefile.am (lyx_SOURCES): add XFormsView
14220
14221         * XFormsView.[Ch]: new files
14222
14223         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14224         the main window. Move the gui dependent stuff to XFormsView
14225
14226 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14227
14228         * tabular.C (GetCellInset): update cur_cell also in the row/col
14229         version of this function.
14230
14231         * lyxfunc.C: no need to include figure_form.h here.
14232
14233         * FontLoader.h:
14234         * lyxfunc.h:
14235         * lyxscreen.h:
14236         * text2.C:
14237         * lyxvc.C: no need to include forms.h here.
14238
14239 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14240
14241         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14242
14243         * lyxfunc.C (Dispatch):
14244         * Spacing.C (set):
14245         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14246         constructor argument.
14247
14248 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14249
14250         * paragraph.C (Paragraph): dont't clear, and just set layout.
14251         (makeSameLayout): use params's copy contructor.
14252
14253         * ParagraphParameters.[Ch] (makeSame): delete method
14254
14255 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14256
14257         * Variables.[Ch]: fix indentation, rename set to isSet
14258
14259 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14260
14261         * lyxfunc.C (Dispatch): fix typo
14262
14263 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14264
14265         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14266         upper_bound.
14267
14268         * bufferlist.C: include assert.h for emergencyWrite().
14269
14270 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14271
14272         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14273           give up at last (bug #425202) !
14274
14275 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14276
14277         * lyx_gui_misc.C:
14278         * sp_form.h:
14279         * sp_form.C:
14280         * spellchecker.h:
14281         * spellchecker.C: strip spellchecker options and bring up
14282           preferences tab instead
14283
14284 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14285
14286         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14287         the istringstream constructor
14288
14289 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14290
14291         * paragraph.C (getLayout): fix return value
14292
14293         * paragraph.h: do not declare getLayout as inline.
14294
14295         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14296
14297 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14298
14299         * lyxcursor.h (operator<): new func
14300         (operator>): new func
14301         (operator>=): new func
14302         (operator<=): new func
14303
14304         * text.C (changeCase): use selection.start and selection.end
14305         (changeRegionCase): require from to be <= to. Require par to be a
14306         valid paragraph.
14307
14308         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14309
14310 2001-06-27  Juergen Vigna  <jug@sad.it>
14311
14312         * text.C (cursorLeftOneWord): changed to return the cursor and added
14313         overlay with BufferView * parameter which calls this one.
14314         (getWord): added
14315         (selectWord): use new getWord function.
14316         (changeCase): renamed from changeWordCase as and extended to work
14317         also on selections.
14318
14319         * lyxtext.h: added enum word_location
14320
14321         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14322         changeCase as this operates now also on selections.
14323
14324 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14325
14326         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14327
14328         * many files: send debug output to Debug::INFO instead of
14329         Debug::ANY.
14330
14331         * converter.C (View):
14332         (Convert):
14333         (Move): send debug output to Debug::FILES instead of console.
14334
14335 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14336
14337         * lyxfunc.C (getStatus): use func_status
14338
14339         * func_status.h: new header, describing the results of
14340         LyXFunc::getStatus;
14341
14342         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14343         LFUN_MATH_HALIGN.
14344
14345 2001-06-25  The LyX Project  <jug@sad.it>
14346
14347         * buffer.C (sgmlOpenTag):
14348         (sgmlCloseTag):
14349         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14350
14351 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14352
14353         * text2.C: remove some dead code
14354
14355         * tabular.C (GetCellInset): store the last cell checked (gotten)
14356
14357         * tabular.h: add the helper for the speedup
14358
14359         * lyxtext.h: remove some dead code
14360
14361 2001-06-26  The LyX Project  <Asger>
14362
14363         * paragraph.C: Change export to LaTeX of alignment to
14364         \begin{center} and family for better roundtrip work with reLyX.
14365
14366         * Tune the math drawing a bit.
14367
14368 2001-06-25  The LyX Project  <Asger>
14369
14370         * LColor.C (LColor): New color for math background. New color
14371         for buttons.
14372
14373 2001-06-25  The LyX Project  <jug@sad.it>
14374
14375         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14376
14377         * lyxfunc.C (Open):
14378         * bufferlist.C (newFile): do not restrict to files ending with
14379         .lyx
14380
14381         * BufferView_pimpl.C (MenuInsertLyXFile):
14382
14383 2001-06-24  The LyX Project  <jug@sad.it>
14384
14385         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14386         of compare_no_case
14387
14388 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14389
14390         * lyxtext.h: rename most methods to begin with a small char.
14391         Lots of changes because of this.
14392
14393         * paragraph.C (Paragraph): do not call fitToSize
14394         (erase): call Pimpl::erase
14395         (insertChar): call Pimpl::insertChar
14396         (insertInset): call Pipl::insertInset
14397         (breakParagraph): do not call fitToSize
14398         (breakParagraphConservative): do not call fitToSize
14399         (fitToSize): remove method
14400
14401         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14402
14403 2001-06-24  The LyX Project  <Asger>
14404
14405         * Fix Qt compilation^2
14406
14407 2001-06-24  The LyX Project  <jug@sad.it>
14408
14409         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14410         depthHook(getDepth()-1).
14411
14412         * paragraph.h:
14413         * ParagraphParameters.h:
14414         * ParameterStruct.h: change type of depth to unsigned int ==
14415         depth_type. Many adaptations to other files before of that.
14416
14417 2001-06-24  The LyX Project  <Asger>
14418
14419         * Fix Qt compilation.
14420
14421 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14422
14423         * paragraph.h: renamed several methods to begin with small letter.
14424         several changes to many parts of the code because of this.
14425
14426 2001-06-23  The LyX Project  <jug@sad.it>
14427
14428         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14429         rewritten to discard all double spaces when KeepEmpty is off
14430         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14431         to only handle newlines but not fiddle with spaces and friends.
14432
14433         * lyxfunc.C (MenuNew): when doing 'new from template', use
14434         template_path as default directory
14435
14436 2001-06-23  The LyX Project  <Asger>
14437
14438         * Clean-up of header file includes all over
14439         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14440
14441 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14442
14443         * paragraph.h: renamed from lyxparagraph.h
14444
14445 2001-06-23  Asger  <lyx@violet.home.sad.it>
14446
14447         * Buffer.h: Removed Buffer::resize
14448         * BufferList.h: Removed BufferList::resize
14449         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14450         the document lazily when we change the width, or the font settings.
14451
14452 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14453
14454         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14455
14456 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * buffer.h: remove out of date comment
14459
14460 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14461
14462         * lyxscreen.h:
14463         * screen.C: fix "theoretical" GC leak
14464
14465 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14466
14467         * LaTeX.C (scanAuxFile):
14468         (deplog): remove trailing \r when reading stream (useful under
14469         win32)
14470
14471 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14472
14473         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14474         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14475         and BufferView::theLockingInset(Inset*), so should use them and not
14476         access bv_->text->the_locking_inset directly.
14477
14478         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14479
14480 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14481
14482         * Makefile.am:
14483         * tex-defs.h: remove old unused file
14484
14485 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14486
14487         * BufferView_pimpl.C: fix typo, remove minibuffer message
14488           when buffer has loaded
14489
14490 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14491
14492         * lyxfunc.C (Dispatch): use stringstream
14493         (MenuNew): use stringstream
14494         (Open): use stringstream
14495
14496         * importer.C (Import): use stringstream
14497
14498         * bufferview_funcs.C (CurrentState): use stringstream
14499
14500         * LaTeX.C (run): use stringstream
14501
14502         * BufferView_pimpl.C (savePosition): use stringstream
14503         (restorePosition): use stringstream
14504         (MenuInsertLyXFile): use stringstream
14505
14506 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14507
14508         * BufferView.C:
14509         * Bullet.C:
14510         * ColorHandler.C:
14511         * FontInfo.C:
14512         * FontLoader.C:
14513         * LColor.C:
14514         * LaTeXFeatures.C:
14515         * Painter.C:
14516         * gettext.C:
14517         * lyx_gui_misc.C:
14518         * lyxserver.C:
14519         * vspace.C: removed // -*- C++ -*- as first line.
14520
14521         * lyxfind.h:
14522         * version.h: added // -*- C++ -*- as first line.
14523
14524 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14525
14526         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14527
14528         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14529         of string
14530
14531 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14534         of floats.
14535
14536 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14537
14538         * gettext.C: include LString.h even when --disable-nls is on.
14539
14540 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14541
14542         * converter.h (Get): changed argument type from int to
14543         FormatList::size_type to avoid unnecessary conversion.
14544
14545         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14546         before using it.
14547
14548 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * gettext.h: include LString.h even when --disable-nls is on.
14551
14552 2001-06-07  Juergen Vigna  <jug@sad.it>
14553
14554         * text.C (BreakAgain): subst spaces with tabs.
14555
14556         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14557         (resizeInsetsLyXText): set force on resizeLyXText.
14558
14559 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14560
14561         * gettext.h (gettext_init):
14562         (locale_init): use a real definition instead of a macro
14563
14564 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14565
14566         * Bufferview_pimpl.C:
14567         * LColor.h:
14568         * LColor.C: further lcolor tidies
14569
14570 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * BufferView_pimpl.C (updateScrollbar): simplify.
14573
14574         * BufferView2.C: don't include insets/insetinfo.h, change
14575         prototype for insertInset and call the Pimpl version. let
14576         updateInset call Pimpl version.
14577
14578         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14579         gotoInset to BufferView::Pimpl
14580
14581 2001-06-01  Juergen Vigna  <jug@sad.it>
14582
14583         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14584         inside a LockingInset (is the update needed at all?).
14585
14586 2001-05-31  Juergen Vigna  <jug@sad.it>
14587
14588         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14589         here not the old one otherwise how should we compare it afterwards
14590         if it's the same!
14591
14592 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14593
14594         * lyxfont.C:
14595         * tabular.C:
14596         * tabular-old.C:
14597         * FontInfo.C: bring C functions into global namespace when
14598         necessary
14599
14600 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14601
14602         * LString.h: make sure config.h has been loaded before LString.h.
14603
14604         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14605         (one for each char read by EatLine!).
14606
14607         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14608         variables.
14609
14610 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14613         to the same as the par we break from
14614
14615 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14616
14617         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14618
14619         * MenuBackend.C (expand): also create menu entries for wide
14620         versions of the floats.
14621
14622         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14623
14624         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14625
14626         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14627         frontends/Makefile.am
14628
14629         * text2.C: adjust
14630         * text.C: adjust
14631
14632
14633         * tabular.C (getTokenValue): add std::
14634
14635         * tabular-old.C (getTokenValue): add std::
14636         (getTokenValue): ditto
14637         (getTokenValue): ditto
14638
14639         * screen.C (ToggleSelection): adjust
14640
14641         * lyxtext.h: put selection cursors inside a Selection struct.
14642
14643         * lyxfunc.C (moveCursorUpdate): adjust
14644
14645         * lyxfont.C (latexWriteStartChanges): add std::
14646
14647         * lyxfind.C: adjust
14648
14649         * font.h: delete with(char const *, LyXFont const &)
14650
14651         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14652
14653         * FontInfo.C (getFontname): add std::
14654
14655         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14656         (workAreaButtonPress): adjust
14657         (tripleClick): adjust
14658         (update): adjust
14659         (moveCursorUpdate): adjust
14660         (Dispatch): adjust
14661
14662         * BufferView2.C (gotoInset): adjust
14663
14664 2001-05-30  Juergen Vigna  <jug@sad.it>
14665
14666         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14667         to check pspell I add this as default as I now have new pspell
14668         libraries and they seem to use this.
14669
14670 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * text2.C (CutSelection): make the cursor valid before the call to
14673         ClearSelection.
14674
14675 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14676
14677         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14678         relied on 0 terminated strings and other horrors. Bug found due to
14679         the new assert in lyxstring!
14680
14681         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14682         KP_ keys.
14683
14684 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14685
14686         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14687         to latinkeys.bind.
14688
14689         * lyxfunc.C (processKeySym): change method of getting to the
14690         self-insert char.
14691
14692         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14693         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14694         * BufferView_pimpl.[Ch]: here as private methods.
14695
14696 2001-05-28  Juergen Vigna  <jug@sad.it>
14697
14698         * text.C (SetHeightOfRow): added the update() call again as it is
14699         needed to initialize inset dimensions!
14700
14701 2001-05-16  Juergen Vigna  <jug@sad.it>
14702
14703         * text2.C (SetCharFont): Add new function with BufferView * and
14704         bool toggleall parameters for setting insets internal fonts.
14705         (SetFont): Freeze the undo as we may change fonts in Insets and
14706         all this change should be inside only one Undo!
14707
14708         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14709         setting font's in insets as for them we have the SetFont function!
14710
14711 2001-05-15  Juergen Vigna  <jug@sad.it>
14712
14713         * text2.C (ClearSelection): to be sure we REALLY don't have any
14714         selection anymore!
14715
14716         * tabular.C (TeXCellPreamble): fixed the left border problem for
14717         multicolumn cells.
14718
14719 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14720
14721         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14722         dependancy file
14723
14724 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14725
14726         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14727         LFUN_BREAKPARAGRAPH.
14728
14729         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14730         help test to "internal only", similar for LFUN_INSERT_URL
14731
14732         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14733         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14734         auto_region_delete and deadkeys.
14735
14736 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14737
14738         * LColor.h:
14739         * LColor.C: remove some dead entries, tidy a little
14740
14741 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14742
14743         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14744         commented code.
14745         (Dispatch): implement LFUN_ESCAPE
14746
14747         * commandtags.h: add LFUN_ESCAPE
14748
14749         * LyXAction.C (init): add entry for LFUN_ESCAPE
14750
14751         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14752         Remove commented code.
14753         (insertNote): moved here
14754         (open_new_inset): moved here
14755
14756         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14757         BufferView_pimpl
14758
14759 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14760
14761         * kbmap.C (findbinding): clean it up and make it work correctly.
14762
14763         * lyx_main.C (init): do not pass argc and argv as parameters
14764
14765 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14766
14767         * buffer.C: fix path for OS/2 & Win32
14768
14769         * lyx_gui.C:
14770         * lyx_main:
14771         * lyx_main.C: Added os:: class.
14772
14773         * os2_defines.h: update
14774
14775 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14776
14777         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14778         better by trying again with reduced state.
14779
14780 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * lyxrc.C (read): print error about invalid key sequence only when
14783         debugging (because not all latinX keysyms are known to some X
14784         servers)
14785
14786         * kbsequence.C (getiso): add a few std:: qualifiers
14787         (getiso): comment out extra return statement.
14788
14789 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14790
14791         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14792         handling.
14793         (Dispatch): enhance the accent inset a bit. (not perfect)
14794
14795 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14796
14797         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14798
14799 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14800
14801         * bufferlist.C (emergencyWrite): fix assert() call
14802
14803 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14804
14805         * text.C (InsertChar): Added trivial patch to only send the "you
14806         can not do multiple spaces this way" message once during a
14807         session.
14808
14809 2001-05-08  Baruch Even  <baruch@lyx.org>
14810
14811         * Makefile.am: Changed order of libraries to get LyX to link properly
14812         with the gnome frontend.
14813
14814 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14815
14816         * LaTeXFeatures.h: add a std:: qualifier
14817
14818 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14819
14820         * paragraph.C (String): use stringstream
14821
14822 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14823
14824         * paragraph.C (writeFile): remove footflag arg
14825
14826         * buffer.C (makeLaTeXFile): use stringstream
14827         (latexParagraphs): remove footnot gurba
14828
14829         * LaTeXFeatures.C (getPackages): use stringstream
14830         (getMacros): likewise
14831         (getTClassPreamble): likewise
14832         (getFloatDefinitions): new method
14833
14834         * paragraph.C (writeFile): reindent
14835         (Erase): reindent
14836
14837         * WorkArea.h: revert the xpos + etc changes.
14838
14839         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14840
14841         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14842
14843         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14844         (pasteSelection): likewise
14845         * text2.C (CreateUndo): likewise
14846
14847 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14848
14849         * minibuffer.C (peek_event): temporarily reduce the functionality
14850         of the minibuffer (to allow args on lfuns)
14851
14852         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14853         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14854
14855         * buffer.C (readInset): add compability reading of old float
14856         lists, add reading of new style float list.
14857         (readInset): avoid reevaluation of inscmd.getCmdName()
14858         (getLists): reindent
14859
14860         * MenuBackend.C (MenuItem): implement parsing of
14861         md_floatlistinsert and md_floatinsert.
14862         (expand::LastFiles): move initalizaton of iterators out of loop,
14863         avoid reevaluation.
14864         (expand::Documents): introduce typdedef vector<string> Strings,
14865         and use it.
14866         (expand::ExportFormats): introduce typedef vector<Format const *>
14867         Formats, and use it.
14868         (expand): implement FloatListInsert and FloatInsert.
14869
14870         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14871         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14872         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14873
14874         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14875         handling.
14876         (Dispatch::LFUN_FLOAT_LIST): implement
14877
14878 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14879
14880         * LaTeX.C (run): Fix problem with --export code.
14881
14882 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14883
14884         * BufferView.[Ch] (workarea): removed.
14885         (getClipboard) new method; wrapper for workarea()->getClipboard()
14886
14887         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14888         bug.
14889
14890         * WorkArea.h (width, height, xpos, ypos): These methods all
14891         returned the dimensions of the work_area sub-area of WorkArea,
14892         resulting in a position error if the WorkArea were resized. Now
14893         return the dimensions of the entire WorkArea.
14894
14895         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14896
14897 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14898
14899         * LaTeX.C (deplog): correct the syntax of regex reg1
14900
14901 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14902
14903         * undo.C: remove !NEW_INSETS cruft
14904
14905 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14906
14907         * text2.C: remove !NEW_INSETS cruft
14908
14909         * text.C: remove !NEW_INSETS cruft
14910
14911         * tabular.C: remove !NEW_INSETS cruft
14912
14913         * spellchecker.C: remove !NEW_INSETS cruft
14914
14915         * lyxtext.h: remove !NEW_INSETS cruft
14916
14917         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14918
14919         * lyxfunc.C: remove !NEW_INSETS cruft
14920
14921         * lyxfind.C: remove !NEW_INSETS cruft
14922
14923         * lyx_cb.C: remove !NEW_INSETS cruft
14924
14925         * figureForm.C: remove  !NEW_INSETS cruft
14926
14927         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14928
14929         * buffer.[Ch]: remove !NEW_INSETS cruft
14930
14931         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14932
14933         * CutAndPaste.C: remove !NEW_INSETS cruft
14934
14935         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14936
14937         * BufferView2.C: remove !NEW_INSETS cruft
14938
14939         * BufferView.h: remove !NEW_INSETS cruft
14940
14941 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14942
14943         * Lsstream.h: include LString.h before the sstream headers to
14944         fix problem with gcc 2.95.3 and lyxstring
14945
14946 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14947
14948         * lyx_main.C: add using directives when needed for C functions
14949         declared in std:: namespace.
14950
14951 2001-04-27  Juergen Vigna  <jug@sad.it>
14952
14953         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14954         (SetHeightOfRow): comment out the update call should not be needed!
14955
14956 2001-04-13  Juergen Vigna  <jug@sad.it>
14957
14958         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14959         (LyXTabular): tried to minimize operator= operations (and realized
14960         hopfully Lars wish).
14961
14962 2001-04-27  Juergen Vigna  <jug@sad.it>
14963
14964         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14965
14966 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14967
14968         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14969
14970         * buffer.C (readInset): hack to make listof algorithm work
14971
14972         * BufferView_pimpl.C: hack to make listof algorithm work
14973
14974 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * LyXAction.C: removed all !NEW_INSETS cruft
14977         (init): moved lfun_item in method
14978
14979         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14980
14981 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14982
14983         * BufferView2.C (theLockingInset): white space.
14984
14985 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14986
14987         * minibuffer.C: include <iostream>
14988
14989         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14990
14991         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14992
14993         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14994
14995         * text.[Ch] (TransposeChars): new method
14996
14997 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * call message directly through LyXView instead of through LyXFunc
15000         * BufferView2.C: adjust
15001         * BufferView_pimpl.C: adjust
15002         * FontLoader.C: adjust
15003         * buffer.C: adjust
15004         * bufferview_funcs.C: adjust
15005         * converter.C: adjust
15006         * figureForm.C: adjust
15007         * importer.C: adjust
15008         * lyx_cb.C: adjust
15009         * lyx_gui_misc.C: adjust
15010         * lyxfunc.C: adjust
15011         * lyxvc.C: adjust
15012         * text2.C: adjust
15013         + more files in subdirs
15014
15015         * lyxparagraph.h (size): move up int file
15016         (GetLayout): ditto
15017
15018         * adjust all uses of Assert to lyx::Assert.
15019
15020         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15021         lyxfunctional in namespace lyx
15022         * layout.C (hasLayout): ditto
15023         (GetLayout): ditto
15024         (GetLayout): ditto
15025         (delete_layout): ditto
15026         (NumberOfClass): ditto
15027         * converter.C (GetFormat): ditto
15028         (GetNumber): ditto
15029         (Add): ditto
15030         (Delete): ditto
15031         (SetViewer): ditto
15032         * bufferlist.C (getFileNames): ditto
15033         (emergencyWriteAll): ditto
15034         (exists): ditto
15035         (getBuffer): ditto
15036         * MenuBackend.C (hasSubmenu): ditto
15037         (hasMenu): ditto
15038         (getMenu): ditto
15039         * BufferView_pimpl.C (getInsetByCode): ditto
15040
15041 2001-04-18  Juergen Vigna  <jug@sad.it>
15042
15043         * vspace.C (asLatexString): fixed the 100% problem.
15044
15045 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * lyxfunc.C (Dispatch):
15048         * minibuffer.C:
15049         * minibuffer.h: add a few std:: qualifiers
15050
15051 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15052
15053         * minibuffer.[Ch]: reimplement so that commands is initiated and
15054         run from lyxfunc, simplified som handling, and made the completion
15055         and history code for complete. wip.
15056
15057         * lyxfunc.C (processKeySym): call message
15058         (miniDispatch): new temporary method
15059         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15060         (LFUN_MESSAGE): implement
15061         (LFUN_MESSAGE_PUSH): implement
15062         (LFUN_MESSAGE_POP): implement
15063         (initMiniBuffer): the initial/defualt minibuffer message.
15064
15065         * lyxfont.[Ch]: inline some more getters
15066
15067         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15068
15069         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15070
15071         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15072         (AutoSave): use LFUN_MESSAGE
15073         (Reconfigure): ditto
15074
15075         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15076
15077         * figureForm.C: use LFUN_MESSAGE
15078
15079         * converter.C (runLaTeX): use LFUN_MESSAGE
15080
15081         * bufferview_funcs.C: use LFUN_MESSAGE
15082         (Melt): ditto
15083         (changeDepth): ditto
15084
15085         * bufferparams.h: use boost::
15086
15087         * bufferlist.h: inherit privately from noncopyable
15088
15089         * bufferlist.C (loadLyXFile): remove some commented code.
15090
15091         * buffer.C (runChktex): use LFUN_MESSAGE
15092
15093         * ShareContainer.h: inherit privately from noncopyable
15094
15095         * ParagraphParameters.[hC] (depth): inline it.
15096
15097         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15098         methods.
15099         (message): new method
15100         (messagePush): ditto
15101         (messagePop): ditto
15102         (show): init minibuffer
15103         (showState): direct call
15104
15105         * LaTeX.[Ch]: inherit privately from noncopyable
15106         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15107         instead of WriteStatus.
15108
15109         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15110
15111         * BufferView_pimpl.C (buffer): don't init minibuffer
15112         (workAreaButtonPress): use LFUN_MESSAGE
15113         (workAreaButtonRelease): ditto
15114         (savePosition): ditto
15115         (restorePosition): ditto
15116         (MenuInsertLyXFile): ditto
15117         (workAreaExpose): don't init minibuffer
15118         (update): remove commented code, simplify
15119
15120         * BufferView2.C (openStuff): use LFUN_MESSAGE
15121         (toggleFloat): ditto
15122         (menuUndo): ditto
15123         (menuRedo): ditto
15124         (copyEnvironment): ditto
15125         (pasteEnvironment): ditto
15126         (copy): ditto
15127         (cut): ditto
15128         (paste): ditto
15129         (gotoInset): ditto
15130         (updateInset): remove some commented code
15131
15132         * lastfiles.h: inherit privately from noncopyable
15133         * layout.h: ditto
15134         * lyx_gui.h: ditto
15135         * lyx_main.h: ditto
15136         * lyxlex.h: ditto
15137         * lyxlex_pimpl.h: ditto
15138
15139         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15140         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15141         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15142
15143         * LyXAction.h: inherit privately from noncopyable, add methods
15144         func_begin, func_end, returning iterators to the func map.
15145
15146         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15147         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15148         (func_begin): new method
15149         (func_end): new method
15150
15151         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15152         and not)
15153         (copySelection): ditto
15154         (pasteSelection): ditto
15155
15156         * BufferView.C: whitespace change
15157         * BufferView.h: inherit privately from noncopyable
15158
15159 2001-04-16  Allan Rae  <rae@lyx.org>
15160
15161         * tabular-old.C (l_getline):
15162         * spellchecker.C (sc_check_word):
15163         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15164         an unrecognised preprocessor directive.  So ensure they're wrapped.
15165
15166 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15167
15168         * src/exporter.C (Export): Give an error message when path to file
15169         contains spaces.
15170
15171 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15172
15173         * LaTeX.C (deplog): Always check that foundfile exists.
15174
15175 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15176
15177         * lyx_main.h:
15178         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15179
15180 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * tabular.[Ch] (getLabelList): implement new method
15183
15184         * minibuffer.h: comment ouf setTiimer
15185
15186         * minibuffer.C (ExecutingCB): constify res
15187         (peek_event): constify s
15188         (Set): constify ntext
15189         (Init): constify nicename
15190
15191         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15192
15193         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15194         (savePosition): use two params to Minibuffer::Set
15195         (restorePosition): ditto
15196
15197 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15198
15199         * lyx_main.C: include language.h
15200
15201         * Makefile.am (lyx_main.o): add language.h
15202
15203 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * exporter.C:
15206         * paragraph.C:
15207         * screen.C:
15208         * tabular.C:
15209         * CutAndPaste.C: include gettext.h
15210
15211         * lyxfont.h: remove old hack with ON and OFF.
15212
15213         * lyxparagraph.h:
15214         * lyxfont.h: do not include language.h...
15215
15216         * BufferView2.C:
15217         * LaTeXFeatures.C:
15218         * Painter.C:
15219         * bufferview_funcs.C:
15220         * font.C:
15221         * lyxfont.C:
15222         * text.C:
15223         * text2.C:
15224         * trans_mgr.C:
15225         * paragraph.C: ... but do it here instead
15226
15227 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15228
15229         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15230
15231         * tabular.C: small reformat
15232
15233         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15234         NEW_INSETS version
15235         (GetChar): ditto
15236         (BreakParagraph): ditto
15237         (SetOnlyLayout): ditto
15238         (SetLayout): ditto
15239
15240         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15241         with one arg less.
15242
15243         * lastfiles.C: removed most using decl, add std:: where needed
15244
15245         * buffer.C: ws changes
15246
15247         * MenuBackend.C (class compare_format): put into anon namespace
15248         (expand): constify label, names, action, action2
15249         (expand):
15250
15251         * text.C (SingleWidth): constify font
15252         (IsBoundary): constify rtl2
15253         (GetVisibleRow): constify ww
15254
15255         * LaTeX.C (deplog): constify logfile
15256
15257         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15258         start_x, end_x
15259         (workAreaExpose): constify widthChange, heightChange
15260
15261         * lyxrow.C (par): moved
15262         (height): moved
15263         (next): moved
15264         * lyxrow.h: as inlines here
15265
15266         * lyxfont.h (shape): moved from lyxfont.C
15267         (emph): moved from lyxfont.C
15268
15269         * lyxfont.C (LyXFont): use initialization list for all
15270         constructors
15271         (shape): move to lyxfont.h as inline
15272         (emph): move to lyxfont.h as inline
15273
15274
15275 2001-04-04  Juergen Vigna  <jug@sad.it>
15276
15277         * vspace.C: had to include stdio.h for use of sscanf
15278
15279 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15280
15281         * BufferView.h:
15282         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15283         independent of xforms.
15284
15285 2001-04-02  Juergen Vigna  <jug@sad.it>
15286
15287         * spellchecker.C: fixed namespace placing!
15288
15289 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15290
15291         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15292         the LyXParagraph * is 0.
15293
15294 2001-03-29  Juergen Vigna  <jug@sad.it>
15295
15296         * vspace.C: added support for %, c%, p%, l%.
15297         (stringFromUnit): added helper function.
15298         (asLatexString): changed to give right results for the %-values.
15299
15300         * buffer.C: convert the widthp in a width%.
15301
15302 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15303
15304         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15305         figureForm.[Ch].
15306
15307         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15308         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15309
15310         * lyx_cb.[Ch]: see above.
15311
15312         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15313         form1.[Ch].
15314
15315         * form1.[Ch]:
15316         * lyx.[Ch]: replaced by figure_form.[Ch].
15317
15318         * lyx_gui.C:
15319         * lyx_gui_misc.C:
15320         * lyxfunc.C: changed headers associated with above changes.
15321
15322 2001-03-27  Juergen Vigna  <jug@sad.it>
15323
15324         * BufferView_pimpl.C: set the temporary cursor right!
15325
15326 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15327
15328         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15329
15330 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15331
15332         * LString.h: removed "using std::getline"!
15333
15334         * BufferView_pimpl.C (Dispatch): changes due to changes in
15335         InsetInclude::Params.
15336
15337         * buffer.C (tag_name): removed redundant break statements as they were
15338         producing lots of warnings with my compiler.
15339
15340 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15341
15342         * LString.h: add "using std::getline" when using the real <string>.
15343
15344 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15345
15346         * buffer.C: removed bitset usage.
15347         PAR_TAG moved to an anonymous name space.
15348         (tag_name): new funtion, also in the anonymous namespace.
15349         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15350         (makeDocBookFile): clean code. Completed transition from string arrays
15351         to string vectors.
15352         (SimpleDocBookOnePar): code clean.
15353
15354 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15355
15356         * tabular.C: add some comments.
15357
15358 2001-03-22  Juergen Vigna  <jug@sad.it>
15359
15360         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15361         compatibility read a bit and fixed bug with minipage in different
15362         depth.
15363
15364 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15365
15366         * buffer.C (pop_tag): removed.
15367         (push_tag): removed.
15368         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15369         array replaced with vector. Added support for CDATA sections.
15370         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15371         at any nest level.
15372         (makeDocBookFile): XML conformant declaration of CDATA section,
15373         fixed bug related to <emphasis> in the first paragraph char.
15374         (sgmlOpenTag): exclude empty tags.
15375         (sgmlCloseTag): ditto.
15376
15377         * buffer.h (pop_tag): removed.
15378         (push_tag): removed.
15379
15380 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15381
15382         * language.h (Languages): added size_type and size().
15383
15384 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15385
15386         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15387         response on compability reading of minipages. One probliem is that
15388         the old usage of minipages was «flertydig»
15389
15390         * several files here and in subdirs: don't use static at file
15391         scope use anon namespaces instead.
15392
15393 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15394
15395         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15396         LaTeX output. This is necessary for Literate document
15397         processing.
15398
15399 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15400
15401         * buffer.C: insert hfill when needed.
15402
15403         * tabular.C (l_getline): use string::erase, small whitespace change.
15404
15405         * BufferView_pimpl.C: try the anon namespace.
15406         * WorkArea.C: ditto
15407
15408 2001-03-16  Juergen Vigna  <jug@sad.it>
15409
15410         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15411         otherwise it won't open options-dialogs.
15412
15413         * buffer.C: honor pextraWidth(p) on converting minipages.
15414
15415         * tabular.C (l_getline): changed the functions to strip trailing \r.
15416
15417 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15418
15419         * BufferView_pimpl.C:
15420         * minibuffer..C: added "using SigC::slot" declaration.
15421
15422 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15423
15424         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15425
15426         * text2.C: ditto
15427
15428         * text.C: ditto
15429
15430         * paragraph.C: ditto
15431
15432         * lyxtext.h: NO_PEXTRA
15433
15434         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15435
15436         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15437         * ParameterStruct.h: ditto
15438         * ParagraphParameters.h: ditto
15439         * lyxparagraph.h: ditto
15440
15441 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15442
15443         * buffer.C: add compability for minipage alignment.
15444         (latexParagraphs): remove unwanted pextra check.
15445
15446         * several files: remove CXX_WORKING_NAMESPACES
15447
15448         * buffer.C (pop_tag): tie is in namespace boost
15449
15450         * BufferView.h: noncopyable is in namespace boost
15451         * lyxlex.h: ditto
15452         * lyx_main.h: ditto
15453         * lyx_gui.h: ditto
15454         * layout.h: ditto
15455         * lastfiles.h: ditto
15456         * bufferlist.h: ditto
15457         * ShareContainer.h: ditto
15458         * LyXView.h: ditto
15459         * LyXAction.h: ditto
15460         * LaTeX.h: ditto
15461
15462 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15463
15464         * Merging changes from BRANCH_MVC back into HEAD.
15465
15466         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15467
15468 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15469
15470         * BufferView_pimpl.C: change from intl.C
15471
15472         * combox.h:
15473         * combox.C:
15474         * Makefile.am: move combox.*
15475
15476         * form1.h:
15477         * form1.C:
15478         * lyx_gui.C:
15479         * intl.h:
15480         * intl.C: remove dialog (covered by prefs)
15481
15482 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15483
15484         * lyxfunc.C (Dispatch): removed redundant break statement.
15485
15486 2001-03-14  Juergen Vigna  <jug@sad.it>
15487
15488         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15489
15490 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15491
15492         * buffer.C: add hack to fix compability reading of minipages.
15493
15494 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15495
15496         * buffer.C (getLists): Cleanup.
15497
15498 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * lyxfont.C (update): don't honor toggleall on font size.
15501
15502 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15503
15504         * bmtable.c:
15505         * bmtable.h:
15506         * Makefile.am: moved to frontends/xforms/
15507
15508         * lyx_gui_misc.C:
15509         * lyxfunc.C:
15510         * BufferView_pimpl.C: changes for moved mathpanel
15511
15512 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15513
15514         * gettext.h: fix gettext_init() in --disable-nls
15515
15516 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15517
15518         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15519
15520 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15521
15522         * lyx.C:
15523         * lyx.h: strip external form
15524
15525 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15526
15527         * BufferView_pimpl.C: add comment, destroySplash()
15528
15529 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15530
15531         * BufferView_pimpl.C:
15532         * LyXAction.C:
15533         * buffer.C:
15534         * commandtags.h:
15535         * lyxfunc.C: use re-worked insetinclude
15536
15537 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15538
15539         * buffer.C: add using std::stringstream.
15540
15541         * lyx_cb.C: readd using std::ios.
15542
15543         * buffer.C: add using std::map.
15544
15545         * BufferView_pimpl.C: add using std::vector.
15546
15547         * ShareContainer.h: add std:: to swap.
15548
15549         * buffer.h: add some typedefs
15550         * buffer.C (getLists): use them
15551         (getLists): renamed from getTocList.
15552         add a counter for the different float types and use it in the
15553         generated string.
15554         (getLists): use the same counter for the NEW_INSETS and the "non"
15555         NEW_INSETS
15556
15557         * lyx_cb.h: remove unused items, includes, using etc.
15558
15559         * ShareContainer.h: remove some commented code, add more comments
15560         and "documentation".
15561
15562 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15563
15564         * buffer.C (getTocList): make the list also when NEW_INSETS is
15565         defined.
15566
15567         * buffer.h: remove TocType
15568
15569         * buffer.C (getTocList): change to return a map<string,
15570         vector<TocItem> >, implement for dynamic number of list.
15571
15572         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15573         * text2.C (PasteSelection): adjust
15574         * CutAndPaste.C (pasteSelection): adjust
15575
15576         * FloatList.C (FloatList): update from the new_insets branch.
15577         * Floating.[Ch]: ditto
15578         * LaTeXFeatures.C: ditto
15579         * buffer.C: ditto
15580         * lyxlex_pimpl.C: ditto
15581
15582         * paragraph.C (Last): remove when NEW_INSETS is defined.
15583
15584         * other file: changes because of the above.
15585
15586 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15587
15588         * lyxparagraph.h: rename next to next_, previous to previous_,
15589         make them private for NEW_INSETS. Rename Next() to next(),
15590         Previous() to previous().
15591
15592         * other files: changes because of the above.
15593
15594 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15595
15596         * BufferView.h:
15597         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15598         problem.
15599
15600 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15601
15602         * main.C (main): pass lyx_localedir to gettext_init().
15603
15604         * gettext.h: remove locale_init and gettext_init macros
15605
15606         * gettext.C (locale_init): new function
15607         (gettext_init): new function
15608
15609         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15610         setlocale().
15611
15612 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15613
15614         * Moved credits to frontends:
15615         * credits.[Ch]: removed
15616         * credits_form.[Ch]: removed
15617         * lyx_gui_misc.C: remove credits stuff
15618         * Makefile.am:
15619
15620 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15621
15622         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15623
15624         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15625         unneeded destructor.
15626
15627         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15628         a standalone pointer again.
15629
15630         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15631
15632 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15633
15634         * Makefile.am:
15635         * filedlg.h:
15636         * filedlg.C:
15637         * LyXAction.C:
15638         * ToolbarDefaults.C:
15639         * bufferlist.C:
15640         * commandtags.h:
15641         * form1.C:
15642         * form1.h:
15643         * lyx_cb.C:
15644         * lyx_cb.h:
15645         * lyxfunc.h:
15646         * lyxfunc.C:
15647         * BufferView_pimpl.C: use new file dialog in GUII
15648
15649         * lyx_cb.h:
15650         * lyx_cb.C: remove LayoutsCB to Toolbar
15651
15652 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15653
15654         * ShareContainer.h (get): add std:: qualifier
15655
15656 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15657
15658         * ShareContainer.h: define a proper ShareContainer::value_type
15659         type (and use typename to please compaq cxx)
15660
15661 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15662
15663         * lyxparagraph.h: move serveral local vars to
15664         ParameterStruct/ParagraphParameters., use ShareContainer in
15665         FontTable., make vars in FontTable private and add getter and
15666         setter.
15667
15668         * paragraph.C: changes because of the above.
15669
15670         * lyxfont.h: remove copy constructor and copy assignment. (the
15671         default ones is ok), move number inside FontBits. move inlines to
15672         lyxfont.C
15673
15674         * lyxfont.C: add number to initializaton of statics, move several
15675         inlines here. constify several local vars. some whitespace
15676         cleanup. Dont hide outerscope variables.
15677
15678         * Spacing.h: add two new constructors to match the set methods.
15679
15680         * ShareContainer.h: new file, will perhaps be moved to support
15681
15682         * ParameterStruct.h: new file
15683
15684         * ParagraphParameters.h: new file
15685
15686         * ParagraphParameters.C: new file
15687
15688         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15689         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15690
15691         * BufferView_pimpl.C: ParagraphParameter changes.
15692         * buffer.C: Likewise.
15693         * bufferview_funcs.C: Likewise.
15694         * text.C: Likewise.
15695         * text2.C: Likewise.
15696
15697 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15698
15699         * lyxfind.C (LyXReplace): do not redefine default argument in
15700         implementation.
15701         (IsStringInText): ditto
15702         (SearchForward): ditto
15703         (SearchBackward): ditto
15704
15705 2001-03-06  Juergen Vigna  <jug@sad.it>
15706
15707         * lyxfind.C (IsStringInText): put parentes around expressions.
15708
15709 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15710
15711         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15712
15713 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15714
15715         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15716
15717         * stl_string_fwd.h: add comment
15718
15719         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15720
15721         * tabular.h:
15722         * tabular.C: remove unused DocBook methods
15723
15724         * intl.C:
15725         * language.C:
15726         * paragraph.C:
15727         * buffer.C:
15728         killed DO_USE_DEFAULT_LANGUAGE
15729
15730 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15731
15732         * lyx_gui.C: do not include language.h.
15733
15734         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15735         arguments in function implementation.
15736
15737 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15738
15739         * BufferView_pimpl.C: add <ctime>
15740
15741 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15742
15743         * BufferView_pimpl.C: add using std::find_if
15744
15745 2001-02-27  José Matos  <jamatos@fep.up.pt>
15746
15747         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15748         by OnlyPath.
15749
15750 2001-02-11  José Matos  <jamatos@fep.up.pt>
15751
15752         * buffer.C (makeDocBookFile): command styles now have a parameter as
15753         "title" by default.
15754
15755 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15756
15757         * layout_forms.[Ch]: removed
15758         * lyx_cb.[Ch]: out character
15759         * lyx_gui.C: out character
15760         * lyx_gui_misc.C: out character
15761         * bufferview_funcs.C: : out character,
15762         added toggleall as parameter in ToggleAndShow
15763
15764 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15765
15766         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15767
15768         * text2.C (SetCurrentFont): Disable number property at boundary.
15769
15770 2001-02-26  Juergen Vigna  <jug@sad.it>
15771
15772         * lyxfunc.C (getStatus): added a string argument override function so
15773         that this is correctly called from LyXFunc::Dispatch if it contains a
15774         do_not_use_argument which is used!
15775         (Dispatch): added check for "custom" export and call appropriate func.
15776
15777 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15778
15779         * lyxrc.C: Add language_command_local, language_use_babel and
15780         language_global_options.
15781
15782         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15783
15784         * buffer.C (makeLaTeXFile): Use language_use_babel and
15785         language_global_options.
15786
15787 2001-02-23  Juergen Vigna  <jug@sad.it>
15788
15789         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15790         which works with LyXText and putted it inside BufferView. Here now we
15791         only call for that part the BufferView::Dispatch() function.
15792
15793         * BufferView.C (Dispatch): added.
15794
15795         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15796         functions which needs to use a LyXText over from LyXFunc.
15797         (MenuInsertLyXFile): added
15798         (getInsetByCode): added
15799         (moveCursorUpdate): added
15800         (static TEXT): added
15801
15802 2001-02-22  Juergen Vigna  <jug@sad.it>
15803
15804         * BufferView_pimpl.C (update): call a status update to see if LyXText
15805         needs it.
15806
15807 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15808
15809         * vc-backend.C (revert): implement for CVS
15810         (getLog): implement for CVS
15811
15812 2001-02-20  Juergen Vigna  <jug@sad.it>
15813
15814         * text2.C (ClearSelection): added BufferView param for inset_owner call
15815
15816         * lyxfunc.C (TEXT): added this function and use it instead of
15817         directly owner->view()-text of getLyXText().
15818
15819 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15820
15821         * src/layout_forms.C: out preamble
15822         * src/layout_forms.h: out preamble
15823         * src/lyx_cb.C: out preamble
15824         * src/lyx_cb.h: out preamble
15825         * src/lyx_gui.C: out preamble
15826         * src/lyx_gui_misc.C: out preamble
15827         * src/lyxfunc.C: connect with guii preamble
15828
15829 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15830
15831         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15832
15833 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15834
15835         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15836         whether to run bibtex.
15837
15838 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15839
15840         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15841
15842 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15843
15844         * Makefile.am (lyx_SOURCES): removed bibforms.h
15845
15846         * vspace.h: doxygen
15847
15848         * text.C (GetVisibleRow): make several local vars const
15849
15850         * tabular.C: small cleanup.
15851
15852         * lyxserver.C (callback): use compare instead of strncmp
15853
15854         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15855         inlines to after class or to paragraph.C
15856
15857         * lyxfont.h: remove friend operator!=
15858
15859         * converter.h: move friend bool operator< to non friend and after
15860         class def.
15861
15862         * combox.h: small cleanup
15863
15864         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15865         to inlines after class def.
15866
15867         * buffer.C (pop_tag): use string operations instead of strcmp
15868
15869         * bmtable.c: doxygen, small cleanup
15870
15871         * LaTeX.h: remove friend operator==
15872
15873 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15874
15875         * screen.C:
15876         * lyxrc.[Ch]:
15877         * lyxfunc.C:
15878         * lyxfont.[Ch]:
15879         * lyx_cb.C:
15880         * intl.[Ch]:
15881         * commandtags.h:
15882         * buffer.C:
15883         * WorkArea.[Ch]:
15884         * LyXAction.C:
15885         * BufferView_pimpl.C:
15886         * BufferView.[Ch]: remove cruft
15887
15888 2001-02-14  Juergen Vigna  <jug@sad.it>
15889
15890         * lyxfunc.C: removed #if 0 unused code
15891
15892         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15893
15894         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15895
15896         * text2.C (SetSelection): added a BufferView * parameter
15897
15898 2001-02-13  Juergen Vigna  <jug@sad.it>
15899
15900         * lyxfunc.C (Dispatch): fixed protected blank problem.
15901         * BufferView2.C (protectedBlank): added LyxText * parameter.
15902
15903         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15904         (AppendColumn): same as above for column_info.
15905
15906         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15907         (moveCursorUpdate): use a LyXText param for support of InsetText.
15908
15909         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15910         (tripleClick): ditto
15911
15912         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15913
15914         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15915
15916         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15917
15918         * text2.C (SetSelection): set correct update status if inset_owner
15919         (ToggleFree): ditto
15920
15921 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15922
15923         * tabular.C: remove some commented code.
15924
15925 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15926
15927         * BufferView_pimpl.C: call hideSplash()
15928
15929         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15930
15931         * include_form.h:
15932         * bibforms.h: remove
15933
15934         * lyxfunc.C:
15935         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15936           add LFUN_CHILD_CREATE
15937
15938         * counters.h: fix tiny typo
15939
15940         * lyx_cb.C:
15941         * lyx.h:
15942         * lyx_gui.C:
15943         * lyx.C: move splash to frontends/xforms/
15944
15945         * lyx_gui_misc.C: move Include and Bibform to frontends
15946
15947         * lyxvc.h: clarify comment
15948
15949         * vspace.C: tiny housekeeping
15950
15951 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15952
15953         * text.C (PrepareToPrint): RTL Fix.
15954
15955         * paragraph.C (GetUChar): New method.
15956         (String):  Use GetUChar.
15957
15958         * buffer.C (asciiParagraph): Use GetUChar.
15959
15960 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15961
15962         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15963
15964 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15965
15966         * buffer.h:
15967         * buffer.C: rename to getLogName(), handle
15968           build log / latex log nicely
15969
15970 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * MenuBackend.C:
15973         * MenuBackend.h: remove support for reference menuitem type.
15974
15975 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15976
15977         * BufferView_pimpl.C: housekeeping
15978         * BufferView_pimpl.h:
15979         * LyXView.h:
15980         * Makefile.am:
15981         * Timeout.C:
15982         * Timeout.h:
15983         * minibuffer.h: move Timeout GUI-I
15984
15985 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15986
15987         * lyxrc.C (read): Update converters data-structures.
15988
15989 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15990
15991         * LaTeX.h (operator!=): add operator != for Aux_Info
15992
15993 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15994
15995         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15996
15997         * LaTeXLog.C: deleted, useful code moved to Buffer
15998
15999         * buffer.h:
16000         * buffer.C: new function getLatexLogName()
16001
16002         * lyx_gui_misc.C:
16003         * lyx_gui.C:
16004         * lyxvc.C:
16005         * lyxvc.h:
16006         * lyxfunc.C: use frontends for LaTeX and VC logs
16007
16008 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16009
16010         * LaTeX.h: yet another std:: that Allan forgot.
16011
16012         * Variables.C (set): renamed from isset(), because this clashes
16013         with some HP-UX macros (grr).
16014
16015 2001-02-06  Allan Rae  <rae@lyx.org>
16016
16017         * LaTeX.h: Another bug fix.  Missing std:: this time.
16018
16019 2001-02-04  Allan Rae  <rae@lyx.org>
16020
16021         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16022         floats problem. I've left it commented out because it's not quite
16023         correct.  It should also test that the current object is a table or
16024         figure inset.  But I haven't gotten around to figuring out how to do
16025         that.  I *think* it'll be something like: "table" == inset.type()
16026
16027         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16028         bool.
16029
16030 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16031
16032         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16033         all the citation/databases/styles in the auxilary file.
16034         (run): Rerun latex if there was a babel language error.
16035
16036 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16037
16038         * text.C (Backspace): Preserve the font when changing newline char
16039         with a space.
16040         (BreakParagraph): If the cursor is before a space, delete the space.
16041
16042         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16043
16044 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16045
16046         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16047         new argument (code).
16048         (ChangeCitationsIfUnique): New method.
16049
16050         * paragraph.C (GetPositionOfInset): Handle bibkey.
16051
16052 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16053
16054         * BufferView_pimpl.h: change type of Position::par_pos to
16055         LyXParagraph::size_type.
16056
16057 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16058
16059         * BufferView_pimpl.C (savePosition, restorePosition): Write
16060         messages to minibuffer.
16061
16062 2001-01-28  José Matos  <jamatos@fep.up.pt>
16063
16064         * buffer.C (makeDocBookFile): adds support for document language.
16065         A silly restriction on the name of LatexCommand types where removed.
16066         Added support for CDATA sections, allows to chars unescaped, used
16067         among others in code, to avoid escape < and >.
16068
16069 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16070
16071         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16072         saved positions instrad of a stack. Furthermore, a position is
16073         stored using paragraph id/paragraph position.
16074
16075         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16076         Remove LFUN_REF_BACK.
16077
16078 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16079
16080         * converter.C (dvipdfm_options): New method.
16081
16082 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16083
16084         * vspace.C (isValidLength): Fix for empty input string.
16085
16086 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16087
16088         * LyXAction.C (init): change description of LFUN_FIGURE to
16089         "Insert Graphics"
16090
16091 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16092
16093         * LaTeX.C: add using directive
16094
16095 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16096
16097         * MenuBackend.C (expand): Fix the sorting of the formats.
16098
16099 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16100
16101         * lyx_main.C: tiny error message fix
16102
16103 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16104
16105         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16106         calling fl_initialize(). This fixes the problem with ',' as
16107         decimal separator in text files.
16108
16109 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * trans.C (process): Fix the keymap bug.
16112
16113 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16114
16115         * LaTeX.C (scanAuxFiles): New method. Provides support for
16116         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16117         (scanLogFile) Scan for "run BibTeX" messages.
16118
16119         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16120         OT1 font encoding. Also, load the aecompl package if the ae
16121         package is loaded.
16122
16123         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16124
16125 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16126
16127         * texrow.C (increasePos): turn two error messages into debug
16128         messages.
16129
16130 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16131
16132         * LaTeX.C (scanAux): Handle the \@input macro.
16133         (runBibTeX): Use scanAux().
16134
16135         * language.C (latex_options_): New field.
16136
16137         * LaTeXFeatures.C (getMacros): Add language macros.
16138
16139         * buffer.C (makeLaTeXFile): Small fix.
16140
16141 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16142
16143         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16144
16145         * text2.C: add a using directive.
16146
16147 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16148
16149         * BufferView2.C:
16150         * lyx_gui_misc.h:
16151         * lyxfr1.C:
16152         * lyxfunc.C: kill LyXBell.
16153
16154 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16155
16156         * text.C (IsBoundary): Remove the error message
16157
16158         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16159
16160         * lyxrc.C (setDefaults): Correct initialization value for
16161         font_norm_type.
16162
16163 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16164
16165         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16166         gotoError().
16167
16168         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16169         and GotoNextNote().
16170
16171         * src/LyXAction.C: Added reference-next.
16172
16173         * text.C (InsertChar): Use contains instead of strchr.
16174
16175         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16176
16177 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16178
16179         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16180         alignment commands (when needed).
16181
16182         * text.C (InsertChar): Add ':' to number separator chars.