]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d7281a345b289bdc6108e1ca65c3dc981f37c0ed
[lyx.git] / src / ChangeLog
1 2004-10-30  José Matos  <jamatos@lyx.org>
2
3         * output_docbook.C (makeParagraphs):
4         * paragraph.[Ch] (emptyTag): for docbook and company, if the
5         standard paragraph has only a given type of content drop the wrapper.
6
7 2004-10-29  José Matos  <jamatos@lyx.org>
8
9         * output_docbook.C (makeEnvironment):
10         * sgml.C (openTag):
11         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
12
13 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
14
15         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
16         (cleanID): sanitize any id.
17
18 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
19
20         * buffer.C, lyxlex_pimpl.C:
21         * lyxlex_pimpl.C (setFile):
22         s/getExtFromContents/getFormatFromContents/
23
24 2004-10-28  José Matos  <jamatos@lyx.org>
25
26         * output_docbook.C (makeEnvironment): move id to broadest possible scope.
27
28         * sgml.C (openTag): apply substitution of <> for all attribuites.
29
30 2004-10-28  José Matos  <jamatos@lyx.org>
31
32         * buffer.C (makeLinuxDocFile, makeDocBookFile):
33         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
34         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
35
36         * sgml.[Ch]: new version for open and closeTag for paragraph and
37         for strings. Now they handle the ids of paragraphs.
38
39 2004-10-26  Angus Leeming  <leeming@lyx.org>
40
41         * Makefile.am: add mover.[Ch].
42
43         * converter.C (convert, move): use the new Movers to move external
44         files to the temp directory.
45
46         * lyx_main.C (init): ensure that the global system_movers data
47         is initialised.
48
49         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
50         preferences file.
51
52         * mover.[Ch]: new files, defining a Mover as a utility to move an
53         external file between directories and, if necessary, manipulate this
54         file using a helper script.
55
56 2004-10-25  José Matos  <jamatos@lyx.org>
57
58         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
59
60 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * sgml.C (escapeString): fix warning in a better way
63
64 2004-10-25  José Matos  <jamatos@lyx.org>
65
66         * sgml.C (escapeString): import the require boosts header file for
67         tie, and avoid a signed unsigned comparison.
68
69 2004-10-25  José Matos  <jamatos@lyx.org>
70
71         * sgml.h: add #include <string>
72
73 2004-10-25  José Matos  <jamatos@lyx.org>
74
75         * sgml.[Ch] (escapeString): new function to escape all the string.
76
77 2004-10-24  José Matos  <jamatos@lyx.org>
78
79         * paragraph.[Ch] (getFirstWord): new function to get the first
80         word. Useful for description.
81         (simpleDocBookOnePar): remove depth argument, add another that
82         says where to start the paragraph.
83
84         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
85         use the new functions to fix cleanly the support for descriptions.
86
87 2004-10-24  José Matos  <jamatos@lyx.org>
88
89         * buffer.C (makeLinuxDocFile, makeDocBookFile):
90         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
91         * output_linuxdoc.C (linuxdocParagraphs):
92         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
93         add buffer as argument.
94
95 2004-10-24  José Matos  <jamatos@lyx.org>
96
97         * output_docbook.C (makeEnvironment, searchEnvironment): place
98         CDATA inside paragraphs and fix scope for listitems.
99
100 2004-10-24  José Matos  <jamatos@lyx.org>
101
102         * output_docbook.C: remove using statement for stack.
103
104 2004-10-23  José Matos  <jamatos@lyx.org>
105
106         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
107         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
108         docbook. The new scheme is recursive and makes use of iterators, the
109         same as latex export works.
110         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
111         directly with the paragraph contents. This code was moved up to
112         output_docbook.C (docbookParagraphs).
113         * sgml.C (openTag, closeTag): removed unneeded newlines.
114         (closeEnvTags) removed.
115
116 2003-10-23  André Pönitz  <poenitz@gmx.net>
117
118         * undo.C (textUndoOrRedo):
119         * dociterator.C (asDocIterator): work around crash
120
121         * cursor.C (getStatus): replace ASSERT by more verbose error message
122           and manual correction of the problem. Should increase stability
123           while providing more sensible information.
124
125 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
128
129         * bufferlist.C (previous, next): new methods
130
131         * lfuns.h:
132         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
133
134 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
135
136         * buffer.C (makeDocBookFile): add dsssl stylesheet control
137         entities to preamble.
138
139 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
140
141         * messages.C (Pimpl): strip off translation context information
142
143 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
146         the cursor is correct (bug 1694)
147
148 2004-10-13  José Matos  <jamatos@lyx.org>
149
150         * output_docbook.C (docbookParagraphs): fix closing tags in the
151         end of the document.
152
153 2004-10-09  José Matos  <jamatos@lyx.org>
154
155         * buffer.C: format up to 237.
156         * bufferparams.C (write): use tostr to convert booleans to strings.
157
158 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
159
160         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
161
162 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * LaTeX.C: implement use of babel language in xindy.
165
166 2004-10-05  José Matos  <jamatos@lyx.org>
167
168         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
169         Add new translators to help reading and writing the lyx file.
170
171 2004-10-05  José Matos  <jamatos@lyx.org>
172
173         * ParagraphParameters.C (read):
174         * text.C (readParToken): replace nexToken by more appropriate lex
175         methods.
176
177 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
178
179         * LaTeX.C (runMakeIndex):
180         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
181         (usually 'makeindex') configurable.
182
183         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
184         with a variable rather than with a number.
185
186 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * output_latex.C (TeXOnePar): make sure font setting is the first
189         thing that gets output (and the last at the end). Should fix bug
190         1404.
191
192 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
193
194         * pch.h: use proper signal include
195
196         * LaTeX.h: Use preferred calling of Boost.Signal
197         * buffer.h: ditto
198
199 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
200
201         * pch.h: dont include <boost/function/function0.hpp>
202
203         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
204
205         * paragraph_pimpl.h: remove usage of ShareContainer
206
207         * paragraph_pimpl.C: remove initialization of ShareContainer.
208
209 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         Fix bug #1666
212
213         * BufferView.C (putSelectionAt): change the semantics when
214         backwards == true: now, this just swaps cursor and anchor wrt the
215         forward case
216
217         * BufferView.h (putSelectionAt): add some documentation
218
219         * lyxfind.C (findBackwards): rewrite using while(). In particular,
220         make sure backwardChar is done at least once (to avoid getting
221         stuck)
222         (findNextChange): use putSelectionAt in the forward direction
223         (operator()): use Paragraph::isWord
224
225 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
226
227         * Spacing.C (set): c_str fix
228
229 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * lyx_cb.C (Reconfigure): quote the name of configure script in
232         case it contains spaces
233
234 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
235
236         * client: new dir
237
238         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
239         (BOOST_LIBS): use top_buildir when looking for the file
240
241 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
242
243         * pch.h: do not use include boost/format.hpp, multiple symbols
244                 will result (gcc bug)
245
246
247 2004-08-23  José Matos  <jamatos@lyx.org>
248
249         * bufferparams.C (readToken): fix reading of the author field.
250
251 2004-08-20  José Matos  <jamatos@lyx.org>
252
253         * lyxrc.C: remove support/translator.h inclusion since it is not used.
254
255 2004-08-20  José Matos  <jamatos@lyx.org>
256
257         * lyxlex.[Ch] (findToken): remove function.
258
259         * ParagraphParameters.C (findToken):
260         * bufferparams.C (findToken): replace call for previous function
261         with local copy. This local function has one more argument, the
262         read string argument.
263
264 2004-08-16  José Matos  <jamatos@lyx.org>
265
266         * ParagraphParameters.C (write):
267         * Spacing.C (writeFile):
268         * bufferparams.C (writeLaTeX):
269         * lyx_cb.C (Reconfigure):
270         * paragraph.C (write):
271         * tabular.C (write): remove unnecessary space at end of line.
272
273
274 2004-08-16  José Matos  <jamatos@lyx.org>
275
276         * text.C (readParagraph): remove debug message.
277
278 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
281         crash
282
283         * output_plaintext.C (asciiParagraph): set depth correctly
284
285         * outputparams.h: add member depth
286
287         * paragraph_funcs.C (ownerPar): remove.
288
289         * text2.C (setCounter): remove first_pit; comment out some
290         non-working code that uses ownerPar
291
292         * BufferView.C (getParentLanguage): remove. Not used anymore, and
293         uses ownerPar
294
295 2004-08-16  José Matos  <jamatos@lyx.org>
296
297         * text.C (readParToken, readParagraph, read): report all unknown tokens.
298         For the same level of importance use the same chanel to report problems.
299         (read): add code to deal with \begin_body and \end_body.
300
301
302 2004-08-15  José Matos  <jamatos@lyx.org>
303
304         * lyxlex.C (getString): fix comment, buffer::readBody is now
305         buffer:readDocument.
306
307         * tex-strings.C (string_papersize): Default -> default,
308         Custom -> custom, for consistency with other options.
309
310 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
311
312         * pch.h: new file
313
314         * Makefile.am: support pch
315
316 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * text.C (readParToken): remove the static LyXFont variable and
319         pass it as a parameter instead. This fixes a nasty bug where an
320         inset will be inserted with a bad font in some situations
321         (readParagraph): adapt
322
323         * text2.C (setCounter): reduce number of calls to pars_[pit]
324
325         * text.C (singleWidth): add an assert, fix a test
326
327         * rowpainter.C (paintText): reduce number of calls to singleWidth
328
329         * paragraph.C (isHfill):
330         (isNewline): ws only
331
332 2004-08-14  André Pönitz  <poenitz@gmx.net>
333
334         * text.C:
335         * text2.C:
336         * rowpainter.C:
337         * lyxtext.h (several functions): use a Paragraph & argument
338         instead of par_type
339
340 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * metricsinfo.h: add a new field ltr_pos to PainterInfo
343
344         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
345
346         * text.C (singleWidth): remove useless test
347
348 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
349
350         * tabular.h: remove bogus comments
351
352         * tabular.C (getDescentOfRow):
353         (isPartOfMultiColumn): add assertions
354
355         * lyxlength.C (inPixels): remove #warning
356
357 2004-08-14  André Pönitz  <poenitz@gmx.net>
358
359         * paragraph.h: inline getChar()
360
361         * BufferView.h: remove unused declarations
362
363 2004-08-14  José Matos  <jamatos@lyx.org>
364
365         * Buffer.[Ch] (readDocument): new name for old readBody.
366         * Buffer.C: new file format, new keywords: \begin_document,
367         \begin_header, \begin_body, \end_body.
368
369         * bufferparams.C (readToken): replace all calls to lex.nextToken
370         by lex.next(). Do the same to eatLine except where really needed.
371
372         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
373         line when writing to the lyx file.
374
375         * output_plaintext.C (asciiParagraph): fix Bibliography style
376         handling.
377
378         * text.C (read): fix end of file handling.
379
380 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * MenuBackend.C (Menu::operator[]): new method to access
383         individual menu items
384         (Menu::hasFunc): new method. search for an item that corresponds
385         to a given func
386         (MenuBackend::specialMenu): new method
387         (MenuBackend::expand): if a special menu has been set, skip
388         entries whose func() appears in this menu
389
390 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
391
392         * text3.C: use Debug::DEBUG a bit more
393
394         * text.C (leftMargin): try to simplify a tiny bit change var x to
395         l_margin. Dont output the wide margins always.
396         (rightMargin): no margin in inner texts
397
398         * rowpainter.h (nestMargin): new func
399         (changebarMargin): new func
400         (rightMargin): new func
401
402         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
403         now functions.
404         (paintLast): ditto
405
406         * factory.C (createInset): modify setDrawFrame
407
408         * cursor.C: use Debug::DEBUG a bit more
409
410 2004-08-14  André Pönitz  <poenitz@gmx.net>
411
412         * coordcache.[Ch]:
413         * Makefile.am: new files to accomodate an 'external' (x,y)-position
414         cache for all insets in (at least partially) visible (top-level)
415         paragraphs.
416
417         * BufferView_pimpl.C: reset external coord cache before every update.
418         This means the coord cache only contains valid entries.
419
420 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
421
422         bug 1096
423         * BufferView_pimpl.C (getInsetByCode): move function out of class
424         and change in to a template in anon namespace. Also fix to do what
425         suits us better.
426
427 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
428
429         bug 1305
430         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
431         of char
432         (breakParagraph): rename par to par_offset and use a local
433         reference. Add code to keep the language over a rebreak.
434         (breakParagraphConservative): rename par to par_offset, use a
435         local reference
436         (mergeParagraph): ditto
437         (outerHook): ditto
438         (isFirstInSequence): ditto
439         (outerFont): rename pit to par_offset
440
441         * paragraph.C: ws change
442         * paragraph.h: ditto
443         * text3.C: ditto
444         * text.C: ditto
445
446 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
449         treatment for ']'
450
451         * paragraph.C (simpleTeXOnePar): when we have a \item with
452         optional argument, enclose the argument with curly brackets (in
453         case it contains a closing square bracket)
454
455         * text2.C (editXY):
456         * text2.C (editXY):
457         * text3.C (checkInsetHit): constify
458
459 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
462         documents (bug 1629)
463
464 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         Fix toggling of collapsable insets with the mouse (bug 1558)
467
468         * lyxfunc.C (dispatch): adapt to LCursor changes
469
470         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
471         make sure that dispatch is not invoked twice
472
473         * cursor.C (needsUpdate): new method
474         (dispatch): return void
475         (result): new method, to access the DispatchResult of the cursor.
476
477 2004-08-13  José Matos  <jamatos@lyx.org>
478
479         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
480
481 2004-08-13  André Pönitz  <poenitz@gmx.net>
482
483         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
484
485         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
486           multiple cells
487
488 2004-08-12  André Pönitz  <poenitz@gmx.net>
489
490         * text3.C: take out the 'cursor right' form insertInset and only
491         do it in those places when it is really needed. Fixes crash on
492         C-m...
493
494 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
495
496         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
497
498         * BufferView_pimpl.C (setBuffer): initialize the current font of
499         the underlying LyXText
500
501 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * kbsequence.C (print): use UI native formatting for menu
504         shortcuts
505
506         * text.C (insertChar): call Paragraph::insertChar with a font
507         argument (cosmetic)
508
509         * paragraph.C (insertInset, insertChar): the version that takes a
510         LyXFont argument is now a wrapper around the other one (the
511         opposite used to be true).
512
513         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
514         argument. Font setting is done in Paragraph now.
515
516 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * outputparams.h: add new members intitle and lang.
519
520         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
521         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
522
523 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
524
525         * text3.C (dispatch): remove special handling of button 4 and 5,
526         it is now taken care of in the frontend code.
527
528 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
529
530         * Spacing.h: add <string> (STLPort compile fix)
531
532 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
533
534         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
535
536 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
537
538         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
539         to bool.
540
541         * converter.C (showMessage): inherit from unary_function, make
542         operator() const.
543
544         * buffer.C (writeFile): initialize retval
545
546         * InsetList.h: rename private variable list to list_
547         * InsetList.[Ch]: adjust accordingly.
548
549 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
550
551         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
552         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
553         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
554         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
555         * ParagraphParameters.C, LaTeXFeatures.C: replace
556         "support/std_sstream.h" with <sstream>
557
558 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
559
560         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
561         * lyxsocket.C (LyXServerSocket): ditto
562         (serverCallback): ditto
563
564 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
565
566         * LaTeXFeatures.C: check release date when loading jurabib.
567
568 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
569
570         * lyxserver.C (startPipe): call register_socket_callback
571         (endPipe): call unregister_socket_callback
572
573 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
574
575         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
576         (LyXServerSocket): register the callback
577         (LyXServerSocket): unregister the callback
578         (fd): delete function
579         (serverCallback): improve error checking and setup the callbacks.
580         (dataCallback): change arg to fd.
581         (writeln): new func (copied fro the client socket) used for server
582         write to client.
583         (LyXDataSocket): simplify
584         (~LyXDataSocket): close ann unregiser callback
585         (server): delete function
586         (fd): delete function
587         (readln): small changes, improve some std::string usage
588         (writeln): constify a bit
589
590 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
593         Qt frontend
594
595 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * BufferView_pimpl.C (setBuffer): set the layout combox value only
598         after it has been populated
599
600 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * text2.C (insertInset): move cursor when inserting inset.
603
604 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * kbmap.C (findbindings): a couple of new methods. returns a
607         container of kb_sequence objects. The real work is done by the
608         private recursive version
609         (printbindings): uses findbindings to print out a bracketed list
610         of bindings (renamed from findbinding).
611
612         * MenuBackend.C (binding): use kb_keymap::findbindings
613
614         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
615
616 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
617
618         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
619
620 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * paragraph.C (isWord): return true on insets that report
623         isLetter().
624
625         * text.C (getWord): use Paragraph::isWord to decide what is in a
626         word and what is not; fix bug 1609.
627
628 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
629
630         * tex-strings.C: add "none" to string_paperpackages[], fixes
631         off-by-one-error in the paperpackage selection.
632
633         * lyxlex.[Ch]:
634         * tex-strings.[Ch]: char const * string[n]
635         -> char const * const string[]
636
637 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
640         command, return early.
641
642 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
643
644         * debug.h: add DEBUG to enum and fix size of ANY.
645
646         * debug.C: add support for Debug::DEBUG
647         (showTags): cast errorTags.level to unsigned int
648
649         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
650         (redoCurrentBuffer): ditto
651         (updateScrollbar): ditto
652         * cursor.C (dispatch): ditto
653         * text2.C (setLayout): ditto
654         (setFont): ditto
655         (updateCounters): ditto
656         (editXY): ditto
657         (deleteEmptyParagraphMechanism): ditto
658
659 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
660
661         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
662         annotations to cleanup the Makefile slightly.
663
664 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * lyxrc.C: do not set user_email to a default value but use empty
667         instead. The entry used to be translated, which does not work
668         since at the point where lyxrc is constructed there is no
669         translation service available
670
671         * messages.C (getLocaleDir): remove and use directly
672         lyx_localedir() instead
673
674 2004-06-02  Angus Leeming  <leeming@lyx.org>
675
676         Fix crash caused by dereferencing null pointer 'exportdata' in
677         OutputParams by creating a new ExportData variable on the heap,
678         storing it in a boost::shared_ptr.
679         The crash was triggered when generating an Instant Preview
680         of an external inset.
681
682         * Makefile.am: add outputparams.C
683
684         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
685         (c-tor): allocate memory to it.
686
687         * exporter.C (c-tor): associated changes.
688
689 2004-06-01  Angus Leeming  <leeming@lyx.org>
690
691         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
692         contains data before calling isInset(0). (Bug 1513.)
693
694 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
695
696         * exporter.C (checkOverwrite): new method
697         * exporter.C (copyFile): new method
698         * exporter.C (Export): copy referenced files to the document dir
699         * exporter.[Ch]: new class ExportedFile
700         * exporter.[Ch]: new class ExportData. Contains currently the
701         names of referenced external files
702         * outputparams.h: add exportdata member.
703
704 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
705
706         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
707         version.C-tmp
708
709 2004-05-19  Angus Leeming  <leeming@lyx.org>
710
711         * LaTeXFeatures.C:
712         * ToolbarBackend.C:
713         * bufferparams.C:
714         * lyxfunc.C: small changes due to the introduction of namespace
715         lyx::frontend and the moving of namespace biblio to lyx::biblio.
716
717 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
718
719         * text3.C (dispatch): supress update when only moving the cursor
720         * cursor.C (selHandle): remove commented code
721
722 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
723
724         * paragraph.C (startTeXParParams): correct column count
725         * CutAndPaste.C (pasteSelection): remove const_cast
726         * output_docbook.C (docbookParagraphs): remove const_cast
727         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
728         const_cast and return ParagraphList::const_iterator
729         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
730         * output_plaintext.C (writeFileAscii): remove const_cast
731         * paragraph.[Ch] (simpleTeXOnePar): make const
732         * paragraph_funcs.C (outerPar): use const iterators
733         * paragraph_pimpl.C (validate): use const iterators
734         * text.C (setHeightOfRow): use const iterators
735
736 2004-05-17  Angus Leeming  <leeming@lyx.org>
737
738         * lfuns.h:
739         * LyXAction.C (init): new LFUN_INSET_REFRESH.
740
741         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
742         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
743         if the citation engine has changed.
744
745 2004-05-14  José Matos  <jamatos@lyx.org>
746
747         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
748         if the textclass does not provide it. Have it different for sgml and
749         xml.
750         support the language of document.
751         * output_docbook.C (docbookParagraphs):
752         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
753         first anchor as the id of the paragraph, remove special case code.
754         * sgml.C (escapeChar): escape only < & >.
755
756 2004-05-14  Angus Leeming  <leeming@lyx.org>
757
758         * bufferparams.h: move biblio::CiteEngine enum here to minimize
759         dependencies on src/frontends/controllers/biblio.h. Define a
760         CiteEngine_enum wrapper class to enable the enum to be forward
761         declared.
762
763 2004-05-12  Angus Leeming  <leeming@lyx.org>
764
765         * buffer.C: up LYX_FORMAT to 234.
766         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
767         use_numerical_citations with a single biblio::CiteEngine cite_engine
768         variable.
769         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
770
771 2004-05-13  José Matos  <jamatos@lyx.org>
772
773         * converter.h:
774         * converter.C (Converter, readFlags): add xml member.
775         * outputparams.h: add XML flavor.
776         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
777
778 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         * lyxfunc.C (dispatch):
781         (getStatus): fix handling of LFUN_SEQUENCE
782
783 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * debug.C (showLevel): do not forget the end-of-line marker
786
787 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
788
789         * kbmap.C (read): do not stop parsing a bind file when an error
790         occurs (bug 1575)
791
792 2004-04-29  Angus Leeming  <leeming@lyx.org>
793
794         * cursor.C:
795         * factory.C:
796         * pariterator.C:
797         * text2.C: wrap a bunch of #warning statements
798         inside #ifdef WITH_WARNINGS blocks.
799
800 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
801
802         * buffer.C: increment format to 233.
803
804 2004-04-28  Angus Leeming  <leeming@lyx.org>
805
806         * BufferView_pimpl.C:
807         * lyxfunc.C:
808         * text3.C:
809         s/updateToolbar()/updateToolbars()/
810         s/Toolbar.h/Toolbars.h/
811
812 2004-04-28  Angus Leeming  <leeming@lyx.org>
813
814         * BufferView.[Ch] (c-tor):
815         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
816         No longer passes these data to the WorkArea generator.
817
818 2004-04-28  Angus Leeming  <leeming@lyx.org>
819
820         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
821
822 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
823
824         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
825
826 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827
828         * output_latex.C (TeXEnvironment): make sure that there is a line
829         break before \end{foo} for the last paragraph of a document
830         (TeXOnePar): if the paragraph is at the end of the document (or
831         inset) and the language has to be reset, then make sure that the
832         line break is _before_ the language command, not after (fixes bug
833         1225); also make sure that the language reset command is the first
834         thing after the paragraph (to ensure proper nesting of
835         environments and thus fix bug 1404)
836
837 2004-04-21  John Levon  <levon@movementarian.org>
838
839         * ToolbarBackend.h:
840         * ToolbarBackend.C: make "name" be a programmatic name
841         and a gui_name field.
842
843         * lyxfunc.C: display the minibuffer on M-x
844
845 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
848         (bug 1526)
849
850 2004-04-19  Angus Leeming  <leeming@lyx.org>
851
852         * BufferView_pimpl.C (setBuffer): changed preview interface.
853
854         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
855         possible values.
856
857 2004-04-19  John Levon  <levon@movementarian.org>
858
859         * BufferView_pimpl.C:
860         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
861
862 2004-04-05  Angus Leeming  <leeming@lyx.org>
863
864         * text.C (redoParagraphs): add call to updateCounters(), thereby
865         fixing the missing "Figure #:" label from the caption of a
866         figure float.
867
868 2004-04-13  Angus Leeming  <leeming@lyx.org>
869
870         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
871         cursor is clicked out of an inset.
872
873 2004-04-13  Angus Leeming  <leeming@lyx.org>
874
875         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
876         than an InsetOld one.
877
878 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
879
880         * format.[Ch]: add editor to Format
881         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
882         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
883
884 2004-04-08  André Pönitz  <poenitz@gmx.net>
885
886         * metricsinfo.h: remove PainterInfo::width member
887
888 2004-04-08  Angus Leeming  <leeming@lyx.org>
889
890         * lyx_sty.C (boldsymbol_def): modify so that it outputs
891         "\providecommand" rather than "\newcommand", thereby preventing
892         clashes with packages that define "\boldsymbol" themselves.
893         Eg, beamer.
894
895 2004-04-08  Angus Leeming  <leeming@lyx.org>
896
897         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
898         thereby squashing an unnecessary warning.
899
900 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
901
902         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
903         setBuffer()
904
905 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * BufferView.C (setCursor): call redoParagraph (some insets could
908         have been opened)
909         (putSelectionAt): remove the 'double update' trick
910
911         * BufferView_pimpl.C (fitCursor): call refreshPar
912         (workAreaDispatch): remove an uneeded update call
913         (dispatch): remove some manual update calls
914
915         * cursor.[Ch]: remove cached_y_, updatePos
916         (selHandle): set noUpdate when appropriate
917
918         * lyxfunc.C (dispatch): track if we need an update
919
920         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
921
922         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
923         (paintSelection): cheap optimization, do not call cursorX when not
924         needed
925         (paintPars): change signature
926         (refreshPar): add
927         (paintText): adjust
928         (paintTextInset): adjust
929
930         * text.C: adjust
931
932 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         * lengthcommon.C: compilation fix: remove explicit array size from
935         unit_name[] and friends
936
937 2004-04-05  Angus Leeming  <leeming@lyx.org>
938
939         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
940
941         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
942         present only for the preferences dialog.
943         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
944
945 2004-04-05  Angus Leeming  <leeming@lyx.org>
946
947         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
948         to enable the frontends to export changes to lyxrc correctly.
949
950         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
951
952 2004-04-07  André Pönitz  <poenitz@gmx.net>
953
954         * cursor.[Ch] (selClear, adjust): remove math
955
956         * cursor_slice.C: more agressive assert
957
958         * lyxfunc.C:
959         * BufferView_pimpl.C: rework mouse event dispatch
960
961         * dociterator.C:
962         * paragraph.C:
963         * text2.C:
964         * text3.C: adjust
965
966 2004-04-05  André Pönitz  <poenitz@gmx.net>
967
968         * cursor.[Ch] (valign, halign...): remove unneeded functions
969
970 2004-04-05  Angus Leeming  <leeming@lyx.org>
971
972         * lyxlength.[Ch] (unit_name et al.): const-correct.
973
974 2004-04-05  Angus Leeming  <leeming@lyx.org>
975
976         * BufferView_pimpl.C:
977         * buffer.C:
978         * counters.C:
979         * cursor.C:
980         * lyxfunc.C
981         * paragraph.C:
982         * pariterator.C:
983         * text.C:
984         * text2.C:
985         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
986
987 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * text3.C (getStatus): add LFUN_BEGINNINGBUF
990
991 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
992
993         * lyxfind.C: add a couple of inTexted() tests + other small fixes
994         * BufferView_pimpl.[Ch] (getStatus)
995         * BufferView.[Ch] (getStatus): add
996         * lyxfunc.C (getStatus): move lfuns handled in
997         BufferView::dispatch to te function above
998         * Cursor.C (setSelection): set selection() = true
999
1000 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1001
1002         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1003
1004 2004-03-31  Angus Leeming  <leeming@lyx.org>
1005
1006         * lyxfunc.C (dispatch): Fall through to the generic
1007         Dialogs::show("preamble").
1008
1009 2004-03-31  Angus Leeming  <leeming@lyx.org>
1010
1011         * lyxfunc.C (dispatch): Fall through to the generic
1012         Dialogs::show("spellchecker").
1013
1014 2004-03-31  Angus Leeming  <leeming@lyx.org>
1015
1016         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1017         preferences dialog.
1018
1019 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1020
1021         * BufferView.C
1022         * cursor.[Ch]
1023         * dociterator.[Ch]:
1024         * insetiterator.[Ch]:
1025         * lyxfind.C:
1026         * lyxfunc.C:
1027         * pariterator.[Ch]:
1028         * text2.C:
1029         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1030
1031 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1032
1033         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1034         insets where we are putting the cursor.
1035
1036 2004-03-31  Angus Leeming  <leeming@lyx.org>
1037
1038         * lfuns.h:
1039         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1040
1041         * lyxrc.[Ch] (read, write): overloaded member functions taking
1042         a std::[io]stream arguments.
1043
1044         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1045
1046 2004-03-31  Angus Leeming  <leeming@lyx.org>
1047
1048         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1049         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1050
1051         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1052         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1053
1054 2004-03-31  Angus Leeming  <leeming@lyx.org>
1055
1056         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1057         the LFUN_ALL_INSETS_TOGGLE code.
1058
1059 2004-03-30  Angus Leeming  <leeming@lyx.org>
1060
1061         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1062         has died. Fall through to the generic Dialogs::show("document").
1063
1064 2004-03-30  Angus Leeming  <leeming@lyx.org>
1065
1066         * lfuns.h:
1067         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1068         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1069
1070         * lyxfunc.C (getStatus, dispatch): define the actions for these
1071         lfuns. Little more than a cut and pste job from ControlDocument.C
1072
1073         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1074
1075 2004-03-30  Angus Leeming  <leeming@lyx.org>
1076
1077         * lfuns.h:
1078         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1079         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1080
1081         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1082         open/closed state of ollapsable insets. Usage:
1083
1084         all-inset-toggle <state> <name>, where
1085         <state> == "open" || "closed" || "toggle" and
1086         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1087
1088         * lyxtext.h, text2.C (toggleInset): removed.
1089
1090         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1091         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1092         now passes LFUN_INSET_TOGGLE to the found inset.
1093
1094         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1095         is now invoked as "all-insets-toggle toggle branch".
1096
1097 2004-03-30  Angus Leeming  <leeming@lyx.org>
1098
1099         * dociterator.C:
1100         * insetiterator.C:
1101         * pariterator.[Ch]: added/corrected header blurb.
1102
1103 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1104
1105         * dociterator.[Ch]: add an inset_ member
1106         (backwardPos): implemented
1107         (backwardPos, forwardPos): use inset_ when the stack is empty.
1108         (doc_iterator_begin, doc_iterator_end): implemented
1109         * pariterator.[Ch]: adjust, add begin, end
1110         * insetiterator.[Ch]: adjust, add begin, end
1111         * cursor.C:
1112         * document.C:
1113         * BufferView.C:
1114         * BufferView_pimpl.C:
1115         * CutAndPaste.C: adjust
1116
1117 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1118
1119         * buffer.C: increment file format to 232.
1120         * LaTeXFeatures.C: add bibtopic package.
1121         * bufferparams.[Ch]: param \use_bibtopic.
1122
1123         * lyxrc.[Ch]: add lyxrc bibtex_command
1124         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1125
1126         * buffer.C: increment file format to 231.
1127
1128 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1129
1130         * dociterator.C: implement forwardPar
1131         * iterators.[Ch]: remove, replaced by
1132         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1133         * BufferView.C:
1134         * BufferView_pimpl.C:
1135         * CutAndPaste.C:
1136         * buffer.C:
1137         * bufferview_funcs.C:
1138         * cursor.C:
1139         * lyxfind.C
1140         * lyxfunc.C
1141         * paragraph_funcs.C
1142         * toc.C:
1143         * Makefile.am: adjust
1144
1145 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1146
1147         * CutAndPaste.C (pasteSelection): fix 2 crashes
1148         (eraseSelection): fix a crash
1149         * paragraph_funcs.C: remove a warning
1150
1151 2004-03-28  Angus Leeming  <leeming@lyx.org>
1152
1153         * lfuns.h:
1154         * LyXAction.C (init): new LFUN_PRINT.
1155
1156         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1157
1158 2004-03-27  Angus Leeming  <leeming@lyx.org>
1159
1160         * lfuns.h:
1161         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1162
1163         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1164
1165 2004-03-27  Angus Leeming  <leeming@lyx.org>
1166
1167         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1168         insetlist always contains non-null pointers to insets.
1169
1170 2004-03-26  Angus Leeming  <leeming@lyx.org>
1171
1172         * src/BufferView_pimpl.C:
1173         * src/CutAndPaste.C:
1174         * src/buffer.C:
1175         * src/iterators.C:
1176         * src/output_plaintext.C:
1177         * src/outputparams.h:
1178         * src/paragraph_funcs.C:
1179         * src/rowpainter.C:
1180         * src/text.C:
1181         * src/text2.C:
1182         * src/frontends/controllers/ControlErrorList.C:
1183         * src/frontends/gtk/FileDialogPrivate.C:
1184         * src/frontends/gtk/GPainter.C:
1185         * src/frontends/gtk/GToolbar.C:
1186         * src/frontends/qt2/QRef.C:
1187         * src/mathed/math_scriptinset.C: squash compiler warnings.
1188
1189 2004-03-26  Angus Leeming  <leeming@lyx.org>
1190
1191         * ispell.C (LaunchIspell::start):
1192         * lyx_cb.C (AutoSaveBuffer::start):
1193         invoke run(DontWait) rather than runNonBlocking().
1194
1195 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1196
1197         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1198
1199 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * kbsequence.C (print): adjust
1202
1203         * kbmap.C (printKeySym): rename and change signature
1204         (printKey): use LyXKeySym::print()
1205
1206 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1207
1208         * undo.C: add using std::advance to compile for stlport
1209
1210 2004-03-24  Angus Leeming  <leeming@lyx.org>
1211
1212         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1213         it leads to a crash when no buffer is present.
1214
1215 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1216             Martin Vermeer  <martin.vermeer@hut.fi>
1217
1218         * lyxfunc.C (dispatch):
1219         * bufferparams.C (readToken): use the new LColor::setColor
1220
1221         * LColor.[Ch] (setColor): new version that takes two strings as
1222         argument and creates a new color entry if necessary
1223
1224 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1225
1226         * buffer.C (makeLaTeXFile): if the main latex file that is
1227         processed is usually a subdocument of some master, then pretend
1228         for a while that it is actually the master
1229
1230 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1231
1232         * buffer.C (getLabelList):
1233         (getBibkeyList): use getMasterBuffer()
1234         (getMasterBuffer): new method. Returns the main document in the
1235         case where one is using included documents.
1236
1237 2004-03-25  André Pönitz  <poenitz@gmx.net>
1238
1239         * Makefile.am:
1240         * iterators.[Ch]:
1241         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1242
1243         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1244
1245         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1246         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1247
1248         * ParameterStruct.h: merge with ParagraphParameters
1249
1250         * lyxtext.h: remove LyXText::parOffset() and getPar()
1251
1252         * text3.C: Remove all 'manual' update calls. We do now one per user
1253         interaction which is completely sufficient.
1254
1255         * Bidi.C:
1256         * BufferView.[Ch]:
1257         * BufferView_pimpl.C:
1258         * FontIterator.[Ch]:
1259         * MenuBackend.C:
1260         * ParagraphParameters.[Ch]:
1261         * buffer.C:
1262         * buffer.h:
1263         * bufferlist.C:
1264         * cursor.[Ch]:
1265         * cursor_slice.[Ch]:
1266         * dociterator.[Ch]:
1267         * errorlist.[Ch]:
1268         * factory.C:
1269         * lfuns.h:
1270         * lyxfind.C:
1271         * lyxfunc.C:
1272         * output_docbook.[Ch]:
1273         * output_latex.[Ch]:
1274         * output_linuxdoc.[Ch]:
1275         * output_plaintext.[Ch]:
1276         * paragraph.[Ch]:
1277         * paragraph_funcs.[Ch]:
1278         * paragraph_pimpl.[Ch]:
1279         * rowpainter.C:
1280         * tabular.[Ch]:
1281         * text.C:
1282         * text2.C:
1283         * toc.C:
1284         * undo.[Ch]: adjust
1285
1286         * frontends/controllers/ControlDocument.C:
1287         * frontends/controllers/ControlErrorList.C:
1288         * frontends/controllers/ControlSpellchecker.C:
1289         * insets/inset.C:
1290         * insets/inset.h:
1291         * insets/insetbase.h:
1292         * insets/insetbibitem.C:
1293         * insets/insetbox.C:
1294         * insets/insetbranch.C:
1295         * insets/insetcaption.C:
1296         * insets/insetcharstyle.C:
1297         * insets/insetcharstyle.h:
1298         * insets/insetcollapsable.C:
1299         * insets/insetcollapsable.h:
1300         * insets/insetert.C:
1301         * insets/insetfloat.C:
1302         * insets/insetfoot.C:
1303         * insets/insetmarginal.C:
1304         * insets/insetnote.C:
1305         * insets/insetoptarg.C:
1306         * insets/insettabular.C:
1307         * insets/insettext.C:
1308         * insets/insettext.h:
1309         * insets/insetwrap.C:
1310         * mathed/math_mboxinset.C:
1311         * mathed/math_nestinset.C:
1312         * mathed/math_scriptinset.C:
1313         * mathed/math_scriptinset.h:
1314         * support/types.h:
1315
1316 2004-03-24  Angus Leeming  <leeming@lyx.org>
1317
1318         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1319         deal with any child processes that have finished but are waiting to
1320         communicate this fact to the rest of LyX.
1321
1322 2004-03-24  Angus Leeming  <leeming@lyx.org>
1323
1324         64-bit compile fixes.
1325
1326         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1327         (c-tor): pass lyx::pos_types rather than ints.
1328
1329         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1330         lyx::pos_type.
1331
1332         * text.C (Delete): compile fix.
1333         (getPar): ensure that function declaration is the same as that in
1334         the header file.
1335
1336 2004-03-23  Angus Leeming  <leeming@lyx.org>
1337
1338         * ispell.C (LaunchIspell):
1339         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1340         a boost::shred_ptr rather than a std::auto_ptr.
1341
1342 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1343
1344         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1345         handle LFUN_FILE_INSERT_*
1346
1347         * lyxrc.C (setDefaults, getDescription, output, read):
1348         * lyxrc.h: remove ps_command
1349
1350 2004-03-22  Angus Leeming  <leeming@lyx.org>
1351
1352         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1353         Ensure that error_handler is processed once only and that all data
1354         is saved before attempting to output any warning messages.
1355
1356         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1357
1358 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1359
1360         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1361
1362 2004-03-19  André Pönitz  <poenitz@gmx.net>
1363
1364         * cursor.[Ch] (reset): take main text inset as argument
1365
1366         * BufferView: adjust
1367         * BufferView_pimpl.C: adjust
1368
1369         * paragraph.[Ch]: fix completely broken operator=()
1370
1371 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * LColor.C (getFromLyXName): make sure that the color name is used
1374         as lowercase.
1375
1376 2004-03-17  Angus Leeming  <leeming@lyx.org>
1377
1378         * lfuns.h:
1379         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1380
1381         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1382         dialog and to kill a forked process.
1383
1384 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * text2.C (setCursorFromCoordinates): fix font problem
1387
1388 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1389
1390         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1391         bogus "rebuild cursor" code
1392
1393 2004-03-11  André Pönitz  <poenitz@gmx.net>
1394
1395         * buffer.[Ch]: use InsetText instead of LyXText as container for
1396         the main lyx text.
1397
1398         * dociterator.[Ch]: drop the BufferView * member which is not needed
1399         anymore after the change to buffer.C
1400
1401         * paragraph_funcs.C:
1402         * text.C:
1403         * text2.C:
1404         * BufferView.[Ch]:
1405         * BufferView_pimpl.[Ch]:
1406         * cursor.[Ch]:
1407         * cursor_slice.[Ch]: adjust
1408
1409         * text3.C: fix bug in mathDispatch
1410
1411 2004-03-08  André Pönitz  <poenitz@gmx.net>
1412
1413         * undo.[Ch]: use 'StableDocumentIterator' as base for
1414         the Undo struct.
1415
1416 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1417
1418         * LaTeXFeatures.C:
1419         * bufferparams.[Ch]: add jurabib support and param.
1420
1421         * LaTeX.C: add FIXME/comment.
1422
1423 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1424
1425         * buffer.C: increment file format to 230.
1426
1427 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1428
1429         * cursor.C (dispatch): avoid infinite loops
1430
1431 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1432
1433         * rowpainter.C (paintSelection): fix x coordinates
1434
1435 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1436
1437         * text.C (rowBreakPoint): fix breaking before displayed insets
1438
1439 2004-03-01  André Pönitz  <poenitz@gmx.net>
1440
1441         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1442
1443         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1444
1445         * Makefile.am:
1446         * BufferView.C:
1447         * BufferView_pimpl.C:
1448         * buffer.C:
1449         * lyxfind.C:
1450         * lyxfunc.C:
1451         * text.C:
1452         * text2.C:
1453         * text3.C: adjust
1454
1455 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1456
1457         * lyxtext.h:
1458         * text.C:
1459         * text2.C:
1460         * rowpainter.C:
1461         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1462         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1463
1464 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1465
1466         * Bidi.[Ch] (computeTables): const correctness
1467         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1468         fill_hfill, fill_label_hfill and x from Row
1469         * lyxtext.h: prepareToPrint returns a RowMetrics
1470         * rowPainter.C: adjust
1471         * text.C (prepareToPrint): use width, not textWidth. adjust
1472         (redoParagraphInternal, cursorX): adjust
1473         * text2.C (getColumnNearX): adjust
1474         (init): put a default value to the top LyXText::width
1475
1476 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1479
1480 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1481
1482         * lyxtext.h: add FontIterator class
1483
1484         * text.C (FontIterator, operator*, operator->, operator++): add
1485         (rowBreakPoint, setRowWidth): adjust (fixing a
1486         rebreaking bug)
1487
1488 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * BufferView_pimpl.C (workAreaDispatch): allow also
1491         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1492
1493 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1494
1495         * text.C (rowBreakPoint): fix a bug showing with very large insets
1496
1497 2004-02-25  André Pönitz  <poenitz@gmx.net>
1498
1499         * text3.C:
1500         * cursor.[Ch]: move some mathed specific code to mathed
1501
1502 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1503
1504         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1505         use_tempdir in preferences
1506         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1507         tempfile creation
1508         * lyx_main.C: ensure that tempdir is valid
1509         * lyxlex.h: correct typo
1510         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1511         * paragraph.[Ch] (isMultiLingual): make const
1512         * cursor.[Ch] (openable): make const
1513
1514 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1515
1516         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1517
1518 2004-02-20  André Pönitz  <poenitz@gmx.net>
1519
1520         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1521
1522         * cursor.[Ch]: prepare for localized getStatus()
1523
1524         * lyxtext.h:
1525         * tabular.C:
1526         * text.C:
1527         * text2.C:
1528         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1529
1530 2004-02-20  André Pönitz  <poenitz@gmx.net>
1531
1532         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1533
1534 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * text2.C (setCursorFromCoordinates): switch to absolute coords
1537         (cursorUp): adjust
1538         (cursorDown): adjust
1539         * text3.C (dispatch): adjust
1540
1541 2004-02-16  André Pönitz  <poenitz@gmx.net>
1542
1543         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1544           insets/ChangeLog)
1545
1546         * cursor_slice.[Ch]: remove unneeded acessor function
1547
1548         * lyxtext.h: rename rtl() to isRTL()
1549
1550         * rowpainter.C:
1551         * tabular.C:
1552         * text.C:
1553         * text2.C:
1554         * text3.C: adjust
1555
1556 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1557
1558         * rowpainter.C (paintSelection): coord fix
1559
1560 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1561
1562         * Spacing.C: compile fix
1563
1564 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1565
1566         * cursor.C (dispatch): restore current_ before returning
1567
1568 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1569
1570         * text2.C (cursorUp, cursorDown): fix coords
1571         (moveUp): fix crash
1572
1573 2004-02-12  André Pönitz  <poenitz@gmx.net>
1574
1575         * lyxtext.h:
1576         * text.C:
1577         * text2.C:
1578         * text3.C: add LCursor & parameter to most cursor movement functions
1579           remove usage of LyXText::cursorRow() and cursorPar()
1580
1581         * cursor.[Ch]: add textRow() needed members
1582
1583         * BufferView.C:
1584         * BufferView_pimpl.C:
1585         * paragraph.[Ch]:
1586         * BufferView.C:
1587         * BufferView_pimpl.C: adjust
1588
1589 2004-02-11  André Pönitz  <poenitz@gmx.net>
1590
1591         * lyxfunc.C:
1592         * BufferView.[Ch]:
1593         * BufferView_pimpl.C: shift undo/redo handling
1594
1595         * cursor.[Ch]: fix mathed crash
1596
1597         * lyxfind.C:
1598         * lyxtext.h: move selectionAsText to LCursor
1599
1600         * output_latex.C:
1601         * paragraph.C:
1602         * text.C:
1603         * text2.C:
1604         * text3.C: adjust
1605
1606         * rowpainter.C: fix excessive drawing
1607
1608 2004-02-06  André Pönitz  <poenitz@gmx.net>
1609
1610         * BufferView.[Ch]:
1611         * BufferView_pimpl.[Ch]:
1612         * text3.C: move some text specific LFUN handling
1613
1614 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1615
1616         * text3.C (checkInsetHit): adjust coords
1617         * text2.C (getColumnNearX): adjust coords
1618         (edit): adjust coords
1619         * text.C (getRowNearY): add two asserts
1620
1621 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1622
1623         * converter.C:
1624         * format.C: add using std::distance to compile on gcc 2.95/stlport
1625
1626 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1627
1628         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1629
1630 2004-02-04  André Pönitz  <poenitz@gmx.net>
1631
1632         * BufferView.[Ch] (insertInset):
1633         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1634
1635         * text2.C:
1636         * text3.C: adjust
1637
1638 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1639
1640         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1641         on the default clause of the switch
1642         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1643         wasn't catched by LCursor::dispatch
1644
1645 2004-02-03  André Pönitz  <poenitz@gmx.net>
1646
1647         * BufferView.C:
1648         * cursor.[Ch]: some additional asserts
1649
1650         * undo.[Ch]: remove LyXText dependency in interface
1651
1652         * lyxfunc.C: adjust
1653
1654         * lyxtext.h (firstPar, lastPar): remove dead functions
1655
1656         * text.C:
1657         * text2.C:
1658         * text3.C:
1659         * paragraph.[Ch]: adjust
1660
1661 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1662
1663         * lyxfind.C (find): fix argument order in call to ::find
1664
1665 2004-02-02  André Pönitz  <poenitz@gmx.net>
1666
1667         * cursor.[Ch]: remove direct access to anchor
1668
1669         * text.C: remove findText() hack
1670
1671 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1672
1673         * iterators.[Ch] (lockPath): remove in favour of...
1674         * BufferView.[Ch] (setCursor): this addition
1675         * BufferView.C (putSelectionAt): adjust
1676         * undo.C (performUndoOrRedo): adjust
1677         * lyxfunc.C (dispatch): adjust
1678
1679 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1680
1681         * iterators.C (lockPath): add a missing slice
1682         * undo.C (performUndoOrRedo): remove redundant positioning code
1683
1684 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1685
1686         * vc-backend.C (scanMaster): ";" -> ';'
1687
1688 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1689
1690         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1691         std::binary_function
1692
1693         * lyxtextclass.C (compare_name): rename to...
1694         (LayoutNamesEqual): ...this
1695
1696         * lyxlex_pimpl.C (compare_tags): inherit from
1697         std::binary_function, put back into anon namespace
1698
1699         * lyxfind.C (MatchString): inherig from std::binary_function
1700         (findChange): use empty() istead of !size()
1701
1702         * format.C (FormatNamesEqual): new functor
1703         (getFormat): use it
1704         (getNumber): use it
1705         (add): use it
1706         (erase): use it
1707         (setViewer): use it
1708
1709         * converter.C (compare_Converter): rename to...
1710         (ConverterEqual): ...this, and fixup a bit.
1711         (getConverter): use it, and make function const
1712         (getNumber): use it, and make function const
1713         (add): use it
1714         (erase): use it:
1715
1716         * bufferlist.C: add using boost::bind
1717
1718         * MenuBackend.C (MenuNamesEqual): new functor
1719         (hasMenu): use it, and make function const
1720         (hasSubmenu): use nested bind to get rid of compare_memfun.
1721
1722 2004-01-30  André Pönitz  <poenitz@gmx.net>
1723
1724         * BufferView_pimpl.C:
1725         * cursor.C:
1726         * cursor.h:
1727         * cursor_slice.[Ch]:
1728         * lyxfunc.C:
1729         * lyxtext.h:
1730         * paragraph_funcs.C:
1731         * paragraph_funcs.h:
1732         * rowpainter.C:
1733         * text.C:
1734         * text2.C:
1735         * text3.C: move some of the edit(x,y) handling to the insets
1736         some coordinate changes.
1737
1738 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1739
1740         * text.C: add using statements for std::advance and std::distance
1741
1742         * paragraph.C: add using statement for std::distance
1743
1744         * lyxfind.C: add using statement for std::advance
1745
1746         * cursor.C (region): remove std:: from swap
1747         (openable): use nucleus in stead of operator->
1748
1749         * BufferView.C: add using statements for std::distance and std::swap
1750
1751 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1752
1753         * iterators.C: Remove the pimple, move the needed structures to
1754         the header file. Create accessor for the positions stack.
1755         (asPosIterator): remove function
1756
1757         * PosIterator.C (PosIterator): move constructors to top of file
1758         (PosIterator): reimplement the constructor taking a ParIterator in
1759         terms of setFrom.
1760         (setFrom): new function
1761         (operator!=): inline it
1762
1763 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1764
1765         * lyxfind.C (replaceAll): use std::advance
1766
1767         * iterators.h: inherit from std::iterator.
1768
1769         * PosIterator.C (advance, distance): remove
1770         * PosIterator.h: interit from std::iterator.
1771
1772 2004-01-26  André Pönitz  <poenitz@gmx.net>
1773
1774         * BufferView.[Ch]:
1775         * BufferView_pimpl.[Ch]:
1776         * InsetList.[Ch]:
1777         * PosIterator.[Ch]:
1778         * buffer.h:
1779         * bufferview_funcs.C:
1780         * cursor.[Ch]:
1781         * cursor_slice.h:
1782         * factory.[Ch]:
1783         * iterators.[Ch]:
1784         * lyxfind.C:
1785         * lyxfunc.C:
1786         * lyxtext.h:
1787         * output_docbook.C:
1788         * output_latex.C:
1789         * output_linuxdoc.C:
1790         * output_plaintext.C:
1791         * paragraph.[Ch]:
1792         * paragraph_funcs.[Ch]:
1793         * paragraph_pimpl.[Ch]:
1794         * rowpainter.C:
1795         * tabular.C:
1796         * tabular.h:
1797         * text.C:
1798         * text2.C:
1799         * text3.C: more IU:  dumps most of the rest of the mathcursor
1800     implementation into cursor.[Ch]; "globalize" a bit of it.
1801
1802 2004-01-25  Angus Leeming  <leeming@lyx.org>
1803
1804         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1805
1806 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1807
1808         * LaTeXFeatures.h: add nice_ and nice() const
1809         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1810
1811 2004-01-20  André Pönitz  <poenitz@gmx.net>
1812
1813         * BufferView.[Ch]:
1814         * BufferView_pimpl.C:
1815         * PosIterator.C:
1816         * bufferview_funcs.C:
1817         * cursor.[Ch]:
1818         * cursor_slice.[Ch]:
1819         * factory.C:
1820         * iterators.C:
1821         * lyx_cb.C:
1822         * lyxfind.C:
1823         * lyxfunc.C:
1824         * lyxtext.h:
1825         * rowpainter.C:
1826         * text.C:
1827         * text2.C:
1828         * text3.C:
1829         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1830           LCursor and mathcursor parts to LCursor and InsetBase.
1831
1832 2004-01-15  André Pönitz  <poenitz@gmx.net>
1833
1834         * cursor_slice.[Ch]: add a few covienience functions
1835
1836         * funcrequest.[Ch]: remove BufferView * member
1837
1838         * BufferView_pimpl.C:
1839         * cursor.C:
1840         * factory.[Ch]:
1841         * lyxfind.[Ch]:
1842         * lyxfunc.C:
1843         * lyxtext.h:
1844         * text3.C:
1845         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1846
1847 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1848
1849         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1850         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1851
1852 2004-01-13  André Pönitz  <poenitz@gmx.net>
1853
1854         * textcursor.[Ch]:
1855         * lyxtext.h: hide cursor and selection anchor behind accessor function
1856
1857         * BufferView.C:
1858         * BufferView_pimpl.[Ch]:
1859         * PosIterator.C:
1860         * bufferview_funcs.C:
1861         * cursor.h:
1862         * lyxfind.C:
1863         * lyxfunc.C:
1864         * text.C:
1865         * text2.C:
1866         * text3.C:
1867         * undo.C: adjust
1868
1869         * cursor.h:
1870         * cursor_slice.[Ch]: some integer type changes for inset unification
1871
1872         * lyxcursor.[hC]: remove, it's CursorSlice now.
1873
1874         * Makefile.am:
1875         * BufferView_pimpl.[Ch]:
1876         * bufferview_funcs.C:
1877         * cursor_slice.C:
1878         * lyxtext.h:
1879         * text.C:
1880         * text2.C:
1881         * text3.C:
1882         * textcursor.[Ch]: adjust
1883
1884 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1885
1886         * text2.C (undoSpan): add and use
1887         * text.C (breakParagraph): use undoSpan (fix bug 578)
1888         * lyxtext.h: adjust
1889
1890 2004-01-08  Angus Leeming  <leeming@lyx.org>
1891
1892         * BufferView_pimpl.C (MenuInsertLyXFile):
1893         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1894         * lyxfunc.C (menuNew, open, doImport):
1895         FileFilterList change to the FileDialog open and save functions.
1896
1897 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1898
1899         * ShareContainer.h: make isEqual and isUnique adaptable
1900
1901         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1902
1903 2004-01-07  Angus Leeming  <leeming@lyx.org>
1904
1905         * LyXAction.C:
1906         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1907
1908         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1909
1910         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1911         functions replacing find, replace and replaceAll.
1912
1913         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1914         LFUN_WORDFIND(FORWARD|BACKWARD).
1915
1916 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1917
1918         * text.C (breakParagraph): remove an outdated #warning
1919
1920 2004-01-07  André Pönitz  <poenitz@gmx.net>
1921
1922         * lyxfind.C: somewhat clearer logic
1923
1924         * text.C: prevent crash in cursorX on unitialized row cache
1925
1926 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * lyxcursor.[Ch] (operator>): add
1929         * textcursor.C (selStart, selEnd): use std::min and std::max
1930
1931 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1932
1933         * Chktex.C: include boost/format.hpp
1934
1935 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1936
1937         * InsetList.C: replace functor MathcIt with adaptable functor
1938         InsetTablePosLess
1939         (insetIterator): modify accordingly
1940
1941         * BranchList.h: move the BranchNamesEqual functor here from...
1942         * BranchList.C: ... to here
1943
1944         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1945         SameName and match.
1946         (add): replace a finding loop with std::find_if.
1947
1948 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1949
1950         * output_docbook.C: moving LatexParam functionality into
1951         .layout files
1952
1953 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1954
1955         * buffer.C: increment format to 229.
1956
1957 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1958
1959         * LaTeXFeatures.C:
1960         * lyx_sty.[Ch]: remove minipageindent_def
1961
1962         * LyXAction.C:
1963         * factory.C:
1964         * lfuns.h:
1965         * lyxfunc.C:
1966         * text3.C: remove LFUN_INSET_MINIPAGE
1967
1968 2003-12-28  Angus Leeming  <leeming@lyx.org>
1969
1970         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1971
1972 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * text2.C (setParagraph): fix off-by-one crash
1975
1976 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1977
1978         * output_docbook.C: header stuff for AGU
1979
1980 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * text2.C (redoCursor): remove
1983         * text.C:
1984         * text3.C:
1985         * BufferView_pimpl.C: remove calls to redoCursor and
1986         setCursor(cursor.par(), cursor.pos()) all around
1987
1988 2003-12-15  Angus Leeming  <leeming@lyx.org>
1989
1990         * buffer.C: up the format to 228.
1991
1992 2003-12-15  André Pönitz  <poenitz@gmx.net>
1993
1994         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1995         slices
1996
1997         * Makefile.am:
1998
1999         * BufferView_pimpl.C:
2000         * cursor.[Ch]:
2001         * lyxcursor.[Ch]:
2002         * rowpainter.[Ch]:
2003         * lyxtext.h:
2004         * text.C:
2005         * text2.C:
2006         * text3.C: adjust
2007
2008 2003-12-15  Angus Leeming  <leeming@lyx.org>
2009
2010         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2011         than getFromGUIName to manipulate the color.
2012
2013 2003-12-14  Angus Leeming  <leeming@lyx.org>
2014
2015         * BranchList.[Ch]: minimize the API.
2016         (Branch::getBranch, getColor): now return a 'const &'.
2017         (Branch::setSelected) now returns a bool set to true if the
2018         selection status changes.
2019         (BranchList::clear, size, getColor, setColor, setSelected,
2020         allBranches, allSelected, separator): removed.
2021         (BranchList::find): new functions, returning the Branch with
2022         the given name.
2023         (BranchList::add, remove): return a bool indicating that
2024         the operation was successful.
2025
2026         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2027         new InsetBranch::isBranchSlected member function.
2028
2029         * LColor.[Ch]: mimimize the API.
2030         (fill): renamed as addColor and made private.
2031         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2032         versions of these functions taking a string arg have been removed.
2033
2034         * bufferparams.C (readToken):
2035         * lyxfunc.C (dispatch):
2036         * lyxrc.C (read): changes due to the altered BranchList and
2037         LColor APIs.
2038
2039         * factory.C (createInset, readInset): changes due to altered
2040         InsetBranch c-tor.
2041
2042 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2043
2044         * factory.C:
2045         * lyxfunc.C: remove insetminipage. "minipage-insert"
2046         now produces a frameless minipage box inset.
2047
2048 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2049
2050         * textcursor.[Ch] (selStart,selEnd): add new methods
2051         remove selection::start, end, use LyXCursor::operator<
2052         * lyxcursor.[Ch] (operator<): add
2053         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2054         * BufferView.[Ch] (unsetXSel): add
2055         * text2.C (clearSelection): use unsetXSel,adjust
2056         * text.C: adjust
2057         * text3.C: adjust
2058         * rowpainter.C: adjust
2059         * bufferview_funcs.C (put_selection_at): adjust
2060
2061 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2062
2063         * BufferView_pimpl.C: small coord. correction
2064
2065 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2066
2067         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2068         dragging over the splash screen.
2069
2070 2003-12-11  Angus Leeming  <leeming@lyx.org>
2071
2072         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2073         as it is now handled in LyXText::dispatch.
2074
2075         * text3.C (doInsertInset): remove a level of nesting.
2076
2077 2003-12-11  Angus Leeming  <leeming@lyx.org>
2078
2079         * factory.C (createInset): changes due to the changed interface to
2080         InsetCommandMailer::string2params.
2081
2082 2003-12-10  Angus Leeming  <leeming@lyx.org>
2083
2084         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2085         'dialog-show-new-inset <inset name>'
2086
2087 2003-12-10  Angus Leeming  <leeming@lyx.org>
2088
2089         * buffer.C: up the format to 227.
2090
2091         * factory.C: the box inset is now identified simply by 'Box'.
2092
2093 2003-12-10  Angus Leeming  <leeming@lyx.org>
2094
2095         * buffer.C: up the format to 226.
2096
2097         * factory.C: the note inset is now identified simply by 'Note'.
2098
2099 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2100
2101         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2102         when a pit is enough. Standarize a couple of loops.
2103
2104 2003-12-05  Angus Leeming  <leeming@lyx.org>
2105
2106         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2107         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2108         data to the re-worked "log" dialog.
2109
2110 2003-12-03  André Pönitz  <poenitz@gmx.net>
2111
2112         * PosIterator.C:
2113         * iterators.C:
2114         * lyxtext.h:
2115         * output_latex.C:
2116         * paragraph_funcs.C:
2117         * text.C:
2118         * text2.C: use Inset::getText instead of Inset::getParagraph
2119
2120 2003-12-03  André Pönitz  <poenitz@gmx.net>
2121
2122         * buffer.[Ch]:
2123         * lyxtext.h:
2124         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2125         InsetText::read() as LyXText::read()
2126
2127 2003-12-02  Angus Leeming  <leeming@lyx.org>
2128
2129         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2130         type. Add a comment in the implementation that the function uses
2131         the stream's bad() function rather than fail() as the std::streams
2132         would do.
2133
2134 2003-12-02  André Pönitz  <poenitz@gmx.net>
2135
2136         * lyxlex.[Ch]: make interface more similar to std::stream
2137
2138         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2139
2140 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2141
2142         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2143
2144 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2145
2146         * vspace.[Ch]: remove VSpace::NONE
2147
2148 2003-12-01  André Pönitz  <poenitz@gmx.net>
2149
2150         * buffer.[Ch]:
2151         * lyxtext.h: move ParagraphList member to LyXText
2152         rename LyXText::ownerParagraphs to LyXText::paragraph
2153
2154         * CutAndPaste.C:
2155         * bufferview_funcs.C:
2156         * iterators.[Ch]:
2157         * lyx_cb.C:
2158         * paragraph.C:
2159         * rowpainter.C:
2160         * tabular.C:
2161         * text.C:
2162         * text2.C:
2163         * text3.C: adjust
2164
2165         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2166
2167         * undo.C: fix cursor positioning
2168
2169 2003-12-01  John Levon  <levon@movementarian.org>
2170
2171         * BufferView_pimpl.C: fix a crash on exit with
2172         a buffer open
2173
2174 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2175
2176         * BranchList.C: fix setSelected() method.
2177
2178 2003-11-28  André Pönitz  <poenitz@gmx.net>
2179
2180         * ParagraphParameters.[Ch]:
2181         * ParameterStruct.h: remove space above/below from Paragraph to
2182          InsetVSpace
2183
2184         * BufferView_pimpl.C:
2185         * factory.C:
2186         * lyxfunc.C:
2187         * lyxtext.h:
2188         * output_latex.C:
2189         * paragraph.C:
2190         * paragraph_funcs.C:
2191         * rowpainter.[Ch]:
2192         * text.C:
2193         * text2.C:
2194         * text3.C: adjust
2195
2196 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2197
2198         * factory.C: Syntax change for CharStyles
2199
2200 2003-11-28  André Pönitz  <poenitz@gmx.net>
2201
2202         * BufferView.[Ch]:
2203         * BufferView.[Ch]:
2204         * buffer.[Ch]:
2205         * buffer.[Ch]: move LyXText member
2206
2207 2003-11-28  André Pönitz  <poenitz@gmx.net>
2208
2209         * BufferView.[Ch]: make LyXText * text a private member
2210
2211         * BufferView_pimpl.C:
2212         * cursor.C:
2213         * iterators.C:
2214         * lyx_cb.C:
2215         * lyxfind.C:
2216         * lyxtext.h:
2217         * rowpainter.[Ch]:
2218         * text.C:
2219         * text2.C:
2220         * undo.C: adjust
2221
2222         * output_plaintext.C: cleanup
2223
2224 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2225
2226         * buffer.C:
2227         * lyxtextclass.[Ch]: parametrize SGML document header
2228
2229 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2230
2231         * converter.[Ch]:
2232         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2233         getFlavor().
2234
2235 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2236
2237         * text2.C (setFont): rework using PosIterator (no more recursive)
2238         (setCharFont): no more needed
2239         (setLayout): no more selection cursors fiddling (done by redoCursor)
2240         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2241         destroy remaining ones)
2242
2243 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2244
2245         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2246         * lyxtext.h: ditto
2247         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2248         selection cursors
2249         * lyxfunc.C: adjust
2250         * text3.C: adjust + re-allow multi par depth changes
2251         * textcursor.C: simplify a bit
2252
2253 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2254
2255         * src/buffer.C:
2256         * src/lyxlayout.C:
2257         * src/lyxlayout.h:
2258         * src/lyxtext.h:
2259         * src/output_docbook.C:
2260         * src/output_latex.C:
2261         * src/paragraph.C:
2262         * src/paragraph.h:
2263         * src/sgml.C:
2264         * src/sgml.h:
2265         * src/text2.C: Introducing a number of tags parametrizing various
2266         XML formats that we may want to support
2267
2268 2003-11-25  André Pönitz  <poenitz@gmx.net>
2269
2270         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2271
2272         * lyxtext.h (leftMargin/rightMargin): simplify interface
2273
2274         * rowpainter.C:
2275         * text.C:
2276         * text2.C:
2277         * text3.C: adjust
2278
2279 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2280
2281         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2282         master file to any child files. Fixes bug 546.
2283
2284 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2285
2286         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2287
2288 2003-11-24  André Pönitz  <poenitz@gmx.net>
2289
2290         * rowpainter.C: simplification
2291
2292         * text2.C (updateCounters): remove call to redoParagraph on
2293         changed labels as this is far too expensive.
2294
2295 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2296
2297         * converter.C (convert): fix a crash: this function gets
2298         called with buffer == 0 from importer code.
2299
2300 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2301
2302         * text3.C (cursorPrevious): make sure that we do not compare
2303         iterators form different containers.
2304         (cursorNext): ditto
2305
2306         * rowpainter.C (paintSelection): make sure that we do not compare
2307         iterators from different containers.
2308
2309         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2310         iterators from different ParagraphList containers.
2311         [NEXT] ditto
2312
2313         * text2.C (LyXText): change order of initialization slightly
2314         (operator=): new function. copy all variables except cache_par_
2315         (moveUp): make sure that we do not compare iterators from
2316         different ParagraphList constainers.
2317         (moveDown): ditto
2318
2319         * text.C (firstPar): new function
2320         (lastPar): new function
2321         (endPar): new function
2322
2323         * lyxtext.h: move things around and group public functions, public
2324         variables, private functions, private variables
2325
2326 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2327
2328         * factory.C: change call to InsetERT constructor to avoid
2329         additional invocation of method status
2330         * text2.C (toggleInset): remove redundant update() call
2331         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2332         instead of a Bufferview pointer
2333
2334 2003-11-21  André Pönitz  <poenitz@gmx.net>
2335
2336         * rowpainter.C: simplification
2337
2338 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * text3.C (dispatch): make possible to extend a word/row selection
2341         with the mouse
2342
2343 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * lyxtext.h: x0_,y0_ -> xo_,yo_
2346         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2347         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2348         * rowpainter.C (paintRows): paint full paragraphs
2349
2350 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2351
2352         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2353         screen coordinates)
2354
2355 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2356
2357         * lyxtext.h: add x0_, y0_
2358         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2359         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2360
2361 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2362
2363         * text2.C (setCursorIntern): move the x_target update here *
2364         * text3.C: change some bv() to true/false in calls to
2365         cursorUp/Down/Right/Left
2366         * cursor.C: use helper function.
2367
2368 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2369
2370         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2371         * paragraph_funcs.[Ch]: correct comment
2372         * rowpainter.C: do not paint selections away from bv->cursor()
2373         Fix a long standing selection painting bug.
2374         * text3.C: generalize mouse-selection code to LyXTexts other that
2375         top one
2376         * textcursor.C: do not use y coords if we can use par offsets
2377
2378 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2379
2380         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2381         cursor position after e.g. inset insert)
2382
2383 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2384
2385         * lyxfind.C (replace): adjust to locking removal + some
2386         code simplification
2387
2388 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2389
2390         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2391         of the path
2392
2393 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2394
2395         * lyxlayout.[Ch]:
2396         * output_docbook.C: XML sanitation: new layout
2397         parameters InnerTag and CommandDepth
2398
2399 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2400
2401         * BufferView_pimpl.C:
2402         * factory.C:
2403         * text3.C: Fix the insertion and modification of button-style
2404         insets
2405
2406 2003-11-13  André Pönitz  <poenitz@gmx.net>
2407
2408         * InsetList.[Ch]: remove deleteLyXText
2409
2410         * paragraph.[Ch]: cache beginOfBody position
2411
2412         * Bidi.C:
2413         * text.C:
2414         * text2.C:
2415         * text3.C: remove superfluous update() calls
2416
2417         * vspace.C: cleanup
2418
2419 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2420
2421         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2422         * BufferView.C (fitLockedInsetCursor): remove
2423         * cursor.[Ch] (getDim): add
2424         * text.C (getRowNearY): add faster version
2425         * text3.C: remove some update calls
2426
2427 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2428
2429         * LaTeXFeatures.C:
2430         * LyXAction.C:
2431         * MenuBackend.C:
2432         * MenuBackend.h:
2433         * dispatchresult.h:
2434         * factory.C:
2435         * lfuns.h:
2436         * lyxfunc.C:
2437         * lyxtextclass.C:
2438         * lyxtextclass.h:
2439         * text3.C: The Character Style /XML short element patch.
2440
2441 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2442
2443         * text3.C:
2444         * factory.C: Small step to solving 'unable to insert some insets'
2445         problem
2446
2447 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * cursor.[Ch] (updatePos): new function for updating the y
2450         position of the tip inset
2451         * bufferview_funcs.C (put_selection_at):
2452         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2453
2454 2003-11-11  André Pönitz  <poenitz@gmx.net>
2455
2456         * text.C: remove big comment on invalid Paragraph pointers as it is
2457         not valid anymore
2458
2459 2003-11-11  André Pönitz  <poenitz@gmx.net>
2460
2461         * text_funcs.[Ch]: merge with ...
2462
2463         * text.C: ... this
2464
2465         * lyxtext.h:
2466         * text2.C:
2467         * text3.C: adjust
2468
2469         * Makefile.am: remove text_funcs.[Ch]
2470
2471 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2472
2473         * cursor.C (getPos): return absolute cached y coord
2474
2475         * BufferView_pimpl.C (fitCursor): new simplistic code
2476         (workAreaDispatch): add a fitCursor call
2477
2478 2003-11-10  André Pönitz  <poenitz@gmx.net>
2479
2480         * BufferView.[Ch]:
2481         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2482
2483 2003-11-10  André Pönitz  <poenitz@gmx.net>
2484
2485         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2486         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2487         indicate that the cursor needs to leave an inset
2488
2489         * lyxtext.h: remove inset locking
2490
2491         * cursor.[Ch]: re-implement functionality provided by inset locking
2492
2493         * BufferView.[Ch]:
2494         * BufferView_pimpl.[Ch]:
2495         * LyXAction.C:
2496         * bufferview_funcs.[Ch]:
2497         * factory.C:
2498         * funcrequest.[Ch]:
2499         * iterators.C:
2500         * lyx_cb.C:
2501         * lyxfind.C:
2502         * lyxfunc.C:
2503         * text.C:
2504         * text2.C:
2505         * text3.C:
2506         * undo.C: adjust
2507
2508 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * PosIterator.[Ch]: replace the stack with a vector, add inset
2511         accesor
2512         * iterators.[C]: adjust
2513
2514 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2515
2516         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2517         replaced
2518         * paragraph_funcs.C (readParToken): put the correct id in the
2519         error item, not the id of the top paragraph
2520
2521 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2522
2523         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2524         * bufferview_funcs.C (put_selection_at): use the above
2525
2526 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2527
2528         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2529
2530 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2531
2532         * output_linuxdoc.h:
2533         * output_plaintext.h:
2534         * output.h:
2535         * output_docbook.h: add #include statements
2536
2537 2003-11-05  José Matos  <jamatos@lyx.org>
2538
2539         * output_docbook.[Ch]:
2540         * output_latex.[Ch]:
2541         * output_linuxdoc.[Ch]:
2542         * output_plaintext.[Ch]: New files for output formats.
2543         * output.[Ch]: New file for helper functions.
2544
2545         * buffer.[Ch]:
2546         * paragraph_funcs.[Ch]: output functions moved to new files.
2547
2548         * outputparams.h: rename of latexrunparams.h
2549
2550         * LaTeX.[Ch]:
2551         * buffer.[Ch]:
2552         * bufferlist.[Ch]:
2553         * converter.[Ch]:
2554         * exporter.C:
2555         * paragraph.[Ch]:
2556         * paragraph_funcs.[Ch]:
2557         * paragraph_pimpl.[Ch]:
2558         * tabular.[Ch]: rename ascii to plaintext
2559         and LatexRunParams to OutputParams.
2560
2561 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2562
2563         * iterators.[Ch] (text): require bv argument
2564         * undo.C (recordUndo):
2565         * lyxfunc.C (dispatch):
2566         * bufferview_funcs.C (put_selection_at): adjust
2567
2568 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2569
2570         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2571
2572 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2573
2574         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2575         nestings
2576
2577 2003-11-04  André Pönitz  <poenitz@gmx.net>
2578
2579         * cursor.[Ch]: restructure
2580
2581         * BufferView.[Ch]:
2582         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2583
2584         * iterators.[Ch] (asCursor): remove
2585
2586         * lfuns.h: remove LFUN_INSET_EDIT
2587
2588         * lyxfunc.C:
2589         * tabular.C:
2590         * text.C:
2591         * text2.C:
2592         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2593
2594 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * lyxfind.[Ch]: complete overhaul
2597         * BufferView_pimpl.C:
2598         * lyxfunc.C: adjust
2599         * paragraph.[Ch] (insert): add
2600
2601 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2602
2603         * BufferView.[Ch]:
2604         * lyxtext.h:
2605         * text.C: remove dead spellcheck code
2606
2607 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2608
2609         * dispatchresult.h: add a val setter
2610
2611         * cursor.C (dispatch): use a tempvar for data_[i]
2612
2613 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2614
2615         * PosIterator.[Ch]: compile fix
2616
2617 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * text.C (cursorPar): deactivate the cursor cache
2620
2621 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2622
2623         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2624
2625 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * text3.C (dispatch): adjust for new DisptchResult semantics.
2628
2629         * lyxfunc.C (dispatch): handle update when return from
2630         Cursor::dispatch, adjust for new DispatchResult semantics.
2631
2632         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2633         DispatchResult(true) mean to not update. Add class functions for
2634         setting dispatched and update, as well as reading.
2635
2636         * cursor.C (dispatch): don't handle update here
2637
2638 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2639
2640         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2641         * trans_mgr.C: adjust
2642
2643         * paragraph_funcs.C (readParToken): exception safety
2644
2645         * lyxvc.h: store the vcs pointer in a scoped_ptr
2646         * lyxvc.C: adjust
2647
2648         * lyxsocket.C (serverCallback): exception safety
2649
2650         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2651
2652         * ispell.C (clone): make it return a auto_ptr
2653
2654         * factory.C (createInset): exception safety
2655         (readInset): exception safety
2656
2657         * bufferlist.C (newBuffer): exception safety
2658
2659         * Thesaurus.C (Thesaurus): use initialization for aik_
2660
2661         * MenuBackend.C (expandToc): exception safety.
2662
2663 2003-11-03  André Pönitz  <poenitz@gmx.net>
2664
2665         * buffer.C:
2666         * buffer.h:
2667         * bufferview_funcs.C: remove getInsetFromId()
2668
2669         * lyxcursor.[Ch]:
2670         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2671
2672         * lyxfunc.C:
2673         * text2.C:
2674         * text3.C: adjust
2675
2676 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2677
2678         * PosIterator.C (distance, advance): new
2679         * bufferview_funcs.[Ch] (put_selection_at): new
2680         * iterators.[Ch] (lockPath): new
2681
2682 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2683
2684         * iterators.[Ch] (asPosIterator): added
2685         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2686         * PosIterator.[Ch]: added
2687
2688 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2689
2690         * text3.C:
2691         * lyxfunc.C:
2692         * cursor.C (dispatch):
2693         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2694
2695         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2696         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2697         contructor, add a class function dispatched. Remove operator>=
2698
2699 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * debug.C: only use the default constructor for debugstream
2702         (lyxerr) here.
2703
2704         * main.C (main): include debug.h and setup the lyxerr streambuf
2705         here.
2706
2707 2003-10-31  José Matos  <jamatos@lyx.org>
2708
2709         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2710
2711         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2712         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2713         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2714         * paragraph_pimpl.C (simpleTeXSpecialC):
2715         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2716         add LatexRunParams argument.
2717
2718         * exporter.C (Export): change call accordingly.
2719
2720         * latexrunparams.h: add new member to take care of the other backends.
2721 2003-10-30  José Matos  <jamatos@lyx.org>
2722
2723         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2724         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2725         factorise code for paragraph output.
2726         * buffer.[Ch]:
2727         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2728         move functions.
2729
2730 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2731
2732         * text3.C (dispatch):
2733         * lyxfunc.C (dispatch):
2734         * cursor.C (dispatch):
2735         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2736
2737         * dispatchresult.h: make the dispatch_result_t ctor explicit
2738
2739 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2740
2741         * sgml.[Ch]:
2742         * buffer.C: small refactoring of docbook stuff
2743
2744 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2745
2746         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2747         meaning.
2748
2749 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2750
2751         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2752         operator dispatch_result_t, and operators for == != and >=
2753
2754         * cursor.C (dispatch): adjust for operator dispatch_result_t
2755         removal. comment out call to update
2756
2757         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2758
2759 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2760
2761         * text3.C:
2762         * text2.C:
2763         * text.C:
2764         * lyxtext.h:
2765         * lyxfunc.C:
2766         * cursor.C:
2767         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2768         (dispatch):
2769
2770         * dispatchresult.h: new file, DispatchResult broken out of
2771         insets/insetbase.h
2772
2773         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2774
2775 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2776
2777         * text.C (rowBreakPoint): put a hack inside #if 0
2778
2779 2003-10-28  André Pönitz  <poenitz@gmx.net>
2780
2781         * lyxtext.h:
2782         * metricsinfo.C:
2783         * paragraph_funcs.C:
2784         * rowpainter.C:
2785         * text.C:
2786         * text2.C: general cleanup (lots of small stuff)
2787
2788 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2789
2790         * text2.C (cursorEnd): simple fix to the "end key goes to one
2791         before the end on last row" bug
2792
2793 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * text.C (backspace): fix the "zombie characters"
2796
2797 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2798
2799         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2800
2801 2003-10-27  André Pönitz  <poenitz@gmx.net>
2802
2803         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2804
2805         * factory.C: handle new InsetPagebreak, InsetLine
2806
2807         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2808         and move handling into new InsetPagebreak, InsetLine
2809
2810         * BufferView_pimpl.C:
2811         * LyXAction.C:
2812         * ParagraphParameters.C:
2813         * ParameterStruct.h:
2814         * lyxfunc.C:
2815         * lyxtext.h:
2816         * paragraph.C:
2817         * paragraph.h:
2818         * paragraph_funcs.C:
2819         * paragraph_pimpl.C:
2820         * rowpainter.C:
2821         * text.C:
2822         * text2.C:
2823         * text3.C: adjust
2824
2825 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2826
2827         * text.C:
2828         * lyxrow_funcs.[Ch]:
2829         * Bidi.C:
2830         * paragraph.C:
2831         * lyxtext.h:
2832         * rowpainter.C:
2833         * text2.C:
2834         * text3.C: remove lastPos uses in favour of Row::endpos
2835
2836 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2837
2838         * undo.C (performUndoOrRedo): fix two crashes by setting a
2839         cursor by hand and reordering some calls. Use bv->lockInset instead
2840         of inset->edit because the latter loses cursor information
2841
2842 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2845         by Martin
2846         (rowBreakPoint): fix width. change point to point + 1.
2847         Add a missing check.
2848
2849 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2850
2851         * MenuBackend.C:
2852         * lyxfunc.C: fix (at least partly) the problems
2853         with the Nav menu and headers inside branch insets
2854         reported by Kayvan
2855
2856 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * paragraph.C (getChar): add strong asserts
2859
2860         * lyxrow_funcs.C (lastPos): remove hideous hack
2861
2862         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2863         (fill): adjust to that (avoid an infinite loop)
2864
2865 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2868
2869 2003-10-23  André Pönitz  <poenitz@gmx.net>
2870
2871         * RowList_fwd.h: change list<> to vector<> to gain speed
2872         after suggestion from Alfredo
2873
2874 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2875
2876         * lyxtext.h: move the bidi stuff from here...
2877         * text.C: and here
2878         * text2.C: and here
2879         * Bidi.[Ch]: ... to here
2880
2881 2003-10-23  André Pönitz  <poenitz@gmx.net>
2882
2883         * lyxtext.h:
2884         * text.C (isLastRow, isFirstRow): new functions
2885
2886         * paragraph.h: new width cache member
2887
2888         * rowpainter.C: replace RowList::iterator with Row & where possible
2889
2890         * lyxfunc.C: replace several view()->text with a single call
2891
2892         * toc.C: fix 'unused' warning
2893
2894 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2897         when woring with stream::pos_type
2898         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2899
2900 2003-10-22  André Pönitz  <poenitz@gmx.net>
2901
2902         * lyxtext.h:
2903         * text.C: use Row & instead of RowList::iterator
2904
2905         * lyxrow.h: rename end() to endpos()
2906
2907         * rowpainter.C:
2908         * text.C:
2909         * text2.C: adjust
2910
2911 2003-10-22  Angus Leeming  <leeming@lyx.org>
2912
2913         * buffer.[Ch] (fully_loaded): new member function, returning true
2914         only when the file has been loaded fully.
2915         Used to prevent the premature generation of previews and by the
2916         citation inset to prevent computation of the natbib-style label.
2917
2918         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2919         templates are all set up.
2920
2921         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2922
2923 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2924
2925         * text.C: fixed an "oops" in the "is a bit silly"
2926         bug fix
2927
2928 2003-10-21  André Pönitz  <poenitz@gmx.net>
2929
2930         * FuncStatus.[Ch]: small stuff, whitespace
2931
2932         * lyxfont.[Ch]: operator<<() for debug reasons
2933
2934         * lyxfunc.C:
2935         * lyxrow_funcs.C:
2936         * lyxtext.h: whitespace, spelling
2937
2938         * paragraph.C: naming of variables
2939
2940         * text.C:
2941         * text2.C: small stuff
2942
2943
2944 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2945
2946         * text.C: (1) finish off the inset display() work;
2947         (2) fix the "is a bit silly" bug (accessing char
2948         past end of par).
2949
2950 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2951
2952         * text.C: re-introduce display() for insets, fixing the
2953         various bugs (stretch of line above, math inset
2954         positioning, ...)
2955
2956 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2957
2958         * text.C (rightMargin): remove spurious semicolon
2959
2960         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2961         1415)
2962
2963 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2964
2965         * text3.C: fix one crash due to wrong cursor def
2966
2967 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2968
2969         * vc-backend.C (scanMaster): make the regex static
2970
2971         * LaTeX.C (scanAuxFile): make the regexs static
2972
2973         * text3.C (doInsertInset, dispatch, dispatch):
2974         * text2.C (cursorUp, cursorDown):
2975         * text.C (selectNextWordToSpellcheck):
2976         * BufferView_pimpl.C (dispatch):
2977         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2978
2979 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2980
2981         * lyxsocket.C: include <cerrno>
2982
2983 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2984
2985         * lyxfunc.C (dispatch): remove textcache stuff
2986
2987         * bufferlist.C (release): remove textcache stuff
2988         (closeAll): ditto
2989
2990         * TextCache.C: delete file
2991         * TextCache.h: delete file
2992
2993         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2994
2995         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2996         delete of the bv_->text.
2997         (resizeCurrentBuffer): remove texcache stuff
2998         (workAreaResize): ditto
2999
3000 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3001
3002         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3003         action.
3004
3005 2003-10-16  André Pönitz  <poenitz@gmx.net>
3006
3007         * lyxrow.[Ch]:
3008         * paragraph.h:
3009         * rowpainter.C:
3010         * text.C:
3011         * text2.C:
3012         * text3.C: speed up by storing y positions per paragraph plus per-row
3013         offset instead of having a 'full' y position in the row.
3014
3015 2003-10-15  André Pönitz  <poenitz@gmx.net>
3016
3017         * iterators.[Ch]:
3018         * iterators.[Ch]:
3019         * undo.[Ch]: make undo aware of inner insets
3020
3021 2003-10-14  Angus Leeming  <leeming@lyx.org>
3022
3023         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3024         static member functions LyX::ref() and LyX::cref.
3025         (lastfiles): new accessor functions for the new lastfiles_ member var.
3026         (addLyXView, views_): add a new LyXView to the list of views_.
3027         (updateInset): loop over all LyXViews to call their own updateInset
3028         member function, returning a pointer to the Buffer owning the inset.
3029
3030         * BufferView_pimpl.C (loadLyXFile):
3031         * MenuBackend.C (expandLastfiles):
3032         * bufferlist.C (MenuWrite, QuitLyX):
3033         lastfiles is no longer a global variable.
3034         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3035
3036         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3037         static function. Access through LyX::cref().emergencyCleanup().
3038
3039 2003-10-14  André Pönitz  <poenitz@gmx.net>
3040
3041         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3042
3043         * undo.[Ch]: restoring part of 'undo in insets'
3044
3045         * Makefile.am:
3046         * undo_funcs.[Ch]: merge with undo.[Ch]
3047
3048         * tabular.C: small cleansing stuff
3049
3050 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3051
3052         * paragraph_funcs.C (readParToken): report unknown insets as error
3053         boxes. Use the outer paragraph as location (also for unknown
3054         tokens).
3055
3056         * factory.C (readInset): do not abort on reading an unknown inset.
3057         Eat it and return 0.
3058
3059 2003-10-13  Angus Leeming  <leeming@lyx.org>
3060
3061         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3062
3063         * lyxrc.C: displayTranslator is now a function,
3064         declared in GraphicsTypes.h.
3065
3066 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3067
3068         * format.C: new placeholder $$a to pass the socket address.
3069
3070         * bufferlist.[Ch]: new function getBufferFromTmp.
3071
3072         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3073           files in the temporary dir.
3074
3075 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3076
3077         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3078
3079         * Makefile.am: add lyxsocket.[Ch].
3080
3081         * lyx_main.C (error_handler): handle SIGPIPE.
3082
3083 2003-10-13  André Pönitz  <poenitz@gmx.net>
3084
3085         * BufferView_pimpl.C:
3086         * lyxtext.h:
3087         * text.C:
3088         * text2.C:
3089         * text3.C:
3090         * undo_funcs.[Ch]: use paroffset_type instead of
3091           ParagraphList::iterators to prevent multiple conversion
3092           (and get a more robust interface)
3093
3094 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3097         * lyxtext.h: ditto
3098         * text3.C (dispatch): ditto
3099
3100 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3103         move the onlyfile, use onlyfile instead of foundfile in a couple
3104         of places.
3105
3106         * DepTable.C (update): flush the error stream a bit more
3107
3108 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3109
3110         * lyxserver.C (callback): adjust
3111
3112         * lyxfunc.C (getStatus): add a missing brace in commented code
3113         (ensureBufferClean): reindent
3114         (dispatch): delete version taking a string
3115
3116 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3117
3118         * LaTeX.C (deplog): move found file handlig from here...
3119         (handleFoundFile): .. to new function here.
3120         (deplog): make sure to discover several files mentioned on the
3121         same log line.
3122
3123 2003-10-10  André Pönitz  <poenitz@gmx.net>
3124
3125         * lyxfunc.C:
3126         * lyxtext.h:
3127         * tabular.C:
3128         * text.C:
3129         * text2.C:
3130         * text3.C: fix some of the tabular crashes
3131
3132 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3133
3134         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3135
3136         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3137
3138 2003-10-09  André Pönitz  <poenitz@gmx.net>
3139
3140         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3141
3142         * BufferView.C:
3143         * BufferView_pimpl.C:
3144         * bufferview_funcs.C:
3145         * lyx_cb.C:
3146         * lyxcursor.C:
3147         * lyxfind.C:
3148         * lyxfunc.C:
3149         * lyxtext.h:
3150         * text.C:
3151         * text2.C:
3152         * text3.C:
3153         * text_funcs.[Ch]:
3154         * textcursor.[Ch]:
3155         * undo_funcs.C: adjust
3156
3157 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * text2.C (incrementItemDepth): new function, use a backtracking
3160         algorithm to discover the correct item depth.
3161         (resetEnumCounterIfNeeded): new function, use a backtracking
3162         algorithm to discover if counter reset is needed.
3163         (setCounter): use them. Simplify a bit. Add different labels for
3164         different item depths for itemize.
3165
3166         * paragraph.C (Paragraph): remove initialization of enumdepth
3167         (operator=): ditto
3168
3169         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3170         enumerate and itemize. Change the type of itemdepth to signed char.
3171
3172 2003-10-08  André Pönitz  <poenitz@gmx.net>
3173
3174         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3175           thing assignable.
3176         * text.C:
3177         * text2.C: adjust
3178
3179         * tabular.[Ch]: fix crash after 'row-insert'
3180
3181 2003-10-08  Angus Leeming  <leeming@lyx.org>
3182
3183         Fix doxygen warnings.
3184
3185         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3186         Remove CutAndPaste:: prefix from header file declaration.
3187
3188         * LColor.h (fill): remove LColor:: prefix from declaration.
3189
3190         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3191         use lyx::depth_type rather than Paragraph::depth_type so that
3192         header file and .C file match.
3193
3194         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3195
3196         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3197         * aspell.C: \file aspell_local.C -> \file aspell.C
3198         * gettext.C: \file gettext.C -> \file src/gettext.C
3199         * gettext.h: \file gettext.h -> \file src/gettext.h
3200         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3201         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3202         * text.C: \file text.C -> \file src/text.C
3203
3204         * toc.C: move comment so that doxygen is not confused.
3205
3206 2003-10-07  Angus Leeming  <leeming@lyx.org>
3207
3208         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3209
3210 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3211
3212         * aspell.C:
3213         * aspell_local.h: add forgotten std::string's.
3214
3215 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3216
3217         * LaTeXFeatures.C:
3218         * LyXAction.C:
3219         * factory.C:
3220         * lfuns.h:
3221         * lyxfunc.C:
3222         * text3.C: The Box patch. Fancybox support, minipage, parbox
3223
3224 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3225
3226         * CutAndPaste.h:
3227         * DepTable.h:
3228         * FloatList.h:
3229         * LaTeXFeatures.h:
3230         * ParagraphParameters.h:
3231         * TextCache.h:
3232         * Thesaurus.h:
3233         * bufferlist.h:
3234         * exporter.h:
3235         * importer.h:
3236         * lastfiles.h:
3237         * lyxfind.h:
3238         * lyxfont.h:
3239         * lyxlex.h:
3240         * lyxtextclasslist.h:
3241         * messages.h:
3242         * paragraph.h:
3243         * paragraph_pimpl.C:
3244         * textcursor.h: add <string> and other small fixes to make Lars'
3245         std::string patch compile with STLport.
3246
3247 2003-10-06  Angus Leeming  <leeming@lyx.org>
3248
3249         * LColor.h: Add missing #include <string>.
3250
3251 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * All most all file in all subdirs: Make <string> be the prefered
3254         way of getting to std::string, add using declarations.
3255
3256 2003-10-06  André Pönitz  <poenitz@gmx.net>
3257
3258         * metricsinfo.C: initialize LyXFont before changing attribute.
3259         (fixes the 'math in \emph is upright' bug)
3260
3261 2003-10-06  André Pönitz  <poenitz@gmx.net>
3262
3263         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3264
3265 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3266
3267         * graph.C:
3268         * paragraph_pimpl.C: Small fixes to build using STLport
3269
3270 2003-10-02  André Pönitz  <poenitz@gmx.net>
3271
3272         * lyxfunc.C:
3273         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3274
3275 2003-10-01  André Pönitz  <poenitz@gmx.net>
3276
3277         * factory.C: assert early
3278
3279 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3280
3281         * lyx_main.C: remove the global debug object
3282
3283         * debug.h: adjust for new debugstream
3284
3285         * debug.C: adjust for new debugstream and keep the global debug
3286         object here.
3287
3288 2003-09-22  Angus Leeming  <leeming@lyx.org>
3289
3290         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3291         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3292         an incomplete class LyXFont.
3293
3294 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3295
3296         * factory.C: bug fix in branches
3297
3298 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3299
3300         * lyxfunc.C (processKeySym): adjust
3301         (dispatch): adjust
3302         (dispatch): change arg name from ev to func, adjust
3303         (sendDispatchMessage): ditto
3304
3305         * lyx_main.C (defaultKeyBindings): adjust keybindings
3306         (deadKeyBindings): ditto
3307
3308         * kbsequence.C (addkey): return a FuncRequest
3309
3310         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3311
3312         * kbmap.C (bind): take a FuncRequest as arg, adjust
3313         (read): adjust
3314         (lookup): adjust
3315         (defkey): change to take a FuncRequest as arg, adjust
3316         (findbinding): take a FuncRequest as arg, adjust.
3317
3318         * funcrequest.h (operator=): added
3319
3320         * funcrequest.C (FuncRequest): default kb_action changed from
3321         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3322
3323         * buffer.C (dispatch): simplify
3324         (dispatch): adjust to take a FuncRequest as arg, adjust
3325
3326         * boost.C (assertion_failed): change assertion message slightly
3327
3328         * ToolbarBackend.C (read): simplify
3329
3330         * MenuBackend.C (binding): adjust call to findbinding, add a
3331         message if no binding is found.
3332         (read): simplify
3333         (expandToc): correct by adding a empty FuncRequest
3334
3335         * LyXAction.C: include <boost/assert.hpp>
3336         (isPseudoAction): delete function
3337         (LookupFunc): change name to...
3338         (lookupFunc): this. change return type to FuncRequest.
3339         (getActionName): take kb_action as arg, simplify
3340         (funcHasFlag): add an assert, simplify.
3341
3342 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3343
3344         * toc.C (action): return a FuncRequest, simplify
3345
3346         * lyxfunc.C (processKeySym): adjust
3347         (getStatus): delete version that takes an int.
3348         (getStatus): adjust
3349         (dispatch): delete version that takes action as int
3350         (dispatch): adjust
3351         (sendDispatchMessage): simplify and adjust
3352
3353         * funcrequest.C (getArg): take unsigned int as arg
3354
3355         * ToolbarBackend.C (read): adjust
3356         (add): delete version that takes func as a string.
3357         (getIton): take a FuncRequest as arg
3358
3359         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3360         action.
3361
3362         * MenuBackend.C (MenuItem): add a new construct that only takes a
3363         Kind, simplify the constructor use for submenus.
3364         (add): adjust
3365         (expandLastfiles): adjust
3366         (expandDocuments): adjust
3367         (expandFormats): adjust
3368         (expandFloatListInsert): adjust
3369         (expandFloatInsert): adjust
3370         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3371
3372         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3373         Remove class variables lyx_pseudo_map and lyx_arg_map
3374
3375         * LyXAction.C (searchActionArg): delete function
3376         (getPseudoAction): delete function
3377         (retrieveActionArg): delete function
3378         (LookupFunc): make it return kb_action, simplify.
3379         (getActionName): simplify
3380
3381         * factory.C (createInset): fix new bug
3382
3383 2003-09-19  Angus Leeming  <leeming@lyx.org>
3384
3385         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3386         masterFilename_ parameter in the include inset.
3387
3388         * factory.C (createInset): changes due to the changes to InsetInclude.
3389
3390 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3391
3392         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3393
3394 2003-09-18  Angus Leeming  <leeming@lyx.org>
3395
3396         * buffer.C:
3397         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3398         Inset::fillWithBibKeys.
3399         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3400
3401 2003-09-18  Angus Leeming  <leeming@lyx.org>
3402
3403         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3404         variables.
3405         (ctor): pass and store a 'Buffer const &'
3406         (buffer): new member function.
3407
3408         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3409         '*this' to the LaTeXFeatures ctor.
3410
3411 2003-09-18  Angus Leeming  <leeming@lyx.org>
3412
3413         * LColor.h:
3414         * lyxfont.C:
3415         * lyxfont.h:
3416         * lyxtext.h:
3417         * text.C: rename EnumLColor as LColor_color.
3418
3419 2003-09-18  Angus Leeming  <leeming@lyx.org>
3420
3421         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3422         remove #include "insets/insetbase.h" from cursor.h.
3423
3424 2003-09-18  Angus Leeming  <leeming@lyx.org>
3425
3426         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3427         InsetOld_code to remove #include "inset.h".
3428
3429         * iterators.C: add #include "insets/inset.h"
3430
3431 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3432
3433         * BufferView.C: remove more locking stuff that apparently doesn't
3434         do anything sensible.
3435
3436 2003-09-16  André Pönitz  <poenitz@gmx.net>
3437
3438         * paragraph.[Ch]:
3439         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3440           performance boost.
3441
3442 2003-09-16  Angus Leeming  <leeming@lyx.org>
3443
3444         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3445
3446         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3447         arg/return type.
3448
3449         * paragraph.h: remove #include "lyxfont.h". Forward declare
3450         LyXFont_size.
3451
3452 2003-09-16  Angus Leeming  <leeming@lyx.org>
3453
3454         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3455         of support/textutils.h.
3456         (isWord): move the contents of support/textutils.h's IsWordChar here.
3457
3458         * buffer.C:
3459         * lyxfind.C:
3460         * rowpainter.C:
3461         * text.C:
3462         * text2.C: add #include "paragraph.h".
3463
3464         * rowpainter.C:
3465         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3466
3467 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3468
3469         * main.C:
3470         * lyx_main.C:
3471         * lyx_cb.C:
3472         * buffer.C:
3473         * LaTeX.C: use namespace alias for lyx::support::os
3474
3475 2003-09-16  Angus Leeming  <leeming@lyx.org>
3476
3477         * bufferparams.C:
3478         * bufferview_funcs.C:
3479         * factory.C:
3480         * lyxfunc.C:
3481         * paragraph_pimpl.C:
3482         * rowpainter.C:
3483         * text.C: add #include "LColor.h".
3484
3485 2003-09-16  Angus Leeming  <leeming@lyx.org>
3486
3487         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3488         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3489         return LyXFont &.
3490         Store the FontBits::color variable as an int rather than as an
3491         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3492         file.
3493
3494         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3495         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3496         string calls together.
3497
3498         * lyxrc.C: add #include "LColor.h".
3499
3500 2003-09-15  Angus Leeming  <leeming@lyx.org>
3501
3502         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3503         a cow_ptr.
3504
3505 2003-09-15  Angus Leeming  <leeming@lyx.org>
3506
3507         * LColor.h: add an EnumLColor wrapper for LColor::color.
3508
3509         * lyxfont.[Ch] (color, setColor, realColor):
3510         * lyxtext.h, text.C (backgroundColor):
3511         pass EnumLColor args to/from the functions, rather than LColor::color
3512         ones.
3513
3514         * lyxfont.h:
3515         * lyxtext.h: forward declare EnumLColor.
3516
3517         * lyx_main.C: add #include "LColor.h".
3518
3519 2003-09-15  Angus Leeming  <leeming@lyx.org>
3520
3521         * .cvsignore: add lyx-gtk.
3522
3523 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * Chktex.C
3526         * LaTeX.C
3527         * LaTeXFeatures.C
3528         * ParagraphParameters.C
3529         * Spacing.C
3530         * buffer.C
3531         * bufferparams.C
3532         * bufferview_funcs.C
3533         * chset.C
3534         * counters.C
3535         * funcrequest.C
3536         * lyxfont.C
3537         * lyxgluelength.C
3538         * lyxlength.C
3539         * paragraph.C
3540         * paragraph_funcs.C
3541         * text3.C
3542         * vc-backend.C: remove usage of STRCONV
3543
3544 2003-09-15  Angus Leeming  <leeming@lyx.org>
3545
3546         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3547         explicitly define the color passed to the painter.
3548
3549 2003-09-15  Angus Leeming  <leeming@lyx.org>
3550
3551         * bufferparams.C (BufferParams): reorder member initializers to avoid
3552         compiler warning.
3553
3554 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3555
3556         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3557         * text.C (updateRowPositions): remove an unusual nop
3558
3559 2003-09-12  André Pönitz  <poenitz@gmx.net>
3560
3561         * BufferView_pimpl.C:
3562         * Bullet.C:
3563         * layout.h:
3564         * lyxfunc.C:
3565         * lyxlayout.[Ch]:
3566         * lyxtextclass.C:
3567         * rowpainter.C:
3568         * text.C:
3569         * text2.C:
3570         * Counters.[Ch]: finish the 'automatic counters' job
3571
3572 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3573
3574         * aspell.C: include <boost/assert.cpp> (compile fix)
3575
3576 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3577
3578         * boost.C (assertion_failed): use lyx::support::abort instead of
3579         assert.
3580
3581 2003-09-10  Angus Leeming  <leeming@lyx.org>
3582
3583         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3584         with their _fwd progeny.
3585
3586 2003-09-09  Angus Leeming  <leeming@lyx.org>
3587
3588         134 files throughtout the source tree: replace 'using namespace abc;'
3589         directives with the appropriate 'using abc::xyz;' declarations.
3590
3591 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3592
3593         * boost.C (emergencyCleanup): moved here from LAssert.c
3594         (assertion_failed): new function, called by BOOST_ASSERT
3595
3596         * several files: change Assert to BOOST_ASSERT
3597
3598 2003-09-09  Angus Leeming  <leeming@lyx.org>
3599
3600         * buffer.[Ch]: Add an Impl class and move Buffer's member
3601         variables into it. As a result move several header files out of
3602         buffer.h.
3603
3604         Add header files to lots of .C files all over the tree as a result.
3605
3606 2003-09-09  Angus Leeming  <leeming@lyx.org>
3607
3608         * buffer.[Ch]: make Buffer's member variables private. Add
3609         accessor functions.
3610
3611         Lots of changes all over the tree as a result.
3612
3613 2003-09-08  Angus Leeming  <leeming@lyx.org>
3614
3615         * graph.C: #include <config.h>.
3616
3617 2003-09-08  Angus Leeming  <leeming@lyx.org>
3618
3619         * BranchList.C:
3620         * BufferView.C:
3621         * BufferView_pimpl.C:
3622         * CutAndPaste.C:
3623         * DepTable.C:
3624         * LaTeX.C:
3625         * LaTeXFeatures.C:
3626         * LyXAction.C:
3627         * MenuBackend.C:
3628         * TextCache.C:
3629         * aspell.C:
3630         * buffer.C:
3631         * bufferlist.C:
3632         * changes.C:
3633         * chset.C:
3634         * converter.C:
3635         * counters.C:
3636         * debug.C:
3637         * graph.C:
3638         * ispell.C:
3639         * lyx_cb.C:
3640         * lyxfind.C:
3641         * lyxfunc.C:
3642         * lyxlex_pimpl.C:
3643         * lyxrc.C:
3644         * lyxrow.C:
3645         * paragraph.C:
3646         * rowpainter.C:
3647         * texrow.C:
3648         * text.C:
3649         * text2.C:
3650         * toc.C: remove redundant using directives.
3651
3652 2003-09-07  Angus Leeming  <leeming@lyx.org>
3653
3654         * LaTeXFeatures.h: remove #include "support/types.h".
3655         * ToolbarBackend.h: remove #include <algorithm>.
3656         * changes.h: remove #include <ctime>.
3657         * debug.h: remove #include <iosfwd>.
3658         * graph.h: remove #include "support/std_string.h".
3659         * lyx_main.h: remove #include <csignal>.
3660         * lyxlex_pimpl.h: remove #include <fstream>.
3661         * sgml.h: remove #include <algorithm>, <utility>.
3662         * toc.h: remove #include "support/std_ostream.h".
3663         Add #include <iosfwd>.
3664
3665 2003-09-07  Angus Leeming  <leeming@lyx.org>
3666
3667         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3668
3669         * converter.h: forward declare LatexRunParams.
3670         * encoding.h: remove #include "lyxrc.h".
3671         * lyxtext.h: remove #include "LColor.h".
3672         * lyxtextclass.h: remove #include "support/types.h".
3673         * trans.h: remove #include "tex-accent.h".
3674         * trans_mgr.h: remove #include "tex-accent.h".
3675         * insets/inset.h: remove #include "support/types.h", <vector>.
3676         * insets/insetcollapsable.h: remove #include "LColor.h".
3677         * insets/insetinclude.h: remove #include "dimension.h".
3678         * insets/insetlatexaccent.h: remove #include "dimension.h".
3679         * insets/insetoptarg.h:: remove #include "insettext.h".
3680         * insets/insettext.h: remove #include "dimension.h",
3681         <boost/shared_ptr.hpp>
3682
3683         * insets/renderers.h: add #include "dimension.h".
3684         * insets/updatableinset.h: add #include "support/types.h".
3685
3686         * many .C files: Associated changes.
3687
3688 2003-09-06  Angus Leeming  <leeming@lyx.org>
3689
3690         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3691         one, inside testInvariant.
3692
3693         * PrinterParams.C: new file.
3694         * PrinterParams.[Ch]: move the function bodies out of line.
3695
3696 2003-09-06  Angus Leeming  <leeming@lyx.org>
3697
3698         * ParagraphParameters.h: forward declare ParameterStruct rather than
3699         including its header file.
3700         (depth): moved out-of-line.
3701
3702 2003-09-06  Angus Leeming  <leeming@lyx.org>
3703
3704         * BufferView_pimpl.h:
3705         * kbmap.h:
3706         * kbsequence.h:
3707         * lyxfunc.h: forward declare LyXKeySym rather than
3708         #include "frontends/LyXKeySym.h".
3709
3710         * BufferView_pimpl.C:
3711         * kbmap.C:
3712         * kbsequence.C:
3713         * lyxfunc.C: associated changes.
3714
3715 2003-09-06  Angus Leeming  <leeming@lyx.org>
3716
3717         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3718         As a result, can remove the #include "insets/inset.h" from BufferView.h
3719
3720 2003-09-06  Angus Leeming  <leeming@lyx.org>
3721
3722         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3723         As a result, can remove the #include "insets/inset.h" from BufferView.h
3724
3725 2003-09-06  Angus Leeming  <leeming@lyx.org>
3726
3727         * buffer_funcs.C:
3728         * buffer.h:
3729         * bufferlist.C:
3730         * BufferView.C:
3731         * bufferview_funcs.C:
3732         * BufferView_pimpl.C:
3733         * CutAndPaste.C:
3734         * lyx_cb.C:
3735         * lyxfunc.C:
3736         * paragraph.h:
3737         * ParagraphParameters.C:
3738         * tabular.C:
3739         * text3.C:
3740         * toc.C:
3741         * undo_funcs.C:
3742         * frontends/controllers/ControlDocument.C:
3743         * insets/insetcaption.C: rearrange the #includes into some sort of
3744         coherent order.
3745
3746         * buffer.h: remove #includes ErrorList.h, undo.h
3747
3748 2003-09-06  Angus Leeming  <leeming@lyx.org>
3749
3750         * support/types.h: add a 'depth_type' typedef, used to store the
3751         nesting depth of a paragraph.
3752
3753         * paragraph.h:
3754         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3755         defining explicitly.
3756
3757         * buffer.h:
3758         * paragraph_funcs.h:
3759         * ParagraphParameters.h:
3760         * sgml.h: use lyx::depth_type rather than Paragraph or
3761         ParameterStruct's depth_type.
3762
3763         * buffer.h
3764         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3765
3766         * BufferView.C:
3767         * BufferView_pimpl.C:
3768         * CutAndPaste.C:
3769         * ParagraphParameters.C:
3770         * buffer_funcs.C:
3771         * bufferlist.C:
3772         * bufferview_funcs.C:
3773         * lyx_cb.C:
3774         * lyxfunc.C:
3775         * tabular.C:
3776         * text3.C:
3777         * toc.C:
3778         * undo_funcs.C:
3779         * frontends/LyXView.C:
3780         * frontends/controllers/ControlDocument.C:
3781         * frontends/controllers/ControlErrorList.C:
3782         * insets/insetbibitem.C:
3783         * insets/insetbranch.C:
3784         * insets/insetcaption.C:
3785         * insets/insetcollapsable.C:
3786         * insets/insetenv.C:
3787         * insets/insetert.C:
3788         * insets/insetfloat.C:
3789         * insets/insetfoot.C:
3790         * insets/insetfootlike.C:
3791         * insets/insetnewline.C:
3792         * insets/insetquotes.C:
3793         * insets/insettabular.C:
3794         * insets/insettext.C:
3795         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3796
3797         * frontends/controllers/ControlChanges.C: #include "changes.h".
3798
3799 2003-09-06  Angus Leeming  <leeming@lyx.org>
3800
3801         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3802         than #including paragraph.h.
3803
3804         * ParagraphList.h:
3805         * RowList.h: deleted. Superfluous.
3806
3807         * CutAndPaste.h:
3808         * iterators.h:
3809         * lyxcursor.h:
3810         * lyxtext.h:
3811         * text_funcs.h:
3812         * undo.h:
3813         * undo_funcs.h:
3814         * insets/inset.h:
3815         * insets/insettext.h: use ParagraphList_fwd.h rather than
3816         ParagraphList.h.
3817
3818         * paragraph.h: don't forward declare ParagraphList.
3819
3820         * buffer.h:
3821         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3822         rather than ParagraphList.h. paragraph.h is still needed for the
3823         Paragraph::depth_type parameters.
3824
3825         * textcursor.h: enable it to compile stand-alone in light of the
3826         above changes.
3827
3828         * bufferview_funcs.C:
3829         * iterators.C:
3830         * lyxfunc.C:
3831         * lyxrow_funcs.C:
3832         * paragraph.C:
3833         * rowpainter.C:
3834         * text.C:
3835         * text2.C:
3836         * text3.C:
3837         * text_funcs.C:
3838         * textcursor.C:
3839         * undo.C:
3840         * frontends/controllers/ControlParagraph.C:
3841         * frontends/controllers/ControlTabular.C:
3842         * insets/insetmarginal.C:
3843         * insets/insetminipage.C:
3844         * insets/insetnote.C:
3845         * insets/insetoptarg.C: add header files needed to compile again.
3846
3847 2003-09-06  Angus Leeming  <leeming@lyx.org>
3848
3849         * RowList_fwd.h: new file, forward-declaring Row rather than
3850         #including lyxrow.h.
3851
3852         * lyxrow_funcs.h:
3853         * lyxtext.h:
3854         * paragraph.h:
3855         * insets/insettext.h: use it instead of RowList.h
3856
3857         * bufferview_funcs.C:
3858         * lyxfunc.C:
3859         * lyxrow_funcs.C:
3860         * paragraph.C:
3861         * rowpainter.C:
3862         * text.C:
3863         * text2.C:
3864         * text3.C: #include "RowList.h".
3865
3866 2003-09-05  Angus Leeming  <leeming@lyx.org>
3867
3868         * factory.C (createInset):
3869         * vspace.C (c-tor): replace sscanf call with an istringstream.
3870         * ispell.C: re-add missing HP/UX headers.
3871         * lyxserver.C: re-add missing  os2 headers.
3872
3873 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3874
3875         * BranchList.C:
3876         * graph.C:
3877         * ispell.C:
3878         * lastfiles.C:
3879         * lyx_cb.C:
3880         * lyxserver.C:
3881         * texrow.C:
3882         * text3.C: re-add missing system headers, needed for 2.95.2.
3883
3884 2003-09-05  Angus Leeming  <leeming@lyx.org>
3885
3886         Changes most place everywhere due to the removal of using directives
3887         from support/std_sstream.h.
3888
3889 2003-09-05  Angus Leeming  <leeming@lyx.org>
3890
3891         Replace LString.h with support/std_string.h,
3892         Lsstream.h with support/std_sstream.h,
3893         support/LIstream.h with support/std_istream.h,
3894         support/LOstream.h with support/std_ostream.h.
3895
3896         Changes resulting throughout the tree.
3897
3898 2003-09-05  Angus Leeming  <leeming@lyx.org>
3899
3900         * sgml.h: ensure that the header file can be compiled stand-alone.
3901         * *.C: strip out redundant #includes. (320 in total.)
3902
3903 2003-09-04  Angus Leeming  <leeming@lyx.org>
3904
3905         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3906         here (from getPackages).
3907
3908         * debug.[Ch]: add a new EXTERNAL tag.
3909
3910 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3911
3912         * text2.C (cursorEnd): simplify
3913         (setCursor): adjust
3914         (getColumnNearX): adjust
3915
3916         * text.C (computeBidiTables): adjust
3917         (fill): adjust
3918
3919         * rowpainter.C (paintChars): adjust
3920         (paintSelection): adjust
3921         (paintChangeBar): adjust
3922         (paintText): adjust
3923
3924         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3925         lastPos instead.
3926         (numberOfSeparators): adjust
3927
3928 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3929
3930         * LyXAction.C:
3931         * box.[Ch]:
3932         * lfuns.h:
3933         * lyxfunc.C:
3934         * text3.C: Restricts the mouse click functionality
3935         of insets like bibtex, include, toc and floatlist to the visible
3936         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3937         up the dialogs. Cursor has to be in front of the inset (i.e.
3938         start of row) for this to function.
3939
3940 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3941
3942         * bufferview_funcs.C (currentState): output row information
3943
3944 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3945
3946         * bufferview_funcs.C (currentState): output paragraph position
3947
3948 2003-09-04  Angus Leeming  <leeming@lyx.org>
3949
3950         * FloatList.h: move out #include "Floating.h".
3951         * LaTeX.h: move out #include "DepTable.h".
3952         * LyXAction.h: move out #include "funcrequest.h".
3953         * buffer.h: move out #include "author.h", "iterators.h".
3954         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3955         * lyx_main.h: move out #include "errorlist.h".
3956         * lyxfunc.h: move out #include "FuncStatus.h".
3957         * lyxtext: move out #include "lyxcursor.h".
3958         * paragraph_pimpl.h: move out #include "counters.h".
3959
3960 2003-09-03  Angus Leeming  <leeming@lyx.org>
3961
3962         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3963         preamble_snippets list, enabling us to add snippets to the preamble
3964         only if the snippet was not there already.
3965
3966 2003-09-04  Angus Leeming  <leeming@lyx.org>
3967
3968         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3969
3970 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3973         update
3974
3975 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3976
3977         * BranchList.C: point fix, earlier forgotten
3978
3979 2003-09-02  Angus Leeming  <leeming@lyx.org>
3980
3981         * box.C (contains): renamed from 'contained' after a fantastic
3982         amount of hot air.
3983
3984 2003-09-02  John Levon  <levon@movementarian.org>
3985
3986         * BufferView.C:
3987         * lyxcursor.h:
3988         * lyxcursor.C:
3989         * lyxfunc.C:
3990         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3991
3992 2003-09-02  John Levon  <levon@movementarian.org>
3993
3994         * text2.C: simplification of cursorEnd(), including partial
3995         fix for bug 1376
3996
3997 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3998
3999         * buffer.C (readFile): add a space
4000
4001 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4002
4003         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4004
4005 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * buffer.C (readFile): new function, take a filename and a
4008         ParagraphList::iterator
4009         (readFile): adjust
4010         (readFile): adjust, make it private. don't use setStream, make
4011         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4012         always contain the filename.
4013
4014         * BufferView.C (insertLyXFile): simplify and make it work for
4015         gzipped files.
4016
4017 2003-08-30  John Levon  <levon@movementarian.org>
4018
4019         * Makefile.am: fix dist (from Kayvan)
4020
4021 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * most files: change to use const Buffer refs
4024
4025 2003-08-27  André Pönitz  <poenitz@gmx.net>
4026
4027         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4028         on top of ownerPar().
4029
4030 2003-08-27  John Levon  <levon@movementarian.org>
4031
4032         * funcrequest.C: properly initialise POD members
4033
4034 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * lyxtext.h (top_y): move top_y from here
4037         * text.C:
4038         * text2.C:
4039         * text3.C:
4040         * BufferView.[Ch]:
4041         * BufferView_pimpl.[Ch]: to here
4042         * frontends/screen.C:
4043         * insets/insettabular.C:
4044         * insets/insettext.C: adjust
4045         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4046
4047 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4048
4049         * BufferView.[Ch]:
4050         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4051
4052 2003-08-26  André Pönitz  <poenitz@gmx.net>
4053
4054         * paragraph_func.[Ch] (outerPar): new function
4055
4056         * paragraph.C:
4057         * paragraph_funcs.C:
4058         * paragraph_funcs.h:
4059         * paragraph_pimpl.C:
4060         * text2.C: remove Inset::par_owner
4061
4062 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4063
4064         * lyxrow_funcs.C:
4065         * lyxtext.h:
4066         * text.C:
4067         * text2.C: eliminates the needFullRow/display() stuff
4068         altogether, putting the logic in metrics/draw in the insets.
4069
4070 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4071
4072         * text2.C (redoParagraphInternal, redoParagraphs):
4073         * text.C (redoParagraph): add a call to updateRowPositions at the
4074         end of each 'metrics-like' call. Remove all others.
4075         (getRow): remove the 'y-computing' version.
4076         (getRowNearY): do not compute nor return the real y. Solve the
4077         'y < 0' problem and simplify.
4078
4079 2003-08-22  Angus Leeming  <leeming@lyx.org>
4080
4081         * *.[Ch]: clean-up of licence and author blurbs.
4082         Also move config.h out of a few .h files and into a few .C files.
4083
4084 2003-08-22  André Pönitz  <poenitz@gmx.net>
4085
4086         * lyxrow.[Ch]: add x_ and *fill_ members
4087
4088         * lyxtext.h:
4089         * text.C:
4090         * rowpainter.C:
4091         * text2.C: adjust/remove prepareToPrint() calls
4092
4093 2003-08-22  André Pönitz  <poenitz@gmx.net>
4094
4095         * lyxrow.[Ch]: add  end_ member
4096
4097         * lyxrow_funcs.C: use LyXRow::end_
4098
4099         * lyxtext.h (singleWidth): add LyXFont parameter
4100
4101         * rowpainter.C:
4102         * text2.C: adjust LyXText::singleWidth() calls
4103
4104         * text.C (redoParagraph): simplify row breaking logic
4105
4106
4107 2003-08-19  André Pönitz  <poenitz@gmx.net>
4108
4109         * funcrequest.C: initialize button_ member
4110
4111         * text3.C:
4112         * rowpainter.[Ch]: interface consolidation
4113
4114 2003-08-18  André Pönitz  <poenitz@gmx.net>
4115
4116         * BufferView.C:
4117         * BufferView_pimpl.C:
4118         * lyxfind.C:
4119         * paragraph_funcs.C:
4120         * rowpainter.C:
4121         * text3.C: remove LyXScreen::draw() and fitCursor calls
4122
4123         * BranchList.h: remove spurious semicolons
4124
4125         * MenuBackend.C: fix branchlist related crash
4126
4127 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4128
4129         * BranchList.[Ch]:
4130         * InsetList.[Ch]:
4131         * LColor.[Ch]:
4132         * LyXAction.C:
4133         * Makefile.am:
4134         * MenuBackend.[Ch]:
4135         * bufferparams.[Ch]:
4136         * factory.C:
4137         * lfuns.h:
4138         * lyxfunc.C:
4139         * text3.C: implements the 'branch inset'
4140         idea. This allows the output of various versions of a document
4141         from a single source version, selectively outputing or suppressing
4142         output of parts of the text.
4143         This implementation contains a 'branch list editor' in a separate
4144         tab of the document settings dialog. Branches are user definable
4145         and have a "display colour" to distinguish them on-screen.
4146
4147         ColorHandler was somewhat cleaned up.
4148         (1) make possible a dynamically growing LColor list by allowing
4149         the graphic context cache to grow along (vector);
4150         (2) eliminate an IMHO unnecessary step in colour allocation.
4151
4152 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4153
4154         * BufferView_pimpl.C: compile fix
4155
4156 2003-08-15  André Pönitz  <poenitz@gmx.net>
4157
4158         * rowpainter.C: remove extra metrics calls
4159
4160         * lyxtext.h: merge the two constructors into a single one,
4161           pass reference to owner's par list
4162
4163         * BufferView_pimpl.C:
4164         * text.C:
4165         * text2.C: adjust
4166
4167 2003-08-15  André Pönitz  <poenitz@gmx.net>
4168
4169         * lyxrow_funcs.[Ch]:
4170         * lyxtext.h:
4171         * paragraph.h:
4172         * paragraph_funcs.C:
4173         * rowpainter.C:
4174         * text.C:
4175         * text2.C:
4176         * text3.C:
4177         * text_funcs.C: split LyXText::rowlist_ into individual
4178         Paragraph::rows_ chunks
4179
4180         * BufferView.[Ch]:
4181         * BufferView_pimpl.[Ch]:
4182         * lyxfind.C:
4183         * lyxtext.h:
4184         * text3.C: remove toggleSelection()
4185
4186 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4187
4188         * bufferlist.C: beautify two alerts (shorter text of buttons)
4189         * buffer.C: Remove redundant ' ' from message
4190         * tabular.h:
4191         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4192         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4193         rename VALIGN_CENTER to VALIGN_MIDDLE
4194
4195 2003-08-11  André Pönitz  <poenitz@gmx.net>
4196
4197         * lyxtext.h (getPar):
4198         * text.C: new function
4199
4200 2003-08-11  André Pönitz  <poenitz@gmx.net>
4201
4202         * Makefile.am:
4203         * tracer.[Ch]: remove unneeded files
4204
4205         * InsetList.[Ch]: remove resizeInsetsLyXText()
4206
4207         * lyxtext.h:
4208         * text.C:
4209         * text2.C:
4210         * text3.C: merge insertParagraphs() and appendParagraph()
4211         remove breakAgain(), update()
4212
4213         * BufferView_pimpl.[Ch]:
4214         * bufferview_funcs.[Ch]:
4215         * lyxfunc.C:
4216         * paragraph.[Ch]:
4217         * rowpainter.C:
4218         * tabular.C: adjust after text & InsetList changes.
4219
4220 2003-08-08  André Pönitz  <poenitz@gmx.net>
4221
4222         * text.C (insertChar, backspace): replace rowlist fiddling
4223         with rebreak of full par
4224
4225         * lyxtext.h:
4226         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4227         checkParagraph, updateInset): removed
4228
4229 2003-08-07  André Pönitz  <poenitz@gmx.net>
4230
4231         * paragraph.C:
4232         * text3.C: merge some LFUN handlers, remove dead code
4233
4234 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4235
4236         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4237
4238 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4239
4240         * text2.C (DEPM): fix part of bug 1255 and 1256
4241
4242 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4243
4244         * BufferView_pimpl.C (workAreaDispatch): change to use
4245         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4246         that are no mouse related.
4247
4248 2003-08-05  André Pönitz  <poenitz@gmx.net>
4249
4250         * BufferView.[Ch]:
4251         * BufferView_pimpl.[Ch]:
4252         * bufferview_funcs.C:
4253         * text2.C:
4254         * text3.C: rip out "deep update"
4255
4256         * textcursor.[Ch] (last_sel_cursor): remove unused member
4257
4258 2003-08-04  André Pönitz  <poenitz@gmx.net>
4259
4260         * BufferView.[Ch]:
4261         * BufferView_pimpl.[Ch]:
4262         * ParagraphParameters.C:
4263         * bufferview_funcs.C:
4264         * lyx_cb.C:
4265         * lyxfind.C:
4266         * lyxfunc.C:
4267         * text.C:
4268         * text2.C:
4269         * text3.C: replace "complicated" BufferView::update(...) calls with
4270         simpler ones.
4271
4272         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4273
4274 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4275
4276         * Makefile.am (lyx_SOURCES): add paper.h
4277
4278 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4279
4280         * Makefile.am: move things around so that both lyx-qt and
4281         lyx-xforms can be built (according to --with-frontend). Then lyx
4282         is a symbolic link to lyx-[firstfrontend]
4283
4284 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4285
4286         * Always use std::endl with lyxerr
4287
4288 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4289
4290         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4291
4292 2003-08-01  André Pönitz  <poenitz@gmx.net>
4293
4294         * BufferView.[Ch]:
4295         * BufferView_pimpl.[Ch]:
4296         * lyxfunc.C:
4297         * text3.C: merge BufferView::repaint() and BufferView::update()
4298
4299 2003-08-01  José Matos  <jamatos@lyx.org>
4300
4301         * buffer.[Ch]: file_format is no longer a buffer data element.
4302
4303 2003-08-01  André Pönitz  <poenitz@gmx.net>
4304
4305         * BufferView.C:
4306         * lyxtext.h:
4307         * text.C:
4308         * text2.C: make redoParagraph more independent of current cursor
4309
4310         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4311         * text.C:
4312         * text2.C: remove unneeded members
4313
4314 2003-07-30  André Pönitz  <poenitz@gmx.net>
4315
4316         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4317
4318         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4319           create a single function...
4320
4321         * paragraph_funcs.C (moveItem): ... here.
4322
4323         * text.C:
4324           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4325
4326 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4327
4328         * LColor.[Ch]: Add comment and greyedout logical colors.
4329
4330 2003-07-30  André Pönitz  <poenitz@gmx.net>
4331
4332         * tabular.C: don't use Assert too heavily. This crashes where it
4333           shouldn't
4334
4335 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4338         is disabled (bug 1232)
4339
4340 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4341
4342         * factory.C: limited 'arg' scope
4343
4344 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4345
4346         * factory.C: fixed Note submenu issues
4347
4348 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4349
4350         * factory.C: submenu for Note/Comment/Greyedout
4351
4352 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4353
4354         * lyx_main.C (LyX):
4355         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4356
4357 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4358
4359         * LaTeXFeatures.C:
4360         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4361         greyedout. Patch provided by Jürgen Spitzmüller.
4362
4363 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4364
4365         * kbmap.C (read): fix error message when reading bind files
4366
4367 2003-07-29  Angus Leeming  <leeming@lyx.org>
4368
4369         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4370         certainly does not do what it purports to do. I am doing it, and
4371         us, a favour by killing it.
4372
4373 2003-07-28  José Matos  <jamatos@lyx.org>
4374
4375         * buffer.C (readBody, do_writeFile):
4376         * paragraph.C(readParagraph): \end_document replaces \the_end.
4377
4378 2003-07-29  André Pönitz  <poenitz@gmx.net>
4379
4380         * BufferView.[Ch]:
4381         * BufferView_pimpl.[Ch]:
4382         * lyxfunc.C:
4383         * text2.C:
4384         * text3.C:
4385         * textcursor.[Ch]: remove toggleToggle & Co
4386
4387 2003-07-28  José Matos  <jamatos@fep.up.pt>
4388
4389         * buffer.C (readParagraph):
4390         * params_func (readParToken, readParagraph):
4391         * paragraph.C (write): \layout -> \begin_layout.
4392
4393 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * lyxlex_pimpl.C (setFile): clean up slightly.
4396
4397         * bufferparams.h: add compressed var
4398
4399         * buffer_funcs.C (readFile): adjust for LyXLex change
4400         (newFile): ditto + simplify
4401
4402         * buffer.C (writeFile): handle writing of compressed files
4403
4404         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4405         Check if the file is compressed and set a bufferparm if so.
4406
4407         * Makefile.am (lyx_LDADD): remove explicit -lz
4408
4409 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4410
4411         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4412         makeDocBookFile): put the real LyX version in the first line of
4413         the file
4414
4415         * version.h:
4416         * version.C.in: remove lyx_docversion
4417
4418         * tabular.C (write_attribute): add a template-based version to
4419         write enums properly
4420
4421 2003-07-28  André Pönitz  <poenitz@gmx.net>
4422
4423         * lyxtext.h:
4424         * text.C:
4425         * text2.C:
4426         * text3.C: use doubles again for x-coordinates. They are needed.
4427
4428 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * messages.C (getLocaleDir): use lyx_localedir()
4431
4432         * lyxlex_pimpl.C (setFile): compress stuff
4433
4434         * buffer.C (writeFile): add some compression stuff
4435         (do_writeFile): new func, dont call expliti close... will this
4436         breake anything?
4437
4438         * Makefile.am (lyx_LDADD): add -lz
4439
4440 2003-07-28  José Matos  <jamatos@fep.up.pt>
4441
4442         * buffer.C: increment file format.
4443         * paragraph_funcs (readParagraph, readParToken):
4444         * paragraph.C (readParagraph): add \end_layout.
4445
4446 2003-07-27  Angus Leeming  <leeming@lyx.org>
4447
4448         * Makefile.am: remove special casing for configure-time setting of
4449         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4450
4451         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4452         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4453
4454 2003-07-26  André Pönitz  <poenitz@gmx.net>
4455
4456         * paragraph_func.[Ch]:
4457         * paragraph.C (realizeFont): inline it whereever it is used
4458
4459         * rowpainter.C:
4460         * text.C:
4461         * text2.C:
4462         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4463
4464
4465 2003-07-26  André Pönitz  <poenitz@gmx.net>
4466
4467         *       lyxtext.h:
4468         * text.C:
4469         * text2.C: get rid of LyXText::need_break_row
4470
4471 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4472
4473         * toc.[Ch]: put namespace toc inside namespace lyx
4474
4475         * MenuBackend.C (expandToc2): adjust for lyx::toc
4476         (expandToc): ditto
4477
4478         * lyxfunc.C (dispatch): adjust for lyx::find
4479
4480         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4481         lyx::find instead. Reorganize a bit.
4482         (LyXReplace): rename to replace
4483         (LyXFind): rename to find
4484
4485         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4486         (dispatch): ditto
4487
4488 2003-07-26  André Pönitz  <poenitz@gmx.net>
4489
4490         * text.C (setHeightOfRow): restrict scope of temporary variable
4491
4492         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4493           code (never has been used?)
4494
4495 2003-07-27  Asger Alstrup  <alstrup@local>
4496
4497         * text.C (fill): Optimise algorithm to exploit that we can reuse
4498         the LyXFont for many characters.
4499         (setHeightOfRow): Same thing.
4500         (rowBreakPoint): Same thing.
4501
4502 2003-07-26  Asger Alstrup  <alstrup@local>
4503
4504         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4505
4506         * text.C (singleWidth): Spurious font copying in hot-spot
4507         singleWidth avoided. Reorder tests for arabic for efficiency.
4508
4509         * text.C (fill): handle empty paragraphs better.
4510
4511 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4512
4513         * ispell.C:
4514         * encoding.h: add includes
4515
4516         * lyxrc.C: remove reading of bind files
4517
4518         * lyx_main.C (init): setup bindings and menus only if we have a
4519         gui.
4520
4521         * kbmap.C (read): new method. Do the actual reading of bind
4522         files.
4523
4524         * converter.C (dvipdfm_options):
4525         * bufferparams.C:
4526         * lyxrc.C (read):
4527         (output): adapt PAPER_* enums.
4528
4529         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4530
4531         * bufferparams.h: remove paper-related enums from there
4532
4533         * paper.h: New file. A trivial header file to hold paper-related
4534         enums. It should later expand to contain many paper-related
4535         horrors access.
4536
4537         * lyxrc.C: declare extern displayTranslator
4538
4539 2003-07-27  José Matos  <jamatos@fep.up.pt>
4540
4541         * tabular.[Ch] (linuxdoc): add support for tables and figures
4542         (linuxdoc).
4543
4544 2003-07-27  José Matos  <jamatos@fep.up.pt>
4545
4546         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4547         consistency in both functions.
4548         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4549
4550 2003-07-26  Asger Alstrup  <alstrup@local>
4551
4552         * rowpainter.C (paintRows): Change algorithm to work directly on
4553         the insets rather than asking every character in the document
4554         whether its an inset.
4555
4556 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4557
4558         * buffer.C (openFileWrite): factorize some code
4559
4560 2003-07-26  Angus Leeming  <leeming@lyx.org>
4561
4562         * lyx_cb.C:
4563         * lyx_main.[Ch]: replace occurances of system_tempdir with
4564         os::getTmpDir().
4565
4566 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * rename Inset to InsetOld
4569
4570 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4571
4572         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4573         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4574         which I think is a bit clearer. EDIT is gone, since it was
4575         premature optimisation, and broken for mathed anyway.
4576         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4577         with cursor positioning in insets as well (math insets still do not
4578         work, but that's a different story anyway.) It mysteriously
4579         crashes sometimes with undo in the first paragraph, but I'm fairly
4580         confident that this is a compiler bug.
4581
4582 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * paragraph.C (Paragraph): adjust for new clone return type
4585         (operator==): ditto
4586         (copyIntoMinibuffer): ditto
4587
4588 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4589
4590         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4591         by not having a special case, and always doing a full rebreak of
4592         the document after undo.
4593
4594 2003-07-23  Angus Leeming  <leeming@lyx.org>
4595
4596         * factory.C (createInset): InsetExternal::setParams now takes a
4597         Buffer const * arg.
4598
4599 2003-07-23  Angus Leeming  <leeming@lyx.org>
4600
4601         * factory.C (createInset): changed interface to the external and
4602         graphics mailers' string2params functions.
4603
4604 2003-07-23  Angus Leeming  <leeming@lyx.org>
4605
4606         * factory.C (createInset): pass a
4607         Buffer const * parameter to InsetExternalMailer's string2params.
4608
4609 2003-07-22  John Levon  <levon@movementarian.org>
4610
4611         * Thesaurus.h: include the right aiksaurus header
4612
4613 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4614
4615         * MenuBackend.C (expand): check menu shortcuts unconditionally
4616
4617 2003-07-21  Angus Leeming  <leeming@lyx.org>
4618
4619         * factory.C (createInset): pass a
4620         buffer_path parameter to InsetGraphicsMailer's string2params.
4621
4622 2003-07-21  Angus Leeming  <leeming@lyx.org>
4623
4624         * BufferView_pimpl.C (buffer):
4625         * buffer.C (d-tor):
4626         * lyx_main.C (LyX):
4627         * lyxfunc.C (dispatch):
4628         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4629         rather than the grfx shortcut.
4630
4631 2003-07-21  André Pönitz  <poenitz@gmx.net>
4632
4633         * rowpainter.C: remove unused variables
4634
4635         * tabular_funcs.C:
4636         * tabular_funcs.h: move to tabular.C
4637         * Makefile.am: adjust
4638
4639         * tabular.[Ch]: basic optical cleaning
4640
4641         * author.h: pass references, not values
4642
4643 2003-07-18  André Pönitz  <poenitz@gmx.net>
4644
4645         * lyxtext.h:
4646         * metricsinfo.C:
4647         * metricsinfo.h:
4648         * rowpainter.C:
4649         * text.C:
4650         * text2.C:
4651         * text3.C: two-phase drawing for InsetText and InsetTabular
4652         some float -> int changes.
4653
4654 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * lyx_main.C: fix the fix
4657
4658 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4659
4660         * lyx_main.C: fix a crash in batch mode if no files specified
4661         * converter.C: ws
4662
4663 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4664
4665         * format.[Ch] (papersize): moved to BufferParams
4666         * converter.[Ch] (dvips_options): moved to BufferParams
4667         (dvipdfm_options): moved to anon namespace
4668         * bufferparams.[Ch]: added above functions.
4669
4670 2003-07-17  André Pönitz  <poenitz@gmx.net>
4671
4672         * lyxtext.h:
4673         * rowpainter.C:
4674         * text2.C: don't call inset->update() anymore
4675
4676         * metricsinfo.[Ch]: add convenience constructor
4677
4678 2003-07-16  André Pönitz  <poenitz@gmx.net>
4679
4680         * lyxcursor.[Ch]:
4681         * lyxfunc.[Ch]:
4682         * text.C:
4683         * text2.C: replace the LyXCursor::irow_ member with
4684          on-demand computation of the value
4685
4686 2003-07-16  John Levon  <levon@movementarian.org>
4687
4688         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4689
4690 2003-07-15  André Pönitz  <poenitz@gmx.net>
4691
4692         * text.C:
4693         * text2.C: remove no more needed refresh_row
4694
4695 2003-07-15  André Pönitz  <poenitz@gmx.net>
4696
4697         * lyxtext.h:
4698         * rowpainter.C:
4699         * text2.C:
4700         * text3.C: refresh_status tristate -> need_update bool
4701
4702 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4703
4704         * lyxtext.h (init): remove reinit argument (act as if always true)
4705         * text2.C: adjust to that
4706
4707 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4708
4709         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4710         * text3.C: use it to delete selections in some cases
4711         (bugs 441, 673, 702, 954).
4712
4713 2003-07-14  André Pönitz  <poenitz@gmx.net>
4714
4715         * rowpainter.[Ch]: reduce interface
4716
4717 2003-07-14  André Pönitz  <poenitz@gmx.net>
4718
4719         * BufferView_pimpl.C:
4720         * text2.C: adjust after removing unused BufferView * argument
4721
4722 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4723
4724         * text2.C (init): fix a crash fired on resize
4725
4726 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4727
4728         * buffer.[Ch]: added new closing signal
4729         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4730         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4731         BufferView::Pimpl via the closing the signal
4732
4733 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4734
4735         * buffer.[Ch]: take out all bv-related from buffer
4736         * BufferView.C:
4737         * BufferView_pimpl.[Ch]: connect to new signals
4738         * CutAndPaste.C: removed useless asserts
4739         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4740         * lyxvc.[Ch]:
4741         * vc-backend.[Ch]:
4742         * lyxfunc.C: moved view-related funciontality from vc here
4743         * paragraph.C: removed outdated comments
4744         * text.C: ws
4745
4746 2003-07-10  André Pönitz  <poenitz@gmx.net>
4747
4748         * BufferView_pimpl.C:
4749         * tabular.h:
4750         * tabular_funcs.C:
4751         * text.C:
4752         * text2.C: remove InsetText::InnerCache, clean up consequences
4753
4754 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4755
4756         * ispell.C: fix two typos in error messages
4757
4758 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4759
4760         * Extend Note inset to other forms of annotation like Comment
4761         and Greyedout. Right button click gives dialog.
4762
4763         Files modified or added (+):
4764
4765         * insetnote.[Ch]
4766         * FormNote.[Ch]      +
4767         * ControlNote.[Ch]   +
4768         * form_note.fd       +
4769         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4770         frontends/controllers
4771         * xforms/Dialogs.C
4772         * factory.C
4773
4774 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4775
4776         * aspell.C: add missing namespace lyx::support
4777
4778 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * BufferView.[Ch] (newFile): Add
4781         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4782         * LaTeX.[Ch] (message): added this signal and use it
4783         * buffer.[Ch] (busy, message): added these signals and use them
4784         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4785         * converter.C:
4786         * exporter.C:
4787         * format.C:
4788         * importer.C: use buffer signals instead of direct bv calling
4789         * lyx_cb.[Ch] (ShowMessage): removed
4790         * lyx_main.C:
4791         * lyxfunc.C:
4792         * paragraph_funcs.C:
4793         * text2.C: use buffer signals
4794
4795 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4796
4797         * introduce namespace lyx::graphics
4798
4799 2003-07-02  André Pönitz  <poenitz@gmx.net>
4800
4801         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4802
4803 2003-07-01  André Pönitz  <poenitz@gmx.net>
4804
4805         * text.C:
4806         * text2.C:
4807         * text3.C:
4808         * text_funcs.[Ch]:
4809         * textcursor.h:
4810         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4811           text*.C to text_func.C
4812
4813 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * introduce namespace lyx::support
4816
4817 2003-06-30  André Pönitz  <poenitz@gmx.net>
4818
4819         * Chktex.C:
4820         * funcrequest.C:
4821         * lyxtext.h:
4822         * text.C: re-enable --with-included-string
4823
4824 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * textcursor.C: add <config.h>
4827
4828         * text.C (getWord): remove const from word_location arg
4829
4830         * lyxvc.C (getLogFile): fix const type order
4831
4832         * lyxtext.h: remove const from word_location arg, add arg name
4833
4834         * lyxlayout.h: currect type on labeltype.
4835
4836         * importer.C: correct \file
4837
4838         * converter.C (intToFormat): use std:: on ret val, ws changes
4839
4840         * bufferlist.h: correct \file
4841
4842         * buffer.C (makeLinuxDocFile): fix const type order
4843         (makeDocBookFile): ditto
4844         (fillWithBibKeys): use std:: on stdlib args.
4845
4846         * CutAndPaste.C: fix authors.
4847         (availableSelections): use std:: on return vector
4848
4849 2003-06-27  André Pönitz  <poenitz@gmx.net>
4850
4851         * BufferView_pimpl.C:
4852         * bufferview_funcs.C:
4853         * lyxcursor.C:
4854         * lyxcursor.h:
4855         * lyxfunc.C:
4856         * lyxtext.h:
4857         * rowpainter.C:
4858         * text.C:
4859         * text2.C:
4860         * text3.C: remove LyXCursor::row_ member
4861
4862         * lyxtext.h:
4863         * text.C: rename fullRebreak() to partialRebreak() and implement
4864           a fullRebreak() that really bereks fully
4865
4866         * textcursor.h: new struct for cursor-related data
4867
4868 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4869
4870         * lyx_main.C (LyX): get full path of document loaded on the
4871         command line
4872
4873 2003-06-26  André Pönitz  <poenitz@gmx.net>
4874
4875         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4876           remove unused/broken operator>,<,>=.
4877
4878         *       text.C: remove only use of broken operator<= in an Assert().
4879
4880 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4881
4882         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4883         moved errorlist_.clear to showErrorList
4884
4885 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4886
4887         * converter.C (scanLog, runLaTeX):
4888         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4889         move the bv->showErrorList call to the callers
4890         * lyxfunc.C: i.e. here...
4891         * text2.C: and here
4892         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4893         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4894         namespace, the second to...
4895         * buffer_funcs (BufferFormat, parseErrors): added
4896         * errorlist.C (ErrorList(TeXErrors const &)): removed
4897
4898 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4899
4900         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4901
4902 2003-06-24  "Garst R. Reese" <reese@isn.net>
4903
4904         * debug.C: fix typo
4905
4906 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4907
4908         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4909
4910         * version.C.in: change docversion to 1.4
4911
4912 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * buffer.C: fix a bug just introduced
4915
4916 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4917
4918         * buffer.[Ch]: added the parseError signal and use it, removed
4919         sgmlError
4920         * BufferView.[Ch] (addError): moved to ...
4921         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4922         to the Buffer::parseError signal to catch (guess what) parse errors
4923         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4924
4925 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4926
4927         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4928         ability to create a buffer and to return an existing one from
4929         the list. Moved these functions to...
4930         * buffer_funcs.[Ch]: added
4931         * BufferView.[Ch] (loadLyXFile): added
4932         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4933         job removed from bufferlist::loadLyXFile.
4934         * buffer.C (setReadOnly): make it work without view
4935         (i.e added an if (users))
4936
4937 2003-06-19  Angus Leeming  <leeming@lyx.org>
4938
4939         * lfuns.h:
4940         * LyXAction.C (init):
4941         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4942         with LFUN_DIALOG_SHOW <name> <data>.
4943
4944 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4945
4946         * CutAndPaste.C (availableSelections): small compilation fix for
4947         ancient (gcc 2.9x) compilers
4948
4949 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * text3.C (cursorNext): add tmp var
4952
4953         * text2.C (updateCounters): for function calling out of for clause
4954         (replaceSelectionWithString): ditto
4955         (insertStringAsParagraphs): ditto
4956         (getColumnNearX): add tmp var
4957         (setCursorFromCoordinates): add tmp var
4958         (cursorDownParagraph): add tmp var
4959         (deleteEmptyParagraphMechanism): add tmp var
4960
4961         * text.C (insertChar): add tmp var
4962
4963         * rowpainter.C (paintDepthBar): add tmp var
4964
4965         * CutAndPaste.C (availableSelections): potentially check all
4966         paragraphs in a cut to fill the shown strings.
4967
4968 2003-06-18  André Pönitz  <poenitz@gmx.net>
4969
4970         * kbmap.[Ch]: use vector<> instead of list<>
4971
4972 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4973
4974         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4975         pasteSelection with index
4976
4977         * text2.C (pasteSelection): modify, call pasteSelection with index
4978
4979         * paragraph.C (asString): reimplement version with no interval to
4980         call the one with interval.
4981
4982         * lyxtext.h: add index arg to pasteSelection
4983
4984         * MenuBackend.C (MenuItem): handle PasteRecent
4985         (Menu::read::Menutags): add md_pasterecent
4986         (read): handle it
4987         (expandPasteRecent): new function
4988         (expand): use it
4989
4990         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4991
4992         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4993         the limited stack
4994         (availableSelections): new function
4995
4996 2003-06-17  Angus Leeming  <leeming@lyx.org>
4997
4998         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4999
5000 2003-06-17  Angus Leeming  <leeming@lyx.org>
5001
5002         * lfuns.h:
5003         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5004
5005         * lyxfunc.C (dispatch): invoke it.
5006
5007 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5008
5009         * iterators.C (operator++, ParPosition): reintroduce some
5010         const_cast for the benefit of older compilers.
5011
5012 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5013
5014         * text3.C (dispatch): do not modify clipboard when doing
5015         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5016         LFUN_DELETE_SKIP on a selection selection
5017
5018 2003-06-16  André Pönitz  <poenitz@gmx.net>
5019
5020         * BufferView.C:
5021         * buffer.C:
5022         * buffer.h:
5023         * paragraph.C:
5024         * tabular.[Ch]: IU of clone() and getLabelList();
5025
5026 2003-06-13  André Pönitz  <poenitz@gmx.net>
5027
5028         * tabular.h: compactification
5029
5030 2003-06-12  André Pönitz  <poenitz@gmx.net>
5031
5032         * tabular.C:
5033         * tabular.h:
5034         * tabular_funcs.h: some renaming plus whitespace
5035
5036 2003-06-12  André Pönitz  <poenitz@gmx.net>
5037
5038         * BufferView.C:
5039         * BufferView_pimpl.C:
5040         * CutAndPaste.C:
5041         * buffer.C:
5042         * iterators.[Ch]:
5043         * lyxfunc.C:
5044         * text.C:
5045         * toc.C: Return a Paragraph & for ParIterator::operator*()
5046
5047 2003-06-11  John Levon  <levon@movementarian.org>
5048
5049         * lyx_main.C:
5050         * ToolbarBackend.h:
5051         * ToolbarBackend.C: add "Toolbars" section and
5052         put the flags there
5053
5054 2003-06-10  Angus Leeming  <leeming@lyx.org>
5055
5056         * lfuns.h:
5057         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5058
5059         * lyxfunc.C (dispatch): invoke it.
5060
5061 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * main.C: protect <ios> with HAVE_IOS
5064         (main): protect sync_with_stdio with HAVE_IOS
5065
5066 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5067
5068         * text2.C (cutSelection): adjust
5069         (pasteSelection): adjust
5070
5071         * messages.C: handle get of empty string
5072
5073         * main.C (main): use sync_with_stdio(false)
5074
5075         * lyxfunc.C (dispatch): adjust
5076
5077         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5078         (WriteAs): remove unneeded BufferView arg.
5079
5080         * bufferparams.h: use correct types on papersize, papersize2 and
5081         paperpackage.
5082
5083         * bufferparams.C (readToken): adjust for type
5084         (writeLaTeX): add missing cases to switch.
5085
5086         * bufferlist.C (quitWriteBuffer): adjust
5087         (close): adjust
5088
5089         * buffer.C (asciiParagraph): remove some commented code.
5090
5091         * CutAndPaste.C: remove current_view extern variable.
5092         (cutSelection): add BufferParams arg.
5093         (eraseSelection): add BufferParams arg.
5094         (pasteSelection): add Buffer const & arg
5095
5096 2003-06-07  John Levon  <levon@movementarian.org>
5097
5098         * buffer.C:
5099         * paragraph_funcs.C:
5100         * paragraph_pimpl.C:
5101         * text.C:
5102         * text2.C:
5103         * paragraph.h:
5104         * paragraph.C: allow InsetERT to freely space lines,
5105         and some consolidation of code
5106
5107 2003-06-06  José Matos  <jamatos@fep.up.pt>
5108
5109         * buffer.C (makeDocBookFile): fix bug #821
5110
5111 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5114
5115 2003-06-04  Angus Leeming  <leeming@lyx.org>
5116
5117         * buffer.C: bump format to 224.
5118
5119 2003-06-05  André Pönitz  <poenitz@gmx.net>
5120
5121         * text2.C (redoParagraphs): remove two const_cast<>
5122
5123 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5124
5125         * ParagraphList.h: remove last remnants of NO_STD_LIST
5126
5127 2003-06-03  Angus Leeming  <leeming@lyx.org>
5128
5129         * factory.C (createInset): small change to the way InsetExternal's params
5130         are set.
5131
5132 2003-06-04  André Pönitz  <poenitz@gmx.net>
5133
5134         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5135
5136         * paragraph_pimpl.h:
5137         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5138
5139         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5140
5141         * undo_funcs.C: make some simple cases of undo work again
5142
5143 2003-06-03  John Levon  <levon@movementarian.org>
5144
5145         * ispell.C: HPUX doesn't have sys/select.h
5146         (from Albert Chin)
5147
5148 2003-06-03  John Levon  <levon@movementarian.org>
5149
5150         * CutAndPaste.C: update tabular and include inset
5151         buffer references
5152
5153         * buffer.h:
5154         * paragraph.h:
5155         * paragraph.C: remove owningBuffer(), don't pass Buffer
5156         to clone()
5157
5158         * factory.C: insetGraphicsParams changed
5159
5160 2003-06-02  John Levon  <levon@movementarian.org>
5161
5162         * LyXAction.C:
5163         * factory.C:
5164         * lfuns.h:
5165         * lyxfunc.C:
5166         * text3.C: remove insetparent
5167
5168 2003-06-02  John Levon  <levon@movementarian.org>
5169
5170         * buffer.h:
5171         * buffer.C: fix inset_iterator.end(), move out of line
5172         (bug 1149)
5173
5174 2003-06-01  John Levon  <levon@movementarian.org>
5175
5176         * text3.C: use a proper cut/paste when doing inset
5177         insert (from Jürgen Spitzmüller)
5178
5179 2003-06-01  John Levon  <levon@movementarian.org>
5180
5181         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5182
5183 2003-05-30  André Pönitz  <poenitz@gmx.net>
5184
5185         * rowpainter.C: unify second drawing phase
5186
5187 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * trans_mgr.C: remove one case of current_view
5190
5191         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5192
5193         * paragraph_funcs.h: remove paragraph.h include
5194
5195         * paragraph.h: delete NO_STD_LIST stuff
5196
5197         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5198
5199         * buffer.h: remove paragraph.h include
5200
5201         * ParagraphList.C: delete file
5202
5203         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5204
5205         * toc.C (getTocList): adjust
5206
5207         * paragraph_pimpl.C (validate): adjust
5208
5209         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5210
5211         * paragraph.C (Paragraph): adjust
5212         (getPositionOfInset): use const_iterator, adjust
5213         (bibitem): use const_iterator, adjust
5214         (setInsetOwner): adjust
5215
5216         * iterators.C (operator++): adjust
5217
5218         * InsetList.[Ch]: Replace selfmade iterator with standard
5219         vector::iterator also introduce const_iterator. Remove getPos,
5220         getInset and setInset from InsetTable. Adjust accordingly.
5221
5222         * BufferView.C (lockInset): adjust
5223         (ChangeInsets): adjust
5224
5225         * tabular.[Ch]: delete commented same_id functions
5226
5227 2003-05-28  John Levon  <levon@movementarian.org>
5228
5229         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5230
5231 2003-05-28  André Pönitz  <poenitz@gmx.net>
5232
5233         * metricsinfo.[Ch]: remove 'fullredraw' member
5234
5235 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5236
5237         * lyxtextclass.C (operator): remove caching.
5238
5239 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * text3.C: adjust
5242
5243         * text2.C (cursorBottom): adjust
5244         (setCounter): use ParagraphList::find, adjust
5245
5246         * text.C (workWidth): use ParagraphList::find, adjust
5247
5248         * lyxcursor.C (LyXCursor): adjust
5249
5250         * buffer.C (inset_iterator): adjust
5251
5252         * ParagraphList.h: make iterator(value_type) private, make
5253         ParagraphList a friend of iterator.
5254
5255         * ParagraphList.C (find): new function
5256
5257         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5258
5259 2003-05-27  André Pönitz  <poenitz@gmx.net>
5260
5261         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5262
5263 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5264
5265         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5266
5267 2003-05-26  John Levon  <levon@movementarian.org>
5268
5269         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5270
5271 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5272
5273         * remove same_id from function signatures, adjust.
5274
5275 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5278
5279         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5280
5281         * paragraph.C (Paragraph): get rid of same_ids parameter
5282
5283         * ParagraphList.C (insert): adjust
5284         (push_back): adjust
5285
5286 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * paragraph_funcs.C (breakParagraph): adjust
5289         (breakParagraphConservative): adjust
5290
5291         * buffer.C (readParagraph): adjust
5292
5293         * ParagraphList.C (insert): take a reference instead of a pointer
5294         (insert): adjust
5295
5296         * paragraph.[Ch] (id): new function
5297
5298         * bufferlist.C (newFile): adjust
5299
5300         * ParagraphList.C (ParagraphList): adjust
5301         (assign): adjust
5302         (push_back): take a reference instead of a pointer.
5303
5304         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5305
5306         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5307         instead.
5308
5309         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5310         set else use old code.
5311
5312         * ParagraphList.C: remove all NO_NEXT code and only compile this
5313         code of NO_STD_LIST is set.
5314
5315 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5316
5317         * BufferView_pimpl.C:
5318         * TextCache.C:
5319         * TextCache.h:
5320         * bufferlist.C:
5321         * errorlist.h:
5322         * format.C:
5323         * format.h:
5324         * graph.C:
5325         * lyxfunc.C:
5326         * lyxrc.C:
5327         * graphics/GraphicsConverter.C:
5328         * graphics/PreviewLoader.C: header adjustment
5329
5330 2003-05-23  Angus Leeming  <leeming@lyx.org>
5331
5332         * LaTeXFeatures.[Ch] (useBabel): new method.
5333         * bufferparams.C (writeLaTeX): use it.
5334
5335 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * ParagraphList.h (set): remove unused function.
5338
5339 2003-05-23  André Pönitz  <poenitz@gmx.net>
5340
5341         * BufferView.C:
5342         * BufferView_pimpl.C:
5343         * buffer.C:
5344         * buffer.h:
5345         * lyxfunc.C:
5346         * undo_funcs.C: setUndo reworked
5347
5348         * iterators.[Ch]: add access to topmost ParagraphList
5349
5350         * lyxtext.[Ch] (workWidth): add a const
5351
5352 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5353
5354         * texrow.[Ch] (increasePos): remove function
5355         * exporter.C (export): removed unused var and outdated comment
5356
5357 2003-05-23  Angus Leeming  <leeming@lyx.org>
5358
5359         * latexrunparams.h: rename fragile as moving_arg.
5360         * paragraph.C (simpleTeXOnePar): ditto.
5361         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5362
5363 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5366         (createUndo): ditto
5367         (textUndoOrRedo): comment out a currently unused var.
5368
5369         * paragraph.h (NO_NEXT): enable NO_NEXT
5370
5371         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5372
5373         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5374
5375         * exporter.C (Export): adjust for removeAutoInsets removal.
5376
5377         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5378
5379         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5380
5381         * BufferView.[Ch] (removeAutoInsets): delete function
5382
5383 2003-05-22  Angus Leeming  <leeming@lyx.org>
5384
5385         * latexrunparams.h: add a free_spacing variable.
5386
5387         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5388         to pass moving_arg, as the data is stored in runparams.fragile.
5389
5390         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5391         to Inset::latexOptional or to simpleTeXOnePar.
5392
5393         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5394         free_spacing arg to Inset::latexOptional.
5395
5396         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5397         free_spacing arg.
5398
5399 2003-05-22  Angus Leeming  <leeming@lyx.org>
5400
5401         * latexrunparams.h: add fragile and use_babel variables.
5402
5403         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5404         * buffer.C (makeLaTeXFile): store this returned value in
5405         runparams.use_babel, thus passing it to the inset::latex methods.
5406
5407         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5408         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5409
5410         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5411         longer has a fragile arg, as it is stored in runparams.fragile.
5412
5413         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5414         moving_arg parameter as the data is stored in runparams.fragile.
5415
5416         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5417         a fragile parameter as the data is stored in runparams.fragile.
5418
5419 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5422
5423 2003-05-22  Angus Leeming  <leeming@lyx.org>
5424
5425         * latexrunparams.h: add a 'bool nice' which defaults to false.
5426
5427         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5428         now encapsulated within runparams.
5429
5430         * bufferlist.C (updateIncludedTeXfiles):
5431         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5432
5433 2003-05-22  Angus Leeming  <leeming@lyx.org>
5434
5435         * latexrunparams.h: new file containing struct LatexRunParams.
5436         * Makefile.am: add new file.
5437
5438         * LaTeX.[Ch] (c-tor, run):
5439         * buffer.[Ch] (makeLaTeXFile):
5440         * bufferlist.[Ch] (updateIncludedTeXfiles):
5441         * converter.C (convert, scanLog):
5442         * converter.[Ch] (runLaTeX):
5443         * exporter.C (Export):
5444         * paragraph.[Ch] (simpleTeXOnePar):
5445         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5446         * paragraph_funcs.[Ch] (latexParagraphs):
5447         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5448         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5449         pass around a LatexRunParams parameter.
5450
5451 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * paragraph.[Ch]: remove unused constructor
5454
5455         * ParagraphList.C (erase): new function, taking two iterators
5456
5457 2003-05-22  André Pönitz  <poenitz@gmx.net>
5458
5459         * undo_funcs.C: remove duplicated code
5460
5461         * iterator.[Ch]: operator=
5462
5463 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5464
5465         * tabular.C (SetMultiColumn): ws changes
5466
5467         * rowpainter.C (paintFirst): get rid of a ->previous
5468
5469         * lyx_cb.C (getPossibleLabel): parlist simplification
5470
5471         * BufferView.C (ChangeInsets): simplify slightly.
5472
5473 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5474
5475         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5476         * lfuns.h: new LFUN_SPACE
5477         * lyxfunc.C: protected space has a new lfun
5478         * paragraph_funcs.C: read new space insets
5479         * text3.C:
5480         * factory.C: handle new space insets
5481
5482 2003-05-22  André Pönitz  <poenitz@gmx.net>
5483
5484         * BufferView.C:
5485         * BufferView_pimpl.C:
5486         * buffer.[Ch]:
5487         * lyxfunc.C:
5488         * undo_funcs.C: return a ParIterator from getParFromID.
5489
5490         * iterators.[Ch]: add two const's
5491
5492 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * toc.C (getTocList): adjust
5495
5496         * iterators.[Ch]: rework for parlist
5497
5498         * buffer.C (par_iterator_begin): adjust
5499         (par_iterator_end): adjust
5500
5501         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5502
5503         * BufferView.C (removeAutoInsets): adjust
5504         (ChangeInsets): adjust
5505
5506 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5507
5508         * text.C (top_y): fix bug 1110
5509
5510 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5511
5512         * errorlist.[Ch]: added
5513         * buffer.C:
5514         * BufferView.[Ch]:
5515         * BufferView_pimpl.C:
5516         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5517         instead
5518
5519 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * Makefile.am: ensure that lyx is relinked upon changes to the
5522         various "convenience" libs.
5523
5524 2003-05-20  Angus Leeming  <leeming@lyx.org>
5525
5526         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5527         files are compiled in alphabetical order again.
5528
5529         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5530
5531 2003-05-19  Angus Leeming  <leeming@lyx.org>
5532
5533         * gettext.[Ch]: remove "char const * _(char const *)".
5534
5535 2003-05-19  André Pönitz  <poenitz@gmx.net>
5536
5537         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5538
5539         * Makefile.am:
5540         * BufferView.C:
5541         * DepTable.h:
5542         * LaTeXFeatures.C:
5543         * buffer.C:
5544         * lyxfont.C:
5545         * lyxlex.h:
5546         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5547
5548 2003-05-19  André Pönitz  <poenitz@gmx.net>
5549
5550         * buffer.C:
5551         * lyxlayout.[Ch]:
5552         * lyxtextclass.[Ch]:
5553         * paragraph.C:
5554         * paragraph_funcs.[Ch]:
5555         * text2.C:
5556         * text3.C: more insetenv work
5557
5558 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5559
5560         * ParagraphParameters.C (params2string): small bug fixed
5561
5562 2003-05-16  André Pönitz  <poenitz@gmx.net>
5563
5564         * debug.C:
5565         * bufferview_funcs.C: patch from Kornel Benko to prevent
5566           crash when _(...) is called twice in a statement
5567
5568 2003-05-16  André Pönitz  <poenitz@gmx.net>
5569
5570         * BufferView.C:
5571         * lyxfunc.C:
5572         * text.C:
5573         * text2.C:
5574         * text3.C:
5575         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5576
5577 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5578
5579         * lyx_main.C (init): remove spurious static_cast
5580
5581 2003-05-14  André Pönitz  <poenitz@gmx.net>
5582
5583         * BufferView.C: fix format string
5584
5585 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5586
5587         * BufferView.[Ch] (insertErrors): removed
5588         * BufferView.[Ch] (showErrorList): added
5589         * buffer.C (runChkTeX):
5590         * converter.C (scanLog): call showErrorList instead of inserterrors
5591
5592 2003-05-13  André Pönitz  <poenitz@gmx.net>
5593
5594         * BufferView_pimpl.C:
5595         * buffer.C:
5596         * bufferview_func.C:
5597         * MenuBackend.C:
5598         * lyxfunc.C:
5599         * lyxrc.C:
5600         * tex-accent.C:
5601         * text3.C:
5602         * toc.C:
5603         * tabular_funcs.h: tostr() from its own header
5604
5605         * ParagraphParameters.C:
5606         * ToolbarBackend.C:
5607         * bufferparams.C:
5608         * format.C:
5609         * lyxlex_pimpl.C:
5610         * text3.C: STRCONV()
5611
5612 2003-05-12  André Pönitz  <poenitz@gmx.net>
5613
5614         * BufferView.C:
5615         * BufferView_pimpl.C:
5616         * CutAndPaste.C:
5617         * LaTeX.C:
5618         * LaTeXFeatures.C:
5619         * ParagraphParameters.C:
5620         * buffer.C:
5621         * bufferlist.C:
5622         * bufferparams.C:
5623         * bufferview_funcs.C:
5624         * converter.C:
5625         * counters.C:
5626         * debug.C:
5627         * exporter.C:
5628         * format.C:
5629         * importer.C:
5630         * lyx_cb.C:
5631         * lyx_main.C:
5632         * lyxfont.C:
5633         * lyxfunc.C:
5634         * lyxvc.C:
5635         * paragraph.C:
5636         * paragraph_funcs.C:
5637         * tabular.C:
5638         * tabular_funcs.C:
5639         * text2.C:
5640         * text3.C:  boost::format -> bformat  all over the place
5641
5642
5643 2003-05-09  André Pönitz  <poenitz@gmx.net>
5644
5645         * LColor.[Ch]: Pimpl the #include <map> away
5646
5647 2003-05-09  John Levon  <levon@movementarian.org>
5648
5649         * bufferlist.C: never remove emergency saves
5650
5651 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * Makefile.am: better lib building
5654
5655 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5658         instead.
5659         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5660         (simpleTeXSpecialChars): adjust
5661         (simpleTeXSpecialChars): adjust
5662         * paragraph.C (simpleTeXOnePar): adjust
5663         * buffer.C (makeLaTeXFile): adjust
5664
5665         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5666
5667         * text2.C (changeDepth): parlist cleanup
5668         (getColumnNearX): ditto
5669
5670         * rowpainter.C (getLabelFont): parlist cleanup
5671
5672         * bufferlist.C (newFile): parlist cleanup
5673
5674         * CutAndPaste.C (eraseSelection): parlist cleanup
5675
5676         * BufferView_pimpl.C (trackChanges): parlist cleanup
5677         (dispatch): ditto
5678
5679         * BufferView.C (lockInset): parlist cleanup.
5680         (ChangeInsets): ditto
5681
5682 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * CutAndPaste.h: Update file header.
5685
5686         * CutAndPaste.C: Update file header.
5687         Store the parts cut out of the Document in a limited_stack.
5688         (copySelection): adjust
5689         (pasteSelection): new function, takes the index in the limited stack.
5690         (nrOfParagraphs): adjust
5691         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5692         simplify error inset insertion.
5693         (checkPastePossible): adjust
5694
5695 2003-05-06  John Levon  <levon@movementarian.org>
5696
5697         * text2.C: don't cast wrap inset to float
5698
5699 2003-05-05  André Pönitz  <poenitz@gmx.net>
5700
5701         * iterator.C:
5702         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5703
5704         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5705           few naked Paragraph *.
5706
5707 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5708
5709         * bufferparams.C: Output warning if a document with missing
5710         TeX document class is loaded
5711         * exporter.C: Disable TeX exports if the document class is missing
5712         * lyxtextclass.C:
5713         * lyxtextclass.h:
5714         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5715         isTeXClassAvailable()
5716
5717 2003-05-03  John Levon  <levon@movementarian.org>
5718
5719         * BufferView.h:
5720         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5721         explicit cursor show/hide
5722
5723         * BufferView_pimpl.h:
5724         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5725         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5726
5727         * lyxfunc.C: hide cursor before dispatching.
5728
5729         * lyx_cb.C:
5730         * lyxfind.C:
5731         * text.C:
5732         * text3.C: remove explicit cursor hides
5733
5734 2003-05-02  André Pönitz  <poenitz@gmx.net>
5735
5736         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5737
5738         * undo_funcs.C:
5739         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5740           linked lists
5741
5742         * text2.C: tiny whitespace
5743
5744 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * undo_funcs.C: almost only ws changes.
5747
5748         * ParagraphList.C (splice): just return if pl is empty.
5749
5750 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * ParagraphList.C (splice): new function.
5753
5754         * CutAndPaste.C (pasteSelection): use it
5755
5756 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * CutAndPaste.C (pasteSelection): remove the last next and
5759         previous from this file.
5760
5761 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * CutAndPaste.C (pasteSelection): more clean up, user proper
5764         ParagraphList functions for pasteing.
5765
5766         * ParagraphList.C (insert): new function, three arg insert
5767
5768 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * ParagraphList.C (insert): new function, three arg insert
5771
5772         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5773         not on paragraphs.
5774
5775 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5776
5777         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5778
5779 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5782
5783 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5784
5785         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5786         (copySelection): clean up a bit.
5787         (pasteSelection): use make_pair
5788
5789         * ParagraphList.C (ParagraphList): implement copy constructor
5790         (operator=): implement, base on copy constructor.
5791         (assign): new func
5792
5793         * paragraph.C (erase): return a bool
5794
5795         * paragraph_pimpl.C (erasePos): remove function, move contents...
5796         (erase): ... here. Return a bool.
5797         (erase): call erase instead of erasePos.
5798
5799 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5800
5801         * ParagraphList.h: define PitPosPair
5802         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5803         ParagraphList, fix a bug on pasting multiple pars
5804         * text2.C: change interface to C&P
5805
5806 2003-04-30  André Pönitz  <poenitz@gmx.net>
5807
5808         * undo_func.C: revert part of yesterday's patch 2
5809
5810 2003-04-30  John Levon  <levon@movementarian.org>
5811
5812         * LColor.C: s/tabular/table/
5813
5814 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * text3.C (dispatch): do not convert iterator -> pointer
5817         * undo_funcs.C (setCursorParUndo): ditto
5818         * text_funcs.C (transposeChars): ditto
5819
5820         * text2.C (setLayout): ws changes only
5821
5822         * text.C (breakParagraph): do not convert iterator -> pointer
5823         (insertChar): ditto
5824         (acceptChange): ditto
5825         (rejectChange): ditto
5826         (changeCase): ditto
5827         (Delete): ditto
5828         (backspace): ditto
5829
5830         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5831         pointer
5832
5833 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5834
5835         * text3.C (gotoInset): YABG (yet another bad getChar)
5836
5837 2003-04-29  André Pönitz  <poenitz@gmx.net>
5838
5839         * paragraph.h: make operator= private unimplemented as long as
5840           it is unusable
5841
5842         * ParagraphList.C: whitespace
5843
5844         * paragraph.[Ch]:
5845         * paragraph_pimpl.[Ch]:
5846         * paragraph_funcs.C:
5847         * CutAndPaste.C:
5848         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5849
5850         * text2.C:
5851           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5852
5853 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5854
5855         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5856         * paragraph.[Ch] (erase):
5857         * paragraph_pimpl.[Ch] (erase): change return type and value
5858         * text2.C (cutSelection): some rework
5859
5860 2003-04-28  John Levon  <levon@movementarian.org>
5861
5862         * bufferlist.C: changes for unsaved changes dialog
5863
5864 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5865
5866         * bufferlist.C (newFile): set language (messages_) for new
5867         documents also.
5868
5869         * buffer.C (readFile): ws changes only.
5870
5871 2003-04-28  André Pönitz  <poenitz@gmx.net>
5872
5873         * undo_funcs.C:
5874         * lyxfunc.C:
5875         * buffer.[Ch]:
5876         * BufferView_pimpl.C:
5877         * BufferView.C: getParFromID related ParagraphList::iterator changes
5878
5879 2003-04-28  André Pönitz  <poenitz@gmx.net>
5880
5881         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5882           Changes
5883
5884 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * messages.C: remove one more localedir class variable.
5887
5888 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * messages.C (getLocaleDir): singleton generation function
5891         (Pimpl): use it.
5892         (Messages): add a default constructor.
5893
5894         * main.C (main): do not setup localedir here, do not call
5895         gettext_init.
5896
5897         * gettext.C (_): use it.
5898         (gettext_init): delete funciton
5899
5900 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * gettext.C (getLyXMessages): new singleton generating function.
5903
5904         * buffer.C (updateDocLang): adjust
5905
5906         * Makefile.am (messages.o): add target
5907         (main.o): remove target
5908
5909 2003-04-27  John Levon  <levon@movementarian.org>
5910
5911         * bufferlist.C:
5912         * lyx_cb.C:
5913         * lyxfunc.C:
5914         * lyxvc.C: specify cancel button in Alert::prompt
5915
5916 2003-04-26  John Levon  <levon@movementarian.org>
5917
5918         * text3.C:
5919         * lyxfunc.C:
5920         * lfuns.h:
5921         * LyXAction.C: add LFUN_INSET_SETTINGS
5922
5923         * lyxfunc.C: don't enable tabular-feature when there's
5924         just any locking inset
5925
5926 2003-04-26  John Levon  <levon@movementarian.org>
5927
5928         * bufferlist.C: re-add Cancel to buffer close question
5929
5930         * lyxfunc.C: fix import UI a bit
5931
5932 2003-04-25  John Levon  <levon@movementarian.org>
5933
5934         * gettext.C: remove the broken asserts for now
5935
5936 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * messages.C: make case where setlocale cannot comply work better.
5939
5940         * buffer.C (updateDocLang): new function
5941         (changeLanguage): use it
5942         (readFile): use it
5943
5944         * text2.C (setCounter): use B_ a bit.
5945
5946         * lyxlayout.C (Read): be sure to trim the label strings.
5947
5948         * messages.C (Messages): fix typo in comment
5949
5950         * buffer.C (readFile): set message_ after file is loaded.
5951         (makeDocBookFile): remove double return
5952         (changeLanguage): reset message_ upon language change.
5953         (B_): new func, use this to get translated buffer strings.
5954
5955         * main.C: add myself and Jean Marc as authors.
5956
5957 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5958
5959         * messages.[hC]: pimplify Messages, and three different pimpls to be
5960         used in different circumstances.
5961
5962         * gettext.[Ch]: change for use with new message code.
5963
5964 2003-04-24 André Pönitz <poenitz@gmx.net>
5965
5966         * factory.C: support for eqref
5967
5968 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5969
5970         * messages.[Ch]: add missing char
5971
5972         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5973
5974         * messages.[Ch]: New files
5975
5976 2003-04-18  John Levon  <levon@movementarian.org>
5977
5978         * BufferView.h:
5979         * BufferView.C:
5980         * BufferView_pimpl.C:
5981         * lfuns.h:
5982         * LyXAction.C:
5983         * lyxtext.h:
5984         * text2.C: remove layout-copy/paste (bug 778)
5985
5986 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5987
5988         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5989
5990 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5991
5992         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5993         if they succeed. Act accordingly.
5994
5995 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * text2.C (setCharFont): adjust
5998         (setCounter): adjust
5999         (insertStringAsLines): adjust
6000
6001         * text.C (leftMargin): adjust
6002         (setHeightOfRow): adjust
6003
6004         * rowpainter.C (paintFirst): adjust
6005         (paintLast): adjust
6006
6007         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6008         (outerHook): ditto
6009         (isFirstInSequence): ditto
6010         (getEndLabel): ditto
6011         (outerFont): adjust
6012
6013         * paragraph.C (getParLanguage): comment out some hard stuff.
6014
6015         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6016         (sgmlError): ditto
6017         (simpleDocBookOnePar): ditto
6018         (makeDocBookFile): use ParagraphList::iterator
6019
6020         * CutAndPaste.C (pasteSelection): adjust
6021
6022 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * text2.C (getFont): adjust
6025         (getLayoutFont): adjust
6026         (getLabelFont): adjust
6027
6028         * paragraph_funcs.C (TeXOnePar): adjust
6029
6030         * buffer.C (simpleLinuxDocOnePar): adjust
6031         (simpleDocBookOnePar): adjust
6032
6033         * CutAndPaste.C (pasteSelection): adjust
6034
6035         * BufferView.C (getEncoding): adjust
6036
6037         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6038
6039 2003-04-16  John Levon  <levon@movementarian.org>
6040
6041         * lyxfind.C: use parlist stuff for search/changes
6042
6043 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6044
6045         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6046
6047         * text2.C (deleteEmptyParagraphMechanism): adjust
6048
6049         * text2.[Ch] (ownerParagraph): delete func (both of them
6050
6051 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6052
6053         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6054
6055 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * ParagraphList.C: prepare for NO_NEXT
6058
6059 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6060
6061         * text2.C (getFont): adjust
6062         (getLayoutFont): adjust
6063         (getLabelFont): adjust
6064
6065         * paragraph.C (getFont): adjust
6066         (getLabelFont): adjust
6067         (getLayoutFont): adjust
6068
6069         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6070
6071 2003-04-15  John Levon  <levon@movementarian.org>
6072
6073         From Angus Leeming
6074
6075         * lyx_main.C: handle Include in .ui files
6076
6077 2003-04-15  John Levon  <levon@movementarian.org>
6078
6079         * MenuBackend.C: make the doc files length shorter
6080
6081         * ToolbarBackend.h:
6082         * ToolbarBackend.C: handle toolbar placement flags,
6083         Minibuffer
6084
6085 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6088         adjust
6089
6090         * paragraph_funcs.C (TeXOnePar): adjust
6091
6092         * paragraph.C (getLabelFont): add outerfont arg, adjust
6093         (getLayoutFont): ditto
6094         (simpleTeXOnePar): adjust
6095
6096         * paragraph_pimpl.C (realizeFont): delete func
6097
6098 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6099
6100         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6101         row argument, constify cur argument.
6102
6103 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * text2.C (getFont): adjust
6106         (getLayoutFont): adjust
6107         (getLabelFont): adjust
6108
6109         * paragraph_funcs.C (TeXOnePar): adjust
6110         (outerFont): new func...
6111         (realizeFont): ...moved out from here, changed this to facilitate
6112         transition
6113
6114         * paragraph.C (getFont): take outerfont as arg, adjust
6115         (simpleTeXOnePar): add outerfont arg, adjust
6116
6117         * buffer.C (simpleLinuxDocOnePar): adjust
6118         (simpleDocBookOnePar): adjust
6119
6120         * CutAndPaste.C (pasteSelection): adjust
6121
6122         * BufferView.C (getEncoding): adjust
6123
6124 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * text2.C (setCharFont): adjust
6127         (setCounter): adjust
6128
6129         * text.C (leftMargin): adjust
6130         (setHeightOfRow): adjust
6131
6132         * rowpainter.C (paintFirst): adjust
6133         (paintLast): adjust
6134
6135         * paragraph_pimpl.C (realizeFont): adjust
6136
6137         * paragraph.C (isFirstInSequence): move from here...
6138         * paragraph_funcs.C (isFirstInSequence): ...to here
6139
6140         * paragraph.C (outerHook): move from here...
6141         * paragraph_funcs.C (outerHook): ...to here
6142
6143         * paragraph.C (depthHook): move from here...
6144         * paragraph_funcs.C (depthHook): ...to here
6145
6146         * paragraph.C (getEndLabel): move from here...
6147         * paragraph_funcs.C (getEndLabel): ...to here
6148
6149         * text2.C (realizeFont): move from here...
6150         * paragraph_funcs.C (realizeFont): ...to here
6151
6152 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6153
6154         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6155
6156 2003-04-14  Angus Leeming  <leeming@lyx.org>
6157
6158         * LColor.[Ch]: scrap LColor mathcursor.
6159
6160 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * lyxlex.[Ch] (text): delete function
6163         * trans.C (Load): adjust
6164         * paragraph_funcs.C (readParToken): adjust
6165
6166 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6169         vector<char> instead of a char[].
6170
6171         * lyxlex_pimpl.C (getString): adjust
6172         (next): adjust
6173         (lex): use getString
6174         (eatLine): adjust
6175         (nextToken): adjust
6176
6177         * lyxlex.C (text): use pimpl_->getString()
6178         (getBool): ditto
6179         (findToken): ditto
6180
6181 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6184         (makeFontEntriesLayoutSpecific): temp var for par.size()
6185         (setLayout): temp var for ownerParagraphs().end()
6186         (fullRebreak): temp var for rows().end()
6187         (selectionAsString): temp var for boost::next(startpit), realize
6188         that the while really is a regular for loop.
6189         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6190         setCursor in one place.
6191         (setParagraph): temp vr for ownerParagraphs().end()
6192         (updateCounters): make the while loop a for loop
6193         (cutSelection): temp var for ownerParagraphs().end()
6194         (updateInset): make the do {} while() a regular for loop
6195         (getCursorX): use temp vars
6196         (setCurrentFont): use temp vars
6197         (getColumnNearX): use temp vars
6198
6199 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6200
6201         * text.C (transformChar): use temp var for getChar
6202         (computeBidiTables): use temp var for row->par()
6203         (fill): move temp vars for row->par() and pit->layout() earlier in
6204         the function.
6205         (labelFill): use temp var for row->par()
6206         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6207         asc and desc, realize that pit never changes and that firstpit is
6208         just a duplicate and not needed. Exchange rit->par() with pit in a
6209         lot of places.
6210         (breakAgain): use a temp var for boost::next(rit)
6211         (breakAgainOneRow): ditto
6212         (breakParagraph): use a temp var for rows().begin()
6213         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6214         (cursorRightOneWord): use temp var for cursor.par() and
6215         cursor.pos(), remove usage of tmpcursor.
6216         (cursorLeftOneWord): use temp var for cursor.par() and
6217         cursor.pos() only set cur at end of function.
6218
6219 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * text.C, text2.C: exchange all usage of Paragraph::next with
6222         boost::next(ParagraphList::iterator)
6223
6224         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6225
6226         * text2.C (cursorTop): simplify implementation
6227         (cursorBottom): ditto
6228         (setParagraph): use ParagraphList::iterator
6229         (setCurrentFont): adjust
6230         (getColumnNearX): adjust
6231         (cursorRight): adjust
6232         (cursorLeft): remove usage of Paragraph::previous
6233         (cursorUpParagraph): ditto
6234         (deleteEmptyParagraphMechanism): slight cleanup
6235
6236         * text.C (isBoundary): take a Paragraph const & instead of a
6237         pointer as arg.
6238         (addressBreakPoint): ditto
6239         (leftMargin): remove usage of Paragraph::previous.
6240         (setHeightOfRow): ditto
6241         (cursorLeftOneWord): ditto
6242         (selectNextWordToSpellcheck): ditto
6243         (Delete): ditto
6244         (backspace): ditto
6245         (breakParagraph): remove one usage of Paragraph::next
6246         (redoParagraph): ditto
6247         (acceptChange): ditto
6248         (insertChar): adjust
6249         (rowBreakPoint): adjust
6250
6251         * bufferview_funcs.C (toggleAndShow): adjust
6252
6253 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6254
6255         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6256         methods to access it.
6257         * lyxtext.h:
6258         * text.C: Added updateRowPositions to compute all row positions.
6259         Make top_y and getRowNearY() to use the cached y position
6260
6261 2003-04-11  John Levon  <levon@movementarian.org>
6262
6263         * text.C (rowBreakPoint): reintroduce the labelEnd
6264         checks, code copied from the row fill stuff. Deep voodoo.
6265
6266         * text.C (fill): add a comment and debugging for the
6267         next poor soul.
6268
6269 2003-04-11  John Levon  <levon@movementarian.org>
6270
6271         * text.C: make sure fullrow insets get wrapped to the next line,
6272         even when they're in a manual label
6273
6274 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6275
6276         * text2.C (insertParagraph): make it take ParagraphList::iterator
6277         as arg.
6278         (setLayout): make it return ParagraphList::iterator
6279         (redoParagraphs): ditto
6280         (setCounter): ditto
6281         (checkParagraph): ditto
6282
6283         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6284
6285         * text2.C: adjust several funcs.
6286         (realizeFont): take a ParagraphList::iterator as arg.
6287         (getLayoutFont): ditto
6288         (getLabelFont): ditto
6289         (setCharFont): ditto
6290
6291         * text.C: adjust several funcs.
6292
6293 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6294
6295         * text.C (selectNextWordToSpellcheck): don't accidentally
6296         skip insets
6297
6298 2003-04-10  John Levon  <levon@movementarian.org>
6299
6300         * ToolbarBackend.C (getIcon): special handling for
6301         LFUN_MATH_DELIM
6302
6303 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6304
6305         * text2.C (cursorRight): a getChar assert fixed
6306
6307 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6308
6309         * text2.C (getFont): change to take a ParagraphList::iterator
6310         instead of Paragraph*
6311         Adjust several functions.
6312
6313         * text.C (transformChar): change to take a ParagraphList::iterator
6314         instead of Paragraph*
6315         (singleWidth): ditto
6316         Adjust several functions.
6317
6318         * rowpainter.C: adjust several functions
6319         * rowpainter.h:store a ParagraphList::iterator and not a
6320         Paragraph&.
6321
6322
6323 2003-04-09  John Levon  <levon@movementarian.org>
6324
6325         * lyxfunc.C:
6326         * lfuns.h:
6327         * LyXAction.h:
6328         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6329         and the "help" bits as well
6330
6331 2003-04-09  John Levon  <levon@movementarian.org>
6332
6333         * ToolbarBackend.h:
6334         * ToolbarBackend.C: allow multiple toolbars
6335
6336 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * undo_funcs.C (setCursorParUndo): adjust
6339
6340         * text_funcs.C (transposeChars): adjust
6341
6342         * text3.C (gotoNextInset): adjust
6343         (dispatch): adjust
6344
6345         * text2.C (setLayout): adjust
6346         (changeDepth): adjust
6347         (setFont): adjust
6348         (redoParagraphs): adjust
6349         (selectionAsString): adjust
6350         (setParagraph): adjust
6351         (insertInset): adjust
6352         (cutSelection): adjust
6353         (copySelection): adjust
6354         (pasteSelection): adjust
6355         (insertStringAsLines): adjust
6356         (updateInset): adjust
6357         (setCursor): change to take a ParagraphList::iterator parameter
6358         (setCursorIntern): change to take a ParagraphList::iterator parameter
6359         (setCurrentFont): adjust
6360         (cursorLeft): adjust
6361         (cursorRight): adjust
6362         (deleteEmptyParagraphMechanism): adjust
6363
6364         * text.C (breakParagraph): adjust
6365         (insertChar): adjust
6366         (acceptChange): adjust
6367         (rejectChange): adjust
6368         (selectNextWordToSpellcheck): adjust
6369         (changeCase): adjust
6370         (Delete): adjust
6371         (backspace): adjust
6372
6373         * lyxfind.C (SearchForward): adjust
6374         (SearchBackward): adjust
6375         (nextChange): adjust
6376
6377         * lyxcursor.C (par): adjust
6378
6379         * lyxcursor.h: store a ParagraphList::iterator instead of a
6380         Paragraph*
6381
6382         * lyx_cb.C (getPossibleLabel): adjust
6383
6384         * bufferview_funcs.C (toggleAndShow): adjust
6385
6386         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6387         (dispatch): adjust
6388
6389         * BufferView.C (removeAutoInsets): adjust
6390         (lockedInsetStoreUndo): adjust
6391
6392 2003-04-09  John Levon  <levon@movementarian.org>
6393
6394         * ToolbarBackend.C: try icon without argument
6395         if with argument fails
6396
6397 2003-04-08  John Levon  <levon@movementarian.org>
6398
6399         * ToolbarBackend.h:
6400         * ToolbarBackend.C: add getIcon(), handle tooltip,
6401         and change from "Icon" to "Item".
6402
6403 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6404
6405         * BufferView.C (lockInset): another bad getchar crunched
6406
6407 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6408
6409         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6410         again)
6411
6412 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6413
6414         * lyxfind.C (searchForward, searchBackwards): bug 782
6415
6416 2003-04-07  John Levon  <levon@movementarian.org>
6417
6418         * paragraph.C: remove dead comment
6419
6420         * text.C: remove troublesome depth-fiddling code
6421         in leftMargin() and rightMargin() (bug 1017)
6422
6423         * text.C: fix breaking of rows in nested lists
6424         (bug 1004)
6425
6426         * text2.C (updateCounters): fix up depth values
6427         (bug 1013)
6428
6429 2003-04-07  John Levon  <levon@movementarian.org>
6430
6431         * BufferView_pimpl.C: clear message when doc finishes resizing,
6432         and after a mouse event
6433
6434         * lyxfunc.C: clear message after exiting inset
6435
6436 2003-04-07  John Levon  <levon@movementarian.org>
6437
6438         * bufferview_funcs.C: show math status not outside
6439         status in the statusbar
6440
6441 2003-04-07  John Levon  <levon@movementarian.org>
6442
6443         * lyxfunc.C: note status changed after a depth change
6444
6445 2003-04-04  Angus Leeming  <leeming@lyx.org>
6446
6447         * LaTeX.h: move AuxInfo operator==, != out of line.
6448         Remove LaTeX virtual destructor; nothing derives from it.
6449         Move operator()() out of public area and rename it startscript().
6450         Change protected for private.
6451
6452 2003-04-04  Angus Leeming  <leeming@lyx.org>
6453
6454         * lyxfunc.C:
6455         * text2.C: remove unneeded #includes.
6456
6457 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * text2.C (dEPM): fix the heigth of the next row
6460
6461 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6462
6463         * text.C: squashed an invalid getChar requester + some ws changes
6464
6465 2003-04-03  John Levon  <levon@movementarian.org>
6466
6467         * bufferview_funcs.h:
6468         * bufferview_funcs.C:
6469         * lyxfunc.C:
6470         * lyxtext.h:
6471         * text2.C: make getStatus work for the env depth lfuns
6472
6473 2003-04-03  John Levon  <levon@movementarian.org>
6474
6475         * bufferview_funcs.h:
6476         * bufferview_funcs.C:
6477         * lyxfunc.C:
6478         * lyxtext.h:
6479         * text2.C: parlistize decDepth(), by merging it with incDepth()
6480
6481 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * lyxrow.h: store a ParagraphList::iterator instead of a
6484         Paragraph* and adjust other class functions to suit.
6485
6486         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6487         above.
6488
6489 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * text2.C (setCursor): do not anchor to cursor row for the time being
6492
6493 2003-04-02  John Levon  <levon@movementarian.org>
6494
6495         * LyXAction.C:
6496         * lfuns.h:
6497         * lyx_main.C:
6498         * lyxtext.h:
6499         * text.C:
6500         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6501
6502 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6503
6504         * paragraph.h: make ParagraphList and ParagraphList::iterator
6505         friends of Paragraph.
6506
6507         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6508
6509         * ParagraphList.C: Use the private next_ and previous_ from
6510         Paragraph.
6511
6512 2003-04-01  John Levon  <levon@movementarian.org>
6513
6514         * ToolbarBackend.h:
6515         * ToolbarBackend.C:
6516         * Makefile.am: rename, remove defaults gunk
6517
6518         * MenuBackend.h:
6519         * MenuBackend.C: remove defaults gunk
6520
6521         * Languages.h:
6522         * Languages.C: remove defaults gunk
6523
6524         * lyx_main.h:
6525         * lyx_main.C: error out if files couldn't be found.
6526
6527 2003-04-02  John Levon  <levon@movementarian.org>
6528
6529         * text2.C: make incDepth() use parlist
6530
6531 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * undo_funcs.C (firstUndoParagraph): adjust
6534
6535         * text3.C (gotoInset): adjust
6536         (dispatch): adjust, and rewrite loop.
6537
6538         * text2.C (init): adjust, and rewrite loop.
6539         (redoParagraphs): adjust
6540         (updateInset): adjust, and rewrite loop.
6541         (deleteEmptyParagraphMechanism): adjust
6542
6543         * tabular.C (LyXTabular): adjust
6544         (SetMultiColumn): adjust
6545         (TeXRow): adjust
6546
6547         * lyxtext.[Ch] (ownerParagraph): delete function
6548         (ownerParagraphs): new function returns a ParagraphList.
6549
6550         * BufferView.C (removeAutoInsets): adjust
6551         (insertErrors): adjust
6552         (setCursorFromRow): adjust
6553
6554 2003-04-01  Angus Leeming  <leeming@lyx.org>
6555
6556         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6557         in the frontends.
6558
6559 2003-04-02  John Levon  <levon@movementarian.org>
6560
6561         * lyxtext.h:
6562         * text.C:
6563         * Makefile.am:
6564         * text_funcs.h:
6565         * text_funcs.C: make transposeChars a free function
6566
6567         * lyxrow_funcs.C: remove wrong comment
6568
6569 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * lyxtext.h: adjust
6572         * rowpainter.C: adjust
6573         * text.C: adjust
6574         * text2.C: adjust
6575         * text3.C: adjust
6576
6577         * lyxrow_funcs. [Ch]: new files
6578
6579         * lyxrow.[Ch]: remove next and previous pointers
6580         (next,previous): remove accessor functions
6581         (isParEnd): move to lyxrow_funcs
6582         (lastPos): move to lyxrow_funcs
6583         (nextRowIsAllInset): move to lyxrow_funcs
6584         (lastPrintablePos): move to lyxrow_funcs
6585         (numberOfSeparators): move to lyxrow_funcs
6586         (numberOfHfills): move to lyxrow_funcs
6587         (numberOfLabelHfills): move to lyxrow_funcs
6588         (hfillExpansion): move to lyxrow_funcs
6589
6590         * lyxfunc.C: adjust
6591
6592         * bufferview_funcs.C (toggleAndShow): adjust
6593
6594         * RowList.h: Remove class RowList from file leave just a
6595         std::list<Row>.
6596
6597         * RowList.C: delete file
6598
6599         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6600         and lyxrow_funcs.h
6601
6602 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * text3.C (cursorPrevious): adjust
6605         (cursorNext): adjust
6606         (dispatch): adjust
6607
6608         * text2.C (redoHeightOfParagraph): adjust
6609         (redoDrawingOfParagraph): adjust
6610         (setCursor): adjust
6611
6612         * text.C (breakParagraph): adjust
6613         (insertChar): adjust
6614         (backspace): adjust
6615
6616         * rowpainter.C (RowPainter): adjust
6617         (leftMargin): simplify and adjust
6618         (most rowpainter functions): adjust.
6619
6620         * rowpainter.h: store the row as RowList::iterator not as Row*
6621
6622         * lyxcursor.C (row): taka RowList::iterator as arg
6623         (irow): ditto
6624
6625         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6626         of Row*.
6627
6628 2003-04-01  Angus Leeming  <leeming@lyx.org>
6629
6630         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6631         stuff like bool Bool.
6632
6633 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6634
6635         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6636         rewrite a loop
6637
6638 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6639
6640         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6641         RowList::iterator.
6642
6643         * lyxtext.h (rows): drop one version and leve a const variant that
6644         returns a RowList::iterator.
6645
6646 2003-03-31  Angus Leeming  <leeming@lyx.org>
6647
6648         * text.C (fill): ensure that the signature is the same as that in the
6649         header file.
6650
6651 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * text2.C (redoParagraphs): adjust
6654         (updateCounters): adjust
6655         (checkParagraph): adjust
6656         (getColumnNearX): adjust and reformat a bit.
6657
6658         * text.C (top_y): adjust
6659         (workWidth): adjust
6660         (leftMargin): adjust
6661         (prepareToPrint): adjust
6662         (getRow): adjust
6663         (getRowNearY): adjust
6664
6665         * lyxtext.h: make rowlist_ mutable.
6666
6667         * RowList.h: add const_iterator
6668         * RowList.C: adjust for RowList::const_iterator.
6669
6670         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6671         adjust.
6672
6673 2003-03-31  John Levon  <levon@movementarian.org>
6674
6675         * lyxrc.h:
6676         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6677
6678         * lyx_main.C: set default fonts from using lyx_gui funcs
6679
6680         * exporter.C: pdf_mode moved from lyxrc
6681
6682         * lyx_cb.C:
6683         * lyxfunc.C: changes from above
6684
6685 2003-03-31  John Levon  <levon@movementarian.org>
6686
6687         * lyx_main.C: fix to the last fix
6688
6689 2003-03-31  John Levon  <levon@movementarian.org>
6690
6691         * bufferlist.C: "Load original" -> "Load Original"
6692
6693         * converter.C:
6694         * exporter.C:
6695         * importer.C:
6696         * lyx_main.C:
6697         * format.C: more Alert cleanups
6698
6699 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * text2.C (removeParagraph): make it take a RowList::iterator as
6702         arg, adjust.
6703         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6704         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6705
6706         * text.C (anchor_row): make it take a RowList::iterator as arg,
6707         adjust.
6708         (computeBidiTables): make it take a const reference to Row instead
6709         of Row pointer, adjust.
6710         (leftMargin): make it take a RowList::iterator as arg, adjust.
6711         (rowBreakPoint): adjust
6712         (breakAgainOneRow): make it take a RowList::iterator as arg,
6713         adjust.
6714         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6715
6716         * bufferview_funcs.C (toggleAndShow): adjust
6717
6718 2003-03-30  John Levon  <levon@movementarian.org>
6719
6720         * Makefile.am:
6721         * BoostFormat.h:
6722         * boost-inst.C: moved to support
6723
6724         * several files: changes as a result
6725
6726 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6727
6728         * text2.C (LyXText): adjust.
6729         (init): adjust
6730         (removeRow): make it take a RowList::iterator as arg, adjust.
6731         (fullRebreak): adjust
6732         (deleteEmptyParagraphMechanism): adjust
6733         (clearPaint): adjust
6734         (postPaint): adjust
6735
6736         * text.C (top_y): adjust
6737         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6738         (breakAgain): make it take a RowList::iterator as arg, adjust.
6739         (breakParagraph): adjust
6740         (insertChar): adjust
6741         (backspace): adjust
6742
6743         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6744         need_break_row, and refresh_row.
6745
6746         * text3.C (dispatch): adjust
6747
6748         * text2.C (checkParagraph): adjust
6749         (setCursor): adjust
6750         (setCursorFromCoordinates): adjust
6751
6752         * text.C (top_y): adjust
6753         (workWidth): adjust
6754         (getRow): make it return a RowList::iterator, adjust
6755         (getRowNearY): make it return a RowList::iterator, adjust
6756
6757         * text2.C (init): adjust
6758         (insertRow): remove function
6759         (insertParagraph): adjust
6760         (redoParagraphs): adjust
6761         (fullRebreak): adjust
6762         (updateCounters): adjust
6763
6764         * text.C (top_y): rewrite to use RowList iterators.
6765         (top_y): adjust
6766         (setHeightOfRow): rewrite to sue RowList iterators.
6767         (appendParagraph): adjust
6768         (breakAgain): adjust
6769         (breakAgainOneRow): adjust
6770         (breakParagraph): adjust
6771         (getRow): adjust
6772         (getRowNearY): adjust, and remove commented code.
6773
6774         * lyxtext.h (firstRow): delete function
6775         (lastRow): delete function
6776         (rows): new function (const and non-const versions.)
6777         (insertRow): delete function
6778
6779         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6780
6781 2003-03-29  John Levon  <levon@movementarian.org>
6782
6783         * BufferView_pimpl.C: always update scrollbar top
6784         because pasting text when we're anchored could mean we
6785         miss an update altogether
6786
6787 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * text2.C (init): use rowlist_.end() and not 0.
6790         (insertRow): change to take a RowList::iterator as arg, adjust
6791         for this.
6792         (insertParagraph): change to take a RowList::iterator as arg,
6793         adjust for this.
6794         (redoParagraphs): remove some debug msgs.
6795
6796         * text.C (appendParagraph): change to take a RowList::iterator
6797         arg, adjust for this.
6798         (breakAgain): add an assert
6799         (breakAgainOneRow): ditto
6800
6801 2003-03-29  John Levon  <levon@movementarian.org>
6802
6803         * text2.C: do not clear selection after inc/decDepth
6804         (bug 550)
6805
6806 2003-03-29  John Levon  <levon@movementarian.org>
6807
6808         * BufferView.C:
6809         * buffer.C: fix broken strerrors according to Lars
6810
6811 2003-03-29  John Levon  <levon@movementarian.org>
6812
6813         * converters.C: more Alert cleanups
6814
6815 2003-03-29  John Levon  <levon@movementarian.org>
6816
6817         * bufferview_funcs.C: remove pointless Alert
6818
6819         * buffer.C: fix confusing error message when
6820         a template is chmoded 000
6821
6822 2003-03-29  John Levon  <levon@movementarian.org>
6823
6824         * BufferView.C:
6825         * BufferView.h:
6826         * BufferView_pimpl.C: Alert fixes
6827
6828         * Makefile.am:
6829         * tabular.C:
6830         * tabular-old.C: remove unused table compat reading
6831
6832 2003-03-29  John Levon  <levon@movementarian.org>
6833
6834         * BufferView.C:
6835         * buffer.C:
6836         * lyx_cb.h:
6837         * lyx_cb.C: more Alert cleanups
6838
6839         * lyxfunc.C: don't allow chktex if not latex document
6840
6841 2003-03-29  John Levon  <levon@movementarian.org>
6842
6843         * lyx_cb.C:
6844         * BufferView.C:
6845         * buffer.C: warnings pushed down from support/,
6846         kill err_alert
6847
6848 2003-03-29  John Levon  <levon@movementarian.org>
6849
6850         * lyxfunc.C: safety check for C-r (revert)
6851
6852 2003-03-29  John Levon  <levon@movementarian.org>
6853
6854         * bufferlist.h:
6855         * bufferlist.C: several UI fixes using Alert::prompt.
6856         Fix the pointless looping quit code. Fix stupid revert
6857         behaviour (bug 938)
6858
6859         * lyxvc.h:
6860         * lyxvc.C:
6861         * lyx_cb.C: use Alert::prompt
6862
6863         * lyx_main.C: remove a silly question
6864
6865         * lyxfunc.C: remove a couple of silly questions,
6866         use Alert::prompt
6867
6868 2003-03-28  John Levon  <levon@movementarian.org>
6869
6870         * text2.C: fix bug 974 (End on empty par)
6871
6872 2003-03-28  John Levon  <levon@movementarian.org>
6873
6874         * BufferView_pimpl.C:
6875         * LyXAction.C:
6876         * lfuns.h: remove do-nothing math greek lfuns
6877
6878 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * lyxgluelength.h (isValidGlueLength): add default arg on
6881         parameter 2. Remove default arg from friend in class.
6882
6883         * lyxlength.h (isValidLength): add default arg on parameter 2.
6884         Remove default arg from friend in class.
6885
6886         * text2.C (LyXText): adjust, initialize refresh_row.
6887         (init): adjust
6888         (removeRow): adjust
6889         (insertRow): adjust
6890         (insertParagraph): adjst
6891         (redoParagraphs): adjust
6892         (fullRebreak): adjust
6893         (updateCounters): adjust
6894         (deleteEmptyParagraphMechanism): first attempt at fixing a
6895         crashing bug.
6896
6897         * text.C (top_y): adjust
6898         (setHeightOfRow): adjust
6899         (getRow): adjust
6900         (getRowNearY): adjust
6901
6902         * lyxtext.h: include RowList.h
6903         (~LyXText): not needed anymore, deleted.
6904         (firstRow): modify for RowList
6905         (lastRow): new function
6906         Delete firstrow and lastrow class variables, add a Rowlist
6907         rowlist_ class variable.
6908
6909         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6910         paragraph is empty.
6911
6912         * RowList.C (insert): fix case where it == begin().
6913
6914 2003-03-26  Angus Leeming  <leeming@lyx.org>
6915
6916         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6917         the thesaurus dialog.
6918
6919 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6922
6923         * RowList.[Ch]: new files
6924
6925         * ParagraphList.C (erase): handle the case where it == begin
6926         correctly.
6927
6928 2003-03-25  John Levon  <levon@movementarian.org>
6929
6930         * Makefile.am:
6931         * aspell_local.h:
6932         * aspell.C: add new aspell support
6933
6934         * lyxrc.h:
6935         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6936         have it accessible.
6937
6938 2003-03-25  Angus Leeming  <leeming@lyx.org>
6939
6940         * lfuns.h:
6941         * LyXAction.C (init): new LFUN_INSET_INSERT.
6942
6943         * BufferView_pimpl.C (dispatch): split out part of the
6944         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6945
6946         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6947         LFUN_INSET_APPLY.
6948
6949 2003-03-25  Angus Leeming  <leeming@lyx.org>
6950
6951         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6952
6953 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6954
6955         * text2.C:
6956         * text3.C: remove useless row->height(0)
6957
6958 2003-03-25  John Levon  <levon@movementarian.org>
6959
6960         * lyxtext.h:
6961         * text2.C:
6962         * text3.C: rename the refreshing stuff to better names
6963
6964 2003-03-24  John Levon  <levon@movementarian.org>
6965
6966         * BufferView_pimpl.h:
6967         * BufferView_pimpl.C: update layout choice on a mouse
6968         press/release
6969
6970 2003-03-23  John Levon  <levon@movementarian.org>
6971
6972         * Makefile.am: fix commandtags.h reference
6973
6974 2003-03-22  John Levon  <levon@movementarian.org>
6975
6976         * BufferView_pimpl.C:
6977         * lyxtext.h:
6978         * rowpainter.C:
6979         * rowpainter.h:
6980         * text.C:
6981         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6982
6983 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6984
6985         * lyxtext.h:
6986         * text.C: take the rtl methods out of line
6987
6988 2003-03-21 André Pönitz <poenitz@gmx.net>
6989
6990         * metricsinfo.[Ch]: new files containing structures to be passed around
6991         during the two-phase-drawing...
6992
6993 2003-03-21 André Pönitz <poenitz@gmx.net>
6994
6995         * lyxtextclass.C: read 'environment' tag.
6996
6997 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6998
6999         * text2.C (removeRow): fix bug 964
7000
7001 2003-03-20  John Levon  <levon@movementarian.org>
7002
7003         * rowpainter.C:
7004         * text.C:
7005         * text2.C: paint cleanups. Inset::update() dropped font
7006         parameter
7007
7008 2003-03-19  John Levon  <levon@movementarian.org>
7009
7010         * lyxfunc.C: only fitcursor/markDirty if available()
7011
7012 2003-03-19  John Levon  <levon@movementarian.org>
7013
7014         * commandtags.h: rename to ...
7015
7016         * lfuns.h: ... this, and renumber / cleanup
7017
7018 2003-03-19  John Levon  <levon@movementarian.org>
7019
7020         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7021         fit the cursor after an lfun
7022
7023         * BufferView.h:
7024         * BufferView.C:
7025         * BufferView_pimpl.h:
7026         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7027
7028         * LyXAction.C: layout-character should have ReadOnly
7029
7030         * ParagraphParameters.C:
7031         * buffer.C:
7032         * bufferview_funcs.C:
7033         * lyx_cb.C:
7034         * lyxfind.C:
7035         * lyxtext.h:
7036         * text.C:
7037         * text2.C:
7038         * text3.C:
7039         * undo_funcs.C: changes from above
7040
7041 2003-03-18  John Levon  <levon@movementarian.org>
7042
7043         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7044         remove it from update()
7045
7046         * lyxfunc.C: update layout choice after an lfun
7047
7048         * text3.C: remove extra updateLayoutChoice()s
7049
7050 2003-03-18  John Levon  <levon@movementarian.org>
7051
7052         * text.C: top_y change means full repaint, fix
7053         a drawing bug with cursor movement
7054
7055 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7056
7057         * lyxtext.h:
7058         * text.C:
7059         * text2.C: anchor row on setCursor
7060
7061 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7062
7063         * lyxtext.h: remove almost all mutable keywords
7064         * text.C:
7065         * text2.C:
7066         * text3.C: remove const keywords accordingly
7067
7068 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7069
7070         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7071         anon namespace
7072         (TeXEnvironment): ditto
7073         (TeXOnePar): ditto
7074
7075 2003-03-17  John Levon  <levon@movementarian.org>
7076
7077         * text.C (rowBreakPoint): remove attempt to fix displayed
7078         math insets inside a manual label
7079
7080 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7081
7082         * lyxtext.h: remove BufferView* as first arg from almost all class
7083         functions.
7084         * other files: adjust.
7085
7086 2003-03-17  John Levon  <levon@movementarian.org>
7087
7088         * lyxtext.h:
7089         * undo_funcs.C:
7090         * text2.C: more paint cleanups
7091
7092         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7093
7094         * rowpainter.h:
7095         * rowpainter.C: remove "smart" background painting code
7096
7097 2003-03-16  John Levon  <levon@movementarian.org>
7098
7099         * lyxtext.h:
7100         * text.C:
7101         * text2.C:
7102         * text3.C: add helper functions for setting refresh_row/y
7103
7104 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7105
7106         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7107         newline inset which *can* get inserted in the pass_thru layouts.
7108         This is primarily for literate documents.
7109
7110 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7111
7112         * buffer.C: increment LYX_FORMAT to 223
7113
7114 2003-03-14 André Pönitz <poenitz@gmx.net>
7115
7116         * textclass.h: prepare for environment handling, ws changes
7117         * lyxlayout.C: read latexheader and latexfooter tags
7118
7119 2003-03-14  John Levon  <levon@movementarian.org>
7120
7121         * text2.C: rewrite ::status() a bit
7122
7123 2003-03-13  John Levon  <levon@movementarian.org>
7124
7125         * lyxtext.h: add some docs
7126
7127 2003-03-13  John Levon  <levon@movementarian.org>
7128
7129         * lyxtext.h:
7130         * text.C:
7131         * text2.C:
7132         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7133
7134 2003-03-13  John Levon  <levon@movementarian.org>
7135
7136         * text3.C: fix appendix redrawing
7137
7138 2003-03-13  John Levon  <levon@movementarian.org>
7139
7140         * text.C (setHeightOfRow):
7141         * rowpainter.h:
7142         * rowpainter.C: make appendix mark have the text
7143           "Appendix" so the user knows what it is
7144
7145         * LColor.h:
7146         * LColor.C: s/appendixline/appendix/ from above
7147
7148 2003-03-13  John Levon  <levon@movementarian.org>
7149
7150         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7151
7152         * text.C: fix a getChar(pos) bug properly
7153
7154 2003-03-13  Angus Leeming  <leeming@lyx.org>
7155
7156         * commandtags.h:
7157         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7158         Probably only temporary. Let's see how things pan out.
7159
7160         * BufferView.C (unlockInset):
7161         * BufferView_pimpl.C (fitCursor):
7162         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7163
7164         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7165         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7166
7167         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7168         new functions that convert ParagraphParameters to and from a string.
7169
7170         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7171         BufferView::Pimpl's dispatch.
7172         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7173
7174 2003-03-13 André Pönitz <poenitz@gmx.net>
7175
7176         * lyxfunc.C:
7177         * text3.C:
7178         * factory.C: make it aware of InsetEnv
7179
7180 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * text2.C (setCursor): never ask for one past last
7183         (setCursor): add some debugging messages.
7184
7185         * text.C (singleWidth): never ask for one past last
7186         (singleWidth): ditto
7187         (leftMargin): ditto
7188         (rightMargin): ditto
7189         (rowBreakPoint): ditto
7190         (setHeightOfRow): ditto
7191         (prepareToPrint): ditto
7192
7193         * rowpainter.C (paintBackground): never ask for one past last
7194         (paintText): never ask for one past last
7195
7196         * paragraph_pimpl.C (getChar): make the assert stricter, never
7197         allow the one past last pos to be taken
7198
7199         * paragraph.C (getChar): ws changes only
7200
7201         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7202         (numberOfSeparators): ditto
7203         (numberOfHfills): ditto
7204
7205 2003-03-12  John Levon  <levon@movementarian.org>
7206
7207         * author.h:
7208         * author.C:
7209         * bufferparams.h:
7210         * bufferparams.C:
7211         * paragraph_funcs.C: fix per-buffer authorlists
7212
7213 2003-03-12  John Levon  <levon@movementarian.org>
7214
7215         * text.C: fix newline in right address
7216
7217 2003-03-12  Angus Leeming  <leeming@lyx.org>
7218
7219         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7220         duplicate those in LyXFunc::dispatch.
7221
7222         * commandtags.h:
7223         * LyXAction.C:
7224         * ToolbarDefaults.C:
7225         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7226         Add LFUN_FONTFREE_UPDATE.
7227
7228         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7229         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7230
7231         * bufferview_func.[Ch]: several new functions to facilliate
7232         transfer of data to and from the character dialog.
7233
7234 2003-03-12  John Levon  <levon@movementarian.org>
7235
7236         * buffer.C:
7237         * paragraph.h:
7238         * paragraph.C:
7239         * paragraph_funcs.C:
7240         * paragraph_pimpl.C:
7241         * sgml.C:
7242         * tabular.C:
7243         * text.C:
7244         * text3.C: remove META_NEWLINE in favour of an inset
7245
7246         * rowpainter.h:
7247         * rowpainter.C: remove paintNewline (done by inset)
7248
7249 2003-03-12  John Levon  <levon@movementarian.org>
7250
7251         * paragraph_pimpl.C: complain about bad getChar()s
7252         for a while at least
7253
7254 2003-03-12  John Levon  <levon@movementarian.org>
7255
7256         * buffer.h:
7257         * buffer.C: move paragraph read into a separate function,
7258         a little renaming to reflect that.
7259
7260         * bufferparams.h:
7261         * bufferparams.C: remove the author_ids map, not necessary now
7262
7263         * factory.h:
7264         * factory.C: moved Buffer::readInset to here
7265
7266         * paragraph_funcs.h:
7267         * paragraph_funcs.C: readParagraph free function moved from
7268         buffer.C
7269
7270         * tabular.C: name change
7271
7272 2003-03-12  John Levon  <levon@movementarian.org>
7273
7274         * buffer.C:
7275         * ParagraphParameters.C: move par params input to
7276         a read() method
7277
7278         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7279         behave like a normal read from the stream wrt reading
7280         a line vs. a \\token
7281
7282 2003-03-12  John Levon  <levon@movementarian.org>
7283
7284         * paragraph.C:
7285         * ParagraphParameters.h:
7286         * ParagraphParameters.C: move output code to a
7287         ::write() method
7288
7289 2003-03-12  John Levon  <levon@movementarian.org>
7290
7291         * BufferView.C (insertLyXFile):
7292         * buffer.h:
7293         * buffer.C:
7294         * tabular.C: use a parlist iterator for creating the
7295           document.
7296
7297 2003-03-12  John Levon  <levon@movementarian.org>
7298
7299         * buffer.C: make current_change static local not
7300           static file-scope
7301
7302 2003-03-12  John Levon  <levon@movementarian.org>
7303
7304         * buffer.C: fix insertStringAsLines for change tracking
7305
7306 2003-03-12  John Levon  <levon@movementarian.org>
7307
7308         * BufferView.C:
7309         * tabular.C:
7310         * buffer.h:
7311         * buffer.C:
7312         * bufferparams.h:
7313         * bufferparams.C: move author list into params. Rename some
7314           functions. Move the header reading into a separate token
7315           loop. Move the header token reading into BufferParams.
7316
7317 2003-03-12  John Levon  <levon@movementarian.org>
7318
7319         * changes.C: put debug inside lyxerr.debugging() checks
7320
7321 2003-03-11 André Pönitz <poenitz@gmx.net>
7322
7323         * factory.C: make it aware of InsetHFill
7324
7325 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7326
7327         * buffer.C (latexParagraphs): move function from here...
7328         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7329         args.
7330
7331 2003-03-10  Angus Leeming  <leeming@lyx.org>
7332
7333         * LyXAction.C (init): fix bug in poplating array with multiple entries
7334         with the same LFUN (spotted by JMarc).
7335
7336 2003-03-10  John Levon  <levon@movementarian.org>
7337
7338         * text.C:
7339         * text2.C: move getColumnNearX() near its
7340         only call site
7341
7342 2003-03-10  John Levon  <levon@movementarian.org>
7343
7344         * text.C: fix break before a minipage
7345
7346 2003-03-10  John Levon  <levon@movementarian.org>
7347
7348         * text.C: fix the last commit
7349
7350 2003-03-09  John Levon  <levon@movementarian.org>
7351
7352         * lyxtext.h:
7353         * text.C:
7354         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7355         bug 365 (don't break before insets unless needed). Don't
7356         return a value > last under any circumstances.
7357
7358 2003-03-09  Angus Leeming  <leeming@lyx.org>
7359
7360         * BufferView_pimpl.C (trackChanges, dispatch): call
7361         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7362
7363 2003-03-09  Angus Leeming  <leeming@lyx.org>
7364
7365         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7366         than Dialogs::showAboutlyx().
7367
7368 2003-03-09  Angus Leeming  <leeming@lyx.org>
7369
7370         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7371         than Dialogs::showTabularCreate().
7372
7373 2003-03-09  John Levon  <levon@movementarian.org>
7374
7375         * lyxtext.h:
7376         * text.C:
7377         * text2.C: 3rd arg to nextBreakPoint was always the same.
7378           Use references.
7379
7380 2003-03-08  John Levon  <levon@movementarian.org>
7381
7382         * lyxrow.C:
7383         * paragraph.C:
7384         * paragraph.h:
7385         * rowpainter.C:
7386         * text.C:
7387         * text2.C: Remove the "main" bit from the "main body"
7388           notion.
7389
7390 2003-03-08  John Levon  <levon@movementarian.org>
7391
7392         * text.C (leftMargin): The left margin of an empty
7393         manual label paragraph should not include the label width
7394         string length.
7395
7396         * text.C (prepareToPrint): don't attempt to measure hfills
7397         for empty manual label paragraphs - the answer should be 0
7398
7399 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * CutAndPaste.C: remove commented code and reindent.
7402
7403 2003-03-08  John Levon  <levon@movementarian.org>
7404
7405         * lyxfunc.h:
7406         * lyxfunc.C: move reloadBuffer()
7407
7408         * BufferView.h:
7409         * BufferView.C: to here
7410
7411         * lyxvc.C: add comment
7412
7413         * vc-backend.h:
7414         * vc-backend.C: call bv->reload() to avoid
7415           getStatus() check on MENURELOAD
7416
7417 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7418
7419         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7420         to an old format .dep file.
7421
7422 2003-03-07  Angus Leeming  <leeming@lyx.org>
7423
7424         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7425         when the LFUN_MOUSE_RELEASE should have been handled by
7426         inset->localDispatch.
7427
7428 2003-03-07  Angus Leeming  <leeming@lyx.org>
7429
7430         * BufferView_pimpl.C (dispatch):
7431         * LyXAction.C (init):
7432         * ToolbarDefaults.C (init):
7433         * commandtags.h:
7434         * lyxfunc.C (getStatus):
7435         remove LFUN_INSET_GRAPHICS.
7436
7437         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7438
7439 2003-03-07  Angus Leeming  <leeming@lyx.org>
7440
7441         * commandtags.h:
7442         * LyXAction.C (init):
7443         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7444
7445         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7446
7447         * commandtags.h:
7448         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7449
7450         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7451         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7452
7453 2003-03-07  Angus Leeming  <leeming@lyx.org>
7454
7455         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7456         remove "ert".
7457
7458 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * ParagraphList.C (front): new function
7461         (back): implement
7462
7463 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7464
7465         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7466         and top_row_offset_. removed var first_y.
7467         * text.C (top_y):
7468         * text2.C (LyXText, removeRow):
7469         * text3.C:
7470         * BufferView_pimpl.C:
7471         use these methods instead of using first_y
7472
7473 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * text2.C (pasteSelection): adjust for checkPastePossible
7476
7477         * CutAndPaste.C: remove Paragraph * buf and replace with
7478         ParagraphList paragraphs.
7479         (DeleteBuffer): delete
7480         (cutSelection): change the tc type to textclass_type
7481         (copySelection): change the tc type to textclass_type
7482         (copySelection): adjust for ParagraphList
7483         (pasteSelection): change the tc type to textclass_type
7484         (pasteSelection): adjust for Paragraphlist
7485         (nrOfParagraphs): simplify for ParagraphList
7486         (checkPastePossible): simplify for ParagraphList
7487         (checkPastePossible): remove unused arg
7488
7489         * ParagraphList.C (insert): handle the case where there are no
7490         paragraphs yet.
7491
7492         * CutAndPaste.h: make CutAndPaste a namespace.
7493
7494         * text3.C (dispatch): adjust
7495
7496         * text.C (breakParagraph): add a ParagraphList as arg
7497
7498         * paragraph_funcs.C (breakParagraph): change to take a
7499         BufferParams and a ParagraphList as args.
7500         (breakParagraphConservative): ditto
7501         (mergeParagraph): ditto
7502         (TeXDeeper): add a ParagraphList arg
7503         (TeXEnvironment): ditto
7504         (TeXOnePar): ditto
7505
7506         * buffer.C (readLyXformat2): adjust
7507         (insertStringAsLines): adjust
7508         (latexParagraphs): adjust
7509
7510         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7511         (cutSelection): adjust
7512         (pasteSelection): adjust
7513
7514         * BufferView_pimpl.C (insertInset): adjust
7515
7516 2003-03-05  Angus Leeming  <leeming@lyx.org>
7517
7518         * commandtags.h:
7519         * LyXAction.C (init):
7520         * BufferView_pimpl.C (dispatch):
7521         * lyxfunc.C (getStatus):
7522         remove LFUN_CHILD_INSERT.
7523
7524         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7525
7526 2003-03-05  Angus Leeming  <leeming@lyx.org>
7527
7528         * commandtags.h:
7529         * LyXAction.C (init):
7530         * src/factory.C (createInset):
7531         * lyxfunc.C (getStatus):
7532         * text3.C (dispatch):
7533         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7534
7535         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7536
7537 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * ParagraphList.C (insert): handle insert right before end()
7540         (erase): fix cases where it can be first or last paragraph.
7541
7542 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7545         Paragraph::next and Paragraph::previous
7546         (TeXOnePar): ditto
7547
7548         * text.C (breakParagraph): adjust
7549
7550         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7551         BufferParams& as arg.
7552         (breakParagraph): use ParagraphList::insert
7553         (breakParagraphConservative): take a Buffer* instead of a
7554         BufferParams& as arg.
7555         (breakParagraphConservative): use ParagraphList::insert.
7556
7557         * buffer.C (insertStringAsLines): un-const it
7558         (insertStringAsLines): adjust
7559
7560         * ParagraphList.C (insert): new function
7561
7562         * CutAndPaste.C (pasteSelection): adjust
7563
7564         * text.C (backspace): adjust
7565
7566         * tabular.C (SetMultiColumn): adjust
7567
7568         * CutAndPaste.C (cutSelection): adjust
7569         (pasteSelection): adjust
7570
7571         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7572         Buffer const * as arg
7573
7574         * ParagraphList.C (erase): new function
7575         * paragraph_funcs.C (mergeParagraph): use it
7576         (mergeParagraph): make it take a Buffer* instead of a
7577         BufferParams* as arg
7578
7579         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7580         as arg
7581         (breakParagraphConservative): ditto
7582
7583         * paragraph.h: remove the breakParagraph friend
7584
7585         * paragraph.C (eraseIntern): new function
7586         (setChange): new function
7587
7588         * paragraph_funcs.C (mergeParagraph): make it take a
7589         ParagraphList::iterator instead of a Paragraph *, adjust
7590         accordingly.
7591
7592         * paragraph.h: move an #endif so that the change tracking stuff
7593         also works in the NO_NEXT case.
7594
7595 2003-03-04  Angus Leeming  <leeming@lyx.org>
7596
7597         * commandtags.h:
7598         * LyXAction.C: new LFUN_INSET_MODIFY.
7599
7600         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7601         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7602
7603 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * several files: ws changes only
7606
7607         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7608         (TeXEnvironment): ditto
7609         (TeXDeeper): ditto
7610
7611         * buffer.C (makeLaTeXFile): adjust
7612         (latexParagraphs): make it take ParagraphList::iterator as args
7613
7614 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * buffer.C (latexParagraphs): adjust
7617
7618         * paragraph.C (TeXOnePar): move function...
7619         (optArgInset): move function...
7620         (TeXEnvironment): move function...
7621         * paragraph_pimpl.C (TeXDeeper): move function...
7622         * paragraph_funcs.C: ...here
7623
7624         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7625
7626 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * buffer.C (readInset): remove compability code for old Figure and
7629         InsetInfo insets
7630
7631 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * buffer.C: ws changes
7634         (readInset):
7635
7636         * BufferView_pimpl.C: ditto
7637         * author.C: ditto
7638         * buffer.h: ditto
7639         * bufferlist.h: ditto
7640         * changes.h: ditto
7641         * lyxfunc.C: ditto
7642
7643 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7644
7645         * converter.[Ch]: split into itself +
7646         * graph.[Ch]
7647         * format.[Ch]
7648         * Makefile.am: += graph.[Ch] + format.[Ch]
7649         * MenuBackend.C
7650         * buffer.C
7651         * exporter.C
7652         * importer.C
7653         * lyx_main.C
7654         * lyxfunc.C
7655         * lyxrc.C: added #include "format.h"
7656
7657 2003-02-27  Angus Leeming  <leeming@lyx.org>
7658
7659         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7660           a label.
7661
7662         * factory.C (createInset): add "label" to the factory.
7663
7664         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7665           string and do no more.
7666
7667 2003-02-27  Angus Leeming  <leeming@lyx.org>
7668
7669         * commandtags.h:
7670         * LyXAction.C (init):
7671         * factory.C (createInset):
7672         * BufferView_pimpl.C (dispatch):
7673           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7674
7675         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7676
7677         * lyxfunc.C (dispatch):
7678         * text3.C (dispatch): pass name to params2string.
7679
7680 2003-02-26  Angus Leeming  <leeming@lyx.org>
7681
7682         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7683           blocks together.
7684           Rearrange the ~includes. Strip out the unnecessary ones.
7685
7686         * factory.C (createInset): reformat.
7687           create new insets for the various LFUN_XYZ_APPLY lfuns.
7688
7689 2003-02-26  John Levon  <levon@movementarian.org>
7690
7691         * lyxrow.h:
7692         * lyxrow.C: add isParStart,isParEnd helpers
7693
7694         * paragraph.h: make isInserted/DeletedText take refs
7695
7696         * paragraph_funcs.h:
7697         * paragraph_funcs.C: remove #if 0'd code
7698
7699         * lyxtext.h:
7700         * text3.C:
7701         * text2.C:
7702         * text.C: use lyxrow helpers above.
7703           Move draw and paint routines to RowPainter.
7704           Make several methods use refs not pointers.
7705           Make backgroundColor() const.
7706           Add markChangeInDraw(), isInInset().
7707           Merge changeRegionCase into changeCase.
7708           Make workWidth() shouldn't-happen code into an Assert.
7709
7710         * rowpainter.h:
7711         * rowpainter.C: new class for painting a row.
7712
7713         * vspace.h:
7714         * vspace.C: make inPixels take a ref
7715
7716 2003-02-26  Angus Leeming  <leeming@lyx.org>
7717
7718         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7719         LFUN_REF_APPLY.
7720
7721 2003-02-25  John Levon  <levon@movementarian.org>
7722
7723         * ispell.C: give the forked command a more accurate name
7724
7725 2003-02-22  John Levon  <levon@movementarian.org>
7726
7727         * toc.h:
7728         * toc.C: make TocItem store an id not a Paragraph *
7729           (bug #913)
7730
7731 2003-02-21  Angus Leeming  <leeming@lyx.org>
7732
7733         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7734           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7735           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7736           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7737           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7738           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7739
7740         * BufferView_pimpl.C (dispatch):
7741         * LyXAction.C (init):
7742         * factory.C (createInset):
7743         * lyxfunc.C (getStatus, dispatch):
7744         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7745
7746 2003-02-21  Angus Leeming  <leeming@lyx.org>
7747
7748         * BufferView_pimpl.C (MenuInsertLyXFile):
7749         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7750         * lyxfunc.C (menuNew, open, doImport):
7751           no longer pass a LyXView & to fileDlg.
7752
7753 2003-02-21  Angus Leeming  <leeming@lyx.org>
7754
7755         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7756         * LyXAction.C: change, BIBKEY to BIBITEM.
7757         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7758         Change InsetBibKey to InsetBibitem.
7759         Change BIBKEY_CODE to BIBITEM_CODE.
7760         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7761         * factory.C: replace insetbib.h with insetbibitem.h.
7762         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7763         * paragraph.C: replace insetbib.h with insetbibitem.h.
7764         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7765         Change bibkey() to bibitem().
7766         * text.C: remove insetbib.h.
7767         * text2.C: replace insetbib.h with insetbibitem.h.
7768         change bibkey() to bibitem().
7769         * text3.C: remove insetbib.h.
7770         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7771
7772 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7773
7774         * lyxrc.C (output): enclose user email in quotes (in case there are
7775         several words)
7776
7777 2003-02-18  John Levon  <levon@movementarian.org>
7778
7779         * buffer.h: add std::
7780
7781 2003-02-17  John Levon  <levon@movementarian.org>
7782
7783         * SpellBase.h:
7784         * ispell.h:
7785         * ispell.C:
7786         * pspell.h:
7787         * pspell.C: reworking. Especially in ispell, a large
7788           number of clean ups and bug fixes.
7789
7790         * lyxfunc.C: fix revert to behave sensibly
7791
7792 2003-02-17 André Pönitz <poenitz@gmx.net>
7793
7794         * LyXAction.C:
7795         * commandtags.h: new LFUN_INSERT_BIBKEY
7796
7797         * layout.h:
7798         * lyxlayout.C:
7799         * buffer.C:
7800         * factory.C:
7801         * text.C:
7802         * text2.C:
7803         * text3.C:
7804         * paragraph.[Ch]:
7805         * paragraph_func.C: remove special bibkey handling
7806
7807 2003-02-17  John Levon  <levon@movementarian.org>
7808
7809         * text.C (Delete): fix case where delete at the end of
7810           the very first paragraph would not merge the pars
7811
7812 2003-02-17  John Levon  <levon@movementarian.org>
7813
7814         * lyxrow.C: fix lastPrintablePos()
7815
7816 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7817
7818         * bufferparams.C (writeLaTeX): add a std:here
7819
7820         * buffer.C: and remove a using directive there
7821
7822 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7823
7824         * buffer.C (makeLaTeXFile): move the code that generates the
7825           preamble...
7826
7827         * bufferparams.C (writeLaTeX): ... in this new method
7828
7829         * LaTeXFeatures.C (getEncodingSet): make const
7830           (getLanguages): make const
7831
7832         * MenuBackend.C (binding): returns the binding associated to this
7833           action
7834           (add): sets the status of each item by calling getStatus. Adds
7835           some intelligence.
7836           (read): add support for OptSubMenu
7837           (expand): remove extra separator at the end of expanded menu
7838
7839 2003-02-15  John Levon  <levon@movementarian.org>
7840
7841         * BufferView.C:
7842         * BufferView_pimpl.C:
7843         * bufferlist.h:
7844         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7845           inset code that had no actual effect. Remove unneeded status
7846           code.
7847
7848 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7849
7850         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7851           in preamble
7852
7853 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7854
7855         * text.C (drawLengthMarker): also draw an arrow marker for
7856           symbolic lengths (medskip...)
7857
7858 2003-02-14  John Levon  <levon@movementarian.org>
7859
7860         * tabular.h:
7861         * tabular.C: better method names
7862
7863 2003-02-14  John Levon  <levon@movementarian.org>
7864
7865         * BufferView_pimpl.C:
7866         * bufferlist.C:
7867         * buffer.C:
7868         * converter.C:
7869         * lyx_cb.C:
7870         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7871           it's a more accurate name. Remove some pointless uses.
7872
7873 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7874
7875         * text2.C (LyXText): change order of initilizers to shut off
7876           warnings
7877
7878 2003-02-14  John Levon  <levon@movementarian.org>
7879
7880         * buffer.C: use ParIterator for getParFromID()
7881
7882         * paragraph.h:
7883         * paragraph.C:
7884         * paragraph_pimpl.h:
7885         * paragraph_pimpl.C: remove unused getParFromID()
7886
7887 2003-02-14  John Levon  <levon@movementarian.org>
7888
7889         * buffer.C: remove some very old #if 0'd parse code
7890
7891 2003-02-13  John Levon  <levon@movementarian.org>
7892
7893         * text.h:
7894         * text.C:
7895         * text2.C: move hfillExpansion(), numberOfSeparators(),
7896           rowLast(), rowLastPrintable(), numberofHfills(),
7897           numberOfLabelHfills() ...
7898
7899         * lyxrow.h:
7900         * lyxrow.C: ... to member functions here.
7901
7902         * paragraph.h:
7903         * paragraph.C:
7904         * lyxtext.h:
7905         * text.C: remove LyXText::beginningOfMainBody(), and call
7906           p->beginningOfMainBody() directly. Move the check for
7907           LABEL_MANUAL into the latter.
7908
7909         * text.h:
7910         * text.C:
7911         * text2.C:
7912         * vspace.C:
7913         * BufferView.h:
7914         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7915
7916         * text.h:
7917         * text.C:
7918         * text2.C:
7919         * text3.C:
7920         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7921           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7922
7923 2003-02-13  John Levon  <levon@movementarian.org>
7924
7925         * CutAndPaste.C: remove debug
7926
7927 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7928
7929         * paragraph.C (asString): remove two unused variables
7930
7931         * lyxtextclass.C (readTitleType):
7932           (Read):
7933           (LyXTextClass): handle new members titletype_ and titlename_
7934
7935         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7936
7937 2003-02-09  John Levon  <levon@movementarian.org>
7938
7939         * buffer.h:
7940         * buffer.C: replace hand-coded list with a map for the dep clean
7941
7942 2003-02-08  John Levon  <levon@movementarian.org>
7943
7944         * LaTeX.C: consolidate code into showRunMessage() helper
7945
7946 2003-02-08  John Levon  <levon@movementarian.org>
7947
7948         * lyxfind.C:
7949         * lyxtext.h:
7950         * text2.C:
7951         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7952           and pass the size in explicitly
7953
7954         * BufferView_pimpl.h:
7955         * BufferView_pimpl.C:
7956         * BufferView.h:
7957         * BufferView.C: add getCurrentChange()
7958
7959         * BufferView_pimpl.h:
7960         * BufferView_pimpl.C: handle change lfuns
7961
7962         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7963           for changes. Mark pasted paragraphs as new.
7964
7965         * support/lyxtime.h:
7966         * support/lyxtime.C:
7967         * DepTable.C: abstract time_t as lyx::time_type
7968
7969         * LColor.h:
7970         * LColor.C: add colours for new text, deleted text, changebars
7971
7972         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7973           package use "usenames" option.
7974
7975         * commandtags.h:
7976         * lyxfunc.C:
7977         * LyXAction.C: add change lfuns
7978
7979         * Makefile.am:
7980         * author.h:
7981         * author.C: author handling
7982
7983         * buffer.h:
7984         * buffer.C: add a per-buffer author list, with first entry as
7985           current author. Handle new .lyx tokens for change tracking. Output
7986           author list to .lyx file. Output dvipost stuff to .tex preamble.
7987           Bump lyx format to 222.
7988
7989         * bufferlist.h:
7990         * bufferlist.C: add setCurrentAuthor() to reset current author details
7991           in all buffers.
7992
7993         * bufferparams.h:
7994         * bufferparams.C: add param for tracking
7995
7996         * bufferview_funcs.C: output change info in minibuffer
7997
7998         * Makefile.am:
7999         * changes.h:
8000         * changes.C: add change-tracking structure
8001
8002         * debug.h:
8003         * debug.C: add CHANGES debug flag
8004
8005         * lyxfind.h:
8006         * lyxfind.C: add code for finding the next change piece
8007
8008         * lyxrc.h:
8009         * lyxrc.C: add user_name and user_email
8010
8011         * lyxrow.h:
8012         * lyxrow.C: add a metric for the top of the text line
8013
8014         * lyxtext.h:
8015         * text.C: implement accept/rejectChange()
8016
8017         * lyxtext.h:
8018         * text.C: paint changebars. Paint new/deleted text in the chosen
8019         colours. Strike through deleted text.
8020
8021         * paragraph.h:
8022         * paragraph.C:
8023         * paragraph_pimpl.h:
8024         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8025           in the current change to the insert functions. Rework erase to
8026           mark text as deleted, adding an eraseIntern() and a range-based
8027           erase(). Implement per-paragraph change lookup and
8028           accept/reject.
8029
8030         * paragraph_funcs.C: Fixup paste for change tracking.
8031
8032         * tabular.C: mark added row/columns as new.
8033
8034         * text.C: fix rowLast() to never return -1. Don't allow
8035           spellchecking of deleted text. Track transpose changes. Don't
8036           allow paragraph break or merge where appropriate.
8037
8038         * text2.C: leave cursor at end of selection after a cut.
8039
8040 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8041
8042         * text.C (getLengthMarkerHeight):
8043         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8044         visible on screen too.
8045
8046 2003-02-07  John Levon  <levon@movementarian.org>
8047
8048         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8049
8050 2003-02-05  Angus Leeming  <leeming@lyx.org>
8051
8052         * lyxserver.C (read_ready): revert my patch of 11 September last year
8053         as it sends PC cpu through the roof. Presumably this means that
8054         the lyxserver will no longer run on an Alpha...
8055
8056 2003-01-30  Angus Leeming  <leeming@lyx.org>
8057
8058         * factory.C (createInset): create an InsetCommandParam of type "index"
8059         and use it to 'do the right thing'.
8060
8061         * text2.C (getStringToIndex): ensure that cursor position is always
8062         reset to the reset_cursor position.
8063
8064 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8065
8066         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8067         disabled.
8068
8069 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8070
8071         * bufferview.C:
8072         * lyxcb.C:
8073         * lyxfunc.C: Output messages with identical spelling, punctuation,
8074         and spaces
8075
8076 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8077
8078         * MenuBackend.C (expandFormats): List only viewable export formats
8079         in "View" menu
8080
8081         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8082         message
8083
8084         * lyxfunc.C (getStatus): Make sure that formats other than
8085         "fax" can also be disabled
8086
8087 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8088
8089         * text3.C (dispatch): put the lfuns that insert insets in 3
8090         groups, and call doInsertInset with appropriate arguments.
8091         (doInsertInset): new function, that creates an inset and inserts
8092         it according to some boolean parameters.
8093
8094 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * buffer.C (readFile): remember to pass on 'par' when calling
8097         readFile recursively.
8098
8099 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8100
8101         * MenuBackend.C (expandFormats): add "..." to import formats.
8102
8103 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8104
8105         * paragraph.C (asString): Remove XForms RTL hacks.
8106
8107 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8108         * buffer.C: fix typo
8109
8110 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * Makefile.am (LIBS): delete var
8113         (lyx_LDADD): add @LIBS@ here instead.
8114
8115 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8116
8117         * Clarify the meaning of "wheel mouse jump"
8118
8119 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8120
8121         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8122         tabular in a float
8123
8124 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8125
8126         * importer.C (Loaders): do not preallocate 3 elements in the
8127         vector, since one ends up with 6 elements otherwise
8128
8129 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8130
8131         * DepTable.C (write): write the file name as last element of the
8132         .dep file (because it may contain spaces)
8133         (read): read info in the right order
8134
8135 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8136
8137         * paragraph_pimpl.C (simpleTeXBlanks):
8138         (simpleTeXSpecialChars):
8139         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8140
8141         * tabular.C (latex): add some missing case statements. Reindent.
8142
8143         * MenuBackend.C (expandToc): remove unused variable.
8144
8145 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8146
8147         * LColor.C:
8148         * LaTeX.C:
8149         * LyXAction.C:
8150         * MenuBackend.C:
8151         * buffer.C:
8152         * exporter.C:
8153         * lyxfunc.C:
8154         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8155         and the like.
8156
8157 2003-01-05  John Levon  <levon@movementarian.org>
8158
8159         * BufferView.h:
8160         * BufferView.C: add getEncoding()
8161
8162         * kbsequence.h:
8163         * kbsequence.C: do not store last keypress
8164
8165         * lyxfunc.h:
8166         * lyxfunc.C: store last keypress here instead. Pass encoding
8167           to getISOEncoded()
8168
8169 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8170
8171         * lyx_main.C (init): remove annoying error message when following
8172         symbolic links (bug #780)
8173
8174 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8175
8176         * text.C (insertChar):
8177         * lyxrc.C (getDescription): remove extra spaces
8178
8179 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8180
8181         * lyxrc.C (getDescription): remove extra spaces
8182
8183 2002-12-20  John Levon  <levon@movementarian.org>
8184
8185         * text3.C: hack fix for page up/down across tall rows
8186
8187 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8188
8189         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8190         not been invoked
8191
8192 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8193
8194         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8195         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8196         thesaurus is not compiled in
8197
8198 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8199
8200         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8201
8202 2002-12-16  Angus Leeming  <leeming@lyx.org>
8203
8204         * lyxrc.[Ch]:
8205         * lyx_main.C (init): remove override_x_deadkeys stuff.
8206
8207 2002-12-12  John Levon  <levon@movementarian.org>
8208
8209         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8210           insert. Only remove shift modifier under strict
8211           circumstances.
8212
8213 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * MenuBackend.C (expandToc): fix crash.
8216
8217 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8218
8219         * MenuBackend.C (expandToc): gettext on float names.
8220
8221 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8222
8223         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8224         implement bool empty() [bug 490]
8225
8226 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8229
8230 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8231
8232         * several files: ws changes
8233
8234 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * text2.C (setCounter): clean up a bit, use boost.format.
8237         (updateCounters): initialize par upon declaration.
8238
8239         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8240         if the layout exists. We do not just store the layout any more.
8241         (SwitchLayoutsBetweenClasses): use boost.format
8242
8243 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8244
8245         * converter.C (convert): if from and to files are the same, use a
8246         temporary files as intermediary
8247
8248 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8249
8250         * commandtags.h:
8251         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8252
8253 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8254
8255         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8256
8257 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * tabular.C (asciiPrintCell): use string(size, char) instead of
8260         explicit loop.
8261
8262         * sgml.C (openTag): fix order of arguments to string constructor
8263         (closeTag): ditto
8264
8265         * lyxfunc.C (dispatch): use boost.format
8266
8267         * lots of files: change "c" -> 'c'
8268
8269 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8270
8271         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8272
8273 2002-11-25  Angus Leeming  <leeming@lyx.org>
8274
8275         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8276
8277         * lyx_main.C (init): compile fix.
8278
8279 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8280
8281         * lyx_cb.C (start): boost.formatify
8282         do not include <iostream>
8283
8284         * lengthcommon.C: ws only
8285
8286         * boost-inst.C,BoostFormat.h: add more explict instantations
8287
8288 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * lots of files: handle USE_BOOST_FORMAT
8291
8292 2002-11-21  John Levon  <levon@movementarian.org>
8293
8294         * pspell.C: fix compile
8295
8296 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8297
8298         * lyxfunc.C (dispatch): use boost::format
8299         (open): ditto
8300         (doImport): ditto
8301
8302         * lyxfont.C (stateText): use boost::format
8303
8304         * lyx_main.C (LyX): use boost::format
8305         (init): ditto
8306         (queryUserLyXDir): ditto
8307         (readRcFile): ditto
8308         (parse_dbg): ditto
8309         (typedef boost::function): use the recommened syntax.
8310
8311         * importer.C (Import): use boost::format
8312
8313         * debug.C (showLevel): use boost::format
8314
8315         * converter.C (view): use boost::format
8316         (convert): ditto
8317         (move): ditto
8318         (scanLog): ditto
8319
8320         * bufferview_funcs.C (currentState): use boost::format
8321
8322         * bufferlist.C (emergencyWrite): use boost::format
8323
8324         * buffer.C (readLyXformat2): use boost::format
8325         (parseSingleLyXformat2Token): ditto
8326
8327         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8328
8329         * LaTeX.C (run): use boost::format
8330
8331         * Chktex.C (scanLogFile): use boost::format
8332
8333         * BufferView_pimpl.C (savePosition): use boost::format
8334         (restorePosition): ditto
8335         (MenuInsertLyXFile): ditto
8336
8337         * BoostFormat.h: help file for explicit instation.
8338
8339 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8340
8341         * tabular.C (latex): Support for block alignment in fixed width
8342         columns.
8343
8344 2002-11-17  John Levon  <levon@movementarian.org>
8345
8346         * BufferView_pimpl.C:
8347         * lyx_cb.C:
8348         * lyxfunc.C: split filedialog into open/save
8349
8350 2002-11-08  Juergen Vigna  <jug@sad.it>
8351
8352         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8353         by my last patch (hopefully).
8354
8355 2002-11-08  John Levon  <levon@movementarian.org>
8356
8357         * iterators.h:
8358         * iterators.C:
8359         * buffer.h:
8360         * buffer.C:
8361         * paragraph.h:
8362         * paragraph.C:
8363         * toc.h:
8364         * toc.C: ParConstIterator, and use it (from Lars)
8365
8366 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8367
8368         * lyxtextclass.[Ch]: revise and add doxygen comments
8369
8370 2002-11-07  John Levon  <levon@movementarian.org>
8371
8372         * text.C: fix progress value for spellchecker
8373
8374         * toc.C: fix navigate menu for insetwrap inside minipage
8375
8376         * paragraph_funcs.C: added FIXME for suspect code
8377
8378 2002-11-07  John Levon  <levon@movementarian.org>
8379
8380         * BufferView_pimpl.C: fix redrawing of insets
8381           on buffer switch
8382
8383 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8384
8385         * text2.C (updateCounters): fix bug 668
8386
8387 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8388
8389         * text3.C (dispatch): Do not make the buffer dirty when moving the
8390         cursor.
8391
8392 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * vc-backend.C: STRCONV
8395         (scanMaster): ditto
8396
8397         * text2.C (setCounter): STRCONV
8398
8399         * paragraph.C (asString): STRCONV
8400
8401         * lyxlength.C (asString): STRCONV
8402         (asLatexString): ditto
8403
8404         * lyxgluelength.C (asString): STRCONV
8405         (asLatexString): ditto
8406
8407         * lyxfunc.C (dispatch): STRCONV
8408         (open): ditto
8409
8410         * lyxfont.C (stateText): STRCONV
8411
8412         * importer.C (Import): STRCONV
8413
8414         * counters.C (labelItem): STRCONV
8415         (numberLabel): ditto
8416         (numberLabel): remove unused ostringstream o
8417
8418         * chset.C: STRCONV
8419         (loadFile): ditto
8420
8421         * bufferview_funcs.C (currentState): STRCONV
8422
8423         * buffer.C (readFile): STRCONV
8424         (asciiParagraph): ditto
8425         (makeLaTeXFile): ditto
8426
8427         * Spacing.C (writeEnvirBegin): STRCONV
8428
8429         * LaTeXFeatures.C (getLanguages): STRCONV
8430         (getPackages): ditto
8431         (getMacros): ditto
8432         (getBabelOptions): ditto
8433         (getTClassPreamble): ditto
8434         (getLyXSGMLEntities): ditto
8435         (getIncludedFiles): ditto
8436
8437         * LaTeX.C: STRCONV
8438         (run): ditto
8439         (scanAuxFile): ditto
8440         (deplog): ditto
8441
8442         * LString.h: add the STRCONV macros
8443
8444         * BufferView_pimpl.C (savePosition): STRCONV
8445         (restorePosition): ditto
8446         (MenuInsertLyXFile): ditto
8447
8448         * vc-backend.C (scanMaster): change from submatch[...] to
8449         submatch.str(...)
8450
8451         * funcrequest.C: include config.h
8452
8453         * factory.C: include config.h
8454
8455         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8456
8457         * box.C: include config.h
8458
8459         * LaTeX.C (scanAuxFile): change from submatch[...] to
8460         submatch.str(...)
8461         (deplog): ditto
8462
8463 2002-10-25  Angus Leeming  <leeming@lyx.org>
8464
8465         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8466
8467         * ispell.[Ch] (setError): new method.
8468         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8469         Use setError() insetead of goto END.
8470
8471         * lyx_cb.C (AutoSave): move out child process into new class
8472         AutoSaveBuffer.
8473
8474 2002-10-30  John Levon  <levon@movementarian.org>
8475
8476         * text3.C: make start appendix undoable
8477
8478 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8479
8480         * lyxlength.C (inPixels): Fix returned value.
8481
8482         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8483         environment.
8484
8485 2002-10-24  Angus Leeming  <leeming@lyx.org>
8486
8487         * lyxgluelength.h: no need to forward declare BufferParams
8488         or BufferView, so don't.
8489
8490 2002-10-21  John Levon  <levon@movementarian.org>
8491
8492         * BufferView.C: menuUndo ->undo, redo
8493
8494         * BufferView.h: document, remove dead, make some methods private
8495
8496         * paragraph_funcs.h:
8497         * paragraph_funcs.C:
8498         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8499
8500         * buffer.h:
8501         * buffer.C:
8502         * sgml.h:
8503         * sgml.C: move sgml open/close tag into sgml.C
8504
8505         * bufferview_funcs.h: unused prototype
8506
8507         * lyxfunc.h:
8508         * lyxfunc.C: remove unused
8509
8510         * lyxtext.h:
8511         * text.C: remove unused
8512
8513 2002-10-21  John Levon  <levon@movementarian.org>
8514
8515         * BufferView.h:
8516         * BufferView.C:
8517         * BufferView_pimpl.h:
8518         * BufferView_pimpl.C: fix mouse wheel handling based on
8519           patch from Darren Freeman
8520
8521 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8522
8523         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8524
8525 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8526
8527         * lyxlength.C (inPixels): Fix hanfling of negative length.
8528         Fix LyXLength::MU case.
8529
8530 2002-10-16  John Levon  <levon@movementarian.org>
8531
8532         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8533
8534 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8535
8536         * converter.C (view): add support for $$i (file name) and $$p
8537         (file path) for the viewer command. If $$i is not specified, then
8538         it is appended to the command (for compatibility with old syntax)
8539
8540 2002-10-14  Juergen Vigna  <jug@sad.it>
8541
8542         * undo_funcs.C (textHandleUndo): alter the order in which the
8543         new undopar is added to the LyXText, as we have to set first
8544         the right prev/next and then add it as otherwise the rebuild of
8545         LyXText is not correct. Also reset the cursor to the right paragraph,
8546         with this IMO we could remove the hack in "redoParagraphs()".
8547
8548 2002-10-09  Angus Leeming  <leeming@lyx.org>
8549
8550         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8551         to turn off an optimisation if a new inset is to be inserted.
8552
8553 2002-10-11 André Pönitz <poenitz@gmx.net>
8554
8555         * lyxtext.h: make some functions public to allow access
8556         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8557
8558 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8559
8560         * text3.C (dispatch): when changing layout, avoid an infinite loop
8561         [bug #652]
8562
8563 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8564
8565         * lyxrc.C (read): treat a viewer or converter command of "none" as
8566         if it were empty.
8567
8568         * MenuBackend.C (expandFormats): for an update, also allow the
8569         formats that are not viewable
8570
8571         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8572         script if it is newer than the lyxrc.defaults in user directory
8573
8574 2002-10-07 André Pönitz <poenitz@gmx.net>
8575
8576         * text.C: Vitaly Lipatov's small i18n fix
8577
8578 2002-09-25  Angus Leeming  <leeming@lyx.org>
8579
8580         * ispell.h: doxygen fix.
8581
8582 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8583
8584         * buffer.h (readFile): Add a new argument to the method, to allow
8585         reading of old-format templates.
8586
8587 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8588
8589         * toc.C (getTocList): Get TOC from InsetWrap.
8590
8591 2002-09-16  John Levon  <levon@movementarian.org>
8592
8593         * lyxfunc.C: check tabular for cut/copy too
8594
8595 2002-09-12  John Levon  <levon@movementarian.org>
8596
8597         * LyXAction.C: tidy
8598
8599         * factory.h:
8600         * factory.C: add header
8601
8602         * paragraph_funcs.h:
8603         * paragraph_funcs.C: cleanup
8604
8605 2002-09-11  John Levon  <levon@movementarian.org>
8606
8607         * PrinterParams.h: odd/even default to true
8608
8609 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8610
8611         * PrinterParams.h: update printer parameters for new xforms dialog
8612
8613 2002-09-11  Angus Leeming  <leeming@lyx.org>
8614
8615         * lyxserver.C (read_ready): re-write to make it more transparent
8616         and to make it work in coherent fashion under Tru64 Unix.
8617
8618 2002-09-11  André Pönitz <poenitz@gmx.net>
8619
8620         * commandtags.h:
8621         * LyXAction.C:
8622         * text3.C: implement LFUN_WORDSEL
8623
8624 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8625
8626         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8627         make floatlist_ a boost::shared_ptr<FloatList>
8628
8629         * lyxtextclass.C: include FloatList.h
8630         (LyXTextClass): initialize floatlist_
8631         (TextClassTags): add TC_NOFLOAT
8632         (Read): match "nofloat" to TC_NOFLOAT and use it.
8633         (readFloat): modify call to floatlist_
8634         (floats): ditto
8635         (floats): ditto
8636
8637         * FloatList.[Ch] (FloatList): remove commented out float
8638         initialization.
8639         (erase): new function
8640
8641 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8642
8643         * MenuBackend.C (expandToc): fix crash when there is no document
8644         open
8645
8646 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8647
8648         * many files: Add insetwrap.
8649
8650 2002-09-09  John Levon  <levon@movementarian.org>
8651
8652         * text2.C: remove confusing and awkward depth wraparound
8653
8654 2002-09-09  John Levon  <levon@movementarian.org>
8655
8656         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8657
8658         * buffer.h:
8659         * buffer.C: remove getIncludeonlyList()
8660
8661         * paragraph.C:
8662         * lyxfunc.C: remove headers
8663
8664 2002-09-09  Juergen Vigna  <jug@sad.it>
8665
8666         * text.C (getColumnNearX): fix form Michael this is most
8667         probably a cut&paste bug.
8668
8669 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8672
8673         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8674         references, ws changes.
8675
8676         * text2.C (init): update counters after init
8677         (insertParagraph): no need to set counter on idividual paragraphs.
8678         (setCounter): access the counters object in the textclass object
8679         on in the buffer object.
8680         (updateCounters): ditto
8681
8682         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8683         shared_ptr<Counters> to avoid loading counters.h in all
8684         compilation units.
8685         (LyXTextClass): initialize ctrs_
8686         (TextClassTags): add TC_COUNTER, and ...
8687         (Read): use it here.
8688         (CounterTags): new tags
8689         (readCounter): new function
8690         (counters): new funtion
8691         (defaultLayoutName): return a const reference
8692
8693         * counters.C (Counters): remove contructor
8694         (newCounter): remove a couple of unneeded statements.
8695         (newCounter): simplify a bit.
8696         (numberLabel): some small formatting changes.
8697
8698         * buffer.[Ch]: remove all traces of counters, move the Counters
8699         object to the LyXTextClass.
8700
8701 2002-09-06  Alain Castera  <castera@in2p3.fr>
8702
8703         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8704         package to set the horizontal alignment on fixed width columns.
8705
8706         * lyx_sty.C:
8707         * lyx_sty.h: added tabularnewline macro def.
8708
8709         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8710
8711 2002-09-06  John Levon  <levon@movementarian.org>
8712
8713         * LyXAction.C: tooltips for sub/superscript
8714
8715         * MenuBackend.C: a bit more verbose
8716
8717         * lyxfunc.C: tiny clean
8718
8719         * undo_funcs.C: document undo_frozen
8720
8721 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8722
8723         * counters.C (Counters): add missing algorithm counter.
8724
8725         * text2.C (setCounter): lookup the counter with layouts latexname
8726         instead of by section number.
8727         (setCounter): use a hackish way to lookup the correct enum
8728         counter.
8729         a float name->type change
8730         reset enum couners with counter name directly instead of depth value.
8731
8732         * counters.C (Counters): remove the push_backs, change to use the
8733         float type not the float name.
8734         (labelItem): remove unused string, float name->type change
8735
8736         * counters.h: don't include vector, loose the enums and sects vectors
8737
8738 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8739
8740         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8741         (Read): add float->TC_FLOAT to textclassTags
8742         (Read): and handle it in the switch
8743         (readFloat): new function
8744
8745         * FloatList.C (FloatList): comment out the hardcoded float
8746         definitions.
8747
8748         * lyxlayout.h: ws change.
8749
8750 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8751
8752         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8753
8754 2002-09-03  Angus Leeming  <leeming@lyx.org>
8755
8756         * BufferView_pimpl.h: qualified name is not allowed in member
8757         declaration: WorkArea & Pimpl::workarea() const;
8758
8759         * factory.C: added using std::endl directive.
8760
8761         * text3.C: added using std::find and std::vector directives.
8762
8763 2002-08-29  André Pönitz <poenitz@gmx.net>
8764
8765         * lyxtext.h:
8766         * text2.C: remove unused member number_of_rows
8767
8768         * Makefile.am:
8769         * BufferView2.C: remove file, move contents to...
8770         * BufferView.C: ... here
8771
8772         * BufferView_pimpl.C:
8773         * factory.C: move more inset creation to factory
8774
8775         * vspace.C: avoid direct usage of LyXText, ws changes
8776
8777         * BufferView.[Ch]:
8778                 don't provide direct access to WorkArea, use two simple
8779                 acessors haveSelction() and workHeight() instead
8780
8781
8782 2002-08-29  John Levon  <levon@movementarian.org>
8783
8784         * BufferView_pimpl.C (dispatch): do not continue when
8785           no buffer
8786
8787 2002-08-28  André Pönitz <poenitz@gmx.net>
8788
8789         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8790
8791         * BufferView.h:
8792         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8793
8794 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8795
8796         * buffer.C: increment LYX_FORMAT to 221
8797
8798         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8799         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8800
8801         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8802
8803         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8804
8805 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8806
8807         * factory.C (createInset): use LyXTextClass::floats
8808
8809         * MenuBackend.C (expandFloatListInsert):
8810         (expandFloatInsert):
8811         (expandToc):
8812
8813         * text2.C (setCounter):
8814
8815         * LaTeXFeatures.C (useFloat):
8816         (getFloatDefinitions):
8817
8818         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8819
8820         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8821         floatlist_, with accessor floats().
8822
8823         * FloatList.h: remove global FloatList
8824
8825 2002-08-26  André Pönitz <poenitz@gmx.net>
8826
8827         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8828
8829         * BufferView.h:
8830         * BufferView2.C:
8831         * BufferView_pimpl.C:
8832         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8833
8834 2002-08-25  John Levon  <levon@movementarian.org>
8835
8836         * LyXAction.C: fix margin note description
8837
8838 2002-08-24  John Levon  <levon@movementarian.org>
8839
8840         * buffer.C:
8841         * bufferlist.C:
8842         * bufferview_funcs.C:
8843         * lyxfont.C:
8844         * undo_funcs.C: cleanups
8845
8846         * lyxfunc.C: disable CUT/COPY when no selection
8847
8848 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8849
8850         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8851         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8852
8853         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8854         Add backward compatibility to "mono", "gray" and "no".
8855
8856 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8857
8858         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8859         (and file_format >= 200).
8860
8861 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8864
8865 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8866
8867         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8868
8869 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8870
8871         * BufferView_pimpl.C:
8872         * LyXAction.C:
8873         * buffer.C:
8874         * commandtags.h:
8875         * lyxfunc.C:
8876         * paragraph.[Ch]:
8877         * text2.C:
8878         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8879         inset and code to make it  work with the paragraph code. The inset
8880         can be anywhere in the paragraph, but will only do the expected
8881         thing in LaTeX if the layout file contains the parameter line
8882                         OptionalArgs    1
8883         (or more generally, a nonzero value) for that layout.
8884
8885 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * paragraph.h: remove the declaration of undefined counters class
8888         function.
8889
8890 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8891
8892         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8893         Dr. Richard Hawkins.
8894
8895 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8896
8897         * paragraph_funcs.h: remove some unneeded includes
8898
8899         * text.C (backspace): pasteParagraph now in global scipe
8900
8901         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8902         (pasteSelection): ditto
8903
8904         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8905         * paragraph_funcs.C (pasteParagraph): ... here
8906
8907 2002-08-20  André Pönitz <poenitz@gmx.net>
8908
8909         * commandtags.h: new LFUNs for swapping/copying table row/colums
8910
8911         * LyXAction.C:
8912         * lyxfunc.C: support for new lfuns
8913
8914 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8915
8916         * tabular.C:
8917         * buffer.[Ch]: remove NO_COMPABILITY stuff
8918
8919 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8920
8921         * boost.C (throw_exception): new file, with helper function for
8922         boost compiled without exceptions.
8923
8924         * paragraph.h:
8925         * lyxlength.C:
8926         * buffer.C:
8927         * ParameterStruct.h:
8928         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8929
8930         * bufferlist.C (emergencyWriteAll): use boost bind
8931
8932         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8933
8934         * text.C: include paragraph_funcs.h
8935         (breakParagraph): breakParagraph is now in global scope
8936
8937         * paragraph_funcs.[Ch]: new files
8938
8939         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8940         global scope
8941
8942         * buffer.C: include paragraph_funcs.h
8943         (insertStringAsLines): breakParagraph is now in global scope
8944
8945         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8946         paragraph_funcs.C
8947
8948         * CutAndPaste.C: include paragraph_funcs.h
8949         (cutSelection): breakParagraphConservative is now in global scope
8950         (pasteSelection): ditto
8951
8952         * buffer.h: declare oprator== and operator!= for
8953         Buffer::inset_iterator
8954
8955         * bufferlist.C (emergencyWrite): don't use fmt(...)
8956
8957         * text3.C: add using std::endl
8958
8959         * BufferView.C (moveCursorUpdate): remove default arg
8960
8961 2002-08-20  André Pönitz <poenitz@gmx.net>
8962
8963         * buffer.[Ch]: move inline functions to .C
8964
8965         * BufferView2.C:
8966         * BufferView_pimpl.C:
8967         * text.C:
8968         * buffer.[Ch]: use improved inset_iterator
8969
8970         * buffer.C:
8971         * paragraph.[Ch]: write one paragraph at a time
8972
8973 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8974
8975         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8976         style if style is not specified.
8977
8978 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8979
8980         * text2.C (setCounter): when searching for right label for a
8981         caption, make sure to recurse to parent insets (so that a caption
8982         in a minipage in a figure float works) (bug #568)
8983
8984 2002-08-20  André Pönitz <poenitz@gmx.net>
8985
8986         * text3.C: new file for LyXText::dispatch() and helpers
8987
8988         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8989
8990         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8991
8992 2002-08-19  André Pönitz <poenitz@gmx.net>
8993
8994         * lyxtext.h:
8995         * text.C: new LyXText::dispatch()
8996
8997         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8998
8999 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9000
9001         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9002
9003         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9004         Hebrew text.
9005
9006 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9007
9008         * Makefile.am: use $(variables) instead of @substitutions@
9009
9010 2002-08-15  André Pönitz <poenitz@gmx.net>
9011
9012         * lyxfunc.C:
9013         * BufferView_pimpl.C: streamlining mathed <-> outer world
9014         interaction
9015
9016         * commandtags.h:
9017         * LyXAction.C: remove unused LFUN_MATH
9018
9019 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9020
9021         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9022
9023 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9024
9025         * paragraph.C (Paragraph): reformat a bit
9026         (cutIntoMinibuffer): use builtin InsetList function instad of
9027         doing it manually.
9028         (getInset): ditto
9029
9030         * buffer.C: include boost/bind.hpp, add using std::for_each
9031         (writeFileAscii): use ParagraphList iterators
9032         (validate): use for_each for validate traversal of paragraphs
9033         (getBibkeyList): use ParagraphList iterators
9034         (resizeInsets): use for_each to resizeInsetsLyXText for all
9035         paragraphs.
9036         (getParFromID): use ParagraphList iterators
9037
9038         * BufferView2.C (lockInset): use paragraph list and iterators
9039
9040 2002-08-14  John Levon  <levon@movementarian.org>
9041
9042         * lyxserver.C: remove spurious xforms include
9043
9044 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9045
9046         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9047
9048 2002-08-13  André Pönitz <poenitz@gmx.net>
9049
9050         * LyXAction.[Ch]:
9051         * lyxfunc.C: further cleaning
9052
9053 2002-08-13  André Pönitz <poenitz@gmx.net>
9054
9055         * funcrequest.h: new constructor
9056
9057         * funcrequest.C: move stuff here from .h
9058
9059         * Makefile.am:
9060         * BufferView_pimpl.C:
9061         * LyXAction.C:
9062         * toc.C:
9063         * lyxfunc.C: subsequent changes
9064
9065         * lyxfunc.h: new view() member function
9066
9067         * lyxfunc.C: subsequent changes
9068
9069 2002-08-13  Angus Leeming  <leeming@lyx.org>
9070
9071         * BufferView2.C:
9072         * BufferView_pimpl.C:
9073         * buffer.C:
9074         * converter.C:
9075         * importer.C:
9076         * lyxfunc.C:
9077         * lyxvc.C:
9078         * toc.C:
9079         * vc-backend.C:
9080         changes due to the changed LyXView interface that now returns references
9081         to member variables not pointers.
9082
9083 2002-08-13  Angus Leeming  <leeming@lyx.org>
9084
9085         * WordLangTuple (word, lang_code): return references to strings,
9086         not strings.
9087
9088         * BufferView.h:
9089         * SpellBase.h:
9090         * lyxtext.h: forward-declare WordLangTuple.
9091
9092         * BufferView2.C:
9093         * ispell.C:
9094         * pspell.C:
9095         * text.C: #include "WordLangTuple.h".
9096
9097         * lyxtext.h:
9098         * text.C: (selectNextWordToSpellcheck): constify return type.
9099
9100 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9101
9102         * buffer.C:
9103         * buffer.h:
9104         * lyxtext.h:
9105         * paragraph.C:
9106         * paragraph_pimpl.h:
9107         * text.C:
9108         * text2.C:
9109         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9110         suggested by Angus.
9111         Made updateCounter always count from start of buffer, and removed
9112         second argument (par).
9113         Reverted floats number display to '#'. Perhaps I'll try again when the
9114         code base is sanitized a bit.
9115
9116 2002-08-12  Angus Leeming  <leeming@lyx.org>
9117
9118         * buffer.[Ch] (getLabelList): constify.
9119
9120 2002-08-07  André Pönitz <poenitz@gmx.net>
9121
9122         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9123
9124         * funcrequest.h: extension to keep mouse (x,y) position
9125
9126 2002-08-12  Juergen Vigna  <jug@sad.it>
9127
9128         * BufferView2.C (insertErrors): forbid undo when inserting error
9129         insets.
9130
9131         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9132
9133 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9134
9135         * ParagraphList.[Ch]: new files
9136
9137         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9138
9139         * BufferView2.C (lockInset): ParagraphList changes
9140         * toc.C: ditto
9141         * text2.C: ditto
9142         * bufferlist.C: ditto
9143         * buffer.h: ditto
9144         * buffer.C: ditto
9145
9146 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9147
9148         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9149         unused class variable counter_,
9150
9151         * paragraph.[Ch] (getFirstCounter): delete unused function
9152
9153         * counters.C: include LAssert.h
9154         (reset): add a new function with no arg, change other version to
9155         not have def. arg and to not allow empty arg.
9156
9157         * text2.C (setCounter): remove empty arg from call to Counters::reset
9158
9159 2002-08-11  John Levon  <levon@movementarian.org>
9160
9161         * Makefile.am: add WordLangTuple.h
9162
9163 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9166         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9167
9168         * insets/insettext.C: InsetList changes
9169
9170         * graphics/GraphicsSupport.C (operator()): InsetList changes
9171
9172         * toc.C (getTocList): InsetList changes
9173
9174         * paragraph_pimpl.[Ch]: InsetList changes
9175
9176         * paragraph.[Ch]: InsetList changes
9177
9178         * buffer.C (inset_iterator): InsetList changes
9179         (setParagraph): ditto
9180         * buffer.h (inset_iterator): ditto
9181         * iterators.C (operator++): ditto
9182         * iterators.h: ditto
9183
9184         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9185
9186         * InsetList.[Ch]: new files, most InsetList handling moved out of
9187         paragraph.C.
9188
9189         * BufferView2.C (removeAutoInsets): InsetList changes
9190         (lockInset): ditto
9191         (ChangeInsets): ditto
9192
9193 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9194
9195         * paragraph_pimpl.h (empty): new function
9196
9197         * paragraph.[Ch] (empty): new function
9198
9199         * other files: use the new Paragraph::empty function
9200
9201 2002-08-09  John Levon  <levon@movementarian.org>
9202
9203         * lyxtext.h: remove unused refresh_height
9204
9205 2002-08-09  John Levon  <levon@movementarian.org>
9206
9207         * Makefile.am:
9208         * sgml.h:
9209         * sgml.C:
9210         * buffer.C:
9211         * paragraph.h:
9212         * paragraph.C: move sgml char escaping out of paragraph
9213
9214         * paragraph.h:
9215         * paragraph.C: remove id setter
9216
9217         * buffer.C:
9218         * paragraph.C:
9219         * paragraph_pimpl.C: remove dead tex_code_break_column
9220
9221         * bufferview_funcs.C: small cleanup
9222
9223         * lyxfunc.C: remove dead proto
9224
9225         * lyxtext.h: make some stuff private. Remove some dead stuff.
9226
9227         * lyxgluelength.C: make as[LyX]String() readable
9228
9229 2002-08-08  John Levon  <levon@movementarian.org>
9230
9231         * LyXAction.h:
9232         * LyXAction.C:
9233         * MenuBackend.C:
9234         * ToolbarDefaults.C:
9235         * lyxfunc.C:
9236         * lyxrc.C:
9237         * toc.C: lyxaction cleanup
9238
9239 2002-08-08  John Levon  <levon@movementarian.org>
9240
9241         * BufferView2.C: small cleanup
9242
9243         * lyxfind.h:
9244         * lyxfind.C: move unnecessary header into the .C
9245
9246 2002-08-08  John Levon  <levon@movementarian.org>
9247
9248         * funcrequest.h: just tedious nonsense
9249
9250         * lyx_main.h:
9251         * lyx_main.C: cleanups
9252
9253         * buffer.C:
9254         * vspace.C: remove dead header lyx_main.h
9255
9256 2002-08-07  Angus Leeming  <leeming@lyx.org>
9257
9258         * Paragraph.[Ch]:
9259         * paragraph_pimpl.h:
9260         Forward declare class Counters in paragraph.h by moving the ctrs member
9261         variable into Paragraph::Pimpl.
9262         (counters): new method, returning a reference to pimpl_->ctrs.
9263
9264         * text2.C: ensuing changes.
9265
9266 2002-08-07  John Levon  <levon@movementarian.org>
9267
9268         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9269
9270         * BufferView_pimpl.C: announce X selection on double/triple
9271           click
9272
9273         * lyx_main.C: use correct bool in batch dispatch
9274
9275         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9276
9277 2002-08-07  André Pönitz <poenitz@gmx.net>
9278
9279         * funcrequest.h: new class to wrap a kb_action and its argument
9280
9281         * BufferView.[Ch]:
9282         * BufferView_pimpl[Ch]:
9283         * LaTeX.C:
9284         * LyXAction.[Ch]:
9285         * lyxfunc.[Ch]:
9286         * lyxrc.C: subsequent changes
9287
9288
9289 2002-08-07  John Levon  <levon@movementarian.org>
9290
9291         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9292           document options change.
9293
9294 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9295
9296         * counters.[Ch]
9297         * text2.C
9298         * paragraph.[Ch]
9299         * makefile.am: move counters functionality over from
9300         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9301
9302 2002-08-06  John Levon  <levon@movementarian.org>
9303
9304         * WordLangTuple.h: new file for word + language code tuple
9305
9306         * SpellBase.h:
9307         * pspell.h:
9308         * pspell.C:
9309         * ispell.h:
9310         * ispell.C:
9311         * lyxtext.h:
9312         * text.C:
9313         * text2.C:
9314         * BufferView.h:
9315         * BufferView2.C: use WordLangTuple
9316
9317         * layout.h:
9318         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9319
9320 2002-08-06  John Levon  <levon@movementarian.org>
9321
9322         * lyx_main.C: fix cmdline batch handling
9323
9324 2002-08-06  André Pönitz <poenitz@gmx.net>
9325
9326         * lyxrc.C: set default for show_banner to true
9327
9328 2002-08-06  John Levon  <levon@movementarian.org>
9329
9330         * pspell.C: fix a crash, and allow new aspell to work
9331
9332 2002-08-06  John Levon  <levon@movementarian.org>
9333
9334         * lyxfunc.C:
9335         * kbmap.C: small cleanup
9336
9337         * vspace.h:
9338         * vspace.C: add const
9339
9340 2002-08-05  John Levon  <levon@movementarian.org>
9341
9342         * LyXAction.C: back to tabular-insert
9343
9344 2002-08-04  John Levon  <levon@movementarian.org>
9345
9346         * BufferView.h:
9347         * BufferView.C: cosmetic change
9348
9349         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9350
9351         * bufferlist.C:
9352         * buffer.h:
9353         * buffer.C:
9354         * lyxcb.h:
9355         * lyxcb.C:
9356         * lyxserver.C:
9357         * lyxvc.C:
9358         * vc-backend.C:
9359         * BufferView2.C: purge all "Lyx" not "LyX" strings
9360
9361         * lyxcursor.h:
9362         * lyxcursor.C: attempt to add some documentation
9363
9364         * lyxfunc.C:
9365         * commandtags.h:
9366         * LyXAction.C:
9367         * ToolbarDefaults.C:
9368         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9369           merge with LFUN_TABULAR_INSERT
9370
9371         * Makefile.am:
9372         * SpellBase.h:
9373         * ispell.h:
9374         * ispell.C:
9375         * pspell.h:
9376         * pspell.C: split up i/pspell implementations into separate
9377           files, many cleanups
9378
9379         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9380
9381         * text2.C: some cleanup
9382
9383         * lyxfunc.C: don't check for isp_command == "none" any more, it
9384           didn't make any sense
9385
9386 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9387
9388         * counters.[Ch]
9389         * text2.C
9390         * paragraph.[Ch]
9391         * makefile.am: move counters functionality over
9392         from text2.C/paragraph.[Ch] to counters.[Ch], and
9393         make proper C++.
9394 2002-08-02  John Levon  <levon@movementarian.org>
9395
9396         * buffer.C: s/lyxconvert/lyx2lyx/
9397
9398 2002-08-02  Angus Leeming  <leeming@lyx.org>
9399
9400         * lyxlex.C: revert John's change as it breaks reading of the user
9401         preamble.
9402
9403 2002-08-02  Angus Leeming  <leeming@lyx.org>
9404
9405         * importer.C (Import):
9406         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9407         changes due to LyXView::view() now returning a boost::shared_ptr.
9408
9409 2002-08-02  John Levon  <levon@movementarian.org>
9410
9411         * lyxlex.C: small cleanup
9412
9413 2002-08-02  John Levon  <levon@movementarian.org>
9414
9415         * text2.C (status): small cleanup, no logic change
9416
9417 2002-08-01  John Levon  <levon@movementarian.org>
9418
9419         * buffer.h:
9420         * buffer.C (writeFile): don't output alerts, caller
9421           handles this
9422
9423         * bufferlist.C:
9424         * lyx_cb.C: from above
9425
9426         * lyxfunc.C: allow to open non-existent files
9427
9428 2002-07-31  John Levon  <levon@movementarian.org>
9429
9430         * lyxserver.C: don't let incidental errors get
9431           in the way (errno)
9432
9433 2002-07-30  John Levon  <levon@movementarian.org>
9434
9435         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9436
9437 2002-07-30  John Levon  <levon@movementarian.org>
9438
9439         * lyxserver.h:
9440         * lyxserver.C: remove I/O callback too
9441
9442 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9443
9444         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9445         log.
9446
9447 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9448
9449         * many files: strip,frontStrip -> trim,ltrim,rtrim
9450
9451 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9452
9453         * PrinterParams.h: remove extern containsOnly, and include
9454         support/lstrings.h instead.
9455
9456         * LaTeX.C (scanAuxFile): modify because of strip changes
9457         (deplog): ditto
9458         * buffer.C (makeLaTeXFile): ditto
9459         * bufferparams.C (writeFile): ditt
9460         * lyxfont.C (stateText): ditto
9461         * lyxserver.C (read_ready): ditto
9462         * vc-backend.C (scanMaster): ditto
9463
9464         * BufferView_pimpl.h: ws changes
9465
9466         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9467
9468 2002-07-26  André Pönitz <poenitz@gmx.net>
9469
9470         * kb_sequence.C: remove unnedred usings
9471
9472 2002-07-26  Juergen Vigna  <jug@sad.it>
9473
9474         * lyxfind.C (LyXReplace): we have to check better if the returned
9475         text is not of theLockingInset()->getLockingInset().
9476
9477 2002-07-25  Juergen Vigna  <jug@sad.it>
9478
9479         * lyxfind.C (LyXReplace): don't replace if we don't get the
9480         right LyXText.
9481
9482         * undo_funcs.C (createUndo): remove debugging code.
9483
9484 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9485
9486         * buffer.C (parseSingleLyXformat2Token): Use default placement
9487         when reading old floats.
9488
9489         * FloatList.C (FloatList): Change the default placement of figure
9490         and tables to "tbp".
9491
9492 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9493
9494         * MenuBackend.C: using std::max
9495
9496 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * MenuBackend.C (expandToc):
9499         (expandToc2): code moved from xforms menu frontend. It is now
9500         generic and TOCs are transparent to menu frontends.
9501
9502 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9503
9504         * toc.C (getTocList): protect against buf=0
9505
9506         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9507         Menu as first parameter. Now, this calls itself recursively to
9508         expand a whole tree (this will be useful for TOC handling)
9509         (expandFloatInsert): remove 'wide' version of floats
9510
9511         * MenuBackend.h (submenuname): returns the name of the submenu.
9512         (submenu): returns the submenu itself, provided it has been
9513         created by MenuBackend::expand
9514
9515 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9516
9517         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9518         insets which have noFontChange == true. (bug #172)
9519
9520 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9521
9522         * BufferView_pimpl.C: add connection objects and use them...
9523         (Pimpl): here.
9524
9525 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * MenuBackend.C (expandLastfiles):
9528         (expandDocuments):
9529         (expandFormats):
9530         (expandFloatListInsert):
9531         (expandFloatInsert):
9532         (expand): split expand in parts
9533
9534 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * lyx_gui.C: use lyx_gui::exit()
9537
9538 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9539
9540         * LyXAction.C: show the failing pseudo action
9541
9542 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9543
9544         * buffer.C (readFile): Run the lyxconvert script in order to read
9545         old files.
9546
9547 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * LyXAction.C:
9550         * commandtags.h:
9551         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9552
9553 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9554
9555         * LyXAction.C:
9556         * commandtags.h:
9557         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9558
9559 2002-07-22  Herbert Voss  <voss@lyx.org>
9560
9561         * lengthcommon.C:
9562         * lyxlength.[Ch]: add support for the vertical lengths
9563
9564 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9565
9566         * toc.[Ch]: std:: fixes
9567
9568 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9569
9570         * lyxrc.C: do not include lyx_main.h
9571
9572         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9573         for layouts
9574
9575         * lyxrc.C:
9576         * encoding.C:
9577         * bufferlist.C:
9578         * BufferView2.C: include "lyxlex.h"
9579
9580         * tabular.h:
9581         * bufferparams.h: do not #include "lyxlex.h"
9582
9583         * lyxtextclasslist.C (Add): remove method
9584         (classlist): renamed to classlist_
9585
9586         * paragraph_pimpl.C:
9587         * paragraph.C:
9588         * text2.C:
9589         * CutAndPaste.C:
9590         * bufferview_funcs.C:
9591         * bufferlist.C:
9592         * text.C:
9593         * LaTeXFeatures.C:
9594         * buffer.C:
9595         * toc.C (getTocList): use BufferParams::getLyXTextClass
9596
9597         * toc.C (getTocList): use InsetFloat::addToToc
9598
9599         * toc.[Ch]: new files, containing helper functions to handle table
9600         of contents
9601
9602         * lyxfunc.C (dispatch): no need to remove spaces around command
9603         given as a string
9604         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9605         first command of the sequence; it is not very clever, but I do not
9606         have a better idea, actually
9607
9608         * LyXAction.C (LookupFunc): make sure to remove space at the
9609         beginning and end of the command
9610
9611 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9612
9613         * MenuBackend.C (getMenubar): new method: return the menubar of
9614         this menu set
9615         (read): treat differently reading of menu and menubar (in
9616         particular, the menubar has no name now)
9617         (Menu::menubar): remove
9618
9619         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9620         saving is finished
9621
9622 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9623
9624         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9625         a bibitem inset in a RTL paragraph.
9626
9627 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9628
9629         * paragraph_pimpl.C: constify
9630
9631         * BufferView_pimpl.C:
9632         * LaTeX.C:
9633         * lyxfunc.C: fix dispatch in a nicer way
9634
9635 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9636
9637         * lyxfunc.C (dispatch):
9638         * BufferView_pimpl.C:
9639         * BufferView_pimpl.h:
9640         * BufferView.C:
9641         * BufferView.h: rename Dispatch() to dispatch()
9642
9643         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9644
9645         * lyxlayout.C (Read): honor DependsOn tag
9646
9647         * lyxlayout.[Ch] (depends_on): new method
9648
9649         * version.C.in: update lyx_docversion
9650
9651         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9652
9653         * paragraph.C (validate): remove from here...
9654         * paragraph_pimpl.C (validate): ... and move here
9655         (isTextAt): make it const
9656
9657         * buffer.C (getLists): ws cleanup
9658
9659 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9660
9661         * language.C (read): Use iso8859-1 encoding in latex_lang
9662         (this prevents LyX from crashing when using iso10646-1 encoding).
9663
9664 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9665
9666         * text2.C (toggleInset): if cursor is inside an inset, close the
9667         inset and leave cursor _after_ it
9668
9669 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9670
9671         * lyxfunc.C: move minibuffer completion handling out of here
9672
9673 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9674
9675         * BufferView_pimpl.C:
9676         * LaTeX.C: fix dispatch calls
9677
9678 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9679
9680         * text.C (drawChars): Fix Arabic text rendering.
9681
9682 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * LyXAction.C:
9685         * commandtags.h:
9686         * lyxfunc.C: remove message-push/pop
9687
9688         * lyxserver.C:
9689         * lyxfunc.h:
9690         * lyxfunc.C: rationalise some code by removing verboseDispatch
9691           in favour of a bool argument to dispatch()
9692
9693 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * lyx_main.C (init): make sure to read symlinks as absolute paths
9696
9697 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9698
9699         * lyxfunc.h:
9700         * lyxfunc.C: no need for commandshortcut to be a member
9701
9702 2002-07-15  André Pönitz <poenitz@gmx.net>
9703
9704         * converter.C: add support for $$s (scripts from lib/scripts dir)
9705         * lyx_main.C: white space
9706
9707 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * bufferlist.C:
9710         * lyxrc.h:
9711         * lyxrc.C: remove second exit confirmation
9712
9713 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9714
9715         * BufferView.h:
9716         * BufferView.C:
9717         * BufferView2.C:
9718         * BufferView_pimpl.h:
9719         * BufferView_pimpl.C:
9720         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9721
9722 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * MenuBackend.C (expand): add numeric shortcuts to document menu
9725
9726         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9727
9728 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * lyxfont.C (setLyXFamily):
9731         (setLyXSeries):
9732         (setLyXShape):
9733         (setLyXSize):
9734         (setLyXMisc):
9735         (lyxRead):
9736         * debug.C (value):
9737         * buffer.C (asciiParagraph): use ascii_lowercase
9738
9739 2002-07-15  Mike Fabian  <mfabian@suse.de>
9740
9741         * lyxlex_pimpl.C (search_kw):
9742         * lyxlex.C (getLongString):
9743         * converter.h (operator<):
9744         * converter.C (operator<):
9745         * buffer.C (parseSingleLyXformat2Token):
9746         (asciiParagraph):
9747         * ToolbarDefaults.C (read):
9748         * MenuBackend.C (checkShortcuts):
9749         (read):
9750         * LColor.C (getFromGUIName):
9751         (getFromLyXName): use the compare_ascii_no_case instead of
9752         compare_no_case, because in turkish, 'i' is not the lowercase
9753         version of 'I', and thus turkish locale breaks parsing of tags.
9754
9755 2002-07-16  Angus Leeming  <leeming@lyx.org>
9756
9757         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9758         now takes a Buffer const & argument.
9759
9760 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9761
9762         * BufferView.C (resize): check there's a buffer to resize
9763
9764 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * lyxfunc.C: remove dead code
9767
9768         * lyxserver.h:
9769         * lyxserver.C: use lyx_guii::set_read_callback
9770
9771 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9772
9773         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9774         an inset in a RTL paragraph.
9775
9776 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9777
9778         * lyxfunc.C: repaint after a font size update
9779
9780 2002-07-15  André Pönitz <poenitz@gmx.net>
9781
9782         * lyxlength.C: inBP should be able to return negative values
9783
9784 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9785
9786         * lyxfunc.C: use lyx_gui::update_fonts()
9787
9788 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9789
9790         * lyxfunc.C: use lyx_gui::update_color()
9791
9792 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9793
9794         * bufferlist.C:
9795         * lyxfunc.h:
9796         * lyxfunc.C:
9797         * lyxrc.h:
9798         * lyxrc.C: remove file->new asks for name option, and let
9799           buffer-new take an argument
9800
9801 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9802
9803         * BufferView_pimpl.C: remove unneeded extra repaint()
9804
9805 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * LyXAction.C: allow command-sequence with NoBuffer
9808
9809         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9810
9811 2002-07-10  Angus Leeming  <leeming@lyx.org>
9812
9813         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9814
9815 2002-07-09  Angus Leeming  <leeming@lyx.org>
9816
9817         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9818
9819 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * lengthcommon.h: whitespace
9822
9823         * lyxfunc.C: update scrollbar after goto paragraph
9824
9825         * lyxtext.h: factor out page break drawing, and fix it so
9826           page break/added space paints as selected nicely
9827
9828 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * BufferView_pimpl.C: add FIXMEs, clean up a little
9831
9832 2002-07-09  André Pönitz <poenitz@gmx.net>
9833
9834         * lyxfont.[Ch]: support for wasy symbols
9835
9836 2002-07-08  André Pönitz <poenitz@gmx.net>
9837
9838         * BufferView_pimpl.C: apply John's patch for #93.
9839
9840 2002-07-05  Angus Leeming  <leeming@lyx.org>
9841
9842         * BufferView_pimpl.C (buffer): generate previews if desired.
9843
9844         * LColor.h: add "preview" to the color enum.
9845
9846         * LColor.C (LColor): add a corresponding entry to the items array.
9847
9848         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9849         with this buffer.
9850
9851 2002-07-05  Angus Leeming  <leeming@lyx.org>
9852
9853         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9854         The body of the code is now in the method that is passed an ostream &
9855         rather than a file name.
9856         Pass an additional only_preamble parameter, useful for the forthcoming
9857         preview stuff.
9858
9859 2002-07-03  André Pönitz <poenitz@gmx.net>
9860
9861         * lyxfunc.C: simplify getStatus() a bit for math stuff
9862
9863 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9866
9867 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9868
9869         * text.C (changeRegionCase): do not change case of all the
9870         document when region ends at paragraph end (bug #461)
9871
9872 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9873
9874         * paragraph.C (startTeXParParams):
9875         (endTeXParParams): add \protect when necessary
9876
9877 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9878
9879         * BufferView_pimpl.C (workAreaExpose): remove warning
9880
9881 2002-06-27  Angus Leeming  <leeming@lyx.org>
9882
9883         * Makefile.am: add lyxlayout_ptr_fwd.h.
9884
9885 2002-06-26  André Pönitz <poenitz@gmx.net>
9886
9887         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9888
9889 2002-06-25  Angus Leeming  <leeming@lyx.org>
9890
9891         * lyxfunc.C (dispatch): Comment out the call to
9892         grfx::GCache::changeDisplay. The method no longer exists now that the
9893         pixmap generation part of the graphics loader has been moved into
9894         InsetGraphics.
9895
9896 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9897
9898         * text2.C: layout as layout
9899
9900         * text.C: layout as layout
9901
9902         * tabular.C (OldFormatRead): layout as layout
9903
9904         * paragraph_pimpl.C (TeXDeeper): layout as layout
9905         (realizeFont): layout as layout
9906
9907         * paragraph.C (writeFile): layout as layout
9908         (validate): layout as layout
9909         (getFont): layout as layout
9910         (getLabelFont): layout as layout
9911         (getLayoutFont): layout as layout
9912         (breakParagraph): layout as layout
9913         (stripLeadingSpaces): layout as layout
9914         (getEndLabel): layout as layout
9915         (getMaxDepthAfter): layout as layout
9916         (applyLayout): layout as layout
9917         (TeXOnePar): layout as layout
9918         (simpleTeXOnePar): layout as layout
9919         (TeXEnvironment): layout as layout
9920         (layout): layout as layout
9921         (layout): layout as layout
9922
9923         * lyxtextclass.C (compare_name): new functor to work with
9924         shared_ptr, layout as layout
9925         (Read): layout as layout
9926         (hasLayout): layout as layout
9927         (operator): layout as layout
9928         (delete_layout): layout as layout
9929         (defaultLayout): layout as layout
9930
9931         * lyxlayout_ptr_fwd.h: new file
9932
9933         * lyxlayout.C (Read): layout as layout
9934
9935         * lyx_cb.C (MenuInsertLabel): layout as layout
9936
9937         * bufferlist.C (newFile): layout as layout
9938
9939         * buffer.C (readLyXformat2): layout as layout
9940         (parseSingleLyXformat2Token): layout as layout
9941         (insertStringAsLines): layout as layout
9942         (asciiParagraph): layout as layout
9943         (latexParagraphs): layout as layout
9944         (makeLinuxDocFile): layout as layout
9945         (simpleLinuxDocOnePar): layout as layout
9946         (makeDocBookFile): layout as layout
9947         (simpleDocBookOnePar): layout as layout
9948         (getLists): layout as layout
9949
9950         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9951
9952         * CutAndPaste.C (cutSelection): layout as layout
9953         (pasteSelection): layout as layout
9954         (SwitchLayoutsBetweenClasses): layout as layout
9955
9956         * BufferView_pimpl.C (Dispatch): layout as layout
9957         (smartQuote): layout as layout
9958
9959         * BufferView2.C (unlockInset): layout as layout
9960
9961 2002-06-24  André Pönitz <poenitz@gmx.net>
9962
9963         * lyxfunc.C: fix #487
9964
9965 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * lyxrc.h:
9968         * lyxrc.C:
9969         * lyxfunc.C: remove display_shortcuts, show_banner
9970
9971 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9972
9973         * Buffer_pimpl.C: oops, update on resize
9974
9975 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * buffer.C:
9978         * converter.C:
9979         * exporter.C:
9980         * lyxfunc.C:
9981         * BufferView.h:
9982         * BufferView.C: use repaint()
9983
9984         * BufferView_pimpl.h:
9985         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9986           as it's a clearer description. Remove superfluous
9987           redraws.
9988
9989 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * text.C: fix bug 488. Not ideal, but getting
9992           getWord() to work properly for the insets that
9993           matter is more difficult ...
9994
9995 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9996
9997         * BufferView_pimpl.C:
9998         * LyXAction.C:
9999         * commandtags.h:
10000         * lyxfunc.C: remove the six million index lyxfuncs to just
10001           one, and DTRT (bug 458)
10002
10003 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * BufferView.h:
10006         * BufferView.C:
10007         * BufferView_pimpl.h:
10008         * BufferView_pimpl.C: clean up resize() stuff,
10009           and unnecessary updateScreen()s
10010
10011 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10012
10013         * BufferView.h:
10014         * BufferView.C:
10015         * BufferView_pimpl.h:
10016         * BufferView_pimpl.C:
10017         * lyxfind.h:
10018         * lyxfind.C:
10019         * minibuffer.C: remove focus management of workarea,
10020           not needed. Use screen's greyOut()
10021
10022 2002-06-17  Herbert Voss  <voss@lyx.org>
10023
10024         * converter.C: (convert) do not post a message, when converting
10025         fails, let the calling function decide what to do in this case
10026
10027 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * lyxfunc.C: tidy up a little
10030
10031 2002-06-16    <alstrup@diku.dk>
10032
10033         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10034         Got rid of FORMS_H_LOCATION include. Now we are
10035         GUII.
10036
10037 2002-06-15  LyX Development team  <lyx@rilke>
10038
10039         * buffer.[Ch] (sgmlOpenTag):
10040         (sgmlCloseTag): Added support for avoiding pernicious mixed
10041         content. Return number of lines written.
10042
10043         (makeLinuxDocFile):
10044         (makeDocBookFile): Fixed calls to sgml*Tag.
10045         Simple white space clean.
10046
10047         (simpleDocBookOnePar): Simple white space clean.
10048
10049         * tabular.[Ch] (docBook): Renamed to docbook and got another
10050         argument to related with the pernicious mixed content.
10051
10052         (docbookRow): Fixed calls for docbook inset method.
10053
10054 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10055
10056         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10057         so it's X11 independent.
10058
10059         * kb*.[Ch]: ditto.
10060
10061         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10062
10063 2002-06-15  Lyx Development team  <lyx@electronia>
10064
10065         * intl.h: Renamed getTrans to getTransManager.
10066
10067 2002-06-14  Angus Leeming  <leeming@lyx.org>
10068
10069         * Makefile.am: nuke forgotten stl_string_fwd.h.
10070
10071 2002-06-12  Angus Leeming  <leeming@lyx.org>
10072
10073         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10074
10075 2002-06-13  Angus Leeming  <leeming@lyx.org>
10076
10077         * LaTeX.C:
10078         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10079
10080 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10081
10082         * kbmap.C (getiso): add support for cyrillic and greek
10083
10084 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10085
10086         * BufferView.h:
10087         * BufferView.C:
10088         * BufferView_pimpl.h:
10089         * BufferView_pimpl.C: move bogus scrolling logic
10090           to xforms
10091
10092 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10093
10094         * lyxfunc.C:
10095         * BufferView_pimpl.C: view->resize() change
10096
10097 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10098
10099         * BufferView_pimpl.C: topCursorVisible
10100           prototype change
10101
10102 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * Makefile.am:
10105         * lyx_gui.h:
10106         * lyx_gui.C: move to frontends/
10107
10108         * main.C:
10109         * lyx_main.h:
10110         * lyx_main.C: changes from above
10111
10112 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10113
10114         * intl.C:
10115         * intl.h:
10116         * kbmap.C:
10117         * kbsequence.C:
10118         * lyx_cb.C:
10119         * lyx_main.C: minor tidy
10120
10121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * BufferView_pimpl.h:
10124         * BufferView_pimpl.C:
10125         * BufferView.h:
10126         * BufferView.C: make painter() const,
10127           remove dead code
10128
10129         * BufferView2.C: use screen() accessor
10130
10131         * lyx_main.h:
10132         * lyx_main.C: some minor cleanup
10133
10134 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * BufferView_pimpl.h:
10137         * BufferView_pimpl.C: remove enter/leaveView,
10138           use workHeight()
10139
10140 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10141
10142         * BufferView.h:
10143         * BufferView.C:
10144         * BufferView2.C:
10145         * BufferView_pimpl.h:
10146         * BufferView_pimpl.C: only construct screen once,
10147           rename
10148
10149         * lyxrc.C: remove pointless comment
10150
10151 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * BufferView.h:
10154         * BufferView.C: remove active() and belowMouse()
10155
10156         * BufferView_pimpl.h:
10157         * BufferView_pimpl.C: use workarea() not workarea_,
10158           and make it use a scoped_ptr instead
10159
10160 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * lyx_gui.C: add debug message on BadWindow
10163
10164 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10165
10166         * sp_spell.C: fdopen is not part of the C++ standard.
10167
10168         * paragraph.C (InsetIterator): use >= instead of ==
10169
10170 2002-06-07  Angus Leeming  <leeming@lyx.org>
10171
10172         Fixes needed to compile with Compaq cxx 6.5.
10173         * BufferView_pimpl.C:
10174         * DepTable.C:
10175         * buffer.C:
10176         * converter.C:
10177         * encoding.C:
10178         * lyx_gui.C:
10179         * lyx_main.C:
10180         * lyxtextclasslist.C:
10181         * minibuffer.C:
10182         * sp_spell.C:
10183         * tabular_funcs.C:
10184         * vc-backend.C:
10185         all c-library variables have been moved into namespace std. Wrap
10186         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10187
10188         * lyxlength.C:
10189         * tabular-old.C:
10190         * tabular.C:
10191         Add a using std::abs declaration.
10192
10193         * kbmap.h (modifier_pair):
10194         * paragraph.h (InsetTable, InsetList):
10195         * lyxfont.h (FontBits):
10196         type definition made public.
10197
10198         * bufferlist.C (emergencyWriteAll): the compiler complains that
10199         there is more than one possible lyx::class_fun template to choose from.
10200         I re-named the void specialisation as lyx::void_class_fun.
10201
10202         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10203
10204         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10205         the compiler is is unable to find tostr in write_attribute.
10206
10207 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * buffer.C (sgmlError): hide #warning
10210
10211 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10212
10213         * xtl/*: get rid of xtl, which is not in use anyway
10214
10215         * LyXAction.C (init):
10216         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10217         were unimplemented xtl experimentation
10218
10219 2002-06-04  André Pönitz <poenitz@gmx.net>
10220
10221         * lyxfunc.C: disable array operation on simple formulae
10222
10223 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * converter.C: constify a bit
10226
10227 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * lyx_gui.C: check xforms version correctly
10230
10231 2002-04-30  Herbert Voss  <voss@lyx.org>
10232
10233         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10234         "keep" option
10235
10236 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10239           attempt to register it with a VCS)
10240
10241 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10242
10243         * lyx_main.C (init): honor variables LYX_DIR_13x and
10244         LYX_USERDIR_13x
10245
10246 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * buffer.h:
10249         * buffer.C:
10250         * lyx_main.C: fix a crash on bad command line,
10251           and give a useful exit status on error
10252
10253         * lyxfunc.C (doImport): allow -i lyx to work
10254
10255 2002-03-30  André Pönitz <poenitz@gmx.net>
10256
10257         * lyxfunc.C: mathed font changes
10258
10259 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10260
10261         * LaTeX.C:
10262         * importer.h:
10263         * importer.C:
10264         * lyx_sty.h:
10265         * lyx_sty.C:
10266         * lyxlex.C:
10267         * lyxrow.h:
10268         * lyxtext.h:
10269         * paragraph.h:
10270         * paragraph.C:
10271         * texrow.h:
10272         * texrow.C:
10273         * text.C:
10274         * trans_mgr.h: srcdocs, and some minor cleanups
10275
10276 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10279         call getFont all the time)
10280
10281 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10282
10283         * switch from SigC signals to boost::signals
10284
10285 2002-05-29  André Pönitz <poenitz@gmx.net>
10286
10287         * paragraph_pimpl.C (getChar): don't call size() too often...
10288
10289 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10290
10291         * paragraph_pimpl.C (insertChar): do not try to update tables when
10292         appending (pos == size())
10293
10294         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10295         in order to reduce drastically the number of comparisons needed to
10296         parse a large document
10297
10298 2002-05-29  André Pönitz <poenitz@gmx.net>
10299
10300         * text.C:
10301         * text2.C:
10302         * lyxtextclass.C:
10303         * sp_pspell.h:
10304         * textclasslist.[Ch]:
10305         * sp_ispell.h: whitespace change
10306
10307 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10310         lyxaction directly now.
10311
10312 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10313
10314         * trans.C:
10315         * lyxfont.C:
10316         * lyxvc.C: remove unused headers
10317
10318 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * Makefile.am:
10321         * buffer.h:
10322         * undostack.h:
10323         * undostack.C:
10324         * undo_funcs.h:
10325         * undo_funcs.C: some cleanups. Use shared_ptr
10326           and a template for the undo stacks.
10327
10328 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * BufferView_pimpl.h:
10331         * BufferView_pimpl.C:
10332         * kbmap.h:
10333         * kbmap.C:
10334         * kbsequence.h:
10335         * kbsequence.C:
10336         * lyxfunc.h:
10337         * lyxfunc.C:
10338         * text2.C: use key_state/mouse_state
10339
10340 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10343         and LSubstring
10344
10345         * chset.C: change include order
10346         (loadFile): use boost regex and get rid of LRegex and LSubstring
10347
10348         * Makefile.am (BOOST_LIBS): new variable
10349         (lyx_LDADD): use it
10350
10351         * LaTeX.C: change include order.
10352         (scanAuxFile): use boost regex and get rid of LRegex and
10353         LSubstring
10354         (deplog): ditto
10355
10356 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * ColorHandler.h:
10359         * ColorHandler.C:
10360         * FontInfo.h:
10361         * FontInfo.C: moved to frontends/xforms/
10362
10363         * FontLoader.h:
10364         * FontLoader.C: moved into frontends for GUIIzation
10365
10366         * Makefile.am:
10367         * lyx_gui.C:
10368         * lyxfont.C:
10369         * lyxfunc.C: changes from above
10370
10371 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10372
10373         * LColor.C: remove spurious X include
10374
10375         * BufferView_pimpl.C:
10376         * Makefile.am:
10377         * font.h:
10378         * font.C:
10379         * text.C:
10380         * text2.C: move font metrics to frontends/
10381
10382 2002-05-24  Juergen Vigna  <jug@sad.it>
10383
10384         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10385         setting the undo_cursor.
10386
10387         * ParagraphParameters.h: include local includes first.
10388
10389 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * BufferView_pimpl.C:
10392         * BufferView_pimpl.h:
10393         * Makefile.am:
10394         * WorkArea.h:
10395         * WorkArea.C:
10396         * screen.C: move WorkArea into frontends/
10397
10398         * lyxscreen.h:
10399         * screen.C:
10400         * text.C:
10401         * BufferView.C:
10402         * BufferView2.C: move LyXScreen into frontends/
10403
10404         * lyxlookup.h:
10405         * lyxlookup.C:
10406         * lyx_gui.C: move lyxlookup into frontends/xforms/
10407
10408 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * BufferView2.C:
10411         * BufferView_pimpl.C:
10412         * FontLoader.C:
10413         * LyXView.h:
10414         * LyXView.C:
10415         * Makefile.am:
10416         * WorkArea.C:
10417         * XFormsView.h:
10418         * XFormsView.C:
10419         * buffer.C:
10420         * bufferlist.C:
10421         * bufferview_funcs.C:
10422         * converter.C:
10423         * importer.C:
10424         * lyx_cb.C:
10425         * lyx_gui.C:
10426         * lyx_main.C:
10427         * lyx_find.C:
10428         * lyxfunc.C:
10429         * lyxvc.C:
10430         * minibuffer.C:
10431         * text.C:
10432         * text2.C:
10433         * trans.C:
10434         * vc-backend.C: move LyX/XFormsView into frontends/
10435
10436 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * Makefile.am:
10439         * PainterBase.C:
10440         * PainterBase.h:
10441         * Painter.C:
10442         * Painter.h:
10443         * WorkArea.C:
10444         * WorkArea.h:
10445         * screen.C:
10446         * tabular.C:
10447         * text.C:
10448         * text2.C: move Painter to frontends/
10449
10450 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10451
10452         * buffer.C: comment out some some code that depend upon lyx_format
10453         < 220
10454
10455         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10456         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10457
10458         * buffer.h (NO_COMPABILITY): turn off compability
10459
10460         * ColorHandler.C: include scoped_array.hpp
10461
10462         * font.C: Use more specific smart_ptr header.
10463         * Painter.C: ditto
10464         * gettext.C: ditto
10465         * ShareContainer.h: ditto
10466         * lyx_main.h: ditto
10467         * kbmap.h: ditto
10468         * FontInfo.h: ditto
10469         * BufferView_pimpl.h: ditto
10470         * ColorHandler.h: ditto
10471
10472         * kbmap.C (defkey): change call to shared_ptr::reset
10473
10474 2002-05-21  Juergen Vigna  <jug@sad.it>
10475
10476         * buffer.C (insertErtContents): fix to insert ert asis if it is
10477         non empty. Skip it completely if it contains only whitespaces.
10478
10479 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10480
10481         * BufferView_pimpl.C:
10482         * BufferView2.C: clear selection on paste (bug 393)
10483
10484 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10485
10486         * DepTable.C: include ctime
10487
10488 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10489
10490         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10491
10492 2002-05-14  Juergen Vigna  <jug@sad.it>
10493
10494         * text.C (breakParagraph): fixed function to honor the keepempty
10495         layout in the right maner and also to permit the right breaking
10496         algorithm on empty or non empyt keepempty paragraphs.
10497
10498         * paragraph.C (breakParagraph): we have to check also if the par
10499         is really empty (!size()) for isempty otherwise we do the wrong
10500         paragraph break.
10501
10502 2002-05-10  Juergen Vigna  <jug@sad.it>
10503
10504         * buffer.[Ch] : The following are only changes to the ert
10505         compatibility read reading old LaTeX layout and font stuff and
10506         convert it to ERTInsets.
10507
10508         * buffer.h: added isErtInset().
10509
10510         * buffer.C (struct ErtComp): add a fromlayout bool to check
10511         if we're inside a LaTeX layout.
10512         (isErtInset): new helper function.
10513         (insertErtContents): look for other ert insets before this one
10514         and insert the contents there, so that we don't have subsequent
10515         ERT insets with nothing between them. This way we create only one
10516         inset with multiple paragraphs. Also check if we don't insert only
10517         spaces ' ' as they are ignored anyway afterwards in the .tex file
10518         so if we have only spaces we will ignore this latex part in the
10519         new file.
10520         (parseSingleLyXformat2Token \\layout): better compatibility when
10521         reading layout-latex stuff.
10522         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10523         language tag.
10524         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10525         stuff after reading the inset only get the information back from
10526         the stack.
10527
10528 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10529
10530         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10531
10532         * LaTeXFeatures.C (getBabelOptions): New method.
10533
10534 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * BufferView_pimpl.C (Dispatch): work around missing argument for
10537         'layout'
10538
10539 2002-05-08  Juergen Vigna  <jug@sad.it>
10540
10541         * text.C (leftMargin): handle paragraph leftindent.
10542
10543         * paragraph.C (writeFile): write the new \\leftindent tag.
10544         (validate): handle leftindent code.
10545         (TeXEnvironment): handle paragraphleftindent code again.
10546
10547         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10548
10549         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10550         for paragrap_extra indent code and new token \\leftindent.
10551         (latexParagraphs): handle the leftindent as environment.
10552
10553         * ParameterStruct.h: added leftindent support.
10554
10555         * ParagraphParameters.C (leftIndent): added support functions for
10556         the paragraph left indent.
10557
10558         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10559         more appropriate.
10560
10561 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10562
10563         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10564         inside insetERT.
10565
10566         * text.C (computeBidiTables): No bidi in insetERT.
10567
10568         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10569         in RTL documents.
10570
10571 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10572
10573         * version.C.in: pre 5
10574
10575 2002-05-02  José Matos  <jamatos@fep.up.pt>
10576         * buffer.C (makeDocBookFile): white space changes, add newline to
10577         command styles.
10578         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10579
10580         * tabular.C (docBook): fix typo.
10581
10582 2002-05-03  Juergen Vigna  <jug@sad.it>
10583
10584         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10585         change in LyXText as we can not be sure it was not freed.
10586         (drawOneRow): remove unused code.
10587
10588         * text.C (drawInset): redo the calculation of the need_break_row as
10589         it could have a row which was already freed.
10590         (draw): look at the return value of drawInset and return false if
10591         it also returned false.
10592         (paintRowText): look at the return value of draw and return false if
10593         it also returned false.
10594
10595         * lyxtext.h: added bool return type to drawInset() and draw() so that
10596         if we have a change in the row so that the rowbreak has to be redone
10597         we abort drawing as it will be called again.
10598
10599 2002-05-02  Juergen Vigna  <jug@sad.it>
10600
10601         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10602         a change in the maintext also if we're inside an inset.
10603         (Dispatch): set the cursor again after a break line and after the
10604         screen has been updated as it could be we're in a different row.
10605
10606         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10607         to set the cursor behind the pargraph with > size().
10608         (setCursor): check also for the same paragraph when checking where
10609         to put the cursor if we have a NFR inset.
10610
10611         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10612         parts of layout read further up as it still was in the wrong
10613         position.
10614
10615 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * screen.C (drawFromTo): change sine fullRebreak always return
10618         true.
10619
10620         * buffer.C (parseSingleLyXformat2Token): reindent some
10621
10622         * BufferView_pimpl.C (update): change since fullRebreak always
10623         return true.
10624         (Dispatch): git rid of the last hardcoded "Standard"s.
10625
10626 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10627
10628         * text2.[Ch] (fullRebreak): make it return void now that we always
10629         returned true.
10630
10631 2002-04-30  Juergen Vigna  <jug@sad.it>
10632
10633         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10634         ert compatibility check for "latex" layout.
10635
10636 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10637
10638         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10639         minipages: use col% instead of p%, and also use the current font.
10640         (makeLaTeXFile): Fix use babel condition.
10641         (parseSingleLyXformat2Token): Correct font when reading old floats.
10642
10643 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10644
10645         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10646         inserting list of floats.
10647
10648 2002-04-25  Herbert Voss  <voss@lyx.org>
10649
10650         * MenuBackend.C (expand): don't add the graphics extensions to the
10651         export menu
10652
10653 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10654
10655         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10656         non-existing layout, do not complain if it was the default layout
10657         of the original class (bug #342)
10658
10659 2002-04-24  Juergen Vigna  <jug@sad.it>
10660
10661         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10662         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10663
10664 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10665
10666         * buffer.C (getBibkeyList): If using \bibliography, return the
10667         option field with the reference itself. Enables us to provide natbib
10668         support when using \bibliography.
10669
10670 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10671
10672         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10673
10674         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10675         natbib is provided by the LaTeX class.
10676
10677 2002-04-23  Juergen Vigna  <jug@sad.it>
10678
10679         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10680         Wakeup functions.
10681
10682         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10683
10684 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10687
10688         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10689         ensuremath around textordmasculine, textordfeminine and
10690         textdegree.
10691
10692 2002-04-19  Juergen Vigna  <jug@sad.it>
10693
10694         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10695         reinitializing the buffer otherwise row-dimensions may be wrong.
10696         (update): reset also the selection cursors if they do exits otherwise
10697         their x/y positions may be wrong.
10698
10699         * text2.C (cursorDown): don't enter the inset if we came from a row
10700         above and are one row over the inset.
10701
10702         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10703         really leaving an inset.
10704
10705 2002-04-18  Juergen Vigna  <jug@sad.it>
10706
10707         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10708         of the selected paragraph does not have the selected layout also if
10709         the last one had!
10710
10711         * text2.C (setLayout): fixed bug which did not change last selected
10712         paragraph.
10713
10714         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10715         changed the read and substituted \\end_float with \\end_inset!
10716
10717         * BufferView_pimpl.C (cursorPrevious):
10718         (cursorNext): fixed to make it work with rows heigher than the work
10719         area without moving the cursor only the draw of the row.
10720         (workAreaMotionNotify): fix jumping over high rows.
10721
10722 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10725         Ressler.
10726
10727 2002-04-16  Juergen Vigna  <jug@sad.it>
10728
10729         * text2.C (setCursor): set also the irow().
10730         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10731         (cursorUp):
10732         (cursorDown): support for locking an inset if the x_fix value goes
10733         inside it. That way I can transverse insets too with cursor up/down.
10734
10735         * lyxrow.h: added irow helper function same as other (i) functions.
10736
10737         * BufferView_pimpl.C (cursorPrevious):
10738         (cursorNext): fixed for insets!
10739
10740 2002-04-15  Juergen Vigna  <jug@sad.it>
10741
10742         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10743         position otherwise it is wrong in some cases.
10744
10745         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10746         inside the inset before the call.
10747
10748 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10749
10750         * buffer.[Ch] (getBibkeyList): make it const.
10751
10752 2002-04-12  Juergen Vigna  <jug@sad.it>
10753
10754         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10755
10756         * text2.C (getCursorX): new helper function
10757         (setCursor): compute also ix_
10758         (setCursorFromCoordinates): set also ix.
10759
10760         * lyxcursor.h: added ix_ and helper functions.
10761
10762         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10763
10764         * buffer.C (insertStringAsLines): dont break paragraph if the this
10765         paragraph is inside an inset which does not permit it!
10766
10767         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10768         also with no chars on this paragraph.
10769         (paintRowText): only paint stuff if it's inside the workarea!
10770
10771         * paragraph.C (breakParagraph): honor keepempty flag and break the
10772         paragraph always below not above.
10773
10774         * BufferView2.C (unlockInset): update the paragraph layout on inset
10775         unlock as we changed paragraph in such a case.
10776
10777         * lyxfind.C (LyXFind): clear the former selection if not found!
10778
10779         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10780         again called in insertChar().
10781
10782         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10783         an inset which uses the whole row!
10784         (rightMargin): ditto.
10785         (insertChar): force a rebreak if we inserted an inset!
10786
10787 2002-03-28  Herbert Voss  <voss@lyx.org>
10788
10789         * lyxlength.[Ch]: add inBP() to get the right PS-point
10790         units (BigPoint). With inPixels we have rounding errors
10791
10792 2002-04-11  Juergen Vigna  <jug@sad.it>
10793
10794         * text2.C (setCursorFromCoordinates): set iy to the right value.
10795         (setCursor): add check if row->previous exists!
10796
10797         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10798         an old float_type as this was the case in the old code!
10799
10800         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10801
10802         * BufferView2.C (showLockedInsetCursor): use iy
10803         (fitLockedInsetCursor): ditto
10804
10805         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10806         locked insets as there we have the right value now.
10807
10808         * lyxcursor.C: added iy_ variable and iy functions to set to the
10809         baseline of cursor-y of the locked inset.
10810
10811         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10812         (setCursor): fixed for insets which need a full row.
10813
10814         * text.C (rowLastPrintable): don't ignore the last space when before
10815         an inset which needs a full row.
10816         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10817         as last character of a row when before a inset which needs a full row.
10818
10819 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10820
10821         * version.C.in: update date
10822
10823         * text2.C (fullRebreak): try to always return true and see what
10824         happens...
10825
10826 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10827
10828         * MenuBackend.C (expand): use Floating::listName
10829
10830         * FloatList.C (FloatList): add listName argument to the built-in
10831         floats
10832
10833         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10834         text associated with the float.
10835
10836 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10837
10838         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10839
10840 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10841
10842         * ShareContainer.h: add a couple of missing typenames.
10843
10844 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10845
10846         * lyxrc.C (getDescription): use _() correctly rather than N_().
10847
10848 2002-03-28  Herbert Voss  <voss@lyx.org>
10849
10850         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10851         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10852
10853 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10856         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10857
10858 2002-03-29  Juergen Vigna  <jug@sad.it>
10859
10860         * lyxfunc.C (dispatch): add a missing fitCursor call.
10861
10862         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10863         it was scrolled by a cursor move, so return the bool status.
10864
10865         * BufferView.C (fitCursor): return the bool flag also to the outside
10866         world as this is needed.
10867
10868         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10869
10870         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10871         call the edit() as it is not needed (and wrong) IMO.
10872         (workAreaButtonPress): set the screen_first variable before evt.
10873         unlock the inset as this may change screen_first and then we have
10874         a wrong y position for the click!
10875
10876 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10877
10878         * MenuBackend.C (expand): another translation that I missed
10879
10880 2002-03-28  Juergen Vigna  <jug@sad.it>
10881
10882         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10883
10884         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10885
10886 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10887
10888         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10889
10890         * MenuBackend.C (expand): fix export/view/update when there is no
10891         document open.
10892
10893 2002-03-27  Herbert Voss  <voss@lyx.org>
10894
10895         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10896         and text%
10897
10898 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10899
10900         * bufferview_funcs.C (currentState): only show paragraph number
10901         for is DEVEL_VERSION is set.
10902
10903         * lyxfunc.C (dispatch): put warning in INFO channel
10904
10905         * MenuBackend.C (expand): translate the name of floats
10906
10907         * FloatList.C (FloatList): mark the float names for translation
10908
10909         * converter.C (convert): use LibScriptSearch
10910
10911 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10912
10913         * MenuBackend.C (defaults): fix default menu (we might as well get
10914         rid of it...)
10915
10916 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10917
10918         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10919         directory.
10920
10921 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10922
10923         * lyxvc.C: reorder includes.
10924
10925 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10928           properly
10929
10930 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10931
10932         * CutAndPaste.C: change layouts earlier on paste
10933           to avoid crashing when calling getFont()
10934
10935 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10936
10937         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10938         irritating #error.
10939
10940 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * WorkArea.C: remove 'Pending' debug message.
10943
10944         * most files: ws cleanup
10945
10946         * buffer.[Ch]: ws changes
10947
10948         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10949
10950 2002-03-21  Juergen Vigna  <jug@sad.it>
10951
10952         * tabular.C (SetMultiColumn): collapse also the contents of the
10953         cells and set the last border right. Added a Buffer const * param.
10954
10955 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10956
10957         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10958         linking or not.
10959
10960 2002-03-19  Juergen Vigna  <jug@sad.it>
10961
10962         * text2.C (clearSelection): reset also xsel_cache.
10963
10964         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10965         where it needs to be called (John tells us to do so too :)
10966         (selectionLost): reset sel_cache.
10967
10968         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10969
10970 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10971
10972         * text2.C (setCursorIntern): put debuging code in INSETS channel
10973
10974 2002-03-19  André Pönitz <poenitz@gmx.net>
10975
10976         * lyxfunc.C: tiny whitespace change
10977
10978 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10979
10980         * ToolbarDefaults.C (init):
10981         * LyXAction.C (init):
10982         * commandtags.h:
10983         * BufferView_pimpl.C (Dispatch):
10984         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10985
10986 2002-03-19  Allan Rae  <rae@lyx.org>
10987
10988         * exporter.C (Export): removeAutoInsets before doing anything else.
10989         While I've just introduced a dependency on BufferView this really is
10990         the best place to clean the buffer otherwise you need to cleanup in
10991         a dozen places before calling export or cleanup in a dozen functions
10992         that export calls.
10993
10994         * converter.C (runLaTeX):
10995         (scanLog): Better handling of removeAutoInsets and screen updates.
10996
10997         * lyxfunc.C (dispatch): small whitespace changes
10998
10999 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11000
11001         * WorkArea.C (C_WorkAreaEvent): return a value.
11002         (event_cb): return 1 if we handled the event, 0 otherwise.
11003
11004         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11005
11006 2002-03-18  Juergen Vigna  <jug@sad.it>
11007
11008         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11009         (GetAdditionalWidth): ditto.
11010         (RightLine): ditto.
11011         (LeftLine): ditto.
11012
11013         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11014         inset if we're there actually (probably not used right now but this
11015         is the direction to go for unifying code).
11016         (paste): disable code to clear the selection.
11017
11018         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11019         inside an InsetText and move the check further up as it is in the
11020         wrong place.
11021
11022         * text2.C (pasteSelection): set a selection over the pasted text.
11023
11024 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11025
11026         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11027         and libgraphics to build on Cygwin.
11028
11029 2002-03-15  Juergen Vigna  <jug@sad.it>
11030
11031         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11032         inserting an Inset into the paragraph. I know this is not the best
11033         fix but we already use current_view in CutAndPaste so we will remove
11034         all of it's using at the same time.
11035
11036         * buffer.C (sgmlError): deactivated function till it is rewritten in
11037         the right mode, now it can create problems.
11038
11039         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11040         before accessing it.
11041
11042 2002-03-14  Juergen Vigna  <jug@sad.it>
11043
11044         * undo_funcs.C (textHandleUndo): do the right thing when updating
11045         the inset after the undo/redo.
11046
11047         * text2.C (setCursor): just some testcode for #44 not ready yet.
11048
11049         * undo_funcs.C (textHandleUndo): set the next() and previous()
11050         pointers of the paragraph to 0 before deleting otherwise we have
11051         problems with the Paragraph::[destructor].
11052
11053         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11054         on a paragraph insertion.
11055
11056 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11057
11058         * buffer.C (asciiParagraph): use += operator for char append to
11059         string.
11060
11061         * paragraph.C (getFontSettings): compare >= not just >
11062         (highestFontInRange): ditto
11063         (setFont): ditto
11064
11065 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11066
11067         * paragraph.C: change several algorithm to be more appripriate for
11068         the problem domain. This is lookip in FontList and in the InsetList.
11069
11070 2002-03-13  André Pönitz <poenitz@gmx.net>
11071
11072         * commandtags.h:
11073         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11074
11075 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * commandtags.h:
11078         * LyXAction.C:
11079         * lyxfunc.C:
11080         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11081
11082 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11083
11084         * Painter.C (display): anon helper function, adjust code for this
11085         change.
11086         (pixmap): remove function.
11087
11088         * Painter.h: remove private display variable.
11089
11090         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11091
11092 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11093
11094         * WorkArea.[Ch]: remove figinset_canvas cruft.
11095
11096 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11097
11098         * lyxtextclass.C (operator): add one item cache optimization.
11099
11100         * bufferlist.h: doxy changes
11101
11102         * bufferlist.C: ws changes
11103
11104         * DepTable.[Ch] (ext_exist): place const in the right spot.
11105
11106         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11107         call resizeInsets.
11108         (workAreaExpose): call resizeInsets when the with BufferView changes.
11109         (Dispatch): adjust for protectedBlank removal
11110         (specialChar): call updateInset if the insert went ok.
11111
11112         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11113         specialChar instead.
11114
11115         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11116
11117         * BufferView.h: doxy change
11118
11119         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11120
11121         * lyxtextclass.C (operator[]): remove non-const version
11122         (defaultLayout): remove non-const version
11123
11124 2002-03-12  Juergen Vigna  <jug@sad.it>
11125
11126         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11127         did resize the LyXText too.
11128
11129         * buffer.C (readLyXformat2): set layout information on newly allocated
11130         paragraphs.
11131
11132         * tabular.C (OldFormatRead): set layout information on the paragraph.
11133
11134 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11135
11136         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11137
11138 2002-03-11  Juergen Vigna  <jug@sad.it>
11139
11140         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11141         plainly wrong.
11142         (resizeCurrentBuffer): force also the insets to resize themselfes.
11143         (moveCursorUpdate): fixed up for InsetText.
11144
11145 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11146
11147         * commandtags.h:
11148         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11149         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11150         value of Dialogs::tooltipsEnabled().
11151         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11152
11153 2002-03-08  Juergen Vigna  <jug@sad.it>
11154
11155         * BufferView_pimpl.C (updateInset): update inset inside inset also
11156         if it isn't inside theLockingInset().
11157
11158 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11159
11160         * buffer.C (asciiParagraph): redo some of the word and line length
11161         handling.
11162         (getLists): look for Caption instead of caption.
11163
11164 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * buffer.C (Buffer): initialize niceFile to true
11167         (makeLaTeXFile):
11168         (makeLinuxDocFile):
11169         (makeDocBookFile): make sure niceFile is true on exit
11170
11171 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11172
11173         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11174
11175 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11176
11177         * LyXSendto.C: remove.
11178         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11179         * lyx_gui.C: remove now-redundant comment.
11180         * ColorHandler.h: remove forward declaration of class WorkArea.
11181         * lyxfunc.C: remove #include "WorkArea.h".
11182
11183 2002-03-07  Juergen Vigna  <jug@sad.it>
11184
11185         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11186         got moved away with the DEPM and also set the inset_owner always
11187         right which before could have been omitted.
11188
11189 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11190
11191         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11192         wanted layout is not found.
11193
11194 2002-03-07  Juergen Vigna  <jug@sad.it>
11195
11196         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11197
11198 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11199
11200         * paragraph.C (breakParagraph): use default layout not layout of
11201         prev paragraph.
11202         (Paragraph): clear ParagraphParameters.
11203
11204 2002-03-06  Juergen Vigna  <jug@sad.it>
11205
11206         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11207         otherwise it would not be a valid lenght. Fixed a special case in
11208         the minipage compatibility read where we end the document with a
11209         minipage.
11210
11211         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11212         was set as it could be 0 for InsetTexts first entry.
11213
11214 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11215
11216         * paragraph.C (writeFile): if layout is empty write out
11217         defaultLayoutName().
11218
11219         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11220         file without named layout we set layout to defaultLayoutName().
11221
11222 2002-03-06  Juergen Vigna  <jug@sad.it>
11223
11224         * CutAndPaste.C (copySelection): set layout for new paragraph.
11225
11226         * text.C (prepareToPrint): leave ERT inset left aligned
11227         (leftMargin): don't indent paragraphs inside ERT insets
11228
11229 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * paragraph.C (breakParagraph): dont call clear do the work manually
11232
11233         * paragraph.[Ch] (clear): remove function
11234
11235 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11236
11237         * paragraph.C (Paragraph): dont call clear, the work has already
11238         been done.
11239
11240         * lyxtextclass.C (operator): assert if n is empty
11241
11242         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11243         work manually instead.
11244
11245 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * BufferView_pimpl.C: protect selectionLost against text == 0
11248
11249 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * text.C (breakParagraph): fix a setting layout to '0' problem.
11252
11253 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11254
11255         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11256         final location of file, for the included files, and graphics.
11257
11258 2002-03-05  Juergen Vigna  <jug@sad.it>
11259
11260         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11261
11262 2002-03-04  Juergen Vigna  <jug@sad.it>
11263
11264         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11265
11266         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11267         last column of multicolumn cells.
11268         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11269
11270 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11271
11272         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11273         file if it doesn't go to a temporary file.
11274
11275         * buffer.C (sgmlOpenTag):
11276         (sgmlCloseTag):  remove extra newline insertion.
11277
11278 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11279
11280         * text.C (getRowNearY): comment out debug msg
11281
11282 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11283
11284         * text2.C: first -> first_y
11285
11286         * text.C (getRowNearY): add some attemts at a possible
11287         optimization, not working.
11288
11289         * tabular.[Ch]: add BufferParams to several function so that newly
11290         created paragraph can be initialized to he default layotu for the
11291         buffers textclass.
11292
11293         * tabular-old.C (ReadOld): add buf->params to call of Init
11294
11295         * screen.C: rename text->first to text->first_y
11296
11297         * paragraph.C (breakParagraph): always set layout in the broken
11298         paragraph
11299
11300         * lyxtextclass.C (Read): remove lowercase
11301         (hasLayout): ditto
11302         (operator): ditto
11303         (delete_layout): ditto
11304
11305         * lyxtext.h: rename first -> first_y
11306
11307         * lyxlayout.C (Read): remove lowercase
11308         (name): ditto
11309         (setName): ditto
11310         (obsoleted_by): ditto
11311
11312         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11313
11314         * buffer.C (insertErtContents): add params are to InsetERT
11315         (parseSingleLyXformat2Token): add code to check if a paragraphs
11316         layout really exist.
11317         (parseSingleLyXformat2Token): add params to several inset
11318         constructors
11319         (asciiParagraph): remove lowercase, do the layout comparisons with
11320         no_case
11321
11322         * BufferView_pimpl.C (cursorNext): first -> first_y
11323         (resizeCurrentBuffer): first -> first_y
11324         (updateScrollbar): first -> first_y
11325         (scrollCB): first -> first_y
11326         (workAreaMotionNotify): first -> first_y
11327         (workAreaButtonPress): first -> first_y
11328         (checkInsetHit): first -> first_y
11329         (cursorPrevious): first -> first_y
11330         (cursorNext): first -> first_y
11331         (Dispatch): add buffer_->params to severl inset contructors
11332
11333 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11334
11335         * lyxlayout.C (Read): remove some debug info that I forgot.
11336
11337         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11338         clean up the code slightly.
11339         (makeLinuxDocFile): ditto
11340         (makeDocBookFile): ditto
11341
11342         * text2.C: layout as string
11343
11344         * text.C: layout as string
11345
11346         * paragraph_pimpl.C: layout as string
11347
11348         * paragraph.[Ch]: layout as string
11349
11350         * lyxtextclasslist.[Ch]: layout as string
11351
11352         * lyxtextclass.[Ch]: layout as string
11353
11354         * lyxtext.h: layout as string
11355
11356         * lyxlayout.[Ch]: layout as string
11357
11358         * lyx_cb.C: layout as string
11359
11360         * bufferview_funcs.C: layout as string
11361
11362         * bufferparams.C: layout as string
11363
11364         * buffer.C: layout as string
11365
11366         * LyXView.[Ch]: layout as string
11367
11368         * LaTeXFeatures.[Ch]: layout as string
11369
11370         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11371
11372         * BufferView_pimpl.C: change current_layout to string, remove
11373         lyx::layout_type.
11374         (Dispatch):
11375         (smartQuote):
11376         (insertInset):
11377         (workAreaButtonRelease): layout as string
11378
11379         * BufferView2.C (unlockInset): adjust
11380
11381         * vspace.C (asLatexCommand): use an explict temp variable.
11382
11383 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * Makefile.am: use FRONTEND_*
11386
11387 2002-03-01  Juergen Vigna  <jug@sad.it>
11388
11389         * tabular.C (SetWidthOfMulticolCell): changed to something better
11390         I hope but still work in progress.
11391         (recalculateMulticolumnsOfColumn): renamed function from
11392         recalculateMulticolCells as it is more appropriate now.
11393         (SetWidthOfCell): calculate multicols better.
11394
11395 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11396
11397         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11398
11399         * lyxfunc.C (processKeySym): print sequence also if it is
11400         `deleted' (complete)
11401
11402         * kbsequence.C (print): print sequence even if it is deleted
11403         (complete would be a better word, actually).
11404
11405         * lyxfunc.C (dispatch): print complete options after a prefix key
11406
11407         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11408
11409 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11410
11411         * text2.C (setCharFont): eliminate setCharFont code duplication.
11412
11413 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11414
11415         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11416         LFUN_TABULAR_FEATURE (bug #177)
11417
11418 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11419
11420         * Makefile.am: remove figure.h
11421
11422 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11423
11424         * Bufferview_pimpl.C:
11425         * CutAndPasteC:
11426         * LaTeX.C:
11427         * LyXSendto.C:
11428         * buffer.C:
11429         * bufferlist.C:
11430         * converter.C:
11431         * language.C:
11432         * lyxfunc.C:
11433         * lyxvc.C:
11434         * paragraph.C:
11435         * text.C:
11436         * text2.C: remove #include "lyx_gui_misc.h".
11437
11438         * LaTeX.C: added #include <cstdio>
11439
11440 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11443         that the paragraph following this one can have.
11444
11445         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11446
11447         * vspace.C (asLatexCommand): fix bogus gcc warning
11448
11449         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11450
11451 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11452
11453         * text2.C (setLayout): get rid of redundant code
11454
11455 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11456
11457         * text2.C (incDepth): make sure depth cannot be increased beyond
11458         reasonable values.
11459
11460 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11461
11462         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11463         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11464
11465         * PainterBase.h (image):
11466         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11467         a LyXImage const *.
11468
11469 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * BufferView.C:
11472         * BufferView.h:
11473         * BufferView_pimpl.C:
11474         * BufferView_pimpl.h:
11475         * LaTeXFeatures.C:
11476         * LyXAction.C:
11477         * LyXView.C:
11478         * Makefile.am:
11479         * UpdateList.h:
11480         * UpdateList.C:
11481         * buffer.C:
11482         * figure.h:
11483         * figureForm.C:
11484         * figureForm.h:
11485         * figure_form.C:
11486         * figure_form.h:
11487         * lyx_cb.C:
11488         * lyx_gui.C:
11489         * lyx_gui_misc.C:
11490         * lyxfunc.C:
11491         * sp_base.h:
11492         * sp_ispell.h:
11493         * sp_pspell.h:
11494         * sp_spell.C: remove fig inset, and the crap house of
11495           cards that follows it
11496
11497 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * Makefile.am:
11500         * lyxserver.C:
11501         * os2_defines.h:
11502         * os2_errortable.h:
11503         * nt_defines.h: move .h into support/
11504
11505         * vms_defines.h: remove
11506
11507         * WorkArea.C: add space in debug output
11508
11509         * text2.C:
11510         * paragraph.C:
11511         * buffer.C: add WITH_WARNINGS
11512
11513         * vc-backend.h:
11514         * vc-backend.C:
11515         * bufferlist.C: s/retrive/retrieve/, add docs
11516
11517         * vspace.h:
11518         * vspace.C:
11519         * kbmap.h:
11520         * lyxlength.h:
11521         * lyxgluelength.h:
11522         * length_common.h:
11523         * chset.h:
11524         * chset.C: add docs
11525
11526         * lyxgui.C: add ID to X error handler
11527
11528         * lyxtestclass.c: fix typo
11529
11530 2002-02-26  Juergen Vigna  <jug@sad.it>
11531
11532         * tabular_funcs.C (write_attribute): changed so that some default
11533         attributes are not written at all.
11534         (getTokenValue): set default values before trying to read the
11535         value so we have the return value always set as default if we don't
11536         find the token we search for.
11537
11538         * tabular.C (Write): write bools as bools not as strings!
11539
11540 2002-02-22  Juergen Vigna  <jug@sad.it>
11541
11542         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11543         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11544
11545         * text.C (leftMargin): don't add an indent for paragraphs inside
11546         tabular cells (fix #208).
11547
11548 2002-02-21  José Matos  <jamatos@fep.up.pt>
11549
11550         * tabular.C (docBook): fixed support for long tables.
11551
11552 2002-02-20  Juergen Vigna  <jug@sad.it>
11553
11554         * text2.C (getFont): get the drawing font of the Inset if this
11555         paragraph is inside an inset (only important for InsetERT for now).
11556
11557         * buffer.C (insertErtContents): use new lanugage params in ERT
11558         constructor.
11559
11560         * CutAndPaste.C: commenting out seemingly uneeded code.
11561
11562 2002-02-19  Allan Rae  <rae@lyx.org>
11563
11564         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11565         Iterators might be simple to use but they also get invalidated.
11566         (removeAutoInsets): renamed saved cursor tracking variables and added
11567         some comments to clarify what everything does.
11568
11569 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11570
11571         * Chktex.C:
11572         * LaTeX.C:
11573         * LyXSendto.C:
11574         * converter.C:
11575         * lyx_cb.C:
11576         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11577         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11578
11579         * lyxfunc.C:
11580         * vc-backend.h: remove #include "support/syscall.h"
11581
11582         * LaTeX.C:
11583         * LyXSendto.C:
11584         * converter.C: rearrange #includes in Lars' approved fashion.
11585
11586         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11587         forward declare class Timeout in the header file.
11588
11589         * XFormsView.C: changes due to the above.
11590
11591         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11592         similar to LyXView.
11593
11594         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11595         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11596
11597 2002-02-18  José Matos  <jamatos@fep.up.pt>
11598
11599         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11600         insets contents.
11601
11602 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11603
11604         * a lot of small ws changes
11605         * add a lot of using std::XXX
11606         * use std construcs some places where approp.
11607         * use some exisint stuff from lyxfunctional where approp.
11608         * Make file changes to use partial linking (lets test this now...)
11609
11610 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11611
11612         * Chktex.C:
11613         * buffer.C:
11614         remove #include "support/syscontr.h" as it's redundant. Always has been.
11615
11616         * Chktex.C:
11617         * LaTeX.C:
11618         * LyXSendto.C:
11619         * converter.C:
11620         * lyx_cb.C:
11621         * vc-backend.C:
11622         change Systemcalls::System to Systemcalls::Wait and
11623         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11624         No change of functionality, just reflects the stripped down Systemcalls
11625         class.
11626
11627 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11628
11629         * debug.[Ch]: add a GRAPHICS type to the enum.
11630
11631 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11632
11633         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11634
11635         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11636         there is an inset.
11637
11638 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11639
11640         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11641         match the changes below.
11642
11643         * text2.C (toggleInset): if there is not editable inset at cursor
11644         position, try to see if cursor is _inside_ a collapsable inset
11645         and close it.
11646
11647 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11648
11649         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11650         document menu has a nice checkbox
11651
11652 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11653
11654         * lyxlength.C (asLatexString): change PW to output as percent of
11655         \textwidth.
11656
11657         * lengthcommon.C: change '%' to 't%'
11658
11659         * lyxfunc.C (dispatch): a few comments from Martin
11660
11661 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11662
11663         * WorkArea.h:
11664         * WorkArea.C:
11665         * BufferView_pimpl.h:
11666         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11667           the X selection.
11668
11669 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11670
11671         * vspace.C (inPixels): fix compiler warning
11672
11673 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11674
11675         * lyxfunc.C (getStatus): fix status message for disabled commands.
11676
11677 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * BufferView_pimpl.C: fix crash on close buffer
11680         during selection (#227)
11681
11682 2002-01-27  Herbert Voss  <voss@lyx.org>
11683
11684         * buffer.C: link old Figure to new graphic inset
11685
11686 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11687
11688         * FontLoader.C (getFontinfo): Change the latex font names in order
11689         to match the names of type1inst.
11690
11691 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11694
11695         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11696         (extchanged): ditto
11697         (ext_exist): ditto
11698         (remove_files_with_extension): ditto
11699         (remove_file): ditto
11700         (write): ditto
11701
11702         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11703         document is smaller than the work area height. Do not initialize
11704         static variables to 0.
11705
11706 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11707
11708         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11709
11710         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11711         LFUN_LAYOUT_PARAGRAPHS.
11712
11713         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11714         tabular. It is possible to provide a possible cell, which will
11715         typically be the actcell from the corresponding insettabular
11716
11717         * lyxfunc.C (getStatus): small cleanup; disable
11718         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11719         true
11720
11721 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11722
11723         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11724
11725         * paragraph.C (startTeXParParams):
11726         (endTeXParParams): new methods. The LaTeX code to
11727         start/end paragraph formatting
11728         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11729         empty (fixes bug #200)
11730
11731         * vspace.C (inPixels): adapt to the change below
11732         (inPixels): [later] more cleanups (remove unused variables)
11733
11734         * lyxlength.C (inPixels): change to use a width and a height as
11735         parameter.
11736
11737 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11738
11739         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11740         Replaced with \paperwidth
11741
11742         * DepTable.C (insert): add std:: qualifier
11743
11744 2002-01-18  Allan Rae  <rae@lyx.org>
11745
11746         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11747         updated also?
11748
11749         * text.C (drawInset): Turned out I didn't know enough about how
11750         rebreaking worked.  This fixes most of the redraw problems.  I see
11751         an occasional cursor trail when a line is broken now and the cursor
11752         placement can seem out by a few pixels also after a rebreak.
11753
11754 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11755
11756         * buffer.C (parseSingleLyXformat2Token): update because minipage
11757         width is now a LyXLength
11758
11759         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11760
11761         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11762         math insets
11763
11764 2002-01-17  Juergen Vigna  <jug@sad.it>
11765
11766         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11767
11768         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11769         is set correctly and the inset is updated correctly.
11770
11771 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11772
11773         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11774         the beginning of the loop.
11775
11776 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11777
11778         * lyxrc.C: improve help for use_scalable_fonts
11779
11780 2002-01-17  Allan Rae  <rae@lyx.org>
11781
11782         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11783
11784 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11785
11786         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11787         make sure to set their inset_owner to the right value (bug #171)
11788
11789 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11790
11791         * DepTable.h
11792         * DepTable.C: Implement mtime checking to reduce time spent doing
11793         CRCs.
11794
11795 2002-01-16  Juergen Vigna  <jug@sad.it>
11796
11797         * tabular.C (GetAdditionalHeight): one of error fixed.
11798
11799         * lyxrc.C (output): small fix in writing use_pspell.
11800
11801 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11802
11803         * sp_base.h: #include LString.h
11804
11805 2002-01-16  Allan Rae  <rae@lyx.org>
11806
11807         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11808         Can someone check this please?
11809
11810         * text.C (drawInset): It was possible that p.row would be removed by
11811         breakAgainOneRow upsetting a few other settings.  There may be another
11812         small tweak possible by setting need_break_row = 0 when p.row has been
11813         removed but I don't know enough about the logic here.
11814
11815 2002-01-15  Allan Rae  <rae@lyx.org>
11816
11817         * text.C (insertChar): removed conditional truism.
11818
11819         * BufferView2.C (removeAutoInsets): More tweaks.
11820         cur_par_prev could be a stray pointer.  Check for trailing empty line
11821         in case last line was cur_par and only had an error inset on it.
11822
11823 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11826         absolute
11827
11828         * vc-backend.C (most methods):
11829         * exporter.C (Export):
11830         * converter.C (convert):
11831         (runLaTeX):
11832         * LyXSendto.C (SendtoApplyCB):
11833         * lyxfunc.C (dispatch):
11834         (menuNew):
11835         (open):
11836         (doImport):
11837         * lyx_cb.C (AutoSave):
11838         (InsertAsciiFile):
11839         * BufferView_pimpl.C (MenuInsertLyXFile):
11840         * buffer.C (runChktex): use Buffer::filePath().
11841
11842         * buffer.h: rename filename to filename_; rename filepath to
11843         filepath_ and make it private
11844         (filePath): new method
11845
11846         * buffer.C (writeFile): use fileName()
11847         (getLatexName):
11848
11849         * lyx_main.C (init): fix starting  of LyX when the binary is a
11850         link from so,ewhere else.
11851
11852         * minibuffer.C: include <cctype> for isprint
11853
11854 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11855
11856         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11857         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11858         name clash with InsetCollapsable's width function.
11859
11860 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * lastfiles.C: include <iterator>
11863
11864 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11867         std::count.
11868
11869         * buffer.C (makeLaTeXFile): ditto.
11870         Also make loop operation more transparent.
11871
11872 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11873
11874         * ToolbarDefaults.C: remove trailing comma closing namespace.
11875
11876         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11877
11878         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11879         as in WorkArea.
11880
11881         * trans.C (Load): comment out unused variable, allowed.
11882
11883 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11884
11885         * minibuffer.[Ch] (append_char): new method to recieve input from the
11886         drop-down completion browser. If a key was pressed, then recieve this
11887         char and append it to the existing string.
11888         (peek_event): modify the positioning data passed to the completion
11889         browser so that it can be placed above the minibuffer rather than below.
11890 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * LyXAction.C (init): alloe error-next for readonly documents.
11893
11894         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11895         count.
11896
11897 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * bufferlist.C (readFile): create the buffer _after_ checking that
11900         the file exists.
11901
11902         * lyxfunc.C (verboseDispatch): fix handling of arguments
11903
11904         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11905
11906         * lyxrc.C: use string::erase() instead of initializing to "".
11907
11908
11909 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * BufferView_pimpl.h:
11912         * BufferView_pimpl.C:
11913         * WorkArea.h:
11914         * WorkArea.C:
11915         * text2.C: tell X when we have made a selection for copying
11916
11917 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11918
11919         * BufferView_pimpl.C (MenuInsertLyXFile):
11920         * lyxfunc.C (menuNew):
11921         (open):
11922         (doImport): add shortcuts to directory buttons
11923
11924         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11925         open a float)
11926
11927         * lyxfunc.C (setStatusMessage):
11928         (getStatusMessage): new methods
11929         (getStatus):use setStatusMessage instead of setErrorMessage
11930         (dispatch): when function is disabled, set error message here
11931         [instead of in getStatus previously]
11932
11933         * BufferView_pimpl.C (workAreaButtonRelease): update
11934         toolbar/menubar here too.
11935
11936 2002-01-13  Allan Rae  <rae@lyx.org>
11937
11938         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11939         Now seems indestructible.  Remaining task is to audit all other
11940         code affected by deleteEmptyParagraphMechanism.  One small quirk
11941         left is that an empty document with an error in the preamble can
11942         be made to report an error but no error box appears.  I don't know
11943         where it goes.
11944         (removeAutoInsets): Improved comments.
11945
11946 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * Thesaurus.h:
11949         * Thesaurus.C: update for Aiksaurus 0.14
11950
11951 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11952
11953         * text2.C (firstParagraph): removed member function, all uses
11954         replaces with ownerParagraph
11955         (redoParagraphs): here
11956         (updateInset): here
11957         (toggleAppendix): here
11958         * BufferView2.C (insertErrors): here
11959         (setCursorFromRow): here
11960
11961 2002-01-13  Allan Rae  <rae@lyx.org>
11962
11963         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11964         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11965         There is still a way to segfault this although you may have to do this
11966         multiple times: Have an InsetERT with an unknown command in it.
11967         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11968         <down-arrow>, <Enter> again, View->DVI, BANG!
11969
11970         * text2.C (setCursor):
11971         (deleteEmptyParagraphMechanism):
11972         * lyxtext.h (setCursor):
11973         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11974         Making use of the return value may help fix other bugs.
11975
11976 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11977
11978         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11979
11980         * LyXView.C (updateMenubar): call MenuBar::update here
11981         (updateToolbar): but not here
11982         (showState): do not update toolbar/menubar
11983
11984         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11985         should need to care about that.
11986
11987         * lyxfunc.C (verboseDispatch): simplify a bit
11988         (getStatus): have a version which takes a pseudoaction, and
11989         another which requires a (kb_action,string).
11990
11991         * LyXAction.C (retrieveActionArg): make it work also when action
11992         is not a pseudo-action.
11993         (getActionName): simplify a bit
11994         (helpText):
11995
11996 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * lyxfunc.C (verboseDispatch): new families of methods with
11999         several ways to specify a command and a bool to indicate whether
12000         the command name and shortcut should be displayed in minibuffer
12001         (eventually, we could extend that to a finer bitmask like
12002         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12003         (dispatch): the pristine dispatch command which just, well,
12004         dispatchs! Note it still sets its result to minibuffer; I'm not
12005         sure we want that.
12006
12007         * lyxfunc.h: remove setHintMessage
12008
12009         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12010
12011 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12012
12013         * BufferView_pimpl.C (specialChar): delete new inset if we have
12014         not been able to insert it.
12015
12016         * kbmap.C: revert to using int instead of kb_action, since all we
12017         are dealing with is pseudo-actions.
12018
12019         * LyXAction.C (searchActionArg): change to return int instead of
12020         kb_action, since the result is a pseudoaction.
12021
12022 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12023
12024         * buffer.C (insertErtContents): Fix (partially) the font bug.
12025
12026 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12027
12028         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12029         as the other one is broken on my machine!
12030
12031 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12032
12033         * commandtags.h:
12034         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12035
12036 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12037
12038         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12039         reflect their actual use. Provide compatibility code for older lyxrc
12040         files.
12041
12042         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12043         FL_NORMAL_STYLE.
12044         change names of popup font variables in line with the changes to lyxrc.C
12045
12046 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * buffer.C (asciiParagraph): avoid outputing a word twice after
12049         an inset.
12050
12051         * lyxrc.C (getDescription): document that document_path and
12052         template_path can be empty.
12053
12054 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12055
12056         * LaTeXFeatures.C (getMacros):
12057         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12058
12059         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12060
12061         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12062         getPackages.
12063         (getPackages): rename feature "floats" to "float". Use an array to
12064         iterate over 'simple' features (i.e. just a \usepackage). Add
12065         handling of "amsmath" (renamed from "amsstyle").
12066
12067 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12068
12069         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12070         features list.
12071
12072 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12073
12074         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12075         FuncStaus::FuncStatus & FuncStaus::some_method().
12076
12077 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12078
12079         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12080         of the func_satus stuff. Edited and massaged in various ways by
12081         JMarc.
12082
12083         * lyxfunc.C (getStatus): use FuncStatus
12084
12085 2002-01-08  Juergen Vigna  <jug@sad.it>
12086
12087         * text.C (nextBreakPoint): use function Inset::isChar().
12088
12089         * paragraph.C (TeXOnePar): use function
12090         Inset::forceDefaultParagraphs.
12091
12092         * buffer.C (latexParagraphs): use function
12093         Inset::forceDefaultParagraphs.
12094
12095 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12096
12097         * lyx_gui.C (init): set the style of the menu popups to
12098         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12099
12100 2002-01-07  Juergen Vigna  <jug@sad.it>
12101
12102         * text.C (setHeightOfRow): small fix
12103         (prepareToPrint): don't look at alignment if we don't have the place
12104         for doing it.
12105
12106 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12107
12108         * box.C: New file. Move the Box methods and functions out of box.h,
12109         following Lars' suggestion.
12110
12111 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12112
12113         * box.h: #include "support/LOstream.h", needed for inlined function.
12114
12115         * lyxtextclass.C:
12116         * lyxtextclasslist.C: added some using std declarations.
12117
12118 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * box.h: make signed dimensions to allow insets wider than
12121           the screen (bug #162)
12122
12123         * BufferView_pimpl.C: add some insetHit debug
12124
12125 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * vc-backend.C: add FIXME
12128
12129 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12130
12131         * lyxfunc.C (getStatus): enable code for showing math font status
12132         in toolbar/menu.
12133
12134 2002-01-07  Juergen Vigna  <jug@sad.it>
12135
12136         * text.C (nextBreakPoint): removed debug output not needed anymore.
12137
12138 2002-01-06  Juergen Vigna  <jug@sad.it>
12139
12140         * text.C (nextBreakPoint): fixed up this function we had this bug
12141         since ever but now hopefully we break row better.
12142         (insertChar): we have to check if an inset is the next char as it
12143         could now happen that a large inset is causing a break.
12144
12145 2002-01-05  Juergen Vigna  <jug@sad.it>
12146
12147         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12148         if it doesn't like to be drawed.
12149
12150 2002-01-04  Juergen Vigna  <jug@sad.it>
12151
12152         * BufferView2.C (lockInset): forgot to set a cursor.
12153
12154         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12155
12156 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12157
12158         * FormMathsPanel.C:
12159         * FormMathsPanel.h
12160         * MathsSymbols.C:
12161         * form_maths_panel.C:
12162         * form_maths_panel.h:
12163         * form_maths_panel.fd: implemented sub- and super- buttons in math
12164         panel.
12165
12166         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12167         (or ^ space) to be used as in TeX (req'd by André).
12168
12169         * lyxfunc.C: Allow ^ and _ again to be used both as
12170         super/subscript (mathed) and as themselves (in text).
12171
12172 2002-01-03  Allan Rae  <rae@lyx.org>
12173
12174         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12175         "LyX" or the filename of the current buffer if it has one.  This is a
12176         modified form of John Levon's patch.
12177
12178         * XFormsView.C (setWindowTitle): also set icon title.
12179
12180         * LyXView.h (setWindowTitle): signature changed.
12181         * XFormsView.h (setWindowTitle): ditto.
12182
12183 2002-01-02  Juergen Vigna  <jug@sad.it>
12184
12185         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12186
12187 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * screen.C (topCursorVisible): introduce a temp var for
12190         text->cursor.row(), handle the case where this row is null. (kindo
12191         hachish)
12192
12193         * text2.C (setCursor): add a couple of asserts.
12194
12195         * paragraph.h (inset_iterator): add -> operator
12196
12197         * paragraph.[Ch] (autoDeleteInsets): remove member function
12198
12199         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12200         cursor pos correctly and handle inset deletion by itself.
12201         (insertErrors): move iterator declaration out of for expression
12202
12203         * lyxtextclass.C: add <algorithm>
12204
12205         * Makefile.am: added the new files to sources, removed layout.C
12206
12207         * layout.C: removed file
12208
12209         * layout.h: remove LYX_DUMMY_LAYOUT
12210
12211         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12212         layout.
12213
12214         * lyxlayout.[Ch]:
12215         * lyxtextclass.[Ch]:
12216         * lyxtextclasslist.[Ch]: new files
12217
12218         * include order changes to a lot of files, also changes because of
12219         the six new files.
12220
12221 2001-12-27  Juergen Vigna  <jug@sad.it>
12222
12223         * buffer.C (asciiParagraph): more fixes.
12224
12225         * tabular.C (ascii): make ascii export support export of only the
12226         data separated by a column-delimiter.
12227         (ascii): better support for ascii export.
12228
12229         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12230
12231 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12232
12233         * tabular_funcs.C: use a "using std::getline" instead of the
12234         previous fix from Angus (necessary for cxx + lyxstring)
12235
12236 2001-12-24  Juergen Vigna  <jug@sad.it>
12237
12238         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12239
12240         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12241         problems. First check a minipage also if we have some ert-contents
12242         (not only on par->size(), second set the right depth of the paragraph
12243         on the relink to the root-paragraph-list!
12244
12245         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12246         which then did not anymore update the main paragraphs on undo/redo!
12247
12248 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12251         code. Support all font-changing funcs (even those which are not in
12252         menu currently). Support for reporting font settings in
12253         mathed (disabled until Andre provides a function on mathed's side).
12254
12255         * func_status.h (toggle): small helper function to set toggle
12256         state on a flag.
12257
12258 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12259
12260         * tabular_funcs.C: getline -> std::getline
12261
12262 2001-12-21  Juergen Vigna  <jug@sad.it>
12263
12264         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12265         accessed and could be 0 (I couldn't generate this but it seems
12266         Michael could!).
12267
12268 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12271         * tabular_funcs.h: here and include iosfwd
12272
12273 2001-12-20  Juergen Vigna  <jug@sad.it>
12274
12275         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12276         inside inset but undo_par was.
12277
12278 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12279
12280         * Thesaurus.C: always include <config.h> in sources.
12281
12282         * Painter.h:
12283         * lyxlookup.h:
12284         * box.h: do not include <config.h> in header files
12285
12286         * text.C (paintLastRow): remove unused variable
12287
12288         * text.C (transformChar):
12289         (insertChar):
12290         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12291
12292         * Painter.C (text):
12293         * font.C (width): rewrite to use uppercase() instead of
12294         islower/toupper.
12295
12296         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12297
12298 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * lyxfind.C: clean up of find failure position change
12301
12302 2001-12-20  Juergen Vigna  <jug@sad.it>
12303
12304         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12305
12306         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12307         (TeXRow): added to LaTeX a single tabular row.
12308         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12309         (Latex): simplified and finally good LT-h/f support.
12310         (various_functions): just small adaptions for LT-h/f support.
12311
12312         * tabular_funcs.[hC]: added and moved here all not classfunctions
12313         of LyXTabular.
12314
12315 2001-12-19  Juergen Vigna  <jug@sad.it>
12316
12317         * tabular.[Ch]: better support for longtabular options (not finished
12318         yet!)
12319
12320 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12321
12322         * text.C (paintLastRow): use the label font instead of the font of
12323         the last character to compute the size of *_BOX. This makes more
12324         sense and avoids a crash with empty paragraphs.
12325         Use Painter::rectangle to draw EMPTY_BOX.
12326
12327 2001-12-19  Juergen Vigna  <jug@sad.it>
12328
12329         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12330         the paragraphs if the replaced paragraph is not the first one!
12331         Tried to delete not used paragraphs but does not work yet so for
12332         now it's inside #ifdef's and by default off!
12333
12334 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12335
12336         * MenuBackend.C: include "lyx_main.h" instead of declaring
12337         lastfiles (actually was declared as LastFiles* instead of a
12338         scoped_ptr).
12339
12340 2001-12-17  Juergen Vigna  <jug@sad.it>
12341
12342         * tabular.C (AppendColumn): applied John's fix
12343
12344 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * BufferView.h:
12347         * BufferView.C:
12348         * BufferView_pimpl.h:
12349         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12350
12351         * Makefile.am:
12352         * box.h: new start of class for above
12353
12354         * lyxfunc.C: ignore space-only minibuffer dispatches.
12355           Show the command name when it doesn't exist
12356
12357         * minibuffer.C: don't add empty lines to the history
12358
12359         * minibuffer.C: add a space on dropdown completion
12360
12361 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * text.C: fix line above/below drawing in insets
12364
12365 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * lyxlength.C (LyXLength): Initialize private variables.
12368
12369 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12370
12371         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12372         when inserting error insets.
12373
12374 2001-12-13  Juergen Vigna  <jug@sad.it>
12375
12376         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12377         actually sometimes the before-paragraph.
12378         (setUndo): don't clear the redostack if we're not actually undoing!
12379
12380 2001-12-06  Juergen Vigna  <jug@sad.it>
12381
12382         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12383         and fixed redoing of main paragraph, so we can use it now ;)
12384
12385         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12386
12387 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12388
12389         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12390         Juergen's request
12391
12392 2001-12-13  André Pönitz <poenitz@gmx.net>
12393
12394         * undostack.[Ch]:
12395         * undo_func.C: minor cleanup
12396
12397 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12398
12399         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12400         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12401         font in urw-fonts package which is marked as -urw-fontspecific and
12402         does not work (incidentally, changing the encoding in the
12403         fonts.dir of this package to -adobe-fontspecific fixes the
12404         problem).
12405
12406         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12407         is a crash when undoing first paragraph (Juergen, please take a
12408         look). THis does not mean the undo fix is wrong, just that it
12409         uncovers problems.
12410
12411         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12412         the (Paragraph*) version when needed instead of duplicating the
12413         code.
12414
12415         * text.C (workWidth): use Inset::parOwner to find out where the
12416         inset has been inserted. This is a huge performance gain for large
12417         documents with lots of insets. If Inset::parOwner is not set, fall
12418         back on the brute force method
12419
12420         * paragraph_pimpl.C (insertInset):
12421         * paragraph.C (Paragraph):
12422         (cutIntoMinibuffer): set parOwner of insets when
12423         inserting/removing them
12424
12425         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12426
12427 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12428
12429         * commandtags.h:
12430         * LyXAction.C:
12431         * lyx_main.C:
12432         * lyxfunc.C:
12433         * mathed/formulabase.C:
12434         * mathed/math_cursor.[Ch]:
12435         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12436
12437
12438 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * lyxlength.[Ch] (operator!=): new function
12441
12442 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12443
12444         * text.C (workWidth): use Inset::parOwner to find out where the
12445         inset has been inserted. This is a huge performance gain for large
12446         documents with lots of insets. If Inset::parOwner is not set, fall
12447         back on the brute force method
12448
12449         * paragraph_pimpl.C (insertInset):
12450         * paragraph.C (Paragraph):
12451         (cutIntoMinibuffer): set parOwner of insets when
12452         inserting/removing them
12453
12454         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12455
12456 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12457
12458         * tabular-old.C (getTokenValue):
12459         * tabular.C (getTokenValue):
12460         (write_attribute): new versions for LyXLength
12461         (everywhere): adjust the use of widths
12462
12463         * tabular.h: change the type of widths from string to LyXLength
12464
12465 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12466
12467         * paragraph.C: fixed missing line number count when exporting
12468         Environments to LaTeX file
12469
12470         * buffer.C: added informational message for checking line numbers.
12471
12472 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12475         paragraph, do the 'double space' part, but not the 'empty
12476         paragraph' one.
12477
12478         * text.C (workWidth): small optimization
12479         (getLengthMarkerHeight): use minimal size for negative lengths.
12480
12481 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12482
12483         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12484
12485         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12486
12487 2001-12-11  André Pönitz <poenitz@gmx.net>
12488
12489         * FontLoader.C:
12490         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12491
12492 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * text2.C: keep selection on a setFont()
12495
12496 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * lyx_cb.C: another bv->text misuse, from insert label
12499
12500 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * kbsequence.h:
12503         * kbsequence.C: re-instate nmodifier mask
12504
12505 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12506
12507         * lyx_main.h: make lyxGUI private.
12508
12509 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12510
12511         * lyxfind.C: place the cursor correctly on failed search
12512
12513 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * text.C (getLengthMarkerHeight): for small heights, the arrows
12516         are not always on top/bottom of the text
12517         (drawLengthMarker): smaller arrows; take the left margin in
12518         account; draw also vfills.
12519         (paintFirstRow):
12520         (paintLastRow): remove special code for vfill and standard spaces,
12521         since everything is handled in drawLengthMarker now.
12522
12523 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12524
12525         * buffer.C (insertErtContents): try to handle font and language
12526         interaction a bit better.g
12527
12528         * ColorHandler.C (updateColor): change the hash to cover the whole
12529         LColor enum, ws cleanup
12530         (getGCLinepars): ditto
12531         (getGCLinepars): only lookup in the linecache once.
12532
12533 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12534
12535         * iterators.C (operator++): Make the iterator more robust
12536
12537         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12538         (John's patch)
12539         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12540
12541 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * lyxtext.h:
12544         * text.C: better added space drawing
12545
12546 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12547
12548         * LyXView.C:
12549         * BufferView2.C: fix layout combo update on inset unlock
12550
12551 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * Makefile.am: don't compile unused files
12554
12555 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12556
12557         * lyxfunc.C:
12558         * commandtags.h:
12559         * LyXAction.C: remove old LFUN_LAYOUTNO
12560
12561 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * paragraph_pimpl.h:
12564         * paragraph_pimpl.C: isTextAt() doesn't need font param
12565
12566 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * lyxlex.h:
12569         * lyxlex.C: little cleanup
12570
12571 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * BufferView_pimpl.C: fix insertAscii for insets
12574
12575 2001-12-05  Juergen Vigna  <jug@sad.it>
12576
12577         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12578         set the right font on the "multi" paragraph paste!
12579
12580 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12581
12582         * trans_decl.h:
12583         * trans_mgr.[Ch]:
12584         * trans.[Ch]:
12585         * lyxgluelength.C:
12586         * lyxlength.C: remove out-commented code.
12587
12588         * BufferView_pimpl:
12589         * CutAndPaste.C:
12590         * DepTable.C:
12591         * buffer.C:
12592         * chset.C:
12593         * lastfiles.C:
12594         * lyxlex.C:
12595         * lyxlex_pimpl.C:
12596         * lyxserver.C:
12597         * screen.C:
12598         * tabular-old.C:
12599         * tabular.C:
12600         * text.C:
12601         * trans_mgr.C:
12602         * vc-backend.C: change "while(" to "while ("
12603
12604         * lyxlength.[Ch]: add zero function to check if length is zero or
12605         not
12606         * lyxgluelength.C: use it
12607
12608 2001-12-05  Allan Rae  <rae@lyx.org>
12609
12610         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12611         Works for 2.95.3, from what I understand of Garst's reports this should
12612         work for other g++ versions.  We're screwed if the abs(int) definition
12613         changed between bugfix releases of gcc.
12614
12615 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * text.C: fix chapter label offset !
12618
12619 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * lyxtext.h:
12622         * text.C: fix hfill at end of line, clean up
12623
12624 2001-12-04  Juergen Vigna  <jug@sad.it>
12625
12626         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12627         that we force an update of the inset and it's owners if neccessary.
12628
12629 2001-12-03  Juergen Vigna  <jug@sad.it>
12630
12631         * text.C (rowLast): simplified code
12632
12633 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * lyxfunc.C: fix show options on timeout
12636
12637 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * screen.C (topCursorVisible): scroll half a page when the cursor
12640         reached top of bottom of screen
12641
12642 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * minibuffer.C: deactivate on loss of focus
12645
12646 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12647
12648         * vspace.[Ch] (operator!=): add operator.
12649
12650 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12651
12652         * BufferView_pimpl.C: refuse to open an inset when
12653         there's a selection.
12654
12655 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * BufferView_pimpl.C: allow to click on RHS of full row insets
12658
12659 2001-11-30  Juergen Vigna  <jug@sad.it>
12660
12661         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12662         insets for undo reasons.
12663
12664 2001-11-28  André Pönitz <poenitz@gmx.net>
12665
12666         * vspace.[Ch]: cosmetical changes
12667
12668 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12669
12670         * LyXAction.h:
12671         * LyXAction.C:
12672         * lyxfunc.h:
12673         * lyxfunc.C:
12674         * kbmap.h:
12675         * kbmap.C:
12676         * lyxrc.C:
12677         * kbsequence.h:
12678         * kbsequence.C: part re-write of old kb code
12679
12680         * Painter.C:
12681         * WorkArea.C: remove Lgb_bug_find_hack
12682
12683 2001-11-30  José Matos <jamatos@fep.up.pt>
12684
12685         * buffer.C (makeDocBookFile): add a comment to point a hack.
12686         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12687         Fixed a double write of labels.
12688
12689 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12690
12691         * LaTeX.C:
12692         * LaTeX.h Fixed bug in LaTeX class where it would not
12693         re-run latex if no depfiles were changed, but the .dvi was removed.
12694
12695 2001-11-28  André Pönitz <poenitz@gmx.net>
12696
12697         * all the files from the change on 2001/11/26:
12698         use lyx::layout_type instead of LyXTextClass::size_type
12699         use lyx::textclass_type instead of LyXTextClassList::size_type
12700
12701 2001-11-29  Juergen Vigna  <jug@sad.it>
12702
12703         * text.C: added support for paragraph::isFreeSpacing()
12704
12705         * buffer.C: same as above
12706
12707         * paragraph.h: inserted isFreeSpacing() function to enable
12708         FreeSpacing inside InsetERT.
12709
12710         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12711         of the paragraph's in the cut/copy buffer to 0!
12712
12713         * text2.C (removeRow): remove the assert as it can!
12714
12715         * lyxtext.h: added helper function firstRow returning firstrow and
12716         made firstrow private again.
12717
12718         * BufferView2.C (lockInset): don't relock if we're already locked!
12719
12720         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12721         the only paragraph.
12722         (removeRow): added Assert::(firstrow)
12723
12724         * debug.C: forgot to add INSETTEXT here.
12725
12726 2001-11-28  Juergen Vigna  <jug@sad.it>
12727
12728         * sp_spell.C (initialize): changed error text to more general
12729         spellchecker command use (not only ispell!)
12730
12731         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12732
12733         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12734
12735 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * vspace.C: initialise lyxgluelength on failure
12738
12739 2001-11-28  Allan Rae  <rae@lyx.org>
12740
12741         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12742         declaration & definition that looks like a function declaration.
12743
12744 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * BufferView2.C (copy):
12747         (copyEnvironment): do not clear the selection when doing a copy.
12748
12749         * text.C (paintFirstRow): compilation fix
12750
12751 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12752
12753         * tabular.C (Latex): correct line count when writing latex.
12754
12755 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12756
12757         * paragraph_pimpl.h:
12758         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12759           bug a bit
12760
12761 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * text.C:
12764         * LColor.h:
12765         * LColor.C: change vfillline->added_space
12766
12767         * text.C: add markers and text for added space
12768
12769         * vspace.C: fix comment
12770
12771 2001-11-28  André Pönitz <poenitz@gmx.net>
12772
12773         * paragraph.C: whitespace changes
12774         * all the other files from the change on 2001/11/26:
12775         change *::pos_type into lyx::pos_type
12776
12777 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12778
12779         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12780         language of the document when inserting error insets.
12781
12782 2001-11-26  André Pönitz <poenitz@gmx.net>
12783
12784         * BufferView_pimpl.[Ch]:
12785         *       CutAndPaste.C:
12786         * buffer.[Ch]:
12787         * lyxcursor.[Ch]:
12788         * lyxfind.C:
12789         * lyxfunc.C:
12790         * lyxrow.[Ch]:
12791         * paragraph.[Ch]:
12792         * paragraph_pimpl.[Ch]:
12793         * sp_spell.C:
12794         * text.C:
12795         * text2.C: reduce header dependencies, introduce type for positions
12796
12797 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * <various>: change to use Alert.h
12800
12801 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12802
12803         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12804         when encountering an unknown token.
12805         (readLyXformat2): Show an error message if there were unknown tokens.
12806
12807 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * BufferView2.C:
12810         * BufferView_pimpl.C:
12811         * buffer.C:
12812         * paragraph.h:
12813         * text.C:
12814         * text2.C: use par->isInset()
12815
12816 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12817
12818         * paragraph_pimpl.h:
12819         * paragraph_pimpl.C: cleanup
12820
12821 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * text2.C (removeRow):
12824         * text.C (setHeightOfRow): remove useless (and costly) call to
12825         getRow.
12826
12827 2001-11-20  Allan Rae  <rae@lyx.org>
12828
12829         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12830         Now need Inset*::checkInsertChar() to return true for appropriate
12831         cases so that the characters in the minibuffer will actually be
12832         inserted.
12833
12834 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * text.C: change the order of the includes.
12837         (workWidth): initialize it at once.
12838         (workWidth): make maxw unsigned
12839         (setHeightOfRow): remove unused variable (inset)
12840         (selectSelectedWord): remove unused variable (inset)
12841         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12842
12843 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12844
12845         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12846         server is not running.
12847         (openConnection):
12848         (closeConnection): add debug info when server is disabled.
12849
12850         * ColorHandler.C (getGCForeground): send debug message to GUI
12851         channel.
12852
12853         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12854
12855         * kbmap.C (bind): modify because return conventions of
12856         kb_sequence::parse have changed.
12857
12858         * kbsequence.C (parse): only ignore spaces and not any stupid
12859         control character. This avoids tests like s[i] <= ' ', which are
12860         guaranteed to fail with 8bit characters and signed chars.
12861         Change return code to string::npos when there have been no error
12862         (0 was a bad idea when error is at first character)
12863
12864 2001-11-14  José Matos  <jamatos@fep.up.pt>
12865
12866         * buffer.h:
12867         * buffer.C (simpleDocBookOnePar): removed unused argument.
12868
12869 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12870
12871         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12872         insets which are part of a word. Paragraph::isLetter takes care of
12873         that now. Use Paragraph::isInset to identify insets.
12874         (selectSelectedWord): do not test for hyphenation break.
12875
12876         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12877         that protected spaces are considered as spaces.
12878
12879         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12880         Inset::isLetter.
12881
12882 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * lyxserver.h:
12885         * lyxserver.C: fix it. and small cleanup.
12886
12887 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * BufferView_pimpl.C: use inline helpers
12890
12891         * LaTeXFeatures.h:
12892         * LaTeXFeatures.C: fix typos
12893
12894         * Spacing.h:
12895         * Spacing.C: move spacing_string into class
12896
12897         * ToolbarDefaults.C: move stuff into namespace anon
12898
12899         * layout.h: update enum
12900
12901         * lyxfunc.C: use better debug
12902
12903         * minibuffer.h: fix typo
12904
12905         * debug.h:
12906         * debug.C:
12907         * WorkArea.C: add and use Debug::WORKAREA
12908
12909         * lyxtext.h:
12910         * text.C:
12911         * text2.C: code re-organisation, inline helpers
12912
12913 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12914
12915         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12916         std::vector.empty().
12917
12918 2001-11-09  Allan Rae  <rae@lyx.org>
12919
12920         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12921         '\n's after tables.  Tabular and ERT inset work now makes this no
12922         longer necessary.
12923
12924 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * minibuffer.h:
12927         * minibuffer.C: fix crash, improve drop-down completion
12928
12929 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * lyxserver.h:
12932         * lyxserver.C: invalidate fd's when doing endPipe()
12933
12934 2001-11-08  José Matos  <jamatos@fep.up.pt>
12935
12936         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12937         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12938
12939         * paragraph.h:
12940         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12941
12942 2001-11-07  José Matos  <jamatos@fep.up.pt>
12943
12944         * buffer.h:
12945         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12946         const qualifier.
12947
12948         * buffer.C (sgmlOpenTag):
12949         * buffer.C (sgmlCloseTag): removed debug info.
12950
12951         * buffer.h (sgmlOpenTag):
12952         * buffer.h (sgmlCloseTag): made public.
12953
12954 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12955
12956         * buffer.C (saveParamsAsDefaults):
12957         * lyx_cb.C (MenuLayoutSave): remove
12958
12959         * LyXAction.C (init):
12960         * commandtags.h:
12961         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12962
12963 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12964
12965         * buffer.C (setPaperStuff): removed from here...
12966
12967         * bufferparams.C (setPaperStuff): ... and moved there.
12968
12969 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12970
12971         * minibuffer.h:
12972         * minibuffer.C:
12973         * XFormsView.C: add support for drop-down completion
12974
12975 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12976
12977         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12978         commands.
12979
12980 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12981
12982         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12983         disabled.
12984
12985 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * lyx_main.C: change ref to known bugs
12988
12989 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12990
12991         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12992         to work around older babel problems.
12993
12994 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12995
12996         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12997
12998 2001-10-24  Juergen Vigna  <jug@sad.it>
12999
13000         * tabular-old.C (ReadOld): below variable changes reflected.
13001
13002         * tabular.[Ch]: added ltType struct for longtable header/footer
13003         defines and changed all instances where they are used. Added
13004         future support for double top/bottom rows.
13005
13006 2001-10-24  José Matos  <jamatos@fep.up.pt>
13007
13008         * buffer.h (docbookHandleCaption):
13009         * buffer.C (docbookHandleCaption): removed unused function.
13010         (makeDocBookFile): moved docbook supported version to v4.1.
13011
13012 2001-10-24  José Matos  <jamatos@fep.up.pt>
13013
13014         * tabular.h:
13015         * tabular.C (docbookRow): new function to export docbook code of a row.
13016         (DocBook): now honors the longtable flags.
13017
13018 2001-10-23  José Matos  <jamatos@fep.up.pt>
13019
13020         * LaTeXFeatures.h:
13021         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13022         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13023
13024         * buffer.C (makeLinuxDocFile):
13025         (makeDocBookFile): reworked the preamble, more clean, and with
13026         support for lyx defined entities. Changed the document declaration
13027         to be more XML friendly.
13028
13029         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13030         if we need to output XML that should be done with a filter.
13031
13032 2001-10-22  Juergen Vigna  <jug@sad.it>
13033
13034         * sp_pspell.h (class PSpell): add alive function needed in the
13035         controller to see if the spellchecker could be started.
13036
13037 2001-10-22  Juergen Vigna  <jug@sad.it>
13038
13039         * buffer.C (insertStringAsLines): modify the font for inserting
13040         chars in certain conditions by calling checkInsertChar(font).
13041
13042 2001-10-19  Juergen Vigna  <jug@sad.it>
13043
13044         * text.C (workWidth): use getRow instead of wrong algorithm.
13045         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13046
13047 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13048
13049         * lyxserver.h:
13050         * lyxserver.C:
13051         * lyx_main.h:
13052         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13053
13054 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13055
13056         * text.C (workWidth): do not search for the exact row when
13057         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13058         optimization for big documents.
13059
13060 2001-10-18  Juergen Vigna  <jug@sad.it>
13061
13062         * text.C (workWidth): new function with added Inset * parameter.
13063
13064 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13065
13066         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13067
13068         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13069         change return type of getColumnNearX.
13070
13071
13072         * text.C (changeRegionCase): use uppercase/lowercase instead of
13073         toupper/tolower.
13074         (leftMargin):
13075         (rightMargin): simplify code by factoring out the uses of
13076         textclasslist.
13077         (labelFill):
13078         (numberOfHfills):
13079         (setHeightOfRow):
13080         (appendParagraph): use Paragraph::size_type
13081
13082 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13083
13084         * vspace.C (asLatexString): add a missing break
13085
13086 2001-10-15  Herbert Voss  <voss@perce.de>
13087
13088         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13089
13090 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13091
13092         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13093         is not available.
13094
13095 2001-10-10  André Pönitz <poenitz@gmx.net>
13096
13097         * lyxfunc.C: removed greek_kb_flag.
13098
13099 2001-10-10  Herbert Voss  <voss@perce.de>
13100
13101         * lyx_main.C: delete global string help_lyxdir.
13102
13103 2001-10-09  Herbert Voss  <voss@perce.de>
13104
13105         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13106
13107         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13108
13109         * lyx_main.C: added global string help_lyxdir.
13110
13111         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13112
13113 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13114
13115         * lyxrc.C (set_font_norm_type): support iso8859-4
13116
13117 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13118
13119         * LaTeX.C (deplog): add another regex for MikTeX
13120
13121 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13122
13123         * lyxrc.C (set_font_norm_type): support iso8859-3
13124
13125 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13126
13127         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13128
13129         * LaTeXFeatures.C: remove special case of french and index
13130
13131         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13132         before \begin{document}). This solves several incompatibilities.
13133
13134 2001-10-03  Garst Reese  <reese@isn.net>
13135
13136         * lyx_cb.C: change CheckTex error msg.
13137
13138 2001-10-03  José Matos  <jamatos@fep.up.pt>
13139
13140         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13141
13142 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13143
13144         * .cvsignore: update
13145
13146         * lyx_main.C (commandLineVersionInfo): use new style version info.
13147
13148         * buffer.C (writeFile):
13149         (makeLaTeXFile):
13150         (makeLinuxDocFile):
13151         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13152
13153         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13154
13155         * version.h: update to use stuff in version.C
13156
13157         * version.C.in: new file. Contains version information determined
13158         at compile time. This is a merging of version.h and
13159         version_info.h.in.
13160
13161 2001-10-03  Juergen Vigna  <jug@sad.it>
13162
13163         * BufferView_pimpl.C (update): don't change "dirty" status in
13164         updateInset call.
13165
13166 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13167
13168         * WorkArea.C (c-tor): re-position version string slightly.
13169
13170 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13171
13172         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13173         revert to previous code.
13174
13175         WorkArea.[Ch]: (show, destroySplash): methods removed.
13176
13177         WorkArea.C: rework code so that it's an amalgam of the codes before and
13178         after the splash screen was moved to WorkArea.
13179
13180 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13181
13182         * lyxrc.C (read):
13183         * vspace.C (inPixels):
13184         (lyx_advance):
13185         * kbmap.C (bind):
13186         * buffer.C (insertStringAsLines):
13187         (asciiParagraph): fix types to be large enough
13188
13189         * lyxlex_pimpl.h: change member status from short to int
13190
13191         * layout.h: fix type of endlabeltype
13192
13193         * kbmap.C (bind):
13194         * kbsequence.C (parse): change return type to string::size_type
13195
13196         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13197         variable
13198
13199         * Bullet.C (bulletSize):
13200         (bulletEntry): do not use short ints as parameters
13201
13202         * BufferView2.C (insertLyXFile): change a char to an int.
13203
13204         * WorkArea.C (WorkArea): remove unneeded floats in computation
13205
13206 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13207
13208         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13209
13210         * paragraph.C (asString): Do not ignore newline/hfill chars when
13211         copying to the clipboard.
13212
13213 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13214
13215         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13216         after a multi-line inset.
13217
13218 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13219
13220         * paragraph.C (validate): Set NeedLyXFootnoteCode
13221
13222 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13223
13224         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13225         and decrease-error to decrease.
13226
13227 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13230         it more readable (should be equivalent)
13231
13232 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13233
13234         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13235
13236 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13237
13238         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13239         of a cursor (row, etc.) after a character has been deleted
13240         (deleteEmptyParagraphMechanism): call the method above on _all_
13241         cursors held by the LyXText when a double space has been
13242         detected/deleted.
13243
13244 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13245
13246         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13247         pixmap.
13248         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13249
13250         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13251         background. Use greyOut() and the new show() methods to toggle between
13252         the foreground and background. Add code to remove the splash after
13253         its initial showing.
13254
13255         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13256         (create_forms): no longer call Dialogs::showSplash.
13257
13258 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13259
13260         * .cvsignore: add version_info.h
13261
13262 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * version_info.h.in: new file
13265
13266         * Makefile.am: add version_info.h.in
13267
13268         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13269         version_info.h instead of VERSION_INFO
13270
13271 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13272
13273         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13274         The ERT inset now returns string().
13275
13276 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13277
13278         * lyxtext.h, text.C (selectNextWord): renamed as
13279         selectNextWordToSpellcheck.
13280
13281         * text.C (selectNextWordToSpellcheck): Modified to not select
13282         words inside an ERT inset.
13283
13284 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13285
13286         * lyx_cb.C (MenuLayoutSave): change a bit the question
13287
13288         * sp_base.h: include <sys/types.h>
13289
13290 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13293
13294 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13295
13296         * several files: fix typos in user-visible strings
13297
13298 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13299
13300         * text2.C (pasteSelection): do not set the selection, since it
13301         will be cleared later. Actually, the intent was to fix the way the
13302         selection was set, but I figured rmoving the code was just as good.
13303
13304 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13305
13306         * FontLoader.C (available): Check if font is available without
13307         loading the font.
13308
13309 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13310
13311         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13312
13313 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13314
13315         * lyxrc.[Ch]: added display_graphics variable and associated code.
13316
13317 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13318
13319         * bufferparams.C (hasClassDefaults): new method. Returns true if
13320         the buffer parameters correspond to known class defaults
13321
13322 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13323
13324         * XFormsView.C (show): set minimum size to the main window.
13325
13326 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * text2.C (copySelection):
13329         (cutSelection):
13330         * lyxfind.C (LyXReplace):
13331         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13332         LyXText::selectionAsString.
13333
13334         * paragraph.C (asString): add "label" argument to the second form
13335
13336         * text2.C (selectionAsString): add "label" argument and pass it to
13337         Paragraph::asString.
13338
13339 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * lyx_main.C (commandLineHelp): remove version information
13342
13343 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13344
13345         * lyx_main.C: add -version commandline option
13346
13347 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * paragraph.h: make the optional constructor arg required instead.
13350         some modifications to other files because of this.
13351
13352         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13353
13354         * lyxserver.C (C_LyXComm_callback): make it static
13355
13356         * lyx_main.C (error_handler): make it static
13357
13358         * lyx_gui.C (LyX_XErrHandler): make it static
13359
13360         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13361
13362         * WorkArea.C: make the extern "C" methods static.
13363
13364         * Makefile.am (lyx_LDADD): simplify
13365
13366 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13367
13368         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13369         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13370
13371         * LyXAction.C (init):
13372         * lyxfunc.C (dispatch): associated code removal.
13373
13374 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13375
13376         * lyxfont.h (isSymbolFont): shut off warning
13377
13378         * text.C (setHeightOfRow):
13379         (getVisibleRow): fix crash with empty paragraphs which have a
13380         bottom line
13381
13382 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13383
13384         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13385         code.
13386
13387 2001-09-04  José Matos  <jamatos@fep.up.pt>
13388         * buffer.C
13389         * buffer.h
13390         * tabular.C (docbook): rename docBook method to docbook.
13391
13392 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13393
13394         * Makefile.am: add dependencies to main.o.
13395
13396 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13397
13398         * FontLoader.C (available): Return false if !lyxrc.use_gui
13399
13400 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13401
13402         * FontInfo.C (query):
13403         * converter.C (view):
13404         * importer.C (Import):
13405         * exporter.C (Export): Can not -> cannot.
13406
13407 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13408
13409         * BufferView_pimpl.C: allow to create index inset even if
13410           string is empty
13411
13412 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13413
13414         * buffer.C (getLists): replace boost::tie code with an explicit pair
13415         as boost::tie can break some compilers.
13416
13417         * iterators.h: Added a std:: declaration to the return type of
13418         ParIterator::size.
13419
13420 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13421
13422         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13423           case.
13424
13425 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13426
13427         * iterators.[Ch]: New files. Provide paragraph iterators.
13428
13429         * buffer.C (changeLanguage): Use paragraph iterators.
13430         (isMultiLingual): ditto
13431
13432         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13433
13434 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13435
13436         * FontLoader.C: Support for cmr font.
13437
13438 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13439
13440         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13441         (available): New method.
13442
13443         * FontInfo.C (getFontname): Use scalable fonts even when
13444         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13445         found.
13446
13447 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13448
13449         * converter.C (Formats::view): reverted! Incorrect fix.
13450
13451 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * converter.C (Formats::view): only output the -paper option
13454         if the dvi viewer is xdvi, thereby fixing bug #233429.
13455
13456 2001-08-23  Herbert Voss  <voss@perce>
13457
13458         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13459
13460 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13461
13462         * Spacing.h (Spacing): Set space to Default on in the default
13463         constructor.
13464
13465 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * vc-backend.h (RCS::versionString): add RCS to version
13468         (CVS::versionString): add CVS to version
13469
13470         * vc-backend.C (scanMaster): do not add CVS to version.
13471         (scanMaster): do not add RCS to version
13472
13473         * lyxvc.C (versionString): new method
13474
13475         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13476
13477 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13478
13479         * Spacing.C (set): initialize fval
13480
13481 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13482
13483         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13484         " or \.
13485
13486 2001-08-16  Juergen Vigna  <jug@sad.it>
13487
13488         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13489
13490 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13491
13492         * BufferView_pimpl.C:
13493         * figureForm.C:
13494         * lyxtext.h:
13495         * text2.C: setParagraph takes linespacing now
13496
13497 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * LyxAction.C: add internal LFUN_CITATION_INSERT
13500
13501         * LyXView.C: actually apply fix
13502
13503         * bufferlist.C: fix open non-existent file
13504
13505         * lyxfind.C: fix indentation
13506
13507         * lyxfunc.C: remove unneeded assert, fix typo
13508
13509 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * MenuBackend.C: use "Floatname List"
13512
13513 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13514
13515         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13516         when converting LaTeX layout to insetERT.
13517         Generate a non-collapsed float when reading old float
13518
13519 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13520
13521         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13522         ERT insets.
13523
13524 2001-08-13  Juergen Vigna  <jug@sad.it>
13525
13526         * text.C (fill): return 0 instead of 20 as this seems to be the more
13527         correct value.
13528
13529 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13530
13531         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13532         lyxrc.font_norm.
13533
13534 2001-08-13  Juergen Vigna  <jug@sad.it>
13535
13536         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13537         casesensitive off.
13538         (SearchBackward): comment out the unlocking of the inset_owner this
13539         should not be needed!
13540
13541 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13542
13543         * Many files: Remove inherit_language, and add latex_language
13544
13545         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13546         collapsible insets.
13547
13548 2001-08-10  Juergen Vigna  <jug@sad.it>
13549
13550         * text.C (prepareToPrint): fixed hfill-width in draw!
13551
13552         * BufferView2.C (selectLastWord): save the selection cursor as this
13553         now is cleared in the function LyXText::clearSelection!
13554
13555 2001-08-08  Juergen Vigna  <jug@sad.it>
13556
13557         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13558         BACKSPACE type functions.
13559
13560         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13561         is only cutted from the document but not put in the cut-buffer, where
13562         still the old stuff should be.
13563
13564         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13565
13566         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13567
13568         * tabular.C (SetWidthOfCell): fixed special case where the width
13569         was not updated!
13570         (LeftLine): handle '|' in align_special.
13571         (RightLine): ditto
13572         (LeftAlreadyDrawed): ditto
13573         (SetWidthOfCell): ditto
13574
13575 2001-08-07  Juergen Vigna  <jug@sad.it>
13576
13577         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13578
13579 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13582         * lyxlex.[hC]: ditto
13583
13584 2001-08-06  Juergen Vigna  <jug@sad.it>
13585
13586         * text.C (getVisibleRow): fix up row clearing a bit.
13587
13588 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13589
13590         * minibuffer.C: make sure the X server sees the changes in the input.
13591
13592 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13593
13594         * paragraph.C (getFont): split into...
13595         (getLabelFont): this
13596         (getLayoutFont): and this
13597         * paragraph_pimpl.C (realizeFont): calling this
13598
13599         * text2.C (getFont): split into...
13600         (getLayoutFont): this
13601         (getLabelFont): and this
13602         (realizeFont): all three calling this
13603
13604         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13605         files where used.
13606
13607 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13608
13609         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13610
13611 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13612
13613         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13614         layouts from the Quote inset insertion.
13615
13616 2001-08-03  Juergen Vigna  <jug@sad.it>
13617
13618         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13619
13620         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13621         only if status not is already CHANGED_IN_DRAW (second level).
13622
13623         * text.C (draw): don't set the need_break_row when inside an
13624         InsetText LyXText.
13625
13626 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13627
13628         * buffer.C (parseSingleLyXformat2Token): handle more latex
13629         conversion cases.
13630
13631         * bufferview_funcs.[hC]: change function names to
13632         begin with small char, adjust other files.
13633
13634 2001-08-02  André Pönitz <poenitz@gmx.net>
13635
13636         * lyxfunc.C:
13637         BufferView_pimpl.C: remove broken special code for math-greek
13638
13639 2001-08-02  Juergen Vigna  <jug@sad.it>
13640
13641         * BufferView_pimpl.C (update): redone this function so that we
13642         update the text again if there was a CHANGE_IN_DRAW.
13643
13644         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13645         (drawFromTo): added a new internal bool which is used by draw() and
13646         redraw() function.
13647         (general): some cursor drawing problems fixed.
13648
13649 2001-08-01  Juergen Vigna  <jug@sad.it>
13650
13651         * lyxfind.C (LyXFind): fixed
13652         (SearchForward): ditto
13653         (SearchBackward): ditto
13654
13655         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13656         spurius drawing of the cursor in the main area.
13657
13658         * text2.C (status): small fix which could lead to a segfault!
13659         (clearSelection): remove unneeded BufferView param.
13660
13661 2001-08-01  André Pönitz <poenitz@gmx.net>
13662
13663         * lyxfunc.C: small change due to changed mathed interface
13664
13665 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13668
13669 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13670
13671         * lyxfunc.c: fail gracefully if file doesn't exist
13672
13673         * LyXSendto.C:
13674         * buffer.C:
13675         * lyxfunc.C:
13676         * BufferView_pimpl.C: IsDirWriteable() proto changed
13677
13678         * LyXView.C: fix updateWindowTitle() to store the last title
13679
13680 2001-07-31  Juergen Vigna  <jug@sad.it>
13681
13682         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13683         the font (wrong since using of Paragraph::highestFontInRange).
13684
13685         * paragraph.C (highestFontInRange): added a default_size parameter.
13686
13687         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13688         (setHeightOfRow): reformat
13689
13690 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13691
13692         * converter.[hC] + affected files: move to (inital-char)lowercase
13693         function names.
13694
13695         * ParagraphParameters.C (ParagraphParameters): remove commented code
13696
13697         * PainterBase.[Ch]: remove commented code
13698
13699         * LaTeXFeatures.h: add "bool floats" for float.sty
13700
13701         * LaTeXFeatures.C (LaTeXFeatures): init floats
13702         (require): handle float
13703         (getPackages): do it with floats
13704
13705 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13706
13707         * BufferView_pimpl.C (Dispatch): improve handling of
13708         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13709
13710         * commandtags.h: #include lyxfont.h here temporarily to avoid
13711         keybinding bug.
13712
13713         * bufferlist.h: include LString.h here.
13714
13715 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * text2.C (getStringToIndex): new method.
13718
13719 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13720
13721         * *: Reduced header file dependencies all over.
13722
13723 2001-07-30  Baruch Even  <baruch@lyx.org>
13724
13725         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13726
13727 2001-07-29  Baruch Even  <baruch@lyx.org>
13728
13729         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13730
13731 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13732
13733         * ParameterStruct.h (endif): add a default constructor to make
13734         sure that all variables is initialized.
13735
13736         * ParagraphParameters.C (ParagraphParameters): adjust
13737
13738 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13739
13740         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13741         index; also, check that there is something to index, and that it
13742         does not span over several paragraphs.
13743         (doubleClick): use WHOLE_WORD_STRICT for double click.
13744
13745         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13746
13747         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13748         scheme.
13749
13750 2001-07-26  Baruch Even  <baruch@lyx.org>
13751
13752         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13753         an InsetFig figure, backwards compatible reading of old figure code.
13754
13755 2001-07-27  Juergen Vigna  <jug@sad.it>
13756
13757         * text2.C: font.realize function adaption.
13758
13759         * text.C (draw): add a warnings lyxerr text if needed.
13760
13761         * layout.C: font.realize function adaption.
13762
13763         * language.C: add inherit_language and implement it's handlings
13764
13765         * bufferview_funcs.C (StyleReset): remove language parameter from
13766         font creation (should be language_inherit now).
13767
13768         * bufferparams.C (writeFile): handle ignore_language.
13769
13770         * paragraph.C (getFontSettings): the language has to be resolved
13771         otherwise we have problems in LyXFont!
13772
13773         * lyxfont.C (lyxWriteChanges): added document_language parameter
13774         (update): removed unneeded language parameter
13775
13776         * paragraph.C (validate): fixed wrong output of color-package when
13777         using interface colors for certain fonts in certain environments,
13778         which should not seen as that on the final output.
13779
13780 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13781
13782         * BufferView_pimpl.C:
13783         * Thesaurus.h:
13784         * Thesaurus.C:
13785         * Makefile.am:
13786         * commandtags.h:
13787         * LyXAction.C: add thesaurus support
13788
13789         * lyxfind.h:
13790         * lyxfind.C: add "once" parameter, for thesaurus, to not
13791           move to the next match
13792
13793 2001-07-26  Juergen Vigna  <jug@sad.it>
13794
13795         * lyxfont.C (realize): honor ignore_language too!
13796         (resolved): ditto.
13797
13798         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13799
13800         * text.C (draw): one place more for ignore_language to not draw
13801         itself!
13802
13803 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13804
13805         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13806
13807 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13808
13809         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13810         the minipage conversion problem.
13811
13812 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13813
13814         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13815         insert an inset.
13816
13817 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13818
13819         * BufferView.h: don't forward declare WorkArea
13820
13821         * BufferView.C: don't include WorkArea.h
13822
13823 2001-07-25  André Pönitz <poenitz@gmx.net>
13824
13825         * commandtags.h:
13826         * LyXAction.C:
13827         * lyxfunc.C:  new LFUN 'math-space'
13828
13829         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13830
13831 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * text2.C (toggleInset): call open/close
13834
13835 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13836
13837         * lyxfunc.C (dispatch): add debug for the disabled case
13838
13839         * font.C (buttonText): make similar to rectText
13840
13841         * buffer.C (readInset): comment out parsing of insetlist and
13842         insttheorem
13843
13844         * PainterBase.C (rectText): small correction
13845
13846         * BufferView_pimpl.C: comment out insettheorem and insetlist
13847         * LyXAction.C: ditto
13848         * commandtags.h: ditto
13849
13850 2001-07-24  Juergen Vigna  <jug@sad.it>
13851
13852         * text.C (draw): honor the ignore_language.
13853
13854         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13855
13856 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13857
13858         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13859         char inset.
13860
13861 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13862
13863         * lyxtext.h: remove unused (and unimplemented) methods
13864
13865 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13866
13867         * text.C (getVisibleRow): honor background color
13868
13869         * PainterBase.h:
13870         * Painter.h: remove default color argument for fillRectangle
13871
13872         * text.C (backgroundColor): new method
13873
13874 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * text.C (getVisibleRow): adjust
13877
13878         * font.[Ch] (rectText): new method, metrics
13879         (buttonText): new method, metrics
13880
13881         * PainterBase.[hC]: make rectText and buttonText always draw and take
13882         fewer paramteres.
13883
13884 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13885
13886         * ToolbarDefaults.C (read):
13887         * MenuBackend.C (read): allow escaping in all strings
13888
13889         * BufferView_pimpl.C (insertAndEditInset): new method.
13890         (Dispatch): use insertAndEditInset whenever appropriate.
13891
13892         * BufferView_pimpl.C (insertNote): removed
13893
13894         * BufferView_pimpl.C (smartQuote): new method, moved from
13895         BufferView; if an insetquote cannot be inserted, insert a '"'
13896         character instead.
13897
13898         * BufferView2.C: remove insertCorrectQuote();
13899
13900         * lyxfunc.C (getStatus): Add support for all remaingin
13901         inset-insert lfuns.
13902
13903         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13904
13905         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13906         command (necessary to pass " as parameter of self-insert.
13907
13908         * text.C (selectWordWhenUnderCursor):
13909         (selectWord): add word_location parameter
13910         (selectWordWhenUnderCursor): same + remove special code for word
13911         boundary.
13912         (selectNextWord): use kind() to guess type of insetspecialchar,
13913         not latex().
13914
13915         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13916         (insertErtContents): create ert insets as collapsed.
13917         (readInset): better compatibility code for Info inset.
13918
13919 2001-07-20  Juergen Vigna  <jug@sad.it>
13920
13921         * lyxfunc.C (dispatch): use always LyXFind now!
13922
13923         * text2.C (init): add a reinit flag so that the LyXText can be
13924         reinited instead of deleted and reallocated (used in InsetText).
13925
13926         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13927
13928         * text.C: ditto
13929
13930         * text2.C: ditto
13931
13932 2001-07-18  Juergen Vigna  <jug@sad.it>
13933
13934         * text.C (selectNextWord): handle insets inside inset by calling
13935         always the bv->text functions so that we can go up the_locking_inset!
13936
13937         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13938         in strange locations when inside an inset!
13939
13940         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13941         handling to include insets.
13942
13943         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13944
13945 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13946
13947         * LyXAction.C (init):
13948         * commandtags.h:
13949         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13950         LIGATURE_BREAK, since the name is so stupid.
13951
13952 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13953
13954         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13955         InsetInfos.
13956
13957         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13958
13959         * sp_form.[Ch]: remove.
13960
13961         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13962
13963         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13964         InsetInfo.
13965
13966         * src/buffer.C (readInset): ditto.
13967
13968 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13969
13970         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13971         menuSeparator(), endOfSentenceDot(), ldots() and
13972         hyphenationPoint(), which are therefore removed.
13973         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13974
13975         * LyXAction.C (init):
13976         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13977
13978         * paragraph.C (getWord): removed.
13979
13980         * BufferView_pimpl.C (Dispatch): use last word or selection for
13981         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13982
13983         * lyx_main.C (queryUserLyXDir): do not ask before creating
13984         user_dir, except if it has been named explicitely.
13985
13986 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13987
13988         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13989         a document of zero size.
13990
13991 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13992
13993         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13994         approriately in the c-tor and in require().
13995         (getPackages): output the appropriate LaTeX for natbib support.
13996
13997         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13998         variables "use_natbib" and "use_numerical_citations" when reading the
13999         LyX file.
14000         (readInset): read the various natbib cite commands.
14001         (validate): white-space change.
14002
14003         * bufferparams.[Ch]: new variables "bool use_natbib" and
14004         "bool use_numerical_citations".
14005         (writeFile): output them in the LyX file.
14006
14007 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14008
14009         * lyxfunc.C (getStatus): add support for all the inset insertion
14010         commands.
14011
14012         * text2.C (insertInset):
14013         * paragraph.C (insetAllowed):
14014         * BufferView_pimpl.C (insertInset): update to take in account the
14015         renaming of insertInsetAllowed
14016
14017         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14018
14019         * text2.C (getInset): new method. returns inset at cursor position.
14020
14021         * BufferView_pimpl.C (Dispatch): changes because of this.
14022
14023         * LyXAction.C (init): rename open-stuff to inset-toggle.
14024
14025         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14026
14027         * text2.C (toggleInset): renamed from openStuff; use
14028         Inset::open().
14029
14030 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14031
14032         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14033
14034         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14035
14036 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14037
14038         * buffer.C (readLyXformat2): Add filename to the error dialog
14039
14040 2001-07-18  Juergen Vigna  <jug@sad.it>
14041
14042         * tabular.C (GetCellNumber): put an assert here instead of the check!
14043
14044 2001-07-17  Juergen Vigna  <jug@sad.it>
14045
14046         * BufferView_pimpl.C (toggleSelection): adapted too.
14047
14048         * text.C (selectNextWord): adapted for use with insets.
14049         (selectSelectedWord): ditto
14050
14051 2001-07-17  Juergen Vigna  <jug@sad.it>
14052
14053         * sp_spell.C (PSpell): fix initialitation order.
14054
14055 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * paragraph.C: spacing
14058
14059 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14060
14061         * sp_spell.C: repair language selection for pspell
14062
14063 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14064
14065         * lyxfunc.h: change more methods to begin with lower char.
14066
14067 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14068
14069         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14070         for unknown layouts.
14071
14072 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14073
14074         * buffer.C (readLyXformat2): Generate an error dialog if there are
14075         unknown layouts.
14076
14077 2001-07-16  Juergen Vigna  <jug@sad.it>
14078
14079         * sp_spell.C: always compile ISpell part.
14080
14081         * lyxrc.C: added use_pspell entry and it's handling.
14082
14083 2001-07-13  Juergen Vigna  <jug@sad.it>
14084
14085         * sp_spell.C: removed double includes.
14086
14087 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14088
14089         Consistent use of Lsstream.h:
14090         * Lsstream.h: added using std::stringstream for consistencies sake.
14091
14092         * buffer.C: removed using std::stringstream
14093
14094         * lyxfont.C (stateText):
14095         * paragraph.C (asString):
14096         * text.C (selectNextWord, selectSelectedWord):
14097         * text2.C (setCounter):
14098         * vspace.C (asString, asLatexString):
14099         std::ostringstream -> ostringstream.
14100
14101 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14102
14103         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14104         * commandtags.h: add LFUN_HELP_ABOUTLYX
14105         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14106
14107 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14108
14109         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14110         cursorToggle()
14111         * lyx_gui_misc.C: remove spellchecker
14112         * lyxfunc.C: showSpellchecker
14113         * sp_base.h: added
14114         * sp_ispell.h: added
14115         * sp_pspell.h: added
14116         * sp_spell.C: added
14117         * sp_form.[Ch]: removed
14118         * spellchecker.[Ch]: removed
14119
14120 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14121
14122         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14123         is set.
14124         (simpleTeXSpecialChars): Simply print the input character without
14125         any special translation if pass_thru is set.
14126
14127         * layout.h: Added bool pass_thru to layout class for being able to
14128         implement pass through of a paragraph for Literate Programming.
14129
14130         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14131         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14132         * layout.C (Read): add "passthru" to list of layout tags and add
14133         code to set the pass_thru boolean when it is read.
14134
14135 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14136
14137         * trans_decl.h: remove allowed from KmodInfo
14138
14139         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14140         remove allowed code
14141         (Load): adjust
14142
14143         * paragraph_pimpl.C (erase): use boost::prior
14144
14145         * Painter.C (text): use data() instead of c_str() when length is
14146         also provided.
14147         * WorkArea.C (putClipboard): ditto
14148         * font.h (width): ditto
14149
14150         * BufferView2.C: use it-> instead of (*it). for iterators
14151         * texrow.C: ditto
14152         * paragraph_pimpl.C: ditto
14153         * paragraph.C: ditto
14154         * minibuffer.C: ditto
14155         * language.C: ditto
14156         * kbmap.C: ditto
14157         * encoding.C: ditto
14158         * counters.C: ditto
14159         * converter.C: ditto
14160         * chset.C: ditto
14161         * Variables.C: ditto
14162         * TextCache.C: ditto
14163         * MenuBackend.C: ditto
14164         * LyXAction.C: ditto
14165         * LColor.C: ditto
14166         * FloatList.C: ditto
14167         * DepTable.C: ditto
14168         * ColorHandler.C (LyXColorHandler): ditto
14169
14170 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14171
14172         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14173
14174         * text2.C (openStuff): reintroduce this method (which had been
14175         nuked in NEW_INSETS frenzy).
14176
14177         * lyxfunc.C (Dispatch): when an action has not been handled, use
14178         its name in the error message, not its number.
14179
14180         * paragraph.C (inInset): change method name to begin with lowercase.
14181
14182         * undo_funcs.C:
14183         * text2.C: updates because of this.
14184
14185 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14186
14187         * ToolbarDefaults.C (add): add spaces in error message
14188
14189 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14190
14191         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14192         (readLyXformat2): rename return_par to first_par, use lyxlex's
14193         pushToken and remove the manual push handling.
14194         (parseSingleLyXformat2Token): add another ert comp. variable:
14195         in_tabular, rename return_par to first_par. handle newlines better
14196
14197 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14198
14199         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14200
14201 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * text2.C (getParFromID): removed
14204
14205         * buffer.C (getParFromID): new method moved form lyxtext.
14206         * BufferView2.C (insertErrors): adjust
14207         (setCursorFromRow): adjust
14208         * BufferView_pimpl.C (restorePosition): adjust
14209         * lyxfunc.C (Dispatch): adjust
14210         * undo_funcs.C (textUndo): adjust
14211         (textRedo): adjust
14212         (textHandleUndo): adjust
14213         (textHandleUndo): adjust
14214
14215 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14216
14217         * buffer.C: up' the LYX_FORMAT
14218
14219         * lyxfont.h: turn NO_LATEX on as default
14220
14221         * buffer.C (insertErtContents): new methods of tex style compability.
14222         (parseSingleLyXformat2Token): use it several places.
14223         * tabular.C (OldFormatRead): and here
14224
14225 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * text2.C: remove some commented code.
14228         reindent file.
14229
14230         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14231         * trans.C: changes because of the above.
14232
14233 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * text2.C (setCounter): Fix counters bug with bibliography layout.
14236
14237 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14238
14239         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14240         own member functions
14241         (simpleTeXSpecialChars): ditto
14242
14243 2001-07-06  Juergen Vigna  <jug@sad.it>
14244
14245         * a lot of files: changed the access to LyXText::status and the
14246         call of undo-functions.
14247
14248         * undo.[Ch]: added a inset_id to the undo informations.
14249
14250         * undo_funcs.[Ch]: added and moved here all undo functions.
14251
14252         * lyxtext.h: give the status enum a weight, made status_ a private
14253         variable and made accessor functions for it, removed the whole bunch
14254         of undo-functions as they are now in their own file, make some
14255         functions publically available. Added function ownerParagraph with
14256         int parameter.
14257
14258         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14259         made InInset() a const function, added getParFromID() function.
14260
14261         * buffer.[Ch]: added const version for inset_iterator functions,
14262         added getInsetFromID() function.
14263
14264         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14265         changed undo functions for new version.
14266
14267 2001-07-05  Juergen Vigna  <jug@sad.it>
14268
14269         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14270         unknow mechanism does not call the proper constructor but only this
14271         one also if I request the other!?
14272
14273 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14274
14275         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14276
14277         * text2.C (LyXText): use initialization lists.
14278
14279         * lyxtext.h (Selection): initialize set_ and mark_
14280         (init): remove method
14281
14282 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14285
14286 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14287
14288         * screen.[Ch]: change method names to begin with lowercase
14289
14290         * BufferView_pimpl.C (updateScrollbar): simplify further and
14291         hopefully make it a bit faster.
14292
14293 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14294
14295         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14296         calling directly xforms functions.
14297
14298         * Painter.C (Painter):
14299         * lyx_cb.C (MenuWrite):
14300         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14301         fl_display.
14302
14303         * lyx_gui.C: remove bogus guiruntime extern declaration.
14304
14305 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14306
14307         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14308         in NEW_INSETS
14309         (redoDrawingOfParagraph): ditto
14310         (redoParagraphs): ditto
14311         (cutSelection): don't create a object for CutAndPaste use the
14312         static method directly
14313         (pasteSelection): ditto
14314
14315         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14316         LyXview (+ rename)
14317
14318 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * modifications to some other files because of this.
14321
14322         * Makefile.am (lyx_SOURCES): add XFormsView
14323
14324         * XFormsView.[Ch]: new files
14325
14326         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14327         the main window. Move the gui dependent stuff to XFormsView
14328
14329 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * tabular.C (GetCellInset): update cur_cell also in the row/col
14332         version of this function.
14333
14334         * lyxfunc.C: no need to include figure_form.h here.
14335
14336         * FontLoader.h:
14337         * lyxfunc.h:
14338         * lyxscreen.h:
14339         * text2.C:
14340         * lyxvc.C: no need to include forms.h here.
14341
14342 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14343
14344         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14345
14346         * lyxfunc.C (Dispatch):
14347         * Spacing.C (set):
14348         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14349         constructor argument.
14350
14351 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14352
14353         * paragraph.C (Paragraph): dont't clear, and just set layout.
14354         (makeSameLayout): use params's copy contructor.
14355
14356         * ParagraphParameters.[Ch] (makeSame): delete method
14357
14358 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14359
14360         * Variables.[Ch]: fix indentation, rename set to isSet
14361
14362 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14363
14364         * lyxfunc.C (Dispatch): fix typo
14365
14366 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14369         upper_bound.
14370
14371         * bufferlist.C: include assert.h for emergencyWrite().
14372
14373 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14374
14375         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14376           give up at last (bug #425202) !
14377
14378 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14379
14380         * lyx_gui_misc.C:
14381         * sp_form.h:
14382         * sp_form.C:
14383         * spellchecker.h:
14384         * spellchecker.C: strip spellchecker options and bring up
14385           preferences tab instead
14386
14387 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14388
14389         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14390         the istringstream constructor
14391
14392 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14393
14394         * paragraph.C (getLayout): fix return value
14395
14396         * paragraph.h: do not declare getLayout as inline.
14397
14398         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14399
14400 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14401
14402         * lyxcursor.h (operator<): new func
14403         (operator>): new func
14404         (operator>=): new func
14405         (operator<=): new func
14406
14407         * text.C (changeCase): use selection.start and selection.end
14408         (changeRegionCase): require from to be <= to. Require par to be a
14409         valid paragraph.
14410
14411         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14412
14413 2001-06-27  Juergen Vigna  <jug@sad.it>
14414
14415         * text.C (cursorLeftOneWord): changed to return the cursor and added
14416         overlay with BufferView * parameter which calls this one.
14417         (getWord): added
14418         (selectWord): use new getWord function.
14419         (changeCase): renamed from changeWordCase as and extended to work
14420         also on selections.
14421
14422         * lyxtext.h: added enum word_location
14423
14424         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14425         changeCase as this operates now also on selections.
14426
14427 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14428
14429         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14430
14431         * many files: send debug output to Debug::INFO instead of
14432         Debug::ANY.
14433
14434         * converter.C (View):
14435         (Convert):
14436         (Move): send debug output to Debug::FILES instead of console.
14437
14438 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14439
14440         * lyxfunc.C (getStatus): use func_status
14441
14442         * func_status.h: new header, describing the results of
14443         LyXFunc::getStatus;
14444
14445         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14446         LFUN_MATH_HALIGN.
14447
14448 2001-06-25  The LyX Project  <jug@sad.it>
14449
14450         * buffer.C (sgmlOpenTag):
14451         (sgmlCloseTag):
14452         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14453
14454 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14455
14456         * text2.C: remove some dead code
14457
14458         * tabular.C (GetCellInset): store the last cell checked (gotten)
14459
14460         * tabular.h: add the helper for the speedup
14461
14462         * lyxtext.h: remove some dead code
14463
14464 2001-06-26  The LyX Project  <Asger>
14465
14466         * paragraph.C: Change export to LaTeX of alignment to
14467         \begin{center} and family for better roundtrip work with reLyX.
14468
14469         * Tune the math drawing a bit.
14470
14471 2001-06-25  The LyX Project  <Asger>
14472
14473         * LColor.C (LColor): New color for math background. New color
14474         for buttons.
14475
14476 2001-06-25  The LyX Project  <jug@sad.it>
14477
14478         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14479
14480         * lyxfunc.C (Open):
14481         * bufferlist.C (newFile): do not restrict to files ending with
14482         .lyx
14483
14484         * BufferView_pimpl.C (MenuInsertLyXFile):
14485
14486 2001-06-24  The LyX Project  <jug@sad.it>
14487
14488         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14489         of compare_no_case
14490
14491 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14492
14493         * lyxtext.h: rename most methods to begin with a small char.
14494         Lots of changes because of this.
14495
14496         * paragraph.C (Paragraph): do not call fitToSize
14497         (erase): call Pimpl::erase
14498         (insertChar): call Pimpl::insertChar
14499         (insertInset): call Pipl::insertInset
14500         (breakParagraph): do not call fitToSize
14501         (breakParagraphConservative): do not call fitToSize
14502         (fitToSize): remove method
14503
14504         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14505
14506 2001-06-24  The LyX Project  <Asger>
14507
14508         * Fix Qt compilation^2
14509
14510 2001-06-24  The LyX Project  <jug@sad.it>
14511
14512         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14513         depthHook(getDepth()-1).
14514
14515         * paragraph.h:
14516         * ParagraphParameters.h:
14517         * ParameterStruct.h: change type of depth to unsigned int ==
14518         depth_type. Many adaptations to other files before of that.
14519
14520 2001-06-24  The LyX Project  <Asger>
14521
14522         * Fix Qt compilation.
14523
14524 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14525
14526         * paragraph.h: renamed several methods to begin with small letter.
14527         several changes to many parts of the code because of this.
14528
14529 2001-06-23  The LyX Project  <jug@sad.it>
14530
14531         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14532         rewritten to discard all double spaces when KeepEmpty is off
14533         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14534         to only handle newlines but not fiddle with spaces and friends.
14535
14536         * lyxfunc.C (MenuNew): when doing 'new from template', use
14537         template_path as default directory
14538
14539 2001-06-23  The LyX Project  <Asger>
14540
14541         * Clean-up of header file includes all over
14542         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14543
14544 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14545
14546         * paragraph.h: renamed from lyxparagraph.h
14547
14548 2001-06-23  Asger  <lyx@violet.home.sad.it>
14549
14550         * Buffer.h: Removed Buffer::resize
14551         * BufferList.h: Removed BufferList::resize
14552         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14553         the document lazily when we change the width, or the font settings.
14554
14555 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14556
14557         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14558
14559 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14560
14561         * buffer.h: remove out of date comment
14562
14563 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14564
14565         * lyxscreen.h:
14566         * screen.C: fix "theoretical" GC leak
14567
14568 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14569
14570         * LaTeX.C (scanAuxFile):
14571         (deplog): remove trailing \r when reading stream (useful under
14572         win32)
14573
14574 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14575
14576         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14577         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14578         and BufferView::theLockingInset(Inset*), so should use them and not
14579         access bv_->text->the_locking_inset directly.
14580
14581         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14582
14583 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14584
14585         * Makefile.am:
14586         * tex-defs.h: remove old unused file
14587
14588 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14589
14590         * BufferView_pimpl.C: fix typo, remove minibuffer message
14591           when buffer has loaded
14592
14593 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14594
14595         * lyxfunc.C (Dispatch): use stringstream
14596         (MenuNew): use stringstream
14597         (Open): use stringstream
14598
14599         * importer.C (Import): use stringstream
14600
14601         * bufferview_funcs.C (CurrentState): use stringstream
14602
14603         * LaTeX.C (run): use stringstream
14604
14605         * BufferView_pimpl.C (savePosition): use stringstream
14606         (restorePosition): use stringstream
14607         (MenuInsertLyXFile): use stringstream
14608
14609 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14610
14611         * BufferView.C:
14612         * Bullet.C:
14613         * ColorHandler.C:
14614         * FontInfo.C:
14615         * FontLoader.C:
14616         * LColor.C:
14617         * LaTeXFeatures.C:
14618         * Painter.C:
14619         * gettext.C:
14620         * lyx_gui_misc.C:
14621         * lyxserver.C:
14622         * vspace.C: removed // -*- C++ -*- as first line.
14623
14624         * lyxfind.h:
14625         * version.h: added // -*- C++ -*- as first line.
14626
14627 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14628
14629         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14630
14631         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14632         of string
14633
14634 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14635
14636         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14637         of floats.
14638
14639 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * gettext.C: include LString.h even when --disable-nls is on.
14642
14643 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14644
14645         * converter.h (Get): changed argument type from int to
14646         FormatList::size_type to avoid unnecessary conversion.
14647
14648         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14649         before using it.
14650
14651 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * gettext.h: include LString.h even when --disable-nls is on.
14654
14655 2001-06-07  Juergen Vigna  <jug@sad.it>
14656
14657         * text.C (BreakAgain): subst spaces with tabs.
14658
14659         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14660         (resizeInsetsLyXText): set force on resizeLyXText.
14661
14662 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14663
14664         * gettext.h (gettext_init):
14665         (locale_init): use a real definition instead of a macro
14666
14667 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14668
14669         * Bufferview_pimpl.C:
14670         * LColor.h:
14671         * LColor.C: further lcolor tidies
14672
14673 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14674
14675         * BufferView_pimpl.C (updateScrollbar): simplify.
14676
14677         * BufferView2.C: don't include insets/insetinfo.h, change
14678         prototype for insertInset and call the Pimpl version. let
14679         updateInset call Pimpl version.
14680
14681         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14682         gotoInset to BufferView::Pimpl
14683
14684 2001-06-01  Juergen Vigna  <jug@sad.it>
14685
14686         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14687         inside a LockingInset (is the update needed at all?).
14688
14689 2001-05-31  Juergen Vigna  <jug@sad.it>
14690
14691         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14692         here not the old one otherwise how should we compare it afterwards
14693         if it's the same!
14694
14695 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14696
14697         * lyxfont.C:
14698         * tabular.C:
14699         * tabular-old.C:
14700         * FontInfo.C: bring C functions into global namespace when
14701         necessary
14702
14703 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14704
14705         * LString.h: make sure config.h has been loaded before LString.h.
14706
14707         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14708         (one for each char read by EatLine!).
14709
14710         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14711         variables.
14712
14713 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14714
14715         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14716         to the same as the par we break from
14717
14718 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14721
14722         * MenuBackend.C (expand): also create menu entries for wide
14723         versions of the floats.
14724
14725         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14726
14727         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14728
14729         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14730         frontends/Makefile.am
14731
14732         * text2.C: adjust
14733         * text.C: adjust
14734
14735
14736         * tabular.C (getTokenValue): add std::
14737
14738         * tabular-old.C (getTokenValue): add std::
14739         (getTokenValue): ditto
14740         (getTokenValue): ditto
14741
14742         * screen.C (ToggleSelection): adjust
14743
14744         * lyxtext.h: put selection cursors inside a Selection struct.
14745
14746         * lyxfunc.C (moveCursorUpdate): adjust
14747
14748         * lyxfont.C (latexWriteStartChanges): add std::
14749
14750         * lyxfind.C: adjust
14751
14752         * font.h: delete with(char const *, LyXFont const &)
14753
14754         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14755
14756         * FontInfo.C (getFontname): add std::
14757
14758         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14759         (workAreaButtonPress): adjust
14760         (tripleClick): adjust
14761         (update): adjust
14762         (moveCursorUpdate): adjust
14763         (Dispatch): adjust
14764
14765         * BufferView2.C (gotoInset): adjust
14766
14767 2001-05-30  Juergen Vigna  <jug@sad.it>
14768
14769         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14770         to check pspell I add this as default as I now have new pspell
14771         libraries and they seem to use this.
14772
14773 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * text2.C (CutSelection): make the cursor valid before the call to
14776         ClearSelection.
14777
14778 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14779
14780         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14781         relied on 0 terminated strings and other horrors. Bug found due to
14782         the new assert in lyxstring!
14783
14784         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14785         KP_ keys.
14786
14787 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14788
14789         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14790         to latinkeys.bind.
14791
14792         * lyxfunc.C (processKeySym): change method of getting to the
14793         self-insert char.
14794
14795         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14796         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14797         * BufferView_pimpl.[Ch]: here as private methods.
14798
14799 2001-05-28  Juergen Vigna  <jug@sad.it>
14800
14801         * text.C (SetHeightOfRow): added the update() call again as it is
14802         needed to initialize inset dimensions!
14803
14804 2001-05-16  Juergen Vigna  <jug@sad.it>
14805
14806         * text2.C (SetCharFont): Add new function with BufferView * and
14807         bool toggleall parameters for setting insets internal fonts.
14808         (SetFont): Freeze the undo as we may change fonts in Insets and
14809         all this change should be inside only one Undo!
14810
14811         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14812         setting font's in insets as for them we have the SetFont function!
14813
14814 2001-05-15  Juergen Vigna  <jug@sad.it>
14815
14816         * text2.C (ClearSelection): to be sure we REALLY don't have any
14817         selection anymore!
14818
14819         * tabular.C (TeXCellPreamble): fixed the left border problem for
14820         multicolumn cells.
14821
14822 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14823
14824         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14825         dependancy file
14826
14827 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14830         LFUN_BREAKPARAGRAPH.
14831
14832         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14833         help test to "internal only", similar for LFUN_INSERT_URL
14834
14835         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14836         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14837         auto_region_delete and deadkeys.
14838
14839 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14840
14841         * LColor.h:
14842         * LColor.C: remove some dead entries, tidy a little
14843
14844 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14845
14846         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14847         commented code.
14848         (Dispatch): implement LFUN_ESCAPE
14849
14850         * commandtags.h: add LFUN_ESCAPE
14851
14852         * LyXAction.C (init): add entry for LFUN_ESCAPE
14853
14854         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14855         Remove commented code.
14856         (insertNote): moved here
14857         (open_new_inset): moved here
14858
14859         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14860         BufferView_pimpl
14861
14862 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14863
14864         * kbmap.C (findbinding): clean it up and make it work correctly.
14865
14866         * lyx_main.C (init): do not pass argc and argv as parameters
14867
14868 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14869
14870         * buffer.C: fix path for OS/2 & Win32
14871
14872         * lyx_gui.C:
14873         * lyx_main:
14874         * lyx_main.C: Added os:: class.
14875
14876         * os2_defines.h: update
14877
14878 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14879
14880         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14881         better by trying again with reduced state.
14882
14883 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * lyxrc.C (read): print error about invalid key sequence only when
14886         debugging (because not all latinX keysyms are known to some X
14887         servers)
14888
14889         * kbsequence.C (getiso): add a few std:: qualifiers
14890         (getiso): comment out extra return statement.
14891
14892 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14893
14894         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14895         handling.
14896         (Dispatch): enhance the accent inset a bit. (not perfect)
14897
14898 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14899
14900         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14901
14902 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14903
14904         * bufferlist.C (emergencyWrite): fix assert() call
14905
14906 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14907
14908         * text.C (InsertChar): Added trivial patch to only send the "you
14909         can not do multiple spaces this way" message once during a
14910         session.
14911
14912 2001-05-08  Baruch Even  <baruch@lyx.org>
14913
14914         * Makefile.am: Changed order of libraries to get LyX to link properly
14915         with the gnome frontend.
14916
14917 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * LaTeXFeatures.h: add a std:: qualifier
14920
14921 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * paragraph.C (String): use stringstream
14924
14925 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14926
14927         * paragraph.C (writeFile): remove footflag arg
14928
14929         * buffer.C (makeLaTeXFile): use stringstream
14930         (latexParagraphs): remove footnot gurba
14931
14932         * LaTeXFeatures.C (getPackages): use stringstream
14933         (getMacros): likewise
14934         (getTClassPreamble): likewise
14935         (getFloatDefinitions): new method
14936
14937         * paragraph.C (writeFile): reindent
14938         (Erase): reindent
14939
14940         * WorkArea.h: revert the xpos + etc changes.
14941
14942         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14943
14944         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14945
14946         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14947         (pasteSelection): likewise
14948         * text2.C (CreateUndo): likewise
14949
14950 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14951
14952         * minibuffer.C (peek_event): temporarily reduce the functionality
14953         of the minibuffer (to allow args on lfuns)
14954
14955         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14956         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14957
14958         * buffer.C (readInset): add compability reading of old float
14959         lists, add reading of new style float list.
14960         (readInset): avoid reevaluation of inscmd.getCmdName()
14961         (getLists): reindent
14962
14963         * MenuBackend.C (MenuItem): implement parsing of
14964         md_floatlistinsert and md_floatinsert.
14965         (expand::LastFiles): move initalizaton of iterators out of loop,
14966         avoid reevaluation.
14967         (expand::Documents): introduce typdedef vector<string> Strings,
14968         and use it.
14969         (expand::ExportFormats): introduce typedef vector<Format const *>
14970         Formats, and use it.
14971         (expand): implement FloatListInsert and FloatInsert.
14972
14973         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14974         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14975         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14976
14977         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14978         handling.
14979         (Dispatch::LFUN_FLOAT_LIST): implement
14980
14981 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14982
14983         * LaTeX.C (run): Fix problem with --export code.
14984
14985 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14986
14987         * BufferView.[Ch] (workarea): removed.
14988         (getClipboard) new method; wrapper for workarea()->getClipboard()
14989
14990         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14991         bug.
14992
14993         * WorkArea.h (width, height, xpos, ypos): These methods all
14994         returned the dimensions of the work_area sub-area of WorkArea,
14995         resulting in a position error if the WorkArea were resized. Now
14996         return the dimensions of the entire WorkArea.
14997
14998         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14999
15000 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * LaTeX.C (deplog): correct the syntax of regex reg1
15003
15004 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15005
15006         * undo.C: remove !NEW_INSETS cruft
15007
15008 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15009
15010         * text2.C: remove !NEW_INSETS cruft
15011
15012         * text.C: remove !NEW_INSETS cruft
15013
15014         * tabular.C: remove !NEW_INSETS cruft
15015
15016         * spellchecker.C: remove !NEW_INSETS cruft
15017
15018         * lyxtext.h: remove !NEW_INSETS cruft
15019
15020         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15021
15022         * lyxfunc.C: remove !NEW_INSETS cruft
15023
15024         * lyxfind.C: remove !NEW_INSETS cruft
15025
15026         * lyx_cb.C: remove !NEW_INSETS cruft
15027
15028         * figureForm.C: remove  !NEW_INSETS cruft
15029
15030         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15031
15032         * buffer.[Ch]: remove !NEW_INSETS cruft
15033
15034         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15035
15036         * CutAndPaste.C: remove !NEW_INSETS cruft
15037
15038         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15039
15040         * BufferView2.C: remove !NEW_INSETS cruft
15041
15042         * BufferView.h: remove !NEW_INSETS cruft
15043
15044 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15045
15046         * Lsstream.h: include LString.h before the sstream headers to
15047         fix problem with gcc 2.95.3 and lyxstring
15048
15049 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15050
15051         * lyx_main.C: add using directives when needed for C functions
15052         declared in std:: namespace.
15053
15054 2001-04-27  Juergen Vigna  <jug@sad.it>
15055
15056         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15057         (SetHeightOfRow): comment out the update call should not be needed!
15058
15059 2001-04-13  Juergen Vigna  <jug@sad.it>
15060
15061         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15062         (LyXTabular): tried to minimize operator= operations (and realized
15063         hopfully Lars wish).
15064
15065 2001-04-27  Juergen Vigna  <jug@sad.it>
15066
15067         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15068
15069 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15070
15071         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15072
15073         * buffer.C (readInset): hack to make listof algorithm work
15074
15075         * BufferView_pimpl.C: hack to make listof algorithm work
15076
15077 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15078
15079         * LyXAction.C: removed all !NEW_INSETS cruft
15080         (init): moved lfun_item in method
15081
15082         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15083
15084 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15085
15086         * BufferView2.C (theLockingInset): white space.
15087
15088 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15089
15090         * minibuffer.C: include <iostream>
15091
15092         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15093
15094         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15095
15096         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15097
15098         * text.[Ch] (TransposeChars): new method
15099
15100 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15101
15102         * call message directly through LyXView instead of through LyXFunc
15103         * BufferView2.C: adjust
15104         * BufferView_pimpl.C: adjust
15105         * FontLoader.C: adjust
15106         * buffer.C: adjust
15107         * bufferview_funcs.C: adjust
15108         * converter.C: adjust
15109         * figureForm.C: adjust
15110         * importer.C: adjust
15111         * lyx_cb.C: adjust
15112         * lyx_gui_misc.C: adjust
15113         * lyxfunc.C: adjust
15114         * lyxvc.C: adjust
15115         * text2.C: adjust
15116         + more files in subdirs
15117
15118         * lyxparagraph.h (size): move up int file
15119         (GetLayout): ditto
15120
15121         * adjust all uses of Assert to lyx::Assert.
15122
15123         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15124         lyxfunctional in namespace lyx
15125         * layout.C (hasLayout): ditto
15126         (GetLayout): ditto
15127         (GetLayout): ditto
15128         (delete_layout): ditto
15129         (NumberOfClass): ditto
15130         * converter.C (GetFormat): ditto
15131         (GetNumber): ditto
15132         (Add): ditto
15133         (Delete): ditto
15134         (SetViewer): ditto
15135         * bufferlist.C (getFileNames): ditto
15136         (emergencyWriteAll): ditto
15137         (exists): ditto
15138         (getBuffer): ditto
15139         * MenuBackend.C (hasSubmenu): ditto
15140         (hasMenu): ditto
15141         (getMenu): ditto
15142         * BufferView_pimpl.C (getInsetByCode): ditto
15143
15144 2001-04-18  Juergen Vigna  <jug@sad.it>
15145
15146         * vspace.C (asLatexString): fixed the 100% problem.
15147
15148 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15149
15150         * lyxfunc.C (Dispatch):
15151         * minibuffer.C:
15152         * minibuffer.h: add a few std:: qualifiers
15153
15154 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15155
15156         * minibuffer.[Ch]: reimplement so that commands is initiated and
15157         run from lyxfunc, simplified som handling, and made the completion
15158         and history code for complete. wip.
15159
15160         * lyxfunc.C (processKeySym): call message
15161         (miniDispatch): new temporary method
15162         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15163         (LFUN_MESSAGE): implement
15164         (LFUN_MESSAGE_PUSH): implement
15165         (LFUN_MESSAGE_POP): implement
15166         (initMiniBuffer): the initial/defualt minibuffer message.
15167
15168         * lyxfont.[Ch]: inline some more getters
15169
15170         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15171
15172         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15173
15174         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15175         (AutoSave): use LFUN_MESSAGE
15176         (Reconfigure): ditto
15177
15178         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15179
15180         * figureForm.C: use LFUN_MESSAGE
15181
15182         * converter.C (runLaTeX): use LFUN_MESSAGE
15183
15184         * bufferview_funcs.C: use LFUN_MESSAGE
15185         (Melt): ditto
15186         (changeDepth): ditto
15187
15188         * bufferparams.h: use boost::
15189
15190         * bufferlist.h: inherit privately from noncopyable
15191
15192         * bufferlist.C (loadLyXFile): remove some commented code.
15193
15194         * buffer.C (runChktex): use LFUN_MESSAGE
15195
15196         * ShareContainer.h: inherit privately from noncopyable
15197
15198         * ParagraphParameters.[hC] (depth): inline it.
15199
15200         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15201         methods.
15202         (message): new method
15203         (messagePush): ditto
15204         (messagePop): ditto
15205         (show): init minibuffer
15206         (showState): direct call
15207
15208         * LaTeX.[Ch]: inherit privately from noncopyable
15209         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15210         instead of WriteStatus.
15211
15212         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15213
15214         * BufferView_pimpl.C (buffer): don't init minibuffer
15215         (workAreaButtonPress): use LFUN_MESSAGE
15216         (workAreaButtonRelease): ditto
15217         (savePosition): ditto
15218         (restorePosition): ditto
15219         (MenuInsertLyXFile): ditto
15220         (workAreaExpose): don't init minibuffer
15221         (update): remove commented code, simplify
15222
15223         * BufferView2.C (openStuff): use LFUN_MESSAGE
15224         (toggleFloat): ditto
15225         (menuUndo): ditto
15226         (menuRedo): ditto
15227         (copyEnvironment): ditto
15228         (pasteEnvironment): ditto
15229         (copy): ditto
15230         (cut): ditto
15231         (paste): ditto
15232         (gotoInset): ditto
15233         (updateInset): remove some commented code
15234
15235         * lastfiles.h: inherit privately from noncopyable
15236         * layout.h: ditto
15237         * lyx_gui.h: ditto
15238         * lyx_main.h: ditto
15239         * lyxlex.h: ditto
15240         * lyxlex_pimpl.h: ditto
15241
15242         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15243         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15244         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15245
15246         * LyXAction.h: inherit privately from noncopyable, add methods
15247         func_begin, func_end, returning iterators to the func map.
15248
15249         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15250         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15251         (func_begin): new method
15252         (func_end): new method
15253
15254         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15255         and not)
15256         (copySelection): ditto
15257         (pasteSelection): ditto
15258
15259         * BufferView.C: whitespace change
15260         * BufferView.h: inherit privately from noncopyable
15261
15262 2001-04-16  Allan Rae  <rae@lyx.org>
15263
15264         * tabular-old.C (l_getline):
15265         * spellchecker.C (sc_check_word):
15266         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15267         an unrecognised preprocessor directive.  So ensure they're wrapped.
15268
15269 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15270
15271         * src/exporter.C (Export): Give an error message when path to file
15272         contains spaces.
15273
15274 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15275
15276         * LaTeX.C (deplog): Always check that foundfile exists.
15277
15278 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * lyx_main.h:
15281         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15282
15283 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15284
15285         * tabular.[Ch] (getLabelList): implement new method
15286
15287         * minibuffer.h: comment ouf setTiimer
15288
15289         * minibuffer.C (ExecutingCB): constify res
15290         (peek_event): constify s
15291         (Set): constify ntext
15292         (Init): constify nicename
15293
15294         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15295
15296         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15297         (savePosition): use two params to Minibuffer::Set
15298         (restorePosition): ditto
15299
15300 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15301
15302         * lyx_main.C: include language.h
15303
15304         * Makefile.am (lyx_main.o): add language.h
15305
15306 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15307
15308         * exporter.C:
15309         * paragraph.C:
15310         * screen.C:
15311         * tabular.C:
15312         * CutAndPaste.C: include gettext.h
15313
15314         * lyxfont.h: remove old hack with ON and OFF.
15315
15316         * lyxparagraph.h:
15317         * lyxfont.h: do not include language.h...
15318
15319         * BufferView2.C:
15320         * LaTeXFeatures.C:
15321         * Painter.C:
15322         * bufferview_funcs.C:
15323         * font.C:
15324         * lyxfont.C:
15325         * text.C:
15326         * text2.C:
15327         * trans_mgr.C:
15328         * paragraph.C: ... but do it here instead
15329
15330 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15333
15334         * tabular.C: small reformat
15335
15336         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15337         NEW_INSETS version
15338         (GetChar): ditto
15339         (BreakParagraph): ditto
15340         (SetOnlyLayout): ditto
15341         (SetLayout): ditto
15342
15343         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15344         with one arg less.
15345
15346         * lastfiles.C: removed most using decl, add std:: where needed
15347
15348         * buffer.C: ws changes
15349
15350         * MenuBackend.C (class compare_format): put into anon namespace
15351         (expand): constify label, names, action, action2
15352         (expand):
15353
15354         * text.C (SingleWidth): constify font
15355         (IsBoundary): constify rtl2
15356         (GetVisibleRow): constify ww
15357
15358         * LaTeX.C (deplog): constify logfile
15359
15360         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15361         start_x, end_x
15362         (workAreaExpose): constify widthChange, heightChange
15363
15364         * lyxrow.C (par): moved
15365         (height): moved
15366         (next): moved
15367         * lyxrow.h: as inlines here
15368
15369         * lyxfont.h (shape): moved from lyxfont.C
15370         (emph): moved from lyxfont.C
15371
15372         * lyxfont.C (LyXFont): use initialization list for all
15373         constructors
15374         (shape): move to lyxfont.h as inline
15375         (emph): move to lyxfont.h as inline
15376
15377
15378 2001-04-04  Juergen Vigna  <jug@sad.it>
15379
15380         * vspace.C: had to include stdio.h for use of sscanf
15381
15382 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15383
15384         * BufferView.h:
15385         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15386         independent of xforms.
15387
15388 2001-04-02  Juergen Vigna  <jug@sad.it>
15389
15390         * spellchecker.C: fixed namespace placing!
15391
15392 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15393
15394         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15395         the LyXParagraph * is 0.
15396
15397 2001-03-29  Juergen Vigna  <jug@sad.it>
15398
15399         * vspace.C: added support for %, c%, p%, l%.
15400         (stringFromUnit): added helper function.
15401         (asLatexString): changed to give right results for the %-values.
15402
15403         * buffer.C: convert the widthp in a width%.
15404
15405 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15406
15407         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15408         figureForm.[Ch].
15409
15410         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15411         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15412
15413         * lyx_cb.[Ch]: see above.
15414
15415         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15416         form1.[Ch].
15417
15418         * form1.[Ch]:
15419         * lyx.[Ch]: replaced by figure_form.[Ch].
15420
15421         * lyx_gui.C:
15422         * lyx_gui_misc.C:
15423         * lyxfunc.C: changed headers associated with above changes.
15424
15425 2001-03-27  Juergen Vigna  <jug@sad.it>
15426
15427         * BufferView_pimpl.C: set the temporary cursor right!
15428
15429 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15430
15431         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15432
15433 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15434
15435         * LString.h: removed "using std::getline"!
15436
15437         * BufferView_pimpl.C (Dispatch): changes due to changes in
15438         InsetInclude::Params.
15439
15440         * buffer.C (tag_name): removed redundant break statements as they were
15441         producing lots of warnings with my compiler.
15442
15443 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15444
15445         * LString.h: add "using std::getline" when using the real <string>.
15446
15447 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15448
15449         * buffer.C: removed bitset usage.
15450         PAR_TAG moved to an anonymous name space.
15451         (tag_name): new funtion, also in the anonymous namespace.
15452         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15453         (makeDocBookFile): clean code. Completed transition from string arrays
15454         to string vectors.
15455         (SimpleDocBookOnePar): code clean.
15456
15457 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15458
15459         * tabular.C: add some comments.
15460
15461 2001-03-22  Juergen Vigna  <jug@sad.it>
15462
15463         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15464         compatibility read a bit and fixed bug with minipage in different
15465         depth.
15466
15467 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15468
15469         * buffer.C (pop_tag): removed.
15470         (push_tag): removed.
15471         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15472         array replaced with vector. Added support for CDATA sections.
15473         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15474         at any nest level.
15475         (makeDocBookFile): XML conformant declaration of CDATA section,
15476         fixed bug related to <emphasis> in the first paragraph char.
15477         (sgmlOpenTag): exclude empty tags.
15478         (sgmlCloseTag): ditto.
15479
15480         * buffer.h (pop_tag): removed.
15481         (push_tag): removed.
15482
15483 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15484
15485         * language.h (Languages): added size_type and size().
15486
15487 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15488
15489         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15490         response on compability reading of minipages. One probliem is that
15491         the old usage of minipages was «flertydig»
15492
15493         * several files here and in subdirs: don't use static at file
15494         scope use anon namespaces instead.
15495
15496 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15497
15498         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15499         LaTeX output. This is necessary for Literate document
15500         processing.
15501
15502 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15503
15504         * buffer.C: insert hfill when needed.
15505
15506         * tabular.C (l_getline): use string::erase, small whitespace change.
15507
15508         * BufferView_pimpl.C: try the anon namespace.
15509         * WorkArea.C: ditto
15510
15511 2001-03-16  Juergen Vigna  <jug@sad.it>
15512
15513         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15514         otherwise it won't open options-dialogs.
15515
15516         * buffer.C: honor pextraWidth(p) on converting minipages.
15517
15518         * tabular.C (l_getline): changed the functions to strip trailing \r.
15519
15520 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15521
15522         * BufferView_pimpl.C:
15523         * minibuffer..C: added "using SigC::slot" declaration.
15524
15525 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15526
15527         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15528
15529         * text2.C: ditto
15530
15531         * text.C: ditto
15532
15533         * paragraph.C: ditto
15534
15535         * lyxtext.h: NO_PEXTRA
15536
15537         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15538
15539         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15540         * ParameterStruct.h: ditto
15541         * ParagraphParameters.h: ditto
15542         * lyxparagraph.h: ditto
15543
15544 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15545
15546         * buffer.C: add compability for minipage alignment.
15547         (latexParagraphs): remove unwanted pextra check.
15548
15549         * several files: remove CXX_WORKING_NAMESPACES
15550
15551         * buffer.C (pop_tag): tie is in namespace boost
15552
15553         * BufferView.h: noncopyable is in namespace boost
15554         * lyxlex.h: ditto
15555         * lyx_main.h: ditto
15556         * lyx_gui.h: ditto
15557         * layout.h: ditto
15558         * lastfiles.h: ditto
15559         * bufferlist.h: ditto
15560         * ShareContainer.h: ditto
15561         * LyXView.h: ditto
15562         * LyXAction.h: ditto
15563         * LaTeX.h: ditto
15564
15565 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15566
15567         * Merging changes from BRANCH_MVC back into HEAD.
15568
15569         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15570
15571 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15572
15573         * BufferView_pimpl.C: change from intl.C
15574
15575         * combox.h:
15576         * combox.C:
15577         * Makefile.am: move combox.*
15578
15579         * form1.h:
15580         * form1.C:
15581         * lyx_gui.C:
15582         * intl.h:
15583         * intl.C: remove dialog (covered by prefs)
15584
15585 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15586
15587         * lyxfunc.C (Dispatch): removed redundant break statement.
15588
15589 2001-03-14  Juergen Vigna  <jug@sad.it>
15590
15591         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15592
15593 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15594
15595         * buffer.C: add hack to fix compability reading of minipages.
15596
15597 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15598
15599         * buffer.C (getLists): Cleanup.
15600
15601 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * lyxfont.C (update): don't honor toggleall on font size.
15604
15605 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15606
15607         * bmtable.c:
15608         * bmtable.h:
15609         * Makefile.am: moved to frontends/xforms/
15610
15611         * lyx_gui_misc.C:
15612         * lyxfunc.C:
15613         * BufferView_pimpl.C: changes for moved mathpanel
15614
15615 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15616
15617         * gettext.h: fix gettext_init() in --disable-nls
15618
15619 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15620
15621         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15622
15623 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15624
15625         * lyx.C:
15626         * lyx.h: strip external form
15627
15628 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15629
15630         * BufferView_pimpl.C: add comment, destroySplash()
15631
15632 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15633
15634         * BufferView_pimpl.C:
15635         * LyXAction.C:
15636         * buffer.C:
15637         * commandtags.h:
15638         * lyxfunc.C: use re-worked insetinclude
15639
15640 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15641
15642         * buffer.C: add using std::stringstream.
15643
15644         * lyx_cb.C: readd using std::ios.
15645
15646         * buffer.C: add using std::map.
15647
15648         * BufferView_pimpl.C: add using std::vector.
15649
15650         * ShareContainer.h: add std:: to swap.
15651
15652         * buffer.h: add some typedefs
15653         * buffer.C (getLists): use them
15654         (getLists): renamed from getTocList.
15655         add a counter for the different float types and use it in the
15656         generated string.
15657         (getLists): use the same counter for the NEW_INSETS and the "non"
15658         NEW_INSETS
15659
15660         * lyx_cb.h: remove unused items, includes, using etc.
15661
15662         * ShareContainer.h: remove some commented code, add more comments
15663         and "documentation".
15664
15665 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15666
15667         * buffer.C (getTocList): make the list also when NEW_INSETS is
15668         defined.
15669
15670         * buffer.h: remove TocType
15671
15672         * buffer.C (getTocList): change to return a map<string,
15673         vector<TocItem> >, implement for dynamic number of list.
15674
15675         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15676         * text2.C (PasteSelection): adjust
15677         * CutAndPaste.C (pasteSelection): adjust
15678
15679         * FloatList.C (FloatList): update from the new_insets branch.
15680         * Floating.[Ch]: ditto
15681         * LaTeXFeatures.C: ditto
15682         * buffer.C: ditto
15683         * lyxlex_pimpl.C: ditto
15684
15685         * paragraph.C (Last): remove when NEW_INSETS is defined.
15686
15687         * other file: changes because of the above.
15688
15689 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15690
15691         * lyxparagraph.h: rename next to next_, previous to previous_,
15692         make them private for NEW_INSETS. Rename Next() to next(),
15693         Previous() to previous().
15694
15695         * other files: changes because of the above.
15696
15697 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15698
15699         * BufferView.h:
15700         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15701         problem.
15702
15703 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15704
15705         * main.C (main): pass lyx_localedir to gettext_init().
15706
15707         * gettext.h: remove locale_init and gettext_init macros
15708
15709         * gettext.C (locale_init): new function
15710         (gettext_init): new function
15711
15712         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15713         setlocale().
15714
15715 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15716
15717         * Moved credits to frontends:
15718         * credits.[Ch]: removed
15719         * credits_form.[Ch]: removed
15720         * lyx_gui_misc.C: remove credits stuff
15721         * Makefile.am:
15722
15723 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15724
15725         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15726
15727         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15728         unneeded destructor.
15729
15730         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15731         a standalone pointer again.
15732
15733         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15734
15735 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15736
15737         * Makefile.am:
15738         * filedlg.h:
15739         * filedlg.C:
15740         * LyXAction.C:
15741         * ToolbarDefaults.C:
15742         * bufferlist.C:
15743         * commandtags.h:
15744         * form1.C:
15745         * form1.h:
15746         * lyx_cb.C:
15747         * lyx_cb.h:
15748         * lyxfunc.h:
15749         * lyxfunc.C:
15750         * BufferView_pimpl.C: use new file dialog in GUII
15751
15752         * lyx_cb.h:
15753         * lyx_cb.C: remove LayoutsCB to Toolbar
15754
15755 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15756
15757         * ShareContainer.h (get): add std:: qualifier
15758
15759 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15760
15761         * ShareContainer.h: define a proper ShareContainer::value_type
15762         type (and use typename to please compaq cxx)
15763
15764 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15765
15766         * lyxparagraph.h: move serveral local vars to
15767         ParameterStruct/ParagraphParameters., use ShareContainer in
15768         FontTable., make vars in FontTable private and add getter and
15769         setter.
15770
15771         * paragraph.C: changes because of the above.
15772
15773         * lyxfont.h: remove copy constructor and copy assignment. (the
15774         default ones is ok), move number inside FontBits. move inlines to
15775         lyxfont.C
15776
15777         * lyxfont.C: add number to initializaton of statics, move several
15778         inlines here. constify several local vars. some whitespace
15779         cleanup. Dont hide outerscope variables.
15780
15781         * Spacing.h: add two new constructors to match the set methods.
15782
15783         * ShareContainer.h: new file, will perhaps be moved to support
15784
15785         * ParameterStruct.h: new file
15786
15787         * ParagraphParameters.h: new file
15788
15789         * ParagraphParameters.C: new file
15790
15791         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15792         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15793
15794         * BufferView_pimpl.C: ParagraphParameter changes.
15795         * buffer.C: Likewise.
15796         * bufferview_funcs.C: Likewise.
15797         * text.C: Likewise.
15798         * text2.C: Likewise.
15799
15800 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * lyxfind.C (LyXReplace): do not redefine default argument in
15803         implementation.
15804         (IsStringInText): ditto
15805         (SearchForward): ditto
15806         (SearchBackward): ditto
15807
15808 2001-03-06  Juergen Vigna  <jug@sad.it>
15809
15810         * lyxfind.C (IsStringInText): put parentes around expressions.
15811
15812 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15813
15814         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15815
15816 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15817
15818         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15819
15820         * stl_string_fwd.h: add comment
15821
15822         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15823
15824         * tabular.h:
15825         * tabular.C: remove unused DocBook methods
15826
15827         * intl.C:
15828         * language.C:
15829         * paragraph.C:
15830         * buffer.C:
15831         killed DO_USE_DEFAULT_LANGUAGE
15832
15833 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * lyx_gui.C: do not include language.h.
15836
15837         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15838         arguments in function implementation.
15839
15840 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15841
15842         * BufferView_pimpl.C: add <ctime>
15843
15844 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15845
15846         * BufferView_pimpl.C: add using std::find_if
15847
15848 2001-02-27  José Matos  <jamatos@fep.up.pt>
15849
15850         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15851         by OnlyPath.
15852
15853 2001-02-11  José Matos  <jamatos@fep.up.pt>
15854
15855         * buffer.C (makeDocBookFile): command styles now have a parameter as
15856         "title" by default.
15857
15858 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15859
15860         * layout_forms.[Ch]: removed
15861         * lyx_cb.[Ch]: out character
15862         * lyx_gui.C: out character
15863         * lyx_gui_misc.C: out character
15864         * bufferview_funcs.C: : out character,
15865         added toggleall as parameter in ToggleAndShow
15866
15867 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15868
15869         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15870
15871         * text2.C (SetCurrentFont): Disable number property at boundary.
15872
15873 2001-02-26  Juergen Vigna  <jug@sad.it>
15874
15875         * lyxfunc.C (getStatus): added a string argument override function so
15876         that this is correctly called from LyXFunc::Dispatch if it contains a
15877         do_not_use_argument which is used!
15878         (Dispatch): added check for "custom" export and call appropriate func.
15879
15880 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15881
15882         * lyxrc.C: Add language_command_local, language_use_babel and
15883         language_global_options.
15884
15885         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15886
15887         * buffer.C (makeLaTeXFile): Use language_use_babel and
15888         language_global_options.
15889
15890 2001-02-23  Juergen Vigna  <jug@sad.it>
15891
15892         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15893         which works with LyXText and putted it inside BufferView. Here now we
15894         only call for that part the BufferView::Dispatch() function.
15895
15896         * BufferView.C (Dispatch): added.
15897
15898         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15899         functions which needs to use a LyXText over from LyXFunc.
15900         (MenuInsertLyXFile): added
15901         (getInsetByCode): added
15902         (moveCursorUpdate): added
15903         (static TEXT): added
15904
15905 2001-02-22  Juergen Vigna  <jug@sad.it>
15906
15907         * BufferView_pimpl.C (update): call a status update to see if LyXText
15908         needs it.
15909
15910 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15911
15912         * vc-backend.C (revert): implement for CVS
15913         (getLog): implement for CVS
15914
15915 2001-02-20  Juergen Vigna  <jug@sad.it>
15916
15917         * text2.C (ClearSelection): added BufferView param for inset_owner call
15918
15919         * lyxfunc.C (TEXT): added this function and use it instead of
15920         directly owner->view()-text of getLyXText().
15921
15922 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15923
15924         * src/layout_forms.C: out preamble
15925         * src/layout_forms.h: out preamble
15926         * src/lyx_cb.C: out preamble
15927         * src/lyx_cb.h: out preamble
15928         * src/lyx_gui.C: out preamble
15929         * src/lyx_gui_misc.C: out preamble
15930         * src/lyxfunc.C: connect with guii preamble
15931
15932 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15933
15934         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15935
15936 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15937
15938         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15939         whether to run bibtex.
15940
15941 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15942
15943         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15944
15945 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15946
15947         * Makefile.am (lyx_SOURCES): removed bibforms.h
15948
15949         * vspace.h: doxygen
15950
15951         * text.C (GetVisibleRow): make several local vars const
15952
15953         * tabular.C: small cleanup.
15954
15955         * lyxserver.C (callback): use compare instead of strncmp
15956
15957         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15958         inlines to after class or to paragraph.C
15959
15960         * lyxfont.h: remove friend operator!=
15961
15962         * converter.h: move friend bool operator< to non friend and after
15963         class def.
15964
15965         * combox.h: small cleanup
15966
15967         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15968         to inlines after class def.
15969
15970         * buffer.C (pop_tag): use string operations instead of strcmp
15971
15972         * bmtable.c: doxygen, small cleanup
15973
15974         * LaTeX.h: remove friend operator==
15975
15976 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15977
15978         * screen.C:
15979         * lyxrc.[Ch]:
15980         * lyxfunc.C:
15981         * lyxfont.[Ch]:
15982         * lyx_cb.C:
15983         * intl.[Ch]:
15984         * commandtags.h:
15985         * buffer.C:
15986         * WorkArea.[Ch]:
15987         * LyXAction.C:
15988         * BufferView_pimpl.C:
15989         * BufferView.[Ch]: remove cruft
15990
15991 2001-02-14  Juergen Vigna  <jug@sad.it>
15992
15993         * lyxfunc.C: removed #if 0 unused code
15994
15995         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15996
15997         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15998
15999         * text2.C (SetSelection): added a BufferView * parameter
16000
16001 2001-02-13  Juergen Vigna  <jug@sad.it>
16002
16003         * lyxfunc.C (Dispatch): fixed protected blank problem.
16004         * BufferView2.C (protectedBlank): added LyxText * parameter.
16005
16006         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16007         (AppendColumn): same as above for column_info.
16008
16009         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16010         (moveCursorUpdate): use a LyXText param for support of InsetText.
16011
16012         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16013         (tripleClick): ditto
16014
16015         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16016
16017         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16018
16019         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16020
16021         * text2.C (SetSelection): set correct update status if inset_owner
16022         (ToggleFree): ditto
16023
16024 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16025
16026         * tabular.C: remove some commented code.
16027
16028 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16029
16030         * BufferView_pimpl.C: call hideSplash()
16031
16032         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16033
16034         * include_form.h:
16035         * bibforms.h: remove
16036
16037         * lyxfunc.C:
16038         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16039           add LFUN_CHILD_CREATE
16040
16041         * counters.h: fix tiny typo
16042
16043         * lyx_cb.C:
16044         * lyx.h:
16045         * lyx_gui.C:
16046         * lyx.C: move splash to frontends/xforms/
16047
16048         * lyx_gui_misc.C: move Include and Bibform to frontends
16049
16050         * lyxvc.h: clarify comment
16051
16052         * vspace.C: tiny housekeeping
16053
16054 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16055
16056         * text.C (PrepareToPrint): RTL Fix.
16057
16058         * paragraph.C (GetUChar): New method.
16059         (String):  Use GetUChar.
16060
16061         * buffer.C (asciiParagraph): Use GetUChar.
16062
16063 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16064
16065         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16066
16067 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16068
16069         * buffer.h:
16070         * buffer.C: rename to getLogName(), handle
16071           build log / latex log nicely
16072
16073 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16074
16075         * MenuBackend.C:
16076         * MenuBackend.h: remove support for reference menuitem type.
16077
16078 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16079
16080         * BufferView_pimpl.C: housekeeping
16081         * BufferView_pimpl.h:
16082         * LyXView.h:
16083         * Makefile.am:
16084         * Timeout.C:
16085         * Timeout.h:
16086         * minibuffer.h: move Timeout GUI-I
16087
16088 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16089
16090         * lyxrc.C (read): Update converters data-structures.
16091
16092 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16093
16094         * LaTeX.h (operator!=): add operator != for Aux_Info
16095
16096 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16097
16098         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16099
16100         * LaTeXLog.C: deleted, useful code moved to Buffer
16101
16102         * buffer.h:
16103         * buffer.C: new function getLatexLogName()
16104
16105         * lyx_gui_misc.C:
16106         * lyx_gui.C:
16107         * lyxvc.C:
16108         * lyxvc.h:
16109         * lyxfunc.C: use frontends for LaTeX and VC logs
16110
16111 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16112
16113         * LaTeX.h: yet another std:: that Allan forgot.
16114
16115         * Variables.C (set): renamed from isset(), because this clashes
16116         with some HP-UX macros (grr).
16117
16118 2001-02-06  Allan Rae  <rae@lyx.org>
16119
16120         * LaTeX.h: Another bug fix.  Missing std:: this time.
16121
16122 2001-02-04  Allan Rae  <rae@lyx.org>
16123
16124         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16125         floats problem. I've left it commented out because it's not quite
16126         correct.  It should also test that the current object is a table or
16127         figure inset.  But I haven't gotten around to figuring out how to do
16128         that.  I *think* it'll be something like: "table" == inset.type()
16129
16130         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16131         bool.
16132
16133 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16134
16135         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16136         all the citation/databases/styles in the auxilary file.
16137         (run): Rerun latex if there was a babel language error.
16138
16139 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16140
16141         * text.C (Backspace): Preserve the font when changing newline char
16142         with a space.
16143         (BreakParagraph): If the cursor is before a space, delete the space.
16144
16145         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16146
16147 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16148
16149         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16150         new argument (code).
16151         (ChangeCitationsIfUnique): New method.
16152
16153         * paragraph.C (GetPositionOfInset): Handle bibkey.
16154
16155 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16156
16157         * BufferView_pimpl.h: change type of Position::par_pos to
16158         LyXParagraph::size_type.
16159
16160 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16161
16162         * BufferView_pimpl.C (savePosition, restorePosition): Write
16163         messages to minibuffer.
16164
16165 2001-01-28  José Matos  <jamatos@fep.up.pt>
16166
16167         * buffer.C (makeDocBookFile): adds support for document language.
16168         A silly restriction on the name of LatexCommand types where removed.
16169         Added support for CDATA sections, allows to chars unescaped, used
16170         among others in code, to avoid escape < and >.
16171
16172 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16173
16174         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16175         saved positions instrad of a stack. Furthermore, a position is
16176         stored using paragraph id/paragraph position.
16177
16178         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16179         Remove LFUN_REF_BACK.
16180
16181 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16182
16183         * converter.C (dvipdfm_options): New method.
16184
16185 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16186
16187         * vspace.C (isValidLength): Fix for empty input string.
16188
16189 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16190
16191         * LyXAction.C (init): change description of LFUN_FIGURE to
16192         "Insert Graphics"
16193
16194 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16195
16196         * LaTeX.C: add using directive
16197
16198 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16199
16200         * MenuBackend.C (expand): Fix the sorting of the formats.
16201
16202 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16203
16204         * lyx_main.C: tiny error message fix
16205
16206 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16207
16208         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16209         calling fl_initialize(). This fixes the problem with ',' as
16210         decimal separator in text files.
16211
16212 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16213
16214         * trans.C (process): Fix the keymap bug.
16215
16216 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16217
16218         * LaTeX.C (scanAuxFiles): New method. Provides support for
16219         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16220         (scanLogFile) Scan for "run BibTeX" messages.
16221
16222         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16223         OT1 font encoding. Also, load the aecompl package if the ae
16224         package is loaded.
16225
16226         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16227
16228 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16229
16230         * texrow.C (increasePos): turn two error messages into debug
16231         messages.
16232
16233 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16234
16235         * LaTeX.C (scanAux): Handle the \@input macro.
16236         (runBibTeX): Use scanAux().
16237
16238         * language.C (latex_options_): New field.
16239
16240         * LaTeXFeatures.C (getMacros): Add language macros.
16241
16242         * buffer.C (makeLaTeXFile): Small fix.
16243
16244 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16245
16246         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16247
16248         * text2.C: add a using directive.
16249
16250 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16251
16252         * BufferView2.C:
16253         * lyx_gui_misc.h:
16254         * lyxfr1.C:
16255         * lyxfunc.C: kill LyXBell.
16256
16257 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16258
16259         * text.C (IsBoundary): Remove the error message
16260
16261         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16262
16263         * lyxrc.C (setDefaults): Correct initialization value for
16264         font_norm_type.
16265
16266 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16267
16268         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16269         gotoError().
16270
16271         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16272         and GotoNextNote().
16273
16274         * src/LyXAction.C: Added reference-next.
16275
16276         * text.C (InsertChar): Use contains instead of strchr.
16277
16278         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16279
16280 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16281
16282         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16283         alignment commands (when needed).
16284
16285         * text.C (InsertChar): Add ':' to number separator chars.