]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
dc4fac761fee1223b484b11cac678145964d40bb
[lyx.git] / src / ChangeLog
1 2004-10-28  José Matos  <jamatos@lyx.org>
2
3         * output_docbook.C (makeEnvironment): move id to broadest possible scope.
4
5         * sgml.C (openTag): apply substitution of <> for all attribuites.
6
7 2004-10-28  José Matos  <jamatos@lyx.org>
8
9         * buffer.C (makeLinuxDocFile, makeDocBookFile):
10         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
11         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
12
13         * sgml.[Ch]: new version for open and closeTag for paragraph and
14         for strings. Now they handle the ids of paragraphs.
15
16 2004-10-26  Angus Leeming  <leeming@lyx.org>
17
18         * Makefile.am: add mover.[Ch].
19
20         * converter.C (convert, move): use the new Movers to move external
21         files to the temp directory.
22
23         * lyx_main.C (init): ensure that the global system_movers data
24         is initialised.
25
26         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
27         preferences file.
28
29         * mover.[Ch]: new files, defining a Mover as a utility to move an
30         external file between directories and, if necessary, manipulate this
31         file using a helper script.
32
33 2004-10-25  José Matos  <jamatos@lyx.org>
34
35         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
36
37 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * sgml.C (escapeString): fix warning in a better way
40
41 2004-10-25  José Matos  <jamatos@lyx.org>
42
43         * sgml.C (escapeString): import the require boosts header file for
44         tie, and avoid a signed unsigned comparison.
45
46 2004-10-25  José Matos  <jamatos@lyx.org>
47
48         * sgml.h: add #include <string>
49
50 2004-10-25  José Matos  <jamatos@lyx.org>
51
52         * sgml.[Ch] (escapeString): new function to escape all the string.
53
54 2004-10-24  José Matos  <jamatos@lyx.org>
55
56         * paragraph.[Ch] (getFirstWord): new function to get the first
57         word. Useful for description.
58         (simpleDocBookOnePar): remove depth argument, add another that
59         says where to start the paragraph.
60
61         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
62         use the new functions to fix cleanly the support for descriptions.
63
64 2004-10-24  José Matos  <jamatos@lyx.org>
65
66         * buffer.C (makeLinuxDocFile, makeDocBookFile):
67         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
68         * output_linuxdoc.C (linuxdocParagraphs):
69         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
70         add buffer as argument.
71
72 2004-10-24  José Matos  <jamatos@lyx.org>
73
74         * output_docbook.C (makeEnvironment, searchEnvironment): place
75         CDATA inside paragraphs and fix scope for listitems.
76
77 2004-10-24  José Matos  <jamatos@lyx.org>
78
79         * output_docbook.C: remove using statement for stack.
80
81 2004-10-23  José Matos  <jamatos@lyx.org>
82
83         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
84         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
85         docbook. The new scheme is recursive and makes use of iterators, the
86         same as latex export works.
87         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
88         directly with the paragraph contents. This code was moved up to
89         output_docbook.C (docbookParagraphs).
90         * sgml.C (openTag, closeTag): removed unneeded newlines.
91         (closeEnvTags) removed.
92
93 2003-10-23  André Pönitz  <poenitz@gmx.net>
94
95         * undo.C (textUndoOrRedo):
96         * dociterator.C (asDocIterator): work around crash
97
98         * cursor.C (getStatus): replace ASSERT by more verbose error message
99           and manual correction of the problem. Should increase stability
100           while providing more sensible information.
101
102 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
105
106         * bufferlist.C (previous, next): new methods
107
108         * lfuns.h:
109         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
110
111 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
112
113         * buffer.C (makeDocBookFile): add dsssl stylesheet control
114         entities to preamble.
115
116 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * messages.C (Pimpl): strip off translation context information
119
120 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
123         the cursor is correct (bug 1694)
124
125 2004-10-13  José Matos  <jamatos@lyx.org>
126
127         * output_docbook.C (docbookParagraphs): fix closing tags in the
128         end of the document.
129
130 2004-10-09  José Matos  <jamatos@lyx.org>
131
132         * buffer.C: format up to 237.
133         * bufferparams.C (write): use tostr to convert booleans to strings.
134
135 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
136
137         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
138
139 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * LaTeX.C: implement use of babel language in xindy.
142
143 2004-10-05  José Matos  <jamatos@lyx.org>
144
145         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
146         Add new translators to help reading and writing the lyx file.
147
148 2004-10-05  José Matos  <jamatos@lyx.org>
149
150         * ParagraphParameters.C (read):
151         * text.C (readParToken): replace nexToken by more appropriate lex
152         methods.
153
154 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
155
156         * LaTeX.C (runMakeIndex):
157         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
158         (usually 'makeindex') configurable.
159
160         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
161         with a variable rather than with a number.
162
163 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * output_latex.C (TeXOnePar): make sure font setting is the first
166         thing that gets output (and the last at the end). Should fix bug
167         1404.
168
169 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
170
171         * pch.h: use proper signal include
172
173         * LaTeX.h: Use preferred calling of Boost.Signal
174         * buffer.h: ditto
175
176 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
177
178         * pch.h: dont include <boost/function/function0.hpp>
179
180         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
181
182         * paragraph_pimpl.h: remove usage of ShareContainer
183
184         * paragraph_pimpl.C: remove initialization of ShareContainer.
185
186 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         Fix bug #1666
189
190         * BufferView.C (putSelectionAt): change the semantics when
191         backwards == true: now, this just swaps cursor and anchor wrt the
192         forward case
193
194         * BufferView.h (putSelectionAt): add some documentation
195
196         * lyxfind.C (findBackwards): rewrite using while(). In particular,
197         make sure backwardChar is done at least once (to avoid getting
198         stuck)
199         (findNextChange): use putSelectionAt in the forward direction
200         (operator()): use Paragraph::isWord
201
202 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
203
204         * Spacing.C (set): c_str fix
205
206 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * lyx_cb.C (Reconfigure): quote the name of configure script in
209         case it contains spaces
210
211 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
212
213         * client: new dir
214
215         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
216         (BOOST_LIBS): use top_buildir when looking for the file
217
218 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
219
220         * pch.h: do not use include boost/format.hpp, multiple symbols
221                 will result (gcc bug)
222
223
224 2004-08-23  José Matos  <jamatos@lyx.org>
225
226         * bufferparams.C (readToken): fix reading of the author field.
227
228 2004-08-20  José Matos  <jamatos@lyx.org>
229
230         * lyxrc.C: remove support/translator.h inclusion since it is not used.
231
232 2004-08-20  José Matos  <jamatos@lyx.org>
233
234         * lyxlex.[Ch] (findToken): remove function.
235
236         * ParagraphParameters.C (findToken):
237         * bufferparams.C (findToken): replace call for previous function
238         with local copy. This local function has one more argument, the
239         read string argument.
240
241 2004-08-16  José Matos  <jamatos@lyx.org>
242
243         * ParagraphParameters.C (write):
244         * Spacing.C (writeFile):
245         * bufferparams.C (writeLaTeX):
246         * lyx_cb.C (Reconfigure):
247         * paragraph.C (write):
248         * tabular.C (write): remove unnecessary space at end of line.
249
250
251 2004-08-16  José Matos  <jamatos@lyx.org>
252
253         * text.C (readParagraph): remove debug message.
254
255 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
258         crash
259
260         * output_plaintext.C (asciiParagraph): set depth correctly
261
262         * outputparams.h: add member depth
263
264         * paragraph_funcs.C (ownerPar): remove.
265
266         * text2.C (setCounter): remove first_pit; comment out some
267         non-working code that uses ownerPar
268
269         * BufferView.C (getParentLanguage): remove. Not used anymore, and
270         uses ownerPar
271
272 2004-08-16  José Matos  <jamatos@lyx.org>
273
274         * text.C (readParToken, readParagraph, read): report all unknown tokens.
275         For the same level of importance use the same chanel to report problems.
276         (read): add code to deal with \begin_body and \end_body.
277
278
279 2004-08-15  José Matos  <jamatos@lyx.org>
280
281         * lyxlex.C (getString): fix comment, buffer::readBody is now
282         buffer:readDocument.
283
284         * tex-strings.C (string_papersize): Default -> default,
285         Custom -> custom, for consistency with other options.
286
287 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
288
289         * pch.h: new file
290
291         * Makefile.am: support pch
292
293 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * text.C (readParToken): remove the static LyXFont variable and
296         pass it as a parameter instead. This fixes a nasty bug where an
297         inset will be inserted with a bad font in some situations
298         (readParagraph): adapt
299
300         * text2.C (setCounter): reduce number of calls to pars_[pit]
301
302         * text.C (singleWidth): add an assert, fix a test
303
304         * rowpainter.C (paintText): reduce number of calls to singleWidth
305
306         * paragraph.C (isHfill):
307         (isNewline): ws only
308
309 2004-08-14  André Pönitz  <poenitz@gmx.net>
310
311         * text.C:
312         * text2.C:
313         * rowpainter.C:
314         * lyxtext.h (several functions): use a Paragraph & argument
315         instead of par_type
316
317 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * metricsinfo.h: add a new field ltr_pos to PainterInfo
320
321         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
322
323         * text.C (singleWidth): remove useless test
324
325 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * tabular.h: remove bogus comments
328
329         * tabular.C (getDescentOfRow):
330         (isPartOfMultiColumn): add assertions
331
332         * lyxlength.C (inPixels): remove #warning
333
334 2004-08-14  André Pönitz  <poenitz@gmx.net>
335
336         * paragraph.h: inline getChar()
337
338         * BufferView.h: remove unused declarations
339
340 2004-08-14  José Matos  <jamatos@lyx.org>
341
342         * Buffer.[Ch] (readDocument): new name for old readBody.
343         * Buffer.C: new file format, new keywords: \begin_document,
344         \begin_header, \begin_body, \end_body.
345
346         * bufferparams.C (readToken): replace all calls to lex.nextToken
347         by lex.next(). Do the same to eatLine except where really needed.
348
349         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
350         line when writing to the lyx file.
351
352         * output_plaintext.C (asciiParagraph): fix Bibliography style
353         handling.
354
355         * text.C (read): fix end of file handling.
356
357 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * MenuBackend.C (Menu::operator[]): new method to access
360         individual menu items
361         (Menu::hasFunc): new method. search for an item that corresponds
362         to a given func
363         (MenuBackend::specialMenu): new method
364         (MenuBackend::expand): if a special menu has been set, skip
365         entries whose func() appears in this menu
366
367 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
368
369         * text3.C: use Debug::DEBUG a bit more
370
371         * text.C (leftMargin): try to simplify a tiny bit change var x to
372         l_margin. Dont output the wide margins always.
373         (rightMargin): no margin in inner texts
374
375         * rowpainter.h (nestMargin): new func
376         (changebarMargin): new func
377         (rightMargin): new func
378
379         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
380         now functions.
381         (paintLast): ditto
382
383         * factory.C (createInset): modify setDrawFrame
384
385         * cursor.C: use Debug::DEBUG a bit more
386
387 2004-08-14  André Pönitz  <poenitz@gmx.net>
388
389         * coordcache.[Ch]:
390         * Makefile.am: new files to accomodate an 'external' (x,y)-position
391         cache for all insets in (at least partially) visible (top-level)
392         paragraphs.
393
394         * BufferView_pimpl.C: reset external coord cache before every update.
395         This means the coord cache only contains valid entries.
396
397 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
398
399         bug 1096
400         * BufferView_pimpl.C (getInsetByCode): move function out of class
401         and change in to a template in anon namespace. Also fix to do what
402         suits us better.
403
404 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
405
406         bug 1305
407         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
408         of char
409         (breakParagraph): rename par to par_offset and use a local
410         reference. Add code to keep the language over a rebreak.
411         (breakParagraphConservative): rename par to par_offset, use a
412         local reference
413         (mergeParagraph): ditto
414         (outerHook): ditto
415         (isFirstInSequence): ditto
416         (outerFont): rename pit to par_offset
417
418         * paragraph.C: ws change
419         * paragraph.h: ditto
420         * text3.C: ditto
421         * text.C: ditto
422
423 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
426         treatment for ']'
427
428         * paragraph.C (simpleTeXOnePar): when we have a \item with
429         optional argument, enclose the argument with curly brackets (in
430         case it contains a closing square bracket)
431
432         * text2.C (editXY):
433         * text2.C (editXY):
434         * text3.C (checkInsetHit): constify
435
436 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
439         documents (bug 1629)
440
441 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         Fix toggling of collapsable insets with the mouse (bug 1558)
444
445         * lyxfunc.C (dispatch): adapt to LCursor changes
446
447         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
448         make sure that dispatch is not invoked twice
449
450         * cursor.C (needsUpdate): new method
451         (dispatch): return void
452         (result): new method, to access the DispatchResult of the cursor.
453
454 2004-08-13  José Matos  <jamatos@lyx.org>
455
456         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
457
458 2004-08-13  André Pönitz  <poenitz@gmx.net>
459
460         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
461
462         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
463           multiple cells
464
465 2004-08-12  André Pönitz  <poenitz@gmx.net>
466
467         * text3.C: take out the 'cursor right' form insertInset and only
468         do it in those places when it is really needed. Fixes crash on
469         C-m...
470
471 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
474
475         * BufferView_pimpl.C (setBuffer): initialize the current font of
476         the underlying LyXText
477
478 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * kbsequence.C (print): use UI native formatting for menu
481         shortcuts
482
483         * text.C (insertChar): call Paragraph::insertChar with a font
484         argument (cosmetic)
485
486         * paragraph.C (insertInset, insertChar): the version that takes a
487         LyXFont argument is now a wrapper around the other one (the
488         opposite used to be true).
489
490         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
491         argument. Font setting is done in Paragraph now.
492
493 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * outputparams.h: add new members intitle and lang.
496
497         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
498         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
499
500 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
501
502         * text3.C (dispatch): remove special handling of button 4 and 5,
503         it is now taken care of in the frontend code.
504
505 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
506
507         * Spacing.h: add <string> (STLPort compile fix)
508
509 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
510
511         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
512
513 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
514
515         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
516         to bool.
517
518         * converter.C (showMessage): inherit from unary_function, make
519         operator() const.
520
521         * buffer.C (writeFile): initialize retval
522
523         * InsetList.h: rename private variable list to list_
524         * InsetList.[Ch]: adjust accordingly.
525
526 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
527
528         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
529         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
530         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
531         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
532         * ParagraphParameters.C, LaTeXFeatures.C: replace
533         "support/std_sstream.h" with <sstream>
534
535 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
536
537         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
538         * lyxsocket.C (LyXServerSocket): ditto
539         (serverCallback): ditto
540
541 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
542
543         * LaTeXFeatures.C: check release date when loading jurabib.
544
545 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
546
547         * lyxserver.C (startPipe): call register_socket_callback
548         (endPipe): call unregister_socket_callback
549
550 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
551
552         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
553         (LyXServerSocket): register the callback
554         (LyXServerSocket): unregister the callback
555         (fd): delete function
556         (serverCallback): improve error checking and setup the callbacks.
557         (dataCallback): change arg to fd.
558         (writeln): new func (copied fro the client socket) used for server
559         write to client.
560         (LyXDataSocket): simplify
561         (~LyXDataSocket): close ann unregiser callback
562         (server): delete function
563         (fd): delete function
564         (readln): small changes, improve some std::string usage
565         (writeln): constify a bit
566
567 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
570         Qt frontend
571
572 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * BufferView_pimpl.C (setBuffer): set the layout combox value only
575         after it has been populated
576
577 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
578
579         * text2.C (insertInset): move cursor when inserting inset.
580
581 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
582
583         * kbmap.C (findbindings): a couple of new methods. returns a
584         container of kb_sequence objects. The real work is done by the
585         private recursive version
586         (printbindings): uses findbindings to print out a bracketed list
587         of bindings (renamed from findbinding).
588
589         * MenuBackend.C (binding): use kb_keymap::findbindings
590
591         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
592
593 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
594
595         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
596
597 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
598
599         * paragraph.C (isWord): return true on insets that report
600         isLetter().
601
602         * text.C (getWord): use Paragraph::isWord to decide what is in a
603         word and what is not; fix bug 1609.
604
605 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
606
607         * tex-strings.C: add "none" to string_paperpackages[], fixes
608         off-by-one-error in the paperpackage selection.
609
610         * lyxlex.[Ch]:
611         * tex-strings.[Ch]: char const * string[n]
612         -> char const * const string[]
613
614 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
617         command, return early.
618
619 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
620
621         * debug.h: add DEBUG to enum and fix size of ANY.
622
623         * debug.C: add support for Debug::DEBUG
624         (showTags): cast errorTags.level to unsigned int
625
626         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
627         (redoCurrentBuffer): ditto
628         (updateScrollbar): ditto
629         * cursor.C (dispatch): ditto
630         * text2.C (setLayout): ditto
631         (setFont): ditto
632         (updateCounters): ditto
633         (editXY): ditto
634         (deleteEmptyParagraphMechanism): ditto
635
636 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
637
638         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
639         annotations to cleanup the Makefile slightly.
640
641 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         * lyxrc.C: do not set user_email to a default value but use empty
644         instead. The entry used to be translated, which does not work
645         since at the point where lyxrc is constructed there is no
646         translation service available
647
648         * messages.C (getLocaleDir): remove and use directly
649         lyx_localedir() instead
650
651 2004-06-02  Angus Leeming  <leeming@lyx.org>
652
653         Fix crash caused by dereferencing null pointer 'exportdata' in
654         OutputParams by creating a new ExportData variable on the heap,
655         storing it in a boost::shared_ptr.
656         The crash was triggered when generating an Instant Preview
657         of an external inset.
658
659         * Makefile.am: add outputparams.C
660
661         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
662         (c-tor): allocate memory to it.
663
664         * exporter.C (c-tor): associated changes.
665
666 2004-06-01  Angus Leeming  <leeming@lyx.org>
667
668         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
669         contains data before calling isInset(0). (Bug 1513.)
670
671 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
672
673         * exporter.C (checkOverwrite): new method
674         * exporter.C (copyFile): new method
675         * exporter.C (Export): copy referenced files to the document dir
676         * exporter.[Ch]: new class ExportedFile
677         * exporter.[Ch]: new class ExportData. Contains currently the
678         names of referenced external files
679         * outputparams.h: add exportdata member.
680
681 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
682
683         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
684         version.C-tmp
685
686 2004-05-19  Angus Leeming  <leeming@lyx.org>
687
688         * LaTeXFeatures.C:
689         * ToolbarBackend.C:
690         * bufferparams.C:
691         * lyxfunc.C: small changes due to the introduction of namespace
692         lyx::frontend and the moving of namespace biblio to lyx::biblio.
693
694 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
695
696         * text3.C (dispatch): supress update when only moving the cursor
697         * cursor.C (selHandle): remove commented code
698
699 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
700
701         * paragraph.C (startTeXParParams): correct column count
702         * CutAndPaste.C (pasteSelection): remove const_cast
703         * output_docbook.C (docbookParagraphs): remove const_cast
704         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
705         const_cast and return ParagraphList::const_iterator
706         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
707         * output_plaintext.C (writeFileAscii): remove const_cast
708         * paragraph.[Ch] (simpleTeXOnePar): make const
709         * paragraph_funcs.C (outerPar): use const iterators
710         * paragraph_pimpl.C (validate): use const iterators
711         * text.C (setHeightOfRow): use const iterators
712
713 2004-05-17  Angus Leeming  <leeming@lyx.org>
714
715         * lfuns.h:
716         * LyXAction.C (init): new LFUN_INSET_REFRESH.
717
718         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
719         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
720         if the citation engine has changed.
721
722 2004-05-14  José Matos  <jamatos@lyx.org>
723
724         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
725         if the textclass does not provide it. Have it different for sgml and
726         xml.
727         support the language of document.
728         * output_docbook.C (docbookParagraphs):
729         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
730         first anchor as the id of the paragraph, remove special case code.
731         * sgml.C (escapeChar): escape only < & >.
732
733 2004-05-14  Angus Leeming  <leeming@lyx.org>
734
735         * bufferparams.h: move biblio::CiteEngine enum here to minimize
736         dependencies on src/frontends/controllers/biblio.h. Define a
737         CiteEngine_enum wrapper class to enable the enum to be forward
738         declared.
739
740 2004-05-12  Angus Leeming  <leeming@lyx.org>
741
742         * buffer.C: up LYX_FORMAT to 234.
743         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
744         use_numerical_citations with a single biblio::CiteEngine cite_engine
745         variable.
746         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
747
748 2004-05-13  José Matos  <jamatos@lyx.org>
749
750         * converter.h:
751         * converter.C (Converter, readFlags): add xml member.
752         * outputparams.h: add XML flavor.
753         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
754
755 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         * lyxfunc.C (dispatch):
758         (getStatus): fix handling of LFUN_SEQUENCE
759
760 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         * debug.C (showLevel): do not forget the end-of-line marker
763
764 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
765
766         * kbmap.C (read): do not stop parsing a bind file when an error
767         occurs (bug 1575)
768
769 2004-04-29  Angus Leeming  <leeming@lyx.org>
770
771         * cursor.C:
772         * factory.C:
773         * pariterator.C:
774         * text2.C: wrap a bunch of #warning statements
775         inside #ifdef WITH_WARNINGS blocks.
776
777 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
778
779         * buffer.C: increment format to 233.
780
781 2004-04-28  Angus Leeming  <leeming@lyx.org>
782
783         * BufferView_pimpl.C:
784         * lyxfunc.C:
785         * text3.C:
786         s/updateToolbar()/updateToolbars()/
787         s/Toolbar.h/Toolbars.h/
788
789 2004-04-28  Angus Leeming  <leeming@lyx.org>
790
791         * BufferView.[Ch] (c-tor):
792         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
793         No longer passes these data to the WorkArea generator.
794
795 2004-04-28  Angus Leeming  <leeming@lyx.org>
796
797         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
798
799 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
800
801         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
802
803 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
804
805         * output_latex.C (TeXEnvironment): make sure that there is a line
806         break before \end{foo} for the last paragraph of a document
807         (TeXOnePar): if the paragraph is at the end of the document (or
808         inset) and the language has to be reset, then make sure that the
809         line break is _before_ the language command, not after (fixes bug
810         1225); also make sure that the language reset command is the first
811         thing after the paragraph (to ensure proper nesting of
812         environments and thus fix bug 1404)
813
814 2004-04-21  John Levon  <levon@movementarian.org>
815
816         * ToolbarBackend.h:
817         * ToolbarBackend.C: make "name" be a programmatic name
818         and a gui_name field.
819
820         * lyxfunc.C: display the minibuffer on M-x
821
822 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
825         (bug 1526)
826
827 2004-04-19  Angus Leeming  <leeming@lyx.org>
828
829         * BufferView_pimpl.C (setBuffer): changed preview interface.
830
831         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
832         possible values.
833
834 2004-04-19  John Levon  <levon@movementarian.org>
835
836         * BufferView_pimpl.C:
837         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
838
839 2004-04-05  Angus Leeming  <leeming@lyx.org>
840
841         * text.C (redoParagraphs): add call to updateCounters(), thereby
842         fixing the missing "Figure #:" label from the caption of a
843         figure float.
844
845 2004-04-13  Angus Leeming  <leeming@lyx.org>
846
847         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
848         cursor is clicked out of an inset.
849
850 2004-04-13  Angus Leeming  <leeming@lyx.org>
851
852         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
853         than an InsetOld one.
854
855 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
856
857         * format.[Ch]: add editor to Format
858         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
859         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
860
861 2004-04-08  André Pönitz  <poenitz@gmx.net>
862
863         * metricsinfo.h: remove PainterInfo::width member
864
865 2004-04-08  Angus Leeming  <leeming@lyx.org>
866
867         * lyx_sty.C (boldsymbol_def): modify so that it outputs
868         "\providecommand" rather than "\newcommand", thereby preventing
869         clashes with packages that define "\boldsymbol" themselves.
870         Eg, beamer.
871
872 2004-04-08  Angus Leeming  <leeming@lyx.org>
873
874         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
875         thereby squashing an unnecessary warning.
876
877 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
878
879         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
880         setBuffer()
881
882 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
883
884         * BufferView.C (setCursor): call redoParagraph (some insets could
885         have been opened)
886         (putSelectionAt): remove the 'double update' trick
887
888         * BufferView_pimpl.C (fitCursor): call refreshPar
889         (workAreaDispatch): remove an uneeded update call
890         (dispatch): remove some manual update calls
891
892         * cursor.[Ch]: remove cached_y_, updatePos
893         (selHandle): set noUpdate when appropriate
894
895         * lyxfunc.C (dispatch): track if we need an update
896
897         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
898
899         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
900         (paintSelection): cheap optimization, do not call cursorX when not
901         needed
902         (paintPars): change signature
903         (refreshPar): add
904         (paintText): adjust
905         (paintTextInset): adjust
906
907         * text.C: adjust
908
909 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * lengthcommon.C: compilation fix: remove explicit array size from
912         unit_name[] and friends
913
914 2004-04-05  Angus Leeming  <leeming@lyx.org>
915
916         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
917
918         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
919         present only for the preferences dialog.
920         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
921
922 2004-04-05  Angus Leeming  <leeming@lyx.org>
923
924         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
925         to enable the frontends to export changes to lyxrc correctly.
926
927         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
928
929 2004-04-07  André Pönitz  <poenitz@gmx.net>
930
931         * cursor.[Ch] (selClear, adjust): remove math
932
933         * cursor_slice.C: more agressive assert
934
935         * lyxfunc.C:
936         * BufferView_pimpl.C: rework mouse event dispatch
937
938         * dociterator.C:
939         * paragraph.C:
940         * text2.C:
941         * text3.C: adjust
942
943 2004-04-05  André Pönitz  <poenitz@gmx.net>
944
945         * cursor.[Ch] (valign, halign...): remove unneeded functions
946
947 2004-04-05  Angus Leeming  <leeming@lyx.org>
948
949         * lyxlength.[Ch] (unit_name et al.): const-correct.
950
951 2004-04-05  Angus Leeming  <leeming@lyx.org>
952
953         * BufferView_pimpl.C:
954         * buffer.C:
955         * counters.C:
956         * cursor.C:
957         * lyxfunc.C
958         * paragraph.C:
959         * pariterator.C:
960         * text.C:
961         * text2.C:
962         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
963
964 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * text3.C (getStatus): add LFUN_BEGINNINGBUF
967
968 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
969
970         * lyxfind.C: add a couple of inTexted() tests + other small fixes
971         * BufferView_pimpl.[Ch] (getStatus)
972         * BufferView.[Ch] (getStatus): add
973         * lyxfunc.C (getStatus): move lfuns handled in
974         BufferView::dispatch to te function above
975         * Cursor.C (setSelection): set selection() = true
976
977 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
978
979         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
980
981 2004-03-31  Angus Leeming  <leeming@lyx.org>
982
983         * lyxfunc.C (dispatch): Fall through to the generic
984         Dialogs::show("preamble").
985
986 2004-03-31  Angus Leeming  <leeming@lyx.org>
987
988         * lyxfunc.C (dispatch): Fall through to the generic
989         Dialogs::show("spellchecker").
990
991 2004-03-31  Angus Leeming  <leeming@lyx.org>
992
993         * lyxfunc.C (getStatus, dispatch): changed invocation of the
994         preferences dialog.
995
996 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
997
998         * BufferView.C
999         * cursor.[Ch]
1000         * dociterator.[Ch]:
1001         * insetiterator.[Ch]:
1002         * lyxfind.C:
1003         * lyxfunc.C:
1004         * pariterator.[Ch]:
1005         * text2.C:
1006         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1007
1008 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1011         insets where we are putting the cursor.
1012
1013 2004-03-31  Angus Leeming  <leeming@lyx.org>
1014
1015         * lfuns.h:
1016         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1017
1018         * lyxrc.[Ch] (read, write): overloaded member functions taking
1019         a std::[io]stream arguments.
1020
1021         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1022
1023 2004-03-31  Angus Leeming  <leeming@lyx.org>
1024
1025         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1026         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1027
1028         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1029         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1030
1031 2004-03-31  Angus Leeming  <leeming@lyx.org>
1032
1033         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1034         the LFUN_ALL_INSETS_TOGGLE code.
1035
1036 2004-03-30  Angus Leeming  <leeming@lyx.org>
1037
1038         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1039         has died. Fall through to the generic Dialogs::show("document").
1040
1041 2004-03-30  Angus Leeming  <leeming@lyx.org>
1042
1043         * lfuns.h:
1044         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1045         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1046
1047         * lyxfunc.C (getStatus, dispatch): define the actions for these
1048         lfuns. Little more than a cut and pste job from ControlDocument.C
1049
1050         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1051
1052 2004-03-30  Angus Leeming  <leeming@lyx.org>
1053
1054         * lfuns.h:
1055         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1056         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1057
1058         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1059         open/closed state of ollapsable insets. Usage:
1060
1061         all-inset-toggle <state> <name>, where
1062         <state> == "open" || "closed" || "toggle" and
1063         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1064
1065         * lyxtext.h, text2.C (toggleInset): removed.
1066
1067         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1068         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1069         now passes LFUN_INSET_TOGGLE to the found inset.
1070
1071         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1072         is now invoked as "all-insets-toggle toggle branch".
1073
1074 2004-03-30  Angus Leeming  <leeming@lyx.org>
1075
1076         * dociterator.C:
1077         * insetiterator.C:
1078         * pariterator.[Ch]: added/corrected header blurb.
1079
1080 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1081
1082         * dociterator.[Ch]: add an inset_ member
1083         (backwardPos): implemented
1084         (backwardPos, forwardPos): use inset_ when the stack is empty.
1085         (doc_iterator_begin, doc_iterator_end): implemented
1086         * pariterator.[Ch]: adjust, add begin, end
1087         * insetiterator.[Ch]: adjust, add begin, end
1088         * cursor.C:
1089         * document.C:
1090         * BufferView.C:
1091         * BufferView_pimpl.C:
1092         * CutAndPaste.C: adjust
1093
1094 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1095
1096         * buffer.C: increment file format to 232.
1097         * LaTeXFeatures.C: add bibtopic package.
1098         * bufferparams.[Ch]: param \use_bibtopic.
1099
1100         * lyxrc.[Ch]: add lyxrc bibtex_command
1101         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1102
1103         * buffer.C: increment file format to 231.
1104
1105 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1106
1107         * dociterator.C: implement forwardPar
1108         * iterators.[Ch]: remove, replaced by
1109         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1110         * BufferView.C:
1111         * BufferView_pimpl.C:
1112         * CutAndPaste.C:
1113         * buffer.C:
1114         * bufferview_funcs.C:
1115         * cursor.C:
1116         * lyxfind.C
1117         * lyxfunc.C
1118         * paragraph_funcs.C
1119         * toc.C:
1120         * Makefile.am: adjust
1121
1122 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * CutAndPaste.C (pasteSelection): fix 2 crashes
1125         (eraseSelection): fix a crash
1126         * paragraph_funcs.C: remove a warning
1127
1128 2004-03-28  Angus Leeming  <leeming@lyx.org>
1129
1130         * lfuns.h:
1131         * LyXAction.C (init): new LFUN_PRINT.
1132
1133         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1134
1135 2004-03-27  Angus Leeming  <leeming@lyx.org>
1136
1137         * lfuns.h:
1138         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1139
1140         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1141
1142 2004-03-27  Angus Leeming  <leeming@lyx.org>
1143
1144         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1145         insetlist always contains non-null pointers to insets.
1146
1147 2004-03-26  Angus Leeming  <leeming@lyx.org>
1148
1149         * src/BufferView_pimpl.C:
1150         * src/CutAndPaste.C:
1151         * src/buffer.C:
1152         * src/iterators.C:
1153         * src/output_plaintext.C:
1154         * src/outputparams.h:
1155         * src/paragraph_funcs.C:
1156         * src/rowpainter.C:
1157         * src/text.C:
1158         * src/text2.C:
1159         * src/frontends/controllers/ControlErrorList.C:
1160         * src/frontends/gtk/FileDialogPrivate.C:
1161         * src/frontends/gtk/GPainter.C:
1162         * src/frontends/gtk/GToolbar.C:
1163         * src/frontends/qt2/QRef.C:
1164         * src/mathed/math_scriptinset.C: squash compiler warnings.
1165
1166 2004-03-26  Angus Leeming  <leeming@lyx.org>
1167
1168         * ispell.C (LaunchIspell::start):
1169         * lyx_cb.C (AutoSaveBuffer::start):
1170         invoke run(DontWait) rather than runNonBlocking().
1171
1172 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1173
1174         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1175
1176 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1177
1178         * kbsequence.C (print): adjust
1179
1180         * kbmap.C (printKeySym): rename and change signature
1181         (printKey): use LyXKeySym::print()
1182
1183 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1184
1185         * undo.C: add using std::advance to compile for stlport
1186
1187 2004-03-24  Angus Leeming  <leeming@lyx.org>
1188
1189         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1190         it leads to a crash when no buffer is present.
1191
1192 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193             Martin Vermeer  <martin.vermeer@hut.fi>
1194
1195         * lyxfunc.C (dispatch):
1196         * bufferparams.C (readToken): use the new LColor::setColor
1197
1198         * LColor.[Ch] (setColor): new version that takes two strings as
1199         argument and creates a new color entry if necessary
1200
1201 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1202
1203         * buffer.C (makeLaTeXFile): if the main latex file that is
1204         processed is usually a subdocument of some master, then pretend
1205         for a while that it is actually the master
1206
1207 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1208
1209         * buffer.C (getLabelList):
1210         (getBibkeyList): use getMasterBuffer()
1211         (getMasterBuffer): new method. Returns the main document in the
1212         case where one is using included documents.
1213
1214 2004-03-25  André Pönitz  <poenitz@gmx.net>
1215
1216         * Makefile.am:
1217         * iterators.[Ch]:
1218         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1219
1220         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1221
1222         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1223         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1224
1225         * ParameterStruct.h: merge with ParagraphParameters
1226
1227         * lyxtext.h: remove LyXText::parOffset() and getPar()
1228
1229         * text3.C: Remove all 'manual' update calls. We do now one per user
1230         interaction which is completely sufficient.
1231
1232         * Bidi.C:
1233         * BufferView.[Ch]:
1234         * BufferView_pimpl.C:
1235         * FontIterator.[Ch]:
1236         * MenuBackend.C:
1237         * ParagraphParameters.[Ch]:
1238         * buffer.C:
1239         * buffer.h:
1240         * bufferlist.C:
1241         * cursor.[Ch]:
1242         * cursor_slice.[Ch]:
1243         * dociterator.[Ch]:
1244         * errorlist.[Ch]:
1245         * factory.C:
1246         * lfuns.h:
1247         * lyxfind.C:
1248         * lyxfunc.C:
1249         * output_docbook.[Ch]:
1250         * output_latex.[Ch]:
1251         * output_linuxdoc.[Ch]:
1252         * output_plaintext.[Ch]:
1253         * paragraph.[Ch]:
1254         * paragraph_funcs.[Ch]:
1255         * paragraph_pimpl.[Ch]:
1256         * rowpainter.C:
1257         * tabular.[Ch]:
1258         * text.C:
1259         * text2.C:
1260         * toc.C:
1261         * undo.[Ch]: adjust
1262
1263         * frontends/controllers/ControlDocument.C:
1264         * frontends/controllers/ControlErrorList.C:
1265         * frontends/controllers/ControlSpellchecker.C:
1266         * insets/inset.C:
1267         * insets/inset.h:
1268         * insets/insetbase.h:
1269         * insets/insetbibitem.C:
1270         * insets/insetbox.C:
1271         * insets/insetbranch.C:
1272         * insets/insetcaption.C:
1273         * insets/insetcharstyle.C:
1274         * insets/insetcharstyle.h:
1275         * insets/insetcollapsable.C:
1276         * insets/insetcollapsable.h:
1277         * insets/insetert.C:
1278         * insets/insetfloat.C:
1279         * insets/insetfoot.C:
1280         * insets/insetmarginal.C:
1281         * insets/insetnote.C:
1282         * insets/insetoptarg.C:
1283         * insets/insettabular.C:
1284         * insets/insettext.C:
1285         * insets/insettext.h:
1286         * insets/insetwrap.C:
1287         * mathed/math_mboxinset.C:
1288         * mathed/math_nestinset.C:
1289         * mathed/math_scriptinset.C:
1290         * mathed/math_scriptinset.h:
1291         * support/types.h:
1292
1293 2004-03-24  Angus Leeming  <leeming@lyx.org>
1294
1295         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1296         deal with any child processes that have finished but are waiting to
1297         communicate this fact to the rest of LyX.
1298
1299 2004-03-24  Angus Leeming  <leeming@lyx.org>
1300
1301         64-bit compile fixes.
1302
1303         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1304         (c-tor): pass lyx::pos_types rather than ints.
1305
1306         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1307         lyx::pos_type.
1308
1309         * text.C (Delete): compile fix.
1310         (getPar): ensure that function declaration is the same as that in
1311         the header file.
1312
1313 2004-03-23  Angus Leeming  <leeming@lyx.org>
1314
1315         * ispell.C (LaunchIspell):
1316         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1317         a boost::shred_ptr rather than a std::auto_ptr.
1318
1319 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1322         handle LFUN_FILE_INSERT_*
1323
1324         * lyxrc.C (setDefaults, getDescription, output, read):
1325         * lyxrc.h: remove ps_command
1326
1327 2004-03-22  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1330         Ensure that error_handler is processed once only and that all data
1331         is saved before attempting to output any warning messages.
1332
1333         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1334
1335 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1338
1339 2004-03-19  André Pönitz  <poenitz@gmx.net>
1340
1341         * cursor.[Ch] (reset): take main text inset as argument
1342
1343         * BufferView: adjust
1344         * BufferView_pimpl.C: adjust
1345
1346         * paragraph.[Ch]: fix completely broken operator=()
1347
1348 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1349
1350         * LColor.C (getFromLyXName): make sure that the color name is used
1351         as lowercase.
1352
1353 2004-03-17  Angus Leeming  <leeming@lyx.org>
1354
1355         * lfuns.h:
1356         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1357
1358         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1359         dialog and to kill a forked process.
1360
1361 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1362
1363         * text2.C (setCursorFromCoordinates): fix font problem
1364
1365 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1368         bogus "rebuild cursor" code
1369
1370 2004-03-11  André Pönitz  <poenitz@gmx.net>
1371
1372         * buffer.[Ch]: use InsetText instead of LyXText as container for
1373         the main lyx text.
1374
1375         * dociterator.[Ch]: drop the BufferView * member which is not needed
1376         anymore after the change to buffer.C
1377
1378         * paragraph_funcs.C:
1379         * text.C:
1380         * text2.C:
1381         * BufferView.[Ch]:
1382         * BufferView_pimpl.[Ch]:
1383         * cursor.[Ch]:
1384         * cursor_slice.[Ch]: adjust
1385
1386         * text3.C: fix bug in mathDispatch
1387
1388 2004-03-08  André Pönitz  <poenitz@gmx.net>
1389
1390         * undo.[Ch]: use 'StableDocumentIterator' as base for
1391         the Undo struct.
1392
1393 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1394
1395         * LaTeXFeatures.C:
1396         * bufferparams.[Ch]: add jurabib support and param.
1397
1398         * LaTeX.C: add FIXME/comment.
1399
1400 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1401
1402         * buffer.C: increment file format to 230.
1403
1404 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1405
1406         * cursor.C (dispatch): avoid infinite loops
1407
1408 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1409
1410         * rowpainter.C (paintSelection): fix x coordinates
1411
1412 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * text.C (rowBreakPoint): fix breaking before displayed insets
1415
1416 2004-03-01  André Pönitz  <poenitz@gmx.net>
1417
1418         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1419
1420         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1421
1422         * Makefile.am:
1423         * BufferView.C:
1424         * BufferView_pimpl.C:
1425         * buffer.C:
1426         * lyxfind.C:
1427         * lyxfunc.C:
1428         * text.C:
1429         * text2.C:
1430         * text3.C: adjust
1431
1432 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1433
1434         * lyxtext.h:
1435         * text.C:
1436         * text2.C:
1437         * rowpainter.C:
1438         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1439         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1440
1441 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1442
1443         * Bidi.[Ch] (computeTables): const correctness
1444         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1445         fill_hfill, fill_label_hfill and x from Row
1446         * lyxtext.h: prepareToPrint returns a RowMetrics
1447         * rowPainter.C: adjust
1448         * text.C (prepareToPrint): use width, not textWidth. adjust
1449         (redoParagraphInternal, cursorX): adjust
1450         * text2.C (getColumnNearX): adjust
1451         (init): put a default value to the top LyXText::width
1452
1453 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1456
1457 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1458
1459         * lyxtext.h: add FontIterator class
1460
1461         * text.C (FontIterator, operator*, operator->, operator++): add
1462         (rowBreakPoint, setRowWidth): adjust (fixing a
1463         rebreaking bug)
1464
1465 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * BufferView_pimpl.C (workAreaDispatch): allow also
1468         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1469
1470 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * text.C (rowBreakPoint): fix a bug showing with very large insets
1473
1474 2004-02-25  André Pönitz  <poenitz@gmx.net>
1475
1476         * text3.C:
1477         * cursor.[Ch]: move some mathed specific code to mathed
1478
1479 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1480
1481         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1482         use_tempdir in preferences
1483         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1484         tempfile creation
1485         * lyx_main.C: ensure that tempdir is valid
1486         * lyxlex.h: correct typo
1487         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1488         * paragraph.[Ch] (isMultiLingual): make const
1489         * cursor.[Ch] (openable): make const
1490
1491 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1492
1493         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1494
1495 2004-02-20  André Pönitz  <poenitz@gmx.net>
1496
1497         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1498
1499         * cursor.[Ch]: prepare for localized getStatus()
1500
1501         * lyxtext.h:
1502         * tabular.C:
1503         * text.C:
1504         * text2.C:
1505         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1506
1507 2004-02-20  André Pönitz  <poenitz@gmx.net>
1508
1509         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1510
1511 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1512
1513         * text2.C (setCursorFromCoordinates): switch to absolute coords
1514         (cursorUp): adjust
1515         (cursorDown): adjust
1516         * text3.C (dispatch): adjust
1517
1518 2004-02-16  André Pönitz  <poenitz@gmx.net>
1519
1520         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1521           insets/ChangeLog)
1522
1523         * cursor_slice.[Ch]: remove unneeded acessor function
1524
1525         * lyxtext.h: rename rtl() to isRTL()
1526
1527         * rowpainter.C:
1528         * tabular.C:
1529         * text.C:
1530         * text2.C:
1531         * text3.C: adjust
1532
1533 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1534
1535         * rowpainter.C (paintSelection): coord fix
1536
1537 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1538
1539         * Spacing.C: compile fix
1540
1541 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1542
1543         * cursor.C (dispatch): restore current_ before returning
1544
1545 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1546
1547         * text2.C (cursorUp, cursorDown): fix coords
1548         (moveUp): fix crash
1549
1550 2004-02-12  André Pönitz  <poenitz@gmx.net>
1551
1552         * lyxtext.h:
1553         * text.C:
1554         * text2.C:
1555         * text3.C: add LCursor & parameter to most cursor movement functions
1556           remove usage of LyXText::cursorRow() and cursorPar()
1557
1558         * cursor.[Ch]: add textRow() needed members
1559
1560         * BufferView.C:
1561         * BufferView_pimpl.C:
1562         * paragraph.[Ch]:
1563         * BufferView.C:
1564         * BufferView_pimpl.C: adjust
1565
1566 2004-02-11  André Pönitz  <poenitz@gmx.net>
1567
1568         * lyxfunc.C:
1569         * BufferView.[Ch]:
1570         * BufferView_pimpl.C: shift undo/redo handling
1571
1572         * cursor.[Ch]: fix mathed crash
1573
1574         * lyxfind.C:
1575         * lyxtext.h: move selectionAsText to LCursor
1576
1577         * output_latex.C:
1578         * paragraph.C:
1579         * text.C:
1580         * text2.C:
1581         * text3.C: adjust
1582
1583         * rowpainter.C: fix excessive drawing
1584
1585 2004-02-06  André Pönitz  <poenitz@gmx.net>
1586
1587         * BufferView.[Ch]:
1588         * BufferView_pimpl.[Ch]:
1589         * text3.C: move some text specific LFUN handling
1590
1591 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * text3.C (checkInsetHit): adjust coords
1594         * text2.C (getColumnNearX): adjust coords
1595         (edit): adjust coords
1596         * text.C (getRowNearY): add two asserts
1597
1598 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1599
1600         * converter.C:
1601         * format.C: add using std::distance to compile on gcc 2.95/stlport
1602
1603 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1604
1605         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1606
1607 2004-02-04  André Pönitz  <poenitz@gmx.net>
1608
1609         * BufferView.[Ch] (insertInset):
1610         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1611
1612         * text2.C:
1613         * text3.C: adjust
1614
1615 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1618         on the default clause of the switch
1619         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1620         wasn't catched by LCursor::dispatch
1621
1622 2004-02-03  André Pönitz  <poenitz@gmx.net>
1623
1624         * BufferView.C:
1625         * cursor.[Ch]: some additional asserts
1626
1627         * undo.[Ch]: remove LyXText dependency in interface
1628
1629         * lyxfunc.C: adjust
1630
1631         * lyxtext.h (firstPar, lastPar): remove dead functions
1632
1633         * text.C:
1634         * text2.C:
1635         * text3.C:
1636         * paragraph.[Ch]: adjust
1637
1638 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1639
1640         * lyxfind.C (find): fix argument order in call to ::find
1641
1642 2004-02-02  André Pönitz  <poenitz@gmx.net>
1643
1644         * cursor.[Ch]: remove direct access to anchor
1645
1646         * text.C: remove findText() hack
1647
1648 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1649
1650         * iterators.[Ch] (lockPath): remove in favour of...
1651         * BufferView.[Ch] (setCursor): this addition
1652         * BufferView.C (putSelectionAt): adjust
1653         * undo.C (performUndoOrRedo): adjust
1654         * lyxfunc.C (dispatch): adjust
1655
1656 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1657
1658         * iterators.C (lockPath): add a missing slice
1659         * undo.C (performUndoOrRedo): remove redundant positioning code
1660
1661 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1662
1663         * vc-backend.C (scanMaster): ";" -> ';'
1664
1665 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1666
1667         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1668         std::binary_function
1669
1670         * lyxtextclass.C (compare_name): rename to...
1671         (LayoutNamesEqual): ...this
1672
1673         * lyxlex_pimpl.C (compare_tags): inherit from
1674         std::binary_function, put back into anon namespace
1675
1676         * lyxfind.C (MatchString): inherig from std::binary_function
1677         (findChange): use empty() istead of !size()
1678
1679         * format.C (FormatNamesEqual): new functor
1680         (getFormat): use it
1681         (getNumber): use it
1682         (add): use it
1683         (erase): use it
1684         (setViewer): use it
1685
1686         * converter.C (compare_Converter): rename to...
1687         (ConverterEqual): ...this, and fixup a bit.
1688         (getConverter): use it, and make function const
1689         (getNumber): use it, and make function const
1690         (add): use it
1691         (erase): use it:
1692
1693         * bufferlist.C: add using boost::bind
1694
1695         * MenuBackend.C (MenuNamesEqual): new functor
1696         (hasMenu): use it, and make function const
1697         (hasSubmenu): use nested bind to get rid of compare_memfun.
1698
1699 2004-01-30  André Pönitz  <poenitz@gmx.net>
1700
1701         * BufferView_pimpl.C:
1702         * cursor.C:
1703         * cursor.h:
1704         * cursor_slice.[Ch]:
1705         * lyxfunc.C:
1706         * lyxtext.h:
1707         * paragraph_funcs.C:
1708         * paragraph_funcs.h:
1709         * rowpainter.C:
1710         * text.C:
1711         * text2.C:
1712         * text3.C: move some of the edit(x,y) handling to the insets
1713         some coordinate changes.
1714
1715 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1716
1717         * text.C: add using statements for std::advance and std::distance
1718
1719         * paragraph.C: add using statement for std::distance
1720
1721         * lyxfind.C: add using statement for std::advance
1722
1723         * cursor.C (region): remove std:: from swap
1724         (openable): use nucleus in stead of operator->
1725
1726         * BufferView.C: add using statements for std::distance and std::swap
1727
1728 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1729
1730         * iterators.C: Remove the pimple, move the needed structures to
1731         the header file. Create accessor for the positions stack.
1732         (asPosIterator): remove function
1733
1734         * PosIterator.C (PosIterator): move constructors to top of file
1735         (PosIterator): reimplement the constructor taking a ParIterator in
1736         terms of setFrom.
1737         (setFrom): new function
1738         (operator!=): inline it
1739
1740 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1741
1742         * lyxfind.C (replaceAll): use std::advance
1743
1744         * iterators.h: inherit from std::iterator.
1745
1746         * PosIterator.C (advance, distance): remove
1747         * PosIterator.h: interit from std::iterator.
1748
1749 2004-01-26  André Pönitz  <poenitz@gmx.net>
1750
1751         * BufferView.[Ch]:
1752         * BufferView_pimpl.[Ch]:
1753         * InsetList.[Ch]:
1754         * PosIterator.[Ch]:
1755         * buffer.h:
1756         * bufferview_funcs.C:
1757         * cursor.[Ch]:
1758         * cursor_slice.h:
1759         * factory.[Ch]:
1760         * iterators.[Ch]:
1761         * lyxfind.C:
1762         * lyxfunc.C:
1763         * lyxtext.h:
1764         * output_docbook.C:
1765         * output_latex.C:
1766         * output_linuxdoc.C:
1767         * output_plaintext.C:
1768         * paragraph.[Ch]:
1769         * paragraph_funcs.[Ch]:
1770         * paragraph_pimpl.[Ch]:
1771         * rowpainter.C:
1772         * tabular.C:
1773         * tabular.h:
1774         * text.C:
1775         * text2.C:
1776         * text3.C: more IU:  dumps most of the rest of the mathcursor
1777     implementation into cursor.[Ch]; "globalize" a bit of it.
1778
1779 2004-01-25  Angus Leeming  <leeming@lyx.org>
1780
1781         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1782
1783 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1784
1785         * LaTeXFeatures.h: add nice_ and nice() const
1786         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1787
1788 2004-01-20  André Pönitz  <poenitz@gmx.net>
1789
1790         * BufferView.[Ch]:
1791         * BufferView_pimpl.C:
1792         * PosIterator.C:
1793         * bufferview_funcs.C:
1794         * cursor.[Ch]:
1795         * cursor_slice.[Ch]:
1796         * factory.C:
1797         * iterators.C:
1798         * lyx_cb.C:
1799         * lyxfind.C:
1800         * lyxfunc.C:
1801         * lyxtext.h:
1802         * rowpainter.C:
1803         * text.C:
1804         * text2.C:
1805         * text3.C:
1806         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1807           LCursor and mathcursor parts to LCursor and InsetBase.
1808
1809 2004-01-15  André Pönitz  <poenitz@gmx.net>
1810
1811         * cursor_slice.[Ch]: add a few covienience functions
1812
1813         * funcrequest.[Ch]: remove BufferView * member
1814
1815         * BufferView_pimpl.C:
1816         * cursor.C:
1817         * factory.[Ch]:
1818         * lyxfind.[Ch]:
1819         * lyxfunc.C:
1820         * lyxtext.h:
1821         * text3.C:
1822         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1823
1824 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1827         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1828
1829 2004-01-13  André Pönitz  <poenitz@gmx.net>
1830
1831         * textcursor.[Ch]:
1832         * lyxtext.h: hide cursor and selection anchor behind accessor function
1833
1834         * BufferView.C:
1835         * BufferView_pimpl.[Ch]:
1836         * PosIterator.C:
1837         * bufferview_funcs.C:
1838         * cursor.h:
1839         * lyxfind.C:
1840         * lyxfunc.C:
1841         * text.C:
1842         * text2.C:
1843         * text3.C:
1844         * undo.C: adjust
1845
1846         * cursor.h:
1847         * cursor_slice.[Ch]: some integer type changes for inset unification
1848
1849         * lyxcursor.[hC]: remove, it's CursorSlice now.
1850
1851         * Makefile.am:
1852         * BufferView_pimpl.[Ch]:
1853         * bufferview_funcs.C:
1854         * cursor_slice.C:
1855         * lyxtext.h:
1856         * text.C:
1857         * text2.C:
1858         * text3.C:
1859         * textcursor.[Ch]: adjust
1860
1861 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1862
1863         * text2.C (undoSpan): add and use
1864         * text.C (breakParagraph): use undoSpan (fix bug 578)
1865         * lyxtext.h: adjust
1866
1867 2004-01-08  Angus Leeming  <leeming@lyx.org>
1868
1869         * BufferView_pimpl.C (MenuInsertLyXFile):
1870         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1871         * lyxfunc.C (menuNew, open, doImport):
1872         FileFilterList change to the FileDialog open and save functions.
1873
1874 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1875
1876         * ShareContainer.h: make isEqual and isUnique adaptable
1877
1878         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1879
1880 2004-01-07  Angus Leeming  <leeming@lyx.org>
1881
1882         * LyXAction.C:
1883         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1884
1885         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1886
1887         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1888         functions replacing find, replace and replaceAll.
1889
1890         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1891         LFUN_WORDFIND(FORWARD|BACKWARD).
1892
1893 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1894
1895         * text.C (breakParagraph): remove an outdated #warning
1896
1897 2004-01-07  André Pönitz  <poenitz@gmx.net>
1898
1899         * lyxfind.C: somewhat clearer logic
1900
1901         * text.C: prevent crash in cursorX on unitialized row cache
1902
1903 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1904
1905         * lyxcursor.[Ch] (operator>): add
1906         * textcursor.C (selStart, selEnd): use std::min and std::max
1907
1908 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1909
1910         * Chktex.C: include boost/format.hpp
1911
1912 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1913
1914         * InsetList.C: replace functor MathcIt with adaptable functor
1915         InsetTablePosLess
1916         (insetIterator): modify accordingly
1917
1918         * BranchList.h: move the BranchNamesEqual functor here from...
1919         * BranchList.C: ... to here
1920
1921         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1922         SameName and match.
1923         (add): replace a finding loop with std::find_if.
1924
1925 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1926
1927         * output_docbook.C: moving LatexParam functionality into
1928         .layout files
1929
1930 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1931
1932         * buffer.C: increment format to 229.
1933
1934 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1935
1936         * LaTeXFeatures.C:
1937         * lyx_sty.[Ch]: remove minipageindent_def
1938
1939         * LyXAction.C:
1940         * factory.C:
1941         * lfuns.h:
1942         * lyxfunc.C:
1943         * text3.C: remove LFUN_INSET_MINIPAGE
1944
1945 2003-12-28  Angus Leeming  <leeming@lyx.org>
1946
1947         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1948
1949 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1950
1951         * text2.C (setParagraph): fix off-by-one crash
1952
1953 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1954
1955         * output_docbook.C: header stuff for AGU
1956
1957 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1958
1959         * text2.C (redoCursor): remove
1960         * text.C:
1961         * text3.C:
1962         * BufferView_pimpl.C: remove calls to redoCursor and
1963         setCursor(cursor.par(), cursor.pos()) all around
1964
1965 2003-12-15  Angus Leeming  <leeming@lyx.org>
1966
1967         * buffer.C: up the format to 228.
1968
1969 2003-12-15  André Pönitz  <poenitz@gmx.net>
1970
1971         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1972         slices
1973
1974         * Makefile.am:
1975
1976         * BufferView_pimpl.C:
1977         * cursor.[Ch]:
1978         * lyxcursor.[Ch]:
1979         * rowpainter.[Ch]:
1980         * lyxtext.h:
1981         * text.C:
1982         * text2.C:
1983         * text3.C: adjust
1984
1985 2003-12-15  Angus Leeming  <leeming@lyx.org>
1986
1987         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1988         than getFromGUIName to manipulate the color.
1989
1990 2003-12-14  Angus Leeming  <leeming@lyx.org>
1991
1992         * BranchList.[Ch]: minimize the API.
1993         (Branch::getBranch, getColor): now return a 'const &'.
1994         (Branch::setSelected) now returns a bool set to true if the
1995         selection status changes.
1996         (BranchList::clear, size, getColor, setColor, setSelected,
1997         allBranches, allSelected, separator): removed.
1998         (BranchList::find): new functions, returning the Branch with
1999         the given name.
2000         (BranchList::add, remove): return a bool indicating that
2001         the operation was successful.
2002
2003         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2004         new InsetBranch::isBranchSlected member function.
2005
2006         * LColor.[Ch]: mimimize the API.
2007         (fill): renamed as addColor and made private.
2008         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2009         versions of these functions taking a string arg have been removed.
2010
2011         * bufferparams.C (readToken):
2012         * lyxfunc.C (dispatch):
2013         * lyxrc.C (read): changes due to the altered BranchList and
2014         LColor APIs.
2015
2016         * factory.C (createInset, readInset): changes due to altered
2017         InsetBranch c-tor.
2018
2019 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2020
2021         * factory.C:
2022         * lyxfunc.C: remove insetminipage. "minipage-insert"
2023         now produces a frameless minipage box inset.
2024
2025 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2026
2027         * textcursor.[Ch] (selStart,selEnd): add new methods
2028         remove selection::start, end, use LyXCursor::operator<
2029         * lyxcursor.[Ch] (operator<): add
2030         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2031         * BufferView.[Ch] (unsetXSel): add
2032         * text2.C (clearSelection): use unsetXSel,adjust
2033         * text.C: adjust
2034         * text3.C: adjust
2035         * rowpainter.C: adjust
2036         * bufferview_funcs.C (put_selection_at): adjust
2037
2038 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2039
2040         * BufferView_pimpl.C: small coord. correction
2041
2042 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2043
2044         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2045         dragging over the splash screen.
2046
2047 2003-12-11  Angus Leeming  <leeming@lyx.org>
2048
2049         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2050         as it is now handled in LyXText::dispatch.
2051
2052         * text3.C (doInsertInset): remove a level of nesting.
2053
2054 2003-12-11  Angus Leeming  <leeming@lyx.org>
2055
2056         * factory.C (createInset): changes due to the changed interface to
2057         InsetCommandMailer::string2params.
2058
2059 2003-12-10  Angus Leeming  <leeming@lyx.org>
2060
2061         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2062         'dialog-show-new-inset <inset name>'
2063
2064 2003-12-10  Angus Leeming  <leeming@lyx.org>
2065
2066         * buffer.C: up the format to 227.
2067
2068         * factory.C: the box inset is now identified simply by 'Box'.
2069
2070 2003-12-10  Angus Leeming  <leeming@lyx.org>
2071
2072         * buffer.C: up the format to 226.
2073
2074         * factory.C: the note inset is now identified simply by 'Note'.
2075
2076 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2077
2078         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2079         when a pit is enough. Standarize a couple of loops.
2080
2081 2003-12-05  Angus Leeming  <leeming@lyx.org>
2082
2083         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2084         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2085         data to the re-worked "log" dialog.
2086
2087 2003-12-03  André Pönitz  <poenitz@gmx.net>
2088
2089         * PosIterator.C:
2090         * iterators.C:
2091         * lyxtext.h:
2092         * output_latex.C:
2093         * paragraph_funcs.C:
2094         * text.C:
2095         * text2.C: use Inset::getText instead of Inset::getParagraph
2096
2097 2003-12-03  André Pönitz  <poenitz@gmx.net>
2098
2099         * buffer.[Ch]:
2100         * lyxtext.h:
2101         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2102         InsetText::read() as LyXText::read()
2103
2104 2003-12-02  Angus Leeming  <leeming@lyx.org>
2105
2106         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2107         type. Add a comment in the implementation that the function uses
2108         the stream's bad() function rather than fail() as the std::streams
2109         would do.
2110
2111 2003-12-02  André Pönitz  <poenitz@gmx.net>
2112
2113         * lyxlex.[Ch]: make interface more similar to std::stream
2114
2115         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2116
2117 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2118
2119         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2120
2121 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2122
2123         * vspace.[Ch]: remove VSpace::NONE
2124
2125 2003-12-01  André Pönitz  <poenitz@gmx.net>
2126
2127         * buffer.[Ch]:
2128         * lyxtext.h: move ParagraphList member to LyXText
2129         rename LyXText::ownerParagraphs to LyXText::paragraph
2130
2131         * CutAndPaste.C:
2132         * bufferview_funcs.C:
2133         * iterators.[Ch]:
2134         * lyx_cb.C:
2135         * paragraph.C:
2136         * rowpainter.C:
2137         * tabular.C:
2138         * text.C:
2139         * text2.C:
2140         * text3.C: adjust
2141
2142         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2143
2144         * undo.C: fix cursor positioning
2145
2146 2003-12-01  John Levon  <levon@movementarian.org>
2147
2148         * BufferView_pimpl.C: fix a crash on exit with
2149         a buffer open
2150
2151 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2152
2153         * BranchList.C: fix setSelected() method.
2154
2155 2003-11-28  André Pönitz  <poenitz@gmx.net>
2156
2157         * ParagraphParameters.[Ch]:
2158         * ParameterStruct.h: remove space above/below from Paragraph to
2159          InsetVSpace
2160
2161         * BufferView_pimpl.C:
2162         * factory.C:
2163         * lyxfunc.C:
2164         * lyxtext.h:
2165         * output_latex.C:
2166         * paragraph.C:
2167         * paragraph_funcs.C:
2168         * rowpainter.[Ch]:
2169         * text.C:
2170         * text2.C:
2171         * text3.C: adjust
2172
2173 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2174
2175         * factory.C: Syntax change for CharStyles
2176
2177 2003-11-28  André Pönitz  <poenitz@gmx.net>
2178
2179         * BufferView.[Ch]:
2180         * BufferView.[Ch]:
2181         * buffer.[Ch]:
2182         * buffer.[Ch]: move LyXText member
2183
2184 2003-11-28  André Pönitz  <poenitz@gmx.net>
2185
2186         * BufferView.[Ch]: make LyXText * text a private member
2187
2188         * BufferView_pimpl.C:
2189         * cursor.C:
2190         * iterators.C:
2191         * lyx_cb.C:
2192         * lyxfind.C:
2193         * lyxtext.h:
2194         * rowpainter.[Ch]:
2195         * text.C:
2196         * text2.C:
2197         * undo.C: adjust
2198
2199         * output_plaintext.C: cleanup
2200
2201 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2202
2203         * buffer.C:
2204         * lyxtextclass.[Ch]: parametrize SGML document header
2205
2206 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2207
2208         * converter.[Ch]:
2209         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2210         getFlavor().
2211
2212 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2213
2214         * text2.C (setFont): rework using PosIterator (no more recursive)
2215         (setCharFont): no more needed
2216         (setLayout): no more selection cursors fiddling (done by redoCursor)
2217         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2218         destroy remaining ones)
2219
2220 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2221
2222         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2223         * lyxtext.h: ditto
2224         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2225         selection cursors
2226         * lyxfunc.C: adjust
2227         * text3.C: adjust + re-allow multi par depth changes
2228         * textcursor.C: simplify a bit
2229
2230 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2231
2232         * src/buffer.C:
2233         * src/lyxlayout.C:
2234         * src/lyxlayout.h:
2235         * src/lyxtext.h:
2236         * src/output_docbook.C:
2237         * src/output_latex.C:
2238         * src/paragraph.C:
2239         * src/paragraph.h:
2240         * src/sgml.C:
2241         * src/sgml.h:
2242         * src/text2.C: Introducing a number of tags parametrizing various
2243         XML formats that we may want to support
2244
2245 2003-11-25  André Pönitz  <poenitz@gmx.net>
2246
2247         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2248
2249         * lyxtext.h (leftMargin/rightMargin): simplify interface
2250
2251         * rowpainter.C:
2252         * text.C:
2253         * text2.C:
2254         * text3.C: adjust
2255
2256 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2257
2258         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2259         master file to any child files. Fixes bug 546.
2260
2261 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2262
2263         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2264
2265 2003-11-24  André Pönitz  <poenitz@gmx.net>
2266
2267         * rowpainter.C: simplification
2268
2269         * text2.C (updateCounters): remove call to redoParagraph on
2270         changed labels as this is far too expensive.
2271
2272 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2273
2274         * converter.C (convert): fix a crash: this function gets
2275         called with buffer == 0 from importer code.
2276
2277 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2278
2279         * text3.C (cursorPrevious): make sure that we do not compare
2280         iterators form different containers.
2281         (cursorNext): ditto
2282
2283         * rowpainter.C (paintSelection): make sure that we do not compare
2284         iterators from different containers.
2285
2286         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2287         iterators from different ParagraphList containers.
2288         [NEXT] ditto
2289
2290         * text2.C (LyXText): change order of initialization slightly
2291         (operator=): new function. copy all variables except cache_par_
2292         (moveUp): make sure that we do not compare iterators from
2293         different ParagraphList constainers.
2294         (moveDown): ditto
2295
2296         * text.C (firstPar): new function
2297         (lastPar): new function
2298         (endPar): new function
2299
2300         * lyxtext.h: move things around and group public functions, public
2301         variables, private functions, private variables
2302
2303 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2304
2305         * factory.C: change call to InsetERT constructor to avoid
2306         additional invocation of method status
2307         * text2.C (toggleInset): remove redundant update() call
2308         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2309         instead of a Bufferview pointer
2310
2311 2003-11-21  André Pönitz  <poenitz@gmx.net>
2312
2313         * rowpainter.C: simplification
2314
2315 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2316
2317         * text3.C (dispatch): make possible to extend a word/row selection
2318         with the mouse
2319
2320 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2321
2322         * lyxtext.h: x0_,y0_ -> xo_,yo_
2323         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2324         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2325         * rowpainter.C (paintRows): paint full paragraphs
2326
2327 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2328
2329         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2330         screen coordinates)
2331
2332 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2333
2334         * lyxtext.h: add x0_, y0_
2335         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2336         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2337
2338 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * text2.C (setCursorIntern): move the x_target update here *
2341         * text3.C: change some bv() to true/false in calls to
2342         cursorUp/Down/Right/Left
2343         * cursor.C: use helper function.
2344
2345 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2346
2347         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2348         * paragraph_funcs.[Ch]: correct comment
2349         * rowpainter.C: do not paint selections away from bv->cursor()
2350         Fix a long standing selection painting bug.
2351         * text3.C: generalize mouse-selection code to LyXTexts other that
2352         top one
2353         * textcursor.C: do not use y coords if we can use par offsets
2354
2355 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2356
2357         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2358         cursor position after e.g. inset insert)
2359
2360 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2361
2362         * lyxfind.C (replace): adjust to locking removal + some
2363         code simplification
2364
2365 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2366
2367         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2368         of the path
2369
2370 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2371
2372         * lyxlayout.[Ch]:
2373         * output_docbook.C: XML sanitation: new layout
2374         parameters InnerTag and CommandDepth
2375
2376 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2377
2378         * BufferView_pimpl.C:
2379         * factory.C:
2380         * text3.C: Fix the insertion and modification of button-style
2381         insets
2382
2383 2003-11-13  André Pönitz  <poenitz@gmx.net>
2384
2385         * InsetList.[Ch]: remove deleteLyXText
2386
2387         * paragraph.[Ch]: cache beginOfBody position
2388
2389         * Bidi.C:
2390         * text.C:
2391         * text2.C:
2392         * text3.C: remove superfluous update() calls
2393
2394         * vspace.C: cleanup
2395
2396 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2397
2398         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2399         * BufferView.C (fitLockedInsetCursor): remove
2400         * cursor.[Ch] (getDim): add
2401         * text.C (getRowNearY): add faster version
2402         * text3.C: remove some update calls
2403
2404 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2405
2406         * LaTeXFeatures.C:
2407         * LyXAction.C:
2408         * MenuBackend.C:
2409         * MenuBackend.h:
2410         * dispatchresult.h:
2411         * factory.C:
2412         * lfuns.h:
2413         * lyxfunc.C:
2414         * lyxtextclass.C:
2415         * lyxtextclass.h:
2416         * text3.C: The Character Style /XML short element patch.
2417
2418 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2419
2420         * text3.C:
2421         * factory.C: Small step to solving 'unable to insert some insets'
2422         problem
2423
2424 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2425
2426         * cursor.[Ch] (updatePos): new function for updating the y
2427         position of the tip inset
2428         * bufferview_funcs.C (put_selection_at):
2429         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2430
2431 2003-11-11  André Pönitz  <poenitz@gmx.net>
2432
2433         * text.C: remove big comment on invalid Paragraph pointers as it is
2434         not valid anymore
2435
2436 2003-11-11  André Pönitz  <poenitz@gmx.net>
2437
2438         * text_funcs.[Ch]: merge with ...
2439
2440         * text.C: ... this
2441
2442         * lyxtext.h:
2443         * text2.C:
2444         * text3.C: adjust
2445
2446         * Makefile.am: remove text_funcs.[Ch]
2447
2448 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2449
2450         * cursor.C (getPos): return absolute cached y coord
2451
2452         * BufferView_pimpl.C (fitCursor): new simplistic code
2453         (workAreaDispatch): add a fitCursor call
2454
2455 2003-11-10  André Pönitz  <poenitz@gmx.net>
2456
2457         * BufferView.[Ch]:
2458         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2459
2460 2003-11-10  André Pönitz  <poenitz@gmx.net>
2461
2462         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2463         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2464         indicate that the cursor needs to leave an inset
2465
2466         * lyxtext.h: remove inset locking
2467
2468         * cursor.[Ch]: re-implement functionality provided by inset locking
2469
2470         * BufferView.[Ch]:
2471         * BufferView_pimpl.[Ch]:
2472         * LyXAction.C:
2473         * bufferview_funcs.[Ch]:
2474         * factory.C:
2475         * funcrequest.[Ch]:
2476         * iterators.C:
2477         * lyx_cb.C:
2478         * lyxfind.C:
2479         * lyxfunc.C:
2480         * text.C:
2481         * text2.C:
2482         * text3.C:
2483         * undo.C: adjust
2484
2485 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2486
2487         * PosIterator.[Ch]: replace the stack with a vector, add inset
2488         accesor
2489         * iterators.[C]: adjust
2490
2491 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2492
2493         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2494         replaced
2495         * paragraph_funcs.C (readParToken): put the correct id in the
2496         error item, not the id of the top paragraph
2497
2498 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2499
2500         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2501         * bufferview_funcs.C (put_selection_at): use the above
2502
2503 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2504
2505         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2506
2507 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * output_linuxdoc.h:
2510         * output_plaintext.h:
2511         * output.h:
2512         * output_docbook.h: add #include statements
2513
2514 2003-11-05  José Matos  <jamatos@lyx.org>
2515
2516         * output_docbook.[Ch]:
2517         * output_latex.[Ch]:
2518         * output_linuxdoc.[Ch]:
2519         * output_plaintext.[Ch]: New files for output formats.
2520         * output.[Ch]: New file for helper functions.
2521
2522         * buffer.[Ch]:
2523         * paragraph_funcs.[Ch]: output functions moved to new files.
2524
2525         * outputparams.h: rename of latexrunparams.h
2526
2527         * LaTeX.[Ch]:
2528         * buffer.[Ch]:
2529         * bufferlist.[Ch]:
2530         * converter.[Ch]:
2531         * exporter.C:
2532         * paragraph.[Ch]:
2533         * paragraph_funcs.[Ch]:
2534         * paragraph_pimpl.[Ch]:
2535         * tabular.[Ch]: rename ascii to plaintext
2536         and LatexRunParams to OutputParams.
2537
2538 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2539
2540         * iterators.[Ch] (text): require bv argument
2541         * undo.C (recordUndo):
2542         * lyxfunc.C (dispatch):
2543         * bufferview_funcs.C (put_selection_at): adjust
2544
2545 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2546
2547         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2548
2549 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2550
2551         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2552         nestings
2553
2554 2003-11-04  André Pönitz  <poenitz@gmx.net>
2555
2556         * cursor.[Ch]: restructure
2557
2558         * BufferView.[Ch]:
2559         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2560
2561         * iterators.[Ch] (asCursor): remove
2562
2563         * lfuns.h: remove LFUN_INSET_EDIT
2564
2565         * lyxfunc.C:
2566         * tabular.C:
2567         * text.C:
2568         * text2.C:
2569         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2570
2571 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2572
2573         * lyxfind.[Ch]: complete overhaul
2574         * BufferView_pimpl.C:
2575         * lyxfunc.C: adjust
2576         * paragraph.[Ch] (insert): add
2577
2578 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2579
2580         * BufferView.[Ch]:
2581         * lyxtext.h:
2582         * text.C: remove dead spellcheck code
2583
2584 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * dispatchresult.h: add a val setter
2587
2588         * cursor.C (dispatch): use a tempvar for data_[i]
2589
2590 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2591
2592         * PosIterator.[Ch]: compile fix
2593
2594 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * text.C (cursorPar): deactivate the cursor cache
2597
2598 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2599
2600         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2601
2602 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2603
2604         * text3.C (dispatch): adjust for new DisptchResult semantics.
2605
2606         * lyxfunc.C (dispatch): handle update when return from
2607         Cursor::dispatch, adjust for new DispatchResult semantics.
2608
2609         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2610         DispatchResult(true) mean to not update. Add class functions for
2611         setting dispatched and update, as well as reading.
2612
2613         * cursor.C (dispatch): don't handle update here
2614
2615 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2618         * trans_mgr.C: adjust
2619
2620         * paragraph_funcs.C (readParToken): exception safety
2621
2622         * lyxvc.h: store the vcs pointer in a scoped_ptr
2623         * lyxvc.C: adjust
2624
2625         * lyxsocket.C (serverCallback): exception safety
2626
2627         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2628
2629         * ispell.C (clone): make it return a auto_ptr
2630
2631         * factory.C (createInset): exception safety
2632         (readInset): exception safety
2633
2634         * bufferlist.C (newBuffer): exception safety
2635
2636         * Thesaurus.C (Thesaurus): use initialization for aik_
2637
2638         * MenuBackend.C (expandToc): exception safety.
2639
2640 2003-11-03  André Pönitz  <poenitz@gmx.net>
2641
2642         * buffer.C:
2643         * buffer.h:
2644         * bufferview_funcs.C: remove getInsetFromId()
2645
2646         * lyxcursor.[Ch]:
2647         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2648
2649         * lyxfunc.C:
2650         * text2.C:
2651         * text3.C: adjust
2652
2653 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2654
2655         * PosIterator.C (distance, advance): new
2656         * bufferview_funcs.[Ch] (put_selection_at): new
2657         * iterators.[Ch] (lockPath): new
2658
2659 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * iterators.[Ch] (asPosIterator): added
2662         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2663         * PosIterator.[Ch]: added
2664
2665 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2666
2667         * text3.C:
2668         * lyxfunc.C:
2669         * cursor.C (dispatch):
2670         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2671
2672         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2673         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2674         contructor, add a class function dispatched. Remove operator>=
2675
2676 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2677
2678         * debug.C: only use the default constructor for debugstream
2679         (lyxerr) here.
2680
2681         * main.C (main): include debug.h and setup the lyxerr streambuf
2682         here.
2683
2684 2003-10-31  José Matos  <jamatos@lyx.org>
2685
2686         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2687
2688         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2689         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2690         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2691         * paragraph_pimpl.C (simpleTeXSpecialC):
2692         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2693         add LatexRunParams argument.
2694
2695         * exporter.C (Export): change call accordingly.
2696
2697         * latexrunparams.h: add new member to take care of the other backends.
2698 2003-10-30  José Matos  <jamatos@lyx.org>
2699
2700         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2701         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2702         factorise code for paragraph output.
2703         * buffer.[Ch]:
2704         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2705         move functions.
2706
2707 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2708
2709         * text3.C (dispatch):
2710         * lyxfunc.C (dispatch):
2711         * cursor.C (dispatch):
2712         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2713
2714         * dispatchresult.h: make the dispatch_result_t ctor explicit
2715
2716 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2717
2718         * sgml.[Ch]:
2719         * buffer.C: small refactoring of docbook stuff
2720
2721 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2724         meaning.
2725
2726 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2727
2728         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2729         operator dispatch_result_t, and operators for == != and >=
2730
2731         * cursor.C (dispatch): adjust for operator dispatch_result_t
2732         removal. comment out call to update
2733
2734         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2735
2736 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2737
2738         * text3.C:
2739         * text2.C:
2740         * text.C:
2741         * lyxtext.h:
2742         * lyxfunc.C:
2743         * cursor.C:
2744         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2745         (dispatch):
2746
2747         * dispatchresult.h: new file, DispatchResult broken out of
2748         insets/insetbase.h
2749
2750         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2751
2752 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * text.C (rowBreakPoint): put a hack inside #if 0
2755
2756 2003-10-28  André Pönitz  <poenitz@gmx.net>
2757
2758         * lyxtext.h:
2759         * metricsinfo.C:
2760         * paragraph_funcs.C:
2761         * rowpainter.C:
2762         * text.C:
2763         * text2.C: general cleanup (lots of small stuff)
2764
2765 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2766
2767         * text2.C (cursorEnd): simple fix to the "end key goes to one
2768         before the end on last row" bug
2769
2770 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * text.C (backspace): fix the "zombie characters"
2773
2774 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2775
2776         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2777
2778 2003-10-27  André Pönitz  <poenitz@gmx.net>
2779
2780         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2781
2782         * factory.C: handle new InsetPagebreak, InsetLine
2783
2784         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2785         and move handling into new InsetPagebreak, InsetLine
2786
2787         * BufferView_pimpl.C:
2788         * LyXAction.C:
2789         * ParagraphParameters.C:
2790         * ParameterStruct.h:
2791         * lyxfunc.C:
2792         * lyxtext.h:
2793         * paragraph.C:
2794         * paragraph.h:
2795         * paragraph_funcs.C:
2796         * paragraph_pimpl.C:
2797         * rowpainter.C:
2798         * text.C:
2799         * text2.C:
2800         * text3.C: adjust
2801
2802 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2803
2804         * text.C:
2805         * lyxrow_funcs.[Ch]:
2806         * Bidi.C:
2807         * paragraph.C:
2808         * lyxtext.h:
2809         * rowpainter.C:
2810         * text2.C:
2811         * text3.C: remove lastPos uses in favour of Row::endpos
2812
2813 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2814
2815         * undo.C (performUndoOrRedo): fix two crashes by setting a
2816         cursor by hand and reordering some calls. Use bv->lockInset instead
2817         of inset->edit because the latter loses cursor information
2818
2819 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2820
2821         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2822         by Martin
2823         (rowBreakPoint): fix width. change point to point + 1.
2824         Add a missing check.
2825
2826 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2827
2828         * MenuBackend.C:
2829         * lyxfunc.C: fix (at least partly) the problems
2830         with the Nav menu and headers inside branch insets
2831         reported by Kayvan
2832
2833 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * paragraph.C (getChar): add strong asserts
2836
2837         * lyxrow_funcs.C (lastPos): remove hideous hack
2838
2839         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2840         (fill): adjust to that (avoid an infinite loop)
2841
2842 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2845
2846 2003-10-23  André Pönitz  <poenitz@gmx.net>
2847
2848         * RowList_fwd.h: change list<> to vector<> to gain speed
2849         after suggestion from Alfredo
2850
2851 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2852
2853         * lyxtext.h: move the bidi stuff from here...
2854         * text.C: and here
2855         * text2.C: and here
2856         * Bidi.[Ch]: ... to here
2857
2858 2003-10-23  André Pönitz  <poenitz@gmx.net>
2859
2860         * lyxtext.h:
2861         * text.C (isLastRow, isFirstRow): new functions
2862
2863         * paragraph.h: new width cache member
2864
2865         * rowpainter.C: replace RowList::iterator with Row & where possible
2866
2867         * lyxfunc.C: replace several view()->text with a single call
2868
2869         * toc.C: fix 'unused' warning
2870
2871 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2874         when woring with stream::pos_type
2875         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2876
2877 2003-10-22  André Pönitz  <poenitz@gmx.net>
2878
2879         * lyxtext.h:
2880         * text.C: use Row & instead of RowList::iterator
2881
2882         * lyxrow.h: rename end() to endpos()
2883
2884         * rowpainter.C:
2885         * text.C:
2886         * text2.C: adjust
2887
2888 2003-10-22  Angus Leeming  <leeming@lyx.org>
2889
2890         * buffer.[Ch] (fully_loaded): new member function, returning true
2891         only when the file has been loaded fully.
2892         Used to prevent the premature generation of previews and by the
2893         citation inset to prevent computation of the natbib-style label.
2894
2895         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2896         templates are all set up.
2897
2898         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2899
2900 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2901
2902         * text.C: fixed an "oops" in the "is a bit silly"
2903         bug fix
2904
2905 2003-10-21  André Pönitz  <poenitz@gmx.net>
2906
2907         * FuncStatus.[Ch]: small stuff, whitespace
2908
2909         * lyxfont.[Ch]: operator<<() for debug reasons
2910
2911         * lyxfunc.C:
2912         * lyxrow_funcs.C:
2913         * lyxtext.h: whitespace, spelling
2914
2915         * paragraph.C: naming of variables
2916
2917         * text.C:
2918         * text2.C: small stuff
2919
2920
2921 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2922
2923         * text.C: (1) finish off the inset display() work;
2924         (2) fix the "is a bit silly" bug (accessing char
2925         past end of par).
2926
2927 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2928
2929         * text.C: re-introduce display() for insets, fixing the
2930         various bugs (stretch of line above, math inset
2931         positioning, ...)
2932
2933 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2934
2935         * text.C (rightMargin): remove spurious semicolon
2936
2937         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2938         1415)
2939
2940 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2941
2942         * text3.C: fix one crash due to wrong cursor def
2943
2944 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * vc-backend.C (scanMaster): make the regex static
2947
2948         * LaTeX.C (scanAuxFile): make the regexs static
2949
2950         * text3.C (doInsertInset, dispatch, dispatch):
2951         * text2.C (cursorUp, cursorDown):
2952         * text.C (selectNextWordToSpellcheck):
2953         * BufferView_pimpl.C (dispatch):
2954         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2955
2956 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2957
2958         * lyxsocket.C: include <cerrno>
2959
2960 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2961
2962         * lyxfunc.C (dispatch): remove textcache stuff
2963
2964         * bufferlist.C (release): remove textcache stuff
2965         (closeAll): ditto
2966
2967         * TextCache.C: delete file
2968         * TextCache.h: delete file
2969
2970         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2971
2972         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2973         delete of the bv_->text.
2974         (resizeCurrentBuffer): remove texcache stuff
2975         (workAreaResize): ditto
2976
2977 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2980         action.
2981
2982 2003-10-16  André Pönitz  <poenitz@gmx.net>
2983
2984         * lyxrow.[Ch]:
2985         * paragraph.h:
2986         * rowpainter.C:
2987         * text.C:
2988         * text2.C:
2989         * text3.C: speed up by storing y positions per paragraph plus per-row
2990         offset instead of having a 'full' y position in the row.
2991
2992 2003-10-15  André Pönitz  <poenitz@gmx.net>
2993
2994         * iterators.[Ch]:
2995         * iterators.[Ch]:
2996         * undo.[Ch]: make undo aware of inner insets
2997
2998 2003-10-14  Angus Leeming  <leeming@lyx.org>
2999
3000         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3001         static member functions LyX::ref() and LyX::cref.
3002         (lastfiles): new accessor functions for the new lastfiles_ member var.
3003         (addLyXView, views_): add a new LyXView to the list of views_.
3004         (updateInset): loop over all LyXViews to call their own updateInset
3005         member function, returning a pointer to the Buffer owning the inset.
3006
3007         * BufferView_pimpl.C (loadLyXFile):
3008         * MenuBackend.C (expandLastfiles):
3009         * bufferlist.C (MenuWrite, QuitLyX):
3010         lastfiles is no longer a global variable.
3011         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3012
3013         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3014         static function. Access through LyX::cref().emergencyCleanup().
3015
3016 2003-10-14  André Pönitz  <poenitz@gmx.net>
3017
3018         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3019
3020         * undo.[Ch]: restoring part of 'undo in insets'
3021
3022         * Makefile.am:
3023         * undo_funcs.[Ch]: merge with undo.[Ch]
3024
3025         * tabular.C: small cleansing stuff
3026
3027 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3028
3029         * paragraph_funcs.C (readParToken): report unknown insets as error
3030         boxes. Use the outer paragraph as location (also for unknown
3031         tokens).
3032
3033         * factory.C (readInset): do not abort on reading an unknown inset.
3034         Eat it and return 0.
3035
3036 2003-10-13  Angus Leeming  <leeming@lyx.org>
3037
3038         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3039
3040         * lyxrc.C: displayTranslator is now a function,
3041         declared in GraphicsTypes.h.
3042
3043 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3044
3045         * format.C: new placeholder $$a to pass the socket address.
3046
3047         * bufferlist.[Ch]: new function getBufferFromTmp.
3048
3049         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3050           files in the temporary dir.
3051
3052 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3053
3054         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3055
3056         * Makefile.am: add lyxsocket.[Ch].
3057
3058         * lyx_main.C (error_handler): handle SIGPIPE.
3059
3060 2003-10-13  André Pönitz  <poenitz@gmx.net>
3061
3062         * BufferView_pimpl.C:
3063         * lyxtext.h:
3064         * text.C:
3065         * text2.C:
3066         * text3.C:
3067         * undo_funcs.[Ch]: use paroffset_type instead of
3068           ParagraphList::iterators to prevent multiple conversion
3069           (and get a more robust interface)
3070
3071 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3074         * lyxtext.h: ditto
3075         * text3.C (dispatch): ditto
3076
3077 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3078
3079         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3080         move the onlyfile, use onlyfile instead of foundfile in a couple
3081         of places.
3082
3083         * DepTable.C (update): flush the error stream a bit more
3084
3085 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * lyxserver.C (callback): adjust
3088
3089         * lyxfunc.C (getStatus): add a missing brace in commented code
3090         (ensureBufferClean): reindent
3091         (dispatch): delete version taking a string
3092
3093 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * LaTeX.C (deplog): move found file handlig from here...
3096         (handleFoundFile): .. to new function here.
3097         (deplog): make sure to discover several files mentioned on the
3098         same log line.
3099
3100 2003-10-10  André Pönitz  <poenitz@gmx.net>
3101
3102         * lyxfunc.C:
3103         * lyxtext.h:
3104         * tabular.C:
3105         * text.C:
3106         * text2.C:
3107         * text3.C: fix some of the tabular crashes
3108
3109 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3110
3111         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3112
3113         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3114
3115 2003-10-09  André Pönitz  <poenitz@gmx.net>
3116
3117         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3118
3119         * BufferView.C:
3120         * BufferView_pimpl.C:
3121         * bufferview_funcs.C:
3122         * lyx_cb.C:
3123         * lyxcursor.C:
3124         * lyxfind.C:
3125         * lyxfunc.C:
3126         * lyxtext.h:
3127         * text.C:
3128         * text2.C:
3129         * text3.C:
3130         * text_funcs.[Ch]:
3131         * textcursor.[Ch]:
3132         * undo_funcs.C: adjust
3133
3134 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * text2.C (incrementItemDepth): new function, use a backtracking
3137         algorithm to discover the correct item depth.
3138         (resetEnumCounterIfNeeded): new function, use a backtracking
3139         algorithm to discover if counter reset is needed.
3140         (setCounter): use them. Simplify a bit. Add different labels for
3141         different item depths for itemize.
3142
3143         * paragraph.C (Paragraph): remove initialization of enumdepth
3144         (operator=): ditto
3145
3146         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3147         enumerate and itemize. Change the type of itemdepth to signed char.
3148
3149 2003-10-08  André Pönitz  <poenitz@gmx.net>
3150
3151         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3152           thing assignable.
3153         * text.C:
3154         * text2.C: adjust
3155
3156         * tabular.[Ch]: fix crash after 'row-insert'
3157
3158 2003-10-08  Angus Leeming  <leeming@lyx.org>
3159
3160         Fix doxygen warnings.
3161
3162         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3163         Remove CutAndPaste:: prefix from header file declaration.
3164
3165         * LColor.h (fill): remove LColor:: prefix from declaration.
3166
3167         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3168         use lyx::depth_type rather than Paragraph::depth_type so that
3169         header file and .C file match.
3170
3171         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3172
3173         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3174         * aspell.C: \file aspell_local.C -> \file aspell.C
3175         * gettext.C: \file gettext.C -> \file src/gettext.C
3176         * gettext.h: \file gettext.h -> \file src/gettext.h
3177         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3178         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3179         * text.C: \file text.C -> \file src/text.C
3180
3181         * toc.C: move comment so that doxygen is not confused.
3182
3183 2003-10-07  Angus Leeming  <leeming@lyx.org>
3184
3185         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3186
3187 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3188
3189         * aspell.C:
3190         * aspell_local.h: add forgotten std::string's.
3191
3192 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3193
3194         * LaTeXFeatures.C:
3195         * LyXAction.C:
3196         * factory.C:
3197         * lfuns.h:
3198         * lyxfunc.C:
3199         * text3.C: The Box patch. Fancybox support, minipage, parbox
3200
3201 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3202
3203         * CutAndPaste.h:
3204         * DepTable.h:
3205         * FloatList.h:
3206         * LaTeXFeatures.h:
3207         * ParagraphParameters.h:
3208         * TextCache.h:
3209         * Thesaurus.h:
3210         * bufferlist.h:
3211         * exporter.h:
3212         * importer.h:
3213         * lastfiles.h:
3214         * lyxfind.h:
3215         * lyxfont.h:
3216         * lyxlex.h:
3217         * lyxtextclasslist.h:
3218         * messages.h:
3219         * paragraph.h:
3220         * paragraph_pimpl.C:
3221         * textcursor.h: add <string> and other small fixes to make Lars'
3222         std::string patch compile with STLport.
3223
3224 2003-10-06  Angus Leeming  <leeming@lyx.org>
3225
3226         * LColor.h: Add missing #include <string>.
3227
3228 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3229
3230         * All most all file in all subdirs: Make <string> be the prefered
3231         way of getting to std::string, add using declarations.
3232
3233 2003-10-06  André Pönitz  <poenitz@gmx.net>
3234
3235         * metricsinfo.C: initialize LyXFont before changing attribute.
3236         (fixes the 'math in \emph is upright' bug)
3237
3238 2003-10-06  André Pönitz  <poenitz@gmx.net>
3239
3240         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3241
3242 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3243
3244         * graph.C:
3245         * paragraph_pimpl.C: Small fixes to build using STLport
3246
3247 2003-10-02  André Pönitz  <poenitz@gmx.net>
3248
3249         * lyxfunc.C:
3250         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3251
3252 2003-10-01  André Pönitz  <poenitz@gmx.net>
3253
3254         * factory.C: assert early
3255
3256 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3257
3258         * lyx_main.C: remove the global debug object
3259
3260         * debug.h: adjust for new debugstream
3261
3262         * debug.C: adjust for new debugstream and keep the global debug
3263         object here.
3264
3265 2003-09-22  Angus Leeming  <leeming@lyx.org>
3266
3267         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3268         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3269         an incomplete class LyXFont.
3270
3271 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3272
3273         * factory.C: bug fix in branches
3274
3275 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * lyxfunc.C (processKeySym): adjust
3278         (dispatch): adjust
3279         (dispatch): change arg name from ev to func, adjust
3280         (sendDispatchMessage): ditto
3281
3282         * lyx_main.C (defaultKeyBindings): adjust keybindings
3283         (deadKeyBindings): ditto
3284
3285         * kbsequence.C (addkey): return a FuncRequest
3286
3287         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3288
3289         * kbmap.C (bind): take a FuncRequest as arg, adjust
3290         (read): adjust
3291         (lookup): adjust
3292         (defkey): change to take a FuncRequest as arg, adjust
3293         (findbinding): take a FuncRequest as arg, adjust.
3294
3295         * funcrequest.h (operator=): added
3296
3297         * funcrequest.C (FuncRequest): default kb_action changed from
3298         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3299
3300         * buffer.C (dispatch): simplify
3301         (dispatch): adjust to take a FuncRequest as arg, adjust
3302
3303         * boost.C (assertion_failed): change assertion message slightly
3304
3305         * ToolbarBackend.C (read): simplify
3306
3307         * MenuBackend.C (binding): adjust call to findbinding, add a
3308         message if no binding is found.
3309         (read): simplify
3310         (expandToc): correct by adding a empty FuncRequest
3311
3312         * LyXAction.C: include <boost/assert.hpp>
3313         (isPseudoAction): delete function
3314         (LookupFunc): change name to...
3315         (lookupFunc): this. change return type to FuncRequest.
3316         (getActionName): take kb_action as arg, simplify
3317         (funcHasFlag): add an assert, simplify.
3318
3319 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * toc.C (action): return a FuncRequest, simplify
3322
3323         * lyxfunc.C (processKeySym): adjust
3324         (getStatus): delete version that takes an int.
3325         (getStatus): adjust
3326         (dispatch): delete version that takes action as int
3327         (dispatch): adjust
3328         (sendDispatchMessage): simplify and adjust
3329
3330         * funcrequest.C (getArg): take unsigned int as arg
3331
3332         * ToolbarBackend.C (read): adjust
3333         (add): delete version that takes func as a string.
3334         (getIton): take a FuncRequest as arg
3335
3336         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3337         action.
3338
3339         * MenuBackend.C (MenuItem): add a new construct that only takes a
3340         Kind, simplify the constructor use for submenus.
3341         (add): adjust
3342         (expandLastfiles): adjust
3343         (expandDocuments): adjust
3344         (expandFormats): adjust
3345         (expandFloatListInsert): adjust
3346         (expandFloatInsert): adjust
3347         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3348
3349         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3350         Remove class variables lyx_pseudo_map and lyx_arg_map
3351
3352         * LyXAction.C (searchActionArg): delete function
3353         (getPseudoAction): delete function
3354         (retrieveActionArg): delete function
3355         (LookupFunc): make it return kb_action, simplify.
3356         (getActionName): simplify
3357
3358         * factory.C (createInset): fix new bug
3359
3360 2003-09-19  Angus Leeming  <leeming@lyx.org>
3361
3362         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3363         masterFilename_ parameter in the include inset.
3364
3365         * factory.C (createInset): changes due to the changes to InsetInclude.
3366
3367 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3368
3369         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3370
3371 2003-09-18  Angus Leeming  <leeming@lyx.org>
3372
3373         * buffer.C:
3374         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3375         Inset::fillWithBibKeys.
3376         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3377
3378 2003-09-18  Angus Leeming  <leeming@lyx.org>
3379
3380         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3381         variables.
3382         (ctor): pass and store a 'Buffer const &'
3383         (buffer): new member function.
3384
3385         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3386         '*this' to the LaTeXFeatures ctor.
3387
3388 2003-09-18  Angus Leeming  <leeming@lyx.org>
3389
3390         * LColor.h:
3391         * lyxfont.C:
3392         * lyxfont.h:
3393         * lyxtext.h:
3394         * text.C: rename EnumLColor as LColor_color.
3395
3396 2003-09-18  Angus Leeming  <leeming@lyx.org>
3397
3398         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3399         remove #include "insets/insetbase.h" from cursor.h.
3400
3401 2003-09-18  Angus Leeming  <leeming@lyx.org>
3402
3403         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3404         InsetOld_code to remove #include "inset.h".
3405
3406         * iterators.C: add #include "insets/inset.h"
3407
3408 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3409
3410         * BufferView.C: remove more locking stuff that apparently doesn't
3411         do anything sensible.
3412
3413 2003-09-16  André Pönitz  <poenitz@gmx.net>
3414
3415         * paragraph.[Ch]:
3416         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3417           performance boost.
3418
3419 2003-09-16  Angus Leeming  <leeming@lyx.org>
3420
3421         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3422
3423         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3424         arg/return type.
3425
3426         * paragraph.h: remove #include "lyxfont.h". Forward declare
3427         LyXFont_size.
3428
3429 2003-09-16  Angus Leeming  <leeming@lyx.org>
3430
3431         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3432         of support/textutils.h.
3433         (isWord): move the contents of support/textutils.h's IsWordChar here.
3434
3435         * buffer.C:
3436         * lyxfind.C:
3437         * rowpainter.C:
3438         * text.C:
3439         * text2.C: add #include "paragraph.h".
3440
3441         * rowpainter.C:
3442         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3443
3444 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * main.C:
3447         * lyx_main.C:
3448         * lyx_cb.C:
3449         * buffer.C:
3450         * LaTeX.C: use namespace alias for lyx::support::os
3451
3452 2003-09-16  Angus Leeming  <leeming@lyx.org>
3453
3454         * bufferparams.C:
3455         * bufferview_funcs.C:
3456         * factory.C:
3457         * lyxfunc.C:
3458         * paragraph_pimpl.C:
3459         * rowpainter.C:
3460         * text.C: add #include "LColor.h".
3461
3462 2003-09-16  Angus Leeming  <leeming@lyx.org>
3463
3464         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3465         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3466         return LyXFont &.
3467         Store the FontBits::color variable as an int rather than as an
3468         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3469         file.
3470
3471         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3472         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3473         string calls together.
3474
3475         * lyxrc.C: add #include "LColor.h".
3476
3477 2003-09-15  Angus Leeming  <leeming@lyx.org>
3478
3479         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3480         a cow_ptr.
3481
3482 2003-09-15  Angus Leeming  <leeming@lyx.org>
3483
3484         * LColor.h: add an EnumLColor wrapper for LColor::color.
3485
3486         * lyxfont.[Ch] (color, setColor, realColor):
3487         * lyxtext.h, text.C (backgroundColor):
3488         pass EnumLColor args to/from the functions, rather than LColor::color
3489         ones.
3490
3491         * lyxfont.h:
3492         * lyxtext.h: forward declare EnumLColor.
3493
3494         * lyx_main.C: add #include "LColor.h".
3495
3496 2003-09-15  Angus Leeming  <leeming@lyx.org>
3497
3498         * .cvsignore: add lyx-gtk.
3499
3500 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3501
3502         * Chktex.C
3503         * LaTeX.C
3504         * LaTeXFeatures.C
3505         * ParagraphParameters.C
3506         * Spacing.C
3507         * buffer.C
3508         * bufferparams.C
3509         * bufferview_funcs.C
3510         * chset.C
3511         * counters.C
3512         * funcrequest.C
3513         * lyxfont.C
3514         * lyxgluelength.C
3515         * lyxlength.C
3516         * paragraph.C
3517         * paragraph_funcs.C
3518         * text3.C
3519         * vc-backend.C: remove usage of STRCONV
3520
3521 2003-09-15  Angus Leeming  <leeming@lyx.org>
3522
3523         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3524         explicitly define the color passed to the painter.
3525
3526 2003-09-15  Angus Leeming  <leeming@lyx.org>
3527
3528         * bufferparams.C (BufferParams): reorder member initializers to avoid
3529         compiler warning.
3530
3531 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3532
3533         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3534         * text.C (updateRowPositions): remove an unusual nop
3535
3536 2003-09-12  André Pönitz  <poenitz@gmx.net>
3537
3538         * BufferView_pimpl.C:
3539         * Bullet.C:
3540         * layout.h:
3541         * lyxfunc.C:
3542         * lyxlayout.[Ch]:
3543         * lyxtextclass.C:
3544         * rowpainter.C:
3545         * text.C:
3546         * text2.C:
3547         * Counters.[Ch]: finish the 'automatic counters' job
3548
3549 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3550
3551         * aspell.C: include <boost/assert.cpp> (compile fix)
3552
3553 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3554
3555         * boost.C (assertion_failed): use lyx::support::abort instead of
3556         assert.
3557
3558 2003-09-10  Angus Leeming  <leeming@lyx.org>
3559
3560         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3561         with their _fwd progeny.
3562
3563 2003-09-09  Angus Leeming  <leeming@lyx.org>
3564
3565         134 files throughtout the source tree: replace 'using namespace abc;'
3566         directives with the appropriate 'using abc::xyz;' declarations.
3567
3568 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3569
3570         * boost.C (emergencyCleanup): moved here from LAssert.c
3571         (assertion_failed): new function, called by BOOST_ASSERT
3572
3573         * several files: change Assert to BOOST_ASSERT
3574
3575 2003-09-09  Angus Leeming  <leeming@lyx.org>
3576
3577         * buffer.[Ch]: Add an Impl class and move Buffer's member
3578         variables into it. As a result move several header files out of
3579         buffer.h.
3580
3581         Add header files to lots of .C files all over the tree as a result.
3582
3583 2003-09-09  Angus Leeming  <leeming@lyx.org>
3584
3585         * buffer.[Ch]: make Buffer's member variables private. Add
3586         accessor functions.
3587
3588         Lots of changes all over the tree as a result.
3589
3590 2003-09-08  Angus Leeming  <leeming@lyx.org>
3591
3592         * graph.C: #include <config.h>.
3593
3594 2003-09-08  Angus Leeming  <leeming@lyx.org>
3595
3596         * BranchList.C:
3597         * BufferView.C:
3598         * BufferView_pimpl.C:
3599         * CutAndPaste.C:
3600         * DepTable.C:
3601         * LaTeX.C:
3602         * LaTeXFeatures.C:
3603         * LyXAction.C:
3604         * MenuBackend.C:
3605         * TextCache.C:
3606         * aspell.C:
3607         * buffer.C:
3608         * bufferlist.C:
3609         * changes.C:
3610         * chset.C:
3611         * converter.C:
3612         * counters.C:
3613         * debug.C:
3614         * graph.C:
3615         * ispell.C:
3616         * lyx_cb.C:
3617         * lyxfind.C:
3618         * lyxfunc.C:
3619         * lyxlex_pimpl.C:
3620         * lyxrc.C:
3621         * lyxrow.C:
3622         * paragraph.C:
3623         * rowpainter.C:
3624         * texrow.C:
3625         * text.C:
3626         * text2.C:
3627         * toc.C: remove redundant using directives.
3628
3629 2003-09-07  Angus Leeming  <leeming@lyx.org>
3630
3631         * LaTeXFeatures.h: remove #include "support/types.h".
3632         * ToolbarBackend.h: remove #include <algorithm>.
3633         * changes.h: remove #include <ctime>.
3634         * debug.h: remove #include <iosfwd>.
3635         * graph.h: remove #include "support/std_string.h".
3636         * lyx_main.h: remove #include <csignal>.
3637         * lyxlex_pimpl.h: remove #include <fstream>.
3638         * sgml.h: remove #include <algorithm>, <utility>.
3639         * toc.h: remove #include "support/std_ostream.h".
3640         Add #include <iosfwd>.
3641
3642 2003-09-07  Angus Leeming  <leeming@lyx.org>
3643
3644         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3645
3646         * converter.h: forward declare LatexRunParams.
3647         * encoding.h: remove #include "lyxrc.h".
3648         * lyxtext.h: remove #include "LColor.h".
3649         * lyxtextclass.h: remove #include "support/types.h".
3650         * trans.h: remove #include "tex-accent.h".
3651         * trans_mgr.h: remove #include "tex-accent.h".
3652         * insets/inset.h: remove #include "support/types.h", <vector>.
3653         * insets/insetcollapsable.h: remove #include "LColor.h".
3654         * insets/insetinclude.h: remove #include "dimension.h".
3655         * insets/insetlatexaccent.h: remove #include "dimension.h".
3656         * insets/insetoptarg.h:: remove #include "insettext.h".
3657         * insets/insettext.h: remove #include "dimension.h",
3658         <boost/shared_ptr.hpp>
3659
3660         * insets/renderers.h: add #include "dimension.h".
3661         * insets/updatableinset.h: add #include "support/types.h".
3662
3663         * many .C files: Associated changes.
3664
3665 2003-09-06  Angus Leeming  <leeming@lyx.org>
3666
3667         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3668         one, inside testInvariant.
3669
3670         * PrinterParams.C: new file.
3671         * PrinterParams.[Ch]: move the function bodies out of line.
3672
3673 2003-09-06  Angus Leeming  <leeming@lyx.org>
3674
3675         * ParagraphParameters.h: forward declare ParameterStruct rather than
3676         including its header file.
3677         (depth): moved out-of-line.
3678
3679 2003-09-06  Angus Leeming  <leeming@lyx.org>
3680
3681         * BufferView_pimpl.h:
3682         * kbmap.h:
3683         * kbsequence.h:
3684         * lyxfunc.h: forward declare LyXKeySym rather than
3685         #include "frontends/LyXKeySym.h".
3686
3687         * BufferView_pimpl.C:
3688         * kbmap.C:
3689         * kbsequence.C:
3690         * lyxfunc.C: associated changes.
3691
3692 2003-09-06  Angus Leeming  <leeming@lyx.org>
3693
3694         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3695         As a result, can remove the #include "insets/inset.h" from BufferView.h
3696
3697 2003-09-06  Angus Leeming  <leeming@lyx.org>
3698
3699         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3700         As a result, can remove the #include "insets/inset.h" from BufferView.h
3701
3702 2003-09-06  Angus Leeming  <leeming@lyx.org>
3703
3704         * buffer_funcs.C:
3705         * buffer.h:
3706         * bufferlist.C:
3707         * BufferView.C:
3708         * bufferview_funcs.C:
3709         * BufferView_pimpl.C:
3710         * CutAndPaste.C:
3711         * lyx_cb.C:
3712         * lyxfunc.C:
3713         * paragraph.h:
3714         * ParagraphParameters.C:
3715         * tabular.C:
3716         * text3.C:
3717         * toc.C:
3718         * undo_funcs.C:
3719         * frontends/controllers/ControlDocument.C:
3720         * insets/insetcaption.C: rearrange the #includes into some sort of
3721         coherent order.
3722
3723         * buffer.h: remove #includes ErrorList.h, undo.h
3724
3725 2003-09-06  Angus Leeming  <leeming@lyx.org>
3726
3727         * support/types.h: add a 'depth_type' typedef, used to store the
3728         nesting depth of a paragraph.
3729
3730         * paragraph.h:
3731         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3732         defining explicitly.
3733
3734         * buffer.h:
3735         * paragraph_funcs.h:
3736         * ParagraphParameters.h:
3737         * sgml.h: use lyx::depth_type rather than Paragraph or
3738         ParameterStruct's depth_type.
3739
3740         * buffer.h
3741         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3742
3743         * BufferView.C:
3744         * BufferView_pimpl.C:
3745         * CutAndPaste.C:
3746         * ParagraphParameters.C:
3747         * buffer_funcs.C:
3748         * bufferlist.C:
3749         * bufferview_funcs.C:
3750         * lyx_cb.C:
3751         * lyxfunc.C:
3752         * tabular.C:
3753         * text3.C:
3754         * toc.C:
3755         * undo_funcs.C:
3756         * frontends/LyXView.C:
3757         * frontends/controllers/ControlDocument.C:
3758         * frontends/controllers/ControlErrorList.C:
3759         * insets/insetbibitem.C:
3760         * insets/insetbranch.C:
3761         * insets/insetcaption.C:
3762         * insets/insetcollapsable.C:
3763         * insets/insetenv.C:
3764         * insets/insetert.C:
3765         * insets/insetfloat.C:
3766         * insets/insetfoot.C:
3767         * insets/insetfootlike.C:
3768         * insets/insetnewline.C:
3769         * insets/insetquotes.C:
3770         * insets/insettabular.C:
3771         * insets/insettext.C:
3772         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3773
3774         * frontends/controllers/ControlChanges.C: #include "changes.h".
3775
3776 2003-09-06  Angus Leeming  <leeming@lyx.org>
3777
3778         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3779         than #including paragraph.h.
3780
3781         * ParagraphList.h:
3782         * RowList.h: deleted. Superfluous.
3783
3784         * CutAndPaste.h:
3785         * iterators.h:
3786         * lyxcursor.h:
3787         * lyxtext.h:
3788         * text_funcs.h:
3789         * undo.h:
3790         * undo_funcs.h:
3791         * insets/inset.h:
3792         * insets/insettext.h: use ParagraphList_fwd.h rather than
3793         ParagraphList.h.
3794
3795         * paragraph.h: don't forward declare ParagraphList.
3796
3797         * buffer.h:
3798         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3799         rather than ParagraphList.h. paragraph.h is still needed for the
3800         Paragraph::depth_type parameters.
3801
3802         * textcursor.h: enable it to compile stand-alone in light of the
3803         above changes.
3804
3805         * bufferview_funcs.C:
3806         * iterators.C:
3807         * lyxfunc.C:
3808         * lyxrow_funcs.C:
3809         * paragraph.C:
3810         * rowpainter.C:
3811         * text.C:
3812         * text2.C:
3813         * text3.C:
3814         * text_funcs.C:
3815         * textcursor.C:
3816         * undo.C:
3817         * frontends/controllers/ControlParagraph.C:
3818         * frontends/controllers/ControlTabular.C:
3819         * insets/insetmarginal.C:
3820         * insets/insetminipage.C:
3821         * insets/insetnote.C:
3822         * insets/insetoptarg.C: add header files needed to compile again.
3823
3824 2003-09-06  Angus Leeming  <leeming@lyx.org>
3825
3826         * RowList_fwd.h: new file, forward-declaring Row rather than
3827         #including lyxrow.h.
3828
3829         * lyxrow_funcs.h:
3830         * lyxtext.h:
3831         * paragraph.h:
3832         * insets/insettext.h: use it instead of RowList.h
3833
3834         * bufferview_funcs.C:
3835         * lyxfunc.C:
3836         * lyxrow_funcs.C:
3837         * paragraph.C:
3838         * rowpainter.C:
3839         * text.C:
3840         * text2.C:
3841         * text3.C: #include "RowList.h".
3842
3843 2003-09-05  Angus Leeming  <leeming@lyx.org>
3844
3845         * factory.C (createInset):
3846         * vspace.C (c-tor): replace sscanf call with an istringstream.
3847         * ispell.C: re-add missing HP/UX headers.
3848         * lyxserver.C: re-add missing  os2 headers.
3849
3850 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3851
3852         * BranchList.C:
3853         * graph.C:
3854         * ispell.C:
3855         * lastfiles.C:
3856         * lyx_cb.C:
3857         * lyxserver.C:
3858         * texrow.C:
3859         * text3.C: re-add missing system headers, needed for 2.95.2.
3860
3861 2003-09-05  Angus Leeming  <leeming@lyx.org>
3862
3863         Changes most place everywhere due to the removal of using directives
3864         from support/std_sstream.h.
3865
3866 2003-09-05  Angus Leeming  <leeming@lyx.org>
3867
3868         Replace LString.h with support/std_string.h,
3869         Lsstream.h with support/std_sstream.h,
3870         support/LIstream.h with support/std_istream.h,
3871         support/LOstream.h with support/std_ostream.h.
3872
3873         Changes resulting throughout the tree.
3874
3875 2003-09-05  Angus Leeming  <leeming@lyx.org>
3876
3877         * sgml.h: ensure that the header file can be compiled stand-alone.
3878         * *.C: strip out redundant #includes. (320 in total.)
3879
3880 2003-09-04  Angus Leeming  <leeming@lyx.org>
3881
3882         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3883         here (from getPackages).
3884
3885         * debug.[Ch]: add a new EXTERNAL tag.
3886
3887 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3888
3889         * text2.C (cursorEnd): simplify
3890         (setCursor): adjust
3891         (getColumnNearX): adjust
3892
3893         * text.C (computeBidiTables): adjust
3894         (fill): adjust
3895
3896         * rowpainter.C (paintChars): adjust
3897         (paintSelection): adjust
3898         (paintChangeBar): adjust
3899         (paintText): adjust
3900
3901         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3902         lastPos instead.
3903         (numberOfSeparators): adjust
3904
3905 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3906
3907         * LyXAction.C:
3908         * box.[Ch]:
3909         * lfuns.h:
3910         * lyxfunc.C:
3911         * text3.C: Restricts the mouse click functionality
3912         of insets like bibtex, include, toc and floatlist to the visible
3913         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3914         up the dialogs. Cursor has to be in front of the inset (i.e.
3915         start of row) for this to function.
3916
3917 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3918
3919         * bufferview_funcs.C (currentState): output row information
3920
3921 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3922
3923         * bufferview_funcs.C (currentState): output paragraph position
3924
3925 2003-09-04  Angus Leeming  <leeming@lyx.org>
3926
3927         * FloatList.h: move out #include "Floating.h".
3928         * LaTeX.h: move out #include "DepTable.h".
3929         * LyXAction.h: move out #include "funcrequest.h".
3930         * buffer.h: move out #include "author.h", "iterators.h".
3931         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3932         * lyx_main.h: move out #include "errorlist.h".
3933         * lyxfunc.h: move out #include "FuncStatus.h".
3934         * lyxtext: move out #include "lyxcursor.h".
3935         * paragraph_pimpl.h: move out #include "counters.h".
3936
3937 2003-09-03  Angus Leeming  <leeming@lyx.org>
3938
3939         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3940         preamble_snippets list, enabling us to add snippets to the preamble
3941         only if the snippet was not there already.
3942
3943 2003-09-04  Angus Leeming  <leeming@lyx.org>
3944
3945         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3946
3947 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3950         update
3951
3952 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3953
3954         * BranchList.C: point fix, earlier forgotten
3955
3956 2003-09-02  Angus Leeming  <leeming@lyx.org>
3957
3958         * box.C (contains): renamed from 'contained' after a fantastic
3959         amount of hot air.
3960
3961 2003-09-02  John Levon  <levon@movementarian.org>
3962
3963         * BufferView.C:
3964         * lyxcursor.h:
3965         * lyxcursor.C:
3966         * lyxfunc.C:
3967         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3968
3969 2003-09-02  John Levon  <levon@movementarian.org>
3970
3971         * text2.C: simplification of cursorEnd(), including partial
3972         fix for bug 1376
3973
3974 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * buffer.C (readFile): add a space
3977
3978 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3979
3980         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3981
3982 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3983
3984         * buffer.C (readFile): new function, take a filename and a
3985         ParagraphList::iterator
3986         (readFile): adjust
3987         (readFile): adjust, make it private. don't use setStream, make
3988         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3989         always contain the filename.
3990
3991         * BufferView.C (insertLyXFile): simplify and make it work for
3992         gzipped files.
3993
3994 2003-08-30  John Levon  <levon@movementarian.org>
3995
3996         * Makefile.am: fix dist (from Kayvan)
3997
3998 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * most files: change to use const Buffer refs
4001
4002 2003-08-27  André Pönitz  <poenitz@gmx.net>
4003
4004         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4005         on top of ownerPar().
4006
4007 2003-08-27  John Levon  <levon@movementarian.org>
4008
4009         * funcrequest.C: properly initialise POD members
4010
4011 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * lyxtext.h (top_y): move top_y from here
4014         * text.C:
4015         * text2.C:
4016         * text3.C:
4017         * BufferView.[Ch]:
4018         * BufferView_pimpl.[Ch]: to here
4019         * frontends/screen.C:
4020         * insets/insettabular.C:
4021         * insets/insettext.C: adjust
4022         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4023
4024 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4025
4026         * BufferView.[Ch]:
4027         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4028
4029 2003-08-26  André Pönitz  <poenitz@gmx.net>
4030
4031         * paragraph_func.[Ch] (outerPar): new function
4032
4033         * paragraph.C:
4034         * paragraph_funcs.C:
4035         * paragraph_funcs.h:
4036         * paragraph_pimpl.C:
4037         * text2.C: remove Inset::par_owner
4038
4039 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4040
4041         * lyxrow_funcs.C:
4042         * lyxtext.h:
4043         * text.C:
4044         * text2.C: eliminates the needFullRow/display() stuff
4045         altogether, putting the logic in metrics/draw in the insets.
4046
4047 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4048
4049         * text2.C (redoParagraphInternal, redoParagraphs):
4050         * text.C (redoParagraph): add a call to updateRowPositions at the
4051         end of each 'metrics-like' call. Remove all others.
4052         (getRow): remove the 'y-computing' version.
4053         (getRowNearY): do not compute nor return the real y. Solve the
4054         'y < 0' problem and simplify.
4055
4056 2003-08-22  Angus Leeming  <leeming@lyx.org>
4057
4058         * *.[Ch]: clean-up of licence and author blurbs.
4059         Also move config.h out of a few .h files and into a few .C files.
4060
4061 2003-08-22  André Pönitz  <poenitz@gmx.net>
4062
4063         * lyxrow.[Ch]: add x_ and *fill_ members
4064
4065         * lyxtext.h:
4066         * text.C:
4067         * rowpainter.C:
4068         * text2.C: adjust/remove prepareToPrint() calls
4069
4070 2003-08-22  André Pönitz  <poenitz@gmx.net>
4071
4072         * lyxrow.[Ch]: add  end_ member
4073
4074         * lyxrow_funcs.C: use LyXRow::end_
4075
4076         * lyxtext.h (singleWidth): add LyXFont parameter
4077
4078         * rowpainter.C:
4079         * text2.C: adjust LyXText::singleWidth() calls
4080
4081         * text.C (redoParagraph): simplify row breaking logic
4082
4083
4084 2003-08-19  André Pönitz  <poenitz@gmx.net>
4085
4086         * funcrequest.C: initialize button_ member
4087
4088         * text3.C:
4089         * rowpainter.[Ch]: interface consolidation
4090
4091 2003-08-18  André Pönitz  <poenitz@gmx.net>
4092
4093         * BufferView.C:
4094         * BufferView_pimpl.C:
4095         * lyxfind.C:
4096         * paragraph_funcs.C:
4097         * rowpainter.C:
4098         * text3.C: remove LyXScreen::draw() and fitCursor calls
4099
4100         * BranchList.h: remove spurious semicolons
4101
4102         * MenuBackend.C: fix branchlist related crash
4103
4104 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4105
4106         * BranchList.[Ch]:
4107         * InsetList.[Ch]:
4108         * LColor.[Ch]:
4109         * LyXAction.C:
4110         * Makefile.am:
4111         * MenuBackend.[Ch]:
4112         * bufferparams.[Ch]:
4113         * factory.C:
4114         * lfuns.h:
4115         * lyxfunc.C:
4116         * text3.C: implements the 'branch inset'
4117         idea. This allows the output of various versions of a document
4118         from a single source version, selectively outputing or suppressing
4119         output of parts of the text.
4120         This implementation contains a 'branch list editor' in a separate
4121         tab of the document settings dialog. Branches are user definable
4122         and have a "display colour" to distinguish them on-screen.
4123
4124         ColorHandler was somewhat cleaned up.
4125         (1) make possible a dynamically growing LColor list by allowing
4126         the graphic context cache to grow along (vector);
4127         (2) eliminate an IMHO unnecessary step in colour allocation.
4128
4129 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4130
4131         * BufferView_pimpl.C: compile fix
4132
4133 2003-08-15  André Pönitz  <poenitz@gmx.net>
4134
4135         * rowpainter.C: remove extra metrics calls
4136
4137         * lyxtext.h: merge the two constructors into a single one,
4138           pass reference to owner's par list
4139
4140         * BufferView_pimpl.C:
4141         * text.C:
4142         * text2.C: adjust
4143
4144 2003-08-15  André Pönitz  <poenitz@gmx.net>
4145
4146         * lyxrow_funcs.[Ch]:
4147         * lyxtext.h:
4148         * paragraph.h:
4149         * paragraph_funcs.C:
4150         * rowpainter.C:
4151         * text.C:
4152         * text2.C:
4153         * text3.C:
4154         * text_funcs.C: split LyXText::rowlist_ into individual
4155         Paragraph::rows_ chunks
4156
4157         * BufferView.[Ch]:
4158         * BufferView_pimpl.[Ch]:
4159         * lyxfind.C:
4160         * lyxtext.h:
4161         * text3.C: remove toggleSelection()
4162
4163 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4164
4165         * bufferlist.C: beautify two alerts (shorter text of buttons)
4166         * buffer.C: Remove redundant ' ' from message
4167         * tabular.h:
4168         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4169         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4170         rename VALIGN_CENTER to VALIGN_MIDDLE
4171
4172 2003-08-11  André Pönitz  <poenitz@gmx.net>
4173
4174         * lyxtext.h (getPar):
4175         * text.C: new function
4176
4177 2003-08-11  André Pönitz  <poenitz@gmx.net>
4178
4179         * Makefile.am:
4180         * tracer.[Ch]: remove unneeded files
4181
4182         * InsetList.[Ch]: remove resizeInsetsLyXText()
4183
4184         * lyxtext.h:
4185         * text.C:
4186         * text2.C:
4187         * text3.C: merge insertParagraphs() and appendParagraph()
4188         remove breakAgain(), update()
4189
4190         * BufferView_pimpl.[Ch]:
4191         * bufferview_funcs.[Ch]:
4192         * lyxfunc.C:
4193         * paragraph.[Ch]:
4194         * rowpainter.C:
4195         * tabular.C: adjust after text & InsetList changes.
4196
4197 2003-08-08  André Pönitz  <poenitz@gmx.net>
4198
4199         * text.C (insertChar, backspace): replace rowlist fiddling
4200         with rebreak of full par
4201
4202         * lyxtext.h:
4203         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4204         checkParagraph, updateInset): removed
4205
4206 2003-08-07  André Pönitz  <poenitz@gmx.net>
4207
4208         * paragraph.C:
4209         * text3.C: merge some LFUN handlers, remove dead code
4210
4211 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4212
4213         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4214
4215 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4216
4217         * text2.C (DEPM): fix part of bug 1255 and 1256
4218
4219 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4220
4221         * BufferView_pimpl.C (workAreaDispatch): change to use
4222         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4223         that are no mouse related.
4224
4225 2003-08-05  André Pönitz  <poenitz@gmx.net>
4226
4227         * BufferView.[Ch]:
4228         * BufferView_pimpl.[Ch]:
4229         * bufferview_funcs.C:
4230         * text2.C:
4231         * text3.C: rip out "deep update"
4232
4233         * textcursor.[Ch] (last_sel_cursor): remove unused member
4234
4235 2003-08-04  André Pönitz  <poenitz@gmx.net>
4236
4237         * BufferView.[Ch]:
4238         * BufferView_pimpl.[Ch]:
4239         * ParagraphParameters.C:
4240         * bufferview_funcs.C:
4241         * lyx_cb.C:
4242         * lyxfind.C:
4243         * lyxfunc.C:
4244         * text.C:
4245         * text2.C:
4246         * text3.C: replace "complicated" BufferView::update(...) calls with
4247         simpler ones.
4248
4249         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4250
4251 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4252
4253         * Makefile.am (lyx_SOURCES): add paper.h
4254
4255 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4256
4257         * Makefile.am: move things around so that both lyx-qt and
4258         lyx-xforms can be built (according to --with-frontend). Then lyx
4259         is a symbolic link to lyx-[firstfrontend]
4260
4261 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4262
4263         * Always use std::endl with lyxerr
4264
4265 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4266
4267         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4268
4269 2003-08-01  André Pönitz  <poenitz@gmx.net>
4270
4271         * BufferView.[Ch]:
4272         * BufferView_pimpl.[Ch]:
4273         * lyxfunc.C:
4274         * text3.C: merge BufferView::repaint() and BufferView::update()
4275
4276 2003-08-01  José Matos  <jamatos@lyx.org>
4277
4278         * buffer.[Ch]: file_format is no longer a buffer data element.
4279
4280 2003-08-01  André Pönitz  <poenitz@gmx.net>
4281
4282         * BufferView.C:
4283         * lyxtext.h:
4284         * text.C:
4285         * text2.C: make redoParagraph more independent of current cursor
4286
4287         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4288         * text.C:
4289         * text2.C: remove unneeded members
4290
4291 2003-07-30  André Pönitz  <poenitz@gmx.net>
4292
4293         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4294
4295         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4296           create a single function...
4297
4298         * paragraph_funcs.C (moveItem): ... here.
4299
4300         * text.C:
4301           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4302
4303 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4304
4305         * LColor.[Ch]: Add comment and greyedout logical colors.
4306
4307 2003-07-30  André Pönitz  <poenitz@gmx.net>
4308
4309         * tabular.C: don't use Assert too heavily. This crashes where it
4310           shouldn't
4311
4312 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4313
4314         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4315         is disabled (bug 1232)
4316
4317 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4318
4319         * factory.C: limited 'arg' scope
4320
4321 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4322
4323         * factory.C: fixed Note submenu issues
4324
4325 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4326
4327         * factory.C: submenu for Note/Comment/Greyedout
4328
4329 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * lyx_main.C (LyX):
4332         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4333
4334 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4335
4336         * LaTeXFeatures.C:
4337         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4338         greyedout. Patch provided by Jürgen Spitzmüller.
4339
4340 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4341
4342         * kbmap.C (read): fix error message when reading bind files
4343
4344 2003-07-29  Angus Leeming  <leeming@lyx.org>
4345
4346         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4347         certainly does not do what it purports to do. I am doing it, and
4348         us, a favour by killing it.
4349
4350 2003-07-28  José Matos  <jamatos@lyx.org>
4351
4352         * buffer.C (readBody, do_writeFile):
4353         * paragraph.C(readParagraph): \end_document replaces \the_end.
4354
4355 2003-07-29  André Pönitz  <poenitz@gmx.net>
4356
4357         * BufferView.[Ch]:
4358         * BufferView_pimpl.[Ch]:
4359         * lyxfunc.C:
4360         * text2.C:
4361         * text3.C:
4362         * textcursor.[Ch]: remove toggleToggle & Co
4363
4364 2003-07-28  José Matos  <jamatos@fep.up.pt>
4365
4366         * buffer.C (readParagraph):
4367         * params_func (readParToken, readParagraph):
4368         * paragraph.C (write): \layout -> \begin_layout.
4369
4370 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * lyxlex_pimpl.C (setFile): clean up slightly.
4373
4374         * bufferparams.h: add compressed var
4375
4376         * buffer_funcs.C (readFile): adjust for LyXLex change
4377         (newFile): ditto + simplify
4378
4379         * buffer.C (writeFile): handle writing of compressed files
4380
4381         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4382         Check if the file is compressed and set a bufferparm if so.
4383
4384         * Makefile.am (lyx_LDADD): remove explicit -lz
4385
4386 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4387
4388         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4389         makeDocBookFile): put the real LyX version in the first line of
4390         the file
4391
4392         * version.h:
4393         * version.C.in: remove lyx_docversion
4394
4395         * tabular.C (write_attribute): add a template-based version to
4396         write enums properly
4397
4398 2003-07-28  André Pönitz  <poenitz@gmx.net>
4399
4400         * lyxtext.h:
4401         * text.C:
4402         * text2.C:
4403         * text3.C: use doubles again for x-coordinates. They are needed.
4404
4405 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * messages.C (getLocaleDir): use lyx_localedir()
4408
4409         * lyxlex_pimpl.C (setFile): compress stuff
4410
4411         * buffer.C (writeFile): add some compression stuff
4412         (do_writeFile): new func, dont call expliti close... will this
4413         breake anything?
4414
4415         * Makefile.am (lyx_LDADD): add -lz
4416
4417 2003-07-28  José Matos  <jamatos@fep.up.pt>
4418
4419         * buffer.C: increment file format.
4420         * paragraph_funcs (readParagraph, readParToken):
4421         * paragraph.C (readParagraph): add \end_layout.
4422
4423 2003-07-27  Angus Leeming  <leeming@lyx.org>
4424
4425         * Makefile.am: remove special casing for configure-time setting of
4426         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4427
4428         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4429         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4430
4431 2003-07-26  André Pönitz  <poenitz@gmx.net>
4432
4433         * paragraph_func.[Ch]:
4434         * paragraph.C (realizeFont): inline it whereever it is used
4435
4436         * rowpainter.C:
4437         * text.C:
4438         * text2.C:
4439         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4440
4441
4442 2003-07-26  André Pönitz  <poenitz@gmx.net>
4443
4444         *       lyxtext.h:
4445         * text.C:
4446         * text2.C: get rid of LyXText::need_break_row
4447
4448 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * toc.[Ch]: put namespace toc inside namespace lyx
4451
4452         * MenuBackend.C (expandToc2): adjust for lyx::toc
4453         (expandToc): ditto
4454
4455         * lyxfunc.C (dispatch): adjust for lyx::find
4456
4457         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4458         lyx::find instead. Reorganize a bit.
4459         (LyXReplace): rename to replace
4460         (LyXFind): rename to find
4461
4462         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4463         (dispatch): ditto
4464
4465 2003-07-26  André Pönitz  <poenitz@gmx.net>
4466
4467         * text.C (setHeightOfRow): restrict scope of temporary variable
4468
4469         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4470           code (never has been used?)
4471
4472 2003-07-27  Asger Alstrup  <alstrup@local>
4473
4474         * text.C (fill): Optimise algorithm to exploit that we can reuse
4475         the LyXFont for many characters.
4476         (setHeightOfRow): Same thing.
4477         (rowBreakPoint): Same thing.
4478
4479 2003-07-26  Asger Alstrup  <alstrup@local>
4480
4481         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4482
4483         * text.C (singleWidth): Spurious font copying in hot-spot
4484         singleWidth avoided. Reorder tests for arabic for efficiency.
4485
4486         * text.C (fill): handle empty paragraphs better.
4487
4488 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4489
4490         * ispell.C:
4491         * encoding.h: add includes
4492
4493         * lyxrc.C: remove reading of bind files
4494
4495         * lyx_main.C (init): setup bindings and menus only if we have a
4496         gui.
4497
4498         * kbmap.C (read): new method. Do the actual reading of bind
4499         files.
4500
4501         * converter.C (dvipdfm_options):
4502         * bufferparams.C:
4503         * lyxrc.C (read):
4504         (output): adapt PAPER_* enums.
4505
4506         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4507
4508         * bufferparams.h: remove paper-related enums from there
4509
4510         * paper.h: New file. A trivial header file to hold paper-related
4511         enums. It should later expand to contain many paper-related
4512         horrors access.
4513
4514         * lyxrc.C: declare extern displayTranslator
4515
4516 2003-07-27  José Matos  <jamatos@fep.up.pt>
4517
4518         * tabular.[Ch] (linuxdoc): add support for tables and figures
4519         (linuxdoc).
4520
4521 2003-07-27  José Matos  <jamatos@fep.up.pt>
4522
4523         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4524         consistency in both functions.
4525         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4526
4527 2003-07-26  Asger Alstrup  <alstrup@local>
4528
4529         * rowpainter.C (paintRows): Change algorithm to work directly on
4530         the insets rather than asking every character in the document
4531         whether its an inset.
4532
4533 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4534
4535         * buffer.C (openFileWrite): factorize some code
4536
4537 2003-07-26  Angus Leeming  <leeming@lyx.org>
4538
4539         * lyx_cb.C:
4540         * lyx_main.[Ch]: replace occurances of system_tempdir with
4541         os::getTmpDir().
4542
4543 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * rename Inset to InsetOld
4546
4547 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4548
4549         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4550         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4551         which I think is a bit clearer. EDIT is gone, since it was
4552         premature optimisation, and broken for mathed anyway.
4553         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4554         with cursor positioning in insets as well (math insets still do not
4555         work, but that's a different story anyway.) It mysteriously
4556         crashes sometimes with undo in the first paragraph, but I'm fairly
4557         confident that this is a compiler bug.
4558
4559 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * paragraph.C (Paragraph): adjust for new clone return type
4562         (operator==): ditto
4563         (copyIntoMinibuffer): ditto
4564
4565 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4566
4567         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4568         by not having a special case, and always doing a full rebreak of
4569         the document after undo.
4570
4571 2003-07-23  Angus Leeming  <leeming@lyx.org>
4572
4573         * factory.C (createInset): InsetExternal::setParams now takes a
4574         Buffer const * arg.
4575
4576 2003-07-23  Angus Leeming  <leeming@lyx.org>
4577
4578         * factory.C (createInset): changed interface to the external and
4579         graphics mailers' string2params functions.
4580
4581 2003-07-23  Angus Leeming  <leeming@lyx.org>
4582
4583         * factory.C (createInset): pass a
4584         Buffer const * parameter to InsetExternalMailer's string2params.
4585
4586 2003-07-22  John Levon  <levon@movementarian.org>
4587
4588         * Thesaurus.h: include the right aiksaurus header
4589
4590 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4591
4592         * MenuBackend.C (expand): check menu shortcuts unconditionally
4593
4594 2003-07-21  Angus Leeming  <leeming@lyx.org>
4595
4596         * factory.C (createInset): pass a
4597         buffer_path parameter to InsetGraphicsMailer's string2params.
4598
4599 2003-07-21  Angus Leeming  <leeming@lyx.org>
4600
4601         * BufferView_pimpl.C (buffer):
4602         * buffer.C (d-tor):
4603         * lyx_main.C (LyX):
4604         * lyxfunc.C (dispatch):
4605         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4606         rather than the grfx shortcut.
4607
4608 2003-07-21  André Pönitz  <poenitz@gmx.net>
4609
4610         * rowpainter.C: remove unused variables
4611
4612         * tabular_funcs.C:
4613         * tabular_funcs.h: move to tabular.C
4614         * Makefile.am: adjust
4615
4616         * tabular.[Ch]: basic optical cleaning
4617
4618         * author.h: pass references, not values
4619
4620 2003-07-18  André Pönitz  <poenitz@gmx.net>
4621
4622         * lyxtext.h:
4623         * metricsinfo.C:
4624         * metricsinfo.h:
4625         * rowpainter.C:
4626         * text.C:
4627         * text2.C:
4628         * text3.C: two-phase drawing for InsetText and InsetTabular
4629         some float -> int changes.
4630
4631 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4632
4633         * lyx_main.C: fix the fix
4634
4635 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * lyx_main.C: fix a crash in batch mode if no files specified
4638         * converter.C: ws
4639
4640 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4641
4642         * format.[Ch] (papersize): moved to BufferParams
4643         * converter.[Ch] (dvips_options): moved to BufferParams
4644         (dvipdfm_options): moved to anon namespace
4645         * bufferparams.[Ch]: added above functions.
4646
4647 2003-07-17  André Pönitz  <poenitz@gmx.net>
4648
4649         * lyxtext.h:
4650         * rowpainter.C:
4651         * text2.C: don't call inset->update() anymore
4652
4653         * metricsinfo.[Ch]: add convenience constructor
4654
4655 2003-07-16  André Pönitz  <poenitz@gmx.net>
4656
4657         * lyxcursor.[Ch]:
4658         * lyxfunc.[Ch]:
4659         * text.C:
4660         * text2.C: replace the LyXCursor::irow_ member with
4661          on-demand computation of the value
4662
4663 2003-07-16  John Levon  <levon@movementarian.org>
4664
4665         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4666
4667 2003-07-15  André Pönitz  <poenitz@gmx.net>
4668
4669         * text.C:
4670         * text2.C: remove no more needed refresh_row
4671
4672 2003-07-15  André Pönitz  <poenitz@gmx.net>
4673
4674         * lyxtext.h:
4675         * rowpainter.C:
4676         * text2.C:
4677         * text3.C: refresh_status tristate -> need_update bool
4678
4679 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * lyxtext.h (init): remove reinit argument (act as if always true)
4682         * text2.C: adjust to that
4683
4684 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4685
4686         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4687         * text3.C: use it to delete selections in some cases
4688         (bugs 441, 673, 702, 954).
4689
4690 2003-07-14  André Pönitz  <poenitz@gmx.net>
4691
4692         * rowpainter.[Ch]: reduce interface
4693
4694 2003-07-14  André Pönitz  <poenitz@gmx.net>
4695
4696         * BufferView_pimpl.C:
4697         * text2.C: adjust after removing unused BufferView * argument
4698
4699 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4700
4701         * text2.C (init): fix a crash fired on resize
4702
4703 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4704
4705         * buffer.[Ch]: added new closing signal
4706         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4707         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4708         BufferView::Pimpl via the closing the signal
4709
4710 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4711
4712         * buffer.[Ch]: take out all bv-related from buffer
4713         * BufferView.C:
4714         * BufferView_pimpl.[Ch]: connect to new signals
4715         * CutAndPaste.C: removed useless asserts
4716         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4717         * lyxvc.[Ch]:
4718         * vc-backend.[Ch]:
4719         * lyxfunc.C: moved view-related funciontality from vc here
4720         * paragraph.C: removed outdated comments
4721         * text.C: ws
4722
4723 2003-07-10  André Pönitz  <poenitz@gmx.net>
4724
4725         * BufferView_pimpl.C:
4726         * tabular.h:
4727         * tabular_funcs.C:
4728         * text.C:
4729         * text2.C: remove InsetText::InnerCache, clean up consequences
4730
4731 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4732
4733         * ispell.C: fix two typos in error messages
4734
4735 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4736
4737         * Extend Note inset to other forms of annotation like Comment
4738         and Greyedout. Right button click gives dialog.
4739
4740         Files modified or added (+):
4741
4742         * insetnote.[Ch]
4743         * FormNote.[Ch]      +
4744         * ControlNote.[Ch]   +
4745         * form_note.fd       +
4746         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4747         frontends/controllers
4748         * xforms/Dialogs.C
4749         * factory.C
4750
4751 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4752
4753         * aspell.C: add missing namespace lyx::support
4754
4755 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4756
4757         * BufferView.[Ch] (newFile): Add
4758         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4759         * LaTeX.[Ch] (message): added this signal and use it
4760         * buffer.[Ch] (busy, message): added these signals and use them
4761         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4762         * converter.C:
4763         * exporter.C:
4764         * format.C:
4765         * importer.C: use buffer signals instead of direct bv calling
4766         * lyx_cb.[Ch] (ShowMessage): removed
4767         * lyx_main.C:
4768         * lyxfunc.C:
4769         * paragraph_funcs.C:
4770         * text2.C: use buffer signals
4771
4772 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * introduce namespace lyx::graphics
4775
4776 2003-07-02  André Pönitz  <poenitz@gmx.net>
4777
4778         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4779
4780 2003-07-01  André Pönitz  <poenitz@gmx.net>
4781
4782         * text.C:
4783         * text2.C:
4784         * text3.C:
4785         * text_funcs.[Ch]:
4786         * textcursor.h:
4787         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4788           text*.C to text_func.C
4789
4790 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * introduce namespace lyx::support
4793
4794 2003-06-30  André Pönitz  <poenitz@gmx.net>
4795
4796         * Chktex.C:
4797         * funcrequest.C:
4798         * lyxtext.h:
4799         * text.C: re-enable --with-included-string
4800
4801 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * textcursor.C: add <config.h>
4804
4805         * text.C (getWord): remove const from word_location arg
4806
4807         * lyxvc.C (getLogFile): fix const type order
4808
4809         * lyxtext.h: remove const from word_location arg, add arg name
4810
4811         * lyxlayout.h: currect type on labeltype.
4812
4813         * importer.C: correct \file
4814
4815         * converter.C (intToFormat): use std:: on ret val, ws changes
4816
4817         * bufferlist.h: correct \file
4818
4819         * buffer.C (makeLinuxDocFile): fix const type order
4820         (makeDocBookFile): ditto
4821         (fillWithBibKeys): use std:: on stdlib args.
4822
4823         * CutAndPaste.C: fix authors.
4824         (availableSelections): use std:: on return vector
4825
4826 2003-06-27  André Pönitz  <poenitz@gmx.net>
4827
4828         * BufferView_pimpl.C:
4829         * bufferview_funcs.C:
4830         * lyxcursor.C:
4831         * lyxcursor.h:
4832         * lyxfunc.C:
4833         * lyxtext.h:
4834         * rowpainter.C:
4835         * text.C:
4836         * text2.C:
4837         * text3.C: remove LyXCursor::row_ member
4838
4839         * lyxtext.h:
4840         * text.C: rename fullRebreak() to partialRebreak() and implement
4841           a fullRebreak() that really bereks fully
4842
4843         * textcursor.h: new struct for cursor-related data
4844
4845 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4846
4847         * lyx_main.C (LyX): get full path of document loaded on the
4848         command line
4849
4850 2003-06-26  André Pönitz  <poenitz@gmx.net>
4851
4852         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4853           remove unused/broken operator>,<,>=.
4854
4855         *       text.C: remove only use of broken operator<= in an Assert().
4856
4857 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4858
4859         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4860         moved errorlist_.clear to showErrorList
4861
4862 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4863
4864         * converter.C (scanLog, runLaTeX):
4865         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4866         move the bv->showErrorList call to the callers
4867         * lyxfunc.C: i.e. here...
4868         * text2.C: and here
4869         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4870         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4871         namespace, the second to...
4872         * buffer_funcs (BufferFormat, parseErrors): added
4873         * errorlist.C (ErrorList(TeXErrors const &)): removed
4874
4875 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4876
4877         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4878
4879 2003-06-24  "Garst R. Reese" <reese@isn.net>
4880
4881         * debug.C: fix typo
4882
4883 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4884
4885         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4886
4887         * version.C.in: change docversion to 1.4
4888
4889 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * buffer.C: fix a bug just introduced
4892
4893 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4894
4895         * buffer.[Ch]: added the parseError signal and use it, removed
4896         sgmlError
4897         * BufferView.[Ch] (addError): moved to ...
4898         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4899         to the Buffer::parseError signal to catch (guess what) parse errors
4900         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4901
4902 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4905         ability to create a buffer and to return an existing one from
4906         the list. Moved these functions to...
4907         * buffer_funcs.[Ch]: added
4908         * BufferView.[Ch] (loadLyXFile): added
4909         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4910         job removed from bufferlist::loadLyXFile.
4911         * buffer.C (setReadOnly): make it work without view
4912         (i.e added an if (users))
4913
4914 2003-06-19  Angus Leeming  <leeming@lyx.org>
4915
4916         * lfuns.h:
4917         * LyXAction.C (init):
4918         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4919         with LFUN_DIALOG_SHOW <name> <data>.
4920
4921 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4922
4923         * CutAndPaste.C (availableSelections): small compilation fix for
4924         ancient (gcc 2.9x) compilers
4925
4926 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * text3.C (cursorNext): add tmp var
4929
4930         * text2.C (updateCounters): for function calling out of for clause
4931         (replaceSelectionWithString): ditto
4932         (insertStringAsParagraphs): ditto
4933         (getColumnNearX): add tmp var
4934         (setCursorFromCoordinates): add tmp var
4935         (cursorDownParagraph): add tmp var
4936         (deleteEmptyParagraphMechanism): add tmp var
4937
4938         * text.C (insertChar): add tmp var
4939
4940         * rowpainter.C (paintDepthBar): add tmp var
4941
4942         * CutAndPaste.C (availableSelections): potentially check all
4943         paragraphs in a cut to fill the shown strings.
4944
4945 2003-06-18  André Pönitz  <poenitz@gmx.net>
4946
4947         * kbmap.[Ch]: use vector<> instead of list<>
4948
4949 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4950
4951         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4952         pasteSelection with index
4953
4954         * text2.C (pasteSelection): modify, call pasteSelection with index
4955
4956         * paragraph.C (asString): reimplement version with no interval to
4957         call the one with interval.
4958
4959         * lyxtext.h: add index arg to pasteSelection
4960
4961         * MenuBackend.C (MenuItem): handle PasteRecent
4962         (Menu::read::Menutags): add md_pasterecent
4963         (read): handle it
4964         (expandPasteRecent): new function
4965         (expand): use it
4966
4967         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4968
4969         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4970         the limited stack
4971         (availableSelections): new function
4972
4973 2003-06-17  Angus Leeming  <leeming@lyx.org>
4974
4975         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4976
4977 2003-06-17  Angus Leeming  <leeming@lyx.org>
4978
4979         * lfuns.h:
4980         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4981
4982         * lyxfunc.C (dispatch): invoke it.
4983
4984 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4985
4986         * iterators.C (operator++, ParPosition): reintroduce some
4987         const_cast for the benefit of older compilers.
4988
4989 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4990
4991         * text3.C (dispatch): do not modify clipboard when doing
4992         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4993         LFUN_DELETE_SKIP on a selection selection
4994
4995 2003-06-16  André Pönitz  <poenitz@gmx.net>
4996
4997         * BufferView.C:
4998         * buffer.C:
4999         * buffer.h:
5000         * paragraph.C:
5001         * tabular.[Ch]: IU of clone() and getLabelList();
5002
5003 2003-06-13  André Pönitz  <poenitz@gmx.net>
5004
5005         * tabular.h: compactification
5006
5007 2003-06-12  André Pönitz  <poenitz@gmx.net>
5008
5009         * tabular.C:
5010         * tabular.h:
5011         * tabular_funcs.h: some renaming plus whitespace
5012
5013 2003-06-12  André Pönitz  <poenitz@gmx.net>
5014
5015         * BufferView.C:
5016         * BufferView_pimpl.C:
5017         * CutAndPaste.C:
5018         * buffer.C:
5019         * iterators.[Ch]:
5020         * lyxfunc.C:
5021         * text.C:
5022         * toc.C: Return a Paragraph & for ParIterator::operator*()
5023
5024 2003-06-11  John Levon  <levon@movementarian.org>
5025
5026         * lyx_main.C:
5027         * ToolbarBackend.h:
5028         * ToolbarBackend.C: add "Toolbars" section and
5029         put the flags there
5030
5031 2003-06-10  Angus Leeming  <leeming@lyx.org>
5032
5033         * lfuns.h:
5034         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5035
5036         * lyxfunc.C (dispatch): invoke it.
5037
5038 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5039
5040         * main.C: protect <ios> with HAVE_IOS
5041         (main): protect sync_with_stdio with HAVE_IOS
5042
5043 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5044
5045         * text2.C (cutSelection): adjust
5046         (pasteSelection): adjust
5047
5048         * messages.C: handle get of empty string
5049
5050         * main.C (main): use sync_with_stdio(false)
5051
5052         * lyxfunc.C (dispatch): adjust
5053
5054         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5055         (WriteAs): remove unneeded BufferView arg.
5056
5057         * bufferparams.h: use correct types on papersize, papersize2 and
5058         paperpackage.
5059
5060         * bufferparams.C (readToken): adjust for type
5061         (writeLaTeX): add missing cases to switch.
5062
5063         * bufferlist.C (quitWriteBuffer): adjust
5064         (close): adjust
5065
5066         * buffer.C (asciiParagraph): remove some commented code.
5067
5068         * CutAndPaste.C: remove current_view extern variable.
5069         (cutSelection): add BufferParams arg.
5070         (eraseSelection): add BufferParams arg.
5071         (pasteSelection): add Buffer const & arg
5072
5073 2003-06-07  John Levon  <levon@movementarian.org>
5074
5075         * buffer.C:
5076         * paragraph_funcs.C:
5077         * paragraph_pimpl.C:
5078         * text.C:
5079         * text2.C:
5080         * paragraph.h:
5081         * paragraph.C: allow InsetERT to freely space lines,
5082         and some consolidation of code
5083
5084 2003-06-06  José Matos  <jamatos@fep.up.pt>
5085
5086         * buffer.C (makeDocBookFile): fix bug #821
5087
5088 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5089
5090         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5091
5092 2003-06-04  Angus Leeming  <leeming@lyx.org>
5093
5094         * buffer.C: bump format to 224.
5095
5096 2003-06-05  André Pönitz  <poenitz@gmx.net>
5097
5098         * text2.C (redoParagraphs): remove two const_cast<>
5099
5100 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5101
5102         * ParagraphList.h: remove last remnants of NO_STD_LIST
5103
5104 2003-06-03  Angus Leeming  <leeming@lyx.org>
5105
5106         * factory.C (createInset): small change to the way InsetExternal's params
5107         are set.
5108
5109 2003-06-04  André Pönitz  <poenitz@gmx.net>
5110
5111         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5112
5113         * paragraph_pimpl.h:
5114         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5115
5116         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5117
5118         * undo_funcs.C: make some simple cases of undo work again
5119
5120 2003-06-03  John Levon  <levon@movementarian.org>
5121
5122         * ispell.C: HPUX doesn't have sys/select.h
5123         (from Albert Chin)
5124
5125 2003-06-03  John Levon  <levon@movementarian.org>
5126
5127         * CutAndPaste.C: update tabular and include inset
5128         buffer references
5129
5130         * buffer.h:
5131         * paragraph.h:
5132         * paragraph.C: remove owningBuffer(), don't pass Buffer
5133         to clone()
5134
5135         * factory.C: insetGraphicsParams changed
5136
5137 2003-06-02  John Levon  <levon@movementarian.org>
5138
5139         * LyXAction.C:
5140         * factory.C:
5141         * lfuns.h:
5142         * lyxfunc.C:
5143         * text3.C: remove insetparent
5144
5145 2003-06-02  John Levon  <levon@movementarian.org>
5146
5147         * buffer.h:
5148         * buffer.C: fix inset_iterator.end(), move out of line
5149         (bug 1149)
5150
5151 2003-06-01  John Levon  <levon@movementarian.org>
5152
5153         * text3.C: use a proper cut/paste when doing inset
5154         insert (from Jürgen Spitzmüller)
5155
5156 2003-06-01  John Levon  <levon@movementarian.org>
5157
5158         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5159
5160 2003-05-30  André Pönitz  <poenitz@gmx.net>
5161
5162         * rowpainter.C: unify second drawing phase
5163
5164 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * trans_mgr.C: remove one case of current_view
5167
5168         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5169
5170         * paragraph_funcs.h: remove paragraph.h include
5171
5172         * paragraph.h: delete NO_STD_LIST stuff
5173
5174         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5175
5176         * buffer.h: remove paragraph.h include
5177
5178         * ParagraphList.C: delete file
5179
5180         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5181
5182         * toc.C (getTocList): adjust
5183
5184         * paragraph_pimpl.C (validate): adjust
5185
5186         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5187
5188         * paragraph.C (Paragraph): adjust
5189         (getPositionOfInset): use const_iterator, adjust
5190         (bibitem): use const_iterator, adjust
5191         (setInsetOwner): adjust
5192
5193         * iterators.C (operator++): adjust
5194
5195         * InsetList.[Ch]: Replace selfmade iterator with standard
5196         vector::iterator also introduce const_iterator. Remove getPos,
5197         getInset and setInset from InsetTable. Adjust accordingly.
5198
5199         * BufferView.C (lockInset): adjust
5200         (ChangeInsets): adjust
5201
5202         * tabular.[Ch]: delete commented same_id functions
5203
5204 2003-05-28  John Levon  <levon@movementarian.org>
5205
5206         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5207
5208 2003-05-28  André Pönitz  <poenitz@gmx.net>
5209
5210         * metricsinfo.[Ch]: remove 'fullredraw' member
5211
5212 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5213
5214         * lyxtextclass.C (operator): remove caching.
5215
5216 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * text3.C: adjust
5219
5220         * text2.C (cursorBottom): adjust
5221         (setCounter): use ParagraphList::find, adjust
5222
5223         * text.C (workWidth): use ParagraphList::find, adjust
5224
5225         * lyxcursor.C (LyXCursor): adjust
5226
5227         * buffer.C (inset_iterator): adjust
5228
5229         * ParagraphList.h: make iterator(value_type) private, make
5230         ParagraphList a friend of iterator.
5231
5232         * ParagraphList.C (find): new function
5233
5234         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5235
5236 2003-05-27  André Pönitz  <poenitz@gmx.net>
5237
5238         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5239
5240 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5241
5242         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5243
5244 2003-05-26  John Levon  <levon@movementarian.org>
5245
5246         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5247
5248 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * remove same_id from function signatures, adjust.
5251
5252 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5255
5256         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5257
5258         * paragraph.C (Paragraph): get rid of same_ids parameter
5259
5260         * ParagraphList.C (insert): adjust
5261         (push_back): adjust
5262
5263 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * paragraph_funcs.C (breakParagraph): adjust
5266         (breakParagraphConservative): adjust
5267
5268         * buffer.C (readParagraph): adjust
5269
5270         * ParagraphList.C (insert): take a reference instead of a pointer
5271         (insert): adjust
5272
5273         * paragraph.[Ch] (id): new function
5274
5275         * bufferlist.C (newFile): adjust
5276
5277         * ParagraphList.C (ParagraphList): adjust
5278         (assign): adjust
5279         (push_back): take a reference instead of a pointer.
5280
5281         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5282
5283         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5284         instead.
5285
5286         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5287         set else use old code.
5288
5289         * ParagraphList.C: remove all NO_NEXT code and only compile this
5290         code of NO_STD_LIST is set.
5291
5292 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5293
5294         * BufferView_pimpl.C:
5295         * TextCache.C:
5296         * TextCache.h:
5297         * bufferlist.C:
5298         * errorlist.h:
5299         * format.C:
5300         * format.h:
5301         * graph.C:
5302         * lyxfunc.C:
5303         * lyxrc.C:
5304         * graphics/GraphicsConverter.C:
5305         * graphics/PreviewLoader.C: header adjustment
5306
5307 2003-05-23  Angus Leeming  <leeming@lyx.org>
5308
5309         * LaTeXFeatures.[Ch] (useBabel): new method.
5310         * bufferparams.C (writeLaTeX): use it.
5311
5312 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5313
5314         * ParagraphList.h (set): remove unused function.
5315
5316 2003-05-23  André Pönitz  <poenitz@gmx.net>
5317
5318         * BufferView.C:
5319         * BufferView_pimpl.C:
5320         * buffer.C:
5321         * buffer.h:
5322         * lyxfunc.C:
5323         * undo_funcs.C: setUndo reworked
5324
5325         * iterators.[Ch]: add access to topmost ParagraphList
5326
5327         * lyxtext.[Ch] (workWidth): add a const
5328
5329 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * texrow.[Ch] (increasePos): remove function
5332         * exporter.C (export): removed unused var and outdated comment
5333
5334 2003-05-23  Angus Leeming  <leeming@lyx.org>
5335
5336         * latexrunparams.h: rename fragile as moving_arg.
5337         * paragraph.C (simpleTeXOnePar): ditto.
5338         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5339
5340 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5343         (createUndo): ditto
5344         (textUndoOrRedo): comment out a currently unused var.
5345
5346         * paragraph.h (NO_NEXT): enable NO_NEXT
5347
5348         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5349
5350         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5351
5352         * exporter.C (Export): adjust for removeAutoInsets removal.
5353
5354         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5355
5356         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5357
5358         * BufferView.[Ch] (removeAutoInsets): delete function
5359
5360 2003-05-22  Angus Leeming  <leeming@lyx.org>
5361
5362         * latexrunparams.h: add a free_spacing variable.
5363
5364         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5365         to pass moving_arg, as the data is stored in runparams.fragile.
5366
5367         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5368         to Inset::latexOptional or to simpleTeXOnePar.
5369
5370         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5371         free_spacing arg to Inset::latexOptional.
5372
5373         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5374         free_spacing arg.
5375
5376 2003-05-22  Angus Leeming  <leeming@lyx.org>
5377
5378         * latexrunparams.h: add fragile and use_babel variables.
5379
5380         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5381         * buffer.C (makeLaTeXFile): store this returned value in
5382         runparams.use_babel, thus passing it to the inset::latex methods.
5383
5384         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5385         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5386
5387         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5388         longer has a fragile arg, as it is stored in runparams.fragile.
5389
5390         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5391         moving_arg parameter as the data is stored in runparams.fragile.
5392
5393         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5394         a fragile parameter as the data is stored in runparams.fragile.
5395
5396 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5399
5400 2003-05-22  Angus Leeming  <leeming@lyx.org>
5401
5402         * latexrunparams.h: add a 'bool nice' which defaults to false.
5403
5404         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5405         now encapsulated within runparams.
5406
5407         * bufferlist.C (updateIncludedTeXfiles):
5408         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5409
5410 2003-05-22  Angus Leeming  <leeming@lyx.org>
5411
5412         * latexrunparams.h: new file containing struct LatexRunParams.
5413         * Makefile.am: add new file.
5414
5415         * LaTeX.[Ch] (c-tor, run):
5416         * buffer.[Ch] (makeLaTeXFile):
5417         * bufferlist.[Ch] (updateIncludedTeXfiles):
5418         * converter.C (convert, scanLog):
5419         * converter.[Ch] (runLaTeX):
5420         * exporter.C (Export):
5421         * paragraph.[Ch] (simpleTeXOnePar):
5422         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5423         * paragraph_funcs.[Ch] (latexParagraphs):
5424         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5425         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5426         pass around a LatexRunParams parameter.
5427
5428 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * paragraph.[Ch]: remove unused constructor
5431
5432         * ParagraphList.C (erase): new function, taking two iterators
5433
5434 2003-05-22  André Pönitz  <poenitz@gmx.net>
5435
5436         * undo_funcs.C: remove duplicated code
5437
5438         * iterator.[Ch]: operator=
5439
5440 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5441
5442         * tabular.C (SetMultiColumn): ws changes
5443
5444         * rowpainter.C (paintFirst): get rid of a ->previous
5445
5446         * lyx_cb.C (getPossibleLabel): parlist simplification
5447
5448         * BufferView.C (ChangeInsets): simplify slightly.
5449
5450 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5451
5452         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5453         * lfuns.h: new LFUN_SPACE
5454         * lyxfunc.C: protected space has a new lfun
5455         * paragraph_funcs.C: read new space insets
5456         * text3.C:
5457         * factory.C: handle new space insets
5458
5459 2003-05-22  André Pönitz  <poenitz@gmx.net>
5460
5461         * BufferView.C:
5462         * BufferView_pimpl.C:
5463         * buffer.[Ch]:
5464         * lyxfunc.C:
5465         * undo_funcs.C: return a ParIterator from getParFromID.
5466
5467         * iterators.[Ch]: add two const's
5468
5469 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * toc.C (getTocList): adjust
5472
5473         * iterators.[Ch]: rework for parlist
5474
5475         * buffer.C (par_iterator_begin): adjust
5476         (par_iterator_end): adjust
5477
5478         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5479
5480         * BufferView.C (removeAutoInsets): adjust
5481         (ChangeInsets): adjust
5482
5483 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5484
5485         * text.C (top_y): fix bug 1110
5486
5487 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5488
5489         * errorlist.[Ch]: added
5490         * buffer.C:
5491         * BufferView.[Ch]:
5492         * BufferView_pimpl.C:
5493         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5494         instead
5495
5496 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * Makefile.am: ensure that lyx is relinked upon changes to the
5499         various "convenience" libs.
5500
5501 2003-05-20  Angus Leeming  <leeming@lyx.org>
5502
5503         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5504         files are compiled in alphabetical order again.
5505
5506         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5507
5508 2003-05-19  Angus Leeming  <leeming@lyx.org>
5509
5510         * gettext.[Ch]: remove "char const * _(char const *)".
5511
5512 2003-05-19  André Pönitz  <poenitz@gmx.net>
5513
5514         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5515
5516         * Makefile.am:
5517         * BufferView.C:
5518         * DepTable.h:
5519         * LaTeXFeatures.C:
5520         * buffer.C:
5521         * lyxfont.C:
5522         * lyxlex.h:
5523         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5524
5525 2003-05-19  André Pönitz  <poenitz@gmx.net>
5526
5527         * buffer.C:
5528         * lyxlayout.[Ch]:
5529         * lyxtextclass.[Ch]:
5530         * paragraph.C:
5531         * paragraph_funcs.[Ch]:
5532         * text2.C:
5533         * text3.C: more insetenv work
5534
5535 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5536
5537         * ParagraphParameters.C (params2string): small bug fixed
5538
5539 2003-05-16  André Pönitz  <poenitz@gmx.net>
5540
5541         * debug.C:
5542         * bufferview_funcs.C: patch from Kornel Benko to prevent
5543           crash when _(...) is called twice in a statement
5544
5545 2003-05-16  André Pönitz  <poenitz@gmx.net>
5546
5547         * BufferView.C:
5548         * lyxfunc.C:
5549         * text.C:
5550         * text2.C:
5551         * text3.C:
5552         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5553
5554 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5555
5556         * lyx_main.C (init): remove spurious static_cast
5557
5558 2003-05-14  André Pönitz  <poenitz@gmx.net>
5559
5560         * BufferView.C: fix format string
5561
5562 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5563
5564         * BufferView.[Ch] (insertErrors): removed
5565         * BufferView.[Ch] (showErrorList): added
5566         * buffer.C (runChkTeX):
5567         * converter.C (scanLog): call showErrorList instead of inserterrors
5568
5569 2003-05-13  André Pönitz  <poenitz@gmx.net>
5570
5571         * BufferView_pimpl.C:
5572         * buffer.C:
5573         * bufferview_func.C:
5574         * MenuBackend.C:
5575         * lyxfunc.C:
5576         * lyxrc.C:
5577         * tex-accent.C:
5578         * text3.C:
5579         * toc.C:
5580         * tabular_funcs.h: tostr() from its own header
5581
5582         * ParagraphParameters.C:
5583         * ToolbarBackend.C:
5584         * bufferparams.C:
5585         * format.C:
5586         * lyxlex_pimpl.C:
5587         * text3.C: STRCONV()
5588
5589 2003-05-12  André Pönitz  <poenitz@gmx.net>
5590
5591         * BufferView.C:
5592         * BufferView_pimpl.C:
5593         * CutAndPaste.C:
5594         * LaTeX.C:
5595         * LaTeXFeatures.C:
5596         * ParagraphParameters.C:
5597         * buffer.C:
5598         * bufferlist.C:
5599         * bufferparams.C:
5600         * bufferview_funcs.C:
5601         * converter.C:
5602         * counters.C:
5603         * debug.C:
5604         * exporter.C:
5605         * format.C:
5606         * importer.C:
5607         * lyx_cb.C:
5608         * lyx_main.C:
5609         * lyxfont.C:
5610         * lyxfunc.C:
5611         * lyxvc.C:
5612         * paragraph.C:
5613         * paragraph_funcs.C:
5614         * tabular.C:
5615         * tabular_funcs.C:
5616         * text2.C:
5617         * text3.C:  boost::format -> bformat  all over the place
5618
5619
5620 2003-05-09  André Pönitz  <poenitz@gmx.net>
5621
5622         * LColor.[Ch]: Pimpl the #include <map> away
5623
5624 2003-05-09  John Levon  <levon@movementarian.org>
5625
5626         * bufferlist.C: never remove emergency saves
5627
5628 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * Makefile.am: better lib building
5631
5632 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5635         instead.
5636         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5637         (simpleTeXSpecialChars): adjust
5638         (simpleTeXSpecialChars): adjust
5639         * paragraph.C (simpleTeXOnePar): adjust
5640         * buffer.C (makeLaTeXFile): adjust
5641
5642         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5643
5644         * text2.C (changeDepth): parlist cleanup
5645         (getColumnNearX): ditto
5646
5647         * rowpainter.C (getLabelFont): parlist cleanup
5648
5649         * bufferlist.C (newFile): parlist cleanup
5650
5651         * CutAndPaste.C (eraseSelection): parlist cleanup
5652
5653         * BufferView_pimpl.C (trackChanges): parlist cleanup
5654         (dispatch): ditto
5655
5656         * BufferView.C (lockInset): parlist cleanup.
5657         (ChangeInsets): ditto
5658
5659 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * CutAndPaste.h: Update file header.
5662
5663         * CutAndPaste.C: Update file header.
5664         Store the parts cut out of the Document in a limited_stack.
5665         (copySelection): adjust
5666         (pasteSelection): new function, takes the index in the limited stack.
5667         (nrOfParagraphs): adjust
5668         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5669         simplify error inset insertion.
5670         (checkPastePossible): adjust
5671
5672 2003-05-06  John Levon  <levon@movementarian.org>
5673
5674         * text2.C: don't cast wrap inset to float
5675
5676 2003-05-05  André Pönitz  <poenitz@gmx.net>
5677
5678         * iterator.C:
5679         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5680
5681         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5682           few naked Paragraph *.
5683
5684 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5685
5686         * bufferparams.C: Output warning if a document with missing
5687         TeX document class is loaded
5688         * exporter.C: Disable TeX exports if the document class is missing
5689         * lyxtextclass.C:
5690         * lyxtextclass.h:
5691         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5692         isTeXClassAvailable()
5693
5694 2003-05-03  John Levon  <levon@movementarian.org>
5695
5696         * BufferView.h:
5697         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5698         explicit cursor show/hide
5699
5700         * BufferView_pimpl.h:
5701         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5702         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5703
5704         * lyxfunc.C: hide cursor before dispatching.
5705
5706         * lyx_cb.C:
5707         * lyxfind.C:
5708         * text.C:
5709         * text3.C: remove explicit cursor hides
5710
5711 2003-05-02  André Pönitz  <poenitz@gmx.net>
5712
5713         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5714
5715         * undo_funcs.C:
5716         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5717           linked lists
5718
5719         * text2.C: tiny whitespace
5720
5721 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * undo_funcs.C: almost only ws changes.
5724
5725         * ParagraphList.C (splice): just return if pl is empty.
5726
5727 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * ParagraphList.C (splice): new function.
5730
5731         * CutAndPaste.C (pasteSelection): use it
5732
5733 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5734
5735         * CutAndPaste.C (pasteSelection): remove the last next and
5736         previous from this file.
5737
5738 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * CutAndPaste.C (pasteSelection): more clean up, user proper
5741         ParagraphList functions for pasteing.
5742
5743         * ParagraphList.C (insert): new function, three arg insert
5744
5745 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * ParagraphList.C (insert): new function, three arg insert
5748
5749         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5750         not on paragraphs.
5751
5752 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5753
5754         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5755
5756 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5759
5760 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5761
5762         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5763         (copySelection): clean up a bit.
5764         (pasteSelection): use make_pair
5765
5766         * ParagraphList.C (ParagraphList): implement copy constructor
5767         (operator=): implement, base on copy constructor.
5768         (assign): new func
5769
5770         * paragraph.C (erase): return a bool
5771
5772         * paragraph_pimpl.C (erasePos): remove function, move contents...
5773         (erase): ... here. Return a bool.
5774         (erase): call erase instead of erasePos.
5775
5776 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5777
5778         * ParagraphList.h: define PitPosPair
5779         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5780         ParagraphList, fix a bug on pasting multiple pars
5781         * text2.C: change interface to C&P
5782
5783 2003-04-30  André Pönitz  <poenitz@gmx.net>
5784
5785         * undo_func.C: revert part of yesterday's patch 2
5786
5787 2003-04-30  John Levon  <levon@movementarian.org>
5788
5789         * LColor.C: s/tabular/table/
5790
5791 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5792
5793         * text3.C (dispatch): do not convert iterator -> pointer
5794         * undo_funcs.C (setCursorParUndo): ditto
5795         * text_funcs.C (transposeChars): ditto
5796
5797         * text2.C (setLayout): ws changes only
5798
5799         * text.C (breakParagraph): do not convert iterator -> pointer
5800         (insertChar): ditto
5801         (acceptChange): ditto
5802         (rejectChange): ditto
5803         (changeCase): ditto
5804         (Delete): ditto
5805         (backspace): ditto
5806
5807         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5808         pointer
5809
5810 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5811
5812         * text3.C (gotoInset): YABG (yet another bad getChar)
5813
5814 2003-04-29  André Pönitz  <poenitz@gmx.net>
5815
5816         * paragraph.h: make operator= private unimplemented as long as
5817           it is unusable
5818
5819         * ParagraphList.C: whitespace
5820
5821         * paragraph.[Ch]:
5822         * paragraph_pimpl.[Ch]:
5823         * paragraph_funcs.C:
5824         * CutAndPaste.C:
5825         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5826
5827         * text2.C:
5828           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5829
5830 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5831
5832         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5833         * paragraph.[Ch] (erase):
5834         * paragraph_pimpl.[Ch] (erase): change return type and value
5835         * text2.C (cutSelection): some rework
5836
5837 2003-04-28  John Levon  <levon@movementarian.org>
5838
5839         * bufferlist.C: changes for unsaved changes dialog
5840
5841 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5842
5843         * bufferlist.C (newFile): set language (messages_) for new
5844         documents also.
5845
5846         * buffer.C (readFile): ws changes only.
5847
5848 2003-04-28  André Pönitz  <poenitz@gmx.net>
5849
5850         * undo_funcs.C:
5851         * lyxfunc.C:
5852         * buffer.[Ch]:
5853         * BufferView_pimpl.C:
5854         * BufferView.C: getParFromID related ParagraphList::iterator changes
5855
5856 2003-04-28  André Pönitz  <poenitz@gmx.net>
5857
5858         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5859           Changes
5860
5861 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * messages.C: remove one more localedir class variable.
5864
5865 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * messages.C (getLocaleDir): singleton generation function
5868         (Pimpl): use it.
5869         (Messages): add a default constructor.
5870
5871         * main.C (main): do not setup localedir here, do not call
5872         gettext_init.
5873
5874         * gettext.C (_): use it.
5875         (gettext_init): delete funciton
5876
5877 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * gettext.C (getLyXMessages): new singleton generating function.
5880
5881         * buffer.C (updateDocLang): adjust
5882
5883         * Makefile.am (messages.o): add target
5884         (main.o): remove target
5885
5886 2003-04-27  John Levon  <levon@movementarian.org>
5887
5888         * bufferlist.C:
5889         * lyx_cb.C:
5890         * lyxfunc.C:
5891         * lyxvc.C: specify cancel button in Alert::prompt
5892
5893 2003-04-26  John Levon  <levon@movementarian.org>
5894
5895         * text3.C:
5896         * lyxfunc.C:
5897         * lfuns.h:
5898         * LyXAction.C: add LFUN_INSET_SETTINGS
5899
5900         * lyxfunc.C: don't enable tabular-feature when there's
5901         just any locking inset
5902
5903 2003-04-26  John Levon  <levon@movementarian.org>
5904
5905         * bufferlist.C: re-add Cancel to buffer close question
5906
5907         * lyxfunc.C: fix import UI a bit
5908
5909 2003-04-25  John Levon  <levon@movementarian.org>
5910
5911         * gettext.C: remove the broken asserts for now
5912
5913 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * messages.C: make case where setlocale cannot comply work better.
5916
5917         * buffer.C (updateDocLang): new function
5918         (changeLanguage): use it
5919         (readFile): use it
5920
5921         * text2.C (setCounter): use B_ a bit.
5922
5923         * lyxlayout.C (Read): be sure to trim the label strings.
5924
5925         * messages.C (Messages): fix typo in comment
5926
5927         * buffer.C (readFile): set message_ after file is loaded.
5928         (makeDocBookFile): remove double return
5929         (changeLanguage): reset message_ upon language change.
5930         (B_): new func, use this to get translated buffer strings.
5931
5932         * main.C: add myself and Jean Marc as authors.
5933
5934 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5935
5936         * messages.[hC]: pimplify Messages, and three different pimpls to be
5937         used in different circumstances.
5938
5939         * gettext.[Ch]: change for use with new message code.
5940
5941 2003-04-24 André Pönitz <poenitz@gmx.net>
5942
5943         * factory.C: support for eqref
5944
5945 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * messages.[Ch]: add missing char
5948
5949         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5950
5951         * messages.[Ch]: New files
5952
5953 2003-04-18  John Levon  <levon@movementarian.org>
5954
5955         * BufferView.h:
5956         * BufferView.C:
5957         * BufferView_pimpl.C:
5958         * lfuns.h:
5959         * LyXAction.C:
5960         * lyxtext.h:
5961         * text2.C: remove layout-copy/paste (bug 778)
5962
5963 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5964
5965         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5966
5967 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5968
5969         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5970         if they succeed. Act accordingly.
5971
5972 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5973
5974         * text2.C (setCharFont): adjust
5975         (setCounter): adjust
5976         (insertStringAsLines): adjust
5977
5978         * text.C (leftMargin): adjust
5979         (setHeightOfRow): adjust
5980
5981         * rowpainter.C (paintFirst): adjust
5982         (paintLast): adjust
5983
5984         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5985         (outerHook): ditto
5986         (isFirstInSequence): ditto
5987         (getEndLabel): ditto
5988         (outerFont): adjust
5989
5990         * paragraph.C (getParLanguage): comment out some hard stuff.
5991
5992         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5993         (sgmlError): ditto
5994         (simpleDocBookOnePar): ditto
5995         (makeDocBookFile): use ParagraphList::iterator
5996
5997         * CutAndPaste.C (pasteSelection): adjust
5998
5999 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6000
6001         * text2.C (getFont): adjust
6002         (getLayoutFont): adjust
6003         (getLabelFont): adjust
6004
6005         * paragraph_funcs.C (TeXOnePar): adjust
6006
6007         * buffer.C (simpleLinuxDocOnePar): adjust
6008         (simpleDocBookOnePar): adjust
6009
6010         * CutAndPaste.C (pasteSelection): adjust
6011
6012         * BufferView.C (getEncoding): adjust
6013
6014         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6015
6016 2003-04-16  John Levon  <levon@movementarian.org>
6017
6018         * lyxfind.C: use parlist stuff for search/changes
6019
6020 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6021
6022         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6023
6024         * text2.C (deleteEmptyParagraphMechanism): adjust
6025
6026         * text2.[Ch] (ownerParagraph): delete func (both of them
6027
6028 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6031
6032 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * ParagraphList.C: prepare for NO_NEXT
6035
6036 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * text2.C (getFont): adjust
6039         (getLayoutFont): adjust
6040         (getLabelFont): adjust
6041
6042         * paragraph.C (getFont): adjust
6043         (getLabelFont): adjust
6044         (getLayoutFont): adjust
6045
6046         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6047
6048 2003-04-15  John Levon  <levon@movementarian.org>
6049
6050         From Angus Leeming
6051
6052         * lyx_main.C: handle Include in .ui files
6053
6054 2003-04-15  John Levon  <levon@movementarian.org>
6055
6056         * MenuBackend.C: make the doc files length shorter
6057
6058         * ToolbarBackend.h:
6059         * ToolbarBackend.C: handle toolbar placement flags,
6060         Minibuffer
6061
6062 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6063
6064         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6065         adjust
6066
6067         * paragraph_funcs.C (TeXOnePar): adjust
6068
6069         * paragraph.C (getLabelFont): add outerfont arg, adjust
6070         (getLayoutFont): ditto
6071         (simpleTeXOnePar): adjust
6072
6073         * paragraph_pimpl.C (realizeFont): delete func
6074
6075 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6076
6077         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6078         row argument, constify cur argument.
6079
6080 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * text2.C (getFont): adjust
6083         (getLayoutFont): adjust
6084         (getLabelFont): adjust
6085
6086         * paragraph_funcs.C (TeXOnePar): adjust
6087         (outerFont): new func...
6088         (realizeFont): ...moved out from here, changed this to facilitate
6089         transition
6090
6091         * paragraph.C (getFont): take outerfont as arg, adjust
6092         (simpleTeXOnePar): add outerfont arg, adjust
6093
6094         * buffer.C (simpleLinuxDocOnePar): adjust
6095         (simpleDocBookOnePar): adjust
6096
6097         * CutAndPaste.C (pasteSelection): adjust
6098
6099         * BufferView.C (getEncoding): adjust
6100
6101 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6102
6103         * text2.C (setCharFont): adjust
6104         (setCounter): adjust
6105
6106         * text.C (leftMargin): adjust
6107         (setHeightOfRow): adjust
6108
6109         * rowpainter.C (paintFirst): adjust
6110         (paintLast): adjust
6111
6112         * paragraph_pimpl.C (realizeFont): adjust
6113
6114         * paragraph.C (isFirstInSequence): move from here...
6115         * paragraph_funcs.C (isFirstInSequence): ...to here
6116
6117         * paragraph.C (outerHook): move from here...
6118         * paragraph_funcs.C (outerHook): ...to here
6119
6120         * paragraph.C (depthHook): move from here...
6121         * paragraph_funcs.C (depthHook): ...to here
6122
6123         * paragraph.C (getEndLabel): move from here...
6124         * paragraph_funcs.C (getEndLabel): ...to here
6125
6126         * text2.C (realizeFont): move from here...
6127         * paragraph_funcs.C (realizeFont): ...to here
6128
6129 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6132
6133 2003-04-14  Angus Leeming  <leeming@lyx.org>
6134
6135         * LColor.[Ch]: scrap LColor mathcursor.
6136
6137 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * lyxlex.[Ch] (text): delete function
6140         * trans.C (Load): adjust
6141         * paragraph_funcs.C (readParToken): adjust
6142
6143 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6146         vector<char> instead of a char[].
6147
6148         * lyxlex_pimpl.C (getString): adjust
6149         (next): adjust
6150         (lex): use getString
6151         (eatLine): adjust
6152         (nextToken): adjust
6153
6154         * lyxlex.C (text): use pimpl_->getString()
6155         (getBool): ditto
6156         (findToken): ditto
6157
6158 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6159
6160         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6161         (makeFontEntriesLayoutSpecific): temp var for par.size()
6162         (setLayout): temp var for ownerParagraphs().end()
6163         (fullRebreak): temp var for rows().end()
6164         (selectionAsString): temp var for boost::next(startpit), realize
6165         that the while really is a regular for loop.
6166         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6167         setCursor in one place.
6168         (setParagraph): temp vr for ownerParagraphs().end()
6169         (updateCounters): make the while loop a for loop
6170         (cutSelection): temp var for ownerParagraphs().end()
6171         (updateInset): make the do {} while() a regular for loop
6172         (getCursorX): use temp vars
6173         (setCurrentFont): use temp vars
6174         (getColumnNearX): use temp vars
6175
6176 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * text.C (transformChar): use temp var for getChar
6179         (computeBidiTables): use temp var for row->par()
6180         (fill): move temp vars for row->par() and pit->layout() earlier in
6181         the function.
6182         (labelFill): use temp var for row->par()
6183         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6184         asc and desc, realize that pit never changes and that firstpit is
6185         just a duplicate and not needed. Exchange rit->par() with pit in a
6186         lot of places.
6187         (breakAgain): use a temp var for boost::next(rit)
6188         (breakAgainOneRow): ditto
6189         (breakParagraph): use a temp var for rows().begin()
6190         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6191         (cursorRightOneWord): use temp var for cursor.par() and
6192         cursor.pos(), remove usage of tmpcursor.
6193         (cursorLeftOneWord): use temp var for cursor.par() and
6194         cursor.pos() only set cur at end of function.
6195
6196 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * text.C, text2.C: exchange all usage of Paragraph::next with
6199         boost::next(ParagraphList::iterator)
6200
6201         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6202
6203         * text2.C (cursorTop): simplify implementation
6204         (cursorBottom): ditto
6205         (setParagraph): use ParagraphList::iterator
6206         (setCurrentFont): adjust
6207         (getColumnNearX): adjust
6208         (cursorRight): adjust
6209         (cursorLeft): remove usage of Paragraph::previous
6210         (cursorUpParagraph): ditto
6211         (deleteEmptyParagraphMechanism): slight cleanup
6212
6213         * text.C (isBoundary): take a Paragraph const & instead of a
6214         pointer as arg.
6215         (addressBreakPoint): ditto
6216         (leftMargin): remove usage of Paragraph::previous.
6217         (setHeightOfRow): ditto
6218         (cursorLeftOneWord): ditto
6219         (selectNextWordToSpellcheck): ditto
6220         (Delete): ditto
6221         (backspace): ditto
6222         (breakParagraph): remove one usage of Paragraph::next
6223         (redoParagraph): ditto
6224         (acceptChange): ditto
6225         (insertChar): adjust
6226         (rowBreakPoint): adjust
6227
6228         * bufferview_funcs.C (toggleAndShow): adjust
6229
6230 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6231
6232         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6233         methods to access it.
6234         * lyxtext.h:
6235         * text.C: Added updateRowPositions to compute all row positions.
6236         Make top_y and getRowNearY() to use the cached y position
6237
6238 2003-04-11  John Levon  <levon@movementarian.org>
6239
6240         * text.C (rowBreakPoint): reintroduce the labelEnd
6241         checks, code copied from the row fill stuff. Deep voodoo.
6242
6243         * text.C (fill): add a comment and debugging for the
6244         next poor soul.
6245
6246 2003-04-11  John Levon  <levon@movementarian.org>
6247
6248         * text.C: make sure fullrow insets get wrapped to the next line,
6249         even when they're in a manual label
6250
6251 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * text2.C (insertParagraph): make it take ParagraphList::iterator
6254         as arg.
6255         (setLayout): make it return ParagraphList::iterator
6256         (redoParagraphs): ditto
6257         (setCounter): ditto
6258         (checkParagraph): ditto
6259
6260         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6261
6262         * text2.C: adjust several funcs.
6263         (realizeFont): take a ParagraphList::iterator as arg.
6264         (getLayoutFont): ditto
6265         (getLabelFont): ditto
6266         (setCharFont): ditto
6267
6268         * text.C: adjust several funcs.
6269
6270 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6271
6272         * text.C (selectNextWordToSpellcheck): don't accidentally
6273         skip insets
6274
6275 2003-04-10  John Levon  <levon@movementarian.org>
6276
6277         * ToolbarBackend.C (getIcon): special handling for
6278         LFUN_MATH_DELIM
6279
6280 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6281
6282         * text2.C (cursorRight): a getChar assert fixed
6283
6284 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6285
6286         * text2.C (getFont): change to take a ParagraphList::iterator
6287         instead of Paragraph*
6288         Adjust several functions.
6289
6290         * text.C (transformChar): change to take a ParagraphList::iterator
6291         instead of Paragraph*
6292         (singleWidth): ditto
6293         Adjust several functions.
6294
6295         * rowpainter.C: adjust several functions
6296         * rowpainter.h:store a ParagraphList::iterator and not a
6297         Paragraph&.
6298
6299
6300 2003-04-09  John Levon  <levon@movementarian.org>
6301
6302         * lyxfunc.C:
6303         * lfuns.h:
6304         * LyXAction.h:
6305         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6306         and the "help" bits as well
6307
6308 2003-04-09  John Levon  <levon@movementarian.org>
6309
6310         * ToolbarBackend.h:
6311         * ToolbarBackend.C: allow multiple toolbars
6312
6313 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * undo_funcs.C (setCursorParUndo): adjust
6316
6317         * text_funcs.C (transposeChars): adjust
6318
6319         * text3.C (gotoNextInset): adjust
6320         (dispatch): adjust
6321
6322         * text2.C (setLayout): adjust
6323         (changeDepth): adjust
6324         (setFont): adjust
6325         (redoParagraphs): adjust
6326         (selectionAsString): adjust
6327         (setParagraph): adjust
6328         (insertInset): adjust
6329         (cutSelection): adjust
6330         (copySelection): adjust
6331         (pasteSelection): adjust
6332         (insertStringAsLines): adjust
6333         (updateInset): adjust
6334         (setCursor): change to take a ParagraphList::iterator parameter
6335         (setCursorIntern): change to take a ParagraphList::iterator parameter
6336         (setCurrentFont): adjust
6337         (cursorLeft): adjust
6338         (cursorRight): adjust
6339         (deleteEmptyParagraphMechanism): adjust
6340
6341         * text.C (breakParagraph): adjust
6342         (insertChar): adjust
6343         (acceptChange): adjust
6344         (rejectChange): adjust
6345         (selectNextWordToSpellcheck): adjust
6346         (changeCase): adjust
6347         (Delete): adjust
6348         (backspace): adjust
6349
6350         * lyxfind.C (SearchForward): adjust
6351         (SearchBackward): adjust
6352         (nextChange): adjust
6353
6354         * lyxcursor.C (par): adjust
6355
6356         * lyxcursor.h: store a ParagraphList::iterator instead of a
6357         Paragraph*
6358
6359         * lyx_cb.C (getPossibleLabel): adjust
6360
6361         * bufferview_funcs.C (toggleAndShow): adjust
6362
6363         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6364         (dispatch): adjust
6365
6366         * BufferView.C (removeAutoInsets): adjust
6367         (lockedInsetStoreUndo): adjust
6368
6369 2003-04-09  John Levon  <levon@movementarian.org>
6370
6371         * ToolbarBackend.C: try icon without argument
6372         if with argument fails
6373
6374 2003-04-08  John Levon  <levon@movementarian.org>
6375
6376         * ToolbarBackend.h:
6377         * ToolbarBackend.C: add getIcon(), handle tooltip,
6378         and change from "Icon" to "Item".
6379
6380 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6381
6382         * BufferView.C (lockInset): another bad getchar crunched
6383
6384 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6385
6386         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6387         again)
6388
6389 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6390
6391         * lyxfind.C (searchForward, searchBackwards): bug 782
6392
6393 2003-04-07  John Levon  <levon@movementarian.org>
6394
6395         * paragraph.C: remove dead comment
6396
6397         * text.C: remove troublesome depth-fiddling code
6398         in leftMargin() and rightMargin() (bug 1017)
6399
6400         * text.C: fix breaking of rows in nested lists
6401         (bug 1004)
6402
6403         * text2.C (updateCounters): fix up depth values
6404         (bug 1013)
6405
6406 2003-04-07  John Levon  <levon@movementarian.org>
6407
6408         * BufferView_pimpl.C: clear message when doc finishes resizing,
6409         and after a mouse event
6410
6411         * lyxfunc.C: clear message after exiting inset
6412
6413 2003-04-07  John Levon  <levon@movementarian.org>
6414
6415         * bufferview_funcs.C: show math status not outside
6416         status in the statusbar
6417
6418 2003-04-07  John Levon  <levon@movementarian.org>
6419
6420         * lyxfunc.C: note status changed after a depth change
6421
6422 2003-04-04  Angus Leeming  <leeming@lyx.org>
6423
6424         * LaTeX.h: move AuxInfo operator==, != out of line.
6425         Remove LaTeX virtual destructor; nothing derives from it.
6426         Move operator()() out of public area and rename it startscript().
6427         Change protected for private.
6428
6429 2003-04-04  Angus Leeming  <leeming@lyx.org>
6430
6431         * lyxfunc.C:
6432         * text2.C: remove unneeded #includes.
6433
6434 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6435
6436         * text2.C (dEPM): fix the heigth of the next row
6437
6438 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6439
6440         * text.C: squashed an invalid getChar requester + some ws changes
6441
6442 2003-04-03  John Levon  <levon@movementarian.org>
6443
6444         * bufferview_funcs.h:
6445         * bufferview_funcs.C:
6446         * lyxfunc.C:
6447         * lyxtext.h:
6448         * text2.C: make getStatus work for the env depth lfuns
6449
6450 2003-04-03  John Levon  <levon@movementarian.org>
6451
6452         * bufferview_funcs.h:
6453         * bufferview_funcs.C:
6454         * lyxfunc.C:
6455         * lyxtext.h:
6456         * text2.C: parlistize decDepth(), by merging it with incDepth()
6457
6458 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6459
6460         * lyxrow.h: store a ParagraphList::iterator instead of a
6461         Paragraph* and adjust other class functions to suit.
6462
6463         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6464         above.
6465
6466 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6467
6468         * text2.C (setCursor): do not anchor to cursor row for the time being
6469
6470 2003-04-02  John Levon  <levon@movementarian.org>
6471
6472         * LyXAction.C:
6473         * lfuns.h:
6474         * lyx_main.C:
6475         * lyxtext.h:
6476         * text.C:
6477         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6478
6479 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6480
6481         * paragraph.h: make ParagraphList and ParagraphList::iterator
6482         friends of Paragraph.
6483
6484         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6485
6486         * ParagraphList.C: Use the private next_ and previous_ from
6487         Paragraph.
6488
6489 2003-04-01  John Levon  <levon@movementarian.org>
6490
6491         * ToolbarBackend.h:
6492         * ToolbarBackend.C:
6493         * Makefile.am: rename, remove defaults gunk
6494
6495         * MenuBackend.h:
6496         * MenuBackend.C: remove defaults gunk
6497
6498         * Languages.h:
6499         * Languages.C: remove defaults gunk
6500
6501         * lyx_main.h:
6502         * lyx_main.C: error out if files couldn't be found.
6503
6504 2003-04-02  John Levon  <levon@movementarian.org>
6505
6506         * text2.C: make incDepth() use parlist
6507
6508 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * undo_funcs.C (firstUndoParagraph): adjust
6511
6512         * text3.C (gotoInset): adjust
6513         (dispatch): adjust, and rewrite loop.
6514
6515         * text2.C (init): adjust, and rewrite loop.
6516         (redoParagraphs): adjust
6517         (updateInset): adjust, and rewrite loop.
6518         (deleteEmptyParagraphMechanism): adjust
6519
6520         * tabular.C (LyXTabular): adjust
6521         (SetMultiColumn): adjust
6522         (TeXRow): adjust
6523
6524         * lyxtext.[Ch] (ownerParagraph): delete function
6525         (ownerParagraphs): new function returns a ParagraphList.
6526
6527         * BufferView.C (removeAutoInsets): adjust
6528         (insertErrors): adjust
6529         (setCursorFromRow): adjust
6530
6531 2003-04-01  Angus Leeming  <leeming@lyx.org>
6532
6533         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6534         in the frontends.
6535
6536 2003-04-02  John Levon  <levon@movementarian.org>
6537
6538         * lyxtext.h:
6539         * text.C:
6540         * Makefile.am:
6541         * text_funcs.h:
6542         * text_funcs.C: make transposeChars a free function
6543
6544         * lyxrow_funcs.C: remove wrong comment
6545
6546 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6547
6548         * lyxtext.h: adjust
6549         * rowpainter.C: adjust
6550         * text.C: adjust
6551         * text2.C: adjust
6552         * text3.C: adjust
6553
6554         * lyxrow_funcs. [Ch]: new files
6555
6556         * lyxrow.[Ch]: remove next and previous pointers
6557         (next,previous): remove accessor functions
6558         (isParEnd): move to lyxrow_funcs
6559         (lastPos): move to lyxrow_funcs
6560         (nextRowIsAllInset): move to lyxrow_funcs
6561         (lastPrintablePos): move to lyxrow_funcs
6562         (numberOfSeparators): move to lyxrow_funcs
6563         (numberOfHfills): move to lyxrow_funcs
6564         (numberOfLabelHfills): move to lyxrow_funcs
6565         (hfillExpansion): move to lyxrow_funcs
6566
6567         * lyxfunc.C: adjust
6568
6569         * bufferview_funcs.C (toggleAndShow): adjust
6570
6571         * RowList.h: Remove class RowList from file leave just a
6572         std::list<Row>.
6573
6574         * RowList.C: delete file
6575
6576         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6577         and lyxrow_funcs.h
6578
6579 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * text3.C (cursorPrevious): adjust
6582         (cursorNext): adjust
6583         (dispatch): adjust
6584
6585         * text2.C (redoHeightOfParagraph): adjust
6586         (redoDrawingOfParagraph): adjust
6587         (setCursor): adjust
6588
6589         * text.C (breakParagraph): adjust
6590         (insertChar): adjust
6591         (backspace): adjust
6592
6593         * rowpainter.C (RowPainter): adjust
6594         (leftMargin): simplify and adjust
6595         (most rowpainter functions): adjust.
6596
6597         * rowpainter.h: store the row as RowList::iterator not as Row*
6598
6599         * lyxcursor.C (row): taka RowList::iterator as arg
6600         (irow): ditto
6601
6602         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6603         of Row*.
6604
6605 2003-04-01  Angus Leeming  <leeming@lyx.org>
6606
6607         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6608         stuff like bool Bool.
6609
6610 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6613         rewrite a loop
6614
6615 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6616
6617         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6618         RowList::iterator.
6619
6620         * lyxtext.h (rows): drop one version and leve a const variant that
6621         returns a RowList::iterator.
6622
6623 2003-03-31  Angus Leeming  <leeming@lyx.org>
6624
6625         * text.C (fill): ensure that the signature is the same as that in the
6626         header file.
6627
6628 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * text2.C (redoParagraphs): adjust
6631         (updateCounters): adjust
6632         (checkParagraph): adjust
6633         (getColumnNearX): adjust and reformat a bit.
6634
6635         * text.C (top_y): adjust
6636         (workWidth): adjust
6637         (leftMargin): adjust
6638         (prepareToPrint): adjust
6639         (getRow): adjust
6640         (getRowNearY): adjust
6641
6642         * lyxtext.h: make rowlist_ mutable.
6643
6644         * RowList.h: add const_iterator
6645         * RowList.C: adjust for RowList::const_iterator.
6646
6647         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6648         adjust.
6649
6650 2003-03-31  John Levon  <levon@movementarian.org>
6651
6652         * lyxrc.h:
6653         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6654
6655         * lyx_main.C: set default fonts from using lyx_gui funcs
6656
6657         * exporter.C: pdf_mode moved from lyxrc
6658
6659         * lyx_cb.C:
6660         * lyxfunc.C: changes from above
6661
6662 2003-03-31  John Levon  <levon@movementarian.org>
6663
6664         * lyx_main.C: fix to the last fix
6665
6666 2003-03-31  John Levon  <levon@movementarian.org>
6667
6668         * bufferlist.C: "Load original" -> "Load Original"
6669
6670         * converter.C:
6671         * exporter.C:
6672         * importer.C:
6673         * lyx_main.C:
6674         * format.C: more Alert cleanups
6675
6676 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6677
6678         * text2.C (removeParagraph): make it take a RowList::iterator as
6679         arg, adjust.
6680         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6681         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6682
6683         * text.C (anchor_row): make it take a RowList::iterator as arg,
6684         adjust.
6685         (computeBidiTables): make it take a const reference to Row instead
6686         of Row pointer, adjust.
6687         (leftMargin): make it take a RowList::iterator as arg, adjust.
6688         (rowBreakPoint): adjust
6689         (breakAgainOneRow): make it take a RowList::iterator as arg,
6690         adjust.
6691         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6692
6693         * bufferview_funcs.C (toggleAndShow): adjust
6694
6695 2003-03-30  John Levon  <levon@movementarian.org>
6696
6697         * Makefile.am:
6698         * BoostFormat.h:
6699         * boost-inst.C: moved to support
6700
6701         * several files: changes as a result
6702
6703 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * text2.C (LyXText): adjust.
6706         (init): adjust
6707         (removeRow): make it take a RowList::iterator as arg, adjust.
6708         (fullRebreak): adjust
6709         (deleteEmptyParagraphMechanism): adjust
6710         (clearPaint): adjust
6711         (postPaint): adjust
6712
6713         * text.C (top_y): adjust
6714         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6715         (breakAgain): make it take a RowList::iterator as arg, adjust.
6716         (breakParagraph): adjust
6717         (insertChar): adjust
6718         (backspace): adjust
6719
6720         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6721         need_break_row, and refresh_row.
6722
6723         * text3.C (dispatch): adjust
6724
6725         * text2.C (checkParagraph): adjust
6726         (setCursor): adjust
6727         (setCursorFromCoordinates): adjust
6728
6729         * text.C (top_y): adjust
6730         (workWidth): adjust
6731         (getRow): make it return a RowList::iterator, adjust
6732         (getRowNearY): make it return a RowList::iterator, adjust
6733
6734         * text2.C (init): adjust
6735         (insertRow): remove function
6736         (insertParagraph): adjust
6737         (redoParagraphs): adjust
6738         (fullRebreak): adjust
6739         (updateCounters): adjust
6740
6741         * text.C (top_y): rewrite to use RowList iterators.
6742         (top_y): adjust
6743         (setHeightOfRow): rewrite to sue RowList iterators.
6744         (appendParagraph): adjust
6745         (breakAgain): adjust
6746         (breakAgainOneRow): adjust
6747         (breakParagraph): adjust
6748         (getRow): adjust
6749         (getRowNearY): adjust, and remove commented code.
6750
6751         * lyxtext.h (firstRow): delete function
6752         (lastRow): delete function
6753         (rows): new function (const and non-const versions.)
6754         (insertRow): delete function
6755
6756         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6757
6758 2003-03-29  John Levon  <levon@movementarian.org>
6759
6760         * BufferView_pimpl.C: always update scrollbar top
6761         because pasting text when we're anchored could mean we
6762         miss an update altogether
6763
6764 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * text2.C (init): use rowlist_.end() and not 0.
6767         (insertRow): change to take a RowList::iterator as arg, adjust
6768         for this.
6769         (insertParagraph): change to take a RowList::iterator as arg,
6770         adjust for this.
6771         (redoParagraphs): remove some debug msgs.
6772
6773         * text.C (appendParagraph): change to take a RowList::iterator
6774         arg, adjust for this.
6775         (breakAgain): add an assert
6776         (breakAgainOneRow): ditto
6777
6778 2003-03-29  John Levon  <levon@movementarian.org>
6779
6780         * text2.C: do not clear selection after inc/decDepth
6781         (bug 550)
6782
6783 2003-03-29  John Levon  <levon@movementarian.org>
6784
6785         * BufferView.C:
6786         * buffer.C: fix broken strerrors according to Lars
6787
6788 2003-03-29  John Levon  <levon@movementarian.org>
6789
6790         * converters.C: more Alert cleanups
6791
6792 2003-03-29  John Levon  <levon@movementarian.org>
6793
6794         * bufferview_funcs.C: remove pointless Alert
6795
6796         * buffer.C: fix confusing error message when
6797         a template is chmoded 000
6798
6799 2003-03-29  John Levon  <levon@movementarian.org>
6800
6801         * BufferView.C:
6802         * BufferView.h:
6803         * BufferView_pimpl.C: Alert fixes
6804
6805         * Makefile.am:
6806         * tabular.C:
6807         * tabular-old.C: remove unused table compat reading
6808
6809 2003-03-29  John Levon  <levon@movementarian.org>
6810
6811         * BufferView.C:
6812         * buffer.C:
6813         * lyx_cb.h:
6814         * lyx_cb.C: more Alert cleanups
6815
6816         * lyxfunc.C: don't allow chktex if not latex document
6817
6818 2003-03-29  John Levon  <levon@movementarian.org>
6819
6820         * lyx_cb.C:
6821         * BufferView.C:
6822         * buffer.C: warnings pushed down from support/,
6823         kill err_alert
6824
6825 2003-03-29  John Levon  <levon@movementarian.org>
6826
6827         * lyxfunc.C: safety check for C-r (revert)
6828
6829 2003-03-29  John Levon  <levon@movementarian.org>
6830
6831         * bufferlist.h:
6832         * bufferlist.C: several UI fixes using Alert::prompt.
6833         Fix the pointless looping quit code. Fix stupid revert
6834         behaviour (bug 938)
6835
6836         * lyxvc.h:
6837         * lyxvc.C:
6838         * lyx_cb.C: use Alert::prompt
6839
6840         * lyx_main.C: remove a silly question
6841
6842         * lyxfunc.C: remove a couple of silly questions,
6843         use Alert::prompt
6844
6845 2003-03-28  John Levon  <levon@movementarian.org>
6846
6847         * text2.C: fix bug 974 (End on empty par)
6848
6849 2003-03-28  John Levon  <levon@movementarian.org>
6850
6851         * BufferView_pimpl.C:
6852         * LyXAction.C:
6853         * lfuns.h: remove do-nothing math greek lfuns
6854
6855 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * lyxgluelength.h (isValidGlueLength): add default arg on
6858         parameter 2. Remove default arg from friend in class.
6859
6860         * lyxlength.h (isValidLength): add default arg on parameter 2.
6861         Remove default arg from friend in class.
6862
6863         * text2.C (LyXText): adjust, initialize refresh_row.
6864         (init): adjust
6865         (removeRow): adjust
6866         (insertRow): adjust
6867         (insertParagraph): adjst
6868         (redoParagraphs): adjust
6869         (fullRebreak): adjust
6870         (updateCounters): adjust
6871         (deleteEmptyParagraphMechanism): first attempt at fixing a
6872         crashing bug.
6873
6874         * text.C (top_y): adjust
6875         (setHeightOfRow): adjust
6876         (getRow): adjust
6877         (getRowNearY): adjust
6878
6879         * lyxtext.h: include RowList.h
6880         (~LyXText): not needed anymore, deleted.
6881         (firstRow): modify for RowList
6882         (lastRow): new function
6883         Delete firstrow and lastrow class variables, add a Rowlist
6884         rowlist_ class variable.
6885
6886         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6887         paragraph is empty.
6888
6889         * RowList.C (insert): fix case where it == begin().
6890
6891 2003-03-26  Angus Leeming  <leeming@lyx.org>
6892
6893         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6894         the thesaurus dialog.
6895
6896 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6899
6900         * RowList.[Ch]: new files
6901
6902         * ParagraphList.C (erase): handle the case where it == begin
6903         correctly.
6904
6905 2003-03-25  John Levon  <levon@movementarian.org>
6906
6907         * Makefile.am:
6908         * aspell_local.h:
6909         * aspell.C: add new aspell support
6910
6911         * lyxrc.h:
6912         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6913         have it accessible.
6914
6915 2003-03-25  Angus Leeming  <leeming@lyx.org>
6916
6917         * lfuns.h:
6918         * LyXAction.C (init): new LFUN_INSET_INSERT.
6919
6920         * BufferView_pimpl.C (dispatch): split out part of the
6921         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6922
6923         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6924         LFUN_INSET_APPLY.
6925
6926 2003-03-25  Angus Leeming  <leeming@lyx.org>
6927
6928         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6929
6930 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6931
6932         * text2.C:
6933         * text3.C: remove useless row->height(0)
6934
6935 2003-03-25  John Levon  <levon@movementarian.org>
6936
6937         * lyxtext.h:
6938         * text2.C:
6939         * text3.C: rename the refreshing stuff to better names
6940
6941 2003-03-24  John Levon  <levon@movementarian.org>
6942
6943         * BufferView_pimpl.h:
6944         * BufferView_pimpl.C: update layout choice on a mouse
6945         press/release
6946
6947 2003-03-23  John Levon  <levon@movementarian.org>
6948
6949         * Makefile.am: fix commandtags.h reference
6950
6951 2003-03-22  John Levon  <levon@movementarian.org>
6952
6953         * BufferView_pimpl.C:
6954         * lyxtext.h:
6955         * rowpainter.C:
6956         * rowpainter.h:
6957         * text.C:
6958         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6959
6960 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6961
6962         * lyxtext.h:
6963         * text.C: take the rtl methods out of line
6964
6965 2003-03-21 André Pönitz <poenitz@gmx.net>
6966
6967         * metricsinfo.[Ch]: new files containing structures to be passed around
6968         during the two-phase-drawing...
6969
6970 2003-03-21 André Pönitz <poenitz@gmx.net>
6971
6972         * lyxtextclass.C: read 'environment' tag.
6973
6974 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6975
6976         * text2.C (removeRow): fix bug 964
6977
6978 2003-03-20  John Levon  <levon@movementarian.org>
6979
6980         * rowpainter.C:
6981         * text.C:
6982         * text2.C: paint cleanups. Inset::update() dropped font
6983         parameter
6984
6985 2003-03-19  John Levon  <levon@movementarian.org>
6986
6987         * lyxfunc.C: only fitcursor/markDirty if available()
6988
6989 2003-03-19  John Levon  <levon@movementarian.org>
6990
6991         * commandtags.h: rename to ...
6992
6993         * lfuns.h: ... this, and renumber / cleanup
6994
6995 2003-03-19  John Levon  <levon@movementarian.org>
6996
6997         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6998         fit the cursor after an lfun
6999
7000         * BufferView.h:
7001         * BufferView.C:
7002         * BufferView_pimpl.h:
7003         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7004
7005         * LyXAction.C: layout-character should have ReadOnly
7006
7007         * ParagraphParameters.C:
7008         * buffer.C:
7009         * bufferview_funcs.C:
7010         * lyx_cb.C:
7011         * lyxfind.C:
7012         * lyxtext.h:
7013         * text.C:
7014         * text2.C:
7015         * text3.C:
7016         * undo_funcs.C: changes from above
7017
7018 2003-03-18  John Levon  <levon@movementarian.org>
7019
7020         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7021         remove it from update()
7022
7023         * lyxfunc.C: update layout choice after an lfun
7024
7025         * text3.C: remove extra updateLayoutChoice()s
7026
7027 2003-03-18  John Levon  <levon@movementarian.org>
7028
7029         * text.C: top_y change means full repaint, fix
7030         a drawing bug with cursor movement
7031
7032 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7033
7034         * lyxtext.h:
7035         * text.C:
7036         * text2.C: anchor row on setCursor
7037
7038 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7039
7040         * lyxtext.h: remove almost all mutable keywords
7041         * text.C:
7042         * text2.C:
7043         * text3.C: remove const keywords accordingly
7044
7045 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7046
7047         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7048         anon namespace
7049         (TeXEnvironment): ditto
7050         (TeXOnePar): ditto
7051
7052 2003-03-17  John Levon  <levon@movementarian.org>
7053
7054         * text.C (rowBreakPoint): remove attempt to fix displayed
7055         math insets inside a manual label
7056
7057 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * lyxtext.h: remove BufferView* as first arg from almost all class
7060         functions.
7061         * other files: adjust.
7062
7063 2003-03-17  John Levon  <levon@movementarian.org>
7064
7065         * lyxtext.h:
7066         * undo_funcs.C:
7067         * text2.C: more paint cleanups
7068
7069         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7070
7071         * rowpainter.h:
7072         * rowpainter.C: remove "smart" background painting code
7073
7074 2003-03-16  John Levon  <levon@movementarian.org>
7075
7076         * lyxtext.h:
7077         * text.C:
7078         * text2.C:
7079         * text3.C: add helper functions for setting refresh_row/y
7080
7081 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7082
7083         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7084         newline inset which *can* get inserted in the pass_thru layouts.
7085         This is primarily for literate documents.
7086
7087 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7088
7089         * buffer.C: increment LYX_FORMAT to 223
7090
7091 2003-03-14 André Pönitz <poenitz@gmx.net>
7092
7093         * textclass.h: prepare for environment handling, ws changes
7094         * lyxlayout.C: read latexheader and latexfooter tags
7095
7096 2003-03-14  John Levon  <levon@movementarian.org>
7097
7098         * text2.C: rewrite ::status() a bit
7099
7100 2003-03-13  John Levon  <levon@movementarian.org>
7101
7102         * lyxtext.h: add some docs
7103
7104 2003-03-13  John Levon  <levon@movementarian.org>
7105
7106         * lyxtext.h:
7107         * text.C:
7108         * text2.C:
7109         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7110
7111 2003-03-13  John Levon  <levon@movementarian.org>
7112
7113         * text3.C: fix appendix redrawing
7114
7115 2003-03-13  John Levon  <levon@movementarian.org>
7116
7117         * text.C (setHeightOfRow):
7118         * rowpainter.h:
7119         * rowpainter.C: make appendix mark have the text
7120           "Appendix" so the user knows what it is
7121
7122         * LColor.h:
7123         * LColor.C: s/appendixline/appendix/ from above
7124
7125 2003-03-13  John Levon  <levon@movementarian.org>
7126
7127         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7128
7129         * text.C: fix a getChar(pos) bug properly
7130
7131 2003-03-13  Angus Leeming  <leeming@lyx.org>
7132
7133         * commandtags.h:
7134         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7135         Probably only temporary. Let's see how things pan out.
7136
7137         * BufferView.C (unlockInset):
7138         * BufferView_pimpl.C (fitCursor):
7139         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7140
7141         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7142         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7143
7144         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7145         new functions that convert ParagraphParameters to and from a string.
7146
7147         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7148         BufferView::Pimpl's dispatch.
7149         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7150
7151 2003-03-13 André Pönitz <poenitz@gmx.net>
7152
7153         * lyxfunc.C:
7154         * text3.C:
7155         * factory.C: make it aware of InsetEnv
7156
7157 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * text2.C (setCursor): never ask for one past last
7160         (setCursor): add some debugging messages.
7161
7162         * text.C (singleWidth): never ask for one past last
7163         (singleWidth): ditto
7164         (leftMargin): ditto
7165         (rightMargin): ditto
7166         (rowBreakPoint): ditto
7167         (setHeightOfRow): ditto
7168         (prepareToPrint): ditto
7169
7170         * rowpainter.C (paintBackground): never ask for one past last
7171         (paintText): never ask for one past last
7172
7173         * paragraph_pimpl.C (getChar): make the assert stricter, never
7174         allow the one past last pos to be taken
7175
7176         * paragraph.C (getChar): ws changes only
7177
7178         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7179         (numberOfSeparators): ditto
7180         (numberOfHfills): ditto
7181
7182 2003-03-12  John Levon  <levon@movementarian.org>
7183
7184         * author.h:
7185         * author.C:
7186         * bufferparams.h:
7187         * bufferparams.C:
7188         * paragraph_funcs.C: fix per-buffer authorlists
7189
7190 2003-03-12  John Levon  <levon@movementarian.org>
7191
7192         * text.C: fix newline in right address
7193
7194 2003-03-12  Angus Leeming  <leeming@lyx.org>
7195
7196         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7197         duplicate those in LyXFunc::dispatch.
7198
7199         * commandtags.h:
7200         * LyXAction.C:
7201         * ToolbarDefaults.C:
7202         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7203         Add LFUN_FONTFREE_UPDATE.
7204
7205         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7206         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7207
7208         * bufferview_func.[Ch]: several new functions to facilliate
7209         transfer of data to and from the character dialog.
7210
7211 2003-03-12  John Levon  <levon@movementarian.org>
7212
7213         * buffer.C:
7214         * paragraph.h:
7215         * paragraph.C:
7216         * paragraph_funcs.C:
7217         * paragraph_pimpl.C:
7218         * sgml.C:
7219         * tabular.C:
7220         * text.C:
7221         * text3.C: remove META_NEWLINE in favour of an inset
7222
7223         * rowpainter.h:
7224         * rowpainter.C: remove paintNewline (done by inset)
7225
7226 2003-03-12  John Levon  <levon@movementarian.org>
7227
7228         * paragraph_pimpl.C: complain about bad getChar()s
7229         for a while at least
7230
7231 2003-03-12  John Levon  <levon@movementarian.org>
7232
7233         * buffer.h:
7234         * buffer.C: move paragraph read into a separate function,
7235         a little renaming to reflect that.
7236
7237         * bufferparams.h:
7238         * bufferparams.C: remove the author_ids map, not necessary now
7239
7240         * factory.h:
7241         * factory.C: moved Buffer::readInset to here
7242
7243         * paragraph_funcs.h:
7244         * paragraph_funcs.C: readParagraph free function moved from
7245         buffer.C
7246
7247         * tabular.C: name change
7248
7249 2003-03-12  John Levon  <levon@movementarian.org>
7250
7251         * buffer.C:
7252         * ParagraphParameters.C: move par params input to
7253         a read() method
7254
7255         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7256         behave like a normal read from the stream wrt reading
7257         a line vs. a \\token
7258
7259 2003-03-12  John Levon  <levon@movementarian.org>
7260
7261         * paragraph.C:
7262         * ParagraphParameters.h:
7263         * ParagraphParameters.C: move output code to a
7264         ::write() method
7265
7266 2003-03-12  John Levon  <levon@movementarian.org>
7267
7268         * BufferView.C (insertLyXFile):
7269         * buffer.h:
7270         * buffer.C:
7271         * tabular.C: use a parlist iterator for creating the
7272           document.
7273
7274 2003-03-12  John Levon  <levon@movementarian.org>
7275
7276         * buffer.C: make current_change static local not
7277           static file-scope
7278
7279 2003-03-12  John Levon  <levon@movementarian.org>
7280
7281         * buffer.C: fix insertStringAsLines for change tracking
7282
7283 2003-03-12  John Levon  <levon@movementarian.org>
7284
7285         * BufferView.C:
7286         * tabular.C:
7287         * buffer.h:
7288         * buffer.C:
7289         * bufferparams.h:
7290         * bufferparams.C: move author list into params. Rename some
7291           functions. Move the header reading into a separate token
7292           loop. Move the header token reading into BufferParams.
7293
7294 2003-03-12  John Levon  <levon@movementarian.org>
7295
7296         * changes.C: put debug inside lyxerr.debugging() checks
7297
7298 2003-03-11 André Pönitz <poenitz@gmx.net>
7299
7300         * factory.C: make it aware of InsetHFill
7301
7302 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7303
7304         * buffer.C (latexParagraphs): move function from here...
7305         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7306         args.
7307
7308 2003-03-10  Angus Leeming  <leeming@lyx.org>
7309
7310         * LyXAction.C (init): fix bug in poplating array with multiple entries
7311         with the same LFUN (spotted by JMarc).
7312
7313 2003-03-10  John Levon  <levon@movementarian.org>
7314
7315         * text.C:
7316         * text2.C: move getColumnNearX() near its
7317         only call site
7318
7319 2003-03-10  John Levon  <levon@movementarian.org>
7320
7321         * text.C: fix break before a minipage
7322
7323 2003-03-10  John Levon  <levon@movementarian.org>
7324
7325         * text.C: fix the last commit
7326
7327 2003-03-09  John Levon  <levon@movementarian.org>
7328
7329         * lyxtext.h:
7330         * text.C:
7331         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7332         bug 365 (don't break before insets unless needed). Don't
7333         return a value > last under any circumstances.
7334
7335 2003-03-09  Angus Leeming  <leeming@lyx.org>
7336
7337         * BufferView_pimpl.C (trackChanges, dispatch): call
7338         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7339
7340 2003-03-09  Angus Leeming  <leeming@lyx.org>
7341
7342         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7343         than Dialogs::showAboutlyx().
7344
7345 2003-03-09  Angus Leeming  <leeming@lyx.org>
7346
7347         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7348         than Dialogs::showTabularCreate().
7349
7350 2003-03-09  John Levon  <levon@movementarian.org>
7351
7352         * lyxtext.h:
7353         * text.C:
7354         * text2.C: 3rd arg to nextBreakPoint was always the same.
7355           Use references.
7356
7357 2003-03-08  John Levon  <levon@movementarian.org>
7358
7359         * lyxrow.C:
7360         * paragraph.C:
7361         * paragraph.h:
7362         * rowpainter.C:
7363         * text.C:
7364         * text2.C: Remove the "main" bit from the "main body"
7365           notion.
7366
7367 2003-03-08  John Levon  <levon@movementarian.org>
7368
7369         * text.C (leftMargin): The left margin of an empty
7370         manual label paragraph should not include the label width
7371         string length.
7372
7373         * text.C (prepareToPrint): don't attempt to measure hfills
7374         for empty manual label paragraphs - the answer should be 0
7375
7376 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * CutAndPaste.C: remove commented code and reindent.
7379
7380 2003-03-08  John Levon  <levon@movementarian.org>
7381
7382         * lyxfunc.h:
7383         * lyxfunc.C: move reloadBuffer()
7384
7385         * BufferView.h:
7386         * BufferView.C: to here
7387
7388         * lyxvc.C: add comment
7389
7390         * vc-backend.h:
7391         * vc-backend.C: call bv->reload() to avoid
7392           getStatus() check on MENURELOAD
7393
7394 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7395
7396         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7397         to an old format .dep file.
7398
7399 2003-03-07  Angus Leeming  <leeming@lyx.org>
7400
7401         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7402         when the LFUN_MOUSE_RELEASE should have been handled by
7403         inset->localDispatch.
7404
7405 2003-03-07  Angus Leeming  <leeming@lyx.org>
7406
7407         * BufferView_pimpl.C (dispatch):
7408         * LyXAction.C (init):
7409         * ToolbarDefaults.C (init):
7410         * commandtags.h:
7411         * lyxfunc.C (getStatus):
7412         remove LFUN_INSET_GRAPHICS.
7413
7414         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7415
7416 2003-03-07  Angus Leeming  <leeming@lyx.org>
7417
7418         * commandtags.h:
7419         * LyXAction.C (init):
7420         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7421
7422         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7423
7424         * commandtags.h:
7425         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7426
7427         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7428         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7429
7430 2003-03-07  Angus Leeming  <leeming@lyx.org>
7431
7432         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7433         remove "ert".
7434
7435 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * ParagraphList.C (front): new function
7438         (back): implement
7439
7440 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7441
7442         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7443         and top_row_offset_. removed var first_y.
7444         * text.C (top_y):
7445         * text2.C (LyXText, removeRow):
7446         * text3.C:
7447         * BufferView_pimpl.C:
7448         use these methods instead of using first_y
7449
7450 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7451
7452         * text2.C (pasteSelection): adjust for checkPastePossible
7453
7454         * CutAndPaste.C: remove Paragraph * buf and replace with
7455         ParagraphList paragraphs.
7456         (DeleteBuffer): delete
7457         (cutSelection): change the tc type to textclass_type
7458         (copySelection): change the tc type to textclass_type
7459         (copySelection): adjust for ParagraphList
7460         (pasteSelection): change the tc type to textclass_type
7461         (pasteSelection): adjust for Paragraphlist
7462         (nrOfParagraphs): simplify for ParagraphList
7463         (checkPastePossible): simplify for ParagraphList
7464         (checkPastePossible): remove unused arg
7465
7466         * ParagraphList.C (insert): handle the case where there are no
7467         paragraphs yet.
7468
7469         * CutAndPaste.h: make CutAndPaste a namespace.
7470
7471         * text3.C (dispatch): adjust
7472
7473         * text.C (breakParagraph): add a ParagraphList as arg
7474
7475         * paragraph_funcs.C (breakParagraph): change to take a
7476         BufferParams and a ParagraphList as args.
7477         (breakParagraphConservative): ditto
7478         (mergeParagraph): ditto
7479         (TeXDeeper): add a ParagraphList arg
7480         (TeXEnvironment): ditto
7481         (TeXOnePar): ditto
7482
7483         * buffer.C (readLyXformat2): adjust
7484         (insertStringAsLines): adjust
7485         (latexParagraphs): adjust
7486
7487         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7488         (cutSelection): adjust
7489         (pasteSelection): adjust
7490
7491         * BufferView_pimpl.C (insertInset): adjust
7492
7493 2003-03-05  Angus Leeming  <leeming@lyx.org>
7494
7495         * commandtags.h:
7496         * LyXAction.C (init):
7497         * BufferView_pimpl.C (dispatch):
7498         * lyxfunc.C (getStatus):
7499         remove LFUN_CHILD_INSERT.
7500
7501         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7502
7503 2003-03-05  Angus Leeming  <leeming@lyx.org>
7504
7505         * commandtags.h:
7506         * LyXAction.C (init):
7507         * src/factory.C (createInset):
7508         * lyxfunc.C (getStatus):
7509         * text3.C (dispatch):
7510         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7511
7512         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7513
7514 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7515
7516         * ParagraphList.C (insert): handle insert right before end()
7517         (erase): fix cases where it can be first or last paragraph.
7518
7519 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7520
7521         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7522         Paragraph::next and Paragraph::previous
7523         (TeXOnePar): ditto
7524
7525         * text.C (breakParagraph): adjust
7526
7527         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7528         BufferParams& as arg.
7529         (breakParagraph): use ParagraphList::insert
7530         (breakParagraphConservative): take a Buffer* instead of a
7531         BufferParams& as arg.
7532         (breakParagraphConservative): use ParagraphList::insert.
7533
7534         * buffer.C (insertStringAsLines): un-const it
7535         (insertStringAsLines): adjust
7536
7537         * ParagraphList.C (insert): new function
7538
7539         * CutAndPaste.C (pasteSelection): adjust
7540
7541         * text.C (backspace): adjust
7542
7543         * tabular.C (SetMultiColumn): adjust
7544
7545         * CutAndPaste.C (cutSelection): adjust
7546         (pasteSelection): adjust
7547
7548         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7549         Buffer const * as arg
7550
7551         * ParagraphList.C (erase): new function
7552         * paragraph_funcs.C (mergeParagraph): use it
7553         (mergeParagraph): make it take a Buffer* instead of a
7554         BufferParams* as arg
7555
7556         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7557         as arg
7558         (breakParagraphConservative): ditto
7559
7560         * paragraph.h: remove the breakParagraph friend
7561
7562         * paragraph.C (eraseIntern): new function
7563         (setChange): new function
7564
7565         * paragraph_funcs.C (mergeParagraph): make it take a
7566         ParagraphList::iterator instead of a Paragraph *, adjust
7567         accordingly.
7568
7569         * paragraph.h: move an #endif so that the change tracking stuff
7570         also works in the NO_NEXT case.
7571
7572 2003-03-04  Angus Leeming  <leeming@lyx.org>
7573
7574         * commandtags.h:
7575         * LyXAction.C: new LFUN_INSET_MODIFY.
7576
7577         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7578         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7579
7580 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * several files: ws changes only
7583
7584         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7585         (TeXEnvironment): ditto
7586         (TeXDeeper): ditto
7587
7588         * buffer.C (makeLaTeXFile): adjust
7589         (latexParagraphs): make it take ParagraphList::iterator as args
7590
7591 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7592
7593         * buffer.C (latexParagraphs): adjust
7594
7595         * paragraph.C (TeXOnePar): move function...
7596         (optArgInset): move function...
7597         (TeXEnvironment): move function...
7598         * paragraph_pimpl.C (TeXDeeper): move function...
7599         * paragraph_funcs.C: ...here
7600
7601         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7602
7603 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * buffer.C (readInset): remove compability code for old Figure and
7606         InsetInfo insets
7607
7608 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7609
7610         * buffer.C: ws changes
7611         (readInset):
7612
7613         * BufferView_pimpl.C: ditto
7614         * author.C: ditto
7615         * buffer.h: ditto
7616         * bufferlist.h: ditto
7617         * changes.h: ditto
7618         * lyxfunc.C: ditto
7619
7620 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7621
7622         * converter.[Ch]: split into itself +
7623         * graph.[Ch]
7624         * format.[Ch]
7625         * Makefile.am: += graph.[Ch] + format.[Ch]
7626         * MenuBackend.C
7627         * buffer.C
7628         * exporter.C
7629         * importer.C
7630         * lyx_main.C
7631         * lyxfunc.C
7632         * lyxrc.C: added #include "format.h"
7633
7634 2003-02-27  Angus Leeming  <leeming@lyx.org>
7635
7636         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7637           a label.
7638
7639         * factory.C (createInset): add "label" to the factory.
7640
7641         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7642           string and do no more.
7643
7644 2003-02-27  Angus Leeming  <leeming@lyx.org>
7645
7646         * commandtags.h:
7647         * LyXAction.C (init):
7648         * factory.C (createInset):
7649         * BufferView_pimpl.C (dispatch):
7650           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7651
7652         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7653
7654         * lyxfunc.C (dispatch):
7655         * text3.C (dispatch): pass name to params2string.
7656
7657 2003-02-26  Angus Leeming  <leeming@lyx.org>
7658
7659         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7660           blocks together.
7661           Rearrange the ~includes. Strip out the unnecessary ones.
7662
7663         * factory.C (createInset): reformat.
7664           create new insets for the various LFUN_XYZ_APPLY lfuns.
7665
7666 2003-02-26  John Levon  <levon@movementarian.org>
7667
7668         * lyxrow.h:
7669         * lyxrow.C: add isParStart,isParEnd helpers
7670
7671         * paragraph.h: make isInserted/DeletedText take refs
7672
7673         * paragraph_funcs.h:
7674         * paragraph_funcs.C: remove #if 0'd code
7675
7676         * lyxtext.h:
7677         * text3.C:
7678         * text2.C:
7679         * text.C: use lyxrow helpers above.
7680           Move draw and paint routines to RowPainter.
7681           Make several methods use refs not pointers.
7682           Make backgroundColor() const.
7683           Add markChangeInDraw(), isInInset().
7684           Merge changeRegionCase into changeCase.
7685           Make workWidth() shouldn't-happen code into an Assert.
7686
7687         * rowpainter.h:
7688         * rowpainter.C: new class for painting a row.
7689
7690         * vspace.h:
7691         * vspace.C: make inPixels take a ref
7692
7693 2003-02-26  Angus Leeming  <leeming@lyx.org>
7694
7695         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7696         LFUN_REF_APPLY.
7697
7698 2003-02-25  John Levon  <levon@movementarian.org>
7699
7700         * ispell.C: give the forked command a more accurate name
7701
7702 2003-02-22  John Levon  <levon@movementarian.org>
7703
7704         * toc.h:
7705         * toc.C: make TocItem store an id not a Paragraph *
7706           (bug #913)
7707
7708 2003-02-21  Angus Leeming  <leeming@lyx.org>
7709
7710         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7711           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7712           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7713           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7714           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7715           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7716
7717         * BufferView_pimpl.C (dispatch):
7718         * LyXAction.C (init):
7719         * factory.C (createInset):
7720         * lyxfunc.C (getStatus, dispatch):
7721         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7722
7723 2003-02-21  Angus Leeming  <leeming@lyx.org>
7724
7725         * BufferView_pimpl.C (MenuInsertLyXFile):
7726         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7727         * lyxfunc.C (menuNew, open, doImport):
7728           no longer pass a LyXView & to fileDlg.
7729
7730 2003-02-21  Angus Leeming  <leeming@lyx.org>
7731
7732         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7733         * LyXAction.C: change, BIBKEY to BIBITEM.
7734         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7735         Change InsetBibKey to InsetBibitem.
7736         Change BIBKEY_CODE to BIBITEM_CODE.
7737         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7738         * factory.C: replace insetbib.h with insetbibitem.h.
7739         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7740         * paragraph.C: replace insetbib.h with insetbibitem.h.
7741         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7742         Change bibkey() to bibitem().
7743         * text.C: remove insetbib.h.
7744         * text2.C: replace insetbib.h with insetbibitem.h.
7745         change bibkey() to bibitem().
7746         * text3.C: remove insetbib.h.
7747         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7748
7749 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7750
7751         * lyxrc.C (output): enclose user email in quotes (in case there are
7752         several words)
7753
7754 2003-02-18  John Levon  <levon@movementarian.org>
7755
7756         * buffer.h: add std::
7757
7758 2003-02-17  John Levon  <levon@movementarian.org>
7759
7760         * SpellBase.h:
7761         * ispell.h:
7762         * ispell.C:
7763         * pspell.h:
7764         * pspell.C: reworking. Especially in ispell, a large
7765           number of clean ups and bug fixes.
7766
7767         * lyxfunc.C: fix revert to behave sensibly
7768
7769 2003-02-17 André Pönitz <poenitz@gmx.net>
7770
7771         * LyXAction.C:
7772         * commandtags.h: new LFUN_INSERT_BIBKEY
7773
7774         * layout.h:
7775         * lyxlayout.C:
7776         * buffer.C:
7777         * factory.C:
7778         * text.C:
7779         * text2.C:
7780         * text3.C:
7781         * paragraph.[Ch]:
7782         * paragraph_func.C: remove special bibkey handling
7783
7784 2003-02-17  John Levon  <levon@movementarian.org>
7785
7786         * text.C (Delete): fix case where delete at the end of
7787           the very first paragraph would not merge the pars
7788
7789 2003-02-17  John Levon  <levon@movementarian.org>
7790
7791         * lyxrow.C: fix lastPrintablePos()
7792
7793 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7794
7795         * bufferparams.C (writeLaTeX): add a std:here
7796
7797         * buffer.C: and remove a using directive there
7798
7799 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7800
7801         * buffer.C (makeLaTeXFile): move the code that generates the
7802           preamble...
7803
7804         * bufferparams.C (writeLaTeX): ... in this new method
7805
7806         * LaTeXFeatures.C (getEncodingSet): make const
7807           (getLanguages): make const
7808
7809         * MenuBackend.C (binding): returns the binding associated to this
7810           action
7811           (add): sets the status of each item by calling getStatus. Adds
7812           some intelligence.
7813           (read): add support for OptSubMenu
7814           (expand): remove extra separator at the end of expanded menu
7815
7816 2003-02-15  John Levon  <levon@movementarian.org>
7817
7818         * BufferView.C:
7819         * BufferView_pimpl.C:
7820         * bufferlist.h:
7821         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7822           inset code that had no actual effect. Remove unneeded status
7823           code.
7824
7825 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7826
7827         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7828           in preamble
7829
7830 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7831
7832         * text.C (drawLengthMarker): also draw an arrow marker for
7833           symbolic lengths (medskip...)
7834
7835 2003-02-14  John Levon  <levon@movementarian.org>
7836
7837         * tabular.h:
7838         * tabular.C: better method names
7839
7840 2003-02-14  John Levon  <levon@movementarian.org>
7841
7842         * BufferView_pimpl.C:
7843         * bufferlist.C:
7844         * buffer.C:
7845         * converter.C:
7846         * lyx_cb.C:
7847         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7848           it's a more accurate name. Remove some pointless uses.
7849
7850 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7851
7852         * text2.C (LyXText): change order of initilizers to shut off
7853           warnings
7854
7855 2003-02-14  John Levon  <levon@movementarian.org>
7856
7857         * buffer.C: use ParIterator for getParFromID()
7858
7859         * paragraph.h:
7860         * paragraph.C:
7861         * paragraph_pimpl.h:
7862         * paragraph_pimpl.C: remove unused getParFromID()
7863
7864 2003-02-14  John Levon  <levon@movementarian.org>
7865
7866         * buffer.C: remove some very old #if 0'd parse code
7867
7868 2003-02-13  John Levon  <levon@movementarian.org>
7869
7870         * text.h:
7871         * text.C:
7872         * text2.C: move hfillExpansion(), numberOfSeparators(),
7873           rowLast(), rowLastPrintable(), numberofHfills(),
7874           numberOfLabelHfills() ...
7875
7876         * lyxrow.h:
7877         * lyxrow.C: ... to member functions here.
7878
7879         * paragraph.h:
7880         * paragraph.C:
7881         * lyxtext.h:
7882         * text.C: remove LyXText::beginningOfMainBody(), and call
7883           p->beginningOfMainBody() directly. Move the check for
7884           LABEL_MANUAL into the latter.
7885
7886         * text.h:
7887         * text.C:
7888         * text2.C:
7889         * vspace.C:
7890         * BufferView.h:
7891         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7892
7893         * text.h:
7894         * text.C:
7895         * text2.C:
7896         * text3.C:
7897         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7898           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7899
7900 2003-02-13  John Levon  <levon@movementarian.org>
7901
7902         * CutAndPaste.C: remove debug
7903
7904 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7905
7906         * paragraph.C (asString): remove two unused variables
7907
7908         * lyxtextclass.C (readTitleType):
7909           (Read):
7910           (LyXTextClass): handle new members titletype_ and titlename_
7911
7912         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7913
7914 2003-02-09  John Levon  <levon@movementarian.org>
7915
7916         * buffer.h:
7917         * buffer.C: replace hand-coded list with a map for the dep clean
7918
7919 2003-02-08  John Levon  <levon@movementarian.org>
7920
7921         * LaTeX.C: consolidate code into showRunMessage() helper
7922
7923 2003-02-08  John Levon  <levon@movementarian.org>
7924
7925         * lyxfind.C:
7926         * lyxtext.h:
7927         * text2.C:
7928         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7929           and pass the size in explicitly
7930
7931         * BufferView_pimpl.h:
7932         * BufferView_pimpl.C:
7933         * BufferView.h:
7934         * BufferView.C: add getCurrentChange()
7935
7936         * BufferView_pimpl.h:
7937         * BufferView_pimpl.C: handle change lfuns
7938
7939         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7940           for changes. Mark pasted paragraphs as new.
7941
7942         * support/lyxtime.h:
7943         * support/lyxtime.C:
7944         * DepTable.C: abstract time_t as lyx::time_type
7945
7946         * LColor.h:
7947         * LColor.C: add colours for new text, deleted text, changebars
7948
7949         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7950           package use "usenames" option.
7951
7952         * commandtags.h:
7953         * lyxfunc.C:
7954         * LyXAction.C: add change lfuns
7955
7956         * Makefile.am:
7957         * author.h:
7958         * author.C: author handling
7959
7960         * buffer.h:
7961         * buffer.C: add a per-buffer author list, with first entry as
7962           current author. Handle new .lyx tokens for change tracking. Output
7963           author list to .lyx file. Output dvipost stuff to .tex preamble.
7964           Bump lyx format to 222.
7965
7966         * bufferlist.h:
7967         * bufferlist.C: add setCurrentAuthor() to reset current author details
7968           in all buffers.
7969
7970         * bufferparams.h:
7971         * bufferparams.C: add param for tracking
7972
7973         * bufferview_funcs.C: output change info in minibuffer
7974
7975         * Makefile.am:
7976         * changes.h:
7977         * changes.C: add change-tracking structure
7978
7979         * debug.h:
7980         * debug.C: add CHANGES debug flag
7981
7982         * lyxfind.h:
7983         * lyxfind.C: add code for finding the next change piece
7984
7985         * lyxrc.h:
7986         * lyxrc.C: add user_name and user_email
7987
7988         * lyxrow.h:
7989         * lyxrow.C: add a metric for the top of the text line
7990
7991         * lyxtext.h:
7992         * text.C: implement accept/rejectChange()
7993
7994         * lyxtext.h:
7995         * text.C: paint changebars. Paint new/deleted text in the chosen
7996         colours. Strike through deleted text.
7997
7998         * paragraph.h:
7999         * paragraph.C:
8000         * paragraph_pimpl.h:
8001         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8002           in the current change to the insert functions. Rework erase to
8003           mark text as deleted, adding an eraseIntern() and a range-based
8004           erase(). Implement per-paragraph change lookup and
8005           accept/reject.
8006
8007         * paragraph_funcs.C: Fixup paste for change tracking.
8008
8009         * tabular.C: mark added row/columns as new.
8010
8011         * text.C: fix rowLast() to never return -1. Don't allow
8012           spellchecking of deleted text. Track transpose changes. Don't
8013           allow paragraph break or merge where appropriate.
8014
8015         * text2.C: leave cursor at end of selection after a cut.
8016
8017 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8018
8019         * text.C (getLengthMarkerHeight):
8020         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8021         visible on screen too.
8022
8023 2003-02-07  John Levon  <levon@movementarian.org>
8024
8025         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8026
8027 2003-02-05  Angus Leeming  <leeming@lyx.org>
8028
8029         * lyxserver.C (read_ready): revert my patch of 11 September last year
8030         as it sends PC cpu through the roof. Presumably this means that
8031         the lyxserver will no longer run on an Alpha...
8032
8033 2003-01-30  Angus Leeming  <leeming@lyx.org>
8034
8035         * factory.C (createInset): create an InsetCommandParam of type "index"
8036         and use it to 'do the right thing'.
8037
8038         * text2.C (getStringToIndex): ensure that cursor position is always
8039         reset to the reset_cursor position.
8040
8041 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8042
8043         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8044         disabled.
8045
8046 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8047
8048         * bufferview.C:
8049         * lyxcb.C:
8050         * lyxfunc.C: Output messages with identical spelling, punctuation,
8051         and spaces
8052
8053 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8054
8055         * MenuBackend.C (expandFormats): List only viewable export formats
8056         in "View" menu
8057
8058         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8059         message
8060
8061         * lyxfunc.C (getStatus): Make sure that formats other than
8062         "fax" can also be disabled
8063
8064 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8065
8066         * text3.C (dispatch): put the lfuns that insert insets in 3
8067         groups, and call doInsertInset with appropriate arguments.
8068         (doInsertInset): new function, that creates an inset and inserts
8069         it according to some boolean parameters.
8070
8071 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8072
8073         * buffer.C (readFile): remember to pass on 'par' when calling
8074         readFile recursively.
8075
8076 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8077
8078         * MenuBackend.C (expandFormats): add "..." to import formats.
8079
8080 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8081
8082         * paragraph.C (asString): Remove XForms RTL hacks.
8083
8084 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8085         * buffer.C: fix typo
8086
8087 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8088
8089         * Makefile.am (LIBS): delete var
8090         (lyx_LDADD): add @LIBS@ here instead.
8091
8092 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8093
8094         * Clarify the meaning of "wheel mouse jump"
8095
8096 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8097
8098         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8099         tabular in a float
8100
8101 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8102
8103         * importer.C (Loaders): do not preallocate 3 elements in the
8104         vector, since one ends up with 6 elements otherwise
8105
8106 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8107
8108         * DepTable.C (write): write the file name as last element of the
8109         .dep file (because it may contain spaces)
8110         (read): read info in the right order
8111
8112 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8113
8114         * paragraph_pimpl.C (simpleTeXBlanks):
8115         (simpleTeXSpecialChars):
8116         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8117
8118         * tabular.C (latex): add some missing case statements. Reindent.
8119
8120         * MenuBackend.C (expandToc): remove unused variable.
8121
8122 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8123
8124         * LColor.C:
8125         * LaTeX.C:
8126         * LyXAction.C:
8127         * MenuBackend.C:
8128         * buffer.C:
8129         * exporter.C:
8130         * lyxfunc.C:
8131         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8132         and the like.
8133
8134 2003-01-05  John Levon  <levon@movementarian.org>
8135
8136         * BufferView.h:
8137         * BufferView.C: add getEncoding()
8138
8139         * kbsequence.h:
8140         * kbsequence.C: do not store last keypress
8141
8142         * lyxfunc.h:
8143         * lyxfunc.C: store last keypress here instead. Pass encoding
8144           to getISOEncoded()
8145
8146 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8147
8148         * lyx_main.C (init): remove annoying error message when following
8149         symbolic links (bug #780)
8150
8151 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8152
8153         * text.C (insertChar):
8154         * lyxrc.C (getDescription): remove extra spaces
8155
8156 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8157
8158         * lyxrc.C (getDescription): remove extra spaces
8159
8160 2002-12-20  John Levon  <levon@movementarian.org>
8161
8162         * text3.C: hack fix for page up/down across tall rows
8163
8164 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8165
8166         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8167         not been invoked
8168
8169 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8170
8171         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8172         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8173         thesaurus is not compiled in
8174
8175 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8176
8177         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8178
8179 2002-12-16  Angus Leeming  <leeming@lyx.org>
8180
8181         * lyxrc.[Ch]:
8182         * lyx_main.C (init): remove override_x_deadkeys stuff.
8183
8184 2002-12-12  John Levon  <levon@movementarian.org>
8185
8186         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8187           insert. Only remove shift modifier under strict
8188           circumstances.
8189
8190 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * MenuBackend.C (expandToc): fix crash.
8193
8194 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * MenuBackend.C (expandToc): gettext on float names.
8197
8198 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8199
8200         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8201         implement bool empty() [bug 490]
8202
8203 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8206
8207 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * several files: ws changes
8210
8211 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * text2.C (setCounter): clean up a bit, use boost.format.
8214         (updateCounters): initialize par upon declaration.
8215
8216         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8217         if the layout exists. We do not just store the layout any more.
8218         (SwitchLayoutsBetweenClasses): use boost.format
8219
8220 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8221
8222         * converter.C (convert): if from and to files are the same, use a
8223         temporary files as intermediary
8224
8225 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8226
8227         * commandtags.h:
8228         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8229
8230 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8231
8232         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8233
8234 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * tabular.C (asciiPrintCell): use string(size, char) instead of
8237         explicit loop.
8238
8239         * sgml.C (openTag): fix order of arguments to string constructor
8240         (closeTag): ditto
8241
8242         * lyxfunc.C (dispatch): use boost.format
8243
8244         * lots of files: change "c" -> 'c'
8245
8246 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8247
8248         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8249
8250 2002-11-25  Angus Leeming  <leeming@lyx.org>
8251
8252         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8253
8254         * lyx_main.C (init): compile fix.
8255
8256 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * lyx_cb.C (start): boost.formatify
8259         do not include <iostream>
8260
8261         * lengthcommon.C: ws only
8262
8263         * boost-inst.C,BoostFormat.h: add more explict instantations
8264
8265 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * lots of files: handle USE_BOOST_FORMAT
8268
8269 2002-11-21  John Levon  <levon@movementarian.org>
8270
8271         * pspell.C: fix compile
8272
8273 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8274
8275         * lyxfunc.C (dispatch): use boost::format
8276         (open): ditto
8277         (doImport): ditto
8278
8279         * lyxfont.C (stateText): use boost::format
8280
8281         * lyx_main.C (LyX): use boost::format
8282         (init): ditto
8283         (queryUserLyXDir): ditto
8284         (readRcFile): ditto
8285         (parse_dbg): ditto
8286         (typedef boost::function): use the recommened syntax.
8287
8288         * importer.C (Import): use boost::format
8289
8290         * debug.C (showLevel): use boost::format
8291
8292         * converter.C (view): use boost::format
8293         (convert): ditto
8294         (move): ditto
8295         (scanLog): ditto
8296
8297         * bufferview_funcs.C (currentState): use boost::format
8298
8299         * bufferlist.C (emergencyWrite): use boost::format
8300
8301         * buffer.C (readLyXformat2): use boost::format
8302         (parseSingleLyXformat2Token): ditto
8303
8304         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8305
8306         * LaTeX.C (run): use boost::format
8307
8308         * Chktex.C (scanLogFile): use boost::format
8309
8310         * BufferView_pimpl.C (savePosition): use boost::format
8311         (restorePosition): ditto
8312         (MenuInsertLyXFile): ditto
8313
8314         * BoostFormat.h: help file for explicit instation.
8315
8316 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8317
8318         * tabular.C (latex): Support for block alignment in fixed width
8319         columns.
8320
8321 2002-11-17  John Levon  <levon@movementarian.org>
8322
8323         * BufferView_pimpl.C:
8324         * lyx_cb.C:
8325         * lyxfunc.C: split filedialog into open/save
8326
8327 2002-11-08  Juergen Vigna  <jug@sad.it>
8328
8329         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8330         by my last patch (hopefully).
8331
8332 2002-11-08  John Levon  <levon@movementarian.org>
8333
8334         * iterators.h:
8335         * iterators.C:
8336         * buffer.h:
8337         * buffer.C:
8338         * paragraph.h:
8339         * paragraph.C:
8340         * toc.h:
8341         * toc.C: ParConstIterator, and use it (from Lars)
8342
8343 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8344
8345         * lyxtextclass.[Ch]: revise and add doxygen comments
8346
8347 2002-11-07  John Levon  <levon@movementarian.org>
8348
8349         * text.C: fix progress value for spellchecker
8350
8351         * toc.C: fix navigate menu for insetwrap inside minipage
8352
8353         * paragraph_funcs.C: added FIXME for suspect code
8354
8355 2002-11-07  John Levon  <levon@movementarian.org>
8356
8357         * BufferView_pimpl.C: fix redrawing of insets
8358           on buffer switch
8359
8360 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8361
8362         * text2.C (updateCounters): fix bug 668
8363
8364 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8365
8366         * text3.C (dispatch): Do not make the buffer dirty when moving the
8367         cursor.
8368
8369 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * vc-backend.C: STRCONV
8372         (scanMaster): ditto
8373
8374         * text2.C (setCounter): STRCONV
8375
8376         * paragraph.C (asString): STRCONV
8377
8378         * lyxlength.C (asString): STRCONV
8379         (asLatexString): ditto
8380
8381         * lyxgluelength.C (asString): STRCONV
8382         (asLatexString): ditto
8383
8384         * lyxfunc.C (dispatch): STRCONV
8385         (open): ditto
8386
8387         * lyxfont.C (stateText): STRCONV
8388
8389         * importer.C (Import): STRCONV
8390
8391         * counters.C (labelItem): STRCONV
8392         (numberLabel): ditto
8393         (numberLabel): remove unused ostringstream o
8394
8395         * chset.C: STRCONV
8396         (loadFile): ditto
8397
8398         * bufferview_funcs.C (currentState): STRCONV
8399
8400         * buffer.C (readFile): STRCONV
8401         (asciiParagraph): ditto
8402         (makeLaTeXFile): ditto
8403
8404         * Spacing.C (writeEnvirBegin): STRCONV
8405
8406         * LaTeXFeatures.C (getLanguages): STRCONV
8407         (getPackages): ditto
8408         (getMacros): ditto
8409         (getBabelOptions): ditto
8410         (getTClassPreamble): ditto
8411         (getLyXSGMLEntities): ditto
8412         (getIncludedFiles): ditto
8413
8414         * LaTeX.C: STRCONV
8415         (run): ditto
8416         (scanAuxFile): ditto
8417         (deplog): ditto
8418
8419         * LString.h: add the STRCONV macros
8420
8421         * BufferView_pimpl.C (savePosition): STRCONV
8422         (restorePosition): ditto
8423         (MenuInsertLyXFile): ditto
8424
8425         * vc-backend.C (scanMaster): change from submatch[...] to
8426         submatch.str(...)
8427
8428         * funcrequest.C: include config.h
8429
8430         * factory.C: include config.h
8431
8432         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8433
8434         * box.C: include config.h
8435
8436         * LaTeX.C (scanAuxFile): change from submatch[...] to
8437         submatch.str(...)
8438         (deplog): ditto
8439
8440 2002-10-25  Angus Leeming  <leeming@lyx.org>
8441
8442         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8443
8444         * ispell.[Ch] (setError): new method.
8445         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8446         Use setError() insetead of goto END.
8447
8448         * lyx_cb.C (AutoSave): move out child process into new class
8449         AutoSaveBuffer.
8450
8451 2002-10-30  John Levon  <levon@movementarian.org>
8452
8453         * text3.C: make start appendix undoable
8454
8455 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8456
8457         * lyxlength.C (inPixels): Fix returned value.
8458
8459         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8460         environment.
8461
8462 2002-10-24  Angus Leeming  <leeming@lyx.org>
8463
8464         * lyxgluelength.h: no need to forward declare BufferParams
8465         or BufferView, so don't.
8466
8467 2002-10-21  John Levon  <levon@movementarian.org>
8468
8469         * BufferView.C: menuUndo ->undo, redo
8470
8471         * BufferView.h: document, remove dead, make some methods private
8472
8473         * paragraph_funcs.h:
8474         * paragraph_funcs.C:
8475         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8476
8477         * buffer.h:
8478         * buffer.C:
8479         * sgml.h:
8480         * sgml.C: move sgml open/close tag into sgml.C
8481
8482         * bufferview_funcs.h: unused prototype
8483
8484         * lyxfunc.h:
8485         * lyxfunc.C: remove unused
8486
8487         * lyxtext.h:
8488         * text.C: remove unused
8489
8490 2002-10-21  John Levon  <levon@movementarian.org>
8491
8492         * BufferView.h:
8493         * BufferView.C:
8494         * BufferView_pimpl.h:
8495         * BufferView_pimpl.C: fix mouse wheel handling based on
8496           patch from Darren Freeman
8497
8498 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8499
8500         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8501
8502 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8503
8504         * lyxlength.C (inPixels): Fix hanfling of negative length.
8505         Fix LyXLength::MU case.
8506
8507 2002-10-16  John Levon  <levon@movementarian.org>
8508
8509         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8510
8511 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8512
8513         * converter.C (view): add support for $$i (file name) and $$p
8514         (file path) for the viewer command. If $$i is not specified, then
8515         it is appended to the command (for compatibility with old syntax)
8516
8517 2002-10-14  Juergen Vigna  <jug@sad.it>
8518
8519         * undo_funcs.C (textHandleUndo): alter the order in which the
8520         new undopar is added to the LyXText, as we have to set first
8521         the right prev/next and then add it as otherwise the rebuild of
8522         LyXText is not correct. Also reset the cursor to the right paragraph,
8523         with this IMO we could remove the hack in "redoParagraphs()".
8524
8525 2002-10-09  Angus Leeming  <leeming@lyx.org>
8526
8527         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8528         to turn off an optimisation if a new inset is to be inserted.
8529
8530 2002-10-11 André Pönitz <poenitz@gmx.net>
8531
8532         * lyxtext.h: make some functions public to allow access
8533         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8534
8535 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8536
8537         * text3.C (dispatch): when changing layout, avoid an infinite loop
8538         [bug #652]
8539
8540 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8541
8542         * lyxrc.C (read): treat a viewer or converter command of "none" as
8543         if it were empty.
8544
8545         * MenuBackend.C (expandFormats): for an update, also allow the
8546         formats that are not viewable
8547
8548         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8549         script if it is newer than the lyxrc.defaults in user directory
8550
8551 2002-10-07 André Pönitz <poenitz@gmx.net>
8552
8553         * text.C: Vitaly Lipatov's small i18n fix
8554
8555 2002-09-25  Angus Leeming  <leeming@lyx.org>
8556
8557         * ispell.h: doxygen fix.
8558
8559 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8560
8561         * buffer.h (readFile): Add a new argument to the method, to allow
8562         reading of old-format templates.
8563
8564 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8565
8566         * toc.C (getTocList): Get TOC from InsetWrap.
8567
8568 2002-09-16  John Levon  <levon@movementarian.org>
8569
8570         * lyxfunc.C: check tabular for cut/copy too
8571
8572 2002-09-12  John Levon  <levon@movementarian.org>
8573
8574         * LyXAction.C: tidy
8575
8576         * factory.h:
8577         * factory.C: add header
8578
8579         * paragraph_funcs.h:
8580         * paragraph_funcs.C: cleanup
8581
8582 2002-09-11  John Levon  <levon@movementarian.org>
8583
8584         * PrinterParams.h: odd/even default to true
8585
8586 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8587
8588         * PrinterParams.h: update printer parameters for new xforms dialog
8589
8590 2002-09-11  Angus Leeming  <leeming@lyx.org>
8591
8592         * lyxserver.C (read_ready): re-write to make it more transparent
8593         and to make it work in coherent fashion under Tru64 Unix.
8594
8595 2002-09-11  André Pönitz <poenitz@gmx.net>
8596
8597         * commandtags.h:
8598         * LyXAction.C:
8599         * text3.C: implement LFUN_WORDSEL
8600
8601 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8604         make floatlist_ a boost::shared_ptr<FloatList>
8605
8606         * lyxtextclass.C: include FloatList.h
8607         (LyXTextClass): initialize floatlist_
8608         (TextClassTags): add TC_NOFLOAT
8609         (Read): match "nofloat" to TC_NOFLOAT and use it.
8610         (readFloat): modify call to floatlist_
8611         (floats): ditto
8612         (floats): ditto
8613
8614         * FloatList.[Ch] (FloatList): remove commented out float
8615         initialization.
8616         (erase): new function
8617
8618 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8619
8620         * MenuBackend.C (expandToc): fix crash when there is no document
8621         open
8622
8623 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8624
8625         * many files: Add insetwrap.
8626
8627 2002-09-09  John Levon  <levon@movementarian.org>
8628
8629         * text2.C: remove confusing and awkward depth wraparound
8630
8631 2002-09-09  John Levon  <levon@movementarian.org>
8632
8633         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8634
8635         * buffer.h:
8636         * buffer.C: remove getIncludeonlyList()
8637
8638         * paragraph.C:
8639         * lyxfunc.C: remove headers
8640
8641 2002-09-09  Juergen Vigna  <jug@sad.it>
8642
8643         * text.C (getColumnNearX): fix form Michael this is most
8644         probably a cut&paste bug.
8645
8646 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8647
8648         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8649
8650         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8651         references, ws changes.
8652
8653         * text2.C (init): update counters after init
8654         (insertParagraph): no need to set counter on idividual paragraphs.
8655         (setCounter): access the counters object in the textclass object
8656         on in the buffer object.
8657         (updateCounters): ditto
8658
8659         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8660         shared_ptr<Counters> to avoid loading counters.h in all
8661         compilation units.
8662         (LyXTextClass): initialize ctrs_
8663         (TextClassTags): add TC_COUNTER, and ...
8664         (Read): use it here.
8665         (CounterTags): new tags
8666         (readCounter): new function
8667         (counters): new funtion
8668         (defaultLayoutName): return a const reference
8669
8670         * counters.C (Counters): remove contructor
8671         (newCounter): remove a couple of unneeded statements.
8672         (newCounter): simplify a bit.
8673         (numberLabel): some small formatting changes.
8674
8675         * buffer.[Ch]: remove all traces of counters, move the Counters
8676         object to the LyXTextClass.
8677
8678 2002-09-06  Alain Castera  <castera@in2p3.fr>
8679
8680         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8681         package to set the horizontal alignment on fixed width columns.
8682
8683         * lyx_sty.C:
8684         * lyx_sty.h: added tabularnewline macro def.
8685
8686         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8687
8688 2002-09-06  John Levon  <levon@movementarian.org>
8689
8690         * LyXAction.C: tooltips for sub/superscript
8691
8692         * MenuBackend.C: a bit more verbose
8693
8694         * lyxfunc.C: tiny clean
8695
8696         * undo_funcs.C: document undo_frozen
8697
8698 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8699
8700         * counters.C (Counters): add missing algorithm counter.
8701
8702         * text2.C (setCounter): lookup the counter with layouts latexname
8703         instead of by section number.
8704         (setCounter): use a hackish way to lookup the correct enum
8705         counter.
8706         a float name->type change
8707         reset enum couners with counter name directly instead of depth value.
8708
8709         * counters.C (Counters): remove the push_backs, change to use the
8710         float type not the float name.
8711         (labelItem): remove unused string, float name->type change
8712
8713         * counters.h: don't include vector, loose the enums and sects vectors
8714
8715 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8716
8717         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8718         (Read): add float->TC_FLOAT to textclassTags
8719         (Read): and handle it in the switch
8720         (readFloat): new function
8721
8722         * FloatList.C (FloatList): comment out the hardcoded float
8723         definitions.
8724
8725         * lyxlayout.h: ws change.
8726
8727 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8728
8729         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8730
8731 2002-09-03  Angus Leeming  <leeming@lyx.org>
8732
8733         * BufferView_pimpl.h: qualified name is not allowed in member
8734         declaration: WorkArea & Pimpl::workarea() const;
8735
8736         * factory.C: added using std::endl directive.
8737
8738         * text3.C: added using std::find and std::vector directives.
8739
8740 2002-08-29  André Pönitz <poenitz@gmx.net>
8741
8742         * lyxtext.h:
8743         * text2.C: remove unused member number_of_rows
8744
8745         * Makefile.am:
8746         * BufferView2.C: remove file, move contents to...
8747         * BufferView.C: ... here
8748
8749         * BufferView_pimpl.C:
8750         * factory.C: move more inset creation to factory
8751
8752         * vspace.C: avoid direct usage of LyXText, ws changes
8753
8754         * BufferView.[Ch]:
8755                 don't provide direct access to WorkArea, use two simple
8756                 acessors haveSelction() and workHeight() instead
8757
8758
8759 2002-08-29  John Levon  <levon@movementarian.org>
8760
8761         * BufferView_pimpl.C (dispatch): do not continue when
8762           no buffer
8763
8764 2002-08-28  André Pönitz <poenitz@gmx.net>
8765
8766         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8767
8768         * BufferView.h:
8769         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8770
8771 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8772
8773         * buffer.C: increment LYX_FORMAT to 221
8774
8775         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8776         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8777
8778         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8779
8780         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8781
8782 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8783
8784         * factory.C (createInset): use LyXTextClass::floats
8785
8786         * MenuBackend.C (expandFloatListInsert):
8787         (expandFloatInsert):
8788         (expandToc):
8789
8790         * text2.C (setCounter):
8791
8792         * LaTeXFeatures.C (useFloat):
8793         (getFloatDefinitions):
8794
8795         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8796
8797         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8798         floatlist_, with accessor floats().
8799
8800         * FloatList.h: remove global FloatList
8801
8802 2002-08-26  André Pönitz <poenitz@gmx.net>
8803
8804         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8805
8806         * BufferView.h:
8807         * BufferView2.C:
8808         * BufferView_pimpl.C:
8809         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8810
8811 2002-08-25  John Levon  <levon@movementarian.org>
8812
8813         * LyXAction.C: fix margin note description
8814
8815 2002-08-24  John Levon  <levon@movementarian.org>
8816
8817         * buffer.C:
8818         * bufferlist.C:
8819         * bufferview_funcs.C:
8820         * lyxfont.C:
8821         * undo_funcs.C: cleanups
8822
8823         * lyxfunc.C: disable CUT/COPY when no selection
8824
8825 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8826
8827         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8828         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8829
8830         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8831         Add backward compatibility to "mono", "gray" and "no".
8832
8833 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8834
8835         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8836         (and file_format >= 200).
8837
8838 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8839
8840         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8841
8842 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8845
8846 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8847
8848         * BufferView_pimpl.C:
8849         * LyXAction.C:
8850         * buffer.C:
8851         * commandtags.h:
8852         * lyxfunc.C:
8853         * paragraph.[Ch]:
8854         * text2.C:
8855         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8856         inset and code to make it  work with the paragraph code. The inset
8857         can be anywhere in the paragraph, but will only do the expected
8858         thing in LaTeX if the layout file contains the parameter line
8859                         OptionalArgs    1
8860         (or more generally, a nonzero value) for that layout.
8861
8862 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8863
8864         * paragraph.h: remove the declaration of undefined counters class
8865         function.
8866
8867 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8868
8869         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8870         Dr. Richard Hawkins.
8871
8872 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8873
8874         * paragraph_funcs.h: remove some unneeded includes
8875
8876         * text.C (backspace): pasteParagraph now in global scipe
8877
8878         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8879         (pasteSelection): ditto
8880
8881         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8882         * paragraph_funcs.C (pasteParagraph): ... here
8883
8884 2002-08-20  André Pönitz <poenitz@gmx.net>
8885
8886         * commandtags.h: new LFUNs for swapping/copying table row/colums
8887
8888         * LyXAction.C:
8889         * lyxfunc.C: support for new lfuns
8890
8891 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8892
8893         * tabular.C:
8894         * buffer.[Ch]: remove NO_COMPABILITY stuff
8895
8896 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8897
8898         * boost.C (throw_exception): new file, with helper function for
8899         boost compiled without exceptions.
8900
8901         * paragraph.h:
8902         * lyxlength.C:
8903         * buffer.C:
8904         * ParameterStruct.h:
8905         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8906
8907         * bufferlist.C (emergencyWriteAll): use boost bind
8908
8909         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8910
8911         * text.C: include paragraph_funcs.h
8912         (breakParagraph): breakParagraph is now in global scope
8913
8914         * paragraph_funcs.[Ch]: new files
8915
8916         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8917         global scope
8918
8919         * buffer.C: include paragraph_funcs.h
8920         (insertStringAsLines): breakParagraph is now in global scope
8921
8922         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8923         paragraph_funcs.C
8924
8925         * CutAndPaste.C: include paragraph_funcs.h
8926         (cutSelection): breakParagraphConservative is now in global scope
8927         (pasteSelection): ditto
8928
8929         * buffer.h: declare oprator== and operator!= for
8930         Buffer::inset_iterator
8931
8932         * bufferlist.C (emergencyWrite): don't use fmt(...)
8933
8934         * text3.C: add using std::endl
8935
8936         * BufferView.C (moveCursorUpdate): remove default arg
8937
8938 2002-08-20  André Pönitz <poenitz@gmx.net>
8939
8940         * buffer.[Ch]: move inline functions to .C
8941
8942         * BufferView2.C:
8943         * BufferView_pimpl.C:
8944         * text.C:
8945         * buffer.[Ch]: use improved inset_iterator
8946
8947         * buffer.C:
8948         * paragraph.[Ch]: write one paragraph at a time
8949
8950 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8951
8952         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8953         style if style is not specified.
8954
8955 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8956
8957         * text2.C (setCounter): when searching for right label for a
8958         caption, make sure to recurse to parent insets (so that a caption
8959         in a minipage in a figure float works) (bug #568)
8960
8961 2002-08-20  André Pönitz <poenitz@gmx.net>
8962
8963         * text3.C: new file for LyXText::dispatch() and helpers
8964
8965         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8966
8967         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8968
8969 2002-08-19  André Pönitz <poenitz@gmx.net>
8970
8971         * lyxtext.h:
8972         * text.C: new LyXText::dispatch()
8973
8974         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8975
8976 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8977
8978         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8979
8980         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8981         Hebrew text.
8982
8983 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8984
8985         * Makefile.am: use $(variables) instead of @substitutions@
8986
8987 2002-08-15  André Pönitz <poenitz@gmx.net>
8988
8989         * lyxfunc.C:
8990         * BufferView_pimpl.C: streamlining mathed <-> outer world
8991         interaction
8992
8993         * commandtags.h:
8994         * LyXAction.C: remove unused LFUN_MATH
8995
8996 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8997
8998         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8999
9000 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9001
9002         * paragraph.C (Paragraph): reformat a bit
9003         (cutIntoMinibuffer): use builtin InsetList function instad of
9004         doing it manually.
9005         (getInset): ditto
9006
9007         * buffer.C: include boost/bind.hpp, add using std::for_each
9008         (writeFileAscii): use ParagraphList iterators
9009         (validate): use for_each for validate traversal of paragraphs
9010         (getBibkeyList): use ParagraphList iterators
9011         (resizeInsets): use for_each to resizeInsetsLyXText for all
9012         paragraphs.
9013         (getParFromID): use ParagraphList iterators
9014
9015         * BufferView2.C (lockInset): use paragraph list and iterators
9016
9017 2002-08-14  John Levon  <levon@movementarian.org>
9018
9019         * lyxserver.C: remove spurious xforms include
9020
9021 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9022
9023         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9024
9025 2002-08-13  André Pönitz <poenitz@gmx.net>
9026
9027         * LyXAction.[Ch]:
9028         * lyxfunc.C: further cleaning
9029
9030 2002-08-13  André Pönitz <poenitz@gmx.net>
9031
9032         * funcrequest.h: new constructor
9033
9034         * funcrequest.C: move stuff here from .h
9035
9036         * Makefile.am:
9037         * BufferView_pimpl.C:
9038         * LyXAction.C:
9039         * toc.C:
9040         * lyxfunc.C: subsequent changes
9041
9042         * lyxfunc.h: new view() member function
9043
9044         * lyxfunc.C: subsequent changes
9045
9046 2002-08-13  Angus Leeming  <leeming@lyx.org>
9047
9048         * BufferView2.C:
9049         * BufferView_pimpl.C:
9050         * buffer.C:
9051         * converter.C:
9052         * importer.C:
9053         * lyxfunc.C:
9054         * lyxvc.C:
9055         * toc.C:
9056         * vc-backend.C:
9057         changes due to the changed LyXView interface that now returns references
9058         to member variables not pointers.
9059
9060 2002-08-13  Angus Leeming  <leeming@lyx.org>
9061
9062         * WordLangTuple (word, lang_code): return references to strings,
9063         not strings.
9064
9065         * BufferView.h:
9066         * SpellBase.h:
9067         * lyxtext.h: forward-declare WordLangTuple.
9068
9069         * BufferView2.C:
9070         * ispell.C:
9071         * pspell.C:
9072         * text.C: #include "WordLangTuple.h".
9073
9074         * lyxtext.h:
9075         * text.C: (selectNextWordToSpellcheck): constify return type.
9076
9077 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9078
9079         * buffer.C:
9080         * buffer.h:
9081         * lyxtext.h:
9082         * paragraph.C:
9083         * paragraph_pimpl.h:
9084         * text.C:
9085         * text2.C:
9086         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9087         suggested by Angus.
9088         Made updateCounter always count from start of buffer, and removed
9089         second argument (par).
9090         Reverted floats number display to '#'. Perhaps I'll try again when the
9091         code base is sanitized a bit.
9092
9093 2002-08-12  Angus Leeming  <leeming@lyx.org>
9094
9095         * buffer.[Ch] (getLabelList): constify.
9096
9097 2002-08-07  André Pönitz <poenitz@gmx.net>
9098
9099         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9100
9101         * funcrequest.h: extension to keep mouse (x,y) position
9102
9103 2002-08-12  Juergen Vigna  <jug@sad.it>
9104
9105         * BufferView2.C (insertErrors): forbid undo when inserting error
9106         insets.
9107
9108         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9109
9110 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9111
9112         * ParagraphList.[Ch]: new files
9113
9114         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9115
9116         * BufferView2.C (lockInset): ParagraphList changes
9117         * toc.C: ditto
9118         * text2.C: ditto
9119         * bufferlist.C: ditto
9120         * buffer.h: ditto
9121         * buffer.C: ditto
9122
9123 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9124
9125         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9126         unused class variable counter_,
9127
9128         * paragraph.[Ch] (getFirstCounter): delete unused function
9129
9130         * counters.C: include LAssert.h
9131         (reset): add a new function with no arg, change other version to
9132         not have def. arg and to not allow empty arg.
9133
9134         * text2.C (setCounter): remove empty arg from call to Counters::reset
9135
9136 2002-08-11  John Levon  <levon@movementarian.org>
9137
9138         * Makefile.am: add WordLangTuple.h
9139
9140 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9141
9142         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9143         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9144
9145         * insets/insettext.C: InsetList changes
9146
9147         * graphics/GraphicsSupport.C (operator()): InsetList changes
9148
9149         * toc.C (getTocList): InsetList changes
9150
9151         * paragraph_pimpl.[Ch]: InsetList changes
9152
9153         * paragraph.[Ch]: InsetList changes
9154
9155         * buffer.C (inset_iterator): InsetList changes
9156         (setParagraph): ditto
9157         * buffer.h (inset_iterator): ditto
9158         * iterators.C (operator++): ditto
9159         * iterators.h: ditto
9160
9161         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9162
9163         * InsetList.[Ch]: new files, most InsetList handling moved out of
9164         paragraph.C.
9165
9166         * BufferView2.C (removeAutoInsets): InsetList changes
9167         (lockInset): ditto
9168         (ChangeInsets): ditto
9169
9170 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9171
9172         * paragraph_pimpl.h (empty): new function
9173
9174         * paragraph.[Ch] (empty): new function
9175
9176         * other files: use the new Paragraph::empty function
9177
9178 2002-08-09  John Levon  <levon@movementarian.org>
9179
9180         * lyxtext.h: remove unused refresh_height
9181
9182 2002-08-09  John Levon  <levon@movementarian.org>
9183
9184         * Makefile.am:
9185         * sgml.h:
9186         * sgml.C:
9187         * buffer.C:
9188         * paragraph.h:
9189         * paragraph.C: move sgml char escaping out of paragraph
9190
9191         * paragraph.h:
9192         * paragraph.C: remove id setter
9193
9194         * buffer.C:
9195         * paragraph.C:
9196         * paragraph_pimpl.C: remove dead tex_code_break_column
9197
9198         * bufferview_funcs.C: small cleanup
9199
9200         * lyxfunc.C: remove dead proto
9201
9202         * lyxtext.h: make some stuff private. Remove some dead stuff.
9203
9204         * lyxgluelength.C: make as[LyX]String() readable
9205
9206 2002-08-08  John Levon  <levon@movementarian.org>
9207
9208         * LyXAction.h:
9209         * LyXAction.C:
9210         * MenuBackend.C:
9211         * ToolbarDefaults.C:
9212         * lyxfunc.C:
9213         * lyxrc.C:
9214         * toc.C: lyxaction cleanup
9215
9216 2002-08-08  John Levon  <levon@movementarian.org>
9217
9218         * BufferView2.C: small cleanup
9219
9220         * lyxfind.h:
9221         * lyxfind.C: move unnecessary header into the .C
9222
9223 2002-08-08  John Levon  <levon@movementarian.org>
9224
9225         * funcrequest.h: just tedious nonsense
9226
9227         * lyx_main.h:
9228         * lyx_main.C: cleanups
9229
9230         * buffer.C:
9231         * vspace.C: remove dead header lyx_main.h
9232
9233 2002-08-07  Angus Leeming  <leeming@lyx.org>
9234
9235         * Paragraph.[Ch]:
9236         * paragraph_pimpl.h:
9237         Forward declare class Counters in paragraph.h by moving the ctrs member
9238         variable into Paragraph::Pimpl.
9239         (counters): new method, returning a reference to pimpl_->ctrs.
9240
9241         * text2.C: ensuing changes.
9242
9243 2002-08-07  John Levon  <levon@movementarian.org>
9244
9245         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9246
9247         * BufferView_pimpl.C: announce X selection on double/triple
9248           click
9249
9250         * lyx_main.C: use correct bool in batch dispatch
9251
9252         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9253
9254 2002-08-07  André Pönitz <poenitz@gmx.net>
9255
9256         * funcrequest.h: new class to wrap a kb_action and its argument
9257
9258         * BufferView.[Ch]:
9259         * BufferView_pimpl[Ch]:
9260         * LaTeX.C:
9261         * LyXAction.[Ch]:
9262         * lyxfunc.[Ch]:
9263         * lyxrc.C: subsequent changes
9264
9265
9266 2002-08-07  John Levon  <levon@movementarian.org>
9267
9268         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9269           document options change.
9270
9271 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9272
9273         * counters.[Ch]
9274         * text2.C
9275         * paragraph.[Ch]
9276         * makefile.am: move counters functionality over from
9277         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9278
9279 2002-08-06  John Levon  <levon@movementarian.org>
9280
9281         * WordLangTuple.h: new file for word + language code tuple
9282
9283         * SpellBase.h:
9284         * pspell.h:
9285         * pspell.C:
9286         * ispell.h:
9287         * ispell.C:
9288         * lyxtext.h:
9289         * text.C:
9290         * text2.C:
9291         * BufferView.h:
9292         * BufferView2.C: use WordLangTuple
9293
9294         * layout.h:
9295         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9296
9297 2002-08-06  John Levon  <levon@movementarian.org>
9298
9299         * lyx_main.C: fix cmdline batch handling
9300
9301 2002-08-06  André Pönitz <poenitz@gmx.net>
9302
9303         * lyxrc.C: set default for show_banner to true
9304
9305 2002-08-06  John Levon  <levon@movementarian.org>
9306
9307         * pspell.C: fix a crash, and allow new aspell to work
9308
9309 2002-08-06  John Levon  <levon@movementarian.org>
9310
9311         * lyxfunc.C:
9312         * kbmap.C: small cleanup
9313
9314         * vspace.h:
9315         * vspace.C: add const
9316
9317 2002-08-05  John Levon  <levon@movementarian.org>
9318
9319         * LyXAction.C: back to tabular-insert
9320
9321 2002-08-04  John Levon  <levon@movementarian.org>
9322
9323         * BufferView.h:
9324         * BufferView.C: cosmetic change
9325
9326         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9327
9328         * bufferlist.C:
9329         * buffer.h:
9330         * buffer.C:
9331         * lyxcb.h:
9332         * lyxcb.C:
9333         * lyxserver.C:
9334         * lyxvc.C:
9335         * vc-backend.C:
9336         * BufferView2.C: purge all "Lyx" not "LyX" strings
9337
9338         * lyxcursor.h:
9339         * lyxcursor.C: attempt to add some documentation
9340
9341         * lyxfunc.C:
9342         * commandtags.h:
9343         * LyXAction.C:
9344         * ToolbarDefaults.C:
9345         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9346           merge with LFUN_TABULAR_INSERT
9347
9348         * Makefile.am:
9349         * SpellBase.h:
9350         * ispell.h:
9351         * ispell.C:
9352         * pspell.h:
9353         * pspell.C: split up i/pspell implementations into separate
9354           files, many cleanups
9355
9356         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9357
9358         * text2.C: some cleanup
9359
9360         * lyxfunc.C: don't check for isp_command == "none" any more, it
9361           didn't make any sense
9362
9363 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9364
9365         * counters.[Ch]
9366         * text2.C
9367         * paragraph.[Ch]
9368         * makefile.am: move counters functionality over
9369         from text2.C/paragraph.[Ch] to counters.[Ch], and
9370         make proper C++.
9371 2002-08-02  John Levon  <levon@movementarian.org>
9372
9373         * buffer.C: s/lyxconvert/lyx2lyx/
9374
9375 2002-08-02  Angus Leeming  <leeming@lyx.org>
9376
9377         * lyxlex.C: revert John's change as it breaks reading of the user
9378         preamble.
9379
9380 2002-08-02  Angus Leeming  <leeming@lyx.org>
9381
9382         * importer.C (Import):
9383         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9384         changes due to LyXView::view() now returning a boost::shared_ptr.
9385
9386 2002-08-02  John Levon  <levon@movementarian.org>
9387
9388         * lyxlex.C: small cleanup
9389
9390 2002-08-02  John Levon  <levon@movementarian.org>
9391
9392         * text2.C (status): small cleanup, no logic change
9393
9394 2002-08-01  John Levon  <levon@movementarian.org>
9395
9396         * buffer.h:
9397         * buffer.C (writeFile): don't output alerts, caller
9398           handles this
9399
9400         * bufferlist.C:
9401         * lyx_cb.C: from above
9402
9403         * lyxfunc.C: allow to open non-existent files
9404
9405 2002-07-31  John Levon  <levon@movementarian.org>
9406
9407         * lyxserver.C: don't let incidental errors get
9408           in the way (errno)
9409
9410 2002-07-30  John Levon  <levon@movementarian.org>
9411
9412         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9413
9414 2002-07-30  John Levon  <levon@movementarian.org>
9415
9416         * lyxserver.h:
9417         * lyxserver.C: remove I/O callback too
9418
9419 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9420
9421         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9422         log.
9423
9424 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9425
9426         * many files: strip,frontStrip -> trim,ltrim,rtrim
9427
9428 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9429
9430         * PrinterParams.h: remove extern containsOnly, and include
9431         support/lstrings.h instead.
9432
9433         * LaTeX.C (scanAuxFile): modify because of strip changes
9434         (deplog): ditto
9435         * buffer.C (makeLaTeXFile): ditto
9436         * bufferparams.C (writeFile): ditt
9437         * lyxfont.C (stateText): ditto
9438         * lyxserver.C (read_ready): ditto
9439         * vc-backend.C (scanMaster): ditto
9440
9441         * BufferView_pimpl.h: ws changes
9442
9443         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9444
9445 2002-07-26  André Pönitz <poenitz@gmx.net>
9446
9447         * kb_sequence.C: remove unnedred usings
9448
9449 2002-07-26  Juergen Vigna  <jug@sad.it>
9450
9451         * lyxfind.C (LyXReplace): we have to check better if the returned
9452         text is not of theLockingInset()->getLockingInset().
9453
9454 2002-07-25  Juergen Vigna  <jug@sad.it>
9455
9456         * lyxfind.C (LyXReplace): don't replace if we don't get the
9457         right LyXText.
9458
9459         * undo_funcs.C (createUndo): remove debugging code.
9460
9461 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9462
9463         * buffer.C (parseSingleLyXformat2Token): Use default placement
9464         when reading old floats.
9465
9466         * FloatList.C (FloatList): Change the default placement of figure
9467         and tables to "tbp".
9468
9469 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9470
9471         * MenuBackend.C: using std::max
9472
9473 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9474
9475         * MenuBackend.C (expandToc):
9476         (expandToc2): code moved from xforms menu frontend. It is now
9477         generic and TOCs are transparent to menu frontends.
9478
9479 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * toc.C (getTocList): protect against buf=0
9482
9483         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9484         Menu as first parameter. Now, this calls itself recursively to
9485         expand a whole tree (this will be useful for TOC handling)
9486         (expandFloatInsert): remove 'wide' version of floats
9487
9488         * MenuBackend.h (submenuname): returns the name of the submenu.
9489         (submenu): returns the submenu itself, provided it has been
9490         created by MenuBackend::expand
9491
9492 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9495         insets which have noFontChange == true. (bug #172)
9496
9497 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9498
9499         * BufferView_pimpl.C: add connection objects and use them...
9500         (Pimpl): here.
9501
9502 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9503
9504         * MenuBackend.C (expandLastfiles):
9505         (expandDocuments):
9506         (expandFormats):
9507         (expandFloatListInsert):
9508         (expandFloatInsert):
9509         (expand): split expand in parts
9510
9511 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9512
9513         * lyx_gui.C: use lyx_gui::exit()
9514
9515 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * LyXAction.C: show the failing pseudo action
9518
9519 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9520
9521         * buffer.C (readFile): Run the lyxconvert script in order to read
9522         old files.
9523
9524 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9525
9526         * LyXAction.C:
9527         * commandtags.h:
9528         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9529
9530 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9531
9532         * LyXAction.C:
9533         * commandtags.h:
9534         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9535
9536 2002-07-22  Herbert Voss  <voss@lyx.org>
9537
9538         * lengthcommon.C:
9539         * lyxlength.[Ch]: add support for the vertical lengths
9540
9541 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9542
9543         * toc.[Ch]: std:: fixes
9544
9545 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9546
9547         * lyxrc.C: do not include lyx_main.h
9548
9549         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9550         for layouts
9551
9552         * lyxrc.C:
9553         * encoding.C:
9554         * bufferlist.C:
9555         * BufferView2.C: include "lyxlex.h"
9556
9557         * tabular.h:
9558         * bufferparams.h: do not #include "lyxlex.h"
9559
9560         * lyxtextclasslist.C (Add): remove method
9561         (classlist): renamed to classlist_
9562
9563         * paragraph_pimpl.C:
9564         * paragraph.C:
9565         * text2.C:
9566         * CutAndPaste.C:
9567         * bufferview_funcs.C:
9568         * bufferlist.C:
9569         * text.C:
9570         * LaTeXFeatures.C:
9571         * buffer.C:
9572         * toc.C (getTocList): use BufferParams::getLyXTextClass
9573
9574         * toc.C (getTocList): use InsetFloat::addToToc
9575
9576         * toc.[Ch]: new files, containing helper functions to handle table
9577         of contents
9578
9579         * lyxfunc.C (dispatch): no need to remove spaces around command
9580         given as a string
9581         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9582         first command of the sequence; it is not very clever, but I do not
9583         have a better idea, actually
9584
9585         * LyXAction.C (LookupFunc): make sure to remove space at the
9586         beginning and end of the command
9587
9588 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * MenuBackend.C (getMenubar): new method: return the menubar of
9591         this menu set
9592         (read): treat differently reading of menu and menubar (in
9593         particular, the menubar has no name now)
9594         (Menu::menubar): remove
9595
9596         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9597         saving is finished
9598
9599 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9600
9601         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9602         a bibitem inset in a RTL paragraph.
9603
9604 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9605
9606         * paragraph_pimpl.C: constify
9607
9608         * BufferView_pimpl.C:
9609         * LaTeX.C:
9610         * lyxfunc.C: fix dispatch in a nicer way
9611
9612 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9613
9614         * lyxfunc.C (dispatch):
9615         * BufferView_pimpl.C:
9616         * BufferView_pimpl.h:
9617         * BufferView.C:
9618         * BufferView.h: rename Dispatch() to dispatch()
9619
9620         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9621
9622         * lyxlayout.C (Read): honor DependsOn tag
9623
9624         * lyxlayout.[Ch] (depends_on): new method
9625
9626         * version.C.in: update lyx_docversion
9627
9628         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9629
9630         * paragraph.C (validate): remove from here...
9631         * paragraph_pimpl.C (validate): ... and move here
9632         (isTextAt): make it const
9633
9634         * buffer.C (getLists): ws cleanup
9635
9636 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9637
9638         * language.C (read): Use iso8859-1 encoding in latex_lang
9639         (this prevents LyX from crashing when using iso10646-1 encoding).
9640
9641 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9642
9643         * text2.C (toggleInset): if cursor is inside an inset, close the
9644         inset and leave cursor _after_ it
9645
9646 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9647
9648         * lyxfunc.C: move minibuffer completion handling out of here
9649
9650 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * BufferView_pimpl.C:
9653         * LaTeX.C: fix dispatch calls
9654
9655 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9656
9657         * text.C (drawChars): Fix Arabic text rendering.
9658
9659 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9660
9661         * LyXAction.C:
9662         * commandtags.h:
9663         * lyxfunc.C: remove message-push/pop
9664
9665         * lyxserver.C:
9666         * lyxfunc.h:
9667         * lyxfunc.C: rationalise some code by removing verboseDispatch
9668           in favour of a bool argument to dispatch()
9669
9670 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9671
9672         * lyx_main.C (init): make sure to read symlinks as absolute paths
9673
9674 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * lyxfunc.h:
9677         * lyxfunc.C: no need for commandshortcut to be a member
9678
9679 2002-07-15  André Pönitz <poenitz@gmx.net>
9680
9681         * converter.C: add support for $$s (scripts from lib/scripts dir)
9682         * lyx_main.C: white space
9683
9684 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9685
9686         * bufferlist.C:
9687         * lyxrc.h:
9688         * lyxrc.C: remove second exit confirmation
9689
9690 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9691
9692         * BufferView.h:
9693         * BufferView.C:
9694         * BufferView2.C:
9695         * BufferView_pimpl.h:
9696         * BufferView_pimpl.C:
9697         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9698
9699 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9700
9701         * MenuBackend.C (expand): add numeric shortcuts to document menu
9702
9703         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9704
9705 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9706
9707         * lyxfont.C (setLyXFamily):
9708         (setLyXSeries):
9709         (setLyXShape):
9710         (setLyXSize):
9711         (setLyXMisc):
9712         (lyxRead):
9713         * debug.C (value):
9714         * buffer.C (asciiParagraph): use ascii_lowercase
9715
9716 2002-07-15  Mike Fabian  <mfabian@suse.de>
9717
9718         * lyxlex_pimpl.C (search_kw):
9719         * lyxlex.C (getLongString):
9720         * converter.h (operator<):
9721         * converter.C (operator<):
9722         * buffer.C (parseSingleLyXformat2Token):
9723         (asciiParagraph):
9724         * ToolbarDefaults.C (read):
9725         * MenuBackend.C (checkShortcuts):
9726         (read):
9727         * LColor.C (getFromGUIName):
9728         (getFromLyXName): use the compare_ascii_no_case instead of
9729         compare_no_case, because in turkish, 'i' is not the lowercase
9730         version of 'I', and thus turkish locale breaks parsing of tags.
9731
9732 2002-07-16  Angus Leeming  <leeming@lyx.org>
9733
9734         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9735         now takes a Buffer const & argument.
9736
9737 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * BufferView.C (resize): check there's a buffer to resize
9740
9741 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * lyxfunc.C: remove dead code
9744
9745         * lyxserver.h:
9746         * lyxserver.C: use lyx_guii::set_read_callback
9747
9748 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9751         an inset in a RTL paragraph.
9752
9753 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9754
9755         * lyxfunc.C: repaint after a font size update
9756
9757 2002-07-15  André Pönitz <poenitz@gmx.net>
9758
9759         * lyxlength.C: inBP should be able to return negative values
9760
9761 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * lyxfunc.C: use lyx_gui::update_fonts()
9764
9765 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9766
9767         * lyxfunc.C: use lyx_gui::update_color()
9768
9769 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9770
9771         * bufferlist.C:
9772         * lyxfunc.h:
9773         * lyxfunc.C:
9774         * lyxrc.h:
9775         * lyxrc.C: remove file->new asks for name option, and let
9776           buffer-new take an argument
9777
9778 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * BufferView_pimpl.C: remove unneeded extra repaint()
9781
9782 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9783
9784         * LyXAction.C: allow command-sequence with NoBuffer
9785
9786         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9787
9788 2002-07-10  Angus Leeming  <leeming@lyx.org>
9789
9790         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9791
9792 2002-07-09  Angus Leeming  <leeming@lyx.org>
9793
9794         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9795
9796 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9797
9798         * lengthcommon.h: whitespace
9799
9800         * lyxfunc.C: update scrollbar after goto paragraph
9801
9802         * lyxtext.h: factor out page break drawing, and fix it so
9803           page break/added space paints as selected nicely
9804
9805 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * BufferView_pimpl.C: add FIXMEs, clean up a little
9808
9809 2002-07-09  André Pönitz <poenitz@gmx.net>
9810
9811         * lyxfont.[Ch]: support for wasy symbols
9812
9813 2002-07-08  André Pönitz <poenitz@gmx.net>
9814
9815         * BufferView_pimpl.C: apply John's patch for #93.
9816
9817 2002-07-05  Angus Leeming  <leeming@lyx.org>
9818
9819         * BufferView_pimpl.C (buffer): generate previews if desired.
9820
9821         * LColor.h: add "preview" to the color enum.
9822
9823         * LColor.C (LColor): add a corresponding entry to the items array.
9824
9825         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9826         with this buffer.
9827
9828 2002-07-05  Angus Leeming  <leeming@lyx.org>
9829
9830         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9831         The body of the code is now in the method that is passed an ostream &
9832         rather than a file name.
9833         Pass an additional only_preamble parameter, useful for the forthcoming
9834         preview stuff.
9835
9836 2002-07-03  André Pönitz <poenitz@gmx.net>
9837
9838         * lyxfunc.C: simplify getStatus() a bit for math stuff
9839
9840 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9841
9842         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9843
9844 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * text.C (changeRegionCase): do not change case of all the
9847         document when region ends at paragraph end (bug #461)
9848
9849 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9850
9851         * paragraph.C (startTeXParParams):
9852         (endTeXParParams): add \protect when necessary
9853
9854 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * BufferView_pimpl.C (workAreaExpose): remove warning
9857
9858 2002-06-27  Angus Leeming  <leeming@lyx.org>
9859
9860         * Makefile.am: add lyxlayout_ptr_fwd.h.
9861
9862 2002-06-26  André Pönitz <poenitz@gmx.net>
9863
9864         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9865
9866 2002-06-25  Angus Leeming  <leeming@lyx.org>
9867
9868         * lyxfunc.C (dispatch): Comment out the call to
9869         grfx::GCache::changeDisplay. The method no longer exists now that the
9870         pixmap generation part of the graphics loader has been moved into
9871         InsetGraphics.
9872
9873 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9874
9875         * text2.C: layout as layout
9876
9877         * text.C: layout as layout
9878
9879         * tabular.C (OldFormatRead): layout as layout
9880
9881         * paragraph_pimpl.C (TeXDeeper): layout as layout
9882         (realizeFont): layout as layout
9883
9884         * paragraph.C (writeFile): layout as layout
9885         (validate): layout as layout
9886         (getFont): layout as layout
9887         (getLabelFont): layout as layout
9888         (getLayoutFont): layout as layout
9889         (breakParagraph): layout as layout
9890         (stripLeadingSpaces): layout as layout
9891         (getEndLabel): layout as layout
9892         (getMaxDepthAfter): layout as layout
9893         (applyLayout): layout as layout
9894         (TeXOnePar): layout as layout
9895         (simpleTeXOnePar): layout as layout
9896         (TeXEnvironment): layout as layout
9897         (layout): layout as layout
9898         (layout): layout as layout
9899
9900         * lyxtextclass.C (compare_name): new functor to work with
9901         shared_ptr, layout as layout
9902         (Read): layout as layout
9903         (hasLayout): layout as layout
9904         (operator): layout as layout
9905         (delete_layout): layout as layout
9906         (defaultLayout): layout as layout
9907
9908         * lyxlayout_ptr_fwd.h: new file
9909
9910         * lyxlayout.C (Read): layout as layout
9911
9912         * lyx_cb.C (MenuInsertLabel): layout as layout
9913
9914         * bufferlist.C (newFile): layout as layout
9915
9916         * buffer.C (readLyXformat2): layout as layout
9917         (parseSingleLyXformat2Token): layout as layout
9918         (insertStringAsLines): layout as layout
9919         (asciiParagraph): layout as layout
9920         (latexParagraphs): layout as layout
9921         (makeLinuxDocFile): layout as layout
9922         (simpleLinuxDocOnePar): layout as layout
9923         (makeDocBookFile): layout as layout
9924         (simpleDocBookOnePar): layout as layout
9925         (getLists): layout as layout
9926
9927         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9928
9929         * CutAndPaste.C (cutSelection): layout as layout
9930         (pasteSelection): layout as layout
9931         (SwitchLayoutsBetweenClasses): layout as layout
9932
9933         * BufferView_pimpl.C (Dispatch): layout as layout
9934         (smartQuote): layout as layout
9935
9936         * BufferView2.C (unlockInset): layout as layout
9937
9938 2002-06-24  André Pönitz <poenitz@gmx.net>
9939
9940         * lyxfunc.C: fix #487
9941
9942 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * lyxrc.h:
9945         * lyxrc.C:
9946         * lyxfunc.C: remove display_shortcuts, show_banner
9947
9948 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * Buffer_pimpl.C: oops, update on resize
9951
9952 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * buffer.C:
9955         * converter.C:
9956         * exporter.C:
9957         * lyxfunc.C:
9958         * BufferView.h:
9959         * BufferView.C: use repaint()
9960
9961         * BufferView_pimpl.h:
9962         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9963           as it's a clearer description. Remove superfluous
9964           redraws.
9965
9966 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9967
9968         * text.C: fix bug 488. Not ideal, but getting
9969           getWord() to work properly for the insets that
9970           matter is more difficult ...
9971
9972 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * BufferView_pimpl.C:
9975         * LyXAction.C:
9976         * commandtags.h:
9977         * lyxfunc.C: remove the six million index lyxfuncs to just
9978           one, and DTRT (bug 458)
9979
9980 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * BufferView.h:
9983         * BufferView.C:
9984         * BufferView_pimpl.h:
9985         * BufferView_pimpl.C: clean up resize() stuff,
9986           and unnecessary updateScreen()s
9987
9988 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * BufferView.h:
9991         * BufferView.C:
9992         * BufferView_pimpl.h:
9993         * BufferView_pimpl.C:
9994         * lyxfind.h:
9995         * lyxfind.C:
9996         * minibuffer.C: remove focus management of workarea,
9997           not needed. Use screen's greyOut()
9998
9999 2002-06-17  Herbert Voss  <voss@lyx.org>
10000
10001         * converter.C: (convert) do not post a message, when converting
10002         fails, let the calling function decide what to do in this case
10003
10004 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10005
10006         * lyxfunc.C: tidy up a little
10007
10008 2002-06-16    <alstrup@diku.dk>
10009
10010         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10011         Got rid of FORMS_H_LOCATION include. Now we are
10012         GUII.
10013
10014 2002-06-15  LyX Development team  <lyx@rilke>
10015
10016         * buffer.[Ch] (sgmlOpenTag):
10017         (sgmlCloseTag): Added support for avoiding pernicious mixed
10018         content. Return number of lines written.
10019
10020         (makeLinuxDocFile):
10021         (makeDocBookFile): Fixed calls to sgml*Tag.
10022         Simple white space clean.
10023
10024         (simpleDocBookOnePar): Simple white space clean.
10025
10026         * tabular.[Ch] (docBook): Renamed to docbook and got another
10027         argument to related with the pernicious mixed content.
10028
10029         (docbookRow): Fixed calls for docbook inset method.
10030
10031 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10032
10033         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10034         so it's X11 independent.
10035
10036         * kb*.[Ch]: ditto.
10037
10038         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10039
10040 2002-06-15  Lyx Development team  <lyx@electronia>
10041
10042         * intl.h: Renamed getTrans to getTransManager.
10043
10044 2002-06-14  Angus Leeming  <leeming@lyx.org>
10045
10046         * Makefile.am: nuke forgotten stl_string_fwd.h.
10047
10048 2002-06-12  Angus Leeming  <leeming@lyx.org>
10049
10050         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10051
10052 2002-06-13  Angus Leeming  <leeming@lyx.org>
10053
10054         * LaTeX.C:
10055         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10056
10057 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10058
10059         * kbmap.C (getiso): add support for cyrillic and greek
10060
10061 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * BufferView.h:
10064         * BufferView.C:
10065         * BufferView_pimpl.h:
10066         * BufferView_pimpl.C: move bogus scrolling logic
10067           to xforms
10068
10069 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10070
10071         * lyxfunc.C:
10072         * BufferView_pimpl.C: view->resize() change
10073
10074 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * BufferView_pimpl.C: topCursorVisible
10077           prototype change
10078
10079 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * Makefile.am:
10082         * lyx_gui.h:
10083         * lyx_gui.C: move to frontends/
10084
10085         * main.C:
10086         * lyx_main.h:
10087         * lyx_main.C: changes from above
10088
10089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * intl.C:
10092         * intl.h:
10093         * kbmap.C:
10094         * kbsequence.C:
10095         * lyx_cb.C:
10096         * lyx_main.C: minor tidy
10097
10098 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10099
10100         * BufferView_pimpl.h:
10101         * BufferView_pimpl.C:
10102         * BufferView.h:
10103         * BufferView.C: make painter() const,
10104           remove dead code
10105
10106         * BufferView2.C: use screen() accessor
10107
10108         * lyx_main.h:
10109         * lyx_main.C: some minor cleanup
10110
10111 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10112
10113         * BufferView_pimpl.h:
10114         * BufferView_pimpl.C: remove enter/leaveView,
10115           use workHeight()
10116
10117 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * BufferView.h:
10120         * BufferView.C:
10121         * BufferView2.C:
10122         * BufferView_pimpl.h:
10123         * BufferView_pimpl.C: only construct screen once,
10124           rename
10125
10126         * lyxrc.C: remove pointless comment
10127
10128 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * BufferView.h:
10131         * BufferView.C: remove active() and belowMouse()
10132
10133         * BufferView_pimpl.h:
10134         * BufferView_pimpl.C: use workarea() not workarea_,
10135           and make it use a scoped_ptr instead
10136
10137 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyx_gui.C: add debug message on BadWindow
10140
10141 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10142
10143         * sp_spell.C: fdopen is not part of the C++ standard.
10144
10145         * paragraph.C (InsetIterator): use >= instead of ==
10146
10147 2002-06-07  Angus Leeming  <leeming@lyx.org>
10148
10149         Fixes needed to compile with Compaq cxx 6.5.
10150         * BufferView_pimpl.C:
10151         * DepTable.C:
10152         * buffer.C:
10153         * converter.C:
10154         * encoding.C:
10155         * lyx_gui.C:
10156         * lyx_main.C:
10157         * lyxtextclasslist.C:
10158         * minibuffer.C:
10159         * sp_spell.C:
10160         * tabular_funcs.C:
10161         * vc-backend.C:
10162         all c-library variables have been moved into namespace std. Wrap
10163         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10164
10165         * lyxlength.C:
10166         * tabular-old.C:
10167         * tabular.C:
10168         Add a using std::abs declaration.
10169
10170         * kbmap.h (modifier_pair):
10171         * paragraph.h (InsetTable, InsetList):
10172         * lyxfont.h (FontBits):
10173         type definition made public.
10174
10175         * bufferlist.C (emergencyWriteAll): the compiler complains that
10176         there is more than one possible lyx::class_fun template to choose from.
10177         I re-named the void specialisation as lyx::void_class_fun.
10178
10179         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10180
10181         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10182         the compiler is is unable to find tostr in write_attribute.
10183
10184 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * buffer.C (sgmlError): hide #warning
10187
10188 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10189
10190         * xtl/*: get rid of xtl, which is not in use anyway
10191
10192         * LyXAction.C (init):
10193         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10194         were unimplemented xtl experimentation
10195
10196 2002-06-04  André Pönitz <poenitz@gmx.net>
10197
10198         * lyxfunc.C: disable array operation on simple formulae
10199
10200 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * converter.C: constify a bit
10203
10204 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * lyx_gui.C: check xforms version correctly
10207
10208 2002-04-30  Herbert Voss  <voss@lyx.org>
10209
10210         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10211         "keep" option
10212
10213 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10216           attempt to register it with a VCS)
10217
10218 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10219
10220         * lyx_main.C (init): honor variables LYX_DIR_13x and
10221         LYX_USERDIR_13x
10222
10223 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * buffer.h:
10226         * buffer.C:
10227         * lyx_main.C: fix a crash on bad command line,
10228           and give a useful exit status on error
10229
10230         * lyxfunc.C (doImport): allow -i lyx to work
10231
10232 2002-03-30  André Pönitz <poenitz@gmx.net>
10233
10234         * lyxfunc.C: mathed font changes
10235
10236 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * LaTeX.C:
10239         * importer.h:
10240         * importer.C:
10241         * lyx_sty.h:
10242         * lyx_sty.C:
10243         * lyxlex.C:
10244         * lyxrow.h:
10245         * lyxtext.h:
10246         * paragraph.h:
10247         * paragraph.C:
10248         * texrow.h:
10249         * texrow.C:
10250         * text.C:
10251         * trans_mgr.h: srcdocs, and some minor cleanups
10252
10253 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10254
10255         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10256         call getFont all the time)
10257
10258 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10259
10260         * switch from SigC signals to boost::signals
10261
10262 2002-05-29  André Pönitz <poenitz@gmx.net>
10263
10264         * paragraph_pimpl.C (getChar): don't call size() too often...
10265
10266 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10267
10268         * paragraph_pimpl.C (insertChar): do not try to update tables when
10269         appending (pos == size())
10270
10271         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10272         in order to reduce drastically the number of comparisons needed to
10273         parse a large document
10274
10275 2002-05-29  André Pönitz <poenitz@gmx.net>
10276
10277         * text.C:
10278         * text2.C:
10279         * lyxtextclass.C:
10280         * sp_pspell.h:
10281         * textclasslist.[Ch]:
10282         * sp_ispell.h: whitespace change
10283
10284 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10285
10286         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10287         lyxaction directly now.
10288
10289 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * trans.C:
10292         * lyxfont.C:
10293         * lyxvc.C: remove unused headers
10294
10295 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * Makefile.am:
10298         * buffer.h:
10299         * undostack.h:
10300         * undostack.C:
10301         * undo_funcs.h:
10302         * undo_funcs.C: some cleanups. Use shared_ptr
10303           and a template for the undo stacks.
10304
10305 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * BufferView_pimpl.h:
10308         * BufferView_pimpl.C:
10309         * kbmap.h:
10310         * kbmap.C:
10311         * kbsequence.h:
10312         * kbsequence.C:
10313         * lyxfunc.h:
10314         * lyxfunc.C:
10315         * text2.C: use key_state/mouse_state
10316
10317 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10318
10319         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10320         and LSubstring
10321
10322         * chset.C: change include order
10323         (loadFile): use boost regex and get rid of LRegex and LSubstring
10324
10325         * Makefile.am (BOOST_LIBS): new variable
10326         (lyx_LDADD): use it
10327
10328         * LaTeX.C: change include order.
10329         (scanAuxFile): use boost regex and get rid of LRegex and
10330         LSubstring
10331         (deplog): ditto
10332
10333 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * ColorHandler.h:
10336         * ColorHandler.C:
10337         * FontInfo.h:
10338         * FontInfo.C: moved to frontends/xforms/
10339
10340         * FontLoader.h:
10341         * FontLoader.C: moved into frontends for GUIIzation
10342
10343         * Makefile.am:
10344         * lyx_gui.C:
10345         * lyxfont.C:
10346         * lyxfunc.C: changes from above
10347
10348 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * LColor.C: remove spurious X include
10351
10352         * BufferView_pimpl.C:
10353         * Makefile.am:
10354         * font.h:
10355         * font.C:
10356         * text.C:
10357         * text2.C: move font metrics to frontends/
10358
10359 2002-05-24  Juergen Vigna  <jug@sad.it>
10360
10361         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10362         setting the undo_cursor.
10363
10364         * ParagraphParameters.h: include local includes first.
10365
10366 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * BufferView_pimpl.C:
10369         * BufferView_pimpl.h:
10370         * Makefile.am:
10371         * WorkArea.h:
10372         * WorkArea.C:
10373         * screen.C: move WorkArea into frontends/
10374
10375         * lyxscreen.h:
10376         * screen.C:
10377         * text.C:
10378         * BufferView.C:
10379         * BufferView2.C: move LyXScreen into frontends/
10380
10381         * lyxlookup.h:
10382         * lyxlookup.C:
10383         * lyx_gui.C: move lyxlookup into frontends/xforms/
10384
10385 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * BufferView2.C:
10388         * BufferView_pimpl.C:
10389         * FontLoader.C:
10390         * LyXView.h:
10391         * LyXView.C:
10392         * Makefile.am:
10393         * WorkArea.C:
10394         * XFormsView.h:
10395         * XFormsView.C:
10396         * buffer.C:
10397         * bufferlist.C:
10398         * bufferview_funcs.C:
10399         * converter.C:
10400         * importer.C:
10401         * lyx_cb.C:
10402         * lyx_gui.C:
10403         * lyx_main.C:
10404         * lyx_find.C:
10405         * lyxfunc.C:
10406         * lyxvc.C:
10407         * minibuffer.C:
10408         * text.C:
10409         * text2.C:
10410         * trans.C:
10411         * vc-backend.C: move LyX/XFormsView into frontends/
10412
10413 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * Makefile.am:
10416         * PainterBase.C:
10417         * PainterBase.h:
10418         * Painter.C:
10419         * Painter.h:
10420         * WorkArea.C:
10421         * WorkArea.h:
10422         * screen.C:
10423         * tabular.C:
10424         * text.C:
10425         * text2.C: move Painter to frontends/
10426
10427 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10428
10429         * buffer.C: comment out some some code that depend upon lyx_format
10430         < 220
10431
10432         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10433         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10434
10435         * buffer.h (NO_COMPABILITY): turn off compability
10436
10437         * ColorHandler.C: include scoped_array.hpp
10438
10439         * font.C: Use more specific smart_ptr header.
10440         * Painter.C: ditto
10441         * gettext.C: ditto
10442         * ShareContainer.h: ditto
10443         * lyx_main.h: ditto
10444         * kbmap.h: ditto
10445         * FontInfo.h: ditto
10446         * BufferView_pimpl.h: ditto
10447         * ColorHandler.h: ditto
10448
10449         * kbmap.C (defkey): change call to shared_ptr::reset
10450
10451 2002-05-21  Juergen Vigna  <jug@sad.it>
10452
10453         * buffer.C (insertErtContents): fix to insert ert asis if it is
10454         non empty. Skip it completely if it contains only whitespaces.
10455
10456 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * BufferView_pimpl.C:
10459         * BufferView2.C: clear selection on paste (bug 393)
10460
10461 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10462
10463         * DepTable.C: include ctime
10464
10465 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10466
10467         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10468
10469 2002-05-14  Juergen Vigna  <jug@sad.it>
10470
10471         * text.C (breakParagraph): fixed function to honor the keepempty
10472         layout in the right maner and also to permit the right breaking
10473         algorithm on empty or non empyt keepempty paragraphs.
10474
10475         * paragraph.C (breakParagraph): we have to check also if the par
10476         is really empty (!size()) for isempty otherwise we do the wrong
10477         paragraph break.
10478
10479 2002-05-10  Juergen Vigna  <jug@sad.it>
10480
10481         * buffer.[Ch] : The following are only changes to the ert
10482         compatibility read reading old LaTeX layout and font stuff and
10483         convert it to ERTInsets.
10484
10485         * buffer.h: added isErtInset().
10486
10487         * buffer.C (struct ErtComp): add a fromlayout bool to check
10488         if we're inside a LaTeX layout.
10489         (isErtInset): new helper function.
10490         (insertErtContents): look for other ert insets before this one
10491         and insert the contents there, so that we don't have subsequent
10492         ERT insets with nothing between them. This way we create only one
10493         inset with multiple paragraphs. Also check if we don't insert only
10494         spaces ' ' as they are ignored anyway afterwards in the .tex file
10495         so if we have only spaces we will ignore this latex part in the
10496         new file.
10497         (parseSingleLyXformat2Token \\layout): better compatibility when
10498         reading layout-latex stuff.
10499         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10500         language tag.
10501         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10502         stuff after reading the inset only get the information back from
10503         the stack.
10504
10505 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10506
10507         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10508
10509         * LaTeXFeatures.C (getBabelOptions): New method.
10510
10511 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10512
10513         * BufferView_pimpl.C (Dispatch): work around missing argument for
10514         'layout'
10515
10516 2002-05-08  Juergen Vigna  <jug@sad.it>
10517
10518         * text.C (leftMargin): handle paragraph leftindent.
10519
10520         * paragraph.C (writeFile): write the new \\leftindent tag.
10521         (validate): handle leftindent code.
10522         (TeXEnvironment): handle paragraphleftindent code again.
10523
10524         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10525
10526         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10527         for paragrap_extra indent code and new token \\leftindent.
10528         (latexParagraphs): handle the leftindent as environment.
10529
10530         * ParameterStruct.h: added leftindent support.
10531
10532         * ParagraphParameters.C (leftIndent): added support functions for
10533         the paragraph left indent.
10534
10535         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10536         more appropriate.
10537
10538 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10539
10540         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10541         inside insetERT.
10542
10543         * text.C (computeBidiTables): No bidi in insetERT.
10544
10545         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10546         in RTL documents.
10547
10548 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * version.C.in: pre 5
10551
10552 2002-05-02  José Matos  <jamatos@fep.up.pt>
10553         * buffer.C (makeDocBookFile): white space changes, add newline to
10554         command styles.
10555         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10556
10557         * tabular.C (docBook): fix typo.
10558
10559 2002-05-03  Juergen Vigna  <jug@sad.it>
10560
10561         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10562         change in LyXText as we can not be sure it was not freed.
10563         (drawOneRow): remove unused code.
10564
10565         * text.C (drawInset): redo the calculation of the need_break_row as
10566         it could have a row which was already freed.
10567         (draw): look at the return value of drawInset and return false if
10568         it also returned false.
10569         (paintRowText): look at the return value of draw and return false if
10570         it also returned false.
10571
10572         * lyxtext.h: added bool return type to drawInset() and draw() so that
10573         if we have a change in the row so that the rowbreak has to be redone
10574         we abort drawing as it will be called again.
10575
10576 2002-05-02  Juergen Vigna  <jug@sad.it>
10577
10578         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10579         a change in the maintext also if we're inside an inset.
10580         (Dispatch): set the cursor again after a break line and after the
10581         screen has been updated as it could be we're in a different row.
10582
10583         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10584         to set the cursor behind the pargraph with > size().
10585         (setCursor): check also for the same paragraph when checking where
10586         to put the cursor if we have a NFR inset.
10587
10588         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10589         parts of layout read further up as it still was in the wrong
10590         position.
10591
10592 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10593
10594         * screen.C (drawFromTo): change sine fullRebreak always return
10595         true.
10596
10597         * buffer.C (parseSingleLyXformat2Token): reindent some
10598
10599         * BufferView_pimpl.C (update): change since fullRebreak always
10600         return true.
10601         (Dispatch): git rid of the last hardcoded "Standard"s.
10602
10603 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10604
10605         * text2.[Ch] (fullRebreak): make it return void now that we always
10606         returned true.
10607
10608 2002-04-30  Juergen Vigna  <jug@sad.it>
10609
10610         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10611         ert compatibility check for "latex" layout.
10612
10613 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10614
10615         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10616         minipages: use col% instead of p%, and also use the current font.
10617         (makeLaTeXFile): Fix use babel condition.
10618         (parseSingleLyXformat2Token): Correct font when reading old floats.
10619
10620 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10621
10622         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10623         inserting list of floats.
10624
10625 2002-04-25  Herbert Voss  <voss@lyx.org>
10626
10627         * MenuBackend.C (expand): don't add the graphics extensions to the
10628         export menu
10629
10630 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10631
10632         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10633         non-existing layout, do not complain if it was the default layout
10634         of the original class (bug #342)
10635
10636 2002-04-24  Juergen Vigna  <jug@sad.it>
10637
10638         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10639         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10640
10641 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10642
10643         * buffer.C (getBibkeyList): If using \bibliography, return the
10644         option field with the reference itself. Enables us to provide natbib
10645         support when using \bibliography.
10646
10647 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10648
10649         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10650
10651         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10652         natbib is provided by the LaTeX class.
10653
10654 2002-04-23  Juergen Vigna  <jug@sad.it>
10655
10656         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10657         Wakeup functions.
10658
10659         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10660
10661 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10664
10665         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10666         ensuremath around textordmasculine, textordfeminine and
10667         textdegree.
10668
10669 2002-04-19  Juergen Vigna  <jug@sad.it>
10670
10671         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10672         reinitializing the buffer otherwise row-dimensions may be wrong.
10673         (update): reset also the selection cursors if they do exits otherwise
10674         their x/y positions may be wrong.
10675
10676         * text2.C (cursorDown): don't enter the inset if we came from a row
10677         above and are one row over the inset.
10678
10679         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10680         really leaving an inset.
10681
10682 2002-04-18  Juergen Vigna  <jug@sad.it>
10683
10684         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10685         of the selected paragraph does not have the selected layout also if
10686         the last one had!
10687
10688         * text2.C (setLayout): fixed bug which did not change last selected
10689         paragraph.
10690
10691         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10692         changed the read and substituted \\end_float with \\end_inset!
10693
10694         * BufferView_pimpl.C (cursorPrevious):
10695         (cursorNext): fixed to make it work with rows heigher than the work
10696         area without moving the cursor only the draw of the row.
10697         (workAreaMotionNotify): fix jumping over high rows.
10698
10699 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10700
10701         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10702         Ressler.
10703
10704 2002-04-16  Juergen Vigna  <jug@sad.it>
10705
10706         * text2.C (setCursor): set also the irow().
10707         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10708         (cursorUp):
10709         (cursorDown): support for locking an inset if the x_fix value goes
10710         inside it. That way I can transverse insets too with cursor up/down.
10711
10712         * lyxrow.h: added irow helper function same as other (i) functions.
10713
10714         * BufferView_pimpl.C (cursorPrevious):
10715         (cursorNext): fixed for insets!
10716
10717 2002-04-15  Juergen Vigna  <jug@sad.it>
10718
10719         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10720         position otherwise it is wrong in some cases.
10721
10722         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10723         inside the inset before the call.
10724
10725 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10726
10727         * buffer.[Ch] (getBibkeyList): make it const.
10728
10729 2002-04-12  Juergen Vigna  <jug@sad.it>
10730
10731         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10732
10733         * text2.C (getCursorX): new helper function
10734         (setCursor): compute also ix_
10735         (setCursorFromCoordinates): set also ix.
10736
10737         * lyxcursor.h: added ix_ and helper functions.
10738
10739         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10740
10741         * buffer.C (insertStringAsLines): dont break paragraph if the this
10742         paragraph is inside an inset which does not permit it!
10743
10744         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10745         also with no chars on this paragraph.
10746         (paintRowText): only paint stuff if it's inside the workarea!
10747
10748         * paragraph.C (breakParagraph): honor keepempty flag and break the
10749         paragraph always below not above.
10750
10751         * BufferView2.C (unlockInset): update the paragraph layout on inset
10752         unlock as we changed paragraph in such a case.
10753
10754         * lyxfind.C (LyXFind): clear the former selection if not found!
10755
10756         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10757         again called in insertChar().
10758
10759         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10760         an inset which uses the whole row!
10761         (rightMargin): ditto.
10762         (insertChar): force a rebreak if we inserted an inset!
10763
10764 2002-03-28  Herbert Voss  <voss@lyx.org>
10765
10766         * lyxlength.[Ch]: add inBP() to get the right PS-point
10767         units (BigPoint). With inPixels we have rounding errors
10768
10769 2002-04-11  Juergen Vigna  <jug@sad.it>
10770
10771         * text2.C (setCursorFromCoordinates): set iy to the right value.
10772         (setCursor): add check if row->previous exists!
10773
10774         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10775         an old float_type as this was the case in the old code!
10776
10777         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10778
10779         * BufferView2.C (showLockedInsetCursor): use iy
10780         (fitLockedInsetCursor): ditto
10781
10782         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10783         locked insets as there we have the right value now.
10784
10785         * lyxcursor.C: added iy_ variable and iy functions to set to the
10786         baseline of cursor-y of the locked inset.
10787
10788         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10789         (setCursor): fixed for insets which need a full row.
10790
10791         * text.C (rowLastPrintable): don't ignore the last space when before
10792         an inset which needs a full row.
10793         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10794         as last character of a row when before a inset which needs a full row.
10795
10796 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10797
10798         * version.C.in: update date
10799
10800         * text2.C (fullRebreak): try to always return true and see what
10801         happens...
10802
10803 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10804
10805         * MenuBackend.C (expand): use Floating::listName
10806
10807         * FloatList.C (FloatList): add listName argument to the built-in
10808         floats
10809
10810         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10811         text associated with the float.
10812
10813 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10816
10817 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10818
10819         * ShareContainer.h: add a couple of missing typenames.
10820
10821 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10822
10823         * lyxrc.C (getDescription): use _() correctly rather than N_().
10824
10825 2002-03-28  Herbert Voss  <voss@lyx.org>
10826
10827         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10828         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10829
10830 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10831
10832         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10833         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10834
10835 2002-03-29  Juergen Vigna  <jug@sad.it>
10836
10837         * lyxfunc.C (dispatch): add a missing fitCursor call.
10838
10839         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10840         it was scrolled by a cursor move, so return the bool status.
10841
10842         * BufferView.C (fitCursor): return the bool flag also to the outside
10843         world as this is needed.
10844
10845         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10846
10847         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10848         call the edit() as it is not needed (and wrong) IMO.
10849         (workAreaButtonPress): set the screen_first variable before evt.
10850         unlock the inset as this may change screen_first and then we have
10851         a wrong y position for the click!
10852
10853 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * MenuBackend.C (expand): another translation that I missed
10856
10857 2002-03-28  Juergen Vigna  <jug@sad.it>
10858
10859         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10860
10861         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10862
10863 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10864
10865         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10866
10867         * MenuBackend.C (expand): fix export/view/update when there is no
10868         document open.
10869
10870 2002-03-27  Herbert Voss  <voss@lyx.org>
10871
10872         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10873         and text%
10874
10875 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10876
10877         * bufferview_funcs.C (currentState): only show paragraph number
10878         for is DEVEL_VERSION is set.
10879
10880         * lyxfunc.C (dispatch): put warning in INFO channel
10881
10882         * MenuBackend.C (expand): translate the name of floats
10883
10884         * FloatList.C (FloatList): mark the float names for translation
10885
10886         * converter.C (convert): use LibScriptSearch
10887
10888 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * MenuBackend.C (defaults): fix default menu (we might as well get
10891         rid of it...)
10892
10893 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10896         directory.
10897
10898 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10899
10900         * lyxvc.C: reorder includes.
10901
10902 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10903
10904         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10905           properly
10906
10907 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * CutAndPaste.C: change layouts earlier on paste
10910           to avoid crashing when calling getFont()
10911
10912 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10913
10914         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10915         irritating #error.
10916
10917 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10918
10919         * WorkArea.C: remove 'Pending' debug message.
10920
10921         * most files: ws cleanup
10922
10923         * buffer.[Ch]: ws changes
10924
10925         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10926
10927 2002-03-21  Juergen Vigna  <jug@sad.it>
10928
10929         * tabular.C (SetMultiColumn): collapse also the contents of the
10930         cells and set the last border right. Added a Buffer const * param.
10931
10932 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10933
10934         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10935         linking or not.
10936
10937 2002-03-19  Juergen Vigna  <jug@sad.it>
10938
10939         * text2.C (clearSelection): reset also xsel_cache.
10940
10941         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10942         where it needs to be called (John tells us to do so too :)
10943         (selectionLost): reset sel_cache.
10944
10945         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10946
10947 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10948
10949         * text2.C (setCursorIntern): put debuging code in INSETS channel
10950
10951 2002-03-19  André Pönitz <poenitz@gmx.net>
10952
10953         * lyxfunc.C: tiny whitespace change
10954
10955 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10956
10957         * ToolbarDefaults.C (init):
10958         * LyXAction.C (init):
10959         * commandtags.h:
10960         * BufferView_pimpl.C (Dispatch):
10961         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10962
10963 2002-03-19  Allan Rae  <rae@lyx.org>
10964
10965         * exporter.C (Export): removeAutoInsets before doing anything else.
10966         While I've just introduced a dependency on BufferView this really is
10967         the best place to clean the buffer otherwise you need to cleanup in
10968         a dozen places before calling export or cleanup in a dozen functions
10969         that export calls.
10970
10971         * converter.C (runLaTeX):
10972         (scanLog): Better handling of removeAutoInsets and screen updates.
10973
10974         * lyxfunc.C (dispatch): small whitespace changes
10975
10976 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * WorkArea.C (C_WorkAreaEvent): return a value.
10979         (event_cb): return 1 if we handled the event, 0 otherwise.
10980
10981         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10982
10983 2002-03-18  Juergen Vigna  <jug@sad.it>
10984
10985         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10986         (GetAdditionalWidth): ditto.
10987         (RightLine): ditto.
10988         (LeftLine): ditto.
10989
10990         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10991         inset if we're there actually (probably not used right now but this
10992         is the direction to go for unifying code).
10993         (paste): disable code to clear the selection.
10994
10995         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10996         inside an InsetText and move the check further up as it is in the
10997         wrong place.
10998
10999         * text2.C (pasteSelection): set a selection over the pasted text.
11000
11001 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11002
11003         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11004         and libgraphics to build on Cygwin.
11005
11006 2002-03-15  Juergen Vigna  <jug@sad.it>
11007
11008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11009         inserting an Inset into the paragraph. I know this is not the best
11010         fix but we already use current_view in CutAndPaste so we will remove
11011         all of it's using at the same time.
11012
11013         * buffer.C (sgmlError): deactivated function till it is rewritten in
11014         the right mode, now it can create problems.
11015
11016         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11017         before accessing it.
11018
11019 2002-03-14  Juergen Vigna  <jug@sad.it>
11020
11021         * undo_funcs.C (textHandleUndo): do the right thing when updating
11022         the inset after the undo/redo.
11023
11024         * text2.C (setCursor): just some testcode for #44 not ready yet.
11025
11026         * undo_funcs.C (textHandleUndo): set the next() and previous()
11027         pointers of the paragraph to 0 before deleting otherwise we have
11028         problems with the Paragraph::[destructor].
11029
11030         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11031         on a paragraph insertion.
11032
11033 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * buffer.C (asciiParagraph): use += operator for char append to
11036         string.
11037
11038         * paragraph.C (getFontSettings): compare >= not just >
11039         (highestFontInRange): ditto
11040         (setFont): ditto
11041
11042 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11043
11044         * paragraph.C: change several algorithm to be more appripriate for
11045         the problem domain. This is lookip in FontList and in the InsetList.
11046
11047 2002-03-13  André Pönitz <poenitz@gmx.net>
11048
11049         * commandtags.h:
11050         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11051
11052 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * commandtags.h:
11055         * LyXAction.C:
11056         * lyxfunc.C:
11057         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11058
11059 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * Painter.C (display): anon helper function, adjust code for this
11062         change.
11063         (pixmap): remove function.
11064
11065         * Painter.h: remove private display variable.
11066
11067         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11068
11069 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11070
11071         * WorkArea.[Ch]: remove figinset_canvas cruft.
11072
11073 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11074
11075         * lyxtextclass.C (operator): add one item cache optimization.
11076
11077         * bufferlist.h: doxy changes
11078
11079         * bufferlist.C: ws changes
11080
11081         * DepTable.[Ch] (ext_exist): place const in the right spot.
11082
11083         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11084         call resizeInsets.
11085         (workAreaExpose): call resizeInsets when the with BufferView changes.
11086         (Dispatch): adjust for protectedBlank removal
11087         (specialChar): call updateInset if the insert went ok.
11088
11089         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11090         specialChar instead.
11091
11092         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11093
11094         * BufferView.h: doxy change
11095
11096         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11097
11098         * lyxtextclass.C (operator[]): remove non-const version
11099         (defaultLayout): remove non-const version
11100
11101 2002-03-12  Juergen Vigna  <jug@sad.it>
11102
11103         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11104         did resize the LyXText too.
11105
11106         * buffer.C (readLyXformat2): set layout information on newly allocated
11107         paragraphs.
11108
11109         * tabular.C (OldFormatRead): set layout information on the paragraph.
11110
11111 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11112
11113         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11114
11115 2002-03-11  Juergen Vigna  <jug@sad.it>
11116
11117         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11118         plainly wrong.
11119         (resizeCurrentBuffer): force also the insets to resize themselfes.
11120         (moveCursorUpdate): fixed up for InsetText.
11121
11122 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11123
11124         * commandtags.h:
11125         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11126         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11127         value of Dialogs::tooltipsEnabled().
11128         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11129
11130 2002-03-08  Juergen Vigna  <jug@sad.it>
11131
11132         * BufferView_pimpl.C (updateInset): update inset inside inset also
11133         if it isn't inside theLockingInset().
11134
11135 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * buffer.C (asciiParagraph): redo some of the word and line length
11138         handling.
11139         (getLists): look for Caption instead of caption.
11140
11141 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11142
11143         * buffer.C (Buffer): initialize niceFile to true
11144         (makeLaTeXFile):
11145         (makeLinuxDocFile):
11146         (makeDocBookFile): make sure niceFile is true on exit
11147
11148 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11149
11150         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11151
11152 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11153
11154         * LyXSendto.C: remove.
11155         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11156         * lyx_gui.C: remove now-redundant comment.
11157         * ColorHandler.h: remove forward declaration of class WorkArea.
11158         * lyxfunc.C: remove #include "WorkArea.h".
11159
11160 2002-03-07  Juergen Vigna  <jug@sad.it>
11161
11162         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11163         got moved away with the DEPM and also set the inset_owner always
11164         right which before could have been omitted.
11165
11166 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11167
11168         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11169         wanted layout is not found.
11170
11171 2002-03-07  Juergen Vigna  <jug@sad.it>
11172
11173         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11174
11175 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11176
11177         * paragraph.C (breakParagraph): use default layout not layout of
11178         prev paragraph.
11179         (Paragraph): clear ParagraphParameters.
11180
11181 2002-03-06  Juergen Vigna  <jug@sad.it>
11182
11183         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11184         otherwise it would not be a valid lenght. Fixed a special case in
11185         the minipage compatibility read where we end the document with a
11186         minipage.
11187
11188         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11189         was set as it could be 0 for InsetTexts first entry.
11190
11191 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11192
11193         * paragraph.C (writeFile): if layout is empty write out
11194         defaultLayoutName().
11195
11196         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11197         file without named layout we set layout to defaultLayoutName().
11198
11199 2002-03-06  Juergen Vigna  <jug@sad.it>
11200
11201         * CutAndPaste.C (copySelection): set layout for new paragraph.
11202
11203         * text.C (prepareToPrint): leave ERT inset left aligned
11204         (leftMargin): don't indent paragraphs inside ERT insets
11205
11206 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11207
11208         * paragraph.C (breakParagraph): dont call clear do the work manually
11209
11210         * paragraph.[Ch] (clear): remove function
11211
11212 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * paragraph.C (Paragraph): dont call clear, the work has already
11215         been done.
11216
11217         * lyxtextclass.C (operator): assert if n is empty
11218
11219         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11220         work manually instead.
11221
11222 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11223
11224         * BufferView_pimpl.C: protect selectionLost against text == 0
11225
11226 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11227
11228         * text.C (breakParagraph): fix a setting layout to '0' problem.
11229
11230 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11231
11232         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11233         final location of file, for the included files, and graphics.
11234
11235 2002-03-05  Juergen Vigna  <jug@sad.it>
11236
11237         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11238
11239 2002-03-04  Juergen Vigna  <jug@sad.it>
11240
11241         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11242
11243         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11244         last column of multicolumn cells.
11245         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11246
11247 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11248
11249         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11250         file if it doesn't go to a temporary file.
11251
11252         * buffer.C (sgmlOpenTag):
11253         (sgmlCloseTag):  remove extra newline insertion.
11254
11255 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * text.C (getRowNearY): comment out debug msg
11258
11259 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11260
11261         * text2.C: first -> first_y
11262
11263         * text.C (getRowNearY): add some attemts at a possible
11264         optimization, not working.
11265
11266         * tabular.[Ch]: add BufferParams to several function so that newly
11267         created paragraph can be initialized to he default layotu for the
11268         buffers textclass.
11269
11270         * tabular-old.C (ReadOld): add buf->params to call of Init
11271
11272         * screen.C: rename text->first to text->first_y
11273
11274         * paragraph.C (breakParagraph): always set layout in the broken
11275         paragraph
11276
11277         * lyxtextclass.C (Read): remove lowercase
11278         (hasLayout): ditto
11279         (operator): ditto
11280         (delete_layout): ditto
11281
11282         * lyxtext.h: rename first -> first_y
11283
11284         * lyxlayout.C (Read): remove lowercase
11285         (name): ditto
11286         (setName): ditto
11287         (obsoleted_by): ditto
11288
11289         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11290
11291         * buffer.C (insertErtContents): add params are to InsetERT
11292         (parseSingleLyXformat2Token): add code to check if a paragraphs
11293         layout really exist.
11294         (parseSingleLyXformat2Token): add params to several inset
11295         constructors
11296         (asciiParagraph): remove lowercase, do the layout comparisons with
11297         no_case
11298
11299         * BufferView_pimpl.C (cursorNext): first -> first_y
11300         (resizeCurrentBuffer): first -> first_y
11301         (updateScrollbar): first -> first_y
11302         (scrollCB): first -> first_y
11303         (workAreaMotionNotify): first -> first_y
11304         (workAreaButtonPress): first -> first_y
11305         (checkInsetHit): first -> first_y
11306         (cursorPrevious): first -> first_y
11307         (cursorNext): first -> first_y
11308         (Dispatch): add buffer_->params to severl inset contructors
11309
11310 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * lyxlayout.C (Read): remove some debug info that I forgot.
11313
11314         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11315         clean up the code slightly.
11316         (makeLinuxDocFile): ditto
11317         (makeDocBookFile): ditto
11318
11319         * text2.C: layout as string
11320
11321         * text.C: layout as string
11322
11323         * paragraph_pimpl.C: layout as string
11324
11325         * paragraph.[Ch]: layout as string
11326
11327         * lyxtextclasslist.[Ch]: layout as string
11328
11329         * lyxtextclass.[Ch]: layout as string
11330
11331         * lyxtext.h: layout as string
11332
11333         * lyxlayout.[Ch]: layout as string
11334
11335         * lyx_cb.C: layout as string
11336
11337         * bufferview_funcs.C: layout as string
11338
11339         * bufferparams.C: layout as string
11340
11341         * buffer.C: layout as string
11342
11343         * LyXView.[Ch]: layout as string
11344
11345         * LaTeXFeatures.[Ch]: layout as string
11346
11347         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11348
11349         * BufferView_pimpl.C: change current_layout to string, remove
11350         lyx::layout_type.
11351         (Dispatch):
11352         (smartQuote):
11353         (insertInset):
11354         (workAreaButtonRelease): layout as string
11355
11356         * BufferView2.C (unlockInset): adjust
11357
11358         * vspace.C (asLatexCommand): use an explict temp variable.
11359
11360 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * Makefile.am: use FRONTEND_*
11363
11364 2002-03-01  Juergen Vigna  <jug@sad.it>
11365
11366         * tabular.C (SetWidthOfMulticolCell): changed to something better
11367         I hope but still work in progress.
11368         (recalculateMulticolumnsOfColumn): renamed function from
11369         recalculateMulticolCells as it is more appropriate now.
11370         (SetWidthOfCell): calculate multicols better.
11371
11372 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11373
11374         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11375
11376         * lyxfunc.C (processKeySym): print sequence also if it is
11377         `deleted' (complete)
11378
11379         * kbsequence.C (print): print sequence even if it is deleted
11380         (complete would be a better word, actually).
11381
11382         * lyxfunc.C (dispatch): print complete options after a prefix key
11383
11384         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11385
11386 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11387
11388         * text2.C (setCharFont): eliminate setCharFont code duplication.
11389
11390 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11391
11392         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11393         LFUN_TABULAR_FEATURE (bug #177)
11394
11395 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11396
11397         * Makefile.am: remove figure.h
11398
11399 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11400
11401         * Bufferview_pimpl.C:
11402         * CutAndPasteC:
11403         * LaTeX.C:
11404         * LyXSendto.C:
11405         * buffer.C:
11406         * bufferlist.C:
11407         * converter.C:
11408         * language.C:
11409         * lyxfunc.C:
11410         * lyxvc.C:
11411         * paragraph.C:
11412         * text.C:
11413         * text2.C: remove #include "lyx_gui_misc.h".
11414
11415         * LaTeX.C: added #include <cstdio>
11416
11417 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11418
11419         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11420         that the paragraph following this one can have.
11421
11422         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11423
11424         * vspace.C (asLatexCommand): fix bogus gcc warning
11425
11426         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11427
11428 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11429
11430         * text2.C (setLayout): get rid of redundant code
11431
11432 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11433
11434         * text2.C (incDepth): make sure depth cannot be increased beyond
11435         reasonable values.
11436
11437 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11438
11439         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11440         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11441
11442         * PainterBase.h (image):
11443         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11444         a LyXImage const *.
11445
11446 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * BufferView.C:
11449         * BufferView.h:
11450         * BufferView_pimpl.C:
11451         * BufferView_pimpl.h:
11452         * LaTeXFeatures.C:
11453         * LyXAction.C:
11454         * LyXView.C:
11455         * Makefile.am:
11456         * UpdateList.h:
11457         * UpdateList.C:
11458         * buffer.C:
11459         * figure.h:
11460         * figureForm.C:
11461         * figureForm.h:
11462         * figure_form.C:
11463         * figure_form.h:
11464         * lyx_cb.C:
11465         * lyx_gui.C:
11466         * lyx_gui_misc.C:
11467         * lyxfunc.C:
11468         * sp_base.h:
11469         * sp_ispell.h:
11470         * sp_pspell.h:
11471         * sp_spell.C: remove fig inset, and the crap house of
11472           cards that follows it
11473
11474 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11475
11476         * Makefile.am:
11477         * lyxserver.C:
11478         * os2_defines.h:
11479         * os2_errortable.h:
11480         * nt_defines.h: move .h into support/
11481
11482         * vms_defines.h: remove
11483
11484         * WorkArea.C: add space in debug output
11485
11486         * text2.C:
11487         * paragraph.C:
11488         * buffer.C: add WITH_WARNINGS
11489
11490         * vc-backend.h:
11491         * vc-backend.C:
11492         * bufferlist.C: s/retrive/retrieve/, add docs
11493
11494         * vspace.h:
11495         * vspace.C:
11496         * kbmap.h:
11497         * lyxlength.h:
11498         * lyxgluelength.h:
11499         * length_common.h:
11500         * chset.h:
11501         * chset.C: add docs
11502
11503         * lyxgui.C: add ID to X error handler
11504
11505         * lyxtestclass.c: fix typo
11506
11507 2002-02-26  Juergen Vigna  <jug@sad.it>
11508
11509         * tabular_funcs.C (write_attribute): changed so that some default
11510         attributes are not written at all.
11511         (getTokenValue): set default values before trying to read the
11512         value so we have the return value always set as default if we don't
11513         find the token we search for.
11514
11515         * tabular.C (Write): write bools as bools not as strings!
11516
11517 2002-02-22  Juergen Vigna  <jug@sad.it>
11518
11519         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11520         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11521
11522         * text.C (leftMargin): don't add an indent for paragraphs inside
11523         tabular cells (fix #208).
11524
11525 2002-02-21  José Matos  <jamatos@fep.up.pt>
11526
11527         * tabular.C (docBook): fixed support for long tables.
11528
11529 2002-02-20  Juergen Vigna  <jug@sad.it>
11530
11531         * text2.C (getFont): get the drawing font of the Inset if this
11532         paragraph is inside an inset (only important for InsetERT for now).
11533
11534         * buffer.C (insertErtContents): use new lanugage params in ERT
11535         constructor.
11536
11537         * CutAndPaste.C: commenting out seemingly uneeded code.
11538
11539 2002-02-19  Allan Rae  <rae@lyx.org>
11540
11541         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11542         Iterators might be simple to use but they also get invalidated.
11543         (removeAutoInsets): renamed saved cursor tracking variables and added
11544         some comments to clarify what everything does.
11545
11546 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11547
11548         * Chktex.C:
11549         * LaTeX.C:
11550         * LyXSendto.C:
11551         * converter.C:
11552         * lyx_cb.C:
11553         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11554         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11555
11556         * lyxfunc.C:
11557         * vc-backend.h: remove #include "support/syscall.h"
11558
11559         * LaTeX.C:
11560         * LyXSendto.C:
11561         * converter.C: rearrange #includes in Lars' approved fashion.
11562
11563         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11564         forward declare class Timeout in the header file.
11565
11566         * XFormsView.C: changes due to the above.
11567
11568         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11569         similar to LyXView.
11570
11571         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11572         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11573
11574 2002-02-18  José Matos  <jamatos@fep.up.pt>
11575
11576         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11577         insets contents.
11578
11579 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11580
11581         * a lot of small ws changes
11582         * add a lot of using std::XXX
11583         * use std construcs some places where approp.
11584         * use some exisint stuff from lyxfunctional where approp.
11585         * Make file changes to use partial linking (lets test this now...)
11586
11587 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11588
11589         * Chktex.C:
11590         * buffer.C:
11591         remove #include "support/syscontr.h" as it's redundant. Always has been.
11592
11593         * Chktex.C:
11594         * LaTeX.C:
11595         * LyXSendto.C:
11596         * converter.C:
11597         * lyx_cb.C:
11598         * vc-backend.C:
11599         change Systemcalls::System to Systemcalls::Wait and
11600         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11601         No change of functionality, just reflects the stripped down Systemcalls
11602         class.
11603
11604 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11605
11606         * debug.[Ch]: add a GRAPHICS type to the enum.
11607
11608 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11609
11610         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11611
11612         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11613         there is an inset.
11614
11615 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11616
11617         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11618         match the changes below.
11619
11620         * text2.C (toggleInset): if there is not editable inset at cursor
11621         position, try to see if cursor is _inside_ a collapsable inset
11622         and close it.
11623
11624 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11625
11626         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11627         document menu has a nice checkbox
11628
11629 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11630
11631         * lyxlength.C (asLatexString): change PW to output as percent of
11632         \textwidth.
11633
11634         * lengthcommon.C: change '%' to 't%'
11635
11636         * lyxfunc.C (dispatch): a few comments from Martin
11637
11638 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * WorkArea.h:
11641         * WorkArea.C:
11642         * BufferView_pimpl.h:
11643         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11644           the X selection.
11645
11646 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11647
11648         * vspace.C (inPixels): fix compiler warning
11649
11650 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11651
11652         * lyxfunc.C (getStatus): fix status message for disabled commands.
11653
11654 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * BufferView_pimpl.C: fix crash on close buffer
11657         during selection (#227)
11658
11659 2002-01-27  Herbert Voss  <voss@lyx.org>
11660
11661         * buffer.C: link old Figure to new graphic inset
11662
11663 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11664
11665         * FontLoader.C (getFontinfo): Change the latex font names in order
11666         to match the names of type1inst.
11667
11668 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11671
11672         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11673         (extchanged): ditto
11674         (ext_exist): ditto
11675         (remove_files_with_extension): ditto
11676         (remove_file): ditto
11677         (write): ditto
11678
11679         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11680         document is smaller than the work area height. Do not initialize
11681         static variables to 0.
11682
11683 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11686
11687         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11688         LFUN_LAYOUT_PARAGRAPHS.
11689
11690         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11691         tabular. It is possible to provide a possible cell, which will
11692         typically be the actcell from the corresponding insettabular
11693
11694         * lyxfunc.C (getStatus): small cleanup; disable
11695         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11696         true
11697
11698 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11701
11702         * paragraph.C (startTeXParParams):
11703         (endTeXParParams): new methods. The LaTeX code to
11704         start/end paragraph formatting
11705         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11706         empty (fixes bug #200)
11707
11708         * vspace.C (inPixels): adapt to the change below
11709         (inPixels): [later] more cleanups (remove unused variables)
11710
11711         * lyxlength.C (inPixels): change to use a width and a height as
11712         parameter.
11713
11714 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11715
11716         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11717         Replaced with \paperwidth
11718
11719         * DepTable.C (insert): add std:: qualifier
11720
11721 2002-01-18  Allan Rae  <rae@lyx.org>
11722
11723         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11724         updated also?
11725
11726         * text.C (drawInset): Turned out I didn't know enough about how
11727         rebreaking worked.  This fixes most of the redraw problems.  I see
11728         an occasional cursor trail when a line is broken now and the cursor
11729         placement can seem out by a few pixels also after a rebreak.
11730
11731 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * buffer.C (parseSingleLyXformat2Token): update because minipage
11734         width is now a LyXLength
11735
11736         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11737
11738         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11739         math insets
11740
11741 2002-01-17  Juergen Vigna  <jug@sad.it>
11742
11743         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11744
11745         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11746         is set correctly and the inset is updated correctly.
11747
11748 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11749
11750         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11751         the beginning of the loop.
11752
11753 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11754
11755         * lyxrc.C: improve help for use_scalable_fonts
11756
11757 2002-01-17  Allan Rae  <rae@lyx.org>
11758
11759         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11760
11761 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11762
11763         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11764         make sure to set their inset_owner to the right value (bug #171)
11765
11766 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11767
11768         * DepTable.h
11769         * DepTable.C: Implement mtime checking to reduce time spent doing
11770         CRCs.
11771
11772 2002-01-16  Juergen Vigna  <jug@sad.it>
11773
11774         * tabular.C (GetAdditionalHeight): one of error fixed.
11775
11776         * lyxrc.C (output): small fix in writing use_pspell.
11777
11778 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11779
11780         * sp_base.h: #include LString.h
11781
11782 2002-01-16  Allan Rae  <rae@lyx.org>
11783
11784         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11785         Can someone check this please?
11786
11787         * text.C (drawInset): It was possible that p.row would be removed by
11788         breakAgainOneRow upsetting a few other settings.  There may be another
11789         small tweak possible by setting need_break_row = 0 when p.row has been
11790         removed but I don't know enough about the logic here.
11791
11792 2002-01-15  Allan Rae  <rae@lyx.org>
11793
11794         * text.C (insertChar): removed conditional truism.
11795
11796         * BufferView2.C (removeAutoInsets): More tweaks.
11797         cur_par_prev could be a stray pointer.  Check for trailing empty line
11798         in case last line was cur_par and only had an error inset on it.
11799
11800 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11801
11802         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11803         absolute
11804
11805         * vc-backend.C (most methods):
11806         * exporter.C (Export):
11807         * converter.C (convert):
11808         (runLaTeX):
11809         * LyXSendto.C (SendtoApplyCB):
11810         * lyxfunc.C (dispatch):
11811         (menuNew):
11812         (open):
11813         (doImport):
11814         * lyx_cb.C (AutoSave):
11815         (InsertAsciiFile):
11816         * BufferView_pimpl.C (MenuInsertLyXFile):
11817         * buffer.C (runChktex): use Buffer::filePath().
11818
11819         * buffer.h: rename filename to filename_; rename filepath to
11820         filepath_ and make it private
11821         (filePath): new method
11822
11823         * buffer.C (writeFile): use fileName()
11824         (getLatexName):
11825
11826         * lyx_main.C (init): fix starting  of LyX when the binary is a
11827         link from so,ewhere else.
11828
11829         * minibuffer.C: include <cctype> for isprint
11830
11831 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11834         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11835         name clash with InsetCollapsable's width function.
11836
11837 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11838
11839         * lastfiles.C: include <iterator>
11840
11841 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11842
11843         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11844         std::count.
11845
11846         * buffer.C (makeLaTeXFile): ditto.
11847         Also make loop operation more transparent.
11848
11849 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11850
11851         * ToolbarDefaults.C: remove trailing comma closing namespace.
11852
11853         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11854
11855         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11856         as in WorkArea.
11857
11858         * trans.C (Load): comment out unused variable, allowed.
11859
11860 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11861
11862         * minibuffer.[Ch] (append_char): new method to recieve input from the
11863         drop-down completion browser. If a key was pressed, then recieve this
11864         char and append it to the existing string.
11865         (peek_event): modify the positioning data passed to the completion
11866         browser so that it can be placed above the minibuffer rather than below.
11867 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * LyXAction.C (init): alloe error-next for readonly documents.
11870
11871         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11872         count.
11873
11874 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11875
11876         * bufferlist.C (readFile): create the buffer _after_ checking that
11877         the file exists.
11878
11879         * lyxfunc.C (verboseDispatch): fix handling of arguments
11880
11881         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11882
11883         * lyxrc.C: use string::erase() instead of initializing to "".
11884
11885
11886 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11887
11888         * BufferView_pimpl.h:
11889         * BufferView_pimpl.C:
11890         * WorkArea.h:
11891         * WorkArea.C:
11892         * text2.C: tell X when we have made a selection for copying
11893
11894 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * BufferView_pimpl.C (MenuInsertLyXFile):
11897         * lyxfunc.C (menuNew):
11898         (open):
11899         (doImport): add shortcuts to directory buttons
11900
11901         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11902         open a float)
11903
11904         * lyxfunc.C (setStatusMessage):
11905         (getStatusMessage): new methods
11906         (getStatus):use setStatusMessage instead of setErrorMessage
11907         (dispatch): when function is disabled, set error message here
11908         [instead of in getStatus previously]
11909
11910         * BufferView_pimpl.C (workAreaButtonRelease): update
11911         toolbar/menubar here too.
11912
11913 2002-01-13  Allan Rae  <rae@lyx.org>
11914
11915         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11916         Now seems indestructible.  Remaining task is to audit all other
11917         code affected by deleteEmptyParagraphMechanism.  One small quirk
11918         left is that an empty document with an error in the preamble can
11919         be made to report an error but no error box appears.  I don't know
11920         where it goes.
11921         (removeAutoInsets): Improved comments.
11922
11923 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * Thesaurus.h:
11926         * Thesaurus.C: update for Aiksaurus 0.14
11927
11928 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11929
11930         * text2.C (firstParagraph): removed member function, all uses
11931         replaces with ownerParagraph
11932         (redoParagraphs): here
11933         (updateInset): here
11934         (toggleAppendix): here
11935         * BufferView2.C (insertErrors): here
11936         (setCursorFromRow): here
11937
11938 2002-01-13  Allan Rae  <rae@lyx.org>
11939
11940         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11941         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11942         There is still a way to segfault this although you may have to do this
11943         multiple times: Have an InsetERT with an unknown command in it.
11944         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11945         <down-arrow>, <Enter> again, View->DVI, BANG!
11946
11947         * text2.C (setCursor):
11948         (deleteEmptyParagraphMechanism):
11949         * lyxtext.h (setCursor):
11950         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11951         Making use of the return value may help fix other bugs.
11952
11953 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11954
11955         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11956
11957         * LyXView.C (updateMenubar): call MenuBar::update here
11958         (updateToolbar): but not here
11959         (showState): do not update toolbar/menubar
11960
11961         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11962         should need to care about that.
11963
11964         * lyxfunc.C (verboseDispatch): simplify a bit
11965         (getStatus): have a version which takes a pseudoaction, and
11966         another which requires a (kb_action,string).
11967
11968         * LyXAction.C (retrieveActionArg): make it work also when action
11969         is not a pseudo-action.
11970         (getActionName): simplify a bit
11971         (helpText):
11972
11973 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11974
11975         * lyxfunc.C (verboseDispatch): new families of methods with
11976         several ways to specify a command and a bool to indicate whether
11977         the command name and shortcut should be displayed in minibuffer
11978         (eventually, we could extend that to a finer bitmask like
11979         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11980         (dispatch): the pristine dispatch command which just, well,
11981         dispatchs! Note it still sets its result to minibuffer; I'm not
11982         sure we want that.
11983
11984         * lyxfunc.h: remove setHintMessage
11985
11986         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11987
11988 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11989
11990         * BufferView_pimpl.C (specialChar): delete new inset if we have
11991         not been able to insert it.
11992
11993         * kbmap.C: revert to using int instead of kb_action, since all we
11994         are dealing with is pseudo-actions.
11995
11996         * LyXAction.C (searchActionArg): change to return int instead of
11997         kb_action, since the result is a pseudoaction.
11998
11999 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12000
12001         * buffer.C (insertErtContents): Fix (partially) the font bug.
12002
12003 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12004
12005         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12006         as the other one is broken on my machine!
12007
12008 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12009
12010         * commandtags.h:
12011         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12012
12013 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12014
12015         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12016         reflect their actual use. Provide compatibility code for older lyxrc
12017         files.
12018
12019         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12020         FL_NORMAL_STYLE.
12021         change names of popup font variables in line with the changes to lyxrc.C
12022
12023 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12024
12025         * buffer.C (asciiParagraph): avoid outputing a word twice after
12026         an inset.
12027
12028         * lyxrc.C (getDescription): document that document_path and
12029         template_path can be empty.
12030
12031 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * LaTeXFeatures.C (getMacros):
12034         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12035
12036         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12037
12038         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12039         getPackages.
12040         (getPackages): rename feature "floats" to "float". Use an array to
12041         iterate over 'simple' features (i.e. just a \usepackage). Add
12042         handling of "amsmath" (renamed from "amsstyle").
12043
12044 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12045
12046         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12047         features list.
12048
12049 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12050
12051         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12052         FuncStaus::FuncStatus & FuncStaus::some_method().
12053
12054 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12055
12056         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12057         of the func_satus stuff. Edited and massaged in various ways by
12058         JMarc.
12059
12060         * lyxfunc.C (getStatus): use FuncStatus
12061
12062 2002-01-08  Juergen Vigna  <jug@sad.it>
12063
12064         * text.C (nextBreakPoint): use function Inset::isChar().
12065
12066         * paragraph.C (TeXOnePar): use function
12067         Inset::forceDefaultParagraphs.
12068
12069         * buffer.C (latexParagraphs): use function
12070         Inset::forceDefaultParagraphs.
12071
12072 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12073
12074         * lyx_gui.C (init): set the style of the menu popups to
12075         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12076
12077 2002-01-07  Juergen Vigna  <jug@sad.it>
12078
12079         * text.C (setHeightOfRow): small fix
12080         (prepareToPrint): don't look at alignment if we don't have the place
12081         for doing it.
12082
12083 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12084
12085         * box.C: New file. Move the Box methods and functions out of box.h,
12086         following Lars' suggestion.
12087
12088 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12089
12090         * box.h: #include "support/LOstream.h", needed for inlined function.
12091
12092         * lyxtextclass.C:
12093         * lyxtextclasslist.C: added some using std declarations.
12094
12095 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * box.h: make signed dimensions to allow insets wider than
12098           the screen (bug #162)
12099
12100         * BufferView_pimpl.C: add some insetHit debug
12101
12102 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * vc-backend.C: add FIXME
12105
12106 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * lyxfunc.C (getStatus): enable code for showing math font status
12109         in toolbar/menu.
12110
12111 2002-01-07  Juergen Vigna  <jug@sad.it>
12112
12113         * text.C (nextBreakPoint): removed debug output not needed anymore.
12114
12115 2002-01-06  Juergen Vigna  <jug@sad.it>
12116
12117         * text.C (nextBreakPoint): fixed up this function we had this bug
12118         since ever but now hopefully we break row better.
12119         (insertChar): we have to check if an inset is the next char as it
12120         could now happen that a large inset is causing a break.
12121
12122 2002-01-05  Juergen Vigna  <jug@sad.it>
12123
12124         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12125         if it doesn't like to be drawed.
12126
12127 2002-01-04  Juergen Vigna  <jug@sad.it>
12128
12129         * BufferView2.C (lockInset): forgot to set a cursor.
12130
12131         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12132
12133 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12134
12135         * FormMathsPanel.C:
12136         * FormMathsPanel.h
12137         * MathsSymbols.C:
12138         * form_maths_panel.C:
12139         * form_maths_panel.h:
12140         * form_maths_panel.fd: implemented sub- and super- buttons in math
12141         panel.
12142
12143         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12144         (or ^ space) to be used as in TeX (req'd by André).
12145
12146         * lyxfunc.C: Allow ^ and _ again to be used both as
12147         super/subscript (mathed) and as themselves (in text).
12148
12149 2002-01-03  Allan Rae  <rae@lyx.org>
12150
12151         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12152         "LyX" or the filename of the current buffer if it has one.  This is a
12153         modified form of John Levon's patch.
12154
12155         * XFormsView.C (setWindowTitle): also set icon title.
12156
12157         * LyXView.h (setWindowTitle): signature changed.
12158         * XFormsView.h (setWindowTitle): ditto.
12159
12160 2002-01-02  Juergen Vigna  <jug@sad.it>
12161
12162         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12163
12164 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12165
12166         * screen.C (topCursorVisible): introduce a temp var for
12167         text->cursor.row(), handle the case where this row is null. (kindo
12168         hachish)
12169
12170         * text2.C (setCursor): add a couple of asserts.
12171
12172         * paragraph.h (inset_iterator): add -> operator
12173
12174         * paragraph.[Ch] (autoDeleteInsets): remove member function
12175
12176         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12177         cursor pos correctly and handle inset deletion by itself.
12178         (insertErrors): move iterator declaration out of for expression
12179
12180         * lyxtextclass.C: add <algorithm>
12181
12182         * Makefile.am: added the new files to sources, removed layout.C
12183
12184         * layout.C: removed file
12185
12186         * layout.h: remove LYX_DUMMY_LAYOUT
12187
12188         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12189         layout.
12190
12191         * lyxlayout.[Ch]:
12192         * lyxtextclass.[Ch]:
12193         * lyxtextclasslist.[Ch]: new files
12194
12195         * include order changes to a lot of files, also changes because of
12196         the six new files.
12197
12198 2001-12-27  Juergen Vigna  <jug@sad.it>
12199
12200         * buffer.C (asciiParagraph): more fixes.
12201
12202         * tabular.C (ascii): make ascii export support export of only the
12203         data separated by a column-delimiter.
12204         (ascii): better support for ascii export.
12205
12206         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12207
12208 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12209
12210         * tabular_funcs.C: use a "using std::getline" instead of the
12211         previous fix from Angus (necessary for cxx + lyxstring)
12212
12213 2001-12-24  Juergen Vigna  <jug@sad.it>
12214
12215         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12216
12217         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12218         problems. First check a minipage also if we have some ert-contents
12219         (not only on par->size(), second set the right depth of the paragraph
12220         on the relink to the root-paragraph-list!
12221
12222         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12223         which then did not anymore update the main paragraphs on undo/redo!
12224
12225 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12226
12227         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12228         code. Support all font-changing funcs (even those which are not in
12229         menu currently). Support for reporting font settings in
12230         mathed (disabled until Andre provides a function on mathed's side).
12231
12232         * func_status.h (toggle): small helper function to set toggle
12233         state on a flag.
12234
12235 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12236
12237         * tabular_funcs.C: getline -> std::getline
12238
12239 2001-12-21  Juergen Vigna  <jug@sad.it>
12240
12241         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12242         accessed and could be 0 (I couldn't generate this but it seems
12243         Michael could!).
12244
12245 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12248         * tabular_funcs.h: here and include iosfwd
12249
12250 2001-12-20  Juergen Vigna  <jug@sad.it>
12251
12252         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12253         inside inset but undo_par was.
12254
12255 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12256
12257         * Thesaurus.C: always include <config.h> in sources.
12258
12259         * Painter.h:
12260         * lyxlookup.h:
12261         * box.h: do not include <config.h> in header files
12262
12263         * text.C (paintLastRow): remove unused variable
12264
12265         * text.C (transformChar):
12266         (insertChar):
12267         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12268
12269         * Painter.C (text):
12270         * font.C (width): rewrite to use uppercase() instead of
12271         islower/toupper.
12272
12273         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12274
12275 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * lyxfind.C: clean up of find failure position change
12278
12279 2001-12-20  Juergen Vigna  <jug@sad.it>
12280
12281         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12282
12283         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12284         (TeXRow): added to LaTeX a single tabular row.
12285         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12286         (Latex): simplified and finally good LT-h/f support.
12287         (various_functions): just small adaptions for LT-h/f support.
12288
12289         * tabular_funcs.[hC]: added and moved here all not classfunctions
12290         of LyXTabular.
12291
12292 2001-12-19  Juergen Vigna  <jug@sad.it>
12293
12294         * tabular.[Ch]: better support for longtabular options (not finished
12295         yet!)
12296
12297 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12298
12299         * text.C (paintLastRow): use the label font instead of the font of
12300         the last character to compute the size of *_BOX. This makes more
12301         sense and avoids a crash with empty paragraphs.
12302         Use Painter::rectangle to draw EMPTY_BOX.
12303
12304 2001-12-19  Juergen Vigna  <jug@sad.it>
12305
12306         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12307         the paragraphs if the replaced paragraph is not the first one!
12308         Tried to delete not used paragraphs but does not work yet so for
12309         now it's inside #ifdef's and by default off!
12310
12311 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * MenuBackend.C: include "lyx_main.h" instead of declaring
12314         lastfiles (actually was declared as LastFiles* instead of a
12315         scoped_ptr).
12316
12317 2001-12-17  Juergen Vigna  <jug@sad.it>
12318
12319         * tabular.C (AppendColumn): applied John's fix
12320
12321 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * BufferView.h:
12324         * BufferView.C:
12325         * BufferView_pimpl.h:
12326         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12327
12328         * Makefile.am:
12329         * box.h: new start of class for above
12330
12331         * lyxfunc.C: ignore space-only minibuffer dispatches.
12332           Show the command name when it doesn't exist
12333
12334         * minibuffer.C: don't add empty lines to the history
12335
12336         * minibuffer.C: add a space on dropdown completion
12337
12338 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * text.C: fix line above/below drawing in insets
12341
12342 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12343
12344         * lyxlength.C (LyXLength): Initialize private variables.
12345
12346 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12347
12348         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12349         when inserting error insets.
12350
12351 2001-12-13  Juergen Vigna  <jug@sad.it>
12352
12353         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12354         actually sometimes the before-paragraph.
12355         (setUndo): don't clear the redostack if we're not actually undoing!
12356
12357 2001-12-06  Juergen Vigna  <jug@sad.it>
12358
12359         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12360         and fixed redoing of main paragraph, so we can use it now ;)
12361
12362         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12363
12364 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12365
12366         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12367         Juergen's request
12368
12369 2001-12-13  André Pönitz <poenitz@gmx.net>
12370
12371         * undostack.[Ch]:
12372         * undo_func.C: minor cleanup
12373
12374 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12375
12376         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12377         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12378         font in urw-fonts package which is marked as -urw-fontspecific and
12379         does not work (incidentally, changing the encoding in the
12380         fonts.dir of this package to -adobe-fontspecific fixes the
12381         problem).
12382
12383         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12384         is a crash when undoing first paragraph (Juergen, please take a
12385         look). THis does not mean the undo fix is wrong, just that it
12386         uncovers problems.
12387
12388         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12389         the (Paragraph*) version when needed instead of duplicating the
12390         code.
12391
12392         * text.C (workWidth): use Inset::parOwner to find out where the
12393         inset has been inserted. This is a huge performance gain for large
12394         documents with lots of insets. If Inset::parOwner is not set, fall
12395         back on the brute force method
12396
12397         * paragraph_pimpl.C (insertInset):
12398         * paragraph.C (Paragraph):
12399         (cutIntoMinibuffer): set parOwner of insets when
12400         inserting/removing them
12401
12402         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12403
12404 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12405
12406         * commandtags.h:
12407         * LyXAction.C:
12408         * lyx_main.C:
12409         * lyxfunc.C:
12410         * mathed/formulabase.C:
12411         * mathed/math_cursor.[Ch]:
12412         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12413
12414
12415 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12416
12417         * lyxlength.[Ch] (operator!=): new function
12418
12419 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12420
12421         * text.C (workWidth): use Inset::parOwner to find out where the
12422         inset has been inserted. This is a huge performance gain for large
12423         documents with lots of insets. If Inset::parOwner is not set, fall
12424         back on the brute force method
12425
12426         * paragraph_pimpl.C (insertInset):
12427         * paragraph.C (Paragraph):
12428         (cutIntoMinibuffer): set parOwner of insets when
12429         inserting/removing them
12430
12431         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12432
12433 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12434
12435         * tabular-old.C (getTokenValue):
12436         * tabular.C (getTokenValue):
12437         (write_attribute): new versions for LyXLength
12438         (everywhere): adjust the use of widths
12439
12440         * tabular.h: change the type of widths from string to LyXLength
12441
12442 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12443
12444         * paragraph.C: fixed missing line number count when exporting
12445         Environments to LaTeX file
12446
12447         * buffer.C: added informational message for checking line numbers.
12448
12449 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12450
12451         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12452         paragraph, do the 'double space' part, but not the 'empty
12453         paragraph' one.
12454
12455         * text.C (workWidth): small optimization
12456         (getLengthMarkerHeight): use minimal size for negative lengths.
12457
12458 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12459
12460         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12461
12462         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12463
12464 2001-12-11  André Pönitz <poenitz@gmx.net>
12465
12466         * FontLoader.C:
12467         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12468
12469 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * text2.C: keep selection on a setFont()
12472
12473 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12474
12475         * lyx_cb.C: another bv->text misuse, from insert label
12476
12477 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * kbsequence.h:
12480         * kbsequence.C: re-instate nmodifier mask
12481
12482 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * lyx_main.h: make lyxGUI private.
12485
12486 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * lyxfind.C: place the cursor correctly on failed search
12489
12490 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12491
12492         * text.C (getLengthMarkerHeight): for small heights, the arrows
12493         are not always on top/bottom of the text
12494         (drawLengthMarker): smaller arrows; take the left margin in
12495         account; draw also vfills.
12496         (paintFirstRow):
12497         (paintLastRow): remove special code for vfill and standard spaces,
12498         since everything is handled in drawLengthMarker now.
12499
12500 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * buffer.C (insertErtContents): try to handle font and language
12503         interaction a bit better.g
12504
12505         * ColorHandler.C (updateColor): change the hash to cover the whole
12506         LColor enum, ws cleanup
12507         (getGCLinepars): ditto
12508         (getGCLinepars): only lookup in the linecache once.
12509
12510 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * iterators.C (operator++): Make the iterator more robust
12513
12514         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12515         (John's patch)
12516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12517
12518 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12519
12520         * lyxtext.h:
12521         * text.C: better added space drawing
12522
12523 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12524
12525         * LyXView.C:
12526         * BufferView2.C: fix layout combo update on inset unlock
12527
12528 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12529
12530         * Makefile.am: don't compile unused files
12531
12532 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * lyxfunc.C:
12535         * commandtags.h:
12536         * LyXAction.C: remove old LFUN_LAYOUTNO
12537
12538 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12539
12540         * paragraph_pimpl.h:
12541         * paragraph_pimpl.C: isTextAt() doesn't need font param
12542
12543 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * lyxlex.h:
12546         * lyxlex.C: little cleanup
12547
12548 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * BufferView_pimpl.C: fix insertAscii for insets
12551
12552 2001-12-05  Juergen Vigna  <jug@sad.it>
12553
12554         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12555         set the right font on the "multi" paragraph paste!
12556
12557 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12558
12559         * trans_decl.h:
12560         * trans_mgr.[Ch]:
12561         * trans.[Ch]:
12562         * lyxgluelength.C:
12563         * lyxlength.C: remove out-commented code.
12564
12565         * BufferView_pimpl:
12566         * CutAndPaste.C:
12567         * DepTable.C:
12568         * buffer.C:
12569         * chset.C:
12570         * lastfiles.C:
12571         * lyxlex.C:
12572         * lyxlex_pimpl.C:
12573         * lyxserver.C:
12574         * screen.C:
12575         * tabular-old.C:
12576         * tabular.C:
12577         * text.C:
12578         * trans_mgr.C:
12579         * vc-backend.C: change "while(" to "while ("
12580
12581         * lyxlength.[Ch]: add zero function to check if length is zero or
12582         not
12583         * lyxgluelength.C: use it
12584
12585 2001-12-05  Allan Rae  <rae@lyx.org>
12586
12587         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12588         Works for 2.95.3, from what I understand of Garst's reports this should
12589         work for other g++ versions.  We're screwed if the abs(int) definition
12590         changed between bugfix releases of gcc.
12591
12592 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * text.C: fix chapter label offset !
12595
12596 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * lyxtext.h:
12599         * text.C: fix hfill at end of line, clean up
12600
12601 2001-12-04  Juergen Vigna  <jug@sad.it>
12602
12603         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12604         that we force an update of the inset and it's owners if neccessary.
12605
12606 2001-12-03  Juergen Vigna  <jug@sad.it>
12607
12608         * text.C (rowLast): simplified code
12609
12610 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * lyxfunc.C: fix show options on timeout
12613
12614 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * screen.C (topCursorVisible): scroll half a page when the cursor
12617         reached top of bottom of screen
12618
12619 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * minibuffer.C: deactivate on loss of focus
12622
12623 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * vspace.[Ch] (operator!=): add operator.
12626
12627 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * BufferView_pimpl.C: refuse to open an inset when
12630         there's a selection.
12631
12632 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * BufferView_pimpl.C: allow to click on RHS of full row insets
12635
12636 2001-11-30  Juergen Vigna  <jug@sad.it>
12637
12638         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12639         insets for undo reasons.
12640
12641 2001-11-28  André Pönitz <poenitz@gmx.net>
12642
12643         * vspace.[Ch]: cosmetical changes
12644
12645 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * LyXAction.h:
12648         * LyXAction.C:
12649         * lyxfunc.h:
12650         * lyxfunc.C:
12651         * kbmap.h:
12652         * kbmap.C:
12653         * lyxrc.C:
12654         * kbsequence.h:
12655         * kbsequence.C: part re-write of old kb code
12656
12657         * Painter.C:
12658         * WorkArea.C: remove Lgb_bug_find_hack
12659
12660 2001-11-30  José Matos <jamatos@fep.up.pt>
12661
12662         * buffer.C (makeDocBookFile): add a comment to point a hack.
12663         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12664         Fixed a double write of labels.
12665
12666 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12667
12668         * LaTeX.C:
12669         * LaTeX.h Fixed bug in LaTeX class where it would not
12670         re-run latex if no depfiles were changed, but the .dvi was removed.
12671
12672 2001-11-28  André Pönitz <poenitz@gmx.net>
12673
12674         * all the files from the change on 2001/11/26:
12675         use lyx::layout_type instead of LyXTextClass::size_type
12676         use lyx::textclass_type instead of LyXTextClassList::size_type
12677
12678 2001-11-29  Juergen Vigna  <jug@sad.it>
12679
12680         * text.C: added support for paragraph::isFreeSpacing()
12681
12682         * buffer.C: same as above
12683
12684         * paragraph.h: inserted isFreeSpacing() function to enable
12685         FreeSpacing inside InsetERT.
12686
12687         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12688         of the paragraph's in the cut/copy buffer to 0!
12689
12690         * text2.C (removeRow): remove the assert as it can!
12691
12692         * lyxtext.h: added helper function firstRow returning firstrow and
12693         made firstrow private again.
12694
12695         * BufferView2.C (lockInset): don't relock if we're already locked!
12696
12697         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12698         the only paragraph.
12699         (removeRow): added Assert::(firstrow)
12700
12701         * debug.C: forgot to add INSETTEXT here.
12702
12703 2001-11-28  Juergen Vigna  <jug@sad.it>
12704
12705         * sp_spell.C (initialize): changed error text to more general
12706         spellchecker command use (not only ispell!)
12707
12708         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12709
12710         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12711
12712 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * vspace.C: initialise lyxgluelength on failure
12715
12716 2001-11-28  Allan Rae  <rae@lyx.org>
12717
12718         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12719         declaration & definition that looks like a function declaration.
12720
12721 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12722
12723         * BufferView2.C (copy):
12724         (copyEnvironment): do not clear the selection when doing a copy.
12725
12726         * text.C (paintFirstRow): compilation fix
12727
12728 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12729
12730         * tabular.C (Latex): correct line count when writing latex.
12731
12732 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12733
12734         * paragraph_pimpl.h:
12735         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12736           bug a bit
12737
12738 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12739
12740         * text.C:
12741         * LColor.h:
12742         * LColor.C: change vfillline->added_space
12743
12744         * text.C: add markers and text for added space
12745
12746         * vspace.C: fix comment
12747
12748 2001-11-28  André Pönitz <poenitz@gmx.net>
12749
12750         * paragraph.C: whitespace changes
12751         * all the other files from the change on 2001/11/26:
12752         change *::pos_type into lyx::pos_type
12753
12754 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12755
12756         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12757         language of the document when inserting error insets.
12758
12759 2001-11-26  André Pönitz <poenitz@gmx.net>
12760
12761         * BufferView_pimpl.[Ch]:
12762         *       CutAndPaste.C:
12763         * buffer.[Ch]:
12764         * lyxcursor.[Ch]:
12765         * lyxfind.C:
12766         * lyxfunc.C:
12767         * lyxrow.[Ch]:
12768         * paragraph.[Ch]:
12769         * paragraph_pimpl.[Ch]:
12770         * sp_spell.C:
12771         * text.C:
12772         * text2.C: reduce header dependencies, introduce type for positions
12773
12774 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12775
12776         * <various>: change to use Alert.h
12777
12778 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12779
12780         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12781         when encountering an unknown token.
12782         (readLyXformat2): Show an error message if there were unknown tokens.
12783
12784 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * BufferView2.C:
12787         * BufferView_pimpl.C:
12788         * buffer.C:
12789         * paragraph.h:
12790         * text.C:
12791         * text2.C: use par->isInset()
12792
12793 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * paragraph_pimpl.h:
12796         * paragraph_pimpl.C: cleanup
12797
12798 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12799
12800         * text2.C (removeRow):
12801         * text.C (setHeightOfRow): remove useless (and costly) call to
12802         getRow.
12803
12804 2001-11-20  Allan Rae  <rae@lyx.org>
12805
12806         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12807         Now need Inset*::checkInsertChar() to return true for appropriate
12808         cases so that the characters in the minibuffer will actually be
12809         inserted.
12810
12811 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * text.C: change the order of the includes.
12814         (workWidth): initialize it at once.
12815         (workWidth): make maxw unsigned
12816         (setHeightOfRow): remove unused variable (inset)
12817         (selectSelectedWord): remove unused variable (inset)
12818         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12819
12820 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12821
12822         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12823         server is not running.
12824         (openConnection):
12825         (closeConnection): add debug info when server is disabled.
12826
12827         * ColorHandler.C (getGCForeground): send debug message to GUI
12828         channel.
12829
12830         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12831
12832         * kbmap.C (bind): modify because return conventions of
12833         kb_sequence::parse have changed.
12834
12835         * kbsequence.C (parse): only ignore spaces and not any stupid
12836         control character. This avoids tests like s[i] <= ' ', which are
12837         guaranteed to fail with 8bit characters and signed chars.
12838         Change return code to string::npos when there have been no error
12839         (0 was a bad idea when error is at first character)
12840
12841 2001-11-14  José Matos  <jamatos@fep.up.pt>
12842
12843         * buffer.h:
12844         * buffer.C (simpleDocBookOnePar): removed unused argument.
12845
12846 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12847
12848         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12849         insets which are part of a word. Paragraph::isLetter takes care of
12850         that now. Use Paragraph::isInset to identify insets.
12851         (selectSelectedWord): do not test for hyphenation break.
12852
12853         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12854         that protected spaces are considered as spaces.
12855
12856         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12857         Inset::isLetter.
12858
12859 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12860
12861         * lyxserver.h:
12862         * lyxserver.C: fix it. and small cleanup.
12863
12864 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * BufferView_pimpl.C: use inline helpers
12867
12868         * LaTeXFeatures.h:
12869         * LaTeXFeatures.C: fix typos
12870
12871         * Spacing.h:
12872         * Spacing.C: move spacing_string into class
12873
12874         * ToolbarDefaults.C: move stuff into namespace anon
12875
12876         * layout.h: update enum
12877
12878         * lyxfunc.C: use better debug
12879
12880         * minibuffer.h: fix typo
12881
12882         * debug.h:
12883         * debug.C:
12884         * WorkArea.C: add and use Debug::WORKAREA
12885
12886         * lyxtext.h:
12887         * text.C:
12888         * text2.C: code re-organisation, inline helpers
12889
12890 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12891
12892         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12893         std::vector.empty().
12894
12895 2001-11-09  Allan Rae  <rae@lyx.org>
12896
12897         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12898         '\n's after tables.  Tabular and ERT inset work now makes this no
12899         longer necessary.
12900
12901 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * minibuffer.h:
12904         * minibuffer.C: fix crash, improve drop-down completion
12905
12906 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * lyxserver.h:
12909         * lyxserver.C: invalidate fd's when doing endPipe()
12910
12911 2001-11-08  José Matos  <jamatos@fep.up.pt>
12912
12913         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12914         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12915
12916         * paragraph.h:
12917         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12918
12919 2001-11-07  José Matos  <jamatos@fep.up.pt>
12920
12921         * buffer.h:
12922         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12923         const qualifier.
12924
12925         * buffer.C (sgmlOpenTag):
12926         * buffer.C (sgmlCloseTag): removed debug info.
12927
12928         * buffer.h (sgmlOpenTag):
12929         * buffer.h (sgmlCloseTag): made public.
12930
12931 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12932
12933         * buffer.C (saveParamsAsDefaults):
12934         * lyx_cb.C (MenuLayoutSave): remove
12935
12936         * LyXAction.C (init):
12937         * commandtags.h:
12938         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12939
12940 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * buffer.C (setPaperStuff): removed from here...
12943
12944         * bufferparams.C (setPaperStuff): ... and moved there.
12945
12946 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * minibuffer.h:
12949         * minibuffer.C:
12950         * XFormsView.C: add support for drop-down completion
12951
12952 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12953
12954         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12955         commands.
12956
12957 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12958
12959         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12960         disabled.
12961
12962 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * lyx_main.C: change ref to known bugs
12965
12966 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12967
12968         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12969         to work around older babel problems.
12970
12971 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12972
12973         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12974
12975 2001-10-24  Juergen Vigna  <jug@sad.it>
12976
12977         * tabular-old.C (ReadOld): below variable changes reflected.
12978
12979         * tabular.[Ch]: added ltType struct for longtable header/footer
12980         defines and changed all instances where they are used. Added
12981         future support for double top/bottom rows.
12982
12983 2001-10-24  José Matos  <jamatos@fep.up.pt>
12984
12985         * buffer.h (docbookHandleCaption):
12986         * buffer.C (docbookHandleCaption): removed unused function.
12987         (makeDocBookFile): moved docbook supported version to v4.1.
12988
12989 2001-10-24  José Matos  <jamatos@fep.up.pt>
12990
12991         * tabular.h:
12992         * tabular.C (docbookRow): new function to export docbook code of a row.
12993         (DocBook): now honors the longtable flags.
12994
12995 2001-10-23  José Matos  <jamatos@fep.up.pt>
12996
12997         * LaTeXFeatures.h:
12998         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12999         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13000
13001         * buffer.C (makeLinuxDocFile):
13002         (makeDocBookFile): reworked the preamble, more clean, and with
13003         support for lyx defined entities. Changed the document declaration
13004         to be more XML friendly.
13005
13006         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13007         if we need to output XML that should be done with a filter.
13008
13009 2001-10-22  Juergen Vigna  <jug@sad.it>
13010
13011         * sp_pspell.h (class PSpell): add alive function needed in the
13012         controller to see if the spellchecker could be started.
13013
13014 2001-10-22  Juergen Vigna  <jug@sad.it>
13015
13016         * buffer.C (insertStringAsLines): modify the font for inserting
13017         chars in certain conditions by calling checkInsertChar(font).
13018
13019 2001-10-19  Juergen Vigna  <jug@sad.it>
13020
13021         * text.C (workWidth): use getRow instead of wrong algorithm.
13022         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13023
13024 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * lyxserver.h:
13027         * lyxserver.C:
13028         * lyx_main.h:
13029         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13030
13031 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13032
13033         * text.C (workWidth): do not search for the exact row when
13034         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13035         optimization for big documents.
13036
13037 2001-10-18  Juergen Vigna  <jug@sad.it>
13038
13039         * text.C (workWidth): new function with added Inset * parameter.
13040
13041 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13042
13043         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13044
13045         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13046         change return type of getColumnNearX.
13047
13048
13049         * text.C (changeRegionCase): use uppercase/lowercase instead of
13050         toupper/tolower.
13051         (leftMargin):
13052         (rightMargin): simplify code by factoring out the uses of
13053         textclasslist.
13054         (labelFill):
13055         (numberOfHfills):
13056         (setHeightOfRow):
13057         (appendParagraph): use Paragraph::size_type
13058
13059 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13060
13061         * vspace.C (asLatexString): add a missing break
13062
13063 2001-10-15  Herbert Voss  <voss@perce.de>
13064
13065         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13066
13067 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13068
13069         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13070         is not available.
13071
13072 2001-10-10  André Pönitz <poenitz@gmx.net>
13073
13074         * lyxfunc.C: removed greek_kb_flag.
13075
13076 2001-10-10  Herbert Voss  <voss@perce.de>
13077
13078         * lyx_main.C: delete global string help_lyxdir.
13079
13080 2001-10-09  Herbert Voss  <voss@perce.de>
13081
13082         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13083
13084         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13085
13086         * lyx_main.C: added global string help_lyxdir.
13087
13088         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13089
13090 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13091
13092         * lyxrc.C (set_font_norm_type): support iso8859-4
13093
13094 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13095
13096         * LaTeX.C (deplog): add another regex for MikTeX
13097
13098 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13099
13100         * lyxrc.C (set_font_norm_type): support iso8859-3
13101
13102 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13103
13104         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13105
13106         * LaTeXFeatures.C: remove special case of french and index
13107
13108         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13109         before \begin{document}). This solves several incompatibilities.
13110
13111 2001-10-03  Garst Reese  <reese@isn.net>
13112
13113         * lyx_cb.C: change CheckTex error msg.
13114
13115 2001-10-03  José Matos  <jamatos@fep.up.pt>
13116
13117         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13118
13119 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13120
13121         * .cvsignore: update
13122
13123         * lyx_main.C (commandLineVersionInfo): use new style version info.
13124
13125         * buffer.C (writeFile):
13126         (makeLaTeXFile):
13127         (makeLinuxDocFile):
13128         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13129
13130         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13131
13132         * version.h: update to use stuff in version.C
13133
13134         * version.C.in: new file. Contains version information determined
13135         at compile time. This is a merging of version.h and
13136         version_info.h.in.
13137
13138 2001-10-03  Juergen Vigna  <jug@sad.it>
13139
13140         * BufferView_pimpl.C (update): don't change "dirty" status in
13141         updateInset call.
13142
13143 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13144
13145         * WorkArea.C (c-tor): re-position version string slightly.
13146
13147 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13148
13149         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13150         revert to previous code.
13151
13152         WorkArea.[Ch]: (show, destroySplash): methods removed.
13153
13154         WorkArea.C: rework code so that it's an amalgam of the codes before and
13155         after the splash screen was moved to WorkArea.
13156
13157 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13158
13159         * lyxrc.C (read):
13160         * vspace.C (inPixels):
13161         (lyx_advance):
13162         * kbmap.C (bind):
13163         * buffer.C (insertStringAsLines):
13164         (asciiParagraph): fix types to be large enough
13165
13166         * lyxlex_pimpl.h: change member status from short to int
13167
13168         * layout.h: fix type of endlabeltype
13169
13170         * kbmap.C (bind):
13171         * kbsequence.C (parse): change return type to string::size_type
13172
13173         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13174         variable
13175
13176         * Bullet.C (bulletSize):
13177         (bulletEntry): do not use short ints as parameters
13178
13179         * BufferView2.C (insertLyXFile): change a char to an int.
13180
13181         * WorkArea.C (WorkArea): remove unneeded floats in computation
13182
13183 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13184
13185         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13186
13187         * paragraph.C (asString): Do not ignore newline/hfill chars when
13188         copying to the clipboard.
13189
13190 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13191
13192         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13193         after a multi-line inset.
13194
13195 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13196
13197         * paragraph.C (validate): Set NeedLyXFootnoteCode
13198
13199 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13200
13201         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13202         and decrease-error to decrease.
13203
13204 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13205
13206         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13207         it more readable (should be equivalent)
13208
13209 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13210
13211         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13212
13213 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13214
13215         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13216         of a cursor (row, etc.) after a character has been deleted
13217         (deleteEmptyParagraphMechanism): call the method above on _all_
13218         cursors held by the LyXText when a double space has been
13219         detected/deleted.
13220
13221 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13224         pixmap.
13225         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13226
13227         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13228         background. Use greyOut() and the new show() methods to toggle between
13229         the foreground and background. Add code to remove the splash after
13230         its initial showing.
13231
13232         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13233         (create_forms): no longer call Dialogs::showSplash.
13234
13235 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * .cvsignore: add version_info.h
13238
13239 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13240
13241         * version_info.h.in: new file
13242
13243         * Makefile.am: add version_info.h.in
13244
13245         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13246         version_info.h instead of VERSION_INFO
13247
13248 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13249
13250         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13251         The ERT inset now returns string().
13252
13253 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13254
13255         * lyxtext.h, text.C (selectNextWord): renamed as
13256         selectNextWordToSpellcheck.
13257
13258         * text.C (selectNextWordToSpellcheck): Modified to not select
13259         words inside an ERT inset.
13260
13261 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * lyx_cb.C (MenuLayoutSave): change a bit the question
13264
13265         * sp_base.h: include <sys/types.h>
13266
13267 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13268
13269         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13270
13271 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13272
13273         * several files: fix typos in user-visible strings
13274
13275 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13276
13277         * text2.C (pasteSelection): do not set the selection, since it
13278         will be cleared later. Actually, the intent was to fix the way the
13279         selection was set, but I figured rmoving the code was just as good.
13280
13281 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13282
13283         * FontLoader.C (available): Check if font is available without
13284         loading the font.
13285
13286 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13287
13288         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13289
13290 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * lyxrc.[Ch]: added display_graphics variable and associated code.
13293
13294 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13295
13296         * bufferparams.C (hasClassDefaults): new method. Returns true if
13297         the buffer parameters correspond to known class defaults
13298
13299 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13300
13301         * XFormsView.C (show): set minimum size to the main window.
13302
13303 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13304
13305         * text2.C (copySelection):
13306         (cutSelection):
13307         * lyxfind.C (LyXReplace):
13308         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13309         LyXText::selectionAsString.
13310
13311         * paragraph.C (asString): add "label" argument to the second form
13312
13313         * text2.C (selectionAsString): add "label" argument and pass it to
13314         Paragraph::asString.
13315
13316 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13317
13318         * lyx_main.C (commandLineHelp): remove version information
13319
13320 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13321
13322         * lyx_main.C: add -version commandline option
13323
13324 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13325
13326         * paragraph.h: make the optional constructor arg required instead.
13327         some modifications to other files because of this.
13328
13329         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13330
13331         * lyxserver.C (C_LyXComm_callback): make it static
13332
13333         * lyx_main.C (error_handler): make it static
13334
13335         * lyx_gui.C (LyX_XErrHandler): make it static
13336
13337         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13338
13339         * WorkArea.C: make the extern "C" methods static.
13340
13341         * Makefile.am (lyx_LDADD): simplify
13342
13343 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13344
13345         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13346         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13347
13348         * LyXAction.C (init):
13349         * lyxfunc.C (dispatch): associated code removal.
13350
13351 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * lyxfont.h (isSymbolFont): shut off warning
13354
13355         * text.C (setHeightOfRow):
13356         (getVisibleRow): fix crash with empty paragraphs which have a
13357         bottom line
13358
13359 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13360
13361         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13362         code.
13363
13364 2001-09-04  José Matos  <jamatos@fep.up.pt>
13365         * buffer.C
13366         * buffer.h
13367         * tabular.C (docbook): rename docBook method to docbook.
13368
13369 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13370
13371         * Makefile.am: add dependencies to main.o.
13372
13373 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13374
13375         * FontLoader.C (available): Return false if !lyxrc.use_gui
13376
13377 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13378
13379         * FontInfo.C (query):
13380         * converter.C (view):
13381         * importer.C (Import):
13382         * exporter.C (Export): Can not -> cannot.
13383
13384 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13385
13386         * BufferView_pimpl.C: allow to create index inset even if
13387           string is empty
13388
13389 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13390
13391         * buffer.C (getLists): replace boost::tie code with an explicit pair
13392         as boost::tie can break some compilers.
13393
13394         * iterators.h: Added a std:: declaration to the return type of
13395         ParIterator::size.
13396
13397 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13398
13399         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13400           case.
13401
13402 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13403
13404         * iterators.[Ch]: New files. Provide paragraph iterators.
13405
13406         * buffer.C (changeLanguage): Use paragraph iterators.
13407         (isMultiLingual): ditto
13408
13409         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13410
13411 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13412
13413         * FontLoader.C: Support for cmr font.
13414
13415 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13416
13417         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13418         (available): New method.
13419
13420         * FontInfo.C (getFontname): Use scalable fonts even when
13421         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13422         found.
13423
13424 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         * converter.C (Formats::view): reverted! Incorrect fix.
13427
13428 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13429
13430         * converter.C (Formats::view): only output the -paper option
13431         if the dvi viewer is xdvi, thereby fixing bug #233429.
13432
13433 2001-08-23  Herbert Voss  <voss@perce>
13434
13435         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13436
13437 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13438
13439         * Spacing.h (Spacing): Set space to Default on in the default
13440         constructor.
13441
13442 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * vc-backend.h (RCS::versionString): add RCS to version
13445         (CVS::versionString): add CVS to version
13446
13447         * vc-backend.C (scanMaster): do not add CVS to version.
13448         (scanMaster): do not add RCS to version
13449
13450         * lyxvc.C (versionString): new method
13451
13452         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13453
13454 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * Spacing.C (set): initialize fval
13457
13458 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13459
13460         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13461         " or \.
13462
13463 2001-08-16  Juergen Vigna  <jug@sad.it>
13464
13465         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13466
13467 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13468
13469         * BufferView_pimpl.C:
13470         * figureForm.C:
13471         * lyxtext.h:
13472         * text2.C: setParagraph takes linespacing now
13473
13474 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * LyxAction.C: add internal LFUN_CITATION_INSERT
13477
13478         * LyXView.C: actually apply fix
13479
13480         * bufferlist.C: fix open non-existent file
13481
13482         * lyxfind.C: fix indentation
13483
13484         * lyxfunc.C: remove unneeded assert, fix typo
13485
13486 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13487
13488         * MenuBackend.C: use "Floatname List"
13489
13490 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13491
13492         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13493         when converting LaTeX layout to insetERT.
13494         Generate a non-collapsed float when reading old float
13495
13496 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13497
13498         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13499         ERT insets.
13500
13501 2001-08-13  Juergen Vigna  <jug@sad.it>
13502
13503         * text.C (fill): return 0 instead of 20 as this seems to be the more
13504         correct value.
13505
13506 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13507
13508         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13509         lyxrc.font_norm.
13510
13511 2001-08-13  Juergen Vigna  <jug@sad.it>
13512
13513         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13514         casesensitive off.
13515         (SearchBackward): comment out the unlocking of the inset_owner this
13516         should not be needed!
13517
13518 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13519
13520         * Many files: Remove inherit_language, and add latex_language
13521
13522         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13523         collapsible insets.
13524
13525 2001-08-10  Juergen Vigna  <jug@sad.it>
13526
13527         * text.C (prepareToPrint): fixed hfill-width in draw!
13528
13529         * BufferView2.C (selectLastWord): save the selection cursor as this
13530         now is cleared in the function LyXText::clearSelection!
13531
13532 2001-08-08  Juergen Vigna  <jug@sad.it>
13533
13534         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13535         BACKSPACE type functions.
13536
13537         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13538         is only cutted from the document but not put in the cut-buffer, where
13539         still the old stuff should be.
13540
13541         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13542
13543         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13544
13545         * tabular.C (SetWidthOfCell): fixed special case where the width
13546         was not updated!
13547         (LeftLine): handle '|' in align_special.
13548         (RightLine): ditto
13549         (LeftAlreadyDrawed): ditto
13550         (SetWidthOfCell): ditto
13551
13552 2001-08-07  Juergen Vigna  <jug@sad.it>
13553
13554         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13555
13556 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13557
13558         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13559         * lyxlex.[hC]: ditto
13560
13561 2001-08-06  Juergen Vigna  <jug@sad.it>
13562
13563         * text.C (getVisibleRow): fix up row clearing a bit.
13564
13565 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13566
13567         * minibuffer.C: make sure the X server sees the changes in the input.
13568
13569 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13570
13571         * paragraph.C (getFont): split into...
13572         (getLabelFont): this
13573         (getLayoutFont): and this
13574         * paragraph_pimpl.C (realizeFont): calling this
13575
13576         * text2.C (getFont): split into...
13577         (getLayoutFont): this
13578         (getLabelFont): and this
13579         (realizeFont): all three calling this
13580
13581         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13582         files where used.
13583
13584 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13585
13586         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13587
13588 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13589
13590         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13591         layouts from the Quote inset insertion.
13592
13593 2001-08-03  Juergen Vigna  <jug@sad.it>
13594
13595         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13596
13597         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13598         only if status not is already CHANGED_IN_DRAW (second level).
13599
13600         * text.C (draw): don't set the need_break_row when inside an
13601         InsetText LyXText.
13602
13603 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * buffer.C (parseSingleLyXformat2Token): handle more latex
13606         conversion cases.
13607
13608         * bufferview_funcs.[hC]: change function names to
13609         begin with small char, adjust other files.
13610
13611 2001-08-02  André Pönitz <poenitz@gmx.net>
13612
13613         * lyxfunc.C:
13614         BufferView_pimpl.C: remove broken special code for math-greek
13615
13616 2001-08-02  Juergen Vigna  <jug@sad.it>
13617
13618         * BufferView_pimpl.C (update): redone this function so that we
13619         update the text again if there was a CHANGE_IN_DRAW.
13620
13621         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13622         (drawFromTo): added a new internal bool which is used by draw() and
13623         redraw() function.
13624         (general): some cursor drawing problems fixed.
13625
13626 2001-08-01  Juergen Vigna  <jug@sad.it>
13627
13628         * lyxfind.C (LyXFind): fixed
13629         (SearchForward): ditto
13630         (SearchBackward): ditto
13631
13632         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13633         spurius drawing of the cursor in the main area.
13634
13635         * text2.C (status): small fix which could lead to a segfault!
13636         (clearSelection): remove unneeded BufferView param.
13637
13638 2001-08-01  André Pönitz <poenitz@gmx.net>
13639
13640         * lyxfunc.C: small change due to changed mathed interface
13641
13642 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13645
13646 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13647
13648         * lyxfunc.c: fail gracefully if file doesn't exist
13649
13650         * LyXSendto.C:
13651         * buffer.C:
13652         * lyxfunc.C:
13653         * BufferView_pimpl.C: IsDirWriteable() proto changed
13654
13655         * LyXView.C: fix updateWindowTitle() to store the last title
13656
13657 2001-07-31  Juergen Vigna  <jug@sad.it>
13658
13659         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13660         the font (wrong since using of Paragraph::highestFontInRange).
13661
13662         * paragraph.C (highestFontInRange): added a default_size parameter.
13663
13664         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13665         (setHeightOfRow): reformat
13666
13667 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * converter.[hC] + affected files: move to (inital-char)lowercase
13670         function names.
13671
13672         * ParagraphParameters.C (ParagraphParameters): remove commented code
13673
13674         * PainterBase.[Ch]: remove commented code
13675
13676         * LaTeXFeatures.h: add "bool floats" for float.sty
13677
13678         * LaTeXFeatures.C (LaTeXFeatures): init floats
13679         (require): handle float
13680         (getPackages): do it with floats
13681
13682 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * BufferView_pimpl.C (Dispatch): improve handling of
13685         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13686
13687         * commandtags.h: #include lyxfont.h here temporarily to avoid
13688         keybinding bug.
13689
13690         * bufferlist.h: include LString.h here.
13691
13692 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13693
13694         * text2.C (getStringToIndex): new method.
13695
13696 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13697
13698         * *: Reduced header file dependencies all over.
13699
13700 2001-07-30  Baruch Even  <baruch@lyx.org>
13701
13702         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13703
13704 2001-07-29  Baruch Even  <baruch@lyx.org>
13705
13706         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13707
13708 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13709
13710         * ParameterStruct.h (endif): add a default constructor to make
13711         sure that all variables is initialized.
13712
13713         * ParagraphParameters.C (ParagraphParameters): adjust
13714
13715 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13718         index; also, check that there is something to index, and that it
13719         does not span over several paragraphs.
13720         (doubleClick): use WHOLE_WORD_STRICT for double click.
13721
13722         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13723
13724         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13725         scheme.
13726
13727 2001-07-26  Baruch Even  <baruch@lyx.org>
13728
13729         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13730         an InsetFig figure, backwards compatible reading of old figure code.
13731
13732 2001-07-27  Juergen Vigna  <jug@sad.it>
13733
13734         * text2.C: font.realize function adaption.
13735
13736         * text.C (draw): add a warnings lyxerr text if needed.
13737
13738         * layout.C: font.realize function adaption.
13739
13740         * language.C: add inherit_language and implement it's handlings
13741
13742         * bufferview_funcs.C (StyleReset): remove language parameter from
13743         font creation (should be language_inherit now).
13744
13745         * bufferparams.C (writeFile): handle ignore_language.
13746
13747         * paragraph.C (getFontSettings): the language has to be resolved
13748         otherwise we have problems in LyXFont!
13749
13750         * lyxfont.C (lyxWriteChanges): added document_language parameter
13751         (update): removed unneeded language parameter
13752
13753         * paragraph.C (validate): fixed wrong output of color-package when
13754         using interface colors for certain fonts in certain environments,
13755         which should not seen as that on the final output.
13756
13757 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13758
13759         * BufferView_pimpl.C:
13760         * Thesaurus.h:
13761         * Thesaurus.C:
13762         * Makefile.am:
13763         * commandtags.h:
13764         * LyXAction.C: add thesaurus support
13765
13766         * lyxfind.h:
13767         * lyxfind.C: add "once" parameter, for thesaurus, to not
13768           move to the next match
13769
13770 2001-07-26  Juergen Vigna  <jug@sad.it>
13771
13772         * lyxfont.C (realize): honor ignore_language too!
13773         (resolved): ditto.
13774
13775         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13776
13777         * text.C (draw): one place more for ignore_language to not draw
13778         itself!
13779
13780 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13781
13782         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13783
13784 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13785
13786         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13787         the minipage conversion problem.
13788
13789 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13790
13791         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13792         insert an inset.
13793
13794 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13795
13796         * BufferView.h: don't forward declare WorkArea
13797
13798         * BufferView.C: don't include WorkArea.h
13799
13800 2001-07-25  André Pönitz <poenitz@gmx.net>
13801
13802         * commandtags.h:
13803         * LyXAction.C:
13804         * lyxfunc.C:  new LFUN 'math-space'
13805
13806         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13807
13808 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13809
13810         * text2.C (toggleInset): call open/close
13811
13812 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13813
13814         * lyxfunc.C (dispatch): add debug for the disabled case
13815
13816         * font.C (buttonText): make similar to rectText
13817
13818         * buffer.C (readInset): comment out parsing of insetlist and
13819         insttheorem
13820
13821         * PainterBase.C (rectText): small correction
13822
13823         * BufferView_pimpl.C: comment out insettheorem and insetlist
13824         * LyXAction.C: ditto
13825         * commandtags.h: ditto
13826
13827 2001-07-24  Juergen Vigna  <jug@sad.it>
13828
13829         * text.C (draw): honor the ignore_language.
13830
13831         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13832
13833 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13834
13835         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13836         char inset.
13837
13838 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13839
13840         * lyxtext.h: remove unused (and unimplemented) methods
13841
13842 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13843
13844         * text.C (getVisibleRow): honor background color
13845
13846         * PainterBase.h:
13847         * Painter.h: remove default color argument for fillRectangle
13848
13849         * text.C (backgroundColor): new method
13850
13851 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13852
13853         * text.C (getVisibleRow): adjust
13854
13855         * font.[Ch] (rectText): new method, metrics
13856         (buttonText): new method, metrics
13857
13858         * PainterBase.[hC]: make rectText and buttonText always draw and take
13859         fewer paramteres.
13860
13861 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13862
13863         * ToolbarDefaults.C (read):
13864         * MenuBackend.C (read): allow escaping in all strings
13865
13866         * BufferView_pimpl.C (insertAndEditInset): new method.
13867         (Dispatch): use insertAndEditInset whenever appropriate.
13868
13869         * BufferView_pimpl.C (insertNote): removed
13870
13871         * BufferView_pimpl.C (smartQuote): new method, moved from
13872         BufferView; if an insetquote cannot be inserted, insert a '"'
13873         character instead.
13874
13875         * BufferView2.C: remove insertCorrectQuote();
13876
13877         * lyxfunc.C (getStatus): Add support for all remaingin
13878         inset-insert lfuns.
13879
13880         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13881
13882         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13883         command (necessary to pass " as parameter of self-insert.
13884
13885         * text.C (selectWordWhenUnderCursor):
13886         (selectWord): add word_location parameter
13887         (selectWordWhenUnderCursor): same + remove special code for word
13888         boundary.
13889         (selectNextWord): use kind() to guess type of insetspecialchar,
13890         not latex().
13891
13892         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13893         (insertErtContents): create ert insets as collapsed.
13894         (readInset): better compatibility code for Info inset.
13895
13896 2001-07-20  Juergen Vigna  <jug@sad.it>
13897
13898         * lyxfunc.C (dispatch): use always LyXFind now!
13899
13900         * text2.C (init): add a reinit flag so that the LyXText can be
13901         reinited instead of deleted and reallocated (used in InsetText).
13902
13903         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13904
13905         * text.C: ditto
13906
13907         * text2.C: ditto
13908
13909 2001-07-18  Juergen Vigna  <jug@sad.it>
13910
13911         * text.C (selectNextWord): handle insets inside inset by calling
13912         always the bv->text functions so that we can go up the_locking_inset!
13913
13914         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13915         in strange locations when inside an inset!
13916
13917         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13918         handling to include insets.
13919
13920         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13921
13922 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13923
13924         * LyXAction.C (init):
13925         * commandtags.h:
13926         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13927         LIGATURE_BREAK, since the name is so stupid.
13928
13929 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13930
13931         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13932         InsetInfos.
13933
13934         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13935
13936         * sp_form.[Ch]: remove.
13937
13938         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13939
13940         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13941         InsetInfo.
13942
13943         * src/buffer.C (readInset): ditto.
13944
13945 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13946
13947         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13948         menuSeparator(), endOfSentenceDot(), ldots() and
13949         hyphenationPoint(), which are therefore removed.
13950         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13951
13952         * LyXAction.C (init):
13953         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13954
13955         * paragraph.C (getWord): removed.
13956
13957         * BufferView_pimpl.C (Dispatch): use last word or selection for
13958         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13959
13960         * lyx_main.C (queryUserLyXDir): do not ask before creating
13961         user_dir, except if it has been named explicitely.
13962
13963 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13966         a document of zero size.
13967
13968 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13969
13970         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13971         approriately in the c-tor and in require().
13972         (getPackages): output the appropriate LaTeX for natbib support.
13973
13974         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13975         variables "use_natbib" and "use_numerical_citations" when reading the
13976         LyX file.
13977         (readInset): read the various natbib cite commands.
13978         (validate): white-space change.
13979
13980         * bufferparams.[Ch]: new variables "bool use_natbib" and
13981         "bool use_numerical_citations".
13982         (writeFile): output them in the LyX file.
13983
13984 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13985
13986         * lyxfunc.C (getStatus): add support for all the inset insertion
13987         commands.
13988
13989         * text2.C (insertInset):
13990         * paragraph.C (insetAllowed):
13991         * BufferView_pimpl.C (insertInset): update to take in account the
13992         renaming of insertInsetAllowed
13993
13994         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13995
13996         * text2.C (getInset): new method. returns inset at cursor position.
13997
13998         * BufferView_pimpl.C (Dispatch): changes because of this.
13999
14000         * LyXAction.C (init): rename open-stuff to inset-toggle.
14001
14002         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14003
14004         * text2.C (toggleInset): renamed from openStuff; use
14005         Inset::open().
14006
14007 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14008
14009         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14010
14011         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14012
14013 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14014
14015         * buffer.C (readLyXformat2): Add filename to the error dialog
14016
14017 2001-07-18  Juergen Vigna  <jug@sad.it>
14018
14019         * tabular.C (GetCellNumber): put an assert here instead of the check!
14020
14021 2001-07-17  Juergen Vigna  <jug@sad.it>
14022
14023         * BufferView_pimpl.C (toggleSelection): adapted too.
14024
14025         * text.C (selectNextWord): adapted for use with insets.
14026         (selectSelectedWord): ditto
14027
14028 2001-07-17  Juergen Vigna  <jug@sad.it>
14029
14030         * sp_spell.C (PSpell): fix initialitation order.
14031
14032 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * paragraph.C: spacing
14035
14036 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14037
14038         * sp_spell.C: repair language selection for pspell
14039
14040 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14041
14042         * lyxfunc.h: change more methods to begin with lower char.
14043
14044 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14045
14046         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14047         for unknown layouts.
14048
14049 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14050
14051         * buffer.C (readLyXformat2): Generate an error dialog if there are
14052         unknown layouts.
14053
14054 2001-07-16  Juergen Vigna  <jug@sad.it>
14055
14056         * sp_spell.C: always compile ISpell part.
14057
14058         * lyxrc.C: added use_pspell entry and it's handling.
14059
14060 2001-07-13  Juergen Vigna  <jug@sad.it>
14061
14062         * sp_spell.C: removed double includes.
14063
14064 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14065
14066         Consistent use of Lsstream.h:
14067         * Lsstream.h: added using std::stringstream for consistencies sake.
14068
14069         * buffer.C: removed using std::stringstream
14070
14071         * lyxfont.C (stateText):
14072         * paragraph.C (asString):
14073         * text.C (selectNextWord, selectSelectedWord):
14074         * text2.C (setCounter):
14075         * vspace.C (asString, asLatexString):
14076         std::ostringstream -> ostringstream.
14077
14078 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14079
14080         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14081         * commandtags.h: add LFUN_HELP_ABOUTLYX
14082         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14083
14084 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14085
14086         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14087         cursorToggle()
14088         * lyx_gui_misc.C: remove spellchecker
14089         * lyxfunc.C: showSpellchecker
14090         * sp_base.h: added
14091         * sp_ispell.h: added
14092         * sp_pspell.h: added
14093         * sp_spell.C: added
14094         * sp_form.[Ch]: removed
14095         * spellchecker.[Ch]: removed
14096
14097 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14098
14099         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14100         is set.
14101         (simpleTeXSpecialChars): Simply print the input character without
14102         any special translation if pass_thru is set.
14103
14104         * layout.h: Added bool pass_thru to layout class for being able to
14105         implement pass through of a paragraph for Literate Programming.
14106
14107         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14108         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14109         * layout.C (Read): add "passthru" to list of layout tags and add
14110         code to set the pass_thru boolean when it is read.
14111
14112 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * trans_decl.h: remove allowed from KmodInfo
14115
14116         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14117         remove allowed code
14118         (Load): adjust
14119
14120         * paragraph_pimpl.C (erase): use boost::prior
14121
14122         * Painter.C (text): use data() instead of c_str() when length is
14123         also provided.
14124         * WorkArea.C (putClipboard): ditto
14125         * font.h (width): ditto
14126
14127         * BufferView2.C: use it-> instead of (*it). for iterators
14128         * texrow.C: ditto
14129         * paragraph_pimpl.C: ditto
14130         * paragraph.C: ditto
14131         * minibuffer.C: ditto
14132         * language.C: ditto
14133         * kbmap.C: ditto
14134         * encoding.C: ditto
14135         * counters.C: ditto
14136         * converter.C: ditto
14137         * chset.C: ditto
14138         * Variables.C: ditto
14139         * TextCache.C: ditto
14140         * MenuBackend.C: ditto
14141         * LyXAction.C: ditto
14142         * LColor.C: ditto
14143         * FloatList.C: ditto
14144         * DepTable.C: ditto
14145         * ColorHandler.C (LyXColorHandler): ditto
14146
14147 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14150
14151         * text2.C (openStuff): reintroduce this method (which had been
14152         nuked in NEW_INSETS frenzy).
14153
14154         * lyxfunc.C (Dispatch): when an action has not been handled, use
14155         its name in the error message, not its number.
14156
14157         * paragraph.C (inInset): change method name to begin with lowercase.
14158
14159         * undo_funcs.C:
14160         * text2.C: updates because of this.
14161
14162 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * ToolbarDefaults.C (add): add spaces in error message
14165
14166 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14167
14168         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14169         (readLyXformat2): rename return_par to first_par, use lyxlex's
14170         pushToken and remove the manual push handling.
14171         (parseSingleLyXformat2Token): add another ert comp. variable:
14172         in_tabular, rename return_par to first_par. handle newlines better
14173
14174 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14175
14176         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14177
14178 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14179
14180         * text2.C (getParFromID): removed
14181
14182         * buffer.C (getParFromID): new method moved form lyxtext.
14183         * BufferView2.C (insertErrors): adjust
14184         (setCursorFromRow): adjust
14185         * BufferView_pimpl.C (restorePosition): adjust
14186         * lyxfunc.C (Dispatch): adjust
14187         * undo_funcs.C (textUndo): adjust
14188         (textRedo): adjust
14189         (textHandleUndo): adjust
14190         (textHandleUndo): adjust
14191
14192 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * buffer.C: up' the LYX_FORMAT
14195
14196         * lyxfont.h: turn NO_LATEX on as default
14197
14198         * buffer.C (insertErtContents): new methods of tex style compability.
14199         (parseSingleLyXformat2Token): use it several places.
14200         * tabular.C (OldFormatRead): and here
14201
14202 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14203
14204         * text2.C: remove some commented code.
14205         reindent file.
14206
14207         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14208         * trans.C: changes because of the above.
14209
14210 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14211
14212         * text2.C (setCounter): Fix counters bug with bibliography layout.
14213
14214 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14215
14216         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14217         own member functions
14218         (simpleTeXSpecialChars): ditto
14219
14220 2001-07-06  Juergen Vigna  <jug@sad.it>
14221
14222         * a lot of files: changed the access to LyXText::status and the
14223         call of undo-functions.
14224
14225         * undo.[Ch]: added a inset_id to the undo informations.
14226
14227         * undo_funcs.[Ch]: added and moved here all undo functions.
14228
14229         * lyxtext.h: give the status enum a weight, made status_ a private
14230         variable and made accessor functions for it, removed the whole bunch
14231         of undo-functions as they are now in their own file, make some
14232         functions publically available. Added function ownerParagraph with
14233         int parameter.
14234
14235         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14236         made InInset() a const function, added getParFromID() function.
14237
14238         * buffer.[Ch]: added const version for inset_iterator functions,
14239         added getInsetFromID() function.
14240
14241         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14242         changed undo functions for new version.
14243
14244 2001-07-05  Juergen Vigna  <jug@sad.it>
14245
14246         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14247         unknow mechanism does not call the proper constructor but only this
14248         one also if I request the other!?
14249
14250 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14251
14252         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14253
14254         * text2.C (LyXText): use initialization lists.
14255
14256         * lyxtext.h (Selection): initialize set_ and mark_
14257         (init): remove method
14258
14259 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14260
14261         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14262
14263 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14264
14265         * screen.[Ch]: change method names to begin with lowercase
14266
14267         * BufferView_pimpl.C (updateScrollbar): simplify further and
14268         hopefully make it a bit faster.
14269
14270 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14271
14272         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14273         calling directly xforms functions.
14274
14275         * Painter.C (Painter):
14276         * lyx_cb.C (MenuWrite):
14277         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14278         fl_display.
14279
14280         * lyx_gui.C: remove bogus guiruntime extern declaration.
14281
14282 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14283
14284         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14285         in NEW_INSETS
14286         (redoDrawingOfParagraph): ditto
14287         (redoParagraphs): ditto
14288         (cutSelection): don't create a object for CutAndPaste use the
14289         static method directly
14290         (pasteSelection): ditto
14291
14292         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14293         LyXview (+ rename)
14294
14295 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14296
14297         * modifications to some other files because of this.
14298
14299         * Makefile.am (lyx_SOURCES): add XFormsView
14300
14301         * XFormsView.[Ch]: new files
14302
14303         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14304         the main window. Move the gui dependent stuff to XFormsView
14305
14306 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * tabular.C (GetCellInset): update cur_cell also in the row/col
14309         version of this function.
14310
14311         * lyxfunc.C: no need to include figure_form.h here.
14312
14313         * FontLoader.h:
14314         * lyxfunc.h:
14315         * lyxscreen.h:
14316         * text2.C:
14317         * lyxvc.C: no need to include forms.h here.
14318
14319 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14320
14321         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14322
14323         * lyxfunc.C (Dispatch):
14324         * Spacing.C (set):
14325         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14326         constructor argument.
14327
14328 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14329
14330         * paragraph.C (Paragraph): dont't clear, and just set layout.
14331         (makeSameLayout): use params's copy contructor.
14332
14333         * ParagraphParameters.[Ch] (makeSame): delete method
14334
14335 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * Variables.[Ch]: fix indentation, rename set to isSet
14338
14339 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14340
14341         * lyxfunc.C (Dispatch): fix typo
14342
14343 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14344
14345         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14346         upper_bound.
14347
14348         * bufferlist.C: include assert.h for emergencyWrite().
14349
14350 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14351
14352         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14353           give up at last (bug #425202) !
14354
14355 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * lyx_gui_misc.C:
14358         * sp_form.h:
14359         * sp_form.C:
14360         * spellchecker.h:
14361         * spellchecker.C: strip spellchecker options and bring up
14362           preferences tab instead
14363
14364 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14365
14366         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14367         the istringstream constructor
14368
14369 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14370
14371         * paragraph.C (getLayout): fix return value
14372
14373         * paragraph.h: do not declare getLayout as inline.
14374
14375         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14376
14377 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14378
14379         * lyxcursor.h (operator<): new func
14380         (operator>): new func
14381         (operator>=): new func
14382         (operator<=): new func
14383
14384         * text.C (changeCase): use selection.start and selection.end
14385         (changeRegionCase): require from to be <= to. Require par to be a
14386         valid paragraph.
14387
14388         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14389
14390 2001-06-27  Juergen Vigna  <jug@sad.it>
14391
14392         * text.C (cursorLeftOneWord): changed to return the cursor and added
14393         overlay with BufferView * parameter which calls this one.
14394         (getWord): added
14395         (selectWord): use new getWord function.
14396         (changeCase): renamed from changeWordCase as and extended to work
14397         also on selections.
14398
14399         * lyxtext.h: added enum word_location
14400
14401         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14402         changeCase as this operates now also on selections.
14403
14404 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14405
14406         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14407
14408         * many files: send debug output to Debug::INFO instead of
14409         Debug::ANY.
14410
14411         * converter.C (View):
14412         (Convert):
14413         (Move): send debug output to Debug::FILES instead of console.
14414
14415 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14416
14417         * lyxfunc.C (getStatus): use func_status
14418
14419         * func_status.h: new header, describing the results of
14420         LyXFunc::getStatus;
14421
14422         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14423         LFUN_MATH_HALIGN.
14424
14425 2001-06-25  The LyX Project  <jug@sad.it>
14426
14427         * buffer.C (sgmlOpenTag):
14428         (sgmlCloseTag):
14429         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14430
14431 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14432
14433         * text2.C: remove some dead code
14434
14435         * tabular.C (GetCellInset): store the last cell checked (gotten)
14436
14437         * tabular.h: add the helper for the speedup
14438
14439         * lyxtext.h: remove some dead code
14440
14441 2001-06-26  The LyX Project  <Asger>
14442
14443         * paragraph.C: Change export to LaTeX of alignment to
14444         \begin{center} and family for better roundtrip work with reLyX.
14445
14446         * Tune the math drawing a bit.
14447
14448 2001-06-25  The LyX Project  <Asger>
14449
14450         * LColor.C (LColor): New color for math background. New color
14451         for buttons.
14452
14453 2001-06-25  The LyX Project  <jug@sad.it>
14454
14455         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14456
14457         * lyxfunc.C (Open):
14458         * bufferlist.C (newFile): do not restrict to files ending with
14459         .lyx
14460
14461         * BufferView_pimpl.C (MenuInsertLyXFile):
14462
14463 2001-06-24  The LyX Project  <jug@sad.it>
14464
14465         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14466         of compare_no_case
14467
14468 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469
14470         * lyxtext.h: rename most methods to begin with a small char.
14471         Lots of changes because of this.
14472
14473         * paragraph.C (Paragraph): do not call fitToSize
14474         (erase): call Pimpl::erase
14475         (insertChar): call Pimpl::insertChar
14476         (insertInset): call Pipl::insertInset
14477         (breakParagraph): do not call fitToSize
14478         (breakParagraphConservative): do not call fitToSize
14479         (fitToSize): remove method
14480
14481         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14482
14483 2001-06-24  The LyX Project  <Asger>
14484
14485         * Fix Qt compilation^2
14486
14487 2001-06-24  The LyX Project  <jug@sad.it>
14488
14489         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14490         depthHook(getDepth()-1).
14491
14492         * paragraph.h:
14493         * ParagraphParameters.h:
14494         * ParameterStruct.h: change type of depth to unsigned int ==
14495         depth_type. Many adaptations to other files before of that.
14496
14497 2001-06-24  The LyX Project  <Asger>
14498
14499         * Fix Qt compilation.
14500
14501 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14502
14503         * paragraph.h: renamed several methods to begin with small letter.
14504         several changes to many parts of the code because of this.
14505
14506 2001-06-23  The LyX Project  <jug@sad.it>
14507
14508         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14509         rewritten to discard all double spaces when KeepEmpty is off
14510         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14511         to only handle newlines but not fiddle with spaces and friends.
14512
14513         * lyxfunc.C (MenuNew): when doing 'new from template', use
14514         template_path as default directory
14515
14516 2001-06-23  The LyX Project  <Asger>
14517
14518         * Clean-up of header file includes all over
14519         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14520
14521 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * paragraph.h: renamed from lyxparagraph.h
14524
14525 2001-06-23  Asger  <lyx@violet.home.sad.it>
14526
14527         * Buffer.h: Removed Buffer::resize
14528         * BufferList.h: Removed BufferList::resize
14529         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14530         the document lazily when we change the width, or the font settings.
14531
14532 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14533
14534         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14535
14536 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14537
14538         * buffer.h: remove out of date comment
14539
14540 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14541
14542         * lyxscreen.h:
14543         * screen.C: fix "theoretical" GC leak
14544
14545 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * LaTeX.C (scanAuxFile):
14548         (deplog): remove trailing \r when reading stream (useful under
14549         win32)
14550
14551 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14552
14553         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14554         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14555         and BufferView::theLockingInset(Inset*), so should use them and not
14556         access bv_->text->the_locking_inset directly.
14557
14558         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14559
14560 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14561
14562         * Makefile.am:
14563         * tex-defs.h: remove old unused file
14564
14565 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * BufferView_pimpl.C: fix typo, remove minibuffer message
14568           when buffer has loaded
14569
14570 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * lyxfunc.C (Dispatch): use stringstream
14573         (MenuNew): use stringstream
14574         (Open): use stringstream
14575
14576         * importer.C (Import): use stringstream
14577
14578         * bufferview_funcs.C (CurrentState): use stringstream
14579
14580         * LaTeX.C (run): use stringstream
14581
14582         * BufferView_pimpl.C (savePosition): use stringstream
14583         (restorePosition): use stringstream
14584         (MenuInsertLyXFile): use stringstream
14585
14586 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14587
14588         * BufferView.C:
14589         * Bullet.C:
14590         * ColorHandler.C:
14591         * FontInfo.C:
14592         * FontLoader.C:
14593         * LColor.C:
14594         * LaTeXFeatures.C:
14595         * Painter.C:
14596         * gettext.C:
14597         * lyx_gui_misc.C:
14598         * lyxserver.C:
14599         * vspace.C: removed // -*- C++ -*- as first line.
14600
14601         * lyxfind.h:
14602         * version.h: added // -*- C++ -*- as first line.
14603
14604 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14605
14606         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14607
14608         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14609         of string
14610
14611 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14612
14613         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14614         of floats.
14615
14616 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * gettext.C: include LString.h even when --disable-nls is on.
14619
14620 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14621
14622         * converter.h (Get): changed argument type from int to
14623         FormatList::size_type to avoid unnecessary conversion.
14624
14625         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14626         before using it.
14627
14628 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14629
14630         * gettext.h: include LString.h even when --disable-nls is on.
14631
14632 2001-06-07  Juergen Vigna  <jug@sad.it>
14633
14634         * text.C (BreakAgain): subst spaces with tabs.
14635
14636         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14637         (resizeInsetsLyXText): set force on resizeLyXText.
14638
14639 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * gettext.h (gettext_init):
14642         (locale_init): use a real definition instead of a macro
14643
14644 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14645
14646         * Bufferview_pimpl.C:
14647         * LColor.h:
14648         * LColor.C: further lcolor tidies
14649
14650 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14651
14652         * BufferView_pimpl.C (updateScrollbar): simplify.
14653
14654         * BufferView2.C: don't include insets/insetinfo.h, change
14655         prototype for insertInset and call the Pimpl version. let
14656         updateInset call Pimpl version.
14657
14658         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14659         gotoInset to BufferView::Pimpl
14660
14661 2001-06-01  Juergen Vigna  <jug@sad.it>
14662
14663         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14664         inside a LockingInset (is the update needed at all?).
14665
14666 2001-05-31  Juergen Vigna  <jug@sad.it>
14667
14668         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14669         here not the old one otherwise how should we compare it afterwards
14670         if it's the same!
14671
14672 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14673
14674         * lyxfont.C:
14675         * tabular.C:
14676         * tabular-old.C:
14677         * FontInfo.C: bring C functions into global namespace when
14678         necessary
14679
14680 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14681
14682         * LString.h: make sure config.h has been loaded before LString.h.
14683
14684         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14685         (one for each char read by EatLine!).
14686
14687         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14688         variables.
14689
14690 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14691
14692         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14693         to the same as the par we break from
14694
14695 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14696
14697         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14698
14699         * MenuBackend.C (expand): also create menu entries for wide
14700         versions of the floats.
14701
14702         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14703
14704         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14705
14706         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14707         frontends/Makefile.am
14708
14709         * text2.C: adjust
14710         * text.C: adjust
14711
14712
14713         * tabular.C (getTokenValue): add std::
14714
14715         * tabular-old.C (getTokenValue): add std::
14716         (getTokenValue): ditto
14717         (getTokenValue): ditto
14718
14719         * screen.C (ToggleSelection): adjust
14720
14721         * lyxtext.h: put selection cursors inside a Selection struct.
14722
14723         * lyxfunc.C (moveCursorUpdate): adjust
14724
14725         * lyxfont.C (latexWriteStartChanges): add std::
14726
14727         * lyxfind.C: adjust
14728
14729         * font.h: delete with(char const *, LyXFont const &)
14730
14731         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14732
14733         * FontInfo.C (getFontname): add std::
14734
14735         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14736         (workAreaButtonPress): adjust
14737         (tripleClick): adjust
14738         (update): adjust
14739         (moveCursorUpdate): adjust
14740         (Dispatch): adjust
14741
14742         * BufferView2.C (gotoInset): adjust
14743
14744 2001-05-30  Juergen Vigna  <jug@sad.it>
14745
14746         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14747         to check pspell I add this as default as I now have new pspell
14748         libraries and they seem to use this.
14749
14750 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14751
14752         * text2.C (CutSelection): make the cursor valid before the call to
14753         ClearSelection.
14754
14755 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14758         relied on 0 terminated strings and other horrors. Bug found due to
14759         the new assert in lyxstring!
14760
14761         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14762         KP_ keys.
14763
14764 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14767         to latinkeys.bind.
14768
14769         * lyxfunc.C (processKeySym): change method of getting to the
14770         self-insert char.
14771
14772         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14773         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14774         * BufferView_pimpl.[Ch]: here as private methods.
14775
14776 2001-05-28  Juergen Vigna  <jug@sad.it>
14777
14778         * text.C (SetHeightOfRow): added the update() call again as it is
14779         needed to initialize inset dimensions!
14780
14781 2001-05-16  Juergen Vigna  <jug@sad.it>
14782
14783         * text2.C (SetCharFont): Add new function with BufferView * and
14784         bool toggleall parameters for setting insets internal fonts.
14785         (SetFont): Freeze the undo as we may change fonts in Insets and
14786         all this change should be inside only one Undo!
14787
14788         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14789         setting font's in insets as for them we have the SetFont function!
14790
14791 2001-05-15  Juergen Vigna  <jug@sad.it>
14792
14793         * text2.C (ClearSelection): to be sure we REALLY don't have any
14794         selection anymore!
14795
14796         * tabular.C (TeXCellPreamble): fixed the left border problem for
14797         multicolumn cells.
14798
14799 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14800
14801         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14802         dependancy file
14803
14804 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14807         LFUN_BREAKPARAGRAPH.
14808
14809         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14810         help test to "internal only", similar for LFUN_INSERT_URL
14811
14812         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14813         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14814         auto_region_delete and deadkeys.
14815
14816 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * LColor.h:
14819         * LColor.C: remove some dead entries, tidy a little
14820
14821 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14822
14823         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14824         commented code.
14825         (Dispatch): implement LFUN_ESCAPE
14826
14827         * commandtags.h: add LFUN_ESCAPE
14828
14829         * LyXAction.C (init): add entry for LFUN_ESCAPE
14830
14831         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14832         Remove commented code.
14833         (insertNote): moved here
14834         (open_new_inset): moved here
14835
14836         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14837         BufferView_pimpl
14838
14839 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * kbmap.C (findbinding): clean it up and make it work correctly.
14842
14843         * lyx_main.C (init): do not pass argc and argv as parameters
14844
14845 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14846
14847         * buffer.C: fix path for OS/2 & Win32
14848
14849         * lyx_gui.C:
14850         * lyx_main:
14851         * lyx_main.C: Added os:: class.
14852
14853         * os2_defines.h: update
14854
14855 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14856
14857         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14858         better by trying again with reduced state.
14859
14860 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14861
14862         * lyxrc.C (read): print error about invalid key sequence only when
14863         debugging (because not all latinX keysyms are known to some X
14864         servers)
14865
14866         * kbsequence.C (getiso): add a few std:: qualifiers
14867         (getiso): comment out extra return statement.
14868
14869 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14870
14871         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14872         handling.
14873         (Dispatch): enhance the accent inset a bit. (not perfect)
14874
14875 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14876
14877         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14878
14879 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14880
14881         * bufferlist.C (emergencyWrite): fix assert() call
14882
14883 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14884
14885         * text.C (InsertChar): Added trivial patch to only send the "you
14886         can not do multiple spaces this way" message once during a
14887         session.
14888
14889 2001-05-08  Baruch Even  <baruch@lyx.org>
14890
14891         * Makefile.am: Changed order of libraries to get LyX to link properly
14892         with the gnome frontend.
14893
14894 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14895
14896         * LaTeXFeatures.h: add a std:: qualifier
14897
14898 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14899
14900         * paragraph.C (String): use stringstream
14901
14902 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14903
14904         * paragraph.C (writeFile): remove footflag arg
14905
14906         * buffer.C (makeLaTeXFile): use stringstream
14907         (latexParagraphs): remove footnot gurba
14908
14909         * LaTeXFeatures.C (getPackages): use stringstream
14910         (getMacros): likewise
14911         (getTClassPreamble): likewise
14912         (getFloatDefinitions): new method
14913
14914         * paragraph.C (writeFile): reindent
14915         (Erase): reindent
14916
14917         * WorkArea.h: revert the xpos + etc changes.
14918
14919         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14920
14921         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14922
14923         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14924         (pasteSelection): likewise
14925         * text2.C (CreateUndo): likewise
14926
14927 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14928
14929         * minibuffer.C (peek_event): temporarily reduce the functionality
14930         of the minibuffer (to allow args on lfuns)
14931
14932         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14933         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14934
14935         * buffer.C (readInset): add compability reading of old float
14936         lists, add reading of new style float list.
14937         (readInset): avoid reevaluation of inscmd.getCmdName()
14938         (getLists): reindent
14939
14940         * MenuBackend.C (MenuItem): implement parsing of
14941         md_floatlistinsert and md_floatinsert.
14942         (expand::LastFiles): move initalizaton of iterators out of loop,
14943         avoid reevaluation.
14944         (expand::Documents): introduce typdedef vector<string> Strings,
14945         and use it.
14946         (expand::ExportFormats): introduce typedef vector<Format const *>
14947         Formats, and use it.
14948         (expand): implement FloatListInsert and FloatInsert.
14949
14950         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14951         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14952         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14953
14954         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14955         handling.
14956         (Dispatch::LFUN_FLOAT_LIST): implement
14957
14958 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14959
14960         * LaTeX.C (run): Fix problem with --export code.
14961
14962 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14963
14964         * BufferView.[Ch] (workarea): removed.
14965         (getClipboard) new method; wrapper for workarea()->getClipboard()
14966
14967         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14968         bug.
14969
14970         * WorkArea.h (width, height, xpos, ypos): These methods all
14971         returned the dimensions of the work_area sub-area of WorkArea,
14972         resulting in a position error if the WorkArea were resized. Now
14973         return the dimensions of the entire WorkArea.
14974
14975         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14976
14977 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * LaTeX.C (deplog): correct the syntax of regex reg1
14980
14981 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14982
14983         * undo.C: remove !NEW_INSETS cruft
14984
14985 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14986
14987         * text2.C: remove !NEW_INSETS cruft
14988
14989         * text.C: remove !NEW_INSETS cruft
14990
14991         * tabular.C: remove !NEW_INSETS cruft
14992
14993         * spellchecker.C: remove !NEW_INSETS cruft
14994
14995         * lyxtext.h: remove !NEW_INSETS cruft
14996
14997         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14998
14999         * lyxfunc.C: remove !NEW_INSETS cruft
15000
15001         * lyxfind.C: remove !NEW_INSETS cruft
15002
15003         * lyx_cb.C: remove !NEW_INSETS cruft
15004
15005         * figureForm.C: remove  !NEW_INSETS cruft
15006
15007         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15008
15009         * buffer.[Ch]: remove !NEW_INSETS cruft
15010
15011         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15012
15013         * CutAndPaste.C: remove !NEW_INSETS cruft
15014
15015         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15016
15017         * BufferView2.C: remove !NEW_INSETS cruft
15018
15019         * BufferView.h: remove !NEW_INSETS cruft
15020
15021 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15022
15023         * Lsstream.h: include LString.h before the sstream headers to
15024         fix problem with gcc 2.95.3 and lyxstring
15025
15026 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15027
15028         * lyx_main.C: add using directives when needed for C functions
15029         declared in std:: namespace.
15030
15031 2001-04-27  Juergen Vigna  <jug@sad.it>
15032
15033         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15034         (SetHeightOfRow): comment out the update call should not be needed!
15035
15036 2001-04-13  Juergen Vigna  <jug@sad.it>
15037
15038         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15039         (LyXTabular): tried to minimize operator= operations (and realized
15040         hopfully Lars wish).
15041
15042 2001-04-27  Juergen Vigna  <jug@sad.it>
15043
15044         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15045
15046 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15047
15048         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15049
15050         * buffer.C (readInset): hack to make listof algorithm work
15051
15052         * BufferView_pimpl.C: hack to make listof algorithm work
15053
15054 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * LyXAction.C: removed all !NEW_INSETS cruft
15057         (init): moved lfun_item in method
15058
15059         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15060
15061 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15062
15063         * BufferView2.C (theLockingInset): white space.
15064
15065 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15066
15067         * minibuffer.C: include <iostream>
15068
15069         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15070
15071         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15072
15073         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15074
15075         * text.[Ch] (TransposeChars): new method
15076
15077 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15078
15079         * call message directly through LyXView instead of through LyXFunc
15080         * BufferView2.C: adjust
15081         * BufferView_pimpl.C: adjust
15082         * FontLoader.C: adjust
15083         * buffer.C: adjust
15084         * bufferview_funcs.C: adjust
15085         * converter.C: adjust
15086         * figureForm.C: adjust
15087         * importer.C: adjust
15088         * lyx_cb.C: adjust
15089         * lyx_gui_misc.C: adjust
15090         * lyxfunc.C: adjust
15091         * lyxvc.C: adjust
15092         * text2.C: adjust
15093         + more files in subdirs
15094
15095         * lyxparagraph.h (size): move up int file
15096         (GetLayout): ditto
15097
15098         * adjust all uses of Assert to lyx::Assert.
15099
15100         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15101         lyxfunctional in namespace lyx
15102         * layout.C (hasLayout): ditto
15103         (GetLayout): ditto
15104         (GetLayout): ditto
15105         (delete_layout): ditto
15106         (NumberOfClass): ditto
15107         * converter.C (GetFormat): ditto
15108         (GetNumber): ditto
15109         (Add): ditto
15110         (Delete): ditto
15111         (SetViewer): ditto
15112         * bufferlist.C (getFileNames): ditto
15113         (emergencyWriteAll): ditto
15114         (exists): ditto
15115         (getBuffer): ditto
15116         * MenuBackend.C (hasSubmenu): ditto
15117         (hasMenu): ditto
15118         (getMenu): ditto
15119         * BufferView_pimpl.C (getInsetByCode): ditto
15120
15121 2001-04-18  Juergen Vigna  <jug@sad.it>
15122
15123         * vspace.C (asLatexString): fixed the 100% problem.
15124
15125 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15126
15127         * lyxfunc.C (Dispatch):
15128         * minibuffer.C:
15129         * minibuffer.h: add a few std:: qualifiers
15130
15131 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * minibuffer.[Ch]: reimplement so that commands is initiated and
15134         run from lyxfunc, simplified som handling, and made the completion
15135         and history code for complete. wip.
15136
15137         * lyxfunc.C (processKeySym): call message
15138         (miniDispatch): new temporary method
15139         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15140         (LFUN_MESSAGE): implement
15141         (LFUN_MESSAGE_PUSH): implement
15142         (LFUN_MESSAGE_POP): implement
15143         (initMiniBuffer): the initial/defualt minibuffer message.
15144
15145         * lyxfont.[Ch]: inline some more getters
15146
15147         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15148
15149         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15150
15151         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15152         (AutoSave): use LFUN_MESSAGE
15153         (Reconfigure): ditto
15154
15155         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15156
15157         * figureForm.C: use LFUN_MESSAGE
15158
15159         * converter.C (runLaTeX): use LFUN_MESSAGE
15160
15161         * bufferview_funcs.C: use LFUN_MESSAGE
15162         (Melt): ditto
15163         (changeDepth): ditto
15164
15165         * bufferparams.h: use boost::
15166
15167         * bufferlist.h: inherit privately from noncopyable
15168
15169         * bufferlist.C (loadLyXFile): remove some commented code.
15170
15171         * buffer.C (runChktex): use LFUN_MESSAGE
15172
15173         * ShareContainer.h: inherit privately from noncopyable
15174
15175         * ParagraphParameters.[hC] (depth): inline it.
15176
15177         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15178         methods.
15179         (message): new method
15180         (messagePush): ditto
15181         (messagePop): ditto
15182         (show): init minibuffer
15183         (showState): direct call
15184
15185         * LaTeX.[Ch]: inherit privately from noncopyable
15186         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15187         instead of WriteStatus.
15188
15189         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15190
15191         * BufferView_pimpl.C (buffer): don't init minibuffer
15192         (workAreaButtonPress): use LFUN_MESSAGE
15193         (workAreaButtonRelease): ditto
15194         (savePosition): ditto
15195         (restorePosition): ditto
15196         (MenuInsertLyXFile): ditto
15197         (workAreaExpose): don't init minibuffer
15198         (update): remove commented code, simplify
15199
15200         * BufferView2.C (openStuff): use LFUN_MESSAGE
15201         (toggleFloat): ditto
15202         (menuUndo): ditto
15203         (menuRedo): ditto
15204         (copyEnvironment): ditto
15205         (pasteEnvironment): ditto
15206         (copy): ditto
15207         (cut): ditto
15208         (paste): ditto
15209         (gotoInset): ditto
15210         (updateInset): remove some commented code
15211
15212         * lastfiles.h: inherit privately from noncopyable
15213         * layout.h: ditto
15214         * lyx_gui.h: ditto
15215         * lyx_main.h: ditto
15216         * lyxlex.h: ditto
15217         * lyxlex_pimpl.h: ditto
15218
15219         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15220         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15221         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15222
15223         * LyXAction.h: inherit privately from noncopyable, add methods
15224         func_begin, func_end, returning iterators to the func map.
15225
15226         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15227         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15228         (func_begin): new method
15229         (func_end): new method
15230
15231         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15232         and not)
15233         (copySelection): ditto
15234         (pasteSelection): ditto
15235
15236         * BufferView.C: whitespace change
15237         * BufferView.h: inherit privately from noncopyable
15238
15239 2001-04-16  Allan Rae  <rae@lyx.org>
15240
15241         * tabular-old.C (l_getline):
15242         * spellchecker.C (sc_check_word):
15243         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15244         an unrecognised preprocessor directive.  So ensure they're wrapped.
15245
15246 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15247
15248         * src/exporter.C (Export): Give an error message when path to file
15249         contains spaces.
15250
15251 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15252
15253         * LaTeX.C (deplog): Always check that foundfile exists.
15254
15255 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15256
15257         * lyx_main.h:
15258         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15259
15260 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15261
15262         * tabular.[Ch] (getLabelList): implement new method
15263
15264         * minibuffer.h: comment ouf setTiimer
15265
15266         * minibuffer.C (ExecutingCB): constify res
15267         (peek_event): constify s
15268         (Set): constify ntext
15269         (Init): constify nicename
15270
15271         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15272
15273         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15274         (savePosition): use two params to Minibuffer::Set
15275         (restorePosition): ditto
15276
15277 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15278
15279         * lyx_main.C: include language.h
15280
15281         * Makefile.am (lyx_main.o): add language.h
15282
15283 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15284
15285         * exporter.C:
15286         * paragraph.C:
15287         * screen.C:
15288         * tabular.C:
15289         * CutAndPaste.C: include gettext.h
15290
15291         * lyxfont.h: remove old hack with ON and OFF.
15292
15293         * lyxparagraph.h:
15294         * lyxfont.h: do not include language.h...
15295
15296         * BufferView2.C:
15297         * LaTeXFeatures.C:
15298         * Painter.C:
15299         * bufferview_funcs.C:
15300         * font.C:
15301         * lyxfont.C:
15302         * text.C:
15303         * text2.C:
15304         * trans_mgr.C:
15305         * paragraph.C: ... but do it here instead
15306
15307 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15310
15311         * tabular.C: small reformat
15312
15313         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15314         NEW_INSETS version
15315         (GetChar): ditto
15316         (BreakParagraph): ditto
15317         (SetOnlyLayout): ditto
15318         (SetLayout): ditto
15319
15320         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15321         with one arg less.
15322
15323         * lastfiles.C: removed most using decl, add std:: where needed
15324
15325         * buffer.C: ws changes
15326
15327         * MenuBackend.C (class compare_format): put into anon namespace
15328         (expand): constify label, names, action, action2
15329         (expand):
15330
15331         * text.C (SingleWidth): constify font
15332         (IsBoundary): constify rtl2
15333         (GetVisibleRow): constify ww
15334
15335         * LaTeX.C (deplog): constify logfile
15336
15337         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15338         start_x, end_x
15339         (workAreaExpose): constify widthChange, heightChange
15340
15341         * lyxrow.C (par): moved
15342         (height): moved
15343         (next): moved
15344         * lyxrow.h: as inlines here
15345
15346         * lyxfont.h (shape): moved from lyxfont.C
15347         (emph): moved from lyxfont.C
15348
15349         * lyxfont.C (LyXFont): use initialization list for all
15350         constructors
15351         (shape): move to lyxfont.h as inline
15352         (emph): move to lyxfont.h as inline
15353
15354
15355 2001-04-04  Juergen Vigna  <jug@sad.it>
15356
15357         * vspace.C: had to include stdio.h for use of sscanf
15358
15359 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15360
15361         * BufferView.h:
15362         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15363         independent of xforms.
15364
15365 2001-04-02  Juergen Vigna  <jug@sad.it>
15366
15367         * spellchecker.C: fixed namespace placing!
15368
15369 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15370
15371         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15372         the LyXParagraph * is 0.
15373
15374 2001-03-29  Juergen Vigna  <jug@sad.it>
15375
15376         * vspace.C: added support for %, c%, p%, l%.
15377         (stringFromUnit): added helper function.
15378         (asLatexString): changed to give right results for the %-values.
15379
15380         * buffer.C: convert the widthp in a width%.
15381
15382 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15383
15384         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15385         figureForm.[Ch].
15386
15387         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15388         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15389
15390         * lyx_cb.[Ch]: see above.
15391
15392         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15393         form1.[Ch].
15394
15395         * form1.[Ch]:
15396         * lyx.[Ch]: replaced by figure_form.[Ch].
15397
15398         * lyx_gui.C:
15399         * lyx_gui_misc.C:
15400         * lyxfunc.C: changed headers associated with above changes.
15401
15402 2001-03-27  Juergen Vigna  <jug@sad.it>
15403
15404         * BufferView_pimpl.C: set the temporary cursor right!
15405
15406 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15407
15408         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15409
15410 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15411
15412         * LString.h: removed "using std::getline"!
15413
15414         * BufferView_pimpl.C (Dispatch): changes due to changes in
15415         InsetInclude::Params.
15416
15417         * buffer.C (tag_name): removed redundant break statements as they were
15418         producing lots of warnings with my compiler.
15419
15420 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15421
15422         * LString.h: add "using std::getline" when using the real <string>.
15423
15424 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15425
15426         * buffer.C: removed bitset usage.
15427         PAR_TAG moved to an anonymous name space.
15428         (tag_name): new funtion, also in the anonymous namespace.
15429         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15430         (makeDocBookFile): clean code. Completed transition from string arrays
15431         to string vectors.
15432         (SimpleDocBookOnePar): code clean.
15433
15434 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15435
15436         * tabular.C: add some comments.
15437
15438 2001-03-22  Juergen Vigna  <jug@sad.it>
15439
15440         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15441         compatibility read a bit and fixed bug with minipage in different
15442         depth.
15443
15444 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15445
15446         * buffer.C (pop_tag): removed.
15447         (push_tag): removed.
15448         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15449         array replaced with vector. Added support for CDATA sections.
15450         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15451         at any nest level.
15452         (makeDocBookFile): XML conformant declaration of CDATA section,
15453         fixed bug related to <emphasis> in the first paragraph char.
15454         (sgmlOpenTag): exclude empty tags.
15455         (sgmlCloseTag): ditto.
15456
15457         * buffer.h (pop_tag): removed.
15458         (push_tag): removed.
15459
15460 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15461
15462         * language.h (Languages): added size_type and size().
15463
15464 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15465
15466         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15467         response on compability reading of minipages. One probliem is that
15468         the old usage of minipages was «flertydig»
15469
15470         * several files here and in subdirs: don't use static at file
15471         scope use anon namespaces instead.
15472
15473 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15474
15475         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15476         LaTeX output. This is necessary for Literate document
15477         processing.
15478
15479 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15480
15481         * buffer.C: insert hfill when needed.
15482
15483         * tabular.C (l_getline): use string::erase, small whitespace change.
15484
15485         * BufferView_pimpl.C: try the anon namespace.
15486         * WorkArea.C: ditto
15487
15488 2001-03-16  Juergen Vigna  <jug@sad.it>
15489
15490         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15491         otherwise it won't open options-dialogs.
15492
15493         * buffer.C: honor pextraWidth(p) on converting minipages.
15494
15495         * tabular.C (l_getline): changed the functions to strip trailing \r.
15496
15497 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15498
15499         * BufferView_pimpl.C:
15500         * minibuffer..C: added "using SigC::slot" declaration.
15501
15502 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15503
15504         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15505
15506         * text2.C: ditto
15507
15508         * text.C: ditto
15509
15510         * paragraph.C: ditto
15511
15512         * lyxtext.h: NO_PEXTRA
15513
15514         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15515
15516         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15517         * ParameterStruct.h: ditto
15518         * ParagraphParameters.h: ditto
15519         * lyxparagraph.h: ditto
15520
15521 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15522
15523         * buffer.C: add compability for minipage alignment.
15524         (latexParagraphs): remove unwanted pextra check.
15525
15526         * several files: remove CXX_WORKING_NAMESPACES
15527
15528         * buffer.C (pop_tag): tie is in namespace boost
15529
15530         * BufferView.h: noncopyable is in namespace boost
15531         * lyxlex.h: ditto
15532         * lyx_main.h: ditto
15533         * lyx_gui.h: ditto
15534         * layout.h: ditto
15535         * lastfiles.h: ditto
15536         * bufferlist.h: ditto
15537         * ShareContainer.h: ditto
15538         * LyXView.h: ditto
15539         * LyXAction.h: ditto
15540         * LaTeX.h: ditto
15541
15542 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15543
15544         * Merging changes from BRANCH_MVC back into HEAD.
15545
15546         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15547
15548 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15549
15550         * BufferView_pimpl.C: change from intl.C
15551
15552         * combox.h:
15553         * combox.C:
15554         * Makefile.am: move combox.*
15555
15556         * form1.h:
15557         * form1.C:
15558         * lyx_gui.C:
15559         * intl.h:
15560         * intl.C: remove dialog (covered by prefs)
15561
15562 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15563
15564         * lyxfunc.C (Dispatch): removed redundant break statement.
15565
15566 2001-03-14  Juergen Vigna  <jug@sad.it>
15567
15568         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15569
15570 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15571
15572         * buffer.C: add hack to fix compability reading of minipages.
15573
15574 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15575
15576         * buffer.C (getLists): Cleanup.
15577
15578 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15579
15580         * lyxfont.C (update): don't honor toggleall on font size.
15581
15582 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15583
15584         * bmtable.c:
15585         * bmtable.h:
15586         * Makefile.am: moved to frontends/xforms/
15587
15588         * lyx_gui_misc.C:
15589         * lyxfunc.C:
15590         * BufferView_pimpl.C: changes for moved mathpanel
15591
15592 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15593
15594         * gettext.h: fix gettext_init() in --disable-nls
15595
15596 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15599
15600 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15601
15602         * lyx.C:
15603         * lyx.h: strip external form
15604
15605 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15606
15607         * BufferView_pimpl.C: add comment, destroySplash()
15608
15609 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15610
15611         * BufferView_pimpl.C:
15612         * LyXAction.C:
15613         * buffer.C:
15614         * commandtags.h:
15615         * lyxfunc.C: use re-worked insetinclude
15616
15617 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15618
15619         * buffer.C: add using std::stringstream.
15620
15621         * lyx_cb.C: readd using std::ios.
15622
15623         * buffer.C: add using std::map.
15624
15625         * BufferView_pimpl.C: add using std::vector.
15626
15627         * ShareContainer.h: add std:: to swap.
15628
15629         * buffer.h: add some typedefs
15630         * buffer.C (getLists): use them
15631         (getLists): renamed from getTocList.
15632         add a counter for the different float types and use it in the
15633         generated string.
15634         (getLists): use the same counter for the NEW_INSETS and the "non"
15635         NEW_INSETS
15636
15637         * lyx_cb.h: remove unused items, includes, using etc.
15638
15639         * ShareContainer.h: remove some commented code, add more comments
15640         and "documentation".
15641
15642 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15643
15644         * buffer.C (getTocList): make the list also when NEW_INSETS is
15645         defined.
15646
15647         * buffer.h: remove TocType
15648
15649         * buffer.C (getTocList): change to return a map<string,
15650         vector<TocItem> >, implement for dynamic number of list.
15651
15652         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15653         * text2.C (PasteSelection): adjust
15654         * CutAndPaste.C (pasteSelection): adjust
15655
15656         * FloatList.C (FloatList): update from the new_insets branch.
15657         * Floating.[Ch]: ditto
15658         * LaTeXFeatures.C: ditto
15659         * buffer.C: ditto
15660         * lyxlex_pimpl.C: ditto
15661
15662         * paragraph.C (Last): remove when NEW_INSETS is defined.
15663
15664         * other file: changes because of the above.
15665
15666 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15667
15668         * lyxparagraph.h: rename next to next_, previous to previous_,
15669         make them private for NEW_INSETS. Rename Next() to next(),
15670         Previous() to previous().
15671
15672         * other files: changes because of the above.
15673
15674 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15675
15676         * BufferView.h:
15677         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15678         problem.
15679
15680 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15681
15682         * main.C (main): pass lyx_localedir to gettext_init().
15683
15684         * gettext.h: remove locale_init and gettext_init macros
15685
15686         * gettext.C (locale_init): new function
15687         (gettext_init): new function
15688
15689         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15690         setlocale().
15691
15692 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15693
15694         * Moved credits to frontends:
15695         * credits.[Ch]: removed
15696         * credits_form.[Ch]: removed
15697         * lyx_gui_misc.C: remove credits stuff
15698         * Makefile.am:
15699
15700 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15701
15702         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15703
15704         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15705         unneeded destructor.
15706
15707         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15708         a standalone pointer again.
15709
15710         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15711
15712 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15713
15714         * Makefile.am:
15715         * filedlg.h:
15716         * filedlg.C:
15717         * LyXAction.C:
15718         * ToolbarDefaults.C:
15719         * bufferlist.C:
15720         * commandtags.h:
15721         * form1.C:
15722         * form1.h:
15723         * lyx_cb.C:
15724         * lyx_cb.h:
15725         * lyxfunc.h:
15726         * lyxfunc.C:
15727         * BufferView_pimpl.C: use new file dialog in GUII
15728
15729         * lyx_cb.h:
15730         * lyx_cb.C: remove LayoutsCB to Toolbar
15731
15732 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * ShareContainer.h (get): add std:: qualifier
15735
15736 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * ShareContainer.h: define a proper ShareContainer::value_type
15739         type (and use typename to please compaq cxx)
15740
15741 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15742
15743         * lyxparagraph.h: move serveral local vars to
15744         ParameterStruct/ParagraphParameters., use ShareContainer in
15745         FontTable., make vars in FontTable private and add getter and
15746         setter.
15747
15748         * paragraph.C: changes because of the above.
15749
15750         * lyxfont.h: remove copy constructor and copy assignment. (the
15751         default ones is ok), move number inside FontBits. move inlines to
15752         lyxfont.C
15753
15754         * lyxfont.C: add number to initializaton of statics, move several
15755         inlines here. constify several local vars. some whitespace
15756         cleanup. Dont hide outerscope variables.
15757
15758         * Spacing.h: add two new constructors to match the set methods.
15759
15760         * ShareContainer.h: new file, will perhaps be moved to support
15761
15762         * ParameterStruct.h: new file
15763
15764         * ParagraphParameters.h: new file
15765
15766         * ParagraphParameters.C: new file
15767
15768         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15769         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15770
15771         * BufferView_pimpl.C: ParagraphParameter changes.
15772         * buffer.C: Likewise.
15773         * bufferview_funcs.C: Likewise.
15774         * text.C: Likewise.
15775         * text2.C: Likewise.
15776
15777 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15778
15779         * lyxfind.C (LyXReplace): do not redefine default argument in
15780         implementation.
15781         (IsStringInText): ditto
15782         (SearchForward): ditto
15783         (SearchBackward): ditto
15784
15785 2001-03-06  Juergen Vigna  <jug@sad.it>
15786
15787         * lyxfind.C (IsStringInText): put parentes around expressions.
15788
15789 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15790
15791         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15792
15793 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15794
15795         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15796
15797         * stl_string_fwd.h: add comment
15798
15799         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15800
15801         * tabular.h:
15802         * tabular.C: remove unused DocBook methods
15803
15804         * intl.C:
15805         * language.C:
15806         * paragraph.C:
15807         * buffer.C:
15808         killed DO_USE_DEFAULT_LANGUAGE
15809
15810 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15811
15812         * lyx_gui.C: do not include language.h.
15813
15814         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15815         arguments in function implementation.
15816
15817 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15818
15819         * BufferView_pimpl.C: add <ctime>
15820
15821 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15822
15823         * BufferView_pimpl.C: add using std::find_if
15824
15825 2001-02-27  José Matos  <jamatos@fep.up.pt>
15826
15827         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15828         by OnlyPath.
15829
15830 2001-02-11  José Matos  <jamatos@fep.up.pt>
15831
15832         * buffer.C (makeDocBookFile): command styles now have a parameter as
15833         "title" by default.
15834
15835 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15836
15837         * layout_forms.[Ch]: removed
15838         * lyx_cb.[Ch]: out character
15839         * lyx_gui.C: out character
15840         * lyx_gui_misc.C: out character
15841         * bufferview_funcs.C: : out character,
15842         added toggleall as parameter in ToggleAndShow
15843
15844 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15845
15846         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15847
15848         * text2.C (SetCurrentFont): Disable number property at boundary.
15849
15850 2001-02-26  Juergen Vigna  <jug@sad.it>
15851
15852         * lyxfunc.C (getStatus): added a string argument override function so
15853         that this is correctly called from LyXFunc::Dispatch if it contains a
15854         do_not_use_argument which is used!
15855         (Dispatch): added check for "custom" export and call appropriate func.
15856
15857 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15858
15859         * lyxrc.C: Add language_command_local, language_use_babel and
15860         language_global_options.
15861
15862         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15863
15864         * buffer.C (makeLaTeXFile): Use language_use_babel and
15865         language_global_options.
15866
15867 2001-02-23  Juergen Vigna  <jug@sad.it>
15868
15869         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15870         which works with LyXText and putted it inside BufferView. Here now we
15871         only call for that part the BufferView::Dispatch() function.
15872
15873         * BufferView.C (Dispatch): added.
15874
15875         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15876         functions which needs to use a LyXText over from LyXFunc.
15877         (MenuInsertLyXFile): added
15878         (getInsetByCode): added
15879         (moveCursorUpdate): added
15880         (static TEXT): added
15881
15882 2001-02-22  Juergen Vigna  <jug@sad.it>
15883
15884         * BufferView_pimpl.C (update): call a status update to see if LyXText
15885         needs it.
15886
15887 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15888
15889         * vc-backend.C (revert): implement for CVS
15890         (getLog): implement for CVS
15891
15892 2001-02-20  Juergen Vigna  <jug@sad.it>
15893
15894         * text2.C (ClearSelection): added BufferView param for inset_owner call
15895
15896         * lyxfunc.C (TEXT): added this function and use it instead of
15897         directly owner->view()-text of getLyXText().
15898
15899 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15900
15901         * src/layout_forms.C: out preamble
15902         * src/layout_forms.h: out preamble
15903         * src/lyx_cb.C: out preamble
15904         * src/lyx_cb.h: out preamble
15905         * src/lyx_gui.C: out preamble
15906         * src/lyx_gui_misc.C: out preamble
15907         * src/lyxfunc.C: connect with guii preamble
15908
15909 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15910
15911         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15912
15913 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15914
15915         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15916         whether to run bibtex.
15917
15918 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15919
15920         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15921
15922 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15923
15924         * Makefile.am (lyx_SOURCES): removed bibforms.h
15925
15926         * vspace.h: doxygen
15927
15928         * text.C (GetVisibleRow): make several local vars const
15929
15930         * tabular.C: small cleanup.
15931
15932         * lyxserver.C (callback): use compare instead of strncmp
15933
15934         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15935         inlines to after class or to paragraph.C
15936
15937         * lyxfont.h: remove friend operator!=
15938
15939         * converter.h: move friend bool operator< to non friend and after
15940         class def.
15941
15942         * combox.h: small cleanup
15943
15944         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15945         to inlines after class def.
15946
15947         * buffer.C (pop_tag): use string operations instead of strcmp
15948
15949         * bmtable.c: doxygen, small cleanup
15950
15951         * LaTeX.h: remove friend operator==
15952
15953 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15954
15955         * screen.C:
15956         * lyxrc.[Ch]:
15957         * lyxfunc.C:
15958         * lyxfont.[Ch]:
15959         * lyx_cb.C:
15960         * intl.[Ch]:
15961         * commandtags.h:
15962         * buffer.C:
15963         * WorkArea.[Ch]:
15964         * LyXAction.C:
15965         * BufferView_pimpl.C:
15966         * BufferView.[Ch]: remove cruft
15967
15968 2001-02-14  Juergen Vigna  <jug@sad.it>
15969
15970         * lyxfunc.C: removed #if 0 unused code
15971
15972         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15973
15974         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15975
15976         * text2.C (SetSelection): added a BufferView * parameter
15977
15978 2001-02-13  Juergen Vigna  <jug@sad.it>
15979
15980         * lyxfunc.C (Dispatch): fixed protected blank problem.
15981         * BufferView2.C (protectedBlank): added LyxText * parameter.
15982
15983         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15984         (AppendColumn): same as above for column_info.
15985
15986         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15987         (moveCursorUpdate): use a LyXText param for support of InsetText.
15988
15989         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15990         (tripleClick): ditto
15991
15992         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15993
15994         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15995
15996         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15997
15998         * text2.C (SetSelection): set correct update status if inset_owner
15999         (ToggleFree): ditto
16000
16001 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16002
16003         * tabular.C: remove some commented code.
16004
16005 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16006
16007         * BufferView_pimpl.C: call hideSplash()
16008
16009         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16010
16011         * include_form.h:
16012         * bibforms.h: remove
16013
16014         * lyxfunc.C:
16015         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16016           add LFUN_CHILD_CREATE
16017
16018         * counters.h: fix tiny typo
16019
16020         * lyx_cb.C:
16021         * lyx.h:
16022         * lyx_gui.C:
16023         * lyx.C: move splash to frontends/xforms/
16024
16025         * lyx_gui_misc.C: move Include and Bibform to frontends
16026
16027         * lyxvc.h: clarify comment
16028
16029         * vspace.C: tiny housekeeping
16030
16031 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16032
16033         * text.C (PrepareToPrint): RTL Fix.
16034
16035         * paragraph.C (GetUChar): New method.
16036         (String):  Use GetUChar.
16037
16038         * buffer.C (asciiParagraph): Use GetUChar.
16039
16040 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16041
16042         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16043
16044 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16045
16046         * buffer.h:
16047         * buffer.C: rename to getLogName(), handle
16048           build log / latex log nicely
16049
16050 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16051
16052         * MenuBackend.C:
16053         * MenuBackend.h: remove support for reference menuitem type.
16054
16055 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16056
16057         * BufferView_pimpl.C: housekeeping
16058         * BufferView_pimpl.h:
16059         * LyXView.h:
16060         * Makefile.am:
16061         * Timeout.C:
16062         * Timeout.h:
16063         * minibuffer.h: move Timeout GUI-I
16064
16065 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16066
16067         * lyxrc.C (read): Update converters data-structures.
16068
16069 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16070
16071         * LaTeX.h (operator!=): add operator != for Aux_Info
16072
16073 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16074
16075         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16076
16077         * LaTeXLog.C: deleted, useful code moved to Buffer
16078
16079         * buffer.h:
16080         * buffer.C: new function getLatexLogName()
16081
16082         * lyx_gui_misc.C:
16083         * lyx_gui.C:
16084         * lyxvc.C:
16085         * lyxvc.h:
16086         * lyxfunc.C: use frontends for LaTeX and VC logs
16087
16088 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16089
16090         * LaTeX.h: yet another std:: that Allan forgot.
16091
16092         * Variables.C (set): renamed from isset(), because this clashes
16093         with some HP-UX macros (grr).
16094
16095 2001-02-06  Allan Rae  <rae@lyx.org>
16096
16097         * LaTeX.h: Another bug fix.  Missing std:: this time.
16098
16099 2001-02-04  Allan Rae  <rae@lyx.org>
16100
16101         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16102         floats problem. I've left it commented out because it's not quite
16103         correct.  It should also test that the current object is a table or
16104         figure inset.  But I haven't gotten around to figuring out how to do
16105         that.  I *think* it'll be something like: "table" == inset.type()
16106
16107         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16108         bool.
16109
16110 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16111
16112         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16113         all the citation/databases/styles in the auxilary file.
16114         (run): Rerun latex if there was a babel language error.
16115
16116 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16117
16118         * text.C (Backspace): Preserve the font when changing newline char
16119         with a space.
16120         (BreakParagraph): If the cursor is before a space, delete the space.
16121
16122         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16123
16124 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16125
16126         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16127         new argument (code).
16128         (ChangeCitationsIfUnique): New method.
16129
16130         * paragraph.C (GetPositionOfInset): Handle bibkey.
16131
16132 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16133
16134         * BufferView_pimpl.h: change type of Position::par_pos to
16135         LyXParagraph::size_type.
16136
16137 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16138
16139         * BufferView_pimpl.C (savePosition, restorePosition): Write
16140         messages to minibuffer.
16141
16142 2001-01-28  José Matos  <jamatos@fep.up.pt>
16143
16144         * buffer.C (makeDocBookFile): adds support for document language.
16145         A silly restriction on the name of LatexCommand types where removed.
16146         Added support for CDATA sections, allows to chars unescaped, used
16147         among others in code, to avoid escape < and >.
16148
16149 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16150
16151         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16152         saved positions instrad of a stack. Furthermore, a position is
16153         stored using paragraph id/paragraph position.
16154
16155         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16156         Remove LFUN_REF_BACK.
16157
16158 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16159
16160         * converter.C (dvipdfm_options): New method.
16161
16162 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16163
16164         * vspace.C (isValidLength): Fix for empty input string.
16165
16166 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16167
16168         * LyXAction.C (init): change description of LFUN_FIGURE to
16169         "Insert Graphics"
16170
16171 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16172
16173         * LaTeX.C: add using directive
16174
16175 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16176
16177         * MenuBackend.C (expand): Fix the sorting of the formats.
16178
16179 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16180
16181         * lyx_main.C: tiny error message fix
16182
16183 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16184
16185         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16186         calling fl_initialize(). This fixes the problem with ',' as
16187         decimal separator in text files.
16188
16189 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16190
16191         * trans.C (process): Fix the keymap bug.
16192
16193 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16194
16195         * LaTeX.C (scanAuxFiles): New method. Provides support for
16196         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16197         (scanLogFile) Scan for "run BibTeX" messages.
16198
16199         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16200         OT1 font encoding. Also, load the aecompl package if the ae
16201         package is loaded.
16202
16203         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16204
16205 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16206
16207         * texrow.C (increasePos): turn two error messages into debug
16208         messages.
16209
16210 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16211
16212         * LaTeX.C (scanAux): Handle the \@input macro.
16213         (runBibTeX): Use scanAux().
16214
16215         * language.C (latex_options_): New field.
16216
16217         * LaTeXFeatures.C (getMacros): Add language macros.
16218
16219         * buffer.C (makeLaTeXFile): Small fix.
16220
16221 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16222
16223         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16224
16225         * text2.C: add a using directive.
16226
16227 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16228
16229         * BufferView2.C:
16230         * lyx_gui_misc.h:
16231         * lyxfr1.C:
16232         * lyxfunc.C: kill LyXBell.
16233
16234 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16235
16236         * text.C (IsBoundary): Remove the error message
16237
16238         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16239
16240         * lyxrc.C (setDefaults): Correct initialization value for
16241         font_norm_type.
16242
16243 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16244
16245         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16246         gotoError().
16247
16248         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16249         and GotoNextNote().
16250
16251         * src/LyXAction.C: Added reference-next.
16252
16253         * text.C (InsertChar): Use contains instead of strchr.
16254
16255         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16256
16257 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16258
16259         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16260         alignment commands (when needed).
16261
16262         * text.C (InsertChar): Add ':' to number separator chars.